I was trying to update my OP6 to OOS 9.0.8.
I downloaded the full OTA and booted into TWRP, flashed the new update img, and forgot to flash TWRP and rebooted to system. No worries, I went to fastboot and installed TWRP via adb. All was good until this point. But after I flashed Magisk zip in one slot B, slot A files all appear gibberish.
I don't know how to proceed. The device proceeds to boot on slot B all fine, latest OOS, and rooted. But booting to slot A always loops to TWRP.
I'd appreciate any help. Thanks in advance!
It's possible it's because you have a different ROM (or version) installed on slot B. The userdata partition is shared between slots so trying to boot into the "unused" slot could potentially cause a boot loop.
But otherwise I'd guess your B slot has become corrupted somehow. I had a similar problem recently. You can fix it by reflashing both slots, see this thread.
Related
Ok so I was on oxygen 5.1.6 and I downloaded the update for 5.1.7. I booted into twrp flashed it booted up and was in 5.1.7. I boooted back to twrp and made a backup. I booted after backup and phone went back to 5.1.3. WTF?! I had to reflash the update, reinstall the twrp installer zip and root once again. I also noticed that If u change slots you will boot into the unrooted version of your rom and the other is the rooted version. What's the deal with the two slots in twrp. I can see where in the future this will have advantages but it's kind of confusing at the moment. Does anyone know why my phone went back to 5.1.3 after a backup and can anyone explain why there is two slots now and the sole purpose of them within twrp.
I thought twrp and magisk flashed both slots?
a/b partition is just for /system iirc
a/b partition exists for all the partitions as seen in /dev/block/platform/soc/1d84000.ufshc/by-name. When you updated from 5.1.3 (let's say slot a) to 5.1.6, it updated 5.1.6 to slot b and set it as the active slot. When you updated 5.1.7 via twrp, I think it just writes over your current active slot (which is also b), so my guess is you updated slot b to 5.1.7 and slot a is still 5.1.3. Not sure how your active slot switched after booting into 5.1.7, but that's my best guess as to what happened.
If you take the OTA normally, the phone will write to the inactive slot and overwrite boot.img as well as all the other partitions, then set the active partition to the new slot
After successfully installing Magisk, I got 9.5.4 update. As my bootloader is unlocked, system forced full image update
Now, update install successfully through OTA updater but on reboot I get stuck in stock recovery. From there, I had to manually boot to fastboot and switch to slot b to boot OS, back. After spending an hour, couldn't get any leads. Any advice is appreciated..
arvindgr said:
After successfully installing Magisk, I got 9.5.4 update. As my bootloader is unlocked, system forced full image update
Now, update install successfully through OTA updater but on reboot I get stuck in stock recovery. From there, I had to manually boot to fastboot and switch to slot b to boot OS, back. After spending an hour, couldn't get any leads. Any advice is appreciated..
Click to expand...
Click to collapse
I think you've to flash magisk again after an update. I'm not sure though. Not taking responsibility for anything that'll happen if you do so.
icyfire said:
I think you've to flash magisk again after an update. I'm not sure though. Not taking responsibility for anything that'll happen if you do so.
Click to expand...
Click to collapse
Ofcourse I own the responsibility,
Yes tried flashing it seperately for slot a. Then seperately for slot b. Since nothing worked out, flashed twrp on slot a and still nothing.
Then, tried going to slot b 9.5.2 ROM, did local sys update then without reboot, inside Magisk flashed Recovery zip. Even then slot a ROM, doesn't boot
arvindgr said:
Ofcourse I own the responsibility,
Yes tried flashing it seperately for slot a. Then seperately for slot b. Since nothing worked out, flashed twrp on slot a and still nothing.
Then, tried going to slot b 9.5.2 ROM, did local sys update then without reboot, inside Magisk flashed Recovery zip. Even then slot a ROM, doesn't boot
Click to expand...
Click to collapse
Maybe try unrooting by flashing the stock boot.img. You can get the boot.img for 9.5.4 here.
Hey guys,
so first of all I wanna let you know that my device is not bricked or something (it was a couple of times though).
But let's get started with my issue. For me, personally, I have experienced that the slot system (A/B Slot) doesn't work that good. I had a OnePlus 3T before and I never had any problems with flashing, but now...
My impression is that it's a lot easier to brick its' device than before. Every time I want to flash a new OS I gotta use the msmtool.
1. I boot to recovery mode through the OS
2. I boot to fastboot trough the OOS stock recovery
3. I try to flash TWRP to erase the system
4. Flashing works, but I can no longer boot into recovery mode
5. I have a bootloop (fastboot mode only)
6. I have to use that msmtool
7. I have some old OOS (9.5.5 or something)
8. I unlock the bootloader through the OS & fastboot
9. I boot into TWRP, delete everything and flash another ROM
10. Everything works and the cicle begins again​
I really don't know why I'm always stuck in that bootloop... Maybe you guys could help me and give me your personal opinion on the slot system?
I totally know that feeling. I started with a tmo op7p, flashed international, unlocked bootloader, try to boot TWRP, and nope. Switch slot, it works. Flash it, great. Make a backup with TWRP of my working system, flash ROMaur, won't do anything but boot to TWRP. Open TWRP file manager and every file on internal storage is a ton of folders with jumbled strings of letters and numbers for names. MSM tool back to intl stock, try lineage... Nope. Keeps telling me to do a factory reset. I did, but I do another and still boot loop. MSM to intl, try other roms, same outcome.
I can unlock my bootloader and root it and run intl stock but that's it.
oxadedzn said:
Hey guys,
so first of all I wanna let you know that my device is not bricked or something (it was a couple of times though).
But let's get started with my issue. For me, personally, I have experienced that the slot system (A/B Slot) doesn't work that good. I had a OnePlus 3T before and I never had any problems with flashing, but now...
My impression is that it's a lot easier to brick its' device than before. Every time I want to flash a new OS I gotta use the msmtool.
1. I boot to recovery mode through the OS
2. I boot to fastboot trough the OOS stock recovery
3. I try to flash TWRP to erase the system
4. Flashing works, but I can no longer boot into recovery mode
5. I have a bootloop (fastboot mode only)
6. I have to use that msmtool
7. I have some old OOS (9.5.5 or something)
8. I unlock the bootloader through the OS & fastboot
9. I boot into TWRP, delete everything and flash another ROM
10. Everything works and the cicle begins again
I really don't know why I'm always stuck in that bootloop... Maybe you guys could help me and give me your personal opinion on the slot system?
Click to expand...
Click to collapse
Doing it wrong.
If you are currently rooted and a new OS comes out you can do the following and you don't need to flash with TWRP or use a computer.
1. Download the full OTA. You can use Oxygen updater to do that or use a link in the stock ROM section on this site.
2. Make sure you have the Magisk and the TWRP zip on the phone.
3. Do a local update in the system area but do not reboot.
4. Launch Magisk manager and select install.
5. Use the OTA install option to inactive slot.
6. Now you can reboot. You have installed the new OS and root also.
7. Once rebooted do another local install. This will install in the slot that you were just running. It will fail the first time, but work the second time.
8. Repeat 4.
9. Repeat 5.
10 . Repeat 6.
You now have both slots with the same OS and rooted.
If you want to install TWRP.
Launch Magisk and install the TWRP zip.
Reboot into recovery. This is important because you cannot boot in slot with TWRP unless Magisk in installed.
Now flash the Magisk image file.
Now in TWRP select the other slot and reboot into recovery.
In recovery install Magisk image to this slot.
Now you have TWRP and Magisk in both slots.
I have done it that way since 9.5.7 and have not had an issue.
tech_head said:
Doing it wrong.
If you are currently rooted and a new OS comes out you can do the following and you don't need to flash with TWRP or use a computer.
1. Download the full OTA. You can use Oxygen updater to do that or use a link in the stock ROM section on this site.
2. Make sure you have the Magisk and the TWRP zip on the phone.
3. Do a local update in the system area but do not reboot.
4. Launch Magisk manager and select install.
5. Use the OTA install option to inactive slot.
6. Now you can reboot. You have installed the new OS and root also.
7. Once rebooted do another local install. This will install in the slot that you were just running. It will fail the first time, but work the second time.
8. Repeat 4.
9. Repeat 5.
10 . Repeat 6.
You now have both slots with the same OS and rooted.
If you want to install TWRP.
Launch Magisk and install the TWRP zip.
Reboot into recovery. This is important because you cannot boot in slot with TWRP unless Magisk in installed.
Now flash the Magisk image file.
Now in TWRP select the other slot and reboot into recovery.
In recovery install Magisk image to this slot.
Now you have TWRP and Magisk in both slots.
I have done it that way since 9.5.7 and have not had an issue.
Click to expand...
Click to collapse
Irrelevant ISH, but ever had that one bootloop where it only bootloops at the "Warning Bootloader unlocked screen" constantly? When I try to access fastboot, it'll just go straight to recovery without even waiting for input (to my luck, of course, until I had to uninstall magisk in full, reinstall, make sure TWRP was reflashed and did the "Fix recovery bootloop", though that wasn't the seemingly the issue). The issue got resolved, but it was very scary for that to have happened as soon as i enabled sudohide (I always had it work, but with huge problems, but never enough to bootloop me to death)
JhinCuatro said:
Irrelevant ISH, but ever had that one bootloop where it only bootloops at the "Warning Bootloader unlocked screen" constantly? When I try to access fastboot, it'll just go straight to recovery without even waiting for input (to my luck, of course, until I had to uninstall magisk in full, reinstall, make sure TWRP was reflashed and did the "Fix recovery bootloop", though that wasn't the seemingly the issue). The issue got resolved, but it was very scary for that to have happened as soon as i enabled sudohide (I always had it work, but with huge problems, but never enough to bootloop me to death)
Click to expand...
Click to collapse
If you install TWRP on a 7 Pro without installing Magisk you will absolutely boot loop. If you wipe the system in one slot and have a differing ROM from the active slot you can in fact boot loop. Although the systems are different, the settings between the systems are shared.
Sorry to say, but nothing about those steps is correct. Follow some guides in the guides section to get aquatinted with the A/B system
Arden144 said:
Sorry to say, but nothing about those steps is correct. Follow some guides in the guides section to get aquatinted with the A/B system
Click to expand...
Click to collapse
You are absolutely incorrect.
When going from 9.5.10 to 9.5.11 and all my previous upgrades it has been:
1. Local install of the new OS with a full OTA since I am rooted.
2. Do not reboot.
3. Install Magisk to inactive slot.
4. Reboot (Slot will automatically switch to the one recently updated).
5. Local install of OS into the other slot, fails first time, do it again.
6. Install Magisk into inactive slot.
7. Reboot. (Slot will switch to recently updated slot).
8. Both slots now have latest OS and are rooted.
You can also install TWRP if you like.
No computer needed.
This works.
tech_head said:
You are absolutely incorrect.
When going from 9.5.10 to 9.5.11 and all my previous upgrades it has been:
1. Local install of the new OS with a full OTA since I am rooted.
2. Do not reboot.
3. Install Magisk to inactive slot.
4. Reboot (Slot will automatically switch to the one recently updated).
5. Local install of OS into the other slot, fails first time, do it again.
6. Install Magisk into inactive slot.
7. Reboot. (Slot will switch to recently updated slot).
8. Both slots now have latest OS and are rooted.
This works.
Click to expand...
Click to collapse
That's completely unnecessary and just avoiding the purpose of the a/b system.
All it would take is:
1. Local install
2. Install magisk to inactive slot
I ran into a problem with my phone the other day. I ended up having the use the MsmDownloadToolV4.0InternationalVersionOxygenOS5.1.5 to restore to stock. After updating to 9.0.9, I kept having trouble installing TWRP. After messing with it for days, I discovered that though I have 9.0.9 installed on my phone, if I switch slots, I have 10 installed on that slot. I'm thinking that when I'm installing TWRP, it's having a problem because I have two different version installed on the phone. Is that possible? Some of the guides I've seen indicate that when you boot to TWRP, then flash it through recovery, it somehow flashes both slots. If that's the case, it would only be the right version of TWRP for one slot, not the other. I'm so confused.
I'm trying to get both slots to be 10 so I can try OmniROM or LineageOS. But at this point, I'd be happy if I could get twrp installed and my phone rooted. I've literally been trying to get TWRP installed for three days straight. It fails every time.
Try to flash OOS 10 with this tool https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
You can save your data by removing the "-w" from the bat file when flashing it but try the tool and it should install empty both slots and install OOS 10.
Xenomorphs said:
Try to flash OOS 10 with this tool https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
You can save your data by removing the "-w" from the bat file when flashing it but try the tool and it should install empty both slots and install OOS 10.
Click to expand...
Click to collapse
Thank you. I'll try that. I've already lost my data. Luckily, I made a backup not long before this.
Well, that worked, but.....
When I switched over to the other slot, that would no longer boot. Both slots did boot correctly right before I ran flash-all.bat. After doing that, the second one just sat on the spinning boot logo. I don't understand why what I do on slot B should impact what's going on with slot A.
Yippee38 said:
Well, that worked, but.....
When I switched over to the other slot, that would no longer boot. Both slots did boot correctly right before I ran flash-all.bat. After doing that, the second one just sat on the spinning boot logo. I don't understand why what I do on slot B should impact what's going on with slot A.
Click to expand...
Click to collapse
Did you try the flasher with "-w" or without? Also, see if you can uninstall magisk from your phone. And try to go into stock recovery mode and resetting the system data and stuff. (not your data)
I just screwed up when attempting an update. I had the update downloaded but did not install it.
Then I continued to install the A/B retention script and Magisk to the inactive slot and rebooted.
Now my phone fails to boot, and gets stuck continuously loading.
Is there something I can do in TWRP to resolve this?
You can try to flash the Magisk uninstaller in TWRP and see if it fixes your issue. Maybe you lost root on one partition and some Magisk modules that are still installed are putting your phone into a bootloop.
I'm unable to mount any partitions to get the uninstaller zip on my device. I was able to sideload the zip however the Magisk Installer was also unable to mount partitions.
Edit: I changed the slot from B -> A in TWRP then rebooted and it resolved this!
Mgssidley said:
I'm unable to mount any partitions to get the uninstaller zip on my device. I was able to sideload the zip however the Magisk Installer was also unable to mount partitions.
Edit: I changed the slot from B -> A in TWRP then rebooted and it resolved this!
Click to expand...
Click to collapse
Was just about to suggest that, glad you resolved it but you still have a broken slot, you should be able to fix it by flashing the rom, flashing TWRP and magisk, change slot and repeat. You might need a usb drive attached as changing the slot will usually made the data partition not visible so you won't see your files if they're on the phone.
To be honest, I thought flashing the stock rom will flash it to both slots (it shows this during flash) so I'm not sure what you did that broke it.
djsubterrain said:
Was just about to suggest that, glad you resolved it but you still have a broken slot, you should be able to fix it by flashing the rom, flashing TWRP and magisk, change slot and repeat. You might need a usb drive attached as changing the slot will usually made the data partition not visible so you won't see your files if they're on the phone.
To be honest, I thought flashing the stock rom will flash it to both slots (it shows this during flash) so I'm not sure what you did that broke it.
Click to expand...
Click to collapse
I'm actually on stock and doing an OTA update. After it booted up I was able to install the update, A/B retention script, and Magisk (to inactive slot). It rebooted successfully after that, should I still be concerned about a broken slot?
Edit: On closer look, Magisk did not install properly and I'm unable to access internal storage from TWRP to reinstall it.
Mgssidley said:
I just screwed up when attempting an update. I had the update downloaded but did not install it.
Then I continued to install the A/B retention script and Magisk to the inactive slot and rebooted.
Now my phone fails to boot, and gets stuck continuously loading.
Is there something I can do in TWRP to resolve this?
Click to expand...
Click to collapse
You didn't install the ota but you installed magisk to inactive slot?