[System App Help] Apps in priv-app not showing in Android System - Nexus 6P Q&A, Help & Troubleshooting

For clarity sake here is what im trying to do.
take camera folder that has camera.apk in it with camera.odex in the arm64 folder and move it into my system/priv-app/ that should hypothetically install it as a system app after a reboot.
Im doing this on a nexus 6p with android N preview 2 and the only file explorer that mounts the system as R/W is FX File Explorer (While in booted system; i have full control via TWRP though)
I do reboot because i know 5.x+ requires reboots between system changes.
I have done this via FX and is stays there even after reboots. Ive done this via TWRP and stays after reboot.
my issue is that after a reboot, the camera app does not show in the system. Its not is the app list in settings and i cant find any instance of the android system recognizing it.
I have this issue no matter what the app is unless i install the app as a non-system app first then manually create its folder system in system/priv-app/ and copy the apk to its newly created folder then uninstall the non-system app version and reboot. But i cannont do that with every app. Some have to be system apps from the beginning or they refuse to install (as expected)
Any help on this will be hugely appreciated!

Any ideas guys?

Same problem on my Nexus 5 with Nougat rom. I hope someone can help.

Related

Deleting an Android app with windows explorer ?

Whilst setting permissions in Android with permissions app I barred Launcher Pro's permission.
Now when I reboot Android (American Android) Launcher Pro crashes and the OS is stuck in a loop.
Is there any way of deleting or replacing Launcher Pro from Windows ?
You can try File Explorers like "Droid Explorer" or something ..
I use adb, you may give it a shot, too. remember to mount your system (adb remount)
Not possible from windows explorer, tried a number of possible solutions, ended up deleting the entire Android folder on the SD card and starting again.
Back to square one, my fault for not backing up before making potentially catastrophic changes to the config of the install.
If you're using cLK, use CMR:
1. to go advanced and to fix permissions, it should set it all to default.
or
2. to reflash the rom, it will not erase data, but will reinstall system => launcher pro fixed.

Unable to modify /system folder

I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Edit: found out I'm unable to uninstall system apps for some reason. So the issue isn't space related.
Toilet Clauger said:
I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Click to expand...
Click to collapse
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Sent from my OnePlus6T using XDA Labs
Mannan Qamar said:
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Click to expand...
Click to collapse
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Toilet Clauger said:
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Click to expand...
Click to collapse
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
toolhas4degrees said:
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
Click to expand...
Click to collapse
I was actually able to find the issue. Space was the issue. I guess there's a space buffer needed from what a file explorer says is left and what's actually left. I uninstalled a couple system apps I disable anyway and was able to insert files/apps into system again.
I made space easy I have the new OnePlus camera apk 125mb the old one is 67mb

Moving app to /system not working

Hi.
I am new to this rooting and stuff. I got my pixel 4 rooted with magisk manager. (To activate motion sense). But now i am trying to convert user app to system app And it doesn't work. I have tried link2sd,system app mover even use fx file explorer to paste the app in /system/app. It just doesn't work.
Also tried with magisk module systemizer, the app get transferred to system but that app only crashes.
What to do? Am i doing something wrong?
spitfire700 said:
Hi.
I am new to this rooting and stuff. I got my pixel 4 rooted with magisk manager. (To activate motion sense). But now i am trying to convert user app to system app And it doesn't work. I have tried link2sd,system app mover even use fx file explorer to paste the app in /system/app. It just doesn't work.
Also tried with magisk module systemizer, the app get transferred to system but that app only crashes.
What to do? Am i doing something wrong?
Click to expand...
Click to collapse
I can't say anything about the mentioned magisk module because i don't use it.
But i think your system is ready-only as it is by many other phone nowadays and that is probably the problem. For example i can't modify system on my pixel 4 xl because it is mount as read-only (and i have installed Magisk, too)
That's the main reason why Magisk is the root tool nowadays: it works systemless so it doesn't need to touch the system partition.
I know some apps could mount the system as read-write in the past and i think adb could do this too theoretically.
But i can't give you detailed steps because i didn't need to mount my system as read-write in the past.

How to uninstall Google Apps on ROOTED Oneplus 5 mit OxygenOS 10.0.0

I have had the Oneplus 5 for many years. After each update of OxygenOS I uninstalled some system apps (Chrome Google Photos, Gmail, Google Movies etc) in Solid Explorer (with root access).
But, since the update to OxygenOS 10.0.0 with Android 10 this does not work anymore. Solid Explorer says that the app has been deleted, but after a reboot it is still there.
When I try to uninstall one of the apps with Titanium Backup, the message "Cannot remove system app. Failed to locate the apk file."
Does anyone have an idea how to permanently uninstall and delete system apps?
Thanks!
Berta Paneslowski said:
I have had the Oneplus 5 for many years. After each update of OxygenOS I uninstalled some system apps (Chrome Google Photos, Gmail, Google Movies etc) in Solid Explorer (with root access).
But, since the update to OxygenOS 10.0.0 with Android 10 this does not work anymore. Solid Explorer says that the app has been deleted, but after a reboot it is still there.
When I try to uninstall one of the apps with Titanium Backup, the message "Cannot remove system app. Failed to locate the apk file."
Does anyone have an idea how to permanently uninstall and delete system apps?
Thanks!
Click to expand...
Click to collapse
On Android 10 it's not possible anymore to delete system apps directly from OS, even with root access. You must use Titanium for show the path of apps you want deleted, system apps are located on :
system/system/app
system/system/priv-app
Go in recovery TWRP
> mount Cache, System, Vendor, Persist, Data, Firmware partitions
> Advanced > File Manager > system/system/priv-app/Gmail > "Folder" button on right bottom > Delete
Do the same thing for all apps that you want deleted.
Actually,it does get deleted from a root explorer, however, few apps have symlinks as well, or few apps have stubs as well. Hence those may invoke reinstallation automatically. Those are the ones which need to be deleted permanently from recovery (especially).
As you have discovered, several apk files are system linked and so every reboot will bring them back. To counter this I use the xXx debloat script. The module is flashed in Magisk and allows one to select which apps and services you want removed. Here is a link to the module on xda: https://forum.xda-developers.com/showpost.php?p=82391573&postcount=2.
You can flash the module with stock settings or make a custom profile as I did.
I have a question or two...
1) Is it ok to convert Chrome and Google Maps from system to user apps in android 10?
2) Will first deleting the app using TWRP, then install it from Playstore convert the app from a system to a user app?

Boot freeze after moving an app top priv-app

Good morning
It's my first post, but xda saved my phone many times these years and now I've a new problem and can't find a solution.
I'm just trying to move an app (fakegps) in System/priv-app with:
Link2sd and superusers by magisk, error like "mount: '/system' not in /proc/mounts"
Systemize by magisk module and Termux with superuser, but it doesn't work
Moving directly the app folder in system/priv-app changing permission (like other priv-app) to folder and app with the best manager "MiXplorer Silver" but rebooting the system will freeze to boot logo.
Now i've flashed stock firmware global (twrp for mi9t european version can't see system folder) and now when it freeze I just delete the app folder from priv-app to unlock the phone, but the problem is still the same... is there a working way to move an app to priv-app in Xiaomi Mi 9T?
Your point of this post is that u want to make an installed app in your data to a system one ? move it into system/app not priv-app
Yes, in system/app the app works, but for expert mode of fakegps I need to put it in priv-app...

Categories

Resources