After deleting some bloat - Acer Iconia A500

is it safe to delete the folders in /data/data that correspond to the apps deleted in /system/app?
Didnt know how to search about this and I dont know why it would be necessary but if its not being used, I would think there would be some benefit to cleaning up the crap.
EDIT: apparently its safe. I backed up first also found other corresponding files and deleted those. Don't remember where they were located exactly.

Related

[Q] Rooted Samsung Fascinate v. Google talk service

So yes, Titanium Backup and the deletion of google talk are at it again. This time I actually knew I shouldn't delete then brain farted and did it anyway. So here lies my marketless and FC gapps everytime I pull the market app up.
For the record I searched as best as possible for a solution and the closest I got was a link for gtalk and the Evo 4G, and needless to say it still doesn't work, the market and the force close gapps.service still happens after re install
A solution without a flash and re-root is preferred, please educate the new guy! Thanks for the record I know I'm a jack wagon lol.
Search these forums (or Google) for Fascinate System Dump. It will have whatever files you deleted.
So dump files obtained. Is this is simple drag and drop to the OS or do I need a program on the computer to be able to interface with the filesystem on the Fascinate?
Bare with me guys, while I bring myself up to speed on tearing through the Andriod OS, hacking windows is one thing - tearing apart my phone for the first time - thats a whole nother ball game for me.
DeezNotes said:
Search these forums (or Google) for Fascinate System Dump. It will have whatever files you deleted.
Click to expand...
Click to collapse
So I did that, finally got the files onto my phone and reinstalled all the google.apks including ones that were already existing on the phone.
To no avail I still get the gapps Force close and I'm still unable to download from market after restoring Google Talk Service.
Any help or a simple suggestion would be appreciated - been trying this all day with no success.
I'm not sure if you "installed" the apps or if you placed them back in their proper folder(s), but my guess is that any app you had pre-installed which you deleted was previously in the /system/app folder. The dump has all the files in this folder. You don't need to re-install these files, you need to just copy them back to the /system/app folder.
When you download and install an app, it will install to /data/app. If you "installed" the files rather than copying them back to /system/app, that may be the problem.
On a side-note, this is why I like to move files from one folder to another rather than use Titanium Backup to delete apps/files.
Don't forget to reboot your phone after you copy the files back to /system/app.
Lastly, I'm not responsible for what you break.
DeezNotes said:
I'm not sure if you "installed" the apps or if you placed them back in their proper folder(s), but my guess is that any app you had pre-installed which you deleted was previously in the /system/app folder. The dump has all the files in this folder. You don't need to re-install these files, you need to just copy them back to the /system/app folder.
When you download and install an app, it will install to /data/app. If you "installed" the files rather than copying them back to /system/app, that may be the problem.
On a side-note, this is why I like to move files from one folder to another rather than use Titanium Backup to delete apps/files.
Click to expand...
Click to collapse
Roger that side note - that will be my new policy when managing files.
As far as the clarification - I have been indeed installing the apps instead of moving them to the appropriate location - I guess the difference in installation location never occurred to me. Thank you in advance for the heads up and I'll report my success or failure, hopefully success after i get out of work this evening.
Don't worry if I brick I won't hold you accountable - after all I'm the one who deleted Google apps from the Andriod phone. LOL, In hindsight it was a terrible Idea.

Cant delete CWM backups from internal SD Card

Need some help here:
I need to delete some of the backups I made with CWM recovery. I already have them backed up onto my PC, but need to delete them to make some room. For some reason I cant.
Ive tried root explorer, es file explorer, and my PC. Im unable to change the permissions of the files, and if you look at the pics I attached youll see they have some strange permissions, but I cant change them.
I am able to move the files anywhere else in the sd card folder, rename them, but no matter what I cant delete them. And when I try from my PC it shows them disappear, but they are actually still there.
If there is a way to format the sd card folder I will, but thats not an option in the settings, or CWM. Can someone please help me out here? This is really frustrating me. Thanks
No issues here when I delete backups using ROM Toolbox.
UnknownFearNG said:
No issues here when I delete backups using ROM Toolbox.
Click to expand...
Click to collapse
I tried through ROM Toolbox and still couldnt delete them.
Gam3r 4 Life said:
I tried through ROM Toolbox and still couldnt delete them.
Click to expand...
Click to collapse
Same, tried with multiple apps too.
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
phonic said:
I posted this in the other thread, but figured I would do so here in case other people needed the "fix".
Ok, so some good news and some bad news.
The good news is, I was able to put together a flashable zip that WILL DELETE the entire CWM backup directory from the sdcard. It is available here:
http://core.routed.com/CWM_Backup_Wipe.zip
You simply need to flash it via CWM. Easy peasy. I confirmed that the directory/files were all removed, AND the storage space is now available for other files (I checked df before and after).
The bad news is, before attempting to delete the directory, I first tried changing the permissions (recursively) to see if that was a better "fix" for this problem. Unfortunately, even with the directory 777 and the files 666, I still could not manually delete them through the system. Which means, whatever bug is causing this problem is much more severe than a file/directory permission thing.
In any case, until the CWM developer can figure out a way to fix this bug, at least we have a way to manually remove the backups and get our storage space back.
The script in the zip is very simple. It just does a recursive delete on /sdcard/clockworkmod/backup.
Enjoy!
Click to expand...
Click to collapse
Just saying thanks for this, I hope they figure a fix out soon. Flash worked perfectly, for some storage space back. :good:

[Q] Removing bloatware from Razr M?

I put the new root on my M the other day. I went into ES File Explorer and found the system apps folder and deleted everything I didn't want (didn't delete anything important). But after that I noticed that some of the apps I deleted were still on the phone. I realized that I forgot to look in the vendor apps folder. IT ISN'T THERE! lol! Can anyone tell me where I can find the vendor apps folder? If there even is one?
lol honestly safest thing would have been to remove via titanium backup.. I just froze everything. I'm sure you could remove that way too and make sure all the other files attached would have been removed.

[Q] Is deleting files from /System/App safe?

Navigating through my root tree, I´ve stumbled at so many bloatware files I just want to delete to save some storage space (16GB version here) but I´m a little afraid of. They are on the /System/App folder and for every .apk there´s a .odex file, so I would like to delete them both. Is it safe? Is there any verification process at boot of these files? Some of them look like really system apps that I´ll never touch, but others are for other phone carries in my country, social networks I´ve never heard before etc.
There´s another folder called /System/Apps/Bootup that I would love to delete files from, there´s a lot of LG crapware in there that I think are loaded at boot but I have the same fear of bootloops...
Any solution to my urge to free some memory?
Hi,
Delete some apps in /system/app not gonna free up your "sd card" storage... You always will have the same free amunt of memory available on your 16 Gb...
It's normal to have an .odex file under eachs system apps, your rom is odexed (search on Google if you don't know what is it).
You can delete some system apps but be careful at what apps you delete, make a backup first.
Some system apps are alright to delete along with the .odex ones too. There's a list in the general section I believe that lists off apps that can be deleted with no issue.
Problem is though unless you plan to store stuff in your system partition, deleting apps doesn't really increase your usable storage.
Sent from my LG G2
Re,
Yes there is a (brief) list here: http://forum.xda-developers.com/showthread.php?t=2456974&highlight=list or http://forum.xda-developers.com/showthread.php?t=2521066.
Like SupaSwag said when you delete an app, delete the .odex file too. If you don't know what you are doing I recommend you to leave the system apps as there are to avoid any kind of issues. At best you'll gain a little free RAM and maybe a little battery life without some apps runing/connecting to the network in background but in any case you will not gain more usable storage. At worst some function will not work at all, Force Closes, bootloop, etc...
In any case backup first (backup in recovery if something goes wrong and you encounter a bootloop) or at least a backup with an app like Titanium Backup (and make an uptade.zip in Titanium).
And what do you think of the apps in the bootup folder?
And then, how van I free some space for my mp3s? Coming from a S3 with a 64gb microSD card.
sylviofurtado said:
And what do you think of the apps in the bootup folder?
Click to expand...
Click to collapse
Re,
It's some LG apps, the name of the apps say all: TaskManager, FileManager, etc... Nothing very important it's LG stuff but it depends of you... I deleted all the apps in the /system/apps/bootup because I don't need them with my use, but you?
I think the best is to freeze those apps with Titanium Backup, use your phone as "normal" for a few days and if you don't have any issues or if you realize that you don't need them, then delete them...
Another solution is to rename the apps you don't want with the .bak extension, in case you need an app you can rename it by removing the .bak extension, reboot and the app is here

Restore deleted app (qualcomm/sprint) on rooted phone?

Hello there, hope everyone's alright
While uninstalling bloatware I mistakenly deleted my android's file manager (File 7.1.1 com.android.documentsui).
I can't reinstall it via adb because the versions I download don't match the signature of the allegedly deleted file.
Is there a way in which I can absolutely remove every trace in order to have it accept the new apk, or that being impossible, to restore the former file?
Alternatively, could anyone that has the same model/rom extract the app file and upload it for me, or would it clash as well with the signature?
Thanks in advance!
just install a root file browser like mixplorer and drop(copy) the .apk file back into /root/system/priv-apps folder and reboot
it will automatically be installed as system apk and work ....
Sent from my woods_f using XDA Labs
Nevermind what I just posted. Edited.
I managed to install it (had to try between some different versions of the apk file), but now it closes/crashes/stops as soon as I open it, every single time. Any ideas as to what might be the issue?
Dotf said:
Nevermind what I just posted. Edited.
I managed to install it (had to try between some different versions of the apk file), but now it closes/crashes/stops as soon as I open it, every single time. Any ideas as to what might be the issue?
Click to expand...
Click to collapse
You probably need the libs. Or the OAT folder. Or the permissions may be wrong.
Here you go. I'll attach screenshot of permissions as well.
It's not a flashable zip, just extract the files and place in system/privapp in a folder (name it DocumentsUI) and set permissions.
You cannot just install it like a regular app. You have to manually place the files
madbat99 said:
It's not a flashable zip, just extract the files and place in system/privapp in a folder (name it DocumentsUI) and set permissions.
You cannot just install it like a regular app. You have to manually place the files
Click to expand...
Click to collapse
Did exactly as you pointed out, but no luck.
After that I tried opening the apk on the privapp folder from mixplorer, and it says it's corrupted.
If I try to install said apk via adb, I get
Package couldn't be installed in /data/app/com.android.documentsui-1: Package /data/app/com.android.documentsui-1/base.apk code is missing
Dotf said:
Did exactly as you pointed out, but no luck.
After that I tried opening the apk on the privapp folder from mixplorer, and it says it's corrupted.
If I try to install said apk via adb, I get
Package couldn't be installed in /data/app/com.android.documentsui-1: Package /data/app/com.android.documentsui-1/base.apk code is missing
Click to expand...
Click to collapse
ADB is trying to install it as a user app which I said you can't do. Just place the APK and the oat folder in there. Make sure the permissions of the APK and the odex all match the rest of the files in the privapp folder and reboot. Don't forget to reboot that's very important.
You need all folders. Folder named oat, and in that, a folder named arm. Put odex in there. Make sure all permissions match others in priv app (even the oat and arm folders). Reboot.
---------- Post added at 06:22 PM ---------- Previous post was at 06:06 PM ----------
Did you delete anything other than document ui? Debloating doesn't mean randomly delete system apps. Some things are needed for Android to function.
madbat99 said:
ADB is trying to install it as a user app which I said you can't do. Just place the APK and the oat folder in there. Make sure the permissions of the APK and the odex all match the rest of the files in the privapp folder and reboot. Don't forget to reboot that's very important.
You need all folders. Folder named oat, and in that, a folder named arm. Put odex in there. Make sure all permissions match others in priv app (even the oat and arm folders). Reboot.
---------- Post added at 06:22 PM ---------- Previous post was at 06:06 PM ----------
Did you delete anything other than document ui? Debloating doesn't mean randomly delete system apps. Some things are needed for Android to function.
Click to expand...
Click to collapse
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Dotf said:
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Click to expand...
Click to collapse
If it was downloads, I may have given you the wrong one. Let me check.
Dotf said:
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Click to expand...
Click to collapse
if you have a twrp backup just restore from there ...if you never made a backup of your stock rom in twrp before or after rooting or making sytem changes you are right that you are too cocky ..
Sent from my woods_f using XDA Labs
Dotf said:
Made sure to have everything with the proper permissions, still, no luck.
The other apps that I deleted were either sprint and amazon crap, or google games/videos/music and youtube. This one I mistakenly got rid off because it was labeled as "Downloads" and looked kinda like one of those other unnecessary google apps. In hindsight I should have backed up everything; got too cocky for my own good.
Is there some system-wide checkup that can be performed to make sure nothing else of importance is missing, or at this point is it better to give up and reinstall the rom/factory reset?
Click to expand...
Click to collapse
Which one did you delete? DocumentsUI or downloadprovider?
What I gave you extracted right from my phone (virgin mobile, exact same as sprint) so if it didn't work, either you did something wrong or deleted something else.
madbat99 said:
Which one did you delete? DocumentsUI or downloadprovider?
What I gave you extracted right from my phone (virgin mobile, exact same as sprint) so if it didn't work, either you did something wrong or deleted something else.
Click to expand...
Click to collapse
Sorry for taking so long, I was out of the house.
While the app appears as Downloads in the app browser, on the properties it's listed as Files 7.1.1 aka documentsUI, the same you uploaded for me.
The main gripe with all of these, is that I can't install or update apps via playstore. They start the download process and get stuck in a loop there, never actually beginning the download in itself, in case it helps as a clue.
Dotf said:
Sorry for taking so long, I was out of the house.
While the app appears as Downloads in the app browser, on the properties it's listed as Files 7.1.1 aka documentsUI, the same you uploaded for me.
The main gripe with all of these, is that I can't install or update apps via playstore. They start the download process and get stuck in a loop there, never actually beginning the download in itself, in case it helps as a clue.
Click to expand...
Click to collapse
Try clearing app data for download manager. Also clear cache for playstore. Sometimes you have to clear data for playstore as well. Pretty common problem. Clearing data for those usually works. Some ppl have had to clear data for play services as well.
madbat99 said:
Try clearing app data for download manager. Also clear cache for playstore. Sometimes you have to clear data for playstore as well. Pretty common problem. Clearing data for those usually works. Some ppl have had to clear data for play services as well.
Click to expand...
Click to collapse
I just checked, and I am indeed missing as well the downloadprovider apk+odex. It's probably the missing piece. I'm honestly ashamed of asking further help from you at this point because of how patient you've been, but if you can upload that one for me, it's probably all it'll take to finally close this up. I tried with other versions from the net but they didn't work.
Dotf said:
I just checked, and I am indeed missing as well the downloadprovider apk+odex. It's probably the missing piece. I'm honestly ashamed of asking further help from you at this point because of how patient you've been, but if you can upload that one for me, it's probably all it'll take to finally close this up. I tried with other versions from the net but they didn't work.
Click to expand...
Click to collapse
Sure thing bro. Give me a minute. Also, clear the data for the apps I said. That has worked for many people.
Here ya go. Same deal, make sure to set permissions because as soon as I extract and compress them the permissions change.
madbat99 said:
Here ya go. Same deal, make sure to set permissions because as soon as I extract and compress them the permissions change.
Click to expand...
Click to collapse
Aaaaaaand....
IT WORKS!
Thank you so much dude, for all your help and patience. I'm gonna have to make a shrine in your honor.
PS: Making a backup of everything ASAP.
Dotf said:
Aaaaaaand....
IT WORKS!
Thank you so much dude, for all your help and patience. I'm gonna have to make a shrine in your honor.
PS: Making a backup of everything ASAP.
Click to expand...
Click to collapse
No problem. Have fun, be safe, own your device.
Could this app missing be causing a corrupt sd card error?

Categories

Resources