- Amazon Prime Video offers a kids ‘ series is free in all the world to pass the quarantine
Amazon is no stranger to the extraordinary situation that we face and have decided to open part of the catalog childr...
One of the many reasons why a lot of users chose Android is the user and the many things we can do when we connect our device to the computer. Many times, when you upgrade your phone or tablet to a new version, put a cooked ROM or get superuser (root), need more contact with the device that gives us the program we use at that moment (Odin Samsung, for example). The ADB (Android Debug Bridge) is a computer program that will bridge us to connect our android to computer and thus be able to interact with them in a way more “advanced” and complete . Let’s see how it’s done and some basic commands.For Linux or Mac users will need to install the Android SDK as explained official web site . It is not difficult if you follow the guidelines set. For those who use Windows is as simple as download this file , open the zip and unzip folder somewhere” android-tools “. If you do not have the drivers installed on our phone, we find them and install them. After installing the file ADB.exe, we can continue.
is important to the “USB Debugging” turned on our android so that everything works perfectly
1. Adb command device
This command is the most important of all, because it is the one that will tell us whether our Android device communicate well with the team . After you have all the files in the same folder (the one we took before the zip), we simply must start the console terminal (ADB) and type “adb devices ” ( without the quotes). If we get a serial number, is that everything is correct. If, however, nothing comes out, we’ll have to make sure we have everything right (drivers, USB debugging …).
2. Adb push command
With adb push will move a file directly from your computer to our Android device . This command comes in handy when you want to move files to system directories or when we feel like doing a drag & drop and want to practice a little console use. To move a file is necessary to know the path of the phone you want to deposit. If, for example, we want to move any video file, we must place it in the folder android-tools we mentioned earlier. Then, write in the console: adb push superfreak.mp4 / sdcard / Movies / , and you’re on your terminal in the folder movies .
3. Adb pull command
On the contrary to the above. If we take a file and take it to our computer android , we simply use the command “adb pull “. It’s almost the same as we did before. If we remove the file from the phone, for example, we spent in the example above, this would be such that: adb pull superfreak.mp4 / sdcard / Movies / ; and the file will go to sdcard / Movies / tools folder on our computer. If we move to a particular directory write, after the command adb pull and the Pickup directory, the path on our computer that we want to move the file: C: Users Aitor Desktop to move it to the desktop, for example.
4. Adb reboot command
simply does what it says. Restart your device through the console . It’s an easy way to reset the phone if we need at some point when we’re using ADB. Just type “adb reboot ” and you’re done. Rebooting …
5. Commands adb reboot-bootloader and reboot recovery
Not only can reset the device, but also access the bootloader . This is one of the most advantageous in this way, sometimes the button combinations become tedious and we do things in a simpler way. Access the bootloader can serve for many things (root, change ROM …). Only we type “adb reboot-bootloader ” and we’ll be inside.For the “ reboot recovery ” will help us enter recovery mode . Many ROMs default bring a dialog box that enables us to restart in this mode, but always good to have another way to access in the room.
6. Command fastboot devices
When in the bootloader, ADB commands do not work . This is because we are not even on Android, the operating system of the phone has not started quite yet. In this case, use the command fastboot .Perhaps this is one of the more powerful commands of which available. Keep in mind that many devices not have it enabled and if so, we need to be sure that both computers are communicating (PC and Android). If we want to know if you have fastboot, we only write “fastboot devices ” and should get out a serial number (as in adb devices).
If the command does not work and we’re on Windows, check touch drivers and tour the forums specialist for help.
7. Fastboot oem unlock command
The holy grail commands Android ADB. It does one thing and only one unlocks Nexus (or HTC through its official tool). If you have a phone from a different manufacturer, we have a different approach in each case (Odin for Samsung, for example). In the latter case, we this command is useless . It is included here because, even without needing it, is an important part of the open source Android.A Google does not care what we do with our devices, and provides us with the tool to unlock the phone. This is something that other companies do not see, and is one of the reasons why many choose Android. Using it is simple. After having used the fastboot to know that all is well communicated, we only write “fastboot oem unlock ” and hit enter. Then look at the terminal plays, read the options carefully and choose wisely.
Caution! : Using “fastboot oem unlock” will erase everything on the device
8. Adb shell command
adb shell command is one of the most confusing creates. There are two ways to use it: one where you send a command to the device to run in its own shell command line, and one where we are truly in the command shell from the terminal. In the above image, the user is within the shell of the device, viewing files and folders. Getting there is easy, just type “adb shell ” . Once inside, can be root if you believe necessary. Unless we are familiar with the implementation of actions by commands, we should not touch anything . You need to be very careful at this level. Things can become difficult if not careful.
9. Command adb install
This is a simple command. We serve to install applications on our android . And like pull and push commands, we must specify the path where you want to position the file to install. An example would move an apk to android-tools folder and then put the console “adb install Aplicacion.apk “. can also use a command to update a specific application. This is done by adding the suffix “-r ” to the previous sentence. So would “adb install- Aplicacion.apk r “.And as installed, can also uninstall . There is a command that helps us uninstall applications , this would be: “adb uninstall Aplicacion.apk “. Adding a suffix “- k ” will leave the application data and cache memory.
10. Adb logcat command
adb logcat command is one of the most useful for some users. Especially if they are cooks or application developers. When we write, we returns a huge number of events written in several records on the operation of the system . It provides valuable information for the developer, since failure here can figure out what is applicable.To view the log on the computer screen, just type “adb Logcat “ and press enter. It may all go pretty fast and you may not find what you’re looking for. There are two ways to solve this: the filters and text output. The filter is used when a developer put a label on a program site and want to see what happens right there. If necessary, the creator will give the judgment necessary to put in the console. By contrast, the text output is easier. We give you all the information logcat, contained in a text file (. Txt). To run it, we just put “adb Logcat> file.txt ” and let it all flow like the wind in the cornfields. When finished, close it with CTRL + C . find the complete log file stored in the directory where you are working (possibly android-tools). That file is what we send to the developer. It is important to note that the report may carry confidential information . We will make sure erase everything that the developer does not want to know on us, opening the text editor (notepad) and erasing what we create appropriate .
and that’s it. There are the ten ADB commands on Android and that will help us understand more about this business. Besides sure we will be quite useful now or in the future . If we want to learn more, there many online manuals on this. Although we have seen fit to put these to be the most used and challenged. I hope you have been helpful.Source: AndroidCentral
Surely you also interested …
- Google improves “Developer Console” Google Play
- Moroboro: Full synchronization and backup for your Android
- A single click
- Make full backups without root with Ultimate Backup Tool for PC and Mac
- More wood: HTC Eris or ugly brother Hero
- LG GW620 – Confirmed LG Android
- New terminals and fresh news …
- Mono for Android applications developed visually
February 9, 2013