Rooting Redmi 9 - Xiaomi Mi 9 Questions & Answers

Hello everyone.
I have some trouble rooting my Redmi 9 and I hope you can help me and that I posted in the right forum.
So far I unlocked the bootloader, installed TWRP and tried to install Magisk with help of TWRP. But if I push the Magisk App button in Android, I get the messages below. It wants to install the full Magisk Manager. If I click okay it displays "Downloading", and that forever. I left it over night. Nothing happened. Only "Downloading" until I reboot the system.
I even tried uninstalling Magisk again. So I renamed a copy of the Magisk .apk to uninstaller.zip. But somehow it didn't work. I don't know how to uninstall it otherwise because I can't open the app.
Does anyone have an idea how to fix it? Or maybe there is another way to get root access without Magisk?
I'm happy for each answer.
Thank you

iHimbo said:
Hello everyone.
I have some trouble rooting my Redmi 9 and I hope you can help me and that I posted in the right forum.
So far I unlocked the bootloader, installed TWRP and tried to install Magisk with help of TWRP. But if I push the Magisk App button in Android, I get the messages below. It wants to install the full Magisk Manager. If I click okay it displays "Downloading", and that forever. I left it over night. Nothing happened. Only "Downloading" until I reboot the system.
I even tried uninstalling Magisk again. So I renamed a copy of the Magisk .apk to uninstaller.zip. But somehow it didn't work. I don't know how to uninstall it otherwise because I can't open the app.
Does anyone have an idea how to fix it? Or maybe there is another way to get root access without Magisk?
I'm happy for each answer.
Thank you
Click to expand...
Click to collapse
first: this is mi 9 forum haha
second: u can rename the zip to apk and install the apk, and maybe works

It seems I mixed that up. Sorry for that.
I guess I will just try to flash a complete image that is already rooted.

iHimbo said:
It seems I mixed that up. Sorry for that.
I guess I will just try to flash a complete image that is already rooted.
Click to expand...
Click to collapse
i mean, flash the zip in the recovery and after that reboot to system and rename the file to .apk and install it in the system (no recovery)

Related

How to uninstall SuperSU that was installed through TWRP?

