Skip to content

Add an in-app Apps list on the Wi-Fi domain fix - #1

Open
lnbnyi wants to merge 9 commits into
mainfrom
cursor/home-menu-app-drawer-fdf8
Open

lnbnyi wants to merge 9 commits into
mainfrom
cursor/home-menu-app-drawer-fdf8

Conversation

@lnbnyi

@lnbnyi lnbnyi commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Keeps the Wi-Fi domain fix from fix: preserve init domains for rooted Wi-Fi hackintoanetwork/SCRoot#34 at 3df50960d078e9019b4d3643bd7fba95351c92a6. Fork main did not already contain it. This is not isolated STA proof while the old wifi_supplicant_vintf module remains enabled.
  • Kernel umount stays on. ksu_umount_for_uid detaches a registered path only when that path is the root of an overlay mount in the calling namespace. A path that resolves to the underlying vendor or system partition is skipped and counted in stat_kernel_umount_skip. This is not a SystemUI root grant and not a default-off switch. libksuglue.so is unchanged at e0fc60e4f5f8abc1a027f1867147b3de88a402e537ebd259e1217364fe604145.
  • The MHSHome Root group now reads a menu saved in SCRoot. The user scans installed, enabled, launchable apps and can group, rename, reorder, and remove menu rows without uninstalling the app. Empty groups stay hidden. A missing package is hidden and does not toast. Daily edits do not rebuild Home. The stock MHSHome.apk is a private build input and is not in the repo.
  • 42ba2b3c and 06ca4244 are not safe. Both embed home zip 592e1e0c, whose MenuData.getData copied the Context register only after it had become a String. Do not install those APKs again.

Device-tested Box entry — not this build

Commit 0bfeb595fcf61b374281dd9664eeeea1facacd49

APK SHA-256 381d34287f6734fbf664bd7cf859c401510f6d97ae896d9c9842312030afb4cb

Same-boot repair on the already loaded module passed: one Root row Box for Root opened com.box.app, Mika stayed hidden, Clock opened, SystemUI pid 5348 did not change. That pass is not a test of the editable-menu APK below. febd6eff remains the earlier fresh-boot pass of a different APK that used the same kernel module.

Editable-menu candidate — not released, not device-tested

Commit 3d8a447f125dc908fff588059556594bdaa42ff5

SHA-256 412e806a45b7f1b8b0cdeb7131721251b389c52cf5442643dc9b8486a62d6445

Size 22039398. Same debug certificate 9052569c5e1e4715cbf5eb8c51c3e71ba9e235f82843d5a4ccf6cb61eb39ac77. Same libksuglue.so. Overview zip unchanged a3bcae90900fd02436108b8644fb5aa9e247816b98fb8fbe4f0c9ee81ce45981.

Home zip dcefe1dfa71452ce95ae1b10290931e452be8e17db54d06919655676ea0fbb92.

Generated Home APK 70899a6ac234d9ea4a902f62d653003a996ef2cce8595784d6fa3cd9f68b96cb.

One Repair launcher integration installs this Home reader. After that, menu edits are saved in SCRoot and read when the sidebar opens. They do not run the exploit. Unit tests cover save, defaults, order, menu-only removal, empty groups, a missing package, caller checks, and the unconfirmed sync state. They do not replace a device pass of scan, group, save, reopen, and tapping Box and Clock.

Reassemble with cat and require the full SHA-256:

  • part1 — 11019699 bytes — 20a1ec812886187a2f5b88e948c3deb28a07a04b6b33fed2eee8c87607424c7a
  • part2 — 11019699 bytes — 252fa3c64d685e52ca6dc0484956d1a9a4b12e7d5c4690bc0756ed7416c0d772

part1

part2

Coordinator constraints

adb install -r this APK on the current boot, then one repair. The trace must contain ksu_glue already live — exploit rerun blocked. Open 编辑 Root 菜单, save, reopen the sidebar, and click the rows. Do not unmount vendor, do not disable kernel umount, and do not publish a release until this exact binary is exercised on the device.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

david419kr and others added 9 commits October 23, 2026 21:14
UID-0 exec refresh also catches init service children, erasing the
pending SELinux exec transition. The supplicant then stays in shell:s0
and fails HIDL registration even though its VINTF entry exists.

Skip refresh and driver-FD injection for init-domain exec in both hooks.
Rebuild the bundled module with the existing GCC 9.4 toolchain and update
its integrity pins and corresponding-source mapping.

Verified automatic rooting after reboot and two STA reconnect cycles on
SCR01KDU1AVK2 with enable_manager_fd still enabled. Payload verifiers,
76 Python tests, 52 Android JVM tests and lint pass.

Refs hackintoanetwork#8
The stock MHSHome menu is a fail-closed bsdiff of a proprietary APK
that is not in this repository. This adds a separate SCRoot app list
that launches visible MAIN/LAUNCHER activities and does not request
the HOME role, edit the sidebar delta, or enable the SystemUI bridge.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
Path-based umount could detach the underlying vendor partition in an
app namespace and remove SystemUI's gralloc mapper. Keep kernel umount
enabled, and skip a registered path unless it is currently the root of
an overlay mount. Also sort FlClash and Mika ahead in the in-app list.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
The Root group in the patched Home APK now launches Microsoft Launcher,
FlClash, Mika, SurfingTile, and the clock packages when they are
installed, and keeps the existing SCRoot and KSU Next entries. The
stock MHSHome APK stays a private build input. The module delta and
its fail-closed hashes are regenerated, and the previous patch hash
remains an accepted predecessor.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
The home menu now shows only installed launchable entries, and a test-signed
build treats a connected Quickstep Recents screen as healthy without calling
the official health provider. Repair leaves an already patched SystemUI mount
in place and does not change the tested kernel module.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
Status stays scoped to the current boot id, a second start is refused while
a pipeline is active, and the already-live repair path records one read-only
SystemUI health check. A mapper warning stays a warning. There is no rollback
control and the kernel module is unchanged.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
getData copied the Context parameter only after that register had become a
String, so every Root launch failed verification. The context is now saved
before the parameter is reused, and the generated dex is checked for that
String-to-Context invoke. The kernel module is unchanged.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
The Root group gains one com.box.app entry, included only when that package
has a launch intent. The kernel module, Overview zip, and setup state machine
stay as tested on febd6eff.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
SCRoot scans installed launchable apps and stores the user's categories.
MHSHome reads that menu when it opens, so later edits do not rebuild or
rebind the Home APK. The kernel module and Overview zip stay unchanged.

Co-authored-by: lnbnyi <lnbnyi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants