[Q] HARDWARE or driver problem???? microsd card not seen - A7 General

I've tried to avoid asking a stupid question. Have spent all day mucking around with a7. Have installed 2 updates via micro sd. was successfull, but still had bugs. I have Dexter v1.2 on now and wanted to do 1.3 but a7 WONT MOUNT SD....DOES NOT SEE IT....have tried 2 cards, one had previously worked....both are 8 gig 32 FAT ...BOTH were reformatted several times. windows 7 can read cards, but not A7. Almost seems like a driver corrupted OR??? How can I get A7 to see sd??? cant update without it....DAMN frustrating...dont want to send back machine...like it.
Thanks

Your not only one! My sd card wont mount either.elocity has not solved this problem yet.

you neeed an sd adapter
You A7 isn't broken Dexter has an an explanation for the SD card look for it.Use a SD card adapter connect to your PC then to your a7

this is not helping
Any ideas re how I can get the a7 to read the micrsd card would help...It worked before and I was able to flash ...but now will not see any files or mount any card so I'm unable to re-flash. Ive done all the reformatting on the microsd to FAT32, and have tried 2 cards ...no luck..
Any suggestions would be appreciated...,

/me thinks we need to start a stickie regarding which cards work and which don't.
Make sure that you're using an 'SDHC' card.
There are several posts lately regarding problems with standard Micro SD Cards
not functioning properly. -=- LINK -=-
It seems that the reader only likes 'SDHC' cards and not standard 'SD' cards.
Let's start listing the specs of cards when posting, perhaps we'll start to see a pattern.
_mr

Still need help
BOTH CARDS I used are SDHC and worked previously but now the A7 doesn't see(read) card after they are in slot...so I'M UNABLE TO RE-FLASH. I'VE re-formatted them (FAT32) and downloaded dexters 1.3. work fine on PC but NOT on A7....ANY IDEAS OUT THERE???

Micro SD Card Problem
I had the same experience. A7 used to recognize my micro sd card but when I changed to Dexter's 1.2 A7 does not recognize the card anymore. However, what I noticed is that the A7 still is able to read my MUSIC and PICTURES that are all in my micro sd card. I know that because if you go to your pics and music the A7 still shows them all. But if you go to SETTINGS - SD CARD AND DEVICE STORAGE SETTINGS......It says " MOUNT SD CARD (Insert an SD card for mounting ). Why would it say that when my card is in there? Also I just purchased an 16GB usb drive and that too is NOT recognized. Any fixes to this problem? Thank you very much!

It's very strange. Who has extra experience to get output from "mount" command in terminal emulator???
May be sdcard mounted wrong...

Bring up Terminal under Dev Tools and just type 'mount' & ENTER
(hold down the MENU key to bring up the keybd or hook up a USB Keybd)
Then hit the MENU key and you can email it...
##############################################
Now to figure out why I have two entries...
$ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,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
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk3p1 /system ext3 ro,relatime,data=writeback 0 0
/dev/block/mmcblk3p5 /data ext3 rw,nosuid,nodev,relatime,data=writeback 0 0
/dev/block/mmcblk3p3 /misc ext3 rw,nosuid,nodev,relatime,data=writeback 0 0
/dev/block/mmcblk3p2 /cache ext3 rw,nosuid,nodev,relatime,data=writeback 0 0
/dev/block/vold/179:30 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/sdcard/sdcard-disk0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,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/sdcard/sdcard-disk0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
$ df
/dev: 190832K total, 0K used, 190832K available (block size 4096)
/mnt/asec: 190832K total, 0K used, 190832K available (block size 4096)
/system: 148375K total, 141182K used, 7193K available (block size 1024)
/data: 1224782K total, 154310K used, 1070472K available (block size 2048)
/misc: 1976K total, 1976K used, 0K available (block size 2048)
/cache: 396678K total, 11784K used, 384894K available (block size 2048)
/mnt/sdcard: 1600452K total, 5604K used, 1594848K available (block size 4096)
/mnt/sdcard/sdcard-disk0: 7822336K total, 409184K used, 7413152K available (block size 32768)
/mnt/sdcard/sdcard-disk0: 7822336K total, 409184K used, 7413152K available (block size 32768)
$

