Skip to content

Instantly share code, notes, and snippets.

@TheJoshGriffith
Created January 29, 2024 09:37
Show Gist options
  • Save TheJoshGriffith/19980db77249e44476d33805bde7f34e to your computer and use it in GitHub Desktop.
Save TheJoshGriffith/19980db77249e44476d33805bde7f34e to your computer and use it in GitHub Desktop.
H313 X96Q Mini Quick Root Guide

Requirements:

Steps:

  1. Connect your ATV to your network, get its IP address, enable USB debugging and toggle USB0 debug interface
  2. adb connect <ip address>:5555
  3. adb -s <ip address> install ./Magisk-v25.2.apk
  4. adb -s <ip address> reboot
  5. adb -s <ip address> shell "echo 'dd if=/dev/block/by-name/boot of=/sdcard/Download/boot.img' | su"
  6. adb -s <ip address> shell "echo 'dd if=/dev/block/by-name/vbmeta of=/sdcard/Download/vbmeta.img' | su"
  7. Open Magisk on the ATV, patch /sdcard/Download/boot.img - take note of the filename, specifically the end of it
  8. adb -s <ip address> pull /sdcard/Download/magisk_patched-25200_<end of filename>.img
  9. adb -s <ip address> pull /sdcard/Download/vbmeta.img
  10. adb -s <ip address> pull /system/xbin/su
  11. `adb -s shell
  12. su
  13. mount -o remount,rw /
  14. rm /system/xbin/su
  15. reboot recovery
  16. On Windows, open Powershell as admin, on Linux, open a root shell or run the following commands as root
  17. fastboot devices should show your ATV
  18. fastboot flash boot magisk_patched-25200_<end of filename>.img
  19. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  20. fastboot reboot
  21. adb -s <ip address> push safetynet-fix-v2.4.0-MOD_2.0.zip
  22. adb connect <ip address>
  23. adb -s <ip address> shell
  24. su and grant root permissions using the remote
  25. cd /data/local/tmp
  26. magisk --install-module ./safetynet-fix-v2.4.0-MOD_2.0.zip
  27. Open Magisk on the ATV, enable Zygdisk, enforce blocklist, add Google Play Services to the list.

Now install any apps and other modules you might need such as Exeggcute/GC, Pokémod Atlas, eMagisk, Pokemon Go, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment