[Q] How do I change data file size - HD2 Android Q&A, Help & Troubleshooting and Genera

The header pretty much explains it all, I want to use multiple builds on my card but with the 1G data image size of most of the newer builds I can only fit two on there. does anyone know how to change it back to the 512?

Here you go: [How to]Simplest way to change internal memory (data.img) from 256 to 512 or 1gb by bhaveshdj

Requires that you use a linux os.

Related

Storage/Program Size?

Is it possible to change Storage/Program Size without Upgrade or change the OS?
Current Storage is 40MB and Program size is 43MB.
Change it to 25 for Storage and 58 for Program.
So, is it possible using any utility?
See u all.
No way its a hardware issue
well thats ur defalt storage cant mess around with the phone mem
The program memory area (or RAM which is 64 MB for Gene ) is fixed you can not change it any way. The storage memory (or ROM which is 128 MB)is the area which is left after your device is flashed it with a ROM image. So IF you flash your ROM with some other custom ROM, the storage area will be different. but program memory will be unaffected

[Q] Partitioning of the SD Card

Hello
I'm posting this because I just changed my 1GB SD card for a 16 GB Class 6, everything works fine, but now (one of the goals of the operation) I want to upgrade to 6.0 Cyanogen
So, the question is: should I partition? what is the reasonable amount to allocate to keep the rest for any Debian etc.
Depend...
OK, I have the answer, so I give it in case you wonder.
In fact, there is no need to partition the point of view of 6.0, but some applications can seek an ext2 or swap (this is a constraint due to these applications, not to cyanogen) So if we can predict all at once as long as it does not take too much space (32 MB of swap, and around 800 / 1.2GB ext2 ...).
Still, I think there are people who program with their feet ...
Correct you don't need the EXT partition because Froyo supports apps2fat which means you can do it with a regularly partitioned card. However, if your going to install apps to your SD its better to flash fireats script that lets you use the EXT partition and go that route. Reason being, if you ever unmount your SD card with the system on, all your apps go with it.
Sent from my HTC Magic using XDA App

[Q] about partitioning your SD card?

okay, so i just flashed Kyrillos' ROM (7.0, then upgraded to 7.1)
now i want to partition my SD card to create SWAP, and also to create a partition to add extra space to the internal memory (what is it's name, again?)
i don't know too much about what type of partition to do, so can you guide me through the process or give me a link where i can read further?
also, what are the recommended partition sizes?
PS : i have a 4GB, class 4 SD card. and i just downloaded minitool.
Mohit12 said:
okay, so i just flashed Kyrillos' ROM (7.0, then upgraded to 7.1)
now i want to partition my SD card to create SWAP, and also to create a partition to add extra space to the internal memory (what is it's name, again?)
i don't know too much about what type of partition to do, so can you guide me through the process or give me a link where i can read further?
also, what are the recommended partition sizes?
PS : i have a 4GB, class 4 SD card. and i just downloaded minitool.
Click to expand...
Click to collapse
you can flash g3mod kernel and do partition in uer sd card.mine is 8 GB Card, Class 4...I have 1024 as Ext Size and 256 as SWAP. so the choice is uers.
Mohit12 said:
okay, so i just flashed Kyrillos' ROM (7.0, then upgraded to 7.1)
now i want to partition my SD card to create SWAP, and also to create a partition to add extra space to the internal memory (what is it's name, again?)
i don't know too much about what type of partition to do, so can you guide me through the process or give me a link where i can read further?
also, what are the recommended partition sizes?
PS : i have a 4GB, class 4 SD card. and i just downloaded minitool.
Click to expand...
Click to collapse
Well, the answer to that is already in the forum
http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning
Hope this helps
darksyde18 said:
Well, the answer to that is already in the forum
http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning
Hope this helps
Click to expand...
Click to collapse
I've been looking for that too , Thanks
okay, i didn't know i'd need a card reader :/
i don't have it. any way to partition it using the CWM?
and what sizes do you recommend? i was thinking maybe 128 MB SWAP and 512 as the internal memory size.
and do i have to flash the g3mod kernel? i'm currently running 2.6.32.9. this came with Kyrillos' 7.0.
wait, i'm getting confused now. when i flash Kryillos' ROM 7.0, does my kernel also get changed? or am i running the stock kernel?
and the CWM i'm talking about is just.. recovery. the one that i access using vol up + vol down + home key + power key.
that also has partition SD card option under advanced > partition SD card.
will this do or do i have to flash g3mod kernel?
Once you flash Kryillos' ROM you are no longer running the stock kernel
CWM is ClockWorkMod Recovery and it comes with the ROM and so it's different (Google it)
And about making a SWAP, well , you might wanna read this -
"1. An Android swap partition must live on your SD card. SD cards are very, very slow memory. They are 100 to 1000x slower than a SIM. They are 10 to 100x slower than a hard drive. They are marginally faster than a network connection. When an application is “swapped out” it is copied into this very slow memory, and copied back to physical memory when it needs to run. On the other hand, when an app needs to be restarted after being terminated by Android, it is loaded not from the SD card but from the device’s (relatively) fast physical memory.
2. When an Android app is terminated because of low memory, it decides what information must be persisted to represent it’s state. This can be very, very small. For example, it might be an integer index into a database. When an app is moved into virtual memory, the OS has no idea what’s important. It just moves the application in whole. It can’t be smart about it.
3. Having swap actually prevents the native Android memory management scheme from activating. The system sees memory and doesn’t distinguish between physical and virtual. It will therefore prefer swap over the native Android memory management scheme, and won’t activate the native scheme until swap is full.
4. Having swap requires some overhead of system resources."
darksyde18 said:
Once you flash Kryillos' ROM you are no longer running the stock kernel
CWM is ClockWorkMod Recovery and it comes with the ROM and so it's different (Google it)
And about making a SWAP, well , you might wanna read this -
"1. An Android swap partition must live on your SD card. SD cards are very, very slow memory. They are 100 to 1000x slower than a SIM. They are 10 to 100x slower than a hard drive. They are marginally faster than a network connection. When an application is “swapped out” it is copied into this very slow memory, and copied back to physical memory when it needs to run. On the other hand, when an app needs to be restarted after being terminated by Android, it is loaded not from the SD card but from the device’s (relatively) fast physical memory.
2. When an Android app is terminated because of low memory, it decides what information must be persisted to represent it’s state. This can be very, very small. For example, it might be an integer index into a database. When an app is moved into virtual memory, the OS has no idea what’s important. It just moves the application in whole. It can’t be smart about it.
3. Having swap actually prevents the native Android memory management scheme from activating. The system sees memory and doesn’t distinguish between physical and virtual. It will therefore prefer swap over the native Android memory management scheme, and won’t activate the native scheme until swap is full.
4. Having swap requires some overhead of system resources."
Click to expand...
Click to collapse
Nice and informative.

[Q] How create/make bigger app partition Android 4.0.3

I have LEO T8585, and when i flash Android 4.0.3. NAND (http://forum.xda-developers.com/showthread.php?t=1354267) i have only 100MB for apps. I tried this HD2 Android NAND toolkit to make partition bigger but no luck.
No matter what size i choose i'll get same size for downloaded apps - 100MB.
Im not total noob flashing NAND ROM-s , but do i miss something?
Or is it possible to make this partition bigger?
Thanks
First, the space shown as available doesn't include the system, boot or cache partition size, only the data partition size, and since during flashing, the data partition size is set to be whatever is left over after the rom is flashed, the only way to increase data size is by reducing the system partition size, , but then of course the rom wouldn't fit (because you flash the system partition to be only fractionally larger than the size of the system folder contents, if you flashed a larger system partition, the extra space would be wasted, unused by anything, example put a rom requiring 150mg onto a 250 Meg layout and you lose 100mb)
Secondly, if you set up an ext partition on the SD card, the rom will consider that internal memory BUT (on most roms) wont show it on the available internal storage calculation, but it WILL use it as internal.
third, the 4.x roms are still beta, and vary as to sizes required, whether they have ap2sd+ built in or whether you need to manually install and configure it. If you are looking for a rom you can keep as a daily for a while, wait until 4.x is a few more betas along.
Thanks!
Thats what i thougt. I made minimal part. 190MB and got 100 extra. My ext. on SD is 1024. For now its ok. And this 4.0 beta 10 it is very nice ROM, looks stable and smooth on HD2.

Partitioning HDD on Multi-OS system.

Well, I have the Cube i10 Android/Windows Tablet. Nice thing, except maybe the space for the Android OS being a bit too small.
I managed to upgrade my Windows 10 to 10586 and with seperate language pack, it back in my language.
Now i looked around the internet, if I could change the predefined space for either System. (It is possible to increase the partition size of the Andorid OS, but it requires a re-flashing, which I don't neccessarily want. In windows disc-management i saw all the partitions given for android etc, but did not dare to touch something as it was shown in RAW-format. Now i installed a "real" partitioning program (Paragon Partition Manager 15) and it shows me the "real" informations.
Total disk: 28.9 gb (which sums up to ~32gb advertised)
- then a lot of small (5x 16 and 3x 64 and 1x 32mb) GTP partitions, no label, all hidden (i expect these to be android Dalvik, recovery and cache partitions)
- then 4x Linux ext4 partitions (16mb, partially full, 1gb, hardly full, 256mb, half full another almost full 1gb partition) don't know what these are, also all hidden
- then a 3GB Linux ext4 partition (which surely represents the ROM from the Android part, with exact taken/free space data from android)
- then - my problem - a 128mb GPT-Volume, which i can't move
- then the 22.7gb Windows Partition (is resizeable)
- and last, a 450mb hidden backup/windows recovery partition
my problem is, that i can't move the 128mb GPT-Volume. So even if i can split ~2-3gb off the Windows partition, it stays after the GPT volume but it has to be before that to be merged with the android 3gb to make it bigger. I read around that you can delete the GPT-partitions, but don't want to risk it. I "could" merge my 3gb Linux partition with any of the 4 other partitions, but as all of those are not empty, i expect them to be some system recovery backup or whatever. Any information?
I'm afraid that you have to do repartitioning with android flasher and then reinstall Windows too.
Sent from Nexus 6P using Tapatalk
sad, i was afraid that it would be able by editing the partition.tbl file in the rom. Well then i have to stay with the few space i got.

Categories

Resources