[Galaxy S 4 i9505 Android Development] hawkerpaul:
Hi Phil

I'm not sure if this is any use to you mate, but regarding the random hang that seems to have been introduced since the last couple of versions when installing cwm .zip scripts, I got a hang today when installing latest KT kernel.

The problem seems to be random, but only when I have the device connected to PC via usb.

The hang occurs when unmounting /system in the script, and it can stay there indefinitely, but as soon as I disconnected the USB cable, the script carried on to the "press any key" type prompt.

The log was clean unfortunately, and looked like the script was run without error (which in the end, it did!)

Just in case, here is last_log:

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

Starting recovery on (UTC) Tue Jan 14 08:08:09 2014

framebuffer: fd 4 (1080 x 1920)

PhilZ Touch 6

CWM Base version: v6.0.4.6

I:Build version: 6.09.2 - i9505 (cm_jfltexx)

extra filesystem table (device2, fstype2, options2):

0 /storage/sdcard1 auto /dev/block/mmcblk1p1 0

1 /storage/usbdisk auto /dev/block/sda1 0

recovery filesystem table

=========================

0 /boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot 0

1 /recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery 0

2 /system ext4 /dev/block/platform/msm_sdcc.1/by-name/system 0

3 /cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache 0

4 /preload ext4 /dev/block/platform/msm_sdcc.1/by-name/hidden 0

5 /efs ext4 /dev/block/platform/msm_sdcc.1/by-name/efs 0

6 /data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata -16384

7 /storage/sdcard1 auto /devices/platform/msm_sdcc.2/mmc_host/mmc2 0

7 /storage/sdcard1 auto /dev/block/mmcblk1p1 0

8 /storage/usbdisk auto /devices/platform/msm_hsusb_host/usb 0

8 /storage/usbdisk auto /dev/block/sda1 0

9 /tmp ramdisk ramdisk 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!

W:Unable to get recovery.fstab info for /emmc during fstab generation!

W:Unable to get recovery.fstab info for /sdcard during fstab generation!

W:Unable to get recovery.fstab info for /sd-ext during fstab generation!

W:Unable to get recovery.fstab info for /external_sd during fstab generation!

I:Completed outputting fstab.

I:using /data/media/0 for /sdcard

I:Connected to Vold..

I:110 0 sdcard1 /storage/sdcard1 1

I:110 0 usbdisk /storage/usbdisk 0

I:200 0 Volumes listed.

I:Processing arguments.

I:Checking arguments.

I:device_recovery_start()

I:auto_restore_settings set to default (false)

I:check_root_and_recovery=0

I:nandroid_compression set to default (medium)

I:twrp_backup_mode set to default (false)

I:nandroid_preload set to default (0)

I:nandroid_md5sum=1

I:show_nandroid_size_progress set to default (1)

I:nand_prompt_on_low_space set to default (1)

I:set_brightness set to default (160)

I:menu_height=40

I:show_virtual_keys=1

I:min_log_rows set to default (3)

I:background_image set to default (default)

I:background_image set to default

I:Default stitch background loaded.

I:background_icon set to default (false)

I:show_battery set to default (true)

I:show_clock set to default (true)

I:menu_text_color set to default (8)

I:menu_background_color set to default (1)

I:menu_highlight_color set to default (7)

I:normal_text_color set to default (0)

I:menu_separator_color set to default (6)

I:header_text_color set to default (8)

I:batt_clock_color set to default (2)

I:menu_background_transparency set to default (102)

I:menu_highlight_transparency set to default (102)

I:menu_separator_transparency set to default (102)

I:show_menu_separation set to default (true)

I:dim_timeout set to default (60)

I:blank_timeout set to default (180)

I:scroll_sensitivity=80

I:touch_accuracy set to default (7)

I:touch_ui=double_tap

I:enable_vibrator set to default (true)

I:enable_keyrepeat set to default (true)

I:wait_after_install set to default (true)

I:slide_left_action set to default (5)

I:slide_right_action set to default (3)

I:double_tap_action set to default (2)

I:press_lift_action set to default (4)

I:press_move_action set to default (0)

I:time_zone set to default (0)

I:t_zone_offset set to default (0)

I:use_dst_time set to default (false)

I:Current time: 2014-01-14 08:08:11 (UTC 0:00)

Command: "/sbin/recovery"

ro.cm.device=jfltexx

ro.cm.version=11-20140112-UNOFFICIAL-jfltexx

ro.qc.sdk.audio.fluencetype=fluence

ro.sf.lcd_density=480

ro.com.google.clientidbase=android-google

ro.com.android.dateformat=MM-dd-yyyy

ro.com.android.dataroaming=false

