How to flash oxygen os when coming from lineage - OnePlus 7T Pro (Regular & McLaren) Q & A

Hi everybody,
I have followed several guides here and after trying 2 different methods and read other tutorials, there is no way to root my op7t pro (actually with last version lineage os). Also add that I have the phone unlocked and lineage recovery.
So, I thought maybe it should be easier to flash again oxygen os, then obtain root with method payload dumper and finally flash again lineage.
Nevertheless, I didn't find any guide about this process, could you please shed some light about this point?
Thanks in advance

Soul_Viper said:
Hi everybody,
I have followed several guides here and after trying 2 different methods and read other tutorials, there is no way to root my op7t pro (actually with last version lineage os). Also add that I have the phone unlocked and lineage recovery.
So, I thought maybe it should be easier to flash again oxygen os, then obtain root with method payload dumper and finally flash again lineage.
Nevertheless, I didn't find any guide about this process, could you please shed some light about this point?
Thanks in advance
Click to expand...
Click to collapse
What methods have you tried?
What is your logic for going back to oos and rooting, then installing lineage again? You won't retain root this way.

Hw4ng3r said:
What methods have you tried?
What is your logic for going back to oos and rooting, then installing lineage again? You won't retain root this way.
Click to expand...
Click to collapse
Tried this one:
[Updated/All Versions & Models!] Root OnePlus 7T Pro
How to root any version of the OnePlus 7T Pro! 1. Make sure your bootloader is unlocked! 2. Once you're unlocked enter the following ADB commands to extract your current boot image (Your phone needs to be on) adb shell dd...
forum.xda-developers.com
Also this another one:
[Magisk][ROOT][EdXposed]Auto install tool - Magisk Installer for OnePlus 7T Pro
#include /* * * We are not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included...
forum.xda-developers.com
So finally, after reading and seeing that basically all the rooting methods consider the phone is on oxygen os and can't find any real way to root from custom rom, I have considered the best option was going back to stock rom and start all the fu... process again

Soul_Viper said:
Tried this one:
[Updated/All Versions & Models!] Root OnePlus 7T Pro
How to root any version of the OnePlus 7T Pro! 1. Make sure your bootloader is unlocked! 2. Once you're unlocked enter the following ADB commands to extract your current boot image (Your phone needs to be on) adb shell dd...
forum.xda-developers.com
Also this another one:
[Magisk][ROOT][EdXposed]Auto install tool - Magisk Installer for OnePlus 7T Pro
#include /* * * We are not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included...
forum.xda-developers.com
So finally, after reading and seeing that basically all the rooting methods consider the phone is on oxygen os and can't find any real way to root from custom rom, I have considered the best option was going back to stock rom and start all the fu... process again
Click to expand...
Click to collapse
So when you are on a custom rom and have it booted. You install magisk manager. Then you take the boot.img from the rom zip or payload from that rom. Next put it on the storage of your phone. Open magisk manager and select install then patch boot omg and select it on your storage. It will generate a patched image in your downloads folder. After that copy the patched image back to your computer and put it in your fastboot tools folder. Open cmd prompt in your fastboot folder. Reboot your phone to fastboot mode. In the cmd prompt type fastboot flash boot (name of patched boot image).img then reboot your phone and you should be rooted

Related

Guide Rooting REALME U1 [Without Recovery]

(PM me if i made a typo)
Procedure :
Step 1 : Update to the latest software update
Step 2 : Unlock bootloader ( c.realme.com/in/post-details/1110451594350034944)
Step 3: install Magisk Manager (magiskmanager. com)
Step 4: Flash Modded Boot.img (Using Fastboot)
Code:
fastboot flash boot boot.img
To boot into Bootloder to use Fastboot
Code:
adb reboot-bootloader
Software vertion Required: RMX1831EX_11_C.16 (Release date: 11/12/2019)
Download : mega.nz/#!ZchUEQCR!-6k1AIHIyK-oIeec3BOgsXMK4PT18qnrDycM4zyKkFA
FAQ
Dose this Work?
Ans: Yes. (i own this devise and worked for me)
Will this get Updates?
Ans: Yes. Depending on feedback i might stop
Why did i post a method for rooting this devise when their are 4 other threads doing the same?
Ans: because all those other methods did not work for me.(if they do pm me i will DELETE this thread)
PM me if you have any problems or need help or if i posted it in the wrong thread (I couldn't find my devise thread)
Thx if someone could make one
DONT USE
Method 2Bootless Root Method (MTK-SU)) (No longer works (causes kernel panic after the latest update))
Advantage : you don't need 2 unlock ur devise
Credits :
magiskmanager and realme
Status : Stable
Disclamer (just for courtesy) I will help u if anything hapens
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software. (realme devises will not lose thare warranty )
I have also successfully rooted Realme Q2 UI1.0 android 10, but when Q2 updated UI2.0 android 11, rooting using that old method failed. So please ask if there is a way to achieve the goal of rooting Realme Q2 UI2.0 android 11 with good results? Thank you!

[Guide][Stock][Recovery] Stock Recovery for OnePlus Nord

Code:
#include <std_disclaimer.h>
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you're getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
I have extracted Stock Recovery for OnePlus Nord, Currently tested in Indian Version. EU and Global users please test it if you can.
There are two methods to restore stock recovery TWRP or Fastboot
Requirements:
- Working ADB and Fastboot (e.g. Google's Platform Tools)
- TWRP Backup or Stock Recovery
Steps for TWRP:
- Download archive from AFH
- Extract the content of archive, There will be a folder named 'BACKUPS'.
- Paste 'BACKUPS' directly into TWRP folder in your Internal Storage.
- Boot into TWRP and restore the recovery partition.
- Reboot
- Profit
Steps for Fastboot
- Download Recovery image from AFH
- Open terminal in your ADB folder
- type "adb reboot bootloader"
- Copy stock recovery image you have downloaded to your ADB folder
- type "fastboot flash recovery <file-name>.img where filename is the name of img file you have downloaded.
- Reboot
- Profit
Mirrors:
TWRP Backup
Recovery Image
I have extracted the backup by booting into TWRP and backing up the recovery partition. The img file has been extracted from my device with dd command.
Enjoy.
Reserved
**Reserved**
im in PixelExperience rom i want to go back to oxygen os can i do this method? or i will use msm tools?
Did somebody check the recovery with the EU model?
Or maybe have the EU recovery....
(I want to go full stock OOS11 after the Pixel Experience)
JD00 said:
Did somebody check the recovery with the EU model?
Or maybe have the EU recovery....
(I want to go full stock OOS11 after the Pixel Experience)
Click to expand...
Click to collapse
You can do it through unbrick tool for EU region. Unbrick tool for EU is only with android 10. You can flash it firstly and after that update to android 11.
Where can I get the "unbrick tool for EU region"?
robdg80 said:
Where can I get the "unbrick tool for EU region"?
Click to expand...
Click to collapse
Here

How To Guide [GUIDE][STOCK][FULL-ROM] How to flash OxygenOS_11.3_A.15 EU DN2103

/*
* Your warranty is... still valid!
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research before asking or use anything on this thread.
*/
OxygenOS 11.3 A.15 EU Full Stock Firmware for OnePlus Nord 2​​Requirements :​
ADB & Fastboot + Google & MTK drivers
Partitionsbackupper ( @Raygen )
A.15 Firmware ( @AssoDiPicche )
Instructions :
Download the .zip and the latest version of PartitionsBackupper.
Download A.15 Firmware, extract it and put all files in the PartitionsBackupper folder.
Reboot your phone in fastboot mode (Power off, than power button + volume down)
Run PartitionsBackupper.bat, choosing the restore option, to flash all partitions with fastboot.
I reccomend to do a full data format with the stock recovery before going back messing around. It usually wipes better than TWRP.
Type on command line "fastboot flashing lock"
Enjoy your brand new OPNord2.
Credits:
@Raygen (For PartitionsBackupper)
@AssoDiPicche (To die with this phone for two days)
AssoDiPicche said:
/*
* Your warranty is... still valid!
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research before asking or use anything on this thread.
*/
OxygenOS 11.3 A.15 EU Full Stock Firmware for OnePlus Nord 2​​Requirements :​
ADB & Fastboot + Google & MTK drivers
Partitionsbackupper ( @Raygen )
A.15 Firmware ( @AssoDiPicche )
Instructions :
Download the .zip and the latest version of PartitionsBackupper.
Download A.15 Firmware, extract it and put all files in the PartitionsBackupper folder.
Reboot your phone in fastboot mode (Power off, than power button + volume down)
Run PartitionsBackupper.bat, choosing the restore option, to flash all partitions with fastboot.
I reccomend to do a full data format with the stock recovery before going back messing around. It usually wipes better than TWRP.
Type on command line "fastboot flashing lock"
Enjoy your brand new OPNord2.
Credits:
@Raygen (For PartitionsBackupper)
@AssoDiPicche (To die with this phone for two days)
Click to expand...
Click to collapse
now I try to do the operation
The file it's in the same folder. Where i wrong?
Cugno83 said:
The file it's in the same folder. Where i wrong?
Click to expand...
Click to collapse
Change your ADB tool. try "Tiny ADB and Fastboot".
Ok, i restored all and lock bootloader. the guide is not really step by step, but it can work with a minimum of knowledge
Cugno83 said:
Ok, i restored all and lock bootloader. the guide is not really step by step, but it can work with a minimum of knowledge
Click to expand...
Click to collapse
please send me pm and tell me what you did!
Can i reflash stock oxygenOS rom and return completely stock without locking the bootloader? I flashed elixir, but the wifi doesn't work, so i would like to turn on stock, maybe doing root and installing magisk, viper ecc... Is there a complete oxygen that i can flash with maybe sideload on twrp or things like that?
Andrea17982 said:
Can i reflash stock oxygenOS rom and return completely stock without locking the bootloader? I flashed elixir, but the wifi doesn't work, so i would like to turn on stock, maybe doing root and installing magisk, viper ecc... Is there a complete oxygen that i can flash with maybe sideload on twrp or things like that?
Click to expand...
Click to collapse
If you use this, you must unlock bootloader and install twrp aftet that.
I did it, and the bat told me he flashed everything without problem, but then it rebooted me to twrp, and my bootloader is still unlocked, but most importantly, when i go "reboot system" it stays on oneplus logo and no os start... So I'm semi bricked now without OS, at least I have twrp to make some experiment... ideas? I retry the same thing?
Edit: the phone booted... with Elixir OS (?) so nothing changed, still my wifi and bluetooth don't work...
Andrea17982 said:
I did it, and the bat told me he flashed everything without problem, but then it rebooted me to twrp, and my bootloader is still unlocked, but most importantly, when i go "reboot system" it stays on oneplus logo and no os start... So I'm semi bricked now without OS, at least I have twrp to make some experiment... ideas? I retry the same thing?
Edit: the phone booted... with Elixir OS (?) so nothing changed, still my wifi and bluetooth don't work...
Click to expand...
Click to collapse
Try ask in "nord 2 community" telegram group. They are really helpful.
Try to press 1 botton. And use image of dn2103.zip
Don't try restore your backup file. Try restore file unzipped of a.15 firmware, and you return to stock and lock bootloader
Hi! I have a some problem! The first part of the firmware is fine, and after a reboot this happens
Same problem here.
Error with flashboot command.
Please put the "PartitionsBackup" folder with all the partition images in the same directory of this script.
----------------------------------------
Errors were detected while running the script.
You can find the error logs in the "PBlog.txt" file.
Press any key to continue . . .
I have tried this and it worked, partly. The process stopped on flashing vendor and nothing happened for hours. So I disconnected the phone and it boots fine. I can set up everything, but updates fails. It's now on A15 and will not update. I have also tried to lock the bootloader again, but then the phone won't boot at all, something about an error to boot/system. If I unlock the bootloader, it works again.
Something is clearly wrong here. How can I restore my device back to full working stock again?
I was on A17 before installing TWRP + PixelExperience Rom. But when I wanted to return to stock all hell broke loose
jadajada said:
I have tried this and it worked, partly. The process stopped on flashing vendor and nothing happened for hours. So I disconnected the phone and it boots fine. I can set up everything, but updates fails. It's now on A15 and will not update. I have also tried to lock the bootloader again, but then the phone won't boot at all, something about an error to boot/system. If I unlock the bootloader, it works again.
Something is clearly wrong here. How can I restore my device back to full working stock again?
I was on A17 before installing TWRP + PixelExperience Rom. But when I wanted to return to stock all hell broke loose
Click to expand...
Click to collapse
Any luck?
shivbizle said:
Please put the "PartitionsBackup" folder with all the partition images in the same directory of this script.
----------------------------------------
Errors were detected while running the script.
You can find the error logs in the "PBlog.txt" file.
Press any key to continue . . .
Click to expand...
Click to collapse
I've got the same error! Trying to restore my phone from a PixelExperience overheating and camera nightmare
Should I "Read Partitions" in mtkclient only the ones that are present in mtkclinet and not the A.15 firmware file?
Thanks a lot, this really saved me!
After flashing I got error: "The current image(boot/recovery have been destroyed and can not boot."
And here is how I got around that:
It was possible to boot into fastboot mode only after shutting down the phone first. (from recovery)
And then pressing the key combination while powering up.
Then I ran "fastboot flashing unlock" to get around that "error with fastboot command".
and then I flashed boot and vbmeta with the fastboot command. After that It finally booted.
Then I locked the bootloader and installed all the updates.

[RECOVERY][3.6.0-11][RMX1931]Unofficial TWRP for RUI2 - Realme X2 Pro (Stable)

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM/Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Working Features:
- Decryption Works
- Backup works
- Wipes Work
- MTP
- ADB
- OTG
- RUI 2 ozip Flashing
- RUI 1 ozip flashing
Not Working:
- No f2fs support yet
- Not tested on CN variants (Can't confirm working status)
Flashing Guide:
Patched VBMETA is must to boot a twrp , so flash the below image to successfully boot this recovery and make it available even after booting back to RealmeUI.
Download Links:
TWRP Download Link
VBMETA Link
To flash TWRP:
fastboot flash recovery twrp-3.6-RUI2-RMX1931-final.img
Flash the VBMETA using below commands
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_path.img
ADB and Fastboot Drivers:
ADB and Fastboot Installer
Source code:
https://github.com/TeamWin/android_bootable_recovery
https://github.com/arnodorian-r/recovery_realme_RMX1931
https://github.com/arnodorian-r/kernel_realme_sm8150
Credits:
Thanks to @mrtechnophile2.0 , Roy for the testing
Thanks @pjgowtham @XiaoAk for guiding me
The best thing ever happened for realme ui 2. Great work mate..!
Finally, a proper working Recovery for our device
Wow...Finally Working TWRP for RMX1931 on RUI2.
Thanks alot bro.
Can I flash this, when I'm on Lineage-18.1?
zheka99 said:
Can I flash this, when I'm on Lineage-18.1
Click to expand...
Click to collapse
Technically its possible...but you should do it after roms released based on rui2 firmware. If not , you will endup with broken OS. For now dont flash custom roms with this recovery.
can i flash magysk to optine root, wich version?
Isavar said:
can i flash magysk to optine root, wich version?
Click to expand...
Click to collapse
Magisk-92546e8a(23016) from CANARY all Ok!
Sorry for my English. And thank you very much for your work. I have the mobile with the latest version of rui2 and with root done following this guide:
https://forum.xda-developers.com/t/...fix-rui-2-0-android-11-global-indian.4371041/ When I went to install twrp, the mobile only started in twrp , and I had to reinstall everything. I used realme flashtool and refollowed the guide to get me back up and running properly. What could have happened?
Leozgz85 said:
Sorry for my English. And thank you very much for your work. I have the mobile with the latest version of rui2 and with root done following this guide:
https://forum.xda-developers.com/t/...fix-rui-2-0-android-11-global-indian.4371041/ When I went to install twrp, the mobile only started in twrp , and I had to reinstall everything. I used realme flashtool and refollowed the guide to get me back up and running properly. What could have happened?
Click to expand...
Click to collapse
Hi
was the same for me, had to reinstall everything, only started in TWRP. Would like to install the recovery but I don't feel like this error anymore.
Thanks. It's working.
Doesnt work for me, i cant boot to realme ui after flashing the vbmeta, i got stuck on recovery. (f.14)
This recovery is broken for me, it gives me no space left on sdcard even after a full data reformat, ozip extraction stops after 500mb.
It's just not working as it should 3.4 works best
arnodorian-r said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM/Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Working Features:
- Decryption Works
- Backup works
- Wipes Work
- MTP
- ADB
- OTG
- RUI 2 ozip Flashing
- RUI 1 ozip flashing
Not Working:
- No f2fs support yet
- Not tested on CN variants (Can't confirm working status)
Flashing Guide:
Patched VBMETA is must to boot a twrp , so flash the below image to successfully boot this recovery and make it available even after booting back to RealmeUI.
Download Links:
TWRP Download Link
VBMETA Link
To flash TWRP:
fastboot flash recovery twrp-3.6-RUI2-RMX1931-final.img
Flash the VBMETA using below commands
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_path.img
ADB and Fastboot Drivers:
ADB and Fastboot Installer
Source code:
https://github.com/TeamWin/android_bootable_recovery
https://github.com/arnodorian-r/recovery_realme_RMX1931
https://github.com/arnodorian-r/kernel_realme_sm8150
Credits:
Thanks to @mrtechnophile2.0 , Roy for the testing
Thanks @pjgowtham @XiaoAk for guiding me
Click to expand...
Click to collapse
I followed this guide and many others in the past 48 hours, with no success. Every time I flash TWRP and the VBMETA, I get stuck in TWRP bootloop.
I started unblocking the bootloader, rolling back to RUI1 - Android 9 and using the Deep-Test App.
After the roll back, I got the phone unblocked right, but then first soft-brick, with only bootloader available and no way to flash a working ROM. After some searches, I've finally managed to unbrick, using OPPO flash tool, and installing stock rom RMX1931_11_F.14_2021102817443142.
This gives me a working phone, RUI.2 - Android 11. Standard recovery.
I tried to flash TWRP and got the phone soft bricked again, in TWRP recovery bootloop.
I'd like to install TWRP and from there going to OrangeFox and finally install Lineage 19.1...
How can i first have a working TWRP recovery??? If you can support also following steps, would be amazing. Thank you!!!
I went few step further... but still I am not able to install a working custom recovery for my realme X2 pro.
I have now also rooted my device with magisk.
I just need a custom recovery to perform 2 actions:
- make a NANDroid backup;
- install a custom ROM.
Any advice? Thank you for your time!
Installed. Working like a charm with lineage 19.1. Only problem: can't access files in storage. Digging into the matter, it seems to be an issue with android 12's new encryption method, which can't be overriden by this version of the recovery. There's a brand new TWRP 3.7.0_9.0 in the official TWRP website which boasts to overcome this problem but, whenever I try to install it (with or without the vbmeta.img provided for version 3.6.0_11), the recovery won't start. Guess a new vbmeta.img is needed as everything goes ok reinstalling TWRP 3.6.0_11 and its corresponding vbmeta. Tried to extract and install vbmeta.img from the lineage zip file without success. Shall we have to patch vbmeta.img? How can we do that? Through Magisk? I've come across some "vbmeta patcher" apk... Am I pointing the right way?
can any one help me to unlock bootloader in realme x2 pro . i am on RUI 10 . i installed in depth tool it said seccesful but no bootloader just keep rebooting and showing fast boot for a moment .. help please i search every where for fix but no way to yet
I'm using the CN variant device, which I understand does not yet have confirmed support, nonetheless sharing the error I'm encountering in case it's a simple or obvious fix I'm missing.
Having followed all above steps, I'm able to flash and get into TWRP recovery, but decryption always failed (even after a dozen tries) with the following:
"Attempting to decrypt FBE for user 0...
Failed to decrypt user 0"
Much obliged for any insight on this. I'm attempting to get back on OF after successfully installing Lineage 19.1, which broke the OF recovery, and since OF needs to be installed as a ZIP, I need to get some version of TWRP working as an intermediary. Specifically this is because I didn't install GAPPS along with Lineage 19.1 (I misread the opening post, which seemed to imply that GAPPS was included in that particular ROM). So alternatively, if there's another way to get GAPPS onto the device without recovery (sideload won't work since I can't decrypt...) then that would be helpful too.
Thanks in advance for any insight on this!

Question Recovery Needed

Hey Guys,
for relocking the Bootloader i need a freshly backuped Stock Recovery.img from a DN2103_A19.
Can someone of you provide this please?
I only found the newest Boot.img and the newest vbmeta.img of A19.
I did get managed to relock my bootloader. The Problem was not my recovery, it was the boot image.
Here are my steps for Anyone Interested:
1. With the PartitionBackupper I restored my phone to A16.
AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
[TOOL][NO ROOT] PartitionsBackupper | Nandroid alternative
/* * Your warranty is... still valid! * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. * Please do some research yourself before asking or use anything on this...
forum.xda-developers.com
2. Booted to Bootloader and flashed TWRP
3. In TWRP via ADB Sideload I flashed DN2103_update_A16_to_A17.zip and the DN2103_A17_to_A19.zip
[STOCK][DN2103][EU] Incremental update packages & Boot images
Hi All, Below you can find a couple of incremental update packages that you can use for updating from various versions of your device. Incremental update packages These can be installed using TWRP by following this tutorial...
forum.xda-developers.com
4.Format Data in TWRP and Reboot to Bootloader
5.Fastboot flash recovery stock_recovery.img
6. Fastboot flashing lock

Categories

Resources