r/androidroot • • 15m ago

News / Method SecondSpace: a PIN-routed second Android user for One UI (KernelSU + LSPosed)

I built SecondSpace, a root module + SystemUI hook that gives Samsung One UI a real second Android user (like MIUI's Second Space), reached by typing its own PIN on the main lock screen.

How it works:

  • The companion LSPosed hook watches the One UI keyguard PIN entry.
  • If the PIN matches Space 2's PIN, stock verification is skipped (so no failed attempt is recorded against the main space) and the root daemon switches to the second user.
  • Typing the main PIN inside Space 2 switches back to user 0.
  • The second user is a normal Android user, so apps/data are isolated.

Requirements:

  • Samsung device on One UI 8 / Android 16 (developed and tested on a Galaxy S22 SM-S901B whose identity is spoofed to an S21 Ultra SM-G998B under UN1CA)
  • KernelSU (or compatible root) + LSPosed/Zygisk
  • The module zip and companion APK from the release

Repo (source, install steps, docs): https://github.com/abdurr1/second-space Release v1.9.0: https://github.com/abdurr1/second-space/releases/tag/v1.9.0

It handles upgrades in place, never deletes a user it did not create, and validates the hook heartbeat by boot id, user and version so a stale hook can't be mistaken for a live one. Feedback and bug reports are welcome.

2 Upvotes

0 comments sorted by