Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Custom ROM mashup

Pre run steps

  • Enable developer features
  • Allow USB debugging
  • Get adb permissions(handshake) atleast once
  • Enable OEM unlocking

Unlock

Unlock the device recovery by painstakingly following the steps for the respective model.

Mostly VolDown+Power for fastboot mode and VolUp+Power for recovery mode

Boot twrp

Get into fastboot and boot twrp image

fastboot boot twrp.img

Wipe

Wipe to your hearts content. Encrypted errors can be seen if the device isn't unlocked.

Start sideload

Start the sideload

adb sideload rom.zip

Post run steps

  • If the ROM booted perfectly, no need to flash twrp
  • If you love twrp, then flash it
    • Get into fastboot and run fastboot flash recovery twrp.img
    • Optionally install twrp app
  • If the device allows you to lock the recovery after installing an unsigned boot.img, then do so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.