Help, I'm in trouble .. - Xiaomi Mi A2 Lite Questions & Answers

I bought a MiA2Lite, I unlocked the bootloader, installed Magisk and the GCam. Everything good. Until this morning: I found a notification of the availability of a system update but I could not install it. So I decided to uninstall Magisk, I opened magisk Manager, I pressed uninstall and the phone has restarted but .. does not start again, it crashes with the image of the android robot lying down and the word "no command". How can I do?

you have not completly read the thread about to update OTA with magisk imstalled...
you are not supposed to unstill magisk but to restore the original boot.img with magisk and than start the OTA.
things you can do now:
1. set partition a or b active and try to boot (google for adb commands)
or easier
2. get MiFlashTool and the latest official ROM and flash it (again search Google and xda forum for instructions)

IO13 said:
I bought a MiA2Lite, I unlocked the bootloader, installed Magisk and the GCam. Everything good. Until this morning: I found a notification of the availability of a system update but I could not install it. So I decided to uninstall Magisk, I opened magisk Manager, I pressed uninstall and the phone has restarted but .. does not start again, it crashes with the image of the android robot lying down and the word "no command". How can I do?
Click to expand...
Click to collapse
Here can you find the answer to your question. This was a wrong way with OTA update what you made ...
HTML:
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952

merlin.berlin said:
you have not completly read the thread about to update OTA with magisk imstalled...
you are not supposed to unstill magisk but to restore the original boot.img with magisk and than start the OTA.
things you can do now:
1. set partition a or b active and try to boot (google for adb commands)
or easier
2. get MiFlashTool and the latest official ROM and flash it (again search Google and xda forum for instructions)
Click to expand...
Click to collapse
I did not follow that guide, I just wanted to remove Magisk (I did not care to keep it) and I took the opportunity. I had followed the guide to update to Pie but I had the exact same problem and this time I decided to remove magisk forever

Related

Switching partitions in fastboot? Trying to remove root so I can log into snapchat

