Question Flash custom rom + revert to stock (EU-variant) - OnePlus 9

I want to try to flash a custom rom, LineageOS or EvolutionX on my device. I miss the Pixel-feel… However I am not very familiar with this on OnePlus-devices. I know my way around unlocking and Fasboot. But if I don’t like the rom I try, how can I easily get back to stock? I see that there is no MSM-tool out for the EU variant, so that seems to be a no-go.
Is it possible to simply reflash stock OOS through fastboot after being on custom rom? This was how I did things on Pixel.

I guess you have only one option called MSM TOOL

Related

[Q] Noob question about S-OFF, Recovery, the new Firmware, and staying rooted

I'm on Viper 1.8. I've had my M8 since release.
I want to go to the new release, and I need to update my firmware to do it. The instructions are a big wall of text, but here's what I understand
Flash a stock ROM (Lose root)
Flash a stock recovery (lose custom recovery, DUH)
get HTC's OTA update (closes me off to certain exploits)
Flash custom recovery (Is S-OFF the one and only prerequisite to do this?)
Flash new Viper ROM (Have I missed anything?)
Am I missing anything? I understand that by being stock, I won't be rooted, although that doesn't affect S-OFF. So once I'm stock, because I'm S-OFF, I can still flash a custom recovery, and therefor flash the rooted Venom ROM, right? I know how to use ADB, so I'm not a complete idiot. It's just that things are so different with different phones. I have had motorolas (bootstrapping tools), Samsungs (Odin, etc.)... it's hard to keep up with these different security systems and tools that each manufacturer puts in place.
based on the research I've done, I've found this http://forum.xda-developers.com/ver...m-stock-rooted-vzw-ota-2-21-605-2-wp-t2874699 But because it's already the new update, I'm not getting the new firmware.
I've found this http://forum.xda-developers.com/showthread.php?t=2723159 But I have no god damn clue which one is the one I need. Also, there is potential for bugs and incompatibility by having some but not all of the newest firmware, kernel, radio, ROM, etc.
I have an old nandroid, so I'll have to load it up and pray that it's a stock nandroid.

[Q] Help upgrading to KKBL. OTA or Flash?

Hi,
It's been years that I've been living with the XT925 on CM11 JBBL and as I've been following latest developments on CM 12.1 and want to give it a try.
I've been searching for the past week on how to safely perform the bootloader upgrade so I can flash CM12.1. As it turns out there is a lot of disperse information on how to do it, followed by scary cases of soft bricked devices.
Current device status:
- Bootloader Unlocked
- Rooted
- CM11 M12 JBBL
- Everything works fine
What I already know:
- I have to Unroot my device
- Need to flash stock 4.1.2
- Must check if everything works once in stock
What I need help:
- Should I download OTA via the stock firmware?
- Should I flash stock recovery?
- Should I perform the update from the device or should I extract the OTA and change something and then flash it manualy?
- Is there any tutorial that I should've found on my searches?
On a sidenote: is there any chance of my bootloader to be relocked and/or loose any chance of future root access due to the OTA?
I believe that as people realise that CM12.1 is stable some noob friendly thread to the ancient JBBL's out there would be much apreciated.
Thanks in advance!
If I were you, I would just flash straight to KK with RSD or House of Moto. If you go this route, you won't need to flash back or reinstall stock recovery. Flashing the FXZ will reinstall stock recovery, but if you use House of Moto you can use an option to flash aftermarket recovery. Flashing shouldn't relock your boot loader, either.
RikRong said:
If I were you, I would just flash straight to KK with RSD or House of Moto. If you go this route, you won't need to flash back or reinstall stock recovery. Flashing the FXZ will reinstall stock recovery, but if you use House of Moto you can use an option to flash aftermarket recovery. Flashing shouldn't relock your boot loader, either.
Click to expand...
Click to collapse
In order to flash straight to KK I need to obtain it via OTA download while in Stock JB.
I haven't found any KK image laying arround, so this might be the only route.
Any other advices will be much apreciated RikRong.
Can you find the firmware on MotoFirmware.com, when it's actually up?
Try this: http://motofirmware.center/files/
dirceucorsetti said:
In order to flash straight to KK I need to obtain it via OTA download while in Stock JB.
I haven't found any KK image laying arround, so this might be the only route.
Any other advices will be much apreciated RikRong.
Click to expand...
Click to collapse
The only one firmware for xt925 available is from Canda Retail, here is the link

Is there a way to revert custom ROM to stock and keep the phone rooted?

Also, how can I tell what were the previous versions of Android that my phone had (STOCK)?
For example: there were several 5.1.1 versions or 5.0. versions - how do I know which one do I need?
Thanks.
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
audit13 said:
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
Click to expand...
Click to collapse
Sorry if I didn't explain myself - my phone is rooted and I have a custom ROM. What I want to do is to go back to stock ROM but keep it rooted.
Thanks.
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
audit13 said:
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
Click to expand...
Click to collapse
So you can't keep it rooted while flashing stock?
And how do you know which versions are for your phone (if I don't want to go back to the latest Marshmallow for example)?
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
audit13 said:
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
Click to expand...
Click to collapse
Yes, I know that I need to Google for factory image, but there are several images with the same release. For example, there are three 5.1.1. (LMY48B, LMY48I and LMY48M). Same with 6.0.0. and 4 X 6.0.1 version. How do you know which one is for my device?
Thanks.
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
wangdaning said:
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
Click to expand...
Click to collapse
Thanks!
Just trying to understand that difference between the different versions, or are these simply system updates, from XXX29K to XXX29S for example?
Changes in the android version 5.0->5.1->6.0 are fairly large system updates. Within 5.1.1 they are security patches.
If you have a rooted phone and talk about flashing, you should know this. Else you are a menace to your phone...
Root is a system modification - if you delete or reinstall the System partition, you'll lose root. But re-root is easy.
I recommend to read tutorials and get some knowledge before trying to root, flash or before asking those questions, where Senior xda-members just shake their heads.
The simple way to do what you seem to want is to back up all your important stuff (photos, etc.), install MMB29V (the latest March 1st 6.0.1 security version), install TWRP 3.0.0.0, and from TWRP flash SuperSU v2.70. It will take slightly longer than it's taken me to type this, but not much...
After that, when a new monthly security version comes out, flash system.img, boot.img & radio.img, and repeat the TWRP & SuperSU steps. No data loss.

Question about bootloader, radio version before flashing.

As a nexus user, I'm not entirely sure if this is relevant, however, I wanted to know does the version of bootloader, radio, and etc. make a difference if I wanted to flash a rom, such as LineageOS on my wife's phone? Do roms flash these? or do I need to flash a factory image before hand?
memphian said:
As a nexus user, I'm not entirely sure if this is relevant, however, I wanted to know does the version of bootloader, radio, and etc. make a difference if I wanted to flash a rom, such as LineageOS on my wife's phone? Do roms flash these? or do I need to flash a factory image before hand?
Click to expand...
Click to collapse
If you're on cos13.1.x,you can flash any nougat ROM directly.

How to update OEM partitions?

How do you update oem/modem/other manufacturer specific partitions if you are on Lineage or another custom rom. Obviously OTA won't work and flashing the recent stock rom is not an option since you would (probably) lose all of your data.
Can you somehow extract those partitions from the stock rom and flash them separately?
mr_keule said:
How do you update oem/modem/other manufacturer specific partitions if you are on Lineage or another custom rom. Obviously OTA won't work and flashing the recent stock rom is not an option since you would (probably) lose all of your data.
Can you somehow extract those partitions from the stock rom and flash them separately?
Click to expand...
Click to collapse
I would leave those alone, unless you have many years of firmware hacking... Everytime I messed with them, they bricked my phone... Not worth it for what you get...

Categories

Resources