I accidentally confirmed installation of SuperSU while trying to exit TWRP (I wish TWRP had an option to disable it) ;[
How do I uninstall it? As I'm unable to boot into my phone anymore((
a1exus said:
I by accidented confirmed to install SuperSU while trying to exit TWRP (I wish TWRP had an option to disable it) ;[
How do I uninstall it? As I'm unable to boot into my phone anymore((
Click to expand...
Click to collapse
hi a1exus
i've the same problem, uninstall supersu from its settings panel doesnt work at all... after the required reboot supersu is still there and installed as an system app.
im using a htc one m7. i need to remove supersu to install the OTA update.
any ideas on how to remove supersu?
kind regards
red1337
red1337 said:
hi a1exus
i've the same problem, uninstall supersu from its settings panel doesnt work at all... after the required reboot supersu is still there and installed as an system app.
im using a htc one m7. i need to remove supersu to install the OTA update.
any ideas on how to remove supersu?
kind regards
red1337
Click to expand...
Click to collapse
flash system.img
Sent from my Nexus 9 using Tapatalk
Try to install this zip through TWRP.
http://forum.xda-developers.com/showpost.php?p=63615067&postcount=2459
@a1exus
thanks for your help.
Unfortunately I didn't made any backup befor rooting. But now I made a nandroid backup after updating to the newest version and before rooting
@Srandista
next time I'll definately try that script. I couldn't find that unSU script when I searched the interwebs. Thanks also for your help!
Kind regards
red1337
red1337 said:
@a1exus
thanks for your help.
Unfortunately I didn't made any backup befor rooting. But now I made a nandroid backup after updating to the newest version and before rooting
Click to expand...
Click to collapse
you can always flash stock image..
Sent from my Nexus 6P using Tapatalk
Srandista said:
Try to install this zip through TWRP.
http://forum.xda-developers.com/showpost.php?p=63615067&postcount=2459
Click to expand...
Click to collapse
I have to thank you, I was stuck on de boot logo, because i had the same problem that he says, and that file solved it.
I have a Moto X Play 6.0
Madvinv said:
I have to thank you, I was stuck on de boot logo, because i had the same problem that he says, and that file solved it.
I have a Moto X Play 6.0
Click to expand...
Click to collapse
Thanks for this. I had CM13 installed on my Redmi 2 and I flashed SUperSU ZIP through TWRP leading to booting error. Through the link shared by you and downloading file provided by @osm0sis I was able to get out of booting issue.
But problem is that now am stuck with no root access. Any idea how to renable it? I have CM13 and in developer options it is on.
Pls guide.
same issue and worst
hi
I was doing standard procedure to root LG4. Everything went ok until I uploaded the UPDATE-SUPERSU-v2.46.zip
Now, LG G4 don't boot anymore...
Until now I was able to boot into TRWP system doing adb commands but now since LG G4 stucks in boot my windows don't recognize the phone.
Am I totally screw?
Do you have any idea?
rubendob said:
hi
I was doing standard procedure to root LG4. Everything went ok until I uploaded the UPDATE-SUPERSU-v2.46.zip
Now, LG G4 don't boot anymore...
Until now I was able to boot into TRWP system doing adb commands but now since LG G4 stucks in boot my windows don't recognize the phone.
Am I totally screw?
Do you have any idea?
Click to expand...
Click to collapse
Does your LG G4 haven't got a key press combination to go to bootloader menu ?
Oooh wait first hit on Google search.
How to Boot into Fastboot Mode on LG G4 with the help of its Hardware Buttons:
First of all, turn off the smartphone.
Then, press and hold the Power and Volume Up keys at the same time for about 6 or 7 seconds.
Plug in the USB cable for your smartphone and connect it to your PC.
Release the keys only when the download mode is being displayed.
Same problem here! Nog able to het Root acces.(su binary not installed), so says Supersu. Probally because cm and Supersu Have a conflict. So how to delete the 'System' Supersu app?
benjg_ said:
Same problem here! Nog able to het Root acces.(su binary not installed), so says Supersu. Probally because cm and Supersu Have a conflict. So how to delete the 'System' Supersu app?
Click to expand...
Click to collapse
You have to use the clean up option in the app or remove the app manually through terminal or adb shell
Sent from my Nexus 5 using XDA-Developers mobile app
i had same problem before, I upload and install super Su in LG G4, turns into soft brick. I was only able to restore all android with kdz file via LGUP.
a1exus said:
flash system.img
Click to expand...
Click to collapse
how ican flash just system.img if ican using Odin3 v3.10
grep_i said:
You have to use the clean up option in the app or remove the app manually through terminal or adb shell
Sent from my Nexus 5 using XDA-Developers mobile app
Click to expand...
Click to collapse
How can I remove the app manually? When I open SuperSU, it won't let me open it because SuperSU says something like "cannot install SuperSU" and quits.
Vegerot said:
How can I remove the app manually? When I open SuperSU, it won't let me open it because SuperSU says something like "cannot install SuperSU" and quits.
Click to expand...
Click to collapse
If you mean the app you can simply remove it by long pressing the icon.
When i install super su from twrp it does not install, but super su icon see on my phone, so that i try to un install but it does not open a pop up menu showing on the screen that is super su is not install and su binary need , so how to remove super su for my mobile
Deleted
Srandista said:
Try to install this zip through TWRP.
http://forum.xda-developers.com/showpost.php?p=63615067&postcount=2459
Click to expand...
Click to collapse
It worked. Thank you so much.:good:
Use Magisk Uninstaller
just flash the Magisk Uninstaller zip through recovery and done....
http://forum.xda-developers.com/attachment.php?attachmentid=3893658&d=1475527472

[Root] Rooting any official MIUI version on Redmi Note 4g

Hi,
I found it on web and i don't really remember from where i got it but its not my work so all credits to whom so ever it may be concerned.
##Please proceed at your own risk, i am note responsible for any damage to your device or any data loss.
Below is a zip file that will root nearly any version of MIUI on Redmi Note 4g.
Tried and tested on miui 7 & 8.
##Need Someone to test on MIUI 6##
Its a superuser flashable zip rooting file for Redmi Note 4g only.
https://drive.google.com/file/d/0B8CWcCKLg4hraUZXMDVLc050TWM/view?usp=drivesdk
**To Root**
Please make a backup of your data before starting to root your device.
Recommended: Do not connect to any internet network such as wifi,gprs,3G/4G...
to avoid update searching issue till the process is over.
1)Download the above rooting .zip file from the above URL and save it into your internal/external SD Card(Recommend in your internal SD Card).
2) Now open Updater App of MIUI and open options.(3 dots in the right at the top)
3) Now choose the option "Choose Update Package". Now the file manager will get open.
4)Locate the .zip file that you downloaded in the file manager and click on it(For MIUI 8: After clicking on the file it gets selected and then click on ok).
5)Wait for the process to get over. Phone will restart and you will see the superuser app installed now.
6)Now open the app and a pop up will come to update su.Click on Ok and in that select Normal/CWM or TWRP as per the recovery you have installed on your device.
7) That's it now your device is successful rooted.
##Note: Its not a native root.
**To UNROOT**
1)Just Open The SuperSU App
2)Click on Settings. Then, click On Full Unroot option.
3)Then Click Continue, and the unrooting will begin.
4)After a reboot, your phone should be clean of the root.
I used KINGRoot. Just download the APK and run. So far no any issue seen
Schuan said:
I used KINGRoot. Just download the APK and run. So far no any issue seen
Click to expand...
Click to collapse
Ya its an alternative method to it but using kingroot my experience is not good.
It couldn't not help to fully unroot my device also if i needed to use super su it gave me problem.
If it's working for u then its well and good but if u like super su more then u can use the above method.
I m using note 4g used king root. it did not root. I m using latest firmware. what shoud i do please help
Vivek Kantesaria said:
I m using note 4g used king root. it did not root. I m using latest firmware. what shoud i do please help
Click to expand...
Click to collapse
Give a try to the method that i have mentioned...
Sry for late reply
nrathod3 said:
Give a try to the method that i have mentioned...
Sry for late reply
Click to expand...
Click to collapse
Okay brother not an issue
Vivek Kantesaria said:
Okay brother not an issue
Click to expand...
Click to collapse
Did it work for you?
nrathod3 said:
Did it work for you?
Click to expand...
Click to collapse
Yes then i flashed twrp and RR :angel:
Vivek Kantesaria said:
Yes then i flashed twrp and RR :angel:
Click to expand...
Click to collapse
Cool
iT may cause your phone no reaction while connecting to The Pc if you use The latest supersu version on supersu official website. I prefer phh's superuser . I rooted my mido perfectly With it.
I tried the above method but I accidentally selected twrp method when su asked to update.
Now the phone stuck at MI boot loop screen I can only access to fast boot mode but can't enter recovery mode.
So any help ?
Is the file size 2.81 MB only?
Phone stuck/ Damaged
Im also having same problem.
After flashing Su, it asked for reboot. When i reboot, it is stuck in MI logo and not restarting. i observed this for more than 10 hrs. When i tried to start with recovery, again it is stuck is FASTBOOT screen and not progressing. My phone is not usable now. Please help
aadison said:
I tried the above method but I accidentally selected twrp method when su asked to update.
Now the phone stuck at MI boot loop screen I can only access to fast boot mode but can't enter recovery mode.
So any help ?
Click to expand...
Click to collapse
How can i root my Xiaomi Redmi Note 4G with PC. Only fastboot mode is showing in my phone, no other option is coming.

