Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/5ec1cff/TrickyStore
https://github.com/5ec1cff/TrickyStore
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/5ec1cff/TrickyStore
- Owner: 5ec1cff
- Created: 2024-07-10T07:06:29.000Z (4 months ago)
- Default Branch: release
- Last Pushed: 2024-08-21T07:26:44.000Z (3 months ago)
- Last Synced: 2024-08-21T08:37:43.525Z (3 months ago)
- Size: 285 KB
- Stars: 797
- Watchers: 21
- Forks: 121
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Tricky Store
A trick of keystore. **Android 12 or above is required**.
This module is used for modifying the certificate chain generated for android key attestation.
## Stop opening source / 停止开源
Due to the rampant misuse and the contributions received after open-sourcing being less than expected, this module will be closed-source starting from version 1.1.0.
考虑到二改泛滥,且开源后获得的贡献少于预期,因此本模块自 1.1.0 版本起闭源发布。
## Usage
1. Flash this module and reboot.
2. For more than DEVICE integrity, put an unrevoked hardware keybox.xml at `/data/adb/tricky_store/keybox.xml` (Optional).
3. Customize target packages at `/data/adb/tricky_store/target.txt` (Optional).
4. Enjoy!**All configuration files will take effect immediately.**
## keybox.xml
format:
```xml
1
-----BEGIN EC PRIVATE KEY-----
...
-----END EC PRIVATE KEY-----
...
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
... more certificates
...
```
## Support TEE broken devices
Tricky Store will hack the leaf certificate by default.
On TEE broken devices, this will not work because we can't retrieve the leaf certificate from TEE.
In this case, we fallback to use generate key mode automatically.You can add a `!` after a package name to force use generate certificate support for this package.
Also, you can add a `?` after a package name to force use leaf hack mode for this package.For example:
```
# target.txt
# use auto mode for KeyAttestation App
io.github.vvb2060.keyattestation
# always use leaf hack mode
io.github.vvb2060.mahoshojo?
# always use certificate generating mode for gms
com.google.android.gms!
```## TODO
- [Support Android 11 and below.](https://github.com/5ec1cff/TrickyStore/issues/25#issuecomment-2250588463)
## Acknowledgement
- [FrameworkPatch](https://github.com/chiteroman/FrameworkPatch)
- [BootloaderSpoofer](https://github.com/chiteroman/BootloaderSpoofer)
- [KeystoreInjection](https://github.com/aviraxp/Zygisk-KeystoreInjection)
- [LSPosed](https://github.com/LSPosed/LSPosed)