Booting from Slot B - OnePlus 7 Pro Questions & Answers

Hi - I recently tried to boot from Slot B, and it didn't go well. My OP7P appeared to be boot-looped from Slot B, with a very slow "circling electron" animation. I thought Slot A and Slot B pretty much mirrored each other.
Is there anything I should do to make both Slot A and Slot B bootable?
Thanks,
¿GJ?

[RECOVERY][DUALBOOT][MAGISK][3.3.1-79][Unified]Unofficial TWRP for OnePlus 7/7 Pro/5G
If you want to make something like this for your device, check out this guide here Since I no longer have an OP 7 series device, this mod is now deprecated and won't be receiving any more updates. invernomut0 has made a continuation of this mod...
forum.xda-developers.com
;-)

Thanks, @ghost323 - I installed mauronofrio's TWRP from above, but I'm not seeing any difference.
One thing that I maybe should mention is that when I boot into Recovery Mode after swapping to Slot B, I don't get prompted for my device encryption password, and nothing is mounted by TWRP. I expect that is why I am going into a bootloop.
¿GJ?

Did you read the thread carefully? At least some pages?
There is a description of what to do.
I thought about it a year ago. In the end I decided against it.
You should also look at the basics of a / b devices. Many of your questions are answered there.
Reading something into these topics doesn't hurt ;-)

In fastboot type fastboot --set-active=a

Related

Pixel bootloop after I apply custom and official ROM with TWRP

Hello everyone. I'm not proud of myself and I usually, my "google skills" are enough to get me out of trouble but this time it doesn't and this community is my last resort.
I bought a Pixel (not 2, not XL, the first Google Pixel) and soon enough, I wanted to root it. It's the second phone I root, the first one was my Nexus 6 (and before that I jailbreaked my iPhone 4).
Long story short. I'm stuck on a bootloop with 2 screens : 1st screen is the warning that tells your bootloader is unlocked (see img : i.imgur.com/OL2knAo.png )
2st screen is the Google logo (see img i.imgur.com/RpEsddD.png )
A few seconds later, it reboots and starts over.
I ended up here by following this 5 minutes video guide : youtube.com/watch?v=FcK4yIoror8
My problems started when I was done with step 4 (before I could install the Gapps step).
Then I looked around and found a guide I was able to follow step by step with no problem (source : youtube.com/watch?v=CqVhugWJidQ ). Unfortunately, the same issue remains. I get that bootloop.
I'm out of ressources. I don't understand what I did wrong. I follow steps very carefully. I read that my phone isn't bricked as long as I can access it via adb (which I can do). I can still use the adb sideload twrp*.img command and get in TWRP. I tried many images so far and none can get me inside the OS.. Here is the list of the roms I tried :
pa_sailfish-7.1.2-RELEASE-20170530-signed
pa_sailfish-7.2.1-RELEASE-20170720-signed
sailfish-nde63h-factory-43ba5f81
RR-O-v6.0.0-20180313-sailfish-Official
The first 3 gave me the bootloop I talked in previously while the Resurrection Remix (RR) at least gave me some sort of recovery mode as you can see here (i.imgur.com/QJ9mRxD.png) but I still can't get into my phone...
I also tried flash-all.bat and I still have that bootloop after this batch did its thing...
By the way, I see there are tons of Sailfish roms (for Google Pixel). Could it be that my Pixel can only take a specific one? I have no way of guessing if one rom is superior to the other. The only hint I have is the file name..
Also, odds are low but if you live near Montreal are feel like you can help me and do it yourself, I will gladly pay you for your work. Otherwise, I'm open to try anything suggested here that can get me out of this mess.
Thank you very much for your time!
Update 1 : well, I found an answer to my question on reddit.
I was able to restore everything by using the lastest factory image for Pixel 8.1.0 (OPM2.171019.029, Apr 2018). I tried many others before this one (they were earlier releases) with no success.
I have no idea why the lastest worked, but it did. It's a huge relief for me..
Now though, I would still like to root it.. But I am much more scared to try it until I find out what mistep I did... Any idea?
Thank you
If you're bootlooping, sometimes you might be on the wrong slot. Check TWRP to see if you're in Slot A or Slot B. I found in the past that after flashing something, it switches you to Slot B, so if you reboot into System, there's no system there to boot into...

