Commit Graph
7 Commits
Author SHA1 Message Date
Dakkshesh 7d371dd766 Revert "java: Implement keystore clearing for target packages during initialization"
This reverts commit c285992226.

Signed-off-by: Dakkshesh <beakthoven@gmail.com>
2025-09-03 10:39:05 +05:30
Dakkshesh 9701bd3978 java: config: Refactor waitAndGetSystemService()
- Make use of waitForService() for >= Android 11.
- Reserve manual polling for Android 10 due to lack of waitForService().
- Rework on logs to be less cluttering.

Signed-off-by: Dakkshesh <beakthoven@gmail.com>
2025-09-01 15:02:48 +05:30
Dakkshesh c285992226 java: Implement keystore clearing for target packages during initialization
- Currently using keystore2 API.
- TODO: Add support for keystore1.

Signed-off-by: Dakkshesh <beakthoven@gmail.com>
2025-08-31 20:48:52 +05:30
Dakkshesh d762663192 java: Overhaul detection of attestation properties
- Reuse and extend the attestation we perform for detection of functional TEE.
- Extract properties like boot hash, os version, attest version, keymaster version from the generated certificate.
- Use previous methods as fallback for devices without functional TEE.
- Set ro.boot.vbmeta.digest during initialization with the boot hash value.

Signed-off-by: Dakkshesh <beakthoven@gmail.com>
2025-08-19 19:33:27 +05:30
Dakkshesh 088e9ff1b0 java: Stop using dev.rikka.hidden.stub
- We dont need the whole dev.rikka.hidden.stub library so just remove it and simplify dependencies.
- We already have our own stub package so we can just include the missing stubs that we want directly in it.

Signed-off-by: Dakkshesh <beakthoven@gmail.com>
2025-08-17 23:15:44 +05:30
Nicholas BissellandGitHub a41c49dcbf Correct package paths for keystore2 API stub (#16) 2025-08-14 13:16:51 +05:30
Dakkshesh e46820275f src: Add module files
Signed-off-by: Dakkshesh <beakthoven@gmail.com>
2025-08-06 19:46:42 +05:30