by ridhzlabs
A tiny root module that stops SystemUI from crashing back to the lockscreen every ~30–60 minutes on the RealmeUI 7 port for Redmi Note 14 Pro 5G (malachite) — and on any ROM with the same symptom.
| File | Purpose |
|---|---|
service.sh |
Runs on every boot: re-applies the fix (skips if already applied) |
action.sh |
Manual "Execute" button in the manager app |
module.prop |
Module metadata + banner + updateJson (auto-update) |
banner.png |
Banner shown in KernelSU Next manager |
META-INF/ |
Universal installer (Magisk + KernelSU Next + APatch) |
No system files are replaced. No background service. Total size < 35 KB.
Tombstone forensics (8 identical crashes) proved this is an ART JIT compiler crash, not a normal app crash:
signal 11 (SIGSEGV), fault addr 0x30
thread "Jit thread pool" >>> com.android.systemui <<<
libart.so: HInliner → HInstructionBuilder (null dereference)
The JIT compiler tries to compile one hot method inside the repacked SystemUI, and the compiler itself crashes (beta CANARY ART build). It is deterministic — root modules and Play Integrity were both ruled out by comparing crash timestamps against module install times.
The fix: fully AOT-compile SystemUI (speed filter)
cmd package compile -m speed -f com.android.systemui
With every method pre-compiled, the JIT never touches the crashing method, so the compiler bug never triggers. This is a workaround, not an ART patch — but it is stable, tiny, and fully reversible.
- ⚡ Lightweight — < 35 KB, one shell script, zero background processes
- 🔧 Practical — install once, the fix re-applies itself every boot
- 🔄 Auto-update —
updateJsonwired to GitHub Releases, update from the manager app - 🛡️ Safe — touches no system files; uninstall = gone
- 📦 Universal — one zip flashes on Magisk, KernelSU Next, and APatch
- Download
SystemUI_JIT_Fix-vX.X.zipfrom Releases. - KernelSU Next: Modules → Install from storage → pick the zip. Magisk: Modules → Install from storage → pick the zip.
- Reboot.
- Verify (adb or Termux):
Expected:
dumpsys package com.android.systemui | grep -m1 -o '\[status=[a-z-]*\]'[status=speed] - Use the phone normally for 2–3 hours — no more lockscreen loops.
Same effect, repeat manually if dexopt ever resets:
adb shell "cmd package compile -m speed -f com.android.systemui"adb shell "logcat -b crash -d" | grep -i systemui # must be empty
Remove the module in the manager app → reboot. To restore the default
compile filter: cmd package compile -m verify -f com.android.systemui.
- RealmeUI 7 port users on malachite (Redmi Note 14 Pro 5G) with periodic SystemUI restarts to lockscreen.
- Anyone with the same signature:
Jit thread pool+com.android.systemui+SIGSEGV fault addr 0x30in tombstones.
- Author: ridhzlabs
- Forensics: ART tombstone analysis on-device via adb
Module root super kecil yang menghentikan SystemUI crash balik ke lockscreen tiap ~30–60 menit di port RealmeUI 7 untuk Redmi Note 14 Pro 5G (malachite) — dan di ROM apapun dengan gejala yang sama.
| File | Fungsi |
|---|---|
service.sh |
Jalan tiap boot: menerapkan ulang fix (skip kalau sudah teraplikasi) |
action.sh |
Tombol "Execute" manual di aplikasi manager |
module.prop |
Metadata module + banner + updateJson (auto-update) |
banner.png |
Banner yang tampil di manager KernelSU Next |
META-INF/ |
Installer universal (Magisk + KernelSU Next + APatch) |
Tidak ada file system yang diganti. Tidak ada service background. Total < 35 KB.
Forensik tombstone (8 crash identik) membuktikan ini crash di ART JIT compiler, bukan app crash biasa:
signal 11 (SIGSEGV), fault addr 0x30
thread "Jit thread pool" >>> com.android.systemui <<<
libart.so: HInliner → HInstructionBuilder (null dereference)
JIT mencoba compile satu method panas di SystemUI hasil repack, lalu compiler-nya sendiri yang crash (ART beta CANARY). Deterministik — modul root dan Play Integrity sudah terbukti bukan pelaku via cek timeline tombstone vs waktu install.
Fix-nya: compile SystemUI penuh (AOT, filter speed)
cmd package compile -m speed -f com.android.systemui
Karena semua method sudah pre-compile, JIT tidak pernah menyentuh method pemicu crash, jadi bug compiler tidak kepicu. Ini workaround, bukan patch ART — tapi stabil, kecil, dan sepenuhnya reversible.
- ⚡ Ringan — < 35 KB, satu shell script, nol proses background
- 🔧 Praktis — install sekali, fix teraplikasi otomatis tiap boot
- 🔄 Auto-update —
updateJsontersambung ke GitHub Releases, update dari aplikasi manager - 🛡️ Aman — tidak menyentuh file system; uninstall = hilang total
- 📦 Universal — satu zip bisa di-flash di Magisk, KernelSU Next, dan APatch
- Download
SystemUI_JIT_Fix-vX.X.zipdari Releases. - KernelSU Next: Modules → Install from storage → pilih zip. Magisk: Modules → Install from storage → pilih zip.
- Reboot.
- Verifikasi (adb atau Termux):
Harus keluar
dumpsys package com.android.systemui | grep -m1 -o '\[status=[a-z-]*\]'[status=speed]. - Pakai HP normal 2–3 jam — tidak ada lagi loop lockscreen.
Efeknya sama, ulangi manual kalau dexopt ke-reset:
adb shell "cmd package compile -m speed -f com.android.systemui"adb shell "logcat -b crash -d" | grep -i systemui # harus kosong
Hapus module dari aplikasi manager → reboot. Untuk kembalikan filter
default: cmd package compile -m verify -f com.android.systemui.
- Pengguna port RealmeUI 7 di malachite (Redmi Note 14 Pro 5G) yang SystemUI-nya restart berkala ke lockscreen.
- Siapapun dengan signature sama:
Jit thread pool+com.android.systemui+SIGSEGV fault addr 0x30di tombstone.
- Author: ridhzlabs
- Forensik: analisa tombstone ART langsung di device via adb
