Hi everyone.
I've got a problem with the permissions of my brand new Micro SD Card. I was copying music files to my card from my pc and tried to delete some on my tablet. It would not let me delete them saying I didnt have permission. I can only read the files I put on it, not modify/delete them or write new ones.
My tablet is running Chromi-X 4.6.1 with _that modded stock kernel. Im not sure how to figure out what my micro SD card it formatted to, but I want to reformat it to NTFS or FAT32 since I think that is the problem. Is there any way to format the micro sd while in the tablet? Also, what should I format to, NTFS or FAT32. Im not sure what to do.
I hope someone help me with this? Thank you
wl123 said:
Hi everyone.
I've got a problem with the permissions of my brand new Micro SD Card. I was copying music files to my card from my pc and tried to delete some on my tablet. It would not let me delete them saying I didnt have permission. I can only read the files I put on it, not modify/delete them or write new ones.
My tablet is running Chromi-X 4.6.1 with _that modded stock kernel. Im not sure how to figure out what my micro SD card it formatted to, but I want to reformat it to NTFS or FAT32 since I think that is the problem. Is there any way to format the micro sd while in the tablet? Also, what should I format to, NTFS or FAT32. Im not sure what to do.
I hope someone help me with this? Thank you
Click to expand...
Click to collapse
Do you have access to a terminal emulator (GPlay Jackpal Android Terminal Emulator)? Do you have GPlay ES file explorer? What size and type of SD do you have (SDHC, Class 6?)
[Edit] First lets make sure you have your MicroSD mounted rw. In ES file explorer, in the left column find Tools, click-expand it, and find Mount RW, click that and open it. What do the radio buttons say for /Removable/MicroSD? If the RO button is dotted, change it to RW. If not, continue below.
Its probably a formatting issue but we need to check directory permissions to rule that out first. In ES file explorer, if you browse over to /Removable and then see /MicroSD as a folder, you may see permissions similar to "drwxr-xr-x" when what you need is "drwxrwxrwx". If this is the case then its a permissions problem. Proceed with the following fix.
Go open the terminal emulator and type the following code:
Code:
su
cd /Removable
chmod MicroSD 777
Which will change mode on the directory permissions to "drwxrwxrwx". The number in the code are OCTAL (4=read, 2=write, 1=execute; Sum=Root User, Group, Others) permissions codes.
If you already see "drwxrwxrwx" and still can't delete or rename then reformat your card from a PC. Quick format twice usually does it. Or you can try to copy everything off the card to PC, then copy it all back. If you want to use it ever for recovery then go FAT32. Otherwise you can go NTFS.
If its a 64GB (or larger) SDHX card, then it needs to be exFAT and you can't use it for recovery.
Related
Hi, can anyone please help?
I have just purchased the Asus eee pad Transformer and it automatically updated to 3.1. I have put some apps on it through the android market.
I went to put some apps/photos etc onto the removable card to save some internal space but when I went into settings then to applications then to manage applications the option to 'move to sd' was not showing on any of the apps. can anyone tell me why and if possible how to rectify this.... what is the point in having a removable card and cant use it. Any replies would be much appreciated..... thanks Jayne
16GB is not enough space for your apps?
You dont need to move apps to SD card as all internal memory (about 16 or 32GB depending on which version you have) is used for applications.
removable sd can be used for for music, movies and any other 3rd party files..
16gb is more than enough for installing apps... (I think...)
there's no app2sd in honeycomb, this is different from what android 2.x does.
thanks for the replies,
I am not able to put pictures/music etc. on to sd card. how do you do it in case I am missing something
thanks
There are several ways to add to The removable SD card. You can get ES file explorer and transfer from SD Card ( internal mem) to Removable card or if you set up your system right use ES file explorer to transfer from your desktop/laptop to the Removable Memory. If you don't want to do that, just put the removable card in your computer , transfer music and photos to it and return it to the TF. I use a Tonido Plug ( small inexpensive ubuntu server) on my network to store everything, then just download or stream to TF via ES File Explorer.
Thanks for this answer, I was actually also asking myself this question.
I saw that app2sd exists on the android market so I guess it doesn't work on our transformer, right ?
there is also an issue I am facing : I downloaded a free application to measure the speed reading and writting of the new SD card I have installed. Whatever I try, the software always check the SDcard directory (so internal) but never the microsd I have installed.
I tried with another one and there is still the same problem. Is it a honeycomb restriction ?
Working with the microsd card seems very difficult (I am still a newbie that may explains why).
Indeed, most of apps only see your internal SD Card.
I've found something to work around the problem - you just have to edit/modify the vold.fstab file.
You can find it in /system/etc/.
Then replace this line:
dev_mount microsd /Removable/MicroSD auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
Click to expand...
Click to collapse
by this one:
dev_mount microsd /sdcard/_MicroSD auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
Click to expand...
Click to collapse
Reboot your TF01!
Now, your TF101 will mount the MicroSD in a directory from the internal SD Card '/system/sdcard/_MicroSD'. All your apps will see it...
PS: you can edit/modify this file with some apps like Root Explorer.
Need Permission
I tried to edit this file but came back with read only tag. I tried to change permissions but again came back read only system file. How do I change the read-only tag?
Found how to do it
I found how I could use adb to pull the file, edit in Notepad and then push it back. It worked.
If you are like me and bought the 16GB version of our beloved SG3, thinking you could always move apps to the external sd card, then this mod is for you. It swaps the internal and external sd cards so apps install on your external card, because your phone is fooled into thinking the external card is the internal card.
I suggest that if you are going to do this, you should probably do it right after installing a new ROM, and before you install any apps. That way everything will get installed onto the external SD card.
I didn't invent this, Zedomax adapted in from mattiadj. But most people haven't been able to get it fully working, probably due to variations in the init.d function of various ROMS. They'd be able to see the External SD card as the internal SD, but the internal SD would disappear. This method avoids using init.d, and instead uses the app Script Manager to load the script on boot.
After much fooling around, I figured out how to do it so the External SD card and the internal cards are swapped, but you can see both with any file Explorer. I got it working on CleanROM 2.0, but it should work on Beans 10 as well.
Here's how to do it: Warning, if you do not understand the following instructions, or don’t have experience doing these things, you probably don’t want to do this hack. I am not responsible if you a) brick your phone, b) delete your data, or c) get very frustrated. That being said, the most likely failure will be that you only see the one card (the External card).
Back everything up that you care about first!!!!
1. First, I'd recommend making a Nandroid backup of your phone.
2. Next, just to be extra safe, I would backup your internal SD card to your PC. While you are doing that, if you have data on the external SD card, back that up too.
3. Next, I would format your external SD card to fat 32. (You could probably use Ext format too, but I didn’t test that.)If you already have it in that format, and have content on it, this won't affect the content, but back it up just to be safe. It’s probably better to have the Ext SD blank to begin with, you can always copy back its content from your pc.
4. Next copy the contents of the internal SD to the External SD card. This is to avoid confusion about apps and such.
5. Next install script manager free from the play store:
https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd
It will show up on your phone as S manager ads.
6. Download the mod from here: http://downloadandroidrom.com/file/...ternalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
7. You’ll see a folder called: 11extsd2internalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
You need to unzip the folder, then go to System/etc/init.d and copy the 11extsd2internalsd file from there to your phone. Put it into the /data directory. Use Root Explorer, and your phone will need to be rooted.
(https://dl.dropbox.com/u/6305/SD Card Hack SG3/11ext file in data directory.png)
Or you can get just the 11extsd2internalsd file here: https://dl.dropbox.com/u/6305/SD Card Hack SG3/11extsd2internalsd
8. Using Root Explorer, navigate to that file in the /data directory. Press and hold the file name until the menu pops up, and click on permissions.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permissions.png
(Unix geeks set them to 777, and everyone else copy the picture below. Click OK.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permission settings 777.png
9. Open the script manager app, and select Browse as Root in the config screen. Tell it to remember this setting.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager browse as root and save.png
10. Navigate to the /data directory and choose the 11extsd2internalsd file that is located in /data and click on it. Click on the “Is script” button.
11. Now tap on the buttons that say Su, Boot, and Save. The file name will come up in yellow after the save.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager setting after save.png
12. Reboot your phone and you should see the swap working and be able to access both internal and external SD cards. The external card will show up as sdcard, and the internal card will show up as extSDCard. Your apps should now install to the external card, since your phone will think it's the internal card. Is that confusing? It was to me too!
Good luck and please share your experiences specifying which ROM you used, so that others can avoid frustration.
Thank you’s always appreciated.
Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.
On my X2, this same mod was done via a flashable zip...not sure how it worked, but it was worked perfectly. At some point the roms incorporated the flip flop as part of the Rom. I like the feature because I wouldnt need to move certain app data to my external sd card. Also, I wouldn't have to show tibu where to look for my backups.
Sent from my SCH-I535 using Tapatalk
Clienterror said:
Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.
Click to expand...
Click to collapse
What's the consensus on this? Can this mod as posted above be applied to AOSP/CM9/CM10?
Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?
Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
maniac2k said:
Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?
Click to expand...
Click to collapse
Are you actually flashing it, or using the Script Manager? As far as I know, only the Script Manager approach works.
maniac2k said:
Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
Click to expand...
Click to collapse
Not sure, but take a look at the code from 11ext2internalsd file. If it works, and you can see both sd cards, then you've nailed it.
Yeah sorry, im running the script apk. It seems to work. I just dont understand the exacts of the vold/179:97 or if it should be vold/197:96?
When i go into settings/storage, should my physical sdcard stats be showing under internal memory?
Thanks I got mines to work now. Thanks to your suggestions.
Sent from my SCH-R530U using Xparent SkyBlue Tapatalk 2
Update: ive been using the script below for a littlw while and it is working great on cm10. It is best to enable it after a fresh rom install.
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
I need to do this.
MODERATOR.
This is not a Q&A Thread. Needs to be moved to appropriate location.
Apps Did Not Move After Internal / External SD Swap for GS3
Well I thought everything went perfectly because as mentioned, when I go to storage my internal shows my 64g card and internal of 12g now shows as external. However the apps are still on my internal which is now called my external and when I go to app manager it shows remaining space 5.9g. So I am not sure what I did wrong because I have reviewed this several times and started right after I installed a fresh rom . I am hoping someone can help me correct this because basically all it did was change the name of the two drives but apps are still getting installed to original location. Thanks in advance for any help you can give me
Swapping internal>external did not work
i followed all steps as stated above but when I go to File Manager (default), long pressing Internal SD>Details show 1.2 MB and External SD shows 1.8 GB which is not true. I have external SD of 8 GB and internal is 2 GB in my micromax a110 phone.
The steps above did not work to swap the memory but it now shows even incorrect size. I installed Root Browser lite but got no way to chck the size of the SD cards.. Please help
Does this work with the new Verizon Jelly Bean which they are now sending out via OTA? Are there other Verizon S3 Jelly Bean Roms that are known to work with this method? Thanks
Its works on the leak so i dont see why it wouldnt work on the actual vz rom
not working
This is not working with my samsung s duos please help
Any cm 10.1 updates for this?
I am unable to change the file permissions to -rwx-rwx-rwx- whenever I try to change it I get an error that the phone is unable to change permissions.
EDIT:
Successfully changed permissions and followed the instructions as given. Still not working on the international S3, my internal memory is still 16 GB and external 32GB
I have been having some issues when saving music to my micro SD. I am running the latest version of katkiss(and love it). I have the files on my internal SD card, then try to move them to my external SD card using root browser, of file manager HD. It looks as though the files move, but when I unmount the card, and remount, or just reboot the tablet, the files are no longer there. Maybe I am doing something wrong, just looking for some good advice.
Thanks everyone for making this tf101 awesome again!!
I would try manually from adb or console to see if you get any errors which file managers can silently suppress.
I don't have the device with me right now so I can't give you the exact path to use, but something like:
cp -a /sdcard/Music/file-or-directory* /mnt/storage/2
the paths are wrong of course, I really can't remember where they're mounted. I'll update the post when I get home unless someone can give the proper paths before then. Using cp will tell you if there's errors.
I would also try to copy files to the card on a computer, to see if you can replicate the problem there. It could just be a dying card or a messed up filesystem on it.
Lethe6 said:
I would try manually from adb or console to see if you get any errors which file managers can silently suppress.
I don't have the device with me right now so I can't give you the exact path to use, but something like:
cp -a /sdcard/Music/file-or-directory* /mnt/storage/2
the paths are wrong of course, I really can't remember where they're mounted. I'll update the post when I get home unless someone can give the proper paths before then. Using cp will tell you if there's errors.
I would also try to copy files to the card on a computer, to see if you can replicate the problem there. It could just be a dying card or a messed up filesystem on it.
Click to expand...
Click to collapse
Thanks for the reply. I may be doing something wrong i don't know. The card is brand new, and i did the FAT32 long format. The same thing happens to me when i use a USB adapter in the main connector and try to move music from my tablet to a USB drive. It looks like it moves, but as soon as I unmount, and re-mount, no files are there. I am formatting my SD and USB drives on a windows 8 laptop. I have read where some people have luck formatting NTFS, but my laptop won't even let me format my USB drive that way.
I appreciate your effort. I am sure we can get this resolved some how. Just gotta keep messin' with it.
troyvs
Is it the dock sdcard or the tablet's?
The exact command to test a copy would be (for the tablet's external sdcard):
cp -av /storage/sdcard0/file.name /storage/sdcard1/
I'm running 021 and this worked for me. The command should return something like:
/storage/sdcard0/file.name -> /storage/sdcard1/file.name
and get you back to a shell if it works. Otherwise paste the message it gives you.
If the devices work elsewhere and you're sure it's the tablet, try wiping cache and dalvik... I've seen it cause weirder issues. You could also try to do a full backup in recovery and then do a full wipe, and reflash katkiss. If it works you know it's something with the old rom, and if it doesn't you can restore the backup.
troyvs said:
Thanks for the reply. I may be doing something wrong i don't know. The card is brand new, and i did the FAT32 long format. The same thing happens to me when i use a USB adapter in the main connector and try to move music from my tablet to a USB drive. It looks like it moves, but as soon as I unmount, and re-mount, no files are there. I am formatting my SD and USB drives on a windows 8 laptop. I have read where some people have luck formatting NTFS, but my laptop won't even let me format my USB drive that way.
I appreciate your effort. I am sure we can get this resolved some how. Just gotta keep messin' with it.
troyvs
Click to expand...
Click to collapse
I have moved files from the internal SD (photographs actually as there was no option to save them anywhere else only the internal SD) to the micro SD card using the X-plore app and the ES file manager app with no problems. I did however learn that both sd cards e.g. the internal and external are just called sd card and the internal sd card is shown under Device and under Storage so it is possible to cut and paste from the Internal sd card back into the Internal sd card.
I am assuming you are referring to the sd card on the tablet and not the sd card in the dock.
How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
ravi_sh said:
How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
Click to expand...
Click to collapse
You can't easily delete your .android_secure, it contains info of your system. I recommend you not to delete it. If it is write protected or need to formsat then go to settings>storage>format sdcard
Instead of thanking me by posting, HIT Thanks if you like my post or if I helped you in any way!
-------------------------------------------
My work:
[TOOL]Kernel/Boot.img (un)packer
ravi_sh said:
How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
Click to expand...
Click to collapse
If you're not going to use that SD card with the phone anymore then you could format it from recovery, assuming you have a custom recovery installed (be aware, formatting will delete *everything* on the card, not just the android secure folder). In recovery you can do this from the format menu in either CWM or Philz.
If you still want to use it with the phone, you should leave android secure alone. It will just keep coming back anyways.
You could ask for help here,
http://forum.xda-developers.com/android/help/asus-zenfone-5-zenfone-6-to-t2839984 :good:
I accidentally deleted Android_Secure once. Simply sticked the card into my laptop, selected the folder and hit delete. That was before I realized that folder contained files required by apps, even if they're not installed on the MicroSD. Several apps gave 'not installed' even though the icons were there.
Android recreates the folder by itself. If you want to get rid of it to use the card for a different purpose, stick it in a computer and delete the folder.
ravi_sh said:
How to format the sd card. We can access the data from here. But I am not able to write data to my external sd card. It says premission denied. I have rooted my Asus zenfone 5(kitkat). Using file explorer, when I delete the android_secure folder, it works for sometimes.Again that folder appears and write permission denied. I have tried so many methods to format it but not succeded. The apps available on sd card is no longer in use. Sometimes, when I restart my phone, it works for sometimes. Therefore, please provide me any method to remove write protection on sd card or to format it.
Click to expand...
Click to collapse
Format the SD Card by a PC, the best method
You can also format it by any CUSTOM RECOVERY
Format into Fat32
Dear Friends,
I need your help, my Redmi Note 3 pro is dead and the 64GB sd card was formatted as internal storage and that means it canoot be used in other device, I cannot format it is regular whey- is there a way to remove the android protection?
all the filles are there- just cant delete/format or add files.
Xperia-Ray said:
Dear Friends,
I need your help, my Redmi Note 3 pro is dead and the 64GB sd card was formatted as internal storage and that means it canoot be used in other device, I cannot format it is regular whey- is there a way to remove the android protection?
all the filles are there- just cant delete/format or add files.
Click to expand...
Click to collapse
So you can't delete the files? Do a live boot of linux and see if it shows up.
sd card
ive just formated my sd card to ext4 partation for android 6.0 with KDE partation manager in linux mint and the sd card works fine on my phone so maybe try that hope it helps.
also if u cant delete files it more than likley because of permissions so ude need to chmod the permissions on the media device as such so bring up a terminal in linux or u could try terminal emulaitor and cd to the directory of ur storage usually something like /media/username/devicename in linux and the directory for ur phone may be different but u can bring its directory up with any file manager anyway once that is done su to root then once cd to directory or sub directory of mount point chmod 777 -r or chmod -r 777 for recursive and press enter if formating as root in linux dosent work. hope it helps
Or you can start a live cd version of gparted and wipe the whole thing and let it mount and let the device you want to use it on create the partitions itself. That's what I'd do.