Xiaomi Mi Box 3 ADB Debugging Notes 2025.06.19 Update
Reason
- Too many ads
- Occasionally stuck (hung up)
- The box has only 4GB memory and 800M RAM.
Based on the above reasons, I want to use ADB debugging to delete some useless resources and expand some resources to install Kodi and Smart tube.
Preparation
- A USB dual male cable
- A Xiaomi Mi Box 3 model MZD-16-AA
- a laptop
start
Open the ADB debugging mode of the box
- Use the remote control to enter settings
- About
- Press “ok” 7 times in the “About” option to enter development mode
- Press “ok” multiple times in “Device Name” to turn on factory mode
- Return to the “User and Security” settings
- Set factory mode function
- In “ADB Debugging”, adjust “Off” to “On”
ADB debugging in USB mode
- Download SDK Platform tools SDK Platform tools
- Download Google USB driver Google USB driver
- Enter the tool directory and use the command to perform ADB debugging
- Enter the ADB debugging command
$adb devices//The display device will be displayed below starting with the serial number (the box will display whether the computer is authorized for debugging, please use the remote control to select)$adb shell//Enter the shell command, and you can operate it through the command here- For other commands, please see “Common Commands” below
ADB debugging in network mode
- Prerequisites
- The box and other debugging computers are in the same LAN
- Through ADB debugging in USB mode, enable the device to monitor TCP/IP connections on port 5555
$adb tcpip 5555- ** Connect to other debugging computers via LAN **
$adb connect 192.168.5.220// Just change the address to the IP address of the box. Will connect to port 5555 of the target address by default- For other commands, please see “Common Commands” below
Common commands
adb shell pm list packages -[option]
This command is used to view installed applications and list package names. Adding different options later can output different information.
adb shell pm list packages
adb shell pm list packages -d
adb shell pm list packages -e
adb shell pm list packages -s
adb shell pm list packages -i
adb shell pm list packages -u
adb shell pm list packages -f
adb shell pm list packages -3
adb shell pm list packages -[option] "sina"
pm uninstall -k --user 0 <包名>Summary
Xiaomi has not become honest after deleting the relevant Xiaomi packages. After restarting the device, some spam messages are still pushed as usual. I don’t want to bother anymore, and I can accept it now. After installing Kodi, I can watch “West World” in 4K without any lag, and I still get a good deal for 69 RMB.