[G2 and Desire Z Q&A, Help & Troubleshooting] nagash91:
Hello,

I was trying to make a porting rom from Desire using dsixda Kitchen.

I used the option 19 to make a porting, using another rom ported from desire to desire z as working rom (to get kernel, kernel modules, keyboard and so on..)

Installation is ok but when I try to boot it stuck at HTC logo.

Using logcat or another ADB command I get only:

- exec '/system/bin/sh' failed: No such file or directory (2) -

So I pulled the recovery.log after installing my porting rom:

Starting recovery on Sun Apr 15 10:37:24 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (480 x 800)
ClockworkMod Recovery v5.0.2.7
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /recovery emmc /dev/block/mmcblk0p21 (null)
2 /boot emmc /dev/block/mmcblk0p22 (null)
3 /cache ext3 /dev/block/mmcblk0p27 (null)
4 /data ext3 /dev/block/mmcblk0p26 (null)
5 /sd-ext ext3 /dev/block/mmcblk1p2 (null)
6 /sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
7 /system ext3 /dev/block/mmcblk0p25 (null)

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=GRI40
ro.build.display.id=GWK74
ro.build.version.incremental=eng.koush.20111028.180155
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Fri Oct 28 18:02:25 PDT 2011
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=koush
ro.build.host=Koushik-Lion.local
ro.build.tags=test-keys
ro.product.model=HTC Vision
ro.product.brand=htc_wwe
ro.product.name=htc_vision
ro.product.device=vision
ro.product.board=vision
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=hdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=msm7x30
ro.build.product=vision
ro.build.description=2.42.405.2 CL84109 release-keys
ro.build.fingerprint=htc_wwe/htc_vision/vision:2.3.3/GRI40/84109:user/release-keys
ro.sf.lcd_density=240
debug.fb.rgb565=0
ro.gsm.2nd_data_retry_config=max_retries=3, 2000, 2000, 2000
rild.libpath=/system/lib/librilswitch.so
rilswitch.vendorlibpath=/system/lib/libhtc_ril.so
rilswitch.ganlibpath=/system/lib/libganril.so
ro.ril.enable.a53=1
ro.ril.enable.dtm=0
ro.ril.gprsclass=10
ro.ril.hsdpa.category=10
ro.ril.hsupa.category=6
ro.ril.hsxpa=2
ro.ril.def.agps.feature=1
ro.ril.disable.fd.plmn.prefix=23402,23410,23411
ro.ril.enable.sdr=0
ro.ril.enable.gea3=0
ro.telephony.default_network=0
wifi.interface=eth0
wifi.supplicant_scan_interval=15
mobiledata.interfaces=gannet0,rmnet0,rmnet1,rmnet2
ro.opengles.version=131072
dalvik.vm.heapsize=32m
ro.ril.def.agps.mode=2
ro.ril.disable.power.collapse=1
ro.com.google.clientidbase=android-tmobile-us
ro.com.google.clientidbase.vs=android-hms-tmobile-us
ro.com.google.clientidbase.ms=android-hms-tmobile-us
ro.com.google.locationfeatures=1
ro.com.google.networklocation=1
ro.com.google.gmsversion=2.2_r5
ro.setupwizard.enable_bypass=1
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
media.a1026.nsForVoiceRec=0
media.a1026.enableA1026=1
htc.audio.alt.enable=0
htc.audio.hac.enable=0
keyguard.no_require_sim=true
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.config.ringtone=Playa.ogg
ro.config.notification_sound=regulus.ogg
ro.config.alarm_alert=Alarm_Beep_03.ogg
ro.modversion=CyanogenMod-7.1.0-vision-KANG
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=SH0B9RT04800
ro.bootmode=recovery
ro.baseband=26.13.04.19_M
ro.carrier=HTC-ITA
ro.bootloader=0.84.2000
ro.hardware=vision
ro.revision=128
init.svc.choice_fn=stopped
init.svc.recovery=running
init.svc.htcbatt=stopped
init.svc.adbd=running
ro.9kramdump=0

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...

-- Installing: /sdcard/2.Flashable/vision_signed_041512_121934.zip
Finding update package...
I:Update location: /sdcard/2.Flashable/vision_signed_041512_121934.zip
Opening update package...
Installing update...
mke2fs: can't format mounted filesystem
format: format_ext3_device failed (-1) on /dev/block/mmcblk0p25mount: failed to mount /dev/block/mmcblk0p25 at /system: Device or resource busy
mount: failed to mount /dev/block/mmcblk0p26 at /data: Device or resource busy
minzip: Extracted file "/data/app/com.TEST.android.lvh-1.apk"
minzip: Extracted file "/data/app/com.adobe.flashplayer-1.apk"
minzip: Extracted file "/data/app/com.antutu.CpuMasterFree-1.apk"
minzip: Extracted file "/data/app/com.bigtincan.android.adfree.apk"
minzip: Extracted file "/data/app/com.estrongs.android.pop-1.apk"
minzip: Extracted file "/data/app/com.keramidas.TitaniumBackup-1.apk"
minzip: Extracted file "/data/app/com.koushikdutta.rommanager-1.apk"
minzip: Extracted file "/data/app/placeholder"
minzip: Extracted file "/data/app/ws.plattner.cifsmanager.apk"
minzip: Extracted file "/data/data/com.android.htcprofile/anr_history.txt"
minzip: Extracted file "/data/data/hosts"
minzip: Extracted file "/system/app/AccountSyncManager.apk"
minzip: Extracted file "/system/app/AccountSyncManager.odex"
minzip: Extracted file "/system/app/AppSharing.apk"
...
...
...
...
... (extraction of other /system files..)
...
...
...
minzip: Extracted file "/system/xbin/tcpdump"
minzip: Extracted file "/system/xbin/wireless_modem"
set_perm: chown of /system/etc/bluez to 0 0 failed: No such file or directory
set_perm: chmod of /system/etc/bluez to 775 failed: No such file or directory
set_perm: chown of /system/bin/openvpn to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/openvpn to 755 failed: No such file or directory
set_perm: chown of /system/bin/iproute-script.sh to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/iproute-script.sh to 755 failed: No such file or directory
set_perm: chown of /system/bin/vpnc to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/vpnc to 755 failed: No such file or directory
set_perm: chown of /system/bin/vpnc-script.sh to 1000 1000 failed: No such file or directory
set_perm: chmod of /system/bin/vpnc-script.sh to 755 failed: No such file or directory
set_perm: chown of /data/data/com.android.providers.contacts/files/* to 0 0 failed: No such file or directory
set_perm: chmod of /data/data/com.android.providers.contacts/files/* to 1232 failed: No such file or directory
mke2fs: can't format mounted filesystem
format: format_ext3_device failed (-1) on /dev/block/mmcblk0p27script result was [/data]

Install from sdcard complete.
Formatting /sd-ext...
I:Formatting unknown device.
I:Formatting ext3 device.
warning: 287 blocks unused

I don't like that (NULL) after the block allocation, but this is the first rom cooking and I don't understand if it is normal.

Also there are some errors at the end and at the begin of the installation, but they don't seems to me to be fatal errors..

Someone can help?

I have tryed also to install RCMIX kernel after this rom, that kernel is working with the other rom ported from desire that I'm using as base, working rom, for my porting.

(PS: it is sense 1.9 rom)

maybe I have to change updater script?

There are blocks problems?