Work Profile Configuration
TikMatrix supports configuring Work Profile users for each device individually, which is very useful for enterprise-managed devices or dual-app environments.
What is Work Profile
Work Profile is an Android feature that allows creating an independent work environment on the same device. By configuring different user IDs, you can:
- Use TikMatrix normally on enterprise-managed devices
- Set different user configurations for different app environments
- Achieve more granular device management and permission control
Using Shelter Tool to Clone Applications
Before configuring Work Profile, you need to use the Shelter tool to clone TikTok and TikMatrix applications:
What is Shelter
Shelter is an open-source application that creates and manages Work Profile on Android devices. It allows you to run duplicate applications in an isolated work environment.
Installing Shelter
- Download Shelter from F-Droid or Google Play Store
- Install and open Shelter on your device
- Follow the setup wizard to create a Work Profile
Cloning Required Applications
After setting up Shelter, you need to clone both TikTok and TikMatrix applications:
-
Clone TikTok Application:
- Open Shelter and go to the "Main" tab
- Find TikTok in the application list
- Tap the "Clone to Work Profile" button
- Wait for the cloning process to complete
-
Clone TikMatrix Application:
- In Shelter, locate TikMatrix in the application list
- Tap the "Clone to Work Profile" button
- Confirm the cloning operation
Verify Cloning Success
After successful cloning:
- You'll see both TikTok and TikMatrix with a briefcase icon in your app drawer
- These are the Work Profile versions of the applications
- The original applications remain unchanged in the main profile
How to Configure Work Profile
1. Open Device Toolbar
When your device is connected and displayed in the TikMatrix main interface:
- Double-click the device card to enter fullscreen mode
- A toolbar will appear on the right side of the device screen
- The toolbar is collapsed by default and will expand automatically when you hover over it
2. Find the Work Profile Button
At the bottom of the toolbar, you'll see a briefcase icon button, which is the Work Profile configuration button.
3. Set User ID
- Click the briefcase icon button
- Enter the user ID in the popup dialog (e.g., 10)
- Click the "Save" button
4. Confirm Configuration
After successful configuration, the system will display a "Work Profile user settings saved" notification.
User ID Description
Common User IDs
- 0: Primary user (default user)
- 10: First work profile user
- 11: Second work profile user
- Additional user IDs follow this pattern
How to Find User ID
If you're unsure about the user IDs on your device, you can find them using:
adb shell pm list users
Or execute in TikMatrix debug tools:
pm list users
Example output:
Users:
UserInfo{0:Owner:c13} running
UserInfo{10:Work profile:1030} running
Configuration File Storage
Work Profile configurations are automatically saved to the data/work_profile_user.json
file with the following format:
{
"device_serial_1": "10",
"device_serial_2": "0",
"device_serial_3": "11"
}
Managing Device Configurations
View Current Configuration
Each device's Work Profile configuration is independent. You can:
- Set different user IDs for each device
- Modify existing device user configurations at any time
- Clear configuration (enter empty value and save to delete configuration)
Batch Management
If you need to manage a large number of devices, you can directly edit the data/work_profile_user.json
file:
- Close the TikMatrix application
- Open the configuration file
- Add or modify device configurations in JSON format
- Restart TikMatrix