External SD Card read/write - Galaxy S II Accessories

Guys,
i recently got a 16gb Sandisk Class 10 SDHC card from play.com and have noticed that in certain tests, (antutu benchmark and SD Tools) i cannot get a red/write speed for the external SD, so i tried to move a file with root explorer from internal to External SD and it says "Cannot move file"
Can anybody think what this might be?
I had an 8gb card previously and that worked fine, then i flashed an ICS Rom and it was still working fine for a couple of weeks, now i put the 16gb card in and it doesnt seem to show any figures, its as though the card doesnt exist.
I can however see all the pics off the card in the Gallery and see all the contents in file explorer so it looks like the phone is reading the card fine but writing is another issue.
any ideas guys?
EDIT: I have downloaded a couple more apps, SD Maid and SDCardTester, both show me permissions errors when trying to test the External SD. Could a CWM "Fix Permissions" fix this? What exactly does that feature of CWM do?
EDIT 2: Tried the fix permissions thing, didnt work. Still got the problem.
Anybody?

UPDATE:
This issue has now been fixed thanks to a member called "try" over in the ICS rom forum. Heres how to do it.
Edit platform.xml located in /system/etc/permissions/ using ADB or Root Explorer. Under WRITE_EXTERNAL_STORAGE add <group gid="media_rw" /> so it would look like this...
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE">
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>Enjoy....
Make sure you make a copy of the file just incase, once the above edit has been done and saved, reboot the phone and Voila!

Related

Has there been a fix for Storage vs Storage2?

Sorry if this answer is out there but I couldn't find it. Not even after reading all 13 pages of this thread:
http://forum.xda-developers.com/vie...storder=asc&highlight=storage+card2&start=300
All my apps on my 2G SD card "used" to be referenced via "Storage Card" but now, after I got my hands on Buzz's (Its all your fault! LOL) ROM Unlocker, "Storage Card" is now Storage Card2" and the ROM shows up as "Storage Card", as well as, ExtendedROM. - although the contents are different. <huh! :?: >
Is there a way to rename these? I have tried Buzz's reg entry of:
HKLM_System\StorageManager\Profiles\TRUEFFS_DOC1\NAME="whatever" but that did not work for me.
Tron_Of_Borg said:
Sorry if this answer is out there but I couldn't find it. Not even after reading all 13 pages of this thread:
http://forum.xda-developers.com/vie...storder=asc&highlight=storage+card2&start=300
All my apps on my 2G SD card "used" to be referenced via "Storage Card" but now, after I got my hands on Buzz's (Its all your fault! LOL) ROM Unlocker, "Storage Card" is now Storage Card2" and the ROM shows up as "Storage Card", as well as, ExtendedROM. - although the contents are different. <huh! :?: >
Is there a way to rename these? I have tried Buzz's reg entry of:
HKLM_System\StorageManager\Profiles\TRUEFFS_DOC1\NAME="whatever" but that did not work for me.
Click to expand...
Click to collapse
If you change
HKLM_System\StorageManager\Profiles\TRUEFFS_DOC1\Folder="ExtROM" and turn off your device, wait 5 minutes and soft reset it will work.
Note that is Folder and not Name.
Dah
Thanks for pointing out the "NAME" vs "Folder" part.
I still had the problem of Storage Card and Storage Card2 after following your instructions.
I turned off Outlooks storing of attachments to the Storage Card and this worked. I now only have the single Storage Card, but attachments now become the problem.
One thing I don't understand is that the ExtROM (with the cabs inside) appears as a seperate storage volume than did the Storage Card (9M of free space) when Storage Card2 (My 2G SD card) was present.
OK I understand what your problem is. Lets see if I can explain it in a way that makes sense to you. Your problem is windows is attempting to access a storage card that is not yet mounted. Or a storage card that does not exist, yet. When this happens you generally wind up with a folder by that name somewhere on your system.
Outlook in this case starts before the card is mounted, and tries to access your card before it is ready. I suppose that one could try putting some really big values in HKLM\System\StorageManager\
PNPUnloadDelay
and/or
PNPWaitIODelay
Or perhaps buy a better quality SD card that does not take so long to become active. I'm not so sure their is a real fix to this problem. Sorry I don't have a better answer for you.
ARG! I hate (device/OS) limitations.
Thanks
I got that last night, and simply deleted the storage "1" folder, and reset the device. I think.

Storage Card 2???

Yesterday I've re-installed my MDA Pro.
I use the QTek 1.30.77 WWE ROM, QTek 1.30.176 WWE extended ROM and the 1.11 Radio ROM.
After the hard reset I've installed all the programs from the extended rom and after that I cleared out the extended rom and used this for some SPB Apps (Not Pocket Plus, I installed this one on my local device).
But now when I perform a soft reset, the phone changes the name of my SD card to "Storage Card 2" and it creates a directory "Storage Card" where a temporary internet files directory is located.
I also used a reg tweak to let IE store my temp internet files on my SD card, but now it seems that when I reset my MDA it creates a temporary internet files directory when the storage card isn't detected yet.
But I haven't had this problem before.
Is there anyone who has a solution? Because now some programs are installed on my storage card and they don't work because the path to the executables is wrong. Maybe it has something to do with installing programs on my extended rom???
Why this happens:
If for any reason it cannot find the SD on boot (fast enough) it will create a folder called Storage Card to put the temp files (or inbox or whatever) so that the path \Storage Card\... exists. Now as soon as the SD becomes available, since there is already a folder called Storage Card it is forced to name itself Storage Card 2.
Solution: Delete the "Storage Card" folder and soft reset.
joannaex said:
Why this happens:
If for any reason it cannot find the SD on boot (fast enough) it will create a folder called Storage Card to put the temp files (or inbox or whatever) so that the path \Storage Card\... exists. Now as soon as the SD becomes available, since there is already a folder called Storage Card it is forced to name itself Storage Card 2.
Solution: Delete the "Storage Card" folder and soft reset.
Click to expand...
Click to collapse
Yes I gues this is the problem. I already tried your solution, but it won't help. It will create a new directory with the name Storage Card so that my SD card again will be renamed to Storage Card 2.
Move the temp internet files back to the main memory and delete the folder. Apparently it does not read your card fast enough.
Going to try that. But I just don't understand. I have a SanDisk 2g Ultra 2 SD card, so the card is fast enough. I never had this problem before, just after the hard reset from yesterday.
I know have linked the temporary internet files folder to my local machine and it seems that this works!
Only I still want to know if there's a solution so that I can store my temp ie files to my SD card without the issue of the "storage card 2".
I remember reading this problem before. I believe the solution can be found on Buzz's Ext ROM Unlocker thread.
cktlcmd said:
I remember reading this problem before. I believe the solution can be found on Buzz's Ext ROM Unlocker thread.
Click to expand...
Click to collapse
Couldn't find that in the post, but I reset my device again and didn't installed programs on my extended rom. This seemed to work, so maybe that was the problem.
thanks, i freaked out, almost done a hard reset, then searched XDA through google, found this solution, it worked 100%.
thanks guys

All installed apps failing

Hopefully someone on here can help me. I've just been adding speecameras to the Tomtom app on my HD. The first set went on OK, but when I tried adding a second, then starting up the Tomtom app to check all was OK, it came back with the following message:
"The file 'TomTom Navifgator' cannot be opened. either it is not signed with a trusted certificate, or one of its components cannot be foind. If the problem persists, try reinstalling or restoring this file."
Now I wouldn't mind doing as it says, but I thought I'd try a soft reset first - but when the phone 'booted' back up, all of the other installed apps, also failed, with the same message.
Apps include gsen, HD Tweak, mini gps, among others.
These were all working fine previously.
Anyone have any ideas as I don't want to have to re-install all of them again?
Thanks.
sounds like a corruption has happened somewhere. check your SD card (if that's where you installed them) and look for suspicious characters, or missing files. When it happened to me on my old phone all the directories were suddenly empty!!
I did install them all on the sd card. Had a look and it doesn't appear to be corrupt.
Boris71 said:
I did install them all on the sd card. Had a look and it doesn't appear to be corrupt.
Click to expand...
Click to collapse
Did you change any settings with HDtweak, have the same problem at this time, only programe I added was HD tweak 5.4.x. Good luck
Maybe the same problem
I've also had a problem like this once on my HD. I remember, I had just installed HDtweak when it appeared first time. I could not find any solution on how to fix it, so I did a Hard Reset...
Hope anyone can fix it.
My HD said that ".NET framework 3.5" is needed (it was installed), and I tried over and over again to reinstall it, but it just gave me another error. Do your device do this?
Had a similar problem, after using Storage Card and HD in USB mode. All of a sudden my Storage Card appeared in Windows and Resco Explorer twice, Storage Card and Storage Card2. Of course none of the programs would want to start, since the path was changed.
I copied all the programs from the storage card to the desktop (with the intention to reformat the card), reset the HD without the storage card, put the card back in - card #2 was gone - and copied all the files back to the card. Solved my problem.
Very odd. Bit the bullet and started re-installing the apps (not as painful as I thought actually) and they all installed, overwriting the existing version - except, similar to Lucas 0511, they seemed to now be on Storage Card2. And a 'normal' (on device) folder had been created, named Storage Card.
All works OK, but I really don't understand it!?!?
Lucas0511 said:
Had a similar problem, after using Storage Card and HD in USB mode. All of a sudden my Storage Card appeared in Windows and Resco Explorer twice, Storage Card and Storage Card2. Of course none of the programs would want to start, since the path was changed.
I copied all the programs from the storage card to the desktop (with the intention to reformat the card), reset the HD without the storage card, put the card back in - card #2 was gone - and copied all the files back to the card. Solved my problem.
Click to expand...
Click to collapse
I encountered similar problem in the past.
Both My diamond and HD also have got similar problem.
Diamond: suddenly showed up 2 internal memory.
HD: 2 SD card.
One episode, my card was even corrupted.
=>>
I think your card was corrupted.
No, not corrupted, but during USB disk drive mode access to the card for other apps is blocked. So if an app on the device (in my case usually Opera) attempts to write to the card during USB disk mode it cannot find it - and hence will create and write into a new Storage Card folder.
After the USB disk drive mode is closed the folder name "Storage Card" is now taken, so the card will automatically be reassigned to "Storage Card2" - and apps installed to Storage Card previously will no longer find it.
Solution: Delete the "new" Storage Card folder, card out, reset, card back in - and all should be back to normal.
I've had this problem too. It'll manifest as all the icons for programs installed on your SD showing up as blanks. When you go into your file manager you'll see Storage Card and Storage Card2. Storage Card2 is your storage card, but because all your shortcuts are looking for stuff on Storage Card, it can't find the data.
One cause may be that for some reason your mail application starts writing attachments to a new, non-existent storage card. All you have to do is delete it. (Make sure you're deleting the right one - you can remove the other if you want to be belt-and-braces safe, but just checking in the file manager is probably good enough.)
I've had this problem a couple of times on my Kaiser. Unfortunately the only way to correct it was to do a hard reset as I couldn't find any solution anywhere. So far it hasn't happened on my HD.
cont...bugs88...
if your device is showing 'storagecard' and 'storagecard2',
remove memory card, now the file explorer will still show 'storagecard',
delete the 'storagecard' and reinsert the memory card,
perform soft-reset.....

SD Card

I just got my Note 4. For some reason it is not writeable to my sd when I am in Titanium backup or anything els. Files cane be accessed, but I cannot write to it. Is theree a write lock or something on the phone?
ScottBroker said:
I just got my Note 4. For some reason it is not writeable to my sd when I am in Titanium backup or anything els. Files cane be accessed, but I cannot write to it. Is theree a write lock or something on the phone?
Click to expand...
Click to collapse
system/etc/permissions.......open platform.xml look for WRITE_EXTERNAL_STORAGE and add <group gid="media_rw" /> ....reboot, profit
Or use one of the kit kat sd fix apps in the market. I messed with my platform.xml to unlock sd write and somehow it caused all my storage to kick into read only mode

Problems with External SD Card

Ever since I converted to GPE for 6.0 then back to Sense (5.0.1 stock, rooted) I have been facing problems with my external SD Card. I know that Marshmallow handles External SD Cards a little bit differently than other versions of Android, so I decided to backup everything to my computer and then have my device format the SD card inside Sense but it still did not work.
For one thing, I can no longer backup from Titanium Backup to my External SD Card since it says "this folder is not writable" and whenever I try to delete or move anything inside ES File Explorer, a message comes up saying "please choose the root directory of ext_sd card ...." and when I try to, I get a "Documents Force Closed" error.
Any ideas on what I could do at this point? Should I try formatting the SD Card on my computer using a SD Card reader instead? I am using a Mac, by the way.
Thanks for your time.
TarekElsakka said:
Ever since I converted to GPE for 6.0 then back to Sense (5.0.1 stock, rooted) I have been facing problems with my external SD Card. I know that Marshmallow handles External SD Cards a little bit differently than other versions of Android, so I decided to backup everything to my computer and then have my device format the SD card inside Sense but it still did not work.
For one thing, I can no longer backup from Titanium Backup to my External SD Card since it says "this folder is not writable" and whenever I try to delete or move anything inside ES File Explorer, a message comes up saying "please choose the root directory of ext_sd card ...." and when I try to, I get a "Documents Force Closed" error.
Any ideas on what I could do at this point? Should I try formatting the SD Card on my computer using a SD Card reader instead? I am using a Mac, by the way.
Thanks for your time.
Click to expand...
Click to collapse
@TarekElsakka - I know I'm bumping this thread, however I hope this is taken with leniency as searching for a solution took me a while and I hope this reply will help those who Google for the same problem.
http://forum.xda-developers.com/showpost.php?p=59278548&postcount=4 is what you need to read. You need to explicitly change your storage provider to 'DocumentProvider storage'.
ThePurpleK said:
@TarekElsakka - I know I'm bumping this thread, however I hope this is taken with leniency as searching for a solution took me a while and I hope this reply will help those who Google for the same problem.
http://forum.xda-developers.com/showpost.php?p=59278548&postcount=4 is what you need to read. You need to explicitly change your storage provider to 'DocumentProvider storage'.
Click to expand...
Click to collapse
@ThePurpleK thank you for your information! I actually forgot all about this thread, but I found this solution a while ago and it fixed everything for me. Thank you again, I'm sure it will be helpful to a lot of people since everyone seems to be facing that problem with MM.
Interesting. I never knew that was even a setting in TiBu either. What I did was a little more involved. Had to edit /system/etc/permissions/platform.xml) and add a specific entry to allow a group permission to write to external storage. Check the attached image. Of course I added the highlights.
Drunkula said:
Interesting. I never knew that was even a setting in TiBu either. What I did was a little more involved. Had to edit /system/etc/permissions/platform.xml) and add a specific entry to allow a group permission to write to external storage. Check the attached image. Of course I added the highlights.
Click to expand...
Click to collapse
I think you missed what they were talking about.
What you suggest is not valid for android 6.0 marshmallow.
Only workable for lollipop and lower.
You're right about that. I'm not on MM yet (Verizon...) so I hadn't a clue.

Categories

Resources