[Q] "Insufficient Storage" Disabler/Fix - Xposed General

Firsty, I apologize for my poor forum skills.
I am wondering if any gems in the community know of an existing module that is capable of sort of, Removing, Fixing, or Disabling the service or data which notify's google play services that there is not enough storage on a device to install or update an app?
I am not sure if this is a protocol that is implemented in the Android OS or not because when I try to manually install an APK with low storage it is not possible and I get the "insufficient storage" notification.
I am not necessarily counting on a solution per say;
However seeing as how my device is rooted, I would very much like to experience the liberty and satisfaction of truly 'Taking Control' of my device.
To conclude my filibuster,
Is there a module or mod to trick or fool my device into thinking that I have enough storage to install or update an app? I am currently sitting at 420MB of storage and I am a music addict so my options are currently minimal... atleast until I eventually shoot up my photos to DropBox inevitably.
Thanks World!
& Happy Holidays!
- NeXusLeXus

Impossible, if you use all the memory reserve you will get in bootloop. or dont recieve sms and email messages
The critical storage is for SYSTEM things, not for install apps
Impossible remove Insufficient storage

My good old S2's default /data partition is 2 GB. On Gingerbread, the "insufficient storage" popped up at about 20 MB left. On Jellybean and KitKat as early as about 200 MB. Recently I repartitioned /data to 4 GB, thought that I will never see "insufficient storage" again. But meeeeep, now it pops up when there are 400 MB left. So Androids app installer wants to have about 10% of /data in reserve. The bigger the partition, the bigger the unusable space gets. Kinda gaga.
So what about an XPosed module that sets this free space limit to some lower limit? Enough for critical things, but small enough to not waste this much space.

Related

False "Low On Space" Notification

So a few months ago my nexus one got a notification saying i was low on memory, even though i had 27mb of internal storage left (which i though was a lot since most apps are less than 1mb). I decided to back everything up and re-flash cyanogenmod and restore all my apps + data. The notification was no longer there, problem solved.
Well i didn't want to run into that problem/notification again so i bought a class 6 16gb microsd to use app2sd and everythings been going smooth for like a month or two.
Today i got the notification again saying "Low On Space" again even though I'm using app2sd and have over 260mb left on my ext partition.
What is going on here and how can i fix this? Any help would be greatly appreciated
Most likely the 'Data' that the app uses is still on the Internal Memory. Only the apk file is stored on the sd ext. Other than that, I'm clueless myself. So, really...you're not saving that much space by using apps to SD. You may be able to get a handful or so more apps using apps2SD
I just run into same satuation.
A factory reset follow by apps restore didn't fixed the issue.
My total apps about 86MB(90 apps).But after install it use 140MB under /data.
Finally, I realized, it because apk is compressed by zip,after install(decompress), it use almost double the space under /data.
Come on Froyo!!!.
Damn i was hoping someone knew something about this.
I backed up all my apps again, wiped my phone and re-flashed gapps + cyanogen and no more notification.
Even if you move the apps to the sd card (froyo style), app data still resides on the internal storage so don't imagine you'll be able to install a ton of apps. I've been able to install more than the usual, but certainly can't install how many i want. I seriously consider ditching Android for this and some other reasons.
The big change will probably happen with Gingerbread but i can't wait for December.
There are phones with more ROM, just for that reason. Galaxy S, for example.
Anyway, the cache also resides on data partition, and can be quite big.

Low space - does it really matter ?

