Skip to content

About

Launch LSPosed via Developer options

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Launch LSPosed

An LSPosed module that adds a Launch LSPosed row to Developer options in the system Settings app. Tapping it opens the LSPosed Manager.

Developer options is the most relevant home for this shortcut: it is where LSPosed users already are, and on OneUI/Samsung it is a stable AndroidX preference screen (unlike the heavily customised Settings home page, so nothing depends on Samsung's dashboard layout).

Install

  1. Build the APK with ./build.sh (requires gradle and an Android SDK). Output: dist/io.github.ndevlabs.lsb-v0.0.1.apk. To release, bump the VERSION file (for example v0.0.2); versionCode is derived from it automatically.
  2. Install it, then enable the module in LSPosed Manager.
  3. Ensure the scope includes com.android.settings (it is pre-selected as the recommended scope). Reboot, or force-stop Settings, after enabling.
  4. Open Settings → Developer options. Launch LSPosed appears at the top of the Memory card, below the "Developer options" on/off switch.

Developer options must be enabled (Settings → About phone → tap Build number 7 times).

How it works

  • Scoped to com.android.settings only.
  • Hooks androidx.preference.PreferenceFragmentCompat#onCreate.
  • If the fragment is Developer options (class name contains DevelopmentSettings, which covers AOSP and OneUI), it inserts a plain Preference as the first child of the debug_misc_category group, so it inherits the list card's background and rounded top corners.
  • Tapping it resolves the LSPosed Manager launch intent (org.lsposed.manager), falling back to the explicit org.lsposed.manager.ui.activity.MainActivity component, and adds LSPosed's LAUNCH_MANAGER category.
  • No views, layouts or resources are injected into Settings, so OneUI theming and resource hardening do not matter.

Package

io.github.ndevlabs.lsb

Requirements

  • Android 10+ (API 29), LSPosed, Developer options enabled.

About

Launch LSPosed via Developer options

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors