[FIX] Running out of room in /data, App refuse to install, I have plenty of space? - Verizon Galaxy S 5 General

Afternoon from Vegas!
I've been poking arudn and trying to find out, why do I randomly get told I'm out of space for apps, I'm not allowed to install more even though all my partitions have space
Well anyone remembering my thread about some dirty flashing causing partition and file permission issues, you likely know of my explanation. But some o us had this happen when the changed Roms too. It's really odd. So I did some digging today and found this
In /data/data/com.Android.providers.downloads/cache is where apps are being downloaded too but my folder was 4GB!!!. It had hundreds of files that appear to be where it downloads the apps. But when I tried to clear it normally it didn't work. However deleting them by hand proved to work via root.
So essentially if you have plenty of space in Android and can't install apps, check the folder /data/data/com.Android.providers.downloads/cache and see what you find. Maybe me and @CVertigo1 can make another fix for this.
THIS MAY APPLY TO OTHER DEVICES AS WELL BUT I ONLY DISCOVERED HIS ON THE VZW GS5 Release Model.

This is interesting. I'm going to have to look into this.

I verified over a gig in this directory, and clearing the app cache through settings took care of it. You don't need to manually clear it with a file explorer. Go into settings, storage, internal storage, then tap cached data. This will clear the app cache. I suppose the app data cache is untouched when clearing the system cache. I always clear the system cache through recovery then data cache through settings.

Related

[Q] Solved - Help: all downloads are unsuccessful

Help...no matter which rom i try i cant get any downloads to work...sorry, let me clarify...my market downloads work fine but any downloads form the web fail.
Any thoughts on what to change to fix this? it wasnt always this way...i dont know whats changed that crosses roms.
Solved:
It appears two be a two part issue, some of it is the Download Manager and at least part of the issue was with the Calibre App i was trying to DL from. Specifically, I was accessing the Calibre net share component. When a password is set on the share the gtab download manager is unable to correctly request downloads. I removed the uid/pwd and downloads work again. With the uid/pwd in place logs show an http 401 error.
Now to determine why...
In recovery are you wiping everything? Cause that was my issue at first and I was crossing roms lol
Sent from my HTC Glacier using Tapatalk
I had the same issue when I tried the notion adam browser.
I just reapplied my rom.
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
~BAM~ said:
I had the same issue when I tried the notion adam browser.
I just reapplied my rom.
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
Click to expand...
Click to collapse
That's what i tried first...no joy. Then i wiped caches and stuff and now i've compunded the issue...titanium doesn't see any apps or OS componets...i cant restore what i had.
Darkeyce said:
That's what i tried first...no joy. Then i wiped caches and stuff and now i've compunded the issue...titanium doesn't see any apps or OS componets...i cant restore what i had.
Click to expand...
Click to collapse
When you say you wiped cache and stuff, did you wipe user data as well? If so, then that would explain why Titanium can't see your previous backup (It stores it in internal storage by default).
If that is the case, and you have wiped the data partition, your best bet would be to start over and reload your ROM from scratch.
BigJohn
BigJohn89 said:
When you say you wiped cache and stuff, did you wipe user data as well? If so, then that would explain why Titanium can't see your previous backup (It stores it in internal storage by default).
If that is the case, and you have wiped the data partition, your best bet would be to start over and reload your ROM from scratch.
BigJohn
Click to expand...
Click to collapse
As long as Darkeyce didn't perform a NVIDIA flash or repartition the drive, the backup data should still be there. I've loaded many custom roms by wiping cache and data (factory reset), and all I had to do was reinstall Titanium Backup and restore my apps.
I had the same problem yesterday on my Vegan GTab. GMail wouldn't work either, and my Nook app wouldn't sync with my online account. I didn't try any fix but after shutting down the device last night, I fired it up this morning and everything was working fine.
BigJohn89 said:
When you say you wiped cache and stuff, did you wipe user data as well? If so, then that would explain why Titanium can't see your previous backup (It stores it in internal storage by default).
If that is the case, and you have wiped the data partition, your best bet would be to start over and reload your ROM from scratch.
BigJohn
Click to expand...
Click to collapse
Fixed the TB issues...that was related to the Keramides file...deleted it and all teh TG data came back...but i STIll have the download issue.
All the cache wipes were done, including the user data but that didnt impact the backups.

Apps on sd card issues

I've been having a problem as of late and I was hoping maybe someone could offer some explanation, advice, etc.
Last Friday, after a full wipe, I flashed Liquid Gingerbread 3.0 after running 2.6 forever. I use My Backup Pro to backup and restore app data. I do not use it for anything else (no system data, etc.). I installed all my Apps from apks I had, then restored app data with My Backup Pro.
I then proceeded to move apps to sd with Apps2sd like I usually do. Everything seemed to be okay until I noticed a while later that apps moved to the card started disappearing, but the app data was remaining on the sd and the coms were still listed as installed. I uninstalled Apps2sd and reinstalled the apps, noticing that large apps (10 + mb) were installing directly to the sd. I checked the settings and made sure internal was set for app installations and tried again. Large apps were still installing directly to the sd.
Thinking that maybe I didn't wipe properly (lol) I did another full wipe (system, data, cache, davlik) and reflashed LGB 3.0. I did the same process as above with installing and restoring app data. I rebooted my phone to find that large Apps were still installing directly to the sd, and still disappearing and still leaving behind data on the sd.
I thought it was a ROM issue at this point so I did another full wipe and flashed iBolt 0.9. Still having the same problem so I know it's my phone.
I have a few ideas of what is happening but I don't know how to fix it. Is there something on my sd card that is affecting the way apps are installed? Is there a cm7 setting I'm missing somewhere that is affecting it? Are my wipes somehow leaving behind remnants? I know this is long but I was trying to be as specific as possible in hopes of some feedback. If someone has any ideas as to what is happening I'll try anything to see if it fixes it.
My apologies if there is a thread about this already here but Tapatalk search is seriously lacking.
Drunk texted from my Thunderbreaded Bolt
The problem is below you. Lock your apps or DC will take your apps 2 !!
notgnihsaw+esuoh+etihw= Thieves&Crooks

Lag and bad performance when running out of storage

