Google Confirms “Android Lollipop Day” for November 3rd

A little over a week ago, Google announced the latest iteration of … more

Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more
Post Reply

[Workaround] External SD in ICS-based ROMs

OP Tintenfisch

8th March 2012, 11:22 AM   |  #1  
Tintenfisch's Avatar
OP Senior Member
Flag Göttingen
Thanks Meter: 132
 
297 posts
Join Date:Joined: Nov 2008
More
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
The Following 59 Users Say Thank You to Tintenfisch For This Useful Post: [ View ]
8th March 2012, 12:20 PM   |  #2  
Necrodaemon's Avatar
Senior Member
Flag Santiago, Chile
Thanks Meter: 58
 
177 posts
Join Date:Joined: Dec 2008
More
Wink
Thanks for this tip, work in AOKP Bezke 07/03/2012

Last edited by Necrodaemon; 8th March 2012 at 12:23 PM.
The Following User Says Thank You to Necrodaemon For This Useful Post: [ View ]
13th March 2012, 08:45 AM   |  #3  
fOmey's Avatar
Recognized Developer
Flag Sydney, AUS
Thanks Meter: 3,938
 
3,152 posts
Join Date:Joined: Mar 2009
More
Does this also allow USB mount on PC also ?
Last edited by fOmey; 13th March 2012 at 08:51 AM.
13th March 2012, 08:53 AM   |  #4  
freakin.ro's Avatar
Senior Member
Thanks Meter: 10
 
192 posts
Join Date:Joined: Nov 2011
you can try this for USB-mount
https://play.google.com/store/apps/d...XV0b21vdW50Il0.
13th March 2012, 10:24 AM   |  #5  
Tintenfisch's Avatar
OP Senior Member
Flag Göttingen
Thanks Meter: 132
 
297 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by fOmey

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
13th March 2012, 11:39 AM   |  #6  
fOmey's Avatar
Recognized Developer
Flag Sydney, AUS
Thanks Meter: 3,938
 
3,152 posts
Join Date:Joined: Mar 2009
More
Quote:
Originally Posted by Tintenfisch

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..
13th March 2012, 12:48 PM   |  #7  
Senior Member
Flag Phnom penh
Thanks Meter: 3
 
117 posts
Join Date:Joined: Nov 2007
Quote:
Originally Posted by Tintenfisch

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
13th March 2012, 01:14 PM   |  #8  
Tintenfisch's Avatar
OP Senior Member
Flag Göttingen
Thanks Meter: 132
 
297 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by panhavuth

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.
13th March 2012, 01:15 PM   |  #9  
warriorofice's Avatar
Senior Member
Flag El Viso Del Alcor
Thanks Meter: 15
 
331 posts
Join Date:Joined: Aug 2009
More
Very, very, very, very great topic.
Now i´m very happy.
THANKS A LOT!!!
13th March 2012, 01:36 PM   |  #10  
Senior Member
Flag Phnom penh
Thanks Meter: 3
 
117 posts
Join Date:Joined: Nov 2007
Quote:
Originally Posted by Tintenfisch

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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes


Top Threads in Galaxy S II Android Development by ThreadRank