I installed the eVil rom on my N1 and I am now constantly getting the low error message. I could not care less about it but it looks like it's preventing the phone from downloading any updates or new apps. Yes I still think I have more than 200MB available. I've zapped lots of apps and slim down what's on the phone to the barebone. I do not want to go through any A2SD workaround, also because I do not really have much on the phone and whatever I can move to the SD has already been moved.
Is there an alternative solution to this bugging message ?
P_
There isnt actually a workaround for this. You simply need more space. While its debatable how much space in enough space, most people would agree that you should keep at least 50mb internal space on a Nexus One. I have 132 apps installed and have 150mb free on mine.
Apps2sd/apps2ext is definetely worth the small amount of time it takes to setup.
You can't have more than 200MB available, since all the app storage space is 196MB.
Apps2EXT doesn't work in the same way as Froyo's Apps2SD, and frees MUCH more space - including Dalvik-cache.
With this message showing, you don't get any text messages (SMS) - they're lost.
Can't I just move the dalvik-cache manually and create a sim link to it.
P_
You can (move it to /cache). You also can do it to the "data/data" folder. You also can completely replicate all the work of Apps2EXT, and you can manually repartition the SD card and write the boot scripts that will mount the EXT partition. The question is - why would you want to waste your time doing that, when somebody already created something that you need.
First off, I suspect you're not looking at the right thing.. Settings->SD Card and Phone Storage and look at Internal Phone Storage for available space.. It's <20, yes?
You can try clearing Browser cache from the Settings->Applications...
How many apps do you have installed? Any HUGE apps, like Nook, Google Earth, Flash, etc? If so, maybe you do need to do apps2ext to free up space.
If that's not enough, then DO NOT move dalvik-cache to /cache, it's NOT BIG ENOUGH. If you're running out of space using apps2ext your dalvik-cache is probably 100M or more, and /cache has 96M, and you do not want to run out of space for dalvik-cache. If you must, move it to the SD card.

[Q] CM6.1, Chevy1 Kernel, Swap, and Memory Management

