Flash Moto One Action Please ! - Motorola One Action Accessories

Good afternoon sirs !
I need some help from you regarding my one action bike.
I recently bought it linked to the telephone operator Claro (BR) which the last update he received was in October 2019 on Android version 9
PSBS29.21-20-7 version.
I can't upgrade to a later version and saw that on this site: https://mirrors.lolinet.com/firmware/moto/troika/official/AMXBR/ has a more current version ending 49-7-1. I wonder how do I install it either via RSD or ADB? Remembering! Need to unlock bootloader? Has anyone ever updated it otherwise?

Diogownz said:
Good afternoon sirs !
I need some help from you regarding my one action bike.
I recently bought it linked to the telephone operator Claro (BR) which the last update he received was in October 2019 on Android version 9
PSBS29.21-20-7 version.
I can't upgrade to a later version and saw that on this site: https://mirrors.lolinet.com/firmware/moto/troika/official/AMXBR/ has a more current version ending 49-7-1. I wonder how do I install it either via RSD or ADB? Remembering! Need to unlock bootloader? Has anyone ever updated it otherwise?
Click to expand...
Click to collapse
How are you! You must first have unlock bootloader and then flash the firmware with adb !!

Polnareff said:
How are you! You must first have unlock bootloader and then flash the firmware with adb !!
Click to expand...
Click to collapse
How are you! Exact! First you unlock the bootloader and then flash the firmware.
1) Install motorola drivers
2) download the adb
3) Extract the firmware in the adb folder
3) Enter fastboot mode on the cell phone (volume down + power)
4) Enter through the system symbol (plus two)
4.1 Put fastboot devices
4.2 copy all this ans paste:
%fastboot% oem fb_mode_set
%fastboot% flash pit diskmap.pit
%fastboot% flash fwbl1 fwbl1.nbl1.bin
%fastboot% flash ldfw_a ldfw.bin
%fastboot% flash ldfw_b ldfw.bin
%fastboot% flash keystorage_a keystorage.bin
%fastboot% flash keystorage_b keystorage.bin
%fastboot% flash bootloader_a bootloader.bin
%fastboot% flash bootloader_b bootloader.bin
%fastboot% flash modem_a modem.bin
%fastboot% flash vbmeta_a vbmeta.img
%fastboot% flash oem_a oem.img
%fastboot% flash oem_b oem_other.img
%fastboot% flash logo_a logo.bin
%fastboot% flash dtbo_a dtbo.img
%fastboot% flash boot_a boot.img
%fastboot% flash system_a system.img_sparsechunk.0
%fastboot% flash system_a system.img_sparsechunk.1
%fastboot% flash system_a system.img_sparsechunk.2
%fastboot% flash system_a system.img_sparsechunk.3
%fastboot% flash system_a system.img_sparsechunk.4
%fastboot% flash system_a system.img_sparsechunk.5
%fastboot% flash system_a system.img_sparsechunk.6
%fastboot% flash system_a system.img_sparsechunk.7
%fastboot% flash system_a system.img_sparsechunk.8
%fastboot% flash system_a system.img_sparsechunk.9
%fastboot% flash system_a system.img_sparsechunk.10
%fastboot% flash system_b system_other.img_sparsechunk.0
%fastboot% flash system_b system_other.img_sparsechunk.1
%fastboot% flash system_b system_other.img_sparsechunk.2
%fastboot% flash vendor_a vendor.img
%fastboot% erase cache
%fastboot% erase userdata
%fastboot% erase ddr
%fastboot% oem fb_mode_clear
%fastboot% reboot bootloader
This is more or less the method ... in the forum it is better explained! don't be scared !!!

