Question After flashing TWRP the root is gone - Xiaomi 12X

Hello,
After flashing TWRP from advanced options (flash current TWRP) on Xiaomi 12X, Miui 14), it removes the magisk root. When I patch the boot image with magisk again, the root is back but stock recovery is restored. I tried the option to prevent TWRP being replaced by the stock recovery in the advanced options but it did not work. Is there any way to keep BOTH TWRP and root on this device? Thank you.

Wojtek1971 said:
Hello,
After flashing TWRP from advanced options (flash current TWRP) on Xiaomi 12X, Miui 14), it removes the magisk root. When I patch the boot image with magisk again, the root is back but stock recovery is restored. I tried the option to prevent TWRP being replaced by the stock recovery in the advanced options but it did not work. Is there any way to keep BOTH TWRP and root on this device? Thank you.
Click to expand...
Click to collapse
Have you tried with the REC version?
https://forum.xda-developers.com/t/shared-recovery-psyche-twrp-by-skkk.4461461/post-88081701

NOSS8 said:
Have you tried with the REC version?
https://forum.xda-developers.com/t/shared-recovery-psyche-twrp-by-skkk.4461461/post-88081701
Click to expand...
Click to collapse
Does not work, either.

Wojtek1971 said:
Does not work, either.
Click to expand...
Click to collapse
Did you do it like this?
1/root
2/Twrp

NOSS8 said:
Did you do it like this?
1/root
2/Twrp
Click to expand...
Click to collapse
How do I flash TWRP, i.e. what is the actual fastboot command? Also, does it matter which version of TWRP I should flash since there are quite a few of them?

In TWRP go to advanced. There you can choose to install TWRP directly.

Wojtek1971 said:
How do I flash TWRP, i.e. what is the actual fastboot command? Also, does it matter which version of TWRP I should flash since there are quite a few of them?
Click to expand...
Click to collapse
Same method
https://forum.xda-developers.com/t/shared-twrp-by-skkk.4479573/

NOSS8 said:
Same method
https://forum.xda-developers.com/t/shared-twrp-by-skkk.4479573/
Click to expand...
Click to collapse
The cmd fastboot flash recovery_ab twrp.img command fails. After booting to twrp using the fastboot boot twrp.img command and using the option flash current recovery upon rebooting system I'm back in twrp. The only way to get out of the bootloop is to flash magisk patched boot image to both partitions, which restores the stock recovery.

Wojtek1971 said:
The cmd fastboot flash recovery_ab twrp.img command fails. After booting to twrp using the fastboot boot twrp.img command and using the option flash current recovery upon rebooting system I'm back in twrp. The only way to get out of the bootloop is to flash magisk patched boot image to both partitions, which restores the stock recovery.
Click to expand...
Click to collapse
Do you use this rom.V14.0.1.0.TLDEUXM?
What Twrp have you tried (full name)?
Edit:
My bad,No rec version for this device.
After flashing the patched boot did you do that?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

NOSS8 said:
Do you use this rom.V14.0.1.0.TLDEUXM?
What Twrp have you tried (full name)?
Edit:
My bad,No rec version for this device.
After flashing the patched boot did you do that?
View attachment 5843407​
Click to expand...
Click to collapse
I used this one: [BOOT]3.7.0_12-Mi12X_v7.1_A13-psyche-skkk. I did use the direct install method with magisk. I also tried to install TWRP to recovery ramdisk - it apparently went okay but on rebooting to recovery I'm back to stock one. I also tried flashing orangefox but with the same result . Yes, I'm on the latest miui version.

I've finally worked it out. This is what I did:
1. I rebooted to fastboot
2. In adb I entered "fastboot boot name of the twrp.img
3. Once in twrp I flashed the recovery version of my rom (Miui 14) downloaded from xiaomifirmwareupdater.com
4. I went to advanced options and used install recovery ramdisk
5. In advanced options again I entered "Use magisk to patch boot"
6. I rebooted the system: no bootloop and the root working perfectly.
It is crucial to install twrp first and only then patch the boot from twrp , not the other way round.

P.S.
In this procedure the twrp recovery is not overwritten by stock one.

Related

Phone keeps rebooting in to recovery

Today i was checking if the kernel which i compiled works or not so i flashed it in philz touch CWM recovery and at after reboot it just kept on flashing LG logo.so i just went back in to recovery and as i didn't have any back up i just flashed the new rom file and after that whenever i try to reboot my phone it goes in to recovery.I tried removing battery and then rebooting but then also it reboots in to recovery.
I had flashed these kernels before and that time also my phone kept flashing LG logo but that time I used TWRP recovery and flashed a new rom sometimes and sometimes just flashed backup and i didn't had any problems,today i flashed CWM and I am running in to this problem .
BTW my phone is E980.
thank you.
yey got it solved.flashed TWRP recovery by madmack and then flashed the rom and it worked.I will never ever touch CWM recovery again.
sukesh1090 said:
yey got it solved.flashed TWRP recovery by madmack and then flashed the rom and it worked.I will never ever touch CWM recovery again.
Click to expand...
Click to collapse
The only one works for me is CWM 6.0.4.4 the problem is any ROM straight from stock f240, GX etc... use aboot.img like CWM 6.0.4.7 so if you use a recovery that not use it this will cauae a boot loop.
I open the zip a delete and done
keep this files on zip anything else delete.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am used to the TWRP recovery.I use it in all of my devices,I flashed CWM just to check if my phone goes in to fastboot mode or not and even with CWM my phone won't stay in fastboot mode,so i went back to TWRP.
sukesh1090 said:
I am used to the TWRP recovery.I use it in all of my devices,I flashed CWM just to check if my phone goes in to fastboot mode or not and even with CWM my phone won't stay in fastboot mode,so i went back to TWRP.
Click to expand...
Click to collapse
1. Where did you find the particular TWRP?
2. If you phone was bootlooping into CWM recovery, as mine is doing as well, how did you flash TWRP? Was it already downloaded to phone?
here try this,
TWRP-2.6.1.0-E980-LOKIFIED-E986HACKED.zip
this worked for me.copy it to SD card and then flash this zip in CWM and reboot recovery.it will boot in to TWRP and then factory reset and flash new rom after that you ashould be good to go.
sukesh1090 said:
here try this,
TWRP-2.6.1.0-E980-LOKIFIED-E986HACKED.zip
this worked for me.copy it to SD card and then flash this zip in CWM and reboot recovery.it will boot in to TWRP and then factory reset and flash new rom after that you ashould be good to go.
Click to expand...
Click to collapse
How do I copy it to the SD card? My phone is no longer showing up on the computer when plugged in.
use micro SD card reader or some other phone which can take sd card.

[ROOT][UB][LP] Easy way to Root your ZL with Lollipop!

