Oneplus 5 (Official ROM Android 7.1) can't flash Supersu and return to official REC - OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel

Looks like this is not the proper place to post the thread, but I don't know how to delete it.
So I create Oneplus 5 TWRP and Root Issues in Q and A forum, hope that's the right place.
I flash TWRP 3.2.1 using fastboot.
In TWRP, I flash supersu 2.82 and 2.82 SR5, at the end of "Booting Image patcher" it shows
.........
-Calling user ramdisk patch script
---Failure, aborting
-Unmounting /system and /vender
-Done
Then I reboot to recovery, it return to official REC, not TWRP, and system says there is no root.

Firstly, can you follow the tutorial here; https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877 step by step, and let us know if you have the same problem?
Plus I don't think this warrants it's own thread.

Yes, I follow the steps in the tutorial.
and I tried supersu to gain root
This is a continued post from the above post...
For Users who want to remain Encrypted:
1. Boot into TWRP Recovery and allow system modifications.
2. Swipe right and enable modifications.
3. Select your preferred Language, Tap “Never show this screen on boot again,” and Swipe allow modification.
4. Navigate to Install and select Magisk Or SuperSU to root OnePlus 5.
5. Swipe to confirm the flash
6. Reboot System
Click to expand...
Click to collapse

I mean follow the ENTIRE tutorial, not just the part about 'rooting' and installing TWRP. Have you done every step in that tutorial from the very first post?
What TWRP are you trying to install?
Have you tried installing Magisk over SU?
Have you got TWRP to remain as default recovery yet?

The title of the thread is misleading. And also, it's posted in wrong section.

Sorry, I create a new thread in Q and A forum.
https://forum.xda-developers.com/oneplus-5/help/oneplus-5-twrp-root-issues-t3738309

Thread closed.

Related

TWRP and Magisk help/info please!

I've been away for about a year so I'm behind on everything right now. I just flashed a factory image to get back to Android 8.1 and set my phone up from scratch. I would like to install TWRP and Magisk but have some questions..
TWRP. Do I just find the latest TWRP for this phone and the process is the same as before? Fastboot flash twrp img and then install TWRP zip?
Magisk: I have never used it before so I'm not to familiar at all. From what I can tell I just download the zip and install via twrp? Is there a specific version I should be looking for for the Pixel on 8.1 or will the latest from the Magisk forum work?
I've searched around and keep seeing random issues so I'm wondering if it's as straight forward as mentioned above. I see posts about people trying to install TWRP and Magisk and bootlooping and stuff like that. Thanks!!
aholeinthewor1d said:
I've been away for about a year so I'm behind on everything right now. I just flashed a factory image to get back to Android 8.1 and set my phone up from scratch. I would like to install TWRP and Magisk but have some questions..
TWRP. Do I just find the latest TWRP for this phone and the process is the same as before? Fastboot flash twrp img and then install TWRP zip?
Magisk: I have never used it before so I'm not to familiar at all. From what I can tell I just download the zip and install via twrp? Is there a specific version I should be looking for for the Pixel on 8.1 or will the latest from the Magisk forum work?
I've searched around and keep seeing random issues so I'm wondering if it's as straight forward as mentioned above. I see posts about people trying to install TWRP and Magisk and bootlooping and stuff like that. Thanks!!
Click to expand...
Click to collapse
Yes.
Why Android 8.1.0?
Android 9.0 (Pie) is the current version of android.
this guide will help you: [Guide] Pixel XL Android 9.0.0 (Pie) Unlock/Lock Bootloader + Install Stock Images/Custom kernels/TWRP Recovery/Systemless ROOT + November 2018 Security Patch
If you want to stick with the outdated version of Android, 8.1 (Oreo), scroll down to other section in the guide above and click on the Android 8.1.0 (Oreo) link.
aholeinthewor1d said:
I've been away for about a year so I'm behind on everything right now. I just flashed a factory image to get back to Android 8.1 and set my phone up from scratch. I would like to install TWRP and Magisk but have some questions..
TWRP. Do I just find the latest TWRP for this phone and the process is the same as before? Fastboot flash twrp img and then install TWRP zip?
Magisk: I have never used it before so I'm not to familiar at all. From what I can tell I just download the zip and install via twrp? Is there a specific version I should be looking for for the Pixel on 8.1 or will the latest from the Magisk forum work?
I've searched around and keep seeing random issues so I'm wondering if it's as straight forward as mentioned above. I see posts about people trying to install TWRP and Magisk and bootlooping and stuff like that. Thanks!!
Click to expand...
Click to collapse
Hey, I recently got my Pixel XL (27th, new for only £200!). I am telling you from what I had experienced. I believe I was shipped a Verizon phone, as I cannot unlock the bootloader and make calls as I am with Vodafone in the UK. I followed a guide on XDA and you should to if you have the greyed out "OEM Unlock" Setting in Developer Options: https://www.xda-developers.com/unlock-bootloader-verizon-google-pixel-xl/
So, if you have had any experience flashing and unlocking boot loaders with the Nexus devices, you will feel mostly at home. TWRP is very easy to flash, but with extra steps. However, remember that not all goes well for everyone, so I am not responsible if anything goes wrong, that doesn't mean that I wouldn't help you though. lol Any links that you may need are listed at the bottom.
Installing TWRP:
Firstly, download the twrp-pixel-installer zip file on your Pixel:
-Pixel devices: https://dl.twrp.me/sailfish/
-Pixel XL devices: https://dl.twrp.me/marlin/
You would want the latest zip file on your Pixel. Why Pixel? I have tried to flash the recovery from the PC, but I get a partition error, I believe this is normal and I think I was doing everything incorrectly at my first try. Instead of flashing the recovery the traditional way, we will temporarily boot into the recovery though fastboot.
On your computer, download the IMG file of twrp: "twrp-3.2.x.x-devicename.img". This is the image file we are going to use to boot into TWRP. Make sure you have the correct adb drivers from Google and the platform-tools itself and go into the bootloader screen on the Pixel. Then connect your Pixel and start CMD within the directory of which your platform-tools is in.
Type:
Code:
fastboot devices
to check if your device is recognised by the computer. If not, try reinstalling the Android Drivers, or try a different PC (which helped me sometimes).
After that, type
Code:
fastboot boot "directory-of-twrp-img"
Just drag-and-drop the img file in CMD. It will fill in the directory for you with the speech marks.
Your Pixel will boot into recovery, just swipe to allow modifications or set your language first if you desire. Then go into the install section and flash the twrp-pixel-installer zip file that you have downloaded for the first step of this guide. It will run the installer in both slot partitions (a & b) of the Pixel to make sure that all goes smoothly (i think).
TWRP is now installed on your system.
Installing Magisk:
Magisk is a universal systemless root that is designed to work on Android 5.0 and higher. This works on any phone and you do not need any specific zip file. Just download the Magisk Manager apk from XDA and install. Then go into the app and it should ask you if you want to download the latest Magisk zip file. Just download it and download as a zip file only. Then reboot into TWRP and install the zip file in the Downloads folder.
I hope my long reply has helped you here and if you have any questions, or issues, feel free to ask. Contact me on my Telegram if you wish: t.me/yomarshmellow
Links:
platform-tools: https://developer.android.com/studio/releases/platform-tools
Google USB Driver: https://developer.android.com/studio/run/win-usb
Max Lee's video guide on this: https://www.youtube.com/watch?v=Hg5986wL-3k

Help updating Android on a rooted OnePlus 5T