Polnareff said:
How are you! Exact! First you unlock the bootloader and then flash the firmware.
1) Install motorola drivers
2) download the adb
3) Extract the firmware in the adb folder
3) Enter fastboot mode on the cell phone (volume down + power)
4) Enter through the system symbol (plus two)
4.1 Put fastboot devices
4.2 copy all this ans paste:
%fastboot% oem fb_mode_set
%fastboot% flash pit diskmap.pit
%fastboot% flash fwbl1 fwbl1.nbl1.bin
%fastboot% flash ldfw_a ldfw.bin
%fastboot% flash ldfw_b ldfw.bin
%fastboot% flash keystorage_a keystorage.bin
%fastboot% flash keystorage_b keystorage.bin
%fastboot% flash bootloader_a bootloader.bin
%fastboot% flash bootloader_b bootloader.bin
%fastboot% flash modem_a modem.bin
%fastboot% flash vbmeta_a vbmeta.img
%fastboot% flash oem_a oem.img
%fastboot% flash oem_b oem_other.img
%fastboot% flash logo_a logo.bin
%fastboot% flash dtbo_a dtbo.img
%fastboot% flash boot_a boot.img
%fastboot% flash system_a system.img_sparsechunk.0
%fastboot% flash system_a system.img_sparsechunk.1
%fastboot% flash system_a system.img_sparsechunk.2
%fastboot% flash system_a system.img_sparsechunk.3
%fastboot% flash system_a system.img_sparsechunk.4
%fastboot% flash system_a system.img_sparsechunk.5
%fastboot% flash system_a system.img_sparsechunk.6
%fastboot% flash system_a system.img_sparsechunk.7
%fastboot% flash system_a system.img_sparsechunk.8
%fastboot% flash system_a system.img_sparsechunk.9
%fastboot% flash system_a system.img_sparsechunk.10
%fastboot% flash system_b system_other.img_sparsechunk.0
%fastboot% flash system_b system_other.img_sparsechunk.1
%fastboot% flash system_b system_other.img_sparsechunk.2
%fastboot% flash vendor_a vendor.img
%fastboot% erase cache
%fastboot% erase userdata
%fastboot% erase ddr
%fastboot% oem fb_mode_clear
%fastboot% reboot bootloader
This is more or less the method ... in the forum it is better explained! don't be scared !!!
Click to expand...
Click to collapse
Thank you I will have to get with you when I got more time. I'm ready to r..t my phone. I'm sure I will need help. Thank you so much.

Related

Is "erase before flash" better than "flash only"

I am going to flash a new custom ROM including the latest firmware (3.6.1).
but I am considering whether I should erase before flash.
why do I have this idea?
because I fixed a problem by erasing all the partition then flash
**** the problem I fixed after erasing was encryption fail.
erasing all the partition I will flash
Code:
fastboot erase -S 512M system
fastboot erase boot
fastboot erase oem_stanvbk
fastboot erase rpm
fastboot erase tz
fastboot erase aboot
fastboot erase sbl1
fastboot erase pmic
fastboot erase hyp
fastboot erase rpmbak
fastboot erase tzbak
fastboot erase abootbak
fastboot erase sbl1bak
fastboot erase pmicbak
fastboot erase hypbak
fastboot erase modem
fastboot erase bluetooth
fastboot erase sdi
fastboot erase LOGO
fastboot erase cache
fastboot erase recovery
fastboot erase userdata
Then flash all the partition I erased
Code:
fastboot flash -S 512M system system.img
fastboot flash boot boot.img
fastboot flash oem_stanvbk static_nvbk.bin
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash pmic pmic.mbn
fastboot flash hyp hyp.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash tzbak tz.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot flash sbl1bak sbl1.mbn
fastboot flash pmicbak pmic.mbn
fastboot flash hypbak hyp.mbn
fastboot flash modem NON-HLOS.bin
fastboot flash bluetooth BTFM.bin
fastboot flash sdi sdi.mbn
fastboot flash LOGO logo.bin
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata_64G.img
fastboot reboot
thank you

[HELP] G7 power permission denied