As the tilte is saying, whenever there's less than 100 mb of internal storgare the performance just dies. Even scrolling is laggy. I've used multiple ROMs (CM 11, 10.1, 9/SlimKat/SlimSaber/BeanStalk) but no luck. I've also used Greenify and it hasn't helped. I only install the apps I really need : Facebook, Facebook Messenger, Shazam, Hangouts, Youtube, Viber. That's it ! I even uninstall wallpapers and ringtones, plus all the apps that could be moved to the SD card are moved.
Does anyone have any suggestions ? Maybe increasing the internal storage on KitKat ? Or are there any tweaks I'm not aware of ?
Thanks in advance.
First backup your SD card. And then create external partition type ext4, using TWRP recovery and only TWRP (If you use any other tools, you will not be able to backup sd-ext using TWRP, and this is from my experience).
Next, get Link2SD app, and create mount scripts, reboot, set Auto linking checked and (also App, Library, and Dalvik checked). And link App, Library, and Dalvik files to sd-ext. If you paid for Link2SD+, you will be able to link internal data too. A warning though, keep important apps that starts up with android on internal memory such as launchers to prevent lag. Depending on what class your SD card, you might not notice any lag at all. I still have the 16GB that came with the phone, and it is not really fast, it is laggy but not much.
I know I will be lashed for saying this, but get Lucky Patcher (use it for legal stuff only, lol) and ODEX all your system files. Custom roms are unoptimized due to the need to have resource hooks and hacking the system files or debugging them. Creating Optimized dexs, they will occupy less memory and become faster. You will notice a significant improvement in speed.
Currently, I have SlimKat 4.4.4, 2.5GB sd-ext ext4 partition (~1.5GB used) and have 204MB free on internal. And around 143-145 apps installed ranging from few hundreds of KBs to tens of MBs. And the system is snappy.
Another warning if you use Titanium Backup, if you batch restore many apps at once, Link2SD might not be able to catch up linking apps as soon as Titanium Backup finish restoring the apps with data, causing memory go low or Titanium Backup freeze. A solution to this, only restore chunks of 10 or 15 apps at once, and wait till Link2SD done linking all of the apps.
After you are satisfied with the results, go to TWRP and backup EVERYTHING including sd-ext. EXCEPT "EFS" partition (if it does show up), which you might get bad IMEI number if you restore EFS again. You can enable compression to the backup, which helpfully compressed the ~2300MB files to ~1300MB for me.
Good luck. :good:
Thanks mate ! Gonna try ASAP !
Rebel_X said:
First backup your SD card. And then create external partition type ext4, using TWRP recovery and only TWRP (If you use any other tools, you will not be able to backup sd-ext using TWRP, and this is from my experience)....
Good luck. :good:
Click to expand...
Click to collapse
First, thanks for writing this. Now, just a quick question, did you have had problems with apps disappearing after a update?
This begin happening like a month or so ago. After an app auto-update, it disappear, and I have to recreate the mount script on Link2SD and reboot for it to appear again. Now I disable auto-update, android only notify me of updates. Then I remove the links of the app to update on Link2SD, then update the app, and then I create the links again.
I have my device set up exactly how I like it, but I'm thinking about erasing my phone and starting up again.
llinkll said:
First, thanks for writing this. Now, just a quick question, did you have had problems with apps disappearing after a update?
Click to expand...
Click to collapse
I believe this happened to me long time ago when I used an older version of Link2SD. The newer version promised that it fixed Apps disappearing after booting. But, if that happens to you, you can fix this easily by "Relink all app files" from Link2SD to find any unlinked apps that are supposed to be linked and then reboot or soft reboot from Link2SD. Or you can "Clear 2nd Partition" and/or Dalvik cache to delete the apps that disappeared and reinstall them again. But an answer to your question, I didn't have any apps disappear on me when I started clean.
Also, for anyone deciding on ODEXing system files. Choose a ROM that have enough free space in system partition to do so. Some roms have less than 8MB in system partition (CM11!) which can cause problems when doing so. SlimKat 4.4.4 is really slim, you have over 40MB free in system partition. If you want to keep the ROM you are using, you can free more space in system partition by converting the Keyboard app to a user app, that is another 40MBs free (and if you did that, you have to reselect the Keyboard from Language input in settings, by un-ticking/re-ticking the checkbox, also don't link the Keyboard app to 2nd partition, it can cause lag). I noticed if you have less than 5MB in system partition, the performance of the phone suffers greatly.
From using Link2SD to view storage information, you will notice that Data partition and Cache partition are the same (I could be wrong here, but that what it seems to be). So it is important to have more free space in the Data partition.
Rebel_X said:
First backup your SD card. And then create external partition type ext4, using TWRP recovery and only TWRP (If you use any other tools, you will not be able to backup sd-ext using TWRP, and this is from my experience).
Next, get Link2SD app, and create mount scripts, reboot, set Auto linking checked and (also App, Library, and Dalvik checked). And link App, Library, and Dalvik files to sd-ext. If you paid for Link2SD+, you will be able to link internal data too. A warning though, keep important apps that starts up with android on internal memory such as launchers to prevent lag. Depending on what class your SD card, you might not notice any lag at all. I still have the 16GB that came with the phone, and it is not really fast, it is laggy but not much.
I know I will be lashed for saying this, but get Lucky Patcher (use it for legal stuff only, lol) and ODEX all your system files. Custom roms are unoptimized due to the need to have resource hooks and hacking the system files or debugging them. Creating Optimized dexs, they will occupy less memory and become faster. You will notice a significant improvement in speed.
Currently, I have SlimKat 4.4.4, 2.5GB sd-ext ext4 partition (~1.5GB used) and have 204MB free on internal. And around 143-145 apps installed ranging from few hundreds of KBs to tens of MBs. And the system is snappy.
Another warning if you use Titanium Backup, if you batch restore many apps at once, Link2SD might not be able to catch up linking apps as soon as Titanium Backup finish restoring the apps with data, causing memory go low or Titanium Backup freeze. A solution to this, only restore chunks of 10 or 15 apps at once, and wait till Link2SD done linking all of the apps.
After you are satisfied with the results, go to TWRP and backup EVERYTHING including sd-ext. EXCEPT "EFS" partition (if it does show up), which you might get bad IMEI number if you restore EFS again. You can enable compression to the backup, which helpfully compressed the ~2300MB files to ~1300MB for me.
Good luck. :good:
Click to expand...
Click to collapse
dude? what if uninstall my lucky patcher? is the odex file still there?
DerPuGNa said:
dude? what if uninstall my lucky patcher? is the odex file still there?
Click to expand...
Click to collapse
I don't think that will affect ODEX files at all.
LoL, every time I read your username I read it as "Danganronpa" (Japanese word for bullet time) as the great Anime show (an adaptation of the PSP game). Please don't take that offensively :good:
Thanks !!!! Gonna report back with the performance !
Intial thoughts : *Very* good.

Help understanding storage partitions

I've always used Samsung devices (last device was GS5) so I'm trying to understand the internal partitions on newer versions of android. I don't mean the dual slot stuff either.. just the normal partitions like /system
So with my GS5 of I went into TWRP and factory reset. That wiped all user data from the phone. Apps, settings, downloads, pics, etc..
It seems that's not how it works anymore. Just looking for a basic layout of the folder structure and what is stored on each partition
Where is my user data stored? Are my downloaded apps, settings, pics, downloads (everything I put on the phone) stored in one partition? If so where
When I factory reset in recovery what partitions is that wiping
At this point the only thing I know is /system which is where the actual OS itself is stored.
Any explanation would be appreciated!!
aholeinthewor1d said:
I've always used Samsung devices (last device was GS5) so I'm trying to understand the internal partitions on newer versions of android. I don't mean the dual slot stuff either.. just the normal partitions like /system
So with my GS5 of I went into TWRP and factory reset. That wiped all user data from the phone. Apps, settings, downloads, pics, etc..
It seems that's not how it works anymore. Just looking for a basic layout of the folder structure and what is stored on each partition
Where is my user data stored? Are my downloaded apps, settings, pics, downloads (everything I put on the phone) stored in one partition? If so where
When I factory reset in recovery what partitions is that wiping
At this point the only thing I know is /system which is where the actual OS itself is stored.
Any explanation would be appreciated!!
Click to expand...
Click to collapse
/data
/data/app
/data/user
/data/media...
You can see all these folders and what they contain via something like Root Explorer. Then install an app or modify its settings, you'll easily see its date/time properties get changed.
Or you can use ES Explorer, every time a new folder gets created, ES notifies you. After a while, it gets annoying but it's good to be able to observe in the beginning.

clearing dalvik cache without root.

Is it safe to clear the dalvik cache, & what exactly is cleared when I clear it? I know it can be cleared with the stock recovery, because I just helped a friend factory reset their phone who has the same phone as me (both unrooted Galaxy On5 with stock ROM) & I saw an option in the list in recovery.
tsaxda said:
Is it safe to clear the dalvik cache, & what exactly is cleared when I clear it? I know it can be cleared with the stock recovery, because I just helped a friend factory reset their phone who has the same phone as me (both unrooted Galaxy On5 with stock ROM) & I saw an option in the list in recovery.
Click to expand...
Click to collapse
Only cached data gets cleared, more specifically, cached data used by your system apps and services. This cached data will automatically be rebuilt when you reboot the device, you may or may not see a message saying "optimizing apps" while the device is rebuilding dalvik/ART cache during the boot process.
Sent from my SM-S767VL using Tapatalk
What I mean is do I lose anything important like settings/data within apps etc;. & is there any risk of my phone not booting properly? I have backed up what data I could. I've seen posts on quora, asking about different problems they had after clearing dalvik, including one who seemed to think their phone had died, but they all seem to involve rooted phones, because the solution given is always to flash another ROM/reboot to TWRP recovery. I was tempted to do it because I'm running out of space, & somebody online said there dalvik folder was 300MB.
tsaxda said:
What I mean is do I lose anything important like settings/data within apps etc;. & is there any risk of my phone not booting properly? I have backed up what data I could. I've seen posts on quora, asking about different problems they had after clearing dalvik, including one who seemed to think their phone had died, but they all seem to involve rooted phones, because the solution given is always to flash another ROM/reboot to TWRP recovery. I was tempted to do it because I'm running out of space, & somebody online said there dalvik folder was 300MB.
Click to expand...
Click to collapse
No, you won't lose anything, as I said, it is only a type of temporary data, data that is used in the background while the device is running, temporary in a similar kind of way as RAM data with the exception that RAM data doesn't necessarily persist from one reboot to the other whereas cached data does persist after reboot, unless wiped, in which case, that cached data will automatically be rebuilt exactly as it Is needed when each app loads at startup on the next reboot after the wipe.
As long as you aren't wiping the system partition or the data partition, you won't lose anything. Wiping cache is nothing to sweat over, it is a very common and necessary process when making changes to your device.
Failing to wipe when making changes to the system are what causes problems, wiping is necessary to avoid having bugs and issues caused by cached data from before the changes conflicting with the changes that you made. Wiping cache then rebooting allows the device to build the cached data the way it needs to incorporate the new changes that you made.
I called samsung to ask whether they recommended clearing it & she very sternly said "we are not clearing dalvik". It made me wonder whether she simply didn't know what dalvik is, because she asked how to spell it as though she was looking it up, or if there was some other reason.
tsaxda said:
I called samsung to ask whether they recommended clearing it & she very sternly said "we are not clearing dalvik". It made me wonder whether she simply didn't know what dalvik is, because she asked how to spell it as though she was looking it up, or if there was some other reason.
Click to expand...
Click to collapse
The option to wipe dalvik cache is not an option in stock recovery or any other stock or non-root, non-custom option. It is typically only an option if you have a custom recovery such as TWRP.
Only a developer or someone that is familiar with root and custom android software would be familiar with wiping dalvik cache. A standard employee of a manufacturer or customer support agent would not be familiar with wiping dalvik cache.
Sent from my SM-S767VL using Tapatalk
i flashed twrp and majisk yesterday but my apps was playing up so i did a delvick cache wipe and now my phone is no longer rooted and no longer has majisk do i need to install twrp and majisk again or just flash majisk again
When you reboot, bóth the Dalvik ( correct: ART ) cache and the System Cache are re-created. So no benefits at all.

Categories

Resources