install magisk manager as a privileged system app - Magisk

I have searched the forum and have not found the answer. I would like to install magisk manager as a system app so i can do a TWRP system wipe/factory reset without needing to reinstall the app afterwards. Does anyone know if this is possible? I know that root is maintained after the TWRP wipe it just needs the manager app to be functional.

If the app is installed to system it'll be wiped as well. There are no benefits to systemising the Manager, and you'll break the ability to hide it by repackaging it with a random name. Don't...

Related

Banking app crashes

Hi,
I have a banking app wich loink I provide hereby: https://play.google.com/store/apps/details?id=com.rsi.ruralviawallet2
In the latest versions it just crashes, and after force closing and few opening and closing the app tells me that the system is modified and cannot run.
I have MAGISK 16 with magisk hide and the app checked to hide root, USB debugging deactivated as well...
Tried to use the uninstall magisk and un-SU scripts and cache clean but still crashing, So it may not have anything to do with Magisk, but since I had it installed it may have left something over there that the app is detecting as a mofied system...
Any Ideas ?
Thanks so much for your help
Make sure to also hide the Manager. I can open the app just fine if it's added to the Hide list and with the Manager hidden.
There might also be other things causing issues... Check here for more tips:
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps
Thank you
Anyhow it's still not working, I have uninstalled all the apps that can be only runt with Root in case that was the cause, but still crashing. The Phone is unrooted now...
I will try now to Re-intall Magisk and hide everything, see if it does work :S
If anyone has a similar issue or idea, all help would me much appreciated.
Thanks again
whitenoyz said:
Thank you
Anyhow it's still not working, I have uninstalled all the apps that can be only runt with Root in case that was the cause, but still crashing. The Phone is unrooted now...
I will try now to Re-intall Magisk and hide everything, see if it does work :S
If anyone has a similar issue or idea, all help would me much appreciated.
Thanks again
Click to expand...
Click to collapse
When you don't have Magisk installed there are a whole bunch of stuff that may trigger the app that MagiskHide otherwise hides. Try with Magisk again...
Thank you very much for your help!!
For people that's having the same issue, I've solved it uninstalling several apps like TWRP MANAGER, ROOT EXPLORER and other apps that can only be used with root, after did a wipe cache and rebooted.
Take care with TWRP, when you install the recovery it asks to install an APK and usually almost everyone hits yes. This app is most likely detected by some apps and considered as system modification. @Didgeridoohan thank you!! ( It may be useful to put tjis in your Wiki for everyone to be warned about this so you dont receive this question again )
Reinstalled Magisk, Hid the Magisk Manager, selected the app to hide on the list and it worked!
Everything's fine now.
Thanks a lot for you kind help
bkash app
pixel 9.0 rom bkash app not working.... every rooted app unstall also twrp manager dismiss. clear the CAcHe & facory resat but result is bkash app not run

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.

[MODULE] Magisk module for Cerberus App

