Magisk root suddenly disappears! - Xiaomi Redmi Note 4 Questions & Answers

Hello friends. Yesterday my redmi note 4x snapdragon (mido) showed a strange problem. I was using phone normally and then a notification popped out from magisk. It was about the updates available for both - magisk manager and magisk. I first updated the manager from the app itself by clicking on 'install'.
But after it finished installing the magisk manager, when it reopened it showed that magisk was not installed!
Then I check my root applications (greenify, mixplorer) and they also were not getting root access. Neither There was a prompt for granting root acess.
I checked my root status from the root checker app from playstore and it showed - 'root access available but not properly installed'
Please suggest me what should I do to update magisk or get magisk working back.
Other details-
Rom - aosp extended official 6.3 pie treble
Kernel - Franco kernel r20
Previous magisk installed- 18.00
New available magisk - 20.3
New magisk manger that I updated - 7.5.1
Everything was working fine on my device previously.
Please help me guys.
Thanks in advance.

Solved the issue!
AviralSri said:
Hello friends. Yesterday my redmi note 4x snapdragon (mido) showed a strange problem. I was using phone normally and then a notification popped out from magisk. It was about the updates available for both - magisk manager and magisk. I first updated the manager from the app itself by clicking on 'install'.
But after it finished installing the magisk manager, when it reopened it showed that magisk was not installed!
Then I check my root applications (greenify, mixplorer) and they also were not getting root access. Neither There was a prompt for granting root acess.
I checked my root status from the root checker app from playstore and it showed - 'root access available but not properly installed'
Please suggest me what should I do to update magisk or get magisk working back.
Other details-
Rom - aosp extended official 6.3 pie treble
Kernel - Franco kernel r20
Previous magisk installed- 18.00
New available magisk - 20.3
New magisk manger that I updated - 7.5.1
Everything was working fine on my device previously.
Please help me guys.
Thanks in advance.
Click to expand...
Click to collapse
So friends, i figured out the solution myself. And I am describing it here in case anyone faces such a problem.
First of all, i forgot to mention one strange thing - while i was updating the magisk manager to new 7.5.1 version from the manager itself, during its installation, i got 2 prompts from google play store which said that i should not install this app as it is not a trusted application. But i clicked on "Install Anyway" both the times and it installed.
After then, when i opened the updated maanger, it showed that magisk is not installed (the new manager app also took some time greator than usual, on its first launch). And then the root access went from everywhere on my device.
Then i thought of uninstalling the magisk from flashing the Magisk-uninstaller-zip-file and then installing the magisk-v-18.zip again, but after searching for some time about uninstalling the magisk, i came to know that there are greater chances of my device going into a bootloop.
For one last time, i tried this - uninstalled magisk manager 7.5.1. Then installed MagiskManger 7.4.0 again. And when i launched it, it showed me Magisk-v18 installed!. Also the app showed me that updates are available for both - manager and magisk. App also showed the superuser menu, Magisk Hide menu. I thought that the problem was solved. But quickly i found that still other root apps were not working. When i reopened the Magisk-Manger-7.4.0, it displayed a message - "A addition setup is needed for root to work". But i did not update from there. Instead i followed a safe path -
Solution - 1. Download official Magisk-20.3 and copy in your phone's internal storage.
2. Then copy the original unaltered boot.img of the rom you're using in your internal storage.
3. Boot into TWRP recovery. Go into "install", and select "install image". Then select your boot.img and swipe to flash.
(Here, i did not wipe anything before flashing. Just flashed the img file over)
4. Reboot to your system. Now your android be cleanly unrooted.
5. Again reboot to TWRP. Select "install", and select and flash the Magisk20.3.zip file and reboot to your system.
Voila!!! Here you go! Your system is now properly rooted with latest magisk!
Thanks!

Related

Magisk issues ... need help

