[Q] Package info still exists in packages.xml but app is uninstalled - Android Q&A, Help & Troubleshooting

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.

Related

Stock apps reinstalling after reboot?

My NT is using indirect's root and I had the stock apps removed. Every time I reboot, pandora, netflix, and hulu plus always show back up after I uninstall them. Any clue why they come back after a reboot? My netflix app always asks for an update and I have two copies of pandora on there.
you have to first go to root--->system---->app find the app and delete.
then uninstall
then reboot
(may need to change permissions to delete the crap)
I had this same issue, and one of the best ways to prevent it is before trying to delete/uninstall theme, is to go into the stock app manager and archive everything, this unregistered the flag that says they should be there on the device at all from B&N's perspective, and ensures they won't just suddenly appear again. I had the same issue with Netflix continually reverting to B&N's version instead of the newest version.
424aca said:
you have to first go to root--->system---->app find the app and delete.
then uninstall
then reboot
(may need to change permissions to delete the crap)
Click to expand...
Click to collapse
i'm not seeing a system folder in root... do i need to use a specific app to change permissions? i've already gone through several folders on the nook and on the memory card trying to track the apps down and can't find anything...
DemonicPhantasm said:
I had this same issue, and one of the best ways to prevent it is before trying to delete/uninstall theme, is to go into the stock app manager and archive everything, this unregistered the flag that says they should be there on the device at all from B&N's perspective, and ensures they won't just suddenly appear again. I had the same issue with Netflix continually reverting to B&N's version instead of the newest version.
Click to expand...
Click to collapse
how do you archive everything? by the stock app manager i'm assuming you mean the menu where it lists all your apps...
market--->es file explorer
install
open---->top right( star for favs) click. THen select the phone object thing. (/) is under mine
root will open up
click system(should be before vendor folder)
click on App folder(before Bin folder)
select app---> change permissions so you can delete
after delete uninstall that app(which you deleted)
reboot and it should be gone
424aca said:
market--->es file explorer
install
open---->top right( star for favs) click. THen select the phone object thing. (/) is under mine
root will open up
click system(should be before vendor folder)
click on App folder(before Bin folder)
select app---> change permissions so you can delete
after delete uninstall that app(which you deleted)
reboot and it should be gone
Click to expand...
Click to collapse
netflix was the only one i saw in the folder, but i uninstalled them all from within es and now they aren't coming back after reboot. thanks!
nevermind, **** came back. why aren't they in the folder you said and why is netflix still coming back after i deleted it?
honestly, that makes no sense. please post a picture on image shack or something and link it so we can see

[Q] How to remove partially uninstalled system app?

Hi,
I have transformed CoolReader into system app with Titanium backup. It was crashing so I tried to move it back to user app again with Titanium backup. However during this procedure TB hanged and after some 20 minutes I killed it. I later tried to uninstall it (again with TB), but it seems that there are still left parts of it somewhere so now I am unable to reinstall the app from google play (error 491) or if I clear cache and data of google play and force the application to install it keeps crashing.
So I would like to ask what should I delete to completely eliminate the traces of CoolReader (or any application in general) and be able to install it again?
I'm not sure if this will work but give it a shot.
Try finding an apk of your app and, using Root Explorer, paste it in /system/app (remember to mount /system as RW using Root Explorer). Set permissions (All read, owner-write, owner-execute) and reboot. That should register the app as a system app.
Go back into /system/app and delete it. Reboot and it should unregister it as a system app, allowing you to reinstall from Google Play

Crazy issue, an app refuse to (re)install/restore, tried all i could..!

Hello,
I had some sort of crash on my phone but i managed to get system back. All's phone appart few apps that didn't appear anymore in launcher. After checking data/app i saw their apk was corrupted, so i deleted it. Reinstall was fine for all, but not for ezPDF Reader...
I tried all i could : deleting all files related to it, wiping caches and even flashing it from cwm (with TB update.zip feature). It failed for that last solution too (apk was in data/app and not corrupted but still not showing in launcher).
Ah, forgot but i also tried copying the apk rightly named & good permission in data/app myself. Of course i did reboot everytime a change was made. Please help/tell me what's the file/thing to change so i can restore/install it.
Thanks.

[Fix]Google Play/market “Unknown error code during application install: -24

