which partitions are independent from ROM version - General Questions and Answers

hi.
i use miui 11 pie .eu ROM on my device redmi note 8. i dont need to update rom and android version. want to know which partitions are independent from rom version so could be flash.
can i flash new persist.img from last rom?
how about firmwares, or below partitions:
fastboot flash tz tz.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash hyp hyp.mbn
fastboot flash tzbak tz.mbn
fastboot flash sbl1bak sbl1.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot flash hypbak hyp.mbn
fastboot flash modem NON-HLOS.bin
fastboot flash sec sec.dat
fastboot flash dsp adspso.bin
fastboot flash mdtp mdtp.img
fastboot flash splash splash.img
fastboot flash cust cust.img
thx.

Related

[Q] Help downgrading to 11S

So Lollipop (12.0-YNG1TAS17L) isn't cutting it for me and I'm going to downgrade to 11S (cm-11.0-XNPH05Q) now I know that I have to use the zip on this site (and BTW what is the boot-debuggable.img one for, tho'?) and use one the following commands:
First set
Code:
fastboot flash modem NON-HLOS.bin
fastboot reboot-bootloader
fastboot flash sbl1 sbl1.mbn
fastboot reboot-bootloader
fastboot flash dbi sdi.mbn
fastboot reboot-bootloader
fastboot flash aboot emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot flash rpm rpm.mbn
fastboot reboot-bootloader
fastboot flash tz tz.mbn
fastboot reboot-bootloader
fastboot flash LOGO logo.bin
fastboot reboot-bootloader
fastboot flash oppostanvbk static_nvbk.bin
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata_64G.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot
Or Do I use these ones?
Second set
Code:
fastboot.exe oem unlock
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
fastboot.exe oem lock
fastboot reboot
NOTICE THE ORDER.
On the first we have (between system reboots):
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
And on the second we have:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
TL;dr:
1 - On cyanogen site what is the boot-debuggable.img for?
2 - Do the flash commands have any order in particular?
3 - Which of those sets (1-2) of commands are correct?
And before anyone asks; YES I want to do this by hand.
PS:
I've seen in other batch scrips these two files being evoked (reserve4.img and persist.img).
- First what are they for?
- Second do I really need them?
- Third where do I get them?
I want to go to version (cm-11.0-XNPH05Q official) so I need the official ones and not those mirrored ones where I don't have any way to validate their authenticity nor what version are they made for.
http://webtrickz.com/how-to-flash-cm12-lollipop-factory-image-on-oneplus-one-using-fastboot/
Just replace 12 with 11.

marshmallow 6.0.1 to stable lollipoo

hi guys ,
i want to downgrade my marshmallow current stock rom to lollipop please provide the steps to do it as i am facing battery issues in mm, and my device is rooted and twrp installed and also using xposed framework in mm do i need to uninstall framework please let me know steps thanks
Download Fastboot flashable image from here:
http://forum.xda-developers.com/oneplus-one/general/official-cm11s-roms-ota-updates-t2906746
Then flash everything:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash userdata userdata_64G.img (or userdata.img if you have a 16GB model)
fastboot reboot
Click to expand...
Click to collapse

[SOLVED] Unable to install factory image. "Not enough space"

I have a bootloader unlocked Google Pixel. On my computer I have Fastboot and ADB
I wanted to flash the Android 8.0 factory images from here:
https://developers.google.com/android/images#sailfish
I downloaded and extracted the zip, booted into download mode, and ran the flash-all.bat
When I do that it goes for a short while then terminates with the following:
error: failed to load 'image-sailfish-opr6.170623.012.zip': Not enough space
I have gone into TWRP and wiped everything as well as formatted but it hasn't let me run the factory image due to space.
What can I do?
EDIT: My problem was solved by mannunikhil:
mannunikhil said:
Try these step by step, this is manual flashing
Since you have already run flash-all.bat, bootloader and radio img had been already flash or you can flash them again if feel so.
fastboot flash bootloader bootloader.img
fastboot flash radio radio.img
Extract the zip "image-sailfish-opr6.170623.012.zip " to adb/fastboot location
Then to fix slot_b:
fastboot flash aboot_b aboot.img
fastboot flash apdp_b apdp.img
fastboot flash boot_b boot.img
fastboot flash bootlocker_b bootlocker.img
fastboot flash cmnlib32_b cmnlib32.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_b devcfg.img
fastboot flash hosd_b hosd.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_b modem.img
fastboot flash pmic_b pmic.img
fastboot flash rpm_b rpm.img
fastboot flash tz_b tz.img
fastboot flash vendor_b vendor.img
Then erase/format system_b..
Fastboot erase system_b
And erase/format userdata ...
Fastboot erase userdata
Then proceed to fix slot_a
fastboot flash aboot aboot.img
fastboot flash apdp apdp.img
fastboot flash boot boot.img
fastboot flash bootlocker bootlocker.img
fastboot flash cmnlib32 cmnlib32.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash hosd hosd.img
fastboot flash hyp hyp.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash pmic pmic.img
fastboot flash rpm rpm.img
fastboot flash tz tz.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Finally, "fastboot reboot".
Click to expand...
Click to collapse
Tate Adams said:
I have a bootloader unlocked Google Pixel. On my computer I have Fastboot and ADB
I wanted to flash the Android 8.0 factory images from here:
https://developers.google.com/android/images#sailfish
I downloaded and extracted the zip, booted into download mode, and ran the flash-all.bat
When I do that it goes for a short while then terminates with the following:
error: failed to load 'image-sailfish-opr6.170623.012.zip': Not enough space
I have gone into TWRP and wiped everything as well as formatted but it hasn't let me run the factory image due to space.
What can I do?
Click to expand...
Click to collapse
there are couple of things that I can think of as of now,
1 ) Take backup of internal storage and run flash-all.bat as original (do not remove -w from the batch file),
2) Update Android SDK / Google USB Drivers with latest version and flash it again.
Sadly updating those didn't help. Everytime I try to install factory image it says it cannot allocate about 4 time the amount it says my max is. Any way to clear data from TWRP? I was quick to clear data so I have no backup to go back to. I'll take anyone's suggestions but I've lost hope.
Tate Adams said:
Sadly updating those didn't help. Everytime I try to install factory image it says it cannot allocate about 4 time the amount it says my max is. Any way to clear data from TWRP? I was quick to clear data so I have no backup to go back to. I'll take anyone's suggestions but I've lost hope.
Click to expand...
Click to collapse
suggest you to check the disk space where your windows temp directory set to.
during flashing it needs to unzip image-sailfish-opr6.170623.012.zip to temp folder
Tate Adams said:
Sadly updating those didn't help. Everytime I try to install factory image it says it cannot allocate about 4 time the amount it says my max is. Any way to clear data from TWRP? I was quick to clear data so I have no backup to go back to. I'll take anyone's suggestions but I've lost hope.
Click to expand...
Click to collapse
Try these step by step, this is manual flashing
Since you have already run flash-all.bat, bootloader and radio img had been already flash or you can flash them again if feel so.
fastboot flash bootloader bootloader.img
fastboot flash radio radio.img
Extract the zip "image-sailfish-opr6.170623.012.zip " to adb/fastboot location
Then to fix slot_b:
fastboot flash aboot_b aboot.img
fastboot flash apdp_b apdp.img
fastboot flash boot_b boot.img
fastboot flash bootlocker_b bootlocker.img
fastboot flash cmnlib32_b cmnlib32.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_b devcfg.img
fastboot flash hosd_b hosd.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_b modem.img
fastboot flash pmic_b pmic.img
fastboot flash rpm_b rpm.img
fastboot flash tz_b tz.img
fastboot flash vendor_b vendor.img
Then erase/format system_b..
Fastboot erase system_b
And erase/format userdata ...
Fastboot erase userdata
Then proceed to fix slot_a
fastboot flash aboot aboot.img
fastboot flash apdp apdp.img
fastboot flash boot boot.img
fastboot flash bootlocker bootlocker.img
fastboot flash cmnlib32 cmnlib32.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash hosd hosd.img
fastboot flash hyp hyp.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash pmic pmic.img
fastboot flash rpm rpm.img
fastboot flash tz tz.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Finally, "fastboot reboot".
mannunikhil said:
Try these step by step, this is manual flashing
Since you have already run flash-all.bat, bootloader and radio img had been already flash or you can flash them again if feel so.
fastboot flash bootloader bootloader.img
fastboot flash radio radio.img
Extract the zip "image-sailfish-opr6.170623.012.zip " to adb/fastboot location
Then to fix slot_b:
fastboot flash aboot_b aboot.img
fastboot flash apdp_b apdp.img
fastboot flash boot_b boot.img
fastboot flash bootlocker_b bootlocker.img
fastboot flash cmnlib32_b cmnlib32.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_b devcfg.img
fastboot flash hosd_b hosd.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_b modem.img
fastboot flash pmic_b pmic.img
fastboot flash rpm_b rpm.img
fastboot flash tz_b tz.img
fastboot flash vendor_b vendor.img
Then erase/format system_b..
Fastboot erase system_b
And erase/format userdata ...
Fastboot erase userdata
Then proceed to fix slot_a
fastboot flash aboot aboot.img
fastboot flash apdp apdp.img
fastboot flash boot boot.img
fastboot flash bootlocker bootlocker.img
fastboot flash cmnlib32 cmnlib32.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash hosd hosd.img
fastboot flash hyp hyp.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash pmic pmic.img
fastboot flash rpm rpm.img
fastboot flash tz tz.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Finally, "fastboot reboot".
Click to expand...
Click to collapse
Thank you mannunikhil! I wish I could extend a hug and a hand shake to you. Fixed it for me! Also thank you lonelytibetj even though I was unable to get that to work, I appreciate the reply. Love you all.
Tate Adams said:
Thank you mannunikhil! I wish I could extend a hug and a hand shake to you. Fixed it for me! Also thank you lonelytibetj even though I was unable to get that to work, I appreciate the reply. Love you all.
Click to expand...
Click to collapse
Glad it worked out for you. Cheers ?
mannunikhil said:
Try these step by step, this is manual flashing
Since you have already run flash-all.bat, bootloader and radio img had been already flash or you can flash them again if feel so.
fastboot flash bootloader bootloader.img
fastboot flash radio radio.img
Extract the zip "image-sailfish-opr6.170623.012.zip " to adb/fastboot location
Then to fix slot_b:
fastboot flash aboot_b aboot.img
fastboot flash apdp_b apdp.img
fastboot flash boot_b boot.img
fastboot flash bootlocker_b bootlocker.img
fastboot flash cmnlib32_b cmnlib32.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_b devcfg.img
fastboot flash hosd_b hosd.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_b modem.img
fastboot flash pmic_b pmic.img
fastboot flash rpm_b rpm.img
fastboot flash tz_b tz.img
fastboot flash vendor_b vendor.img
Then erase/format system_b..
Fastboot erase system_b
And erase/format userdata ...
Fastboot erase userdata
Then proceed to fix slot_a
fastboot flash aboot aboot.img
fastboot flash apdp apdp.img
fastboot flash boot boot.img
fastboot flash bootlocker bootlocker.img
fastboot flash cmnlib32 cmnlib32.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash hosd hosd.img
fastboot flash hyp hyp.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash pmic pmic.img
fastboot flash rpm rpm.img
fastboot flash tz tz.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Finally, "fastboot reboot".
Click to expand...
Click to collapse
That's works. Thanks man ?
mannunikhil said:
Try these step by step, this is manual flashing
Since you have already run flash-all.bat, bootloader and radio img had been already flash or you can flash them again if feel so.
fastboot flash bootloader bootloader.img
fastboot flash radio radio.img
Extract the zip "image-sailfish-opr6.170623.012.zip " to adb/fastboot location
Then to fix slot_b:
fastboot flash aboot_b aboot.img
fastboot flash apdp_b apdp.img
fastboot flash boot_b boot.img
fastboot flash bootlocker_b bootlocker.img
fastboot flash cmnlib32_b cmnlib32.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_b devcfg.img
fastboot flash hosd_b hosd.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_b modem.img
fastboot flash pmic_b pmic.img
fastboot flash rpm_b rpm.img
fastboot flash tz_b tz.img
fastboot flash vendor_b vendor.img
Then erase/format system_b..
Fastboot erase system_b
And erase/format userdata ...
Fastboot erase userdata
Then proceed to fix slot_a
fastboot flash aboot aboot.img
fastboot flash apdp apdp.img
fastboot flash boot boot.img
fastboot flash bootlocker bootlocker.img
fastboot flash cmnlib32 cmnlib32.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash hosd hosd.img
fastboot flash hyp hyp.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash pmic pmic.img
fastboot flash rpm rpm.img
fastboot flash tz tz.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Finally, "fastboot reboot".
Click to expand...
Click to collapse
when i flash aboot.img it shows target reported max downloaded size of 53670912 bytes error: cannot load aboot.img:ni error how can i solve it
updating google pixel
when i use adb it says:
archive does not contain boot.sig
archive does not contain recovery.img
package missing system.img
Dont know what to do im out of date just like my phone thanks ...
phoe zay said:
when i flash aboot.img it shows target reported max downloaded size of 53670912 bytes error: cannot load aboot.img:ni error how can i solve it
Click to expand...
Click to collapse
By at this stage I assume you have already enabled OEM unlocking and bootloader is unlocked. Now, 1st I would like you to use USB 2.0 port on your computer to follow the entire procedure and not USB 3.0 port.
If this doesnt help, update your adb drivers and re-download the image file and try.
thisnish87 said:
when i use adb it says:
archive does not contain boot.sig
archive does not contain recovery.img
package missing system.img
Dont know what to do im out of date just like my phone thanks ...
Click to expand...
Click to collapse
You need to extract all the files from all the zips in one location and then follow the procedure.
Hi. I am in a similar boat, but for android 9.0 Pie. Would you be able to post instructions for manually flashing stock on my Pixel 3XL? I would really appreciate it if you knew and wouldn't mind sharing. Thanks!
mannunikhil said:
Try these step by step, this is manual flashing
Since you have already run flash-all.bat, bootloader and radio img had been already flash or you can flash them again if feel so.
fastboot flash bootloader bootloader.img
fastboot flash radio radio.img
Extract the zip "image-sailfish-opr6.170623.012.zip " to adb/fastboot location
Then to fix slot_b:
fastboot flash aboot_b aboot.img
fastboot flash apdp_b apdp.img
fastboot flash boot_b boot.img
fastboot flash bootlocker_b bootlocker.img
fastboot flash cmnlib32_b cmnlib32.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_b devcfg.img
fastboot flash hosd_b hosd.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_b modem.img
fastboot flash pmic_b pmic.img
fastboot flash rpm_b rpm.img
fastboot flash tz_b tz.img
fastboot flash vendor_b vendor.img
Then erase/format system_b..
Fastboot erase system_b
And erase/format userdata ...
Fastboot erase userdata
Then proceed to fix slot_a
fastboot flash aboot aboot.img
fastboot flash apdp apdp.img
fastboot flash boot boot.img
fastboot flash bootlocker bootlocker.img
fastboot flash cmnlib32 cmnlib32.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash hosd hosd.img
fastboot flash hyp hyp.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash pmic pmic.img
fastboot flash rpm rpm.img
fastboot flash tz tz.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Finally, "fastboot reboot".
Click to expand...
Click to collapse
sahilmp3 said:
Hi. I am in a similar boat, but for android 9.0 Pie. Would you be able to post instructions for manually flashing stock on my Pixel 3XL? I would really appreciate it if you knew and wouldn't mind sharing. Thanks!
Click to expand...
Click to collapse
Follow the instructions here:
https://developers.google.com/android/images
TYSM!!!!!!! luv u
mannunikhil said:
Try these step by step, this is manual flashing
Since you have already run flash-all.bat, bootloader and radio img had been already flash or you can flash them again if feel so.
fastboot flash bootloader bootloader.img
fastboot flash radio radio.img
Extract the zip "image-sailfish-opr6.170623.012.zip " to adb/fastboot location
Then to fix slot_b:
fastboot flash aboot_b aboot.img
fastboot flash apdp_b apdp.img
fastboot flash boot_b boot.img
fastboot flash bootlocker_b bootlocker.img
fastboot flash cmnlib32_b cmnlib32.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_b devcfg.img
fastboot flash hosd_b hosd.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_b modem.img
fastboot flash pmic_b pmic.img
fastboot flash rpm_b rpm.img
fastboot flash tz_b tz.img
fastboot flash vendor_b vendor.img
Then erase/format system_b..
Fastboot erase system_b
And erase/format userdata ...
Fastboot erase userdata
Then proceed to fix slot_a
fastboot flash aboot aboot.img
fastboot flash apdp apdp.img
fastboot flash boot boot.img
fastboot flash bootlocker bootlocker.img
fastboot flash cmnlib32 cmnlib32.img
fastboot flash cmnlib64 cmnlib64.img
fastboot flash devcfg devcfg.img
fastboot flash hosd hosd.img
fastboot flash hyp hyp.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash pmic pmic.img
fastboot flash rpm rpm.img
fastboot flash tz tz.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Finally, "fastboot reboot".
Click to expand...
Click to collapse
How would I remove the fastboot reboot at the end if I run the flash-all.sh. Tried using vim to just remove it, but I don't see that command. Where is it being executed? In the "image-sailfish-opr6.170623.012.zip"? If so where in the zip
Thank you
Hi guys
I have pixel 1 and I was on android 10
I had some problems so I decided to downgrade
I downloaded Android 7.1 recovery sailfish
Extracted the zip file
And flashall.bat
Bootloader and radio were ok
But when it comes to zip file
It gives me a massage
That zip file is too big and dosent goes
Then boots to Google logo and loop
I tried another sailfish recovery and another
The same problem
I the way by extracting zip file and flash every single img file
Every thing goes okey
But when I reboot it loops again
In fastboot mode it shows that bootloader sector is _b
Is that correct and what is the difference between sector a and sector b

