Uninstalling
Orbic
To uninstall Rayhunter, power on your Orbic device and connect to it via USB. Then, start a rootshell on it by running adb shell, followed by rootshell.
Once in a rootshell, run:
echo 3 > /usrdata/mode.cfg
rm -rf /data/rayhunter /etc/init.d/rayhunter_daemon /bin/rootshell
reboot
Your device is now Rayhunter-free, and should no longer be in a rooted ADB-enabled mode.
TPLink
- Run
./installer util tplink-start-telnet - Telnet into the device
telnet 192.168.0.1 rm /data/rayhunter /etc/init.d/rayhunter_daemonupdate-rc.d rayhunter_daemon remove- (hardware revision v4.0+ only) In
Settings > NAT Settings > Port Triggersin TP-Link's admin UI, remove any leftover port triggers.
UZ801
- (Optional): Back up the qmdl folder with all of the captures:
adb pull /data/rayhunter/qmdl . - Run
adb shellto get a root shell on the device - Delete the /data/rayhunter folder:
rm -rf /data/rayhunter - Modify the initmifiservice.sh script to remove the rayhunter startup line:
mount -o remount,rw /system
busybox vi /system/bin/initmifiservice.sh
Then type 999G (shift+g), then type dd. Then press the colon key (:) and type wq. Finally, press Enter.
4. Lastly, run setprop persist.sys.usb.config rndis.
5. Type reboot to reboot the device.