Reverting back to stock rom from custom rom - OnePlus 6 Questions & Answers

Hello, i am a noob and i would like to know how to revert back to stock oos from custom roms.i am on havoc os and i want to revert back to stock oos pie 9.0. I am rooted and bootloader unlocked, so tell me if there any way if i can directly flash stock oos through twrp(after wipinig system,data obviously)? Or i just have to flash through some tool(through computer )?if yes can u pls elaborate the steps,? This will be very helpful.thanks..

Download oos latest version.
Keep it in internal storage.
Goto twrp.
Wipe data cache system
Den flash oos zip
Flash twrp.
Reboot.

Why leave the rom aosp

HatRiGt said:
Download oos latest version.
Keep it in internal storage.
Goto twrp.
Wipe data cache system
Den flash oos zip
Flash twrp.
Reboot.
Click to expand...
Click to collapse
Thank you for your reply ?.m gonna flash it today

avirale123 said:
Why leave the rom aosp
Click to expand...
Click to collapse
I like the stock rom much more than this rom.i found the rom a little unstable nd some bugs are there .like slow motion doesn't work on the camera.portrait wasnt working too bt i fixed it by flashing blu spark kernal .m gonna try the rom for some days then if i find more bugs m gonna revert back,well the rom is good :good:

HatRiGt said:
Download oos latest version.
Keep it in internal storage.
Goto twrp.
Wipe data cache system
Den flash oos zip
Flash twrp.
Reboot.
Click to expand...
Click to collapse
If I want to have stock recovery I should not flash twrp after oos zip ?

Yes , you will end up with stock recovery if you dont flash twrp after the oos.

HatRiGt said:
Download oos latest version.
Keep it in internal storage.
Goto twrp.
Wipe data cache system
Den flash oos zip
Flash twrp.
Reboot.
Click to expand...
Click to collapse
I followed this instructions and bricked my device... Now I can't do nothing...... Any help?

vargapirot said:
I followed this instructions and bricked my device... Now I can't do nothing...... Any help?
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
Gesendet von meinem ONEPLUS A6003 mit Tapatalk

vargapirot said:
If I want to have stock recovery I should not flash twrp after oos zip ?
Click to expand...
Click to collapse
Yes.

Related

[HOW-TO]Successfully Flash Any Custom ROMS without ERRORS!

