Android Pie image and how to flash stock Android 9 - Xiaomi Mi A2 Lite Guides, News, & Discussion

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)

Related

[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

Downgrade from 8.0 to 7.1.2?

Hello just got a pixel to try out so I can compare the experience when I get the pixel 2. But I am on android oreo/8 how would I go about downgrading to 7.1.2 so I can throw a custom rom on here?
And why do I see roms say marlin/sailfish?
Download the factory 7.1.2 image from Google. Flash that, then the custom 7.1.2 rom. Sailfish is the code name for the Pixel, and Marlin is the Pixel XL.
hi! i try to downgrade to sailfish-nmf26q 7.1.1 , in fastboot mode
fastboot flashing unlock
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
fastboot flashing lock
but only enter in recovery. (bootloop)
wazaone said:
hi! i try to downgrade to sailfish-nmf26q 7.1.1 , in fastboot mode
fastboot flashing unlock
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
fastboot flashing lock
but only enter in recovery. (bootloop)
Click to expand...
Click to collapse
Why are you trying to manually flash individual partitions and relocking the bootloader. Under almost no circumstances should you really be trying to do either of these things on the pixel series devices. Go to Google and look for factory images for your device. Download the proper 7.1.2 image for your device and extract it into your adb folder. From here you should edit the flash_all.bat to remove the -w if you would like to retain /media/. Then run the script while in fastboot and wait for it to finish. Note at a few points it will look like the script is hanging but it is not. For future reference locking this device with anything non-stock will trigger dm-verity and can result in hard bricking the device. If you don't have a good reason to be locking the bootloader and aren't on full stock DO NOT try to lock the device.

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!

oneplus 6 stuck at fastboot

So its just stuck in fastboot mode ive tried fastboot flash boot_a,boot_b and nothing happens its just stuck in fastboot.
That's the best custom kernel I've seen so far. But it is missing information and the GitHub source code
I take it using the volume keys and power keys to select start or recovery do not work? If that's the case, use the MSM Recovery Tool found here and revert back to stock
can you boot twrp? if not, than try to flash ALL partitions manually with fastbootcommands
Code:
fastboot flash aop_a aop.img
fastboot flash aop_b aop.img
fastboot flash bluetooth_a bluetooth.img
fastboot flash bluetooth_b bluetooth.img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
fastboot flash fw_4j1ed_a fw_4j1ed.img
fastboot flash fw_4j1ed_b fw_4j1ed.img
fastboot flash fw_4u1ea_a fw_4u1ea.img
fastboot flash fw_4u1ea_b fw_4u1ea.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw_a qupfw.img
fastboot flash qupfw_b qupfw.img
fastboot flash storsec_a storsec.img
fastboot flash storsec_b storsec.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vbmeta_a vbmeta.img
fastboot flash vbmeta_b vbmeta.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash LOGO_a LOGO.img
fastboot flash LOGO_b LOGO.img
of course U need the -stock-fastboot-rom which u have

Stuck on animation initial boot after 11.1.6.6 OS via OTA

Hi all, just received and updated the 11.1.6.6 via OTA... but after reboot I'm locked on the two white dots around the one red icons, and the phone doesn't start anymore.. so it's NOT a bootloop, but just blocked situation..
I'm rooted... what can I do to exit from this situation as well?
Just tried with VOL UP + POWER combo, but this casue only a power off, or a new reboot, but the situation doesn't change and the screen still stuck on the dots animation..
EDIT:
Had to resolve with a full wipe factory reset, no other way.
There was another way. You could've downloaded the latest update package onto your PC, used PayloadDumper to extract the payload.bin file found inside the zip file, extracted Android's 'Platform tools' into the output folder of the payload dump and then ran these commands without wiping while your phone is connected in fastboot:
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot flash recovery recovery.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot reboot fastboot
fastboot flash abl abl.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash cmnlib cmnlib.img
fastboot flash cmnlib64 cmnlib64.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 logo logo.img
fastboot flash mdm_oem_stanvbk mdm_oem_stanvbk.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash opproduct opproduct.img
fastboot flash qupfw qupfw.img
fastboot flash spunvm spunvm.img
fastboot flash storsec storsec.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 reboot
You'd lose root but your phone would be updated to the latest OS and your data would hold.
You can then follow the root guide to patch the boot.img extracted from the payload file and let magisk do its thing.

Categories

Resources