How to move Magisk from a system app to a user app? - General Questions and Answers

I'm trying this LG Spirit Resurrection Remix ROM and it has Magisk as system app which is bad apparently.
How to fully delete Magisk as a system app, so I can reinstall it later? I'm guessing I'll have to install a different root solution, but... which, and how?
Any help appreciated.

Remark: Android is rooted as soon as the SU-binary ( ~ 100 KB ) is present in Android's /system partition.

As long as Android is rooted you can try to convert Magisk app into an user-app by means of Link2SD app, what means it will get moved from /system to /data - where the other stuff Magisk installs is already located. Take note that system apps are granted the ability to request certain system-only permissions that are never available to user apps. This is not the same as su permissions
IMO the easiest way to get Magisk completely off your Android device is to simply uninstall it from within the Magisk manager app:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

for the record: what I needed to remove was Magisk Manager, not Magisk, and the only way was to uninstall/disable it then manually delete the .apk in system/app after rooting with SuperSU.
Thanks for helping jwoegerbauer

jwoegerbauer said:
As long as Android is rooted you can try to convert Magisk app into an user-app by means of Link2SD app, what means it will get moved from /system to /data - where the other stuff Magisk installs is already located. Take note that system apps are granted the ability to request certain system-only permissions that are never available to user apps. This is not the same as su permissions
IMO the easiest way to get Magisk completely off your Android device is to simply uninstall it from within the Magisk manager app:
Click to expand...
Click to collapse
Is it possible to convert a system app to a user app and then uninstall it?

Stephanie_Sy said:
Is it possible to convert a system app to a user app and then uninstall it?
Click to expand...
Click to collapse
One have to distinguish between apps located in /system/apps and those located in /system-priv-apps:
Apps located in /system/apps are essential apps to make Android work: they basically are not granted system privileges.
Apps located in /system/priv-apps are 3rd-party apps typically installed by OEM ( e.g. launcher ) what are granted system privileges.
Knowing this it's obvious that uninstalling apps what are located in /system/apps at 99% will brick Android whereas uninstalling apps located in /system/priv-apps mostly will not harm Android.
Long story short: You can directly uninstall apps located in /system/priv-apps, they must NOT be converted into user-app before.

Related

Can't make calls after uninstalling LogsProvider

Hi everyone,
I have a rooted my Samsung galaxy s3 mini ve. Because it was permanently running in background, I backed up LogsProvider using ROM toolbox and then I removed it.
Now when I open the phone app, it says "contacts has stopped". So I can't dial a number, but when I open contacts I can select and phone someone.
I already tried wiping contacts data, no success. I tried reinstalling LogsProvider, it says : " LogsProvider wasn't installed ". In logcat I see " dexopt failed"
Any help would be greatly appreciated.
Vinz243
How please?
Logs provider is a system app, it is not installed with the package manager. You need to copy it back to the system app folder with a root file manager.
chaostic_2k1 said:
Logs provider is a system app, it is not installed with the package manager. You need to copy it back to the system app folder with a root file manager.
Click to expand...
Click to collapse
and change the permissions to rw-r--r--
Thanks guys I copied LogsProvider.apk into /system/app and set the permissions but the app isn't installed after a reboot: (
So you rebooted and tried the dialer again? Did you double check that the Apk is still in system app folder, and has 644 permissions? Try 777 and reboot again.
Also did you remount the system partition before copying it over?
The dialer did not work and the app were nowhere to be seen in system app. This is the LogsProvider.apk properties:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How do I set 777 permissions?
777 is rwx for all three permissions. Also try group root.
I did it and reboot, but it looks like it messed things up. I'm not sure because I also installed or updated several apps, but now the xposed framework doesn't work anymore and on each startup, out asks me which launched I wanna use
Sounds like you gotta reflash to stock (or custom rom) and start from scratch re rooting and everything.
Thanks. How can I efficiently backup everything in a stroke? I have a very bad experience of adb backup or other backup solution. Perhaps copying data folder would be OK? And secondly where can I get a tutorial in order to reflash the ROM?