ro.com.android.wifi-watchlist=GoogleGuest

ro.cwm.repeatable_keys=114,115

ro.cwm.enable_key_repeat=true

ro.ril.hsxpa=1

ro.ril.gprsclass=10

ro.ril.transmitpower=true

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.boot.emmc=true

ro.boot.csb_val=1

ro.boot.baseband=mdm

ro.boot.hardware=qcom

ro.boot.serialno=f31b81e2

ro.boot.bootloader=I9505XXUBMGA

ro.boot.debug_level=0x4f4c

ro.boot.boot_recovery=1

ro.boot.emmc_checksum=3

ro.boot.nvdata_backup=0

ro.boot.cp_debug_level=0x55FF

ro.cdma.subscribe_on_ruim_ready=true

ro.emmc=0

ro.emmc.sdcard.partition=17

ro.hwui.path_cache_size=32

ro.hwui.layer_cache_size=48

ro.hwui.texture_cache_size=72

ro.hwui.gradient_cache_size=1

ro.hwui.r_buffer_cache_size=8

ro.hwui.drop_shadow_cache_size=6

ro.hwui.text_large_cache_width=2048

ro.hwui.text_small_cache_width=1024

ro.hwui.text_large_cache_height=1024

ro.hwui.text_small_cache_height=1024

ro.hwui.texture_cache_flushrate=0.4

ro.wifi.channels=

ro.allow.mock.location=0

ro.board.platform=msm8960

ro.build.id=KOT49H

ro.build.date=Sun Jan 12 17:03:49 CET 2014

ro.build.date.utc=0

ro.build.host=ubuntu

ro.build.tags=test-keys

ro.build.type=userdebug

ro.build.user=root

ro.build.display.id=cm_jfltexx-userdebug 4.4.2 KOT49H 0cd21edcd5 test-keys

ro.build.product=jfltexx

ro.build.selinux=1

ro.build.version.sdk=19

ro.build.version.release=4.4.2

ro.build.version.codename=REL

ro.build.version.incremental=0cd21edcd5

ro.build.description=jfltexx-user 4.2.2 JDQ39 I9505XXUAMDE release-keys

ro.build.fingerprint=samsung/jfltexx/jflte:4.2.2/JDQ39/I9505XXUAMDE:user/release-keys

ro.build.characteristics=default

ro.config.ehrpd=true

ro.config.ringtone=Orion.ogg

ro.config.alarm_alert=Alarm_Classic.ogg

ro.config.notification_sound=OnTheHunt.ogg

ro.secure=1

ro.vendor.extension_library=/system/lib/libqc-opt.so

ro.carrier=unknown

ro.cmlegal.url=http://www.cyanogenmod.org/docs/privacy

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.name=jfltexx

ro.product.board=MSM8960

ro.product.brand=samsung

ro.product.model=GT-I9505

ro.product.device=jfltexx

ro.product.locale.region=US

ro.product.locale.language=en

ro.product.manufacturer=samsung

ro.baseband=mdm

ro.bootmode=unknown

ro.chipname=apq8064

ro.hardware=qcom

ro.opengles.version=196608

ro.revision=11

ro.serialno=f31b81e2

ro.telephony.ril.v3=newDriverCall

ro.telephony.call_ring.multiple=0

ro.telephony.ril_class=SamsungQualcommRIL

ro.telephony.default_network=9

ro.bootloader=I9505XXUBMGA

ro.debuggable=1

ro.modversion=11-20140112-UNOFFICIAL-jfltexx

ro.rommanager.developerid=cyanogenmod

ro.factorytest=0

ro.setupwizard.enterprise_mode=1

ro.use_data_netmgrd=true

com.qc.hardware=true

lpa.decode=true

net.bt.name=Android

net.change=net.bt.name

ril.subscription.types=NV,RUIM

init.svc.adbd=running

init.svc.vold=running

init.svc.healthd=running

init.svc.ueventd=running

init.svc.recovery=running

init.svc.setup_adbd=stopped

rild.libargs=-d /dev/smd0

rild.libpath=/system/lib/libril-qc-qmi-1.so

wifi.interface=wlan0

debug.sf.hw=1

debug.egl.hw=1

debug.mdpcomp.logs=0

media.aac_51_output_enabled=true

dalvik.vm.heapsize=512m

dalvik.vm.lockprof.threshold=500

dalvik.vm.heapmaxfree=8m

dalvik.vm.heapminfree=2m

dalvik.vm.dexopt-flags=m=y

dalvik.vm.heapstartsize=16m

dalvik.vm.heapgrowthlimit=192m

dalvik.vm.stack-trace-file=/data/anr/traces.txt

