Flashing Instructions
danhancachFor Windows
Extract payload.bin
- Download and extract payload-dumper-go.
- Move payload.bin from extracted firmware zip to the folder where you extracted payload-dumper-go.
- To start extracting the img files, type cmd in the address bar and run the following command:
payload-dumper-go.exe payload.bin
When the extraction is done, a new folder will be created with all the extracted img.
Flash Rom
//plug in USB while holding VOL+ during boot, make sure charge LED is blue
//reboot to fastbootd:
fastboot reboot fastboot
//flash the ROM on windows:
fastboot set_active a
fastboot flash boot boot.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img & fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot erase metadata // only on first install, ignore on upgrading
fastboot delete-logical-partition product_a & fastboot create-logical-partition product_a 0 & fastboot flash product product.img
fastboot delete-logical-partition system_a & fastboot create-logical-partition system_a 0 & fastboot flash system system.img
fastboot erase userdata // also only on first install
fastboot flash vendor vendor.img & fastboot flash odm odm.img
fastboot flash recovery recovery.img
//boot the ROM:
fastboot reboot
============================================
For linux
Install ADB and Fastboot on Ubuntu
sudo apt update
sudo apt upgrade
sudo apt install android-tools-adb android-tools-fastboot -y
Extract payload.bin
- Download and extract payload-dumper-go.
- Move payload.bin from extracted firmware zip to the folder where you extracted payload-dumper-go.
- To start extracting the img files, type cmd in the address bar and run the following command:
payload-dumper-go payload.bin
When the extraction is done, a new folder will be created with all the extracted img.
Flash Rom
//plug in USB while holding VOL+ during boot, make sure charge LED is blue
//reboot to fastbootd:
fastboot reboot fastboot
//flash the ROM on linux:
fastboot set_active a
fastboot flash boot boot.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img && fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot erase metadata // only on first install, ignore on upgrading
fastboot delete-logical-partition product_a && fastboot create-logical-partition product_a 0 && fastboot flash product product.img
fastboot delete-logical-partition system_a && fastboot create-logical-partition system_a 0 && fastboot flash system system.img
fastboot erase userdata // also only on first install
fastboot flash vendor vendor.img && fastboot flash odm odm.img
fastboot flash recovery recovery.img
//boot the ROM:
fastboot reboot