Hello, this is my first time in the xda forum, I hope you help me with my situation since I have been trying to solve my problem for several days without any success. Without more to say I tell you my situation:
1 week ago I decided to make a rom flash on my motorola G7 POWER (XT1955-2 RETAIL), so I proceeded to download a rom from youtube, perform the procedure without any problem and when I finish the cell phone restart, until here everything normal. Now I comment the problem arises after the restart of the cell phone, I realized that it did not start and stays in the logo of Motorola and restarted again.
I gave myself the task of checking that it could have failed and I found that when it was flashing they appreciated several errors 1 of them is the following:
C: \ Users \ maxic \ Desktop \ fflanfl \ Motorola_Moto_G7_Power_XT1955_2_ 9.0_CFC_US_181210 \ Firmware> fastboot erase customize
erasing 'customize' ...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.009s
Those are the mistakes I found. I've tried flashing 1 million times with different roms and nothing please I need your help to solve my problem.:crying::crying::crying::crying::crying:
pacomiguel said:
Hello, this is my first time in the xda forum, I hope you help me with my situation since I have been trying to solve my problem for several days without any success. Without more to say I tell you my situation:
1 week ago I decided to make a rom flash on my motorola G7 POWER (XT1955-2 RETAIL), so I proceeded to download a rom from youtube, perform the procedure without any problem and when I finish the cell phone restart, until here everything normal. Now I comment the problem arises after the restart of the cell phone, I realized that it did not start and stays in the logo of Motorola and restarted again.
I gave myself the task of checking that it could have failed and I found that when it was flashing they appreciated several errors 1 of them is the following:
C: \ Users \ maxic \ Desktop \ fflanfl \ Motorola_Moto_G7_Power_XT1955_2_ 9.0_CFC_US_181210 \ Firmware> fastboot erase customize
erasing 'customize' ...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.009s
Those are the mistakes I found. I've tried flashing 1 million times with different roms and nothing please I need your help to solve my problem.:crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
There is a G7 Power section
https://forum.xda-developers.com/g7-power
See
https://forum.xda-developers.com/g7-power/how-to/complete-noob-guide-to-rooting-metropcs-t3954986
Download from
https://mirrors.lolinet.com/firmware/moto/ocean/official/
Try
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Sent from my ali using XDA Labs
sd_shadow said:
There is a G7 Power section
https://forum.xda-developers.com/g7-power
See
https://forum.xda-developers.com/g7-power/how-to/complete-noob-guide-to-rooting-metropcs-t3954986
Download from
https://mirrors.lolinet.com/firmware/moto/ocean/official/
Try
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Sent from my ali using XDA Labs
Click to expand...
Click to collapse
Hello, thanks for the information but I had tried to do that before, the bootloader is locked on my device and there is no way to unlock it in the condition that my cell phone is.

Android One - 10 Update Retail

