[Desire Android Development] silvake:
Just tried the 0.3 script on LeeDroid 2.3a A2SD+ and it works great.

I didn't wiped (because for me it's a nightmare to restore everything) and however it booted just fine, converting a2sd into data2ext as expected.

Second partition is ext4, your script already found it aligned, booted just fine and everything seems in order.

Then I noticed you updated to 0.4 and flashed it, again with no wipe.

Boot fails this time, just boot-looping with errors as below:

D/AndroidRuntime( 1006): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1006): CheckJNI is OFF
D/dalvikvm( 1006): creating instr width table
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@core.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/system@framework@core.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/core.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@ext.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/system@framework@ext.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/ext.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@framework.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/system@framework@framework.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/framework.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@android.policy.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/system@framework@android.policy.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/android.policy.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@services.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/system@framework@services.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@com.htc.framework.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/com.htc.framework.jar (/data/dalvik-cache/system@framework@com.htc.framework.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/com.htc.framework.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@com.htc.android.pimlib.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/com.htc.android.pimlib.jar (/data/dalvik-cache/system@framework@com.htc.android.pimlib.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/com.htc.android.pimlib.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@com.htc.android.easopen.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/com.htc.android.easopen.jar (/data/dalvik-cache/system@framework@com.htc.android.easopen.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/com.htc.android.easopen.jar'
E/dalvikvm( 1006): Can't open dex cache '/data/dalvik-cache/system@framework@com.scalado.util.ScaladoUtil.jar@classes.dex': No such file or directory
I/dalvikvm( 1006): Unable to open or create cache for /system/framework/com.scalado.util.ScaladoUtil.jar (/data/dalvik-cache/system@framework@com.scalado.util.ScaladoUtil.jar@classes.dex)
D/dalvikvm( 1006): Unable to process classpath element '/system/framework/com.scalado.util.ScaladoUtil.jar'
E/dalvikvm( 1006): ERROR: no valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:
/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.jar'
W/dalvikvm( 1006): JNI_CreateJavaVM failed
E/AndroidRuntime( 1006): JNI_CreateJavaVM failed

Nandroid and reverted to 0.3 for now...