[HTC ChaCha] spoutnik000:
Hi,

I'm not allowed to reply on "Development" thread, so I open this new one.

But really this should be a reply on qtotter thread:

http://xdaforums.com/showthread.php?t=1568787

I don't want to make it pm as well because this may be of interest to others like me that try and unfortunately get no result at this...

So here is what I got try at qtotter procedure and advices.

My ChaCha original memory mapping is:

# df /system
df /system
/system: 266240K total, 266116K used, 124K available (block size 4096)
# df /cache
df /cache
/cache: 35840K total, 2324K used, 33516K available (block size 4096)
# df /data
df /data
/data: 153600K total, 131484K used, 22116K available (block size 4096)

original mapping is:

--> 260 / 35 / 150

My custom recovery is CWM v4.0.1.0 (original PH06img.zip thread)

I take an empty SD Card and partition it (CWM recovery) into: "sd-ext = 512, swap = 0, rest of it is fat32"

I copy on it (fat32 part):

FR-Custom-MTD-v1.5.6-boot.zip

FR-Custom-MTD-v1.5.6-recovery.zip

mtdpartmap.txt

mtdpartmap.txt is (UNIX EOL):

mtd 265 10

I reboot to recovery.

mounts and storage > format /cache

mounts and storage > format /data

mounts and storage > format /system

install zip from sdcard > FR-Custom-MTD-v1.5.6-recovery.zip

Here is what I get in the '/tmp/recovery.log' file:

-- Installing: /sdcard/FR-Custom-MTD-v1.5.6-recovery.zip
mtd: successfully wrote block at c3a6c00000000
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /sdcard/FR-Custom-MTD-v1.5.6-recovery.zip
Opening update package...
Installing update...
CustomMTD Patcher v1.5.6about to run program [/tmp/patchbootimg.sh] with 2 args

Recovery Mode
Extracting Patch Tools...
BOARD_KERNEL_CMDLINE no_console_suspend=1 console=null
BOARD_KERNEL_BASE 12c00000
mtd: erase failure at 0x00000000
mtd: erase failure at 0x00040000
mtd: erase failure at 0x00080000
mtd: erase failure at 0x000c0000
mtd: erase failure at 0x00100000
mtd: erase failure at 0x00140000
mtd: erase failure at 0x00180000
mtd: erase failure at 0x001c0000
mtd: erase failure at 0x00200000
mtd: erase failure at 0x00240000
mtd: erase failure at 0x00280000
mtd: erase failure at 0x002c0000
mtd: erase failure at 0x00300000
mtd: erase failure at 0x00340000
mtd: erase failure at 0x00380000
mtd: erase failure at 0x003c0000
mtd: erase failure at 0x00400000
mtd: erase failure at 0x00440000
mtd: erase failure at 0x00480000
mtd: erase failure at 0x004c0000
mtd: erase failure at 0x00000000 (I/O error)
mtd: erase failure at 0x00000000 (I/O error)
mtd: skipping write block at 0x00000000
mtd: erase failure at 0x00040000 (I/O error)
mtd: erase failure at 0x00040000 (I/O error)
mtd: skipping write block at 0x00040000
mtd: erase failure at 0x00080000 (I/O error)
mtd: erase failure at 0x00080000 (I/O error)
mtd: skipping write block at 0x00080000
mtd: erase failure at 0x000c0000 (I/O error)
mtd: erase failure at 0x000c0000 (I/O error)
mtd: skipping write block at 0x000c0000
mtd: erase failure at 0x00100000 (I/O error)
mtd: erase failure at 0x00100000 (I/O error)
mtd: skipping write block at 0x00100000
mtd: erase failure at 0x00140000 (I/O error)
mtd: erase failure at 0x00140000 (I/O error)
mtd: skipping write block at 0x00140000
mtd: erase failure at 0x00180000 (I/O error)
mtd: erase failure at 0x00180000 (I/O error)
mtd: skipping write block at 0x00180000
mtd: erase failure at 0x001c0000 (I/O error)
mtd: erase failure at 0x001c0000 (I/O error)
mtd: skipping write block at 0x001c0000
mtd: erase failure at 0x00200000 (I/O error)
mtd: erase failure at 0x00200000 (I/O error)
mtd: skipping write block at 0x00200000
mtd: erase failure at 0x00240000 (I/O error)
mtd: erase failure at 0x00240000 (I/O error)
mtd: skipping write block at 0x00240000
mtd: erase failure at 0x00280000 (I/O error)
mtd: erase failure at 0x00280000 (I/O error)
mtd: skipping write block at 0x00280000
mtd: erase failure at 0x002c0000 (I/O error)
mtd: erase failure at 0x002c0000 (I/O error)
mtd: skipping write block at 0x002c0000
mtd: erase failure at 0x00300000 (I/O error)
mtd: erase failure at 0x00300000 (I/O error)
mtd: skipping write block at 0x00300000
mtd: erase failure at 0x00340000 (I/O error)
mtd: erase failure at 0x00340000 (I/O error)
mtd: skipping write block at 0x00340000
mtd: erase failure at 0x00380000 (I/O error)
mtd: erase failure at 0x00380000 (I/O error)
mtd: skipping write block at 0x00380000
mtd: erase failure at 0x003c0000 (I/O error)
mtd: erase failure at 0x003c0000 (I/O error)
mtd: skipping write block at 0x003c0000
mtd: erase failure at 0x00400000 (I/O error)
mtd: erase failure at 0x00400000 (I/O error)
mtd: skipping write block at 0x00400000
mtd: erase failure at 0x00440000 (I/O error)
mtd: erase failure at 0x00440000 (I/O error)
mtd: skipping write block at 0x00440000
mtd: erase failure at 0x00480000 (I/O error)
mtd: erase failure at 0x00480000 (I/O error)
mtd: skipping write block at 0x00480000
mtd: erase failure at 0x004c0000 (I/O error)
mtd: erase failure at 0x004c0000 (I/O error)
mtd: skipping write block at 0x004c0000
failed with error: -1
flashing recovery from /tmp/recovery.img
error writing recoveryrun_program: child exited with status 255
script result was [to take effect]
minzip: Extracted file "/tmp/mkbootimg"
minzip: Extracted file "/tmp/patchbootimg.sh"
minzip: Extracted file "/tmp/unpackbootimg"
Custom MTD written
Please wipe system,cache & data
& reboot to recovery for changes
to take effect

Install from sdcard complete.
mtd: successfully wrote block at c3a6c00000000
I:Set boot command ""
mtd: successfully wrote block at c3a6c00000000
I:Set boot command ""

Then I format again /cache /data /system partition

and I reboot again to recovery

and there the 'df' commands give me:

~ # df /system
df /system
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock3 266240 2820 263420 1% /system
~ # df /cache
df /cache
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock4 35840 2328 33512 6% /cache
~ # df /data
df /data
Filesystem 1K-blocks Used Available Use% Mounted on
df: /data: can't find mount point

so this means that the '/system' and '/cache' partitions have not been resized and I still have the same 260 / 35 / 150 mapping...

I tried as well with a newer version of the CustomMTD tools (AutoPatch-v1.5.9-Beta2-CustomMTD_S.zip).

But this time the patch tool gives a more explicit error:

-- Installing: /sdcard/AutoPatch-v1.5.9-Beta2-CustomMTD_S.zip
mtd: successfully wrote block at c3a6c00000000
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /sdcard/AutoPatch-v1.5.9-Beta2-CustomMTD_S.zip
Opening update package...
Installing update...
CustomMTD Patcher v1.5.9-Beta2about to run program [/tmp/patchbootimg.sh] with 2 args

Mode AutoPatch
Extracting Patch Tools...
about to run program [busybox test -f /sdcard/mtdpartmap.txt] with 1 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
script result was []
minzip: Extracted file "/tmp/mkbootimg"
minzip: Extracted file "/tmp/patchbootimg.sh"
minzip: Extracted file "/tmp/unpackbootimg"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
############ ERROR #############
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
none consecutive partitions
detected, can not proceed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Install from sdcard complete.
mtd: successfully wrote block at c3a6c00000000
I:Set boot command ""

I'm therefore a bit lost here.

How did you succeed in resizing?

Could you please detail step by step what you did because I followed quite carefully your instructions and HTC Desire steps, but this doesn't work...

Thanks in advance.

spoutnik