Download Retail Version of Android 10 Version
https://mirrors.lolinet.com/firmware/moto/deen/official/RETAIL
Commands To Flash
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
ALSO YOU CAN USE RSD Lite Tool
Please
I Don't know to Re-Lock Boot loader. It shows Need signed Bootloader
can be installed in phone version? is there any risk?
Enviado desde mi Pixel 2 XL mediante Tapatalk
I flashed it and it works pretty good.
I havent had any issues.
Unique code
Hey, guys! How did you get the Unique Key to unlock the bootloader? I asked it through Motorola Website but I didn't get an answer so far..
The solicitation hasn't reached even 24h period yet, but I remember doing that other times, and it was really fast.
moisestrindade said:
Hey, guys! How did you get the Unique Key to unlock the bootloader? I asked it through Motorola Website but I didn't get an answer so far..
The solicitation hasn't reached even 24h period yet, but I remember doing that other times, and it was really fast.
Click to expand...
Click to collapse
I followed the guide here:
https://forum.xda-developers.com/one-power/how-to/guide-motorola-one-power-unlock-relock-t3858797
It's for a different Motorola phone, but the process is the same. After you enter the required data on the Motorola website, you will get the unlock key in a few minutes.
cyyy said:
I followed the guide here:
https://forum.xda-developers.com/one-power/how-to/guide-motorola-one-power-unlock-relock-t3858797
It's for a different Motorola phone, but the process is the same. After you enter the required data on the Motorola website, you will get the unlock key in a few minutes.
Click to expand...
Click to collapse
Ok! I'll try another time!
deveshbabu said:
Download Retail Version of Android 10 Version
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Commands To Flash
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Click to expand...
Click to collapse
i did all but still on android 9,btw i have two errors:
PS C:\adb> fastboot flash system_b system_b.img_sparsechunk.0
error: cannot load 'system_b.img_sparsechunk.0'
PS C:\adb> fastboot flash system_b system_b.img_sparsechunk.1
error: cannot load 'system_b.img_sparsechunk.1'
i didnt saw those files on the package.
can someone help how to install the package on my device plzzz?
Justphemy said:
i did all but still on android 9,btw i have two errors:
PS C:\adb> fastboot flash system_b system_b.img_sparsechunk.0
error: cannot load 'system_b.img_sparsechunk.0'
PS C:\adb> fastboot flash system_b system_b.img_sparsechunk.1
error: cannot load 'system_b.img_sparsechunk.1'
i didnt saw those files on the package.
can someone help how to install the package on my device plzzz?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=82134389&postcount=36
moisestrindade said:
Hey, guys! How did you get the Unique Key to unlock the bootloader? I asked it through Motorola Website but I didn't get an answer so far..
The solicitation hasn't reached even 24h period yet, but I remember doing that other times, and it was really fast.
Click to expand...
Click to collapse
I'm using the Lenovo Moto Smart Assistant PC application and I'm in the middle of the upgrade.
FaBMak said:
https://forum.xda-developers.com/showpost.php?p=82134389&postcount=36
Click to expand...
Click to collapse
thanks man, i just updated my phone without those files and it's working normal now, anyway i flashed that file now, is it ok? have to do any format or reset?
Justphemy said:
thanks man, i just updated my phone without those files and it's working normal now, anyway i flashed that file now, is it ok? have to do any format or reset?
Click to expand...
Click to collapse
I don't know, i just saw this on the other thread. I think that if it's working ok, keep it.
if my device is RETLA will RETAIL work fine on it?
EDIT: I can confirm, as of first boot, everything seems to be in order! functioning LTE, anyway!
EDIT2: Play store is broken, everything gets stuck at 99%. going to try to rollback to Android 9.
Also I need help locking the bootloader on Motorola one p30 play xt1941-3 please help anyone.

help to installing the new android 10 ota update

hello guys, i just download the new update for my phone but i cant intsall it, i didnt install any recovery and anything on my phone yet, i tried to install it via adb sideload ota.zip command and not work, i unlocked bootloader and its not worked
Hi,
Try these commands when in fastboot mode.
Maybe you need to relock the bootloader.
Here are the commands:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_other.img
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot

Magisk/Recovery in official rom Android 12+ (Oxygen/ColorOS )

1. Extract rom.zip and get payload.bin
2. Extract payload_drumper-win64 (attach)
3. Put payload.bin in folder payload_drumper-win64
4. Run payload_dumper.exe​
Spoiler: 5.1 Flash Recovery (method #1)
fastboot -w (erase all data)
fastboot flash boot magisk.img
fastboot flash recovery OrangeFox.img
fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
fastboot flash vbmeta_system --disable-verity --disable-verification vbmeta_system.img
start recovery (key +)
Spoiler: 5.2 Flash recovery (method #2)
fastboot -w
fastboot reboot fastboot
fastboot flash boot boot.img
fastboot flash recovery OrangeFox.img
fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
fastboot flash vbmeta_system --disable-verity --disable-verification vbmeta_system.img
fastboot reboot bootloader
start recovery (key +)
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

Categories

Resources