How to go back to stock rom from custom rom? - OnePlus 6T Questions & Answers

Hey guys what's the easiest process to going back to stock rom from custom rom?

Getting the MSSDownload tool which allows you to completely relock bootloader and fixes devices that are stuck in a bootloop.
https://forum.xda-developers.com/oneplus-6t/how-to/op6t-collection-unbrick-tools-t3914746
This is the easiest way and only takes around 5 minutes to revert back to OxygenOS.

Depends if you want to relock bootloader in the process. If so, then use the msm tool method. If you just want to flash stock and keep BL unlocked so you can root then just go into twrp, flash OOS img, reboot recovery and tap erase everything from stock recovery and reboot.

Do you want to return to full stock or do you want stock firmware with recovery and root?

demeez said:
Depends if you want to relock bootloader in the process. If so, then use the msm tool method. If you just want to flash stock and keep BL unlocked so you can root then just go into twrp, flash OOS img, reboot recovery and tap erase everything from stock recovery and reboot.
Click to expand...
Click to collapse
I'm currently on Lineage 17.1. If I want downgrade to previous version of OOS Pie or Oreo, can I just flash OOS Pie image directly or should I use the MSM Tool?

risay07 said:
I'm currently on Lineage 17.1. If I want downgrade to previous version of OOS Pie or Oreo, can I just flash OOS Pie image directly or should I use the MSM Tool?
Click to expand...
Click to collapse
Go with Msm tool. Pretty sure you'd brick if you tried to just downgrade OOS via TWRP. Msm tool has the checks removed and all so you can downgrade. That's one thing that makes it special.

risay07 said:
I'm currently on Lineage 17.1. If I want downgrade to previous version of OOS Pie or Oreo, can I just flash OOS Pie image directly or should I use the MSM Tool?
Click to expand...
Click to collapse
You're better off just using msm tool. Going to be a lot simpler.

I'm unlocked running twrp and lineage 17.
Is there a oos zip that's twrp flashable that's bootloader/brick friendly?

swerff said:
I'm unlocked running twrp and lineage 17.
Is there a oos zip that's twrp flashable that's bootloader/brick friendly?
Click to expand...
Click to collapse
Always search first before asking. I didn't make the rules here but that is the BIGGEST part of this whole modding your device deal.
If you are using an international/global (same thing) model OnePlus 6t then just grab 10.3.5 from that repo and it will install through twrp. If you are using a T-Mobile model 6t there a thread in guides section that tells how to convert to global 6t. It's super easy! Then after converted you can flash the global OOS rom. Also there is an app on Google Play Store Oxygen Updater. It can also download the full OOS roms and also incremental updates.
https://forum.xda-developers.com/on...t-global-repo-oxygen-os-builds-t3865396/page7

That's my confusion, searching or not for a flashable zip. I found those, but confused and uncertain which direction to go since I never did the firmware global flash trick. And since so, I'm unable to use the rom from one plus website?
I can't flash or use oos update tool on a t-mobile firmware, I must convert to global? Having a sim/carrier and an unlocked bootloader isn't the same as being converted to global?
I wanted to flash back to oos, but I dont think theres a zip available to do so with t-mobile base firmware.

Related

Upgrading blu_spark TWRP to official for decryption

I have blu_spark TWRP and working root on my international 6T. I would like to upgrade the recovery to the official TWRP now, as file decryption is working now in the official.
Is this the correct process to go from blu_spark to official?
Download the fajita TWRP .img and .zip files (from https://forum.xda-developers.com/oneplus-6t/development/recovery-unofficial-twrp-touch-recovery-t3861482
Connect phone to PC and enter fastboot mode
Boot the .img file
Once in recovery, flash the new .zip file
My plan is to then flash the new Oxygen OS released from OnePlus and then flash Magisk.
Looks okay
However, the flash of the OS in TWRP is not clearly defined. Everyone is waiting for new update to try it in the TWRP... So, basically if you wanna flash it that way, you'll probably be the first.... This could put you in the risk of bricking the device though.
I have just done this. Yes you can boot the unofficial 6T recovery and then flash the installer no problem. However if you were running a OP6 ROM the 6T will not decrypt it, unless Im soing something wrong. On my phone once Im on a OP6 rom like LOS16 I can only use the Blu TWRP, if I go back to stock 6T OOS I have to use the 6T TWRP to decrypt. On either system I can bounce between TWRP versions without issue doing as you said, boot the img, then flash the zip, but I cant view anything. Going back to thr correct TWRP restores data access, no bricking worries that Ive run into personally.
There is no official TWRP yet...
Sent from my OnePlus 6T using Tapatalk
celtic426 said:
I have blu_spark TWRP and working root on my international 6T. I would like to upgrade the recovery to the official TWRP now, as file decryption is working now in the official.
Is this the correct process to go from blu_spark to official?
Download the fajita TWRP .img and .zip files (from https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
Connect phone to PC and enter fastboot mode
Boot the .img file
Once in recovery, flash the new .zip file
My plan is to then flash the new Oxygen OS released from OnePlus and then flash Magisk.
Click to expand...
Click to collapse
I did a post below for the update to Unofficial version with decryption working
https://forum.xda-developers.com/showpost.php?p=78267079&postcount=299
Sent from my OnePlus6T using XDA Labs
Thanks for the replies.
I successfully went from blu_spark TWRP to the newer faijta TWRP which has the option for decrypting.
That allowed me to use the recovery to flash the new OTA OxeygenOS update which I downloaded from oneplus.com.

Unlocking bootloader on Orea update?

I've read around that unlocking the bootloader on the axon 7 with the orea update (B04 on A2017G) isn't gonna work and that I need to roll back to nougat (7.1) and then unlock the bootloader that way and then install TWRP.
I'm a noob and I need some help. All I want is android pie and lineage os 16 on top. So could you guys link me to some easy to follow guides on how to get pie and LOS16?
But first I need to understand why I can't just use ADB right now on the oreo axon 7 and get an unlocked bootloader. Why do I have to roll back to nougat?
B1lal545 said:
I've read around that unlocking the bootloader on the axon 7 with the orea update (B04 on A2017G) isn't gonna work and that I need to roll back to nougat (7.1) and then unlock the bootloader that way and then install TWRP.
I'm a noob and I need some help. All I want is android pie and lineage os 16 on top. So could you guys link me to some easy to follow guides on how to get pie and LOS16?
But first I need to understand why I can't just use ADB right now on the oreo axon 7 and get an unlocked bootloader. Why do I have to roll back to nougat?
Click to expand...
Click to collapse
You're correct on that statement.
You can't unlock the bootloader on Oreo because there is no fastboot support with the Oreo updates. ZTE basically broke another thing. You'll need to EDL flash Nougat 7.1 and then use the EDL Tool or the A7 Toolkit to unlock the bootloader. Afterwards, you can follow the instructions in the LineageOS 16 thread, and flash in this order:
• Flash universal bootstack (Los15.1v2Universal)
• Flash the A2017G Modem
• Flash LOS16 zip
• Flash GApps and/or Magisk
• Reboot to system.
If you get an error whilst trying to flash LOS16 zip, just try flashing it again.
All the guides in the Guides section are outdated.
runninghamster said:
You're correct on that statement.
You can't unlock the bootloader on Oreo because there is no fastboot support with the Oreo updates. ZTE basically broke another thing. You'll need to EDL flash Nougat 7.1 and then use the EDL Tool or the A7 Toolkit to unlock the bootloader. Afterwards, you can follow the instructions in the LineageOS 16 thread, and flash in this order:
• Flash universal bootstack (Los15.1v2Universal)
• Flash the A2017G Modem
• Flash LOS16 zip
• Flash GApps and/or Magisk
• Reboot to system.
If you get an error whilst trying to flash LOS16 zip, just try flashing it again.
All the guides in the Guides section are outdated.
Click to expand...
Click to collapse
Thanks for replying when nobody else did. Since this post was a bit old I went ahead and unlocked the bootloader and installed TWRP with magisk, thinking that I could install Lineage later and first I should obtain root. So I installed magisk through TWRP but now whenever I reboot it just goes straight to TWRP and I don't know how to boot into the phone. Any idea about how I can exit twrp?
B1lal545 said:
Thanks for replying when nobody else did. Since this post was a bit old I went ahead and unlocked the bootloader and installed TWRP with magisk, thinking that I could install Lineage later and first I should obtain root. So I installed magisk through TWRP but now whenever I reboot it just goes straight to TWRP and I don't know how to boot into the phone. Any idea about how I can exit twrp?
Click to expand...
Click to collapse
Magisk doesn't work at all on stock roms unless you use a work-around. The phone not booting is because of that.
For the work-around, check out this thread:
https://forum.xda-developers.com/axon-7/development/kernel-magisk-17-stock-roms-t3856809
BTW, I'm not sure if this works, I've never tried it. The thread is also a bit old.
runninghamster said:
Magisk doesn't work at all on stock roms unless you use a work-around. The phone not booting is because of that.
For the work-around, check out this thread:
https://forum.xda-developers.com/axon-7/development/kernel-magisk-17-stock-roms-t3856809
BTW, I'm not sure if this works, I've never tried it. The thread is also a bit old.
Click to expand...
Click to collapse
could it be a possibility that if I reinstall nougat 7.1 on the phone through TWRP, I'd be able to boot? Or does rooting with magisk completely disable us from installing stock roms without some sort of workaround?
My reasoning is that if the rom installs successfully then I would have booted with magisk in magisk manager and root. Maybe my rom got deleted during this process.
B1lal545 said:
could it be a possibility that if I reinstall nougat 7.1 on the phone through TWRP, I'd be able to boot? Or does rooting with magisk completely disable us from installing stock roms without some sort of workaround?
My reasoning is that if the rom installs successfully then I would have booted with magisk in magisk manager and root. Maybe my rom got deleted during this process.
Click to expand...
Click to collapse
Magisk just prevents the phone from booting. It doesn't delete the rom. If you look in topjohnwu's GitHub page for Magisk, you'll find Magisk Uninstaller right next to where you download Magisk from. Download the Magisk Installer zip, move it over to your phone, and then flash it in TWRP. It'll remove Magisk and you'll be able to boot into your rom again.
runninghamster said:
Magisk just prevents the phone from booting. It doesn't delete the rom. If you look in topjohnwu's GitHub page for Magisk, you'll find Magisk Uninstaller right next to where you download Magisk from. Download the Magisk Installer zip, move it over to your phone, and then flash it in TWRP. It'll remove Magisk and you'll be able to boot into your rom again.
Click to expand...
Click to collapse
Ok I've uninstalled magisk with the latest uninstaller. But now when booting up, the phone is stuck on the "please lock bootloader page" and is not proceeding further. Given that I can still use TWRP, should I just follow the LOS 16 pie instructions and install the bootstack, modem, Gapps and the zip file?
I could root the phone by flashing magisk once I'm done flashing these things right?
B1lal545 said:
Ok I've uninstalled magisk with the latest uninstaller. But now when booting up, the phone is stuck on the "please lock bootloader page" and is not proceeding further. Given that I can still use TWRP, should I just follow the LOS 16 pie instructions and install the bootstack, modem, Gapps and the zip file?
I could root the phone by flashing magisk once I'm done flashing these things right?
Click to expand...
Click to collapse
Yeah, go ahead and flash Los 16.
Flash your bootstack and modem, and reboot to recovery from TWRP. The TWRP version will have changed. You need to flash latest TWRP image again, use Orden 3.2.3-0 TWRP from LOS 15/16 thread. After that, reboot to recovery and continue with the rest of the steps.
You can flash Magisk whenever you'd like, hell you could even flash it 1 year after running Los 16 haha.
runninghamster said:
Yeah, go ahead and flash Los 16.
Flash your bootstack and modem, and reboot to recovery from TWRP. The TWRP version will have changed. You need to flash latest TWRP image again, use Orden 3.2.3-0 TWRP from LOS 15/16 thread. After that, reboot to recovery and continue with the rest of the steps.
You can flash Magisk whenever you'd like, hell you could even flash it 1 year after running Los 16 haha.
Click to expand...
Click to collapse
You are my saviour. You've helped me so much. But I'm scared of bricking so please don't be annoyed by me when I ask for confirmation.
So basically I installed the vendor partition using party from @Oki like the LOS 16 guide required.
But now as to the things you told me to do.
First I'll install the universal bootstack for LOS and my model specific modem from https://androidfilehost.com/?w=files&flid=270519
Once both are flashed my TWRP version will have changed so I will flash the latest version of TWRP again using fastboot
Then I'll go on ahead and install LOS 16 and GApps
THANK YOU SO MUCH IN ADVANCE.
B1lal545 said:
You are my saviour. You've helped me so much. But I'm scared of bricking so please don't be annoyed by me when I ask for confirmation.
So basically I installed the vendor partition using party from @Oki like the LOS 16 guide required.
But now as to the things you told me to do.
First I'll install the universal bootstack for LOS and my model specific modem from https://androidfilehost.com/?w=files&flid=270519
Once both are flashed my TWRP version will have changed so I will flash the latest version of TWRP again using fastboot
Then I'll go on ahead and install LOS 16 and GApps
THANK YOU SO MUCH IN ADVANCE.
Click to expand...
Click to collapse
That's correct. Go ahead with the flash, you're welcome for the help
runninghamster said:
That's correct. Go ahead with the flash, you're welcome for the help
Click to expand...
Click to collapse
YAAAAAAAAAYYYY!!!
I just installed LOS 16 and everything seems to be working fine.
But the thing is I downloaded and flashed magisk through TWRP, and the installation went fine. When I booted into LOS even the magisk manager was installed.
But when I installed the root verification app from playstore, it said that the device was not rooted. Any advice? Other than that it feels so good to finally be on a custom ROM. Thanks for your help.
I wish you success and happiness from the bottom of my heart.
runninghamster said:
That's correct. Go ahead with the flash, you're welcome for the help
Click to expand...
Click to collapse
Nevermind hahahahah. I checked another app. I'm rooted, forgot to grant Superuser permissions the first time.
Again thank you so much and I apologize if I was overbearing or annoying. You really helped me out and made this process much less painful than it could've been.

[update] how to update OOS 5.0.2 to current - Root

Hi all,
I once tried to update my rooted onePlus 5 (Magisk) to the latest oxygen os version, and lost everything. (with a corrupted Nandroid backup haha)
Since then, I've been pretty careful not to update anything, OTA isn't working anyway.
But now is about time to update it all.
I have flashfire, and Oxygen Updater (currently downloading OOS 5.1.4)
My question, before I go any further is:
If I download ALL the updates on Oxygen Updater and then flash them with flashfire (flash ZIP & OTA --> Select downloaded firmware --> proceed), I should be able to gradually flash all the new update until OOS 9.0.2, Keep root, and more importantly, Keep ALL my data, apps and all.
Is that correct? Does anyone have a proper flashfire walkthrough?
I'm a bit hesitant as someone seems to have had issues with Magisk as per below source's comment
source: https://forums.oneplus.com/threads/...with-flashfire-bonus-tip-oneplus-3-3t.621501/
Thanks!
To upgrade from Oreo non-treble to latest
- From TWRP, flash OxygenOS 5.1.4, Magisk and all the other mods and boot up once (to create vendor partition)
- From TWRP, flash OxygenOS 9.0.8, Magisk, all the other mods and a Pie-capable TWRP
PierreVicquery02 said:
To upgrade from Oreo non-treble to latest
- From TWRP, flash OxygenOS 5.1.4, Magisk and all the other mods and boot up once (to create vendor partition)
- From TWRP, flash OxygenOS 9.0.8, Magisk, all the other mods and a Pie-capable TWRP
Click to expand...
Click to collapse
And that will NOT erase any of my data?
Is it not possible to do it with flashfire? I don't have TWRP anymore I think..
Thanks!
mattou78400 said:
And that will NOT erase any of my data?
Is it not possible to do it with flashfire? I don't have TWRP anymore I think..
Thanks!
Click to expand...
Click to collapse
I actually don't know what flashfire is.
You will not lose data in theory, but it's a good thing to make a backup

What is update process for OP6T 9.0.16 > 10.3.3 rooted [Global]

I have OP6T OxygenOS 9.0.16 and I would like to update it to the latest 10.3.3 with root.
What should be my process of doing so? I have not been in touch with rooting for the past 3 years so I don't want to mess things up. Another note is that while I am on OxygenOS 9.0.16 I tried to root it which was failed, but now few banking and calling apps such as TextNow thinks that my phone is rooted and they can not run -- but my phone is not properly rooted according to root verification apps.
Please tell me how should I do the update to the latest version from this point and then I would like to unlock bootloader and install recovery and root it as well.
Please advice.
BTW my OP6T is global
a4abbas said:
I have OP6T OxygenOS 9.0.16 and I would like to update it to the latest 10.3.3 with root.
What should be my process of doing so? I have not been in touch with rooting for the past 3 years so I don't want to mess things up. Another note is that while I am on OxygenOS 9.0.16 I tried to root it which was failed, but now few banking and calling apps such as TextNow thinks that my phone is rooted and they can not run -- but my phone is not properly rooted according to root verification apps.
Please tell me how should I do the update to the latest version from this point and then I would like to unlock bootloader and install recovery and root it as well.
Please advice.
BTW my OP6T is global
Click to expand...
Click to collapse
Hello,
Here is a link that will help you out with this update process:
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
a4abbas said:
I have OP6T OxygenOS 9.0.16 and I would like to update it to the latest 10.3.3 with root.
What should be my process of doing so? I have not been in touch with rooting for the past 3 years so I don't want to mess things up. Another note is that while I am on OxygenOS 9.0.16 I tried to root it which was failed, but now few banking and calling apps such as TextNow thinks that my phone is rooted and they can not run -- but my phone is not properly rooted according to root verification apps.
Please tell me how should I do the update to the latest version from this point and then I would like to unlock bootloader and install recovery and root it as well.
Please advice.
BTW my OP6T is global
Click to expand...
Click to collapse
Flash OOS full rom zip on both slots using TWRP also flash TWRP installer zip on both slots reboot recovery flash magisk reboot system. Easy peasy.
Example:
Boot recovery: fastboot boot twrp.img
flash OOS 10.3.3 full rom zip
flash TWRP installer zip, reboot recovery,
flash OOS 10.3.3 full rom zip, format data, wipe data,
flash TWRP installer zip
Reboot recovery, flash magisk,
reboot system.
Note: I use a USB stick. I flash magisk zip off my USB stick.
That's what I do when I use OOS on my 6t far as installation goes.
Edited
flash713 said:
Flash OOS full rom zip on both slots using TWRP also flash TWRP installer zip on both slots reboot recovery flash magisk reboot system. Easy peasy.
Example:
Boot recovery: fastboot boot twrp.img
flash OOS 10.3.3 full rom zip
flash TWRP installer zip, reboot recovery,
flash OOS 10.3.3 full rom zip, format data, wipe data,
flash TWRP installer zip
Reboot recovery, flash magisk,
reboot system.
Note: I use a USB stick. I flash magisk zip off my USB stick.
That's what I do when I use OOS on my 6t far as installation goes.
Edited
Click to expand...
Click to collapse
Are you sure there is no need to update to 9.0.17 and then 10.3.3?
I've asked once and someone said that 9.0.17 is neccessary before update to 10.3.x.
Also there is option to flash from system without losing magisk modules:
1. Flash manually from update center (do not reboot)
2. Enter magisk and flash to another slot (after OTA)
3. Flash TWRP installer like magisk module
4. Reboot
But I'm not sure if I remember it correctly.
Michalec said:
Are you sure there is no need to update to 9.0.17 and then 10.3.3?
I've asked once and someone said that 9.0.17 is neccessary before update to 10.3.x.
Also there is option to flash from system without losing magisk modules:
1. Flash manually from update center (do not reboot)
2. Enter magisk and flash to another slot (after OTA)
3. Flash TWRP installer like magisk module
4. Reboot
But I'm not sure if I remember it correctly.
Click to expand...
Click to collapse
10.3.3 is all that you need. 9.0.17 isn't the only way anymore.
Michalec said:
Are you sure there is no need to update to 9.0.17 and then 10.3.3?
I've asked once and someone said that 9.0.17 is neccessary before update to 10.3.x.
Also there is option to flash from system without losing magisk modules:
1. Flash manually from update center (do not reboot)
2. Enter magisk and flash to another slot (after OTA)
3. Flash TWRP installer like magisk module
4. Reboot
But I'm not sure if I remember it correctly.
Click to expand...
Click to collapse
I have a T-Mobile SIM unlock OnePlus 6t and I converted it to an international model so when my conversation was done I was on OOS 9.0.1.1 and I booted TWRP and installed 10.3.4 full rom on both slots and also recovery installer and all just like my previous posts stated and everything went fine. I used mauronofrio's TWRP the version just before the latest 3.4xx when I did this.
I always download quite a bit of various firmwares and also TWRP versions before I start flashing things just in case something goes wrong I already have other things maybe I can use and I don't have to stop and wait for some download to finish... And I'm quite sure you know this but definitely make a backup of everything beforehand to USB or transfer it to your pc just in case you end up needing it as a precaution.
Edit added:
I am assuming that you already unlocked your bootloader... I believe everyone knows to do that that's on XDA forums before you can do anything to any device .. I say this after reading post below me here. I guess I should have said that earlier but I just assume everyone knows that on the forums... My bad. ??
From fastboot on Linux PC:
sudo fastboot oem unlock (then hit enter on keyboard) use volume keys to move to unlock option and your Power button to select it and confirm. For more info see: https://www.xda-developers.com/oneplus-6t-unlock-bootloader-root/
Super easy to unlock bootloader just remember it does wipe your device clean so move anything to want to PC or USB stick first...
I would think you could just update oxygenOS to latest then re-root no? Assuming your already bootloader unlocked which it seems like would be the case if you have an obsolete magisk installation.
Edit: re-reading your post maybe it is not unlocked as you failed to root. In this case just unlock then flash the latest fastboot image and then magisk as others have already stepped you through. You will lose data when you unlock so backup first.
So if I'm on 9.0.16 I could flash latest OOS directly from TWRP and then flash magisk? And no data loss? Of course I'm rooted with bootloader unlocked.
Oh dear this process is getting harder because recently I was busy doing other things it sounds way harder it actually is. Isnt there a way I pay someone on this forum so that user help me do this. Like download stuff links and proper version and follow me up with it because i want to do this without messing things up!
a4abbas said:
Oh dear this process is getting harder because recently I was busy doing other things it sounds way harder it actually is. Isnt there a way I pay someone on this forum so that user help me do this. Like download stuff links and proper version and follow me up with it because i want to do this without messing things up!
Click to expand...
Click to collapse
It is indeed a tough job. This A/B partition has had a lot of people bootloop/soft bricked their phones.
However, you need not pay anybody anything. If you are on stock, I would've recommended you upgrading it via Oxygen updater (a 3rd party app on the play store) and then using the latest recoveries (TWRP 3.4) and flashing it via Fastboot mode.
It is super easy.

How to flash OxygenOS via fastboot or TWRP?

Hi, my device is currently without an OS after a full wipe. I have fastboot access and latest 3.6 TWRP recovery.
Can someone please share the link to last updated Android 10 OxygenOS stock ROM and how to flash it?
Also, how can I root via Magisk after installing OOS?
myblessayu said:
Hi, my device is currently without an OS after a full wipe. I have fastboot access and latest 3.6 TWRP recovery.
Can someone please share the link to last updated Android 10 OxygenOS stock ROM and how to flash it?
Also, how can I root via Magisk after installing OOS?
Click to expand...
Click to collapse
Curious why you want a10? The latest oos is a11. You just flash the zip for oos in twrp. It will replace your recovery so always reflash twrp after if you want it. Magisk can also be installed from twrp.
Brettroth said:
Curious why you want a10? The latest oos is a11. You just flash the zip for oos in twrp. It will replace your recovery so always reflash twrp after if you want it. Magisk can also be installed from twrp.
Click to expand...
Click to collapse
Wasn't my device so had to go with A10. Was able to install OS, recovery and root using THIS thread.
Thanks for the response anyway!

Categories

Resources