App source: https://www.cerberusapp.com/
This app is mainly to protect our phone and helps to locate our device in case of lost or stolen.
Obviously, needless to mention that the device needs to be magisk rooted. Rooted with latest magisk version is good.
Why this module?
See screenshot for reference. Why we need this magisk module? Cerberus app needs to be placed in system/priv-app in order to use the "SIM checker" settings to work. This settings is very handy to include mobile numbers to be notified in case of device loss/stolen. Also, we can confugure under this settings to localize the device with a "cerberus find" sms message without a password. This means that we can find the finder location / device location in no time in case we lost it.
By the way, you have to create account in https://www.cerberusapp.com to use this app.
This module installs the app in system/priv-app folder. Flash this module in Magisk Manager and reboot device. After device boot you will see this app in app drawer in the name of "System Framework". I have used Cerberus Disguised apk and this is why the name of the app is not obvious (i.e "System framework"). If anyone needs magisk module for the named app, i.e Cerberus, please place request in yourt post. The named app will apprear in app drawer in the name of Cerberus with the developers app icon.
Without this module, we still can manually move the app folder from data partition (after we install normally) in to system/priv-app folder and set permissions to 755. But on several occations error message pops-up on each device boot.
If the developer of this app has any objections to this work, please PM me.
Usual disclaimer: I am not responsible if you break your device. You are using at your own will.
Module file attached and also it can be downloaded from this LINK.
I tested it on an old device. An LG G2 with cyanogenmod. Android Marshmallow.
First I uninstalled Cerberus completely. I rebooted the device and checked to see if there were any file remnants in Data / App. There was nothing else there.
Then I installed the Magisk module and restarted the device.
Upon restarting Cerberus was properly installed. I launched Cerberus and set it up properly.
Then I went to the System / Priv-app folder to check.
There I found the System Framework folder. Inside was only the SystemFramework.apk file, but there was no other folder like I had seen in Data / App.
Then I rebooted the device to TWRP and did the factory reset. I did on the following:
Wipe Data
Wipe Cache
Wipe Dalvik / Art Cache
Then I restarted the device.
Upon restart there was no remnant of Cerberus (System Framwork). Cerberus has been UNINSTALLED.
I accessed (via computer) the Cerberus website and tried to track, but to no avail. Not tracked.
I wonder if I made a mistake in the procedure?
I am thinking to test in my Xiaomi Mi A3.
@FredMontteiro That is expected. Magisk stores it's files in /data/adb, so any app that is moved to /system through Magisk will be removed if /data is wiped.
Didgeridoohan said:
@FredMontteiro That is expected. Magisk stores it's files in /data/adb, so any app that is moved to /system through Magisk will be removed if /data is wiped.
Click to expand...
Click to collapse
So the Magisk module doesn't really install the app in /system then. Right? It only makes it look like it. So a factory reset makes it dissappear...
iruiz2 said:
So the Magisk module doesn't really install the app in /system then. Right? It only makes it look like it. So a factory reset makes it dissappear...
Click to expand...
Click to collapse
Yes. That's always been the main function of Magisk, making system modifications without actually touching /system.
Call me crazy, but... isnt this the sole purpose of cerberus? to be installed as a system file, survive factory reset and be found in case a person loses a phone or gets it stolen/pickpocketed? I mean... is there a way in 2020 that cerberus not only survive a factory reset, but actually works after it, meaning: the phone that gets factory reseted keeps its roots functions and stealthly sends info to the cerberus website etc?
baco_852 said:
Call me crazy, but... isnt this the sole purpose of cerberus? to be installed as a system file, survive factory reset and be found in case a person loses a phone or gets it stolen/pickpocketed? I mean... is there a way in 2020 that cerberus not only survive a factory reset, but actually works after it, meaning: the phone that gets factory reseted keeps its roots functions and stealthly sends info to the cerberus website etc?
Click to expand...
Click to collapse
Yes, but it doesn't work like this on a Magisk rooted phone.
I see. In 2020, is it possible to have a root that isn't systemless and a phone/apps that won't lose a lot of functions? Or if they do, workarounds that are effective? Honest question.
baco_852 said:
Call me crazy, but... isnt this the sole purpose of cerberus? to be installed as a system file, survive factory reset and be found in case a person loses a phone or gets it stolen/pickpocketed? I mean... is there a way in 2020 that cerberus not only survive a factory reset, but actually works after it, meaning: the phone that gets factory reseted keeps its roots functions and stealthly sends info to the cerberus website etc?
Click to expand...
Click to collapse
iruiz2 said:
Yes, but it doesn't work like this on a Magisk rooted phone.
Click to expand...
Click to collapse
It has nothing to do with Magisk being systemless root (so was SuperSU). On most devices you can still edit /system, but most modern devices are now SAR devices (system-as-root), so in order to edit the system partition you actually have to edit the root directory (/). It's up to the app developers to make that work.
But, Google has twisted it a bit further with Android 10 and there are now devices that have completely read-only system partitions that are impossible to write to. You can still do systemless modifications with Magisk, but features like Cerberus' factory reset protection won't work.
What I've written here is quite simplified, so if anyone is interested to know more I urge you to do your own research. There's tons of stuff written about this already...
I posted a thread that allows the Cerberus app to survive a factory reset. (Even if your device is rooted with Magisk).
https://forum.xda-developers.com/an...rberus-app-t4045231/post81673039#post81673039

Bank app stopped working because my phone identified as rooted.

My bank app stopped working after I tried to install some apps.
I'm suspect it's because I tried to install Titanium backup and for some reason the bank app could verify that the phone is rooted.
I was using Magisk with no issue at all before but now nothing is working to make the app work again.
I have removed Titanium and all other apps since then but still no luck with my bank app that recognize the phone as rooted.
Any idea how to make the app work again?
I have tried to install Magisk again, uninstall the bank app (and cleared all data) and install it again but nothing seem to work.
Any advice would be much appreciated
use magisk hide and hide magisk manager. also, delete or rename folder named twrp or titanium backup in your storage.
I tried to use magisk hide and hide magisk manager and it didn't work.
Kursem said:
use magisk hide and hide magisk manager. also, delete or rename folder named twrp or titanium backup in your storage.
Click to expand...
Click to collapse
I tried to use magisk hide and hide magisk manager and it didn't work.
Also deleted every file that I could find that says TWRP or titanium backup and still can't get the app to work. It's still recognize that the phone is rooted

Make an app system app and giving it root permission without rooting a bootimg via magisk

hello, I want to know that is it possible, to make a apk system app, like integrating in system rom package directly and giving it root permission, so only that app can allowed to access all the system resources, but not patching boot img with magisk,
thanks, in advance...

Categories

Resources