[Android Software/Hacking General [Developers Only]] Lewis Lee:
Hi Amarullz,

I'm sorry for my English first.:o

Partition my SDcard EXT3 1024MB->swap 256MB, and then , using MIUI ROM 2.3.7 and 40ad2sdx-a2Recovery-signed flash my HD2 phone.

After flashed, reboot my HD2's , install more Apps, have no problems.

Since 2nd boot, Apps that installed have FC.

What can i do next ?

Device: HTC HD2.

ROM: MIUI ROM 2.3.7 base.

Below is the dump contents:

DF
==
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 210500 32 210468 0% /dev
tmpfs 210500 0 210500 0% /mnt/asec
tmpfs 210500 0 210500 0% /mnt/obb
/dev/block/mtdblock3 204800 147628 57172 72% /system
/dev/block/mtdblock5 204672 28972 175700 14% /sd-ext
/dev/block/mtdblock4 10240 1164 9076 11% /mnt/cache
/dev/block/mmcblk0p2 937096 72497 814599 8% /data
/dev/block/vold/179:1
14399000 8405144 5993856 58% /mnt/sdcard
/dev/block/vold/179:1
14399000 8405144 5993856 58% /mnt/secure/asec

LIST /data
==========
drwxrwx--x 11 system system 1024 Jan 1 16:11 .
drwxr-xr-x 13 system system 0 Jan 1 18:52 ..
drwxrwxr-x 2 system system 1024 Jan 1 18:49 anr
drwxrwx--x 2 system system 1024 Jan 1 18:32 app
drwxrwx--x 2 system system 1024 Jan 1 14:34 app-private
drwxrwxrwx 2 root root 1024 Jan 1 14:34 app_s
drwx------ 5 system system 1024 Jan 1 14:35 backup
lrwxrwxrwx 1 root root 13 Jan 1 14:34 cache -> /sd-ext/cache
lrwxrwxrwx 1 root root 20 Jan 1 14:34 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x 42 system system 3072 Jan 1 16:34 data
lrwxrwxrwx 1 root root 14 Jan 1 16:11 data_s -> /sd-ext/data_s
lrwxrwxrwx 1 root root 17 Jan 1 14:34 dontpanic -> /sd-ext/dontpanic
drwxrwxrwx 2 root root 1024 Jan 1 14:34 framework_s
drwxrwxrwx 2 root root 1024 Jan 1 14:34 lib_s
lrwxrwxrwx 1 root root 13 Jan 1 14:34 local -> /sd-ext/local
lrwxrwxrwx 1 root root 18 Jan 1 14:34 lost+found -> /sd-ext/lost+found
lrwxrwxrwx 1 root root 12 Jan 1 14:34 misc -> /sd-ext/misc
lrwxrwxrwx 1 root root 16 Jan 1 14:34 property -> /sd-ext/property
lrwxrwxrwx 1 root root 14 Jan 1 14:34 sdcard -> /sd-ext/sdcard
drwx------ 3 system system 1024 Jan 1 14:34 secure
lrwxrwxrwx 1 root root 14 Jan 1 14:34 system -> /sd-ext/system

LIST /sd-ext
============
drwxrwx--x 1 system system 2048 Jan 1 18:47 .
drwxr-xr-x 13 system system 0 Jan 1 18:52 ..
lrwxrwxrwx 1 root root 9 Jan 1 16:11 anr -> /data/anr
lrwxrwxrwx 1 root root 9 Jan 1 18:47 app -> /data/app
lrwxrwxrwx 1 root root 17 Jan 1 18:47 app-private -> /data/app-private
lrwxrwxrwx 1 root root 11 Jan 1 18:47 app_s -> /data/app_s
lrwxrwxrwx 1 root root 12 Jan 1 16:11 backup -> /data/backup
drwxrwx--x 1 system cache 2048 Jan 1 14:34 cache
drwxrwx--x 1 system system 2048 Jan 1 18:47 dalvik-cache
lrwxrwxrwx 1 root root 10 Jan 1 18:47 data -> /data/data
drwxrwxrwx 1 root root 2048 Jan 1 16:11 data_s
drwxr-x--- 1 root log 2048 Jan 1 14:34 dontpanic
lrwxrwxrwx 1 root root 17 Jan 1 18:47 framework_s -> /data/framework_s
lrwxrwxrwx 1 root root 11 Jan 1 18:47 lib_s -> /data/lib_s
drwxrwx--x 1 shell shell 2048 Jan 1 14:34 local
drwxrwx--- 1 root root 2048 Jan 1 14:34 lost+found
drwxrwx--t 1 system misc 2048 Jan 1 18:49 misc
drwx------ 1 root root 2048 Jan 1 14:35 property
drwxrwxrwx 1 system system 2048 Jan 1 14:34 sdcard
lrwxrwxrwx 1 root root 12 Jan 1 16:11 secure -> /data/secure
drwxrwxr-x 1 system system 2048 Jan 1 18:53 system

LIST /system
============
drwxr-xr-x 1 root root 2048 Jan 1 14:33 .
drwxr-xr-x 13 system system 0 Jan 1 18:52 ..
drwxr-xr-x 1 root root 2048 Jan 1 14:33 app
drwxr-xr-x 1 root shell 2048 Jan 1 14:33 bin
-rw-r--r-- 1 root root 2663 Aug 1 2008 build.prop
drwxr-xr-x 1 root root 2048 Jan 1 14:33 etc
drwxr-xr-x 1 root root 2048 Jan 1 14:33 fonts
drwxr-xr-x 1 root root 2048 Jan 1 14:33 framework
drwxr-xr-x 1 root root 2048 Jan 1 14:33 lib
drwxr-xr-x 1 root root 2048 Jan 1 14:33 lost+found
drwxr-xr-x 1 root root 2048 Jan 1 14:33 media
drwxr-xr-x 1 root root 2048 Jan 1 14:33 tts
drwxr-xr-x 1 root root 2048 Jan 1 14:33 usr
drwxr-xr-x 1 root shell 2048 Jan 1 14:33 vendor
drwxr-xr-x 1 root shell 2048 Jan 1 14:33 xbin

LIST init.d
===========
drwxrwxrwx 1 root shell 2048 Jan 1 18:43 .
drwxr-xr-x 1 root root 2048 Jan 1 14:33 ..
-rwxrwxrwx 1 root shell 903 Aug 1 2008 00cpufreq
-rwxrwxrwx 1 root shell 339 Aug 1 2008 01modules
-rwxrwxrwx 1 root shell 27 Aug 1 2008 01sysctl
-rwxrwxrwx 1 root shell 362 Aug 1 2008 02htcleo
-rwxrwxrwx 1 root shell 105 Aug 1 2008 05modules
-rwxrwxrwx 1 root shell 771 Aug 1 2008 06defaulttheme
-rwxrwxrwx 1 root shell 273 Aug 1 2008 07internalsd
-rwxr-xr-x 1 root shell 4307 Jan 1 18:43 40ad2sdx
-rwxrwxrwx 1 root shell 162 Aug 1 2008 77sdcardspeedfix
-rwxrwxrwx 1 root shell 1657 Aug 1 2008 98cpu_voltage
-rwxrwxrwx 1 root shell 265 Aug 1 2008 99gps

Other:

#-- Mount sd-ext to /data ( You Will Get 1GB/2GB Internal Memory :D )
busybox mount -t ext4 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/mmcblk0p2 /data;
busybox chown 1000:1000 /data;
busybox chmod 771 /data;

If replace "EXT4" to "EXT3", Internal Memory display space is 0.00MB.

sometimes, bootloops.

Why for that ?

Thanks amarullz for this great script!