http://www.htc.com/www/support/android/adp.html
Two methods are listed. I myself have to go with fastboot way, as I have lost totally everything, i.e. no original factory bootloader.
Recovery
It seems like recovery mode would always flash the /sdcard/update.zip file. Sample ommand line to transfer file from PC to G1 are:
$adb push a-pc-file /sdcard/update.zip
$adb shell sync
The sync line is important as G1 runs Linux and sync is necessary to make sure everything is written to the sdcard, including file system buffers and page cache.
To enter recovery mode:
Reboot G1 with HOME button pressed. It should display a "!" icon.
To enable log output:
Press ALT+l (lower case L) to enable log output. Keyboard needs to be opened, of course.
To install the update:
Press ALT+s to install the update.
To write the image:
Press HOME and BACK keys together to write the image, update the firmware, and automatically reboot.
Flash New Images
To be safe, erase userdata and cache by the following:
$fastboot erase userdata
$fastboot erase cache
Alternatively, adding a -w option can effectively erase those areas too.
$fastboot update
Useful Links
Google discussion group http://groups.google.com/group/Android-DevPhone-Updating
沒有留言:
張貼留言