out of space?! - G1 Android Development

ok, so i was trying to install an older version of hello im (for some reason the newer ones dont work) from my sd card and i keep getting a message saying im out of space and to make room. I have all cache and apps on my sd and and have 73mb free on my phone and should have plenty left of my 1gig ext2 partion. anyone have any idea what the problem is?
note:
i have done this in the past with no problems. before and after cupcake.

Yeah sorry I dont have an answer but I am actually having this prob myself. Not with installing apps but when trying to download stuff using the browser, I get unsuccessful and it says not enough space. I cant figure out what it is reading b/c I also have Apps 2 a 700mb EXT2 and all cache on SD with plenty of internal memory. Would love to see an answer to this.

I saw something similar myself when trying to install something, and I knew I had enough space. I was using Astro. Any chance you two were as well?

I have the same problem when I try to install an apk from sdcard (but I can install all apps from market ou bay adb install).
That's very strange... and annoying !
I use Dude 0.9.3 & apptosd
here is my mount and df :
# mount
mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock3 /system yaffs2 ro 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0
/dev/block/mmcblk0p2 /system/sd ext2 rw,errors=continue 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=
1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8 0 0
# df
df
/dev: 49352K total, 0K used, 49352K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/system: 69120K total, 63084K used, 6036K available (block size 4096)
/data: 76544K total, 37132K used, 39412K available (block size 4096)
/cache: 69120K total, 1936K used, 67184K available (block size 4096)
/system/sd: 272221K total, 89373K used, 182848K available (block size 1024)
/sdcard: 3687696K total, 1950524K used, 1737172K available (block size 4096)

Yeah I was using astro to try and install an app and I got that message saying I was out of space but I have installed 10 apps from the market since then. And I still cant download stuff from the browser either. Still cant understand where it's reading no space.

Have you tried clearing the browser cache and possibly the history? Menu +P from within the browser.

All my caches & apps are on my SD card with plenty of space available.

could you get the output from logcat?

mikedmeyer said:
I saw something similar myself when trying to install something, and I knew I had enough space. I was using Astro. Any chance you two were as well?
Click to expand...
Click to collapse
yes i am infact trying with astro. ill try using another app and see if that works.
EDIT:
No luck i tried using AppManager and got the same problem. i am able to install every other app, just not hello im.

Related

HOWTO: Automated APPS to SD (EASY!!!!)

