Stuck in a recovery boot loop (Android Q -> Android P) - Google Pixel 2 XL Questions & Answers

Hi guys,
I installed the latest Android P factory image (without -w) and now the phone always boots into recovery right after booting into the system. I see the system for one second and then the phone boots into recovery mode. Does anybody have an idea how to fix this?
I already tried this command
Code:
adb shell dd if=/dev/zero of=/dev/block/platform/soc/1da4000.ufshc/by-name/misc
It was successful:
Code:
dd: writing '/dev/block/platform/soc/1da4000.ufshc/by-name/misc': No space left on device
2049+0 records in
2048+0 records out
1048576 bytes (1.0MB) copied, 0.049919 seconds, 20.0MB/s
It did not fix the issue though. I also tried this command:
Code:
fastboot oem fb_mode_clear
-> This command was unknown
I cannot find find anything else that might help.
Does anybody have an idea how I can get rid of the recovery bootloop?
I have not tried a factory reset with the wipe enabled since I want this to be my last option.
Thank you!

JDUS said:
Hi guys,
I installed the latest Android P factory image (without -w) and now the phone always boots into recovery right after booting into the system. I see the system for one second and then the phone boots into recovery mode. Does anybody have an idea how to fix this?
I already tried this command
It was successful:
It did not fix the issue though. I also tried this command: -> This command was unknown
I cannot find find anything else that might help.
Does anybody have an idea how I can get rid of the recovery bootloop?
I have not tried a factory reset with the wipe enabled since I want this to be my last option.
Thank you!
Click to expand...
Click to collapse
Did you fastboot the image to both slots? Your active slot could be corrupted. I'm also assuming you have the latest platform-tools. You might also try different USB A to USB C cables and ports. You may have to clean fastboot and wipe your device as well.

Badger50 said:
Did you fastboot the image to both slots? Your active slot could be corrupted. I'm also assuming you have the latest platform-tools. You might also try different USB A to USB C cables and ports. You may have to clean fastboot and wipe your device as well.
Click to expand...
Click to collapse
I downloaded the latest Android P factory image and extracted it. Then I removed -w so it would not wipe my data and I simply executed flash-all.bat.
I am not sure if this installs it to both slots. Does it?
I have a partial working Android Q now...I was able to install Android Q again using the same method but at least it boots into the OS now. A lot of things don't work now. My home button and mobile data for example...
I will try to install factory P once again and maybe this time I won't be stuck in a recovery loop.

JDUS said:
I downloaded the latest Android P factory image and extracted it. Then I removed -w so it would not wipe my data and I simply executed flash-all.bat.
I am not sure if this installs it to both slots. Does it?
I have a partial working Android Q now...I was able to install Android Q again using the same method but at least it boots into the OS now. A lot of things don't work now. My home button and mobile data for example...
I will try to install factory P once again and maybe this time I won't be stuck in a recovery loop.
Click to expand...
Click to collapse
It does not install to both slots. Since your on Q and you have a working OS, I would backup your data since you may have to clean fastboot back to Pie. Or at least fastboot Pie to both slots.

Badger50 said:
It does not install to both slots. Since your on Q and you have a working OS, I would backup your data since you may have to clean fastboot back to Pie. Or at least fastboot Pie to both slots.
Click to expand...
Click to collapse
Thank you for your help but I want to make sure I understand you correctly. How would I fastboot Pie to both slots? Using fastboot --slot all?

JDUS said:
Thank you for your help but I want to make sure I understand you correctly. How would I fastboot Pie to both slots? Using fastboot --slot all?
Click to expand...
Click to collapse
After I flash it to one slot, I then use..fastboot --set active=a or b.... depending of course on what you need to switch it to :good:

Badger50 said:
After I flash it to one slot, I then use..fastboot --set active=a or b.... depending of course on what you need to switch it to :good:
Click to expand...
Click to collapse
That makes sense. Do you flash bootloader, radio and the system image to both slots? Or just the system?

JDUS said:
That makes sense. Do you flash bootloader, radio and the system image to both slots? Or just the system?
Click to expand...
Click to collapse
I fastboot the whole factory image to both slots with the -w removed to persevere data as you did :good:

Badger50 said:
I fastboot the whole factory image to both slots with the -w removed to persevere data as you did :good:
Click to expand...
Click to collapse
Looks like I am on slot b right now. Does it matter which slot I use to boot after I flashed the image? Also you were right with your thought. My slot a is corrupt according to
Code:
fastboot getvar all
Code:
(bootloader) current-slot:b
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:6
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:7
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:no
(bootloader) slot-count:2
Edit:
Okay so I ran the flash-all.bat on b slot , then I switched to the a slot and ran the flash-all.bat file again. Now I have the opposite effect.
current-slot:a
(bootloader) has-slot:boot:yes
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
It boots into recovery mode as soon as I boot into the system.

JDUS said:
Looks like I am on slot b right now. Does it matter which slot I use to boot after I flashed the image? Also you were right with your thought. My slot a is corrupt according to
Click to expand...
Click to collapse
Doesn't matter at all since you need to flash it to both slots anyways. Go with B for starters, then switch it to A when done :good:

Badger50 said:
Doesn't matter at all since you need to flash it to both slots anyways. Go with B for starters, then switch it to A when done :good:
Click to expand...
Click to collapse
I did exactly that. I edited my comment before. Now I am stuck with the opposite effect. Now a is bootable but b is not. Let me try to flash it to both at the same time with fastboot --slot all somehow...