I read in another thread that I need to 'Just reflash the original boot.img on both a and b to unroot. Log in and then reroot'...how do I do this? I can flash boot.img via fastboot no problem...but how do I switch partitions? Also, this method doesn't result any data loss correct? Was going to do the 'full unroot' option in SuperSU but with the partitions stuff I'm not sure if that will work?
I'm running TWRP RC2 and SuperSU SR3 2.79. Phone is fully setup and functioning other than Snapchat. Went to bed at 5am after taking hours to log into all my apps, configure them again, etc....would HATE to do all that over again...so much that I would stop using Snapchat to avoid it.
Any help would be appreciated.
@blueyes, I saw you help another member out with something similar but not quite...any idea?
You can simply use the in app option it works just fine. Alternatively you can install Magisk without wiping to keep root and bypass Safteynet (will allow you to use Snapchat, Android Pay, etc..) I was running a nearly identical setup to you when I did it. Here's some instructions if you want to try that route https://forum.xda-developers.com/showpost.php?p=71629390&postcount=2394
tdct12 said:
You can simply use the in app option it works just fine. Alternatively you can install Magisk without wiping to keep root and bypass Safteynet (will allow you to use Snapchat, Android Pay, etc..) I was running a nearly identical setup to you when I did it. Here's some instructions if you want to try that route https://forum.xda-developers.com/showpost.php?p=71629390&postcount=2394
Click to expand...
Click to collapse
That certainly sounds better as it will give me the perk of being able to finally use Android Pay. I'll investigate, but worst case I'll do the in-app solution and do the old method of logging in to Snapchat and then re-rooting. Thank you!
tdct12 said:
Quoted from another thread. Anyway I tried it out. Already had Pure Nexus, superuser, twrp RC2, and elementalx installed. Magisk fully working. Here are the steps I followed (no wipe)
Open SuperSu
Uninstall supersu from in app option
Reboot system
Reboot recovery
Flash Magisk zip
Wipe cache/davlik cache
Reboot system (creates bootloop back to recovery)
From twrp switch bootloader slot to the inactive slot
reboot recovery
From twrp switch back to the orignal boot slot
reboot system (these steps end the bootloop for some reason)
You might need to force close your root check app and reopen for it to detect root at first.
edit: Saftey net passed, just checked =)
Click to expand...
Click to collapse
So...I had different results.
When I remove SuperSU from in-app option, my phone was still rooted. It didn't actually unroot. Is that because I told it to not flash the boot.img?
#7 didn't result in a boot loop...proceeding on...
@IlyaKol you do need to let it reflash the original boot.img. Supersu modifies it to achieve root. Magisk is it's own root you probably shouldn't have flashed it until you verified that supersu had been removed. You can still try removing supersu from in app option I have no idea if it will effect magiskSu. After you remove supersu go the Magisk app (the zip installed it) and see if it's still rooted. If not just try reflashing the zip. All you can do is hope it works out. Once it's installed properly you go the app and enable Magisk Hide, there is a Safteynet test in status page along with root status, I will post a screenshot for clarity
tdct12 said:
@IlyaKol you do need to let it reflash the original boot.img. Supersu modifies it to achieve root. Magisk is it's own root you probably shouldn't have flashed it until you verified that supersu had been removed. You can still try removing supersu from in app option I have no idea if it will effect magiskSu. After you remove supersu go the Magisk app (the zip installed it) and see if it's still rooted. If not just try reflashing the zip. All you can do is hope it works out. Once it's installed properly you go the app and enable Magisk Hide, there is a Safteynet test in status page along with root status, I will post a screenshot for clarity
Click to expand...
Click to collapse
Okay, I'm going back to recovery, will flash the Magisk Uninstaller followed by the SuperSU installer. Then I'll go into the app and this time tell it to restore the boot image but NOT the recovery. Right? lol.
That didn't work so I'm trying other methods to remove SuperSU...I'll report back later as I need to get going and will be doing this elsewhere lol.
@IlyaKol rather than reflashing supersu since the root is not removed you should instead just downloaded the supersu apo from the playstore then try removing the supersu root from there. If you get an "error no SuperSU binaries detected" then it is already removed.
tdct12 said:
@IlyaKol rather than reflashing supersu since the root is not removed you should instead just downloaded the supersu apo from the playstore then try removing the supersu root from there. If you get an "error no SuperSU binaries detected" then it is already removed.
Click to expand...
Click to collapse
It's still there even after running other tools found on XDA to try and unroot. I'll just flash the boot image manually when I get back home. Magisk sees it as such, not the Magisk root.
Thanks for the other steps...only remaining question I have is do I need to flash the boot image to both partitions? Or is whatever fastboot defaults to enough? If I do, what's the fastboot command for that?
If you use fastboot make sure it's on your current slot. I can't imagine why the unroot wouldn't work. Did you try clearing app data on your root checking app? Did the actual supersu app from play store detect supersu binaries? You might run into some data loss trying to remove root honestly if no methods are working. If all else fails do a wipe and then just install magisk when you've reinstalled the rom of your choice. I know it's not a pleasant solution but it's a solid last resort.
Eh, @tdct12, I finally caved and just ran flash-all.bat to get back to 100% stock. Third time redoing my entire phone (copying all the data back down such as pictures/videos, music, etc. and logging into each app and signing in, etc.). First time I forgot to unlock the bootloader first, so I had to wipe (DOH!), 2nd time was I didn't log into Snapchat before rooting (DOH^2) and now this is the 3rd time. #thirdtimesacharm
Yesterday (round 2) I finished at 4:45am. It's 1:13am now...so let's see how long the third time takes lol.
This time I added unlocked the BL, flashed TWRP RC2/Magisk 11.6 (from your quote)/ElementalX 1.09 right from the beginning lol. Taking no chances.
Sweet, I hope it works for you this time around!
tdct12 said:
Sweet, I hope it works for you this time around!
Click to expand...
Click to collapse
So far so good. Magisk detected proper root and passed safetynet, allowing Snapchat to login. So I'm golden. Thanks again for the rest of the steps, etc.! Have a good one!
IlyaKol said:
So far so good. Magisk detected proper root and passed safetynet, allowing Snapchat to login. So I'm golden. Thanks again for the rest of the steps, etc.! Have a good one!
Click to expand...
Click to collapse
Glad it worked for you. Would you mind posting your steps on how to get it working. I have been having issues with Magisk passing the safety check. I have flashed to 100% stock as well. I'm also using Pure Nexus if there is something different I have to do since I'm running that. Thanks!
Edit: I have followed the steps listed above after flashing Pure Nexus and it still will not pass safety check.
IlyaKol said:
@blueyes, I saw you help another member out with something similar but not quite...any idea?
Click to expand...
Click to collapse
Are you referring to "fastboot --set-active" a(or b) CMD. Run just fastboot and you'll see the available commands. After switching slots reboot bootloader to assure that you are in the opposite slot.
There's more commands available with fastboot oem... To see those (in Linux, i don't use Windows) pull your aboot.img and run "strings aboot.img | grep oem
GallardosEggrollShop said:
Glad it worked for you. Would you mind posting your steps on how to get it working. I have been having issues with Magisk passing the safety check. I have flashed to 100% stock as well. I'm also using Pure Nexus if there is something different I have to do since I'm running that. Thanks!
Edit: I have followed the steps listed above after flashing Pure Nexus and it still will not pass safety check.
Click to expand...
Click to collapse
Basically, the gist of what I did after I gave up and accepted the fact that I'd have to go back to 100% stock and rebuild my setup again:
1) Flash to 100% stock using Flash-All.bat from the Factory Image (using ADB/Fastboot tools)
2) Boot into the OS
3) Next I enabled developer options, allowed USB debugging and allowed for the bootloader to be unlocked
4) Plugged the phone into the PC, accepted the ADB fingerprint
5) Opened the platform-tools directory in my command window
6) Rebooted to the bootloader via 'adb reboot bootloader' command
7) Booted to TWRP using the 'fastboot boot *insert TWRP image name*' command (I used one of the alpha versions)
8) First thing I did in "Temp TWRP" was I flashed TWRP RC2 permanently and rebooted back to recovery
9) I then installed Magisk v11.6 (I did not have to do any of the additional steps to fix any bootloops with changing the boot slot, etc....might be a 7.1.2 thing vs 7.1.1, etc.)
10) *Optional* I flashed ElementalX 1.09 for Pixel
11) Wiped cache/dalvik (cache doesn't seem to wipe because it can't find /cache?)
12) Rebooted to system
13) In the Magisk Manager app, go to Settings and make sure "Enable BusyBox" and "Magisk Hide" are enabled.
14) Run the SafetNet check. It should pass.
DO NOT UPDATE TO v12.0 as I guess it's not ready for Pixel's yet.
blueyes said:
Are you referring to "fastboot --set-active" a(or b) CMD. Run just fastboot and you'll see the available commands. After switching slots reboot bootloader to assure that you are in the opposite slot.
There's more commands available with fastboot oem... To see those (in Linux, i don't use Windows) pull your aboot.img and run "strings aboot.img | grep oem
Click to expand...
Click to collapse
Thanks. I ended up finding the option on how to do that in TWRP and then later fastboot as well...all is well that ends well. Loving my new phone.

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.

