Hi Ashwin
As the next nightly requires us to be on the MM bootloader, I'd like to post my comprehensive guide like i had posted here, on this thread. I hope to ease many users pains with this.
Download Oxygen OS 3.1.3 full ROM
Download MM based unofficial TWRP
Downloaded Modded SuperSU if you want root (Skip this if you won't stay on OOS3 and would like to move to CM's newest nightly directly.)
You will require a PC with WinRAR & Notepad++, because as we are running custom ROMs the zip will give an error 7 saying that The package is for OnePlus, this is an onyx, we need to remove that.
Don't worry, its super easy.
- Download the OOS3 zip, copy it to your PCs desktop
- Open it with winRAR, dont extract it, just open it
- There will be a META-INF folder, open it
- Then open com, then google, then android, there will be 2 files here, updater-binary & updater script
- Double click on updater-script
- It will ask which app to use to open the file, then select to open with Notepad++ (designate it from its installed directory if it isn't visible in the initial list)
- The file will look like this
- Delete the entire first line that starts with getprop
- Now it should look like this
- Now press Ctrl+S to save the file and close the window
- WinRAR will ask weather to update changes in the archive, say yes to that
- Let it finish its job
- Done !
Moving on the the flashing now...
As we are going to switch bootloaders, you cannot just flash or OTA update the latest nightly, please download it separately and keep it in your SD Card/Internal for later use.
Assuming you are using official TWRP with your older CM13 now,
- Copy the modded OOS3 zip into your Device
- Boot into TWRP recovery
- Wipe system, data, cache & dalvik/art cache
- Flash the modified OOS3 zip
- Let it complete
- After it completes, press the wipe cache/dalvik button below
- Now reboot to system
- Complete the initial setup
- Goto settings, unlock developer options by tapping 7 times on build number in about phone
- Enable advanced reboot
- Then reboot to bootloader
- Flash the MM based unofficial TWRP via fastboot
- Boot into this newly flash TWRP before booting into system so that it doesn't overwrite it
- Now wipe system, data, cache & dalvik/art cache.
- Flash the Latest nightly along with your choice of Gapps and anything else you use.
- After its all complete, press the wipe cache/dalvik button below
- Then reboot to system and enjoy your updated Bootloader running the latest CM nightly.
Best of luck to everyone who attempts, may Lord DuARTe stay on your side
Feel free to revert back to me regarding any issues or clarifications, telegram will be better. My username on telegram is @ JoshwinAranha.
Happy flashing!!