Hi,
i have problems to get Magisk respectively Magisk Manager to work proberly.
Everytime i open Magisk Manager the changes notification appear and althought i disable supersu notification popup it appears everytime a app request root.
The settings i changed doesnt stick
I tried older Magisk and Manager version, reinstalled, cleared cache but nothing works.
This all was done on LOS14.1 and i also tried Omnirom 8.1 but there is exact same problem.
I trtied to get help with this in Magisk section (here, here,here) but it seems noone can help me with this.
This must be a Redmi Note 4 (mido) specific problem as with all my other devices there are no problems at all.
Hopefully someone have an idea whats the problem here.
der_Kief said:
Hi,
i have problems to get Magisk respectively Magisk Manager to work proberly.
Everytime i open Magisk Manager the changes notification appear and althought i disable supersu notification popup it appears everytime a app request root.
The settings i changed doesnt stick
I tried older Magisk and Manager version, reinstalled, cleared cache but nothing works.
This all was done on LOS14.1 and i also tried Omnirom 8.1 but there is exact same problem.
I trtied to get help with this in Magisk section (here, here,here) but it seems noone can help me with this.
This must be a Redmi Note 4 (mido) specific problem as with all my other devices there are no problems at all.
Hopefully someone have an idea whats the problem here.
Click to expand...
Click to collapse
I'm unable to understand what exactly do you mean?
Are you unable to use root? What rom do you use? Do you have super su previously installed, and did you flash magisk over it?
ok i will try to explain a little better
Magisk is working so far and apps are getting root.
But as far as i start Magisk Manager the "changes" notification appears every time (which should only displayed once after new install or update of Magisk Manager)
Also when i disable the supersu notification popup inside Magisk Manager it wont stick. Every time i open an app the popum informs that root is granted.
The only solution i have so far is to hide Magisk Manager with the option inside the Magisk Manager settings.
Its hard to describe and i hope its now understandable
Here posted some logs !
der_Kief said:
ok i will try to explain a little better
Magisk is working so far and apps are getting root.
But as far as i start Magisk Manager the "changes" notification appears every time (which should only displayed once after new install or update of Magisk Manager)
Also when i disable the supersu notification popup inside Magisk Manager it wont stick. Every time i open an app the popum informs that root is granted.
The only solution i have so far is to hide Magisk Manager with the option inside the Magisk Manager settings.
Its hard to describe and i hope its now understandable
Here posted some logs !
Click to expand...
Click to collapse
I see now. What magisk version u using? I'm on v16.0 and it works fine, even the changed settings work well
MyNameIsRage said:
I see now. What magisk version u using? I'm on v16.0 and it works fine, even the changed settings work well
Click to expand...
Click to collapse
Magisk v16 and Manager v5.6.1
But i tried older verions of Magisk and Manager but it doesnt help at all.
Also i reinstalled ROMs (LOS and Omni) tried different recoveries..... no go.
I have no idea ... on my other devices no problem at all.
I hope someone see an error in the logs.
The following lines doenst look as they should
W/SharedPreferencesImpl( 9451): java.io.FileNotFoundException: /data/user/0/com.topjohnwu.magisk/shared_prefs/com.topjohnwu.magisk_preferences.xml (Permission denied)
W/pool-1-thread-1( 9525): type=1400 audit(0.0:146): avc: denied { rename } for name="com.topjohnwu.magisk_preferences.xml" dev="mmcblk0p49" ino=1664194 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:app_data_file:s0 tclass=file permissive=0
These lines doesnt appear in the logs of my working devices but I compared the permission of that folder with one of my working devices but it looks OK.
Dude are you using Dual boot? Then this is expected
no i dont use Dual boot.
But maybe i did something wrong at Installation ?
Unlock Bootloader -> flash Recovery -> format Data and wipe -> flash ROM, GApps and Magisk
der_Kief said:
no i dont use Dual boot.
But maybe i did something wrong at Installation ?
Unlock Bootloader -> flash Recovery -> format Data and wipe -> flash ROM, GApps and Magisk
Click to expand...
Click to collapse
Your flash queue is right, but possibly you should try flashing magisk after one boot. (Just flash rom and gapps, reboot , set up device, and then boot to recovery and flash magisk)
then the Redmi Note 4 must be something special
With my other devices i made it exactly the same and there are no problems at all.
Maybe next time i flash new/update ROM i will try it ....

Rooting rr remix rom 6.0

Hey there.........
I have upgraded from my previous rr-remix N version to latest rr-remix O (8.1) version. Unfortunately there is no root access for anything so i flashed a superuser.zip and i found the system app remover in the configuration settings. There i tried to find and uninstall magisk manager but cannot find it. So i headed to developer option and found out that root access is allowed for apps and adp also. So i selected the root access for app and adp. After that i tried to install latest versions of SuperSu and Magisk but Magisk's version was unable to install. Indeed SuperSu got installed. Suprisingly root checker says the root access is not installed properly and the system app remover setting is also gone.
I am tired of flashing an deflasing those files. I just wanted to root my device thats all.
Device information,
Recovery used - Red Wolf (latest version, perhaps 3.1.1)
Magisk version - 16.00 and 16.3 too
Super Su version- 2.82
Rom Version - 6.0 (edited 14/05/18)
Phone used - Redmi Note 4 (mido)
Thank u .....in advance..??

The root permission request is no longer displayed [Magisk]