ROOT Xperia ZL - 5.0.2
NOTE: For now it's only for UNLOCKED BOOTLOADER!
Come on with me, mate! Let's root that damn thing in some easy steps!
Requirements:
Download Advenced Custom Kernel .292 by Gustavo RD78
Download my Kernel Only.ftf (don't metter if it's for C6506 or 02 its the same thing)
Download SuperSu.zip
Note: Extract the boot.img from Gustavo RD78's zip.
Note: If you've been prompted to update binaries in SuperSU app, flash this file. It is an beta updated version of SuperSU that might works!
For root:
Unlock your BL
Flash extracted boot.img from the Gustavo's zip through Fastboot Mode in Flash Tool
Reboot into recovery (reboot and press Volume + repetivelly)
Flash SuperSu.zip
Power options (in recovery) -> Power off
Flash my Kernel Only.ftf from here through flash mode!
Power on, you're rooted!
Relock your bootloader, be happy! (Optionally)
For recovery:
I don't flash xzdualrecovery, it got me into bootloop.
My tip is for you to download TWRP.img and flash it with RASHR APP (download from Google Play).
didnt work for me, i flashed as mentioned above but on booting supersu shows needs to be updated and fails
apps like tb show root fail only works through kingroot then but cant get recovery to work through that root access
I was able to get full root with this guide except for the SuperSU zip, it asked me to update the binaries and you know, you can't because you don't have recovery and that version isn't working on Lollipop... BUT
This one works perfectly, do the same but use THIS one
BETA SuperSU 2.4.8
And don't forget to flash the stock kernel!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Oliver94 said:
It asked me to update the binaries
Click to expand...
Click to collapse
Really? It doesn't asked me... Well, I'll add this link to the OP for the ones that have been prompted to update binaries. Thanks for repoting this to me!
Abadeer said:
For recovery:
I don't flash xzdualrecovery, it got me into bootloop.
My tip is for you to download TWRP.img and flash it with RASHR APP (download from Google Play).
Click to expand...
Click to collapse
Hi, which twrp.img did you mentioned? Download in Rashr app or somewhere, as Rashr said it will flash the recovery into the FOTAkernel partition. Will this work with stock rom?
Sent from my C6503
khangozzy said:
Hi, which twrp.img did you mentioned? Download in Rashr app or somewhere, as Rashr said it will flash the recovery into the FOTAkernel partition. Will this work with stock rom?
Sent from my C6503
Click to expand...
Click to collapse
That recovery didn't work for me.
khangozzy said:
Hi, which twrp.img did you mentioned? Download in Rashr app or somewhere, as Rashr said it will flash the recovery into the FOTAkernel partition. Will this work with stock rom?
Sent from my C6503
Click to expand...
Click to collapse
didnt work for me .. doubt stock kernel supports it
not working
got me into bootloop flashing the "gustavo's" kernel
may i ask what happen if not unlock bootloader yet? got bootloop?
greetings, be so kind as to better explain the three from step 2 to 5 , thanks
Abadeer said:
ROOT Xperia ZL - 5.0.2
NOTE: For now it's only for UNLOCKED BOOTLOADER!
Come on with me, mate! Let's root that damn thing in some easy steps!
Requirements:
Download Advenced Custom Kernel .292 by Gustavo RD78
Download my Kernel Only.ftf (don't metter if it's for C6506 or 02 its the same thing)
Download SuperSu.zip
Note: Extract the boot.img from Gustavo RD78's zip.
Note: If you've been prompted to update binaries in SuperSU app, flash this file. It is an beta updated version of SuperSU that might works!
For root:
Unlock your BL
Flash extracted boot.img from the Gustavo's zip through Fastboot Mode in Flash Tool
Reboot into recovery (reboot and press Volume + repetivelly)
Flash SuperSu.zip
Power options (in recovery) -> Power off
Flash my Kernel Only.ftf from here through flash mode!
Power on, you're rooted!
Relock your bootloader, be happy! (Optionally)
For recovery:
I don't flash xzdualrecovery, it got me into bootloop.
My tip is for you to download TWRP.img and flash it with RASHR APP (download from Google Play).
Click to expand...
Click to collapse
I download Rashr and flash TWRP.imp but can't enter Recovery. I root my phone success by use PRF Creator (choose 10.6.A.0.454 Rom and SuperSu 2.4.8 only, not choose ZL-dualrecovery).
THANKS
Abadeer said:
ROOT Xperia ZL - 5.0.2
NOTE: For now it's only for UNLOCKED BOOTLOADER!
Come on with me, mate! Let's root that damn thing in some easy steps!
Requirements:
Download Advenced Custom Kernel .292 by Gustavo RD78
Download my Kernel Only.ftf (don't metter if it's for C6506 or 02 its the same thing)
Download SuperSu.zip
Note: Extract the boot.img from Gustavo RD78's zip.
Note: If you've been prompted to update binaries in SuperSU app, flash this file. It is an beta updated version of SuperSU that might works!
For root:
Unlock your BL
Flash extracted boot.img from the Gustavo's zip through Fastboot Mode in Flash Tool
Reboot into recovery (reboot and press Volume + repetivelly)
Flash SuperSu.zip
Power options (in recovery) -> Power off
Flash my Kernel Only.ftf from here through flash mode!
Power on, you're rooted!
Relock your bootloader, be happy! (Optionally)
For recovery:
I don't flash xzdualrecovery, it got me into bootloop.
My tip is for you to download TWRP.img and flash it with RASHR APP (download from Google Play).
Click to expand...
Click to collapse
You sir is a life saver!
Thank you for this guide. I successfully install lollipop and got root with BETA SuperSU 2.4.8 on my C6503. I would know if is possible flash a recovery without going in bootloop, because I would install xposed framework.
I already tried to flash the recovery TWRP from Rashr app, but it seems that the recovery wasn't installed and it's impossible boot in recovery mode.
How can I recover from a Bootloop?
I flashed boot.img with fastboot but then realized i didn't have SuperSU on my SDCard. So I Flashed your KernelOnly.ftf to get back into my system and get SuperSU on my SDCard, but now I'm in bootloop.
EDIT: I flashed my ROM again (C6503_10.6.A.0.454_Customized_BR) to recover from Bootloop. But now I'm guessing that you Kernel Only file doesn't work with my ROM. Will I get bootloop again if I successfully root my phone?
fabioascoelho said:
How can I recover from a Bootloop?
I flashed boot.img with fastboot but then realized i didn't have SuperSU on my SDCard. So I Flashed your KernelOnly.ftf to get back into my system and get SuperSU on my SDCard, but now I'm in bootloop.
EDIT: I flashed my ROM again (C6503_10.6.A.0.454_Customized_BR) to recover from Bootloop. But now I'm guessing that you Kernel Only file doesn't work with my ROM. Will I get bootloop again if I successfully root my phone?
Click to expand...
Click to collapse
Check here if your ROM is correct. I went in bootloop several times before have root and working ROM. Take attention to step 5. Don't reboot your system, but power off or you'll go in bootloop. Good Luck!
P.S. I used Beta SuperSU and not SuperSU. I don't know if it changes something.
drakon091 said:
Check here if your ROM is correct. I went in bootloop several times before have root and working ROM. Take attention to step 5. Don't reboot your system, but power off or you'll go in bootloop. Good Luck!
P.S. I used Beta SuperSU and not SuperSU. I don't know if it changes something.
Click to expand...
Click to collapse
I'm using the last Firmware available for C6503 (1270-5681 10.6.A.0.454 R3E), but the OP Kernel is for C6502. I thought it would be compatible.
What I did:
1. Flashed boot.img in fastboot mode;
2. Booted into recovery mode;
3. Realized I didn't had Beta SuperSU on my phone, just on my PC :crying:
4. Went to Power Menu and Power Off on recovery mode;
5. Flashed the Kernel offered by the OP, Kernel Only from a C6502 phone;
6. Tried to boot but I got a bootloop.
7. Re-flashed my C6503 Lollipop ROM.
Now I want to retry the process, but can someone confirm that the Kernel from C6502 phone is compatible with a C6503 or should I wait for someone to post a Kernel Only ftf for my phone version?
fabioascoelho said:
I'm using the last Firmware available for C6503 (1270-5681 10.6.A.0.454 R3E), but the OP Kernel is for C6502. I thought it would be compatible.
What I did:
1. Flashed boot.img in fastboot mode;
2. Booted into recovery mode;
3. Realized I didn't had Beta SuperSU on my phone, just on my PC :crying:
4. Went to Power Menu and Power Off on recovery mode;
5. Flashed the Kernel offered by the OP, Kernel Only from a C6502 phone;
6. Tried to boot but I got a bootloop.
7. Re-flashed my C6503 Lollipop ROM.
Now I want to retry the process, but can someone confirm that the Kernel from C6502 phone is compatible with a C6503 or should I wait for someone to post a Kernel Only ftf for my phone version?
Click to expand...
Click to collapse
All steps seem correct and I guarantee that custom kernel is compatible with C6503 (I flashed it on mine C6503). Try to install Beta SuperSU, it should work! Kernel Only ftf is compatible too!
i´ve already done this - worked like a charm! but i got another question now:
i want to install xposed fw - so if i flash the boot.img from gustavo´s kernel to get a custom recovery again, install the xposed fw stuff, and then flash the only-kernel from lollipop again, will i lose my data on phone or better said, do i´ve to setup everything again? or can i work with the phone as it was before flashing gustavo´s boot.img?
I would know if there is another way to get a recovery without reflash gustavo's kernel and then kernel only ftf. It's annoying do this for every installation...
yup, thats true, but, not atm! we´ve to wait until somebody does the job!
i tried to flash the kernel of xzdualrecovery for 10.6.A.0.454 which can be made on their site, but doesnt work either - bootloop

