No space for apps / sd-ext free space - Nexus One Q&A, Help & Troubleshooting

I installed the hypersense nova rom on August. It's telling me no enough space.
However, there's plenty of space in /sd-ext:
Code:
sh-3.2# df /system /sd-ext /data /sdcard
/system: 225280K total, 209508K used, 15772K available (block size 4096)
/sd-ext: 1032056K total, 308808K used, 723248K available (block size 4096)
/data: 211200K total, 188952K used, 22248K available (block size 4096)
/sdcard: 2820736K total, 1362320K used, 1458416K available (block size 16384)
There's no a2sd command, since they say it's already embedded. I have tried to move apps from Settings>Applications>Manage Applications> SD Card... Move to SD Card. But it seems they are moved to /sdcard, not /sd-ext (e.g. Jorte)
Code:
sh-3.2# df /system /sd-ext /data /sdcard
/system: 225280K total, 209508K used, 15772K available (block size 4096)
/sd-ext: 1032056K total, 308804K used, 723252K available (block size 4096)
/data: 211200K total, 188952K used, 22248K available (block size 4096)
/sdcard: 2820736K total, 1367552K used, 1453184K available (block size 16384)
Code:
sh-3.2# mount
...
/dev/block/dm-0 /mnt/asec/jp.co.johospace.jorte-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,short
name=mixed,utf8,errors=remount-ro 0 0
Is it possible to move apps from /data to /sd-ext manually? Does it makes sense?

bitozoid said:
I installed the hypersense nova rom on August. It's telling me no enough space.
However, there's plenty of space in /sd-ext:
Code:
sh-3.2# df /system /sd-ext /data /sdcard
/system: 225280K total, 209508K used, 15772K available (block size 4096)
/sd-ext: 1032056K total, 308808K used, 723248K available (block size 4096)
/data: 211200K total, 188952K used, 22248K available (block size 4096)
/sdcard: 2820736K total, 1362320K used, 1458416K available (block size 16384)
There's no a2sd command, since they say it's already embedded. I have tried to move apps from Settings>Applications>Manage Applications> SD Card... Move to SD Card. But it seems they are moved to /sdcard, not /sd-ext (e.g. Jorte)
Code:
sh-3.2# df /system /sd-ext /data /sdcard
/system: 225280K total, 209508K used, 15772K available (block size 4096)
/sd-ext: 1032056K total, 308804K used, 723252K available (block size 4096)
/data: 211200K total, 188952K used, 22248K available (block size 4096)
/sdcard: 2820736K total, 1367552K used, 1453184K available (block size 16384)
Code:
sh-3.2# mount
...
/dev/block/dm-0 /mnt/asec/jp.co.johospace.jorte-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,short
name=mixed,utf8,errors=remount-ro 0 0
Is it possible to move apps from /data to /sd-ext manually? Does it makes sense?
Click to expand...
Click to collapse
Easy, just install an a2sd script
Sent from my Nexus One using Tapatalk 2

humzaahmed155 said:
Easy, just install an a2sd script
Click to expand...
Click to collapse
Thanks. I found I was not the only one with this issue. Some people have upgraded the a2sd script, despite they say it is not necessary:
http://forum.xda-developers.com/showthread.php?p=31802698&highlight=a2sd#post31802698
Anyway, I have just upgraded to last version (november 16th). I hope that fixes the issue. Anyway, I've found that data storage for some apps gets bigger as time goes on (e.g. google reader). Deleting the user data from some apps at Settings>Applications>Manage Applications may free a lot of space.

Related

How to check if Compcache is enabled?

I am running Cyanogen 4.0.4 and would like to know if compcache is enabled. Can someone confirm if my settings are alright?
I have the following details:
Code:
# free
total used free shared buffers
Mem: 97880 95340 2540 0 504
Swap: 24464 17408 7056
Total: 122344 112748 9596
Code:
# df
/dev: 48940K total, 0K used, 48940K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/system: 92160K total, 73844K used, 18316K available (block size 4096)
/system/modules: 640K total, 640K used, 0K available (block size 131072)
/system/xbin: 3328K total, 3328K used, 0K available (block size 131072)
/data: 91904K total, 17680K used, 74224K available (block size 4096)
/cache: 30720K total, 1552K used, 29168K available (block size 4096)
/system/sd: 409986K total, 58588K used, 351398K available (block size 1024)
/data/dalvik-cache: 409986K total, 58588K used, 351398K available (block size 1024)
/sdcard: 15121920K total, 147688K used, 14974232K available (block size 8192)
Code:
# mount
rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)
none on /dev/cpuctl type cgroup (rw,cpu)
/dev/block/mtdblock3 on /system type yaffs2 (ro)
/dev/block/loop0 on /system/modules type squashfs (ro)
/dev/block/loop1 on /system/xbin type squashfs (ro)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p2 on /system/sd type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)
/dev/block/mmcblk0p2 on /data/dalvik-cache type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)
/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
if the only thing you have is compache and no linux-swap then compache is working because of the output from the free command
else you should be able to run the following with superuser access through terminal:
sh /system/bin/swap -s
It will show you the pre and post compression data size, as well as the compression rate under compcache.
Or simply use
Code:
# cat /proc/ramzswap
This file only exists when compcache is currently active. You will see its current settings and status:
Code:
DiskSize: 87040 kB
NumReads: 9509
NumWrites: 12188
FailedReads: 0
FailedWrites: 0
InvalidIO: 0
NotifyFree: 1300
ZeroPages: 410
GoodCompress: 78 %
NoCompress: 3 %
PagesStored: 10471
PagesUsed: 3598
OrigDataSize: 41884 kB
ComprDataSize: 13755 kB
MemUsedTotal: 14392 kB

[Q] Busybox install issue

Hi all, i got a SGS branded H3G, but already rooted.
When i try to install Busybox, it says i have no needed room in my /system folder, i do not have installed anything there before.
Then, i ran adb shell, su, df , and got this:
/dev: 166708K total, 0K used, 166708K available (block size 4096)
/mnt/.lfs: Function not implemented
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/system: 282432K total, 281648K used, 784K available (block size 4096)
/data: 1963904K total, 525184K used, 1438720K available (block size 16384)
/dbdata: 130240K total, 24612K used, 105628K available (block size 4096)
/cache: 30784K total, 1552K used, 29232K available (block size 4096)
/efs: 6064K total, 4106K used, 1958K available (block size 1024)
Hey, it's true..only 784k. How can it be? how can i solve?
Anyway, also, some command line at adb wont work, as for " du -sh *", i got this:
$ su
su
# du
du
du: not found
# cd /system
cd /system
# du -sh *
du -sh *
du: not found
# du
du
du: not found
#
wtf
weird, did you do the lag fix?
did you repartition anything?
make sure you have disk space
i see you are rooted, just root it again, just in case
most root update.zip comes with busybox already, are you trying to upgradE?
No lag-fix installed, only clockworkmod recovery.
Yes, i'm rooted with superuser v. 2.3.5 and su binary v. 2131 ef (last one, but no busybox package inside) and i got 3gb disk space available :|
Also, no-repartion was done, it's still branded with original firmware

write error: No space left on device /system

Hello all,
I am trying to copy something to /system/lib and I am facing this error:
cp: write error: No space left on device
Code:
# mount
/dev/block/stl9 /system rfs rw,relatime,vfat,llw,gid/uid/rwx,iocharset=utf8 0 0
and
Code:
# df
/system: 282432K total, 282432K used, 0K available (block size 4096)
I have JPA with YA-OK and lagfix a=ext4
Searched and found this: http://forum.xda-developers.com/showthread.php?t=797730 but does not help.
Any ideas ?
Thanks

Gingerbread ROMs not playing nicely with Dark Tremors apps2sd?

SOLVED.
Used another SD card that wasn't partitioned and everything works fine.
MM Gingerbread and PhoenRom both cause me to not be able to install/update/restore apps due to insufficient storage even though there is plenty of space.
If I go back to CyanogenMod everything works fine.
My SD card is partitioned 7GB Windows/1GB Linux.
Going into Settings/Applications/Downloaded shows "72MB used / 124MB free"
On SD card shows "3.2GB used / 3.3GB free"
I currently have the PhoenRom installed, this is what df now shows:
Filesystem Size Used Free Blksize
/dev 192M 32K 192M 4096
/mnt/asec 192M 0K 192M 4096
/mnt/obb 192M 0K 192M 4096
/system 145M 141M 3M 4096
/data 196M 75M 120M 4096
/cache 95M 4M 90M 4096
/system/sd 955M 26M 928M 4096
/mnt/sdcard 6G 3G 3G 4096
/mnt/secure/asec 6G 3G 3G 4096
/mnt/asec/com.android.BlackMarketApp-1 3M 1M 1M 4096
When wiping user data in recovery I get the message
E:Can't mount /dev/block/mmcblk0p2 (or /dev/bloc/mmcblk0)
(Invalid argument)
Error mounting /sd-ext/!
Skipping format
I don't know if this is significant.
Hi. I have same problem on LG Optimus One with Android 2.2.1 ... how you solve that?
So don't partition
From your brief description of "Solved" ... it sounds like you just grabbed another FAT32 formatted SD Card and just put it in. No partition setup. However from reading other posts on DarkTremor's apps2sd ... you MUST have an EXT3 formatted partition in addition to the FAT32 partition in order for apps2sd to function.
From my understanding, since the Android OS has no problems running apps from EXT2 and EXT3 partitions ... the trick is that the apps are actually moved to the FAT32 partition and shortcuts (a.k.a. links) are put on the EXT3 partitions. This tricks and Android OS into thinking the apps are installed on EXT3 and not FAT32.
Unless I am just totally missing how this works.

Low Space / Memory even after a hard reset

Hi
I recently acquired a Nexus One that I'm having memory issues with. I'm running Gingerbread 2.3.4 (GRJ22). I've tried all sorts of options in erasing / clearing memory. After each of these attempts, it always only shows 13MB free. No extra applications are even installed!
I've done the following:
* Factory Data Reset
* Clear Storage during HBOOT
* Wipe data/factory reset during RECOVERY
* Wipe cache partition during RECOVERY
Any other ideas? I've recently rooted it too.
What does it read if you do
Code:
df -h | grep /data
in the terminal? (The line is called a pipe and on the computer is located on the backslash key '\' and comes up when you use shift. I don't know where it is on the stock keyboard, but on swype, it is under the 'D' key if you use shift and long press on 'D'.
There is a possibility that your internal memory is filled with bad sectors.
As noted above, please post the output of the "df -h" command, so it'll be more clear.
I have 19.45kb free with CM7 + gapps only (edit - that is for /system and that too only 40KB free).
when I give that df command in terminal I get
/dev/block/mtdblock5 196.3M 41.1M 155.2M 21% /data
what does that mean?
munchy_cool said:
I have 19.45kb free with CM7 + gapps only
when I give that df command in terminal I get
/dev/block/mtdblock5 196.3M 41.1M 155.2M 21% /data
what does that mean?
Click to expand...
Click to collapse
Just do
df -h
and you'll see the headings...
filesystem size used available use% mounted
/dev/block/mtdblock5 196.3M 41.1M 155.2M 21% /data
so that means I have 155.2M free on /data.
that's good but my /system is only 40.0k free (cm 7 +gapps) only ..bad sectors?
bassmadrigal said:
What does it read if you do
Code:
df -h | grep /data
in the terminal? (The line is called a pipe and on the computer is located on the backslash key '\' and comes up when you use shift. I don't know where it is on the stock keyboard, but on swype, it is under the 'D' key if you use shift and long press on 'D'.
Click to expand...
Click to collapse
I can't seem to install terminal thru the marketplace. I think the low memory is preventing any additional application installs. Is that possible?
Is there another method to access a shell prompt on the device?
im sure you can use adb so plug it in!
daftsynth said:
I can't seem to install terminal thru the marketplace. I think the low memory is preventing any additional application installs. Is that possible?
Is there another method to access a shell prompt on the device?
Click to expand...
Click to collapse
Doesn't CM7 already come with Terminal installed...check your app drawer.
What gapps are you using? Because CM7 on mine has 8.56MB free after having gapps installed and DarkTremor's a2sd. If you are using one of the gapps that adds gmail, maps, facebook, etc... then that is probably your problem. That is why we have the smaller gapps (and to have gapps that are independent of the screen resolution). All those separate apps can be downloaded from the market. The tiny gapps gives you all the apps and framework needed to get onto the market so you can download the other apps.
And yes, Terminal is normally included with CM7...
You should definitely have more free on /system on a CM7 install with gapps.
bassmadrigal said:
You should definitely have more free on /system on a CM7 install with gapps.
Click to expand...
Click to collapse
How much is CM 7 + gapps from CM team on the /system (coz I use gapps which has gmail etc).
I don't know as I also have DarkTremor's a2sd installed, but I still have over 8.5MB available... so I would guess just over 10MB free.
I had low space problems on my old Eris. I just rooted & installed GingerShedBread (CM7) & have over 100MB free after installing 45 apps to internal storage.
GSB also supports moving all apps to sd including system.
Sent from my Vortex using XDA App
bassmadrigal said:
What does it read if you do
Code:
df -h | grep /data
in the terminal? (The line is called a pipe and on the computer is located on the backslash key '\' and comes up when you use shift. I don't know where it is on the stock keyboard, but on swype, it is under the 'D' key if you use shift and long press on 'D'.
Click to expand...
Click to collapse
running df, I get this:
Filesystem Size Used Free Blksize
/dev 192M 32K 192M 4096
/mnt/asec 192M 0K 192M 4096
/mnt/obb 192M 0K 192M 4096
/system 145M 128M 16M 4096
/data 196M 183M 12M 4096
/cache 95M 2M 92M 4096
/mnt/sdcard 1G 536K 1G 4096
/mnt/secure/asec 1G 536K 1G 4096
I can't seem to run "df -h". I get this error:
-h: No such file or directory
tsaxda said:
I had low space problems on my old Eris. I just rooted & installed GingerShedBread (CM7) & have over 100MB free after installing 45 apps to internal storage.
GSB also supports moving all apps to sd including system.
Sent from my Vortex using XDA App
Click to expand...
Click to collapse
I've just done some partition tweaks and now have 200+ apps with 118 mb free... xD
daftsynth said:
running df, I get this:
Filesystem Size Used Free Blksize
/dev 192M 32K 192M 4096
/mnt/asec 192M 0K 192M 4096
/mnt/obb 192M 0K 192M 4096
/system 145M 128M 16M 4096
/data 196M 183M 12M 4096
/cache 95M 2M 92M 4096
/mnt/sdcard 1G 536K 1G 4096
/mnt/secure/asec 1G 536K 1G 4096
I can't seem to run "df -h". I get this error:
-h: No such file or directory
Click to expand...
Click to collapse
That is weird that the -h option isn't working. It works on mine. Anyway, I guess it is the default with the df command (designed to show things in MB or GB instead of just bytes).
Now we will figure out what is using all the space in your /data directory.
Code:
su
cd /data
du -hd 1
This will show a listing of your data directory with sizes next to each folder. Normally the data and app directories will be your largest (maybe app-private if you have a lot of private apps installed). You can cd into each of the directories and run the same command and if you add "| grep M" it will only show items that have a capital 'M' in it which will show you all the files that are rated in MB vs KB.
So the command would read
Code:
du -hd 1 | grep M
Hopefully you can then figure out what is taking up all your space.
bassmadrigal said:
That is weird that the -h option isn't working. It works on mine. Anyway, I guess it is the default with the df command (designed to show things in MB or GB instead of just bytes).
Now we will figure out what is using all the space in your /data directory.
Code:
su
cd /data
du -hd 1
This will show a listing of your data directory with sizes next to each folder. Normally the data and app directories will be your largest (maybe app-private if you have a lot of private apps installed). You can cd into each of the directories and run the same command and if you add "| grep M" it will only show items that have a capital 'M' in it which will show you all the files that are rated in MB vs KB.
So the command would read
Code:
du -hd 1 | grep M
Hopefully you can then figure out what is taking up all your space.
Click to expand...
Click to collapse
It appears that I have bad sectors. The actual total size of /data is less than what shows up in "df". Any ideas on how I would repair the bad blocks?
I was able to run Ubuntu and get my Nexus One recognized by it. How do I fix the nexus one /data partition from Ubuntu? I'm assuming I would need to mount it.
I'm able to mount the /sd partition but can't see the other partitions. GParted only sees the SD partition as well when its attached with USB Storage turned on.
I don't have my Ubuntu box to confirm, but you should be able to mount /data as rw through adb (you only need the Linux adb, not the whole sdk).
Should look something like:
$ adb-linux shell
$ su
# mount /dev/block/mtdblock5 /data yaffs2 rw
...I'm sure someone will correct me if I'm wrong.
danger-rat said:
I don't have my Ubuntu box to confirm, but you should be able to mount /data as rw through adb (you only need the Linux adb, not the whole sdk).
Should look something like:
$ adb-linux shell
$ su
# mount /dev/block/mtdblock5 /data yaffs2 rw
...I'm sure someone will correct me if I'm wrong.
Click to expand...
Click to collapse
I will try this when I get home. But when you execute the mount cmd above, wouldnt that just mount the partition locally on the nexus one?
daftsynth said:
I will try this when I get home. But when you execute the mount cmd above, wouldnt that just mount the partition locally on the nexus one?
Click to expand...
Click to collapse
Yes it would mount it locally. I don't know if you would be able to mount the data partition onto the computer due to it not passing any disc info other than the sdcard. But, while in adb, you could try and run an e2fsck. I am not sure on the exactness of these commands, but I think it would be something like this in adb while in recovery.
Code:
adb-linux shell
mount system
e2fsck -pcfv /dev/block/mtdblock5
You may need to issue an 'su' command, but I think when you use adb it automatically logs in as root.

Categories

Resources