Internal storage read/write look ahead? - X Style (Pure) Q&A, Help & Troubleshooting

I have changed my SD card read/write look ahead to 2048 but was wondering if it is safe to change the internal storage look ahead too? If so, what is a good value to speed up writing and reading from internal storage? Stock value is 128....

I've always used 512 as my max. I read up on it a few years ago, but to be honest, I can't remember what the reason was.
On a side note, the XDA app is goofed up so I wasn't able to quote you, sorry!

Cool. Thanks for the info

Possible noob question... How do you change the SD read/write?

how increase read ahead cache and sdcard to 2048 in phoenix os
Hello XDA memebers and admin
i need help and very tired
i dont want use L speed in phoenix os for boost phone and speed read and write
i need other apk or code or tweak
please help me

Related

maximize internal memory using sd

hello i am using stock desire rom on my hd2 and i wanna maximize the internal memory. i already partition my sd at 1024mb ext3 and nothing. i also downloaded rom manager and try to partiotionining my sd from there and nothing.
what should i do ?
i also had rafdroid 2.3 and it was working with 1024mb shared memory but the rom was tooo laggy
thanks
no one ? gosh pls help me
Need help w/ this too, please rply..! I saw that it is possible to extend int. memory w/ SD in a thread on a site called allshadow, but it went down, can't get to the tutorial and I srsly need to do sth about it. I'm pretty sure it's already somewhere posted (even if not on this forum), but can't help finding it for a while now, couldn't just someone post a link or sth? With huge amount of gratitude forward...
Are you using cwr? Cause if you are the smaller you make system data the more internal memory you will have. But Partition sizes should be in the op of the rom you are flashing.

Help please...problems with my 8gb internal micro sd card

Hello all, i'm new and noob in the android OS and tablets and stuff, so i'l need a little help from you if you would like...i've got a dell streak 5 and somehow i managed to open it and mount an internal micro sd card 8GB class 10 and i installed a android 2.2 on it with the fast boot and qdl tool. now when i try to install some apps i always receive the following msg: sorry, there's not enough space to install this item. i have a 6.4 gb of free space so...what's the problem here? it is not formatted ? and if is not how should i do this?
please help
try to unmount the external sd and try again
U need to research which card are compatible with the streak... I think it only recognizes 2 or 4gb idr
But anywho, you can't just throw in a big card without even seeing if it'll work first..
cameronmfjay said:
U need to research which card are compatible with the streak... I think it only recognizes 2 or 4gb idr
But anywho, you can't just throw in a big card without even seeing if it'll work first..
Click to expand...
Click to collapse
That's not true. I have an 8gb card on mine class 4 and works good.
Hardware Hacking the Streak – thread at MoDaCo, main focus is replacing the internal SD Card with a faster, larger card
How-to Increase streak storage up to 62 GB – an extension/continuation of the hardware hacking thread at MoDaCo
Changing Internal SD - thread here at XDA
copied from dif post
Thx marvin02
What I meant was he cant switch cards without prepping the new one and just expect everything to work..
cameronmfjay said:
What I meant was he cant switch cards without prepping the new one and just expect everything to work..
Click to expand...
Click to collapse
I did it and worked. Obviously the internal card is just for apps... is he intents to use it as media, he has to make the hack on the link
well, thanks for your help, but i recall i'm a noob and i'm going to remain a noob until i can understand you language. do stuff like linux hack os not so simple for me. yes, i can do it with a proper tutorial or so...so, if you already did this, please take me step by step like a tutorial.
i'll really appreciate your help
Drakonian said:
well, thanks for your help, but i recall i'm a noob and i'm going to remain a noob until i can understand you language. do stuff like linux hack os not so simple for me. yes, i can do it with a proper tutorial or so...so, if you already did this, please take me step by step like a tutorial.
i'll really appreciate your help
Click to expand...
Click to collapse
If you want the internal SD for apps, but open it, change you internal SD, and make a factory reset (NOT from the custom recovery, use the Dell screen).
Or do you mean to open your Dell?
Drakonian said:
Hello all, i'm new and noob in the android OS and tablets and stuff, so i'l need a little help from you if you would like...i've got a dell streak 5 and somehow i managed to open it and mount an internal micro sd card 8GB class 10 and i installed a android 2.2 on it with the fast boot and qdl tool. now when i try to install some apps i always receive the following msg: sorry, there's not enough space to install this item. i have a 6.4 gb of free space so...what's the problem here? it is not formatted ? and if is not how should i do this?
please help
Click to expand...
Click to collapse
You didn't format it before inserting the new card? The internal sd should be ext3 like this:
Code:
/dev/block/innersd0p5 /cache ext3 rw,nosuid,noatime,nodiratime,errors=continue,commit=99999,data=writeback 0 0
/dev/block/innersd0p6 /data ext3 rw,nosuid,nodiratime,errors=continue,commit=99999,data=writeback 0 0
I don't know how you could install the rom without having acorrect partition type on your sd card, though. Check to see using 'adb shell mount' on your PC. To format the sd card, you'd need a program like parted.
Hope it didn't misunderstand your problem.
yes, i installed android 2.2 without formatting the micro-sd card. if i'm correct, you'll need ext3 partition for the apps, not for the os. or it's done auto when i did this with the qdltool software.
i'll try something else and i'll post the result here

Low storage help fast please

I'm a beginner, please bear with me if I'm stupid. I recently installed Android on my hd2 and the storage space on my hd2 is very low. i want to install more apps than 73 mb or so. I see others getting 400. how can I get this.
DiskUsage Screenshot is attached
vijaygopal1234 said:
I'm a beginner, please bear with me if I'm stupid. I recently installed Android on my hd2 and the storage space on my hd2 is very low. i want to install more apps than 73 mb or so. I see others getting 400. how can I get this.
DiskUsage Screenshot is attached
Click to expand...
Click to collapse
There are several ways to create more space. The first one is deleting some apps but I don't think you want that.
If you have room on your SD card, place some apps on the SD card. You can do this with several apps like 'app 2 sd'. Since you are a beginner this is probably the best way to do it but you can also use a script for this. Most custom roms have this but you have to read the instructions on the particular roms thread on how to operate it.
Not exactly what i wanted
DeXeS said:
There are several ways to create more space. The first one is deleting some apps but I don't think you want that.
If you have room on your SD card, place some apps on the SD card. You can do this with several apps like 'app 2 sd'. Since you are a beginner this is probably the best way to do it but you can also use a script for this. Most custom roms have this but you have to read the instructions on the particular roms thread on how to operate it.
Click to expand...
Click to collapse
But others have like 400 - 300 mbs of free space on the same rom. I want to know what is wrong with my rom or installation. I have experiance in android and the lg optimus one, just no this phone. I know we can install link2sd but I want that 400 mb
First possibility, they have a device with 1024 MBytes storage, as i understand, this is the american version of HD2 (LEO1024).
Otherwise you must use A2SD or Link2SD.
I prefert the last one, because you have an influence, which APPs will be moved to the SD card.
Sounds like maybe you made too large system partition. Example, if your instructions says it needs 150mb partition, and you create 250mb partition, you LOSE 100mb of storage space, because storage is calculated on what is left AFTER the system partition is created.

64GB Kernel Script Patch for Z1

