If you can get into fastboot mode but your device is bricked otherwise you can follow these instructions:
1)Download the rom for your device from here.
2)Extract the file
3)Extract the payload.bin, folowing these instructions
4)Download my script and place it in the same folder as the extracted img files
5)If on windows make sure to rename the file to flash.cmd and make sure you have fastboot installed and set to path, a guide for which can be found here
6)Run the sript file. It should work on both windows and linux and maybe macOS but i have only tested linux
File content :
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot
fastboot flash abl abl.img
fastboot flash cpucp cpucp.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash my_carrier my_carrier.img
fastboot flash my_company my_company.img
fastboot flash my_engineering my_engineering.img
fastboot flash my_heytap my_heytap.img
fastboot flash my_product my_product.img
fastboot flash my_region my_region.img
fastboot flash my_stock my_stock.img
fastboot flash my_bigball my_bigball.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash system_ext system_ext.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
Don't need all that's but ok
It also works for MacOS, just need to add .
Code:
./
to every script line so it executes
Code:
fastboot
AndyC76 said:
File content :
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot
fastboot flash abl abl.img
fastboot flash cpucp cpucp.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash my_carrier my_carrier.img
fastboot flash my_company my_company.img
fastboot flash my_engineering my_engineering.img
fastboot flash my_heytap my_heytap.img
fastboot flash my_product my_product.img
fastboot flash my_region my_region.img
fastboot flash my_stock my_stock.img
fastboot flash my_bigball my_bigball.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash system_ext system_ext.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
Click to expand...
Click to collapse
once executed, bootloader could be relocked?
Coolness3579 said:
If you can get into fastboot mode but your device is bricked otherwise you can follow these instructions:
1)Download the rom for your device from here.
2)Extract the file
3)Extract the payload.bin, folowing these instructions
4)Download my script and place it in the same folder as the extracted img files
5)If on windows make sure to rename the file to flash.cmd and make sure you have fastboot installed and set to path, a guide for which can be found here
6)Run the sript file. It should work on both windows and linux and maybe macOS but i have only tested linux
Click to expand...
Click to collapse
Does it work with oos 12 or is it only for oos 11?
Related
Note:
The guide is written by Liangchen Chen who is the man behind F(x)tec. I am just sharing the guide. You can find the original post from here:
https://community.fxtec.com/topic/2466-guide-restore-to-stock-firmware-using-fastboot-method/
Flash at your own risk. I am not responsible for any damage or data loss to the device during this process!
Downloads:
The Fastboot restoration file can be downloaded in here:
https://drive.google.com/open?id=1uFp7Eoyb_BrvL9oIzpAa_nD3QaJSqyUY
You can use ADB drivers from Google:
https://developer.android.com/studio/run/win-usb
Preparation:
You need to have a PC and installed universal ADB driver
Completely turn off the phone.
Download the firmware and copy all the files into the adb folder which installed with the driver.
Procedures:
Hold Volume down + Power key together, when the logo shows up, release both fingers. The phone should boot into bootloader.
Connect the phone to the PC, and because the driver is installed, system should have identified the connection.
Right click Windows Logo --- Run --- Type
Code:
cmd
In command line, move to the adb folder using cd. For example, if the adb folder is in C:\adb, type
Code:
cd C:\adb
Then we need to see if the device successfully connects, type
Code:
fastboot devices
The outcome should have a device list there.
If the device is successfully connected, run the following commands:
Code:
fastboot flash devcfg_a devcfg.mbn
fastboot flash devcfg_b devcfg.mbn
fastboot flash dsp_a adspso.bin
fastboot flash dsp_b adspso.bin
fastboot flash bluetooth_a BTFM.bin
fastboot flash bluetooth_b BTFM.bin
fastboot flash modem_a NON-HLOS.bin
fastboot flash modem_b NON-HLOS.bin
fastboot flash pmic_a pmic.elf
fastboot flash pmic_b pmic.elf
fastboot flash rpm_a rpm.mbn
fastboot flash rpm_b rpm.mbn
fastboot flash splash splash.img
fastboot flash tz_a tz.mbn
fastboot flash tz_b tz.mbn
fastboot flash xbl_a xbl.elf
fastboot flash xbl_b xbl.elf
fastboot flash abl_a abl.elf
fastboot flash abl_b abl.elf
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash mdtp_a mdtp.img
fastboot flash mdtp_b mdtp.img
fastboot flash vbmeta_a vbmeta.img
fastboot flash vbmeta_b vbmeta.img
fastboot erase userdata
After it’s all finished, run
Code:
fastboot reboot
And the phone should now restored to factory state.
The firmware is the restoration file got it. Big Thank you.
please help me i am having this kind of problem it is saying fastboot: error: cannot load 'devcfg.mbn': no such file or directory
hay i flashed the open beta android 12 on my le2123
i noticed thet i dont have root so i trying download twrp and flash magisk.zip
i boot the phone into fast boot and run this commend
"fastboot boot twrp.img"
and then i flash magisk
the phone refuse to boot normal
i able to boot it to fastboot, what should i do now?
i convart to payload of the open beta via payload dumper and i have now a lot of .img file
should i flash them 1 by 1?
there is any order of doing that?
edit:
first i sorry for my bad english
i finally boot up the phone by first download stock rom and extract the .bin file into payload dumper (i found it on xda)
after that i flash allmost any of the output img the phone came to liva again.
(i have to download the fastboot from android sdk, the minimal adb and fastboot not incloude the specific command of "reboot fastboot.
the command boot the phone into fastbootd (new to me, i never heard about it))
this is the command i use if any one here do my mistake
1. fastboot -w (this will erease anything on the phone)
2.now you need to flash the following img
fastboot flash boot boot.img
fastboot flash cpucp cpucp.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash oplus_sec oplus_sec.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash splash splash.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
3. now use this command to reboot the fastboot into fastbootd
fastboot reboot fastboot
4. Flash the remaining files
fastboot flash abl abl.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash product product.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash vendor vendor.img
fastboot flash odm odm.img
5. finnaly use this command to reboot your phone into stock rom
fastboot reboot
i really hope this will halp anyone who stuck on the same situation as me
credit to other forum for the flash guide
How to Root Android 12 via Magisk patched boot.img (without TWRP)
In this tutorial, we will show you the steps to root your Android 12 device via Magisk patched boot.img, without using TWRP Recovery.
www.droidwin.com
FizzyAps said:
How to Root Android 12 via Magisk patched boot.img (without TWRP)
In this tutorial, we will show you the steps to root your Android 12 device via Magisk patched boot.img, without using TWRP Recovery.
www.droidwin.com
Click to expand...
Click to collapse
i'll do it after i get my phone boot, you have any idea what should i do now? im stuck on fastboot
msm tool
awesome
but not all thats need to flash stock
FizzyAps said:
awesome
but not all thats need to flash stock
Click to expand...
Click to collapse
so for the next time, how to flash stock?
i was on 12 beta and back to 11 so i flash all the files
elad0elad said:
so for the next time, how to flash stock?
i was on 12 beta and back to 11 so i flash all the files
Click to expand...
Click to collapse
On 12 you can actually downgrade using the updater app they provi
Or
I have a fastboot script .bat flash the essential that are need to flash
FizzyAps said:
On 12 you can actually downgrade using the updater app they provi
Or
I have a fastboot script .bat flash the essential that are need to flash
Click to expand...
Click to collapse
The phone refuse to boot so I can't use the app...
I'll be glad If you can send the script
After not receiving any OTA updates since I bought my phone last year, I decided to VPN to Britain and let it download from there.
To keep this short, I don't like the changes RealUI 3.0 has made and I'm wondering what the easiest way to go back is.
Some searching shows me there's a rollback package for the 3360 model, but I'm concerned it may have detrimental effects for my 3363 device.
Any advice would be appreciated.
Edit: I tried a handful of things and ended up bricking the device. Fastboot is the only thing I can get to load.
My current situation is that the phone only boots into fastboot mode. I've tried running the opporealme ofp flash tool a few times with "RMX3363GDPR_11_C.08_2022062322010228.ofp", but it doesn't seem to help.
Not sure what changed, but after more tinkering I've got back into android on RMX3363_11_C.08
cobatts said:
My current situation is that the phone only boots into fastboot mode. I've tried running the opporealme ofp flash tool a few times with "RMX3363GDPR_11_C.08_2022062322010228.ofp", but it doesn't seem to help.
Not sure what changed, but after more tinkering I've got back into android on RMX3363_11_C.08
Click to expand...
Click to collapse
how you did it, my device only boots in fastboot mode
I don't really know. I just ran the flash tool several times in different active slots and trying to change them afterwards. sometimes it would hard lock during the slot change, but one time it worked.
but now my cell service is extremely spotty and I'm looking to replace the phone entirely. If anyone smarter than me wants to buy a gt master in almost perfect physical condition, hit me up (us only though)
for any who is bricked use this and u will be good to go
extract all from the DOWNLOADED FIRMWARE using mct_ofp_extractor
copy all adb fastboot and adb files in that folder
open cmd in that folder
paste all given below commands there
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot
fastboot flash abl abl.img
fastboot flash cpucp cpucp.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash my_carrier my_carrier.img
fastboot flash my_company my_company.img
fastboot flash my_engineering my_engineering.img
fastboot flash my_heytap my_heytap.img
fastboot flash my_product my_product.img
fastboot flash my_region my_region.img
fastboot flash my_stock my_stock.img
fastboot flash my_bigball my_bigball.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash system_ext system_ext.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
finally fastboot reboot
i don't know why i don't have the sames files when i do extract from ofp so this lot of this command don't work anymore
for any who is bricked use this and u will be good to go
extract all from the relevant DOWNLOADED FIRMWARE using mct_ofp_extractor
copy all adb fastboot and adb files in that folder
open cmd in that folder
paste all given below commands there at once(copy all below and paste)
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot
fastboot flash abl abl.img
fastboot flash cpucp cpucp.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash my_carrier my_carrier.img
fastboot flash my_company my_company.img
fastboot flash my_engineering my_engineering.img
fastboot flash my_heytap my_heytap.img
fastboot flash my_product my_product.img
fastboot flash my_region my_region.img
fastboot flash my_stock my_stock.img
fastboot flash my_bigball my_bigball.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash system_ext system_ext.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
finally fastboot reboot
cutecrocodile said:
for any who is bricked use this and u will be good to go
extract all from the relevant DOWNLOADED FIRMWARE using mct_ofp_extractor
copy all adb fastboot and adb files in that folder
open cmd in that folder
paste all given below commands there at once(copy all below and paste)
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot
fastboot flash abl abl.img
fastboot flash cpucp cpucp.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash my_carrier my_carrier.img
fastboot flash my_company my_company.img
fastboot flash my_engineering my_engineering.img
fastboot flash my_heytap my_heytap.img
fastboot flash my_product my_product.img
fastboot flash my_region my_region.img
fastboot flash my_stock my_stock.img
fastboot flash my_bigball my_bigball.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash system_ext system_ext.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img
finally fastboot reboot
Click to expand...
Click to collapse
(fastboot reboot fastboot) I use this cmd now my phone just vibrates and does not show anything else .....what about next please reply to me.
UmarRasool said:
(fastboot reboot fastboot) I use this cmd now my phone just vibrates and does not show anything else .....what about next please reply to me.
Click to expand...
Click to collapse
Download your .ofp firmware, extract files with ofp_qc_decrypt.py (Github Python3 script), wipe data into recovery mode on phone (if you can access it by pressing Power+Vol.down) and flash with fastboot all the .img files except "super(*)" and "persist". It solved all bricks (3 times) for me.
this script is written for op Nord. (if you don't know what it is, pass it by!)
Spoiler: bonus - Full script
@Echo off
title Oxygen OS 11/12 OnePlus a/b Fastboot ROM by DKPOST3
ECHO ############################################################################
ECHO # OxygenOS 11/12 FASTBOOT ROM INSTALLER FOR ONEPLUS a/b BY DKPOST3 #
ECHO ##############################
ECHO # SETTING ACTIVE SLOT TO A #
fastboot --set-active=a
ECHO #######################
ECHO # FORMATTING DATA #
fastboot -w
ECHO ###############################
ECHO # FLASHING RECOVERY IMAGE #
fastboot flash recovery recovery.img
ECHO ############################
ECHO # REBOOTING TO FASTBOOTD #
fastboot reboot fastboot
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash --slot=all abl abl.img
fastboot flash --slot=all aop aop.img
fastboot flash --slot=all bluetooth bluetooth.img
fastboot flash --slot=all cmnlib64 cmnlib64.img
fastboot flash --slot=all cmnlib cmnlib.img
fastboot flash --slot=all devcfg devcfg.img
fastboot flash --slot=all dsp dsp.img
fastboot flash --slot=all featenabler featenabler.img
fastboot flash --slot=all hyp hyp.img
fastboot flash --slot=all imagefv imagefv.img
fastboot flash --slot=all keymaster keymaster.img
fastboot flash --slot=all logo logo.img
fastboot flash --slot=all mdm_oem_stanvbk mdm_oem_stanvbk.img
fastboot flash --slot=all modem modem.img
fastboot flash --slot=all multiimgoem multiimgoem.img
fastboot flash --slot=all qupfw qupfw.img
fastboot flash --slot=all spunvm spunvm.img
fastboot flash --slot=all storsec storsec.img
fastboot flash --slot=all tz tz.img
fastboot flash --slot=all uefisecapp uefisecapp.img
fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
fastboot flash vbmeta_system --disable-verity --disable-verification vbmeta_system.img
ECHO #################################
ECHO # RESIZING LOGICAL PARTITIONS #
fastboot delete-logical-partition my_carrier_a
fastboot delete-logical-partition my_carrier_b
fastboot delete-logical-partition my_company_a
fastboot delete-logical-partition my_company_b
fastboot delete-logical-partition my_engineering_a
fastboot delete-logical-partition my_engineering_b
fastboot delete-logical-partition my_heytap_a
fastboot delete-logical-partition my_heytap_b
fastboot delete-logical-partition my_manifest_a
fastboot delete-logical-partition my_manifest_b
fastboot delete-logical-partition my_preload_a
fastboot delete-logical-partition my_preload_b
fastboot delete-logical-partition my_product_a
fastboot delete-logical-partition my_product_b
fastboot delete-logical-partition my_region_a
fastboot delete-logical-partition my_region_b
fastboot delete-logical-partition my_stock_a
fastboot delete-logical-partition my_stock_b
fastboot delete-logical-partition my_bigball_a
fastboot delete-logical-partition my_bigball_b
fastboot delete-logical-partition odm_a
fastboot delete-logical-partition odm_b
fastboot delete-logical-partition system_a
fastboot delete-logical-partition system_b
fastboot delete-logical-partition system_ext_a
fastboot delete-logical-partition system_ext_b
fastboot delete-logical-partition product_a
fastboot delete-logical-partition product_b
fastboot delete-logical-partition vendor_a
fastboot delete-logical-partition vendor_b
fastboot create-logical-partition my_carrier_a 1
fastboot create-logical-partition my_carrier_b 1
fastboot create-logical-partition my_company_a 1
fastboot create-logical-partition my_company_b 1
fastboot create-logical-partition my_engineering_a 1
fastboot create-logical-partition my_engineering_b 1
fastboot create-logical-partition my_heytap_a 1
fastboot create-logical-partition my_heytap_b 1
fastboot create-logical-partition my_manifest_a 1
fastboot create-logical-partition my_manifest_b 1
fastboot create-logical-partition my_preload_a 1
fastboot create-logical-partition my_preload_b 1
fastboot create-logical-partition my_product_a 1
fastboot create-logical-partition my_product_b 1
fastboot create-logical-partition my_region_a 1
fastboot create-logical-partition my_region_b 1
fastboot create-logical-partition my_stock_a 1
fastboot create-logical-partition my_stock_b 1
fastboot create-logical-partition my_bigball_a 1
fastboot create-logical-partition my_bigball_b 1
fastboot create-logical-partition vendor_a 1
fastboot create-logical-partition vendor_b 1
fastboot create-logical-partition product_a 1
fastboot create-logical-partition product_b 1
fastboot create-logical-partition system_a 1
fastboot create-logical-partition system_b 1
fastboot create-logical-partition system_ext_a 1
fastboot create-logical-partition system_ext_b 1
fastboot create-logical-partition odm_a 1
fastboot create-logical-partition odm_b 1#
ECHO # FLASHING LOGICAL PARTITIONS #
ECHO ###############################
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash my_carrier my_carrier.img
fastboot flash my_manifest my_manifest.img
fastboot flash my_preload my_preload.img
fastboot flash my_product my_product.img
fastboot flash my_region my_region.img
fastboot flash my_stock my_stock.img
fastboot flash my_bigball my_bigball.img
fastboot flash my_company my_company.img
fastboot flash my_engineering my_engineering.img
fastboot flash my_heytap my_heytap.img
fastboot flash odm odm.img
ECHO ###############
ECHO # REBOOTING #
fastboot reboot
pause