[External sd card][write acces fix] - Xperia Z2 Tablet Themes and Apps

This is easy fix or more like workaround for KitKat and Lollipop firmwares when some of your apps can´t write to external sd card. It add one line to "platform.xml" file. This is flashable zip -file via custom recovery. It can also be installed manually by unzipping file, moving it to correct folder and setting permissions to 644 and reboot.
Backup is recommended.

I flashed the first zip and I still get error when trying to play hearthstone while its on my external SD card
Sent from my SGP511 using XDA Free mobile app

kulvertti said:
This is easy fix or more like workaround for KitKat and Lollipop firmwares when some of your apps can´t write to external sd card. It add one line to "platform.xml" file. This is flashable zip -file via custom recovery. It can also be installed manually by unzipping file, moving it to correct folder and setting permissions to 644 and reboot.
Backup is recommended.
Click to expand...
Click to collapse
Do you have any idea why I still get this error?

RJASSI21 said:
Do you have any idea why I still get this error?
Click to expand...
Click to collapse
Sorry for the late answer. How much do you have free space? Do you have problems with other apps too?
You could try with this app to move game data to external sd card: https://play.google.com/store/apps/details?id=com.devasque.fmount
However I try that game and it install its data just fine to mine external sd card without any help of FolderMount -app. If we really want to know what is wrong we need logcat.

kulvertti said:
Sorry for the late answer. How much do you have free space? Do you have problems with other apps too?
You could try with this app to move game data to external sd card: https://play.google.com/store/apps/details?id=com.devasque.fmount
However I try that game and it install its data just fine to mine external sd card without any help of FolderMount -app. If we really want to know what is wrong we need logcat.
Click to expand...
Click to collapse
Hmm well I found out that some how a copy of my whole sdcard 0 was made so I was low on space but my external SD cards has like 25gb free I don't get the error on my z2 phone but I did at one point then it just went I think it was after an update of the game my friend had the same error on his s5 so I'm not sure what it could be but I checked to see if the flash was successful and it was since that new line is there now I'll try that app but if nothing I'll provide a logcat and I've copied normal games that are like 100mb I'll try download mortal kombat and see if it occurs with that thanks for the reply
Edit: I tried the foldermount app but it didn't work so I'll try a logcat I'll try reinstalling the app first
Tried reinstalling no good so time for a logcat
---------- Post added at 12:34 PM ---------- Previous post was at 11:51 AM ----------
Here's the logcat
https://mega.co.nz/#!jlwHDaRK!1ctNeMaLwVkTIQs_I6nBvTrkU72crwl1r0MjoxonNUg
Sent from my SGP511 using XDA Free mobile app

RJASSI21 said:
Hmm well I found out that some how a copy of my whole sdcard 0 was made so I was low on space but my external SD cards has like 25gb free I don't get the error on my z2 phone but I did at one point then it just went I think it was after an update of the game my friend had the same error on his s5 so I'm not sure what it could be but I checked to see if the flash was successful and it was since that new line is there now I'll try that app but if nothing I'll provide a logcat and I've copied normal games that are like 100mb I'll try download mortal kombat and see if it occurs with that thanks for the reply
Edit: I tried the foldermount app but it didn't work so I'll try a logcat I'll try reinstalling the app first
Tried reinstalling no good so time for a logcat
---------- Post added at 12:34 PM ---------- Previous post was at 11:51 AM ----------
Here's the logcat
https://mega.co.nz/#!jlwHDaRK!1ctNeMaLwVkTIQs_I6nBvTrkU72crwl1r0MjoxonNUg
Sent from my SGP511 using XDA Free mobile app
Click to expand...
Click to collapse
My best bet is that even installed on externad sd card this game need much free space from your internal memory (around 1 gb). You can reduce that with FolderMount app (which is little tricky to use) but you need to install the game first before you can do that. So remove (or delete) whatever stuff from internal memory to your external sd card, install the game and it should work just fine.

kulvertti said:
My best bet is that even installed on externad sd card this game need much free space from your internal memory (around 1 gb). You can reduce that with FolderMount app (which is little tricky to use) but you need to install the game first before you can do that. So remove (or delete) whatever stuff from internal memory to your external sd card, install the game and it should work just fine.
Click to expand...
Click to collapse
Hmm I tried that I have like 4gb on internal and 25gb on external free that didn't work so I'll have to figure something out

I clean installed my rom in the end it solved my problem and I was able to use your mod with no probs thanks

RJASSI21 said:
I clean installed my rom in the end it solved my problem and I was able to use your mod with no probs thanks
Click to expand...
Click to collapse
Good to hear bro.

CM12.1 nightly 20160203 cannot detect 64GB microSD
Hi guys
I just installed Cyanogen OS CM12.1 nightly 20160203 to my Xperia Z2 tablet SGP521 (the one with LTE)
after i thinkering with it for a while, i just realized that there isn't any microSD installed
so i pulled out the card and try to figure out what is wrong
I googled and find some answers but none of them is working for me
I tried to change the filesystem format to FAT32 with 3 different programs (acronis disk director, ease us partition magic, and dos version formater) and none of them is working.
my card is a exFAT file system
I'm very sure that my card is not a fake one (it is a sandisk ultra 64 gb microsdxc class 1)
I can read it from the card reader and it shows all the files inside but i cannot write to it and it not showing in my tablet
Any solutions to this ?

m4rc3l1n0 said:
Hi guys
I just installed Cyanogen OS CM12.1 nightly 20160203 to my Xperia Z2 tablet SGP521 (the one with LTE)
after i thinkering with it for a while, i just realized that there isn't any microSD installed
so i pulled out the card and try to figure out what is wrong
I googled and find some answers but none of them is working for me
I tried to change the filesystem format to FAT32 with 3 different programs (acronis disk director, ease us partition magic, and dos version formater) and none of them is working.
my card is a exFAT file system
I'm very sure that my card is not a fake one (it is a sandisk ultra 64 gb microsdxc class 1)
I can read it from the card reader and it shows all the files inside but i cannot write to it and it not showing in my tablet
Any solutions to this ?
Click to expand...
Click to collapse
Sorry to hear. You can try to write your sdcard with other card reader but your symptoms indicate that your card might be dying. Known issue with SanDisk cards.

kulvertti said:
This is easy fix or more like workaround for KitKat and Lollipop firmwares when some of your apps can´t write to external sd card. It add one line to "platform.xml" file. This is flashable zip -file via custom recovery. It can also be installed manually by unzipping file, moving it to correct folder and setting permissions to 644 and reboot.
Backup is recommended.
Click to expand...
Click to collapse
I know this is very old thread but I had to reactivate my old Z2 tablet and I got a few questions and I know you're the expert on this tablet around here. These questions are close to topic so I think ok to reply here I hope. This was my wifes tablet for very short period before she stuck it in a drawer and left it many years ago. I have the rooted .291 MM firmware and I believe that's the latest for this tablet. Anyway, I can't access an sd card or usb stick thru the micro usb host adapter. The internal micro sd card slot works fine so either I've already edited the platform.xml or don't need to for MM I can't remember and I can't even remember where to find the file to check it. My root explorers can see the usb host drive but then show nothing inside. I've tried dozens of cards and sticks and the host cable works fine on my samsung galaxy s7 phone. Is there a setting I'm missing or does the z2 tablet just not able to use host usb. Thanks for any help.

saf4xdadev said:
I know this is very old thread but I had to reactivate my old Z2 tablet and I got a few questions and I know you're the expert on this tablet around here. These questions are close to topic so I think ok to reply here I hope. This was my wifes tablet for very short period before she stuck it in a drawer and left it many years ago. I have the rooted .291 MM firmware and I believe that's the latest for this tablet. Anyway, I can't access an sd card or usb stick thru the micro usb host adapter. The internal micro sd card slot works fine so either I've already edited the platform.xml or don't need to for MM I can't remember and I can't even remember where to find the file to check it. My root explorers can see the usb host drive but then show nothing inside. I've tried dozens of cards and sticks and the host cable works fine on my samsung galaxy s7 phone. Is there a setting I'm missing or does the z2 tablet just not able to use host usb. Thanks for any help.
Click to expand...
Click to collapse
If I understand correctly what you are trying to do, Z2 tablet dosen´t support USB OTG to connect external flash drives or hard drives. How ever if you install program like "USB Media Explorer" or similar from Play Store, it should work. Even for NTFS volumes with "Microsoft NTFS USB Driver by Paragon Sofware". Hope this answer your question.

kulvertti said:
If I understand correctly what you are trying to do, Z2 tablet dosen´t support USB OTG to connect external flash drives or hard drives. How ever if you install program like "USB Media Explorer" or similar from Play Store, it should work. Even for NTFS volumes with "Microsoft NTFS USB Driver by Paragon Sofware". Hope this answer your question.
Click to expand...
Click to collapse
Thanks kulvertti for replying to this old thread, but no go on the media explorer. So now I've tried about 12 file managers and explorers and most of them with superuser access and most all of them can see the external usb drive, but they can't access it....it just shows basically nothing when opened. Strangest thing ever! 'File Commander' is closest one so far to work, but what it does when I click on the drive is say I need to enable some permissions, which I can't find anywhere, and when I say 'ok' it opens the drive and shows the folders and files in some sort of internal popup window, but then I can't open any of the actual files on the drive shown in that window. So it turns out to be useless as well. I don't think it's an MM problem as my samsung galaxy s7 phone has the same software....android 6.0.1 so exactly same, pretty old I know. I think it must be sony limitation maybe??? Thanks again for the help though.

saf4xdadev said:
Thanks kulvertti for replying to this old thread, but no go on the media explorer. So now I've tried about 12 file managers and explorers and most of them with superuser access and most all of them can see the external usb drive, but they can't access it....it just shows basically nothing when opened. Strangest thing ever! 'File Commander' is closest one so far to work, but what it does when I click on the drive is say I need to enable some permissions, which I can't find anywhere, and when I say 'ok' it opens the drive and shows the folders and files in some sort of internal popup window, but then I can't open any of the actual files on the drive shown in that window. So it turns out to be useless as well. I don't think it's an MM problem as my samsung galaxy s7 phone has the same software....android 6.0.1 so exactly same, pretty old I know. I think it must be sony limitation maybe??? Thanks again for the help though.
Click to expand...
Click to collapse
That's weird. You sure you give apps correct permissions? For me those apps work just fine.

Yes it does seem like a permissions thing but all those apps have permission to storage and that's all I can find to give them anyway, besides root which only several of them request superuser. I think I used to have this problem with some apps back in the day just trying to access internal 2nd microsd card but it was always a permission wasn't activated when installed, but this is something different because these file manager apps can see the external drive but cant see or access any files, it just shows blank. It does seem like its just a setting though. Do I need to add this platform.xml for MM .291, I didn't think I did but maybe?
Just to double check....you can stick a microusb cable with a female regular usb on other end....otg cable I think they're called, into the top slot on tablet and then connect the female end to a usb thumb drive with movies or music and access it thru these file managers and play the content?
Wish I could....It would be much easier and more flexible switching between media content.
Thanks again for your help.

saf4xdadev said:
Yes it does seem like a permissions thing but all those apps have permission to storage and that's all I can find to give them anyway, besides root which only several of them request superuser. I think I used to have this problem with some apps back in the day just trying to access internal 2nd microsd card but it was always a permission wasn't activated when installed, but this is something different because these file manager apps can see the external drive but cant see or access any files, it just shows blank. It does seem like its just a setting though. Do I need to add this platform.xml for MM .291, I didn't think I did but maybe?
Just to double check....you can stick a microusb cable with a female regular usb on other end....otg cable I think they're called, into the top slot on tablet and then connect the female end to a usb thumb drive with movies or music and access it thru these file managers and play the content?
Wish I could....It would be much easier and more flexible switching between media content.
Thanks again for your help.
Click to expand...
Click to collapse
Sorry to hear. At the moment I have pure stock firmware without root or TWRP. For me usb otg work just fine as you discribe without anything else than mentioned app. Whish I could help more but I can't rebroduce the problem.

kulvertti said:
Sorry to hear. At the moment I have pure stock firmware without root or TWRP. For me usb otg work just fine as you discribe without anything else than mentioned app. Whish I could help more but I can't rebroduce the problem.
Click to expand...
Click to collapse
No worries...at least i can use the microsd card slot on the top of the tablet to store and switch up content. I just have a lot of thumb drives and full size sd cards to use so i thought otg was way to go and also the way i used my tablet s, now broken, when traveling. I also didnt want to purchase any microsd cards if i didnt need to. Thanks again though.

kulvertti said:
Sorry to hear. At the moment I have pure stock firmware without root or TWRP. For me usb otg work just fine as you describe without anything else than mentioned app. Wish I could help more but I can't reproduce the problem.
Click to expand...
Click to collapse
Sorry to bother again kulvertti but I made a minor break thru....I discovered that if I go into Settings/Storage I can see all three drives on the Z2 tablet. The main internal drive, the microsd card slot drive, and now I also see the microusb otg cable to usb thumb drive drive.....the missing drive if that makes sense. I can also play the content on each drive with whatever app I choose, including video files off the OTG....directly from the Settings/Storage. So something is very close, but still can't get these various file explorers to work. I have ESfile explorer pro, File Commander, The OTG file manager you recommended, root essentials, root explorer, etc....Plus basically none of my apps can use the otg drive, like utorrent, titanium backup, quikedit, etc....to name a few....they can all see the drive, they just cant access it. It's like a null drive. It shows empty.
Although one other thing about File Commander.....it show the drive, but basically empty, and when I click it a little hint window pops up telling me to 'please choose the root directory of your storage (or external SD card) to grant permissions to operate'......and then there is four little pictures with red circled items and red text explaining what I'm suppose to do, which takes a magnifying glass to read, but then I have none of those items it shows in any of my apps to do that from, not even in the settings do I see those picks anywhere, etc....
It's got to be something simple I think. Somethings just not set correctly. What the hell could it be?
If you can think of anything please do, I appreciate the help. Thanks again.

saf4xdadev said:
Sorry to bother again kulvertti but I made a minor break thru....I discovered that if I go into Settings/Storage I can see all three drives on the Z2 tablet. The main internal drive, the microsd card slot drive, and now I also see the microusb otg cable to usb thumb drive drive.....the missing drive if that makes sense. I can also play the content on each drive with whatever app I choose, including video files off the OTG....directly from the Settings/Storage. So something is very close, but still can't get these various file explorers to work. I have ESfile explorer pro, File Commander, The OTG file manager you recommended, root essentials, root explorer, etc....Plus basically none of my apps can use the otg drive, like utorrent, titanium backup, quikedit, etc....to name a few....they can all see the drive, they just cant access it. It's like a null drive. It shows empty.
Although one other thing about File Commander.....it show the drive, but basically empty, and when I click it a little hint window pops up telling me to 'please choose the root directory of your storage (or external SD card) to grant permissions to operate'......and then there is four little pictures with red circled items and red text explaining what I'm suppose to do, which takes a magnifying glass to read, but then I have none of those items it shows in any of my apps to do that from, not even in the settings do I see those picks anywhere, etc....
It's got to be something simple I think. Somethings just not set correctly. What the hell could it be?
If you can think of anything please do, I appreciate the help. Thanks again.
Click to expand...
Click to collapse
Sorry for the late reply. It's summer vacation time and I am not beeing at home. But your question. I'm using "X-plore" file explorer and with mentioned apps it's working just fine. I can do what ever I want to with files on usb drive.

Related

[Q] [Edited]: Losing SD card functionality ...

Good morning everyone.
I have been surfing this site for quite some time, but have just received my Vibrant S and am now in a position to post a question.
I am coming from the WinMo 5.0 world and android is very new to me, but I am enjoying the new phone.
I do not yet have the phone rooted and am hesitating ... mainly because I don't know all the features it has yet but also because I don't want to get into anything I don't know yet how to get out of. Having spent enough on this phone, I don't want to break anything just yet. This forum seems to have some very helpful people though, so I hope I can trust you all when you finally talk me into rooting. I barely got on the Market yesterday and found a tool 'SGS Tools' which has some info in the description which I think I can really use, but I need to root. So go ahead and start talking me into rooting.
Anyway, to my question:
The movie 'Avatar' comes on a 2Gig micro SD card and I have an 8Gig HCSD card. So I copied the directory 'Movie' and its contents to my C: drive, unmounted the 2Gig, removed it, and put in the 8Gig. The phone recognized it and everything went fine when I turned the phone on. So I moved the directory 'Movie' and its contents to the 8Gig card and after all was said and done, when I try to open the movie file 'Avatar.dcf' using either the shortcut or the media player, I get the error: This video can not be played.
Is there a hidden file I may have missed? Can you not create a copy? Would the DRM get involved at this point?
I am concerned if I move the file from the 2Gig card to the 8Gig card, and I get the same error, then I've also lost the movie.
Your suggestions would be most helpful. Thanks.
Here's another take on it.
I powered my phone on this morning just before posting, and found the phone was not recognizing the SDHC card. It was in effect, unmounted. I pulled it out and back in and it then asked if I wanted to format the disk, so I did. I need to pull the original dcf file off the 2gig disk and try this move again, but in the mean time I've found this among a lot of complaints regarding android recognizing SDHC cards.
[edit] Seems I can't post outside links yet. Here's an address you'll have to manually put in your address bar if you wish to read this article.
< ... ://humanslate.com/index.php?option=com_content&view=article&id=4&Itemid=14 >
In there it mentions, "SDHC cards will not work in devices designed to the older SD 1.x specification".
So, another question at the moment is this:
Has android (I'm running JI6, eclair 2.1) been developed for the original 1.x cards? Has anyone bought a new android phone and had an SDHC card in it? My 2gig card is of the old 1.x specification.
Perhaps I need to repost on the developer page? I figured the movie was part of an app, so it would only seem reasonable to post here.
Hangman_ said:
Good morning everyone.
I have been surfing this site for quite some time, but have just received my Vibrant S and am now in a position to post a question.
I am coming from the WinMo 5.0 world and android is very new to me, but I am enjoying the new phone.
I do not yet have the phone rooted and am hesitating ... mainly because I don't know all the features it has yet but also because I don't want to get into anything I don't know yet how to get out of. Having spent enough on this phone, I don't want to break anything just yet. This forum seems to have some very helpful people though, so I hope I can trust you all when you finally talk me into rooting. I barely got on the Market yesterday and found a tool 'SGS Tools' which has some info in the description which I think I can really use, but I need to root. So go ahead and start talking me into rooting.
Anyway, to my question:
The movie 'Avatar' comes on a 2Gig micro SD card and I have an 8Gig HCSD card. So I copied the directory 'Movie' and its contents to my C: drive, unmounted the 2Gig, removed it, and put in the 8Gig. The phone recognized it and everything went fine when I turned the phone on. So I moved the directory 'Movie' and its contents to the 8Gig card and after all was said and done, when I try to open the movie file 'Avatar.dcf' using either the shortcut or the media player, I get the error: This video can not be played.
Is there a hidden file I may have missed? Can you not create a copy? Would the DRM get involved at this point?
I am concerned if I move the file from the 2Gig card to the 8Gig card, and I get the same error, then I've also lost the movie.
Your suggestions would be most helpful. Thanks.
Click to expand...
Click to collapse
That should be all you have to do to get the movie to play. I would only recommend that you double check to make sure you copied the Movie folder to your external SD card and not the internal card.
The Vibrant can use SDHC cards (use 8gb class 6 here) and I know many others use 16 and 32 gb ones.
Convert the file to simple mp3 universal coding that any video app including the stock can read. Should be 720p. Create a video folder if one does not exist. You know all this sounds like. Should play fine. Too bad you can't use the lame short cut this way. Then again I never used it anyway.
Sent from my SGH-T959 using XDA App
I replaced avatar this way. Since have now for the extended version instead.
Sent from my SGH-T959 using XDA App
Thank you for the quick reply.
Flak_Munky said:
That should be all you have to do to get the movie to play ...
Click to expand...
Click to collapse
What do you mean by 'That'? Do you mean to move or does a copy suffice?
A little earlier after posting here, I put the 2gig back in and copied the DCF file to the C: drive again. Then after replacing the 2gig with the 8gig in the phone, I moved the 'Movie' directory and files into it. Now the media player doesn't even recognize the file. Although when I went to the SD card and looked at the details of the DCF file, it said the rights were expired. Can I assume it is because I copied it?
mr. orange303 said:
Convert the file to simple mp3 universal coding that any video app including the stock can read. Should be 720p.
Click to expand...
Click to collapse
What program did you use to make the conversion? I have two converters on my laptop I really like, but I don't know that they will even recognize a DCF file.
Thank you for your assistance.
And thank you Mr Moderator for moving this to its correct forum location.
Hangman_ said:
What do you mean by 'That'? Do you mean to move or does a copy suffice?
A little earlier after posting here, I put the 2gig back in and copied the DCF file to the C: drive again. Then after replacing the 2gig with the 8gig in the phone, I moved the 'Movie' directory and files into it. Now the media player doesn't even recognize the file. Although when I went to the SD card and looked at the details of the DCF file, it said the rights were expired. Can I assume it is because I copied it?
Click to expand...
Click to collapse
I was referring to either a move or copy. Both should work without a problem. I've done both and it played each time.
Never seen the rights were expired before. Not sure atm.
Thanks Flak for the clarification.
I am thinking I have larger issues here now (hence the edit to the title).
Over the New year, I have been working on word documents and PDFs and saving them to the external SD card on the phone. I have Windows 7_64. I was synced in with my phone using 'media' to transfer files as Kies doesn't work. After disconnecting the phone and verifying I can read both the word docs and the PDF's, I turned the phone off for the night. The next morning when I turned the phone on, I recieved a message that the external SD card was corrupted. I had to do a format to get the card back. After copying the docs and PDF's to the SDHC again, making a few phone calls, and installing a couple apps from the market to the internal memory, I rebooted the phone (turned off then back on), I received an error message saying the external SD card had been damaged. I had to do a format on the card again to get it back.
All I can say at the moment is I'm glad I didn't move the Avatar.dcf file to the SDHC card, but I don't understand what is happening with the SD functionality. This is becoming completely untrustworthy as I can't use the SD card for anything in fear of it getting corrupted or damaged. Which means I can't backup anything to the SD card either.
[Q] I have read mention of drivers for Windows 7_64, but have not yet searched them out. Could the default connection drivers that Windows 7 loads when you first connect your phone be an issue?
[Q] I have also read in several places now that the USB debugging should be checked. Now most all of these posts are for rooting and reinstalling ROM's and such, but my question is this; Should I have the USB debugging on when I am simply connecting to the PC to transfer files? It seems I am losing my SDHC card only after I have connected to the PC using the USB cable.
Do you have any thoughts or suggestions I can try? I'm too new to android to think of possible solutions to these little quirks, or where to look or what to ask.
Thanks.
One reason I am hesitant to put any Windows 7_64 bit drivers is because of the following comments:
"cant get my cpu to recognize my phone after installing drivers... im on windows 7 64 bit any ideas??"
"have the same problem. i'm on 7, 32bit"
"did you enable USB debugging?"
"yes of course. first thing I did after I rooted"
These are from <http://forum.xda-developers.com/showthread.php?t=728929>
Now again, my phone is not yet rooted. For the purpose at hand, I can't see the need to root. If my SDHC card is getting corrupted during connection, then rooting the phone is not going to solve the problem.
So my question above still stands; should the USB debugging be on (checked) when I simply connect to the PC to transfer files?
But I don't know where to look now or what to do. I have spent an entire day looking over the posts and have found virtually nothing to assist me with this little quirk.
Any suggestion would be helpful at this point.
Thanks.
So, I've learned something new today and would like your confirmation if I am correct in my assessment or not.
When you plug the phone into the Windows desktop machine, you get a prompt on the phone asking if you want to connect to Kies, Media Player, or Mass Storage.
When I select Media player, I have immediate access to the phone and SD card. There is nothing more to do with either the phone or the PC is this correct ?
The reason I ask is that if I connect to Mass Storage, I then have to go to the pulldown whatchamacallit on the phone and select USB connect. It then prompts me to "Mount" the phone (SD card) so I can access it.
I think this is why my SD card became corrupted and damaged. I didn't know I had to go and "Mount" the thing before I could use it.
BUT, why doesn't it ask me to "Mount" it when I select Media Player for my connection?
Thank you for your assistance and expertise.
Still waiting for confirmation
I'm still waiting for some definitive answer(s) and confirmations to these questions of mine if anyone has the knowledge.
Thank you.

Use an external sd card as internal storage

Today I got a 32 GB, SanDisk Micro SDCard, mainly for the use with Google Music (I have a 7,200+ library). However, I didn't find a source which had a solid solution, to at least have Google Music use the external sd card. So, I just messed around with it, and I found out how to Swap (reverse) the sd card 'locations', properly.
In vold.fstab, in the directory /system/etc/, you have two lines. Edit them with Root explorer's included "text editor", or any other good text editor. Make sure you have r/w on. Find the below two lines:
Code:
# external sd card
dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc3 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
and
Code:
# internal eMMC
dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
What I did, and what proved successful (to use both internal, and external storage, which are reversed), is this:
Code:
# external sd card
dev_mount sdcard_ext [COLOR="Red"]/mnt/sdcard[/COLOR]:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc3 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
and
Code:
# internal eMMC
dev_mount sdcard [COLOR="Red"]/mnt/sdcard-ext[/COLOR] 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Replace the regular lines, with the red lines, save, restart your phone, and BAM, your internal is now marked as external, and your external, is now your internal
I use Stock 154_5, Unlocked, rooted.
Enjoy, and press the thanks button
Also, you can revert them back, if you changed them. Just put the stock code back into the file.
Also, I just discovered:
You can only use the internal storage, when connecting to a computer. The 'internal' (which, we switched around), will not be detected. If you do connect your device to a computer, after you disconnect it, the 'internal', storage, which is really the external, because we switched it, will not be detected, and you must restart your phone.
I'll test this on MIUI. I have the 64GB version. Same problem.
ZeroManArmy said:
I'll test this on MIUI. I have the 64GB version. Same problem.
Click to expand...
Click to collapse
Cool. Let me know if it works. Yeah, 64 GB only for movies and pictures.... Isn't worth it for me. Lol
What do you have for CM9 or MIUI?
ZeroManArmy said:
What do you have for CM9 or MIUI?
Click to expand...
Click to collapse
I use Stock 154_5, Unlocked, rooted.
URGENT,
i am using samsung galaxy note device , i have follow your instruction to change the vold.hstab file.
Now my device has recognize my ext sd card as sdcard. But my device cant recognise my internal sdcard, so i have lose my root explorer. and I couldn't reedit the vold.hstab file back.
I have try to hardreset, and try to reinstall root explorer, but it always give an restart and error : "process.media force close "
From my understanding the failure of installing the root explorer because my device can't recognise sdcard anymore
I go to setting--> storage , I found the sdcard is not detected, only usb storage detected
how to solve this problem?
n1cky6969 said:
URGENT,
i am using samsung galaxy note device , i have follow your instruction to change the vold.hstab file.
Now my device has recognize my ext sd card as sdcard. But my device cant recognise my internal sdcard, so i have lose my root explorer. and I couldn't reedit the vold.hstab file back.
I have try to hardreset, and try to reinstall root explorer, but it always give an restart and error : "process.media force close "
From my understanding the failure of installing the root explorer because my device can't recognise sdcard anymore
I go to setting--> storage , I found the sdcard is not detected, only usb storage detected
how to solve this problem?
Click to expand...
Click to collapse
Well your problem is because, this is for the Photon 4G. Not the Note. Have you tried other File managers, such as Antek?
D2dyno said:
Well your problem is because, this is for the Photon 4G. Not the Note. Have you tried other File managers, such as Antek?
Click to expand...
Click to collapse
Anyhow, It is impossible to install any applications, if try to install,device will restart
But, it's okay now, I have reflash my rom, all the problem solved
Thanks for your responds
n1cky6969 said:
Anyhow, It is impossible to install any applications, if try to install,device will restart
But, it's okay now, I have reflash my rom, all the problem solved
Thanks for your responds
Click to expand...
Click to collapse
No problem, and I'm glad to help.
Man am I happy I came across this thread!!!
I've been reading forever in some of the rom threads for an answer to this question! A few of the roms I've tried out had the internal and external storage swapped with no option to switch and that kept me from using them because I use internal storage for apps data and such and then my external memory card for backups and personal files!
The only 2 roms that this can be fixed in is jokers CM9-unofficial-ICS rom (there is actually an Advanced Option in Settings) and the MIUI.us port (there is a storage mod flashable swap, which didn't work for me, and there is an option in the Aroma installer to choose what you want for Internal Storage).
Now that I've come across this, imma try it out and see if I can't get it to work on some other roms I have used!
Thanks for the discovery! I'll let ya know how it works out for me!
Sent from my MB855 using xda premium
Jleeblanch said:
Man am I happy I came across this thread!!!
I've been reading forever in some of the rom threads for an answer to this question! A few of the roms I've tried out had the internal and external storage swapped with no option to switch and that kept me from using them because I use internal storage for apps data and such and then my external memory card for backups and personal files!
The only 2 roms that this can be fixed in is jokers CM9-unofficial-ICS rom (there is actually an Advanced Option in Settings) and the MIUI.us port (there is a storage mod flashable swap, which didn't work for me, and there is an option in the Aroma installer to choose what you want for Internal Storage).
Now that I've come across this, imma try it out and see if I can't get it to work on some other roms I have used!
Thanks for the discovery! I'll let ya know how it works out for me!
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
Glad to hear! ICS ROMs handle external SD cards way better, so I prefer them now.
D2dyno said:
Glad to hear! ICS ROMs handle external SD cards way better, so I prefer them now.
Click to expand...
Click to collapse
I hear you there! The ICS roms rock! Jokers ICS rom has been my favorite due to the option to switch to use Internal memory for apps/app data. The other CM9 variants (AOKP/AOKPCB) had it default to use external memory as storage for apps/app data with NO option to swap. Now that I came across this, when my battery is a little better than 37% lol, imma do your mentioned edits!
Only difference from what I see from stock is that instead of "sdcard-ext" its "emmc". My current setup has "emmc" set as sdcard-ext (external storage) and sdcard as, well sdcard (internal storage) lol.
My issue has been that those have been swapped where "emmc" = internal storage and "sdcard" = external storage. With it being that way, it makes it a PIA to restore from Titanium Backup.
But this is all a thing of the past haha
I'm glad I'm not scared to read (like I feel like a lot of users are). I've seen a lot of posts where ppl were asking about how to swap the storage locations with no solid answers. Granted I didn't come across this solution immediately either...BUT I did and I plan to link to this thread and give you props in hopes that others find this useful as I know others are definitely having the same issue!
Sent from my MB855 using xda premium
I just successfully tested this on the AOKPCB from and it worked perfectly! Not gonna lie, that makes me VERY happy!!
Maybe everyone typing thanks could actually "THANK" this person?
Works on tablet
Ok tried this on a cheap tablet that I bought for playing around like this. An Arnova AN 7G3 7" with 4gb memory, 2 gb internal and 2gb internal sdcard. It was close to your file, all I had to change was sdcard and extsd. Before I did the switch and after seeing someone had trouble with apks after the switch, I made sure to move all apks to tablet, then copied all folders from sd to extsd. I also made a copy of the orignial vold file, just incase. Changed vold file rebooted and everything was great. Made a copy of altered vold file, then replaced with orignial and rebooted.....all still ok, replaced file with altered file and rebooted ,again all ok. Moved all apks that I could move to sdcard from tablet, free up 650mg on tablet. All moved apks worked fine.
AN 7 G3 is rooted out box runing stock ICS 4.0.1
Thanks for the info
ALD3 said:
F theOk tried this on a cheap tablet that I bought for playing around like this. An Arnova AN 7G3 7" with 4gb memory, 2 gb internal and 2gb internal sdcard. It was close to your file, all I had to change was sdcard and extsd. Before I did the switch and after seeing someone had trouble with apks after the switch, I made sure to move all apks to tablet, then copied all folders from sd to extsd. I also made a copy of the orignial vold file, just incase. Changed vold file rebooted and everything was great. Made a copy of altered vold file, then replaced with orignial and rebooted.....all still ok, replaced file with altered file and rebooted ,again all ok. Moved all apks that I could move to sdcard from tablet, free up 650mg on tablet. All moved apks worked fine.
AN 7 G3 is rooted out box runing stock ICS 4.0.1
Thanks for the info
Click to expand...
Click to collapse
Glad to hear it works on more than just GB
Thanks
D2dyno said:
Glad to hear it works on more than just GB
Click to expand...
Click to collapse
Thanks as I have been trying to find info for months. I posted in Arnova section of Arctablet news on how to do this tablet and a heads up and Thanks to YOU as well as a link to your work here. Hope you don't mind and did give credit to YOU. Check it out when you have time
http://www.arctablet.com/blog/forum...n-7-g3-recognize-you-micro-sd-as-internal-sd/
Just saw this topic and I have a (noob) question.
Does this work on any android phone or it's specific for this Moto one?

[Q] AOKP/CM9 doesn't "see" files in file manager.

I haven't taken notice to any others having this problem, but I may have simply missed it. When I use AOKP or CM9, I can't find certain files on either the built-in storage or in the sd card that I put in it today (I don't know if I have to do anything special to it or not -- do I have to format it?). I have some backups of apps and a few other things, but I can't browse the folders on my sd card because, for some reason, they're simply not listed. Regardless of file browser, I can't see certain files and folders.
Has anyone else had this problem and/or does anyone know what might be causing it? The files aren't hidden and I can see them just fine when I restore my rooted/stock 2.3.4 backup.
There are a couple possibilities why you can't see things. One is that your ext SD card may be now called EMMC. Two, and most likely, you have to give FE root priviledges in preferences.
Remember that any folder with a . (Period) in front of the folder name will be considered hidden. Some apps hide the folders they create automatically and as previously stated above if the file explorer yer using doesn't have root it may not be able to see them.
Sent from my SGH-I777 using xda premium
Phalanx7621 said:
Remember that any folder with a . (Period) in front of the folder name will be considered hidden. Some apps hide the folders they create automatically and as previously stated above if the file explorer yer using doesn't have root it may not be able to see them.
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
So how to show the hidden folders that have a period in front of them ? remove the period and the app will show itself ?
Am new to all this so please bare with me.
am trying to gain access to my phones root folders,Apps,Apks....and to make my phone read my external SD card.
my previous ROM was ICS 4.0.2. then i Rooted it..i used Method 2 + Method 2 Advanced---thanks to Jiangyi
Reference : http://forum.xda-developers.com/show....php?t=1679778
Then i flashed aokp_i9100g_jb_milestone-1 and then gapps-jb-20121011-signed for jellybean 4.1.x
The AOKP_Milestone works fine but my problem is that am not able to see my file manager on my device.i can see them on the computer only when i hook the device (i9100G) to the Computer and some of the folders do have periods in front of them,i did fix permissions from CWM recovery,but still nothing.
before flashing the Custom ROM i did not do any backup or restore, i had some applications on the device and some on the External SD card.
am aware of my mistake which probably was the sol issue of problem
when i try to go to Google play through the device it simply does not connect to it,"thats a problem that i had even on ICS"i was able to go to Google play from my computer and install an application from there ,but now when i try to install an app like the AppBack or any app for example
it says that the app has installed into my device but am not able to find it anywhere neither in the device or the root folders of the device through my (computer) only. because am not able to see any of my files through the device.
the Google_Library,music,files,diary,videos apps just doesn't exist. i see them all piled up in one widget in a faded color but they are simply not accessible.
and my mini external sd card can be seen by the device from the storage section in settings only but it says "Mount SD card
Insert an SD card for mounting"
when i click on it nothing happens.
i have not formatted my external SD card after flashing aokp rom. am not able to from the phone nor from the computer and i dont know what to press in CWM recovery in Advanced section so many options there don't know which one to do and which one to leave alone.
so what is my problem, what is the solution for this?
thank you
Latewish said:
So how to show the hidden folders that have a period in front of them ? remove the period and the app will show itself ?
Am new to all this so please bare with me.
am trying to gain access to my phones root folders,Apps,Apks....and to make my phone read my external SD card.
my previous ROM was ICS 4.0.2. then i Rooted it..i used Method 2 + Method 2 Advanced---thanks to Jiangyi
Reference : http://forum.xda-developers.com/show....php?t=1679778
Then i flashed aokp_i9100g_jb_milestone-1 and then gapps-jb-20121011-signed for jellybean 4.1.x
The AOKP_Milestone works fine but my problem is that am not able to see my file manager on my device.i can see them on the computer only when i hook the device (i9100G) to the Computer and some of the folders do have periods in front of them,i did fix permissions from CWM recovery,but still nothing.
before flashing the Custom ROM i did not do any backup or restore, i had some applications on the device and some on the External SD card.
am aware of my mistake which probably was the sol issue of problem
when i try to go to Google play through the device it simply does not connect to it,"thats a problem that i had even on ICS"i was able to go to Google play from my computer and install an application from there ,but now when i try to install an app like the AppBack or any app for example
it says that the app has installed into my device but am not able to find it anywhere neither in the device or the root folders of the device through my (computer) only. because am not able to see any of my files through the device.
the Google_Library,music,files,diary,videos apps just doesn't exist. i see them all piled up in one widget in a faded color but they are simply not accessible.
and my mini external sd card can be seen by the device from the storage section in settings only but it says "Mount SD card
Insert an SD card for mounting"
when i click on it nothing happens.
i have not formatted my external SD card after flashing aokp rom. am not able to from the phone nor from the computer and i dont know what to press in CWM recovery in Advanced section so many options there don't know which one to do and which one to leave alone.
so what is my problem, what is the solution for this?
thank you
Click to expand...
Click to collapse
This forum is for the i777. You don't have this phone model. Please ask in your own forum. All u need to gain access to system files is a file manager that allows root access. For hidden files, I just use a file manager that has an option to show them.

[Q] the whole writing to SD card thing. annoying now.

i've tried fixes via this site (including one from xposed. it's not a problem for most things but titanium backup just won't do it. the folder over a few weeks seems to go read only (checked via root explorer - can't give r/w rights) and just fails saying insufficient storage space.
i have to pull the card (can't mount as proper USB anymore - shame), create a new folder and move the content over. this works for a while but then i get the same again. something makes the folder read only.
other apps are able to write/delete etc to my mSD so the fix must work so what the hell is TB doing?
i'm on 4.4.2 (this rom from a while back)
any advice (bar flashing to 444? - might do that next w/e anyway)
tommo123 said:
i've tried fixes via this site (including one from xposed. it's not a problem for most things but titanium backup just won't do it. the folder over a few weeks seems to go read only (checked via root explorer - can't give r/w rights) and just fails saying insufficient storage space.
i have to pull the card (can't mount as proper USB anymore - shame), create a new folder and move the content over. this works for a while but then i get the same again. something makes the folder read only.
other apps are able to write/delete etc to my mSD so the fix must work so what the hell is TB doing?
i'm on 4.4.2 (this rom from a while back)
any advice (bar flashing to 444? - might do that next w/e anyway)
Click to expand...
Click to collapse
Are you trying to get apps to store on your Micro SD card and not internal?
On the play store, if your phone is rooted there's a fix so you can write to the card. If you wanna save space I suggest downloading folder mount.
RealityFails said:
Are you trying to get apps to store on your Micro SD card and not internal?
On the play store, if your phone is rooted there's a fix so you can write to the card. If you wanna save space I suggest downloading folder mount.
Click to expand...
Click to collapse
I would advise you to backup the contents of your external card. Then format the card by inserting it into the phone. & of course USING the phone to format it.
I had the same problem. I did this & touchwood, no problems so far. Hopefully it should work for you.
aarmath said:
I would advise you to backup the contents of your external card. Then format the card by inserting it into the phone. & of course USING the phone to format it.
I had the same problem. I did this & touchwood, no problems so far. Hopefully it should work for you.
Click to expand...
Click to collapse
Lol what are you talking about? I don't have issues with my card I think you meant to quote the other guy....
Anyways I think he's talking about the write issue in kitkat. Download SD card fix, you only need to run it once.
Oops! Big faux paus indeed! That is correct mate.
I will do a check on the SD Card fix. Seems interesting...
formatted the SD card and copied all back on - same thing happens. it's only an issue in TB for some reason. works for a while then stop.
tried the sd card fix too (must work i presume otherwise other apps would have probs too).
i'm not trying to install apps to the mSD (although would love if google brought that back).
Im using liquidsmooth rom and gdkernel. Still cant write into the sdcard. I tried all the app fixes and xposed..
Pls help.. .
https://play.google.com/store/apps/details?id=nextapp.sdfix
Download that, you must have a rooted phone. I've had no issues with this app, only run it once. Upon success, remove it, done.
Yeah. Ive already tried that app and other. And also the xposed apps. Still didnt work. cant delete files and sd card.

Mount external SD Card as Mass Storage on PC: App

Hi folks,
I own a Padfone S, and the thing which bothered me about it when I got it was that it (like every KitKat device) uses MTP protocol for transfer of files to PC instead of USB mass storage (UMS), which in my opinion is a really good thing with regard to the phone's internal storage, but which was a really bad decision by google with regard to external SD cards.
It took me a really long time of googling and trying things I found on the internet until I finally found something that works for me, so I thought maybe I write my solution down here for others to find. All the apps I could find on XDA developers for that purpose didn't work for me, probably because they were written for different phones (what I could find here were apps for Sony, Samsung and LG devices).
What you need:
a rooted Padfone S (probably works on X as well)
an app called "USBMounter_v1.1_Panda"
For your convenience, I have attached the app. Now, what's funny about this app is that I couldn't find any reference to it on any of the sites written in a language I understand (English, German and a bit of French), I just happened to find this app while googling by accident, seems to be written by some Chinese or Taiwanese guy. I thought this was noteworthy, as of course I can't tell you anything about the app's origin, reputation or license, since I don't understand a word of what's written on any of the sites which have this file, but since it's publicly available on so many mirror sites, I think it's okay to share it with you. But keep in mind, use at your own risk (I personally didn't see any signs of malicious behaviour).
How to make it work:
install app
unmount your external SD card
enable USB debugging
open app, and set switch to UMS
connect your device to PC
You will see your SD card in your Windows explorer as a drive with a drive letter, just the way it used to be with every Android device in the good old days.
Now, it is VERY important that you unmount your SD card from your device BEFORE using it with your computer! If you forget that, the SD card will still appear in your Windows PC's Explorer, and at first file operations seem to be carried out normally, but you'll soon end up with inconsistencies in your file system! Sort of makes sense anyway, two devices accessing a file system at the same time doesn't seem to be a good idea.
Unfortunately, I still haven't found a working widget to mount/unmount my SD card, so I always have to go to the settings screen to do that. I tried the "Switch Pro" widget from the Playstore, which supposedly has a mount/unmount functionality, but that doesn't work with the Padfone S, when I tap the relevant button, nothing at all happens. So if anyone knows of a solution to mount/unmount SD card with a shortcut, feel free to post it here.
Finally, two more pieces of information:
My Padfone is on the latest stock rom (UL-ASUS_T00N-WW-11.10.7.18-user), the only changes I have made to my phone is rooting (of course), and chaning the recovery to ClockworkMod.
My SD card is a 128GB MicroSDXC, formatted in NTFS. The Padfone is able to handle this SD card, both size and NTFS file system do not cause any problems at all.
Well, I hope my post can help a few people who want to make the most of the Padfone's SD card slot. ^^
Have a nice day!

Categories

Resources