I flashed the current Nexus 5 CM12 daily with Paranoid Android Google Apps today. Everything's working, except that I seem to be stuck with the AOSP camera. Titanium Backup and other similar utilities don't seem to be able to uninstall it completely; they can remove the icon and the apk but some traces remain. After removing camera2/AOSP Camera with TB and verifying the absence of /system/app/Camera2, I've tried:
Installing from Play Store, which results in error -504 (not the common and easily solved error 504, mind you, but the same underlying problem as...)
adb install without -r:
Failure [INSTALL_FAILED_ALREADY_EXISTS]
Because...
W/PackageManager( 772): Attempt to re-install com.google.android.GoogleCamera without first uninstalling package running as com.android.camera2
adb install -r (same as above)
I realize I could wipe system/data and go from there, but I'd prefer to avoid that if at all possible. I'm hoping there's just some stray piece of metadata somewhere that I can delete so Android knows that com.android.camera2 is gone. Any suggestions? Thanks.
EDIT:
Booted into recovery and copied the files into /system/app/GoogleCamera, set permissions, and (shockingly) that did it.
I found a solution.
You need to edit the file
/data/system/packages.xml
Locate the following text and delete it:
Code:
<renamed-package new="com.google.android.GoogleCamera" old="com.android.camera2" />
Then install the application from Play Store.
Related
Hello,
I have removed one of the pre-installed apps from a Sharp Docomo SH-12C (Android 2.3.3). It is nothing vital, and does not affect system performance - an E-book reader app: jp.co.sharp.exapps.
First I updated the app, then integrated the update in /system/app - but it would crash on reboot, so I decided to get rid of it.
Unistalling didn't seem to wipe all data. I tried reinstalling but got a "Failed" message. Then I manually deleted the .apk and the .odex from /system/app.
The app name (jp.co.sharp.exapps), however, would still appear in the list of installed apps when viewed from Settings > Manage Applications. Eventually, I managed to "completely" remove it using ES File Manager's app manager.
But now I notice that some app info still exists in /data/system/packages.xml:
Code:
<updated-package name="jp.co.sharp.exapps" codePath="/system/app/EBook.apk" ft="14011d59a10" it="14011d59a10" ut="14011d59a10" version="2500" nativeLibraryPath="/data/data/jp.co.sharp.exapps/lib" userId="10062">
<perms />
</updated-package>
.....
<shared-user name="jp.co.sharp.exapps" userId="10062">
<perms />
</shared-user>
I tried manually editing these off the file but the file gets restored on reboot.
I have deleted the folder and its contents from /data/data.
How does this info get written to packages.xml? Can I find the source and delete the app info from there?
I suspect that Sharp have implemented some extra security mechanism to their phones so that people can't simply freeze or delete system apps but have no idea what it might be. For example, if you freeze even one built-in app, and do a factory reset, the phone will go into a boot loop. I believe the same happens if you uninstall a system/app.
Ideas appreciated!
Did you trying deleting the package.xml file then wipe cache and dalvik cache?
i got same problem.Did you managed to solve it?
That persist on Android 11.
I recently tried to install Xposed Framework on my galaxy s3 however i think something went wrong causing it unable to access the play store correctly with the error that "....gapps no responding" or something like that.
I thought it was easier to just format everything but it didn't work and now I'm missing my dialer, contacts and numerous other things.
I did some research and I'm guessing it's something to do with the permissions. I used TWRP fix permissions and it spews out some errors with things like:
"Unable to stat: /data/data/com.android.contacts" and other ones including one with dialer.
So the problem is that phone is able to receive text messages and access the play store, but it can't install any apk and download any updates.
Reflash your firmware, you can't fix the broken framework any other way.
Okay, I tried doing that with TWRP. Still spews out errors when it tries to update the partition. I can access the phone but still shows no sign of dailer, contacts etc. Can't install apps as well.
Managed to adb into the phone and access the shell to the data/data/ folder. I tried to access the folder com.android.contacts and it says I/O error.
So i used 'ls -la' to view permissions and it gives out I/O for:
com.android.contacts
com.android.dailer
com.android.providers.calender
com.android.providers.contacts
com.android.providers.downloads
Flash stock firmware with odin then factory reset.
Hi,
I think I broke my apk installer...sort of.
Since a few days I can't install any apks that are from Google Play, so I think the whole installer for external apps is broken.
Ok, I use Lucky Patcher and I think it has broken it, but only to use the pro features of Titanium and Poweramp...they don't want to recognize their keys from PlayStore for some reason or recheck them and won't find them even after reinstallation of both, app and key. I already tried it with XInstaller and with formating /system and reinstalling the OS via TWRP (running latest PA 5 legacy alpha for LG G2, but there seem to be no such issue known) but both have not helped. I only can install apps by coppying the apk manually to /data/app or /system/priv-app and restart the device. I also made a logcat log while trying to install LMT Launcher so I hope this can help to identify the problem.
If anybody knows a solution, please help, installing apps and updates the manual way is quite annoying.
EDIT: It looks like the Package Manager is trying to install apps on a non existing SD-Card. There is no possibility for an SD-Card on my G2 (only on Korean models) without USB-OTG but the ROM has the buttons in App Overview to move Apps to an SD-Card, so I think the installer tries the same. Is there a way to find out the path where it wants to install apps and Link this (with XPosed) to the real installation folder?
I recently purchased a Moto Z Play Droid Edition which is incapable of being rooted or the bootloader being unlocked. In an attempt to remove bloatware, I have removed several apps. I managed to "uninstall" apps following this XDA tutorial, however without root, that merely disables them from the user.
I have used an old version of Google Calendar for several years, and I wanted to be able to install the same .apk that I have used, however Google Calendar was installed as a system app on Stock Android, so I would need to downgrade it. When I try the simple commands of "adb install -r -d -f calendar.apk" I get [INSTALL_FAILED_VERSION_DOWNGRADE]
Because I was unable to fully uninstall the Google Calendar app that came with the stock ROM, there must be some remnant that prevents me from installing an older version.
Is there any way to progress and install this apk? Do I need to change something in the AndroidManifest.xml in order to proceed? Is that even possible with a Google app, which is most likely encrypted?
Any other suggestions?
How do I go about completely uninstalling a system app on a rooted device?
My searches resulted in
- non-rooted approach of disabling/uninstalling the app for the main user via 'pm uninstall -k --user 0'. I'm interested in a complete uninstall.
- references to Play Store apps. I'd rather have a cmd-line or script approach if possible.
Background:
I'm trying to downgrade my version of com.google.android.googlequicksearchbox
- trying to install an older version results in Failure:
Code:
pm install -r -d /sdcard/Download/com.google.android.googlequicksearchbox_6.13.25.21.>
Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
- so I figure I need to completely uninstall it first.
If it makes a difference, the device is running LineageOS 14.1 (Android 7.1.2)
thanks
albert
AlbertDude said:
How do I go about completely uninstalling a system app on a rooted device?
My searches resulted in
- non-rooted approach of disabling/uninstalling the app for the main user via 'pm uninstall -k --user 0'. I'm interested in a complete uninstall.
- references to Play Store apps. I'd rather have a cmd-line or script approach if possible.
Background:
I'm trying to downgrade my version of com.google.android.googlequicksearchbox
- trying to install an older version results in Failure:
- so I figure I need to completely uninstall it first.
If it makes a difference, the device is running LineageOS 14.1 (Android 7.1.2)
thanks
albert
Click to expand...
Click to collapse
Download RootBrowser here :
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
Open Root browser , then go to /system/apps
Search for the Velvet folder and delete it , then reboot your device .
Warning:
This may cause random Force Close and several issue due the link between google app and other apps.
Thanks for the tip about Velvet
It was found under /system/priv-apps
After removing Velvet (I copied it to /sdcard so I could easily restore it later), I was able to install an old version of googlequicksearchbox.
I then put Velvet back.
And the old version of the quick searchbox app (with the swipe-right to dismiss feature) seems to be working.
Thanks!
RaiZProduction said:
Download RootBrowser here :
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
Open Root browser , then go to /system/apps
Search for the Velvet folder and delete it , then reboot your device .
Warning:
This may cause random Force Close and several issue due the link between google app and other apps.
Click to expand...
Click to collapse