Make sure your Bootloader is Unlocked
Reboot to Bootloader (Hold Power + Volume down) until you see Fastboot Image
Dowload latest TWRP by Mohancm https://www.androidfilehost.com/?fid=818070582850498337 copy to ADB folder
Goto your ADB folder (hold shift + right click) open with CMD / Powershell
Type Fastboot boot re (press tab for recovery shortcut)
Press enter don't close your window
In TWRP Allow Modification
Goto to Wipe > Advance wipe > check System/cache/data/internal and swipe to wipe
Don't reboot yet > goto reboot option and choose Bootloader
Goto CMD/Powershell just press Up arrow key and enter
Copy the ROM/GAPPS/MAGISK to you device
Flash ROM
Reboot to Bootloader
Goto CMD/Powershell just press Up arrow key and enter
Flash GAPPS/MAGISK
Reboot to System
Profit!
Great. Much appreciated :good:
In step 3 after flashing rom , what about reboot to recovery instead of reboot to bootloader and flash twrp again?
EDIT
------
Sorry. We r just booting TWRP. I did not noticed that :silly:
Rajeev said:
Great. Much appreciated :good:
In step 3 after flashing rom , what about reboot to recovery instead of reboot to bootloader and flash twrp again?
EDIT
------
Sorry. We r just booting TWRP. I did not noticed that :silly:
Click to expand...
Click to collapse
The TWRP 3.2.1.1 (fixed by DroidMester) can be installed permanently. No problems!
ydd0ras said:
The TWRP 3.2.1.1 (fixed by DroidMester) can be installed permanently. No problems!
Click to expand...
Click to collapse
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
t0per666 said:
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
Click to expand...
Click to collapse
Yeah, that's right. For flashing the ROM itself only the deadman. For other actions the usual TWRP can be flashed!
t0per666 said:
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
Click to expand...
Click to collapse
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
Yes but it also installs the OS as well. You want a clean slate completely, if possible, so best to wipe it again before flashing a custom ROM.
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
May be it has to do something with files written when you boot N 1st time. Like temp files.
Can't flash gapps error 64
Can't flash gapps error 64
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
Its for the encryption. So if you flash custom roms it doesnt show "data is encrypted" in your first boot. Thats what i've read.
You can always try flashing without wiping internal and see.
akshaygalaxystarmod said:
Can't flash gapps error 64
Click to expand...
Click to collapse
Did you follow instruction carefully?
t0per666 said:
Did you follow instruction carefully?
Click to expand...
Click to collapse
I did
akshaygalaxystarmod said:
I did
Click to expand...
Click to collapse
What twrp did you use? What version of gapps?
t0per666 said:
What twrp did you use? What version of gapps?
Click to expand...
Click to collapse
deadman twrp
arm 64 7.1 pico
Noobish question: Internal memory wiping is necessary? Data wiping will delete app+their data. Formatting internal only erase media like music n videos.
akshaygalaxystarmod said:
deadman twrp
arm 64 7.1 pico
Click to expand...
Click to collapse
Its either you didnt follow instructions correctly or the rom have a problem when you flashed it.
SwastikAcharya said:
Noobish question: Internal memory wiping is necessary? Data wiping will delete app+their data. Formatting internal only erase media like music n videos.
Click to expand...
Click to collapse
You can leave it if you want but im not recommending to not wipe internal.
Good day! Never failed to flash the rom in this way, the rollback to the nougat is made, the necessary recovery is loaded - an error 1. Tell me what might be the matter?
first, can i flash rom on both partion a and b ?
why after flash and rebooting to twrp again pation change to B?
why not flash magisk and gapps on same partion with first installation?
gazzly said:
first, can i flash rom on both partion a and b ?
why after flash and rebooting to twrp again pation change to B?
why not flash magisk and gapps on same partion with first installation?
Click to expand...
Click to collapse
-Do not flash it on both slots.
-The reason it switches between A and B, is because the rom gets installed on the second partition and not the partition you are on when you flash it (i think).
-And you can't flash magisk or gapps because, like what i've said before, the rom gets flashed on the other slot.
Im not 100% sure that's how it works, so don't quote me.
I've flashed viperos having no issues. I had flashed nougat firmware before that. Now in order to flash another rom, do I have to flash stock nougat firmware again or is it ok that I just clean wipe and flash new rom?

[GUIDE] Install Oreo Custom ROMs via TWRP