I have the root with Magisk in Android 8.0. At first, the warning always came out asking if you wanted to grant root rights to the application that you just opened. However, this warning is no longer displayed, even though the configuration of Magisk Manager is configured in this way.
In the Magus Superuser section, I do not see any trace of the applications that I can not 'root'.
I have updated Magisk Manager, but the error continues. I also removed BusyBox, but the error continues.
I can not give root permission to any other application. But the mobile is rooted, since the first applications that I installed that require root continue to function normally. I can even deactivate the root and then activate it again.
Reinstalling the applications is not solved. With Dalvik and Caché wipe either.
That could be happening? How is it solved?
____
Magisk Manager has all the permissions of everything (memory, background, manual battery mode). I have tried to reinstall Magisk Manager and nothing.
Deactivating BusyBox (Magisk module) and Xposed and restarting still does not work.
Returning to install the Magisk image by TWRP or Fastboot is not fixed either.
I have removed all the fret that I had done to the phone (BusyBox, Xposed, root Magisk and boot modified for the root) and the problem has not been solved. I do not know what may be happening. I do not have other rare applications.
I have installed Device Control and the TWRP application. I have not gotten the root request to skip (although it has activated that option in Magisk Manager).
Definitely, it is not the fault of the new applications, which was the first question I wanted to solve.
Magisk version:
19.3 (19300)
And from Manager 7.2.0 (213), although I have also tried 7.3.2 (224).
The root is done with patching (via Magisk) of RAMDISK.IMG.
I understand that some applications are not compatible with systemless. But I'm not going any of the new ones that I'm trying. Interestingly, other applications compatible with Magisk (except those that installed the first days of the mobile) do not work either.
I have installed Magisk Manager 7.0.0 (and also 6.1.0), but the bug is still there. It seems that it does not depend on the APK.
As my Magisk file to root consists of a patch of RAMDISK.IMG created directly from Magisk Manager I do not know how to create one based on a lower version (for example, version 18.1). It only gives me the option to patch with the latest Magisk Manager version (if I have a lower one, it asks me to update the APK).
Whenever I generate the IMG of my patched RAMDISK.img it is based on 19.3.
How could I generate a patched IMG based on a lower version?
I have microG, not the GApps. Could that influence? Does Magisk need them?

Need help with protecting contacts and WiFi from apps

Hi.
I have Xiaomi Redmi 4X and I want to control which contacts what app can access and hide/fake WiFi SSID/name.
I have found that XPrivacy can do that. ( android.stackexchange.com/questions/61318/is-there-a-contact-book-that-allows-partial-access-for-apps )
So now I got unlocked bootloader, TWRP, LineageOS (with google apps and root)
- Then I found that XPrivacy replaced by XPrivacyLua
-- To install XPrivacyLua I need Xposed framework which is replaced by EdXposed
--- To intsall EdXposed ( github.com/ElderDrivers/EdXposed ) I need Magisk v19.0+ (INSTALLED!)
Then it says on page (for latest EdXposed or Huawei devices, use our custom Magisk: Change Magisk update channel to this)
This is when everything went wrong. I have changed repo link and installed Magistik 20.3 using TWRP.
But after reboot Magistik Manager said last version is 20.1 (I assume repo was not updated when I installed 20.3)
So I attempt to install 20.1 using TWRP and there is no errors. But Magistik Manager keep saying that Magistik is not installed.
Also it says that Magistik Manager installed version is 7.5.1 but latest is 7.5.0 and when I try to install it android asks if I want to update it, I press install and after some loading it shows gray triangle with exclamation mark in it and says that app is not installed.
On which step I messed up or is there better way to choose which contacts which app can read and fake WiFi name/SSID?
Switched "Change Magisk update channel to this" back to default and successfully installed XPrivacyLua.
Problem solved.
Not sure how to add [SOLVED] to thread title.

redmi note 9 pro rooted but then updated automatically to MIUI 12 and magisk seems to be broken

hello,
sorry I don't think I have indian model since I have a french model sold by Orange. I had the original JOYEUSE ROM and I successfully root it without uploading a new ROM.
Then I had the MIUI12 update that was proposed by the phone and I accept it.
Then I discover recently that I don't have anymore magisk manager and I can't have root access using titanium backup and so on.
magisk app is still installed but in option there is no more magisk hide and stuff like that. there are onl a few option. I update it to 23 version but nothing change.
I still have original magisk manager V8.0.7.apk on my sdcard and I tryied to install it again but the installation failed.
what happen ? do I still have the root access but I can install magisk manager ?
I don't understand at all.
maybe I hide magisk manager and I am no more able to "display" it again ?
for our information, in magisk, I have :
installed : not available
ramdisk : yes
A/B : no
SAR : yes
i don't even know then if magisk is really installed or not. Or if I need to install magisk manager.apk
I read that since 22.0 version magisk and magisk manager are merged :
New v22.0 update merges Magisk and Magisk Manager app
Samsung's Galaxy S21 series is now supported too
www.androidpolice.com
and in this article it is said :
"If you're an existing user and have hidden the Magisk Manager app, make sure to reinstate it before upgrading."
I think this is my mistake, magisk manager was hidden and I update magisk...
how to correct this ?

Categories

Resources