flass-all.bat
を実行した。
Factory Images for Nexus and Pixel Devices | Google APIs for Android | Google Developers
https://developers.google.com/android/images?hl=ja#angler
すると、最後のほうで以下のようなエラーが
wiping userdata... CreateProcess failed: The system cannot find the file specified. (2) mke2fs failed: -1 error: Cannot generate image for userdata Press any key to exit...ググると
-w
オプションを外せばいいよとのこと。fastboot -w update image-angler-opm7.181105.004.zip
から -w
を外し以下のように変更。
1 2 3 4 5 6 7 8 9 10 11 12 | PATH = %PATH% ; "%SYSTEMROOT%\System32" fastboot flash bootloader bootloader-angler-angler-03.81.img fastboot reboot-bootloader ping -n 5 127.0.0.1 > nul fastboot flash radio radio-angler-angler-03.88.img fastboot reboot-bootloader ping -n 5 127.0.0.1 > nul fastboot update image-angler-opm7.181105.004.zip echo Press any key to exit ... pause > nul exit |
起動後、user data が wipe されていないことによるエラーが出ますが、factory reset を選ぶと user data を wipe できました。
その後無事起動しました。