I have been using many custom ROMs in the past months on my phone. I flashed stock Oreo just for fun. Now I lost my TWRP. It got replaced with Stock recovery. The main problem is I am unable to flash a recovery on my phone since then. I set my phone on USB debugging and open powershell & run the command " adb fastboot reboot"
Things get weird here. After flashing the TWRP image using fastboot flash recovery "mytwrpname.img" . Recovery shows a pattern(3×3) and asks me to decrypt. I do it and flash magisk but CTS/ Safety Net keeps failing. I wanted to reflash and again TWRP is gone.
What should I do. Sorry for the long story. Rules wanted me to be descriptive.
Help me out!!
Yeshu_bablu said:
I have been using many custom ROMs in the past months on my phone. I flashed stock Oreo just for fun. Now I lost my TWRP. It got replaced with Stock recovery. The main problem is I am unable to flash a recovery on my phone since then. I set my phone on USB debugging and open powershell & run the command " adb fastboot reboot"
Things get weird here. After flashing the TWRP image using fastboot flash recovery "mytwrpname.img" . Recovery shows a pattern(3×3) and asks me to decrypt. I do it and flash magisk but CTS/ Safety Net keeps failing. I wanted to reflash and again TWRP is gone.
What should I do. Sorry for the long story. Rules wanted me to be descriptive.
Help me out!!
Click to expand...
Click to collapse
Same problem happend to me , what i did
1. After decrypting , i flashed masgisk and lazyflasher
2. Booted to system , opened magisk manager and got root
3. Downloaded official twrp app from playstore
4. Opened official twrp app ,granted the supersu permissions
5. Downloaded and flashed the same twrp recovery from which i decrypted the device(very important to download and flash the same recovery version )
6. Boom you have twrp recovery forever :good:
shibbu18111997 said:
Same problem happend to me , what i did
1. After decrypting , i flashed masgisk and lazyflasher
2. Booted to system , opened magisk manager and got root
3. Downloaded official twrp app from playstore
4. Opened official twrp app ,granted the supersu permissions
5. Downloaded and flashed the same twrp recovery from which i decrypted the device(very important to download and flash the same recovery version )
6. Boom you have twrp recovery forever :good:
Click to expand...
Click to collapse
Is it important to flash lazy flasher?
Yeshu_bablu said:
Is it important to flash lazy flasher?
Click to expand...
Click to collapse
I don't think so. I'm on latest TWRP 3.2.3.1 by just decrypting and flashing Magisk 16.
Sent from my Moto G5 Plus using XDA Labs
Related
Hi Guys, i have 1 little problem.
im on the last Android N Preview 5 and i wannt to root it.
i have downloaded SuperSU 2.76 and TWRP 3.0.2.0
I rebooted to bootloader flashed thw twrp via Terminal, now i wanna boot into recovery because of the SuperSU zip, but i am stucking on TWRP Logo.
Phone is working normal, but i cant enter into recovery, anyone else has the same problem?
Thanks and best Regards,
Taker
You have to flash another version of TWRP... But, dude, i'm on the exact same case, same preview, and i can't get it to work. TWRP doesn't seem to work :/ I always got the god damn "no command" even if i follow some of the tutorials here...
EDIT : Try flashing the 3.0.0 or 3.0.1, and when all will be working (if you achieve, tell me how xD) update it.
EDIT 2 : I may find something, i'll let you know !
TWRP doesnt work with the developer previews without modifying the boot image.
If you want to root, you can use CF-Auto root.
You will still have the stock recovery.
Taker18 said:
Hi Guys, i have 1 little problem.
im on the last Android N Preview 5 and i wannt to root it.
i have downloaded SuperSU 2.76 and TWRP 3.0.2.0
I rebooted to bootloader flashed thw twrp via Terminal, now i wanna boot into recovery because of the SuperSU zip, but i am stucking on TWRP Logo.
Phone is working normal, but i cant enter into recovery, anyone else has the same problem?
Thanks and best Regards,
Taker
Click to expand...
Click to collapse
This is a known issue, Search the forum for the resolution. Basically TWRP won't work on the Android N on Encrypted device.
The solution is pretty simple. You need to decrypt your device's storage. TWRP currently doesn't work with encrypted N preview.
This could be easily done by flashing the modified boot image, that will disable forced-encryption. After that, you will need to format the current userdata partition to decrypt the storage.
Code:
fastboot format userdata
fastboot format cache
Once that is done, you can flash TWRP and then use SuperSU to root.
Another way to direct root is by using Cf-Auto-Root. But I am not sure about that specifically. While some users have succeeded, there are a few who have failed to root using Cf-Auto-Root.
Just use CF-Auto Root, it will do all the things.
Make sure you have unlocked your Bootloader and downloaded the good version of CF for your device.
Reboot your phone in bootloader mode, plug it to a computer, and just open the .bat (if you're on windows, or the equivalent for Mac / Linux). It will install SuperSU. When it's done, don't forget to download the TWRP Manager on the Playstore, and you'll have a working Recovery ! I did that, i know have a rooted nexus 6P on Android N preview 5
Also, lot's of Root's only apps will not work properly, because lots of changes took place on Android N. So make sure you follow some guide out there (exemple : Ex Kernel don't work if you don't tweak some things, same with Ad Away, so make sure you're googling)
I followed the premise of this thread here so all credits go to the OP http://forum.xda-developers.com/showthread.php?t=3410906 I flashed the latest Marshmallow vendor.img via fastboot, then flashed TWRP via fastboot. Booted into recovery from the bootloader then side loaded supersu using adb side load in TWRP. After that I rebooted to bootloader from TWRP and fastboot flashed the DP5 vendor.img and recovery.img. All is working well.
Don´t know if anybody had this kind of Problem before. Couldnt find anything.
Was on Stock V image with cutom kernel flashed via fastboot and SU flashed via fastboo boot to root.
Problem:
bootet TWRP via fastboot with newest drivers. Flashed RC via booted TWRP.
Wanted to reboot system, but was stuck in a TWRP bootloop. No chance to boot into bootloader also. Even tried changing slots in twrp but still only bootloop to twrp.
Than I thought about sideload because that's what I did with latest ota image from Google.
Here is what I did:
sideloaded the ota.zip via TWRP from PC "adb sideload ota_file.zip" ota_file should be the name of your ota file
It gave me an error, but after rebooting system all fine again. Back to stock V and bootloader is there again.
Easier thing to do is flash boot.img from the factory image to boot_a and boot_b if you are having issues.
This problem occurs when you flash TWRP if you have root installed. To avoid, remove root before installing TWRP.
Oh, I should mention to get into bootloader from TWRP, simply use the adb command "adb reboot bootloader". Should work, worked for me.
I just have avoided flashing TWRP altogether. I rarely need to flash anything, so it can wait until I am at work or home to use a PC to BOOT TWRP each time I need it, instead of flashing it.
Nitemare3219 said:
I just have avoided flashing TWRP altogether. I rarely need to flash anything, so it can wait until I am at work or home to use a PC to BOOT TWRP each time I need it, instead of flashing it.
Click to expand...
Click to collapse
Until it gets a little more stable on the Pixel, this is probably a good idea.
Good idea. But I M sometimes flashing when I am at or on the way to work.
Flash junkie needs his daily dosis
mikaole said:
Don´t know if anybody had this kind of Problem before. Couldnt find anything.
Was on Stock V image with cutom kernel flashed via fastboot and SU flashed via fastboo boot to root.
Problem:
bootet TWRP via fastboot with newest drivers. Flashed RC via booted TWRP.
Wanted to reboot system, but was stuck in a TWRP bootloop. No chance to boot into bootloader also. Even tried changing slots in twrp but still only bootloop to twrp.
Than I thought about sideload because that's what I did with latest ota image from Google.
Here is what I did:
sideloaded the ota.zip via TWRP from PC "adb sideload ota_file.zip" ota_file should be the name of your ota file
It gave me an error, but after rebooting system all fine again. Back to stock V and bootloader is there again.
Click to expand...
Click to collapse
I know its already solved, but here is what helps (for future):
Just flash SuperSU (latest Version)
Done. This will patch the boot.img so your phone boots in the OS again.
Shadow of Destiny said:
I know its already solved, but here is what helps (for future):
Just flash SuperSU (latest Version)
Done. This will patch the boot.img so your phone boots in the OS again.
Click to expand...
Click to collapse
I have this issue and flashing supersu didn't fix my problem. Will go to factory image flashing.
Shadow of Destiny said:
I know its already solved, but here is what helps (for future):
Just flash SuperSU (latest Version)
Done. This will patch the boot.img so your phone boots in the OS again.
Click to expand...
Click to collapse
Thanks! This worked for me.
EDIT: Never mind, I missed the comment guiding ppl to flash SuperSU. I suppose that when this thread was posted, that SuperSU was still being used instead of Magisk, so solution is essentially the same thing I'm recommending.
I think this thread is missing the much easier solution here:
I just ran into this issue with my Pixel 2 XL when I tried to update my TWRP version from 3.2.1-2 to 3.2.3-0. Here's how it went:
1. Downloaded the TWRP zip, md5 and so on from the official TWRP website for the Pixel 2 XL
2. Booted to TWRP and installed / flashed the zip of TWRP 3.2.3-0
3. Wiped dalvik and then chose Reboot to System from TWRP -- the phone booted right back into TWRP
4. Tried again to reboot the same way. Same result.
5. Installed / Flashed the 3.2.1-2 TWRP zip which was still on my phone, in order to revert to the previous version, and then Rebooted to System -- same result
6. Flashed 3.2.3-0 zip again, then flashed the Flash Kernel that I've been using, and then Flashed the Magisk v16.0 zip that I used to root, then chose Reboot to System -- AND IT WORKED; the phone booted normally and now I'm updated to the latest TWRP successfully.
tl;dr - The solution is to flash Magisk again after updating TWRP. Pretty sure this goes for kernel updates too.
cognitivedissonance said:
EDIT: Never mind, I missed the comment guiding ppl to flash SuperSU. I suppose that when this thread was posted, that SuperSU was still being used instead of Magisk, so solution is essentially the same thing I'm recommending.
I think this thread is missing the much easier solution here:
I just ran into this issue with my Pixel 2 XL when I tried to update my TWRP version from 3.2.1-2 to 3.2.3-0. Here's how it went:
1. Downloaded the TWRP zip, md5 and so on from the official TWRP website for the Pixel 2 XL
2. Booted to TWRP and installed / flashed the zip of TWRP 3.2.3-0
3. Wiped dalvik and then chose Reboot to System from TWRP -- the phone booted right back into TWRP
4. Tried again to reboot the same way. Same result.
5. Installed / Flashed the 3.2.1-2 TWRP zip which was still on my phone, in order to revert to the previous version, and then Rebooted to System -- same result
6. Flashed 3.2.3-0 zip again, then flashed the Flash Kernel that I've been using, and then Flashed the Magisk v16.0 zip that I used to root, then chose Reboot to System -- AND IT WORKED; the phone booted normally and now I'm updated to the latest TWRP successfully.
tl;dr - The solution is to flash Magisk again after updating TWRP. Pretty sure this goes for kernel updates too.
Click to expand...
Click to collapse
This is a Pixel XL forum.
Homeboy76 said:
This is a Pixel XL forum.
Click to expand...
Click to collapse
Aren't the two systems (Pixel OG and Pixel 2) extremely similar? If they're not, then my advice should be ignored for anyone using the Pixel OG.
OP2 is stuck at OP logo after the latest OTA. What do I need to do to have it restored it back ..
sguy156 said:
OP2 is stuck at OP logo after the latest OTA. What do I need to do to have it restored it back ..
Click to expand...
Click to collapse
If you have twrp you can flash a full oxygen rom to restore it if you dont you need to Download latest full rom on your pc go in recovery mode connect phone to pc and put the zip in your storage and after that flash it via recovery mode
No it doesn't go into recovery mode it only goes into fastboot mode ..
sguy156 said:
No it doesn't go into recovery mode it only goes into fastboot mode ..
Click to expand...
Click to collapse
Try this zip on your pc while phone connected and on fastboot mode It auto flashes twrp on your phone so you can try to flash oxygen os via it
https://forum.xda-developers.com/devdb/project/?id=13708#downloads
that worked so do I need to flash modified SU 2.79 to root this phone or stay with the TWRP which came with the first aid script
sguy156 said:
that worked so do I need to flash modified SU 2.79 to root this phone or stay with the TWRP which came with the first aid script
Click to expand...
Click to collapse
If you want to root your phone use this file and Flash it via twrp
https://www.androidfilehost.com/?fid=24591000424939898
modified SU is not going to work and have to use seemless SU . Thanks for your help which version of TWRP works without any issues with the newest Oxygen OS..
sguy156 said:
modified SU is not going to work and have to use seemless SU . Thanks for your help which version of TWRP works without any issues with the newest Oxygen OS..
Click to expand...
Click to collapse
Go to Playstore and download twrp app en flash the latest compiatble version
What is needed to re-root OOS 3.5.6 if you did like me and let the OTA update your phone.
TWRP 3.0.2-2 link
OOS3 SuperSu 2.78 link
You can get latest TWRP flashable OOS packages from here.
For future reference.
Oneplus two Rooted stuck on Boot Loop Mode
Hi Guys I need your Help Can anyone Help me as soon as possible
I was Using Resurrection Remix 5.8.5 Nougat 7.1.2 and in Twrp recovery
I was using Resurrection Remix 5.8.5 Nougat 7.1.2 and in Twrp recovery apk a small mistake was done by me
I tick marked as
Allow Flashing to boot partition after that it got stuck in Boot Loop Mode How fix that guys
But Fastboot Mode only Working
Hi it's done with me but not in your way I was realising why it is not boot loading then I came to know maybe TWRP recovery is not installed so I just wanted to flash TWRP recovery in fastboot mode there are so many people trying in different different way to switch on the mobile which got stuck and boot loop mode I found a simple way with all in one tool for Android I am giving you a description or a link below just to flash TWRP recovery and don't forget to select after flash reboot you have to select tick mark it's the best way you can boot load your phone very very simple way to do that
Download Link
https://basketbuild.com/devs/mauronofrio/TOOL
So I tried updating to Oxygen is 5.0 ran into an install issue, stuck in boot loop. Lucky I had done a Nandroid back up and restore everything. The other night I decided to update to 5.1.1 thinking why not get Android 8.1.0 on my AWESOME phone. Downloaded update, placed in internal storage, booted into TWRP to do a Nandroid back up (due to issues with past update). Back up failed needed to clean drive. So I decided, phone works in Android 7.1.1, why can't what's not broken. Rebooted phone and somehow the update activated. I freaked since last time it failed and not stuck in a loop. This time update was successful but still got stuck in a boot loop. I plugged my phone to my computer and noticed all my files were gone on their install storage, no files / foldersI recognized (e.g. DCIM, DATA, DOWNLOAD, etc). Emailed One Plus and chatted with them. TWRP was gone and was back on stock recovery. Since all was lost I was asked to "Erase All". I did, rebooted and I'm now on 8.1.1 but all my stuff was lost. So I've done since searching and found FlashFire do to a Nandroid backup but need root. So my question is...
Can I re-root my phone without using TWRP but stock recovery and use FlashFire for my back ups? I am not going to flash custom ROM but if I need to flash something, wouldn't stock ROM flash anything on my phone (Magisk)?
If so, can anyone provide me with assistance on re-rooting my phone without TWRP.
Thank you
As far as i know you can't flash anything with stock recovery so you can't root. After flashing the stock os is normal that twrp is been erased by the stock. Just re flash the twrp. I mean, maybe i didn't get the problem, why you can't reflash twrp? If you do that flash twrp codeworx Universal with fastboot in the bootloader, boot in twrp, wipe cache/dalvik, flash magisk 15.3, wipe cache/dalvik, reboot system, update magisk to 16 with the app. I do that way and it worked
Hi
To root your OnePlus 5, you must to follow carefuly the steps below and take your time.
1 - Make a full backup of your data
2 - Unlock the bootloader (Note that'll erase your phone)
3 - Install another recovery : TWRP. This one : https://sourceforge.net/projects/ch...-20180414-codeworkx-cheeseburger.img/download
4 - Flash the full rom Oxygen OS 5.1.1 : http://otafsg.h2os.com/patch/amazon...23_OTA_034_all_1804201219_3824995916a49ee.zip
5 - Install magisk : https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip
6 - Clear cache / Dalvik
7 - You're all done, reboot the phone
8 - Once your phone has booted up, install magisk manager : https://github.com/topjohnwu/MagiskManager/releases/download/v5.7.0/MagiskManager-v5.7.0.apk
Check this tread, that'll help you as well : https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
vanzant83 said:
As far as i know you can't flash anything with stock recovery so you can't root. After flashing the stock os is normal that twrp is been erased by the stock. Just re flash the twrp. I mean, maybe i didn't get the problem, why you can't reflash twrp? If you do that flash twrp codeworx Universal with fastboot in the bootloader, boot in twrp, wipe cache/dalvik, flash magisk 15.3, wipe cache/dalvik, reboot system, update magisk to 16 with the app. I do that way and it worked
Click to expand...
Click to collapse
Hello, thanks for the info and yes, I did try flashing Magisk with stock recovery, while waiting for a reply and can confirm installation failed. So if I reflash TWRP, flashing Magisk using TWRP will work. Therefore, do you have instructions (step-by-step) on how to install TWRP. I have downloaded the latest TWRP image from their website (twrp-3.1.1-1 cheeseburger) onto my desktop. Bootloader is already unlocked as I was previously rooted under Android 7.1.
Thank you.
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
This is the official guide step by step, scroll down until you find "flashing twrp" if you had already unlocked the bootloader ( you already did that right??? xD). Anyway about the recovery and magisk version. The guys in the 5.1.1 thread advised to flash magisk 15.3 instead the 16 and only after the system reboot to make the upgrade to 16 with magisk app (dunno why). But when i tried to do that the last version of twrp (3.1.1-1) failed the flash. So i flashed the twrp 3.1.1-0-universal and 15.3 magisk. I can confirm this combination work, i can't tell for other combinations.
vanzant83 said:
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
This is the official guide step by step, scroll down until you find "flashing twrp" if you had already unlocked the bootloader ( you already did that right??? xD). Anyway about the recovery and magisk version. The guys in the 5.1.1 thread advised to flash magisk 15.3 instead the 16 and only after the system reboot to make the upgrade to 16 with magisk app (dunno why). But when i tried to do that the last version of twrp (3.1.1-1) failed the flash. So i flashed the twrp 3.1.1-0-universal and 15.3 magisk. I can confirm this combination work, i can't tell for other combinations.
Click to expand...
Click to collapse
Hello, I finally got some time to re-root my phone and was reading the instructions you provided and clicked on the download but they are TWRP 3.2.1.x and Magisk 16. Do you have the links for the files you used
Grazie
jmoricone said:
Hello, I finally got some time to re-root my phone and was reading the instructions you provided and clicked on the download but they are TWRP 3.2.1.x and Magisk 16. Do you have the links for the files you used
Grazie
Click to expand...
Click to collapse
Sorry man i typed wrong, the one i meant was 3.2.1-0 Universal codeworkx, the fourth from up to down. About 15.3 magisk i dunno where you can find It, maybe try some google research, otherwise i can send It to you by email, is a little file
Try this link, get the ZIP file from the version you want: https://github.com/topjohnwu/Magisk/releases/
In case you need, this the official section: https://forum.xda-developers.com/apps/magisk
vanzant83 said:
Sorry man i typed wrong, the one i meant was 3.2.1-0 Universal codeworkx, the fourth from up to down. About 15.3 magisk i dunno where you can find It, maybe try some google research, otherwise i can send It to you by email, is a little file
Click to expand...
Click to collapse
Hey there, sorry for the late response..but thank you for the assist..phone is rerooted..all is good..thanks again
Can someone do the tutorial for rooting ze553kl after the Oreo update? Can I use the same recovery?
Thank you..
Root with magisk on Android O
You can root Zenfone 3 zoom with magisk on Android O
I tried rooting it by flashing latest super su but it stuck while booting
1. Unlock the bootloader with the asus's official unlock tool(you can get if on there website)
2. Download magisk app from their website
3. Open the app and download the latest magisk zip file
4. Download TWRP recovery for Asus Zenfone 3
Zoom(search on xda for recovery)
5. Flash TWRP recovery via fastboot method .Then
directly reboot to recovery
6. Now install magisk zip file via TWRP
7. Reboot and enjoy root and magisk modules
Thanks man, but my recovery keeps turning to stock.
TaeBR said:
Thanks man, but my recovery keeps turning to stock.
Click to expand...
Click to collapse
Once you have flashed TWRP, reboot straight into recovery rather than back into the system, otherwise the system overwrites with stock recovery. Once you've done it once it should stick. Hope that works for you.
pjcarrmole said:
Once you have flashed TWRP, reboot straight into recovery rather than back into the system, otherwise the system overwrites with stock recovery. Once you've done it once it should stick. Hope that works for you.
Click to expand...
Click to collapse
Thanks man, but now when i flash the supersu i got the error:
-Patching sepolicy
---Failure, aborting
its getting worst
How can i fix the fingerprint with magisk on Oreo?