Question Bricked P6 after March Update

Search This thread

Xeust

Senior Member
Feb 9, 2014
192
73
Malaysia
Hi! I was on the February update and was trying to update to the March update using the factory images.
While updating I was faced with sparse file too big or invalid error. Then my device was stuck at bootloader. After that, I proceeded to stupidly change my active partition from b to a. Now my device won't boot at all. Is there any way I can recover from this? Or is there a chance at all?
 

TheMystic

Senior Member
Mar 18, 2017
1,769
757
OnePlus 8T
Samsung Galaxy S22 Ultra
Hi! I was on the February update and was trying to update to the March update using the factory images.
While updating I was faced with sparse file too big or invalid error. Then my device was stuck at bootloader. After that, I proceeded to stupidly change my active partition from b to a. Now my device won't boot at all. Is there any way I can recover from this? Or is there a chance at all?
Boot to fastboot mode and install TWRP or any custom recovery on both slots.

Now reboot to recovery and change the active partition.
 

V0latyle

Forum Moderator
Staff member
Hi! I was on the February update and was trying to update to the March update using the factory images.
While updating I was faced with sparse file too big or invalid error. Then my device was stuck at bootloader. After that, I proceeded to stupidly change my active partition from b to a. Now my device won't boot at all. Is there any way I can recover from this? Or is there a chance at all?
What happens when you turn your device on? Are you able to boot to bootloader? Does the screen turn on at all?

If the file size was wrong, you were probably using the wrong file...although there's been issues with the latest Platform Tools, and bad USB cables can cause problems too.

Boot to fastboot mode and install TWRP or any custom recovery on both slots.

Now reboot to recovery and change the active partition.

TWRP isn't really relevant to A/B devices unless installing a custom ROM. If he's able to get into bootloader, TWRP isn't going to be any more help than reflashing the factory image.
 
  • Like
Reactions: TheMystic

TheMystic

Senior Member
Mar 18, 2017
1,769
757
OnePlus 8T
Samsung Galaxy S22 Ultra
TWRP isn't really relevant to A/B devices unless installing a custom ROM. If he's able to get into bootloader, TWRP isn't going to be any more help than reflashing the factory image.
In case of a bootloop, one can boot into recovery if it is installed on both slots. And from there the active partition can be changed, and this is possible only using custom recovery.

This is my understanding. I could be wrong because it's been a while since I got away from all these stuff, which are also becoming increasingly complex for no proportionate returns.
 

V0latyle

Forum Moderator
Staff member
In case of a bootloop, one can boot into recovery if it is installed on both slots. And from there the active partition can be changed, and this is possible only using custom recovery.

This is my understanding. I could be wrong because it's been a while since I got away from all these stuff, which are also becoming increasingly complex for no proportionate returns.
The problem is, the recovery kernel is packaged into the boot image alongside ramdisk and the system kernel. Most A/B devices like Pixels do not have a recovery partition. TWRP does not support the compression that's used for the stock recovery as packaged, and if you flash the TWRP image to /boot, it overwrites everything else - meaning that your system will only boot to TWRP, because that's the only thing in /boot.

You could potentially live boot TWRP since this doesn't flash the boot partition, but again this is generally unnecessary and won't be of much help when you can simply reflash the original boot image
 
  • Like
Reactions: TheMystic

TheMystic

Senior Member
Mar 18, 2017
1,769
757
OnePlus 8T
Samsung Galaxy S22 Ultra
The problem is, the recovery kernel is packaged into the boot image alongside ramdisk and the system kernel. Most A/B devices like Pixels do not have a recovery partition. TWRP does not support the compression that's used for the stock recovery as packaged, and if you flash the TWRP image to /boot, it overwrites everything else - meaning that your system will only boot to TWRP, because that's the only thing in /boot.
Are all these done to enhance security or discourage custom mods? Or both?

For a short time when I had rooted my OnePlus 8T, I would flash TWRP on the inactive slot. That's because Oxygen OS would replace any custom recovery with its own recovery during boot, so this allowed me to boot into the inactive slot (which now has TWRP) and then run commands from there, so I don't have to use a PC each time.
 

V0latyle

