Skip to content

feat(api): add native Shevery-API support alongside Shizuku - #9

Merged
HmnDev-Tech merged 1 commit into
mainfrom
feat/shevery-api-support
Nov 1, 2026
Merged

HmnDev-Tech merged 1 commit into
mainfrom
feat/shevery-api-support

Conversation

@HmnDev-Tech

Copy link
Copy Markdown
Owner

Summary of Changes

  • Native Shevery-API Integration: Added com.hamondev.shevery.api package (SheveryPrivilege, SheveryProvider, SheveryApiConstants, SheveryRemoteProcess).
  • Startup Latency Elimination: Implemented fast-path pull binder acquisition (connectFast(context)) querying com.hamondev.shevery.shevery directly on app launch.
  • Permission & Metadata: Declared com.hamondev.shevery.permission.PRIVILEGED_API and com.hamondev.shevery.client.PRIVILEGED_API_SUPPORT metadata in AndroidManifest.xml.
  • ContentProvider Registration: Declared ${applicationId}.shevery authority to support incoming IPC from Shevery Manager.
  • Dual-Backend Support: Upgraded ShizukuManager to support PrivilegedBackend.SHEVERY and PrivilegedBackend.SHIZUKU, automatically prioritizing Shevery when available.
  • Launcher Routing: Updated PermissionTools.openShizuku to launch com.hamondev.shevery first if installed, falling back to moe.shizuku.privileged.api.
  • ProGuard: Added keep rules for com.hamondev.shevery.api.**.

- Integrate com.hamondev.shevery.api (SheveryPrivilege, SheveryProvider, SheveryApiConstants, SheveryRemoteProcess)
- Support fast-path binder acquisition on startup via connectFast()
- Add com.hamondev.shevery.permission.PRIVILEGED_API and client metadata
- Declare ${applicationId}.shevery ContentProvider authority
- Enable multi-backend support in ShizukuManager with automatic Shevery priority
- Prioritize launching Shevery Manager in PermissionTools.openShizuku
- Update proguard-rules.pro to keep com.hamondev.shevery.api.**
@HmnDev-Tech
HmnDev-Tech merged commit 53c7cc3 into main Nov 1, 2026
2 checks passed
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.

1 participant