NOTE:
1. Must have a rooted phone
2. Must have two partitions on the sd card (fat32 for everything, and ext2 for "expanding" the phone's memory).
3. Must have Android SDK installed (so that adb will work)
Ok.. So I got sick of all the commands running back and forth. I found that I'm wiping my phone several times testing out new things and didn't want to continuously put in all these commands to get the apps to sd thing to work.
Therefore, I created a file to automatically do it for me!!! I just run this file with the usb connected to the phone, and let it run all the commands.
I've attached a file "tmp.zip". Download this file and extract it to your c:
The folder it extracts NEEDS to be at c:/tmp
After extracting, navigate to the folder and double click on "appsToSD1.bat". Follow the instructions and you'll be on your way.
I hope this helps!!!!
egyptianbman said:
NOTE:
1. Must have a rooted phone
2. Must have two partitions on the sd card (fat32 for everything, and ext2 for "expanding" the phone's memory).
3. Must have Android SDK installed (so that adb will work)
Ok.. So I got sick of all the commands running back and forth. I found that I'm wiping my phone several times testing out new things and didn't want to continuously put in all these commands to get the apps to sd thing to work.
Therefore, I created a file to automatically do it for me!!! I just run this file with the usb connected to the phone, and let it run all the commands.
I've attached a file "tmp.zip". Download this file and extract it to your c:
The folder it extracts NEEDS to be at c:/tmp
After extracting, navigate to the folder and double click on "appsToSD1.bat". Follow the instructions and you'll be on your way.
I hope this helps!!!!
Click to expand...
Click to collapse
EXCELLENT!!! I have already set my apps to sd... but I always welcome alternatives. Good work. I can't wait to try it out some time.
Thanks!
looking at the bat, it looks just like the commands from that other thread. Any1 game to try and share if it it works =]?
Nice, I might finally try this when I get home today...
Anyone try this out yet?
Just tried it
Failure, after last reboot i am stuck at the flashing android loader.
I did verify i was all the stuff the bat file said to look for
# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 48.4M 0 48.4M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 67.5M 67.1M 456.0K 99% /system
/dev/block/loop0 1.5M 1.5M 0 100% /system/modules
/dev/block/loop1 3.1M 3.1M 0 100% /system/xbin
/dev/block/mtdblock5 74.8M 20.9M 53.8M 28% /data
/dev/block/mtdblock4 67.5M 1.1M 66.4M 2% /cache
/dev/block/mmcblk0p1 978.6M 4.0K 978.6M 0% /sdcard
is my card partitioned I did it through paragon, but It only shows the one partition here what am I doing wrong its a 2 gig card, Ill try if I can get my damn card partioned lol.
Thanks it worked for me.... ...but Im not sure if ext2 patitioon should be primary
http://forum.xda-developers.com/showthread.php?p=3483058#post3483058
...I made it primary and it worked...
$ df
/dev: 49520K total, 0K used, 49520K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/system: 69120K total, 66180K used, 2940K available (block size 4096)
/system/modules: 1532K total, 1532K used, 0K available (block size 4096)
/system/xbin: 3172K total, 3172K used, 0K available (block size 4096)
/system/sd: 1033712K total, 5116K used, 1028596K available (block size 4096)
/data: 76544K total, 21760K used, 54784K available (block size 4096)
/cache: 69120K total, 1160K used, 67960K available (block size 4096)
/sdcard: 6172916K total, 588568K used, 5584348K available (block size 4096)
sdcard - 6GB
sd - 1GB
$ 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)
/dev/block/mtdblock3 on /system type yaffs2 (ro)
/dev/block/loop0 on /system/modules type cramfs (ro)
/dev/block/loop1 on /system/xbin type cramfs (ro)
/dev/mmcblk0p2 on /system/sd type ext2 (rw,noatime,nodiratime,errors=continue)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,codepage=cp437,iocharset=iso8859-1,utf8)
$ cd /data
$ ls -al
ls: can't open '.': Permission denied
$ su
# ls -al
drwxrwx--x 1 1000 1000 2048 Oct 5 07:41 .
drwxr-xr-x 12 0 0 0 Mar 18 17:31 ..
drwxrwxrwx 1 1000 1000 2048 Oct 5 07:41 anr
lrwxrwxrwx 1 0 0 14 Mar 18 17:30 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Mar 18 17:30 app-private -> /system/sd/app-private
drwxrwx--x 1 1000 1000 2048 Oct 5 07:41 dalvik-cache
drwxrwx--x 1 1000 1000 2048 Oct 5 07:41 data
drwxrwx--x 1 2000 2000 2048 Oct 5 07:41 local
drwxrwx--- 1 0 0 2048 Oct 5 07:41 lost+found
drwxrwx--t 1 1000 9998 2048 Oct 5 07:41 misc
drwx------ 1 0 0 2048 Oct 5 07:41 property
drwxrwxr-x 1 1000 1000 2048 Oct 5 07:41 system
drwxr-xr-x 1 1000 1000 2048 Mar 15 12:15 tombstones
#
russenreaktor said:
Thanks it worked for me.... ...but Im not sure if ext2 patitioon should be primary
http://forum.xda-developers.com/showthread.php?p=3483058#post3483058
...I made it primary and it worked...
$ df
/dev: 49520K total, 0K used, 49520K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/system: 69120K total, 66180K used, 2940K available (block size 4096)
/system/modules: 1532K total, 1532K used, 0K available (block size 4096)
/system/xbin: 3172K total, 3172K used, 0K available (block size 4096)
/system/sd: 1033712K total, 5116K used, 1028596K available (block size 4096)
/data: 76544K total, 21760K used, 54784K available (block size 4096)
/cache: 69120K total, 1160K used, 67960K available (block size 4096)
/sdcard: 6172916K total, 588568K used, 5584348K available (block size 4096)
sdcard - 6GB
sd - 1GB
$ 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)
/dev/block/mtdblock3 on /system type yaffs2 (ro)
/dev/block/loop0 on /system/modules type cramfs (ro)
/dev/block/loop1 on /system/xbin type cramfs (ro)
/dev/mmcblk0p2 on /system/sd type ext2 (rw,noatime,nodiratime,errors=continue)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,codepage=cp437,iocharset=iso8859-1,utf8)
$ cd /data
$ ls -al
ls: can't open '.': Permission denied
$ su
# ls -al
drwxrwx--x 1 1000 1000 2048 Oct 5 07:41 .
drwxr-xr-x 12 0 0 0 Mar 18 17:31 ..
drwxrwxrwx 1 1000 1000 2048 Oct 5 07:41 anr
lrwxrwxrwx 1 0 0 14 Mar 18 17:30 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Mar 18 17:30 app-private -> /system/sd/app-private
drwxrwx--x 1 1000 1000 2048 Oct 5 07:41 dalvik-cache
drwxrwx--x 1 1000 1000 2048 Oct 5 07:41 data
drwxrwx--x 1 2000 2000 2048 Oct 5 07:41 local
drwxrwx--- 1 0 0 2048 Oct 5 07:41 lost+found
drwxrwx--t 1 1000 9998 2048 Oct 5 07:41 misc
drwx------ 1 0 0 2048 Oct 5 07:41 property
drwxrwxr-x 1 1000 1000 2048 Oct 5 07:41 system
drwxr-xr-x 1 1000 1000 2048 Mar 15 12:15 tombstones
#
Click to expand...
Click to collapse
Ive been struggling with this for three days, using paragon how exactly do you partition a card it says mines has been partitioned and showes the ext2 and the fat32 both as being primary but It wont show on busybox as my previous post above states, from there how do I go on to complete apps on sd card, it just aint working for me Im getting frustrated
Joeriginal said:
Ive been struggling with this for three days, using paragon how exactly do you partition a card it says mines has been partitioned and showes the ext2 and the fat32 both as being primary but It wont show on busybox as my previous post above states, from there how do I go on to complete apps on sd card, it just aint working for me Im getting frustrated
Click to expand...
Click to collapse
Since ext2 is a linux partition I would use a Live Ubunut CD to partition the card. This is the safest bet.
androidmonkey said:
Since ext2 is a linux partition I would use a Live Ubunut CD to partition the card. This is the safest bet.
Click to expand...
Click to collapse
I have read how people do it through paragon Id rather not download a 700mb file just to format my card, but thanks for the suggestion.
Joeriginal said:
I have read how people do it through paragon Id rather not download a 700mb file just to format my card, but thanks for the suggestion.
Click to expand...
Click to collapse
If you have a good net connection it will download in 10-15 minutes. Worth the time knowing that method works
Also, having a Live CD is a good troubleshooting tool for future issues.
androidmonkey said:
If you have a good net connection it will download in 10-15 minutes. Worth the time knowing that method works
Also, having a Live CD is a good troubleshooting tool for future issues.
Click to expand...
Click to collapse
Im at work on a dialup network if I start downloading I should finish by dinner time.....Friday.
Joeriginal said:
Im at work on a dialup network if I start downloading I should finish by dinner time.....Friday.
Click to expand...
Click to collapse
ah, i see.
Well there are many small linux distros. Puppy Linux is one, only 98MB
http://www.puppylinux.org/
androidmonkey said:
If you have a good net connection it will download in 10-15 minutes. Worth the time knowing that method works
Also, having a Live CD is a good troubleshooting tool for future issues.
Click to expand...
Click to collapse
Excellent points.
modem_over said:
Failure, after last reboot i am stuck at the flashing android loader.
I did verify i was all the stuff the bat file said to look for
Click to expand...
Click to collapse
More than likely because you didn't have the partitions on SD correct. READ THE NOTE FIRST!
I think you're going to have to clear the phone. You might even need to re-install an update.
Joeriginal said:
# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 48.4M 0 48.4M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 67.5M 67.1M 456.0K 99% /system
/dev/block/loop0 1.5M 1.5M 0 100% /system/modules
/dev/block/loop1 3.1M 3.1M 0 100% /system/xbin
/dev/block/mtdblock5 74.8M 20.9M 53.8M 28% /data
/dev/block/mtdblock4 67.5M 1.1M 66.4M 2% /cache
/dev/block/mmcblk0p1 978.6M 4.0K 978.6M 0% /sdcard
is my card partitioned I did it through paragon, but It only shows the one partition here what am I doing wrong its a 2 gig card, Ill try if I can get my damn card partioned lol.
Click to expand...
Click to collapse
Nope, I'm not seeing a "/system/sd" partition on your phone.
Don't know how easy using LiveCD Ubuntu is... but there's no way it's easier than Paragon Partitioner...
I dl'ed it, Personal Trial version.
Inserted my G1 via USB.
Create partition.
Select sd card.
Choose size.
DONE!
That's it. Voila. Sd card partitioned into 2 parts.
xdavidn88 said:
Don't know how easy using LiveCD Ubuntu is... but there's no way it's easier than Paragon Partitioner...
I dl'ed it, Personal Trial version.
Inserted my G1 via USB.
Create partition.
Select sd card.
Choose size.
DONE!
That's it. Voila. Sd card partitioned into 2 parts.
Click to expand...
Click to collapse
I ended up having to use Ubuntu. I'm not sure why, I installed Paragon on my work computer (new, running Vista x64) and it couldn't create the partitions correctly... kept on giving me some error. I think it had something to do with mounting... So I thought maybe it's because I was on an x64. Took it home to my laptop running Windows XP and had the same problem. I finally got tired of it and got Ubuntu who worked like a charm
egyptianbman said:
I finally got tired of it and got Ubuntu who worked like a charm
Click to expand...
Click to collapse
Yep, Ubuntu will work every time. Since EXT2 is a linux format, having Windows create it is a mixed bag. I tried creating windows partitions on my Mac awhile back and it was a disaster.

