How to unpack and repack Android’s boot.img correctly

boot.img’s structure is described in bootimg.h, so the safest way to unpack boot.img is using split_bootimg.pl. During the unpack, the original split_bootimg.pl outputs the kernel boot args as “Command line”, which should be included in the args of mkbootimg. Another important parameter is the base address, which is calculated as tags_addr - 0x00000100. I modified the original split_bootimg.pl to output this info. Check here if you want to use the modified version.
Read more →

NFC on Android

What’s NFC NFC is a set of short-range wireless technologies, typically requiring a distance of 4 cm or less. NFC operates at 13.56 MHz on ISO/IEC 18000-3 air interface and at rates ranging from 106 kbit/s to 424 kbit/s. NFC always involves an initiator and a target; the initiator actively generates an RF field that can power a passive target. NFC peer-to-peer communication is possible, provided both devices are powered.
Read more →

Android绑定Google帐号方法

需要有root adb remount adb shell echo “74.125.113.100 android.clients.google.com 74.125.113.100 android.l.google.com” >> /etc/hosts reboot now register with google
Read more →