gitwtfhub

wtf is teeforge-cd?

mcxiaochenn/teeforge-cd — explained in plain English

Analysis updated 2026-05-18

22CAudience · developerComplexity · 4/5LicenseSetup · hard

TL;DR

A companion module for rooted Android devices that automates bootloader status spoofing and keybox management alongside TrickyStore or TEESimulator.

Mindmap

mindmap
  root((TeeForge-CD))
    What it does
      Companion module
      Bootloader spoofing
      Keybox management
    Tech stack
      C
      Android NDK
      Magisk
      KernelSU
    Use cases
      Auto update target list
      Fetch keybox data
      Command line tool
    Audience
      Rooted device developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Automate keeping a rooted Android device's spoofed app target list up to date after every reboot.

REASON 2

Fetch and apply an encrypted keybox file for device attestation companion modules like TrickyStore.

REASON 3

Spoof a device's bootloader status properties quickly through a single command.

What's in the stack?

CAndroid NDKMagiskKernelSU

How it stacks up

mcxiaochenn/teeforge-cdgirlanddragon/maskmyscenexefinity/monetloadeross
Stars222222
LanguageCCC
Setup difficultyhardhardhard
Complexity4/54/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires a rooted Android device running Magisk or KernelSU plus one companion module (TrickyStore or a TEESimulator variant) to function.

GNU GPL v3.0: free to use and modify, but any distributed modified version must also be released as open source under the same license.

Wtf does this do

TeeForge-CD is a companion module for rooted Android phones that use KernelSU or Magisk. It is not a standalone tool. It is meant to be installed alongside one of three other modules, TrickyStore, TEESimulator-RS, or TEESimulator, and it handles a set of supporting tasks those modules would otherwise require doing by hand. The README describes its purpose as automating several fiddly manual steps: keeping a list of which installed apps should be affected, spoofing a set of system properties so the device's bootloader status looks different to apps that check for it, and fetching and decrypting a keybox file, a piece of cryptographic data used in some device attestation schemes, from a content delivery network instead of hunting for one online and swapping it in by hand. Functionally, the module automatically rebuilds its target app list on every boot, including support for the binary format used in a recent Android version, applies a set of around thirty spoofed system properties in a fraction of a second, and offers a command line tool with flags for generating the target list, hiding bootloader status, downloading and applying a keybox, detecting which rooting method is present, and reading volume key presses during setup for configuration choices. It checks automatically for updates to itself through KernelSU's update mechanism. The core is written in C, compiled with the Android NDK into a small static binary under 500 kilobytes for both ARM64 and ARMv7 devices, with no dependency on OpenSSL or BusyBox, relying only on tools already built into Android. The keybox data is obscured behind several layers of encoding before being stored or transmitted. Building it from source requires the Android NDK and the project's own build and packaging shell scripts. The project is released under the GPL-3.0 license.

Yoink these prompts

Prompt 1
Explain what TeeForge-CD does and which companion modules it needs to work alongside.
Prompt 2
Walk me through building TeeForge-CD from source with the Android NDK.
Prompt 3
What do the different teeforge command line flags do?
Prompt 4
How does this module fetch and decrypt its keybox data?

Frequently asked questions

wtf is teeforge-cd?

A companion module for rooted Android devices that automates bootloader status spoofing and keybox management alongside TrickyStore or TEESimulator.

What language is teeforge-cd written in?

Mainly C. The stack also includes C, Android NDK, Magisk.

What license does teeforge-cd use?

GNU GPL v3.0: free to use and modify, but any distributed modified version must also be released as open source under the same license.

How hard is teeforge-cd to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is teeforge-cd for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.