dalvik.vm.heaptargetutilization=0.75

persist.hwc.mdpcomp.enable=true

persist.ims.regmanager.mode=0

persist.omh.enabled=1

persist.sys.usb.config=mtp,adb

persist.sys.dalvik.vm.lib=libdvm.so

persist.sys.root_access=1

persist.data.ds_fmc_app.mode=0

persist.rild.nitz_plmn=

persist.rild.nitz_long_ons_0=

persist.rild.nitz_long_ons_1=

persist.rild.nitz_long_ons_2=

persist.rild.nitz_long_ons_3=

persist.rild.nitz_short_ons_0=

persist.rild.nitz_short_ons_1=

persist.rild.nitz_short_ons_2=

persist.rild.nitz_short_ons_3=

persist.audio.vr.enable=false

persist.audio.fluence.mode=endfire

persist.audio.handset.mic=digital

persist.audio.speaker.location=high

persist.radio.fill_eons=1

persist.radio.add_power_save=1

persist.radio.apm_sim_not_pwdn=1

persist.radio.no_wait_for_card=0

persist.radio.snapshot_disabled=1

persist.radio.use_se_table_only=1

persist.timed.enable=true

persist.fuse_sdcard=true

persist.data_netmgrd_nint=16

service.adb.root=1

keyguard.no_require_sim=true

recovery.perf.mode=0

telephony.lteOnGsmDevice=1

I:Checking for extendedcommand & OpenRecoveryScript...

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

I:Skipping execution of OpenRecoveryScript, file not found...

I:605 Volume sdcard1 /storage/sdcard1 state changed from 1 (Idle-Unmounted) to 3 (Checking)

I:/storage/sdcard1: Checking

I:613 sdcard1 /storage/sdcard1

I:614 sdcard1 /storage/sdcard1

I:605 Volume sdcard1 /storage/sdcard1 state changed from 3 (Checking) to 4 (Mounted)

I:/storage/sdcard1: Mounted

I:200 0 volume operation succeeded

I:setting up /data/media(/0) for /sdcard/clockworkmod/.no_confirm.

I:using /data/media/0 for /sdcard

I:setting up /data/media(/0) for /sdcard/clockworkmod/.many_confirm.

I:using /data/media/0 for /sdcard

-- Installing: /storage/sdcard1/Flash/S4/GE/4.4.2/KT-SGS4-KK4.4-TWGE-INTL-01.13.2014.zip

Finding update package...

I:Update location: /storage/sdcard1/Flash/S4/GE/4.4.2/KT-SGS4-KK4.4-TWGE-INTL-01.13.2014.zip

Opening update package...

Installing update...

about to run program [/sbin/busybox] with 3 args

mounting systemminzip: Extracted file "/system/app/com.ktoonsez.KTweaker.apk"

minzip: Extracted file "/system/lib/modules/adsprpc.ko"

minzip: Extracted file "/system/lib/modules/ansi_cprng.ko"

copying modulesminzip: Extracted file "/system/lib/modules/cifs.ko"

minzip: Extracted file "/system/lib/modules/dma_test.ko"

minzip: Extracted file "/system/lib/modules/evbug.ko"

minzip: Extracted file "/system/lib/modules/frandom.ko"

minzip: Extracted file "/system/lib/modules/gspca_main.ko"

minzip: Extracted file "/system/lib/modules/mcdrvmodule.ko"

minzip: Extracted file "/system/lib/modules/mckernelapi.ko"

minzip: Extracted file "/system/lib/modules/mmc_test.ko"

minzip: Extracted file "/system/lib/modules/msm-buspm-dev.ko"

minzip: Extracted file "/system/lib/modules/ntfs.ko"

minzip: Extracted file "/system/lib/modules/qce40.ko"

minzip: Extracted file "/system/lib/modules/qcedev.ko"

minzip: Extracted file "/system/lib/modules/qcrypto.ko"

minzip: Extracted file "/system/lib/modules/reset_modem.ko"

minzip: Extracted file "/system/lib/modules/scsi_wait_scan.ko"

minzip: Extracted file "/system/lib/modules/spidev.ko"

minzip: Extracted file "/system/lib/modules/tcp_bic.ko"

minzip: Extracted file "/system/lib/modules/tcp_htcp.ko"

unmounting system

Flashing Kernel

script result was [0.100000]

Install from sdcard complete.

I:setting up /data/media(/0) for /sdcard/clockworkmod/.last_install_path.

I:using /data/media/0 for /sdcard

press any key to continue.

Rebooting...

I:setting up /data/media(/0) for /sdcard/clockworkmod/.recovery_version.

I:using /data/media/0 for /sdcard