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

I see there has been a bit of work with regards to update-binary in the latest release.

I've just flashed latest Danvdh 4.4.2 GE ROM and got the following error:

__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) Thu Jan 16 10:40:57 2014

framebuffer: fd 4 (1080 x 1920)

PhilZ Touch 6

CWM Base version: v6.0.4.6

I:Build version: 6.09.6 - 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-16 10:41:00 (UTC 0:00)

Command: "/sbin/recovery"

mm.enable.smoothstreaming=true

ro.cm.device=jfltexx

ro.cm.display.version=11-20140115-UNOFFICIAL-jfltexx

ro.cm.version=11-20140115-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=Wed Jan 15 18:28:58 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 177c907cd2 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=177c907cd2

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-20140115-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/Danvdh-GE-4.4.2-01162014.zip

Finding update package...

I:Update location: /storage/sdcard1/Flash/S4/GE/4.4.2/Danvdh-GE-4.4.2-01162014.zip

Opening update package...

Installing update...

W:Using fallback updater for downgrade...

unmount of /system failed; no such volume

script aborted: format() expects 5 args, got 4

format() expects 5 args, got 4

E:Error in /storage/sdcard1/Flash/S4/GE/4.4.2/Danvdh-GE-4.4.2-01162014.zip

(Status 7)

Installation aborted.

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

The updater-script:

show_progress(0.1, 0);

unmount("/system");

format("ext4", "EMMC", "/dev/block/mmcblk0p16", "0");

mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");

package_extract_file("check_data_app", "/tmp/check_data_app");

set_perm(0, 0, 0777, "/tmp/check_data_app");

run_program("/tmp/check_data_app");

mount("ext4", "EMMC", "/dev/block/mmcblk0p29", "/data");

package_extract_dir("data", "/data");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");

package_extract_dir("system", "/system");

symlink("toolbox", "/system/bin/cat");

symlink("toolbox", "/system/bin/chcon");

symlink("toolbox", "/system/bin/chmod");

symlink("toolbox", "/system/bin/chown");

symlink("toolbox", "/system/bin/cmp");

symlink("toolbox", "/system/bin/cp");

symlink("toolbox", "/system/bin/date");

symlink("toolbox", "/system/bin/dd");

symlink("toolbox", "/system/bin/df");

symlink("toolbox", "/system/bin/dmesg");

symlink("toolbox", "/system/bin/du");

symlink("toolbox", "/system/bin/getenforce");

symlink("toolbox", "/system/bin/getevent");

symlink("toolbox", "/system/bin/getprop");

symlink("toolbox", "/system/bin/getsebool");

symlink("toolbox", "/system/bin/grep");

symlink("toolbox", "/system/bin/hd");

symlink("toolbox", "/system/bin/id");

symlink("toolbox", "/system/bin/ifconfig");

symlink("toolbox", "/system/bin/iftop");

symlink("toolbox", "/system/bin/insmod");

symlink("toolbox", "/system/bin/ioctl");

symlink("toolbox", "/system/bin/ionice");

symlink("toolbox", "/system/bin/kill");

symlink("toolbox", "/system/bin/ln");

symlink("toolbox", "/system/bin/load_policy");

symlink("toolbox", "/system/bin/log");

symlink("toolbox", "/system/bin/ls");

symlink("toolbox", "/system/bin/lsmod");

symlink("toolbox", "/system/bin/lsof");

symlink("toolbox", "/system/bin/md5");

symlink("toolbox", "/system/bin/mkdir");

symlink("toolbox", "/system/bin/mount");

symlink("toolbox", "/system/bin/mv");

symlink("toolbox", "/system/bin/nandread");

symlink("toolbox", "/system/bin/netstat");

symlink("toolbox", "/system/bin/newfs_msdos");

symlink("toolbox", "/system/bin/notify");

symlink("toolbox", "/system/bin/playback");

symlink("toolbox", "/system/bin/printenv");

symlink("toolbox", "/system/bin/ps");

symlink("toolbox", "/system/bin/renice");

symlink("toolbox", "/system/bin/restorecon");

symlink("toolbox", "/system/bin/rm");

symlink("toolbox", "/system/bin/rmdir");

symlink("toolbox", "/system/bin/rmmod");

symlink("toolbox", "/system/bin/route");

symlink("toolbox", "/system/bin/runcon");

symlink("toolbox", "/system/bin/schedtop");

symlink("toolbox", "/system/bin/sendevent");

symlink("toolbox", "/system/bin/setconsole");

symlink("toolbox", "/system/bin/setenforce");

symlink("toolbox", "/system/bin/setprop");

symlink("toolbox", "/system/bin/setsebool");

symlink("toolbox", "/system/bin/sleep");

symlink("toolbox", "/system/bin/smd");

symlink("toolbox", "/system/bin/start");

symlink("toolbox", "/system/bin/stop");

symlink("toolbox", "/system/bin/sync");

symlink("toolbox", "/system/bin/top");

symlink("toolbox", "/system/bin/touch");

symlink("toolbox", "/system/bin/touchinput");

symlink("toolbox", "/system/bin/umount");

symlink("toolbox", "/system/bin/uptime");

symlink("toolbox", "/system/bin/vmstat");

symlink("toolbox", "/system/bin/watchprops");

symlink("toolbox", "/system/bin/wipe");

symlink("mksh", "/system/bin/sh");

symlink("debuggerd", "/system/bin/csview");

set_perm_recursive(0, 0, 0755, 0644, "/system");

set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");

set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm(0, 1000, 04750, "/system/bin/diag_mdlog");

set_perm(0, 3003, 06755, "/system/bin/ip");

set_perm(0, 3003, 02750, "/system/bin/netcfg");

set_perm(0, 0, 0755, "/system/bin/ping");

set_perm(0, 2000, 0750, "/system/bin/run-as");

set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

set_perm(0, 2000, 0755, "/system/vendor");

set_perm(0, 2000, 0755, "/system/vendor/firmware");

set_perm(0, 2000, 0755, "/system/vendor/lib");

set_perm(0, 2000, 0755, "/system/vendor/lib/egl");

set_perm(0, 2000, 0755, "/system/vendor/lib/hw");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/mediadrm");

set_perm(0, 0, 0644, "/system/vendor/lib/mediadrm/libwvdrmengine.so");

set_perm(0, 2000, 0755, "/system/vendor/media");

set_perm(0, 2000, 0755, "/system/vendor/pittpatt");

set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models");

set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models/detection");

set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7");

set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/pittpatt/models/recognition");

set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N.bin");

set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");

set_perm(0, 1000, 0755, "/system/xbin/busybox");

symlink("/system/xbin/busybox", "/system/bin/busybox");

run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");

set_perm(0, 0, 0777, "/system/bin/.ext");

set_perm(0, 0, 06755, "/system/bin/.ext/.su");

set_perm(0, 0, 06755, "/system/xbin/su");

set_perm(0, 0, 06755, "/system/xbin/daemonsu");

set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");

set_perm(0, 0, 0644, "/system/etc/.installed_su_daemon");

set_perm(0, 0, 0644, "/system/app/Superuser.apk");

symlink("/system/xbin/su", "/system/bin/su");

show_progress(0.1, 10);

show_progress(0.2, 0);

assert(package_extract_file("boot.img", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p20"),

delete("/tmp/boot.img"));

show_progress(0.2, 10);

unmount("/system");

unmount("/data");

The script works on version 6.09.2

Perhaps its a case of developers having to update the format commands in their updater-scripts?