Sort of technical question, as this goes into CM6.1 and mem management.
I have the original Droid, Verizon. I had it rooted for a while and recently finally installed CM6.1 (stable release).
Issue 1: Free memory
I am having background services constantly killed by the system whenever ANY app is loaded, with exception of map and music. I thought CM6.1 would solve it but it did for only 2 days. Both DiskUsage and Settings / SD card and storage shows like 130 out of 262 available. Yet my services are STILL getting whacked left and right.
I opened terminal emulator and typed FREE... That says I have 5-10 MB available.
Now the overall situation... I am getting tired of the system killing my services, and I really don't have that many loaded. I got Titanium Backup, Clock Widget, Juice Defender, SeePU, Screebl pro, SetCPU widget, Vlingo (then there's TTS, Bluetooth, Google, and SwiftKey, but those are required).
Just checked again: say 130MB available out 262 (well, 256). however, FREE at terminal emulator right now is 4812.
Q1: Why would the free command show a completely different result from the system?
I can guess it was more of a "snapshot", but that's a pretty HUGE discrepancy.
So where is all that free memory going?
Issue 2: CompCache and Swap
I found references to CompCache and swap file. I know they are not helpful to later phones with 512MB, but it's probably helpful somewhat on my Droid with just 256MB of RAM.
I looked up CompCache and I know it's specific to kernel implementations. The Chevy kernel (1.1 GHz ULEV) I had loaded doesn't support CompCache. Or else Cyanogen would have displayed it.
So I downloaded Swapper (the one with the green icon). Created a 128MB swap file. Then I rebooted, and tried "free" at terminal... SWAP shows ZERO.
I thought it was a problem with the program, so I downloaded the OTHER Swapper program, Swapper 2. Tried that. Got "failed to create swap file -- swapon not implemented. "
Yet every reference I see for SWAP does not mention kernel at all. All the references I see just say run the app or type in these commands at busybox/terminal and voila, SWAP!
Q2: As CompCache is kernel dependent, is swap also kernel dependent?
Is there a chart where it shows which kernel is compatible with what?
Oops, answer my own questions...
A1: Yes, P3Droid kernel DOES support SWAP. Just put it in, and SWAPPER is working now. Dumb me.
A2: With SWAP enabled (swapper 2 defaults to 32MB), available memory still shows 130MB in (SD card and Storage) and "free" now shows 32-40MB free (main memory shows 5MB free).
(and yes, P3Droid kernel supports compcache too)
Sorry, answered my own questions. I'll probably do a few tests and which is more beneficial: compcache, swap, both, or neither.
First test... 32 MB swap not enough
The "memory available" isn't working or is reporting weird figures.
DiskUsage comfirms 130 MB available out of 256, but my services are still closing left and right.
Tried 32MB swap, delayed problems, but it still happened. I've bumped it up to 128MB swap... Sometimes the phone's slow as heck.
I think I'll have to try CompCache with no swap, and other tests.
Can someone recommend some test apps that will eat up a big chunk of memory?
Slight update
My apologies if this is an FAQ.
The "memory available" shown in ATK seem to be more accurately reflecting the numbers I get from the "free" command.
The "internal storage available" in "SD card and storage" under settings and "diskusage" aren't showing ANYTHING useful. it seem to be showing basically what's left after all the Move2SD was done.
Strangely, this only happened AFTER my CM6.1 update. Under the stock ROM, DiskUsage actually shows "System" taking up like 30+ MB in internal storage. Under CM6.1 there was no "system" taking up anything.
Is CM6.1 managing memory differently or interacting with DiskUsage differently?
DiskUsage measures the usage of storage on your phone/SD. This is akin to a hard drive on a PC.
"free" and "memory available" measures the available memory on your phone. This is the phone's RAM, which is a separate thing from storage.
The reason that your apps/services are being killed is because you do not have enough available memory (RAM) and has nothing to do with storage.
Got that, thanks. I guess I am just confused on the following:
1) DiskUsage and "settings / SDcard and Storage / Internal storage available" shows what's "left" in internal memory 'storage-wise', but not the "OS free mem". Right?
2) Then what is the "memory available" shown in ATK Froyo? (or SeePU?) Usually shows 30MB, up to 60MB if I kill a few things in ATK.
3) So far the most accurate mem count is the one provided by 'free' in Terminal. That number is consistently TINY (a few MB)
4) And what are the numbers shown at the bottom of the "Manage Services" screen? I know the numbers on the right (in the "green") are all the services added together. I am going to guess that the numbers on the LEFT (red) would be the system process (phone, and system?)
5) And how does this match up with the OOM/Lifecycle?
I was looking at the output from WatchDog Lite / Auto Memory Manager (under running processes) but the "memory used" in those readings seem to be way larger than it should be. Every app seem to be taking 12-20MB, and there shouldn't be memory available to load them all.
I guess I'm just trying to figure out where did all my memory went, since none of the numbers seem to add up to me.
(The overall problem is I'm trying to figure out why my background services keep getting killed by the system from, as you said, lack of memory. I already got rid of just about everything, even Flash, from my Droid)

[Q] app storage limitation data

UPDATE:
If you want to fix your low space problem on the captivate, LOOK here:
http://forum.xda-developers.com/showthread.php?t=1541942
Previous Text:
Is there an ics rom that allows all 2 gb of /data to be used for apps? It seems most of them I've tried have the same limit from recent cm7 night lies about 350 mb, before google framework starts crashing (gummy) or I get a low space warning (nostalgia).
I believe this is just something we will have to live with on ICS with our phones.
prbassplayer said:
I believe this is just something we will have to live with on ICS with our phones.
Click to expand...
Click to collapse
So here is something interesting I'm currently running AOKP m28, with ~487 Mb of apps installed.
No low space warning and no framework crashes.
scythekain said:
So here is something interesting I'm currently running AOKP m28, with ~487 Mb of apps installed.
No low space warning and no framework crashes.
Click to expand...
Click to collapse
I'm running AOKP Build 28, I have ~529mb of apps installed and I am getting the warning.
However, I haven't had any framework crashes. Also, I was able to successful restart my phone.
Hangampalli said:
I'm running AOKP Build 28, I have ~529mb of apps installed and I am getting the warning.
However, I haven't had any framework crashes. Also, I was able to successful restart my phone.
Click to expand...
Click to collapse
Yeah, I started to get the low space warning when hitting the ~ 500 MB line as well.
Here's what I've found, two types of AOSP/CyanogenMod based Roms for Cappy:
1) Gives low space warning (and as long as you don't cross that threshold) does not produce framework crashes.
2) Does not give low space warning, but produces massive framework crashes.
The problem (as I've learned from CyanogenMod forums) is the datadata partition. CM7.1 used the datadata partition for apps, and did not have the low space warning. This meant whenever you approached the 172 MB limit of datadata you ran into spectacular framework crashes.
However around nightly 11162011 they changed that, and introduced the "low space warning". This allowed about ~300 MB of apps to be installed, before datadata complained.
I bet if you look at your datadata* (I looked at mine just now) it's pretty close to full. Mine currently only has 17 MB free. I notice when I'm browsing the web with Maxthon with about 5 tabs open I get the low space warning.
I'm wondering now though if this is a relic of linking left in my system folder. Next flash I'm going to format my /system before flash and see if this behavior changes.
*To check your datadata size open a terminal (I like Android Terminal Emulator) and type "df".
You can remove the symlink betwen /datadata and /data (I think) but it will most likely make your phone anywhere from a tad slower to unusable slow. Like I said its just a limitation from our phones, at least for now.
prbassplayer said:
You can remove the symlink betwen /datadata and /data (I think) but it will most likely make your phone anywhere from a tad slower to unusable slow. Like I said its just a limitation from our phones, at least for now.
Click to expand...
Click to collapse
I figured this was what is happening. Has someone tried this and confirmed the performance hit?
I did way back when on ICSSGS 2.x and 3.x Made my phone almost unable, which means my nand isn't in good shape. But the result varies a lot so no way on telling.
I know they had a zip but doubt it will work on any other rom.
Sent from my ICS powered Captivate using Tapatalk
So last night I was performing some benchmarks after formatting system. What I found was interesting to say the least. CNA was no longer laggy. Aokp isn't as fast as it felt.
Anyways, I stuck with dark knight and currently have 560 mb installed with no low space warnings and no framework crashes.
Update:
So after installing >500 mb of apps I'm still getting low space warnings with dark knight. I ran df in my terminal and have determined that it happened when the datadata partition is at oR below 15 megs free. Wierd thing though, I was at 28 mb free, reboot come back up with 6 mb free? Moved 70 mb of apps to USB storage, and it moved up to 26 mb free on datadata.
scythekain said:
So last night I was performing some benchmarks after formatting system. What I found was interesting to say the least. CNA was no longer laggy. Aokp isn't as fast as it felt.
Anyways, I stuck with dark knight and currently have 560 mb installed with no low space warnings and no framework crashes.
Update:
So after installing >500 mb of apps I'm still getting low space warnings with dark knight. I ran df in my terminal and have determined that it happened when the datadata partition is at oR below 15 megs free. Wierd thing though, I was at 28 mb free, reboot come back up with 6 mb free? Moved 70 mb of apps to USB storage, and it moved up to 26 mb free on datadata.
Click to expand...
Click to collapse
I think right now, moving apps to SD card is the only real solution. I think the limit is near ~375ish?
So far, I've only moved games and a video player. Hopefully, they'll still work fine.
I've had this for about 2 days now, and it seems to be working. I did start having framework crashes at the end of monday, but the phone surprisingly restarted. I'm not sure how that happened (maybe the AKOP rom is stronger than I thought). I did try and move some of the bigger app's to the SD card while the phone was crashing....I thought it didn't go through, but maybe it did.
So in summary, move apps to SD card when warning pops up. And if phone starts crashing, still try to move apps to SD card, restart and hope it works?
PS...Is anyone running the nostalgia ROM? I don't think that ROM has this problem. The developer said he had something like 250 apps installed. I'm not using it currently b/c I didn't like some of the theme-ing such as that in the people app. However, the developer recently told me that I could modify the zip package with an unskinned people app. If this AKOP rom fails me, I'll go to that and update results.
Fix for low space problem on Galaxy S (Fascinate/Captivate/Vibrant)
Hangampalli said:
I think right now, moving apps to SD card is the only real solution. I think the limit is near ~375ish?
So far, I've only moved games and a video player. Hopefully, they'll still work fine.
I've had this for about 2 days now, and it seems to be working. I did start having framework crashes at the end of monday, but the phone surprisingly restarted. I'm not sure how that happened (maybe the AKOP rom is stronger than I thought). I did try and move some of the bigger app's to the SD card while the phone was crashing....I thought it didn't go through, but maybe it did.
So in summary, move apps to SD card when warning pops up. And if phone starts crashing, still try to move apps to SD card, restart and hope it works?
PS...Is anyone running the nostalgia ROM? I don't think that ROM has this problem. The developer said he had something like 250 apps installed. I'm not using it currently b/c I didn't like some of the theme-ing such as that in the people app. However, the developer recently told me that I could modify the zip package with an unskinned people app. If this AKOP rom fails me, I'll go to that and update results.
Click to expand...
Click to collapse
I've run Nostalgia as well, it's just more Samsung Bloat (From Doc's) on top of the AOKP core.
So it will give you the low space warning when datadata fills up, but largely like AOKP as long as you deal with it (Dark Knight as well) the system is rock solid.
HOWEVER there is good news for us:
http://forum.xda-developers.com/showthread.php?t=1541942
The script above SHOULD help us use more of our app storage space, while still providing the awesome speed that custom roms are known for.
scythekain said:
I've run Nostalgia as well, it's just more Samsung Bloat (From Doc's) on top of the AOKP core.
So it will give you the low space warning when datadata fills up, but largely like AOKP as long as you deal with it (Dark Knight as well) the system is rock solid.
HOWEVER there is good news for us:
http://forum.xda-developers.com/showthread.php?t=1541942
The script above SHOULD help us use more of our app storage space, while still providing the awesome speed that custom roms are known for.
Click to expand...
Click to collapse
So after a month of running the "datadata" fix:
I have about 700 MB of apps installed with no framework crashes, no low space warnings (AOKP B32 / Glitch).
Datadata consistently has about 80 MB available. at it's current rate of increase when installing new apps, it's possible this configuration would allow the complete 2 GB usage of the data partition.

How to Expand Data Store Omnirom 5.1.

Hi Everybody ;
İ'm new at forum also custom roms My device is Samsung Galaxy TAB 7 P1000 İ've installed Omnirom,But after installed i've realized that data store on Apps space is 1.5 GB and quickly it became full .the device has 16 GB disk and in this situation free size is about 12 GB on total space
İ can not install and app because of disk size İs there and solution to fix this problem
It's very common that the majority of the internal memory on a device is dedicated to "user" storage, rather than app storage. Changing that is almost always a low-level change as the storage needs to be "re-partitioned" and changes made in the depths of the system accomplish that. It generally isn't a user-level control for any device.
You may want to look in the forum for your specific device. I think that might be http://forum.xda-developers.com/galaxy-tab
The P1000 is five years old and was originally released on Froyo with an upgrade available to Gingerbread. Back then, the CPU, memory, and storage requirements for Android were significantly less than they are now. I had to give up a well-loved phone that was released on Froyo even though I could build KitKat OmniROM for it, it would literally take three minutes to boot.
I haven't used "app to SD" functionality for some time, but there used to be a way that you could move apps from internal storage to "external" storage. I don't know if it is functional under Lollipop. While I tried several apps and scripts that claimed to accomplish that task, the only reliable way that I found to do that move was with TitaniumBackup Pro.
jeffsf said:
It's very common that the majority of the internal memory on a device is dedicated to "user" storage, rather than app storage. Changing that is almost always a low-level change as the storage needs to be "re-partitioned" and changes made in the depths of the system accomplish that. It generally isn't a user-level control for any device.
You may want to look in the forum for your specific device. I think that might be http://forum.xda-developers.com/galaxy-tab
The P1000 is five years old and was originally released on Froyo with an upgrade available to Gingerbread. Back then, the CPU, memory, and storage requirements for Android were significantly less than they are now. I had to give up a well-loved phone that was released on Froyo even though I could build KitKat OmniROM for it, it would literally take three minutes to boot.
I haven't used "app to SD" functionality for some time, but there used to be a way that you could move apps from internal storage to "external" storage. I don't know if it is functional under Lollipop. While I tried several apps and scripts that claimed to accomplish that task, the only reliable way that I found to do that move was with TitaniumBackup Pro.
Click to expand...
Click to collapse
I know some of the original Nexus S/Galaxy S family of devices (P1000 is included here) had a bunch of LVM hacks put in to rearrange storage mainly due to /system being too small - I don't know what they did as far as /data vs. /sdcard
The Galaxy S LVM stuff was the inspiration for LVM on the Oppo Find 7.

Categories

Resources