[PRJ] [DATA2SD] Flashable zips for converting any Rom to Data2SD, For N1

All credit to sibere and droidzone and other devs who've developed the Data2SD codes.

Before you do anything with your phone, Pls nanodroid fisrt!!! And flash your phone at YOUR OWN RISK

It's been a while since this post last updated.

In fact, developers of HTC Desire have already create a stable method to implement Data2sd or whatever you call it, which gives you full use of EXT space to install APPs while improving I/O speed at the same time.

I've streamlined the installation procedure so as to make it more generic and compatible with the newer StarBurst zips.

Basic Installation Steps for Data2SD

1. Install your ROM
2. Install the A2SD Killer (specific for your ROM)
3. Next step differs depending on whether you're reflashing your Rom on an existing install, or whether you are installing for the first time.
If you're installing the ROM for the first time:
· Reboot once after running the A2SD Killer
· Setup the timezone, language etc (But not your Google Account/Market)
·Reboot to recovery once again and install the Data2SD Installer
If you're reflashing the ROM (after having installed Data2SD once previously)
·Do not reboot after running the A2SD Killer
·Install the Data2SD Re-Installer right away
·Now reboot.

I wanted to consolidate all the flashable zips for Data2SD into one place, so that I will find it easy to update the links as I modify the scripts, and to also help Sibere to point his link to this post from OP, so that he doesnt need to reupload each file as they are modified.

Once again, I must assert that Data2SD is totally Sibere's work with other devs who've developed Data2SD code of their own. In my opinion, however, this is the best!

My contribution is conversion of his excellent code into flashable scripts which may be installed via Recovery. So you dont have to type out the code.

The flashable zip is packed as a package of zip files. Each zip file within the package is seperate flashable zip

Whether you are trying this method for Sense or AOSP Roms, the installation procedure is same. Only the file is different.

Following droidzone's instruction, I tried these flashable ZIPs with MIUI 1.4.1(Gingerbread 2.3.3)

A2SDKillerV11_GB.zip
Data2SDInstallerv1.3_GB.zip

And it's working just fine. No random reboots, no data or APP lost or system crash after reboot. It's stable and fast!

One more note, you can ignore the previous information below...

—————————————————————————————————————————————————— ——————————————————
updata from
melethron's post, and his update package data2whatever.zip included.
you can buy melethron a beer if you want. All credits to melethron!

I test the script with new install MIUI N1 12.24,
so far no reboot issues, or data corruption.

3. miui rom 12.11 with a2sd+ running, 38 apps installed and /data/data moved to ext. The v4 update.zip can still do the job.

However, one problem is that Root explorer couldnot display Chinese filenames of APK , showing only ？？？. and if install those apks via root explorer, it just reports errors...

Another thing i am not sure of is not knowing how much v4 script could improve when there is only 1 ext partition. According to ownhere, 2 ext partitions are needed to make the best out of his v4 script...

I attached the v4 updtae.zip - Data2ext_update.zip ，in case you might wanna try:
1. BEFORE you try this package, you need to remove the app2ext script(file like 04apps2sd or 01 apps2sd) from /system/etc/init.d, or you would only get bootloop going on and on
2. And of course, Nanodroid...
3. disable signature checking in recovery...
__________________________________________________ ____________________________________________
I tried merging those files into MIUI N1 ROM.
When N1 boots for the 1st time, everything's working just fine.

Now we know the previous script is faking the Quadrant score...Quadrant bechmark really rocks with I/O scoring 8000+ and a total score @ 3000+

But after reboot, there came some issues:
System config could not be saved;
Home button wouldn't work;
Flight mode and Quiet mode missing in the reboot menu...

Could someone pls help to rewrite the script to fit in N1 ROM?

I think people using N1 would interested in such a script or rom that brings N1 more I/O performance and more space for Apps.

But I have no knowledge of coding, don't know how to fix the issues above.

So I add download link of the script CREATED by ownhere, not by me, hoping someone could make a N1 MOD...data2ext.zip
data2ext.zip is not a flashable package

My bad for not being clear on the wipe instructions!
1) (optional) If you are to wipe it (your choice it is not required), then press menu->settings->SD card & phone storage->scroll to bottom of screen and select "Factory data reset". This will wipe the /data partition only removing all apps and settings. BACKUP YOUR /data dir to sd, First or you will need to down load all your apps again to include paid apps!!
2) place data2sd.img in root of SDcard (fat32)
3) terminal in or adb shell in.
4) cp /sdcard/data2sd.sh to /data/local/bin - to copy the script to your user-space
5) chmod 0750 /data/local/bin/data2sd.sh - to make it executable
6) /data/local/bin/data2sd.sh or data2sd.sh may work to run the script

7) once the install is done it should tell you to reboot. If you had the ddms debugger running, you can observer the log as it is working.

8) done. It may boot a little longer if you clean-slate installed and then restored your apps by copying them back into /data/app and /data/app-private which has the affect of reinstalling everything, and thus the boot will take a while if you have alot of apps like I do. Again you can observe this as the Android boots if you have the debugger running.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?