[Q] Where's the mount point for the root file system?

On my G1, I know that the internal flash memory is divided into several partitions used by the system. Running the busybox shell on a terminal emulator on the phone or through adb, I can run df and get the following:
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 48852 0 48852 0% /dev
tmpfs 48852 0 48852 0% /mnt/asec
/dev/block/mtdblock3 92160 89048 3112 97% /system
/dev/block/mtdblock5 91904 77792 14112 85% /data
/dev/block/loop0 4096 4096 0 100% /system/xbin
/dev/block/mtdblock4 30720 1160 29560 4% /cache
/dev/block/vold/179:1
15541688 12742232 2799456 82% /mnt/sdcard
/dev/block/vold/179:1
15541688 12742232 2799456 82% /mnt/secure/asec
But strangely there's no mount point for /, the root file system. Yet there are lot of other files and directories directly in the root file system, like init scripts. Could anyone explain to me how this is? Is the root file system hidden somehow from df?

[Q] Help needed with some issues X5A-G 2.1 and Link2sd + partitions

I post this in a specific thread but I maybe have more luck with a thread?
Thank you very much if someone can help.
Tablet: HSG-X5A-G 2.1
Trying to get Link2SD working but there are some issues:
Problem 1
I format SDCard 8gb ubuntu with gparted:
1.delete all partition on SD card apply
2.create a partition (1) of 8gb primary FAT32 apply
3.resize to 7.5gb this partition apply
4.create 0.5gb partition (2) with the free space after resize primary FAT32 apply.
5.set partition (1) active
6.put the card in tablet
and no detection of the card.
If I delete the 500 meg (2) partition the sdcard is immediately recognize after putting back in the tablet.
I even try second partition with ext2 or ext3 try too formating with clockwork recovery menu.I try too to copy to the new formated SD the dir Android, Android-secure and Lost.Dir...... Nothing work.
The second partition make my SD unrecognizable.
I even try to create a linux swap file of 32 meg and no chance too.
If someone can explain me why? Is there hope?
I post here the 2 logcats with and without partition
Problem 2
After that as it was not working partitioning SD I tried to use symlinks and binding to use dir /dev/app2 (I created) and it works until reboot; dir app2 I created /dev/app2 is gone even if I run a script at boot:
mount -o bind /dev/app2 /data/sdext2
My /dev dir has 78 meg free.Is there something I am missing?
Problem 3
So I was thinking of using /nand (internal 2gb storage) and partition it but no tool give me the possibility to partition /nand even FWD that comes with the firmware. Is this really possible to do?
Problem 4
Is it possible to change partition /sytem /dev /data and repartition these?
Move free space between these?
Problem 5
How can I move the Dalvik-cache?
Tried with cwr but didnt succeed.
Is it a good idea?
Actual system
mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
tmpfs /broadcasting tmpfs rw,size=1024k 0 0
/dev/block/mtdblock2 /system yaffs2 rw 0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0
/dev/block/ndda1 /nand vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
df
/dev: 76788K total, 12K used, 76776K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/broadcasting: 1024K total, 0K used, 1024K available (block size 4096)
/system: 153600K total, 113228K used, 40372K available (block size 4096)
/data: 297984K total, 51492K used, 246492K available (block size 4096)
/cache: 40960K total, 6680K used, 34280K available (block size 4096)
/nand: 1422944K total, 704K used, 1422240K available (block size 32768)

[Q] Midnight Commander on ICS

A brand-new Galaxy Nexus, rooted, installed many apps w.o. problems. (e.g. sshd, Total Commander, ConnectBot, OpenVPN, ...) Tried to install Midnight Commander as seen here:
http://forum.xda-developers.com/showthread.php?t=1243699&page=6
No success, so I tried from scratch, copied files into /system dir and subdirs. It works. But in some subdirs the mc has no read-permission, e.g. /system, /data... I'm wondering, able to listing contents of these directories directly from console. Also able to copy files into /system or /etc with F5.
Any Hints?
Thanks, Charmin.
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.
Same problem on ICS (cm-9.0.0-RC1-maguro.zip)...
I do not have the solution but I may have a clue. When mc attempts to access /system, strace shows:
Code:
chdir("/system") = 0
getcwd("/system", 4096) = 8
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/system", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fstat(3, 0xbe98d868) = -1 EOVERFLOW (Value too large for defined data type)
close(3) = 0
Hopefully someone will find that info to be helpful...
Similar problem, cannot access sdcard, Resurrection Remix 2.6.1 on SGS2
strace:
ioctl(0, TIOCLINUX, 0xbecc07c7) = -1 EINVAL (Invalid argument)
chdir("/mnt/sdcard") = 0
getcwd("/mnt/sdcard", 4096) = 12
stat64("/mnt/sdcard", {st_mode=S_IFDIR|075, st_size=32768, ...}) = 0
stat64("/mnt/sdcard", {st_mode=S_IFDIR|075, st_size=32768, ...}) = 0
stat64("/mnt", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0
open("/mnt/sdcard", O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 3
fstat(3, 0xbecbf6f8) = -1 EOVERFLOW (Value too large for defined data type)
close(3) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
Thank you,
An additional data point...
I tried midnight commander on the standard AOSP ICS via the emulator that comes with the SDK (platform 4.1). No problem! Access to any directory (i.e. /system) is error free...
This issue appears to be specific to Cyanogenmod (at least with my version cm-9.0.0-RC1-maguro.zip).
Is the source code (w/ android specific configure options and patches) for this version of Midnight Commander available somewhere?
I decided to build my own version of Midnight Commander so I could fix this bug for myself. You can find it here (in n00b URL syntax):
www dot noid dot net slash mc-android
Why not use Ghost Commander? Free and works well, it's available from Google Playstore.
demonoflust said:
Why not use Ghost Commander? Free and works well, it's available from Google Playstore.
Click to expand...
Click to collapse
Ghost Commander looks great and I'll probably use that too... It's great to have both!
The Ghost Commander is a GUI app that runs on your device's screen as a normal Android application does.
This version of Midnight Commander that I've made is a console app. It runs in a terminal. So, to use it on your device's screen, you would first need to start a "terminal emulator" application. But that's not where it really shines because (on a phone at least) it's very small and the default soft-keyboard does not have function keys, etc..
This version of Midnight Commander is ideal if you are using your home PC (with a full keyboard) and you SSH into your device. For example, if you are running DroidSSHd on your device and you use PuTTY from you home PC to connect. Now you're really cooking!
So they're both good (but different)...
charminbear said:
A brand-new Galaxy Nexus, rooted, installed many apps w.o. problems. (e.g. sshd, Total Commander, ConnectBot, OpenVPN, ...) Tried to install Midnight Commander as seen here:
http://forum.xda-developers.com/showthread.php?t=1243699&page=6
No success, so I tried from scratch, copied files into /system dir and subdirs. It works. But in some subdirs the mc has no read-permission, e.g. /system, /data... I'm wondering, able to listing contents of these directories directly from console. Also able to copy files into /system or /etc with F5.
Any Hints?
Thanks, Charmin.
Click to expand...
Click to collapse
The same for a brand-new Samsung Galaxy S2 ( ICS 4.0.4) , rooted
Dont list /system, /data a its subfolder...
---------- Post added at 04:37 PM ---------- Previous post was at 04:23 PM ----------
a.human said:
Same problem on ICS (cm-9.0.0-RC1-maguro.zip)...
I do not have the solution but I may have a clue. When mc attempts to access /system, strace shows:
Code:
chdir("/system") = 0
getcwd("/system", 4096) = 8
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/system", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fstat(3, 0xbe98d868) = -1 EOVERFLOW (Value too large for defined data type)
close(3) = 0
Hopefully someone will find that info to be helpful...
Click to expand...
Click to collapse
I have one idea =
looks like that listing doesnt work, because both mounts /system and /data larger then 500GB
# df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/cache 98M 4M 94M 4096
/efs 19M 8M 11M 4096
/data 1G 426M 1G 4096
---------- Post added at 04:43 PM ---------- Previous post was at 04:37 PM ----------
yariks7 said:
The same for a brand-new Samsung Galaxy S2 ( ICS 4.0.4) , rooted
Dont list /system, /data a its subfolder...
I have one idea =
looks like that listing doesnt work, because both mounts /system and /data larger then 500GB
# df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/cache 98M 4M 94M 4096
/efs 19M 8M 11M 4096
/data 1G 426M 1G 4096
Click to expand...
Click to collapse
correct large /mnt/sdcard also not listable by mc!
Filesystem Size Used Free Blksize
/system 503M 498M 5M 4096
/data 1G 442M 1G 4096
/mnt/sdcard 11G 305M 11G 32768
---------- Post added at 04:50 PM ---------- Previous post was at 04:43 PM ----------
yariks7 said:
The same for a brand-new Samsung Galaxy S2 ( ICS 4.0.4) , rooted
Dont list /system, /data a its subfolder...
---------- Post added at 04:37 PM ---------- Previous post was at 04:23 PM ----------
I have one idea =
looks like that listing doesnt work, because both mounts /system and /data larger then 500GB
# df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/cache 98M 4M 94M 4096
/efs 19M 8M 11M 4096
/data 1G 426M 1G 4096
---------- Post added at 04:43 PM ---------- Previous post was at 04:37 PM ----------
correct large /mnt/sdcard also not listable by mc!
Filesystem Size Used Free Blksize
/system 503M 498M 5M 4096
/data 1G 442M 1G 4096
/mnt/sdcard 11G 305M 11G 32768
Click to expand...
Click to collapse
strange but large submounts accessible and listable
/dev/block/vold/259:3 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
tmpfs /mnt/sdcard/external_sd tmpfs rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,size=0k,mode=755,gid=1000 0 0
tmpfs /mnt/sdcard/usbStorage tmpfs rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,size=0k,mode=755,gid=1000 0 0
/dev/block/vold/179:9 /mnt/sdcard/external_sd vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:9 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/mnt/sdcard/Alarms # df
Filesystem Size Used Free Blksize
/dev 413M 76K 413M 4096
/mnt/asec 413M 0K 413M 4096
/mnt/obb 413M 0K 413M 4096
/system 503M 498M 5M 4096
/mnt/sdcard 11G 305M 11G 32768
/mnt/sdcard/external_sd 7G 6G 1G 32768
/mnt/sdcard/external_sd 7G 6G 1G 32768
/mnt/secure/asec 7G 6G 1G 32768
so /mnt/sdcard not listable ,
but large /mnt/secure/asec and /mnt/sdcard/external_sd is listable too.
Hello guys,
I've double checked MC and everything seems ok, on my phone it works (it has 16Gb internal memory from which about 10Gb are assigned to /storage/sdcard, and I added 16gb external SDCARD which it mounts under /storage/extSdCard).
Code:
[[email protected]]/sdcard# busybox df -k
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 426612 84 426528 0% /dev
tmpfs 426612 0 426612 0% /mnt/asec
tmpfs 426612 0 426612 0% /mnt/obb
/dev/block/mmcblk0p3 20144 8372 11772 42% /efs
/dev/block/mmcblk0p9 1548144 863612 684532 56% /system
/dev/block/mmcblk0p8 1007896 17280 990616 2% /cache
/dev/block/mmcblk0p12
11901576 8123632 3777944 68% /data
/dev/fuse 11799176 8123632 3675544 69% /storage/sdcard0
/dev/block/vold/179:17
15613952 14060896 1553056 90% /storage/extSdCard
I'm using an S3 with rooted stock firmware and stock kernel and I can navigate everywhere without incidents.
The only question that now comes to mind is if you somehow formatted the the /mnt/sdcard with ext2/3 filesystem ? Or is it FAT32 single partition ?
Hello viulian,
thank your reply .
I think you are right - it depends on filesystem type (and it size also) .
Large /mnt/sdcard/external_sd (vfat) is listable,
but large ext4 partition /system and /data is NOT listable.
here is my
#busybox df -k
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 423444 76 423368 0% /dev
...[skipped]...
/dev/block/mmcblk0p9 516040 510032 6008 99% /system
/dev/block/mmcblk0p10 2064192 720956 1343236 35% /data
/dev/block/vold/259:3 12063840 2676224 9387616 22% /mnt/sdcard
tmpfs 31154688 2222432 28932256 7% /mnt/sdcard/external_sd
/dev/block/vold/179:9
31154688 2222432 28932256 7% /mnt/sdcard/external_sd
...[skipped]...
1|[email protected]:/sdcard #
1|[email protected]:/sdcard # mount
/dev/block/mmcblk0p9 /system ext4 ro,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/vold/259:3 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
tmpfs /mnt/sdcard/external_sd tmpfs rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,size=0k,mode=755,gid=1000 0 0
/dev/block/vold/179:9 /mnt/sdcard/external_sd vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
viulian said:
Hello guys,
I've double checked MC and everything seems ok, on my phone it works (it has 16Gb internal memory from which about 10Gb are assigned to /storage/sdcard, and I added 16gb external SDCARD which it mounts under /storage/extSdCard).
Code:
[[email protected]]/sdcard# busybox df -k
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 426612 84 426528 0% /dev
tmpfs 426612 0 426612 0% /mnt/asec
tmpfs 426612 0 426612 0% /mnt/obb
/dev/block/mmcblk0p3 20144 8372 11772 42% /efs
/dev/block/mmcblk0p9 1548144 863612 684532 56% /system
/dev/block/mmcblk0p8 1007896 17280 990616 2% /cache
/dev/block/mmcblk0p12
11901576 8123632 3777944 68% /data
/dev/fuse 11799176 8123632 3675544 69% /storage/sdcard0
/dev/block/vold/179:17
15613952 14060896 1553056 90% /storage/extSdCard
I'm using an S3 with rooted stock firmware and stock kernel and I can navigate everywhere without incidents.
The only question that now comes to mind is if you somehow formatted the the /mnt/sdcard with ext2/3 filesystem ? Or is it FAT32 single partition ?
Click to expand...
Click to collapse

[Q] abount internal storage size

I have p3100 8GB and I saw that internal storage is only 2GB. is this normal? if not, what should I do?
danis26 said:
I have p3100 8GB and I saw that internal storage is only 2GB. is this normal? if not, what should I do?
Click to expand...
Click to collapse
It is 8GB total between all items stored. You have /data, /cache, /sdcard, /system, and then a couple other random items as well. The total of all of those should be ~8GB.
imnuts said:
It is 8GB total between all items stored. You have /data, /cache, /sdcard, /system, and then a couple other random items as well. The total of all of those should be ~8GB.
Click to expand...
Click to collapse
But isn't 2GB too low? Its only 2GB and I cant instal apps to sdcard.
sorry for my bad English.
I have about 3gb of storage not counting the space my apps take up.
Sent from my GT-P3113 using XDA Premium HD app
matt30 said:
I have about 3gb of storage not counting the space my apps take up.
Sent from my GT-P3113 using XDA Premium HD app
Click to expand...
Click to collapse
what ROM are you using?
danis26 said:
what ROM are you using?
Click to expand...
Click to collapse
Tab2lite beta 2
Storage lists my total space at 4.6gb.
Sent from my GT-P3113 using XDA Premium HD app
The memory layout on the Tab 2 is a strange bird. The 8GB is divided into two partitions of equal size, and you will always see the internal memory and virtual SDCard being of equal size. You really only have 4GB to actually install anything programwise. With Ice Cream Sandwich, you cannot move apps to the ExtSDCard because of Google's far-seeing "wisdom" that said that we would not ever need more than what they gave us in the Tab 2. There ARE some apps that will allow you to move some game files to the ExtSDCard like GL to SD(Root) and Directory Bind, but there really isn't a long term solution yet on how to move apps to the ExTSDCard consistently without need of special apps. I imagine that it may take a major ROM tweak that will allow this function. There is also a 1GB dedicated cache directory that needs to be cleaned ever so often otherwise Google Play will not allow you to install anything once the cache is filled. There are a number of utility apps available in the Play Store that will optimize memory and clear the cache...
Alex
So what should I do to get 4GB free space instead of 2GB ?
AlexM555 said:
The memory layout on the Tab 2 is a strange bird. The 8GB is divided into two partitions of equal size, and you will always see the internal memory and virtual SDCard being of equal size. You really only have 4GB to actually install anything programwise. With Ice Cream Sandwich, you cannot move apps to the ExtSDCard because of Google's far-seeing "wisdom" that said that we would not ever need more than what they gave us in the Tab 2. There ARE some apps that will allow you to move some game files to the ExtSDCard like GL to SD(Root) and Directory Bind, but there really isn't a long term solution yet on how to move apps to the ExTSDCard consistently without need of special apps. I imagine that it may take a major ROM tweak that will allow this function. There is also a 1GB dedicated cache directory that needs to be cleaned ever so often otherwise Google Play will not allow you to install anything once the cache is filled. There are a number of utility apps available in the Play Store that will optimize memory and clear the cache...
Alex
Click to expand...
Click to collapse
This is not right.
There are several partitions of the 8gb flash memory, not two. Not being able to move apps to an sd card is not an ICS issue but a modification made by Samsung. The cache never needs to be cleared, its size is 688mb not 1gb, and if you want to clear it (even though it offers no benefit whatsoever to do so) you can do it from the menus in ICS.
---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------
danis26 said:
So what should I do to get 4GB free space instead of 2GB ?
Click to expand...
Click to collapse
Do you have a terminal emulator app? adb? It's hard to fix your problem if we don't know more.
matt30 said:
This is not right.
There are several partitions of the 8gb flash memory, not two. Not being able to move apps to an sd card is not an ICS issue but a modification made by Samsung. The cache never needs to be cleared, its size is 688mb not 1gb, and if you want to clear it (even though it offers no benefit whatsoever to do so) you can do it from the menus in ICS.
---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------
Do you have a terminal emulator app? adb? It's hard to fix your problem if we don't know more.
Click to expand...
Click to collapse
Yes I have terminal emulator app.
I have similar problem. I have p3110 16Gb and after installing Tab 2 lite beta 2 (I tested all other p3113 rom,stock and custom, and they all worked without any problems), memory went from 16GB to 8G. I can't find a way to revert this(installed the proper stock rom). One other strange thing is that i can't re-partition anymore using odin,it fails on that process. Any ideas?
danis26 said:
Yes I have terminal emulator app.
Click to expand...
Click to collapse
HapaBiH said:
I have similar problem. I have p3110 16Gb and after installing Tab 2 lite beta 2 (I tested all other p3113 rom,stock and custom, and they all worked without any problems), memory went from 16GB to 8G. I can't find a way to revert this(installed the proper stock rom). One other strange thing is that i can't re-partition anymore using odin,it fails on that process. Any ideas?
Click to expand...
Click to collapse
I wonder if this will work without busybox but you should run
$ su
then
# fdisk -l /dev/block/mmcblk0
then
# df
also
# mount
and tell me what you see.
It would also be helpfull if you could go to the '/dev/block/platform/omap/omap_hsmmc.1/by-name/' directory and tell me what you see.
For the guy that flashed tab2lite, you should proabably pm the dev and ask him for an odin flashable partition table for the 16gb version.
This is what i get.
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 7818 MB, 7818182656 bytes
1 heads, 16 sectors/track, 954368 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 954368 7634943+ ee EFI GPT
Partition 1 does not end on cylinder boundary
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 343M 76K 343M 4096
/mnt/asec 343M 0K 343M 4096
/mnt/obb 343M 0K 343M 4096
/system 1G 949M 255M 4096
/data 1G 1G 276M 4096
/cache 688M 11M 677M 4096
/efs 19M 8M 11M 4096
/mnt/sdcard 1G 1G 276M 4096
/mnt/extSdCard 7G 3G 4G 4096
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache ext4 rw,nosuid,nodev,noatime,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs ext4 rw,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:25 /mnt/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ #
danis26 said:
This is what i get.
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 7818 MB, 7818182656 bytes
1 heads, 16 sectors/track, 954368 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 954368 7634943+ ee EFI GPT
Partition 1 does not end on cylinder boundary
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 343M 76K 343M 4096
/mnt/asec 343M 0K 343M 4096
/mnt/obb 343M 0K 343M 4096
/system 1G 949M 255M 4096
/data 1G 1G 276M 4096
/cache 688M 11M 677M 4096
/efs 19M 8M 11M 4096
/mnt/sdcard 1G 1G 276M 4096
/mnt/extSdCard 7G 3G 4G 4096
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache ext4 rw,nosuid,nodev,noatime,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs ext4 rw,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:25 /mnt/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[email protected]:/ #
Click to expand...
Click to collapse
You have the 8gb model and a custom rom. How did you flash this? I heimdal or Odin? What ROM are you on?
Your /data partition is messed up.
Sent from my GT-P3113 using XDA Premium HD app
matt30 said:
You have the 8gb model and a custom rom. How did you flash this? I heimdal or Odin? What ROM are you on?
Your /data partition is messed up.
Sent from my GT-P3113 using XDA Premium HD app
Click to expand...
Click to collapse
We can close this threat. I solved this problem myself. Formated data and cache and now I have 4.56GB of space. THank you matt30 for your help!!!

Categories

Resources