Is there a root Redmi 7A tutorial - Redmi 7A Questions & Answers

Dear everyone:
I am a new member of the xda community, First of all please forgive me for my English level and this stupid question ,I have a question about root Redmi 7A. We are known Redmi 7A used asr 32-bit , maybe that's why it's difficult to ROOT it? On the Xiaomi website , I can not find a Developement Developer ROM of the Redmi 7A. if have then I can flash it to get Root privilage. I have tried genneral way to root it , but all failed.
firstly , my Redmi 7A is unlock (bootloader) and I have flashed TWRP (WRP-3.3.1-1003-REDMI7A-CN-wzsx150.img) and Global ROM 10.2.5 (download from https://mirom.ezbox.idv.tw/en/phone/pine/roms-global-stable/#info_18104 ), then installed Magisk manager. then I use patched boot.img method, or I flash magisk use install zip from TWRP method , the phone can boot normally, but magisk manager claims that magisk is not installed. yes, my problem is the same as this post https://forum.xda-developers.com/redmi-7a/help/unable-to-root-redmi-7a-miui-11-0-6-t4011525
However, I did not understand how he ended up being successful, Do I need to download a specific patched magisk_patch.img? Therefore, I think I need a more detailed tutorial.
All help would be greatly appreciated !
In addition, I still have a question, which domain does magisk access when updating and pathing? Because in China, this domain may not be accessible. I need to enable the VPN service to update or patch normally.

Try mokee ROM, with add on su
xsstest said:
Dear everyone:
I am a new member of the xda community, First of all please forgive me for my English level and this stupid question ,I have a question about root Redmi 7A. We are known Redmi 7A used asr 32-bit , maybe that's why it's difficult to ROOT it? On the Xiaomi website , I can not find a Developement Developer ROM of the Redmi 7A. if have then I can flash it to get Root privilage. I have tried genneral way to root it , but all failed.
firstly , my Redmi 7A is unlock (bootloader) and I have flashed TWRP (WRP-3.3.1-1003-REDMI7A-CN-wzsx150.img) and Global ROM 10.2.5 (download from https://mirom.ezbox.idv.tw/en/phone/pine/roms-global-stable/#info_18104 ), then installed Magisk manager. then I use patched boot.img method, or I flash magisk use install zip from TWRP method , the phone can boot normally, but magisk manager claims that magisk is not installed. yes, my problem is the same as this post https://forum.xda-developers.com/redmi-7a/help/unable-to-root-redmi-7a-miui-11-0-6-t4011525
However, I did not understand how he ended up being successful, Do I need to download a specific patched magisk_patch.img? Therefore, I think I need a more detailed tutorial.
All help would be greatly appreciated !
In addition, I still have a question, which domain does magisk access when updating and pathing? Because in China, this domain may not be accessible. I need to enable the VPN service to update or patch normally.
Click to expand...
Click to collapse
Add-on-su on mokee open source ROM works fine, can enable root from developer options only, magisk and supersu don't work.
I have been trying to make them work but it seems impossible, I have looked in system/xbin and found no su files, maybe the problem is in the meta-INF because it doesn't properly know where to install it.

Related

Root and Magisk

History:
After I change the kernel I lost the root! Then I tried to update the Magisk to version 18 and the Magisk Manager to a most recent version that I don't remember its version.... But my phone continued without root.
Trying to solve this again I install Magisk 16.3 and Magisk Manager 5.6.4 downloading and installing the files available in this link: https://www.stechguide.com/download-magisk-v16-3/
Without success too!
-
So, darlings.
I'm asking for a tutorial to uninstall all the Magisk things of my phone (if you experts think it is necessary) and I'm asking for a tutorial to root again my phone with Magisk.
And I'm also asking to know the latest STABLE version of Magisk and of Magisk Manager COMPATIBLE with my phone and that will work well!
I have a Galaxy Note 3 (SM-N9005) with [ROM][C9 Pro Port][N900X] AspireTeam C9 Pro v5.0 [18.5.18][Aroma/Smooth/Modded] installed.
Thank you so much!!!
LeandritoG said:
History:
After I change the kernel I lost the root! Then I tried to update the Magisk to version 18 and the Magisk Manager to a most recent version that I don't remember its version.... But my phone continued without root.
Trying to solve this again I install Magisk 16.3 and Magisk Manager 5.6.4 downloading and installing the files available in this link: https://www.stechguide.com/download-magisk-v16-3/
Without success too!
So, darlings.
I'm asking for a tutorial to uninstall all the Magisk things of my phone (if you experts think it is necessary) and I'm asking for a tutorial to root again my phone with Magisk.
And I'm also asking to know the latest STABLE version of Magisk and of Magisk Manager COMPATIBLE with my phone and that will work well!
I have a Galaxy Note 3 (SM-N9005) with [ROM][C9 Pro Port][N900X] AspireTeam C9 Pro v5.0 [18.5.18][Aroma/Smooth/Modded] installed.
Thank you so much!!!
Click to expand...
Click to collapse
First, Magisk is one of the most documented tools on xda, has its own official forum and especialy its official releases on GitHub (where all versions are available). It's useless to get it elsewhere.
Second, Magisk will only do his magic on an already flashed kernel. If you flash kernel after Magisk, you won't get root.
Third, Magisk flashable zip contains the corresponding Manager and will inject it systematically.
Finaly, you need TWRP for a successful flash of Magisk. With other custom recoveries, errors like "can't find the boot image" can happens.
Now, for a complete removal of Magisk from the system, you only have to flash the latest official uninstaller.
After reboot, go to recovery, flash your prefered kernel then flash Magisk. The latest stable version is v18 and will work well on your rom.
...

[SOLVED] A way to patch boot.img with magisk v17.3

Hi everyone, yesterday I unlocked and flashed TWRP on my CPN-L09 following this guide.
I successfully rooted stock with latest magisk, the only problem is that the fp sensor stops working.
After some research i've found this issue on magisk github: https://github.com/topjohnwu/Magisk/issues/862
Some users are reporting fp sensor problem with magisk 18+.
So I would like to try patching boot.img with magisk 17.3, do anyone knows a way to do it? As magisk manager tries to download the latest version.
Also I paid 15€ on easy firmware to download the FullOTA of my tablet so I can restore as it was. Really dont know if I can share a mirror with that file, and I have some credits that im not going to use so, if someone need the full ota I could share it. Again I dont know if sharing a mirror is against the rules so let me know.
UPDATE:
I successfully rooted my CPN-L09 (Mediapad M3 Lite 8 LTE) using a custom recovery that I made.
You can find the recovery here: https://mega.nz/#!9VdlRKaQ!jgUX6n9lIK1Ey-c9gk2fegHmjtgYtbPO6bum05Q5RCk
Ignore the errors while flashing, also I didn't test other twrp functions so be careful this is my first time making a custom recovery.
Steps for rooting:
1- Flash recovery using fastboot "fastboot flash recovery recovery_magisk.img"
2- Enter recovery power button + volume up
3- Flash this magisk version.
4- Boot and install this version of magisk manager.
5- Disable update check for magisk.
6- Enjoy root with fp sensor working.
As usual im not responsible if you brick your device. You do everything at your own risk!

problem root mi9 t

Hi everybody
I have trouble rooting my mi9t under miui 11.0.3 global eaa.
I tried several tutorials but nothing reliable root is unstable.
I tried with magisk while patching the boot file but it's really unstable.
I managed to install the recovery custom twrp to be able to flash super su to root the mi9t but nothing to do that puts me like it was abandoned and red up in the recovery I scored that before the flash of the supersu :
unable to decrypt fbe device
unhandled flag: 'wrappedkey'
Can it come from what?
I start to regret my huawei P10.
Thank you for your answer
jerome8 said:
Hi everybody
I have trouble rooting my mi9t under miui 11.0.3 global eaa.
I tried several tutorials but nothing reliable root is unstable.
I tried with magisk while patching the boot file but it's really unstable.
I managed to install the recovery custom twrp to be able to flash super su to root the mi9t but nothing to do that puts me like it was abandoned and red up in the recovery I scored that before the flash of the supersu :
unable to decrypt fbe device
unhandled flag: 'wrappedkey'
Can it come from what?
I start to regret my huawei P10.
Thank you for your answer
Click to expand...
Click to collapse
Don't give up!
If you are able to get TWRP installed it is easy to flash Magisk directly from it.
Get magisk zip and install it.

Is it possible to root the phone and still getting OTA updates ?

I want to root my phone due to its huge benefits but also at the same time I want to keep my OTAs
Is it possible even if I will install them manually (but the data remains with no wipe) ?
And if so, how can I do this and whats the best way?
Thanks in advance and sorry if the language was bad <3
Tsunaimy said:
I want to root my phone due to its huge benefits but also at the same time I want to keep my OTAs
Is it possible even if I will install them manually (but the data remains with no wipe) ?
And if so, how can I do this and whats the best way?
Thanks in advance and sorry if the language was bad <3
Click to expand...
Click to collapse
Yes it's possible with a little workaround, to temporarily switch to stock Recovery (from TWRP, if you had it installed) and to stock Boot (from the one patched by Magisk) during the OTA upgrade - OTA will fail if it finds not the stock images of Recovery and Boot
After the upgrade you just flash the new Boot patched by Magisk (and flash TWRP if you will)
Or you flash TWRP and flash Magisk from TWRP
Below is a post how I recently upgraded from QFJEUXM 12.0.2 to 12.0.3. Btw, I downloaded zip and initiated OTA manually because I didn't want to wait more days to be pushed for OTA, but that's just a small detail not important for the way how to do it:
https://forum.xda-developers.com/showpost.php?p=83791185&postcount=93
Ofc, all my data, apps, settings, and Magisk modules were preserved
Generally, in the Redmi K20/Mi 9T Guides section on XDA you can find (at least two) threads about how-to root, i.e. install Magisk
Those threads describe the way to install Magisk by installing Magisk Manager, patching the Boot image, then flashing it from Fastboot (I prefer that way).
In that case TWRP is not needed (but it can be also installled)
Threads and guides are maybe old (since MIUI 11) but it doesn't matter, it's always the same method (essentially the same as in my post I gave you the link above, its part about returning back to Magisk after the OTA upgrade)
If you follow those guides you must pay attention that you patch the boot.img for exactly that (new) stock MIUI you do have and that you now use new Magisk (not some old versions as in the guides)
Alternatively, you flash TWRP by Fastboot, then flash Magisk zip from TWRP and then you install Magisk Manager
All those methods are described in other threads and posts.
Anyway, you must first unlock the Bootloader, again there is thread with a guide, or just google for how to unlock Bootloader on Xiaomi
Btw, some custom TWRP versions and Orange Fox do have Advanced options for upgrading MIUI and to keep Magisk, but when I did it that way for upgrading from QFJEUXM 11.0.5 to 12.0.2, it made me Factory reset and I lost all my files on Internal memory (it was generally an issue for the others who upgraded from MIUI 11 to MIUI 12 by flashing OTA through custom recovery)
Hence now for upgrading to 12.0.3 I didn't want to risk and did it as above
zgfg said:
Yes it's possible with a little workaround, to temporarily switch to stock Recovery (from TWRP, if you had it installed) and to stock Boot (from the one patched by Magisk) during the OTA upgrade - OTA will fail if it finds not the stock images of Recovery and Boot
After the upgrade you just flash the new Boot patched by Magisk (and flash TWRP if you will)
Or you flash TWRP and flash Magisk from TWRP
Below is a post how I recently upgraded from QFJEUXM 12.0.2 to 12.0.3. Btw, I downloaded zip and initiated OTA manually because I didn't want to wait more days to be pushed for OTA, but that's just a small detail not important for the way how to do it:
https://forum.xda-developers.com/showpost.php?p=83791185&postcount=93
Ofc, all my data, apps, settings, and Magisk modules were preserved
Generally, in the Redmi K20/Mi 9T Guides section on XDA you can find (at least two) threads about how-to root, i.e. install Magisk
Those threads describe the way to install Magisk by installing Magisk Manager, patching the Boot image, then flashing it from Fastboot (I prefer that way).
In that case TWRP is not needed (but it can be also installled)
Threads and guides are maybe old (since MIUI 11) but it doesn't matter, it's always the same method (essentially the same as in my post I gave you the link above, its part about returning back to Magisk after the OTA upgrade)
If you follow those guides you must pay attention that you patch the boot.img for exactly that (new) stock MIUI you do have and that you now use new Magisk (not some old versions as in the guides)
Alternatively, you flash TWRP by Fastboot, then flash Magisk zip from TWRP and then you install Magisk Manager
All those methods are described in other threads and posts.
Anyway, you must first unlock the Bootloader, again there is thread with a guide, or just google for how to unlock Bootloader on Xiaomi
Btw, some custom TWRP versions and Orange Fox do have Advanced options for upgrading MIUI and to keep Magisk, but when I did it that way for upgrading from QFJEUXM 11.0.5 to 12.0.2, it made me Factory reset and I lost all my files on Internal memory (it was generally an issue for the others who upgraded from MIUI 11 to MIUI 12 by flashing OTA through custom recovery)
Hence now for upgrading to 12.0.3 I didn't want to risk and did it as above
Click to expand...
Click to collapse
I really appreciate your reply but I kinda don't know much info to understand most of what u said
My last time with root was about 3 years ago with king root on Mi A1 and I didn't care about updates then
so it's my very first time with magisk and TWRP and that stuff
Could u tell me what is the best method of u mentioned to keep my files and everything with no delete and also makes me able to upgrade Official ROM with no deletes
After this i'll start digging to learn but I want to know what should I dig for
Thanks bro
Tsunaimy said:
I really appreciate your reply but I kinda don't know much info to understand most of what u said
My last time with root was about 3 years ago with king root on Mi A1 and I didn't care about updates then
so it's my very first time with magisk and TWRP and that stuff
Could u tell me what is the best method of u mentioned to keep my files and everything with no delete and also makes me able to upgrade Official ROM with no deletes
After this i'll start digging to learn but I want to know what should I dig for
Thanks bro
Click to expand...
Click to collapse
Unlocking Bootloader usually takes to wait 7 days=168 hours, hence you have enough time to read?
Unlocking Bootloader:
https://c.mi.com/thread-1857937-1-1.html
Unlocking Bootloader: and Installing TWRP, OP post #1:
https://forum.xda-developers.com/mi-9t/how-to/guide-unlock-bootloader-flash-xiaomi-eu-t3952443
- for step 6, installing TWRP, use TWRP I'm giving you below
- instead of 7, execute this command:
>> fastboot oem reboot-recovery
- step 7, don't Format Data (unless you really go to install custom ROM, otherwise you don't need to)
- stop here for installing TWRP
Suggesting you to use this TWRP, 3.4.0.2 from OP post #1:
https://forum.xda-developers.com/mi-9t/how-to/recovery-unofficial-twrp-3-4-0-1-t4135159
- every time you boot to TWRP, you must type in your Android screen unlock pin, TWRP needs to be able to read/write to Data and Internal memory
Learn about using ADB and Fastboot:
https://www.makeuseof.com/tag/use-adb-fastboot-android/
- you can't do things with ADB that require root, but you can read
- similarly, fastboot commands mostly require unlocked Bootloader, but you can read
- google yourself
About installing Magisk, read in these threads:
https://forum.xda-developers.com/mi-9t/how-to/guide-easiest-to-root-twrp-t4000209
https://forum.xda-developers.com/mi-9t/how-to/root-k20-indian-rom-v10-3-6-0-twrp-t3958566
- if you have time, go through the whole threads, you will see variations
- don't worry if talking about MIUI 11, same applies for MIUI 12, you will just need to download your MIUI 12 recovery/zip firmware, will give you link below
- I'll give you below the link for the latest Magisk
MIUI firmwares, download, etc:
https://androidfilebox.com/tips/how-to-install-miui-recovery-rom/
https://androidfilebox.com/tips/how-to-install-miui-fastboot-rom/
https://xiaomiflashtool.com/tutorial/use-xiaomi-flash-tool
https://xiaomifirmwareupdater.com/miui/davinci/
https://codeexercise.com/xiaomi-all-android-mobile-secret-code-list/amp/
Various methods to extract stock Recovery, Boot, Persist and Persistbak partitions:
https://forum.xda-developers.com/mi-9t/how-to/root-k20-indian-rom-v10-3-6-0-twrp-t3958566
Magisk documentation and download:
https://github.com/topjohnwu/Magisk/blob/master/README.MD
- read the docs
- I would suggest you to use Canary (don't worry, Stable is far behind), hence you will only need to download Magisk Manager Canary (then follow XDA guides I gave you above)
zgfg said:
Unlocking Bootloader usually takes to wait 7 days=168 hours, hence you have enough time to read
Unlocking Bootloader:
https://c.mi.com/thread-1857937-1-1.html
Unlocking Bootloader: and Installing TWRP, OP post #1:
https://forum.xda-developers.com/mi-9t/how-to/guide-unlock-bootloader-flash-xiaomi-eu-t3952443
- for step 6, installing TWRP, use TWRP I'm giving you below
- instead of 7, execute this command:
>> fastboot oem reboot-recovery
- step 7, don't Format Data (unless you really go to install custom ROM, otherwise you don't need to)
- stop here for installing TWRP
Suggesting you to use this TWRP, 3.4.0.2 from OP post #1:
https://forum.xda-developers.com/mi-9t/how-to/recovery-unofficial-twrp-3-4-0-1-t4135159
- every time you boot to TWRP, you must type in your Android screen unlock pin, TWRP needs to be able to read/write to Data and Internal memory
Learn about using ADB and Fastboot:
https://www.makeuseof.com/tag/use-adb-fastboot-android/
- you can't do things with ADB that require root, but you can read
- similarly, fastboot commands mostly require unlocked Bootloader, but you can read
- google yourself
About installing Magisk, read in these threads:
https://forum.xda-developers.com/mi-9t/how-to/guide-easiest-to-root-twrp-t4000209
https://forum.xda-developers.com/mi-9t/how-to/root-k20-indian-rom-v10-3-6-0-twrp-t3958566
- if you have time, go through the whole threads, you will see variations
- don't worry if talking about MIUI 11, same applies for MIUI 12, you will just need to download your MIUI 12 recovery/zip firmware, will give you link below
- I'll give you below the link for the latest Magisk
MIUI firmwares, download, etc:
https://androidfilebox.com/tips/how-to-install-miui-recovery-rom/
https://androidfilebox.com/tips/how-to-install-miui-fastboot-rom/
https://xiaomiflashtool.com/tutorial/use-xiaomi-flash-tool
https://xiaomifirmwareupdater.com/miui/davinci/
https://codeexercise.com/xiaomi-all-android-mobile-secret-code-list/amp/
Various methods to extract stock Recovery, Boot, Persist and Persistbak partitions:
https://forum.xda-developers.com/mi-9t/how-to/root-k20-indian-rom-v10-3-6-0-twrp-t3958566
Magisk documentation and download:
https://github.com/topjohnwu/Magisk/blob/master/README.MD
- read the docs
- I would suggest you to use Canary (don't worry, Stable is far behind), hence you will only need to download Magisk Manager Canary (then follow XDA guides I gave you above)
Click to expand...
Click to collapse
bro I can`t really thank u enough for the effort
as I got it:
1- Unlock bootloader
2- Install TWRP (the version u provided)
3- Install Magisk (last link u provided) right?
Is there any step of those that is risky or unsafe that may brick the phone ?
PS: On mi unlock application it says all phone data will be erased !
what should I do ?
By unlocking Xiaomi phone you won't lose anything but previous user data stored in phone, unlike ASUS phone losts OTA permanentry.
So make a backup, also I recommend you first picking your secondaly phone, not your daily using one.
Tsunaimy said:
bro I can`t really thank u enough for the effort
as I got it:
1- Unlock bootloader
2- Install TWRP (the version u provided)
3- Install Magisk (last link u provided) right?
Is there any step of those that is risky or unsafe that may brick the phone ?
PS: On mi unlock application it says all phone data will be erased !
what should I do ?
Click to expand...
Click to collapse
As described, TWRP is optional, not needed for Magisk/root but it would be useful to have, so yes, install TWRP
Instructions for unlocking Bootloader say to do Backup. Copy photos and files from Internal memory to PC.
Export contacts to CVS file and also copy to PC.
Backup to Google your Google accounts, contacts, WhatsApp, etc.
Use Settings, Additional settings, Backup, and cooy to PC.
You can also use Settings, MIUI account to backup things
Installations of Magisk and TWRP will not erase data. Generally, they are not risky unless you make really stupid mistake like flashing TWRP img file to System partition instead of to Recovery partition and so - that's why you have instructions how to use Fastboot command to flash TWRP
It's more risky if you go to use e.g. MiFlash (you don't need for TWRP and Magisk), then people can screw up things and need authorized EDL support

[P8 lite 2017] [Magisk] How to install Magisk on Huawei P8 lite 2017 ?

Hi !
Here I am about to first answer the question for an old version of Magisk, and then ask for some help for the last version of Magisk.
​What's the problem with Magisk and the P8 lite 2017 ?​To install Magisk, we must install the apk (the app), and patch a kernel partition.
The problem is : in Emui 8 (the OS of the P8 lite), the kernel is fused with an other partition (a boot partition I think). Therefore, impossible to just patch the kernel and reinstall it, it doesn't work .
Thanks @AltairFR for the explanation !
How to fix this ?​Well I know it's possible to defuse, patch, refuse and then it should work, but I don't know the tools and that's what I am looking for actually
Already existing solution (Magisk 22)​@DarkJoker360 have shared everything needed to install Magisk 22. It works, just follow the ReadMe. Thanks to him !
DarkJoker360 Developments - Browse /Huawei/Generic/Magisk-phh-A11 at SourceForge.net
DarkJoker360' s development stuff.
sourceforge.net
Lastest version of Magisk (24)​That's where I require some help : I want to install the last version of Magisk, but I don't know how to do it so I'm trying to summon the wisdom of XDA <_<
Hykosit said:
That's where I require some help : I want to install the last version of Magisk, but I don't know how to do
Click to expand...
Click to collapse
Try this way out (EMUI 8):
1. You need stock ramdisk.img , you can extract it from service ROM (aka full stock ROM) using Huawei update extractor
2. Copy stock ramdisk.img to the SD card
3. Download and install magísk manager 24.1 apk, link
4. Using magisk manager patch the ramdisk.img
5. Install magisk-patched-ramdisk.img ( in TWRP or in fastboot mode)
It worked for me on P20 lite running EMUI 8.
@-Alf- I tried your advice, seems like it worked on emui 8 for me too (at least once every 2 attempts or so).
But when I try this on DotOS, the version provided by Altaïr, it doesn't work any more :/
The phone Isn't bricked but it has not effect
There is flashable magisk-24.1.zip, try it.

Categories

Resources