MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


ROM Flashen

Bearbeiten

Install Android SDK with ADB Toolkit

Bearbeiten
  • 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

Bearbeiten

Set Phone in Developer Mode

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

Install Device Drivers

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

Install ROM

Bearbeiten

Unlock Phone

Bearbeiten
  • execute adb reboot bootloader
  • execute fastboot oem unlock

Flash Phone

Bearbeiten
  • 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

Bearbeiten
  • execute adb reboot bootloader
  • execute fastboot oem lock

Sideload Update

Bearbeiten
  • download the OTA ZIP file

Prepare Device for Sideload

Bearbeiten
  • 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

Bearbeiten
  • 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.