Unable to install any custom roms... - Google Pixel Questions & Answers

I have flashed stock from googles web site and I have tried everything I can to get a custom rom back on this device. I have tried everything. every thing I do just boots to regular google. But I can flash twrp, and magisk on stock and it works. OEM is unlocked but as soon as I flash a rom then twrp and sign it, it says its successful for everything but when I boot to system it just reboots a couple times then boots but up to stock. Any one have any ideas?

KingAroan said:
I have flashed stock from googles web site and I have tried everything I can to get a custom rom back on this device. I have tried everything. every thing I do just boots to regular google. But I can flash twrp, and magisk on stock and it works. OEM is unlocked but as soon as I flash a rom then twrp and sign it, it says its successful for everything but when I boot to system it just reboots a couple times then boots but up to stock. Any one have any ideas?
Click to expand...
Click to collapse
This is normal. Your custom ROM is flashing to the opposite slot your on. When your done u need to reboot to bootloader and boot twrp then install TWRP again and install verified boot signer zip. If not just going to loop once and boot to the slot that works

mac796 said:
This is normal. Your custom ROM is flashing to the opposite slot your on. When your done u need to reboot to bootloader and boot twrp then install TWRP again and install verified boot signer zip. If not just going to loop once and boot to the slot that works
Click to expand...
Click to collapse
I will try that's next time. I just went through hell trying get back on the RR ROM and rooted with magisk. But I finally got it haha. Took about 20 stock flash's to get it finally working

KingAroan said:
I will try that's next time. I just went through hell trying get back on the RR ROM and rooted with magisk. But I finally got it haha. Took about 20 stock flash's to get it finally working
Click to expand...
Click to collapse
Yea once you do it a couple of times you will have it down. Just remember from May bootloader's on, you have to use that VBS zip. Also keep track of what slot your on when your flashing

mac796 said:
Yea once you do it a couple of times you will have it down. Just remember from May bootloader's on, you have to use that VBS zip. Also keep track of what slot your on when your flashing
Click to expand...
Click to collapse
I still don't get the slot thing. I was figuring that slot a was stock and slot b was any custom rom guess that wrong

KingAroan said:
I still don't get the slot thing. I was figuring that slot a was stock and slot b was any custom rom guess that wrong
Click to expand...
Click to collapse
No there the same. You can put whatever on either one. There for normal use. seamless updates they call it I believe.

KingAroan said:
I still don't get the slot thing. I was figuring that slot a was stock and slot b was any custom rom guess that wrong
Click to expand...
Click to collapse
The different slots are for seamless updates. If you're using the stock rom and taking OTA's, the OTA gets flashed to whatever slot is currently inactive. It used to be when you did an OTA, the OTA got downloaded and then you'd be prompted to reboot to install the update. When you rebooted, the update would get installed but you had to sit and wait for it to install before you could use your phone again. With the two slots, it now downloads the update and installs it to the inactive slot while you continue to use your phone. Eventually you get prompted to reboot but instead of having to wait for it to install, it just reboots like any other time you reboot the phone and there is no wait for the update to install. It's already installed. When it reboots, it switches to the slot that was previously inactive because that's where the update is installed to. So, if you're on slot A when the update is downloaded and installed, you'll be using slot B after you reboot. The next month when the update comes out, it will get installed to the other slot again and you'll once again be using slot A and so on and so on for every month after that.
For a custom rom, they can be installed on either slot. It just depends on which slot is currently active. If slot A is the slot that's currently active, TWRP will flash the rom to slot B. If B is active, the rom will get flashed to A. Anything else gets flashed to the slot that is currently active (SuperSU, Vendor files or what have you). That's why after flash the rom, you have to reboot the phone (either reboot to recovery or the OS) before flashing the rest of whatever it is you want to flash. If you don't reboot before flashing SuperSU or whatever, it won't get flashed to the same slot the rom got flashed to and obviously, this causes issues. Bottom line is, slot A or B, it has nothing to do with whether it's a stock or custom rom. Whichever slot is inactive when you flash a rom is the slot the rom will end up on.

