android

Android: how to edit or port a rom's apk

To edit an Android apk we have to accede at its content and to do this there are several software that simplify the usafe of Apktool : APK-Multi-Tool AutoAPKTool and if we have to edit the files smail in the odex file, the we can use the tools smali/backsmali . Here there are some standard commands to do smali/backsmali: #decompile java -jar baksmali.jar -o <deodexed_dir> <odex_file...

Android: how to extract a System image

Usually to extract an image file of the Android /system partition we can use the simple Android Kitchen but if the System image is signed (System_signed) to extract it we have to use simg2img : #!/sbin/sh # python simg2img.py system_signed tmp.img sudo mount -t ext4 -o loop tmp.img extracted/ Sources: andwise , Hazou

Signal lost after selecting USA Band in menu *#*#4636#*#*: how to solve the problem

In some android phone we can access at the advanced menu *#*#4636#*#* in which we can change some baseband settings including the radio band. In some case after selecting the USA Band in this menu the signal goes down, we lose every network connection, and we can't do nothing to restore the network. In this case the only real solution is to re-flash the radio through fastboot, this is the command...

Android: how to manually set the network via terminal

If we want manually set the network in Android, for example 2G or 3G, then we can use a simple command via the terminal or via adb. For the Motorola Stock Rom we can use this command: am broadcast -a com.android.phone.CHANGE_NETWORK_MODE --ei networkMode *VALUE* For the AOSP Rom we can use this command: am broadcast -a com.android.internal.telephony.MODIFY_NETWORK_MODE --ei networkMode *VALUE*...

Android: how to edit AndroidManifest.xml

Sometime to edit a system apk we have to edit its AndroidManifest.xml but we can't simple edit it otherwise we will corrupt the signature and the edited apk will not be loaded at system boot. We could disable the signature check in the services.jar or resign every apk in the rom but these aren't the more elegant solutions. After editing the AndroidManifest.xml in a system's apk we can check the...

Motorola Photon Q: how to solve the signal and battery problems

Some months ago I had worked hard on a "sim-modded" Motorola Photon Q to improve via software the connection 2G/3G and for this I released several updates for the gsm patch to reconfigure the RIL interface to make it correctly work on european gsm networks. The patch had improved the signal and the performance of data traffic, optimized the switching 2G/3G and accelerated the recovery of the...

Motorola Droid 4: poll on rom usage in Russia

Droid 4 Rom Poll
Some month ago the 4pda community for the Droid 4 made a poll on the rom usage and this is the result:

Question mark in the battery icon on the smartphone Android Motorola

One of my Motorola Droid 4 yesterday decided to make me a little nervous, the phone in question has been purchased a few months ago in new condition, it has always worked perfectly, the battery is always lasted almost three days but always had a small problem with the GPS, to make the fix satellites he needed tens of minutes, a strangest thing considering that the other Motorola Droid 4 in my...

Motorola Droid 4: problem solving and phone optimization

The Motorola Droid 4 is the latest Android phone with a great qwerty keyboard and thanks to that is not going to die now . Usually are the most competent users to appreciate a physical keyboard on a phone and this is why the Motorola Droid 4 has attracted many developers that make it a mobile evergreen . I love it and for correctly use it outsite the US i developed and published the Mentor's Rom...

Pages

Subscribe to RSS - android