Hey Guys,
I asked @kokotas to help me figure out a way to make a Patch to extend the Internal Memory as for me, due to the size of the high-end Applications and Games, is too limited 16GB, 11,70GB available only, on our Z1.
So my first Idea was to sacrifice 16Gb Internal Memory and use 64GB External SD Memory formatted in EXT4 where all the Data will be stored.
To do so we have to understand few thing and how is the structure of the Z1 Kernel is made and try to extract "ramdisk.cpio" where we can edit "init.rc" and change the line "/data mount"
As for the kernel "Autopsy" we used @krabappel2548 kernel build, I hope he is fine with that.
From what we know, the recovery is injected in the boot.img and this makes things more complicated.
Are all kernels built in this way? Even the stock ones?
Also, is there a specific rule in the way of naming the included ramdisks?
I attached a picture to make things more clear.
Any help will be appreciate.
eclyptos said:
Hey Guys,
I asked @kokotas to help me figure out a way to make a Patch to extend the Internal Memory as for me, due to the size of the high-end Applications and Games, is too limited 16GB, 11,70GB available only, on our Z1.
So my first Idea was to sacrifice 16Gb Internal Memory and use 64GB External SD Memory formatted in EXT4 where all the Data will be stored.
To do so we have to understand few thing and how is the structure of the Z1 Kernel is made and try to extract "ramdisk.cpio" where we can edit "init.rc" and change the line "/data mount"
As for the kernel "Autopsy" we used @krabappel2548 kernel build, I hope he is fine with that.
From what we know, the recovery is injected in the boot.img and this makes things more complicated.
Are all kernels built in this way? Even the stock ones?
Also, is there a specific rule in the way of naming the included ramdisks?
I attached a picture to make things more clear.
Any help will be appreciate.
Click to expand...
Click to collapse
1. Sony doesn't have a recovery partition in their phones hence developers add the recovery in the ramdisk. Also stock sony kernels doesn't have a recovery included by default only bootloader/flashmode.
2. You can't adjust the 16gb internal partition without diving deeply into the bootloader. The NAND partition profiles are hardcoded in the bootloader so modifying even just a little bit of info in the partition of the NAND would brick your device. The only way I could possibly suggest to try is hijacking the fstab and ramdisk to unmount the internal storage and mount the external storage on init. But if your issue is only about disk space I suggest you leave the internal storage and just symlink the obb folder instead of hijacking the whole internal storage. And BTW the disk IO of the internal storage is worlds apart compared to your microsd card no matter what class it is so it would be very unefficient if you use your microSD card as internal. IMHO reading the dalvik-cache 1 by 1 on startup would be pretty slow! Same goes for reading the byte code of an app once you open it.
Riyal said:
1. Sony doesn't have a recovery partition in their phones hence developers add the recovery in the ramdisk. Also stock sony kernels doesn't have a recovery included by default only bootloader/flashmode.
Click to expand...
Click to collapse
We know that. If there will be a Partition for recovery it will be much more easy and safe. That why we also used a Kernel with recovery implemented.
Riyal said:
2. You can't adjust the 16gb internal partition without diving deeply into the bootloader. The NAND partition profiles are hardcoded in the bootloader so modifying even just a little bit of info in the partition of the NAND would brick your device.
Click to expand...
Click to collapse
We trying and this is the risk of everybody who flashing a Custom Kernel.
Riyal said:
The only way I could possibly suggest to try is hijacking the fstab and ramdisk to unmount the internal storage and mount the external storage on init. But if your issue is only about disk space I suggest you leave the internal storage and just symlink the obb folder instead of hijacking the whole internal storage.
Click to expand...
Click to collapse
Maybe not the whole internal storage but implement the external SD with the internal?
Riyal said:
And BTW the disk IO of the internal storage is worlds apart compared to your microsd card no matter what class it is so it would be very unefficient if you use your microSD card as internal. IMHO reading the dalvik-cache 1 by 1 on startup would be pretty slow! Same goes for reading the byte code of an app once you open it.
Click to expand...
Click to collapse
I know the difference between Internal and External Storage. Yes the internal bandwidth is higher but like I said is worth the sacrifice, or try. Best solution will be System and Apk on Internal and link the SD to use there all Data. This is more efficient that a third Apps like Link2sd or kind of. BTW, I don't think it will be so slow but we have to try. The idea have to be made to improve what next.
So we need more Ideas, do you have any?
We know that. If there will be a Partition for recovery it will be much more easy and safe. That why we also used a Kernel with recovery implemented.
We trying and this is the risk of everybody who flashing a Custom Kernel.
A: This isn't about risk this is a fact. Once you successfully manage to alter the partition table of the built in NAND you're sure to get a hard brick from doing this.
Maybe not the whole internal storage but implement the external SD with the internal?
A: Implementing internal storage with external to support it is possible but limited. Like I said you could symlink the obb and Android folder to the external storage. That way you can allocate some of the storage space to data, dalvik etc. and the data files to the external SD which uses the most resources.
Hmm, changing the partition table has been successfully done on the xperia T
http://forum.xda-developers.com/showthread.php?t=2147997
I am not an expert here, but is this what you are talking about,
What benefit would this give a user?
Sent from my C6903 using xda app-developers app
gregbradley said:
I am not an expert here,
Click to expand...
Click to collapse
Me either, @kokotas is the Master here and all thanks should go to him for help me with this, actually the picture is of his work.
gregbradley said:
Hmm, changing the partition table has been successfully done on the xperia T
http://forum.xda-developers.com/showthread.php?t=2147997
Click to expand...
Click to collapse
We do not try to repartitioning the Sony Z1 internal memory to get a recovery bootable from different partition, which still a very good idea to develop for Z1. We try to mount the External SD instead of the Internal to expand the storage for the Z1, and here we need a patch. If kind of patch like that will really work, with some help, anyone just will format the SD in EXT4 and use what like he like, 32/64GB.
So we will be glad even to involve more "Programmers" to help us make it true.
So any way to let this work?
Jay794 said:
What benefit would this give a user?
Click to expand...
Click to collapse
Expand storage. You will be able to format a 64GB, micro SD in 2 Partitions and use 32GB by the System and 32GB like a normal SD, for example, and it will be managed by the system and not by Apps. So instead of 11,70GB you will have 30GB in System.
Surely this will just make accessing the SD card data really slow? Even with a class 10 running games off the SD card would be laggy as hell
Sent from my C6903 using xda app-developers app
Jay794 said:
Surely this will just make accessing the SD card data really slow? Even with a class 10 running games off the SD card would be laggy as hell
Click to expand...
Click to collapse
Thank you for your Opinion. Is not your problem.
Expert Request Please..
Can someone who know more than me just have a look on the attachment and answer few question, unanswered form post 1.
..for Z1
1) Are all kernels built in this way? Even the stock ones?
2) Also, is there a specific rule in the way of naming the included ramdisks?
3) Do all kernels use the sbin folder?
4) Is ramdisk.cpio the default name used in all kernels
Hey, I support the idea, I just don't see how useful it will be
Sent from my C6903 using xda app-developers app
gregbradley said:
Hmm, changing the partition table has been successfully done on the xperia T
http://forum.xda-developers.com/showthread.php?t=2147997
I am not an expert here, but is this what you are talking about,
Click to expand...
Click to collapse
Yes it is possible but not easy... I'm pretty sure the dev that made that had a hard time before he successfully got it. Also I'm pretty sure he has a JTAG box so in case his phone got hard bricked he can easily fix it again. Also IMHO that was already patched by sony on the latest s1boot so I'm sure it's alot harder than before.
Riyal said:
Yes it is possible but not easy... I'm pretty sure the dev that made that had a hard time before he successfully got it. Also I'm pretty sure he has a JTAG box so in case his phone got hard bricked he can easily fix it again. Also IMHO that was already patched by sony on the latest s1boot so I'm sure it's alot harder than before.
Click to expand...
Click to collapse
Yes, he did brick his Xperia T a few times, and the LK kernel was never really taken up because of the risks.
But it does show that it was possible to change the partition table.
As for on the xperia Z1, I don't know
gregbradley said:
Yes, he did brick his Xperia T a few times
Click to expand...
Click to collapse
I can do that.
Only problem with having the SD used all the time for system files is the risk of corruption and or a failed card.
Saying that I had it on the S3 and it worked brilliantly, was a relatively simple script which required init'd support from a custom kernel.
In all fairness, after using folder mount the worries i've had with my internal memory have gone, i'm always over 10GB of space with several really big games installed which would easily take over the whole internal memory.
dladz said:
Only problem with having the SD used all the time for system files is the risk of corruption and or a failed card.
Click to expand...
Click to collapse
Here you sound like Google.
dladz said:
Saying that I had it on the S3 and it worked brilliantly, was a relatively simple script which required init'd support from a custom kernel.
Click to expand...
Click to collapse
I had it on HD2 as well and never had any issues and I had full control of my device, this is what also we looking at, no restrictions and no storage limit on a high-end device. I will be glad to see 64GB recognized as my System Storage instead using Apps on Apps like the Mount Folder.
I play Most Wanted, of curse a bit slow, on mine HD2 so if we get this work we will have 40mb/s in writing and reading, instead of 70mb/s in internal, due to the limitation of the slot. I think even with a kind of transfare like that you will never see any slow down of the performance on your device.
Some Smart One will say now to me "Why then you don't go back to HTC". That's the point! Imagine have Z1 with such a Development and full control of you device.
At last it's a choice of the user if he want apply that patch or not, but I think if this will be possible many will be happy, but like I can see, we don't have much support due to the risk and any Developer will not take this in consideration, or maybe will, but apparently not now.
eclyptos said:
Here you sound like Google.
I had it on HD2 as well and never had any issues and I had full control of my device, this is what also we looking at, no restrictions and no storage limit on a high-end device. I will be glad to see 64GB recognized as my System Storage instead using Apps on Apps like the Mount Folder.
I play Most Wanted, of curse a bit slow, on mine HD2 so if we get this work we will have 40mb/s in writing and reading, instead of 70mb/s in internal, due to the limitation of the slot. I think even with a kind of transfare like that you will never see any slow down of the performance on your device.
Some Smart One will say now to me "Why then you don't go back to HTC". That's the point! Imagine have Z1 with such a Development and full control of you device.
At last it's a choice of the user if he want apply that patch or not, but I think if this will be possible many will be happy, but like I can see, we don't have much support due to the risk and any Developer will not take this in consideration, or maybe will, but apparently not now.
Click to expand...
Click to collapse
I actually probably will be going back to HTC after this phone. Doubt it'll be the M8, although i do like it, the camera is sup par though and i've come accustomed to a decent picture.
dladz said:
I actually probably will be going back to HTC after this phone. Doubt it'll be the M8, although i do like it, the camera is sup par though and i've come accustomed to a decent picture.
Click to expand...
Click to collapse
I know, I try to don't give up on it too but to much to deal with. The camera is good but I was disappointed anyway. So I was thinking about 64GB HTC One, or wait for the next release and I will finally be fine. For the moment I try to deal with Z1, I hope somewhere we will have 64GB system storage , this maybe will change my mind, everything is possible.
eclyptos said:
I know, I try to don't give up on it too but to much to deal with. The camera is good but I was disappointed anyway. So I was thinking about 64GB HTC One, or wait for the next release and I will finally be fine. For the moment I try to deal with Z1, I hope somewhere we will have 64GB system storage , this maybe will change my mind, everything is possible.
Click to expand...
Click to collapse
Have you used folder mount before? It really is a great app and i've not needed the larger internal storage since using it.

Space is all I want!

Hi all, so to start with, as the title says im constantly running out of space on the FN model 2015, so ive dived into the forum looking for help. First thing i tried was the sd card hack to combine my 64gb sdcard with the 8gb internal. Harra! it worked, but then i still run outa space as it dosen't seam to to use the sdcard space as i had hoped. It's like it just copys some of the data from the apps to the SD card like normal but without having to go into the each app and selecting external sdcard. Kinda thought no probs I'll download a custom rom with no samsung apps and with a min gapp giving me as much storage space i could get. I can't see one, starting to think there isnt one. So my question is, is it hard for me to take my backup of my stock rom and strip what I can out bearing in mind I'm a bit of a noob and have to follow instructions from the clever ROM makers? not to bothered about increasing the speed and looks just the space. Would be able nice to update them without having to delete a few and re-install the ones I deleted. Any advice on what coarse to take would be great. Maybe theres a ROM I've mist I could use and give thanks for?
Cheers
Running 6.0.1
Drebbs
Hi,
Instead of using Adoptable Storage, make 2 partitions on your SD, 1 FAT32 for photos,music,documents and another EXT4 for apps data. Use this app: https://play.google.com/store/apps/details?id=in.co.pricealert.apps2sd , i tested it.
You can make 2 partitions using PC or with TWRP Recovery.
drebbs said:
Hi all, so to start with, as the title says im constantly running out of space on the FN model 2015, so ive dived into the forum looking for help. First thing i tried was the sd card hack to combine my 64gb sdcard with the 8gb internal. Harra! it worked, but then i still run outa space as it dosen't seam to to use the sdcard space as i had hoped. It's like it just copys some of the data from the apps to the SD card like normal but without having to go into the each app and selecting external sdcard. Kinda thought no probs I'll download a custom rom with no samsung apps and with a min gapp giving me as much storage space i could get. I can't see one, starting to think there isnt one. So my question is, is it hard for me to take my backup of my stock rom and strip what I can out bearing in mind I'm a bit of a noob and have to follow instructions from the clever ROM makers? not to bothered about increasing the speed and looks just the space. Would be able nice to update them without having to delete a few and re-install the ones I deleted. Any advice on what coarse to take would be great. Maybe theres a ROM I've mist I could use and give thanks for?
Cheers
Running 6.0.1
Drebbs
Click to expand...
Click to collapse
Hey i recommend rooting ur phone then download an app called move to sd card from playstore go to settings and choose download locations then select external sd card . Problem solved
Sent from my SM-J500F using Tapatalk
read post #415
here: http://forum.xda-developers.com/gal...msung-j5-f-t3400101/post69989096#post69989096
Thanks for your reply! I went down the apps2SD route in the end. Kinda mest it up a bit but have free'd up nearly 1gb of space so thanks, that's more than enough! %) I ended up partitioning the SDcard and linking all the apps I'm not interested in, excel,Skype,Samsung etc. Anyway what i didn't realise was that i had mest the other part of the partition up. Ended up re-formatting the SDcard in recovery back to normal and those apps I didn't want 90% of the data of those have now been wiped %)

Categories

Resources