Booting in custom recovery but my oneplus 2 booting in normal - General Questions and Answers

hi, i have rooted my oneplus 2 with custom recovery twrp installed device using Lineageos 15 with android 8.1, i was trying to flash Magisk but its failed and sudden happening this in my one plus 2 when i am going to recovery mode through Volume down+Power button phone is restarting its not going in Teamwin recovery.
please help me

keepingtocarry said:
hi, i have rooted my oneplus 2 with custom recovery twrp installed device using Lineageos 15 with android 8.1, i was trying to flash Magisk but its failed and sudden happening this in my one plus 2 when i am going to recovery mode through Volume down+Power button phone is restarting its not going in Teamwin recovery.
please help me
Click to expand...
Click to collapse
Try flashing TWRP again.
Sent from my LGL84VL using Tapatalk

Droidriven said:
Try flashing TWRP again.
Click to expand...
Click to collapse
Actually i have tried from twrp app but not getting sucess when i go into fastboot mode after 10 seconds device going to shut off

keepingtocarry said:
Actually i have tried from twrp app but not getting sucess when i go into fastboot mode after 10 seconds device going to shut off
Click to expand...
Click to collapse
I believe you need a modified boot.img to flash Magisk. Have you installed a modified boot.img to enable using Magisk?
Sent from my LGL84VL using Tapatalk

Droidriven said:
I believe you need a modified boot.img to flash Magisk. Have you installed a modified boot.img to enable using Magisk?
Click to expand...
Click to collapse
Yes i was trying to install magisk. And magisk said to patch boot.img so i did it. And this is actually happend
.. so what should i do now?

keepingtocarry said:
Yes i was trying to install magisk. And magisk said to patch boot.img so i did it. And this is actually happend
.. so what should i do now?
Click to expand...
Click to collapse
You don't just patch the boot.img, you flash the newly created boot.img onto the device and then you flash magisk, such as described in the link below using method 2.
https://droidfeats.com/how-to-install-magisk/
You might need to reflash your full stock firmware to repair your device and then try installing Magisk again using the instructions above.
Sent from my LGL84VL using Tapatalk

Droidriven said:
You don't just patch the boot.img, you flash the newly created boot.img onto the device and then you flash magisk, such as described in the link below using method 2.
https://www.the***********.com/install-magisk-root-android-devices/
You might need to reflash your full stock firmware to repair your device and then try installing Magisk again using the instructions above.
Click to expand...
Click to collapse
This link is not working. So can you tell the process to flash stock firmware.. I'm not very knowledgeable in these so help me please

keepingtocarry said:
This link is not working. So can you tell the process to flash stock firmware.. I'm not very knowledgeable in these so help me please
Click to expand...
Click to collapse
I only flash boot.img so any way to get out of it through magisk?

keepingtocarry said:
I only flash boot.img so any way to get out of it through magisk?
Click to expand...
Click to collapse
Try the link now, read method 2. If you can't get it to work, try using the method to uninstall Magisk or try flashing the stock firmware. To learn how to do that, do a Google search for:
"Return to stock (your model number)"
Sent from my LGL84VL using Tapatalk

Droidriven said:
Try the link now, read method 2. If you can't get it to work, try using the method to uninstall Magisk or try flashing the stock firmware. To learn how to do that, do a Google search for:
"Return to stock (your model number)"
Click to expand...
Click to collapse
Hey bro got success... ...flashed twrp installed lineage 15, and gapps 8.1 stock. Now a new problem facing that lineage camera replaced by google camera ... And google camera is not working..any method to remove google camera and back to lineage camera app.

keepingtocarry said:
Hey bro got success... ...flashed twrp installed lineage 15, and gapps 8.1 stock. Now a new problem facing that lineage camera replaced by google camera ... And google camera is not working..any method to remove google camera and back to lineage camera app.
Click to expand...
Click to collapse
Install Magisk to gain root, then get a copy of lineage camera, use Titanium Backup to remove GCam, then install lineage camera and use Titanium Backup to convert it to system app.
You might not get the camera to work, no matter what you do.
Sent from my LGL84VL using Tapatalk

Related

[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

Android P Installation with TWRP

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

How to install gapps without TWRP

HI,
I am using Blackview BV9500 Plus, the unofficial TWRP provided was buggy
However, i found how to intsall GSI treble rom (Havoc os 2.9) through ADB
But i am unable to install Gapps
Can any developer tell me how to install gapps without TWRP
Thanks in Advance
Kannan
kannansekar1711 said:
HI,
I am using Blackview BV9500 Plus, the unofficial TWRP provided was buggy
However, i found how to intsall GSI treble rom (Havoc os 2.9) through ADB
But i am unable to install Gapps
Can any developer tell me how to install gapps without TWRP
Thanks in Advance
Kannan
Click to expand...
Click to collapse
Gapps can be flashed using flashing apps such as Flashify, Rashr, etc..
But they require root to use the apps, otherwise, it won't actually flash the file.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Gapps can be flashed using flashing apps such as Flashify, Rashr, etc..
But the require root to use the apps, otherwise, it won't actually flash the file.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
ok Bro, will try it and reply
Thanks
kannansekar1711 said:
ok Bro, will try it and reply
Thanks
Click to expand...
Click to collapse
Were you able to flash Gapps correctly without custom recovery?
I have a SMJ210F and When I tried to install gapps on TWRP it gives me a error called error 1 use TWRP as recovery insted I'm installing Viper os. I tried flashy but it do not respond

F2 pro reboot after magisk root,Help

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

Question [SOLVED] How to install LineageOS 19 by GSI?

Hello forum! I need help. After using the TWRP guide, I get a bootloop. Also, I tried installing a GSI (.img) file, but result is a bootloop. I used this GSI.
M1ST0R said:
Hello forum! I need help. After using the TWRP guide, I get a bootloop. Also, I tried installing a GSI (.img) file, but result is a bootloop. I used this GSI.
Click to expand...
Click to collapse
Maybe you need to flash vbmeta.img before first boot. Or try another GSI (verify using Treble Info app to know which variant you need)
What was the stock? Android 12 or 13?
Operating System Tester said:
What was the stock? Android 12 or 13?
Click to expand...
Click to collapse
Android 13. Stock by Samsung. CSC: XME; VER: A536EXXS5CWDA.
_allaie_ said:
flash vbmeta.img before first boot
Click to expand...
Click to collapse
i make it. that says in the TWRP guide.
verify using Treble Info app to know which variant you need
Click to expand...
Click to collapse
K, i try this app
but whats about bootloop after kernel flashing? and magisk too
I've checked, and I can say that the bootloop occurs after flashing TWRP_3.6.2 and disabling_vbmeta_R.
M1ST0R said:
I've checked, and I can say that the bootloop occurs after flashing TWRP_3.6.2 and disabling_vbmeta_R.
Click to expand...
Click to collapse
You need to flash the patched kernel;
1. Run multidisabler in TWRP terminal
2. Factory reset via TWRP
3. Reboot to recovery
4. ADB Push the kernel or use the sd card and flash it.
5. Boom, you can boot now.

Categories

Resources