Hey guys, so this is my problem:
I've bought a OnePlus 5T some days after its release. When i searched for a tutorial teaching how to root the device (i don't know the root process deeply), there were just a few videos at that time. This was the video i watched to root me device (some people already told me that this isn't the best method, but it was what I had at the moment):
https://www.youtube.com/watch?v=9SsIH6iauYQ
As i told, i'm a layman and doesn't know the root process, and now i need to update urgently my Android (its currently on the Android version it was when i bought it: 7.1.1). I've found some threads with a similar situation, but i got lost in all the details that i don't know, like "you need to unlock the bootloader", "just flash the TWRP and stuff", but i need a more simple language like "click this, click that". I really need it now, so i'm even thinking about searching for someone trustable to do it or transfering some cash to anyone who helps me, because i don't wanna lose anything important in the process. Anyone that can help me, PLEASE?!
Thanks in advance
djmarkybr said:
Hey guys, so this is my problem:
I've bought a OnePlus 5T some days after its release. When i searched for a tutorial teaching how to root the device (i don't know the root process deeply), there were just a few videos at that time. This was the video i watched to root me device (some people already told me that this isn't the best method, but it was what I had at the moment):
https://www.youtube.com/watch?v=9SsIH6iauYQ
As i told, i'm a layman and doesn't know the root process, and now i need to update urgently my Android (its currently on the Android version it was when i bought it: 7.1.1). I've found some threads with a similar situation, but i got lost in all the details that i don't know, like "you need to unlock the bootloader", "just flash the TWRP and stuff", but i need a more simple language like "click this, click that". I really need it now, so i'm even thinking about searching for someone trustable to do it or transfering some cash to anyone who helps me, because i don't wanna lose anything important in the process. Anyone that can help me, PLEASE?!
Thanks in advance
Click to expand...
Click to collapse
I am not sure, if I understood it correctly. You need to update your device that's clear but do you need your device still rooted afterwards?
Because if not just update your device, it should be that simple. If you need to root your device afterwards just follow this thread:
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
Gesendet von meinem CLT-L29 mit Tapatalk
CaerCadarn said:
I am not sure, if I understood it correctly. You need to update your device that's clear but do you need your device still rooted afterwards?
Because if not just update your device, it should be that simple. If you need to root your device afterwards just follow this thread:
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
Gesendet von meinem CLT-L29 mit Tapatalk
Click to expand...
Click to collapse
Sorry, actually i forgot this detail. I have a root based on SuperSU and i would like to have the Magisk one after i update my Android. What you think is the best way to do it?
Btw, just one question: you said that if i didn't want to keep the root, i could just update my Android, but once i click in the system update option, the update fails, i believe its because of the root right?
djmarkybr said:
Sorry, actually i forgot this detail. I have a root based on SuperSU and i would like to have the Magisk one after i update my Android. What you think is the best way to do it?
Btw, just one question: you said that if i didn't want to keep the root, i could just update my Android, but once i click in the system update option, the update fails, i believe its because of the root right?
Click to expand...
Click to collapse
No, because you have to download the whole update package. Normally the device detects itself if it is rooted/unlocked, so there should be the option to download the whole package. With that the update should not fail.
Gesendet von meinem CLT-L29 mit Tapatalk
CaerCadarn said:
No, because you have to download the whole update package. Normally the device detects itself if it is rooted/unlocked, so there should be the option to download the whole package. With that the update should not fail.
Gesendet von meinem CLT-L29 mit Tapatalk
Click to expand...
Click to collapse
Where i find this whole package option? Can i just download the last version (5.7.1) on OnePlus site?
@ djmarkybr,
follow this self explanatory guide by Funk Wizard, here:https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
for removing super su you can use uninstaller unsu
a0879 said:
@ djmarkybr,
follow this self explanatory guide by Funk Wizard, here:https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
for removing super su you can use uninstaller unsu
Click to expand...
Click to collapse
Ok, i read the guide so i'll try to follow it once i get home since i don't have admin access on my work.
Just 2 questions:
1- how do i remove SuperSU? I'm asking cause i've download the file you attached and there is no .exe file or something on it, do i put the files on my phone and then execute the uninstaller by the phone itself? If so, how i do it? Btw, i was taking a look at the SuperSU app and it has this option : "Exchange superuser app - Cleaning to exchange for another superuser app", it works just the same as your uninstall?
2- Even reading FunkWizard's guide, i'm still confused of which order i should do the things. Because i need to:
- Uninstall SuperSU
- Download full OTA on OnePlus website and install it through TWRP
- Install Magisk
is there a best order to do all this? Am i missing something?
Thanks
The attached unsu file is for removing super su by flashing thru twrp ! its not not for pc i.e. no .exe file.
i assume that your bootloader is unlocked and twrp already installed then just flash the unsu zip in twrp > wipe dalvik/cache > reboot, super su gets removed.
You can also go like this (you may need a pc for this):
Since you are on nougat build download the oreo version first.
first download the full oos rom from here on pc : https://forum.xda-developers.com/showthread.php?t=3728665http://
download latest magisk zip from here :https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445http://
download no verity zip to remain decrypted, here :https://forum.xda-developers.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144
boot your phone in twrp , wipe everything (first transfer your important data from phone to pc/usb otg), in twrp you can go advanced > format data > yes > done > reboot twrp > now there is nothing in your phone by formatting internal storage (everything). Now while in twrp transfer your already downloaded oos and magisk zips from pc to your phone through the data cable.
Now, flash oos zip > magisk zip > no verity zip > wipe dalvik/cache > reboot > that's it, enjoy your new android version !
a0879 said:
The attached unsu file is for removing super su by flashing thru twrp ! its not not for pc i.e. no .exe file.
i assume that your bootloader is unlocked and twrp already installed then just flash the unsu zip in twrp > wipe dalvik/cache > reboot, super su gets removed.
You can also go like this (you may need a pc for this):
Since you are on nougat build download the oreo version first.
first download the full oos rom from here on pc : https://forum.xda-developers.com/showthread.php?t=3728665http://
download latest magisk zip from here :https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445http://
download no verity zip to remain decrypted, here :https://forum.xda-developers.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144
boot your phone in twrp , wipe everything (first transfer your important data from phone to pc/usb otg), in twrp you can go advanced > format data > yes > done > reboot twrp > now there is nothing in your phone by formatting internal storage (everything). Now while in twrp transfer your already downloaded oos and magisk zips from pc to your phone through the data cable.
Now, flash oos zip > magisk zip > no verity zip > wipe dalvik/cache > reboot > that's it, enjoy your new android version !
Click to expand...
Click to collapse
Thank you so much for the help, i'll try this once i get home. Just one more thing: you suggest a Beta Oreo Version or a Stable One? Any version specifically?
djmarkybr said:
Thank you so much for the help, i'll try this once i get home. Just one more thing: you suggest a Beta Oreo Version or a Stable One? Any version specifically?
Click to expand...
Click to collapse
After installing Oreo I don't think that you'll remain on it for a long time.. ha, ha..., Pie is already waiting out there.. :laugh:
go for stable :good:
5.1.3 to 5.1.7
a0879 said:
After installing Oreo I don't think that you'll remain on it for a long time.. ha, ha..., Pie is already waiting out there.. :laugh:
go for stable :good:
5.1.3 to 5.1.7
Click to expand...
Click to collapse
Hey buddy, i followed your steps and now the phone isn't starting totally, it stops on the OnePlus start screen with the white balls around the red one. Should i do the process all again? Can i start TWRP in this situation?
edit: nvm, i try it again and now it works normally But Magisk isn't working, when i try to flash it through TWRP it shows "Updater process ended with ERROR: 1
Error instaling zip file '/sdcard/Magisk....' "
And Android version is still 7.1.1 , so i need to update the Android through the phone itself and then i reapply the root?
edit2: sorry for so many edits in this same reply, let me try to explain the status of all the process right now to see if you can give me some tip:
- Android is on 8.1.0 version right now; Do i need to upload it more?
- Bootloader is unlocked (at least when i go "Enable OEM Unlocking" on Developer options, i cant check this option cause it says that bootloader is already unlocked)
- I can't acess TWRP on reboot now, it seems that i enter on some Oneplus Recovery Mode, not TWRP itself
- Root isn't working
If you need any extra information just ask me
djmarkybr said:
Hey buddy, i followed your steps and now the phone isn't starting totally, it stops on the OnePlus start screen with the white balls around the red one. Should i do the process all again? Can i start TWRP in this situation?
edit: nvm, i try it again and now it works normally But Magisk isn't working, when i try to flash it through TWRP it shows "Updater process ended with ERROR: 1
Error instaling zip file '/sdcard/Magisk....' "
And Android version is still 7.1.1 , so i need to update the Android through the phone itself and then i reapply the root?
edit2: sorry for so many edits in this same reply, let me try to explain the status of all the process right now to see if you can give me some tip:
- Android is on 8.1.0 version right now; Do i need to upload it more?
- Bootloader is unlocked (at least when i go "Enable OEM Unlocking" on Developer options, i cant check this option cause it says that bootloader is already unlocked)
- I can't acess TWRP on reboot now, it seems that i enter on some Oneplus Recovery Mode, not TWRP itself
- Root isn't working
If you need any extra information just ask me
Click to expand...
Click to collapse
I acknowledge your PM, Little tied up at the moment. Please allow me time till tonight to study your case and i shall reply with the best way forward. Don't do anything silly till then
Edit: Please confirm the current status of the device
Rom/OS version
TWRP yes/no
Magisk yes/no
Funk Wizard said:
I acknowledge your PM, Little tied up at the moment. Please allow me time till tonight to study your case and i shall reply with the best way forward. Don't do anything silly till then
Edit: Please confirm the current status of the device
Rom/OS version
TWRP yes/no
Magisk yes/no
Click to expand...
Click to collapse
No problem FunkWizard, take your time and answer when possible, i'll hold my fingers to don't get a worst situation. :angel:
Rom/OS version : Custom ROM(i believe)/8.1.0
TWRP: no; after everything i tried, when i try to acess TWRP now, it doesn't enter on TWRP itself, it shows a different recover screen, like a recovery screen of Oneplus system, just like the picture i attached.
Magisk: no; one of my goals in this entire process was to uninstall SuperSU and install Magisk after all, but when TWRP was working and i tried to install Magisk, i got an error and Magisk didn't install correctly, and since i've uninstalled the SuperSU, i'm without root right now, and i can't even try to install it since TWRP is working right now :crying:
djmarkybr said:
No problem FunkWizard, take your time and answer when possible, i'll hold my fingers to don't get a worst situation. :angel:
Rom/OS version : Custom ROM(i believe)/8.1.0
TWRP: no; after everything i tried, when i try to acess TWRP now, it doesn't enter on TWRP itself, it shows a different recover screen, like a recovery screen of Oneplus system, just like the picture i attached.
Magisk: no; one of my goals in this entire process was to uninstall SuperSU and install Magisk after all, but when TWRP was working and i tried to install Magisk, i got an error and Magisk didn't install correctly, and since i've uninstalled the SuperSU, i'm without root right now, and i can't even try to install it since TWRP is working right now :crying:
Click to expand...
Click to collapse
you lost TWRP sometimes happen but not worry you can easly load again :good:
Mervingio said:
you lost TWRP sometimes happen but not worry you can easly load again :good:
Click to expand...
Click to collapse
Thank God o/ i just need to know how lol :laugh:
djmarkybr said:
No problem FunkWizard, take your time and answer when possible, i'll hold my fingers to don't get a worst situation. :angel:
Rom/OS version : Custom ROM(i believe)/8.1.0
TWRP: no; after everything i tried, when i try to acess TWRP now, it doesn't enter on TWRP itself, it shows a different recover screen, like a recovery screen of Oneplus system, just like the picture i attached.
Magisk: no; one of my goals in this entire process was to uninstall SuperSU and install Magisk after all, but when TWRP was working and i tried to install Magisk, i got an error and Magisk didn't install correctly, and since i've uninstalled the SuperSU, i'm without root right now, and i can't even try to install it since TWRP is working right now :crying:
Click to expand...
Click to collapse
djmarkybr said:
Thank God o/ i just need to know how lol :laugh:
Click to expand...
Click to collapse
If you have oneplus recovery instead of twrp then you can't be on custom ROM, it has to be on oxygenos. Unless I know of what version I would not be able to give you the step by step process.
U can flash twrp easily, simply download the latest Bluspark twrp and flash it via fastboot steps on the unlock device thread in the guides section.
There on you can download and flash the full zips from twrp followed by Magisk.
Sent from my OnePlus6T using XDA Labs
Funk Wizard said:
If you have oneplus recovery instead of twrp then you can't be on custom ROM, it has to be on oxygenos. Unless I know of what version I would not be able to give you the step by step process.
U can flash twrp easily, simply download the latest Bluspark twrp and flash it via fastboot steps on the unlock device thread in the guides section.
There on you can download and flash the full zips from twrp followed by Magisk.
Sent from my OnePlus6T using XDA Labs
Click to expand...
Click to collapse
Sorry Funk, i confused the information, my OxigenOS is 5.1.4
I'll wait for your step by step just to make sure i don't do something wrong
Hi. I download the official update on My 5t rooted. But do not install correctly. "installation failed", it's a twrp problem? I i flash the stock recovery works fine? Thanks.
bramby said:
Hi. I download the official update on My 5t rooted. But do not install correctly. "installation failed", it's a twrp problem? I i flash the stock recovery works fine? Thanks.
Click to expand...
Click to collapse
I don't know, i'm also lost here. Hope someone can help you too
bramby said:
Hi. I download the official update on My 5t rooted. But do not install correctly. "installation failed", it's a twrp problem? I i flash the stock recovery works fine? Thanks.[/QUOTE @djmarkybr
I flashed back stock recovery and all went fine with Pie!
Gesendet von meinem CLT-L29 mit Tapatalk
Click to expand...
Click to collapse

[GUIDE] How to Root OnePlus 7T without TWRP

So today with some testers i managed to make root on OnePlus 7T, I want to specify that 95% of the work was done by @topjohnwu (Magisk creator). For now you should use only Magisk Canary files
I will explain 2 different guides:
First Root Guide:
This guide is for a specific rom version, so you will need to use a specific patched boot.img
- Download the patched_boot.img
- Reboot your device in bootloader-fastboot mode
- Flash the patched_boot.img in the boot partition:
Code:
fastboot flash boot boot.img
replace "boot.img" with the patched_boot.img path
- Reboot the device
- Install Magisk Manager
Second Root Guide:
This guide is more generic than the first one, you should use this one if you are unable to find a specific patched boot.img
- Download a patched_boot.img (you should try with the latest one)
- Reboot your device in bootloader-fastboot mode
- Boot the patched_boot.img:
Code:
fastboot boot boot.img
replace "boot.img" with the patched_boot.img path
- Reboot the device
- Install Magisk Manager
- Click on Install, then direct install and wait the end of the process
- Reboot the device
Third Root Guide:
Guide by @gpz1100
TIPS:
Actually you should use only Magisk canary files Magisk 20.3
You can get the stock boot images from the fastboot rom: https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Actually i'm using magisk manager canary and magisk canary debug to patch the boot.img, I don't recommend updating magisk, if you don't want to see the updates install the normal magisk manager
Magisk 20.3 fully support OnePlus 7T and 7T Pro
HOW TO UPDATE a ROM and KEEP ROOT:
Before all Disable all magisk modules
Be sure to use Canary Magisk Manager and Canary Magisk (debug)
You can update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- In Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Download:
Patched/Stock Boot Images: https://www.androidfilehost.com/?w=files&flid=300177
Reccomended ADB and Fastboot binaries:
Adb and Fastboot Installer
Donations:
Credits:
@RohanAJoshi
Flashed and working flawless.
Really thanks for this.
Awesome work bro.
Can you please upload the patched boot.img please? I dont see it in the above folder at all.
nick_22 said:
Can you please upload the patched boot.img please? I dont see it in the above folder at all.
Click to expand...
Click to collapse
Done, i uploaded them using ftp and i forgot to move the files in the right folder
Working, thanks a lot @mauronofrio
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
jesrani said:
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
Click to expand...
Click to collapse
See OP, its clearly mentioned there. You have to flash this via fastboot and not any custom recovery. Firstly setup adb on your PC and then check the commands. Its very easy. Do some googling and still if its difficult for you, come back and ask.
jesrani said:
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
Click to expand...
Click to collapse
Welcome to the android scene, reminds me of the old psx scene
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
@mauronofrio, thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
nick_22 said:
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
Click to expand...
Click to collapse
Get your stock boot.img from 1st post.
Reboot to bootloader.
And do this command
fastboot flash boot boot.img
fastboot reboot
Device will boot unrooted.
---------- Post added at 05:58 AM ---------- Previous post was at 05:55 AM ----------
jesrani;80464121 [user=4712355 said:
@mauronofrio[/user], thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
Click to expand...
Click to collapse
1. Yes, always wipe
2. Just update as usual, let update go, after installation complete, don't reboot device. Go to magisk, install, install on inactive slot. Reboot. You will be rooted (Warning : this is not tested on 7T, this method from 7)
3. TWRP will be developed but some good dev like @mauronofrio need device for this, as of now, no hopes for twrp. We are lucky that we got root.
RohanAJoshi said:
1. Yes, always wipe
2. Just update as usual, let update go, after installation complete, don't reboot device. Go to magisk, install, install on inactive slot. Reboot. You will be rooted (Warning : this is not tested on 7T, this method from 7)
3. TWRP will be developed but some good dev like @mauronofrio need device for this, as of now, no hopes for twrp. We are lucky that we got root.
Click to expand...
Click to collapse
Thanks. Yes, root is good enough right now.
By "update as usual", do you mean through OTA? I think the phone reboots after update is downloaded and then installs the update but not sure. So once it reboots after updating, should I go to Magisk and install root?
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
jesrani said:
Thanks. Yes, root is good enough right now.
By "update as usual", do you mean through OTA? I think the phone reboots after update is downloaded and then installs the update but not sure. So once it reboots after updating, should I go to Magisk and install root?
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
Click to expand...
Click to collapse
In older devices like OP5T it happens like this, not in newer devices. OP7T has seamless updates, its installs while device is turned on in second partition.
nick_22 said:
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
Click to expand...
Click to collapse
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
jesrani said:
@mauronofrio, thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
Click to expand...
Click to collapse
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
mauronofrio said:
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
Click to expand...
Click to collapse
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
jesrani said:
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
Click to expand...
Click to collapse
Canary debug, don't update it
Help please. I have returned to Android after 5years with OnePlus 7t and trying to root it. I am trying this method but not being able to successfully root it. Steps I have tried
Went to fastboot mode by restarting the phone but I don't get an option to install the patched image file. And even boatloader is locked. Do I need to unlock the bootloader. And I unlock will I loose my data. Sorry for silly question I have completely forgot about Android.
Thanks, rooted successfully
?
To be honest need video tutorial asap?
mauronofrio said:
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
Click to expand...
Click to collapse
Ok. Got it. So, I have already booted back to unrooted mode now. And I cant wipe my data again. Thanks for your response.

MIUI 12 beta

Hi there,
Did anybody tried out the beta version of MIUI 12?
It's the China beta 20.4.27
ksc2-303 said:
Hi there,
Did anybody tried out the beta version of MIUI 12?
It's the China beta 20.4.27
Click to expand...
Click to collapse
He tried...
https://c.mi.com/thread-3036397-1-0.html
You can't install Chinese Rom on Global version right?
I have EU rom, rooted and flashed TWRP, on Telegram they say to me to only download this beta, put on internal and flash, like a rom, and I will have this, is that try? To follow this steps:
OTA Update on Rooted Devices
1. Download Full Recovery OTA ZIP
2. Place in internal storage
3. Boot to twrp
4. Mount System and Vendor if not already mounted
5. Flash the ROM, and Don't reboot.
6. Flash magisk
7. Close AVB
8. Open file explorer inside twrp
9. Navigate to /system_root/system and check for file named "recovery-from-boot.p" and delete the file.
10. Reboot
Download link:
http://bigota.d.miui.com/20.4.28/miui_BEGONIA_20.4.28_39f842d293_10.0.zip
Followe the steps and the phone keeps booting in Xiaomi logo all time and loose TWRP recovery, any ideas how to solve it
gusmas, mate, you have to boot in bootloader, and again flash TWRP or other recovery.
It happen to me also... I do not follow those steps, cause do not know about it.
Please, would someone be so kind to explain how to do - Close AVB?
Thanks in advance. Regards to all.
tzaneff said:
gusmas, mate, you have to boot in bootloader, and again flash TWRP or other recovery.
It happen to me also... I do not follow those steps, cause do not know about it.
Please, would someone be so kind to explain how to do - Close AVB?
Thanks in advance. Regards to all.
Click to expand...
Click to collapse
Only this TWRP version got the feature for that built-in: https://forum.xda-developers.com/re...overy-twrp-recovery-redmi-note-8-pro-t4033695
It's in Advanced > Close AVB > check the 1st option only > swipe.

Rooting with Android 10

My RN8P Currently has:
MIUI global 11.0.4 Stable QGGMIXM
Android 10 QP1A.190711.020
I only want to root so i can install 2-3 apps the need rooting.
I don't want to flash Roms or even have use for twrp.
Which root guide should i follow?
Do in need to Downgrade to Android pie?
will i be able to get OTA updates when rooted?
buddy the best bet for not hard/soft bricking is to downgrade to android 9 and install preloader and then root/install recovery.
if you want you can search "konah begonia guardian" on YouTube. he has quite nice guides.
regards
david_z said:
My RN8P Currently has:
MIUI global 11.0.4 Stable QGGMIXM
Android 10 QP1A.190711.020
I only want to root so i can install 2-3 apps the need rooting.
I don't want to flash Roms or even have use for twrp.
Which root guide should i follow?
Do in need to Downgrade to Android pie?
will i be able to get OTA updates when rooted?
Click to expand...
Click to collapse
FYI this device is really easy to brick that one single misstep can brick your phone and mostly the only way to restore it is via service center. So you must really pay attention to each instruction on the guides. Most root guide need to flash custom recovery first so I guess its inevitable. In order to flash custom recovery, you need to downgrade to Android 9 or Pie, more higher version than that will brick your phone.
In order to root this phone, you first need to unlock the bootloader, refer to here for the guide. (Warning, just follow the unlock bootloader guide since the flashing twrp and rooting guide from there are kinda outdated and not recommended to follow)
Then you need to flash factory firmware (preloader and lk) so you can unbrick your phone in case you brick it, refer to Megathread for guide how to do it. After that you can flash custom recovery, then you can flash magisk via custom recovery to root your phone.
This guy does a ice job explaining a simple root method for Android 10 on youtube
thanks :good:
one more thing , in all methods , after flashing twrp recovery and booting into it the guides say to delere a file called "recovery-from-boot.p".
i saw on telegram channel describing the same mathod but it also said that if i skip the deletion of that file the original recovery will remain , the phone will be rooted
and be able to OTA update.
does anyone know if its ok to do that?
I rooted from Android 10, and same with you, I only need to root to remove ads and install a few apps only.
I used this guide
https://forum.xda-developers.com/re...de-unlock-bootloader-flash-twrp-root-t3995919
Make sure that the twrp is the one that compatible with android 10, otherwise it won't boot to recovery.
Have mi flash app and android stock rom ready on your PC so that if you find problem you can always flash the stock ROM.
david_z said:
My RN8P Currently has:
MIUI global 11.0.4 Stable QGGMIXM
Android 10 QP1A.190711.020
I only want to root so i can install 2-3 apps the need rooting.
I don't want to flash Roms or even have use for twrp.
Which root guide should i follow?
Do in need to Downgrade to Android pie?
will i be able to get OTA updates when rooted?
Click to expand...
Click to collapse
gaban05 said:
I rooted from Android 10, and same with you, I only need to root to remove ads and install a few apps only.
I used this guide
https://forum.xda-developers.com/re...de-unlock-bootloader-flash-twrp-root-t3995919
Make sure that the twrp is the one that compatible with android 10, otherwise it won't boot to recovery.
Have mi flash app and android stock rom ready on your PC so that if you find problem you can always flash the stock ROM.
Click to expand...
Click to collapse
after reading a bit i think the right recovery version to root with android 10 is in the following thread:
https://forum.xda-developers.com/re...overy-twrp-recovery-redmi-note-8-pro-t4033695
and this is the procedure:
1. Download recovery file from this message
2. Open CMD from the dir where you store twrp.img (it's important because you don't need to type whole path of the twrp.img
3. Turn off the device, hold Power button & Vol- to enter fast boot and connect device to USB
4. In CMD type first fastboot devices to ensure that device is in fastboot, this is not important but recommended. Output should be something like this 4l6lsctgskpj4swc fastboot
5. Then it's time to flash recovery file. Type fastboot flash recovery twrp.img
6. This is the most important step now, on the device screen it should write USB Transmission ok if that is there you are ready to go. Remove device from the USB and hold Power button & Vol+, When the device turn off the screen keep holding Vol+ it'll keep screen off for about 5-10 seconds, then it'll show a recovery, still holding vol+ because it will get restarted again, and again still holding vol+ and recovery will show up. Simple words (Keep holding vol+ till recovery not appear for second time)
7. If it asks for a password, it's a password you use on the device it self(one for unlocking the screen or unlock the device after reboot), enter password and wait for Data decrypt.
At the moment there is no root and recovery will be replaced after you try to boot next time. To prevent it from replacing recovery do next (my opinion is skipping step 8. and 9. and having stock recovery because of MIUI updates):
8. Go to mount and tick the /system
9. Go back, tap on advanced, then to File Manager search for system_root dir open it, then find system and on the bottom is file called recovery-from-boot.p Remove that file and recovery wont be replaced
Now how we root it:
10. Go to advanced and tap on Close AVB2.0 and swipe to confirm
11. Go back and tap to Install ROOT, swipe to install and Reboot system
This will install Magisk v19.4, after boot you can update it from the Magisk Manager, my suggestion is to first update the manager then Magisk binary.
can anyone confirm that?
Thisnameisepic said:
This guy does a ice job explaining a simple root method for Android 10 on youtube
Click to expand...
Click to collapse
Yes it was his video I used to flash twrp to my phone,his explanation is amazing
david_z said:
after reading a bit i think the right recovery version to root with android 10 is in the following thread:
https://forum.xda-developers.com/re...overy-twrp-recovery-redmi-note-8-pro-t4033695
and this is the procedure:...
can anyone confirm that?
Click to expand...
Click to collapse
Yup, that worked for me on Android 10, global 11.0.5.0 QGGMIXM. The LR Team TWRP is the only one that worked for me, and I tried several.
Do make sure you download the v1210 for Android 10...
- in step 5, the 'twrp.img' you write in the command must match the actual filename you downloaded. Either change the name of the file, or enter the full filename in the command line.
- step 6 is kinda tricky. you might not get it right the first time. before installing twrp, i actually made sure i got the key combination right by going into stock recovery a few times.
When you do get TWRP up and running, the very first step is to set the language to English (unless you want Chinese). It will be the lower right buttton on the very first screen you are presented with (where you are asked for your password, if there is one).
I did not do steps 8 or 9, and TWRP has held. I did, however, reboot right back to recovery immediately after my first successful TWRP load-up. That may have stuck it.
The LR Team TWRP installed Magisk 20.3 for me. 20.4 is the latest, but I'm a little timid about letting it update. I had softbrick issues with trying to install Magisk manually thru this TWRP (instead of using the 'Install Root' button). Let me know if you update yours.
HTH
david_z said:
My RN8P Currently has:
MIUI global 11.0.4 Stable QGGMIXM
Android 10 QP1A.190711.020
I only want to root so i can install 2-3 apps the need rooting.
I don't want to flash Roms or even have use for twrp.
Which root guide should i follow?
Do in need to Downgrade to Android pie?
will i be able to get OTA updates when rooted?
Click to expand...
Click to collapse
You can go follow guide from telegram group
i tried twrp avb2.0 but it gave me bootloop after power off and on again , it's better to get the avbmeta image file from fastboot rom(same miui rom you use) and disable it from fastboot mode.
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Categories

Resources