Rooting the Pixel XL with Magisk

So I just got a Pixel XL and have unlocked the bootloader, but now I'm trying to root and I'm very confused. I have a few questions:
Should I be using TWRP RC1 or RC2? I'm currently on 3.1.0-0RC2 but I hear RC2 has weird issues with restoring/making Nandroids but I can't tell if that refers to the RC2 of a different build or what... The other issue is the TWRP page for Marlin only lists RC2 for v3.1.0, there is no RC1
Is it possible to get MagiskSU running and installed without a custom kernel - if possible I'd like to stick to the stock kernel
Can I use Magisk Modules or am I stuck in Core Only mode?
Any help would be appreciated, thanks!
CarteNoir said:
So I just got a Pixel XL and have unlocked the bootloader, but now I'm trying to root and I'm very confused. I have a few questions:
Should I be using TWRP RC1 or RC2? I'm currently on 3.1.0-0RC2 but I hear RC2 has weird issues with restoring/making Nandroids but I can't tell if that refers to the RC2 of a different build or what... The other issue is the TWRP page for Marlin only lists RC2 for v3.1.0, there is no RC1
Is it possible to get MagiskSU running and installed without a custom kernel - if possible I'd like to stick to the stock kernel
Can I use Magisk Modules or am I stuck in Core Only mode?
Any help would be appreciated, thanks!
Click to expand...
Click to collapse
Go here and search for Installation Instructions: [Unofficial] Google Pixel family support by goodwin_c
Go here for the latest Magisk/Magisk Manager Pixel/Pixel XL files.
Homeboy76 said:
Go here and search for Installation Instructions: [Unofficial] Google Pixel family support by goodwin_c
Go here for the latest Magisk/Magisk Manager Pixel/Pixel XL files.
Click to expand...
Click to collapse
Hi there, I went to that thread but it has no instructions, just discussion. I had a look for instructions but could only find other threads. I followed what they said (fastboot boot twrp.img => flash twrp.zip => reboot recovery => flash magisk.zip => flash twrp.zip => reboot system) but the root doesn't work (despite all recovery logs saying everything worked properly), and I get this when I open MagiskManager:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CarteNoir said:
Hi there, I went to that thread but it has no instructions, just discussion. I had a look for instructions but could only find other threads. I followed what they said (fastboot boot twrp.img => flash twrp.zip => reboot recovery => flash magisk.zip => flash twrp.zip => reboot system) but the root doesn't work (despite all recovery logs saying everything worked properly), and I get this when I open MagiskManager:
Click to expand...
Click to collapse
have you done a 2nd reboot? sometimes that's the charm...
Captain Hindsight said:
have you done a 2nd reboot? sometimes that's the charm...
Click to expand...
Click to collapse
I've done multiple reboots sadly. Still nothing.
@CarteNoir working for me on PA. I always flash magisk last. Twrp is working fine for me. perhaps twrp is flashing over magisk?
tdct12 said:
@CarteNoir working for me on PA. I always flash magisk last. Twrp is working fine for me. perhaps twrp is flashing over magisk?
Click to expand...
Click to collapse
I think that might be the case but I don't know how to stop it. I tried flashing Magisk after TWRP but still no dice. I tried flashing the ElementalX kernel as per the guides and it finally works, but I really don't want to have to use a custom kernel, I'd much rather just stick to the stock kernel. Is there any way I can get this working with the stock kernel?
tdct12 said:
@CarteNoir working for me on PA. I always flash magisk last. Twrp is working fine for me. perhaps twrp is flashing over magisk?
Click to expand...
Click to collapse
TWRP does not flash over magisk, never has and isn't now.
---------- Post added at 07:40 AM ---------- Previous post was at 07:38 AM ----------
CarteNoir said:
I think that might be the case but I don't know how to stop it. I tried flashing Magisk after TWRP but still no dice. I tried flashing the ElementalX kernel as per the guides and it finally works, but I really don't want to have to use a custom kernel, I'd much rather just stick to the stock kernel. Is there any way I can get this working with the stock kernel?
Click to expand...
Click to collapse
So the modified kernel hides your unlocked bootloader status, running the stock kernel means you will fail safetynet and thus negate using magisk to begin with. There is a patched stock kernel you can fastboot that patches the bootloader check but it needs to be fastbooted to the device. Thats if you can get magisk working with it.
pcriz said:
TWRP does not flash over magisk, never has and isn't now.
---------- Post added at 07:40 AM ---------- Previous post was at 07:38 AM ----------
So the modified kernel hides your unlocked bootloader status, running the stock kernel means you will fail safetynet and thus negate using magisk to begin with. There is a patched stock kernel you can fastboot that patches the bootloader check but it needs to be fastbooted to the device. Thats if you can get magisk working with it.
Click to expand...
Click to collapse
pcriz said:
TWRP does not flash over magisk, never has and isn't now.
So the modified kernel hides your unlocked bootloader status, running the stock kernel means you will fail safetynet and thus negate using magisk to begin with. There is a patched stock kernel you can fastboot that patches the bootloader check but it needs to be fastbooted to the device. Thats if you can get magisk working with it.
Click to expand...
Click to collapse
Hey there, took a look at that patched stock kernel but unfortunately couldn't get it to work. I tried following the standard installation steps up until the point where you're supposed to flash the ElementalX kernel, at which point I booted back to bootloader and used fastboot flash kernel to flash the patched stock kernel file, then I returned to recovery to flash TWRP again as per the flow of the instructions, however that didn't work and Magisk still shows as not installed/no root.
I then tried flashing stock images/uninstalling Magisk, then following the standard instructions all the way through, installing the ElementalX kernel along the way. I then rebooted, confirmed Magisk installed and was working correctly, then went back into the bootloader and used fastboot flash kernel to flash the patched stock kernel file. However again on rebooting to system I found that Magisk said no root/not installed.
Is ElementalX doing something other than removing the androidboot.verifiedbootstate flag in regards to making Magisk work? Or is there perhaps anywhere where I can find a TWRP flashable package version of the patched stock kernel?
CarteNoir said:
Hey there, took a look at that patched stock kernel but unfortunately couldn't get it to work. I tried following the standard installation steps up until the point where you're supposed to flash the ElementalX kernel, at which point I booted back to bootloader and used fastboot flash kernel to flash the patched stock kernel file, then I returned to recovery to flash TWRP again as per the flow of the instructions, however that didn't work and Magisk still shows as not installed/no root.
I then tried flashing stock images/uninstalling Magisk, then following the standard instructions all the way through, installing the ElementalX kernel along the way. I then rebooted, confirmed Magisk installed and was working correctly, then went back into the bootloader and used fastboot flash kernel to flash the patched stock kernel file. However again on rebooting to system I found that Magisk said no root/not installed.
Is ElementalX doing something other than removing the androidboot.verifiedbootstate flag in regards to making Magisk work? Or is there perhaps anywhere where I can find a TWRP flashable package version of the patched stock kernel?
Click to expand...
Click to collapse
So I think you would want to fastboot the stock boot.IMG. flash the kernel, then turn around and flash twrp, reboot, install magisk.
If Elemental is doing something more to make this work I don't know what it is, but essentially every custom kernel or kernel that comes packaged with a custom rom does the same thing.

h815_usu twrp bootloop problem

i unlock my device using usu mode and using with custom roms. one day i installed ressurection remix 7.01 and supersu after some use i decide to only factory reset for clean start on twrp. after this my device stucked on twrp loop. no matter how try other options and roms booting only twrp.(tried offical latest 3.6.0)
i can use bootloader and download mode and tried unlock again with usu mode but no luck.
here my salt options can i do anything or my device gone forever? device model was H815TR
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
theartanis said:
i unlock my device using usu mode and using with custom roms. one day i installed ressurection remix 7.01 and supersu after some use i decide to only factory reset for clean start on twrp. after this my device stucked on twrp loop. no matter how try other options and roms booting only twrp.(tried offical latest 3.6.0)
i can use bootloader and download mode and tried unlock again with usu mode but no luck.
here my salt options can i do anything or my device gone forever? device model was H815TR
View attachment 5490901
Click to expand...
Click to collapse
Boot to fastboot and exec
fastboot format userdata
Then boot
steadfasterX said:
Boot to fastboot and exec
fastboot format userdata
Then boot
Click to expand...
Click to collapse
booted on twrp and nothing in device. twrp says rom successfully flashed after rebooting device is empity. so twrp wiping auto everything after reboot?
theartanis said:
booted on twrp and nothing in device. twrp says rom successfully flashed after rebooting device is empity. so twrp wiping auto everything after reboot?
Click to expand...
Click to collapse
I told you that you should boot Android after that command and not TWRP. So does Android boot now or not?
i retry and booting to only twrp
theartanis said:
i retry and booting to only twrp
Click to expand...
Click to collapse
Please flash the latest Preview(!) TWRP and not the official one. The official one is only valid for Oreo and does not contain the latest fixes
now i tried with twrp 3.5.2_9 preview-275 same thing happens
theartanis said:
now i tried with twrp 3.5.2_9 preview-275 same thing happens
Click to expand...
Click to collapse
Choose wipe -> advanced format userdata snd reboot.
If that does not fix it doe the above fastboot command again and try to boot
no luck i think main problem is twrp says everytime rom flashing succesfully but device is empity nothing installed
theartanis said:
no luck i think main problem is twrp says everytime rom flashing succesfully but device is empity nothing installed
Click to expand...
Click to collapse
What ROM do you flash? Pls flash a UsU rom.
Also after flashing get the recovery log. See my signature how
i flashing your lineageos 14.1_usu rom
https://bpa.st/IOQA > This log is after flashing rom without reboot system
https://bpa.st/AJQQ > this is after reboot
theartanis said:
i flashing your lineageos 14.1_usu rom
https://bpa.st/IOQA > This log is after flashing rom without reboot system
https://bpa.st/AJQQ > this is after reboot
Click to expand...
Click to collapse
Hm ok all went fine but when flash a nougat based ROM use the nougat(!) preview TWRP . Not sure if that helps but if you wanna use such an old ROM it might be needed anyways.
wow at last 14.1 lineage os booted after installed with N twrp-3.4.0-PREVIEW-230 but it have a error failed to mount /firmware (no such device) after wipe or install its not important right?
theartanis said:
wow at last 14.1 lineage os booted after installed with N twrp-3.4.0-PREVIEW-230 but it have a error failed to mount /firmware (no such device) after wipe or install its not important right?
Click to expand...
Click to collapse
I guess with "it" you meant TWRP has that issue ? As long as you stay on on UsU roms it shouldn't be an issue
thank you for everything now i using your last version of twrp and installed android 9.0 rom

