Hovatek Forum DEVELOPMENT Android [Tutorial] How to fix magisk manager not showing / granting super user prompts
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


[Tutorial] How to fix magisk manager not showing / granting super user prompts

[Tutorial] How to fix magisk manager not showing / granting super user prompts

X3non
X3non
X3non
Recognized Contributor
22,062
28-02-2019, 02:35 AM
#1



So I decided to update magisk and it's manager on my phone and suddenly i was unable to get root because magisk manager won't show the super user prompts anymore. This guide will show how to fix magisk manager not showing the super user prompts when apps request for root privilege.

UPDATE


At the time of writing this post, magisk v18.1 was the cause of the issue. An easier fix has emerged, change magisk update channel from within magisk settings from stable to BETA, then refresh magisk manager. It should display V19 avaiable, simply patch boot using this new V19 magisk


Requirements


Steps on how to fix magisk manager not showing the super user prompts or granting apps super user privileges


Follow the steps below to fix magisk manager not showing the super user prompts or granting super user privileges

  1. Launch DB browser tool

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-1.jpg]

  2. Click File > Open Database...

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-2.jpg]

  3. In the window that opens next, navigate to and select the magisk.db file then click Open

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-3.jpg]

  4. DB browser will load the contents of the file, click 'Browse Data'

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-4.jpg]

  5. In the drop down bar besides table, select policies

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-5.jpg]

  6. To edit an existing app policy, select or highlight the item > enter the new data in the textbox at the right hand side then click Apply

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-6.jpg]

  7. To add a new app to the list, click 'New Record'

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-7.jpg]

  8. A new row will be added with values set as Null

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-8.jpg]

  9. Simply edit the values of each item as follows
    UID = UserID of the application on your phone
    package_name = packname of the application
    Policy = 1 for auto reject root and 2 for auto grant / allow root  
    Until = 0  
    Logging = 1  
    Notification = 1

    [Image: how-to-fix-magisk-manager-not-showing-th...mpts-9.jpg]

  10. When you're done and satisfied adding new applications to the list, click File > Write Changes

    [Image: how-to-fix-magisk-manager-not-showing-th...pts-10.jpg]

  11. Exit DB browser tool and copy magisk.db into your phone's storage
  12. Boot into TWRP recovery and select the following >
    • Advanced >
    • File manager >
    • Navigate to and select the magisk.db file >
    • Copy file >
    • Navigate to root\data\adb\ >
    • Paste the copied file into adb folder >
    • Swipe the slide bar to confirm >
    • You should get the message if all goes well, you can now reboot your phone back to home screen
  13. Check Magisk manager > superuser to confirm the changes (here you'll find all the apps that you added with root permissions set)


Important Notice
  • If you have Philz or CWM as your recovery, you can use Aroma File manager @ https://forum.xda-developers.com/showpos...ostcount=2
  • The folder location of magisk.db within the android file system might change as time goes on. You can always look through another magisk rooted phone without this problem to get the new location
  • I'll advice that you add any root file explorer to the list at the first chance you get. So subsequently, you won't need to use custom recovery to replace the file. You could easily replace the magisk.db file using the root file manager after reboot afterwards to enable magisk manager pick up the new changes
  • If you want to delete all items from a table, leave at least one item on the list. Deleting all items from a table breaks the DB file and magisk manager will crash each time you try to open the superuser tab 
This post was last modified: 05-10-2019, 02:17 AM by X3non.
Inevitable
Inevitable
Inevitable
Junior Member
18
16-07-2019, 11:09 AM
#2
Thanks for the steps. But please upload the .db file you edited.. So we can just boot into recovery, replace and reboot. Thanks
X3non
X3non
X3non
Recognized Contributor
22,062
16-07-2019, 03:34 PM
#3
(16-07-2019, 11:09 AM)Inevitable Thanks for the steps. But please upload the .db file you edited.. So we can just boot into recovery, replace and reboot. Thanks

the .db file is the second item in the requirements lists
also check an try the fix under UPDATE as that's much easier than manually adding apps to approval list if it works
Inevitable
Inevitable
Inevitable
Junior Member
18
23-07-2019, 09:36 AM
#4
(16-07-2019, 11:09 AM)Inevitable Thanks for the steps. But please upload the .db file you edited.. So we can just boot into recovery, replace and reboot. Thanks


Thanks so much I finally got it working via the .db method.
gsmtuhin
gsmtuhin
gsmtuhin
Newbie
1
30-07-2022, 07:22 PM
#5



Thak you so much for this tutorial
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram