Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,344 Members 46,184 Now Online
XDA Developers Android and Mobile Development Forum

[Workaround] External SD in ICS-based ROMs

Tip us?
 
Tintenfisch
Old
#1  
Tintenfisch's Avatar
Senior Member - OP
Thanks Meter 132
Posts: 297
Join Date: Nov 2008
Location: Göttingen
Default [Workaround] External SD in ICS-based ROMs

Hello everone!

First of all: I know I do not post a new ROM here, and also I know that this isn't the usual way to clear things, I hope the mods can forgive me, I will explain why I start this thread.

First of all, the problem: As a lot of you noticed, when you try an ICS-based ROM like CM9 or any of those MIUI v4-clones, your external SD-card is gone. Normally you find all your data at /sdcard/external_sd/, and now you go to that folder with a file explorer to see that it's empty.

A lot of those guys now post in the threads of these ROMs complaining about lost data and stuff, sometimes getting an answer, sometimes not. The workaround is the same on all these ROMs, but most of the ROM devs do not add this fix to their start-postings.
As no one reads a full 300+-pages thread, the solution for this problem gets lost ("Didn't you read the solution on page 153?" ). This is why I start a new thread to link on, with a full tutorial, even pictures are added, yaaay.

Again: This is no new solution, I didn't code anything new.

-----

So this is how you do it:

First of all go to this thread and download the apk for Directory Bind. Install it.
This app was built to move data to your external SD to get more space on your internal memory, we use this app in a different way.

When you use a file explorer with root permissions, you will see that your external SD can be found at /mnt/emmc/. This folder is unhandy to use, as most applications aren't built to access any directories outside /sdcard/ (would need root permissions). [I once saw a ROM where the external SD was mounted to /mnt/ext_sdcard/, if that's the case in your ROM, just do it the same way ]

So you start Directory Bind, tap on the menu button and add a new entry. Use these settings:



As you see, all data that's in /emmc/ (do NOT forget the slash at the end!) should get mounted to /sdcard/external_sd/ (again: don't forget the slash). Do NOT tick the "Transfer files from target to data"-Button, as this would cause the whole external SD to be copied onto your internal memory!

After tapping "Add", you should see a new entry in your list of bindings. Tap on the disc-icon in front of that entry, so it becomes green:



If the icon becomes red, check if you have any spelling mistakes in the paths you used or if /emmc/ is the correct path for your SD-card [see /ext_sdcard/-issue above].

If all went well, tap the menu-button again and open the preferences. First of all enable the box at the top, saying "Bind on boot". I hope I don't have to explain why
Second, scroll down to the bottom and enable the "Alternate dbase mgmt"-Box. This isn't 100% neccessary, it can work without this option. I tested two devices and both had to have this option enabled to keep the settings after a reboot. To be sure, just enable it.

You can now close Directory Bind and check your /sdcard/external_sd/-folder again to see everything is there! Reboot to check if you were successful in the whole "bind on boot"-thing.

That's it, gl&hf with it
I'm the flash gordon of flashing my phone
The Following 59 Users Say Thank You to Tintenfisch For This Useful Post: [ Click to Expand ]
 
Necrodaemon
Old
(Last edited by Necrodaemon; 8th March 2012 at 12:23 PM.)
#2  
Necrodaemon's Avatar
Senior Member
Thanks Meter 57
Posts: 174
Join Date: Dec 2008
Location: Santiago, Chile
Thanks for this tip, work in AOKP Bezke 07/03/2012

LG-D820 32GB LTE aka Nexus 5 + AOSP KitKat 4.4.3 Linaro ...
The Following User Says Thank You to Necrodaemon For This Useful Post: [ Click to Expand ]
 
fOmey
Old
(Last edited by fOmey; 13th March 2012 at 08:51 AM.)
#3  
fOmey's Avatar
Recognized Developer
Thanks Meter 3898
Posts: 3,149
Join Date: Mar 2009
Location: Sydney, AUS
Does this also allow USB mount on PC also ?



HELPFUL POST? HIT THANKS !

OR BETTER YET

BUY ME A BEER OR TWO ?


GTA V FORUM :: MODS, GLITCHES & BOOSTING SERVICES

 
freakin.ro
Old
#4  
freakin.ro's Avatar
Senior Member
Thanks Meter 10
Posts: 192
Join Date: Nov 2011
you can try this for USB-mount
https://play.google.com/store/apps/d...XV0b21vdW50Il0.
 
Tintenfisch
Old
#5  
Tintenfisch's Avatar
Senior Member - OP
Thanks Meter 132
Posts: 297
Join Date: Nov 2008
Location: Göttingen
Quote:
Originally Posted by fOmey View Post
Does this also allow USB mount on PC also ?
That is a complete different problem and is of course not solved by that workaround.

Gesendet von meinem GT-I9100 mit Tapatalk
I'm the flash gordon of flashing my phone
 
fOmey
Old
#6  
fOmey's Avatar
Recognized Developer
Thanks Meter 3898
Posts: 3,149
Join Date: Mar 2009
Location: Sydney, AUS
Quote:
Originally Posted by Tintenfisch View Post
That is a complete different problem and is of course not solved by that workaround.

Gesendet von meinem GT-I9100 mit Tapatalk
Didn't think so, more on a kernel level. Was a little over excited I guess..



HELPFUL POST? HIT THANKS !

OR BETTER YET

BUY ME A BEER OR TWO ?


GTA V FORUM :: MODS, GLITCHES & BOOSTING SERVICES

 
panhavuth
Old
#7  
Senior Member
Thanks Meter 3
Posts: 117
Join Date: Nov 2007
Location: Phnom penh
Quote:
Originally Posted by Tintenfisch View Post
That is a complete different problem and is of course not solved by that workaround.

Gesendet von meinem GT-I9100 mit Tapatalk
My external sd is dead.can it survive by that method? I can't format it via window. I flash back and forth cm 9 and other ics custom ROM a few day later it dead and can't recognise by PC anymore.

Sent from my GT-I9100 using Tapatalk
 
Tintenfisch
Old
#8  
Tintenfisch's Avatar
Senior Member - OP
Thanks Meter 132
Posts: 297
Join Date: Nov 2008
Location: Göttingen
Quote:
Originally Posted by panhavuth View Post
My external sd is dead.can it survive by that method? I can't format it via window. I flash back and forth cm 9 and other ics custom ROM a few day later it dead and can't recognise by PC anymore.

Sent from my GT-I9100 using Tapatalk
When your sd-card is "broken", I don't think that this method will help. This DirectoryBind-thing is just a trick to point the /emmc/-folder to a more handy one, so it requires a working card in the emmc-folder.
If even your pc can't get the data, there is probably something wrong in the FAT of that card. I would try to format the card via your msdos-commandline or something, trying different filesystems and stuff.
I'm the flash gordon of flashing my phone
 
warriorofice
Old
#9  
warriorofice's Avatar
Senior Member
Thanks Meter 15
Posts: 328
Join Date: Aug 2009
Location: El Viso Del Alcor
Very, very, very, very great topic.
Now i´m very happy.
THANKS A LOT!!!
 
panhavuth
Old
#10  
Senior Member
Thanks Meter 3
Posts: 117
Join Date: Nov 2007
Location: Phnom penh
Quote:
Originally Posted by Tintenfisch View Post
When your sd-card is "broken", I don't think that this method will help. This DirectoryBind-thing is just a trick to point the /emmc/-folder to a more handy one, so it requires a working card in the emmc-folder.
If even your pc can't get the data, there is probably something wrong in the FAT of that card. I would try to format the card via your msdos-commandline or something, trying different filesystems and stuff.
I'm completely Noob to Ms DOS command line.could you please show me some way.or is there a software to survive it? Your help would be much appreciate.

Sent from my GT-I9100 using Tapatalk

Tags
external sd, ics, mount
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes