[Q] Does system rom restore, recover system apps? - Galaxy S 4 Q&A, Help & Troubleshooting

Does reloading loading stock room, also reload all the stock system apps? (Without data wipe)
I'm asking because, for some reason, after loading stock rom, the YouTube APK that I custom loaded is still there (inside data directory).
But the original system YouTube APK is no where to be found within the system directory.

Turns out it was SuperSU installation bug.
It moves the few Google Apps off of System directory to make room during installation but failed to move them back.

Related

Rooted & TWRP 2.8.0.1 - flashable zips?

I have successfully rooted my T230 and installed TWRP 2.8.0.1. I now want to update the Google system apps with the latest available. I currently do this on my HTC One X running CM11 with the PA-GAPPs from here. I also modify the .zip file contents with the latest when they come out - I usually check here.
Now I tried this on the T230 and the script starts but exits saying 'Incompatible GApps Currently Installed' - I wasn't expecting it to work to be honest.....
I still want to update the Google system apps in /system/app and /system/priv-app to the current ones as the ones in the OTA ROM are fairly out of date. I know I can let the Play store update them to the current ones, however I wipe the device frequently and would prefer not to have to go through this each time. There are apps on the play store that let you move system apps and to user apps and vice versa which I have used before however its a faf each time they get updated as you need to make the system app a user app, let it automatically update or manually update it yourself with the .apk file and then move it back to system/app.
I'd prefer a flashable .zip I can install from recovery?
Andy
ADB100 said:
I have successfully rooted my T230 and installed TWRP 2.8.0.1. I now want to update the Google system apps with the latest available. I currently do this on my HTC One X running CM11 with the PA-GAPPs from here. I also modify the .zip file contents with the latest when they come out - I usually check here.
Now I tried this on the T230 and the script starts but exits saying 'Incompatible GApps Currently Installed' - I wasn't expecting it to work to be honest.....
I still want to update the Google system apps in /system/app and /system/priv-app to the current ones as the ones in the OTA ROM are fairly out of date. I know I can let the Play store update them to the current ones, however I wipe the device frequently and would prefer not to have to go through this each time. There are apps on the play store that let you move system apps and to user apps and vice versa which I have used before however its a faf each time they get updated as you need to make the system app a user app, let it automatically update or manually update it yourself with the .apk file and then move it back to system/app.
I'd prefer a flashable .zip I can install from recovery?
Andy
Click to expand...
Click to collapse
Well, I haven't tried flashing a Gapps zip but I agree that the apps are really outdated and would be too much to update each time you factory reset/wipe the device.
One way of doing this as you have mentioned: Remove the current Gapps. But I'm not sure it works for the play services. But even doing this may lead to the same error while flashing the zip.
Second way, as you said yourself, would be to make them as user apps and update them and make them system apps again. Which would take some time. But it seems the best method here.
The last way, specific to your case, is to wipe the device, update the apps and finally make a nandroid backup. Next time, instead of wiping, just restore the backup.
There can also be other ways to flash the zip in traditional manner but I think it would require a chance in the updater script of the package. (While you're at it, make sure you're flashing Kitkat 4.4 Gapps and not L Gapps.)

[System App Help] Apps in priv-app not showing in Android System

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.

[Q] How to integrate Apps/Updates to system

Hi,
I would like to know if there is a way to integrate/push Apps into System Partition beside using flashable ZIP file? For a long time Link2SD, LP and Titanium Backup did the trick, but now they all don't work.
Pushing an update (for example Play Store App) to system will just add the APK and not replace old one, so you have the App twice.
Pushing an installed User App to system will make it disappear, while it is wasting space in system partition. It's just not recognized by Android.
Right now (MM/6.0.1 ROM), the only working method I know of doing it is flashing ZIP file in Recovery or Flashfire. Is there any other working method? Preferably a script or an App that is still working on G900F with MM Stock ROM?

Unable to reinstall one app, is original dir already in data/app?

Hi, I've a rooted Nexus 7 with crDroid rom, today I've installed Shazam but, I don't know why, after a reboot the app disappeared, apparently removed.
Now...
I tried to reinstall the app from PlayStore but a 506 error appear.
I also tried with an apk from apkmirror but a "no more space left" error appear and installation stopped.
I also tried to:
To remove cache and data from PlayStore, Playservice and Service framework. To Wipe dalvik and cache partition. To manually remove every folder and files related to Shazam.
No success in any vay.
The strange thing is that the original app folder "com.shazam.android-1" in data/app is missing from ES File Explorer but appear with an ls command from TWRP terminal. But if I try to make a dir with the same name, ES notify me the impossibility to doing this and if I use terminal the "no such file or directory" error appear.
How can I clean the system and reinstall Shazam without factory reset my Nexus 7?
Many Thanks!

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?

Categories

Resources