Installs useful binaries: bash, curl, nano, strace, eventrec and tcpdump. Also optionally installs Atlas services that ensure uptime.
This fork is even more WIP than emi's. This fork focuses on using RDM as the device's heartbeat so to speak. Instead of checking directly for atlas process health status, it indirectly checks for it by checking RDM last seen time.
If last seen time is < 10 seconds, the device is considered live and healthy. If the last seen time is greater than 10 seconds but less than 5 minutes, a warning is recorded but no action is taken.
Once the the time diff between RDM and the device is >= 5 minutes, this daemon will force restart all atlas services while killing pokemon go (atlas is responsible to spawn it again). On X96 Mini and X96W Tvs, the status LED will turn RED to indicate a possible fault. The LED will turn BLUE once the daemon detects the device is live again on RDM.
If the above procedures fails 4 times in a row (16 minutes total) then the device is considered unrecoverable and a full reboot is triggered.
If you really want to install this version, you have to:
- Download the latest release (check tags)
- adb push the magisk module into the device
magisk --install-module magiskmodule.zip
- copy
emagisk.config
fromhttps://github.com/tchavei/eMagisk/blob/master/emagisk.config
into/data/local/tmp
of your device - Edit the file to match your RDM username, password and server IP:PORT
reboot
Note: step 3 only works on Magisk versions 21.2 and forward. If you have an earlier Magisk version, install through Magisk Manager (scrcpy into the device) or update your Magisk.
Removed clearing data from pogo and atlas on restart as it's not needed and can break things
Added several extra RDM and Internet checks (Bubble) and beta vs production environment check
Added LED status indicator for the X96 Mini and X96W. It might work with other ATVs that have a LED status indicator and led control is located under /sys/class/leds/led-sys
Pulled emi's bashrc changes
Added reboot logic into the check loop. Now the daemon will force a device reboot after 4 failed attempts at restarting Atlas services. Everything is RDM based. emagisk.config is mandatory.
Cleaned up obsolete functions.
Refactored check if alive logic to be RDM based instead of PID. WIP
For this version, it is required for you to add your basic RDM info in the emagisk.config file which has to be located inside the /sdcard/Download/ folder. A sample emagisk.config is provided in the repo.
- Completely refactored since last changelog. Targets ensuring Atlas stays online and has several health checks.
- Installation requires no manual intervention, but allows skipping the Atlas specific services with volume buttons.
- This version is the current most stable one, and works very well at ensuring Atlas errors are dealth with and ATVs don't stop scanning.
- Everything seems to be verkin.
- Suddenly, things work.
bash
runs automatically when opening anadb shell
without the need to recompileadbd
. - Also, following new practices and unity versions.
- Can't even make a changelog.
- Bash completion
- Auto installs busybox utilities
- Better aliases
- Trying to make
bash
open by default when runningadb shell
without having to recompileadbd
.
- Project forked by @esauvisky
- New PS1, PS2 and PS3.
- Different aliases.
- A custom built
bash
binary. - Other binaries bundled in, like
eventrec
andstrace
.