ADB is a client-side and server-side program. The client is the computer you use to operate, and the server-side is the android device. You can use the ADB command line on your computer to make changes to the mobile phone system and other operations.
#The operating environment of this article: Windows 7 system, Dell G3 computer.
ADB is a client-server program, where the client is the computer you use to operate, and the server is the android device. To put it simply, it is on Use the ADB command line on your computer to make changes to the mobile phone system.
You first need to install the ADB toolkit and related mobile phone drivers on your PC, and then connect the mobile phone to the computer to operate.
With the adb tool, we can manage the status of the device or mobile emulator. You can also perform many mobile phone operations, such as installing software, system upgrades, running shell commands, etc.
In fact, to put it simply, adb is a bridge connecting Android phones and PCs, allowing users to perform comprehensive operations on their phones on the computer.
This command is to view the currently connected devices connected to the computer The android device or emulator will be listed and displayed
2. Install the software
*adbinstall
This command will install the specified apk file Go to the device
3. Uninstall the software
*adbuninstall
*adbuninstall -k
If Add the -k parameter to uninstall the software but retain the configuration and cache files.
4. Log in to the device shell
*adbshell
*adbshell
This command will log in to the device's shell.
Added "command command" after it will run the device command directly, which is equivalent to executing a remote command
5. Send from the computer File to device
*adbpush
Use the push command to copy files or folders on the local computer to the device (mobile phone)
6. Download files from the device to the computer
*adbpull
Use the pull command to put the device (mobile phone) on Copy the files or folders to the local computer
7. Display the help message
*adbhelp
This command will display the help message
Delete the Android system The software that comes with Rom
The Android system does not have the function of uninstalling the software that comes with Rom. Maybe some students want to delete Youtube, which has ruined their martial arts, and delete Twitter on the other side of the wall.
Add Android shortcuts cannot be modified, sorted, or paging.
If you install too many programs, you will find it difficult to find what you want.
To sum up, I think it is necessary to tell all newbies how to delete their own programs.
1. Make sure the phone is rooted and you have root permissions to delete system files.
2. Download Android_db.rar and extract it to %windir/%System32.
3. Connect the mobile phone to the data cable, open cmd on the computer, and then enter the command
adb remount
adb shell
su
After the execution is completed, you will see:
* daemon not running. starting it now *
* daemon started successfully *
4. Next is the Linux command line mode. Enter
cd system/app
. You will find that there is no change, then enter ls and press Enter.
At this time, the list shows all the files in system/app, which are some software integrated by Rom.
5. Start deleting. For example, delete Youtube, its file name is Youtube.odex and Youtube.apk
We want to delete these 2 files, type the following command:
rm -f system/app/Youtube.odex
rm -f system/ app/Youtube.apk
For more related knowledge, please visit the
FAQThe above is the detailed content of What does adb debugging mean?. For more information, please follow other related articles on the PHP Chinese website!