Benutzer:MovGP0/Android/ROM

aus Wikipedia, der freien Enzyklopädie
   MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


ROM Flashen

Install Android SDK with ADB Toolkit

  • Download the SDK
  • Unpack the adt-bundle-windows-x86_64-YYYYMMDD.zip file
    • Note: Windows might complain that the path of some files is too long for extraction. Extract the file to a location with a short path.
  • copy the folder to C:\Programs\

Install ADB and Fastboot only

Set Phone in Developer Mode

  • Settings
  • About Phone
    • Press Build Number 7 times
  • Developer Options
    • Enable
    • Enable USB Debugging
  • Memory
    • USB Connection (PC)
    • disable all checks

Install Device Drivers

  • Download drivers
  • open Device Manager
  • select the Android Device
  • intall Android ADB Device Interface driver manually
    • driver will not be found automatically

Install ROM

Unlock Phone

  • execute adb reboot bootloader
  • execute fastboot oem unlock

Flash Phone

  • Download Image
  • Unpack the image into a known directory
  • execute adb reboot bootloader
  • execute the flash-all.bat from the image file directory

In case the flash-all.bat fails:

  • unpack the .zip file
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img

Lock Phone

  • execute adb reboot bootloader
  • execute fastboot oem lock

Sideload Update

  • download the OTA ZIP file

Prepare Device for Sideload

  • turn-off the device
  • hold Power + Volume-Down
  • select "Recovery Mode" and press Power
  • after getting the red warning, hold Power + Volume-Up
  • select "apply update from ADB" and press Power

Install Update via ADB

  • enter adb sideload LONG_NAME_OF_UPDATE_FILE.zip into the console
    • Hint: if this is not working, check the device manager if the "Android Bootloader Interface" is installed. It requires a manual installation using the INF file from the USB driver package.