Question Unable to convert any app into system app (Rooted) - OnePlus 9 Pro

So I am rooted, got android lost installed, the app that offers some useful features in case your phone falls into wrong hands. However I've been struggling to convert the app onto a system app in order to prevent it being wiped out in case the unfriendly fellow performs a system wipe.
All attempts to convert this app and any other app into system app fails with error message 'no space on system storage' I've tried this using apps2sd, link2sd, root essentials and all failed annoyingly.
Is there any specific way to get this done on Android 11 on the OnePlus 9 series. I've had no issues doing this on my 7pro, 6T and OnePlus 8.

The op9 have dynamic partition with a where so far (system, vendor, system-ext) are write-protected. if you want to install an app as a system app you have to do it with magisk modul app systemizer and a therminal

That's extremely helpful. But after installing the module. Can you help with any specific method making an app a system app? I am kinda stuck on what to do after installing the module. Thanks a million.

Steps Parku said:
That's extremely helpful. But after installing the module. Can you help with any specific method making an app a system app? I am kinda stuck on what to do after installing the module. Thanks a million.
Click to expand...
Click to collapse
Download terminal emulator from store.
Open terminal.
Type su
Type systemize
Select app you want then select app or private app dir to move it to

Thanks a million bud. I got everything now. However I still couldn't systemize the app I wanted. The current version 17.5, is it compatible with Android 11?

toolhas4degrees said:
Download terminal emulator from store.
Open terminal.
Type su
Type systemize
Select app you want then select app or private app dir to move it to
Click to expand...
Click to collapse
Steps Parku said:
Thanks a million bud. I got everything now. However I still couldn't systemize the app I wanted. The current version 17.5, is it compatible with Android 11?
Click to expand...
Click to collapse
did this work.? with module and terminal, no option allows to make app system. nor does files show any 3rd party app in data...

Steps Parku said:
So I am rooted, got android lost installed, the app that offers some useful features in case your phone falls into wrong hands. However I've been struggling to convert the app onto a system app in order to prevent it being wiped out in case the unfriendly fellow performs a system wipe.
All attempts to convert this app and any other app into system app fails with error message 'no space on system storage' I've tried this using apps2sd, link2sd, root essentials and all failed annoyingly.
Is there any specific way to get this done on Android 11 on the OnePlus 9 series. I've had no issues doing this on my 7pro, 6T and OnePlus 8.
Click to expand...
Click to collapse
Here's what happened. The Magisk module Systemize lost support from the original dev. You can no longer on Android 11 and up select the app from the list(because it doesn't list of does list but is random characters instead of names). HOWEVER, you can download the app APK from APKmirror.com or other sites, find the file path and copy it e.g. /sdcard/download/yourapp.apk go to Systemize in terminal by opening terminal and typing
Su
Systemize
(Select option 3) 3 - Systemize given apk
Paste the file path of the downloaded apk
Choose if you want system or priv-system
Voila

Steps Parku said:
So I am rooted, got android lost installed, the app that offers some useful features in case your phone falls into wrong hands. However I've been struggling to convert the app onto a system app in order to prevent it being wiped out in case the unfriendly fellow performs a system wipe.
All attempts to convert this app and any other app into system app fails with error message 'no space on system storage' I've tried this using apps2sd, link2sd, root essentials and all failed annoyingly.
Is there any specific way to get this done on Android 11 on the OnePlus 9 series. I've had no issues doing this on my 7pro, 6T and OnePlus 8.
Click to expand...
Click to collapse
-install the app the normal way
-copy it's folder from data/app to somewhere you remember
-rename it to something clear with no space like "lost" (also rename the apk inside)
-uninstall the app
-open Mixplorer or any file explorer and give it root access
-go to system/app and paste that folder and give it 755 permission
-reboot
if still not work use the recovery file manager to paste on system/app (after mounting system)

loopypalm said:
-install the app the normal way
-copy it's folder from data/app
-rename it to something clear with no space like "lost" also rename the apk inside
-uninstall the app
-open Mixplorer or any file explorer and give it root access
-go to system/app and paste that folder and give it 755 permission
-reboot
if still not work use the recovery file manager to paste on system/app (after mounting system)
Click to expand...
Click to collapse
System folder is read only. You use the Magisk module to Systemize. See my above post

Related