robocuff said:
The different slots are for seamless updates. If you're using the stock rom and taking OTA's, the OTA gets flashed to whatever slot is currently inactive. It used to be when you did an OTA, the OTA got downloaded and then you'd be prompted to reboot to install the update. When you rebooted, the update would get installed but you had to sit and wait for it to install before you could use your phone again. With the two slots, it now downloads the update and installs it to the inactive slot while you continue to use your phone. Eventually you get prompted to reboot but instead of having to wait for it to install, it just reboots like any other time you reboot the phone and there is no wait for the update to install. It's already installed. When it reboots, it switches to the slot that was previously inactive because that's where the update is installed to. So, if you're on slot A when the update is downloaded and installed, you'll be using slot B after you reboot. The next month when the update comes out, it will get installed to the other slot again and you'll once again be using slot A and so on and so on for every month after that.
For a custom rom, they can be installed on either slot. It just depends on which slot is currently active. If slot A is the slot that's currently active, TWRP will flash the rom to slot B. If B is active, the rom will get flashed to A. Anything else gets flashed to the slot that is currently active (SuperSU, Vendor files or what have you). That's why after flash the rom, you have to reboot the phone (either reboot to recovery or the OS) before flashing the rest of whatever it is you want to flash. If you don't reboot before flashing SuperSU or whatever, it won't get flashed to the same slot the rom got flashed to and obviously, this causes issues. Bottom line is, slot A or B, it has nothing to do with whether it's a stock or custom rom. Whichever slot is inactive when you flash a rom is the slot the rom will end up on.
Click to expand...
Click to collapse
Holy ****, i didnt know that part, i just thought it flashed it to your current slot and when you rebooted into system, the slot didnt change.....brb but first a quick titanium backup

Related

Can't switch boot partition without a bootloop

Hello,
(how) can I get my Google Pixel to such a state where I choose in TWRP Slot A and I get a rooted system and if I choose Slot B in TWRP I get a stock unrooted version?
Reason behind is that I have some few apps that don't like the root like Banking Apps. This way I could do backups / restores with Titanium Backup but still use the TAN App after a simple reboot.
I installed today sailfish-nmf26u-factory, twrp-3.0.2-0-RC1 and SuperSU-v2.79-SR2. If I boot Slot A (was active during TWRP and SuperSU Install) then I can boot and have a rooted system. If I choose Slot B I get a bootloop. Luckily I can switch back to Slot A for the moment.
Cheers
Cheers. I did this days ago too, everything seems fine but for both system, I lost the ability to access developer option
bush911 said:
Cheers. I did this days ago too, everything seems fine but for both system, I lost the ability to access developer option
Click to expand...
Click to collapse
Have you tried tapping the build number repeatedly again until it shows up?
Yes I did. Something wrong with userdata, wipe userdata and fixed it
dtrud0h said:
Have you tried tapping the build number repeatedly again until it shows up?
Click to expand...
Click to collapse
There's already a few threads on here talking about it.
aholeinthewor1d said:
There's already a few threads on here talking about it.
Click to expand...
Click to collapse
Hey, don't want to complain but I could not find such a thread one week ago so I created this one. Can you give me a link?
Thank you!
KobiP
KobiP said:
Hey, don't want to complain but I could not find such a thread one week ago so I created this one. Can you give me a link?
Thank you!
KobiP
Click to expand...
Click to collapse
Totally understandable that these public forum threads can get jumbled up quickly. It's noone's fault; it's just the natural course of an ask-and-answer dialog. You'll find the discussions of your question loosely in just about every thread here -- mostly in the kernels threads, the TWRP thread, or the SU one, and many debates in every ROM discussion as well. I believe I demonstrated what you're trying to achieve in one of the first pages of the WETA ROM thread. There's also one fairly new specific thread on this on the Pixel XL side, but that one isn't very well-participated because I think most folks are tired of talks about the Pixel's dual slot system. However, I would look at the kernel threads, especially the Sakete one because Android Pay availability was the whole intention of his compiling that kernel. Or you can also compile your own kernel.
In practice, what you want to do is:
Make sure both slots are bootable.
In TWRP, know which slot you're on, install a kernel that is SafetyNet-patched in that slot, SU the other slot you wish to root. That's all.
You wrote slot B is boot looping. That indicates that you installed something that overwrote its boot image. Keep in mind that SU, TWRP, and kernel reside in Nougat's boot. To get slot B bootable again, I'd suggest you flash the stock boot.img back to that slot. Or you can use the flash-all.bat that's modified to skip restoring slot A.
Or, you can simply use the unmodified flash-all.bat to put everything back. Remove the -w switch if you don't want to lose data. Then install TWRP, boot the phone from both slots once. Install a new kernel to the slot you want to use AP. Root the other slot.
BTW, most banking apps work on rooted phones. They haven't jumped on the SafetyNet train yet. My PennyMac, PNC, Chase, Amex apps work.
quangtran1 said:
You wrote slot B is boot looping. That indicates that you installed something that overwrote its boot image. Keep in mind that SU, TWRP, and kernel reside in Nougat's boot. To get slot B bootable again, I'd suggest you flash the stock boot.img back to that slot. Or you can use the flash-all.bat that's modified to skip restoring slot A.
Or, you can simply use the unmodified flash-all.bat to put everything back. Remove the -w switch if you don't want to lose data. Then install TWRP, boot the phone from both slots once. Install a new kernel to the slot you want to use AP. Root the other slot.
Click to expand...
Click to collapse
Hey,
tnx for your advice. I think the Issue is somewhere else.
Try One, Slot A Active:
I executed flash-all.bat without the "-w" and then said fastboot set_active b and fastboot reboot bootloader. I can read "Boot-slot b". If I try to boot now I get a bootloop and after a few cycles I can boot. adb reboot bootloader and voila, back to "Boot-slot a". Now Slot B is broken
Try Two, Slot B Active:
Same, I executed flash-all.bat without the "-w" and then said fastboot set_active a. Reboot, see that slot A is active and then I get stuck in a bootloop. After a while I am booting to Android but this time in Slot B. Now Slot A is broken.
quangtran1 said:
BTW, most banking apps work on rooted phones. They haven't jumped on the SafetyNet train yet. My PennyMac, PNC, Chase, Amex apps work.
Click to expand...
Click to collapse
True, but my Push TAN App doesn't work, it simply crashes when starting the App and the Browser opens with a help page that says that I can't use this App on rooted phones... I tried to open the app now after the flash-all.bat and it opens just fine.
Cheers
Hello,
I tried again with sailfish-nof27b Version. This time I did not change the flash-all.bat so that it will reset my phone.
Then I flashed the latest SW to my phone (Slot A active). I can boot into Android and my phone is reset. Now I boot to the bootloader, switch to Slot B and get a bootloop. After a while it automatically switches back to Slot A and boots.
If I do run again flash-all.bat with Slot B active I can boot Slot B but not Slot A (bootlooping).
How can I get both Slots back to work on my phone?
Cheers
KobiP said:
Hello,
I tried again with sailfish-nof27b Version. This time I did not change the flash-all.bat so that it will reset my phone.
Then I flashed the latest SW to my phone (Slot A active). I can boot into Android and my phone is reset. Now I boot to the bootloader, switch to Slot B and get a bootloop. After a while it automatically switches back to Slot A and boots.
If I do run again flash-all.bat with Slot B active I can boot Slot B but not Slot A (bootlooping).
How can I get both Slots back to work on my phone?
Cheers
Click to expand...
Click to collapse
You can flash all the factory firmware u want if u don't use the modified command, like the guy said in the above post your not going to boot into that other slot.
Read this thread
https://forum.xda-developers.com/pixel/help/dual-booting-t3507924/post69834495#post69834495
mac796 said:
You can flash all the factory firmware u want if u don't use the modified command, like the guy said in the above post your not going to boot into that other slot.
Read this thread
https://forum.xda-developers.com/pixel/help/dual-booting-t3507924/post69834495#post69834495
Click to expand...
Click to collapse
Hey,
your linked post works amazing! Thank you very very much! Only thing to add is to flash a certain Slot (A/B) it must be active first. But now I can boot both Slots!