Monthly updates when the phone already has Magisk

This is note to myself since I seem to forget what I did last month.
This guide assumes you are familiar with ADB and fastboot with a good working connection to the phone. YMMV. Continue at your own risk.
This also assumes you have a working Magisk (ver 18.1 or higher).
0) from essential.com, download the fastboot image zip. Unzip the content to a directory.
0) copy files flash_a.bat and flash_b.bat from below to the directory.
1) adb devices
2) adb reboot bootloader
3) fastboot devices
4) fastboot getvar current-slot (remember the current active slot)
5) flash_(the other slot).bat
6) fastboot reboot
6a) Once you are booted back in your current working slot, use Magisk to install a copy to the other slot. Once Magisk finishes installing, it will change the active slot to the other slot and reboot into that slot.
7a) Here is flash_a.bat
Code:
fastboot flash nvdef_a nvdef
fastboot flash boot_a boot
fastboot flash system_a system
fastboot flash bluetooth_a bluetooth
fastboot flash abl_a abl
fastboot flash dsp_a dsp
fastboot flash modem_a modem
fastboot flash vendor_a vendor
fastboot flash cmnlib_a cmnlib.mbn
fastboot flash cmnlib64_a cmnlib64.mbn
fastboot flash tz_a tz.mbn
fastboot flash devcfg_a devcfg
fastboot flash hyp_a hyp.mbn
fastboot flash keymaster_a keymaster
fastboot flash mdtp_a mdtp
fastboot flash mdtpsecapp_a mdtpsecapp
fastboot flash pmic_a pmic
fastboot flash rpm_a rpm.mbn
fastboot flash xbl_a xbl
fastboot reboot-bootloader
7b) Here is flash_b.bat
Code:
fastboot flash nvdef_b nvdef
fastboot flash boot_b boot
fastboot flash system_b system
fastboot flash bluetooth_b bluetooth
fastboot flash abl_b abl
fastboot flash dsp_b dsp
fastboot flash modem_b modem
fastboot flash vendor_b vendor
fastboot flash cmnlib_b cmnlib.mbn
fastboot flash cmnlib64_b cmnlib64.mbn
fastboot flash tz_b tz.mbn
fastboot flash devcfg_b devcfg
fastboot flash hyp_b hyp.mbn
fastboot flash keymaster_b keymaster
fastboot flash mdtp_b mdtp
fastboot flash mdtpsecapp_b mdtpsecapp
fastboot flash pmic_b pmic
fastboot flash rpm_b rpm.mbn
fastboot flash xbl_b xbl
fastboot reboot-bootloader
If something goes wrong, you can switch back the active partition to the original partition and recover.
From my experience, you do not have to use the full dump. The OTA package provided by the Essential website will do as well. Once you boot in twrp you can flash the OTA zip to the inactive slot and redo the rooting process.
aridmal said:
From my experience, you do not have to use the full dump. The OTA package provided by the Essential website will do as well. Once you boot in twrp you can flash the OTA zip to the inactive slot and redo the rooting process.
Click to expand...
Click to collapse
The provided .bat file only updates the files the are part of the monthly OTA package and not the full dump. The main benefit is the installing of pre-rooted boot image file so that one does not have redo the rooting and install TWRP afterwards.
github magisk easy, fast, works!