Good day to everyone! I wish to provide proper steps on how to install the latest Oreo custom ROMs via TWRP in order to lessen the clutter in the custom ROM threads.
You'll need the following:
Latest TWRP Official (Fastboot TWRP)
Latest TWRP Installer (PERMANENT TWRP)
Considering you already installed TWRP via fastboot, we'll make it so that it will be permanently installed and you will not need to flash TWRP via bootloader again.
Download ROM + GApps (or no gapps if Pixel Experience)
Reboot to latest Official TWRP
Do necessary wipes (FORMAT data if having storage number issue; if not, wipe system/data/cache) then transfer ROM + gapps + magisk to internal/external storage
Flash ROM (don't reboot)
Flash latest TWRP Installer (for Permanent TWRP)
Reboot recovery (no need to transfer slots anymore as TWRP does it automatically)
Flash Gapps + Magisk
Reboot to system
To DIRTY FLASH or update the same ROM with an updated version
Reboot to recovery
Flash ROM
Flash TWRP Installer
Reboot recovery
Flash Gapps + Magisk
Reboot to system
For installing custom kernels
Download custom kernel
Reboot recovery
Flash custom kernel
Reboot to system
All of these has been tried and tested by me already.
Hey , where to flash rom??
As you have written gapps + magisk , gapps + magisk twice
sikoo1996 said:
Hey , where to flash rom?
As you have written gapps + magisk , gapps + magisk twice
Click to expand...
Click to collapse
I don't know what you mean. Read it again but slowly.
thnx man.
please add instructions to flash twrp permanent or share link.
vkbhanwariya said:
thnx man.
please add instructions to flash twrp permanent or share link.
Click to expand...
Click to collapse
+1
vkbhanwariya said:
thnx man.
please add instructions to flash twrp permanent or share link.
Click to expand...
Click to collapse
dceamit46 said:
+1
Click to expand...
Click to collapse
Guys, TWRP Installer IS the Permanent TWRP. That's why you need to flash it every time after flashing custom ROMs.
joeyhuab said:
Guys, TWRP Installer IS the Permanent TWRP. That's why you need to flash it every time after flashing custom ROMs.
Click to expand...
Click to collapse
thanks mate now ROM flashing seems very easy
vkbhanwariya said:
thanks mate now ROM flashing seems very easy
Click to expand...
Click to collapse
You're welcome! Good luck in switching ROMs!
Sent from my Xiaomi Mi A1 using XDA Labs
joeyhuab said:
You're welcome! Good luck in switching ROMs!
Click to expand...
Click to collapse
I really want to thank you for putting this up. Its immensely helpful and once again you are best at what you do.
gunmanrishi said:
I really want to thank you for putting this up. Its immensely helpful and once again you are best at what you do.
Click to expand...
Click to collapse
You're more than welcome and I'm always more than glad to help out the community. :highfive:
Sent from my Xiaomi Mi A1 using XDA Labs
With custom ROMs we have to install Twrp installer every time along with ROM zip, bit awkward.
Is it just me but every time I flash twrp after flashing rom, I got error 20 when flashing gapps. Here's my steps:
- flash rom
- switch partition
- flash twrp
- reboot recovery (or bootloader then flashboot recovery)
- flash gapps -> error 20
Without flashing twrp permanent, I can flash gapps, no error.
madhpharma said:
With custom ROMs we have to install Twrp installer every time along with ROM zip, bit awkward.
Click to expand...
Click to collapse
Yep. That's because the ROM being flashed overwrites the recovery since there's no recovery partition.
kopitalk said:
Is it just me but every time I flash twrp after flashing rom, I got error 20 when flashing gapps. Here's my steps:
- flash rom
- switch partition
- flash twrp
- reboot recovery (or bootloader then flashboot recovery)
- flash gapps -> error 20
Without flashing twrp permanent, I can flash gapps, no error.
Click to expand...
Click to collapse
Did you flash the TWRP.img or TWRP Installer.zip in TWRP?
Sent from my Xiaomi Mi A1 using XDA Labs
joeyhuab said:
Yep. That's because the ROM being flashed overwrites the recovery since there's no recovery partition.
Did you flash the TWRP.img or TWRP Installer.zip in TWRP?
Click to expand...
Click to collapse
Twrp installer, to be exact Twrp-recoveryInstaller-3.2.1-2-oreo.zip
joeyhuab said:
Guys, TWRP Installer IS the Permanent TWRP. That's why you need to flash it every time after flashing custom ROMs.
Click to expand...
Click to collapse
If we need to flash it every time after flash rom so how it's called permanent TWRP I don't understand. That because our device don't have recovery partition? If that so where this TWRP installed ( in which partition)?
cherryb8844 said:
If we need to flash it every time after flash rom so how it's called permanent TWRP I don't understand. That because our device don't have recovery partition? If that so where this TWRP installed ( in which partition)?
Click to expand...
Click to collapse
It's called permanent twrp because it won't get replaced by built in recovery whenever you reboot to recovery from system. TWRP gets installed within a part of the system partition.
Sent from my Xiaomi Mi A1 using XDA Labs
kopitalk said:
Is it just me but every time I flash twrp after flashing rom, I got error 20 when flashing gapps. Here's my steps:
- flash rom
- switch partition
- flash twrp
- reboot recovery (or bootloader then flashboot recovery)
- flash gapps -> error 20
Without flashing twrp permanent, I can flash gapps, no error.
Click to expand...
Click to collapse
Error 20 if I'm not wrong, means you are using the wrong gapps package.
Are you using the right one?
varben said:
Error 20 if I'm not wrong, means you are using the wrong gapps package.
Are you using the right one?
Click to expand...
Click to collapse
Yes, I certainly use the right one (8.1), that's why I was baffled when twrp says that my device is 7.1.2 every time I tried to flash the 8.1 gapps. Anyway, flashing rom then straightaway followed by gapps and magisk was fine. I can flash twrp installer later on. But I just don't understand why.
kopitalk said:
Yes, I certainly use the right one (8.1), that's why I was baffled when twrp says that my device is 7.1.2 every time I tried to flash the 8.1 gapps. Anyway, flashing rom then straightaway followed by gapps and magisk was fine. I can flash twrp installer later on. But I just don't understand why.
Click to expand...
Click to collapse
Well that's weird. Works for me by flashing Gapps and Magisk after rebooting to recovery since it switches slots when you do that. Did you possibly come from a Nougat ROM which is why that's the error showing up?
Sent from my Xiaomi Mi A1 using XDA Labs
joeyhuab said:
Well that's weird. Works for me by flashing Gapps and Magisk after rebooting to recovery since it switches slots when you do that. Did you possibly come from a Nougat ROM which is why that's the error showing up?
Click to expand...
Click to collapse
I was thinking of that too but no, I was on Oreo Jan built the first time I rooted the phone and flash LOS15.1. Do you think I should at least flash Oreo stock once? Maybe my bootloader is still Nougat

Oneplus 6 brick downgrading from beta to stable by twrp

Hello,
I was on open beta 6 and I downgraded using the .zip for that by flashing with twrp. Then i flashed twrp again and reboot.
Afther that, the phone doesn't start. It's is starting withe animation of balls circling. All the storage has been deleted. I tried to copy again the rom by adb in the storage on folder sdcard but it doesn't work.
Any idea?
Thanks
install fastboot ROM
1 boot to twrp recovery https://forum.xda-developers.com/devdb/project/dl/?id=30485
2 Wipe System Partition
3 Wipe Dalvic Cache
4 Flash the zip (OxygenOs 9.0.2)
5 boot system
if you want
6 reboot to twrp and flash magisk 17.3 for root, good luck
akuma48465 said:
1 boot to twrp recovery https://forum.xda-developers.com/devdb/project/dl/?id=30485
2 Wipe System Partition
3 Wipe Dalvic Cache
4 Flash the zip (OxygenOs 9.0.2)
5 boot system
if you want
6 reboot to twrp and flash magisk 17.3 for root, good luck
Click to expand...
Click to collapse
Ok, finally i get to copy the files with adb on the phone.
I try to flash OxygenOs 9.0.2 but it crashed. I will try wit OxygenOs 5.1.11.
Thanks for help.
predator178 said:
Ok, finally i get to copy the files with adb on the phone.
I try to flash OxygenOs 9.0.2 but it crashed. I will try wit OxygenOs 5.1.11.
Thanks for help.
Click to expand...
Click to collapse
all you had to do was flash magisk and everything would have been fine.
MrSteelX said:
all you had to do was flash magisk and everything would have been fine.
Click to expand...
Click to collapse
But flash magisk before flashing the 9.0.2?
predator178 said:
But flash magisk before flashing the 9.0.2?
Click to expand...
Click to collapse
has to be done after rom and or twrp flash. if not, bootloop is what will happen.
MrSteelX said:
has to be done after rom and or twrp flash. if not, bootloop is what will happen.
Click to expand...
Click to collapse
Yes I know, but if you dont flash magisk doesn't matter, only you won't have root permisions. My problem is that I can't install the rom.
predator178 said:
Yes I know, but if you dont flash magisk doesn't matter, only you won't have root permisions. My problem is that I can't install the rom.
Click to expand...
Click to collapse
Now I will try to flash by fastboot the rom 9.0.2 of this post
PHP:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
I'm getting crazy this afternoon.
format data, problem fixed. when downgrading, if rom has older security data. formating is required for proper booting.
predator178 said:
Now I will try to flash by fastboot the rom 9.0.2 of this post
PHP:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
I'm getting crazy this afternoon.
Click to expand...
Click to collapse
Well, finally i flash by fastboot the room 5.1.11 fron this post. Solved.
Thanks all

[TWRP][9.0][STOCK PIE]v10.0.4.0.PDIMIXM

ROM STOCK MiA2 JASMINE
v10.0.4.0 PDIMIXM
Security Patch: February 2019
How to Install
1.Boot Twrp
2.wiper System,data,dalvik and cache
(if coming from a custom rom)
3.install the ROM file
4.Reboot to System
Link
https://drive.google.com/drive/folders/1cQJ5p8W6ddiR_vsEmdWXvNwm3wxXwwaz?usp=sharing
No audio bugs? (Media cracking on speakers or low volume on head piece)
Is the brightness dimming when phone gets "hot" or charging?
Looking forward to flash this soon...
Thanks in advance
Gleison lima said:
ROM STOCK MiA2 JASMINE
v10.0.4.0 PDIMIXM
Security Patch: February 2019
How to Install
1.Boot Twrp
2.wiper System,data,dalvik and cache
(if coming from a custom rom)
3.install the ROM file
4.Reboot to System
Link
https://drive.google.com/drive/folders/1cQJ5p8W6ddiR_vsEmdWXvNwm3wxXwwaz?usp=sharing
Click to expand...
Click to collapse
Thanks a lot. This is just what I wanted.
If I flash pixel experience, then can I revert to android one again by wiping system and data and flashing this through twrp?
[email protected] said:
Thanks a lot. This is just what I wanted.
If I flash pixel experience, then can I revert to android one again by wiping system and data and flashing this through fastboot?
Click to expand...
Click to collapse
I think this would be a stock ROM but flashable, it's not OTA Stock, which can be flashed using MiFlash... OTA updates probably won't work... but if it corrects the bugs PE have, it's awesome, and maybe i'll give up on selling this phone
Is this a backup from Stock updated to last OTA made with TWRP?
Thanks!
Nandeh said:
Is this a backup from Stock updated to last OTA made with TWRP?
Thanks!
Click to expand...
Click to collapse
original file
copied directly from the device's ota folder
[email protected] said:
Thanks a lot. This is just what I wanted.
If I flash pixel experience, then can I revert to android one again by wiping system and data and flashing this through fastboot?
Click to expand...
Click to collapse
Flashing this through twrp
can I fhash it through ADB?
my mi a2 has bootloader unlocked but trying to eneable a module from magisk it got into bootloop and I don´t know how to fix it...
it´s running andoid pie 10.0.4.0.
please help me I don´t know what to do..
thaks
@Gleison lima thanks for your work! I have flashed OTA_MiA2_10.0.4.0_TWRP.zip over sideload in recovery and it works nice!
Not working. After installing, my device corrupted and it asked me to factory reset.
Same happend to me just click on factory reset
Doesn't need to wipe the internal storage?
I've been trapped in the custom rom world.... Trying to return to the stock rom for months.
This rom is the only one that worked for me but it won't let me do OTA updates so it's useless.
Thank you anyway. I;m back to custom for now.

Every ROM results in bootloop

So I have some experience with flashing Custom Roms, but I think I might be doing something wrong with the Mi Mix 3.
I unlocked the bootloader, installed the latest Version of TWRP (twrp-3.3.0-0-perseus), wiped all data and tried to flash Resurrection Remix v7.0.2 via Sideload, but after this resulted a bootloop with the MI logo when trying to boot, I tried to flash the Lineage OS 16, same result. Then I tried to install them as usual. Do you have an idea why this is happening?
Do you have the right vendor image installed? The vendor image for each room is different some use the Chinese one, others are using the global one. Check the room threads. The OP should tell you.
Sent from my Mi MIX 3 using Tapatalk
HVcraft said:
So I have some experience with flashing Custom Roms, but I think I might be doing something wrong with the Mi Mix 3.
I unlocked the bootloader, installed the latest Version of TWRP (twrp-3.3.0-0-perseus), wiped all data and tried to flash Resurrection Remix v7.0.2 via Sideload, but after this resulted a bootloop with the MI logo when trying to boot, I tried to flash the Lineage OS 16, same result. Then I tried to install them as usual. Do you have an idea why this is happening?
Click to expand...
Click to collapse
Wiping isn't enough, you need to format data
Try this
1.format data
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
raven213 said:
Try this
1.format date
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
Click to expand...
Click to collapse
This
PWn3R said:
Do you have the right vendor image installed? The vendor image for each room is different some use the Chinese one, others are using the global one. Check the room threads. The OP should tell you.
Sent from my Mi MIX 3 using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your help, I will check it soon! (sorry for the late reply)
raven213 said:
Try this
1.format data
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
Click to expand...
Click to collapse
Thanks for the reply, I think I know what I have to do now! I will tell you again if it worked for me.
HVcraft said:
Thanks for the reply, I think I know what I have to do now! I will tell you again if it worked for me.
Click to expand...
Click to collapse
Good luck
raven213 said:
Try this
1.format data
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
Click to expand...
Click to collapse
Thank you so much, I finally got rid of MIUI hehe. Everything is working as it should on Lineage 16.
HVcraft said:
Thank you so much, I finally got rid of MIUI hehe. Everything is working as it should on Lineage 16.
Click to expand...
Click to collapse
You are welcome
Not booting
raven213 said:
You are welcome
Click to expand...
Click to collapse
I've tried to use the china dev rom but it won't boot
You may want to use the Xiaomi Mi Flash tool to restore using an image. I'm guessing you have mismatched vendor partitions, which is probably the cause of your issue. You can find instructions in the guides section.

Categories

Resources