what we want to do :
increase the total available memory for music, movies, manga... up to 62 GB !!
how to ?
by replacing the second microSD, normally not user-accessible (called innersd)
What does it do ?
First you should know that it mess up a script that recognize normally this peticuliar innersd. indeed, the original script recognize apparently only cards smaller than 4 GB... So if you switch this card for a bigger one, you'll need to bypass this script, by using an adapted boot.img, according to the android version you are using.
Morover, the new user space that will be added by this way won't be easily accessed, like with a usb-mount. Instead, you'll have to use command line like adb push and adb pull to put things on it from the computer, or softwares that access memory via adb too.
For hardresets, I can say that with mistadman's recovery mode, you can do it even with a big innersd, you can also adb while in this mode, so everything works. But I think it is not possible to hardreset with the original recovery mode...
Of course, I won't be held responsible for any dommage done to your device, this HOW-TO is as detailled as possible, but still requires some basical notions, please read it twice before trying anything !!
The new user space created in your innersd will be mounted automatically under the file /intsd, thanks to the modified boot.img.
A script that runs automatically (thanks to the autoscript soft) will then link this /intsd into any folder in the /sdcard/ repertory, so the innersd will be accessible to the android system and apps. The same script force a rescan of media available in the /sdcard, so the device detect your new media, and make them visible for the apps.
Finally, on the user side, there is few changes :
as there is a link of /instd on the /sdcard folder, you cannot mount /sdcard with usual tools without unmounting first the /intsd folder link. To bypass this, you can use the free software called multi mount SD-card, that will mount your external sdcard as a classical usb storage on your computer without unmounting on the phone side, meaning that you can still access it (to listen to music for exemple) while mounted on your computer !!
How to do that ?
1-preparing the new sdcard
1-1 switch off your phone
1-2-Introduce your new sdcard in the external slot (the regular one)
1-3-reboot your phone
1-4 We are now going to back-up your old internal sdcard into the new one, and prepare the extra space left for personnal usage :
for this we are going to DD all what's in the old innersd to the new sdcard in the external slot. Then use the extraspace to create an Ext3 partition, that will be used for storage.
this is obtained by executing the following commands from your pc, using adb :
cat /dev/block/innersd0 > /dev/block/mmcblk1
"Wait long time"
busybox_1P8P1 fdisk /dev/block/mmcblk1
p "Show partition table"
"Should show 3 partitions,1 5 and 6"
n "New Partition"
2 "Partition 2"
"enter, selects first available sector"
"enter, selects last available sector"
p "Show partition table"
"Should now show 4 partitions, 1 2 5 and 6"
w "To write the new partition table"
busybox_1P8P1 mke2fs -j /dev/block/mmcblk1p2
after those steps, you should get everything from the old innersd copied in the new one, plus another partition containing the rest of the available space from your new innersd.
2 flashing a new boot.img to cope with the big innersd :
Now, we are going to flash the new boot.img, that will allow the streak to boot with a big innersd, and mount the extraspace from the innersd card in the /intsd folder.
for this, shutdown your phone, and restart it while pushing the camera button, then click on the fastboot button on the screen. Wait a few sec, when the phone display wait for USB Fastboot detect, plug your phone to your computer.
in a terminal move to the folder containing your fastboot exec, and enter (those commandlines are for linux, it may vary a bit for windows, adjust it as required)
fastboot -i 0x413c flash boot /where/you/put/your/boot.img
"where boot.img is the name of the modified boot.img, in the right folder."
Once the boot is uploaded,
shutdown the phone (remove the cable and the battery, or fastboot 0x413 reboot...)
3-Next step is to open your phone, and switch the cards
see this thread, for how to : http://android.modac...nal-sd-upgrade/
re-assemble your phone, boot it, and if everything worked correctly, your phone should be like usual...
To finnish this mod, you'll have to install via the market the autostart app and the multi mount SD-card widget.
for the autostart to work, create a file called /data/opt/autostart.sh
and paste this text inside it :
busybox_1P8P1 mount -o bind /intsd /mnt/sdcard/intsd #you can adjust here the name of the target folder where you want to link the /intsd folder
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
Finally, don't forget to create an empty folder that will be the target where you want to bind your intsd in your /mnt/sdcard...(in the autostart.sh below, it is linked in the /sdcard/intsd folder)
You have now an extra user space inside the /sdcard/intsd (or whatever empty folder name you picked) that is accessible via adb commands, and that is recognized by your phone and the apps you are using.
remember to use the widget multi mount SD-card to mount your external SDcard as mass storage mode!
Remember that boot.img are specifics to their ROMs, you can find almost all of them in the following thread : http://android.modac...input/page/200/
here is the boot.img for last DJsteve version 1.9.0 streakdroid :
boot.img 3.38MB 72 downloads
The only weak spot of this mod, is that when using the multi mount SD-card mount, the link of /intsd is broken, thus not easily accessible, if anyone has a solution, please feel free to post it !
You can leave also any remark or suggestion !
I hope this How-to will be crystal-clear for you !!
My english is not very good, so feel free to correct me to make this HowTo more readable !
credits to : Stephen Davidson, DjSteve, smokku
Edited by kwenteen, 19 May 2011 - 10:22 AM.