Android 10 & Custom ROM & Slot A + B - OnePlus 6 Questions & Answers

Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
First Time Install / Clean Flash
- Have OOS 10.3 flashed to both slots!!
- Boot to recovery
- Flash BUILD.zip (TWRP built-in)
- Wipe Cache
- Format data
- Reboot to recovery (optional)
- Flash Magisk.zip (optional)
- Reboot to system & #KeepEvolving
Click to expand...
Click to collapse
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.

roel1976 said:
Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.
Click to expand...
Click to collapse
Hi!
I had this exact same problem a couple months ago. Rebooting to recovery used to change slots for me, but then it stopped.
What you can do is change active slot manually on Reboot section. By doing this, you don't even have to reboot to recovery in other to flash the other slot (altough I do it just to be safe).
And remember: the rom is flashed on the inactive slot, so after the final flash you gotta change slots one more time.

When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.

Thanks for the info, it really helps.
One question: in your experience can you wipe your phone and then installl OOS on the wiped phone?

So I just booted into TWRP, did standard wipe action: Data, Cache, and Dalvik. I then try to flash the latest OOS zip and I then get this error:
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)
Updater process ended withL ERROR: 1.
Error installing zip file: '/usbstorage/00, INSTALL/OnePlus6Oxygen_22_OTA_044_all_2002220042_a46425f1bfe43d2.zip
FIXED: I was using TWRP 3.3.1.11 and I then found out there was a newer version: 3.3.1.18 which you can get here: https://sourceforge.net/projects/mauronofrio-twrp/files/Enchilada/
I am now able to install OOS from scratch (ie wiped phone).

remewer said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.

harshybar said:
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.
Click to expand...
Click to collapse
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.

remewer said:
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.
Click to expand...
Click to collapse
When you say local update you mean while I am running the rom, go to settings then do update from local source?

harshybar said:
When you say local update you mean while I am running the rom, go to settings then do update from local source?
Click to expand...
Click to collapse
Exactly

GuestD2559 said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
@Cypher_01, Try this guide. This worked for me. I did not reinstall Nikgapps. Maybe that's where the problem lies? Don't forget to change the update slot at the end before you restart.​

Related

ROM Flashing Sequence

I've successfully unlocked bootloader, rooted (Magisk) and installed TWRP Blu Spark on my Oneplus 6.
The next step is to flash a custom ROM, but I keep running into the instruction "Flash Rom and TWRP Installer (blu_spark)", no matter what custom ROM I'm looking at.
Is it really necessary to reflash TWRP right after the ROM, or can I skip that step since Blu Spark TWRP is already on my phone?
Borat38 said:
I've successfully unlocked bootloader, rooted (Magisk) and installed TWRP Blu Spark on my Oneplus 6.
The next step is to flash a custom ROM, but I keep running into the instruction "Flash Rom and TWRP Installer (blu_spark)", no matter what custom ROM I'm looking at.
Is it really necessary to reflash TWRP right after the ROM, or can I skip that step since Blu Spark TWRP is already on my phone?
Click to expand...
Click to collapse
You need to reflash TWRP everytime you flash a rom becuase recovery partition does not more exist and recovery is integrated in boot.img
1. Wipe everything except internal storage in TWRP.
2. Flash OOS 9.0.X in twrp and flash twrp zip
3. Now reboot to twrp and repeat step 2.
4. Now flash your rom + twrp zip and reboot to twrp.
5. Flash Gapps, magisk or any other zip you want.
You should be good now.
Apachyx said:
1. Wipe everything except internal storage in TWRP.
2. Flash OOS 9.0.X in twrp and flash twrp zip
3. Now reboot to twrp and repeat step 2.
4. Now flash your rom + twrp zip and reboot to twrp.
5. Flash Gapps, magisk or any other zip you want.
You should be good now.
Click to expand...
Click to collapse
AH! Now that's the secret sauce--flashing 2x. The guides just indicate once, which is probably why when I restart, there's no OS and I get kicked back to TWRP. Thank you sir!! :good:
Can someone explain why I have to format internal data? My guess is the encryption key is changing. And I have no pin or password when I flash.
RUNNERX said:
Can someone explain why I have to format internal data? My guess is the encryption key is changing. And I have no pin or password when I flash.
Click to expand...
Click to collapse
Your guess is correct. Encryption. It has nothing to do with FP, or code. It's Googles securety patches basically. If you don't want to format look in the decrypt guide and run in decrypted.

100% proper way to install roms?

Hi
In every rom thread I see about a million different answers on how to properly install the rom. Usually the official instructions are very vague. I've been flashing roms for years but this ab partition is very confusing to me. I just got my oneplus 6 a few days ago. It would be great if someone very knowledgeable in how to do this could make a how to guide for both stock and custom roms. I think it would really help everyone and threads for each rom wouldn't be full of people asking it over and over (and getting different answers). Thank you devs for all that you do.
Custom if you don't know if you have the recommend base installed to both slots:
Flash OOS
Flash twrp
Reboot to twrp
Flash OOS
Flash twrp
Reboot to twrp
Wipe data, dalvik cache
Flash custom
Flash twrp
Reboot to twrp
Flash gapps
Flash magisk
Boot system
Custom update:
Flash updated custom rom
Flash twrp
Reboot to twrp
Flash gapps (not needed, but updated gapps is most likely better to use anyhow..)
Flash magisk.
From custom back to OOS:
Info: Format data needed because you will trigger encryptionsince you're on different securety patch. This is also the same way to go from beta branch of oos to stable since the securety patches is lower (in general) on stable.
How to:
Boot twrp
Plug phone in to pc and take backup of everything
When done format data
Transfer oos, twrp, magisk to phone
Flash oos
Flash twrp
Reboot to twrp
Flash magisk
Update oos from... Let's say 9.0.4 to 9.0.5
From Twrp:
Flash oos
Flash twrp
Reboot to twrp
Flash magisk
Boot
From oos:
Use ota update, let it install until it asks you to reboot.. DON'T DO IT.
instead go to magisk and search for "a/b" one module will be found, install it. DON'T REBOOT
Go to main screen of magisk and press install, install, install to inactive slot (after ota) when it's done you can reboot.
General ****ups:
Don't boot after update?
Flash magisk uninstaller
Try to boot (yes.. Without magisk)
If it boots you know it was magisk issue, most likely you had substratum overlays installed or modules that messed it up.
Reboot to twrp and flash magisk again and set up your modules one by one or apply themes or whatever you do with your root.

Oneplus 7 Pro can install updates anymore

Hello xda-comunity
I'm unable to install the oxygenos update 9.5.8 GM21BA
So I was following this guide to unlock my bootloader and root my phone with magisk.
( https://www.google.com/amp/s/www.xda-developers.com/unlock-bootloader-root-oneplus-7-pro/amp/ )
All went well. I got the notification that there is a new update (see above)
In the guide there was a step - by - step instruction on how to update the phone and keep root. I did that.
And now when try to install the update I get a bootloop into recovery. I figured out that the op7pro is a 2 slot phone ( slot a, slot b) and when I install a update it sets the for example slot b (where the update is installed) as default.
So when something goes wrong it just loads up the "previous" slot (in this example slot a) as default again and says that the update failed to install. Correct me if I'm wrong .
And now to the my problem, the phone doesn't load on slot b nor does it default back to slot a, instead I get a recovery bootloop when I'm in slot b.
The fix here is to flash twrp via fastboot and load slot a again, my phone then boots up like normal.
And here is the problem I can't install the update because I probably messed up slot b.
I know it's a long post and I appreciate every possible answer. Thanks in advance.
Wipe Data, Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and other zips like roms or kernels
Reboot system
This will install on both slots
whatthekj said:
Wipe Data, Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and other zips like roms or kernels
Reboot system
This will install on both slots
Click to expand...
Click to collapse
Thanks for the quick response I will try that as soon as I'm home from work. How do I find the ota? Can I download it? Or is it saves in a folder on the phone? Because I downloaded it like 3 times now.
jollyjumper2000 said:
Thanks for the quick response I will try that as soon as I'm home from work. How do I find the ota? Can I download it? Or is it saves in a folder on the phone? Because I downloaded it like 3 times now.
Click to expand...
Click to collapse
Use this thread https://forum.xda-developers.com/oneplus-7-pro/how-to/oneplus-7-pro-global-repo-oxygen-os-t3930585 and download the correct OTA for your phone. Copy it to the root of your phone then flash it in TWRP and follow the steps I gave you.
whatthekj said:
Wipe Data, Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and other zips like roms or kernels
Reboot system
This will install on both slots
Click to expand...
Click to collapse
On step 3 do I need to flash the rom new? even tho if i keep it stock? or do you mean the ota?
jollyjumper2000 said:
On step 3 do I need to flash the rom new? even tho if i keep it stock? or do you mean the ota?
Click to expand...
Click to collapse
Sorry I worded that oddly.
If you want to keep it stock then:
Wipe Data (Optional but recommended), Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the OTA, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and/or kernels (Step is optional)
Reboot system
If youre installing a custom ROM like Havoc then:
Wipe Data, Dalvik.
Flash the OTA, ROM then TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash GApps and Magisk (Step is optional)
Reboot system
whatthekj said:
Sorry I worded that oddly.
If you want to keep it stock then:
Wipe Data (Optional but recommended), Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the OTA, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and/or kernels (Step is optional)
Reboot system
If youre installing a custom ROM like Havoc then:
Wipe Data, Dalvik.
Flash the OTA, ROM then TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash GApps and Magisk (Step is optional)
Reboot system
Click to expand...
Click to collapse
No need to say sorry i´m so greatful for your help.
thanks again
whatthekj said:
Sorry I worded that oddly.
If you want to keep it stock then:
Wipe Data (Optional but recommended), Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the OTA, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and/or kernels (Step is optional)
Reboot system
If youre installing a custom ROM like Havoc then:
Wipe Data, Dalvik.
Flash the OTA, ROM then TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash GApps and Magisk (Step is optional)
Reboot system
Click to expand...
Click to collapse
Ok so I flashed the ota and twrp installer and rebooted into recovery
but now I cant find the ota and twrp installer files in the root folder. Maybe bec I´m on slot b now?
I dont know how to flash it the second time
Can i flash it from ADB on the PC? Because i flashed it from twrp. when yes what are the commands for it?
jollyjumper2000 said:
Ok so I flashed the ota and twrp installer and rebooted into recovery
but now I cant find the ota and twrp installer files in the root folder. Maybe bec I´m on slot b now?
I dont know how to flash it the second time
Can i flash it from ADB on the PC? Because i flashed it from twrp. when yes what are the commands for it?
Click to expand...
Click to collapse
You can drag the files back into the root of your phone and flash them on the other slot. You could ADB fastboot but just dragging the zips to your phone is easier in my opinion.
whatthekj said:
You can drag the files back into the root of your phone and flash them on the other slot. You could ADB fastboot but just dragging the zips to your phone is easier in my opinion.
Click to expand...
Click to collapse
Sorry if Iam stupid but is that how it works?
I flash the zips on slot a then reboot to boot into slot b to flash it there again?
Because I dont get it, am I missing something here?
Edit: Seems like I Bootloop into recovery on slot b.
jollyjumper2000 said:
Sorry if Iam stupid but is that how it works?
I flash the zips on slot a then reboot to boot into slot b to flash it there again?
Because I dont get it, am I missing something here?
Edit: Seems like I Bootloop into recovery on slot b.
Click to expand...
Click to collapse
Yes you flash on both slots. If youve already flashed both then flash magisk and reboot to system. It should take about 10min to boot so dont worry.
Edit: If youre getting a bootloop or having bugs then follow this https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-f to get back to stock international
Then follow https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322 then flash Magisk and reboot
This is ONLY if you cannot get it to boot after updating
whatthekj said:
Yes you flash on both slots. If youve already flashed both then flash magisk and reboot to system. It should take about 10min to boot so dont worry.
Click to expand...
Click to collapse
Ok but how do i do that when slot b is empty?
I dont know how to put files on slot b.
When I switch slots I have to reboot.
I can only boot into system on slot a.
whatthekj said:
Yes you flash on both slots. If youve already flashed both then flash magisk and reboot to system. It should take about 10min to boot so dont worry.
Edit: If youre getting a bootloop or having bugs then follow this https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-f to get back to stock international
Then follow https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322 then flash Magisk and reboot
This is ONLY if you cannot get it to boot after updating
Click to expand...
Click to collapse
Your link gets me to the front page of the Oneplus 7 pro Guides, News, etc....
It should've taken you to the Fastboot thread. Look at this one instead https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
Alright i flashed the ROM new
Was able to install the newest ota just perfect.
Kept it unrooted, I think I'm gonna let it unrooted because of all the work I have to do Everytime a new ota comes (maybe later when the phone is older)
Thank you so much for your help.

Can't install LineageOS

Hi
I have problems to install LineageOS on my new OnePlus6. I tried to install LineageOS with the guide on https://wiki.lineageos.org/devices/enchilada/install. If I follow the guide exactly step by step no OS is starting and I can't boot into recovery because (I think) twrp isn't installed (just black screen with blue led). But also if I first boot twrp with fastboot boot 'twrp.img' and after install the twrp.zip, no OS is starting after sideload or flash the 'lineageos.zip'. I think, the install doesn't finish correct. In the terminal on my debian I can see, that the installprocess ends at 47%. But I'm not really shure if this is the problem and if it is, how I can solve it. Probably in this thread the same problem is described: https://forum.xda-developers.com/oneplus-6/help/lineage-doesnt-boot-black-screen-light-t3958351 Unfortunately no solution is available in the thread.
Now I flashed the stockrom (https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665) and have done all updates but don't know how I can install twrp and after LineageOS. I hope somebody can help me. Thanks
Do you have the latest ADB version? Instead of sideloading you can try just transferring the zip files (with e.g. "adb push lineageos.zip /sdcard/") and then installing directly from TWRP.
Make sure you do all the wipes / formats mentioned in the guide. Transfer and flash the lineageos.zip. Then directly after you should flash the twrp.zip Then reboot back into recovery and flash Magisk / Gapps etc if needed. Then finally reboot to system.
Also read this guide if you haven't already as it explains a lot about how flashing ROMs on OnePlus 6 is different to many other older phones.
Hi and thank you makeyourself
I tried the following steps:
1. starting fastboot
2. fastboot boot twrp-3.3.1-2-enchilada.img -> twrp starting up
3. adb push twrp-installer-3.3.1-2-enchilada.zip /sdcard/ -> transfer ok
4. adb push lineage-16.0-20190922-nightly-enchilada-signed.zip /sdcard/ -> transfer ok
5. in twrp Wipe -> Format Data
6. in twrp Advanced Wipe -> System
7. in twrp install lineage-16.0-20190922-nightly-enchilada-signed.zip
8. in twrp install twrp-installer-3.3.1-2-enchilada.zip
9. reboot to recovery
After this steps I got the same problem as before. Before the reboot to recovery, twrp showed the message "no OS installed". So I think, the zip weren't installed correctly. Now, I have the black screen with the blue led. Can you find out what I did wrong?
Edit: Now, I can't also boot twrp. Also if I do a fastboot boot twrp-3.3.1-2-enchilada.img nothing happens.
Fastboot to twrp (newest blu spark should be fine, or black twrp)
Flash twrp zip
Reboot to twrp
Wipe data, cache.
Flash recommended oos
Flash twrp
Reboot to twrp
Flash recommended twrp (yes...... Again)
Flash twrp (yes... Again, recovery is lost after rom Flash ALWAYS)
Reboot to twrp
Flash LOS or any other custom rom
Flash twrp (rom Flash, so twrp is lost like I said)
Reboot to twrp
Flash magisk (IF ypu want magisk)
Flash gapps (IF ypu want gapps)
Flash kernel (IF I like to run another custom kernel)
Boot
Enjoy
Thank you whizeguy, I'll try this. But just one question about "Flash recommended oos". Which OxygenOS can I flash (this full OTA? https://www.xda-developers.com/oneplus-6-oneplus-6t-oxygenos-9014-906/) and why I have to do this? Sorry if it is a bad question.
You Flash The oxygen OS version that is recommended in Los thread, simple as that.
You have an a/b device, vendor partition (could be other files needed aswell, not 100 % sure) is needed to Flash custom, IF you did Amy research you'd finns some good info. Also for faster answers in The future: post your issue in the thread for LOS, that way you would get help from People Who uses it, knows The exact version you should use and what not
Hey whizeguy, thank you very much. Everything works perfect now. But why for heaven's sake do I have to flash oos and why the guide on the LineageOS site don't tell me this way?
Wow idk what happened here. Mistakenly replied to this thread. Apologies.

Possibly bricked my poco f2 pro, is there a way to fix this?

Hi all.
Today I unlocked my phone to flash the crDroid rom. First I went into fastboot to flash mauro's twrp and that worked fine. Then I flashed the miui 12.0.3 full stock image from twrp, which might have been a mistake since I flashed the full image instead of an extracted vendor / firmware version. Then I wiped system, cache and data and flashed twrp but when I tried to boot the phone it went into an infinite boot screen. Then I wiped and flashed the whole stock miui image again in the hope that I would at least be able to boot miui but that also failed, since the phone kept booting back to recovery and there was no boot screen at all.
I have also tried flashing the stock image (ver 12.0.6) from fastboot but it fails because of the anti rollback check error. The image I tried to flash has an antirollback version of 0 while my phone has a version of 1, so "current device antirollback version is greater than this package" is what I got. Now my options are very limited because for some reason my laptop can't access the file system of the phone so I can't transfer files to the phone anymore and the ADB sideload feature from twrp is not working, so I only have fastboot (adb also won't recognize my device). What can I do to save my phone? Any help is greatly appreciated.
Flash the MIUI with MiFlash.
Had sort of the same issue...
Try using adbfastboot tool ( it's a java programme ) to swap recoveries.
I got the bootloop after installing the LOS recovery , installed twrp from adbfastboot tool and got it working.
Nice to have working recovery but since adb sideload is broken in twrp i needed LOS recovery.
Tried to reflash the LOS recovery from the tool and this time it worked
Flash with Miflash (the latest version https://xiaomiflashtool.com/ option CLEAN ALL) the rom that was on your phone when you bought it.
For the roms It is better to flash firmwares with Miflash because TWRP is not 100% functional.
grt67DFqyu said:
Flash the MIUI with MiFlash.
Click to expand...
Click to collapse
Man I can't believe such a simple suggestion would work but it did thanks! Initially I did not flash with miflash because it prompted me to install drivers and it crashed when I clicked the install button, turns out all I had to do was create a folder named log in the miflash directory lol. So flashing the stock image works. And it definitely boots correctly to miui with the clean all and lock option.
But now when I try to flash crdroid or pixel experience I still end up with an infinite boot screen even when using exactly the specified firmware :/ Like you see crdroid and pixelexp boot animations correctly but it lasts forever. I must be doing something wrong with the firmware still because that's the only reason I can think of why it won't boot. After I flash the firmware in miflash I don't have to boot miui up first right? I'm using the 'save user data' option in miflash if that matters.
In my post, I specified CLEANALL, but anyway, you must format data before flashing.
Which rom do you want to install Cdroid or Pixel?
NOSS8 said:
In my post, I specified CLEANALL, but anyway, you must format data before flashing.
Which rom do you want to install Cdroid or Pixel?
Click to expand...
Click to collapse
I'm now trying to flash crdroid. After flashing V12.0.3.0.QJKMIXM in miflash with flash_all, I formatted data in twrp (the one where you have to type yes) but also with a decrypt & normal factory reset I still get the same result. After the format, I flashed crdroid without magisk and gapps, and it'll just hang on the crdroid boot screen :/. The weird thing is, before I flash the crdroid rom it can boot in MIUI just fine and it'll show that it's indeed the correct 12.0.3.0 in the settings so I have no idea if it's just the crdroid ROM at this point.
Flash with miflash V12.0.3.0.QJKMIXM reboot system and go fasboot when affiche "devices is locked",flash chinesse twrp ,reboot twrp,format data reboot twrp,wipe all ecxept OTG reboot twrp,flash Cdroid format data,reboot twrp flash gapps,reboot system( take time ).
NOSS8 said:
Flash with miflash V12.0.3.0.QJKMIXM reboot system and go fasboot when affiche "devices is locked",flash chinesse twrp ,reboot twrp,format data reboot twrp,wipe all ecxept OTG reboot twrp,flash Cdroid format data,reboot twrp flash gapps,reboot system( take time ).
Click to expand...
Click to collapse
This ended up working perfectly Crdroid is now running like a charm with gapps and magisk. Thank you guys a lot for helping me out with this!

Categories

Resources