Full OOS 9.5.2-> 9.5.4 not possible after rooting

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.

OnePlus 7 Pro Flashing doesn't work properly

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'm so confused. Two version of OOS installed

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)

can't switch slots and TWRP is gone.

Hi there!
i tried to flash TWRP, but eventually it got me to these problems:
1: there is no TWRP at all anymore, in slot A it just shows a black screen (no matter if i start system or recovery)
2: i cannot switch to slot B. and when i do, either it starts fastboot right away or it just restarts immediately and loads slot A again.
i tried to flash different TWRP versions to both slots, but no result.
what should i do?
anyone?!
Hi, what os you wanted to flash?... cause it feels like you Android is gone now...can you boot twrp from adb?try it...if you dont know how to do it...just ask...and feels like your final way is to use MSM download tool....good louck
And yes last but not least...DONT SWITCH SLOTS FROM TWRP... DON'T DO IT...NEVER...IF YOU NEED TO SWITCH SLOT JUST RESTART TO TWRP AGAIN...AND IF AFTER FLASHING TWRP YOU DONT FLASHED MAGISK YOUR TWRP IS GONE...
So here it is...your problem...read it...you switched slots manually...that is your problem...
James Blode said:
So here it is...your problem...read it...you switched slots manually...that is your problem...
Click to expand...
Click to collapse
so basically i have no other option but to flash it and wipe all data

Categories

Resources