Skip to content

Repository files navigation

Honor Installer Hook

LSPosed module for Honor devices that reduces vendor-specific PackageInstaller friction.

What it does

  • Short-circuits Honor's PackageInstaller security scan entry
  • Skips selected Honor installer prompts such as risk tips, welcome acknowledgements, ICP filing prompts, and safe-mode popups
  • Auto-approves adb pm install confirmation sessions when Honor routes shell installs through PackageInstaller
  • Logs PackageInstaller dialog IDs and names to make new Honor prompt chains easier to diagnose

Current targets

  • com.android.packageinstaller

Build

Requires:

  • JDK 17
  • Android SDK / Gradle Android plugin

Build debug APK:

JAVA_HOME=/opt/homebrew/opt/openjdk@17 ./gradlew :app:assembleDebug

Build release APK:

JAVA_HOME=/opt/homebrew/opt/openjdk@17 ./gradlew :app:assembleRelease

Run unit tests:

JAVA_HOME=/opt/homebrew/opt/openjdk@17 ./gradlew :app:testDebugUnitTest

Notes

  • Intended for rooted Honor devices with LSPosed.
  • Enable the module for com.android.packageinstaller.
  • After updating the module, force-stop com.android.packageinstaller or reboot so LSPosed reloads the hook.
  • The module keeps hard failure dialogs visible, including unknown-source restriction and external-source block dialogs.

About

LSPosed module that patches Honor PackageInstaller prompts and checks

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages