HT-03a カスタムROM導入ログ-vol.3「リカバリイメージの導入」
by jun on 11月.24, 2010, under Android, Android, Programing
リカバリーイメージとはAndroid携帯を起動する際にリカバリモードというのがあります。通常はこれでBackupから復元などができますが、この機能を拡張してカスタムROM化対応にします。
・HT-03aをリカバリーモードで起動(※ホームキーを押した状態で電源を入れる)
・RA-sapphireをダウンロード(現時点で1.7.0G)http://forum.xda-developers.com/showthread.php?t=530492
このページから「recovery-RA-sapphire-v1.7.0G.img」←必ずAndroid互換端末用の「G」らしいよ、他はHTCの上位機種向けみたいなので試してない。
・ダウンロードしたリカバリイメージをSDカードにコピーする
・HT-03aにて設定>アプリケーション設定>提供元不明のアプリ→チェック
・HT-03aにて設定>アプリケーション設定>開発>USBデバッグモード→チェック
・PCから下記コマンド実行
$ adb shell $ su # mount -a # flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img
HT-03aを再起動して完了
これでリカバリーモードが更新され、下記のような機能が実装される。
Features
Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).
- full ADB access in recovery mode
- Busybox v1.15.3
- HW-Key navigation (volume keys + CALL-ANSWER) option
- Extended menu (with keyboard-shortcuts):
- Reboot system now :: reboot your phone
- USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
- Backup/Restore (recovery partition not included!)
- Nand backup :: Make a Nand backup
- Nand + ext backup :: Make a Nand + ext backup
- Nand restore :: Restore a Nand backup
- BART backup :: Make a BART backup (Nand + ext)
- BART restore :: Restore latest BART backup
- Bck Google files :: Makes a backup of the Google proprietary system files in /cache/google
- Rst Google files :: Restores the Google proprietary system files from /cache/google
- Flash zip from sdcard :: Flash a zip update file from your sdcard
- Wipe
- Wipe data/factory reset :: Wipe /data and /cache
- Wipe cache :: Wipe /cache only
- Wipe Dalvik-cache :: Wipe /cache/dalvik-cache
- Wipe SD:ext partition : Wipe the ext partition on your sdcard
- Wipe battery stats : Wipe the battery stats in /data
- Wipe rotate settings : Wipe the sensor settings in /data
- Partition sdcard
- Partition SD :: Interactive SD partitioning
- Repair SD:ext :: Repair the ext partition
- SD:ext2 to ext3 :: Convert ext2 to ext3
- SD:ext3 to ext4 :: Convert ext3 to ext4
- Other
- Fix apk uid mismatches :: Does extacly that
- Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
- Power off :: Powers off your phone
つぎはSDカードのswapパーティション作成です。
HT-03a カスタムROM導入ログ