The root permission request is no longer displayed [Magisk] - Huawei Mate 10 Questions & Answers

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?

Related

How to run Tez App on rooted devices?

Google has recently launched the Tez app for India, which supports payments from banks using UPI.
I tried installing it on my OnePlus X, rooted with xposed framework, Oxygen OS. It gives the message -
Tez can't be used on this device.
Click to expand...
Click to collapse
We've detected software running on your device that may not be secure.
Click to expand...
Click to collapse
I tried searching for solutions which generally end up with - Unroot your phone.
I tried RootCloak, doesn't help.
I don't want to unroot my phone, but I want to install this app.. it's getting quite popular among my friends.
So is there any other way to truly hide my root status for installing this app?
Root ur phone using magiskSU and hide root to tez by magisk hide.
Your device have to pass the safety net check for TEZ to work ,install safety net checker from playstore and test
On OOS it should work with Magisk SuHide option activated.
Remove Xposed forever. And would be better never ever use your rooted device for banking activity.
Unrooting or removing Xposed framework does not gives excuse to run Tez app. I have experienced. As your phone has the custom ROM, you cannot use Tez on your device. You have to completely install vendor's Official firmware on your device
i have no issue with magsik
On my OPO running COS 13.1.2, this is how I got it to work:
• Install Tez from PlayStore
•Disable the Xposed module within the Magisk Manager
•Goto Magisk Hide in Magisk Manager and select Tez to hide
•Disable the Xposed framework within the Xposed app
•Reboot phone
•Open Tez
I have found that once I successfully opened Tez and linked my profile and Bank Account, I could re-enable Xposed and still use Tez after rebooting
If the above process doesn't work for you, unroot your phone, and root it again with Magisk Manager, instead of flashing Chainfire's SuperSu
Follow simple steps -
1. Just uninstall xposed framework (No need to remove exposed installer)
2. Register tez / BHIM (dismiss root notifications)
3. Reinstall / update xposed framework.
I was facing issues during registration process only and im not using any third party app to hide root.
Now both are working fine.
Run Tez or any other secured apps on rooted device:-
I had the same problem with my rooted phone and magisk didn't do their part or we can say unsuccessful.
So I tried this and it works...?
Caution:- Follow step-by-step.
1. First download these three apps(in external card):- (Download all in recovery bootable zip )
1(a). SuperSu v2.82 RS3 (Recovery Flashable) :-
1(b). SuHide v1.09 Lite (Recovery Flashable) :-
1(c). SuperSu Config Aroma File v1.00 (Recovery Flashable) :-
2.Now root your device in TWRP mode
2(a). Select supersu config file and install it in "systemless SBIN mode" (modes showed when you start installation) and then leave all the other options default.
2(b). Install SuperSu into twrp boot mode.
2(c). Reboot once into android (or main screen) then again reboot it in recovery mode.
2(d). Install SuHide into twrp boot mode.
3. Reboot your device normally.
4. Open SuHide find the app which you want to use in rooted device and press right button (front of that app) till it changes to slash(/?️) eye or pirated eye.
5. Now use that app.
Note:- Succesfully Tested on MOTO G4 PLUS with given versions (if lastest version does not work use this versions only).
Kindly Check This Thread https://forum.xda-developers.com/apps/magisk/module-tez-hider-t3796567

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 ....

Magisk root suddenly disappears!

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!

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.

Hide Root, Magisk, LSPosed and pass safetynet on any rom on Redmi K20 Pro

--->This is a working method as of May 2023 to have root on any rom version for redmi k20pro.
--->This will help you root and keep root hidden along with using lsposed modules.
--->These steps work on any device and any rom
You can find extra guides for the steps you dont understand by searching on xda forums. Some of these guides are linked to at the bottom of this post
Your bootloader needs to be unlocked to follow this guide. See link at bottom for guides to do the same.
****************************
I am not responsible for any data loss or damage. Follow at your own Risk
****************************​
1. Install twrp or orangefox recovery on your phone.
2. Flash Magisk 25.2 (Version 26 has many issues. This version is better to use)
3. Reboot, install magisk apk(rename magisk.zip file to magisk.apk and install)
4. In magisk modules, install shamiko
5. In magisk modules, install safetynet 2.4.0
6. Add any app you want to hide root from in denylist of magisk. Additionally add Google play Services, Google play store, google services framework and google play protect to denylist(enable show system apps option in menu available on top right of denylist)
(IMP: Do not enable enforce denylist, Shamiko does this function)
7. If you have already logged into google play store and it shows device not certified in about section of play store -remove google account from phone and clear data of play store, play services, google services framework. Reboot amd try again. It will show certified status after about 10 minutes of logging in
8. Some custom roms may have device fingerprints which will get detected as custom rom. If that happens, use hide user debug and lineage props magisk module. Note: This version from github can only be flashed in Androidacy Fox Module Manager due to issue in zip packaging. Download this file which is just a properly repackaged version that can be flashed in any magisk manager.
Next install Reset Sensitive props magisk module. A combination of simply installing these modules will fix custom rom detection on any custom rom.(Example on opening whatsapp or GPay for first time)
Additional step(not necessary): Your rom may have additional build.prop entries that indicate a custom rom. Look for such build properties by opening build.prop in root browser on your device, then change any that have a custom rom name in them using magiskhideprops(Refer instructions to use magiskhideprops in the link)
9. Now, hide the magisk app in magisk app settings(set name to something like setting or app)
10. Freeze magisk manager app using link2sd/swift backup/ airfrozen or any other similar app. You can enable app when you need to install or disable modules or grant superuser access to new apps. You can also use Androidacy Fox MMM manager to find, install and remove magisk modules
_____________________________________________________________________________
Done, you can stop at this stage if you dont need lsposed.
Be warned that youw ill need to re-add any app you uninstall and reinstall in denylist.
If you want to use lsposed, continue with below steps after skipping step 10.
_____________________________________________________________________________​
11. Install lsposed module 1.8.6 zygisk version
12. Install hide my appslist. Follow instructions in this link to learn how to correctly configure and hide magisk manager, lsposed and any other root apps you have.
You will need dataisolation enable magisk module if using android 10 and below for hidemyapplist to fully work.
13. Install Ruru and 'Play Integirty API Checker'.
Run Ruru and watch it pass all tests.(almost no banking app uses the level of detection used by ruru) Use play integrity api checker to check safetynet status - should pass basic integrity and cts profile.
Momo shows some messages like abnormal environement and TEE but that is ok.
Remember that you should enable denylist and Hide my applist for Ruru/Momo similar to how you enable for banking apps to hide.
Your root access is perfectly hidden now.
_____________________________________________________________________________
If you want to hide Developer Options​_____________________________________________________________________________
You have a few options for this.
1. I personally turn usb debugging off in settings and use WADB app to enable wireless adb. I am using this on android 11 as other options dont fully hide or trigger xposed hook detection(which does not cause issues with the banking apps I have tested so far)This is not detected by any apps.
2. If on android 10 or lower, you can use hide user debug magisk module by huskydg which you can get from this telegram channel. I dont know if it can be linked here .
This effectively hides user debug without trigerring any root/xposed detection. Ruru may show 1 entry for usb debugging enabled but that is fine. If it doesnt work, it will show 2-3 detected entries for debugging mode.
I have uploaded the file here but dont know if it will last
3. If above options dont work,use devoptshide app, enable it in lsposed for apps you want to hide user debug from.This method will trigger xposed hook detection in Ruru but none of the banking apps i tested so far have an issue with that. Ruru may show 1 entry for usb debugging enabled but that is fine. If it doesnt work, it will show 2-3 detected entries for debugging mode.
4. I have not personally tested this but this module is an updated version of hide userdebug module by huskydg and it might help hide usb debugging on android 11 and up.You will have to try it yourself for now.I expect it to work.
GitHub - Magisk-Modules-Alt-Repo/ezme-nodebug: Change some props and "remove" LineageOS ones.
Change some props and "remove" LineageOS ones. Contribute to Magisk-Modules-Alt-Repo/ezme-nodebug development by creating an account on GitHub.
github.com
_____________________________________________________________________________
If an app detects root accidentally and refuses to run on your device again even if root is not detected again/ Spoof device ID for apps​_____________________________________________________________________________
1. Now you need to use android faker lsposed module to randomize imei, max adress, android device id,hardware id.
Enable android faker in lsposed only for the app you want to change id for. Dont enable it for android system or android framework(Goal is to change id for a single app).Before doing these steps you need to clear data of play store, play services and google services framework, remove your google account from device settings and reboot. This will reset your gsf id.
This will give xposed hook detection in butbank apps dont seem to look for it.
2. If the above method does not work, use Xprivacylua. Enable for the app you want to change id, only use setting for device identifiers,use tracking, telephony data, analytics, get applications. Xprivacylua is not properly hidden even by Hide My Applist but apps dont look for it.So use this if above options does not work.
_____________________________________________________________________________
If you need to disable Widevine L1 DRM protection to use scrcpy screen mirroring etc
_____________________________________________________________________________​
Install the liboemcryptodisabler module in magisk.Do note that widevine will drop to L3 but uninstallation brings it back to L1.
NOTE: Drm content cannot be mirrored on scrcpy if you are using android 12 or 13. Use roms with android version upto 11 if you need to watch drm protected content through scrcpy.(at your own risk. I do not advise illegal activity.)
Spoiler: liboemcryptodisabler
Magisk Modules Repository By Androidacy - Androidacy
This is the Androidacy Magisk Modules Repository, where you can search, browse, and download your favorite Magisk modules right now.
www.androidacy.com
Enjoy your properly hidden rooted device with all functionalities.
___________________________________________________________________________________________________________________________________
___________________________________________________________________________________________________________________________________
I have added a few useful posts by other members if you dont know how to do any of the above mentioned steps. Any others steps can be learned with guides from XDA -Use search
1. Simple guide to flashing on K20 Pro
His advice on not using orangefox for custom roms other than stock miui/ xiaomi.eu roms may be right, I have not tried it. Orangefox personally works best for me.
2. Guide to flashing custom roms, changing between miui and custom roms
3. Bootloader unlock, twrp, root instructions and rom links
4. Common issues with Redmi K20 Pro | fingerprint unlock | ghost touch | Dim display | sensor issues | bluetooth and calling
Confirmed working in May 2023.
Guide will be eventually updated with Magisk Delta which is better for root hiding
I am amazed how smoothly my update went from old magisk version that started having issues. I followed first part of this tutorial (without lsposed), I downloaded newest versions of everything (magisk 26.1 - had to directly install magisk in magisk too, Shamiko-v0.7.1-166-release, rest same as in tutorial) and it just worked. No more problems with old magisk. Deny list is working flawlessly!, safetynet is passing, Google Play Store says that device is certified. Thank you so much for this tutorial!
czacha994 said:
I am amazed how smoothly my update went from old magisk version that started having issues. I followed first part of this tutorial (without lsposed), I downloaded newest versions of everything (magisk 26.1 - had to directly install magisk in magisk too, Shamiko-v0.7.1-166-release, rest same as in tutorial) and it just worked. No more problems with old magisk. Deny list is working flawlessly!, safetynet is passing, Google Play Store says that device is certified. Thank you so much for this tutorial!
Click to expand...
Click to collapse
As of right now, magisk 25.2 works much better than magisk 26.1. You can continue to use it if you dont face any issues.
I believe I followed all the steps correctly including downgrading to magisk 25.2, the only step that I might not have followed correctly would be using hidemyapplist, but I'm getting CTS profile mismatch in microG safetynet attestation test. I have an LE2115 with lineageos 20 (specifically lineage-20.0-20230514-nightly-lemonade-signed.zip). I do get the "orange state" warning when I turn on my phone, I could make that go away by flashing an older version something (I forgot what but I've done it before) in TWRP but I wanted to avoid that since the only APPARENT effect is the orange state warning and I don't know if it will break later in LOS as they keep updating. I'd appreciate any help you could give me to fix this.
EDIT: just used magiskhidepropsconf and edit fingerprint and set it to htc exodus and now I pass all tests.

Categories

Resources