Fix for Google Play/market “Unknown error code during application install:’-24”"
This error usually comes up when you are trying to reinstall an app and it fails to install.
*Requires Root*
Go into Data/data and find the folder/file referring to that app and delete it
Also go to Data/app-lib and do the same (if it is there).
Chances are it is probably only in one location but check both. Usually what this will look like is a bunch of folders in there and the one you are having problems with will look like a file instead – regardless delete the folder/file for that app and then go to google play and it will install.
Also this will work for most TB issues as well but you may have to download the app and restore data only, I have had some work back restoring the app and then restoring data but more luck with just a fresh app from the market.
Many people have reported that this also works for them, just wanted to add it to the help and troubleshooting section.
Working solution of error 24
Method 1 (Sure Fix but requires root):
Install a file manager like Root Manager
Browse to internal storage android/data/com.whatsapp
Delete the com.whatsapp… folder
Now install whatsapp from Google Play
myashesh said:
Method 1 (Sure Fix but requires root):
Install a file manager like Root Manager
Browse to internal storage android/data/com.whatsapp
Delete the com.whatsapp… folder
Now install whatsapp from Google Play
Click to expand...
Click to collapse
Thanks I fixed mine, my "-24" error came up after I try to restore my GS3. In order to get the install to go through you have to delete the existing folder of the associated app first
Root Manager > Root/data/user/0 > find any app folder you are having trouble installing (the name is either by app name or maker's name > confirm & delete.
try to reinstall the app from Play Store and it should work. (In my case I think it's because i have a list of apps from my other acct and during the restore session somehow the Play Store was confused and couldn't verify the app install.)
thanks worked fine.
i face this issue whnever i clean dalvik cache thrugh Link2SD plus

[Q] problem with root/ uninstalling apps

Hello. I'm not very experienced with android and recently got a new z ultra (6802). I think it came with 4.4.2 or 4.4.3 i'm not sure, but as soon as i turned it on i was notified to update to 4.4.4. All went well and one of the first apps i installed was clean master. I hadnt tried to root the phone and i was thinking about it mostly in order to get rid of some preinstalled apps, but i found out that clean master had an option to "deactivate" them so they disappeared and all was fine. The last few weeks i loaded the phone with all sorts of useless stuff i wanted to try, and today i tried rooting it using this tool and everything worked ok. Then i did a hard reset and started setting everything up again... But this time clean master, root app delete and 2 other apps of the same type wouldnt uninstall system apps (despite having root access now). Any ideas on what to do? Is it because of the root - should i try to unroot it? Where can i find these ftfs needed? I saw some in the forum but they are for 6833..
cost3225 said:
Hello. I'm not very experienced with android and recently got a new z ultra (6802). I think it came with 4.4.2 or 4.4.3 i'm not sure, but as soon as i turned it on i was notified to update to 4.4.4. All went well and one of the first apps i installed was clean master. I hadnt tried to root the phone and i was thinking about it mostly in order to get rid of some preinstalled apps, but i found out that clean master had an option to "deactivate" them so they disappeared and all was fine. The last few weeks i loaded the phone with all sorts of useless stuff i wanted to try, and today i tried rooting it using this tool and everything worked ok. Then i did a hard reset and started setting everything up again... But this time clean master, root app delete and 2 other apps of the same type wouldnt uninstall system apps (despite having root access now). Any ideas on what to do? Is it because of the root - should i try to unroot it? Where can i find these ftfs needed? I saw some in the forum but they are for 6833..
Click to expand...
Click to collapse
Well, clean master is one of the app I hate most. Killing app processes frequently and clearing app caches are the bad ideas for android devices because android system always try to restart apps everytime you kill. So it greatly reduces battery life. Clearing caches can make apps to start slowly.
That's not the point, right? But just a suggestion not to use task killers and cache cleaner if you have enough RAM and storage space.
Ok now for your problem not uninstalling system apps,
-Install ES File Explorer
-Tap the upper left of the app (three striped shape)
-Tap Tools, Tap Root Explorer (not on the button "On") giving/allowing/authorize root access
-Now Tap Mount R/W and choose every partition as R/W then Tap OK
-Let's get back to explorer, Tap the upper left box labelled as "/" (it will redirect you to root of the Device)
-Go to "system" folder in explorer
-There are two folders in Kitkat, namely "app" and "priv-app"
You can now choose apps to be uninstalled that you couldn't uninstall inside these folders by removing any apps (and .odex files) by Long pressing on apps and choose multi apps at once.
For me, I don't delete apps that I wanted to uninstall but I cut them and create a new folder on sd card and paste them all in that new folder for later needs (you can navigate to internal or external storage from the upper right box of the Explorer, to create new folder, tap on the button with "+" sign at the bottom left corner of the app). Don't delete apps that you don't know well because doing so can prevent your device from booting up.
P.S. You can also install apps as system ones in that reverse way (copy, paste from external to system/app). Remember not to include space in the name of the app you wanted to install as system.
Remember to restart the devices after moving/deleting apps.
I think you now understand how to do. Good Luck, mate.
Thanks for taking the time to help! and es file explorer looks like a really nice app. i followed your instructions and moved some of the apk and matching odex to sd card. the problem is the apps didnt dissapear from the list and as soon as i was done play store was downloading new versions of the apps i moved... what i dont understand is why it worked in the first place when it was new! could it be the sony firmware it came with? since this failed, is there an app to freeze these things?
cost3225 said:
Thanks for taking the time to help! and es file explorer looks like a really nice app. i followed your instructions and moved some of the apk and matching odex to sd card. the problem is the apps didnt dissapear from the list and as soon as i was done play store was downloading new versions of the apps i moved... what i dont understand is why it worked in the first place when it was new! could it be the sony firmware it came with? since this failed, is there an app to freeze these things?
Click to expand...
Click to collapse
One thing I left to say that you must restart your device as soon as you finish moving/deleting system apps. After rebooting, the device system will delete app leftovers. It will solve your problem of not disappearing from the list.

Categories

Resources