Copying Slot A to Slot B and vice versa ?

Hello,
As discussed in other threads I have issues updating my 9.5.6 GM57BA rom to 9.5.7 or 9.5.8.
I tried both flashing via local update and through TWRP.
Both fail and only fix is going back to slot B where my actual setup is setting.
Based on that the only explanation that makes sense to me is that something on slot a is causing this mess. Easy way to prove would be to flash on slot b, but I don't want to/can't take the risk right now so I am looking for the way to make an exact copy of my slot B to slot A, and then flash to either of the slots to see if it's working.
Can any one point me to how I can do that?
Thanks
Nobody07 said:
Hello,
As discussed in other threads I have issues updating my 9.5.6 GM57BA rom to 9.5.7 or 9.5.8.
I tried both flashing via local update and through TWRP.
Both fail and only fix is going back to slot B where my actual setup is setting.
Based on that the only explanation that makes sense to me is that something on slot a is causing this mess. Easy way to prove would be to flash on slot b, but I don't want to/can't take the risk right now so I am looking for the way to make an exact copy of my slot B to slot A, and then flash to either of the slots to see if it's working.
Can any one point me to how I can do that?
Thanks
Click to expand...
Click to collapse
Please post your question only once, you already asked for help here https://forum.xda-developers.com/on...-question-noob-friendly-t3954564/post80082330
Nobody07 said:
Hello,
As discussed in other threads I have issues updating my 9.5.6 GM57BA rom to 9.5.7 or 9.5.8.
I tried both flashing via local update and through TWRP.
Both fail and only fix is going back to slot B where my actual setup is setting.
Based on that the only explanation that makes sense to me is that something on slot a is causing this mess. Easy way to prove would be to flash on slot b, but I don't want to/can't take the risk right now so I am looking for the way to make an exact copy of my slot B to slot A, and then flash to either of the slots to see if it's working.
Can any one point me to how I can do that?
Thanks
Click to expand...
Click to collapse
Since posting here, allow time to have your issue/question addressed.

How to sideload into OP 8T (KB05AA)? Help!