Root & Xposed on WW_17.1810.1910.73 & Update WW_17.1810.1911.110

Hello i found a little way for have root & and working xposed with no bug on last firmware WW_17.1810.1910.73 & WW_17.1810.1911.110
Stock Recovery
You need adb drviers and unlocked ZenFone 6 on WW_17.1810.1910.73 or WW_17.1810.1911.110
First install last Magisk Manager
Open setting of Magisk and add custom update channel https://github.com/solohsu/magisk_files#custom-update-channel
Download ZenFone6RootXposed-10.73.img or ZenFone6RootXposed-11.110 (i have add stock boot11.110.img, we will need it for next update)
http://www.mediafire.com/folder/skzceszqu8d3j/AsusZenFone6
Now reboot device to bootloader
Code:
adb reboot bootloader
And boot with ZenFone6RootXposed-10.73.img or ZenFone6RootXposed-11.110 (not flash it, your device have a chance to bootloop)
Code:
fastboot boot ZenFone6RootXposed-10.73.img
Code:
fastboot boot ZenFone6RootXposed-11.110.img
The devices reboot automaticly
Go to Magisk and install Magisk, choose direct install
Reboot and Enjoy root
if you want Xposed flash it with magisk :
Riru Core
I use YAHFA
Android 10 ElderDrivers Xposed
And the manager
Xposed Installer​
Good morning
I have tried several times root for Android 10
The Magisk part works smoothly, but the Xposed part never works, producing a bootloop
I have extracted the boot and applied magisk, loaded the Riru Core module, but when loading ElderDrivers, the phone stays in bootloop
Do you know what the reason may be?
Works splendid, great guide!
Tried to use Sandhook first, but ended up with YAHFA instead due some xposed problems (xposed not detected).
Had an old version of Android 9, so i first upgraded it to "UL-ASUS_I01WD-ASUS-16.1220.1909.194-1.1.1" (only supported upgrade path - 9 to 10), then to "UL-ASUS_I01WD-ASUS-17.1810.1910.73-1.1.1-user" (your specified .73)
- Later patching with your img
Thanks
it is impossible
Starting with .73 stock
at the moment I install Riru Yahfa, following the manual, it does not start again, unless install the official boot
the device stays on the Zenfone boot screen without doing anything else
I have tried the version supplied by Magisk, I don't know if you have tried another version
Why will we need the stock boot for the next update? We can't make menully update after root? I just want to make root not install xposed.
Sent from my ASUS_I01WD using Tapatalk
thanks a lot, this a really easy way to get root, but i have a little issue, i had my phone with NO pin code or fingerprint before using this method, and now if i want to ad a pin, password or gesture it simply does not get saved, every time i do the procedure to set the pin it does like if i did nothing, anyone has this issue, or know how to fix it, is there a problem if i hard reset?
any help will be good
In the latest build .110 ctsprofile is false while basicintegrity is true. Is it due to the root or the rom has not been signed by google?
Rom1995 said:
In the latest build .110 ctsprofile is false while basicintegrity is true. Is it due to the root or the rom has not been signed by google?
Click to expand...
Click to collapse
https://zentalk.asus.com/en/discussion/comment/35355/#Comment_35355
baster72 said:
Why will we need the stock boot for the next update? We can't make menully update after root? I just want to make root not install xposed.
Sent from my ASUS_I01WD using Tapatalk
Click to expand...
Click to collapse
just flash ZenFone6RootXposed-10.73 or ZenFone6RootXposed-11.110 and you willl have it
hdsporty50 said:
Good morning
I have tried several times root for Android 10
The Magisk part works smoothly, but the Xposed part never works, producing a bootloop
I have extracted the boot and applied magisk, loaded the Riru Core module, but when loading ElderDrivers, the phone stays in bootloop
Do you know what the reason may be?
Click to expand...
Click to collapse
hdsporty50 said:
it is impossible
Starting with .73 stock
at the moment I install Riru Yahfa, following the manual, it does not start again, unless install the official boot
the device stays on the Zenfone boot screen without doing anything else
I have tried the version supplied by Magisk, I don't know if you have tried another version
Click to expand...
Click to collapse
Don't flash Xposed using Magisk Download, flash it manualy :
EdXposed v0.4.6.0_beta
You will always get bootloop with v0.4.5.1_beta
_______________________________________
UPDATE for 11.110
flash boot.10.73.img for update safe
And do the same with 11.110 files.
Don't forget to add custom update channel in Magisk
And use v0.4.6.0_beta for xposed
Why can't we have any YouTube guides for anything related to this phone?
vernj123 said:
Why can't we have any YouTube guides for anything related to this phone?
Click to expand...
Click to collapse
I want to do it but I don't have another device to record.
Someone try this method to install xposed? I afraid to get bootloop.
Sent from my ASUS_I01WD using Tapatalk
Hi everyone, I hope somebody can help me out to solve an issue I just got with my zenfone,
After using an advise from DaConcho for getting back screen lock after unlocking bootloader I got in another situation.
I followed the instructions from the post and everything was going fine, I boot thought adb with the provided patched boot for Q .110 and that far no issues , when I open magisk manager to download magisk from the alternative source magisk manager prompt to complete the installation downloading some necessary files, not the magisk version, just said some files, and I click yes, then it installed something and reboot, phone started fine, but when I wanted to start the process again I found out that I loose PC connectivity.
I have no connection at all, even if I manually boot in bootloader I can't connect to PC, so no adb commands,
Please can someone help
does someone has the patched boot image for new .119 firmaware, i updated and losee magisk
baster72 said:
Someone try this method to install xposed? I afraid to get bootloop.
Click to expand...
Click to collapse
Don't be afraid just flash stock boot if you get bootloop
joesa said:
does someone has the patched boot image for new .119 firmaware, i updated and losee magisk
Click to expand...
Click to collapse
I update my links you can get stock boot here Boot & RootedBoot ZenFone6
MystikMan97130 said:
Don't be afraid just flash stock boot if you get bootloop
I update my links you can get stock boot here Boot & RootedBoot ZenFone6
Click to expand...
Click to collapse
Thanks a lot !!! You really help a lot with this method
MystikMan97130 said:
Don't be afraid just flash stock boot if you get bootloop
I update my links you can get stock boot here Boot & RootedBoot ZenFone6
Click to expand...
Click to collapse
can you please check link, it is not working, i can see folder but can not download
Hello, direct link:
ZenFone6RootXposed
Nice, thanks a lot for this! Rooting on stock with unlocked bootloader worked for me perfectly (did not check xposed)!
est-ce que l'on perd ses données en faisant le root ?
merci!

How come Magisk did not back up my stock boot image?

Hi all I got a 7T in the US. I got an update notification, and i wanted to uninstall Magisk, perform the update, reinstall Magisk and reboot. In Magisk I get the message, "stock image does not exist." I never had this problem with my Pixel, how can I get Magisk to save an image after I update and reroot?
Thanks
Droid_Nut said:
Hi all I got a 7T in the US. I got an update notification, and i wanted to uninstall Magisk, perform the update, reinstall Magisk and reboot. In Magisk I get the message, "stock image does not exist." I never had this problem with my Pixel, how can I get Magisk to save an image after I update and reroot?
Thanks
Click to expand...
Click to collapse
Why do you want to uninstall magisk?
1. Install update and don't reboot.
2. Go to magisk and install after ota
3. Reboot
I don't know about restore stock image with magisk and never did that.
If you really want to unroot your phone now, download the correct boot.img and flash it. There are a few threads available here to find that image you need.
Also you can download the ota.zip and dump that payload.bin which is inside the zip.
Like kollachi said, you don't need to follow the standard pattern of uninstall/ota/install-inactive with the 7t. I imagine that's because with a rooted device, it pulls the full rom instead of a diff.
But it sounds like you directly flashed a rooted boot.img which is why magisk doesn't have a backup. Instead, you should have done a `fastboot boot patched_boot.img` and then done a magisk install. It would have taken a backup of your original boot.img and then installed a patched version.
So basically install the Ota right over root, open magisk manager and install root, then finally reboot?
With the pixels and others, you have to uninstall magisk with restore boot image, install the update, install magisk again, then reboot.
Thanks for all of the help.
ziddey said:
Like kollachi said, you don't need to follow the standard pattern of uninstall/ota/install-inactive with the 7t. I imagine that's because with a rooted device, it pulls the full rom instead of a diff.
But it sounds like you directly flashed a rooted boot.img which is why magisk doesn't have a backup. Instead, you should have done a `fastboot boot patched_boot.img` and then done a magisk install. It would have taken a backup of your original boot.img and then installed a patched version.
Click to expand...
Click to collapse
I installed magisk with twrp, the twrp that you boot off of pc into temporary memory.
it's the same procedure you're used to. you just don't need to uninstall first since it's a full ota instead of a diff
Just wondering, will it back up my new stock boot image after the update, and the install from Magisk Manager?
Droid_Nut said:
Just wondering, will it back up my new stock boot image after the update, and the install from Magisk Manager?
Click to expand...
Click to collapse
No I don't think so. I can't find anything on my phone.
Kollachi said:
No I don't think so. I can't find anything on my phone.
Click to expand...
Click to collapse
I guess it really does not matter, considering we don't have to uninstall root.
yes it does..
backups are saved to /data/magisk_backup_<hash>/boot.img.gz
I have one for every time I've (re)installed magisk
ziddey said:
yes it does..
backups are saved to /data/magisk_backup_<hash>/boot.img.gz
I have one for every time I've (re)installed magisk
Click to expand...
Click to collapse
I still do not have a backup I did the OTA, and then reinstalled Magisk "Direct Install (Recommended)", but I guess I should have picked "After OTA to slot A or B" as I had no root on reboot. So I had to TWRP it back to root.
Lots to learn, but I am gaining. :good:
Droid_Nut said:
I still do not have a backup I did the OTA, and then reinstalled Magisk "Direct Install (Recommended)", but I guess I should have picked "After OTA to slot A or B" as I had no root on reboot. So I had to TWRP it back to root.
Lots to learn, but I am gaining. :good:
Click to expand...
Click to collapse
Yep the correct way is install after ota.
Droid_Nut said:
I still do not have a backup I did the OTA, and then reinstalled Magisk "Direct Install (Recommended)", but I guess I should have picked "After OTA to slot A or B" as I had no root on reboot. So I had to TWRP it back to root.
Lots to learn, but I am gaining. :good:
Click to expand...
Click to collapse
I mean you did that last time and it didn't backup your boot. Fair to assume you'll get the same results if you do it again.
When you install to inactive next time, it should create a backup since the boot image will be intact
With the Pixel it always recommended install to inactive slot and I went with what was recommended.
With the Pixel it always recommended install to inactive slot and I went with what was recommended.
Hi,
I was trying to update my OnePlus 7t to 10.3.3HD65AA but I am not able to do it. This is what I am doing
1) downloading the update package from oxygen updater application
2) going to setting then in system update I am clicking on more option and then on selecting local update then selecting the package waiting for upgrade to complete.
3) now going to magisk manager and installing the manager in inactive slot and rebooting the device
The phone gets reboot but doesn't update also attaching my magisk log here
Hi,
I was trying to update my OnePlus 7t to 10.3.3HD65AA but I am not able to do it. This is what I am doing
1) downloading the update package from oxygen updater application
2) going to setting then in system update I am clicking on more option and then on selecting local update then selecting the package waiting for upgrade to complete.
3) now going to magisk manager and installing the manager in inactive slot and rebooting the device
The phone gets reboot but doesn't update also attaching my magisk log here
jazzy ╰_╯ said:
Hi,
I was trying to update my OnePlus 7t to 10.3.3HD65AA but I am not able to do it. This is what I am doing
1) downloading the update package from oxygen updater application
2) going to setting then in system update I am clicking on more option and then on selecting local update then selecting the package waiting for upgrade to complete.
3) now going to magisk manager and installing the manager in inactive slot and rebooting the device
The phone gets reboot but doesn't update also attaching my magisk log here
Click to expand...
Click to collapse
I used method 3 to root my 7T a while back and did the update from 10.0.9 to 10.0.11 this morning. Did you do the full update? AFAIK the incremental update won't work
Used Oxygen Updater to download the update (DO NOT FOLLOW THEIR INSTALLATION INSTRUCTIONS)
Did local upgrade from Settings/System/System updates (options wheel) DO NOT REBOOT
Opened Magisk Manager and did a direct reinstall of Magisk (not manager) then
Installed Magisk into inactive slot
Reboot.

Categories

Resources