Skip to content

Improvements and bug fixes - #678

Open
QikseekDev wants to merge 11 commits into
YuKongA:mainfrom
QikseekDev:main
Open

QikseekDev wants to merge 11 commits into
YuKongA:mainfrom
QikseekDev:main

Conversation

@QikseekDev

Copy link
Copy Markdown

Added:

AutoRoot

W3 retries

Correct W3 success checking

And some other bugfixes

All checks pass

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@QikseekDev

QikseekDev commented Oct 25, 2026 •

Copy link
Copy Markdown
Author
  • Explicit root-manager selection is now strict; it no longer silently falls back to another manager.
  • W3 failures now fail closed: three W3 attempts, followed by up to two full W2/W3 restarts with a fresh victim. If verification still fails, handoff stops instead of continuing.
  • Successful root completion requests su -c reboot for the soft restart, so the root manager/modules can initialize automatically.
  • Automatic soft restart is enabled by default and can be disabled in Advanced options.
  • Safe mode intentionally skips the automatic soft restart.
  • The setting applies to both direct and Shizuku execution paths.

I also added host coverage for the bounded W3 retry/restart behavior and updated the manager-selection tests. git diff --check passes.

@QikseekDev

Copy link
Copy Markdown
Author

Implemented and pushed in commit 3ee652d (fix(app): guard autoroot boot retries).

Changes in this PR:

  • Added duplicate boot-broadcast protection using the kernel boot_id.
  • Kept the autoroot guard at one unconfirmed boot: a reboot without successful confirmation disables autoroot before another attempt.
  • Successful autoroot confirmation resets the guard; enabling autoroot also resets it.
  • Capped the Shizuku readiness wait at 60 seconds, with checks every 2 seconds.
  • A Shizuku timeout exits the boot attempt instead of entering the exploit path indefinitely.

Validation:

  • git diff --check passed.
  • Rollback-copy verification passed.
  • Gradle test invocation was attempted, but this environment stops at Service "SystemInfo" is not available.

The commit is on this PR's head branch (QikseekDev:main), not a reviewer-side branch.

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