Magisk Manager Second Installation on Boot - Magisk

I'm currently using Huawei's EMUI 8.1 on a P20 and trying to hide Magisk Manager by using the random renaming feature. It all works perfectly until I restart the phone. After restarting, it will produce a second Magisk Manager as I believe it can't find the original installation name and hence loads a placeholder version. I can confirm this happens if I completely uninstall the apk, reboot and Magisk Manager is still in the app drawer.
Is there a bug whereby after changing the package name, it's not remembering what the renamed package is called?

bump

Did you find any solution for this? I am having the same issue for the same phone

Related

Can I prevent Magisk Manager From Upgrading? 5.5.5 issue.

I'm running Magisk 15.3 on latest Nitrogen OS 8.1, Oneplus 3T.
Magisk Manager 5.5.4 was working perfectly. But in 5.5.5, it appears not to save my SU choices at all and is asking me for every time when a app needs root permission.
And since it is auto- downloading and upgrading without asking, it seems that if in the first time I didn't cut my internet in-time and let Magisk Manager download the upgrade file to nowhere I could find, it'll try to upgrade to 5.5.5 for everytime it runs, no matter how I uninstall and re-install in TWRP except do a full-wipe.
My system language was ZH-CN and when I change it to EN-US, everything works well.
Change back and the issue occurs again.
Can you fix this?

Magisk installs itself after reboot

Hi, i have installed the magisk manager app with a different package name using the option in settings. I have now the app called "manager" that is working fine, root and all the good stuff. Problem is after each reboot of the phone the officlal magisk manager app is installed alongside the one hidden, with no prompt, i just find it there. Is there an option to avoid it?
Reboot magisk manager bug
It happens with me also , found any solution ?
No solutions? I'm having the same issue.

[HELP] Hide Magisk Manager (Repackage) upgrades the version over the internet

