https://wiki.bananahackers.net/en/devices
I think it would make sense to look into KaiOS-related devices and whether rayhunter can run on them. There’s already some preliminary work done to root those phones, and the rooting procedure seems fairly similar across quite a few devices. The devices are in the same price range as pocket routers, and so they’re just cheap enough to buy them for testing, unlike a lot of Android phones.
Many devices there are EOL though.
I tried to run rayhunter on a Nokia Banana 8110 4G, and it works easily. It should works in the exact same way for Nokia 2720 Flip and Nokia 800 Tough. I used Wallace Toolbox to get root. The rooting script
is easy to embedded in rayhunter, but it use acan only be launched from a KaiOS app ; it use an undocumented API which run root shell commands, so it can be used to obtain an adb root shell. A KaiOS app will always be needed to obtain root. We could also make a KaiOS app (it’s a simple web app) to be able to get basic info of rayhunter directrly from the phone, and make a notification in case of alert. Also, we can’t use frame buffer as for tplink or orbic to interract with the screen.adbdaemon binaryadbdwhich need to be uploaded on the phone.How to get one
Installation process
Install WallaceToolbox and use it to get an adb root shell.
Push
rayhunter-daemonin/data/rayhunterandconfig.tomlAt the first run without config file, we got an error becausedf -hthat doesn’t exist, butbusybox df -hwhich is similar for the Uz801. If we change the config file for Uz801 it works.We need to remount /system with write access
mount -o remount,rw /systemWe create a startup script and adb push in /etc/ Many paths have to be modified compared to the original rayhunter startup script.
start-stop-daemonhave to be called bybusybox start-stop-daemon/tmpis in/data/local/tmp/it can be pushed in /etc/init.rayhunter_daemon To auto start that script at boot, it can be put at the end of /etc/init.qcom.post_boot.sh`
I made an install script banana-rh.tar.gz
Web browser integration
We can open Rayhunter web page, but it can’t load.
Maybe we could make a very web page to let start and stop rayhunter on that device?
One advantage of KaiOS phones over routers is that, by default, they can be configured as Wi-Fi clients while still having 4G enabled. This means you can have a SIM card without data and still send alerts using the Wi-Fi internet connection.