Proposal: Integrated RKP Root Toggle via Shizuku #12
Replies: 9 comments 3 replies
-
Very nice. Yeah, unfortunately can't test it, my device too old. So, after this PR, the Key Attestation, will need root access? |
Beta Was this translation helpful? Give feedback.
-
|
Shizuku needs root access, not the app. Then Shizuku ask for the app to allow access. |
Beta Was this translation helpful? Give feedback.
-
|
The app uses a few lines of kotlin to do the pm commands which require root. Much better than trying to import python and dependencies which would make the app 50 to 100 MB. |
Beta Was this translation helpful? Give feedback.
-
|
Ok PR done. Obviously failing to build until you merge because of needing your signature |
Beta Was this translation helpful? Give feedback.
-
|
Some changes to the PR
-
-
-
-
-
-
|
Beta Was this translation helpful? Give feedback.
-
|
Can you hardcore the newer status, from Mar 16 instead of the Feb 27 status Also, that app caches the last, latest downloaded status list and use it then instead of the hard coded one |
Beta Was this translation helpful? Give feedback.
-
|
I'm just commenting what I see when comparing the older version v2.00 vvb2060#50 with the newer, latest available for download, the Action build vvb2060#57: Running KA app from the stock phone with no root. v2.00:= Action build vvb2060#50: I even don't enable Shizuku, KA app shows Revolution l(status) list date Mar 16 Newer Action build vvb2060#57, Shizuku started, Shizuku enabled in KA app, but KA app shows red-crossed, the older (default/hardcoded) Revocation list from Feb 27 |
Beta Was this translation helpful? Give feedback.
-
|
@zgfgNew |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I installed now Action build #66 and it says it had fetched (by the Last Valid header) the yesterday's 19:48:00 GMT Revocation list |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
Hi @VisionR1,
I’ve managed to integrate the RKP (Remote Key Provisioning) registration process for rooted users.
Currently, users have to run a python script provided by Google to toggle the RKP root status (keymint_register_for_new_root / keymint_unregister_for_new_root). I have implemented a UI-based toggle within the HomeFragment overflow menu that handles this automatically using Shizuku.
Key highlights of the upcoming PR:
I’ve verified the functionality on my own device (it successfully triggers the registration toasts and updates the system state). I’ll be submitting the Pull Request shortly.



I'll also drop the CI build on XDA for interested user until you have a chance to merge and update translations. I realise you don't have a qualifying device, but here is the link to the build.
https://github.com/shoey63/KeyAttestation/actions/runs/23290549402
Beta Was this translation helpful? Give feedback.
All reactions