Android Pie image and how to flash stock Android 9

These are image files that are extracted from the payload of the android P OTA: https://drive.google.com/open?id=1gLRvB3A7uxbt5xgh9ntKiLfspzi1wcuK
Warning: You will erase all of your data
Code:
fastboot flash devcfg_a devcfg.img
fastboot flash devcfg_b devcfg.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash rpm_a rpm.img
fastboot flash rpm_b rpm.img
fastboot flash tz_a tz.img
fastboot flash tz_b tz.img
fastboot flash keymaster_a keymaster.img
fastboot flash keymaster_b keymaster.img
fastboot flash cmnlib64_a cmnlib64.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash cmnlib_a cmnlib.img
fastboot flash cmnlib_b cmnlib.img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.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 aboot_a aboot.img
fastboot flash aboot_b aboot.img
fastboot flash sbl1_a sbl1.img
fastboot flash sbl1_b sbl1.img
Run the code and then factory reset in recovery, and you will have android P.
Will you looae all data?
HoangP05 said:
These are image files that are extracted from the payload of the android P OTA: https://drive.google.com/open?id=1gLRvB3A7uxbt5xgh9ntKiLfspzi1wcuK
Warning: You will erase all of your data
Code:
fastboot flash devcfg_a devcfg.img
fastboot flash devcfg_b devcfg.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash rpm_a rpm.img
fastboot flash rpm_b rpm.img
fastboot flash tz_a tz.img
fastboot flash tz_b tz.img
fastboot flash keymaster_a keymaster.img
fastboot flash keymaster_b keymaster.img
fastboot flash cmnlib64_a cmnlib64.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash cmnlib_a cmnlib.img
fastboot flash cmnlib_b cmnlib.img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.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 aboot_a aboot.img
fastboot flash aboot_b aboot.img
fastboot flash sbl1_a sbl1.img
fastboot flash sbl1_b sbl1.img
Run the code and then factory reset in recovery, and you will have android P.
Click to expand...
Click to collapse
:good::good::good:
Thank you very much :good::good::good::good:
Oh my God thanks, easy, speed, nice, you are a the best
Thanks!
I created my XDA user (after 4 years using this forum) just to thank you. Feel special
Are these images from untouched Pie 10.0.1.0?
aryacebe said:
Are these images from untouched Pie 10.0.1.0?
Click to expand...
Click to collapse
Yes it is, but you can update directly to pie now I believe, and i saw people saying that the later version is better. You can still follow my instruction if you want!
HoangP05 said:
Yes it is, but you can update directly to pie now I believe, and i saw people saying that the later version is better. You can still follow my instruction if you want!
Click to expand...
Click to collapse
Not because I don't need the new version, but I need system.img and boot.img from my current android version (10.0.1.0), it is because my ota couldn't be installed, I think my system or boot is tampered when I rooted my phone :crying:
Wanna ask, is it safe if I only flash only boot and system? My A2 Lite already on 10.0.1.0 Pie
Only do:
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a system.img
fastboot flash system_b system.img
Will this take you back to stock, I have rooted Oreo and would like to go back to stock, are there any risks using this method, e.g. boot loop, etc... will it relock the boot.
I'm getting a Bootloop with this methode.
Question: By flashing this would my device be eligible to receive the stock OTA Android One release of Android 10 once it's released?
Thanks
ConsistentCarl said:
Question: By flashing this would my device be eligible to receive the stock OTA Android One release of Android 10 once it's released?
Click to expand...
Click to collapse
In theory the images here are stock, extracted from a full OTA (or Recovery) package.
Stock images won't hurt future OTAs (as long as they match the "current version" you're running)

Categories

Resources