download link:
Android adb toolkit.zip
Teach you how to use powerful adb tools to solve Samsung's black screen FC and other headaches!
First introduce what is ADB:
The adb full name Android Debug Bridge, is to play the role of debug bridge.
With the aid of the adb tool, we can manage the status of the device or mobile simulator. You can also perform many mobile phone operations, such as installing software, system upgrades, running shell commands, and more. In fact, in a nutshell, adb is a bridge between the Android phone and the PC, allowing users to fully operate the phone on a computer.
Actually adb tools are really useful, many root methods and so on need to use adb, but many times we do not feel it!
But when we use Android phones everyday, what is the convenience of the ADB tool to help us?
What does adb do for us?
I think the most important thing is that adb can play an important role when we change the system file and cause the phone to restart infinitely, or mistakenly delete the desktop software, which causes the desktop to be completely black, or when it is turned on immediately. It!!
There are these situations, if we do not have adb tools are not easy to do, maybe we must brush machine!!
Of course, the daily software installation uninstall, the replacement of system files make ADB tools to help us
Good! Let's teach you how to use adb
First of all, of course, download adb tool, after downloading, it is recommended to put
Personally placed in the current user's working directory, such as my own is "C: UsersAdministrator", put here, the operation will be more convenient
How to use adb tool detailed tutorial?
After we put it, we enter the "Start Menu - All Programs - Accessories - Command Prompt", or you can use the shortcut "Win + R", and then enter the CMD, you can also enter how to use adb tool detailed tutorial?
How to use adb tool detailed tutorial?
The phone is turned on "USB debugging mode" (if you can not open the machine, then it can not be slightly, debug mode I am long-opened), enter in the window
Adb devices copy above
After the carriage return, if the connection is successful, it will appear in the red frame part of the following figure (If you can't open the machine, and you can not connect adb, you can try it in Recovery)
After successful connection, we can perform various operations by entering commands here!
If you want to know all adb commands, you can enter adb in the window, and then there will be a prompt when you press Enter. Of course, it is in English!
How to use adb tool detailed tutorial?
There are many behind, not all posted up!
Give a few common instructions:
1. Check the device
Adb devices
This command is to view the currently connected device, the android device or emulator connected to the computer will be listed
Android series tutorial (6) adb operation command explain
2. Install the software
Adb install
Adb install : This command installs the specified apk file on the device
Android series tutorial (6) adb operation command explain
3. Uninstall the software
Adb uninstall
Adb uninstall -k
If you add the -k parameter, the software is uninstalled but the configuration and cache files are retained.
4. Enter the shell of the device or emulator:
Adb shell
Through the above command, you can enter the shell environment of the device or emulator. In this Linux shell, you can execute various Linux commands. If you only want to execute a shell command, you can use the following methods:
Adb shell [command]
Such as: adb shell dmesg will print out the kernel debugging information.
5. Publishing port
Any port number can be set as the request port from the host to the emulator or device. Such as:
Adb forward tcp:5555 tcp:8000
6. Send files from the computer to the device
Adb push
Use the push command to copy the files or folders on the local computer to the device (cell phone)
7. Download files from your device to your computer
Adb pull
Use the pull command to copy files or folders from your device (phone) to your local computer
8, check the bug report
Adb bugreport
9, record wireless communication log
In general, there are a lot of wireless communication logs, there is no need to record at runtime, but we can still set the record by command:
Adb shell
Logcat -b radio
10, get the device ID and serial number
Adb get-product
Adb get-serialno
Adb shell
Give one of the most common examples: extract and push framework-res.apk.
Extract the framework-res.apk on the system
After entering the "Command Prompt", we first perform an "adb devices" to confirm whether it is connected
Then, perform "adb remount" again
Then, we can extract and execute "adb pull /system/framework/framework-res.apk D:" according to the format of the seventh point above.
Of course the following path, D: is your favorite, but pay attention to the space
Adb devices adb remount adb pull /system/framework/framework-res.apk D: just copy the code
This D: there will be more framework-res.apk this file
Push "framework-res.apk" from new
We use the push instruction and follow the above sixth input to execute "adb push D:framework-res.apk /system/framework"
Here we must not forget to modify the permissions, execute "adb shell chmod 644 /system/framework/framework-res.apk"
Of course, we still need to restart and execute "adb reboot"
How to use adb tool detailed tutorial?
Adb devices adb remount adb adb push D: framework-res.apk /system/framework adb shell chmod 644 /system/framework/framework-res.apk
Well, as for other ADB instructions, everyone can imitate this!!
In fact, the principle is the same
Android adb toolkit.zip
Teach you how to use powerful adb tools to solve Samsung's black screen FC and other headaches!
First introduce what is ADB:
The adb full name Android Debug Bridge, is to play the role of debug bridge.
With the aid of the adb tool, we can manage the status of the device or mobile simulator. You can also perform many mobile phone operations, such as installing software, system upgrades, running shell commands, and more. In fact, in a nutshell, adb is a bridge between the Android phone and the PC, allowing users to fully operate the phone on a computer.
Actually adb tools are really useful, many root methods and so on need to use adb, but many times we do not feel it!
But when we use Android phones everyday, what is the convenience of the ADB tool to help us?
What does adb do for us?
I think the most important thing is that adb can play an important role when we change the system file and cause the phone to restart infinitely, or mistakenly delete the desktop software, which causes the desktop to be completely black, or when it is turned on immediately. It!!
There are these situations, if we do not have adb tools are not easy to do, maybe we must brush machine!!
Of course, the daily software installation uninstall, the replacement of system files make ADB tools to help us
Good! Let's teach you how to use adb
First of all, of course, download adb tool, after downloading, it is recommended to put
Personally placed in the current user's working directory, such as my own is "C: UsersAdministrator", put here, the operation will be more convenient
How to use adb tool detailed tutorial?
After we put it, we enter the "Start Menu - All Programs - Accessories - Command Prompt", or you can use the shortcut "Win + R", and then enter the CMD, you can also enter how to use adb tool detailed tutorial?
How to use adb tool detailed tutorial?
The phone is turned on "USB debugging mode" (if you can not open the machine, then it can not be slightly, debug mode I am long-opened), enter in the window
Adb devices copy above
After the carriage return, if the connection is successful, it will appear in the red frame part of the following figure (If you can't open the machine, and you can not connect adb, you can try it in Recovery)
After successful connection, we can perform various operations by entering commands here!
If you want to know all adb commands, you can enter adb in the window, and then there will be a prompt when you press Enter. Of course, it is in English!
How to use adb tool detailed tutorial?
There are many behind, not all posted up!
Give a few common instructions:
1. Check the device
Adb devices
This command is to view the currently connected device, the android device or emulator connected to the computer will be listed
Android series tutorial (6) adb operation command explain
2. Install the software
Adb install
Adb install : This command installs the specified apk file on the device
Android series tutorial (6) adb operation command explain
3. Uninstall the software
Adb uninstall
Adb uninstall -k
If you add the -k parameter, the software is uninstalled but the configuration and cache files are retained.
4. Enter the shell of the device or emulator:
Adb shell
Through the above command, you can enter the shell environment of the device or emulator. In this Linux shell, you can execute various Linux commands. If you only want to execute a shell command, you can use the following methods:
Adb shell [command]
Such as: adb shell dmesg will print out the kernel debugging information.
5. Publishing port
Any port number can be set as the request port from the host to the emulator or device. Such as:
Adb forward tcp:5555 tcp:8000
6. Send files from the computer to the device
Adb push
Use the push command to copy the files or folders on the local computer to the device (cell phone)
7. Download files from your device to your computer
Adb pull
Use the pull command to copy files or folders from your device (phone) to your local computer
8, check the bug report
Adb bugreport
9, record wireless communication log
In general, there are a lot of wireless communication logs, there is no need to record at runtime, but we can still set the record by command:
Adb shell
Logcat -b radio
10, get the device ID and serial number
Adb get-product
Adb get-serialno
Adb shell
Give one of the most common examples: extract and push framework-res.apk.
Extract the framework-res.apk on the system
After entering the "Command Prompt", we first perform an "adb devices" to confirm whether it is connected
Then, perform "adb remount" again
Then, we can extract and execute "adb pull /system/framework/framework-res.apk D:" according to the format of the seventh point above.
Of course the following path, D: is your favorite, but pay attention to the space
Adb devices adb remount adb pull /system/framework/framework-res.apk D: just copy the code
This D: there will be more framework-res.apk this file
Push "framework-res.apk" from new
We use the push instruction and follow the above sixth input to execute "adb push D:framework-res.apk /system/framework"
Here we must not forget to modify the permissions, execute "adb shell chmod 644 /system/framework/framework-res.apk"
Of course, we still need to restart and execute "adb reboot"
How to use adb tool detailed tutorial?
Adb devices adb remount adb adb push D: framework-res.apk /system/framework adb shell chmod 644 /system/framework/framework-res.apk
Well, as for other ADB instructions, everyone can imitate this!!
In fact, the principle is the same