Flashing ROMs
azollerHere is a guide to flash ROMs, should work for all of my projects.
INITIAL INSTALLATION:
METHOD 1 - Fastboot flashing
(I recommend this, its very easy once its set-up and should work 100% of the time unlike sideloading)
- Download ROM zip file
- Extract payload.bin file from rom zip
- Download the payload dumper if not already downloaded - https://github.com/vm03/payload_dumper, then extract somewhere
- Place payload.bin file within the payload dumper extracted directory
- Open a command prompt and run: python payload_dumper payload.bin in the extracted directory
- Then, place fastboot file/tools into the output directory
- Then flash the fastboot img files
- Download these flashing script helper files or use whatever (check TG group for more info about these) - https://sourceforge.net/projects/azoll-8t-projects/files/Scripts/
- After flashing, format data if coming from a different ROM. The helper scripts will instruct you to do this
- Reboot
METHOD 2 - Sideloading
- Download ROM zip file
- Use payload dumper method to extract imgs and will use the recovery.img (can use other recoveries if desired initially)
- Fastboot flash the recovery.img from bootloader
- Reboot to recovery
- Format data if coming from different ROM
- Then sideload the rom zip file
- Reboot
UPDATING BETWEEN SAME ROM UPDATES:
- Simply just adb sideload new rom zip in recovery
OR
- Extract imgs from payload.bin and use fastboot and then run the flash_update script from the script files
- Reboot