Magisk Manager not recognized - Magisk

Hey everyone,
I've got a P9 Lite using a custom rom and when attempting to hide Magisk there's always an error parsing the package. After googling about it found an user saying to grab the patched.apk from "/data/user/0/com.topjohnwu.magisk/files" and install it manually. Perfect! Works then The problem is Magisk itself won't detect the manager afterwards when a new app wants to request the superuser access for the first time. So for apps that need the initial SU request i'll have to install the original manager, grant root access and then uninstall (so i can keep any root traces hidden). Is there any file or so to let magisk know the manager is now X package name or so? Attempted the canary version and the same would happen. This is not really a top priority issue but would be good not to have to bother myself with always having to grab the original magisk manager with the default package name just to grant a new app SU and delete it.
Thanks!

When you're installing the patched apk manually, the new package name doesn't get saved to the Magisk db, meaning Magisk has no idea that the app is supposed to be trusted and won't let it have access. You could manually edit the db, I guess, but that seems a bit cumbersome and better to address the actual issue...
This does sound like an issue that was present in the Manager a few releases ago. What version of the Manager are you using? If you're not on the latest, update and that should be it.

Unfortunately this still happens on the latest

I Had same Problem but i fixed it
do as i say:
1-use magisk manager 5.7 version file of this link: (drive.google.com/drive/folders/1I1WQIhovrA2JijSeK-HLetRv33rEDwYq?usp=sharing)
2-after downloading disconnect internet (or app will update and you should start over)
3-open up the app and go to setting and hide magisk manager (wait until it start to install the hide version)
4-download and install "apk editor" APP and open it
5-select "select apk from app" and select magisk manager and select common edit and copy PACKAGE NAME
6-now connect to the internet and download the latest version of magisk (DO NOT INSTALL IT)
7-open up "apk editor" , this time use "Select an APK file" option an select downloaded apk file , and select common edit
8-paste the package name that you copy in 5 in the package name , uncheck "Rename the package in resourse.arsc" and "Rename the package in DEX files..."
9-in app name use what ever you want , but it should not be magisk manager
10-done , install it

Related

[Q] Xposed installer does not install

Hi, i have a Moto G and I did the OS upgrade ... now it has kitkat 4.4.2
After the upgrade, the Xposed Installer did not work anymore ... it was uninstalled apparently. I said "apparently" because some modules work.
So, I tried to download and install the last version of Exposed Installer ... but without success. The installer starts and run ... after some moments it says "App not installed".
I uninstalled all modules and tried again, but the Exposed Installer always shows "App not installed".
Can anyone help me ?
i had this problem before, you need any file manager and navigate to Android/data/ then you have to find the xposed installer folder and delete it then reinstall the apk
JazzieBoi said:
i had this problem before, you need any file manager and navigate to Android/data/ then you have to find the xposed installer folder and delete it then reinstall the apk
Click to expand...
Click to collapse
Hi! Thanks for your reply. Anyway I did the factory reset. After this the installation worked without problems!
JazzieBoi said:
i had this problem before, you need any file manager and navigate to Android/data/ then you have to find the xposed installer folder and delete it then reinstall the apk
Click to expand...
Click to collapse
thank you so much for this !!
After upgrading to Marshmallow (Resurrection Remix) on S4 GT-I9500, the xposed apk file was not installing.
I had followed all instructions, proper .zip and .apk files, even clearing cache, etc. but nothing was working.
However, I found this solution on the net and it works!
xposed is active now.
``````````````````````````````
After trying to post the message, I realised that since I am new to the forum I am not allowed to post external links.
But google "xposed app not installed" without the quotes and you will see the solution on a website (may be 4th or 5th from top) called mrad4tech.blogspot
This is what it says (credit to original author):
(1) Root enabled ES file explorer required
(2) Copy the not working .apk to system/app (retain the .apk file in original location for step 6, if required)
(3) Reboot phone
(4) You will see the application in the app drawer
(5) Try opening the app (this worked for me so I did not have to go to next step)
(6) If it force closes then install the .apk (in original location) now normally and it will work
Rajeev2401 said:
After upgrading to Marshmallow (Resurrection Remix) on S4 GT-I9500, the xposed apk file was not installing.
I had followed all instructions, proper .zip and .apk files, even clearing cache, etc. but nothing was working.
However, I found this solution on the net and it works!
xposed is active now.
``````````````````````````````
After trying to post the message, I realised that since I am new to the forum I am not allowed to post external links.
But google "xposed app not installed" without the quotes and you will see the solution on a website (may be 4th or 5th from top) called mrad4tech.blogspot
This is what it says (credit to original author):
(1) Root enabled ES file explorer required
(2) Copy the not working .apk to system/app (retain the .apk file in original location for step 6, if required)
(3) Reboot phone
(4) You will see the application in the app drawer
(5) Try opening the app (this worked for me so I did not have to go to next step)
(6) If it force closes then install the .apk (in original location) now normally and it will work
Click to expand...
Click to collapse
thx man, you're the guy.. you rockkkk maannn....!!!!

[TUT] Restore SuperSU permissions and settings after re-installation?

While no one made a thread about this topic or even asked around and no app can backup its stuff, then I thought it will be better to post such a solution to what is apparently a missing feature/option of SuperSU app, I actually wrote a reply on SuperSU thread talking about it. Anyway, this thread is for users who ever wonder how to get around it and stop re-authenticate every app all over again and maybe they forget to give permission to a startup important tools (e.g. SElinuxModeChanger) so here we go.
NOTE: I only tried it for SuperSU v2.46, maybe it works for other versions, and it's important to do the process within the same version.
1- Go to SuperSU settings and uncheck "Re-authentication" (very important!).
2- Open up a file explorer that supports root permissions (e.g. ES File Explorer) and grant it the permissions (make sure you see a toast notification confirmed that, otherwise you can't continue).
3- Go to /data/data/eu.chainfire.supersu/shared_prefs folder.
*You see the file eu.chainfire.supersu_preferences.xml, it contains values of certain configuration or important info of SuperSU like any other app has the file end with "_preferences.xml", let's go back.
4- Take a copy of that file eu.chainfire.supersu_preferences.xml
5- Re-install SuperSU and make sure it's installed correctly with "su binary" to work properly.
6- Open up your file explorer and grant it root permissions.
7- Go to the same folder /data/data/eu.chainfire.supersu/shared_prefs and replace the new file with the one you kept.
8- Go to SuperSU app info screen in system settings and click on "Force stop".
9- Then open it, now you see the same list of apps (without their icons because they aren't installed yet, so once they are, they don't need to ask for root again) and have the same settings configuration.
That's it.
And I hope @chainfire add an option for all that just with one click.
Note for moderators: this is my first thread, I don't know where else to put it, so I apologize in advance.
Thanks @GoldOwner for this helpful tutorial, I also hope that @Chainfire can add option to backup/restore settings, or allow Titanium Backup to do it...
hey guys. . .i more help. . .could u guys sent or PM screen shot of supersu settings. . . ?
i think i have messedup with settings. . . . .
just the settings of super su. .. .things that should be checks and that shouldn't be checked stuff. . .
thanks guys
alazizie said:
While no one made a thread about this topic or even asked around and no app can backup its stuff, then I thought it will be better to post such a solution to what is apparently a missing feature/option of SuperSU app, I actually wrote a reply on SuperSU thread talking about it. Anyway, this thread is for users who ever wonder how to get around it and stop re-authenticate every app all over again and maybe they forget to give permission to a startup important tools (e.g. SElinuxModeChanger) so here we go.
NOTE: I only tried it for SuperSU v2.46, maybe it works for other versions, and it's important to do the process within the same version.
1- Go to SuperSU settings and uncheck "Re-authentication" (very important!).
2- Open up a file explorer that supports root permissions (e.g. ES File Explorer) and grant it the permissions (make sure you see a toast notification confirmed that, otherwise you can't continue).
3- Go to /data/data/eu.chainfire.supersu/shared_prefs folder.
*You see the file eu.chainfire.supersu_preferences.xml, it contains values of certain configuration or important info of SuperSU like any other app has the file end with "_preferences.xml", let's go back.
4- Take a copy of that file eu.chainfire.supersu_preferences.xml
5- Re-install SuperSU and make sure it's installed correctly with "su binary" to work properly.
6- Open up your file explorer and grant it root permissions.
7- Go to the same folder /data/data/eu.chainfire.supersu/shared_prefs and replace the new file with the one you kept.
8- Go to SuperSU app info screen in system settings and click on "Force stop".
9- Then open it, now you see the same list of apps (without their icons because they aren't installed yet, so once they are, they don't need to ask for root again) and have the same settings configuration.
That's it.
And I hope @chainfire add an option for all that just with one click.
Note for moderators: this is my first thread, I don't know where else to put it, so I apologize in advance.
Click to expand...
Click to collapse
It's still working with SuperSu v2.46 but not the latest version, would like to reconfirm, whether should the user change the permission of the backup eu.chainfire.supersu_preferences.xml or just remains as rw--rw--rw?
Thanks!
Been trying to find this gem of a post for an hour! Thanks! This really bugs me, why don't they have this option in the 1st place? Also why is it not possible for titanium backup to back this up.
---------- Post added at 04:40 PM ---------- Previous post was at 03:47 PM ----------
illkid69 said:
It's still working with SuperSu v2.46 but not the latest version, would like to reconfirm, whether should the user change the permission of the backup eu.chainfire.supersu_preferences.xml or just remains as rw--rw--rw?
Thanks!
Click to expand...
Click to collapse
The backup still works, but the restoration tutorial for newer SuperSU is different, basically you just need to copy the text from the backed up "eu.chainfire.supersu_preferences.xml" to the newly created "eu.chainfire.supersu_preferences.xml".
To do that open the backed up "eu.chainfire.supersu_preferences.xml" thru a Text Editor, Solid Explorer has one, and copy the whole content. Go to the newly created "eu.chainfire.supersu_preferences.xml", which is created once you open the reinstalled SuperSU, and overwrite its contents. Force close SuperSU and open it again. Backup restored.
@alazizie - heads up, worked for SuperSU v2.79, Kitkat v4.4.2
alazizie said:
While no one made a thread about this topic or even asked around and no app can backup its stuff, then I thought it will be better to post such a solution to what is apparently a missing feature/option of SuperSU app, I actually wrote a reply on SuperSU thread talking about it. Anyway, this thread is for users who ever wonder how to get around it and stop re-authenticate every app all over again and maybe they forget to give permission to a startup important tools (e.g. SElinuxModeChanger) so here we go.
NOTE: I only tried it for SuperSU v2.46, maybe it works for other versions, and it's important to do the process within the same version.
1- Go to SuperSU settings and uncheck "Re-authentication" (very important!).
2- Open up a file explorer that supports root permissions (e.g. ES File Explorer) and grant it the permissions (make sure you see a toast notification confirmed that, otherwise you can't continue).
3- Go to /data/data/eu.chainfire.supersu/shared_prefs folder.
*You see the file eu.chainfire.supersu_preferences.xml, it contains values of certain configuration or important info of SuperSU like any other app has the file end with "_preferences.xml", let's go back.
4- Take a copy of that file eu.chainfire.supersu_preferences.xml
5- Re-install SuperSU and make sure it's installed correctly with "su binary" to work properly.
6- Open up your file explorer and grant it root permissions.
7- Go to the same folder /data/data/eu.chainfire.supersu/shared_prefs and replace the new file with the one you kept.
8- Go to SuperSU app info screen in system settings and click on "Force stop".
9- Then open it, now you see the same list of apps (without their icons because they aren't installed yet, so once they are, they don't need to ask for root again) and have the same settings configuration.
That's it.
And I hope @chainfire add an option for all that just with one click.
Note for moderators: this is my first thread, I don't know where else to put it, so I apologize in advance.
Click to expand...
Click to collapse
First of all thank you, been looking for this and this was a crucial step in what I am trying to acomplish.
I have a question to take this one step further. How do I back this "eu.chainfire.supersu_preferences.xm" up in such a way, that SuperSu retains these settings after a factory reset.
I have already installed SuperSu as a system app, so that install it installs automatically during factory reset, and retains root.
A suggestion would be to somehow let SuperSu save it's settings in the system partition instead of the data. Is this possible?
Some background info: I am trying to get a anti-theft app (cerberus) to work properly after factory reset. All works exxcept for the little snafu that SuperSu popsup asking to grant permission to the Anti theft app. A thief could potentially spot it and the chances for catching him would be less. All this assuming the device wont be reflashed.
Is there any option out there, that will retain the "eu.chainfire.supersu_preferences.xml" after factory reset?

Luckypatch modded playstore cant fix it back to normal

i did lucky patch on playstore to make it modded and now i cannot sign in with any gmail account or create a new one it says account name not available or says couldn connect to internet when i am on wifi. i would like to fix it so its a backup phone and i have reset it and it doesnt help. Please figure out how fix this it isnt on youtube or anything and would like to learn how to fix it.
There is an option to install original Playstore
within lucky patcher itself.
You should try that option.
if you have a connection problems after installing modded play store to fix find /system/etc/hosts put a # in front of your ip and save you will need a file explorer with root or
i did this to install on my phone root first
install busybox run an install
install lucky patcher then open toolbox (on bottom) select install modded google play store
select top version for phone with newer android
install and test reboot
that`s it done (you can uninstall this way too)

What directory does Magisk install to?

I'm planning to install the latest Magisk Manager on a fresh install, now that Google has removed it from the play store.
I have a zip file that I flash after installing my ROM, which adds and modifies some personal files.
I wanted to add the latest Magisk Manager APK into this zip, so I can flash it after flashing Magisk 12.0, and not have to update the app manually. However, I'm not actually sure where the initial installation of Magisk Manager ends up. I don't see it in /system/app or /system/priv-app. Does anyone know where it would be, or if this is even possible?
the magisk manager is included in latest beta zip
JohnHorus said:
I'm planning to install the latest Magisk Manager on a fresh install, now that Google has removed it from the play store.
I have a zip file that I flash after installing my ROM, which adds and modifies some personal files.
I wanted to add the latest Magisk Manager APK into this zip, so I can flash it after flashing Magisk 12.0, and not have to update the app manually. However, I'm not actually sure where the initial installation of Magisk Manager ends up. I don't see it in /system/app or /system/priv-app. Does anyone know where it would be, or if this is even possible?
Click to expand...
Click to collapse
It's not installed as a system app. It's in /data/app.
While we're waiting for the next release (with the app bundled into the zip) you should be able to replace the stub in the Magisk zip with the proper apk. It's in the common folder in the zip.
Didgeridoohan said:
It's not installed as a system app. It's in /data/app.
While we're waiting for the next release (with the app bundled into the zip) you should be able to replace the stub in the Magisk zip with the proper apk. It's in the common folder in the zip.
Click to expand...
Click to collapse
OOOhhhh, so the very initial installation from the zip goes into /data. I guess that makes sense, as systemless is the entire point. Derp! Shoulda thought about that a little more.
Putting the newest manager into the Magisk 12 zip would be ideal, though. Do I just replace [Magisk-v12.0.zip/common/magisk.apk] with the Magisk Manager 4.3.3 apk from the main thread, and rezip? Thanks so much for your help! = )
JohnHorus said:
OOOhhhh, so the very initial installation from the zip goes into /data. I guess that makes sense, as systemless is the entire point. Derp! Shoulda thought about that a little more.
Putting the newest manager into the Magisk 12 zip would be ideal, though. Do I just replace [Magisk-v12.0.zip/common/magisk.apk] with the Magisk Manager 4.3.3 apk from the main thread, and rezip? Thanks so much for your help! = )
Click to expand...
Click to collapse
Should be working if you swap APK from zip
Envoyé de mon m8 en utilisant Tapatalk

won't boot after install of magisk manager pro

Hi all,
I install magisk manager pro to see what it is, but my rooted oneplus 5t(with magisk v14.0) won't boot now. I see the boot logo of oneplus during about 5 secondes and reboot on twrp.
What must I do to recover it.
Thanks
Magisk Manager Pro? From the Play Store or some website? Uh-oh... Fake Managers not provided by @topjohnwu. Who knows what they'll do to your device...
From the release thread:
The Magisk and Magisk Manager Github releases are the ONLY official places to download Magisk!
NEVER trust 3rd party sources, don't go to scammy websites!
Click to expand...
Click to collapse
Best thing would probably be to restore your backup.
I have installed "magisk manager pro 2019" by the playstore
I reflash the rom and magisk but same result
Don't install anything not provided by @topjohnwu. It's just fake apps trying to monetize on Magisk's success. Worst case they'll even harm your device...
You might be able to manually remove the app, by navigating to its location in the TWRP file manager and delete it. Other than that, restoring a backup or wiping your device might be the only way to go.
ok thanks for your reply.
Did you know how to find the correct folder to delet this app ?
I download the .apk file of this app but don't find any folder.
May be I found an uninstall.sh in the .apk can I run it in twrp ?
wholehog2 said:
ok thanks for your reply.
Did you know how to find the correct folder to delet this app ?
I download the .apk file of this app but don't find any folder.
May be I found an uninstall.sh in the .apk can I run it in twrp ?
Click to expand...
Click to collapse
Kindly Do The Following
- Uninstall Magisk By Flashing Magisk-Uninstaller-20180328.zip Via TWRP
- Install Magisk Again
Dreamer(3MF): same issue
wholehog2 said:
Dreamer(3MF): same issue
Click to expand...
Click to collapse
Did You Grant The Installed App The Root Privilege?
I have install the app and reboot to see the changes, but I don't grant root privilege.
Maybe this is the problem ?
wholehog2 said:
ok thanks for your reply.
Did you know how to find the correct folder to delet this app ?
I download the .apk file of this app but don't find any folder.
May be I found an uninstall.sh in the .apk can I run it in twrp ?
Click to expand...
Click to collapse
You'll likely find files in /data/app, /data/data and /data/user_de/0 (and possibly other places) that are related to the app. Look for folders with the name bfd.app.poy.com.xss (the package name of the app) and delete those.
wholehog2 said:
I have install the app and reboot to see the changes, but I don't grant root privilege.
Maybe this is the problem ?
Click to expand...
Click to collapse
Anyway Try The Following
- Install Magisk
- Go To TWRP --> Advanced --> File Manager --> Data --> App --> Delete The Folder Of The Installed App
- (UP A Level) --> Data --> Delete The Folder Of The Installed App
- Clear DalvikCache & Cache Via TWRP --> Wipe --> Advanced Wipe --> Select Only Dalvik/ARTCache & Cache --> Swipe To Wipe --> Reboot
Didgeridoohan: I delete all folders bfd.app.poy.com.xss that I found in the folder you write, I reflash full rom and magisk but same issue.
Have you other ideas?
wholehog2 said:
Didgeridoohan: I delete all folders bfd.app.poy.com.xss that I found in the folder you write, I reflash full rom and magisk but same issue.
Have you other ideas?
Click to expand...
Click to collapse
Did you do anything else except install the app? It sounds strange that it would cause this kind of big issue. Does your device start if you don't install Magisk? Did you also install any modules that might be incompatible with your device? Etc...
Like I've said before, your best option might be to restore your backup (but by this time I'm assuming you don't have one).
If you can't get things figured out, the easiest solution is likely to wipe your device and start over. In TWRP you can choose to do an advanced wipe. Wipe everything except for internal storage (and external storage as well, of course) and then reinstall your system.
Don't forget to make regular backups once you get everything up and running again.
Didgeridoohan:
No I don't install other app or module. I install magisk manager pro 2019 and try to restart.
I have a backup a twrp backup but she is a little old. If there is only this solution I will do that.
Maybe is it possible to restaure ony the boot of twrp backup ?
Thanks.

Categories

Resources