Remove apps from Playstore update list?

Got a rooted op7p & various versions of my favourite apps installed that I don't want to update. Because there not the latest versions they stay stuck in my update list in the play store!
Is there a magisk module or app I can run to remove them from the list so I'm not constantly told to update or accidentally update it?
Think I might have solved it!
Went into Titanium backup pro, found the app, scrolled across to 'special features', then 'detach from the market'! There no longer in the update list now anyway ?
Detach is one that is for this
Titanium Backup like you found is another option
However, in my experience, both apps don't keep apps removed. After some time, they will show up again
Yeah your right, already popped back up!
Any idea how to permanently get rid of them?
You can turn off updates from the google play store itself, and it never notifies you.
Go into google play > Settings > Auto-update apps | Set to Don't auto-update apps. If I want to update something, I go in manually and choose what I want to update.
As for Magisk modules, also under settings, turn off Check Updates.
Titanium Backup was my first play store purchase for those features as well
Hi there, I have found a work around for this.
Go to (https://github.com/yuk7/playstore-excl-upd)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
then follow the instructions on the page.
Make sure you create a txt file named as peulist.txt under root directory /data/cache/peulist.txt... once done reboot after flashing the file and include the apps with there package name that you want to exclude from the update list.
Bengemin14 said:
Hi there, I have found a work around for this.
Go to (https://github.com/yuk7/playstore-excl-upd)View attachment 5666533 then follow the instructions on the page.
Make sure you create a txt file named as peulist.txt under root directory /data/cache/peulist.txt... once done reboot after flashing the file and include the apps with there package name that you want to exclude from the update list. View attachment 5666537View attachment 5666539
Click to expand...
Click to collapse
Thank you a lotttt, worked perfectly! :3 <3
Also hiding YouTube, so it won't override YouTube vanced, hihi
Bengemin14 said:
Hi there, I have found a work around for this.
Go to (https://github.com/yuk7/playstore-excl-upd)
then follow the instructions on the page.
Click to expand...
Click to collapse
Um... any idea how you can UNDO this, so all available updates will show up again? I've tried disabling the module and rebooted, but the changes seem to stay...
Does anyone know what exactly this module does/changes? It does not seem to be really well documented...

no uninstall option for Magisk

For some unknown reason I am unable to unroot my S6 (SM-G920F)
three is no uninstall option in the APP its self and using TWRP it says
*******************************************
the Magisk app will not be uninstalled
please uninstall it manually after reboot
*******************************************
Need to run banking apps so want to unroot my device
marcwsa said:
For some unknown reason I am unable to unroot my S6 (SM-G920F)
three is no uninstall option in the APP its self and using TWRP it says
*******************************************
the Magisk app will not be uninstalled
please uninstall it manually after reboot
*******************************************
Need to run banking apps so want to unroot my device
Click to expand...
Click to collapse
So, I understood that for whatever reason you don't have the red-framed button in your Magisk app as shown in my screenshot.
Spoiler: Screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Did you try the uninstallation instruction that topjohnwu provides in his Github here (I mean the second sentence of the paragraph):
Installation
The Magic Mask for Android
topjohnwu.github.io
Last but not least, the following thread is monitored by highly knowledgable members who are certainly better suited to support you than me, although a search there could probably already provide a solution:
Magisk General Support / Discussion
This is the place for general support and discussion regarding "Public Releases", which includes both stable and beta releases. All information, including troubleshoot guides and notes, are in the Announcement Thread
forum.xda-developers.com
@marcwsa
You uninstall Magisk from within Magisk Manager app.
Apologies - but I am new to this and I think I may have bricked my phone now.
I did a complete wipe and now when it asks to reboot it says "No OS installed"
I fortunately still have access to the phone using USB to my PC so can transfer an image to the phone still. It ends up in /sdcard
BUT when I say install and point to the Pixel image file it goes all the way to the end and then on reboot says
No OS Installed Are you
sure you wish to reboot?
Damn --
jwoegerbauer said:
@marcwsa
You uninstall Magisk from within Magisk Manager app.
Click to expand...
Click to collapse
No uninstall option on my APP - that's the problem - but no worries anymore, I think I bricked my phone in any case :-(

Question RW not working after root

Hi everybody !
I've root my S22 Ultra with Magisk and when I want to removed bloated apps, nothing happen. It's not possible.
/System stay in RO mode.
I try with Root Explorer and MiXplorer.
Any idea ?
Thank you
You have to install mixeplorer with Foxcom app. Reboot after System you can Mount in RW and RO
I don't know Foxcomm. I will search what it is. Thank you
I have installed Mixplorer with Fox. Doesn't work
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Root folder as RO and RW
I don't understand...
This doesn't make a difference since /system cannot mounted as r/w in android versions >= 12.
You need to install the magisk module "debloater" and uninstall your system apps with this.
matze19999 said:
This doesn't make a difference since /system cannot mounted as r/w in android versions >= 12.
You need to install the magisk module "debloater" and uninstall your system apps with this.
Click to expand...
Click to collapse
I already try this.
Debloater module just hide apps, not delete
Johncaffee said:
I already try this.
Debloater module just hide apps, not delete
Click to expand...
Click to collapse
Mate debloat with adb the whole Android 12 root Story is bad. Google ****ed it up...
Goku1992 said:
Mate debloat with adb the whole Android 12 root Story is bad. Google ****ed it up...
Click to expand...
Click to collapse
Even with ADB you can't remove the apps, only disable them.
matze19999 said:
Even with ADB you can't remove the apps, only disable them.
Click to expand...
Click to collapse
You can uninstall them. They remain on the Partition but cant Start so if you wipe your data they are back again. You can also Re-install them with adb.
When you disable some Apps will reenable themselves and force Start.

FX file Explorer - How to make a file write accessible?

I'm Rooted and using Androids FX file Explorer, to try to add a ring tone to the ringtones system folder.
/system/media/audio/ringtones
Would someone explain how to make the file write accessable or direct me to a link to how to do this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I searched but all I could find were links how to do it through a command promt, which is not what I'm looking for.
Android 13
galaxy A22 plus
Rooted with Majiks systemless-ly activated
20GT said:
I'm using Androids FX file Explorer, to try to add a ring tone to the ringtones system folder.
/system/media/audio/ringtones
Would someone explain how to make the file write accessable or direct me to a link to how to do this?
View attachment 5836745
I searched but all I could find were links how to do it through a command promt, which is not what I'm looking for.
Android 13
galaxy A22 plus
Click to expand...
Click to collapse
after android 8 (in preparation for project Treble), system partition is mounted during boot as read-only by default (as you can find out through the partition's mount flags). so there's 2 ways to achieve what you want:
you remove the shared_block feature from Super.img and mount system as R/W. There are tools to do this, but they're not tested on Samsung devices. Like this Tool.
you root your phone with Magisk and make a Magisk module to add your files systemless-ly. Here is the Developer Guide.
Of course, You would need an unlocked Bootloader. Here is the guide for Unlocking and Rooting. I also advise you to flash TWRP before experimenting with the Module you create. Good luck.
Slim K said:
after android 8 (in preparation for project Treble), system partition is mounted during boot as read-only by default (as you can find out through the partition's mount flags). so there's 2 ways to achieve what you want:
you remove the shared_block feature from Super.img and mount system as R/W. There are tools to do this, but they're not tested on Samsung devices. Like this Tool.
you root your phone with Magisk and make a Magisk module to add your files systemless-ly. Here is the Developer Guide.
Of course, You would need an unlocked Bootloader. Here is the guide for Unlocking and Rooting. I also advise you to flash TWRP before experimenting with the Module you create. Good luck.
Click to expand...
Click to collapse
Sorry I forgot to mention that I'm already Rooted with systemless-ly already activated.
Just tested Fx file explorer on my privious phone and it works correctly after mounting the folder.
I passed the root check. is there a diffent option/checkmark to allow Fx access to root or give Fx pemisions in majiks on android 13?

Categories

Resources