Thor User Guide
Instructions for installation, configuration, cleaning and backup management.
Install Thor on a jailbroken device. Check your selected apps and backup settings before cleaning.
https://apt.thorapp.cn1. Install Thor
In a jailbreak package manager such as Cydia, Sileo or Zebra, add the repository apt.thorapp.cn, then search for and install Thor. The Thor icon will appear on your home screen after installation.
2. Launch Thor
Open Thor. The first launch requires an internet connection to verify your license; allow a few seconds for this to complete. Open Settings → License Information to check your license status, current version and expiry date.
3. Select Apps
Go to Home → App Selection and select the apps whose device identity and data you want to manage.
4. Select Parameters
Open Home → Parameter Selection to choose the device parameters to simulate. Thor can generate a consistent set of parameters for a virtual device identity.
Parameters you can simulate
- System version: iOS version and build number
- Device model: model identifier and marketing name
- Mobile network: carrier and country / region
- Network type: Wi-Fi, cellular and more
5. Start Cleaning
Tap Start Cleaning. Thor generates a new device identity and clears the selected apps' data. When it finishes, a backup record is created automatically to save the identity and data for that session.
Backup Management
Each cleaning operation creates a record on the Backups page, saving the device identity and app data for that session. The Original Backup contains the real data from before your first use and is protected by the system.
The Original Backup and the backup currently in use cannot be deleted or disabled.
| Action | Description |
|---|---|
| Restore Backup | Restore the device identity and app data saved in that record. |
| Next Backup | Switch to the next available backup, skipping the Original Backup and disabled records. |
| Rename | Give the backup record a name that is easy to recognize. |
| Enable / Disable | Disabled backups are skipped by Next Backup, but can still be restored manually. |
| Delete / Batch Delete | Permanently delete backup records. This action cannot be undone. |
Settings Reference
Cleaning Options
| Option | Description |
|---|---|
| Clear Keychain | Clear data stored in the Keychain. |
| Clear Safari | Clear browser caches and cookies. |
| Clear Clipboard | Clear the current clipboard contents. |
| Automatically Back Up Data | Automatically back up the selected apps' data before cleaning. |
Location Simulation
| Option | Description |
|---|---|
| Enable Virtual Location | The main location simulation switch. Enable it before using the other location options. |
| Choose a Custom Location | Choose virtual coordinates on the map. |
| Use IP-Based Location | Estimate the location from the current network IP address. |
| Random Location Offset | Apply a random offset from the location associated with the current IP address after cleaning. |
Jailbreak Detection Bypass
Block jailbreak-environment checks made by the selected apps.
Smart Airplane Mode
Automatically toggle Airplane Mode when cleaning or restoring backups to help refresh the network IP address.
Import / Export Backups
In Settings → Import / Export Backups, export backup records as ZIP files or import them from ZIP files to move saved device identities between devices.
Exported ZIP files are saved in the export directory. To import a backup, place the ZIP file in the import directory, then tap Import Backup.
| Directory | Path |
|---|---|
| Export directory | /var/mobile/Media/Thor/Export |
| Import directory | /var/mobile/Media/Thor/Import |
Thor API Reference
| Item | Value |
|---|---|
| HTTP base URL | http://127.0.0.1:8090 |
| Method | Always GET |
| Command format | /cmd?fun=command¶ms |
| Bundle ID | com.superdev.Thor |
| Result file | /var/mobile/ThorResult.txt |
Before you call anything
Thor must be running in the foreground before every command:
runApp("com.superdev.Thor")
mSleep(3 * 1000) -- First launch verifies the license online; waiting 3 seconds is safeReturn values
Every command returns JSON. The key field is status:
| Value | Meaning |
|---|---|
1 | Success, the operation completed |
0 | Failure: bad parameters, not licensed, or refused |
2 | In progress. This is an internal state that a script normally never sees |
The status of the most recent command is also written to /var/mobile/ThorResult.txt, which you can read directly.
Endpoint list
| Function | Command | Parameters |
|---|---|---|
| Start cleanup (reset) | newrecord | — |
| Switch to a specific backup | activerecord | record |
| Switch to the next backup | nextrecord | — |
| Rename the current backup | renamecurrentrecord | name |
| Delete a specific backup | deleterecord | record |
| Enable / disable a backup | disablerecord | record |
| Get every backup name | getallrecords | — |
| Get the current backup name | getcurrentrecord | — |
Endpoint details
Start cleanup
GET http://127.0.0.1:8090/cmd?fun=newrecordGenerates a fresh device identity and runs the cleanup — the same as tapping Start cleanup on the app's main screen.
Failure cases:
- No apps selected
- The device is not licensed
- The command timed out
Switch to a specific backup
GET http://127.0.0.1:8090/cmd?fun=activerecord&record=backup-record-name| Parameter | Required | Notes |
|---|---|---|
record | Yes | Backup record name. URL-encode it if it contains non-ASCII characters |
Switches to an existing backup record and restores the device parameters it holds.
Switch to the next backup
GET http://127.0.0.1:8090/cmd?fun=nextrecordMoves to the next available backup automatically, skipping disabled backups and the original backup. This is the one you want for account rotation.
Failure cases:
- There are no backup records at all
- Nothing to switch to (all disabled, or only the current one exists)
Rename the current backup
GET http://127.0.0.1:8090/cmd?fun=renamecurrentrecord&name=new-name| Parameter | Required | Notes |
|---|---|---|
name | Yes | New name, cannot be empty. Non-ASCII characters and spaces must be URL-encoded |
Failure cases:
- The name is empty
- There is no active backup record
- The current record is the original backup, which is protected and cannot be renamed
Delete a specific backup
GET http://127.0.0.1:8090/cmd?fun=deleterecord&record=backup-record-name| Parameter | Required | Notes |
|---|---|---|
record | Yes | Backup record name |
You cannot delete the backup currently in use. Deletion cannot be undone.
Enable / disable a backup
GET http://127.0.0.1:8090/cmd?fun=disablerecord&record=backup-record-name| Parameter | Required | Notes |
|---|---|---|
record | Yes | Backup record name |
This is a toggle: an enabled backup becomes disabled and vice versa. Disabled backups are skipped by nextrecord. You cannot disable the backup currently in use.
Get every backup name
GET http://127.0.0.1:8090/cmd?fun=getallrecordsExample response:
{ "status": 1, "records": ["Original backup", "2026-05-05-17-32-10-56", "custom name"] }| Field | Notes |
|---|---|
records | Names of all backup records, including the built-in original backup |
Get the current backup name
GET http://127.0.0.1:8090/cmd?fun=getcurrentrecordExample response:
{ "status": 1, "current": "2026-05-05-17-32-10-56" }| Field | Notes |
|---|---|
current | Name of the active backup; an empty string when no backup is active |
Lua example (TouchSprite)
local sz = require("sz")
local http = require("szocket.http")
local BASE = "http://127.0.0.1:8090/cmd?fun="
-- URL encoding (needed for non-ASCII names)
function urlEncode(s)
s = string.gsub(s, "([^%w%.%- ])", function(c)
return string.format("%%%02X", string.byte(c))
end)
return string.gsub(s, " ", "+")
end
-- Unified call: parsed JSON on success, nil on failure
function Thor(query)
local res, code = http.request(BASE .. query)
if code == 200 then
return sz.json.decode(res)
end
end
-- Launch Thor (required before any command)
runApp("com.superdev.Thor")
mSleep(3 * 1000)
-- 1. Start cleanup (reset)
local r = Thor("newrecord")
if r and r.status == 1 then
toast("Cleanup complete", 2)
end
-- 2. Rename the current backup
Thor("renamecurrentrecord&name=" .. urlEncode("138xxxx John"))
-- 3. Check the current backup
local cur = Thor("getcurrentrecord")
if cur then toast("Current backup: " .. cur.current, 2) end
-- 4. Switch to a specific backup
Thor("activerecord&record=" .. urlEncode("Wechat001"))
-- 5. Account rotation: walk through every available backup
local all = Thor("getallrecords")
if all then
for i = 1, #all.records do
local r = Thor("nextrecord")
if not r or r.status ~= 1 then break end
-- ... your own logic here ...
end
endFor usage, see the Thor user guide.