JDUS said:
I did exactly that. I edited my comment before. Now I am stuck with the opposite effect. Now a is bootable but b is not. Let me try to flash it to both at the same time with fastboot --slot all somehow...
Click to expand...
Click to collapse
Hmmmm...maybe, fastboot flash-all --slot all...might work. If not, then clean flashing and wiping might be in order. Unfortunately!

Badger50 said:
Hmmmm...maybe, fastboot flash-all --slot all...might work. If not, then clean flashing and wiping might be in order. Unfortunately!
Click to expand...
Click to collapse
You mean running the flash-all.bat file on both slots but this time with the wipe enabled? Looks like it is my only option. I cannot get it to work. I tried using slot all but that did not work either.

JDUS said:
You mean running the flash-all.bat file on both slots but this time with the wipe enabled? Looks like it is my only option. I cannot get it to work. I tried using slot all but that did not work either.
Click to expand...
Click to collapse
I didn't know if it would work with -w removed or not. However, when you leave the -w in, it will flash to both slots, but that will wipe your device. You may try fastbooting the boot, system and vendor images to both slots to see if you can boot to the OS. If not, then you'll likely have to clean fastboot the factory image and wipe the device. It sucks I know, but sometimes there's no other options.

Alright so the factory reset with wipe enabled worked. Now I am setting up everything again I did not know that you can restore your old update from the cloud...it is restoring all my apps right now. That would be amazing. I did not have any important data on my phone and the photos were saved in the cloud but I did not want to reinstall all my apps again. Looks like it is doing this right now. That is great. Thank you a lot!

Some day we might get real internet out here in the boonies and that new fangled cloud stuff might be useful... Lol

You cant downgrade from the Q beta to P without wiping data partition. Happened to me too, wiping data fixed it. So just boot to twrp, wipe data partition, flash the P image again and it should be fixed.

Mikulec said:
You cant downgrade from the Q beta to P without wiping data partition. Happened to me too, wiping data fixed it. So just boot to twrp, wipe data partition, flash the P image again and it should be fixed.
Click to expand...
Click to collapse
I thought there might be a way to do it anyway. Do you know why you have to wipe the data partition?
Also I am so glad to have root back and AdAway...could not deal with all these ads everywhere for even one day.

JDUS said:
I thought there might be a way to do it anyway. Do you know why you have to wipe the data partition?
Also I am so glad to have root back and AdAway...could not deal with all these ads everywhere for even one day.
Click to expand...
Click to collapse
Well to be honest Google says that if you want to downgrade from beta you have to do factory reset. But I have no idea why is that necessary.

Mikulec said:
Well to be honest Google says that if you want to downgrade from beta you have to do factory reset. But I have no idea why is that necessary.
Click to expand...
Click to collapse
I read that too yeah.. I was just curious about the technical background why this is necessary. Maybe someone has an idea? To me wiping everything felt like giving up yesterday. It is like formatting your PC if you have a problem. Instead I want to know what causes it so I can fix it

Related

System using 19.9gb on a 32gb pixel xl

