Nand, DataOnExt, NativeSD, SD... What is next?

Discussion about anything related to Android or this forum here.
Moderator: Forum Moderator

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby symbuzzer » Fri Jul 12, 2013 6:37 pm

coohdeh wrote:leo chipset not same
this idea is not logical



I learned, anyway thanks:)
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Advertisement
 

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby tytung » Sun Jul 14, 2013 7:27 am

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. :roll:
Is there a way to increase the default 90% restriction in android?


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>
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby MarkAtHome » Sun Jul 14, 2013 9:48 pm

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. :roll:
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>

Tytyng -- While we are visiting the subject of available space, anyway for your ROMs to take advantage of HD2 TMO1024 (1G ROM Storage)? ;)
Image
User avatar
MarkAtHome
Forum Moderator
 
Posts: 97
Joined: Mon Jun 24, 2013 10:17 pm
Has thanked: 60 times
Been thanked: 65 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby Robbie P » Mon Jul 15, 2013 1:03 am

tytung wrote:Please change config_downloadDataDirSize and config_downloadDataDirLowSpaceThreshold in framework-res.zip/res/values/integers.xml.

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? :oops:
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?
HTC HD2 (EU)
SPL 2.08. HSPL3;
Magldr 1.13 thanks bepe & Cotulla
On NAND - WP7.8 pdaimatejam v8.8 thanks to pdaimatejam, DFT, YukiXDA, xboxmod etc
On SDcards - Numerous Android SD builds & NativeSD ROMs (Thanks boonbing, Xylograph, securecrt & Almighty tytung!)
Radio 2.15.50.14
User avatar
Robbie P
Recognized Contributor
 
Posts: 154
Joined: Tue Jun 25, 2013 12:04 am
Location: London
Country: United Kingdom (uk)
Has thanked: 127 times
Been thanked: 124 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby symbuzzer » Mon Jul 15, 2013 7:17 am

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? :oops:
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?


Maybe it is in classes.dex file. I recommend to using apktool or same application to extract apk.
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby Robbie P » Mon Jul 15, 2013 10:26 am

symbuzzer wrote:I recommend to using apktool or same application to extract apk.

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.
HTC HD2 (EU)
SPL 2.08. HSPL3;
Magldr 1.13 thanks bepe & Cotulla
On NAND - WP7.8 pdaimatejam v8.8 thanks to pdaimatejam, DFT, YukiXDA, xboxmod etc
On SDcards - Numerous Android SD builds & NativeSD ROMs (Thanks boonbing, Xylograph, securecrt & Almighty tytung!)
Radio 2.15.50.14
User avatar
Robbie P
Recognized Contributor
 
Posts: 154
Joined: Tue Jun 25, 2013 12:04 am
Location: London
Country: United Kingdom (uk)
Has thanked: 127 times
Been thanked: 124 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby symbuzzer » Mon Jul 15, 2013 10:31 am

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.


:) We are waiting good news from you, good luck;)
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby Robbie P » Mon Jul 15, 2013 1:19 pm

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 :D
HTC HD2 (EU)
SPL 2.08. HSPL3;
Magldr 1.13 thanks bepe & Cotulla
On NAND - WP7.8 pdaimatejam v8.8 thanks to pdaimatejam, DFT, YukiXDA, xboxmod etc
On SDcards - Numerous Android SD builds & NativeSD ROMs (Thanks boonbing, Xylograph, securecrt & Almighty tytung!)
Radio 2.15.50.14
User avatar
Robbie P
Recognized Contributor
 
Posts: 154
Joined: Tue Jun 25, 2013 12:04 am
Location: London
Country: United Kingdom (uk)
Has thanked: 127 times
Been thanked: 124 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby tytung » Mon Jul 15, 2013 7:29 pm

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 :D

Thanks for sharing your experience.
Can't you download any app or a specific big app?
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: Nand, DataOnExt, NativeSD, SD... What is next?

Postby Robbie P » Mon Jul 15, 2013 7:42 pm

tytung wrote:Thanks for sharing your experience.
Can't you download any app or a specific big app?

Any app that is big enough to make me go over the 10% margin. This is the same in any NativeSD rom I have on the card. eg I just installed a 116Kb app, but can't install a 6Mb app
Edit; i assume it is the same for dataonext users
HTC HD2 (EU)
SPL 2.08. HSPL3;
Magldr 1.13 thanks bepe & Cotulla
On NAND - WP7.8 pdaimatejam v8.8 thanks to pdaimatejam, DFT, YukiXDA, xboxmod etc
On SDcards - Numerous Android SD builds & NativeSD ROMs (Thanks boonbing, Xylograph, securecrt & Almighty tytung!)
Radio 2.15.50.14
User avatar
Robbie P
Recognized Contributor
 
Posts: 154
Joined: Tue Jun 25, 2013 12:04 am
Location: London
Country: United Kingdom (uk)
Has thanked: 127 times
Been thanked: 124 times

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron