Sunday, November 15, 2015

rooting - How to use AT commands in Android by 'root' the phone



We have various Android devices from Spike, Samsung, Micromax, etc. How can we issue AT commands from Android to the modem? We searched in Google Play but did not find any app related to this.


This Stack Overflow question suggests:



[F]irst you have to root the phone...`



How can we do this?



Answer



The question you linked to has the information you need to access the modem. You might also find this SO answer helpful for accessing the modem. Be warned that the device file you need to use is different for each model of phone, so you'll have to examine /dev on each device to find out which file to use.


As it points out, you need to be root to do this. The rooting process is different for each model of phone. For most models, you have to wipe the phone to achieve it, as the process involves unlocking the bootloader (and maybe flashing a custom recovery) in order to flash the su binary into the system image. Some models have security vulnerabilities you can exploit with a program you download, to achieve this without unlocking the bootloader. How do I root my Android device? explains more about the process, and has an index of questions about rooting particular devices.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...