My current OxygenOS is the latest "12" version which after the OTA, OnePlus has strangely removed from their support site. It has some issues I don't like as well as many others who have posted on the OP Community board. The inactive partition is corrupted and I'm not sure what happened except I was rooted and tried to use Magisk protocol to keep root, but I got a bootloop afterwards. I changed the active slot to the old slot and got the new "12" version running. The inactive slot is corrupted and I get a Qualcom error message.
I want to go back to the previous ver "11" or LineageOS 18.1. However, I cannot get anything to allow me to sideload to the inactive partition or any partition. If I use adb while the phone is in normal operation, I get adb to show devices so I know I have a link. However, I cannot do adb sideload from the normal booted phone. So I have to reboot it to recovery where it looses it's connection to the adb command on the PC. It sees the phone but says it is unauthorized. It is a loop where adb works while phone is booted but not when I am in recovery. I have USB debugging set on and have revoked usb debugging and reset the whole scenario many times to see if different sequences might work so that I can do a sideload. Nothing has gotten me past this yet. I have even tried the Oxygen Updater app but OxygenOS system update won't let you install a prior version if you have the current one.
Any suggestions. Thanks
zzjea said:
My current OxygenOS is the latest "12" version which after the OTA, OnePlus has strangely removed from their support site. It has some issues I don't like as well as many others who have posted on the OP Community board. The inactive partition is corrupted and I'm not sure what happened except I was rooted and tried to use Magisk protocol to keep root, but I got a bootloop afterwards. I changed the active slot to the old slot and got the new "12" version running. The inactive slot is corrupted and I get a Qualcom error message.
I want to go back to the previous ver "11" or LineageOS 18.1. However, I cannot get anything to allow me to sideload to the inactive partition or any partition. If I use adb while the phone is in normal operation, I get adb to show devices so I know I have a link. However, I cannot do adb sideload from the normal booted phone. So I have to reboot it to recovery where it looses it's connection to the adb command on the PC. It sees the phone but says it is unauthorized. It is a loop where adb works while phone is booted but not when I am in recovery. I have USB debugging set on and have revoked usb debugging and reset the whole scenario many times to see if different sequences might work so that I can do a sideload. Nothing has gotten me past this yet. I have even tried the Oxygen Updater app but OxygenOS system update won't let you install a prior version if you have the current one.
Any suggestions. Thanks
Click to expand...
Click to collapse
I've tried to sideload OOS 11 using Los recovery, but it doesn't work. And, since OOS recovery doesn't support sideloading I'd say that sideloading isn't an option.
However, using payload dumper and fastbootd may be an option. I would have tried this but I'm on 12 and there's no full install zip. But you're going back to 11 so this is a possibility.
But I wouldn't make these changes in the current working slot - don't break what's working.
I'm also not sure whether to use the OOS recovery for the fastbootd stuff or use one from a custom rom.
As you can gather, I've not done this. So you have to work out the details yourself and be prepared to be a guinea pig for the process.
If you do go down this path I'd be very interested in the outcome.
Of course, you could always use the MSM tool to go back to an older version.
Since there is no TWRP for OP8T and recovery is non-existent on it, how is anyone installing ROMs on this device. I have just jumped from my original purchase of OnePlus One that still works except for the power button (it is current with LineageOS 18.1 and rooted), to the OP8T over a month ago and a lot has changed since the OPO. I have looked up fastbootd but still don't understand the differences. Comments about installing ROMS are made all over this forum but most assume you know how to do it. I have gotten spoiled with TWRP on the OPO and can flash a new ROM in around a minute almost with my eyes closed. This is getting confusing. I successfully rooted this OP8T after I got it and that was a very touchy thing having to jump through a bunch of hoops to get it done. I was surprised that it worked after all the steps that were required. It used to be that there was info on how to do this kind of thing on this forum, but now it seems that most everyone thinks you should already know the basics. Well the basics are part of my problem right now. A and B slots are new to me and I think I understand that but have not seen an explanation of how that all works when loading ROMS. I have a working phone at the moment in the active slot, but the "other" slot is corrupted. I tried to duplicate the active slot to the inactive slot and of course I can't get adb to work.... Isn't anyone else having these issues? I will look into the MSM tool again.
If you know where the info is that I'm looking for is, please give me the links. Thanks
zzjea said:
Since there is no TWRP for OP8T and recovery is non-existent on it, how is anyone installing ROMs on this device. I have just jumped from my original purchase of OnePlus One that still works except for the power button (it is current with LineageOS 18.1 and rooted), to the OP8T over a month ago and a lot has changed since the OPO. I have looked up fastbootd but still don't understand the differences. Comments about installing ROMS are made all over this forum but most assume you know how to do it. I have gotten spoiled with TWRP on the OPO and can flash a new ROM in around a minute almost with my eyes closed. This is getting confusing. I successfully rooted this OP8T after I got it and that was a very touchy thing having to jump through a bunch of hoops to get it done. I was surprised that it worked after all the steps that were required. It used to be that there was info on how to do this kind of thing on this forum, but now it seems that most everyone thinks you should already know the basics. Well the basics are part of my problem right now. A and B slots are new to me and I think I understand that but have not seen an explanation of how that all works when loading ROMS. I have a working phone at the moment in the active slot, but the "other" slot is corrupted. I tried to duplicate the active slot to the inactive slot and of course I can't get adb to work.... Isn't anyone else having these issues? I will look into the MSM tool again.
If you know where the info is that I'm looking for is, please give me the links. Thanks
Click to expand...
Click to collapse
I presume that A and B slots are partitions
Code:
lrwxrwxrwx 1 root root 16 1970-01-03 04:30 /dev/block/bootdevice/by-name/boot_a -> /dev/block/sde11
lrwxrwxrwx 1 root root 16 1970-01-03 04:30 /dev/block/bootdevice/by-name/boot_b -> /dev/block/sde35
So try using MSM tool to restore them or find a copy of that partition from a working phone and flash on yours.
Maybe this can help you as well.
zzjea said:
Since there is no TWRP for OP8T and recovery is non-existent on it, how is anyone installing ROMs on this device. I have just jumped from my original purchase of OnePlus One that still works except for the power button (it is current with LineageOS 18.1 and rooted), to the OP8T over a month ago and a lot has changed since the OPO. I have looked up fastbootd but still don't understand the differences. Comments about installing ROMS are made all over this forum but most assume you know how to do it. I have gotten spoiled with TWRP on the OPO and can flash a new ROM in around a minute almost with my eyes closed. This is getting confusing. I successfully rooted this OP8T after I got it and that was a very touchy thing having to jump through a bunch of hoops to get it done. I was surprised that it worked after all the steps that were required. It used to be that there was info on how to do this kind of thing on this forum, but now it seems that most everyone thinks you should already know the basics. Well the basics are part of my problem right now. A and B slots are new to me and I think I understand that but have not seen an explanation of how that all works when loading ROMS. I have a working phone at the moment in the active slot, but the "other" slot is corrupted. I tried to duplicate the active slot to the inactive slot and of course I can't get adb to work.... Isn't anyone else having these issues? I will look into the MSM tool again.
If you know where the info is that I'm looking for is, please give me the links. Thanks
Click to expand...
Click to collapse
Here's some information that I found helpful:
A/B (Seamless) System Updates | Android Open Source Project
source.android.com
Dynamic Partitions | Android Open Source Project
source.android.com
Implementing Dynamic Partitions | Android Open Source Project
source.android.com
Moving Fastboot to Userspace | Android Open Source Project
source.android.com
Here's a couple of ways to get one partition to look like another one:
1. The Los pre-installation instructions have instructions on how to sync the partitions. Note: it doesn't sync boot, dtbo, or vbmeta.
2. If you're rooted you can copy one partition to the other using
Code:
dd if=/dev/block/by-name/xxxx_(active-slot) of=/dev/block/by-name/xxxx_(inactive-slot)
For example:
Code:
dd if=/dev/block/by-name/boot_b of=/dev/block/by-name/boot_a
Note that you can find out which is the active slot using getprop ro.boot.slot_suffix
I've written a shell script based on the Los zip in 1. (see attachment) that will do all partitions - use at your own risk. Don't run it unless you understand what it's doing.

