[Sony Cross-Device General] RoberM:
Hi, tried lockeddualrecovery1.6.zip and it installs flawlessly :good:

TWRP works

CWM does not work (as before, black screen with purple led)

Logs:

Preparation.log

19700124 224232: ### SDCard1 FS found: FAT32 with code 'Win95'.

19700124 224232: ### Not mounting SDCard1!

19700124 224232: ### Logfile rotation...

19700124 224232: /system/xbin/busybox mv /cache/chargemon/chargemon.log /cache/chargemon/chargemon.log.old

19700124 224232: RET=0

19700124 224232: /system/xbin/busybox touch /cache/chargemon/chargemon.log

19700124 224232: RET=0

19700124 224232: /system/xbin/busybox chmod 660 /cache/chargemon/chargemon.log

19700124 224232: RET=0

chargemon.log.old (booting CWM, then failing)

19700124 224133: ### chargemon start...

19700124 224133: ### BUSYBOX=/system/xbin/busybox

19700124 224133: ### keycheck...

19700124 224133: ### Trigger vibrator

19700124 224133: /system/xbin/busybox sleep 3

19700124 224133: /system/xbin/busybox cat /dev/input/event6

19700124 224133: RET=0

19700124 224136: ### recovery boot mode...

19700124 224136: /system/xbin/busybox hexdump

19700124 224136: RET=0

19700124 224136: export VOLUKEYCHECK=0000000 0006 0000 0950 0005 0001 0073 0001 0000

/system/bin/chargemon[320]: export: 0006: not identifier

19700124 224136: export VOLDKEYCHECK=

19700124 224136: RET=0

19700124 224136: /system/xbin/busybox rm /dev/keycheck

19700124 224136: RET=0

19700124 224136: /system/xbin/busybox rm /dev/keycheck1

19700124 224136: RET=0

19700124 224136: cd /

19700124 224136: RET=0

19700124 224136: ### Booting CWM by keypress...

19700124 224136: ### start time_daemon...

19700124 224136: /system/xbin/busybox sleep 5

19700124 224136: RET=0

20130509 111316: ### kill time_daemon...

20130509 111316: /system/xbin/busybox kill -9 305

20130509 111316: RET=0

20130509 111316: ### stop init services...

20130509 111316: stop rmt_storage

20130509 111316: RET=0

20130509 111316: stop

20130509 111316: RET=0

20130509 111316: stop tad_static

20130509 111316: RET=0

20130509 111317: stop

20130509 111317: RET=0

20130509 111317: stop ueventd

20130509 111317: RET=0

20130509 111317: stop

20130509 111317: RET=0

20130509 111318: ### remount rootfs to rw...

20130509 111318: /system/xbin/busybox mount -o remount,rw rootfs /

20130509 111318: RET=0

20130509 111318: /system/xbin/busybox rm sdcard etc tmp init init.goldfish.rc init.qcom.class_core.sh init.qcom.class_main.sh init.qcom.early_boot.sh init.qcom.rc init.qcom.ril.sh init.qcom.sh init.qcom.syspart_fixup.sh init.rc init.sony-device.rc init.sony-platform.rc init.sony.rc init.target.rc init.trace.rc init.usb.rc init.usbmode.sh ueventd.goldfish.rc ueventd.qcom.rc ueventd.rc default.prop

20130509 111318: RET=0

20130509 111318: /system/xbin/busybox rm -r sbin

20130509 111318: RET=0

20130509 111318: /system/xbin/busybox lzcat /system/bin/recovery.cwm.cpio.lzma

20130509 111318: RET=0

20130509 111318: ### umount partitions...

20130509 111318: /system/xbin/busybox umount -l /data/idd

20130509 111318: RET=0

20130509 111318: /system/xbin/busybox umount -l /data

20130509 111318: RET=0

20130509 111319: /system/xbin/busybox kill -9 172

20130509 111319: RET=0

20130509 111319: /system/xbin/busybox umount -l /system

20130509 111319: RET=0

: ### executing init...

The second log looks fine to me, it is cwm who is failing, i think, because the absence of the right files in cache and in sdcard1. As you see sdcard is detected but refused by the script. Maybe if you make the check for sd card to accept everything except filesystems containing the string "ex" the script would be less restrictive.

I hope that helps, keep up the good work.

EDIT1: ---------------------------------------------------------------

I had some spare time and installed "lockeddualrecovery1.6.installer.zip" from windows.

Sdcard mounting seems fine!

preparation.log

19700124 234430: ### SDCard1 FS found: Win95 FAT32 (LBA) with code 'c'.

19700124 234430: mount -t vfat /dev/block/mmcblk1p1 /storage/sdcard1

19700124 234430: RET=0

19700124 234430: ### Mounted SDCard1!

19700124 234430: LOGPATH: /storage/sdcard1/XZDualRecovery

19700124 234430: LOGFILE: /storage/sdcard1/XZDualRecovery/chargemon.log

19700124 234430: WORKDIR: /storage/sdcard1/XZDualRecovery

19700124 234430: ### Logfile rotation...

19700124 234430: mv /storage/sdcard1/XZDualRecovery/chargemon.log /storage/sdcard1/XZDualRecovery/chargemon.log.old

19700124 234430: RET=0

19700124 234430: touch /storage/sdcard1/XZDualRecovery/chargemon.log

19700124 234430: RET=0

19700124 234430: chmod 660 /storage/sdcard1/XZDualRecovery/chargemon.log

19700124 234430: RET=0

Now i have chargemon.log in sdcard1/XZDualRecovery/, so detection and mounting is done right, so i tried (several times), booting into CWM and TWRP, there is vibration and green led, but is doesn't matter if i press vol-up or vol-down, nothing happens and it boots straight into system. No recovery to be seen.

chargemon.log.old:

19700124 234302: ### chargemon start...

19700124 234302: ### BUSYBOX=

19700124 234302: ### Trigger vibrator

19700124 234302: ### Turn on green led

19700124 234302: ### keycheck...

19700124 234302: sleep 3

19700124 234302: cat /dev/input/event6

19700124 234302: RET=0

19700124 234305: ### normal boot mode...

What a mess man ;)

Weird thing both installing methods won't behave the same. Maybe someone could offer his clean, just rooted device to try this.

EDIT2: ---------------------------------------------------------------

Copied (not moved) busybox from xbin to bin and got recovery back, only TWRP.

CWM still hangs, gonna look at some logs.

New logs:

tmp/XZDualRecovery/preparation.log:

19700125 002259: ### SDCard1 FS found: Win95 FAT32 (LBA) with code 'c'.

19700125 002259: /system/bin/busybox mount -t vfat /dev/block/mmcblk1p1 /storage/sdcard1

19700125 002259: RET=0

19700125 002259: ### Mounted SDCard1!

19700125 002259: LOGPATH: /storage/sdcard1/XZDualRecovery

19700125 002259: LOGFILE: /storage/sdcard1/XZDualRecovery/chargemon.log

19700125 002259: WORKDIR: /storage/sdcard1/XZDualRecovery

19700125 002259: ### Logfile rotation...

19700125 002259: /system/bin/busybox mv /storage/sdcard1/XZDualRecovery/chargemon.log /storage/sdcard1/XZDualRecovery/chargemon.log.old

19700125 002259: RET=0

19700125 002259: /system/bin/busybox touch /storage/sdcard1/XZDualRecovery/chargemon.log

19700125 002259: RET=0

19700125 002259: /system/bin/busybox chmod 660 /storage/sdcard1/XZDualRecovery/chargemon.log

19700125 002259: RET=0

sdcard1/XZDualRecovery/chargemon.log.old (loading CWM, fail)

19700125 002158: ### chargemon start...

19700125 002158: ### BUSYBOX=/system/bin/busybox

19700125 002158: ### Trigger vibrator

19700125 002158: ### Turn on green led

19700125 002158: ### keycheck...

19700125 002158: /system/bin/busybox sleep 3

19700125 002158: /system/bin/busybox cat /dev/input/event6

19700125 002158: RET=0

19700125 002201: ### recovery boot mode...

19700125 002201: /system/bin/busybox hexdump

19700125 002201: RET=0

19700125 002201: export VOLUKEYCHECK=0000000 0006 0000 0052 0000 0001 0073 0001 0000

/system/bin/chargemon[356]: export: 0006: not identifier

19700125 002201: export VOLDKEYCHECK=

19700125 002201: RET=0

19700125 002201: /system/bin/busybox rm /dev/keycheck

19700125 002201: RET=0

19700125 002201: /system/bin/busybox rm /dev/keycheck1

19700125 002201: RET=0

19700125 002201: cd /

19700125 002201: RET=0

19700125 002201: ### Booting CWM by keypress...

19700125 002201: ### start time_daemon...

19700125 002201: /system/bin/busybox sleep 5

19700125 002201: RET=0

20130509 125341: ### kill time_daemon...

20130509 125341: /system/bin/busybox kill -9 319

20130509 125341: RET=0

20130509 125341: ### stop init services...

20130509 125341: stop rmt_storage

20130509 125341: RET=0

20130509 125341: stop

20130509 125341: RET=0

20130509 125341: stop tad_static

20130509 125341: RET=0

20130509 125342: stop

20130509 125342: RET=0

20130509 125342: stop ueventd

20130509 125342: RET=0

20130509 125342: stop

20130509 125342: RET=0

20130509 125343: ### remount rootfs to rw...

20130509 125343: /system/bin/busybox mount -o remount,rw rootfs /

20130509 125343: RET=0

20130509 125343: /system/bin/busybox rm sdcard etc tmp init init.goldfish.rc init.qcom.class_core.sh init.qcom.class_main.sh init.qcom.early_boot.sh init.qcom.rc init.qcom.ril.sh init.qcom.sh init.qcom.syspart_fixup.sh init.rc init.sony-device.rc init.sony-platform.rc init.sony.rc init.target.rc init.trace.rc init.usb.rc init.usbmode.sh ueventd.goldfish.rc ueventd.qcom.rc ueventd.rc default.prop

20130509 125343: RET=0

20130509 125343: /system/bin/busybox rm -r sbin

20130509 125343: RET=0

20130509 125343: /system/bin/busybox lzcat /system/bin/recovery.cwm.cpio.lzma

20130509 125343: RET=0

20130509 125343: ### umount partitions...

20130509 125343: /system/bin/busybox umount -l /data/idd

20130509 125343: RET=0

20130509 125343: /system/bin/busybox umount -l /data

20130509 125343: RET=0

20130509 125344: /system/bin/busybox kill -9 171

20130509 125344: RET=0

20130509 125344: /system/bin/busybox umount -l /system

20130509 125344: RET=0

: ### executing init...

Conclussion:

lockeddualrecovery1.6.zip - installs and uses busybox in xbin - does not mount my sdcard - TWRP ok, CWM fail

lockeddualrecovery1.6.installer.zip - installs busybox in xbin, but it needs to be in bin - mounts my sd card allright - once busybox is copied to bin, TWRP ok, CWM fail.