Forum Moderator
Staff member
Are all these done to enhance security or discourage custom mods? Or both?
Neither. It's just compression to reduce the amount of space the recovery kernel takes up in the boot image. If TWRP supported this compression we could potentially replace the stock recovery with TWRP. But, there isn't really much need to do this; most custom ROMs for the Pixel series just flash everything via web ADB.
For a short time when I had rooted my OnePlus 8T, I would flash TWRP on the inactive slot. That's because Oxygen OS would replace any custom recovery with its own recovery during boot, so this allowed me to boot into the inactive slot (which now has TWRP) and then run commands from there, so I don't have to use a PC each time.
That's not the case here. The boot slot cannot be changed without booting into TWRP. You could potentially install TWRP to boot_b, then set slot B as active; upon the next boot, the device will load TWRP. You could then do whatever you need to in TWRP, then set slot A as active, but you'd have no way of getting back to TWRP.
 
  • Like
Reactions: TheMystic

Lughnasadh

Senior Member
Mar 23, 2015
5,145
5,985
Google Nexus 5
Huawei Nexus 6P
Hi! I was on the February update and was trying to update to the March update using the factory images.
While updating I was faced with sparse file too big or invalid error. Then my device was stuck at bootloader. After that, I proceeded to stupidly change my active partition from b to a. Now my device won't boot at all. Is there any way I can recover from this? Or is there a chance at all?
The likely reason this occurred is because you used Platform Tools 34+. These 34 versions can't boot into fastbootd. For now you should be using Platform Tools 33.0.3.

You can't just switch slots and boot up the slot you switched to. You can only boot into the slot where the last firmware was flashed to. Therefore, when you changed your slot from b to a, you would have to flash the firmware onto slot a before it would boot into that slot.

If you can still get into the bootloader/fastboot mode, try flashing the factory image or using Android Flash Tool.
 
  • Like
Reactions: TheMystic

Xeust

Senior Member
Feb 9, 2014
192
73
Malaysia
The likely reason this occurred is because you used Platform Tools 34+. These 34 versions can't boot into fastbootd. For now you should be using Platform Tools 33.0.3.

You can't just switch slots and boot up the slot you switched to. You can only boot into the slot where the last firmware was flashed to. Therefore, when you changed your slot from b to a, you would have to flash the firmware onto slot a before it would boot into that slot.

If you can still get into the bootloader/fastboot mode, try flashing the factory image or using Android Flash Tool.
For now its not booting at all. My pc can still detect it for a moment while I'm holding the power button but its not booting into bootloader so I can't do anything at the moment afaik.

What happens when you turn your device on? Are you able to boot to bootloader? Does the screen turn on at all?
Nope. Nothing and as I mentioned above, my pc only detects it while I hold the power button. Aside from that, its only a black screen.

Is there any way to flash the firmware or change the partition through other means that does not require bootloader/fastboot?
 
Last edited:

V0latyle

Forum Moderator
Staff member
For now its not booting at all. My pc can still detect it for a moment while I'm holding the power button but its not booting into bootloader so I can't do anything at the moment afaik.

Nope. Nothing and as I mentioned above, my pc only detects it while I hold the power button. Aside from that its only a black screen.
Ah. It sounds like the bootloader can't start, so the device is probably in QUSB mode. Unfortunately your only recourse is to have it repaired, as the files and tools you'd need to fix this are not publicly available. While it's possible to find the software (QPST/QFIL) you won't be able to find the necessary binary images to reflash your device.
 
  • Like
Reactions: TheMystic

Lughnasadh

Senior Member
Mar 23, 2015
5,145
5,985
Google Nexus 5
Huawei Nexus 6P
For now its not booting at all. My pc can still detect it for a moment while I'm holding the power button but its not booting into bootloader so I can't do anything at the moment afaik.


Nope. Nothing and as I mentioned above, my pc only detects it while I hold the power button. Aside from that its only a black screen.
There have been several people who have ended up like you after using Platform Tools 34+. None have been able to recover that I know of. The issue is known to Google (they are working on a fix). Can you confirm you were indeed using Platform Tools 34.0.0 or 34.0.1?
 
  • Like
Reactions: TheMystic

Xeust

Senior Member
Feb 9, 2014
192
73
Malaysia
There have been several people who have ended up like you after using Platform Tools 34+. None have been able to recover that I know of. The issue is known to Google (they are working on a fix). Can you confirm you were indeed using Platform Tools 34.0.0 or 34.0.1?
Yes it was the 34.0.1
Ah. It sounds like the bootloader can't start, so the device is probably in QUSB mode. Unfortunately your only recourse is to have it repaired, as the files and tools you'd need to fix this are not publicly available. While it's possible to find the software (QPST/QFIL) you won't be able to find the necessary binary images to reflash your device.
If there's nothing I can do on my own, is it still possible to get it repaired? Or my only option is to send it back to google?
 
  • Like
Reactions: Lughnasadh

Xeust

Senior Member
Feb 9, 2014
192
73
Malaysia
If you're still under warranty, try to get repair that way. Warranty or no warranty, Google will probably refer you to a repair center like uBreakiFix.
Unfortunately not under warranty anymore. And its hard to reach google. or ubreakifix from my country :/

Thank you everyone. I conclude that my chances are pretty slim so I guess I'll consider getting a new phone.
 

Lughnasadh

Senior Member
Mar 23, 2015
5,145
5,985
Google Nexus 5
Huawei Nexus 6P
Unfortunately not under warranty anymore. And its hard to reach google. or ubreakifix from my country :/

Thank you everyone. I conclude that my chances are pretty slim so I guess I'll consider getting a new phone.
If you do end up contacting Google, you can refer them to this issue. Frankly it's there fault. They know their current Platform Tools are borked and yet still leave them up on the site for people to download and use.

Anyway, I wish you luck.
 
  • Like
Reactions: Xeust and madduke

Jaitsu

Senior Member
Neither. It's just compression to reduce the amount of space the recovery kernel takes up in the boot image. If TWRP supported this compression we could potentially replace the stock recovery with TWRP. But, there isn't really much need to do this; most custom ROMs for the Pixel series just flash everything via web ADB.

That's not the case here. The boot slot cannot be changed without booting into TWRP. You could potentially install TWRP to boot_b, then set slot B as active; upon the next boot, the device will load TWRP. You could then do whatever you need to in TWRP, then set slot A as active, but you'd have no way of getting back to TWRP.
Wait, hold up. TWRP? On the Pixel 6? That exists?

(edit: nevermind, think I misread)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Unfortunately not under warranty anymore. And its hard to reach google. or ubreakifix from my country :/

    Thank you everyone. I conclude that my chances are pretty slim so I guess I'll consider getting a new phone.
    If you do end up contacting Google, you can refer them to this issue. Frankly it's there fault. They know their current Platform Tools are borked and yet still leave them up on the site for people to download and use.

    Anyway, I wish you luck.
    2
    If you're still under warranty, try to get repair that way. Warranty or no warranty, Google will probably refer you to a repair center like uBreakiFix.
    Unfortunately not under warranty anymore. And its hard to reach google. or ubreakifix from my country :/

    Thank you everyone. I conclude that my chances are pretty slim so I guess I'll consider getting a new phone.
    1
    For those of you having the Platform Tools 34+ bug, as I did because I'm old and stupid at times, you may want to go thank this guy since using the 33.0.3 version of the PLatform Tools
    did the trick for me.(y)(y)
    1
    In case of a bootloop, one can boot into recovery if it is installed on both slots. And from there the active partition can be changed, and this is possible only using custom recovery.

    This is my understanding. I could be wrong because it's been a while since I got away from all these stuff, which are also becoming increasingly complex for no proportionate returns.
    The problem is, the recovery kernel is packaged into the boot image alongside ramdisk and the system kernel. Most A/B devices like Pixels do not have a recovery partition. TWRP does not support the compression that's used for the stock recovery as packaged, and if you flash the TWRP image to /boot, it overwrites everything else - meaning that your system will only boot to TWRP, because that's the only thing in /boot.

    You could potentially live boot TWRP since this doesn't flash the boot partition, but again this is generally unnecessary and won't be of much help when you can simply reflash the original boot image
    1
    Are all these done to enhance security or discourage custom mods? Or both?
    Neither. It's just compression to reduce the amount of space the recovery kernel takes up in the boot image. If TWRP supported this compression we could potentially replace the stock recovery with TWRP. But, there isn't really much need to do this; most custom ROMs for the Pixel series just flash everything via web ADB.
    For a short time when I had rooted my OnePlus 8T, I would flash TWRP on the inactive slot. That's because Oxygen OS would replace any custom recovery with its own recovery during boot, so this allowed me to boot into the inactive slot (which now has TWRP) and then run commands from there, so I don't have to use a PC each time.
    That's not the case here. The boot slot cannot be changed without booting into TWRP. You could potentially install TWRP to boot_b, then set slot B as active; upon the next boot, the device will load TWRP. You could then do whatever you need to in TWRP, then set slot A as active, but you'd have no way of getting back to TWRP.