Tricky Store

Android Module logo

A trick of keystore. Android 10 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 version="1.0"?>
<AndroidAttestation>
    <NumberOfKeyboxes>1</NumberOfKeyboxes>
    <Keybox DeviceID="...">
        <Key algorithm="ecdsa|rsa">
            <PrivateKey format="pem">
-----BEGIN EC PRIVATE KEY-----
...
-----END EC PRIVATE KEY-----
            </PrivateKey>
            <CertificateChain>
                <NumberOfCertificates>...</NumberOfCertificates>
                    <Certificate format="pem">
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
                    </Certificate>
                ... more certificates
            </CertificateChain>
        </Key>...
    </Keybox>
</AndroidAttestation>

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

Acknowledgement

Download Link

Module Info

Type : module
Date Release :
If the link is broken or there is something that needs to be updated in the post contact us.

Other modules

AudioFX LineageOS Magisk Module

DISCLAIMER LineageOS apps and blobs are owned by LineageOS�. The MIT license specified here is for …...

Unlocker for the USB (HAL) audio class driver's limitation

By : siavash79

Unlocker for the USB (HAL) audio class driver&rsquo;s limitation (up to 96kHz lock) on Android …...

AdGuardDNS4Magisk

To make it short: a DNS server listen and give you the corresponding IP address of your website …...

4K60 Camera Mod

Want to unleash the full power of your smartphone camera? The 4K60 Camera Mod Magisk Module might be …...

Bluetooth Library Patcher

Description This module attends to avoid losing bluetooth pairings after reboot or airplane mode …...

Font Manager Magisk / Kernelsu Module

Android users who love personalization often want to go beyond the default fonts offered by their …...

Play Integrity Fix

This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation. NOTE This …...

Audio samplerate changer

A Magisk module changing audio samplerates at the system-wide mixer for the best Hi-Fi experience …...

Android Logger Booting

By : wahyu6070

This module functions to record logs when booting Android and will be saved in /data/local/logger. …...

Gspyro

By : Genius_Cry

Changelog Support Magisk &amp; Apatch Kernel Su Color Script Upgraded and More Improved Display …...