SD Card
There are numerous references to this issue in other threads. Dexter has responded and states that it is I believe a driver hardware problem with eLocity. I cannot "mount" the card either but if I go into any number of file managers I can see it, read it, write to it, etc. The OS does not recognize it for the purposes of putting apps on it, etc. And yes, video and music apps do see the card and play from it. I have had no problem with this.
I recently had a problem with a new micro SDHC card but I attribute it to being defective since I have a 16GB one and it works fine, I also have a 4GB and it also works fine. Also external drives I plug into the USB slot are recognized for reading, writing, etc.

middle_road
Try unmount manually
Code:
umount /mnt/sdcard/sdcard-disk0
Then go to settings and apply unmount sdcard
Check in terminal that you don't have any mounted sdcard
Then in settings mount sdcard by choosing menu item
Check in terminal again. Have you 1 or 2 strings?

So can I mount the microsd w/ terminal and then be able to.flash and upgrade System???

I've been having this problem for a while too.
Problem: No sd card or usb pendrive detection. They can't be mounted or unmounted
- Inserted sd card and usb drives can be read and written to. When sd or pendrive are removed a phantom directory persist with all the files and directories still listed there.
What I've done so far:
- Tried different sd cards and USb drives, however the same sd card and pendrive works fine on the other versions (see below).
- Sd card detection works fine in it Dexter's mods 1.1, 1.2 also in FW 2.0127 and the new 2.0133 images. I only have a problem in Dexter's 1.3 mod.
- Tried replacing vold.fstab with same problem.
-Downloaded mod 1.3 from different sources(possible corrupted file) with same result.
Attached is dmesg from my A7.
Conclusion:
-I'm sure its not a hardware problem.
-I'm not familiar with android but I've flashed many devices. My gut feeling is that Mod 1.3 is not installing correctly on my A7. All other versions work fine so its not the way I'm flashing.
Any help would be appreciated.

Did you try this?
http://forum.xda-developers.com/showpost.php?p=12061191&postcount=11

5[Strogino] said:
middle_road
Try unmount manually
Code:
umount /mnt/sdcard/sdcard-disk0
Then go to settings and apply unmount sdcard
Check in terminal that you don't have any mounted sdcard
Then in settings mount sdcard by choosing menu item
Check in terminal again. Have you 1 or 2 strings?
Click to expand...
Click to collapse
Hi, Thanks for the quick response.
RESULTS:
- ran umount code as su: > no errors
-went to settings option to unmount sd card > still grayed
-tried to run mount -l > option not available.
- removed sd card
-ran df with following results:
without sd card
Code:
# df
df
/dev: 190832K total, 0K used, 190832K available (block size 4096)
/mnt/asec: 190832K total, 0K used, 190832K available (block size 4096)
/system: 148375K total, 141181K used, 7194K available (block size 1024)
/data: 1224782K total, 297704K used, 927078K available (block size 2048)
/misc: 1976K total, 1976K used, 0K available (block size 2048)
/cache: 396678K total, 8218K used, 388460K available (block size 2048)
/mnt/sdcard: 1651552K total, 355236K used, 1296316K available (block size 4096)
with sd card installed:
Code:
# df
df
/dev: 190832K total, 0K used, 190832K available (block size 4096)
/mnt/asec: 190832K total, 0K used, 190832K available (block size 4096)
/system: 148375K total, 141181K used, 7194K available (block size 1024)
/data: 1224782K total, 297704K used, 927078K available (block size 2048)
/misc: 1976K total, 1976K used, 0K available (block size 2048)
/cache: 396678K total, 8218K used, 388460K available (block size 2048)
/mnt/sdcard: 1651552K total, 355236K used, 1296316K available (block size 4096)
/mnt/sdcard/sdcard-disk0: 7766016K total, 105184K used, 7660832K available (block size 32768)
#
< Auto mounting of seems to occur >
Check in terminal again. Have you 1 or 2 strings?
Click to expand...
Click to collapse
sorry I don't know what this means.
- setting/sd card &storage remain useless.

It seems that Dexter changed mount-path
In stock ROMs:
Code:
Internal SDCard - /sdcard: 1651552K total, 355236K used, 1296316K available (block size 4096)
External SDCard - /sdcard/sdcard-disk0:
In DexterMOD 1.3 as you explained:
Code:
/mnt/sdcard: 1651552K total, 355236K used, 1296316K available (block size 4096)
/mnt/sdcard/sdcard-disk0:
I think that Settings.apk (setting/sd card &storage) has inline command to mount at /sdcard and not at /mnt/sdcard. Or Dexter forgot about it... or something else...
As you wrote that DM v1.2 is working properly - preffer to use it...

I would prefer to usre mod1.2 but I wanted the bluetooth update which btw is also not working. Bluetooth works properly in FW 127 and 133. I beleive Dexter changed the process sequence in mod1.3 which may be causing the problem. I don't understand why some people seem to have this peoblem and others don't. THe onlu thing I can think of is had updated to FW 2.0127 prior to installing mod1.3 and it can't be undone.
I await Dexters mod1.4 or Official FW with Market.
*note: While /sdcard exist in main directory it js a link to mnt/sdcard.

5[Strogino] said:
I think that Settings.apk (setting/sd card &storage) has inline command to mount at /sdcard and not at /mnt/sdcard. Or Dexter forgot about it... or something else...
Click to expand...
Click to collapse
the settings.apk does not handle it. only framework..
and its in the "services.jar" and "framework.jar" , and its all ok for a "mobile" emulation..
the problem of using the non-standard /sdcard (eclair 2.1 standard) is: its not compatible with games.. it needs to be /mnt/sdcard and Android os needs to report this path back for most to work, even some apps does not recognize the old path.. so its all made this way to give better support.
if you follow the thread in its early days the old solution was no good, and not many programs worked due to this issue.

Ok. I understood situation about /mnt/sdcard - this path for games.
But why people have double mounted sdcard like middle_road
Or can't manage sdcard like rphillippe777?
Sent from my A7-040 using Tapatalk

Dexter_nlb said:
the settings.apk does not handle it. only framework..
and its in the "services.jar" and "framework.jar" , and its all ok for a "mobile" emulation..
the problem of using the non-standard /sdcard (eclair 2.1 standard) is: its not compatible with games.. it needs to be /mnt/sdcard and Android os needs to report this path back for most to work, even some apps does not recognize the old path.. so its all made this way to give better support.
if you follow the thread in its early days the old solution was no good, and not many programs worked due to this issue.
Click to expand...
Click to collapse
Dexter I wanted to let you know some applications if not all that are using the sd card Do NoT work properly. ex.. Titanium backup shows my sd card as size 1.69gb when in fact its larger (8gb) and I have to copy the backup directory it produces to my sd card (sdcard-disk0) because it working on mnt/sdcard. Also usb-disk0 is produced and persist with all files and directories from the last time I inserted my pendrive.

Related

[RESOLVED] Am I missing something on the internal memory????

Every thing I read on the specs for the Evo stated that it has 1GB of internal Memory. Even this article here:
http://newsreleases.sprint.com/phoenix.zhtml?c=127149&p=RssLanding&cat=news&id=1405106
So why is it that when I run Sysmon or Android System Info, they show 427MB total??? I would expect this number with 512MB of ROM, but nearly 600MB being gobbled up by the system? That's a little hard to choke.
Does anyone have any insight on why I'd be getting these numbers? is there a better app to use and is anyone else showing this too?
i would like some clarification on this as well.
Yeah. I kind of just took what everything that was being said for granted. My RAM shows up at 394MB, that's almost expected. 427MB of ROM when 1GB is advertised is not acceptable...unless I'm missing something. I'm not too familiar with linux; however, a diagnostic is a diagnostic.
its 1gb between all thepartitions. what you can write to is only on /data/. /system/ takes up a good chunk and so does /cache/
if your rooted run df from adb shell
df
/dev: 201892K total, 0K used, 201892K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 4K used, 4092K available (block size 4096)
/system: 358400K total, 210904K used, 147496K available (block size 4096)
/data: 437888K total, 379508K used, 58380K available (block size 4096)
/cache: 163840K total, 1544K used, 162296K available (block size 4096)
/app-cache: 8192K total, 7244K used, 948K available (block size 4096)
Click to expand...
Click to collapse
TrevE said:
its 1gb between all thepartitions. what you can write to is only on /data/. /system/ takes up a good chunk and so does /cache/
if your rooted run df from adb shell
Click to expand...
Click to collapse
Roger, that makes sense why it's only showing 424MB. Those partitions including the free ROM make up 1019MB.
Thanks for the quick reply =).

Japanese IME (iWnnIME) for HTC Aria

Hi, this is my first post and the HTC Aria is my first android phone… Am hoping I don't sound stupid and that someone can help me out. I have rooted the device and am currently using the b005 ROM.
I have tested the Simeji Japanese IME available on the market but am not too fond of it, and thus have been trying to install iWnnIME for 2 weeks now but can't seem to do it. jmaurice got the IME from a Japanese HTC Magic unit so I assume that it should work on the Aria: h t t p : / / my.opera.com/wiz/blog/2009/06/16/how-to-install-japanese-ime-on-android
I have followed his instructions. Everything works until I try to push stuff into the /system/lib/ folder (line 6 of jmaurice's blog instructions). I get the error msg: failed to copy 'iWnnIME/filename' to '/system/lib//filename': Out of memory
Example: failed to copy 'iWnnIME/libiwnn.so' to '/system/lib//libiwnn.so': Out of memory
I tried placing the files on my SD card and moving them over using Root Explorer (File Manager) but that didn't work either. The files would not move at all.
I then found h t t p : / / forum.xda-developers.com/showthread.php?t=526085&page=8, followed the instructions and got this output:
#df
/dev: 149616K total, 0K used, 149616K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/system: 245760K total, 183832K used, 61928K available (block size 4096)
/data: 189568K total, 69832K used, 119736K available (block size 4096)
/cache: 40960K total, 1344K used, 39616K available (block size 4096)
/sdcard: 15124024K total, 355128K used, 14768896K available (block size 8192)
If I am not mistaken that means I have approximately 60MB free in /system. I don't understand why it's stating Out of Memory and failing to copy when the iWnnIME folder is around 13MB. Would greatly appreciate advice from you pros!

[Q] How to update android truststore in emulator?

Hi,
i want to setup network traffic sniffing of an application. So I started a proxy on my computer and started the app in the emulator.
It works fine with http but for https traffic it does not work as the cert provided by the proxy is obviously not trusted by the default android os.
So i tried to update the truststore(/system/etc/security/cacertsnew.bks) with my proxy cert.
I copied the file to my computer and added my cert, but i'm having difficulties with putting it back to android.
I remounted the /system in write mode (./adb shell mount -o remount,rw /dev/block/mtblock3 /system) but i get 0 bytes available space, and can't write anything to it.
xxxxx-mac:tools xxxxx$ ./adb shell df
/dev: 47048K total, 0K used, 47048K available (block size 4096)
/mnt/asec: 47048K total, 0K used, 47048K available (block size 4096)
/system: 77568K total, 77568K used, 0K available (block size 4096)
/data: 65536K total, 20304K used, 45232K available (block size 4096)
/cache: 65536K total, 1156K used, 64380K available (block size 4096)
/mnt/sdcard: 129024K total, 1K used, 129022K available (block size 512)
/mnt/secure/asec: 129024K total, 1K used, 129022K available (block size 512)
Do you know any trick to be able to write to /system?
Or is there any way to change the image file to include my modified cacerts.bks file?
Thanks

[Q] SD wrong size ...

I have a 2GB card in my NC, and it's only showing 1.00GB size on the NC.
When I plug it into the computer over USB, it shows only 1.00GB.
When I pull the card and put it in the computer using the builtin card reader, it shows 2GB as it should.
What gives?
I have a new card on the way, 32GB, don't want to wind up with the same issue. Help?
?s
1. did you use it to nooter/install CWM? Some of the SD card CWM installers reformat the sd card to 1gb
Use easus partition to format the entire SD card and fix this...
2. did you get it off ebay? some people have reported getting fake cards there (where the actual capacity of the card is less than reported) though typically they can get it to fake the higher capacity until you write to it above its actual capacity.
I formatted it to 2GB in my computer. I can put the card directly into my computer and write 2GB on it. The problem with the card only occurs when it is in the NC.
??
and with file explorer can you see the 2gb of files on the sd when it's in the NC?
what happens when you connect to the NC as a flash drive? can you see the 2gb of files then? Do you also see your media partition?
The nook color internal memory has two partitions. A system partition and a media partition that you can connect to over usb. Some versions of Nook color had the media partition formatted to be 1gb.
gallahad2000 said:
and with file explorer can you see the 2gb of files on the sd when it's in the NC?
what happens when you connect to the NC as a flash drive? can you see the 2gb of files then? Do you also see your media directory?
The nook color has two partitions. A system partition and a media partition that you can connect to over usb. Some versions of Nook color had the media partition formatted to be 1gb.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1.00 Gb according to the NC.
As I said, when I connect the NC to the computer over USB it also appears as 1 gb. When I remove the card and put it directly into the computer it is 2 gb.
There is no media directory.
It appears the NC doesn't correctly recognize the card.
mr72 said:
It appears the NC doesn't correctly recognize the card.
Click to expand...
Click to collapse
If you remove the SD card does the 1.0gb or 1.88gb partition disappear?
Some things don't look right in there, in your posted image.
You got Internal storage of 5.09GB (it is the first weird one), then you got Additional storage (/mnt/emmc) of 1.86GB (it is another weird one).
Normally, we have either
1. old scheme: 1GB /data, 5GB /media
2. new scheme: 5GB /data, 1GB /media
3. custom scheme: 1.96GB /data, 4+GB /media.
Yours doesn't look right.
votinh said:
Some things don't look right in there, in your posted image.
You got Internal storage of 5.09GB (it is the first weird one), then you got Additional storage (/mnt/emmc) of 1.86GB (it is another weird one).
Normally, we have either
1. old scheme: 1GB /data, 5GB /media
2. new scheme: 5GB /data, 1GB /media
3. custom scheme: 1.96GB /data, 4+GB /media.
Yours doesn't look right.
Click to expand...
Click to collapse
Well I just did the normal install of cm 7.10 stable and no partitioning. However my problem is the SD. I am not particularly worried about the internal flash partitioning.
Any ideas why I can't use more than 1gb of SD? I have a 32gb SD card arriving today. I really would like to get to the bottom of this.
There is no /media partition mounted on my nook color.
$ export PATH=/data/local/bin:$PATH
$ mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p2 on /rom type vfat (rw,noatime,nodiratime,uid=1000,gid=1000,fmask=0117,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/mmcblk0p5 on /system type ext4 (ro,relatime,barrier=1,data=ordered)
/dev/block/mmcblk0p6 on /data type ext4 (rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc)
/dev/block/mmcblk0p7 on /cache type ext4 (rw,nosuid,nodev,noatime,barrier=1,data=ordered)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
/dev/block/vold/179:8 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:8 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
/dev/block/vold/179:17 on /mnt/emmc type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-0 on /mnt/asec/pl.idreams.jellydefense-1 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/dm-1 on /mnt/asec/com.devolver.sska-2 type vfat (ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
$ mount |grep media
$cd /media
cd: can't cd to /media
$
mr72 said:
Well I just did the normal install of cm 7.10 stable and no partitioning. However my problem is the SD. I am not particularly worried about the internal flash partitioning.
Any ideas why I can't use more than 1gb of SD? I have a 32gb SD card arriving today. I really would like to get to the bottom of this.
Click to expand...
Click to collapse
Just a stab in the dark but I have found most of my issues with uSD (and quality brands such as SanDisc) cards have gone back to how the card was formatted. I now never format in the device, nor do I use Windows to format. I've mentioned this before but it bears mentioning again, this free utility has never failed giving me a good intact format on cards of sizes 1G to 32G. Try it out here.
HTH
My NC is partitioned like this:
Code:
Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
255 heads, 63 sectors/track, 965 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 9 72261 c Win95 FAT32 (LBA)
/dev/block/mmcblk0p2 10 18 72292+ c Win95 FAT32 (LBA)
/dev/block/mmcblk0p3 19 56 305235 83 Linux
/dev/block/mmcblk0p4 57 965 7301542+ 5 Extended
/dev/block/mmcblk0p5 57 114 465853+ 83 Linux
/dev/block/mmcblk0p6 115 789 5421906 83 Linux
/dev/block/mmcblk0p7 790 834 361431 83 Linux
/dev/block/mmcblk0p8 835 965 1052226 c Win95 FAT32 (LBA)
I think this is default for the "new" partition style (which I will soon change).
However this is not affecting my SD card.
I should get my 32GB SD in the mail today or tomorrow. I suppose I will know soon enough whether I can use more than 1G on THAT card.
While trying to poke around on this NC and figure out exactly how the partitions are working, I discovered another thing which may be normal but sure seems odd to me.
The /emmc and /sdcard contents (directory names) are nearly identical.
Code:
ls /emmc
Android Music clockworkmod
B&N Downloads My Files com.maildroid
Books Nook data
DCIM OverDrive dropbox
Digital Editions ReceivedFiles eBooks
Download TempAudio fix_permissions.log
Evernote TunnyBrowser opera
GOLauncherEX Videos tmp
GoStore adobe
LOST.DIR backups
# ls /sdcard
ls /sdcard
Android My Files com.maildroid
B&N Downloads Nook data
Books OverDrive dropbox
DCIM ReceivedFiles eBooks
Digital Editions TempAudio fix_permissions.log
Download TunnyBrowser notes
GOLauncherEX Videos opera
GoStore adobe tmp
LOST.DIR backups
Music clockworkmod
#
Creating a file on one does not create it on the other. But some of the directories have identical files. For example the Titaniumbackup files in the /data dir on both /emmc and /sdcard are identical. I didn't check any others.
This seems quite odd. Comments?
OK, I think maybe I am getting to the bottom of this!
on my NC, when I take the SD card completely OUT, I can still view files mounted on /sdcard
So I am not convinced that my /sdcard mountpoint is actually reflecting the SD card directly.
When I unmount the SD card in the "Storage" settings, and I get the "Safe to remove..." notification, I presume the actual SD card is not mounted.
I removed the SD card from the NC and reformatted it using Panasonic SDFormatter. It's 1.86GB and has no files on it.
Without the SD card in my NC, it operates normally and still thinks it's writing to the /mnt/sdcard for things like downloading files.
My suspicion is that the partition normally mounted to /media is mounted to /mnt/sdcard
Code:
# df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 245892 32 245860 0% /dev
tmpfs 245892 0 245892 0% /mnt/asec
tmpfs 245892 0 245892 0% /mnt/obb
/dev/block/mmcblk0p2 71164 108 71056 0% /rom
/dev/block/mmcblk0p5 458532 169376 289156 37% /system
/dev/block/mmcblk0p6 5336664 688980 4376592 14% /data
/dev/block/mmcblk0p7 350018 42216 289731 13% /cache
/dev/block/vold/179:8 1050156 1029924 20232 98% /mnt/sdcard
/dev/block/vold/179:8 1050156 1029924 20232 98% /mnt/secure/asec
THERE IS NO SD CARD IN THE NC.
Looks like the NC still THINKS the sd card is mounted.
Notice there also is no mount point for /media
The partition I'd expect to be mounted at /media (/dev/block/mmcblk0p8) is not mounted.
Please, someone explain this to me! Seriously, what's the Nook Color's partition scheme?
mr72 said:
OK, I think maybe I am getting to the bottom of this!
on my NC, when I take the SD card completely OUT, I can still view files mounted on /sdcard
So I am not convinced that my /sdcard mountpoint is actually reflecting the SD card directly.
When I unmount the SD card in the "Storage" settings, and I get the "Safe to remove..." notification, I presume the actual SD card is not mounted.
I removed the SD card from the NC and reformatted it using Panasonic SDFormatter. It's 1.86GB and has no files on it.
Without the SD card in my NC, it operates normally and still thinks it's writing to the /mnt/sdcard for things like downloading files.
My suspicion is that the partition normally mounted to /media is mounted to /mnt/sdcard
Code:
# df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 245892 32 245860 0% /dev
tmpfs 245892 0 245892 0% /mnt/asec
tmpfs 245892 0 245892 0% /mnt/obb
/dev/block/mmcblk0p2 71164 108 71056 0% /rom
/dev/block/mmcblk0p5 458532 169376 289156 37% /system
/dev/block/mmcblk0p6 5336664 688980 4376592 14% /data
/dev/block/mmcblk0p7 350018 42216 289731 13% /cache
/dev/block/vold/179:8 1050156 1029924 20232 98% /mnt/sdcard
/dev/block/vold/179:8 1050156 1029924 20232 98% /mnt/secure/asec
THERE IS NO SD CARD IN THE NC.
Looks like the NC still THINKS the sd card is mounted.
Notice there also is no mount point for /media
The partition I'd expect to be mounted at /media (/dev/block/mmcblk0p8) is not mounted.
Please, someone explain this to me! Seriously, what's the Nook Color's partition scheme?
Click to expand...
Click to collapse
If there is no SD in... the vold.conf is setup to mount /dev/block/mmcblk0p8 as /sdcard...
Code:
## vold configuration file for zoom2
# modified for encore
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
media_path /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
partition 8
media_type mmc
##mount_point /sdcard
mount_point /media
ums_path /devices/platform/usb_mass_storage/lun0
}
volume_sdcard2 {
## Currently points to internal eMMC, assumes eMMC is formatted as FAT32
media_path /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
media_type mmc
partition 4
##mount_point /media
mount_point /sdcard
ums_path /devices/platform/usb_mass_storage/lun1
}
That doesn't seem to be the case, although it would make sense.
Looks like my sdcard is mounted at /mnt/emmc.
Rebooting into CWM after reformatting my SD card and putting it back in blank, putting a couple of files on it, it is found in CWM as /sdcard.
Once I boot, I find that content in /mnt/emmc.
Perhaps this explains it:
http://forum.cyanogenmod.com/topic/36236-help-sd-card-and-emmc-changed-places/
I've had the same issue as the OP since installing CM7 a few weeks ago. It really had me baffled, but I tried the fix linked above just now and it did the trick thank you mr72!
Sent from my NookColor using xda premium
CountKrzysztof said:
I've had the same issue as the OP since installing CM7 a few weeks ago. It really had me baffled, but I tried the fix linked above just now and it did the trick thank you mr72!
Sent from my NookColor using xda premium
Click to expand...
Click to collapse
OK, so to reiterate:
If you have CM7 installed, and in Settings -> Cyanogenmod Settings -> Application Settings, you check "Use internal storage", then CM7 will SWAP the SD card and the internal 1G (default) "Additional storage:/mnt/emmc" partition. The result is that your SD card will be mounted at /mnt/emmc and your internal memory 1G partition will be mounted at /mnt/sdcard.
Also, when you plug the NC into the computer if you have these swapped, then the 1G "internal memory" will be mounted on your computer, rather than the sdcard.
In actuality, this is a good thing, and there is a hack out there to swap these, therefore making use of the normally unused partition that by default in CM7 would be mounted at /mnt/emmc.
I'm lost following your posts but I know
/mnt/emmc is the additional internal storage and /mnt/sdard is the external uSD card.
That's the case when running CM7 off eMMC.
It's set by default, otherwise, maybe I have to set something to twist around.
Also, when having uSD plugged in, connecting to PC (Windows), both mounted as you would see the 1G internal AND the CM7SDCARD

[Q] Internal memory issue

Hi,
I accidentally formatted internal Nook storage (userspace, that NOOK shows to OS). Just hitted RMB-Format, window didn't appeared, nook disconnected... and won't connect again.
I tried to connect with noogie, formatted userspace as ~240MB FAT16.
Tried formatting /emmc in CWM
Tried doing hard-reset w/ Alpha-FormatTouch-2.zip
but nothing works.
I have fully-working nook (it sees sdcard, in properties-about it says "Internal Storage Not Available), but it would not connect to PC(
PC sees two drives, but can't access any. Please help
Can you get to a shell with ADB?
Do "mount" and you will get a printout of your mounts.
The last two are /media (your internal, 1st USB mount) and /sdcard (your 2nd).
If you formatted /media it probably can't be mounted.
I don't think ClockworkMod can format an arbitrary partition, not sure.
My usual advice would be a backup.
Renate NST said:
Can you get to a shell with ADB?
Do "mount" and you will get a printout of your mounts.
The last two are /media (your internal, 1st USB mount) and /sdcard (your 2nd).
If you formatted /media it probably can't be mounted.
I don't think ClockworkMod can format an arbitrary partition, not sure.
My usual advice would be a backup.
Click to expand...
Click to collapse
Yes, i can
That's what I got:
Code:
i:\Downloads\lg_gt540_tools\lg_gt540_tools>adb shell
# mount
mount
mountrootfs / rootfs rw 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/mmcblk0p2 /rom vfat rw,sync,noatime,nodiratime,uid=1000,gid=1000,fmas
k=0117,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,errors=rem
ount-ro 0 0
/dev/block/mmcblk0p5 /system ext2 rw,errors=continue 0 0
/dev/block/mmcblk0p8 /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=contin
ue,data=ordered 0 0
/dev/block/mmcblk0p7 /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=conti
nue,data=ordered 0 0
/dev/block//vold/179:17 /sdcard 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
#
When I mount /media:
Code:
# mount -t vfat /dev/block/mmcblk0p6 /media
mount -t vfat /dev/block/mmcblk0p6 /media
# df
df
/dev: 115624K total, 0K used, 115624K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/rom: 16116K total, 232K used, 15883K available (block size 512)
/system: 285583K total, 192595K used, 92988K available (block size 1024)
/data: 808292K total, 128272K used, 680020K available (block size 4096)
/cache: 237987K total, 12503K used, 225484K available (block size 1024)
/sdcard: 1902240K total, 92704K used, 1809536K available (block size 32768)
/media: 240688K total, 0K used, 240688K available (block size 4096)
Is fat16 should occupy some space on drive?
UPD: can you show me your "df" output please?
utrack said:
Can you show me your "df" output please?
Click to expand...
Click to collapse
I'm not sure that I know you that well.
Code:
# df
/dev: 115568K total, 0K used, 115568K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/rom: 16116K total, 227K used, 15889K available (block size 512)
/system: 285583K total, 182513K used, 103070K available (block size 1024)
/data: 808292K total, 103032K used, 705260K available (block size 4096)
/cache: 237987K total, 6214K used, 231773K available (block size 1024)
/media: 241947K total, 36178K used, 205768K available (block size 512)
/sdcard: 3928032K total, 877472K used, 3050560K available (block size 32768)
(I have two library books there.)
Code:
# mount
...
/dev/block//vold/179:6 /media vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block//vold/179:17 /sdcard 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
You shouldn't have to mount /media yourself.
Something is wrong there.
Have you tried copying over some files to media?
What does dmesg say? How about logcat?
You can't access the SD card either on the second USB drive?

Categories

Resources