|
Fighter19 replied at Mon Feb 9, 2015 12:40 
Is there a way to increase the internal storage partition, you could even come to me with dd etc. I ...
The simplest way to modify the partition usage of Android is to edit one of the files used by the DragonFace program and store a new initial install image.
Changing the partition sizes of an already installed and used Android system is far more complex.
The following information is quoted from an older post by ChrisP, made on Oct 29 2014:
When DragonFace is opening an img, it put various thing in 3 main folders:
DragonFace\fsop
DragonFace\CPFOP
temporary folder, usally found by typing %temp% in the adress bar of windows explorer.
To modify the partition sets of an image, finally it's pretty simple.
1 - With DragonFace, open the image you want to resize.
2 - Edit the file sysconfig.lhs in temp folder with your favorite text editor (mine is notepad++)
3 - Modify the content of the file in that way:
Locate the following section:
[partition]
name =data
size =2097152
Actually, this one is where android will write most of his data, and the most important one to increase.. I tried to set the new value to:
size= 4194304 (Which mean 2 GB)
Locate the following section:
[partition]
name =system
size =1048576
This is the size of the system partition, which is read only, I resized it to 1GB for testing but it's only needed to increase that if you plan to add additionnal data in system, by copying additionnal files in DragonFace\fsop\system :
size= 2097152
4 - Save the modified file from text editor
5 - Save the tweaked img from DragonFace to a new img file
6 - Burn it with Phoenix card, and boot your BPi on it
Once Android booted, go to Settings, Storage, and tadam, internal storage is now 1.97 GB. This is the size of /data partition
Of course the remaing size of the FAT partition you can use to put files when monting on windows is reduced, so you should do some adjustement that fit with your SD size and your usage, if you want to put movies on your SD Card.
The partition named "data" in the above is the one that Android will use as 'internal' storage for installation of apps. The original size is in my opinion too small, and easily fills up, especially when installing system-intensive apps unsuitable for moving to the simulated SD card area. That "/sdcard" area is another partition on the same SD card, which will consist of all the space that was NOT allocated in the sysconfig.lhs file mentioned above. You should also be aware that the original release of the Android 4.2 system did not mount that partition correctly, so much of the space on those cards was effectively lost, but the newer Android 4.2 images released by forum members do mount it correctly. There is also a simple patch you can make to fix the "/sdcard" mounting so as to 'repair' existing setups based on the original release. (Ask again if you need it. Or just search the forum.)
Best regards: dlanor
|
|