Skip to content

Testing a Build

simplehima edited this page Dec 5, 2026 · 1 revision

Every release must pass this list on a real phone. Keep an Odin tar of a known-good boot.img ready first (see Rescue and Restore).

1. Before flashing

  • thanatos/tools/crcgate.sh reports crc_mismatch=0, and no new MISSING symbols
  • strings Image | grep "Linux version" shows -Thanatos with no +
  • The zip's anykernel.sh has the right kernel.string and device names

2. Flash and boot

  • Back up boot in recovery
  • Flash the zip in recovery. AnyKernel3 ends with Done!
  • Recovery boots first: reboot to recovery and check it starts, decrypts data, and /tmp/hdeath-tee.log shows tzdaemon=Ready
  • Android boots and reaches sys.boot_completed=1

3. Kernel basics

adb shell uname -r                         # 6.1.x-Thanatos
adb shell "cat /proc/modules | wc -l"      # same count as stock (323 on DeathUI 9)
adb shell su -c "dmesg | grep -iE 'Unknown symbol|disagrees|Oops|BUG:|panic'"   # empty
adb shell su -c "dmesg | grep -c 'avc: denied'"                                 # 0
  • The module list matches stock: compare /proc/modules names with the stock kernel's

4. Hardware and features

  • TEE: ls /dev/tzdev; gatekeeper and keymint services running; the lock screen PIN works
  • Wi-Fi connects; browsing works
  • Mobile data: turn Wi-Fi off and check ping 1.1.1.1 works on cellular (allow about 40 seconds for the switch)
  • Calls and VoLTE (IMS registered)
  • Camera HAL opens (camera app crashes from the ROM don't count, see FAQ and Known Issues)
  • Bluetooth: a paired device stays paired after a reboot
  • Screen off/on 8 times: the screen wakes every time and touch works
  • Fingerprint unlock
  • Charging: dumpsys battery shows status 2 (charging) with the cable in

5. Root (KSUN)

adb shell su -c id                         # uid=0(root) ... context=u:r:ksu:s0
adb shell su -c "/data/adb/ksud susfs load; /data/adb/ksud susfs version"   # v2.3.0

6. Stability (most important)

  • Leave the phone running at least 15 minutes with normal use. v1.0 froze after 3 minutes, so a short test is not enough.

  • Memory stress, so zram and RAM Plus writeback run: open many apps, or fill a tmpfs:

    su
    mkdir /dev/hog && mount -t tmpfs -o size=3g tmpfs /dev/hog
    dd if=/dev/urandom of=/dev/hog/a bs=1M count=2500
    cat /sys/block/zram0/bd_stat          # writeback counters go up
    # check the phone stays responsive, then:
    umount /dev/hog
    
  • No D-state build-up: load average stays around stock (about 15 at idle on this phone, because the TEE worker threads count)

7. Release

Only when everything above passes. See Contributing, section Releases.

Clone this wiki locally