Factory Images for Nexus Devices - Google Support for Nexus Phones and Flagship Devices - Google Code
初期化アーカイブ内に含まれるインストールスクリプトfastboot flash bootloader bootloader-maguro-primekk15.img fastboot reboot-bootloader sleep 5 fastboot flash radio radio-maguro-i9250xxkk6.img fastboot reboot-bootloader sleep 5 fastboot -w update image-yakju-icl53f.zip
アップデートのたびにOS入れ替え、再設定を繰り返すのもばかばかしいので、
何かいい方法はないものか、と思い。
公開されているアーカイブの中身
インストールスクリプトにもあるように.img が2個、.zipが1個の計3個。
yakju-icl53f/ ├── bootloader-maguro-primekk15.img ├── flash-all.sh ├── image-yakju-icl53f.zip └── radio-maguro-i9250xxkk6.img
image-yakju-icl53f.zip の中身は以下。
image-yakju-icl53f/ ├── boot.img ├── recovery.img ├── system.img ├── userdata.img └── android-info.txt
fastboot
オプションを確かめる。
$ fastboot usage: fastboot [ <option> ] <command> commands: update <filename> reflash device from update.zip flashall flash boot + recovery + system flash <partition> [ <filename> ] write a file to a flash partition erase <partition> erase a flash partition getvar <variable> display a bootloader variable boot <kernel> [ <ramdisk> ] download and boot kernel flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it devices list all connected devices reboot reboot device normally reboot-bootloader reboot device into bootloader options: -w erase userdata and cache -s <serial number> specify device serial number -p <product> specify product name -c <cmdline> override kernel commandline -i <vendor id> specify a custom USB vendor id
よって翻訳すると、
fastboot flash bootloader bootloader-maguro-primekk15.img パーティション bootloader に bootloader-maguro-primekk15.img を上書きする。
fastboot flash radio radio-maguro-i9250xxkk6.img パーティション radio に radio-maguro-i9250xxkk6.img を上書きする。
fastboot reboot-bootloader ブートローダからデバイスを再起動する。
fastboot -w update image-yakju-icl53f.zip image-yakju-icl53f.zip をデバイスに再度上書きする。 ユーザデータとキャッシュは消す。
まずは浅知恵で、この -w を除けば、設定したデータたちは残るのではないかと。
fastboot update image-yakju-icl53f.zip archive does not contain 'boot.sig' archive does not contain 'recovery.sig' archive does not contain 'system.sig' -------------------------------------------- Bootloader Version...: PRIMEKK15 Baseband Version.....: I9250XXKK6 Serial Number........: ********** -------------------------------------------- checking product... OKAY checking version-bootloader... OKAY checking version-baseband... OKAY sending 'boot' (4074 KB)... OKAY writing 'boot'... OKAY sending 'recovery' (4406 KB)... OKAY writing 'recovery'... OKAY sending 'system' (317594 KB)... OKAY writing 'system'... OKAY rebooting...
とりあえずは、起動して、アプリの最適化など始まり
すこし待つと通常通り稼働しているようにみえる。
もちろんビルド番号は「ICL53F」。
suが消えてるので再度root化。
~/r3-galaxynexus-superboot$ ./install-superboot-linux.sh
30 Nov r3: Superboot - rooting the GSM + LTE Galaxy Nexus - Android @ MoDaCo