Search This Blog

2012-11-30

Android: Terminal Info

Product: Android
Version: Any version, tested in ver 2.3

File: /data/system/batteryinfo.bin
Reference 1: http://madteam.co/news/2011/10/battery-calibration-cwm-app-tutorial/
Reference 2: http://mygalaxywonder.blogspot.com/2012/06/how-to-calibrate-android-phone-battery.html

1. root the phone with any tools
2. launch terminal emulation
3. Enter: su
4. Enter: cd /data/system
5. Enter: rm -i batteryinfo.bin
6. Shutdown phone
7. Charge the phone until it is fully charge
8. Turn on the phone

Deleting above binary file and turn on the phone after fully charge (believe) to recalibrate the battery level detection.

Trying it with my old LG Optimus 2X (G2x) P999 Canada model
--
Reference: http://softteco.blogspot.com/2011/04/android-playing-with-dumpsys.html

Found some Android terminal commands. Not sure how good it but documenting it here

$ adb shell dumpsys | grep DUMP
$ adb shell dumpsys wifi
$ adb shell dumpsys cpuinfo

List of sub parameters can be found using this command
$ adb shell dumpsys | grep DUMP

No comments: