Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,832 Members 51,436 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Repartition internal storage

Tip us?
 
netimen
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Feb 2011
Drive [Q] Repartition internal storage

I'm running a SlimKat ROM on Sony Xperia Z Ultra. Officially the device has 16GB storage installed, but only 11.79GB are available to the user. I know that all the rest is reserved for the OS needs. May be the official Sony ROM really needs 3.5GB of space to function properly, but since SlimKat is a very compact ROM, I'm sure it doesn't need so much storage (am I right?).

So is there any way to make more storage available for the user needs and less for the OS? May be there are some ways to repartition the device memory.

When I tried to google the question, I learned that there are some tricks to make the device treat the external SD card as internal storage, but that's not what I'm looking for now
 
LordManhattan
Old
(Last edited by LordManhattan; 27th June 2014 at 05:58 PM.)
#2  
LordManhattan's Avatar
Senior Member
Thanks Meter 5644
Posts: 14,996
Join Date: Oct 2007
Location: Kepler-34b
I believe the NAND (internal SSD) capacity is reported using the the binary system (base 2 i believe), so 16GB won't actually be 16GB, same as your 1TB HDD won't give you the full 1TB, because 1000GB isn't 1000GB, like 1MB isn't 1000KB, but 1024KB as an example. It's math. I have no idea how a typical SSD's capacity is counted though, but you can't "recover" those 3.5GB and have all 16GB to yourself. A part of the 3.5GB simply doesn't exist.
 
I DO NOT RUN A SUPPORT LINE THROUGH PERSONAL MESSAGES,
SO PLEASE DO NOT PM ME ABOUT HELP (*COUGH* UNLESS I KNOW YOU *COUGH*).

THANK YOU, AND PLEASE HAVE A COOKIE ON YOUR WAY OUT.


 
netimen
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Feb 2011
Quote:
Originally Posted by LordManhattan View Post
I believe the NAND (internal SSD) capacity is reported using the the binary system (base 2 i believe), so 16GB won't actually be 16GB, same as your 1TB HDD won't give you the full 1TB, because 1000GB isn't 1000GB, like 1MB isn't 1000KB, but 1024KB as an example. It's math.
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
 
SÜPERUSER
Old
#4  
SÜPERUSER's Avatar
Senior Member
Thanks Meter 84
Posts: 427
Join Date: Jan 2013
Quote:
Originally Posted by netimen View Post
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
the storage isn't empty you know ...there is allot of files stored there other than your personal files
 
netimen
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Feb 2011
Quote:
Originally Posted by SÜPERUSER View Post
the storage isn't empty you know ...there is allot of files stored there other than your personal files
Yes, I understand that. But does the system really need 3GB to store it's files? SlimKat is very compact, my /system partition is 500MB currently
 
SÜPERUSER
Old
#6  
SÜPERUSER's Avatar
Senior Member
Thanks Meter 84
Posts: 427
Join Date: Jan 2013
Quote:
Originally Posted by netimen View Post
Yes, I understand that. But does the system really need 3GB to store it's files? SlimKat is very compact, my /system partition is 500MB currently
if I select everything excluding /sbin, /sdcard and /storage I get 9.34GB
if i select everything excluding /sbin, /sdcard, /storage and /data I get 3.71GB

I am on slimkat rom with pimped kernel
 
LordManhattan
Old
#7  
LordManhattan's Avatar
Senior Member
Thanks Meter 5644
Posts: 14,996
Join Date: Oct 2007
Location: Kepler-34b
Quote:
Originally Posted by netimen View Post
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
Sure, but the flashed size isn't the installed size. The ROM can be 200MB when downloaded, but it can easily be 1GB when installed. It's compressed like crazy. The stock ROM is even larger at what? 800MB? Installed, that'll be 2.5-3GB, easily. I backed up my GPe ROM (NAND) last week. It's around 3GB with all my apps, and I have (only) around 20 apps installed.

Just let this go now before you do some damage to your device.
 
I DO NOT RUN A SUPPORT LINE THROUGH PERSONAL MESSAGES,
SO PLEASE DO NOT PM ME ABOUT HELP (*COUGH* UNLESS I KNOW YOU *COUGH*).

THANK YOU, AND PLEASE HAVE A COOKIE ON YOUR WAY OUT.


 
blueether
Old
#8  
blueether's Avatar
Senior Member
Thanks Meter 916
Posts: 2,284
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Here is the mounted partitions in carbon only 2.2 GB for system, but there is 1.6 free. At the most I would think you could get back would be only a little over ~1 GB. not worth the risk I feel
Code:
charles@engels:~/dev/carbon> adb shell
shell@togari:/ $ df
Filesystem               Size     Used     Free   Blksize
/dev                   904.7M   132.0K   904.5M   4096
/sys/fs/cgroup         904.7M    12.0K   904.6M   4096
/mnt/asec              904.7M     0.0K   904.7M   4096
/mnt/obb               904.7M     0.0K   904.7M   4096
/mnt/fuse              904.7M     0.0K   904.7M   4096
/tmp                   904.7M     0.0K   904.7M   4096
/system                  2.2G   657.6M     1.6G   4096
/cache                 196.7M     5.8M   191.0M   4096
/data                   11.8G     5.3G     6.5G   4096
/mnt/idd                 7.5M     1.0M     6.5M   1024
/lta-label              15.7M     4.8M    10.9M   4096
/mnt/shell/emulated     11.8G     5.3G     6.5G   4096
/mnt/media_rw/sdcard1: Permission denied
/storage/sdcard1        29.5G    22.6G     6.9G   32768
1|shell@togari:/ $
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Tags
custom rom, internal storage, root, slimroms
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

MaR-V-iN to Talk Google and Android APIs at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of September … more

But First, Let Me Take a #Selfie

“Today while browsing XDA,I’m going tocheck to seeif my favorite ROM has been updated–but … more

Easily Combine Text and Manage Your Android Clipboard with StuffMerge

Android clipboard management has always been impractical without the … more