I have my Samsung A30 (SM-A305F) rooted with magisk canery (87de0e7a) by flashing patched boot img via odin. Now, If i try to hide magisk with random package , it demands internet connection and install the latest version (9348c5ba). BUT i don't want to upgrade as the updated version has weird bug of rejecting SU automatically (with a very brief pop-up). I then need to ---> uninstall the repackaged app ---> Reboot ---> install 87de0e7a version ---> then it become functional again. I don't have TWRP installed. Re-flashing new patched boot requires wiping data. i don't want to do factory reset
Now I want to hide magisk as PUBG MOBILE might be crashing due to root detection. Please help me achieve solution:
(1) hide magisk manager without updating
(2) update magisk manager without that BUG of rejecting SU automatically
1 - Hide the Manager and let it update fully, no way around that. Then replace /data/user_de/0/com.H3.nuhw6UY.GoCgl/dyn/current.apk with the apk of whatever Manager version it is you want to use (and don't forget to set the same permissions and owner).
Edit: replace the package name above with the one your Manager uses.
2 - Seems to be a similar issue reported here: https://github.com/topjohnwu/Magisk/issues/2944
If there's anything to be done about it, it will be eventually.
If you can get some proper logs showing the su rejection and add to the above linked issue that would be great.
Note: i previously managed to hide it successfully when there was no newer version. It would just download the same version from the internet and repackage itself with random package name. But some days ago, i restored original manager and now i can't get it to hide.
Didgeridoohan said:
1 - Hide the Manager and let it update fully, no way around that. Then replace /data/user_de/0/com.H3.nuhw6UY.GoCgl/dyn/current.apk with the apk of whatever Manager version it is you want to use (and don't forget to set the same permissions).
2 - Seems to be a similar issue reported here: https://github.com/topjohnwu/Magisk/issues/2944
If there's anything to be done about it, it will be eventually.
If you can get some proper logs showing the su rejection and add to the above linked issue that would be great.
Click to expand...
Click to collapse
Thanks for replying. I followed our steps (com.mkhirsnpiw.z.kkt was used instead of com.H3.nuhw6UY.GoCgl). But it again says the same thing, "Upgrade to full magisk to finish the setup. Download and install?". Clicking ok upgrades it again
Shihabus Sakib Rad said:
Thanks for replying. I followed our steps (com.mkhirsnpiw.z.kkt was used instead of com.H3.nuhw6UY.GoCgl). But it again says the same thing, "Upgrade to full magisk to finish the setup. Download and install?". Clicking ok upgrades it again
Click to expand...
Click to collapse
Did you place the new current.apk file in the same directory and give it the proper permissions (same owner and permission 600)? I just tested and had no issues downgrading the hidden Manager to 285 this way.
Didgeridoohan said:
Did you place the new current.apk file in the same directory and give it the proper permissions (same owner and permission 600)? I just tested and had no issues downgrading the hidden Manager to 285 this way.
Click to expand...
Click to collapse
yes with MiXplorer.
When Manager updated itself , i tried to update the magisk ( not the manager). But it bricked my phone as it won't start. i had to flash stock firmware via odin. It happened what i feared about. Now, i will try to patch boot img with new version.
UPDATE: I patched and flashed boot img using canary 290. after rebooting , this time there was not that Bug of rejecting SU automatically. Root was functional. But when it asked to do additional setups, it was stuck on setup operation forever and when i tried to hide manager, it showed "hiding magisk manager failed". so i uninstalled canary 290 and installed 7.5.1 (267) . This time additional setup was completed and rebooted automatically. But there was some problem with su access. so i uninstalled 7.5.1 (267) and installed canary 290. Root is now functional and it does not ask for additional setup anymore. (meaning setup was complete?). But still shows "hiding magisk manager failed" when try to hide manager. I don't know what is the problem . I was using canary 284 without any problem. PUBG mobile was runnig without problem. Now I am tired......
About hiding the Manager failing:
https://www.didgeridoohan.com/magisk/Magisk#hn_Cant_hide_the_Magisk_Manager
Didgeridoohan said:
About hiding the Manager failing:
https://www.didgeridoohan.com/magisk/Magisk#hn_Cant_hide_the_Magisk_Manager
Click to expand...
Click to collapse
Disabling Play Protect Worked !!!! Thank you Sir :angel:

OnePlus7T / Magisk crashing when opened / Replace Canary to stable

I am having OnePlus7T which does not have TWRP. Magisk was installed through patched boot image while rooting many months back. At that time Canary version was recommended and I had installed that.
I have updated the ROM, Magisk Manager and Magisk in these months via OTA.
Everything works except this app, https://play.google.com/store/apps/details?id=in.org.npci.upiapp&hl=en. It detects even though hidden with MagisK Hide. Magisk package manager is also hidden but this app does not work. It opens, registers the user but later detects root.
Since last few days Magisk is crashing when opened for no apparent reason. Restarting the phone didn't make any difference. If I long click on the app and select Magisk Hids or Supeuser or Modules it opens but when I try to go to main Manager screen it crashes. How to resolve this? Phone is still working as intended and I have root access for apps not hidden in Magisk Hide.
How do I update Manager from Canary to Stable? Can I just download a stable Manager apk and install it on top of the Canary? Which version should be used? Will Magisk also need to be installed again? Will I lose root?
Can anyone explain the steps in detail as I am bit confused.
My Magisk also crash like this

Confused with Magisk v22.1

Hi. I recently updated my Moto G5s Plus(Sanders) from Android 10 to Android 11(PixelExperience). I used Magisk v21 while installation and everything worked fine. Then I installed the the v22 update through the app. However after downloading and opening the new Magisk, it shows that Magisk isn't installed and that there are updates for both Magisk and Magisk manager. Upon clicking install for manager, nothing happens, no downloading or anything. But on clicking for Magisk, it shows a select and patch method, which I don't know what to do with .
Attaching screenshot below.
Did you by any chance have the Magisk app repackaged with a random name before updating? When moving to v22+ from older releases you need to do that with the app unhidden.
If you did have the app hidden before updating you might now have two apps installed, but you should be able to fix that by uninstalling both and installing the v22.1 apk again manually.
Didgeridoohan said:
Did you by any chance have the Magisk app repackaged with a random name before updating? When moving to v22+ from older releases you need to do that with the app unhidden.
If you did have the app hidden before updating you might now have two apps installed, but you should be able to fix that by uninstalling both and installing the v22.1 apk again manually.
Click to expand...
Click to collapse
Oh my, I actually did have it hidden. I just noticed the dual apps( I think I didn't notice it before because the second one had the default android logo icon) l. Much thanks for the help

Categories

Resources