[Q] Memory Shown Less - Nexus 6 Q&A, Help & Troubleshooting

Hello,
The RAM shown in my Nexus6 is
Code:
Total: 2970MB
Available 1332MB (45%)
Java Heap: 256MB
The Total RAM 2970MB is shown in the apps CPU-Z and Droid Info. Why the value is lesser than 3GB (3072MB) ? There should be a technical reason for that. Please let me know. Thanks.

Yep, the difference is allocated to a bunch of other hardware blocks, like the MODEM.

doitright said:
Yep, the difference is allocated to a bunch of other hardware blocks, like the MODEM.
Click to expand...
Click to collapse
okay, I also have learned from the internet that the difference is held by the GPU, which the OS is not aware of. So the Total: 2970MB shows the available memory and not the installed memory, Correct ?

aniyan.rajan6 said:
okay, I also have learned from the internet that the difference is held by the GPU, which the OS is not aware of. So the Total: 2970MB shows the available memory and not the installed memory, Correct ?
Click to expand...
Click to collapse
Yes. Boot to bootloader and it will will tell you what brand and size ram and memory is installed in device.

Also the storage space shows 54.6GB instead of 64GB. Is it because of the reserved space allocated, when the filesystem is formatted to ext4 ?

aniyan.rajan6 said:
Also the storage space shows 54.6GB instead of 64GB. Is it because of the reserved space allocated, when the filesystem is formatted to ext4 ?
Click to expand...
Click to collapse
That is minus the system and other partitions reserved for firmware and the OS.

prdog1 said:
That is minus the system and other partitions reserved for firmware and the OS.
Click to expand...
Click to collapse
But it takes almost 10GB of space, which is huge. I think it is good that I have brought a 64GB version.

aniyan.rajan6 said:
But it takes almost 10GB of space, which is huge. I think it is good that I have brought a 64GB version.
Click to expand...
Click to collapse
This is why you always buy as much memory as can afford.

prdog1 said:
Also the storage space shows 54.6GB instead of 64GB. Is it because of the reserved space allocated, when the filesystem is formatted to ext4 ?
That is minus the system and other partitions reserved for firmware and the OS.
Click to expand...
Click to collapse
If the remaining space (64GB - 54.6GB) is used by the OS and firmware, then what does the Available Storage mean ?
The Available Storage shows 49.88GB (91%). I mean there is one more difference: 54.6GB - 49.88GB. Please clarify. Thanks.

aniyan.rajan6 said:
If the remaining space (64GB - 54.6GB) is used by the OS and firmware, then what does the Available Storage mean ?
The Available Storage shows 49.88GB (91%). I mean there is one more difference: 54.6GB - 49.88GB. Please clarify. Thanks.
Click to expand...
Click to collapse
os and firmware + extra for future updates takes up the first 10 giving you 54. Available is your userdata. Anything less that 54 is what you put on it.

prdog1 said:
os and firmware + extra for future updates takes up the first 10 giving you 54. Available is your userdata. Anything less that 54 is what you put on it.
Click to expand...
Click to collapse
okay, When I brought this phone the Available Storage was 51GB, without adding any data by me. So I think something else has taken space from the 54GB (54 - 51 = 3GB).
Then I added some music files and the Available Storage is 49.88GB now.

aniyan.rajan6 said:
But it takes almost 10GB of space, which is huge. I think it is good that I have brought a 64GB version.
Click to expand...
Click to collapse
Not 10 GB, no. The difference is less.
In software, 64 GB is 64x1024 Bytes x 1024 KB x 1024 MB.
In hardware, 64 GB is 64x1000 x 1000 x 1000.
Because there is now a difference in what hardware manufacturers call a GB, they tried to rename the true software GB to be GiB instead (though generally I refuse to do this).
So to work out how many GB of software data you can get in a 64 GB hardware disk, use the maths below.
64 x 1000 x 1000 x 1000, / 1024 /1024 /1024 = 59.6 GB
So a 64 GB anything is only really 59 GB.
Then as mentioned, that is partitioned into /system, /cache, /data etc