[OP7T][Stock/Magisk v23.0] OxygenOS 11.0.9.1.HD65AA boot.img

OnePlus 7T OxygenOS 11.0.9.1.HD65AA Global boot.img
Stock: https://mega.nz/file/CV9B2I5A#kIjb0ST0XvAn1yJTMi56hdz1asi-d_LH0uaOCcfrA2g
Magisk v23.0 Patched: https://mega.nz/file/eFcygLwb#U0m48VlQekyhrKAEC3Oc56yfxdbjGmGhiwgndU-Grwc
Note: DISABLE ALL MAGISK MODULES BEFORE EXECUTING OTA UPGRADE
I have OnePlus7T Indian version. I was on 11.0.9.1 and rooted with Magisk. I have Canary version installed. There was an Update to Magisk which I accidentally by OTA instead of full and now my phone is not booting. It goes into original recovery mode or fastboot only. How can I recover from this? I tried to flash the magisk patched image and it shows as flashed but when I reboot I again reach original recovery / fastboot menu only. Please help!!
jesrani said:
I have OnePlus7T Indian version. I was on 11.0.9.1 and rooted with Magisk. I have Canary version installed. There was an Update to Magisk which I accidentally by OTA instead of full and now my phone is not booting. It goes into original recovery mode or fastboot only. How can I recover from this? I tried to flash the magisk patched image and it shows as flashed but when I reboot I again reach original recovery / fastboot menu only. Please help!!
Click to expand...
Click to collapse
flash original (stock) boot.Img above to unroot
HueyT said:
flash original (stock) boot.Img above to unroot
Click to expand...
Click to collapse
Thanks. Would that work for Indian version also? And would that wipe data?
I was trying many things and when I used Tool All in One to flash TWRP the phone rebooted into the system. Not even sure if TWRP is installed or not but everything is working now and phone is rooted. Not sure how it got resolved. Magisk is updated to latest version.
jesrani said:
Thanks. Would that work for Indian version also? And would that wipe data?
I was trying many things and when I used Tool All in One to flash TWRP the phone rebooted into the system. Not even sure if TWRP is installed or not but everything is working now and phone is rooted. Not sure how it got resolved. Magisk is updated to latest version.
Click to expand...
Click to collapse
All variants share same boot, data fine
HueyT said:
flash original (stock) boot.Img above to unroot
Click to expand...
Click to collapse
jesrani said:
I have OnePlus7T Indian version. I was on 11.0.9.1 and rooted with Magisk. I have Canary version installed. There was an Update to Magisk which I accidentally by OTA instead of full and now my phone is not booting. It goes into original recovery mode or fastboot only. How can I recover from this? I tried to flash the magisk patched image and it shows as flashed but when I reboot I again reach original recovery / fastboot menu only. Please help!!
Click to expand...
Click to collapse
In such situation always remember, flashing original boot.img may not work best is change the partition. so if you are in a go to b and boot. Use temp TWRP custom recovery to change partition if you cannot change via command line. and once you are able to boot, flash magisk properly on both partition.
This isn't really working for me, I try to flash it with 'fastboot flash boot magisk_patched-23000.img' but it does say this on command but it doesn't boot into root
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit: I have Magisk ver. 25.2
RRRb50 said:
This isn't really working for me, I try to flash it with 'fastboot flash boot magisk_patched-23000.img' but it does say this on command but it doesn't boot into root
View attachment 5716169
Edit: I have Magisk ver. 25.2
Click to expand...
Click to collapse
did you install magisk25 apk?
thexile said:
OnePlus 7T OxygenOS 11.0.9.1.HD65AA Global boot.img
المخزون: https://mega.nz/file/CV9B2I5A#kIjb0ST0XvAn1yJTMi56hdz1asi-d_LH0uaOCcfrA2g
Magisk v23.0 مصححة: https://mega.nz/file/eFcygLwb#U0m48VlQekyhrKAEC3Oc56yfxdbjGmGhiwgndU-Grwc
ملاحظة: قم بتعطيل كافة وحدات MAGISK قبل تنفيذ ترقية OTA
Click to expand...
Click to collapse
I am on OOs 11.0.9.1. my device went into bootloop after i updated some magisk modules.
After spending a number of hours doing various trials and checking Xda threads I managed to get it to boot again but root was lost.
I again read more articles and learnt that I have to flash recovery to both partitions so I used Tool All in one, changed active slots and flashed the magisk patched image from this thread i think on both slots. But i am not sure. I managed to get root but the Magisk manager was not getting installed.
I tried few other things and finally i am now not able to root again. Phone is booting after I flash a recovery but I am not sure if it will boot if restarted or go into loop.
Can anyone explain the proper procedure and sequence to follow for rooting and which files to use.
I installed twrp on partition a and now I am having root. I was not able to install Magisk25.2.apk but was able to install some other version, I think Canary release. So most things seem to work. However when I click Add Systemless Host, nothing seems to be happening. AdAway is not working. How can I get this to work again.
HDFC banking app is also detecting root even though I have installed HideMyApplist and configured DevOptsHide and HideMyApplist in LsPosed. Not sure what is the mistake. Can anyone advice?

Categories

Resources