Andrew Phillips
New Member
- Joined
- Feb 23, 2016
- Messages
- 4
- Reaction score
- 0
- Location
- Sydney
- Website
- www.hexedit.com
- Current Phone Model
- Samsung Galaxy Note GT-N7000
I have a Galaxy Note Tab (GT-N7000). I recently upgraded to Lollipop (Nightowl-cm12-beta1-n7000.zip). All works fine except that I can't install more than about 2GB of apps, which is really limiting - I should have about 13 GB for apps including "internal" SD card.
After I got Lollipop all working I installed a few things then started getting the dreaded "Insufficient storage" message. I actually had similar problems with Jelly Bean - I got "Insufficient storage" even though there was plenty of storage available but I got around it by moving apps to the SD card. However, now when I try to move apps I get the error: "Couldn't move app. Not enough space."
There's obviously something wrong as I can see free 2.9GB in File Manager (and when mapping the drive to Windows PC) including 300MB in /data partition.
I thought maybe using an external SD card might avoid the problem even if I sacrifice some internal memory. So I installed a 64GB micro-SD card. But this made no difference. The "move to SD card" option obviously does not work for an "external" SD card.
To get more info I installed BusyBox and when I run the UNIX (Linux) df command I get these mounted filesystems (partitions):
Filesystem Size Used Free Blksize
/dev 389.8M 40.0K 389.8M 4096
/sys/fs/cgroup 389.8M 12.0K 389.8M 4096
/mnt/asec 389.8M 0.0K 389.8M 4096
/mnt/obb 389.8M 0.0K 389.8M 4096
/system 838.6M 779.0M 59.6M 4096
/cache 196.8M 5.0M 191.8M 4096
/efs 19.7M 8.2M 11.4M 4096
/data 2.0G 1.7G 239.6M 4096
/misc 503.9M 8.4M 495.6M 4096
/storage/oldsdcard0 11.1G 8.5G 2.6G 16384
/mnt/shell/emulated 11.1G 8.5G 2.6G 16384
Here are some relevant directory entries that I extracted using ls -lsa:
lrwxrwxrwx root root 2016-02-24 00:55 /extSdCard -> /storage/sdcard1
lrwxrwxrwx root root 2016-02-24 00:55 /sdcard -> /storage/emulated/legacy
dr-xr-xr-x root root 2016-02-24 00:55 /storage/emulated
drwxrwxrwx root root 1970-01-01 11:00 /storage/oldsdcard0
lrwxrwxrwx root root 2016-02-24 00:55 /storage/sdcard0 -> /storage/emulated/legacy
drwxrwx--- root root 2016-02-24 00:55 /storage/sdcard1
drwxrwx--- root root 2016-02-24 00:55 /storage/usbdisk0
lrwxrwxrwx root root 2016-02-24 00:55 /storage/emulated/legacy -> /storage/oldsdcard0/0
There is currently about 250MB of files in /storage/oldsdcard0/0 (which is on the /storage/oldsdcard0 partition).
In Android: Settings/Storage/Internal Storage shows Total Space=1.97GB, Available=211MB.
When I tried moving files (4GB of photos) from /storage/oldsdcard0 into /storage/oldsdcard0/0 Internal Storage still shows Total Space=1.97GB, but Available=0, Pictures=4GB and the graph is full (no grey area at the right end).
I am not really sure what Android is up to but it seems that when looking to store apps it is looking at the size of the /data partition (2GB) and subtracting the size of files in /data (1.7GB) + in /storage/oldsdcard0/0 directory (0.25GB). This gives a value of less than 50MB which is too small for what I am trying to install. It must be doing the same incorrect calcs when looking to move apps from /data to the SD card.
Here are some possible solutions I can think of:
1. Delete (or rename) /data partition and rename /storage/oldsdcard0 to /data, and possibly hard-link /sdcard to external SD card (/storage/sdcard1)
- this should give me 11GB for /data but I am not sure that Android will see that size or still think "internal storage" is 2GB
- what Android thinks is "internal SD card" (/sdcard) would now map to external SD card (/storage/sdcard1) which may cause problems if it is removed
2. Delete /data and /storage/oldsdcard0 and create one or two new partitions
- I'm still not sure that this would assist Android to get its sizes right, or perhaps this would confuse it even more
Does anyone think they would work or have another suggestion? Does anyone know the filesystem layout and usage for Android 5.0.1 (Kernel 3.0.64-CM-gc74695a). I used to do systems development for UNIX/Linux and also sys-admin work so I am happy to delete/create/format/mount partitions etc.
After I got Lollipop all working I installed a few things then started getting the dreaded "Insufficient storage" message. I actually had similar problems with Jelly Bean - I got "Insufficient storage" even though there was plenty of storage available but I got around it by moving apps to the SD card. However, now when I try to move apps I get the error: "Couldn't move app. Not enough space."
There's obviously something wrong as I can see free 2.9GB in File Manager (and when mapping the drive to Windows PC) including 300MB in /data partition.
I thought maybe using an external SD card might avoid the problem even if I sacrifice some internal memory. So I installed a 64GB micro-SD card. But this made no difference. The "move to SD card" option obviously does not work for an "external" SD card.
To get more info I installed BusyBox and when I run the UNIX (Linux) df command I get these mounted filesystems (partitions):
Filesystem Size Used Free Blksize
/dev 389.8M 40.0K 389.8M 4096
/sys/fs/cgroup 389.8M 12.0K 389.8M 4096
/mnt/asec 389.8M 0.0K 389.8M 4096
/mnt/obb 389.8M 0.0K 389.8M 4096
/system 838.6M 779.0M 59.6M 4096
/cache 196.8M 5.0M 191.8M 4096
/efs 19.7M 8.2M 11.4M 4096
/data 2.0G 1.7G 239.6M 4096
/misc 503.9M 8.4M 495.6M 4096
/storage/oldsdcard0 11.1G 8.5G 2.6G 16384
/mnt/shell/emulated 11.1G 8.5G 2.6G 16384
Here are some relevant directory entries that I extracted using ls -lsa:
lrwxrwxrwx root root 2016-02-24 00:55 /extSdCard -> /storage/sdcard1
lrwxrwxrwx root root 2016-02-24 00:55 /sdcard -> /storage/emulated/legacy
dr-xr-xr-x root root 2016-02-24 00:55 /storage/emulated
drwxrwxrwx root root 1970-01-01 11:00 /storage/oldsdcard0
lrwxrwxrwx root root 2016-02-24 00:55 /storage/sdcard0 -> /storage/emulated/legacy
drwxrwx--- root root 2016-02-24 00:55 /storage/sdcard1
drwxrwx--- root root 2016-02-24 00:55 /storage/usbdisk0
lrwxrwxrwx root root 2016-02-24 00:55 /storage/emulated/legacy -> /storage/oldsdcard0/0
There is currently about 250MB of files in /storage/oldsdcard0/0 (which is on the /storage/oldsdcard0 partition).
In Android: Settings/Storage/Internal Storage shows Total Space=1.97GB, Available=211MB.
When I tried moving files (4GB of photos) from /storage/oldsdcard0 into /storage/oldsdcard0/0 Internal Storage still shows Total Space=1.97GB, but Available=0, Pictures=4GB and the graph is full (no grey area at the right end).
I am not really sure what Android is up to but it seems that when looking to store apps it is looking at the size of the /data partition (2GB) and subtracting the size of files in /data (1.7GB) + in /storage/oldsdcard0/0 directory (0.25GB). This gives a value of less than 50MB which is too small for what I am trying to install. It must be doing the same incorrect calcs when looking to move apps from /data to the SD card.
Here are some possible solutions I can think of:
1. Delete (or rename) /data partition and rename /storage/oldsdcard0 to /data, and possibly hard-link /sdcard to external SD card (/storage/sdcard1)
- this should give me 11GB for /data but I am not sure that Android will see that size or still think "internal storage" is 2GB
- what Android thinks is "internal SD card" (/sdcard) would now map to external SD card (/storage/sdcard1) which may cause problems if it is removed
2. Delete /data and /storage/oldsdcard0 and create one or two new partitions
- I'm still not sure that this would assist Android to get its sizes right, or perhaps this would confuse it even more
Does anyone think they would work or have another suggestion? Does anyone know the filesystem layout and usage for Android 5.0.1 (Kernel 3.0.64-CM-gc74695a). I used to do systems development for UNIX/Linux and also sys-admin work so I am happy to delete/create/format/mount partitions etc.