[BOOTLOADER] Error: Unable to boot from 2nd slot! [QUALCOMM CrashDump 0x00007f00]

Hi all,
trying to boot form second slot ends up in QUALCOMM CrashDump 0x00007f00 and I have no idea how to fix it.
Edit: Booting from slot A & recovery works fine. Only trying to boot from B ends up in this error.
I own a new 8T, currently with stock OxygenOS 11.0.11.11, TWRP installed and wanted to prepare it to install a custom rom.
So according to https://lineageosroms.com/kebab/ I used copy-partitions-20210323_1922.zip, to sync slots.
After syncing, trying to change to 2. slot (used TWRP to change slot) ended up in error above.
On 2. slot I was not even able to mount /data...
Tnx to @BillGoss I could fix an issue - partitions boot_a|b, dtbo_a|b, vbmeta_a|b did defer.
Now all AB-partitions are identical, but still booting in 2. slot ends up in CrashDump.
(Anyway, after syncing all deferring partitions, mounting /data in TWRP now works on both slots.)
What else could be wrong, that I am not able to boot to 2. slot?
How can I fix this problem?
Edit: I have no Windows machine - Linux only, so using MSM tool would be a big issue for me...
Help is really appreciated.
Tnx in advance,
Enkidu
Use the MSM tool to get your device bootable again...
[OP8T][OOS KB05AA/BA/DA] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com
Ramme said:
Use the MSM tool to get your device bootable again...
[OP8T][OOS KB05AA/BA/DA] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com
Click to expand...
Click to collapse
Great! Tnx for fast reply!
Hmmm... I do not own a Windows system.
May there be a different way to fix my problem?
Download what you want, you can Update later to the Last Version , all MsM Work fine
Ramme said:
Download what you want, you can Update later to the Last Version , all MsM Work fine
Click to expand...
Click to collapse
Tnx. I needed a second to understand it.
But next problem is, I do not own a Windows system. Linux only...
May there be a different way to fix my problem?
Sorry, I'm out of that one. I'm sure there is a command method, but your bootloader is crashed, so you don't have a command option, so the only thing left is the MSM tool.
Ramme said:
Sorry, I'm out of that one. I'm sure there is a command method, but your bootloader is crashed, so you don't have a command option, so the only thing left is the MSM tool.
Click to expand...
Click to collapse
Maybe I was not clear enough. Only booting for slot A does not work. Booting from B or recovery works fine.
I think you can use fastboot mode from one of the working slots to flash oos into both the slots using Linux. Guide attached.
upfiles - Make Money by Sharing Files!
upfiles is a file-sharing platform that allows users to make money by sharing files. We offer the best storage and payout rates ever!
upfiles.com
@enkidu70 you shouldn't care about not being able to boot into one of the slots.
The A/B configuration is specifically designed for dealing with seamless updates. These (updates) result in only one of the slots being bootable at any one time.
Since you have one slot that works fine, that's good. And don't bother with trying to restore your phone to its original setup - that will still leave you with one bootable slot!
If you're planning to install a custom rom using TWRP, then have a look at how things get flashed: https://forum.xda-developers.com/t/...ect-8t-kebab-2021-09-04.4302449/post-85910241
BillGoss said:
@enkidu70 you shouldn't care about not being able to boot into one of the slots.
Click to expand...
Click to collapse
Tnx. Tried it. Works!
(For some reason, It was a bit tricky to get /data formatet - but now everything seems fine!)
Tnx for your great support!
Did you ever get both slots to work? I have the same problem. I can go into fastboot to change the active slots to boot into Slot b, but Slot A is still not working. Will it ever work?