danarama said:
Not 10 GB, no. The difference is less.
In software, 64 GB is 64x1024 Bytes x 1024 KB x 1024 MB.
In hardware, 64 GB is 64x1000 x 1000 x 1000.
Because there is now a difference in what hardware manufacturers call a GB, they tried to rename the true software GB to be GiB instead (though generally I refuse to do this).
So to work out how many GB of software data you can get in a 64 GB hardware disk, use the maths below.
64 x 1000 x 1000 x 1000, / 1024 /1024 /1024 = 59.6 GB
So a 64 GB anything is only really 59 GB.
Then as mentioned, that is partitioned into /system, /cache, /data etc
Click to expand...
Click to collapse
Okay, So is 'Total Internal Storage: 54.64 GB' the size of the /system partition or /data partition ?
Thanks.

aniyan.rajan6 said:
Okay, So is 'Total Internal Storage: 54.64 GB' the size of the /system partition or /data partition ?
Thanks.
Click to expand...
Click to collapse
Data.

aniyan.rajan6 said:
Okay, So is 'Total Internal Storage: 54.64 GB' the size of the /system partition or /data partition ?
Thanks.
Click to expand...
Click to collapse
/data AKA userdata. This is where your apps go, where your settings are stored and where your sdcard is.

danarama said:
/data AKA userdata. This is where your apps go, where your settings are stored and where your sdcard is.
Click to expand...
Click to collapse
So that 3 GB (54.64GB - 51GB) is used by the apps, I guess. So that is the reason why it was showing 'Available Storage: 51GB' at the beginning.
Thanks.

aniyan.rajan6 said:
So that 3 GB (54.64GB - 51GB) is used by the apps, I guess. So that is the reason why it was showing 'Available Storage: 51GB' at the beginning.
Thanks.
Click to expand...
Click to collapse
When you get the phone new, when you boot it, some system settings will be stored in data. Also some things related to Android Run time.

aniyan.rajan6 said:
If the remaining space (64GB - 54.6GB) is used by the OS and firmware, then what does the Available Storage mean ?
The Available Storage shows 49.88GB (91%). I mean there is one more difference: 54.6GB - 49.88GB. Please clarify. Thanks.
Click to expand...
Click to collapse
54.6 - 49.9 = 4.7
4.7 / 54.6 = 0.0861
0.0861 = 8.61%
8.61% rounded to the nearest percent = 9%
100 - 9 = 91.
Does that clarify it for you?

Related

Where is all the RAM???

I just got my Diamond, all is well, but I'm shocked to find out how much RAM and internal storage I have.
The phone is supposed to have 192 MB RAM, 256 MB Internal Storage.
After boot all I have is RAM: 113 MB, Internal Storage : 84 MB
60% of these are already full at the first bootup.
This is shocking. Even my Elfin had more... This is so disappointing...
aydc said:
I just got my Diamond, all is well, but I'm shocked to find out how much RAM and internal storage I have.
The phone is supposed to have 192 MB RAM, 256 MB Internal Storage.
After boot all I have is RAM: 113 MB, Internal Storage : 84 MB
60% of these are already full at the first bootup.
This is shocking. Even my Elfin had more... This is so disappointing...
Click to expand...
Click to collapse
Sure it wasnt used?
Do a hard reset and choose second option.
Backup your data first though
These are the values after the first time I booted up the device, after taking it right out of the package.
What are your values?
Mine was similar on firsst boot as well.
aydc said:
These are the values after the first time I booted up the device, after taking it right out of the package.
What are your values?
Click to expand...
Click to collapse
RAM: 192MB
FLASH: 256 MB
INTERNAL: 3832.48MB
STORAGE: 85MB
Darthbane2k: Is all of that RAM usable?
When I look at the device manager, those are the values that I see too but you can't use most of it.
However, go to settings>memory and tell me what you see there...
1. search
2. http://forum.xda-developers.com/showthread.php?t=402747&highlight=memory
aydc said:
Darthbane2k: Is all of that RAM usable?
When I look at the device manager, those are the values that I see too but you can't use most of it.
However, go to settings>memory and tell me what you see there...
Click to expand...
Click to collapse
STORAGE: 85.44 Total / 50.42 in use
PROGRAM 113.07 total / 84.36 in use

[Q] RAM - ROM - FLASH: Big problems with memory!

Hello everyone,
My saga in switching from WM to Android continues.
I'm having a the "course" on Milestone...
Unfortunately, I think I have major weaknesses in the management of memory, certainly the Achilles heel of the stone. Although I would like you on this, finally, a comment following a hot discussion on a forum between myself and the supporters of the new Nokia E7.
The problem
ROM installed: 2.4 FroyoMOD
Trusting in App2SD, I have installed a lot fo applications, till a point where every installation finishes with "Application not installed", without any additional indication.
I removed some apps and after the software allowed me to put new ones.
Now it is again locked.
Using QUICK INFO SYSTEM I get this data:
SD CARD STORAGE
Total: 7.41GB, Free: 4.24 GB
A2SD STORAGE
Total: 62MB, Free: 17MB
But x 'A2SD has a limit?? The limit should not be the MemoryCard??
Internal Storage
Total: 197MB, Free: 130MB
STORAGE SYSTEM
Total: 176MB, Free: 5MB
This makes me worry about ... just not often drops below 5!
CACHE SYSTEM
Total: 106MB, Free: 160kB
Eye, the second entry is in kilobytes!
MEMORY
Total: 225MB, Free: 38.6 MB, Idle: 7.8 MB
Now, I have some parameters to the limit, and I can understand the frequent reboots, and the closure of some programs that automatically launch.
Now the question is: what are all these memories that that the program gives to me? And how do I free up space for continue using your device?
I tell you the installed applications are about thirty, I do not seem a huge amount.
Now, the question of Nokia: the E7 has only 256 MB of RAM like Milestone (but costs 629 €). Nokia users said to me that there was no problem because the handheld uses very efficiently the SWAP on memorycard.
And Android? Android can also use this technique? Or are we really hung up the physical RAM?
Thank you all for your help.
RobyMax1 said:
A2SD STORAGE
Total: 62MB, Free: 17MB
But x 'A2SD has a limit?? The limit should not be the MemoryCard??
Click to expand...
Click to collapse
If u use app2sd with ext2 partition on card, then the limit is a space of ext2 partition
STORAGE SYSTEM
Total: 176MB, Free: 5MB
This makes me worry about ... just not often drops below 5!
Click to expand...
Click to collapse
It's a space in phone for apk installed by you (widgets, games etc)
Now, the question of Nokia: the E7 has only 256 MB of RAM like Milestone (but costs 629 €). Nokia users said to me that there was no problem because the handheld uses very efficiently the SWAP on memorycard.
And Android? Android can also use this technique? Or are we really hung up the physical RAM?
Thank you all for your help.
Click to expand...
Click to collapse
Android can do that, because it is *nix, but Motorola has blocked bootloader. Maybe someday Motorola will free Milestone's bootloader (or somebody brake bootloader security) then we will have a custom kernels with enbaled swap partition. But now it's impossible, because of Motorola's policy.
adamz667 said:
If u use app2sd with ext2 partition on card, then the limit is a space of ext2 partition
I've froyomod 2.4...and I don't know nothing about ext2...how can I check if I've this partition?
It's a space in phone for apk installed by you (widgets, games etc)
So, what can I do to improve this amount of memory?
Or I can Install only few apps :""( ?
Android can do that, because it is *nix, but Motorola has blocked bootloader. Maybe someday Motorola will free Milestone's bootloader (or somebody brake bootloader security) then we will have a custom kernels with enbaled swap partition. But now it's impossible, because of Motorola's policy.
Click to expand...
Click to collapse
Tnx so much!

32gb - how much is usable for storage?

I have a S2 16gb with 11.5gb usable "usb internal storage". Will Htc One have at least 28gb?
bubu_bubu said:
I have a S2 16gb with 11.5gb usable "usb internal storage". Will Htc One have at least 28gb?
Click to expand...
Click to collapse
It's about 26GB.
Jesus 6gb used?
bubu_bubu said:
Jesus 6gb used?
Click to expand...
Click to collapse
Indeed this has been confirmed. Bearing in mind if you install a custom Rom you can probs decrease this amount.
Sent from my Incredible S using Tapatalk 2
It is fine in my opinion. Most of the apps you install goes into that occupied 6 gigs anyway
I would get the 64gb version but I don't think the carriers in my country will have it
Dharkan said:
It is fine in my opinion. Most of the apps you install goes into that occupied 6 gigs anyway
Click to expand...
Click to collapse
No, storage is unified: apps go in the 26. (I think).
Oh if that's the case it really don't make much sense. I mean what would they use 6 gigs for, I don't believe smartphones are getting that big updates.
26.1gb is free to be precise lol and 1.5gb RAM
Dharkan said:
It is fine in my opinion. Most of the apps you install goes into that occupied 6 gigs anyway
Click to expand...
Click to collapse
source of your information?
If it has 2 partitions and one acts like the onboard (6gigs), and the other one (26) acts like a sd or whatever it would be ok ..
otherwise it's just like with the surface tablets .. well not quite as bad, but still a bit silly^^
If im correct on my HTC One X which was 32GB, i only had 22GB free after jelly bean update and 6GB or so for apps..
so the apps and sd storage is split
Shasarak said:
No, storage is unified: apps go in the 26. (I think).
Click to expand...
Click to collapse
Wrong
Got this from the stock recovery posted here on dev section when I extracted it.
Code:
# mount point fstype device [device2]
/boot emmc boot
/cache ext4 cache
/data ext4 userdata
/misc emmc misc
/recovery emmc recovery
/sdcard vfat /dev/block/sda1 /dev/block/sda
/system ext4 system
/devlog ext4 devlog
/reserve vfat reserve
Shows that /data(userdata) partition where apps get's installed has a seperation partition that needs to be mounted. So nope it's not unified.
and yeah for the developers who plan on extracting kernels/recovery of HTC One here are the info you need.
Code:
BOARD_KERNEL_CMDLINE is "console=ttyHSL0,115200,n8 androidboot.hardware=m7 user_debug=31"
BOARD_KERNEL_BASE is "0x80600000"
BOARD_PAGE_SIZE is "2048"
26 gigs is more than enough for me, I take up 5 to 6 on music alone and the rest on pictures and videos taken on phone, not much is taken with apps downloaded at the most 1gb so I'm quite comfortable with the amount of space on the phone although it would be awesome to have 28 or 29gb free
P.s. I do listen to all that music that takes up 5 to 6gb of space on my current phone in case some of you are wondering whether I listen to most of it wasting space on all that music
Sent from my HTC One S
I think it would be possible to repartition the /system partition to reduce it's size and merge it with the sdcard partition. Depends on the partition table. But if it's not possible I think we could also split the system partition and make a sd-ext there instead. But of course that's very dangerous and is not recommended on average users.
Riyal said:
Wrong
Got this from the stock recovery posted here on dev section when I extracted it.
Code:
# mount point fstype device [device2]
/boot emmc boot
/cache ext4 cache
/data ext4 userdata
/misc emmc misc
/recovery emmc recovery
/sdcard vfat /dev/block/sda1 /dev/block/sda
/system ext4 system
/devlog ext4 devlog
/reserve vfat reserve
Shows that /data(userdata) partition where apps get's installed has a seperation partition that needs to be mounted. So nope it's not unified.
and yeah for the developers who plan on extracting kernels/recovery of HTC One here are the info you need.
Code:
BOARD_KERNEL_CMDLINE is "console=ttyHSL0,115200,n8 androidboot.hardware=m7 user_debug=31"
BOARD_KERNEL_BASE is "0x80600000"
BOARD_PAGE_SIZE is "2048"
Click to expand...
Click to collapse
I stand corrected.
Though, also a little surprised. Weren't HTC's flagship phones last year unified? That seems a retrograde step.
Shasarak said:
No, storage is unified: apps go in the 26. (I think).
Click to expand...
Click to collapse
In HOX the memory WAS NOT unified.
Anybody knows how many storage is free for apps?
P.D. Sorry, I reply to the post before full read the thread. Cancelling my reservation.
JmJ17 said:
In HOX the memory WAS NOT unified.
Anybody knows how many storage is free for apps?
P.D. Sorry, I reply to the post before full read the thread. Cancelling my reservation.
Click to expand...
Click to collapse
Wild guess is 2GB.
2GB data partition
12mb devlog
17mb kernel
17mb recovery
120mb cache
rest is system partition
On my one x i had around 11 usable, and i still have 2 gb free. so if i get the one , ill have around 17 gb of free space holy moly .. what can i do with so much free space, can i rent it out?
jags_the1 said:
On my one x i had around 11 usable, and i still have 2 gb free. so if i get the one , ill have around 17 gb of free space holy moly .. what can i do with so much free space, can i rent it out?
Click to expand...
Click to collapse
give it to me I need more extra space.
That's awful. Why did they go back from the awesome unified space in the HOX+. Thats was so great. If you had free space you could install apps. If the One really has an apps partition again, I'm going to have to move apps to sd-card again the whole time
Why did they make a step backwards?

Nexus 6 32GB showing 29.12GB internally but laptop is showing 25GB

i installed lineage 14.1 it showed me that i had 29 GB space but when i connected my phone to laptop. my laptop showed me 25 GB. then i flashed stock rom again but still internally its showing that it has 29 GB but when i connect it with laptop its still showing 25 GB. i don't know whats going on. i have did lot of things. used adb/fastboot, twrp, FDR etc but nothing is working.
what am i missing?
thehassanrasool said:
... showed me that i had 29 GB space but when i connected my phone to laptop. my laptop showed me 25 GB.
Click to expand...
Click to collapse
There are different methods to calculate storage.
Megabyte is a unit equal to 1,048,576 bytes. The official SI definition is "mebibyte" MiB is 2^20 *bytes.
25GB is what you're left with after operating system. These files are hidden away to prevent people accidentally deleting them. What you're seeing is completely normal.
If memory serves me correctly, when you format the device it'll show 29GB in recovery, before the OS is installed.
NLBeev said:
There are different methods to calculate storage.
Megabyte is a unit equal to 1,048,576 bytes. The official SI definition is "mebibyte" MiB is 2^20 *bytes.
Click to expand...
Click to collapse
you are not getting my point. it all happened after i flashed lineage OS. before lineage OS, everything was fine. after flashing lineage os, it showed me 29 GB but in real it was 25 GB in laptop when usb connected. and still now after flashing stock rom, this difference is not over. in settings there is 29 GB and in laptop its 25 GB
thehassanrasool said:
you are not getting my point. it all happened after i flashed lineage OS.....
Click to expand...
Click to collapse
On my N6 (stock 7.1.1) it is the same. Storage 29,12 GB.
On the PC N6-storage is shown as Internal Shared Storage.
Capacity: 27.893.952.512.00 bytes = 25,9Gb.
Conclusion:
- I get your point.
- You are not the only one with 25,9Gb.
- It has nothing to with Lineage OS.
- It has to do with calculation, not with flashing.
I get 29.12GB on phone and when i hook it up to linux laptop it shows as 27.9GB. Running rooted stock 7.1.1.
TMG1961 said:
I get 29.12GB on phone and when i hook it up to linux laptop it shows as 27.9GB. Running rooted stock 7.1.1.
Click to expand...
Click to collapse
That's the same as 27.893.952.512.00 bytes.
Also frequently used. But according to the Google marketing guys it's 32Gb.
It's not just Google. All device manufacturers do it. For example, a Galaxy S4 has 16GB storage, but after the ROM and recovery are installed a stock device only has a little over 9GB left. It's still advertised as having 16GB storage however.
The other issue here is that the hard drive manufacturers years ago redefined a gigabyte as 1,000,000 kilobytes while operating systems at the time used the original size of 1,024,576 kilobytes (now redefined as a "kibibyte"). The redefinition passed into common usage, so your 16GB (Gibibytes) is really 15.6GB (Gigabytes). Simply doing the math reveals this. 16,000,000 / 1,024,576 = 15.616. Confusing? Hell yes. We never had need of two systems. All the marketing geniuses had to do was be honest. But, being marketing geniuses, that was too much to ask for.
NLBeev said:
On my N6 (stock 7.1.1) it is the same. Storage 29,12 GB.
On the PC N6-storage is shown as Internal Shared Storage.
Capacity: 27.893.952.512.00 bytes = 25,9Gb.
Conclusion:
- I get your point.
- You are not the only one with 25,9Gb.
- It has nothing to with Lineage OS.
- It has to do with calculation, not with flashing.
Click to expand...
Click to collapse
thanks a lot dear for understanding the situation. now i am feeling relax that this is not the issue with me only. but still, there is one question which keeps popping up in my mind is that when i received this handset it has the STOCK ROM 7.0 which was showing 25 GB in phone settings area and also showing the same storage 25 GB in the computer. if i look at that situation it looks normal to me. but now I and you are experiencing the same issue. why are we facing this issue now? is there any other way to flash the stock ROM to show the right storage space both on phone and on the computer because when i received the handset. its storage space was perfectly right on phone and computer and that was 25 GB.
54.6GB on Windows 10
58.24GB on Nexus 6
Flashing a stock ROM won't help here, as both numbers are correct. To resolve it so the Nexus 6 reports approximately the same amount as the PC, you'd need to revise the source code and change the storage space calculation so it uses 1,024,576 instead of 1,000,000. It may make sense in a zRAM app, and I did that modification for a zRAM app included in a custom ROM I was maintaining ages ago. However, I feel you're getting too hung up on the numbers here.
thehassanrasool said:
.... when i received this handset it has the STOCK ROM 7.0 which was showing 25 GB in phone settings area and also showing the same storage 25 GB in the computer....
Click to expand...
Click to collapse
I've read about memory size issues. That concerned the 64Gb versions. Only 23Gb was shown/available. To solve this a reformat was needed.
I've used my N6 about 28 months. I have the idea that in all Android versions the user available memory size was always about 29Gb.
On my PC the size was different, but I ignored it.
N6 with Android 7.0 and storage size of 25Gb is weird for me. But Google delivered 7 versions of Nougat, so........ I can't tell more.
NLBeev said:
I've read about memory size issues. That concerned the 64Gb versions. Only 23Gb was shown/available. To solve this a reformat was needed.
I've used my N6 about 28 months. I have the idea that in all Android versions the user available memory size was always about 29Gb.
On my PC the size was different, but I ignored it.
N6 with Android 7.0 and storage size of 25Gb is weird for me. But Google delivered 7 versions of Nougat, so........ I can't tell more.
Click to expand...
Click to collapse
ok sir thanks
NLBeev said:
I've read about memory size issues. That concerned the 64Gb versions. Only 23Gb was shown/available. To solve this a reformat was needed.
I've used my N6 about 28 months. I have the idea that in all Android versions the user available memory size was always about 29Gb.
On my PC the size was different, but I ignored it.
N6 with Android 7.0 and storage size of 25Gb is weird for me. But Google delivered 7 versions of Nougat, so........ I can't tell more.
Click to expand...
Click to collapse
That's a whole different issue... That happens if you flash the data partition from a factory image. Since the image is made for a 32 GB system, it'll report as such until the data partition is formatted for the correct size, 64 GB.
The issue the OP is talking about is merely the difference between the prefixes kilo-/kibi-, mega-/mibi-, giga-/gibi- and so on.

128 gb = 103.33 gb ?

How is possible that there is only available 103.33 GB out of 128 GB while other 128 phone have for example Galaxy note 9 111GB? If it says cause by A/B partitions, this seems like too much difference.
ond96 said:
How is possible that there is only available 103.33 GB out of 128 GB while other 128 phone have for example Galaxy note 9 111GB? If it says cause by A/B partitions, this seems like too much difference.
Click to expand...
Click to collapse
Also for 64gb version i can use 46.01gb. there is a little bit difference between actual size of storage for example my hard disk is 1tb(1024 gb) but i can use 930gb. thats how storage works. it is normal
edit: a/b partitions takes 2x system partitions than a only devices(every partition is twiced expect data) converted 64gb a2's storage is 50gb
I saw somewhere that you A/B takes up to 1 GB more. Well, it is around 6-8 gigs less than A device, this can be a huge downside for Android One devices without SD card. I guess my next phone wont be A One.?
@ond96, every partition has a version of Android on it self, so when update comes, it install it self on inactive partition, then when your phone ask for restart, it switches active partition to one that just got updated, and every time after new update rotate partitions.
So, if installed system occupies ~10GB x 2 .... there you go.
This is a big problem for 32GB versions of this phone, I have 64GB, and I don't mind.

Categories

Resources