Magisk on rooted LG LV3 or Aristo with TWRP

UPDATED AND EDITED
Hello everyone. I decided to edit my first post on this thread to make finding the instructions on how to Root & Install TWRP along with Magisk on the LG ARISTO or LV3 for T-Mobile/Metro PCS
WARNING:
I AM NOT RESPONSIBLE IF YOU BRICK YOUR PHONE, DAMAGE IT, GET IT STUCK ON BOOTLOOP, MAKE YOUR DEVICE CAUSE A NUCLEAR EXPLOSIVE, OR HAVE IT CAUSE A ZOMBIE APOCALYPSE. TRY AT YOUR OWN RISK.
But if you follow Messi's instructions down to a tee. You shouldn't have any problem
The stock boot image has dm-verity, which prevents you from booting if you swipe to enable system modifications after flashing twrp!
SOLUTION:
Flash a root such as SuperSU or Magisk V13.3 You should also flash no-verity-opt-encrypt.zip. (although I was informed you might not need to with Magisk, again try at your own risk)
Prerequisites :
Enable OEM Unlocking and usb debugging in developer options!
Go to settings
About Phone
Software Info
And press on Build Number about 9 times
You will see a pop up notifying you that you have unlocked Developer Options
Go Back and you should see the new settings option
Enter Developer Options
Enable it, select ok
Enable OEM unlock
And finally disable Automatic System Updates
UNLOCKING BOOTLOADER
(You must be familiar with Command Prompt on Windows)
• YOUR BOOTLOADER MUST BE UNLOCKED
- reboot into fastboot [ adb reboot bootloader ]
- fastboot oem unlock [ this is going to wipe your data ]
If you have problems with the device drivers installed , you will need to install lg bridge app from lg that contains the device driver
http://tool.lime.gdms.lge.com/dn/downloader.dev?fileKey=PWZO7A26B9UW
How to flash the recovery:
• BOOT INTO FASTBOOT MODE:
With your phone off, connect your usb cable to your phone while holding VOLUME DOWN to boot into fastboot mode or just type [adb reboot bootloader] in the adb terminal
• ONCE YOU ARE IN FASTBOOT MODE:
Open a command prompt and type "fastboot flash recovery <path_to_recovery.img>” without the quotation marks.
Example: fastboot flash recovery C:/Users/John/Desktop/recovery.img
[don't forget to extract the downloaded recovery zip to get the recovery.img]
• WHEN THE FLASH COMPLETES: (Takes about 2 seconds)
On your phone, unplug the usb cable and power it off by taking out the battery and putting it back in.
• BOOT INTO RECOVERY MODE FOR THE FIRST TIME
HOLD VOLUME DOWN + POWER until you see the LG logo and then temporarily release the POWER button, immediately pressing and holding it back down until you see the white prompt [factory reset] screen. You will NEVER release the volume down button in this process!
Use the hard keys to select "YES" and then "YES" again to boot into TWRP!
How to Disable encryption & flash super su
1. In TWRP, go to Wipe > Format Data. Enter the keyword ‘yes‘, in the provided space and enter. This will wipe the automatically encrypted filesystem, and decrypt it.
2. Once the wiping is done, reboot back into recovery. Go to Reboot > Recovery.
3. When the recovery boots again, connect your phone to the PC and Enable MTP under the Mount section.
4. Transfer the downloaded ‘no-verity-opt-encrypt-5.1.zip’ and ‘UPDATE-SuperSU-v2.82-20170528234214.zip or if you wants MAGISK then the MagiskV13.zip to your internal storage or EXTSD
5. Disconnect the device now.
6. Tap on Install. Now, navigate your phone’s storage and select ‘no-verity-opt-encrypt-5.1.zip’. Finally swipe the ‘Swipe to confirm Flash’ button on the bottom of the screen.
7. The flashing process will merely take a few seconds. And when it’s done, follow the same method to flash the root package – UPDATE-SuperSU-v2.82-20170528234214.zip or you can flash the MAGISKV13.zip
Wait 1 or 2 minutes after the zip files are done flashing then reboot system and PROFIT! Your phone may take 3-5 minutes to boot the first time and it might boot-loop once or twice at the Metro PCS splash screen but don’t worry this is expected.
DOWNLOADS
All required files [supersu+dm-verify disable] can be found in this thread :
https://forum.xda-developers.com/lg-g5/development/recovery-team-win-recovery-project-lg-g5-t3363047
MAGISK V13.3 by topjohnwu
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
#2 build [stable]
http://www.mediafire.com/file/x1bo7scmrga40q5/lg_aristo_twrp_v3_stable_build_by_messi2050.zip
#2 build Changelog:
-fixed device gets wiped everytime you use the hardware buttons to boot into twrp.
-fixed flashing boot/recovery images through twrp
-built using latest twrp source.
[do not mirror the downloads]
Notice: After the TWRP splash screen you will see the option to type in the password to decrypt the filesystem. just ignore it and hit the cancel button.
--------------------------------------------------------------------------------------------------------
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from So Please Consider donating using the link below if you appreciate my work.
https://www.paypal.me/messi2050
THANKS AND CREDIT
I do not take any credit for this. All the thanks and credit go to: 
 @Messi:
https://androidforums.com/members/messi2050.1983077/
For taking time to build a TWRP Recovery for us without actually owning the device. Much credit and a million thanks.
@topjohnwu
https://forum.xda-developers.com/member.php?u=4470081
For their hard work on the Magisk systemless interface software and dedication to keep on developing the software especially for a lot of us Nougat phone owners. Thanks thanks thanks
Special Thanks
 @phhusson for his advice with sepolicy and his sepolicy injection tool, boot image tools, hide su tools, superuser
@Chainfire for many bits of shell script code, his supolicy in older versions, and the complete documentation How-To SU
 @nkk71 for his original resetprop
 @osm0sis for his shell script for image/zip size detection, unSU, addon.d, also providing numerous support for all kinds of boot image unpacking knowledge
@digitalhigh and @DVDandroid for massive contributions to Magisk Manager
@Captain_Throwback for being the No.1 supporter, testing and finding bugs all the time
Ortem1UP said:
Hello everyone. I'm no stranger to rooting and TWRP. Always looking for rooting methods for wtv device I own. I currently own an LG LV3 or Aristo running Nougat 7.0 and successfully rooted it via adb as well as installed a fully functional TWRP thanks to Messi's method.
Now when it comes to Xposed I'm no novice. But unfortunately there isn't a Nougat compatible one yet. So I'm going with the alternative Magisk. But I am a complete noob when it comes to Magisk.
Can I simply flash the Magisk zip and follow the steps mentioned on the Magisk forum? Also, will MagiskSU replace my current SU without any flaws?
Any help would be appreciated
Click to expand...
Click to collapse
Depends on what root solution you're currently using. If you're using systemless SuperSU Magisk won't replace it, but use that instead. In that case you'll have to first remove SuperSU. If you're using any other root Magisk will try to replace it with MagiskSU (no guarantees). Also, I believe LG devices need a "bump" script, or something like that... I also believe this has been added to the Magisk code, but is not yet in the official release. If v11.1 doesn't work, you could try the unofficial beta snapshot: https://forum.xda-developers.com/apps/magisk/unofficial-magisk-v10-beta-built-t3521901
And just to clarify: Magisk is not an alternative to Xposed... You can do certain things with Magisk that can also be done with Xposed, but they work in completely different ways. Think of Magisk as a "file injector" where it can replace files and props on your device at boot, completely systemless. And along the same kind of thinking Xposed is a "code injector" that can alter the code of a running app. This can also be made systemless, by tools such as Magisk. @topjohnwu have hinted at ideas about making Magisk work as a "code injector", but this is purely on the idea stage at the moment and is probably quite far away in a possible future.
Take a look in the release thread and the Magisk All-In-One Wiki (both stickied at the top). They contain a lot of useful information. There's also a lot of information in the support thread, which is pretty big by now so the search function is a good tool there.
I've also collected a bunch of tips and tricks for Magisk installation and troubleshooting, and as well for Magisk Hide if you want to use that:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
Didgeridoohan said:
Depends on what root solution you're currently using. If you're using systemless SuperSU Magisk won't replace it, but use that instead. In that case you'll have to first remove SuperSU. If you're using any other root Magisk will try to replace it with MagiskSU (no guarantees). Also, I believe LG devices need a "bump" script, or something like that... I also believe this has been added to the Magisk code, but is not yet in the official release. If v11.1 doesn't work, you could try the unofficial beta snapshot: https://forum.xda-developers.com/apps/magisk/unofficial-magisk-v10-beta-built-t3521901
And just to clarify: Magisk is not an alternative to Xposed... You can do certain things with Magisk that can also be done with Xposed, but they work in completely different ways. Think of Magisk as a "file injector" where it can replace files and props on your device at boot, completely systemless. And along the same kind of thinking Xposed is a "code injector" that can alter the code of a running app. This can also be made systemless, by tools such as Magisk. @topjohnwu have hinted at ideas about making Magisk work as a "code injector", but this is purely on the idea stage at the moment and is probably quite far away in a possible future.
Take a look in the release thread and the Magisk All-In-One Wiki (both stickied at the top). They contain a lot of useful information. There's also a lot of information in the support thread, which is pretty big by now so the search function is a good tool there.
I've also collected a bunch of tips and tricks for Magisk installation and troubleshooting, and as well for Magisk Hide if you want to use that:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
Click to expand...
Click to collapse
Thank you so much. I will definitely look over the links you shared and try some out. I couldn't thank you enough for taking the time to reply and with a ton of info. I'm bound to find something that works. Thanks again.
Sent from my lv3 using XDA Labs
Ortem1UP said:
Hello everyone. I'm no stranger to rooting and TWRP. Always looking for rooting methods for wtv device I own. I currently own an LG LV3 or Aristo running Nougat 7.0 and successfully rooted it via adb as well as installed a fully functional TWRP thanks to Messi's method.
Now when it comes to Xposed I'm no novice. But unfortunately there isn't a Nougat compatible one yet. So I'm going with the alternative Magisk. But I am a complete noob when it comes to Magisk.
Can I simply flash the Magisk zip and follow the steps mentioned on the Magisk forum? Also, will MagiskSU replace my current SU without any flaws?
Any help would be appreciated
Click to expand...
Click to collapse
so what method did you use to root? I can't find any documentation anywhere
brad2192 said:
so what method did you use to root? I can't find any documentation
Here is the link. Sorry for the late response been busy with work and school I'm not sure if this is against the XDA rules like sharing a link to another Forum but here you go
http://androidforums.com/threads/recovery-twrp-v3-for-lg-aristo-metropc-t-mobile.1117942/
Sent from my lv3 using XDA Labs
Click to expand...
Click to collapse
Ortem1UP said:
Thank you so much. I will definitely look over the links you shared and try some out. I couldn't thank you enough for taking the time to reply and with a ton of info. I'm bound to find something that works. Thanks again.
Sent from my lv3 using XDA Labs
Click to expand...
Click to collapse
Did you ever get this figured out? Kinda curious if I can do this without wiping.
BrothelWaffles said:
Did you ever get this figured out? Kinda curious if I can do this without wiping.
Click to expand...
Click to collapse
I almost did but I got stuck on bootloop. The only way I can think it might work would be to return to stock. Follow Messi's method for Twrp & Root. But at the point of root. U can stick with Chainfires SuperSU, or use the latest MagiskSU by Topjohnwu (would recommend)
Then just reboot the device and follow TopJohnwus method of installing Magisk.
But don't take my word for it. It's just and idea. I've yet to try it Cuz I haven't really had time. So it's up to you if u wanna give it a shot.
Or u can wait for me to try it. I was thinking of doing it 2nite. It's 930pm pst
I say around 11-12 I will be giving it another go. Wtv my results are. I will report back. Wish me luck
SUCCESS
I got Magisk to work on My LG Aristo as of today. It was just as I thought.
I went back to stock. Then I followed Messi's method to get TWRP installed. Since I already had my bootloader unlocked. I didnt need to worry about it. Just flashed TWRP via adb as Messi says to do. Unplugged my device and pulled out the battery to turn of my device. Put it back in and rebooted into recovery. Went to wipe and formatted data. Once it was done. Went back and went into Reboot. Rebootted back into recovery. Plugged my phone to my laptop, enabled mtp and transferred both the no-verity-opt-encrypt-2.1.zip file and magiskzip file. Didn't need SuperSu seeing as how Magisk alone roots the device. Flashed the no-verity-opt-encrypt-2.1.zip first and then Magiskzip. Latest version is V13.2 right now. It automatically installs Magisk Manager since it isn't available on the Play Store anymore. Rebooted system. Waited for my phone to start. Set it up and immediately tested it. And Magisk is 100% fully functional with all green checkmarks. Hope it helps. Maybe I should create a thread. Would be my first one. Don't really know how to tho. But I'll try.
Also, here are the snapshots of proof and my magisk settings to get them to pass.
Ortem1UP said:
SUCCESS
I got Magisk to work on My LG Aristo as of today. It was just as I thought.
I went back to stock. Then I followed Messi's method to get TWRP installed. Since I already had my bootloader unlocked. I didnt need to worry about it. Just flashed TWRP via adb as Messi says to do. Unplugged my device and pulled out the battery to turn of my device. Put it back in and rebooted into recovery. Went to wipe and formatted data. Once it was done. Went back and went into Reboot. Rebootted back into recovery. Plugged my phone to my laptop, enabled mtp and transferred both the dm-verity file and magiskzip file. Didn't need SuperSu seeing as how Magisk alone roots the device. Flashed Dm-verity first and then Magiskzip. Latest version is V12 right now. Rebooted system. Waited for my phone to start. Set it up and immediately updated Magisk Manager and viola. Magisk is 100% fully functional with all green checkmarks. Hope it helps. Maybe I should create a thread. Would be my first one tho. Don't really know how to tho. But I'll try.
Also, here are the snapshots of proof and my magisk settings to get them to pass.
Click to expand...
Click to collapse
Thank you so much your a life saver I finally have magisk installed right
Hey ortem, have you had an issue with magisk modules knocking out cell service upon reboot?
Anyone install this by unrooting\uninstalling supersu and flashing the zips...its crazy i have to go all the way back to square one just to install this...any help appreciated
jessebanks said:
Anyone install this by unrooting\uninstalling supersu and flashing the zips...its crazy i have to go all the way back to square one just to install this...any help appreciated
Click to expand...
Click to collapse
Use the full uninstall provided within the supersu app and restart your phone, then go into recovery and flash magisk.
Ortem1UP said:
SUCCESS
I got Magisk to work on My LG Aristo as of today. It was just as I thought.
I went back to stock. Then I followed Messi's method to get TWRP installed. Since I already had my bootloader unlocked. I didnt need to worry about it. Just flashed TWRP via adb as Messi says to do. Unplugged my device and pulled out the battery to turn of my device. Put it back in and rebooted into recovery. Went to wipe and formatted data. Once it was done. Went back and went into Reboot. Rebootted back into recovery. Plugged my phone to my laptop, enabled mtp and transferred both the dm-verity file and magiskzip file. Didn't need SuperSu seeing as how Magisk alone roots the device. Flashed Dm-verity first and then Magiskzip. Latest version is V12 right now. Rebooted system. Waited for my phone to start. Set it up and immediately updated Magisk Manager and viola. Magisk is 100% fully functional with all green checkmarks. Hope it helps. Maybe I should create a thread. Would be my first one tho. Don't really know how to tho. But I'll try.
Also, here are the snapshots of proof and my magisk settings to get them to pass.
Click to expand...
Click to collapse
Hi Ortem1UP, I get the jist of the method but not sure what the dm-verity parts are. Can you explain what this is for, and where are you getting it and what version? Is dm-verity the same as no-verity-opt-encrypt-2.1.zip that messi describes in his twrp tutorial for the Aristo?
azizLIGHT said:
Hi Ortem1UP, I get the jist of the method but not sure what the dm-verity parts are. Can you explain what this is for, and where are you getting it and what version? Is dm-verity the same as no-verity-opt-encrypt-2.1.zip that messi describes in his twrp tutorial for the Aristo?
Click to expand...
Click to collapse
Oh wow. So sorry. I hadn't noticed my mistake. Yes, the dm verity I accidentally mentioned is actually the no-verity-opt-encrypt zip that Messi mentions. I'll fix that mistake. Wouldn't want ppl to get confused. Thanks for that. BTW, the same method also works with the new Magisk V13.2. Just an FYI
Sent from my lv3 using XDA Labs
ninjasinabag said:
Hey ortem, have you had an issue with magisk modules knocking out cell service upon reboot?
Click to expand...
Click to collapse
I apologize for the very late reply.
Actually, no I haven't. Which modules did you install?
Sent from my lv3 using XDA Labs
Ortem1UP said:
Oh wow. So sorry. I hadn't noticed my mistake. Yes, the dm verity I accidentally mentioned is actually the no-verity-opt-encrypt zip that Messi mentions. I'll fix that mistake. Wouldn't want ppl to get confused. Thanks for that. BTW, the same method also works with the new Magisk V13.2. Just an FYI
Sent from my lv3 using XDA Labs
Click to expand...
Click to collapse
Ortem, while I was waiting for your reply, I went ahead and flashed the magisk zip (13.2) without flashing no-verity and I was able to get it to work. I have all green checks as well with SafetyNet. So the no-verity-opt-encrypt zip file may not be needed for magisk to work and to get root/safetynet pass
azizLIGHT said:
Ortem, while I was waiting for your reply, I went ahead and flashed the magisk zip (13.2) without flashing no-verity and I was able to get it to work. I have all green checks as well with SafetyNet. So the no-verity-opt-encrypt zip file may not be needed for magisk to work and to get root/safetynet pass
Click to expand...
Click to collapse
No way. Seriously? Does SafetyNet always pass? Because for me it does at times and other times it doesn't. I wonder if the no-verity-opt-encrypt.zip is to blame? I shall try it your way and see how that goes. Thanks for the heads up. Guess the zip is only needed for SuperSu. Not Magisk.
Sent from my lv3 using XDA Labs
Ortem1UP said:
No way. Seriously? Does SafetyNet always pass? Because for me it does at times and other times it doesn't. I wonder if the no-verity-opt-encrypt.zip is to blame? I shall try it your way and see how that goes. Thanks for the heads up. Guess the zip is only needed for SuperSu. Not Magisk.
Sent from my lv3 using XDA Labs
Click to expand...
Click to collapse
Yeah I'm actually passing SafetyNet sometimes as well and sometimes not. I can't figure out why that's the case. In any case, I don't think the no-verity-opt-encrypt.zip is to blame given since we're both experiencing the same symptoms!
azizLIGHT said:
Yeah I'm actually passing SafetyNet sometimes as well and sometimes not. I can't figure out why that's the case. In any case, I don't think the no-verity-opt-encrypt.zip is to blame given since we're both experiencing the same symptoms!
Click to expand...
Click to collapse
Oh OK. For a second I thought it was the zip file.
Anywho. IDK about you but ever since the latest update. I haven't had a single problem with Safety Net. It passes every time now. I hope your getting the same results?
Sent from my lv3 using XDA Labs
In the "first boot" after TWRP flash process. While holding power button+vol. Down . You must let go of the volume button to make the selection "yes" then "power" to select then hold "VOL DOWN" the next option comes up. Let go press "VOL DOWN" to select "YES" still holding down push "POWER" to make final selection along with DOWN and again proceed as you would when you first went into recovery. Now this in no way a insult to the work that's put into this but I believe in order to teach those that want to learn we must combine our knowledge and create an amazing Rom:victory:

[Updated/All Versions & Models!] Root OnePlus 7T Pro

How to root any version of the OnePlus 7T Pro!
1. Make sure your bootloader is unlocked!
2. Once you're unlocked enter the following ADB commands to extract your current boot image (Your phone needs to be on)
adb shell dd if=/dev/block/bootdevice/by-name/boot_a of=/boot_a.img
adb pull /boot_a.img pathinyourpc
Click to expand...
Click to collapse
3. Download & install Magisk Manager on your phone
4. Put the boot_a.img file on your phone
5. Open the magisk manager app and click the "Advanced Settings" button, then enable "Prserve AVB 2.0/dm-verity & Preserve force encryption", then select the top "Install" button and select "Patch to boot image" and select the boot_a.img
6. Now magisk will create a magisk patched boot image file, put that on your computer
7. Now enter the following ADB command
adb reboot fastboot
fastboot --set-active=a
fastboot boot pathtomagiskpatched.img
Click to expand...
Click to collapse
8. Now you'll boot into the system, reopen the magisk app and click the top install button again and select "Direct install", then reboot
Congratulations you've now successfully rooted your phone!
EDIT: This guide is wrong.
Check these references for the proper guide to root. OP refuses to acknowledge it's wrong even when I pointed it out to him with proof.
https://forum.xda-developers.com/showpost.php?p=81023631&postcount=144
^^^
Mainly this one.
https://forum.xda-developers.com/showpost.php?p=81105485&postcount=171
https://forum.xda-developers.com/showpost.php?p=81106827&postcount=173
-----
Now I have something so do for the weekend, thanks
Just a question, have you tried Viper4Android (if your use it)?: Use 2.7.1.6 stable version.
hi,
tryed it out.. When i boot your patched image.. there is no install button in magisk. It tolds me that i am already on the newest version.
Second.. WLAN isnt working any more. Cant enable wlan. When i reboot with stock img. everything is fine.
Dukynuky said:
hi,
tryed it out.. When i boot your patched image.. there is no install button in magisk. It tolds me that i am already on the newest version.
Second.. WLAN isnt working any more. Cant enable wlan. When i reboot with stock img. everything is fine.
Click to expand...
Click to collapse
Yes it says its installed thats correct but you need to install it again in the magisk app so it stays after restarting the phone. I don't know about WLAN tho
Can you turn on Wifi ?
When i turn it on. It is disabled at the end.
There are similar problems in the 7t forums. Seems a problem with the used magisk version for the boot image.. did you use the canary magisk files ?
and yes.. I know why i need to install. But the linked version of magisk says only.. uninstall..
Edit: i have a european version of the oneplus 7t pro .. and can you provide the original boot image.
I can confirm I have successfully rooted using this method, and WIFI is working fine. Thank you very much, OP and everyone involved, no wits time to set up my device
Ah! Will do this immediately when I get home.
I tried magisk and now it loops to fastboot, does anyone know to recover from this? Does the msm tool for OP7T Pro?
edit: flashed the original boot img and boots fine, whever i try to boot magisk patched it bootlops because faulty drivers
to clear up, i tried installing viper4android driver directly from the app, so i guess theres residue left
Lossyx said:
I tried magisk and now it loops to fastboot, does anyone know to recover from this? Does the msm tool for OP7T Pro?
Click to expand...
Click to collapse
did you install modules ? try booting the patched boot image from here and then, uninstall the modules again...
Works like a charm!
Minor thing you may want to clarify (I know you know, but to prevent confusion for readers), you give a warning that this will wipe all data, but that is not exactly true. Unlocking the bootloader wipes all data, but that step is not part of your instructions. Just following your steps on an already unlocked phone does not wipe the phone.
Thanks to everyone who made this possible so soon!
Dukynuky said:
did you install modules ? try booting the patched boot image from here and then, uninstall the modules again...
Click to expand...
Click to collapse
please see my edited reply, i installed directry through viper4android app, no the module
Dukynuky said:
Can you turn on Wifi ?
When i turn it on. It is disabled at the end.
There are similar problems in the 7t forums. Seems a problem with the used magisk version for the boot image.. did you use the canary magisk files ?
and yes.. I know why i need to install. But the linked version of magisk says only.. uninstall..
Edit: i have a european version of the oneplus 7t pro .. and can you provide the original boot image.
Click to expand...
Click to collapse
got ist working.. layer 8 error.. didnt had the ota update installed.
Updated oxygen os.. then wifi is working. also used canary magisk files.. works perfekt.. thanks
Dukynuky said:
Can you turn on Wifi ?
When i turn it on. It is disabled at the end.
There are similar problems in the 7t forums. Seems a problem with the used magisk version for the boot image.. did you use the canary magisk files ?
and yes.. I know why i need to install. But the linked version of magisk says only.. uninstall..
Edit: i have a european version of the oneplus 7t pro .. and can you provide the original boot image.
Click to expand...
Click to collapse
my wifi works perfectly fine, I have the EU version too.
I attached screenshots of what to do with the installed, please select the direct install option and then reboot!
droidvark said:
Works like a charm!
Minor thing you may want to clarify (I know you know, but to prevent confusion for readers), you give a warning that this will wipe all data, but that is not exactly true. Unlocking the bootloader wipes all data, but that step is not part of your instructions. Just following your steps on an already unlocked phone does not wipe the phone.
Thanks to everyone who made this possible so soon!
Click to expand...
Click to collapse
I have a warning above the instructions already, I think you might have missed it
Lossyx said:
I tried magisk and now it loops to fastboot, does anyone know to recover from this? Does the msm tool for OP7T Pro?
edit: flashed the original boot img and boots fine, whever i try to boot magisk patched it bootlops because faulty drivers
to clear up, i tried installing viper4android driver directly from the app, so i guess theres residue left
Click to expand...
Click to collapse
I also bootlooped as well, I tried to install liveboot and i guess that didnt work lol
anyways, I fixed my bootloop by booting the unpatched boot img and then doing a factory reset in the settings, after that you can just boot to the magisk boot img again!
Lossyx said:
please see my edited reply, i installed directry through viper4android app, no the module
Click to expand...
Click to collapse
Use the module next time!
HolyChickenGuy said:
I have a warning above the instructions already, I think you might have missed it
Click to expand...
Click to collapse
I'm not sure where the misunderstanding is coming from, I know that you give that warning. What I mean is that strictly speaking following your steps does not wipe the phone, unlocking the bootloader wipes the phone. But you don't have that step in your instructions. See what I mean? .
When I read your steps, I was like "wipes my phone how?" Maybe booting your image would wipe my phone or something? I'm glad it didn't .
I just thought for clarity's sake it would be good to make that clear in the steps that's all!
droidvark said:
I'm not sure where the misunderstanding is coming from, I know that you give that warning. What I mean is that strictly speaking following your steps does not wipe the phone, unlocking the bootloader wipes the phone. But you don't have that step in your instructions. See what I mean? .
When I read your steps, I was like "wipes my phone how?" Maybe booting your image would wipe my phone or something? I'm glad it didn't .
I just thought for clarity's sake it would be good to make that clear in the steps that's all!
Click to expand...
Click to collapse
Oh sorry, yeah I rewrote it to make it clearer. Unlocking the bootloader will wipe your data
Sent from my HD1913 using Tapatalk
HolyChickenGuy said:
I also bootlooped as well, I tried to install liveboot and i guess that didnt work lol
anyways, I fixed my bootloop by booting the unpatched boot img and then doing a factory reset in the settings, after that you can just boot to the magisk boot img again!
Click to expand...
Click to collapse
Damn, you are my hero. Did a factory reset and followed the OP again, now everything is fine and I'm rooted. Thank you again.
edit: also, for safety precaution, disable automatic updates in Developer options
https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation
Great, I'll check back in on this tomorrow and see how everyone is getting on before I try. Had a skim through here this morning before mine arrived and didn't see anything so set up as is.

Question LineageOS + Root?

I used this to install lineage and it worked out great – the tablet runs a lot better. But I have an app I'd like to use that requires root, and this unofficial version of lineage does not come with a boot.img to patch with magisk. Is there some other way to root this that I'm missing, or is it not possible?
itscryptic said:
I used this to install lineage and it worked out great – the tablet runs a lot better. But I have an app I'd like to use that requires root, and this unofficial version of lineage does not come with a boot.img to patch with magisk. Is there some other way to root this that I'm missing, or is it not possible?
Click to expand...
Click to collapse
If you originally patched the Samsung firmware and rooted under OneUI, that same version of Magisk will show up once you flash any GSIs.
Besides that, there's no other way that I know of since you can't simply sideload Magisk through TWRP for this device
You'll have to start over by patching the firmware and flashing through Odin to get back to stock. From there, set up Magisk like you'd normally do. Once that's done, you can proceed and use the same guide to get LOS back and be fully rooted with Magisk
itscryptic said:
I used this to install lineage and it worked out great – the tablet runs a lot better. But I have an app I'd like to use that requires root, and this unofficial version of lineage does not come with a boot.img to patch with magisk. Is there some other way to root this that I'm missing, or is it not possible?
Click to expand...
Click to collapse
You just need to install the magisk apk and run it. There is no need to patch anything.
lewmur said:
You just need to install the magisk apk and run it. There is no need to patch anything.
Click to expand...
Click to collapse
I have the magisk apk installed, but not sure what you mean by run it. I open it and it shows N/A for installed.
itscryptic said:
I have the magisk apk installed, but not sure what you mean by run it. I open it and it shows N/A for installed.
Click to expand...
Click to collapse
Simply installing the Magisk APK is not the same. To install Magisk completely to your system you must patch the image.
For this device, you need to complete the patching process first with Samsung's firmware under OneUI. Once that's done, you can return back to LOS and a patched version of Magisk will be waiting for you to install
itscryptic said:
I have the magisk apk installed, but not sure what you mean by run it. I open it and it shows N/A for installed.
Click to expand...
Click to collapse
Yes, but with stock, your only option is to patch a file. But with LOS you also have the option to install direct. Choose that and it will root.
lewmur said:
Yes, but with stock, your only option is to patch a file. But with LOS you also have the option to install direct. Choose that and it will root.
Click to expand...
Click to collapse
I didn't root initially when installing LOS. So it appears I need to restart the process, which isn't that big of a deal. But I don't know how to get back to stock to perform the patch. It's been almost a year since I originally installed LOS so I'm a little rusty with how everything works again
itscryptic said:
I didn't root initially when installing LOS. So it appears I need to restart the process, which isn't that big of a deal. But I don't know how to get back to stock to perform the patch. It's been almost a year since I originally installed LOS so I'm a little rusty with how everything works again
Click to expand...
Click to collapse
Again!!!! There is no need for that. LOS has replaced stock. Just do as I said, run Magisk but instead of choosing a file, choose the DIRECT install option. LOS doesn't need to be patched and stock didn't need to be rooted before flashing LOS. I just happened that I did root stock first but that was just to test if it worked with the latest stock ROM. But there is no need to do it if you are going to flash a GSI.
lewmur said:
Again!!!! There is no need for that. LOS has replaced stock. Just do as I said, run Magisk but instead of choosing a file, choose the DIRECT install option. LOS doesn't need to be patched and stock didn't need to be rooted before flashing LOS. I just happened that I did root stock first but that was just to test if it worked with the latest stock ROM. But there is no need to do it if you are going to flash a GSI.
Click to expand...
Click to collapse
I do not see a direct option, it is only showing select a file to patch when I tap install...
itscryptic said:
I do not see a direct option, it is only showing select a file to patch when I tap install...
Click to expand...
Click to collapse
If you are only seeing "Select a file", something is wrong but it has nothing to do with needing to patch. Try uninstalling magisk and then flashing the apk with TWRP.
lewmur said:
If you are only seeing "Select a file", something is wrong but it has nothing to do with needing to patch. Try uninstalling magisk and then flashing the apk with TWRP.
Click to expand...
Click to collapse
That did the trick, thanks a bunch! I keep getting this message though, even after rebooting, and I'm not sure if it makes a difference since the root checker shows my device is rooted.
itscryptic said:
That did the trick, thanks a bunch! I keep getting this message though, even after rebooting, and I'm not sure if it makes a difference since the root checker shows my device is rooted.
Click to expand...
Click to collapse
That's normal. Ignore it.
itscryptic said:
That did the trick, thanks a bunch! I keep getting this message though, even after rebooting, and I'm not sure if it makes a difference since the root checker shows my device is rooted.
Click to expand...
Click to collapse
How did you flash the Magisk.apk with twrp?
gguman said:
How did you flash the Magisk.apk with twrp?
Click to expand...
Click to collapse
Use the "Install" button to flash as if it were a zip file.
lewmur said:
Use the "Install" button to flash as if it were a zip file.
Click to expand...
Click to collapse
I didn't find the apk file in the tablet when I push the Install button in the twrp... .Should the file be in a specific path?
gguman said:
I didn't find the apk file in the tablet when I push the Install button in the twrp... .Should the file be in a specific path?
Click to expand...
Click to collapse
So long as you know where it is, you should be able to browse to it. You might have to "Select storage" to switch between Internal and Micro SD. If it doesn't show, try renaming it from .apk to .zip.
gguman said:
I didn't find the apk file in the tablet when I push the Install button in the twrp... .Should the file be in a specific path?
Click to expand...
Click to collapse
You have to rename it as a ZIP, you cannot flash APK files
kevinco1 said:
You have to rename it as a ZIP, you cannot flash APK files
Click to expand...
Click to collapse
Not necessarily so. I've installed apk files in TWRP many times. It depends upon the version of TWRP. Some will, some won't. Most later versions will. I have v 3.7.0_12.2 on mine and it installs the apk just fine.
lewmur said:
Not necessarily so. I've installed apk files in TWRP many times. I depends upon the version of TWRP. Some will, some won't. Most later versions will. I have v 3.7.0_12.2 on mine and it installs the apk just fine.
Click to expand...
Click to collapse
Just curious, what other apps can you do this besides Magisk?
lewmur said:
Not necessarily so. I've installed apk files in TWRP many times. I depends upon the version of TWRP. Some will, some won't. Most later versions will. I have v 3.7.0_12.2 on mine and it installs the apk just fine.
Click to expand...
Click to collapse
Successfully installed apk:
0) stock firmware
1) install TWRP
2) Formated data
3) Wipe all data
4) adb push magisk.apk to /
5) Install apk from TWRP
6) reboot to fastboot
7) flash LOS20

Categories

Resources