Duplicating my B partition of my OP 7Pro onto my A partitiion?

I'm running OOS 10.3.8 on my OP 7Pro (GM1917). Currently, I boot into that OS via the B partition.
I'd like to duplicate everything in the B partition and install it on the device's A partition, so that I can switch between the A and B partition and boot up identically, no matter which partition I choose.
In the past, I did what is described in the two following posts in order to duplicate B onto A:
https://forum.xda-developers.com/t/...droid-device-partitions.2450045/post-83339451
https://forum.xda-developers.com/showpost.php?p=83389563&postcount=2818
I could do that again, but I'm wondering if perhaps a newer way of accomplishing this might have been developed since back then.
Thanks in advance for any thoughts or suggestions.
HippoMan said:
I'm running OOS 10.3.8 on my OP 7Pro (GM1917). Currently, I boot into that OS via the B partition.
I'd like to duplicate everything in the B partition and install it on the device's A partition, so that I can switch between the A and B partition and boot up identically, no matter which partition I choose.
In the past, I did what is described in the two following posts in order to duplicate B onto A:
https://forum.xda-developers.com/t/...droid-device-partitions.2450045/post-83339451
https://forum.xda-developers.com/showpost.php?p=83389563&postcount=2818
I could do that again, but I'm wondering if perhaps a newer way of accomplishing this might have been developed since back then.
Thanks in advance for any thoughts or suggestions.
Click to expand...
Click to collapse
Well, I got impatient, and I just re-ran what I described above, and it worked.
I'm still wondering if there might be a better way to do this, however.

Categories

Resources