Last night i bricked my phone and accidently deleted system partitions i think from slot A and slot B when i was trying to install twrp. I always try to figure out how to fix it from reading helpful guides and without asking questions. I flashed full image a couple of times because i was getting bootloops everytime. In the last try, i flashed full image then gave me a bootloop again. So what i did, i adb sideload ota and it booted fine. Now im rooted and it seems i installed twrp correctly, i currently have nde63v build. At the moment i have supposedly used 22.71gb of 29.70gb.
So can someone let me know what i did wrong or point me out how to get those gbs back please.
ls2power said:
Last night i bricked my phone and accidently deleted system partitions i think from slot A and slot B when i was trying to install twrp. I always try to figure out how to fix it from reading helpful guides and without asking questions. I flashed full image a couple of times because i was getting bootloops everytime. In the last try, i flashed full image then gave me a bootloop again. So what i did, i adb sideload ota and it booted fine. Now im rooted and it seems i installed twrp correctly, i currently have nde63v build. At the moment i have supposedly used 22.71gb of 29.70gb.
So can someone let me know what i did wrong or point me out how to get those gbs back please.
Click to expand...
Click to collapse
I just did a factory reset and it fixed it. I also was stock without twrp though.
seshaz said:
I just did a factory reset and it fixed it. I also was stock without twrp though.
Click to expand...
Click to collapse
I tried factory reset already but still shows system using 19.9gbs.
Have you tried doing a complete full flash of nde63v without installing TWRP or root to see if it goes back to normal?
cambunch said:
Have you tried doing a complete full flash of nde63v without installing TWRP or root to see if it goes back to normal?
Click to expand...
Click to collapse
yes i did a few times, it would just bootloop. Until i sideloaded ota nde63v on top of full system img then it booted fine
ls2power said:
I tried factory reset already but still shows system using 19.9gbs.
Click to expand...
Click to collapse
Mine shows system using 19.9 gigs also. I posted this on another thread as I thought it seemed high but no one said weather it was high or was not so I assumed it was normal to use 19.9 gigs of space on my verizon pixel xl. I"am rooted on the x software but I couldnt get twrp working and I figured what good was TWRP if there was no supersu that was working with it and I decided to wait for TWRP to get out of beta to try again.
ls2power said:
yes i did a few times, it would just bootloop. Until i sideloaded ota nde63v on top of full system img then it booted fine
Click to expand...
Click to collapse
If you are getting a bootloop after flashing a factory image, I would assume it isn't flashing correctly. Can you post the output of what happens when you run the flashall.bat?
cambunch said:
If you are getting a bootloop after factory a factory image, I would assume it isn't flashing correctly. Can you post the output of what happens when you run the flashall.bat?
Click to expand...
Click to collapse
im able to flash every single img, but when i try to flash flashall.bat it doesnt seem to work. I will give it a try once i get home from work. The only thing bugging me is that the system shows using 19.9gb of space.
Mine is only using 6.79GB. Something is definitely off with yours.
Sent from my Pixel XL using XDA-Developers mobile app
Neomage84 said:
Mine is only using 6.79GB. Something is definitely off with yours.
Click to expand...
Click to collapse
yes there is. When you reboot your phone, which slot does it have? And do you have twrp installed and root?
M9guy said:
Mine shows system using 19.9 gigs also. I posted this on another thread as I thought it seemed high but no one said weather it was high or was not so I assumed it was normal to use 19.9 gigs of space on my verizon pixel xl. I"am rooted on the x software but I couldnt get twrp working and I figured what good was TWRP if there was no supersu that was working with it and I decided to wait for TWRP to get out of beta to try again.
Click to expand...
Click to collapse
I fixed it, i flashed full system image while i was on slot A. Now system is using 5.39gb, im on V build.
i have the same problem with a 128GB version not sure whats up but to fix it i just flashed over and over and one of them just worked would be nice to know the cause so i dont have to flash many times to get it to show full space again.
How do you select slot a while stock? I can select it in twrp but need to know how to get stock images to flash to a
theycallmerayj said:
How do you select slot a while stock? I can select it in twrp but need to know how to get stock images to flash to a
Click to expand...
Click to collapse
I figured out how to fix it by selecting slot a through twrp, booting into fastboot and flashing stock images. However, I am curious how it even ended up on slot b when I went from stock to unlocked and simply flashed the factory images. I never intended to switched from a to b.
theycallmerayj said:
How do you select slot a while stock? I can select it in twrp but need to know how to get stock images to flash to a
Click to expand...
Click to collapse
theycallmerayj said:
I figured out how to fix it by selecting slot a through twrp, booting into fastboot and flashing stock images. However, I am curious how it even ended up on slot b when I went from stock to unlocked and simply flashed the factory images. I never intended to switched from a to b.
Click to expand...
Click to collapse
whenever you flash a factory img or an OTA, or any firmware, the slots will switch unless told not to, i believe this is to keep them in sync aka the seamless updates. here is some info on that - http://www.androidpolice.com/2016/1...-partition-changes-and-new-fastboot-commands/
Quick Tip - while in cmdlne for ADB and Fastboot, and fully updated, just type
Code:
adb
to get all the ADB commands available, and likewise for fastboot, just type
Code:
fastboot
And to switch active slots type
Code:
fastboot set_active -a
or
Code:
fastboot set_active -b
. Then to activate slot
Code:
fastboot reboot bootloader
I believe with TWRP installed you have to switch slots in TWRP.
Click to expand...
Click to collapse
Moving on, I found this to be pretty helpful, it's not the exact answer you are looking for, but i think it will come in handy.
All dual-booting credit in this thread goes to hucqym, this wasn't my idea, im just a messenger.
hucqym said:
so I successfully have the dual boot running on my pixel (verizon edition) with the same configuration you are trying (one is NDE63X image rooted and one is NDE63X image stock/unrooted). Here were my steps:
-> dePixel8 to unlock bootloader (because verizon edition pixel)
-> download NDE63X image from google and modified flash_all.sh to flash stock images to both slots manually
using the --slot _a/_b and --skip-secondary flags. Modified scripts below. At this point I confirmed that I could boot to both slots. I also verified bootloader lock/unlock again to make sure it was stock image on both slots
-> TWRP alpha2 to get recovery on both slots
-> with slot _b selected as active in TWRP, i installed the SuperSU v2.78 SR4 zip
-> with slot _a as active in TWRP, installed ElementalX-P-1.00 zip for the kernel patch to pass SafetyNet
voila, I now have non-rooted on slot _a and rooted on slot _b
Note that TWRP is not really a requirement for doing this. I had the same dual boot configuration working with SuperSU v2.78 SR3 rooting one slot directly. The only reason I needed TWRP is so that I can switch slots easily on the device and don't need a cable and a laptop just to switch the bootloader flag
Although, I got this to work it still falls short of what I really wanted to do. For my use-case I would really want an isolated userdata for the two slots so I can use the rooted slot as a complete sandbox. and then perhaps have a shared folder mechanism between the two. ...so if somebody has an idea on this, I'm all ears.
[UPDATE]: Note that the unrooted slot is still limited in the sense that safetynet checks fail and so AndroidPay etc.. that use that API will still not work. This, however, has little to do with the dual boot setup and more because SafetyNet now fails on just unlocked bootloader and we do need it unlocked. On Conchors' suggestion, I installed ElementalX kernel on slotA from TWRP and now my 'otherwise-stock' non-rooted image on slotA passes SafetyNet while slotB is successfully rooted
flash_all_slot-a.sh
Code:
fastboot flash --slot _a bootloader bootloader-sailfish-8996-012001-1608281716.img
fastboot reboot-bootloader
sleep 5
fastboot flash --slot _a radio radio-sailfish-8996-012511-1609191801.img
fastboot reboot-bootloader
sleep 5
#fastboot -w update image-sailfish-nde63x.zip
fastboot update --slot _a --skip-secondary image-sailfish-nde63x.zip
flash_all_slot-b.sh
Code:
fastboot flash --slot _b bootloader bootloader-sailfish-8996-012001-1608281716.img
fastboot reboot-bootloader
sleep 5
fastboot flash --slot _b radio radio-sailfish-8996-012511-1609191801.img
fastboot reboot-bootloader
sleep 5
#fastboot -w update image-sailfish-nde63x.zip
fastboot update --slot _b --skip-secondary image-sailfish-nde63x.zip
Click to expand...
Click to collapse
I switched it up a bit, and to be perfectly honest, the script is easier, this is just an alternate way of doing it
I did this for both slot_a and slot_b (not sure if it is needed for the flrst one, but that is what i did), both ways are correct, this way is much longer, but it gives some control, plus it's a nice learning process as it is pretty easy going.
If you are going to erase, erase first before you start anything, because you know...science.
Code:
fastboot erase boot
fastboot erase cache
fastboot erase system
fastboot erase vendor
the cache partition, i dont remember if this worked or not, I'm too tired to verify
Code:
fastboot flash --slot _b --skip-secondary bootloader "name-of-bootloader.img"
fastboot reboot-bootloader
fastboot flash --slot _b --skip-secondary radio "name-of-radio.img"
fastboot reboot-bootloader
fastboot flash --slot _b --skip-secondary system system.img
fastboot flash --slot _b --skip-secondary boot boot.img
fastboot flash --slot _b --skip-secondary vendor vendor.img
If you want to wipe everything, use the following commands next:
Code:
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot reboot
system.img and userdata.img take time to flash— the command prompt appears to stop. Let it do it's thing, when it's done the cursor will begin blinking again.
All dual-booting credit goes to hucqym; again, not my idea.
Slightly Off Topic -
Has anyone tried this on a specific slot, does it make any difference?) I haven't actually even thought of this till now
something like:
Code:
fastboot erase --slot _(a/b) --skip-secondary userdata
fastboot flash --slot _(a/b) --skip-secondary userdata userdata.img[/B]
theycallmerayj said:
I figured out how to fix it by selecting slot a through twrp, booting into fastboot and flashing stock images. However, I am curious how it even ended up on slot b when I went from stock to unlocked and simply flashed the factory images. I never intended to switched from a to b.
Click to expand...
Click to collapse
ls2power said:
Last night i bricked my phone and accidently deleted system partitions i think from slot A and slot B when i was trying to install twrp. I always try to figure out how to fix it from reading helpful guides and without asking questions. I flashed full image a couple of times because i was getting bootloops everytime. In the last try, i flashed full image then gave me a bootloop again. So what i did, i adb sideload ota and it booted fine. Now im rooted and it seems i installed twrp correctly, i currently have nde63v build. At the moment i have supposedly used 22.71gb of 29.70gb.
So can someone let me know what i did wrong or point me out how to get those gbs back please.
Click to expand...
Click to collapse
I was noticing quite a bit of space missing as well. what i did was boot into the slot I wanted as secondary (do this in TWRP), and i wiped just the system (which includes cache) and reflashed the system.img directly pulled from factory.zip. I noticed twice as much space had been gained then what was actually said to be there. I was a little surprised...it was over 5 gb I had gained while the system only said 2.5ish gb. (perhaps there was a second other_system.img wrapped up in it, I don't know. Then i went back to the primary slot and booted back up.
It's possible I got off course, I'm tired.

Flash-All.bat Fails

II am attempting to get back to full stock on my Pixel XL and I am okay with wiping it. I am coming from Rooted, TWRP, custom Kernel, and WETA Rom. I was having some issues with it acting up, and I want now to return to the full factory image. In order to do so, I attempted to run the flash-all.bat script from the Google page, and it seems as if all is going well, then, when it tries to flash the system.img, it fails and throws an error which says "FAILED (Remote: Partition [bootb] does not exist)" I have also tried flashing the factory image in pieces and get the same issue, and also when I try to do it through TWRP. I just want to go back to the way the phone came so I can start fresh. Any input on how to do so would be greatly appreciated. Note: the same error goes when I try to flash-all on slot a.
What version of adb are you running?
Make sure you have 1.0.36. Ref post http://forum.xda-developers.com/showthread.php?t=2932160
Try manually flashing to partition _a or _b. Such as fastboot flash system_a system.img.
I ran into the same issue and was able to flash everything to slot a manually by adding _a to the commands
harmohn said:
What version of adb are you running?
Sent from my Pixel XL using Tapatalk
Click to expand...
Click to collapse
The latest minimal adb fastboot
gettingerr said:
The latest minimal adb fastboot
Click to expand...
Click to collapse
Okay, just to be sure can you type "adb version" and then "fastboot --version" (without quotes) in a command line console. What were the outputs?
Android Debug Bridge version 1.0.35
Revision fc2a139a55f5-android
fastboot version fc2a139a55f5-android
Zavon said:
Try manually flashing to partition _a or _b. Such as fastboot flash system_a system.img.
I ran into the same issue and was able to flash everything to slot a manually by adding _a to the commands
Click to expand...
Click to collapse
I think that worked! Do I need to flash anything besides boot, system, and vendor? There are a lot of .img files in this folder from google. Do I do them all or just these three? Also, do I need to flash the radio?
Odd that Google wouldn't update their flash-all script to deal with the two slot setup..
gettingerr said:
Android Debug Bridge version 1.0.35
Revision fc2a139a55f5-android
fastboot version fc2a139a55f5-android
Click to expand...
Click to collapse
Right, you need to be on 1.0.36 for fastboot to "see" the partitions correctly. Refer to my initial comment for a download link.
gettingerr said:
I think that worked! Do I need to flash anything besides boot, system, and vendor? There are a lot of .img files in this folder from google. Do I do them all or just these three? Also, do I need to flash the radio?
Odd that Google wouldn't update their flash-all script to deal with the two slot setup..
Click to expand...
Click to collapse
I didn't flash any of the other stuff. Only boot, system, and vendor.
Not sure what causes the mismatch in names of the partitions.
Download the free Unified Toolkit. It works across a large number of Android devices. It takes the hassle out of a lot of ****, including this. It will flash the entire factory package by itself. I had to do this to fix my phone from a recovery bootloop after flash-all.bat failed me too.

Stuck in bootloop, Blankflash doesnt work xt1789-4

So I have of course verified that my device is still unlocked. I have tried every method I can think of with no results of bringing this phone back to life. Anyways...
I can use flashall.bat of any version and everything looks all swell until you try to boot. Either it gets stuck at fastboot or continues to boot up then restart before ever completing boot (Depends on the firmware I use)
I can still boot into twrp with fastboot boot twrp.img however flashing in there doesnt seem to help either.
I have tried the fbmode clear stuff already.
When I try to go to do a blank flash I issue the command fastboot oem blankflash
I get back:
(bootloader) Command Restricted
FAILED (remote failure)
finished. total time: 0.010s
Also just so you dont think its locked or something..
C:\Program Files (x86)\ClockworkMod\Universal Adb Driver>fastboot oem unlock
...
(bootloader) Already unlocked
OKAY [ 0.010s]
finished. total time: 0.010s
Can anyone please help me its been months, haha.
Thank you
I am currently on the TMO March 2019 xt1789-04
Try issuing 'fastboot -w' w/o quotes in bootloader mode. That should format your data in case there was something leftover from other flashings.
41rw4lk said:
Try issuing 'fastboot -w' w/o quotes in bootloader mode. That should format your data in case there was something leftover from other flashings.
Click to expand...
Click to collapse
Unfortunately that does not solve the issue.
All I can think of is to reflash stock, maybe flash it twice and make sure you get both slots.
I have done both of those countless times with no success. I am not new to the phone either, I have flashed it back to stock when it was working countless times with no problem. Ive tried different cables different PCs and even the same pc it originally worked with, no luck.
Maybe try flashing DU and see if it'll boot. If you can get it to boot then do a quick setup, enable adb, then 'adb reboot edl' and blankflash it.
41rw4lk said:
Maybe try flashing DU and see if it'll boot. If you can get it to boot then do a quick setup, enable adb, then 'adb reboot edl' and blankflash it.
Click to expand...
Click to collapse
What is DU? I apologize, I am either spacing on it or have never heard the acronym before
H411UCIN093NIC said:
What is DU? I apologize, I am either spacing on it or have never heard the acronym before
Click to expand...
Click to collapse
Dirty Unicorns 13.3 pie based rom. It's pretty solid and what I currently use.
41rw4lk said:
Dirty Unicorns 13.3 pie based rom. It's pretty solid and what I currently use.
Click to expand...
Click to collapse
I cant even get stock to run. However I was able to bump my phone into EDM with the newest TWRP. After using blankflash I lost my ability to flash GPT partition. I cant even boot twrp anymore (.
I dont know what to do anymore.
H411UCIN093NIC said:
I cant even get stock to run. However I was able to bump my phone into EDM with the newest TWRP. After using blankflash I lost my ability to flash GPT partition. I cant even boot twrp anymore (.
I dont know what to do anymore.
Click to expand...
Click to collapse
I know you can't run stock, that's why I suggested trying to run DU. What steps did you take in twrp to get into EDL mode? I assume you're in bootloader, try to reboot the bootloader 1st to get a fresh session. 'fastboot reboot bootloader'
Then run 'fastboot getvar all' and verify that you're still unlocked. If all is good there, try flashing the latest stock firmware. If you can't get anything done there, try using the lmsa tool to rescue your device.
H411UCIN093NIC said:
I cant even get stock to run. However I was able to bump my phone into EDM with the newest TWRP. After using blankflash I lost my ability to flash GPT partition. I cant even boot twrp anymore (.
I dont know what to do anymore.
Click to expand...
Click to collapse
GPT isn't a partition. It is your partition table. If you can't set your partition table, you might have screwed up your eMMC.
https://en.m.wikipedia.org/wiki/GUID_Partition_Table
Uzephi said:
GPT isn't a partition. It is your partition table. If you can't set your partition table, you might have screwed up your eMMC.
https://en.m.wikipedia.org/wiki/GUID_Partition_Table
Click to expand...
Click to collapse
Alright so I have a better understanding of the symptoms of my device now. So it seems that there is an issue with Slot A. It often seems tedious even getting twrp to boot from img after a flashall in slot A. In slot B it loads on the first try. When I have twrp loaded on both slots I can go into the reboot menu and pick EDL. But here is the weird part, it will only boot into EDL if I am in slot B not slot A.
Also Lsma doesnt recognize my device as the current model, I also tried with all the varients.
So as GPT being a partitioning table, I would have assumed from flashing linux however I wasnt sure if android used a partition actually named gpt since in the flashall it said it was to flash a file called gpt but the file name was invalid. I guess it was named that for organizational purposes, sorry for the mixup.
Uzephi said:
GPT isn't a partition. It is your partition table. If you can't set your partition table, you might have screwed up your eMMC.
https://en.m.wikipedia.org/wiki/GUID_Partition_Table
Click to expand...
Click to collapse
EDL mode was achieved in slot A however blankflash is unable to be applied(only while in slot A)
This is my output:
C:\Users\Panda Vurze\Desktop\blankflash_from_NDX26.183-15_17>.\qboot.exe blank-flash
Motorola qboot utility version 3.85
[ 0.000] Opening device: \\.\COM7
[ 0.001] Detecting device
[ 34.039] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error
[ 34.039] Check qboot_log.txt for more details
[ 34.040] Total time: 34.042s
FAILED: qb_flash_singleimage()->sahara_greet_device()->change_mode()->do_hello()->IO error
H411UCIN093NIC said:
Alright so I have a better understanding of the symptoms of my device now. So it seems that there is an issue with Slot A. It often seems tedious even getting twrp to boot from img after a flashall in slot A. In slot B it loads on the first try. When I have twrp loaded on both slots I can go into the reboot menu and pick EDL. But here is the weird part, it will only boot into EDL if I am in slot B not slot A.
Also Lsma doesnt recognize my device as the current model, I also tried with all the varients.
So as GPT being a partitioning table, I would have assumed from flashing linux however I wasnt sure if android used a partition actually named gpt since in the flashall it said it was to flash a file called gpt but the file name was invalid. I guess it was named that for organizational purposes, sorry for the mixup.
Click to expand...
Click to collapse
You're a TMO variant right? I have a flashall that will flash both slots. So you can take not the newest flash all, but maybe 27.1.4 or so and flash it to both slots and when you boot you should be able to take an ota and get your slots back to a normal config where one slot is a build behind.
*Uzephi made the flashall originally, I should give him credit. I think they switched to standard flashall to keep thing copacetic, but nevertheless this one is both slots.
41rw4lk said:
You're a TMO variant right? I have a flashall that will flash both slots. So you can take not the newest flash all, but maybe 27.1.4 or so and flash it to both slots and when you boot you should be able to take an ota and get your slots back to a normal config where one slot is a build behind.
Click to expand...
Click to collapse
May I have the flashall or a paste of the internal .bat?
<3
I am totally TMO varient.
H411UCIN093NIC said:
May I have the flashall or a paste of the internal .bat?
<3
I am totally TMO varient.
Click to expand...
Click to collapse
My bad, I thought I added it but I didn't. It's there now.
41rw4lk said:
My bad, I thought I added it but I didn't. It's there now.
Click to expand...
Click to collapse
You said 27.1.4
I apologize if I am ignorant to that format for the firmware. What does that translate to in terms of the OTX27.(whatever comes next)
EDIT: Duh I see what you mean by posts in threads.
I see the 27.1.3 is that one ok too??
Uzephi said:
GPT isn't a partition. It is your partition table. If you can't set your partition table, you might have screwed up your eMMC.
https://en.m.wikipedia.org/wiki/GUID_Partition_Table
Click to expand...
Click to collapse
Just a shout out and personal thank you for the flashall. THANK YOUUU!!!! <33333
H411UCIN093NIC said:
You said 27.1.4
I apologize if I am ignorant to that format for the firmware. What does that translate to in terms of the OTX27.(whatever comes next)
EDIT: Duh I see what you mean by posts in threads.
I see the 27.1.3 is that one ok too??
Click to expand...
Click to collapse
Yeah that's fine, the idea is just to get to a point where you can take an ota so your slots will be all proper and you're good to go no matter how you proceed.

Pixel 3xl Encryption issue.

So for starters. I was on the latest Android 11 rooted with magisk and LSposed along with GB.
I decided to sideload the Android 12 DP. So i floashed the stock boot image to both slots and then sideloaded 12DP. Everything went fine and i was testing A12. Tried to root A12 with magisk by the standard patch boot.img and fastboot flash to both slots. The phone hung on the bootscreen for like 10 minutes so i figured it best to flash back to A11. Back to BL mode and flashed theboot.img to both slots and then flash-all A11. Hit start when finished and it just flashed the white google screen for a few seconds then back to bootloader. Strange. Tried again, while changing active slots to ensure its flashing the system to both slots. Will not boot. Straight back to bootloader.
I can flash individual partions and i have no errors other than when wiping data it says it cant. Cant remeber exactly the error. But this is where it gets even more weird. I can flash android 9 and have no issues, I can take OTA updates with not issue. I can and am rooted and my phone is back to A11 via OTA. It will not boot if i flash or sideload any other version of Android other than A9. I believe this has something to do with encrytion. My phone was encrypted when i started this whole proccess and i believe thats why i get the error when trying to wipe data. In A9 recovery, when i factory data reset. it wipes with no errors. If i try to factory data reset in A10 or A11 Recovery i get the error E: can't send spi message: Try again .
So in closing, my phone is working and running fine but i can not flash-all any Android version other than A9 and have the phone boot.
So if anyone knows the proper steps to get this phone right, I would greatly appreciate it.
If not, i guess i will only be taking OTA's until i can figure it out.
Happy flashing!
Quick edit
Yes i pass safetynet and all banking apps work.
so is doing anything at all really necessary. I will leave that for the community to decide.
My opinion is, There is something wrong that needs fixing here. But its not crucial.
On A10-11 did you try "fastboot erase userdata" ?
wangdaning said:
On A10-11 did you try "fastboot erase userdata" ?
Click to expand...
Click to collapse
I did and it gives an error. Wish I wrote down the error like I did the other one. It's the same error at the end of flash-all when I don't remove -w
Try fastboot format userdata.
Just to add.... I can flash PixelDust (custom rom) and it boots and works great but can not flash-all or sideload android 10 or 11. Can only flash Android 9 and take OTA's up to Android 11.
Damn, should have caught this before. Your Platform Tools are out of date. Update adb and fastboot to latest.
wangdaning said:
Damn, should have caught this before. Your Platform Tools are out of date. Update adb and fastboot to latest.
Click to expand...
Click to collapse
I wish it were that simple. Unfortunately i actually updated it and also added the Android S Preview SDK and restarted my PC before even attempting this whole thing. And to make sure, just now checked for updates and its up to date.
What do you get with "fastboot --version" ?
I have see it where people have multiple versions on their computer.
wangdaning said:
What do you get with "fastboot --version" ?
I have see it where people have multiple versions on their computer.
Click to expand...
Click to collapse
You may be onto something here.....thoughtts?
And i think i have fixed that part on my PC. This is now what i get. I had that all-in-one tool installed so it made my system wide fastboot/adb look at its program folder instead of my default installation folder. Thats uninstalled and all folders and registry keys associated with it and my system is looking at my android sdk installation folder as it should.
This may very well have been the issue. I haven't tried to flash anything yet as i'm a bit gun shy after this fiasco lol
Maybe i will try flash-all with -w removed to see what happens.
Fastboot erase data?
jjgvv said:
Fastboot erase data?
Click to expand...
Click to collapse
That may likely work now as one of my issues was my fastboot was the wrong version because of the all-in-one tool i had installed. Haven't tried it yet and may not need to loose data if the flash-all command will work past android 9 which it should now thats its using the proper fastboot/adb version.
wangdaning said:
Try fastboot format userdata.
Click to expand...
Click to collapse
jjgvv said:
Fastboot erase data?
Click to expand...
Click to collapse
that finishes wothout any error....good start
is this how -w should work......sidenote, i can now flash-all android 11 and boot to system
Thank you @wangdaning for suggesting checking my fastboot version! That lead me to see i had 2 version and was defaulting to the wrong version. Removing that version and fixing my system path in windows variables fixed my issues. It was fastboot version the whole time. Again thank you @wangdaning!!
Edit to thank all who replied to this thread. I used everyones ideas
Glad you got it working.

General Soft bricked when update C.62 to C.63, help needed please.

I was on C.62 AA with a working Magisk.
Yesterday I tried to update to C.63 AA with following steps:
1. Disable all Magisk module and reboot.
2. Restore Stock Image from Magisk Manager.
3. Update to C.63 from System Settings menu.
4. Install Magisk to inactive slot, then reboot.
That's it.
After reboot, my OP9P starts, but can't get into lock screen. Instead it only show black screen with a nonstop vibration.
I didn't do backup since I was NOT expecting this to happen.
Now I'm desperate for any help to unbick it or at lease get my files in sdcard back.
I can go into bootloader and fastbootd mode. ANY help would be much appreciated.
dna1982 said:
I was on C.62 AA with a working Magisk.
Yesterday I tried to update to C.63 AA with following steps:
1. Disable all Magisk module and reboot.
2. Restore Stock Image from Magisk Manager.
3. Update to C.63 from System Settings menu.
4. Install Magisk to inactive slot, then reboot.
That's it.
After reboot, my OP9P starts, but can't get into lock screen. Instead it only show black screen with a nonstop vibration.
I didn't do backup since I was NOT expecting this to happen.
Now I'm desperate for any help to unbick it or at lease get my files in sdcard back.
I can go into bootloader and fastbootd mode. ANY help would be much appreciated.
Click to expand...
Click to collapse
Unfortunately the only thing that's going to get device up and going again is msm or factory reset. You could possibly get a boot without wiping if you have untouched boot images of build you were on but then you don't know which side it booted to. I'd factory reset . Or keep device dead. You will still have patched boot.img so just reinstall magisk manager after reset.
mattie_49 said:
Unfortunately the only thing that's going to get device up and going again is msm or factory reset. You could possibly get a boot without wiping if you have untouched boot images of build you were on but then you don't know which side it booted to. I'd factory reset . Or keep device dead. You will still have patched boot.img so just reinstall magisk manager after reset.
Click to expand...
Click to collapse
I do have untouched boot images(C.63 AA) from the other thread.
I did try to "fastboot boot boot.img", result the same -- black screen with a nonstop vibration.
I think something went wrong during the update process.
Maybe flashing a stock rom in fastboot mode will help, but I don't know how and I can't find any info about howto flash OxygenOS 12 in fastboot on OP9P.
what you can try is the c63 full rom via fastbootd with the tool Fastboot Enhance to flash
[TOOL][Windows] Fastboot Enhance [Payload Dumper & Image Flasher]
Fastboot Enhance What it can do? - Show fastboot vars - Switch between fastbootd & bootloader - Switch between A & B slot - Flash Payload.bin in fastbootd - Flash images - Erase partitions - Delete logical partitions - Create logical partitions...
forum.xda-developers.com
but that will be difficult because there is no aa full rom (only india) since the update to c63 was only released globally as an incremental update
ChrisFeiveel84 said:
what you can try is the c63 full rom via fastbootd with the tool Fastboot Enhance to flash
[TOOL][Windows] Fastboot Enhance [Payload Dumper & Image Flasher]
Fastboot Enhance What it can do? - Show fastboot vars - Switch between fastbootd & bootloader - Switch between A & B slot - Flash Payload.bin in fastbootd - Flash images - Erase partitions - Delete logical partitions - Create logical partitions...
forum.xda-developers.com
Click to expand...
Click to collapse
ChrisFeiveel84 said:
but that will be difficult because there is no aa full rom (only india) since the update to c63 was only released globally as an incremental update
Click to expand...
Click to collapse
The Fastboot Enhance Tool you post does look promising.
I guess I will just wait for AA full rom to come out.
Thank you.
dna1982 said:
The Fastboot Enhance Tool you post does look promising.
I guess I will just wait for AA full rom to come out.
Thank you.
Click to expand...
Click to collapse
Last full rom for aa is
C48
I don't think that oneplus will release a full aa again
ChrisFeiveel84 said:
Last full rom for aa is
C48
I don't think that oneplus will release a full aa again
Click to expand...
Click to collapse
I will wait a week or two before flash DA C.63.
dna1982 said:
I do have untouched boot images(C.63 AA) from the other thread.
I did try to "fastboot boot boot.img", result the same -- black screen with a nonstop vibration.
I think something went wrong during the update process.
Maybe flashing a stock rom in fastboot mode will help, but I don't know how and I can't find any info about howto flash OxygenOS 12 in fastboot on OP9P.
Click to expand...
Click to collapse
It's fastboot flash boot boot.img sir.
mattie_49 said:
It's fastboot flash boot boot.img sir.
Click to expand...
Click to collapse
1. "fastboot flash" change partition permanently, while "fastboot boot" change partition temporary.
2. I also tried "fastboot flash", no luck.
dna1982 said:
I will wait a week or two before flash DA C.63.
Click to expand...
Click to collapse
The problem came up when you tried carrying root over. I've had issues as well . Make sure your on 25.2 magisk manager, disable all modules . Only uninstall magisk,restore images,start system update when finished don't reboot. Go into magisk install to inactive slot for ota. And reboot.
Just flash the full DA C.63 over it using FBE. Make sure you go to the partitions screen and search cow and delete all cow partitions before you flash or you will brick. This should at least enable you to get your files backed up so you can MSM.
Before that though, go to fastboot and try fastboot --getvar current-slot to find out what slot you're on. From there do fastboot --set-active=a or --set-active=b, whichever is not active currently. Fastboot reboot and see if your old OTA boots.
EtherealRemnant said:
Just flash the full DA C.63 over it using FBE. Make sure you go to the partitions screen and search cow and delete all cow partitions before you flash or you will brick. This should at least enable you to get your files backed up so you can MSM.
Before that though, go to fastboot and try fastboot --getvar current-slot to find out what slot you're on. From there do fastboot --set-active=a or --set-active=b, whichever is not active currently. Fastboot reboot and see if your old OTA boots.
Click to expand...
Click to collapse
he can also see which slot is active directly with fbe because fbe shows this itself, just like he can change the slot with fbe
dna1982 said:
1. "fastboot flash" change partition permanently, while "fastboot boot" change partition temporary.
2. I also tried "fastboot flash", no luck.
Click to expand...
Click to collapse
fastboot flash only flashes the active slot and does not switch to the inactive slot.. and fastboot boot only boots an image that you have specified
ChrisFeiveel84 said:
he can also see which slot is active directly with fbe because fbe shows this itself, just like he can change the slot with fbe
Click to expand...
Click to collapse
FBE's slot changer doesn't always work in my experience. Both times I tried it for the purposes of changing the slot to boot from, it didn't actually change the slot, but when I switched slots to choose which to install to, that worked correctly. I only tell people to use things I'm confident work correctly and I know fastboot slot switching is one of those things that does.
EtherealRemnant said:
FBE's slot changer doesn't always work in my experience. Both times I tried it for the purposes of changing the slot to boot from, it didn't actually change the slot, but when I switched slots to choose which to install to, that worked correctly. I only tell people to use things I'm confident work correctly and I know fastboot slot switching is one of those things that does.
Click to expand...
Click to collapse
I also noticed that if you change the slot with fbe, the active slot is still displayed in fbe, but if you then reconnect the cell phone to the pc, fbe then shows that it has changed the slot
dna1982 said:
I was on C.62 AA with a working Magisk.
Yesterday I tried to update to C.63 AA with following steps:
1. Disable all Magisk module and reboot.
2. Restore Stock Image from Magisk Manager.
3. Update to C.63 from System Settings menu.
4. Install Magisk to inactive slot, then reboot.
That's it.
After reboot, my OP9P starts, but can't get into lock screen. Instead it only show black screen with a nonstop vibration.
I didn't do backup since I was NOT expecting this to happen.
Now I'm desperate for any help to unbick it or at lease get my files in sdcard back.
I can go into bootloader and fastbootd mode. ANY help would be much appreciated.
Click to expand...
Click to collapse
Is there any update regarding this thread? The same thing happens to me after I update my phone from C.62 DA to C.63 DA my phone is stuck on a black screen and then keeps on vibrating. I am also desperate to at least recover my data.
JeanFlasher said:
Is there any update regarding this thread? The same thing happens to me after I update my phone from C.62 DA to C.63 DA my phone is stuck on a black screen and then keeps on vibrating. I am also desperate to at least recover my data.
Click to expand...
Click to collapse
Sorry to hear that.
But you don't have to wait, since there is DA C.63 full rom.
Just flash it in fastboot mode by using Fastboot Enhance tool.
Good luck and tell us how it goes.
dna1982 said:
Sorry to hear that.
But you don't have to wait, since there is DA C.63 full rom.
Just flash it in fastboot mode by using Fastboot Enhance tool.
Good luck and tell us how it goes.
Click to expand...
Click to collapse
It didn't work for me real bummer. I've tried to do what EtherealRemnant suggested (ie: full flash DA C.63 over it using FBE), still out of luck.
JeanFlasher said:
It didn't work for me real bummer. I've tried to do what ChrisFeiveel84 suggested, still out of luck.
Click to expand...
Click to collapse
Did you follow the steps that @EtherealRemnant post?
And what is the result? We need details to help you.

Categories

Resources