Skip to content
 
 

Repository files navigation

Android Vector 2.0 libxposed API 101 License

🛡 NoANRAndCrashDialogs

Silence the noise. Automatically dismiss system ANR and crash dialogs — silently, instantly, every time.

Forked and modernized from diskree/NoANRAndCrashDialogs


✨ What It Does

Dialog Behaviour
ANR (App Not Responding) API 31+: auto‑sends WAIT command → dialog dismissed but ANR still logged. API 27–30: hook skipped entirely.
Crash (App has stopped) Hooks showCrashDialogs() / AppErrors → silently returns. Zero popups.

✅ Tested On

Device Android Framework Result
🔥 Xiaomi Poco F4 GT (ingres) 16 (API 36) Vector 2.0 (3043) ✅ Loaded & active

Should run on any device with Android 8.1 – 16+ and a libxposed 101‑compatible framework (Vector 2.0 recommended).


📦 Requirements

  • 🧩 Vector 2.0 framework (or any libxposed‑101 backend)
  • 🔓 Rooted device — Magisk / KernelSU with Zygisk enabled

🔧 Build

git clone https://github.com/cahjul/NoANRAndCrashDialogs.git
cd NoANRAndCrashDialogs
./gradlew assembleRelease

APK → app/build/outputs/apk/release/app-release.apk

A prebuilt APK is included in the repo root and in Releases.


📲 Install

# 1. Install the APK
adb install app-release.apk

# 2. Enable via Vector CLI (or the Vector manager app)
adb shell su -c '/data/adb/modules/zygisk_vector/cli modules enable com.diskree.noanrandcrashdialogs'

# 3. Set scope to system_server
adb shell su -c "sqlite3 /data/adb/lspd/config/modules_config.db \
  \"INSERT OR IGNORE INTO scope (mid, app_pkg_name, user_id) \
   SELECT mid, 'system', 0 FROM modules \
   WHERE module_pkg_name='com.diskree.noanrandcrashdialogs';\""

# 4. Reboot
adb reboot

🐛 Bug Reports

Open an issue and include:

1. Device model & Android version
   adb shell getprop ro.product.model
   adb shell getprop ro.build.version.sdk

2. Vector version
   adb shell cat /data/adb/modules/zygisk_vector/module.prop | grep version

3. Module log
   adb shell su -c 'cat /data/adb/lspd/log/modules_*.log'

4. Verbose log (filtered)
   adb shell su -c 'cat /data/adb/lspd/log/verbose_*.log | grep -i noanr'

5. What happened? What did you expect?

📋 Changelog

v2.0 – Vector 2.0 Edition

Before After
❌ LSPosed only Vector 2.0 framework
❌ Android 15 only Android 8.1 → 16+ (API 27–36)
❌ libxposed API 100 (unpublished) libxposed API 101.0.1 (published)
❌ AGP 8.8.0 / Kotlin 1.9.24 AGP 8.10.0 / Kotlin 2.1.0
❌ Hooks hardcoded for A15 Version‑awareErrorDialogController (31+) / AppErrors (27–30)

🙏 Credits

Built with assistance from DeepSeek V4 Flash 🤖


⚖ License

CC0 1.0 Universal — see LICENSE.
Same as the original project.

About

An LSPosed module to hide or auto-dismiss system ANR (App Not Responding) and crash dialogs.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages