Nexus7(2012)Wi-FiモデルをAndroid 4.4(KRT16O)にアップデート

Facebooktwittergoogle_plusmail

Factory Images Android 4.4(KRT16O)とNexus Root Toolkit v1.7.6が揃ったのでアップデートしてしまいました

Factory Images Android 4.4(KRT16O) for Nexus 7
http://www.rootlinks.net/2013/11/15/factory-images-android-4-4krt16o-for-nexus-7/

Available Nexus Root Toolkit v1.7.6
http://www.rootlinks.net/2013/11/16/available-nexus-root-toolkit-v1-7-6/

参考にしたサイトはここです
Android 4.4 KitKat Factory Images And Binaries Are Up For Nexus 4, All Variants Of Nexus 7 (2012 And 2013), And Nexus 10
http://www.androidpolice.com/2013/11/14/android-4-4-kitkat-factory-images-and-binaries-are-up-for-nexus-4-all-variants-of-nexus-7-2012-and-2013-and-nexus-10/


前回Factory Imagesを使用してAndroid 4.3にアップデートした環境をそのまま使用しています

Update Android 4.3 on Nexus 7
http://www.rootlinks.net/2013/08/03/update-android-4-3-on-nexus-7/

Android SDKとUSBドライバのインストールは事前に作業して下さい

  1. ファクトリイメージダウンロード
  2. Factory Images for Nexus Devices
    https://developers.google.com/android/nexus/images?hl=ja

    私のは2012 Wi-Fiモデルなので下記をダウンロードしました
    Factory Images “nakasi” for Nexus 7 (Wi-Fi)
    https://dl.google.com/dl/android/aosp/nakasi-krt16o-factory-db4a1a8a.tgz

    解凍して下記のファイルをplatform-toolsフォルダにコピーします
    Windowsで作業する場合はflash-all,image-nakasi-krt16o.zipが必要になります

  3. flash-all.batの編集
  4. 参考サイトにユーザ・データを消さない方法として下記の記述がありましたので、同様に編集しました

    3.Proceed with this step if you want to keep your data intact. If you skip this step, your data will be wiped. With your favorite text editor, edit (be careful not to run it by accident instead of editing) flash-all.bat (if you’re on Windows) or flash-all.sh (Mac, Linux) and remove “-w” from the fastboot update command. For example, if the line reads fastboot -w update image-razor-jss15j.zip, it should now read fastboot update image-razor-jss15j.zip. The -w option instructs fastboot to wipe data.

    “-w”を削除すればユーザ・データが残るそうです
    【編集前】

    @ECHO OFF
    :: Copyright 2012 The Android Open Source Project
    ::
    :: Licensed under the Apache License, Version 2.0 (the "License");
    :: you may not use this file except in compliance with the License.
    :: You may obtain a copy of the License at
    ::
    :: http://www.apache.org/licenses/LICENSE-2.0
    ::
    :: Unless required by applicable law or agreed to in writing, software
    :: distributed under the License is distributed on an "AS IS" BASIS,
    :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    :: See the License for the specific language governing permissions and
    :: limitations under the License.

    PATH=%PATH%;"%SYSTEMROOT%\System32"
    fastboot oem unlock
    fastboot erase boot
    fastboot erase cache
    fastboot erase recovery
    fastboot erase system
    fastboot erase userdata
    fastboot flash bootloader bootloader-grouper-4.23.img
    fastboot reboot-bootloader
    ping -n 10 127.0.0.1 >nul
    fastboot -w update image-nakasi-krt16o.zip

    echo Press any key to exit...
    pause >nul
    exit

    【編集後】

    @ECHO OFF
    :: Copyright 2012 The Android Open Source Project
    ::
    :: Licensed under the Apache License, Version 2.0 (the "License");
    :: you may not use this file except in compliance with the License.
    :: You may obtain a copy of the License at
    ::
    :: http://www.apache.org/licenses/LICENSE-2.0
    ::
    :: Unless required by applicable law or agreed to in writing, software
    :: distributed under the License is distributed on an "AS IS" BASIS,
    :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    :: See the License for the specific language governing permissions and
    :: limitations under the License.

    PATH=%PATH%;"%SYSTEMROOT%\System32"
    fastboot oem unlock
    fastboot erase boot
    fastboot erase cache
    fastboot erase recovery
    fastboot erase system
    fastboot erase userdata
    fastboot flash bootloader bootloader-grouper-4.23.img
    fastboot reboot-bootloader
    ping -n 10 127.0.0.1 >nul
    fastboot update image-nakasi-krt16o.zip

    echo Press any key to exit...
    pause >nul
    exit

  5. PCとNexus7を接続
  6. Nexus7とPCをUSBデバックモードで接続しアップデートを行います

  7. 再起動
  8. Nexus 7が再起動してきましたが見事に工場出荷時状態になりましたorz
    fastbootコマンドのバージョンが違うのでしょうか

    erasing ‘userdata’…
    OKAY [ 7.669s]

2013-11-16 16.10.25

2013-11-16 07.20.52

2013-11-16 07.22.15

【追記】
よく見たら下記の1行を削除すればユーザ・データは残りそうです
少しは自分で考えろってことだな
fastboot erase userdata

Leave a Reply

  

  

  


*