coohdeh wrote:leo chipset not same
this idea is not logical
I learned, anyway thanks:)
coohdeh wrote:leo chipset not same
this idea is not logical
Robbie P wrote:Do you mean NAND?good point though.
On a slightly related point. I noticed with nativeSD that if the number of apps installed gets over 90% of available space, no further apps can be installed. With an ext4 partition of 10Gb and a number of NSD roms installed, this means that a user can't use a whole Gb of space.![]()
Is there a way to increase the default 90% restriction in android?
<!-- Max space (in MB) allocated to DownloadManager to store the downloaded
files if they are to be stored in DownloadManager's data dir,
which typically is /data/data/com.android.providers.downloads/files -->
<integer name="config_downloadDataDirSize">100</integer>
<!-- When the free space available in DownloadManager's data dir falls
below the percentage value specified by this param, DownloadManager
starts removing files to try to make percentage of available
free space above this threshold value. -->
<integer name="config_downloadDataDirLowSpaceThreshold">10</integer>
Robbie P wrote:Do you mean NAND?good point though.
On a slightly related point. I noticed with nativeSD that if the number of apps installed gets over 90% of available space, no further apps can be installed. With an ext4 partition of 10Gb and a number of NSD roms installed, this means that a user can't use a whole Gb of space.![]()
Is there a way to increase the default 90% restriction in android?
tytung wrote:Please change config_downloadDataDirSize and config_downloadDataDirLowSpaceThreshold in framework-res.zip/res/values/integers.xml.
<!-- Max space (in MB) allocated to DownloadManager to store the downloaded
files if they are to be stored in DownloadManager's data dir,
which typically is /data/data/com.android.providers.downloads/files -->
<integer name="config_downloadDataDirSize">100</integer>
<!-- When the free space available in DownloadManager's data dir falls
below the percentage value specified by this param, DownloadManager
starts removing files to try to make percentage of available
free space above this threshold value. -->
<integer name="config_downloadDataDirLowSpaceThreshold">10</integer>
tytung wrote:Please change config_downloadDataDirSize and config_downloadDataDirLowSpaceThreshold in framework-res.zip/res/values/integers.xml.
Robbie P wrote:Thanks tytung, but I can't seem to find framework-res.zip/res/values/integers.xml.
I renamed framework-res.apk to framework-res.zip and found framework-res.zip/res/* but there was no "values" folder. Am I missing something?![]()
Also, it seems that the first parameter sets 100Mb filesize of the download directory, and the second sets 10% as the remainder of the download directory (10Mb) before it removes files from the download directory. However I meant that there is a 10% restriction on SDext partition in android, and no files can be downloaded when this cutoff point is reached. A storage icon appears in the notification bar prompting you to remove some apps etc. Can this be over-ridden?
symbuzzer wrote:I recommend to using apktool or same application to extract apk.
Robbie P wrote:Thanks symbuzzer, using apktool on framework-res.apk reveals framework-res/res/values/integers.xml![]()
When i get some time later I will edit integers.xml with notepad++, recompile the apk, re-sign it, fill up my ext4, and see if it makes a difference.
<integer name="config_downloadDataDirSize">150</integer>
<integer name="config_downloadDataDirLowSpaceThreshold">4</integer>
Robbie P wrote:I edited framework-res.apk with
- Code: Select all
<integer name="config_downloadDataDirSize">150</integer>
<integer name="config_downloadDataDirLowSpaceThreshold">4</integer>
And installed it into rom.zip and re-flashed. (NexusHD2 JB 2.4 NativeSD ROM, edited apk here https://dl.dropboxusercontent.com/u/240 ... rk-res.apk )
Unfortunately it has no effect on increasing SDext storage.
I have 3.9Gb ext4 and 392Mb unused (from recovery stats).
I can DL an app, but can't install it (insufficient memory pop-up)
Oh well, worth a try
Edit; And of course I have learned something new too, so can't complain really
tytung wrote:Thanks for sharing your experience.
Can't you download any app or a specific big app?
Users browsing this forum: No registered users and 0 guests