0

One Step Android Build & Flash

Posted April 12th, 2011 in General, Linux, Open Source and tagged , , , , by ryan

This is yet another post that’s really a reminder for me, but you’re welcome to it if it helps. I’ve been working on the Android OS for a few months now and at first I was physically touching the phone to reboot it into fastboot mode and then back to the normal boot mode. I grew tired of this manual process and so one day it dawned on me that fastboot also had a reboot command & I could make a bash alias and run all the commands to do this process at once.

m && cd out/target/product/passion/ && adb reboot-bootloader && fastboot flash system system.img && fastboot reboot && cd ../../../../

You’ll hear the phone vibrate when it’s booting back up normally and know it’s time to get back to work…

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Reply





FireStats icon Powered by FireStats