Flashing Instructions

Flashing Instructions

Omar

Disclaimers:

  • Your warranty is void. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
  • Dirty flash at your own risk. In case of a bootloop, try flashing the previous build.
  • Always back up your data. No one but you is responsible for keeping your data safe in case of any issues.


Related Guides:

TWRP Flashing Instructions



Using ROM's recovery (recommended method)

Clean Flash

1) Enter fastboot mode and plug your device to your PC. Then open a terminal on your platform tools folder and flash the following files:

i) fastboot flash dtbo dtbo.img

ii) fastboot flash vendor_boot vendor_boot.img

iii) fastboot flash boot boot.img

Tip: You can just drag and drop the downloaded .img file into your terminal
Note: These files can be found here

2) Reboot to recovery

3) Factory reset

4) Apply update > from adb. Then type on your PC:

i) adb sideload ROM.zip

Note: Replace "ROM" with the name of the file you downloaded, or just drag and drop

5) Select "No" when it asks for reboot

6) Factory reset again

Note: Steps 7 and 8 are only necessary for vanilla builds. For builds with Gapps included, skip to step 9

7) Reboot to recovery

8) Flash your desired gapps package

9) Reboot to system


Dirty Flash

1) Reboot to recovery

2) Apply update > from adb. Then type on your PC:

i) adb sideload ROM.zip

Note: Replace "ROM" with the name of the file you downloaded, or just drag and drop

3) Select "No" when it asks for reboot

Note: Steps 4 and 5 are only necessary for vanilla builds. For builds with Gapps included, skip to step 6

4) Reboot to recovery

5) Flash your desired gapps package

6) Reboot to system



Using SHRP/TWRP

Clean Flash

1) Boot into SHRP or TWRP

2) Choose a way of wiping data depending on your installation method:

[A] Wipe -> Format Data, then type yes {Recommended for OTG/adb sideload users}

or

[B] Wipe -> Swipe to Factory Reset {Recommended if you kept the file in internal storage}

3) Flash the ROM by going to Install and choosing your file, or flash via adb sideload using "adb sideload romname.zip".

Tip: If you flash by selecting the file, you will be shown a list of options before flashing, make sure you enable "Automatically Reflash after flashing a ROM". This way you can skip step 5 every time

4) Wipe -> Format Data, then type yes

5) Go to Advanced -> Flash Current twrp

Note: Steps 6 and 7 are only necessary for vanilla builds. For builds with Gapps included, skip to step 8

6) Reboot to recovery

7) Flash your desired gapps package

8) Reboot to system


Dirty Flash

1) Reboot to SHRP or TWRP

2) Flash the ROM via normal flash or via adb sideload using "adb sideload romname.zip"

3) Wipe dalvik cache

Note: Steps 4 and 5 are only necessary for vanilla builds. For builds with Gapps included, skip to step 6

4) Reboot to recovery

5) Flash your desired gapps package

6) Reboot to system


Report Page