[Q] Repartition internal storage - Sony Xperia Z Ultra

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

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.

LordManhattan said:
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.
Click to expand...
Click to collapse
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79

netimen said:
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
Click to expand...
Click to collapse
the storage isn't empty you know ...there is allot of files stored there other than your personal files

SÜPERUSER said:
the storage isn't empty you know ...there is allot of files stored there other than your personal files
Click to expand...
Click to collapse
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

netimen said:
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
Click to expand...
Click to collapse
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

netimen said:
Yes, I know, but 16GB would be 14.9 "real" GB, not 11.79
Click to expand...
Click to collapse
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.

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:
[email protected]:~/dev/carbon> adb shell
[email protected]:/ $ 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|[email protected]:/ $

Related

Access To Entire NT Filesystem Storage

So... I'm showing /data mounted with 11GB free, and all of the custom apps I've loaded from the Market are in /data/app. The 1GB of "user" storage is mounted at /mnt/media.
Either I'm really stupid, or perhaps we already have access to the full NT memory???
anlog said:
So... I'm showing /data mounted with 11GB free, and all of the custom apps I've loaded from the Market is are in /data/app.
Either I'm really stupid, or perhaps we already have access to the full NT memory???
Click to expand...
Click to collapse
That's weird. Has there been an OTA update that we weren't told about, or did the root do a whole lot more than we thought? I'm confused.
conundrum768 said:
That's weird. Has there been an OTA update that we weren't told about, or did the root do a whole lot more than we thought? I'm confused.
Click to expand...
Click to collapse
I haven't received any OTA. I think root basically gave us access to the /data mount. B&N wasn't anticipating root or the ability to load Amazon/Android markets...
anlog said:
I haven't received any OTA. I think root basically gave us access to the /data mount. B&N wasn't anticipating root or the ability to load Amazon/Android markets...
Click to expand...
Click to collapse
Well, isn't that dandy.
Get busy and try side-loading 10GB of applications and see what happens!
Although I suspect /data is a mount point for the two file systems, app and whatever the B&N one is called.
What does /etc/fstab show?
rmm200 said:
Get busy and try side-loading 10GB of applications and see what happens!
Although I suspect /data is a mount point for the two file systems, app and whatever the B&N one is called.
Click to expand...
Click to collapse
It looks like the standard /data mount from any other Android device. They just didn't anticipate end users having access to it...
anlog said:
So... I'm showing /data mounted with 11GB free, and all of the custom apps I've loaded from the Market are in /data/app. The 1GB of "user" storage is mounted at /mnt/media.
Either I'm really stupid, or perhaps we already have access to the full NT memory???
Click to expand...
Click to collapse
Not to discredit you at all, but would you be able to post a screenshot for the guy who was asking for proof on repartition info earlier in another thread?
Speaking of which, is there an easy method to take a screenshot?
Sent from my Nook Tablet using Tapatalk
downsay said:
Not to discredit you at all, but would you be able to post a screenshot for the guy who was asking for proof on repartition info earlier in another thread?
Speaking of which, is there an easy method to take a screenshot?
Sent from my Nook Tablet using Tapatalk
Click to expand...
Click to collapse
You can run a "df" from an ADB shell to see the mount points.
/data is there with over 11GB free.
This is all stock - no repartitioning required.
Unfortunately I have not had the chance to root yet. I guess tons of others have and they should easily be able to verify your findings. Looking forward to your one click root btw.
Sent from my Nook Tablet using Tapatalk
Could you post the contents of /etc/fstab and the output of these two commands:
Code:
df -h
mount
I'd appreciate it. I am currently deciding between the KF and the NT, leaning towards the NT, and I think being able right away to use the entire space available for apps would seal the deal.
Thanks.
downsay said:
Looking forward to your one click root btw.
Click to expand...
Click to collapse
Indirect has incorporated my gapps install into his root script, so it's better to use his now.
Good luck!
rmm200 said:
Get busy and try side-loading 10GB of applications and see what happens!
Although I suspect /data is a mount point for the two file systems, app and whatever the B&N one is called.
What does /etc/fstab show?
Click to expand...
Click to collapse
See below...
tsubus said:
Could you post the contents of /etc/fstab and the output of these two commands:
Code:
df -h
mount
I'd appreciate it. I am currently deciding between the KF and the NT, leaning towards the NT, and I think being able right away to use the entire space available for apps would seal the deal.
Thanks.
Click to expand...
Click to collapse
I've loaded over 500MB in apps from the Android Market and can see all of my apps and settings stored in /data. It's the real deal.
# df
df
Filesystem Size Used Free Blksize
/dev 456M 44K 456M 4096
/mnt/asec 456M 0K 456M 4096
/mnt/obb 456M 0K 456M 4096
/system 602M 392M 209M 4096
/data 11G 580M 11G 4096
/cache 419M 7M 412M 4096
/bootdata 47M 3K 47M 512
/rom 47M 15K 47M 512
/mnt/media 1021M 7M 1014M 4096
/mnt/secure/asec 29G 5G 23G 32768
/mnt/sdcard 29G 5G 23G 32768
/mnt/secure/asec 29G 5G 23G 32768
500MB still fits within the 1GB user area.
Can't you dummy up a copy to exceed the 1GB boundary, just to see if it is real?
Easy for me to dream up work for other folks...
anlog said:
I've loaded over 500MB in apps from the Android Market and can see all of my apps and settings stored in /data. It's the real deal.
# df
df
Filesystem Size Used Free Blksize
/dev 456M 44K 456M 4096
/mnt/asec 456M 0K 456M 4096
/mnt/obb 456M 0K 456M 4096
/system 602M 392M 209M 4096
/data 11G 580M 11G 4096
/cache 419M 7M 412M 4096
/bootdata 47M 3K 47M 512
/rom 47M 15K 47M 512
/mnt/media 1021M 7M 1014M 4096
/mnt/secure/asec 29G 5G 23G 32768
/mnt/sdcard 29G 5G 23G 32768
/mnt/secure/asec 29G 5G 23G 32768
Click to expand...
Click to collapse
Thanks!
10char
rmm200 said:
500MB still fits within the 1GB user area.
Can't you dummy up a copy to exceed the 1GB boundary, just to see if it is real?
Easy for me to dream up work for other folks...
Click to expand...
Click to collapse
The 1GB area is mounted at /mnt/media, but sure I can try pushing more data to it...
downsay said:
Speaking of which, is there an easy method to take a screenshot?
Click to expand...
Click to collapse
Screenshot = press 'n' button and '-' volume button. It ends up in your Pictures folder.
I have read through those instructions many times. Unfortunately the instructions aren't clear cut enough for me. I have no idea on how to change to the proper directory, nor what that proper directory may be. I will wait for someone to create a step by step guide with numbers and every specific so that it is noob proofed for people like me.
I guess i should add...do i need to unzip the files first after downloading and before running the script.
Sent from my Nook Tablet using Tapatalk
Even before root all of my side loaded apps and amazon apps were getting installed into the B&N content storage(or what ever you want to call it.) I've already used 1.17 gb's in there.
Apps installed from market are one thing, but are we able to mount the partition as well? I.e. to sideload music or video files from our computers, in the usual drag and drop manner.
Sorry if I'm repeating the same question again!
Edit: i.e. Similar to in the SGS II, where there is 2GB for apps (more than enough), 11gb for app data/internal sd, plus external sd.

Sony tablet S 16 GB - real capacity

Hi,
My Sony tablet S 16GB does, according to settings -> storage, has this much memory:
Internal storage (USB storage) - Total space 8.92 GB
Internal storage - Total space 3.94 GB
it makes total of 12.86 GB
If I take in count trick with not multiplying Bytes with 1024 but with 1000, I come to 16 GB = 14.9 real GB (which tablet should show).
So, minimum of capacity tablet should report is 14.9 GB (which I think is a chip trick that shouldn't be used) but it shows 12.86 GB which is significantly less.
Where is the rest of the memory?
Where's the rest 3,14 GB (or at least 2.04 GB)?
You have to consider that there are some hidden mountpoints for the system. Maybe the following output of the df command clarifies something:
Filesystem Size Used Free Blksize
/dev 370M 64K 370M 4096
/configs 1M 44K 1M 2048
/mnt/asec 370M 0K 370M 4096
/mnt/obb 370M 0K 370M 4096
/system 377M 256M 121M 4096
/datapp 377M 122M 255M 4096
/data 3G 723M 3G 4096
/cache 503M 8M 495M 4096
/log 15M 13M 2M 4096
/mnt/sdcard 8G 2G 6G 4096
There is /mnt/secure/asec as well but I couldn't determine the size because I don't have root access.
When you use 8.92 GiB for 8G and 3.94 GiB for 3G, you're getting close to the 16 GB. (15551 MiB)
thank you
I see it's (probably) 16GB (ISO Giga, not computer Giga) but they locked a lot of it for system use.
Next thing I could find out is that it has dual core processor but one core is only for system update?
sony still should of gave us 16GB regardless how much goes towards the rom.
ross231 said:
sony still should of gave us 16GB regardless how much goes towards the rom.
Click to expand...
Click to collapse
Maybe. In general, the storage number always relates to the amount of actual physical storage is included in the device. User-accessible storage is a whole different deal and liable to change.
Even my iPhone, a claimed 16GB has only 13.6 (ISO) Gig of storage available, a big drop as well. Every system since OSes and applications started taking up non-trivial amounts of storage has reported the physical storage, not the user-available.

Prime is saying I have insufficient storage and won't let me install anything.

Hey guys I feel ridiculous asking this question because I feel like it's something I should be able to figure out myself with some searching, but after all my efforts of trying to figure it out, I'm still stuck. ;P
I cannot install any more applications on my tablet, it's saying insufficient storage. Whether trying to push the install using "adb install" or uploading the .apk to like say /sdcard/ and try installing it from the device, both methods come back with insufficient storage.
The exact error is: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
I currently do _not_ have an external storage drive in.
But this is where I get a little bit confused, if I have all this free space, why would it be complaining about space?
---
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 491M 48K 491M 4096
/mnt/asec 491M 0K 491M 4096
/mnt/obb 491M 0K 491M 4096
/system 503M 241M 262M 4096
/data 27G 3G 24G 4096
/cache 421M 58M 362M 4096
/mnt/sdcard 27G 3G 24G 4096
[email protected]:/ #
---
Thanks guys, I'm sure it's something ridiculous. :silly:
mmerlina said:
Hey guys I feel ridiculous asking this question because I feel like it's something I should be able to figure out myself with some searching, but after all my efforts of trying to figure it out, I'm still stuck. ;P
I cannot install any more applications on my tablet, it's saying insufficient storage. Whether trying to push the install using "adb install" or uploading the .apk to like say /sdcard/ and try installing it from the device, both methods come back with insufficient storage.
The exact error is: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
I currently do _not_ have an external storage drive in.
But this is where I get a little bit confused, if I have all this free space, why would it be complaining about space?
---
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 491M 48K 491M 4096
/mnt/asec 491M 0K 491M 4096
/mnt/obb 491M 0K 491M 4096
/system 503M 241M 262M 4096
/data 27G 3G 24G 4096
/cache 421M 58M 362M 4096
/mnt/sdcard 27G 3G 24G 4096
[email protected]:/ #
---
Thanks guys, I'm sure it's something ridiculous. :silly:
Click to expand...
Click to collapse
How many apps do you have installed? im not sure if this is the case on the TFP but on my Galaxy s1 when ever i ran into this problem it meant the /datadata or /data/data partion was full.
if you uninstall some large applications does it allow you to install others?
Are you unlocked? if so try wiping your cache partition through CWM or TWRP
if you can install other apps this way root your device and install sd maid and clear your /cache partition
hopefully this helps
I have about 33 apps installed, that's counting maps and gmail and such. Even on the apps screen it says "Internal storage 3.2G used 24GB free".
I noticed that it doesn't have a problem updating apps. For instance it just downloaded the 6mb updated app for facebook and updated it without a problem. It only seems new installations are a problem.
Yes I am unlocked and rooted. I wiped the cache via TWRP but it did not solve the problem either.
I uninstalled a few things and got sdmaid installed, I used it to clean stuff up but it's still giving me insufficient storage errors for new installs that are a little larger, such as titanium backup.
I'm so confused here.
of those 33 apps are any sideloaded and require root?
Yes but looking through them quickly I'd probably guess only 1 or 2. I did not realize the system actually cared how an app was installed.. what effect does sideloading apps have?
Guessing that app is luckypatcher?
http://www.transformerforums.com/forum/transformer-pad-300-help/24847-solved-installing-apps-2.html
found this through a google search
Dont cheat devs on there hard work if that is one of the apps you got
Actually no I've never had lucky patcher installed on the tablet. The apps that I use that have updated "pro" versions I do pay for.. there are only a handful maybe. Rom Manager, TexTab, and mSecure from what I'm looking at.
I don't cheat on the devs, I can screenshot my gogole play "my apps" section if you like.
Good!, i was hoping that wasnt the case, but yeah go ahead im thinking this is a confliction with an APP causing this somehow

[Q] Internal Storage

I just wonder how this phone manages its internal storage and phone storage. If I go to 'settings' - 'storage', I see the attached page, while says my phone has about 1.8G internal storage, some it used by `apps' and some by `misc'. If I click on `apps', I get a list of my downloaded apps; if I click on `misc', I can see my own files on the phone (/sdcard contents).
IIUC, Android should have 'internal storage' (mounted as "/data") and 'phone storage' (mounted as "/sdcard"). Does L9 somehow mix these two (say they are on the same partition, and 1.8GB is the total volume)?
I'm just confused. Anyone with better understanding please explain? Many thanks. Also I'm on stock ROM with P769, but I guess the same applies to all versions of L9.
mrmathematica said:
I just wonder how this phone manages its internal storage and phone storage. If I go to 'settings' - 'storage', I see the attached page, while says my phone has about 1.8G internal storage, some it used by `apps' and some by `misc'. If I click on `apps', I get a list of my downloaded apps; if I click on `misc', I can see my own files on the phone (/sdcard contents).
IIUC, Android should have 'internal storage' (mounted as "/data") and 'phone storage' (mounted as "/sdcard"). Does L9 somehow mix these two (say they are on the same partition, and 1.8GB is the total volume)?
I'm just confused. Anyone with better understanding please explain? Many thanks. Also I'm on stock ROM with P769, but I guess the same applies to all versions of L9.
Click to expand...
Click to collapse
Yes. L9 and most new devices merge /data and /sdcard to same internal phone partition. I'm confuse at first but after google more info on web I know that it's google ICS design. Not sure what's good for this but many people complain about it, me too. It make external SD card less useful to store app/game data. You must root your phone and do some extra work to fix this. And this is a main reason why I rooted my phone.
Thanks bro. That explains it. Also I did a df:
C:\>adb shell df
Filesystem Size Used Free Blksize
/dev 383.57M 52.00K 383.52M 4096
/mnt/asec 383.57M 0.00K 383.57M 4096
/mnt/obb 383.57M 0.00K 383.57M 4096
/system 985.59M 646.19M 339.40M 4096
/data 1.80G 1.11G 703.00M 4096
/cache 738.20M 12.55M 725.66M 4096
/dvp 4.84M 1.04M 3.80M 1024
/persist 7.26M 1.51M 5.75M 1024
/mpt 15.48M 11.10M 4.39M 4096
/mnt/sdcard 1.80G 1.11G 703.00M 4096
Seems the /cache and /dev could be a bit smaller for more space for /data and /sdcard. But I haven't found any way to adjust internal partition sizes...
AW: [Q] Internal Storage
P760 has 2.33Gb for data/sdcard.

Help, Phone Storage cannot be accessed

Hi there,
Got Xiaomi MI3 with Internal storage 16 GB (no external SD card slot). After moving back to stock rom, facing this issue that I cannot access to phone storage. So cannot download, install any apps or use camera. Storage shows only system memory 6.7 GB. File directory shown from ADB is as follows:
[email protected]:/ # df
Filesystem Size Used Free Blksi
/dev 485M 212K 485M 4096
/mnt/secure 485M 0K 485M 4096
/mnt/asec 485M 0K 485M 4096
/mnt/obb 485M 0K 485M 4096
/system 739M 433M 305M 4096
/data 6G 180M 6G 4096
/cache 124M 4M 119M 4096
/mnt/cd-rom 1M 1M 0K 2048
/protect_f 8M 4M 4M 4096
/protect_s 8M 4M 4M 4096
/mnt/shell/emulated 6G 180M 6G 4096
/storage/emulated 485M 0K 485M 4096
from above there is another 6 GB but same is missing. File manager shows blank. So is this problem of phone storage not being mounted?
Thanks
Moving back to stock rom? Were you on like a CM based rom? How did you reinstall the stock rom? Do you have a custom recovery? Can you access your phone storage there, if so?
I would try to copy phone storage to PC from recovery, if you have a custom one. If not, I would use adb to pull the /sdcard/ to a PC and then use a custom recovery to format the data and reload the stock rom again. This should put everything back to normal.
pass
es0tericcha0s said:
Moving back to stock rom? Were you on like a CM based rom? How did you reinstall the stock rom? Do you have a custom recovery? Can you access your phone storage there, if so?
I have TWRP installed. I tested one MIUI based custom ROM but later move back to stock rom by SP flash tools. In TWRP, i can see phone memory which is around 6.5 GB., which is for system files and data only Until now i know that, in such device, where there is no SD slot, a part of Internal memory has partition as "emulated SD card" which behave like real SD card. From ADB, I can see that ""/mnt/shell/emulated" has rest 6 GB space. But i am unable to use that. Is that folder need to be mounted ?
I cannot create any file in file explorer or use camera or gallery in absence of phone memory. Please help.
Click to expand...
Click to collapse

Categories

Resources