Getting NZBHydra Working on MacOS Sierra

This seems to mostly work, but still having some issues keeping it stable. Maybe this will help someone else anyway 🙂

Here’s what I did on Mac OSX Sierra Latest:

first:

# nano ~/Library/LaunchAgents/com.nzbhydra.nzbhydra.plist

put this (change path + username):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
 <dict>
 <key>Label</key>
 <string>com.jackett.jackett</string>
 <key>ProgramArguments</key>
 <array>
 <string>/Users/YOUR_USERNAME/NZB-APPS/nzbhydra/run.sh</string>
 </array>
 <key>RunAtLoad</key>
 <true/>
 <key>KeepAlive</key>
 <false/>
 <key>StandardErrorPath</key>
 <string>/usr/local/var/log/nzbhydra.log</string>
 <key>StandardOutPath</key>
 <string>/usr/local/var/log/nzbhydra.log</string>
 </dict>
</plist>

make this:

# nano /Users/YOUR_USERNAME/NZB-APPS/nzbhydra/run.sh

with this content (change username, and path and IP):

#!/bin/bash
/usr/bin/python /Users/YOUR_USERNAME/NZB-APPS/nzbhydra/nzbhydra.py --logfile /usr/local/var/log/nzbhydra.log --host YOUR_IP_ADD_RESS --nobrowser --daemon

save and exit then:

# chmod +x run.sh

test:

# touch /usr/local/var/log/nzbhydra.log
# tail -f /usr/local/var/log/nzbhydra.log 
# /Users/YOUR_USERNAME/NZB-APPS/nzbhydra/run.sh

you should see output and nzbyhydra should be available at http://YOUR.IP:5075
if it all runs you probably want to make it start on reboot:

launchctl load ~/Library/LaunchAgents/com.jackett.jackett.plist
launchctl start com.jackett.jackett

and here’s how you unload if you need to:

launchctl unload ~/Library/LaunchAgents/com.jackett.jackett.plist

Let me know if this helps you or have a better way by commenting!

How to update your Nexus 5x running on stock rom, TWRP with ElementalX, Magisk and PHH Superuser.

This is mainly for my own records so I don’t have to go searching again, but maybe it will help someone else. This assumes you already have ADB installed and working on your computer, and you have some knowledge of how this all works.

Here’s the steps to update your phone with the latest security updates or bootloader or radio if you’re already running magisk and phh.

      1. Grab the latest Magisk from XDA, get the Uninstaller too and transfer to your phone
      2. Grab the latest PHH SuperUser from XDA and transfer to your phone
      3. Grab the latest ElementalX Kernel and transfer it to your phone
      4. Get the factory image for your device:
        https://developers.google.com/android/nexus/images
      5. Open the zip and extract boot.img and system.img.  If there is a vendor.img, extract that too. Same for bootloader and radio if they are new. You can check the version on the bootloader screen.
      6. Reboot to bootloader, I use Reboot Manager.
      7. On your computer go to the folder where you extracted the images and flash them with the fastboot command:
        fastboot flash boot boot.img
        fastboot flash system system.img

        And if your device has a vendor.img:
        fastboot flash vendor vendor.img
        And if your device has a new radio:
        fastboot flash radio radio.img
        And if there’s a new bootloader:
        fastboot flash bootloader bootloader.img
      8. Reboot to recovery (this is very important if your data partition is unencrypted on newer devices)
      9. Flash everything in this order that you copied to the phone earlier
        1. Magisk Uninstaller
        2. Latest Magisk
        3. PHH SuperUser
        4. ElementalX
        5. (optional) custom bootanimation.zip
      10. Wipe dalvik and cache
      11. Reboot and wait a few moments and then you’re in your newly security-patched Android!
      12. You’ll probably want to install Magisk Manager and PHH SuperUser App [not sure if needed?] now.

That’s it!

 

Setting up a Hackintosh Notes and Tips

This is mainly for my archival purposes, but maybe it’ll help someone else. I’ve been running a Hackintosh for over a year now, and I refer to this often when fixing things after an update. Seems to be cool with Mavericks, Yosemite, and now Sierra 🙂


fix for kernel panic on reboot w/ clover – default was intel=true, nvidia=false: 
You don’t have InjectNVidia =true and Intel=false on you config.plist (??? and remove nvda_drv=1. )
When using web drivers you should also have the nvda_drv=1 in your boot flags. I didn’t see it there in your config.plist.
to troubleshoot, disable turbo boost — this seems better for me. 
cuda instructions:
install yosemite w/ clover tutorial basics:
audio patch: 
how to fix the config.plist after patching for sound:
which video drivers are available:
tutorial i followed to get it all going initially:
 
something else to maybe try?: