Remove All Ads from XDA
Honor View 10

[MOD] MicroSD 2 Internal Memory Swap w/ICS support

405 posts
Thanks Meter: 229
By crossix, Senior Member on 1st January 2012, 05:51 PM
Post Reply Email Thread
***Warning Dragons Ahead!!***
Do this at your own risk, it will not void your warrantee but it may make your device unresponsive and cause other issues that I haven't discovered yet! Also, DO NOT at any point attempt to use the unmount sdcard found in your storage settings and DO NOT take your micro sdcard out while your tablet is on, doing these things will cause your apps to fc and potentially loose data. This has been tested only for the Iconia A100 and other devices will probably have different mount points.

It's working great for me but your results may vary, I am not responsible for any damage or problems you might encounter by using this mod (very unlikely that you'll have problems though).

What this mod does:
Since this particular tablet only has 5.4gb of internal storage, I thought it would be great to use my external sd (which is much larger) to install app data and everything else on. So this mod will dirty swap your External micro sd card with your internal memory and vice versa. By dirty swap I mean that the original mount points are untouched and I've just re-bound the mount points to different locations in the tablet. Not the ideal way of doing it, but it works and since we can't touch our init its just about our only option.

It will also speed up your sdcard's read and possibly write speeds by increasing the sdcard's cache.

Requirments: (things you'll need before doing this mod)
You'll need to be rooted, have root explorer installed and of course a micro sd card in your tab:


- Download and unzip the attached file and put it in the root of your internal sdcard (/mnt/sdcard)

- Open root explorer and navigate to /mnt/sdcard (if its not already there) tap and hold on the file and pick the copy option

- Now navigate to the /etc folder tap the Mount r/w button

- Find the file tap and hold it, then select the option rename. Change the name to install_recovery.bak and then tap paste to copy over the new file.

Now look just under the file, you'll see the date and permissions, it should say something like rwxrwxrwx if it does not you'll need to tap and hold the file tap permissions and check all three boxes for read and execute.

Once you've done the above steps reboot and wait about a minute after your tab comes up, goto settings and look at your storage space to see if the internal space size has changed.

To reverse just delete the file, rename the backed up one and reboot. If you decide to keep this mod, you'll want to copy the contents of /mnt/external_sd to /mnt/sdcard so you dont loose any of your app data. Also, you'll no longer need GL 2 SD or any other mod to fetch data from your micro sdcard.

Note: if you have problems deleting or writing to /mnt/external_sd after doing this mod, in root explorer goto /mnt press Mount R/W tap and hold on external_sd and choose permissions. Make sure that all boxes for read and write are checked.

You can use this in conjunction with ICS, its been tested and works great (actually improved my bench scores in antutu benchmark). You can merge the system r/w mod with this one to keep your system read /writable (in ICS) just add the system r/w commands to the end of this file.
Attached Files
File Type: zip - [Click for QR Code] (351 Bytes, 10036 views)
The Following 35 Users Say Thank You to crossix For This Useful Post: [ View ] Gift crossix Ad-Free
1st January 2012, 07:38 PM |#2  
Ceelos09's Avatar
Senior Member
Thanks Meter: 292
Thank you! This Mod is greatly appreciated. I'll give it a go once my hangover settles down

Sent from my SPH-D700 using xda premium
2nd January 2012, 02:11 AM |#3  
Thanks Meter: 4
Donate to Me
Works like a champ. Awesome.
3rd January 2012, 12:53 AM |#4  
Thanks Meter: 4

...thanks a bunch for this mod, it works great, I've tested a number of apps and scenarios and so far so good.

I reviewed the original and noticed that it's there for some sort of firmware / recovery updates. since we replaced the script I'm wondering if it will prevent future firmware upgrades, or more importantly could it prevent an emergency restore / recovery.

Perhaps merging your script with the original would be beneficial?

...any thoughts on this?

Thanks again for your effort on this, FredT
3rd January 2012, 01:27 AM |#5  
OP Senior Member
Thanks Meter: 229
Donate to Me
I don't forsee any issues, unless you get an ota update, then you'll need to redo this mod.

The system runs /system/etc/ on boot and would normally check the recovery partition for files changed outside of an ota update (ie viruses or cwm). If a file gets changed this script would run at boot and restore it's origional recovery.

Normally in order to get cwm or any other custom recovery to "stick" you would need to delete this file (or delete it's contents) so that your modded recovery wouldn't be overwritten on the next boot.

An OTA update will overwrite the file and you may have to follow the above instructions again (or it may even break my mod). I'm still running the origional stock rom (3.2) and haven't tested this mod on the newer versions.

Sent from my MB860 using XDA App
The Following 2 Users Say Thank You to crossix For This Useful Post: [ View ] Gift crossix Ad-Free
3rd January 2012, 02:22 AM |#6  
Thanks Meter: 4
cool thanks.... btw I am on the latest 3.2.1 ota update and this is working great for me so far....

Sent from my A100 using Tapatalk
4th January 2012, 10:59 PM |#7  
Senior Member
Flag Brooklyn
Thanks Meter: 341
Donate to Me
thanks buddy
5th January 2012, 03:34 AM |#8  
Thanks Meter: 4
what format for the SDCARD
so I got a new large SDCard to use for this setup... I bought it off a buddy and it is formated as EXT4 already. I'm going to reformat it, what is the best format to use with HC ? EXT4 or something else?

Thanks FredT
5th January 2012, 03:52 AM |#9  
OP Senior Member
Thanks Meter: 229
Donate to Me
Unfortunatly only fat32 will work, I've tried formatting & mounting the sdcard as ext2, 3 and 4, but couldnt get the tab to mount it automatically.
The Following User Says Thank You to crossix For This Useful Post: [ View ] Gift crossix Ad-Free
5th January 2012, 06:04 PM |#10  
slayerpsp's Avatar
Thanks Meter: 13
Thank you a million times can finally put all my gameloft games on the sd card without having to delete others.
5th January 2012, 07:27 PM |#11  
Thanks Meter: 1
I don't have I have a
And the etc folder you are talking about, is it the one in system or the one just under the main root of the device (/etc or /system/etc)? I only bring that up because I thought it odd I had two "almost" identical etc folders!?! One in /system and one under /.
Either way, I don't have a file. only the file. Any thoughts on this?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes