Skip to content

Instantly share code, notes, and snippets.

@FiberMoose
FiberMoose / CT606_Cotton_Candy_Machine_RE.md
Last active May 6, 2026 18:40
CT 606 Red Rabbit Cotton Candy Machine - Reverse engineering1

The data you're looking for is at /data/data/com.ct.dev.terminal/databases/ct_terminal.db in a table called LocalGoods.

You'll need root, or a debug build (which it sounds like you might already be running, and these import entertainment machines often are right out of the crate).

Pull the DB locally with:

adb pull /data/data/com.ct.dev.terminal/databases/ct_terminal.db

Edit it using a SQLite editor (I'd recommend "DB Browser for SQLite", Google it). Under each row (product) there's a price column, which is mainly what you are looking for. There's also vip_price, ot_price (the crossed-out "on sale" price), and a cost column for tracking margin.