Hi all,
I've recently installed the CM 12 20150830-NIGHTLY on my Sony Xperia T. After a few bumps in the road, everything seems to be working except for one thing: The internal sdcard (sdcard0) does not seem to mount.
The camera app tells me to insert an SD card before using it, and the brower won't download files off the Internet, etc.
Here's the specifics:
The permissions in /mnt/media_rw seem off for the internal sdcard:
.. and there's no way to change them:
My mounttable does not mention anything being mounted as sdcard0:
And my partition table does seem have an obvious target that I would use as sdcard0:
Before installing CM, the partition called SDCard was used as the internal sdcard on Sony's stock ROM, but not it's not mounted anywhere. I believe that's the issue, but I don't know how to make CM mount it correctly at boot. I'd much appreciate any hints you could give.
Thanks,
EDIT: After googling and adb'ing for hours the answer turned out to be the simplest and most obvious thing that I should have tried first: Go to Settings->Storage and hit Erase SD Card. The phone does its magic and everything works!
Now, move along :)
I've recently installed the CM 12 20150830-NIGHTLY on my Sony Xperia T. After a few bumps in the road, everything seems to be working except for one thing: The internal sdcard (sdcard0) does not seem to mount.
The camera app tells me to insert an SD card before using it, and the brower won't download files off the Internet, etc.
Here's the specifics:
The permissions in /mnt/media_rw seem off for the internal sdcard:
Quote:
root@mint:/mnt/media_rw # ll drwx------ media_rw media_rw 1972-11-13 17:42 sdcard0 drwxrwx--- media_rw media_rw 1970-01-01 01:00 sdcard1 drwx------ media_rw media_rw 1972-11-13 17:42 usbdisk |
Quote:
root@mint:/mnt/media_rw # chmod 755 sdcard0 Unable to chmod sdcard0: Read-only file system |
Quote:
root@mint:/mnt/media_rw # mount | grep sdcard /dev/block/vold/179:33 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,g id=1023,fmask=0007,dmask=0007,allow_utime=0020,cod epage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=102 3,default_permissions,allow_other 0 0 |
Quote:
root@mint:/mnt/media_rw # fdisk -l /dev/block/mmcblk0 Found valid GPT with protective MBR; using GPT Disk /dev/block/mmcblk0: 31105024 sectors, 2900M Logical sector size: 512 Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 31104990 Number Start (sector) End (sector) Size Code Name 1 256 4351 2048K 0700 TA 2 4352 7423 1536K 0700 Boot 3 7424 10495 1536K 0700 Boot2 4 12288 53247 20.0M 0700 Kernel 5 53248 55295 1024K 0700 TZ 6 57344 63487 3072K 0700 modemst1 7 65536 71679 3072K 0700 modemst2 8 73728 79871 3072K 0700 fsg 9 79872 90111 5120K 0700 ramdump 10 90112 106495 8192K 0700 apps_log 11 106496 139263 16.0M 0700 FOTAKernel 12 139264 2654207 1228M 0700 System 13 2654208 3166207 250M 0700 Cache 14 3166208 12695312 4652M 0700 Userdata 15 12695313 31104990 8989M 0700 SDCard |
Thanks,
EDIT: After googling and adb'ing for hours the answer turned out to be the simplest and most obvious thing that I should have tried first: Go to Settings->Storage and hit Erase SD Card. The phone does its magic and everything works!
Now, move along :)
Aucun commentaire:
Enregistrer un commentaire