[GUIDE] Merging updated system apps with old one, GET MORE FREE MEMORY!!

(Preface for noobs : /system and /data are two different partitions. Freeying up /system won't get you more intrenal memory, but /data does. Old apks rest in /system and updated versions placed in /data. You can replace the old apks using newer versions)
I heared Titanium Backup PRO does something like, but you can do this with any File Explorer with ROOT access. Its works 100% for Android Gingerbread 2.3.x , try on other versions.
### Do it on your own risk, I am not responsible for anything ###
1. Update the desired app to the latest version from Google Play Store
2. Open File Manager, Enable ROOT_ACCESS, remount /System as writable
3. Goto /system/app and backup the desired apk to sdcard
4. Goto /data/app and copy updated apk
5. Paste into /System/app
6. Note down the filename of old apk and delete the old apk
7. Rename the new apk into the old filename
8. You may encounter a FORCE CLOSE if the app was running in background
9. The updated apk in /data/app will be removed automatically
10.Restart your device, Done!
I replaced Playstore, Maps, Google Search ect..
Example: For PlayStore, updated apk will be com.android.vending-1.apk, and old apk is vending.apk
Hit thanks it it works, Thanks
Update title with "not noobproof", this is complicated and dangerous for people who don't know what they're doing.
Bazinga
Or download systemcleanup from market and have it done automatically
Sent from my HTC Wildfire S A510e using xda app-developers app
if you use Link2SD there is option 'integrate update into system' at every updated app
baluuu said:
Or download systemcleanup from market and have it done automatically
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
441Excelsior said:
if you use Link2SD there is option 'integrate update into system' at every updated app
Click to expand...
Click to collapse
Totally agree. those apps are very very simple and clean.
Sent from MARVEL JellyScream
After reading this:
Or download systemcleanup from market and have it done automatically
Click to expand...
Click to collapse
i have downloading the app and i must say it works perfectly :good:
RiesVLD said:
After reading this:
i have downloading the app and i must say it works perfectly :good:
Click to expand...
Click to collapse
Yeah, you can create full backup also (app+app data)
Very useful and free app
Sent from MARVEL JellyScream
you can also move apps to system partition to save space on data partition
just select 'convert into system app' in link2sd and then reboot

[Q] Help with root problems...

Ok, back again.
So, my situation is now this: The root worked, by appearance but somehow, it only seems to be a "partial root", for lack of a better description.
I have SU and Rootcheck Basic installed and it says that I have root, but I can't get the play store to work no matter what, and can't change permissions on the /system/apps folder or write to there when trying to copy the Google Play apk there (attempting to see if I can run or install it there).
And, IDK if this is relevant, KFFirstAide doesn't seem to be able to "find" certain folders and keeps showing errors such as: "The system cannot find the path specified. mkdir failed for /data/local/tmp, File exists" and "The system cannot find the path specified. rm failed for /data/local.prop, No such file or directory" for many operations during it's process, but overall, the operations don't fail.
For instance, the OTA updates seem to have been blocked, the ad services have been blocked and I was able to install Gmail.
Ultimately, any way to get the Google Play store installed?
Ok, I solved my own problem but for anyone that might have a similar problem, it was definitely the fact that the /system and /system/app folder for some reason, wasn't mounted as r/w after the root.
Solution: I downloaded the apk, https://play.google.com/store/apps/details?id=com.beansoft.mount_system&hl=en , which is a "mount system as rw" app (lol - go figure!), and voila!! SUCCESS!
I was then able to install the Google Play Store! So, as I suspected the fact that it was r/o, even after using KFFirstAide to root was what was preventing me from installing the Play Store.
And here's another site that really helps, if you can't download any apks or are trying to sideload something using an alternate method using your PC: http://apps.evozi.com/apk-downloader/
tags: locked system folder, /system/apps, locked, read only after root, rw/ro, mount system, half root, incomplete root
louvega said:
Ok, I solved my own problem but for anyone that might have a similar problem, it was definitely the fact that the /system and /system/app folder for some reason, wasn't mounted as r/w after the root.
Solution: I downloaded the apk, https://play.google.com/store/apps/details?id=com.beansoft.mount_system&hl=en , which is a "mount system as rw" app (lol - go figure!), and voila!! SUCCESS!
I was then able to install the Google Play Store! So, as I suspected the fact that it was r/o, even after using KFFirstAide to root was what was preventing me from installing the Play Store.
And here's another site that really helps, if you can't download any apks or are trying to sideload something using an alternate method using your PC: http://apps.evozi.com/apk-downloader/
tags: locked system folder, /system/apps, locked, read only after root, rw/ro, mount system, half root, incomplete root
Click to expand...
Click to collapse
Neither user or system is r/w after root. You can do this in about five seconds with ES File Explorer. Just to save you some headache next time.
Sent from my Nexus 7 Flo running Paranoid Android 4.4.4 using XDA premium 4 mobile app
LinearEquation said:
Neither user or system is r/w after root. You can do this in about five seconds with ES File Explorer. Just to save you some headache next time.
Sent from my Nexus 7 Flo running Paranoid Android 4.4.4 using XDA premium 4 mobile app
Click to expand...
Click to collapse
Yeah, thanks but... sorry to contradict you - didn't work for me. Had ES File Explorer installed and tried multiple times to reset it the system folder using the permissions (rwx, etc.) I'm convinced there's something new with the update but whatever.
louvega said:
Yeah, thanks but... sorry to contradict you - didn't work for me. Had ES File Explorer installed and tried multiple times to reset it the system folder using the permissions (rwx, etc.) I'm convinced there's something new with the update but whatever.
Click to expand...
Click to collapse
Just user error if it didn't work for you. Next time click on the words "Root Explorer" and select "Mount R/W and then select path, system or both.
Sent from my Nexus 7 Flo running Paranoid Android 4.4.4 using XDA premium 4 mobile app
LinearEquation said:
Just user error if it didn't work for you. Next time click on the words "Root Explorer" and select "Mount R/W and then select path, system or both.
Sent from my Nexus 7 Flo running Paranoid Android 4.4.4 using XDA premium 4 mobile app
Click to expand...
Click to collapse
Well, I might have missed it so, I take it back. Thanks!

Change built-in file manager?

I would like to change default file manager but it seems that some links to it are hardcoded in LOS so for example if i uninstall it and replace it with fx file manager some
apps can't access it because they are calling to that default one which is not there anymore.
Any tips on how can i replace it, or where can i change those links to default app?
The default file manager that you were using has the package name "com.android.documentsui", and you generally see it when you have to choose a file for an app. Only here has it been turned into a full-fledged file manager. That was a system app that you weren't supposed to remove, so your only option is to install another file manager app alongside the default one.
Hi i'm with the same problem, i need a default file manger that can accese root so other app can get accese to root folder. Is there a way to resolve?
Here is how to replace the stock file explore with the root accessable one.
I'm gonna priovide the best filemanager fully featured, called mixplore, which i highly recommend. this file manager can access root directory.
watch Mixplore review from HERE
NB: make sure you have a root access
1. download Mixplore
2. install it on your device then open it
3. on the left then click on "root" then grant root permission when prompted
4. go into system/apps/documentUi OR system/apps/cmfilemanager
OR system/apps/files. If your on other roms apart from cynogenmod, lineageOs or RR-Os.. go into system/apps/filemanger
in case not found in app forlder try priv-app, i.e system/apps/..
NB: not "document" its "documentUi"
5. open the that last folder on the directory i.e file manager, swipe right and go into downloads copy the Mixplore.apk, then swipe left back into root/system/app/___ and paste the mixplore and delete the stock filemager from that folder
6. restart the phone.. now you have replaced the stock file explore from your android.
ppllzz help meee mi a1
i uninstalled the system file manager and now can't reinstall it and com.andeoid.documentsui keeps stopping and after installing app getting the problem files keeps stopping
Adwolf01 said:
i uninstalled the system file manager and now can't reinstall it and com.andeoid.documentsui keeps stopping and after installing app getting the problem files keeps stopping
Click to expand...
Click to collapse
Dirty flash your ROM
yohannacastle said:
I'm gonna priovide the best filemanager fully featured, called mixplore, which i highly recommend. this file manager can access root directory.
watch Mixplore review from HERE
NB: make sure you have a root access
1. download Mixplore
2. install it on your device then open it
3. on the left then click on "root" then grant root permission when prompted
4. go into system/apps/documentUi OR system/apps/cmfilemanager
OR system/apps/files. If your on other roms apart from cynogenmod, lineageOs or RR-Os.. go into system/apps/filemanger
in case not found in app forlder try priv-app, i.e system/apps/..
NB: not "document" its "documentUi"
5. open the that last folder on the directory i.e file manager, swipe right and go into downloads copy the Mixplore.apk, then swipe left back into root/system/app/___ and paste the mixplore and delete the stock filemager from that folder
6. restart the phone.. now you have replaced the stock file explore from your android.
Click to expand...
Click to collapse
will this work if an app ask to write on external storage ???
loopypalm said:
will this work if an app ask to write on external storage ???
Click to expand...
Click to collapse
This method creates problem when trying to access sd card or otg,mixplorer ,though fully featured,will also need permission from documentsui to access externals,it will show error "doesn't exist x
Best way is disable documents ui from showing icon in launcher
HarmitR said:
This method creates problem when trying to access sd card or otg,mixplorer ,though fully featured,will also need permission from documentsui to access externals,it will show error "doesn't exist x
Click to expand...
Click to collapse
yes, i already tried, it didn't work
best thing to do is give access to all apps that require SD write then freez DocumentsUI

Play Store Problem

So, I had some problems and flashed stock Nougat and OTA'd to Oreo. I then installed TWRP, rooted with Magisk, installed Viper4Android and Lucky patcher, but when I tried to install modded play store it didn't work. If I install play store as an user app it keeps crashing, if I try to install it as a system app or convert it to such it just doesn't show up nor is it on system/app or system/priv-app. I don't even mind it being modded or not, I just wanna get my play store back.
To start with modded/patched apps & the app you mentioned are not allowed on xda
You can just download the playstore and install it as a user app
You can also place it in system/priv-app/Phonesky
Set permissions to 644 and restart your phone
Some threads noted that out to me while I was searching for a fix. I'd even swear not to use it, I just wanted to bring Google Play back. For some reasong my Phonesky folder always had a device or resource busy message when I tried to delete it, so I'll have to keep manually installing Google Play and setting permissions to 644 to keep it working. Thanks a lot!
Hyoretsu said:
Some threads noted that out to me while I was searching for a fix. I'd even swear not to use it, I just wanted to bring Google Play back. For some reasong my Phonesky folder always had a device or resource busy message when I tried to delete it, so I'll have to keep manually installing Google Play and setting permissions to 644 to keep it working. Thanks a lot!
Click to expand...
Click to collapse
You probably didn't mount system to r/w
Quickest way is just to create a flashable zip & flash it
You can also use total commander app to manually copy the file & set permissions
You need to set root permissions everywhere in the app settings and mount system r/w
Ugh, this is the 3rd time I set system to be mounted on TWRP, 2nd one if you don't count that intial prompt. Should I mount persist and firmware too?
Hyoretsu said:
Ugh, this is the 3rd time I set system to be mounted on TWRP, 2nd one if you don't count that intial prompt. Should I mount persist and firmware too?
Click to expand...
Click to collapse
If you're flashing a zip twrp will automount system if you write that in your updater script
Why would you need to mount other partitions?
Was just curious if it's advised not to mount those partitions, already installed Play Store and set it as a system app with ES File Explorer. Never really did something to system partition but I've always left it mounted anyways.

Question How to actually delete gmail app from system?

I'm looking for a way to actually delete/uninstall gmail from system.
I know you can do a command in adb to uninstall, but that just disables the app and leaves the files in the partition.
Looking for a way to actually delete the file, and when i install it through Play Store, it just installs like a regular app, not as system app.
I've been looking through files with MiX explorer. But I'm scared if i delete the file i find, that it bricks my phone after reboot.
it shouldn't
root and use system app remover
I'm rooted and use debloater module in magisk to delete system apps. I like that I can save the list of apps I want to delete and just flash the module after each update to repeat the process.
Deleting an app folder shouldn't break anything, but if you ever have concerns just rename the folder instead of deleting. That way the system can't find it, but it's still there if you need it back.
Make sure usb debugging is active on phone in developer options, download fastboot tools connect phone to computer and select always allow usb debugging from this computer on text pop up on phone.
Open cmd line in fastboot tools dir and type
adb shell pm uninstall --user 0 com.google.android.gm
Or try this
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
toolhas4degrees said:
Make sure usb debugging is active on phone in developer options, download fastboot tools connect phone to computer and select always allow usb debugging from this computer on text pop up on phone.
Open cmd line in fastboot tools dir and type
adb shell pm uninstall --user 0 com.google.android.gm
Or try this
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
Click to expand...
Click to collapse
This is the command i was talking about. It doesn't delete the apk. After i run this and reinstall the app from play store, it is back into system app.
Why are you reinstalling it if you want to delete it?
Maybe look at systemize module to move it from system to data if that's what you are trying to do
FizzyAps said:
it shouldn't
root and use system app remover
Click to expand...
Click to collapse
That doesn't work.
It is only able to delete the updates. System apk remains.
According to the app it is located here:
/product/app/Gmail2/Gmail2.apk
I dunno if i can delete it, since this phone uses A/B partitions. Usually system apps are located in a different folder.
toolhas4degrees said:
Why are you reinstalling it if you want to delete it?
Maybe look at systemize module to move it from system to data if that's what you are trying to do
Click to expand...
Click to collapse
I'm trying to delete it to see if it fixes the notifications.
This phone is hunted with push notifications not receiving at all for this app.
Hoping that this would fix it.
bokkoman said:
I'm trying to delete it to see if it fixes the notifications.
This phone is hunted with push notifications not receiving at all for this app.
Hoping that this would fix it.
Click to expand...
Click to collapse
Try a different email app hasn't been solved yet, lot of false claims around here. There is a thread on it.
toolhas4degrees said:
Try a different email app hasn't been solved yet, lot of false claims around here. There is a thread on it.
Click to expand...
Click to collapse
I've read all those. No one has tried this yet.
Hence I'm trying to delete it
bokkoman said:
I'm looking for a way to actually delete/uninstall gmail from system.
I know you can do a command in adb to uninstall, but that just disables the app and leaves the files in the partition.
Looking for a way to actually delete the file, and when i install it through Play Store, it just installs like a regular app, not as system app.
I've been looking through files with MiX explorer. But I'm scared if i delete the file i find, that it bricks my phone after reboot.
Click to expand...
Click to collapse
I use alpha backup pro to delete gmail (and many other apps), which will permanently remove a system app (need root), however, if you want to do it the safe way, use de-bloater (playstore), which removes apps via magisk, i.e systemless, so you can revert if you f something up. cheers
Titanium Backup (root) can delete, freeze, and of course, backup system and user apps. Make a backup first, and look over the list of system apps, there are a lot there which are google-related. Freezing will do the same as pm disable....... Uninstall will remove it completely. Whether your device is A/B or not will not matter.
The nice thing about TB is you can see the actual (full) filenames of the packages, and any uninstall/freezes are easily reversible. There are probably other (google) notification service-type apps which are giving you the undesired notifications,
Good luck!
All these apps can't delete the actual apk in the /products folder.
I guess I'll have to do it manually.
bokkoman said:
All these apps can't delete the actual apk in the /products folder.
I guess I'll have to do it manually.
Click to expand...
Click to collapse
Not sure what you mean. Several of these apps do exactly that.
De-bloater Pro (from playstore) deletes the apk from /product (or /vendor, etc.) and moves it to its own folder in /data/adb/modules so that you can restore it later if you so choose (or if you accidentally delete the wrong thing and bootloop).
Debloater (magisk module for terminal) does the same thing. I use it to fully remove several system apps (Netflix, YouTube, YTMusic, etc.) in order to install non-system versions.
terlynn4 said:
Not sure what you mean. Several of these apps do exactly that.
De-bloater Pro (from playstore) deletes the apk from /product (or /vendor, etc.) and moves it to its own folder in /data/adb/modules so that you can restore it later if you so choose (or if you accidentally delete the wrong thing and bootloop).
Debloater (magisk module for terminal) does the same thing. I use it to fully remove several system apps (Netflix, YouTube, YTMusic, etc.) in order to install non-system versions.
Click to expand...
Click to collapse
Well, the apps i tried all failed with an error it could not delete it.
I didn't try that one you mentioned, because you have to pay for it.
So i went and tried the debloater module, and you are right. It did delete it. Thank you!
Let's see if this makes any difference.
So far, so good.
I have been receiving notifications from Gmail since i deleted the system app and installed it from Play Store as a regular app
Let's see if this continues working.

Categories

Resources