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
Related
[RECOVERY][Unofficial][TWRP 3.2.1-0][Notch Friendly] P20 Lite Edition​
Don't use WIPE the data partition
HTML:
[/B]
* Your warranty is now void.
* I am not responsible for bricked devices.
* ATTENTION: YOU are choosing to install this recovery at your own risk.
* I do not take responsibility for any problems with your device.
Features:
- This recovery is based on the TWRP from Pretoriano80
- Notch-friendly; due to notch-design I re-positioned the clock, now it is visible all the time
- I added the possibility to do a full device backup, thanks to Sudeep Duhoon
Installation:
Code:
fastboot flash recovery_ramdisk TWRP_3.2.1-0_ANE-LX1_Full_01.img
fastboot reboot
*Note many devices will replace your custom recovery automatically during first boot.
To prevent this, after typing fastboot reboot, remove the USB cable and hold the Vol+ key and boot to TWRP.
Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP.
If you don't follow this step, you will have to repeat the install.
Note: No sources available due to minor changes on the Pretoriano80's TWRP
Special Thanks:
@Pretoriano80
@zxz0O0
@Sudeep Duhoon
@persona78
+TeamWin
+OpenKirin
Version Information:
Status: Under testing
Created: 2018-06-06
Last Updated:
Download link:
TWRP_3.2.1-0_ANE-LX1_Full_01.img
Very first question:
Is it possible to flash a recovery from recovery?
ladislav.heller said:
Very first question:
Is it possible to flash a recovery from recovery?
Click to expand...
Click to collapse
Yes, I tried with success.
If fail for you reflash via fastboot.
kilroystyx said:
Yes, I tried with success.
If fail for you reflash via fastboot.
Click to expand...
Click to collapse
OK, I also flashed successfully.
Now I am able to see the clock
Further testing in progress...
Will this recovery and future custom ROMs be compatible with ane-lx3?
ninjahenry said:
Will this recovery and future custom ROMs be compatible with ane-lx3?
Click to expand...
Click to collapse
This recovery should be compatible with ANE-LX3.
I don't have an answer in short term if this recovery will be compatible with custom ROMs but I'm work on it.
hey,
this crashes for me. it boots fine into twrp then, after 2-3secs it randomly reboots without me doing anything.... any help?
lamsen said:
hey,
this crashes for me. it boots fine into twrp then, after 2-3secs it randomly reboots without me doing anything.... any help?
Click to expand...
Click to collapse
It happened to me with a custom ROM, I flashed a stock one and then TWRP was able to fully boot ?
lamsen said:
hey,
this crashes for me. it boots fine into twrp then, after 2-3secs it randomly reboots without me doing anything.... any help?
Click to expand...
Click to collapse
I recommend you install the Pretoriano80 recovery and check the behavior.
What also helps is post here your device model and Rom installed.
lamsen said:
hey,
this crashes for me. it boots fine into twrp then, after 2-3secs it randomly reboots without me doing anything.... any help?
Click to expand...
Click to collapse
Do you have a stock or treble rom installed?
Today I received an official full OTA update on my p20 lite.
Will the install of this update break the TWRP and/or root?
You can only upgrade with the stock recovery so....
mchtt said:
You can only upgrade with the stock recovery so....
Click to expand...
Click to collapse
Yes, in the meantime I just tried and of course the system was rebooted to TWRP which cannot automatically install stock update.
Now I am going to restore stock recovery.
? trial and error ?
That's how we learn the hard way ?
ladislav.heller said:
Today I received an official full OTA update on my p20 lite.
Will the install of this update break the TWRP and/or root?
Click to expand...
Click to collapse
As mchtt explained, you need reflash at least stock recovery, but in my case was not enough, my system, cust, odm and ramdisk were changed and it fails every attempt.
So, I flashed B126 with HuRUpdater and then I got a clean ROM, then the official B136 FullOTA was installed without issues.
When I backup kernel, i got message "Permission denied"
xperiafan13 said:
When I backup kernel, i got message "Permission denied"
Click to expand...
Click to collapse
Can you give more info?
Rom customized or Stock?
If stock your build number.
Only with kernel you got this message?
Will this work for ANE-LX3?
HaxUrMom69 said:
Will this work for ANE-LX3?
Click to expand...
Click to collapse
Yes, it should work.
If not, let me know and, flash back your stock recovery.
Can you please tell me where you found the stock recovery for your phone coz i have the same problem.
Using ANE-LX2C185
Hi, how do I install the latest android P on my oneplus 6? I have an unlocked bootloader with twrp installed but not rooted.
Download the P zip via OnePlus forums, flash it through the update section in settings and wipe the phone via recovery. It will wipe TWRP though and replace it with stock recovery.
roniistar said:
Hi, how do I install the latest android P on my oneplus 6? I have an unlocked bootloader with twrp installed but not rooted.
Click to expand...
Click to collapse
Download the full version, install in TWRP 3.2.1 and install TWRP immediately afterwards, then back to the TWRP menu and reinstall TWRP.zip again, then restart and enjoy
ed-gonzo said:
Download the full version, install in TWRP 3.2.1 and install TWRP immediately afterwards, then back to the TWRP menu and reinstall TWRP.zip again, then restart and enjoy
Click to expand...
Click to collapse
Have you tried this? I don't think this will work. Don't i have to wipe everything?
Mike.YT said:
Download the P zip via OnePlus forums, flash it through the update section in settings and wipe the phone via recovery. It will wipe TWRP though and replace it with stock recovery.
Click to expand...
Click to collapse
Thanks. Will give this a try
roniistar said:
Have you tried this? I don't think this will work. Don't i have to wipe everything?
Click to expand...
Click to collapse
Yes, it worked this way for me
ed-gonzo said:
Download the full version, install in TWRP 3.2.1 and install TWRP immediately afterwards, then back to the TWRP menu and reinstall TWRP.zip again, then restart and enjoy
Click to expand...
Click to collapse
When u say back to twrp menu you mean after reboot to recovery and then to install twrp.zip or in the same session to install twrp twice?
what are known bugs in DP3?
does snap chat work? as reports say that safety net fails
galza said:
When u say back to twrp menu you mean after reboot to recovery and then to install twrp.zip or in the same session to install twrp twice?
Click to expand...
Click to collapse
So that TWRP is not deleted, I recommend to install it again in TWRP menu!
Sure is safe.
virtyx said:
what are known bugs in DP3?
does snap chat work? as reports say that safety net fails
Click to expand...
Click to collapse
works but i have magisk installed so maybe that did something
NateDev said:
works but i have magisk installed so maybe that did something
Click to expand...
Click to collapse
reveted back to 5.1.9
DP3 is nice, but too buggy, laggy and non user friendly, the gestures feel so much different from stable, i logged a few bugs but not suitable for a DD
i am unable to root android p beta 3 and twrp also not working on my one plus 6 why twrp not working and why no root
manohar shenolikar said:
i am unable to root android p beta 3 and twrp also not working on my one plus 6 why twrp not working and why no root
Click to expand...
Click to collapse
Install the stable version of android p now and twrp does work. use bluesparks twrp version found in xda.
But what TWRP? Is the TWRP on the official site working also on Android 9?
Hi, i have a question :
I'm on Android pie stable with root and magisk.
But i can't make a advanced reboot to launch TWRP, anyone as a issue please ?
Pepinow said:
Hi, i have a question :
I'm on Android pie stable with root and magisk.
But i can't make a advanced reboot to launch TWRP, anyone as a issue please ?
Click to expand...
Click to collapse
It's been removed in pie.
---------- Post added at 10:35 AM ---------- Previous post was at 10:34 AM ----------
zappomax said:
But what TWRP? Is the TWRP on the official site working also on Android 9?
Click to expand...
Click to collapse
No, use bluespark twrp found on his kernel thread.
yldlj said:
It's been removed in pie.
Yes, i see that. How do I install a new kernel without going through TWRP?
It's maybe me but i can't lunch TWRP or it's only by plateform tools ?
Click to expand...
Click to collapse
Pepinow said:
yldlj said:
It's been removed in pie.
Yes, i see that. How do I install a new kernel without going through TWRP?
It's maybe me but i can't lunch TWRP or it's only by plateform tools ?
Click to expand...
Click to collapse
Flash through ex kernel manager app
If the kernel uses "any kernel" then go to magisk and flash magisk one more time aswell, reboot.
What your saying is that you can't boot to twrp in any way? Not even with phone off and volume down? If not, reinstall twrp (I recommend blu_spark)
Click to expand...
Click to collapse
whizeguy said:
Pepinow said:
Flash through ex kernel manager app
If the kernel uses "any kernel" then go to magisk and flash magisk one more time aswell, reboot.
What your saying is that you can't boot to twrp in any way? Not even with phone off and volume down? If not, reinstall twrp (I recommend blu_spark)
Click to expand...
Click to collapse
I don't have ex kernel, it's not free it's exactly ?
Exact, i can't boot twrp, phone off and volume down take a screenshot and if its shutdown, there is a simple reboot.
I'm noob lol, if i reinstall twrp it's wipe my phone ?
Click to expand...
Click to collapse
@Pepinow Power off your phone. Hold vol up and power, that will take you to fastboot. From there use the vol keys to show recovery at the top then boot to it. This is of course assuming you flashed the twrp zip when first installing it
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
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.
I rooted f2 pro by using magisk patch boot.img method on firmware 12.0.4 Global, after rooting, I installed adaway to remove ads using hosts file and installed Xiaomi dialer magisk modules only.Root is working fine.
Now the phone randomly sometimes reboots in recovery mode
, and sometimes when I turn on data, the phone reboots and again goes into recovery mode. Help, please..............
Note: I have not installed TWRP or anything else just used only those 2 apps that need root access
Install TWRP it's more convenient because if u mess up something with magisk there's always a uninstaller zip that u can flash to get clean.
So flash THIS TWRP : https://mifirm.net/downloadtwrp/148
fastboot flash recovery recovery.img
fasboot boot recovery.img
DONE
and just flash latest Magisk then :good:
kkosnuss said:
Install TWRP it's more convenient because if u mess up something with magisk there's always a uninstaller zip that u can flash to get clean.
So flash THIS TWRP : https://mifirm.net/downloadtwrp/148
fastboot flash recovery recovery.img
fasboot boot recovery.img
DONE
and just flash latest Magisk then :good:
Click to expand...
Click to collapse
magisk already working and looking for reason why its rebooting once in a day
bilalrajput said:
magisk already working and looking for reason why its rebooting once in a day
Click to expand...
Click to collapse
Bro your modules crashed system.ui
kkosnuss said:
Bro your modules crashed system.ui
Click to expand...
Click to collapse
so to fix my mobile should i first flash original boot.img? right now ,and will phone work normally instead of flashing whole new firmware using miflashtool?
bilalrajput said:
so to fix my mobile should i first flash original boot.img? right now ,and will phone work normally instead of flashing whole new firmware using miflashtool?
Click to expand...
Click to collapse
Yep original boot.img that's a smart idea ! But why wouldn't u install magisk via recovery it's such more convenient