External SD card always mounted as read only - no more ideas - Android Q&A, Help & Troubleshooting

4K android media box with AML812 chip. 2 USB ports, 1 USB OTG port and one SD card slot. Android 4.4.2 (KitKat?)
USB drive connected with FAT system is mounted as read/write device, all SD card I have tested were mounted as read only.
At first I wanted to make firefox to download files to SD card. But firefox had no rights to write to SD.
At second I thought that firefox can't write to SD because new privilages system in KitKat. So I found a solution on the web and have added media_rw entries in permission.xml file in WRITE_EXTERNAL_SD section. But it didn't help.
Then I have found out, that SD card is always mounted as read only by default (by terminal and mount command) - i tried 3 different SD cards, no success.
I have checked SD card with fsck_msdos and externally on my desktop PC - SD card had no errors.
I tried to remount SD as read/write with mount -o remount,rw device from terminal and it worked but apparently only apps with root privilages can write to SD. Firefox still can't write to SD.
And if I close terminal the SD returns to read only state.
Don't know what to do, where to find the solution.
In vold.fstab there is only one command with dev_mount, and this command doesn't have read/write or read only flags (checked dev_mount in the web).
There is no fstab.device files on the box, which are common? in KitKat (above android 4.3) so I am not so sure that this is KitKat device.
Please help to unlock SD card write rights.
EDIT: formatting to exFAT, NTFS or FAT32 with 32KB chunk size didn't resolve anything (advice from some android forum). My device doesn't recognize exFAT, and the rest give me read only mount point.
I installed Paragon exFat, NTFS app. It can't mount SD correctly at all. It unmounts mounted SD very good though. It can't check and fix SD because /dev/block/mmcblk0p1 is read-only file system.
The same goes for format - Error 0x1e from mkhfs.
When I try to mount SD with Paragon nothing happens (the mount button is still active, and unmount is inactive), and android memory settings show that SD card has been mounted as 803 MB card, not 16 GB card (14,84 GB exact capacity). Paragon can only unmount SD.
Now I see that I can't even format SD card from android memory settings. When I choose format, it unmounts SD card but then nothing happens. There is no format operation going on.
Really I don't have any more idea.

Related

[Q] File system formats

I've been trying to format my 32GB sdcard to a filesystem that can read files over 4GB. Main reason being I use HDMI connection to view 1080p movies on TV.
Anyway, I've tried EXT2, 3, 4, NTFS, exFAT, and all of them come up with the "broken sdcard" message from android when I try to mount the sdcard.
I'm using kernel version 2.6.32.59-MB860-MROM and using the lastest MROM based off CM7. Anyone have any insight on where I can go from here? Thanks.
The whole entire Android system assumes the user storage (internal or external) is formatted as FAT32. This is much harder to change than you think. A simple reformat won't do.
You need to have at least part of your SD card to be FAT32 because many applications are using it to store configuration and data. You can have two partitions on your SD card, but I am not sure if video player will be able to use any partitions other than FAT32.
I found a way to format my external 32GB sdcard to NTFS and still have it mounted on the phone. Pretty easy actually. I'll post it here for those that might be interested:
-Used Paragon Partition Manager 12 on my Windows machine to format my external SD to NTFS
-Atrix wasn't reading the card so I tried a program called Paragon exFAT, NTFS, & HFS+ by Paragon Software. Link: https://play.google.com/store/apps/...251bGwsMSwxLDMsImNvbS5wYXJhZ29uLm1vdW50ZXIiXQ..
-Paragon was not able to mount my sdcard automatically as it just gave me an error, so what I did with the rom im using was mount manually to /mnt/sdcard-ext. Should be good to go after this.
Been using it for a few days and everything is working well so far. Only annoying thing is everytime I connect by usb to my comp and enable usb storage I have to manually remount once I disconnect.

[Q] Upgrade to CM11 and can't access extSdCard

i9300
I've upgraded to CM11 (full wipe and format) and I am unable to access my extSdCard from the phone. I have no problems access the SD Card from an adaptor in the PC.
Es Explorer can read, but cannot write.
in CM11 storage menu, I click on erase SD card, but it still don't have full permission to it. However I am able to create folder in root browser.
I've tried chkdsk and sd card has no errors.
http://www.technohunk.com/2013/02/how-to-execute-a-command-at-boot-android/
I tried to follow this, but it says invalid mount argument
su
mount -o bind /mnt/extSdCard /sdcard/external_sd
I've created this folder (/sdcard/external_sd )
s050399b said:
i9300
I've upgraded to CM11 (full wipe and format) and I am unable to access my extSdCard from the phone. I have no problems access the SD Card from an adaptor in the PC.
Es Explorer can read, but cannot write.
in CM11 storage menu, I click on erase SD card, but it still don't have full permission to it. However I am able to create folder in root browser.
I've tried chkdsk and sd card has no errors.
http://www.technohunk.com/2013/02/how-to-execute-a-command-at-boot-android/
I tried to follow this, but it says invalid mount argument
su
mount -o bind /mnt/extSdCard /sdcard/external_sd
I've created this folder (/sdcard/external_sd )
Click to expand...
Click to collapse
I had similar problem after I rooted and installed TWRP and when I used Link2SD app it kept complaining that it could not mount the 2nd partition of the SD card I tried formating a few times using
Minitool on my PC and a card reader to attach the micro SD card.
I ended up creating partitions then running option wipe in Minitool using 1's then fomating 1st partition to FAT32 primary and 2nd partition to ext4 primary (I had already tried formating to ext2 & ext3 with no fix) I did not enter a lable name for either of the partitions, both partitions set to primary.
Note also that I ran Minitool surface scan on both partitions and reported no errors, thought I would do this before I installed SD back in to my phone.
On completion of the above I installed the SD card in to my phone ran Link2SD and it recognised the second partition and mounted with no errors and when I look at storage in Link2SD both partitions
are seen and I am now able to link apps to second partition with no errors.
Hope the above helps in some way, I am learning all the time thanks to XDA members.
s050399b said:
i9300
I've upgraded to CM11 (full wipe and format) and I am unable to access my extSdCard from the phone. I have no problems access the SD Card from an adaptor in the PC.
Es Explorer can read, but cannot write.
in CM11 storage menu, I click on erase SD card, but it still don't have full permission to it. However I am able to create folder in root browser.
I've tried chkdsk and sd card has no errors.
http://www.technohunk.com/2013/02/how-to-execute-a-command-at-boot-android/
I tried to follow this, but it says invalid mount argument
su
mount -o bind /mnt/extSdCard /sdcard/external_sd
I've created this folder (/sdcard/external_sd )
Click to expand...
Click to collapse
As an idea: Check your "platform.xml" if write permissions are given. See here.
I think the problem lies at recovery. I suggest flashing an older official cwm recovery from the official website. Since i did that ive had no mounting issues at all.
When i first rooted my s3 i flashed twrp and had issues with preload, same with a later cwm.
Sent from a stolen phone!

Corrupt Micro SD format with ADB ??

64GB SD is not longer Working
Suddenly I have a big problem with my 64GB SD.
Can no longer access it.
I tried it on Android and Win 10 but without success.
Even reformatting is neither Android nor under Win10 (Windows format SD format, Paragon and Minitool Patition Wizard)
I can see the SD Card and the Folders in TWRP Recover Menu and unter Android.
And some of the subfolder are broken like Dir name like !?$ยง...
When I try to delete the Direktories or to format the whole SD Card i always the same Error message:
***
E:Unknown mtp message type 1
E: rm -rf %sdcard" process end with write error =1
***
It is the second time that my SD Card makes trouble (the first time SANDisk changed the card)
so I try to find out what is wrong and how can I fixed it.
Does anyone knows how can I format the micro SD with ADB ??
Came across the following page and try now to format my ext.SD but so far without success.
https://marcowue.wordpress.com/2013/...android-fixen/
Regards Klaus

Mount point changed after reformatting sd card

Hello,
The sd card in my Moto X Play had a corrupt file system. I formatted the card (by Android, as external storage), and discovered that the mount point changed.
Some applications now can no longer find their (restored) data.
I put the sd card in a card reader, connected to my pc (running Linux). Using exfatlabel I changed the card's label, so it was the same as the previous mount point (which was 0123-4567). When I mount the card on my pc, it is mounted as 0123-4567.
Putting it back into my phone, it is still mounted as /storage/FE51-5E4C, the label it had after formatting.
When I look in Settings - Storage and USB, the sd card is shown as 0123-4567.
How can I get the card to be mounted as /storage/0123-4567?
Regards,
George

Mount external sd

I am trying to mount an external sd card that is ext4 file system. I am mounting it on a directory of my internal sd card. It seems only root sees this. If I transfer a file to this directory as normal user it gets stored on internal sd. If I run df as normal user I don't see the ext4 mount, but if I su then df, I can see the mount. Basically what I'm trying to accomplish is using my external sd with ext4 instead of exfat.
Also if I insert my 128gb sd into my Linux computer it only shows I think 25gb? If I put it in phone I see 128gb? Do I need a new card reader for my computer?
I download a lot of stuff onto phone and sync with computer, using mtp sometimes crashes, that's why I'd like to use ext4 and just toss my sd into computer and transfer.
I don't know why Android wants to use exfat when ext4 is so much better and native already. Maybe just to keep support for windows?

Categories

Resources