[Android Q&A, Help & Troubleshooting] grappas:
/cache/log/ua_log.txt

< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: executable_name -> "/tmp/rb_ua"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: config_file -> "/tmp/rb_ua.conf"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: work_dir -> "/cache/workdir"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: log_path -> "/cache/logs/ua_log"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: delta_path -> "(null)"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: exec_path -> "/tmp/exec"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: partitions_list -> "/system/etc/rb_recovery.fstab"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: result_file -> "/cache/result"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: in_ota_zip -> 1
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: fs_installer_types -> ""
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: fs_installer_ordinal -> -1
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: delta_location -> "/cache/delta"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: max_num_process -> 8
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: max_proc_ram -> -1
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: set_boot_to_recovery -> 0
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: raw_delta -> 0
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: in_recovery_kernel -> 1
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: no_reboot -> 1
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: no_ui -> 0
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: part_list_fstab_format -> 0
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: recovery_command -> "rb_ignore"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: wipe_ignore_path -> ""
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: log_history -> 8
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: update_flavor -> "std"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: update_dir -> "/system"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: mount_point -> "/system"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: pul_path -> ""
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: virtual_fs -> "fuse"
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: use_aufs -> 0
< 00 > [ 3121095 ] [pid 364 tid 714684]
Update Agent
Copyright (C) 1999-2015, Red Bend Software. All Rights Reserved.
Version: 10.0.1.12

< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend PL: Got parent process' arguments:
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: argv[0] => /tmp/update_binary
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: argv[1] => 3
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: argv[2] => 25
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend UA: argv[3] => /sideload/package.zip
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend PL: In recovery mode, continuing images update
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend PL: Update started
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend PL: Looking for Delta offset in OTA ZIP
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend PL: OTA ZIP is 177085700 bytes long
< 00 > [ 3121095 ] [pid 364 tid 714684] Redbend PL: Found DP in OTA ZIP at offset 0x33
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: Percents ranges:
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 0:	0-1	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 1:	1-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 2:	1-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 3:	1-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 4:	1-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 5:	1-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 6:	1-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 7:	1-18	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 8:	20-0	custom op 1
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 9:	20-74	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 10:	94-5	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 11:	99-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 12:	99-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 13:	99-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 14:	99-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 15:	99-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 16:	99-0	custom op 0
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: 17:	100-0	custom op 1
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: UI Init
< 00 > [ 3121107 ] [pid 364 tid 714684] Redbend PL: Performing modem partition update (op 1)
< 00 > [ 3121110 ] [pid 364 tid 714684] Redbend PL: modem partition update done, ret 0
< 00 > [ 3121110 ] [pid 364 tid 714684] Redbend PL: Performing rpm partition update (op 1)
< 00 > [ 3121113 ] [pid 364 tid 714684] Redbend PL: rpm partition update done, ret 0
< 00 > [ 3121113 ] [pid 364 tid 714684] Redbend PL: Performing sbl1 partition update (op 1)
< 00 > [ 3121115 ] [pid 364 tid 714684] Redbend PL: sbl1 partition update done, ret 0
< 00 > [ 3121115 ] [pid 364 tid 714684] Redbend PL: Performing tz partition update (op 1)
< 00 > [ 3121118 ] [pid 364 tid 714684] Redbend PL: tz partition update done, ret 0
< 00 > [ 3121118 ] [pid 364 tid 714684] Redbend PL: Performing aboot partition update (op 1)
< 00 > [ 3121120 ] [pid 364 tid 714684] Redbend PL: aboot partition update done, ret 0
< 00 > [ 3121120 ] [pid 364 tid 714684] Redbend PL: Performing boot partition update (op 1)
< 00 > [ 3121123 ] [pid 364 tid 714684] Redbend PL: boot partition update done, ret 0
< 00 > [ 3121123 ] [pid 364 tid 714684] Redbend PL: Performing splash partition update (op 1)
< 00 > [ 3121126 ] [pid 364 tid 714684] Redbend PL: splash partition update done, ret 0
< 00 > [ 3121126 ] [pid 364 tid 714684] Redbend PL: Starting system partition scout
< 00 > [ 3121131 ] [pid 364 tid 714684] FS partition delta dump
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: delta_sig - 0x1510e889
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: delta_size - 166746542
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: ver - 82000
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: scout_ver - 80000
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: flags - 0x90000000
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: runtype_flags - 0x284
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: ram_size - 0x514a2
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: sector_size - 0x40000
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: dic_sz - 0x1a0e6
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: compress_sz - 0x5f87
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: min_alloc_ram_use - 0x137
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: ext_info_sz - 2
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_copy - 1954
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_diff - 486
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_insert - 11
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_delete - 3
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_del_dirs - 0
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_dirs - 687
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_del_link - 0
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_link - 0
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_critical_update - 486
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Delta Info: num_critical_insert - 11
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Size mismatch in file /system/bin/app_process32 - expected 0x00003518, received 0x00012664
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Error in verifying source of partition
< 00 > [ 3121131 ] [pid 364 tid 714684] Waiting for all processes to exit...
< 00 > [ 3121131 ] [pid 364 tid 714684] RedBend: Run info - maximum number of simultaneous processes used - 0
< 00 > [ 3121131 ] [pid 364 tid 714684] Redbend PL: system partition scout done, ret 8000013e
< 00 > [ 3121131 ] [pid 364 tid 714684] Redbend PL: Error -2147483330 [No such file or directory] at /disk2/workspace/vRM_Product_UA_Android_Delivery_8.0_git/vcc-10.0.1.12/MloaderPhone/UAL/Linux/User/rb_ua/rb_ua.c:3431
< 00 > [ 3121131 ] [pid 364 tid 714684] Redbend PL: Error -2147483330 [No such file or directory] at /disk2/workspace/vRM_Product_UA_Android_Delivery_8.0_git/vcc-10.0.1.12/MloaderPhone/UAL/Linux/User/rb_ua/rb_ua.c:3758
< 00 > [ 3121131 ] [pid 364 tid 714684] Redbend PL: Error during scout: 318
< 00 > [ 3121131 ] [pid 364 tid 714684] Redbend PL: Update agent terminated

/cache/recovery/log.txt

__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 (pid 208) on Wed Mar 11 20:03:31 1970
recovery filesystem table
=========================
0 /system ext4 /dev/block/bootdevice/by-name/system 0
1 /cache ext4 /dev/block/bootdevice/by-name/cache 0
2 /data ext4 /dev/block/bootdevice/by-name/userdata -16384
3 /sdcard vfat /dev/block/mmcblk1p1 0
4 /boot emmc /dev/block/bootdevice/by-name/boot 0
5 /recovery emmc /dev/block/bootdevice/by-name/recovery 0
6 /misc emmc /dev/block/bootdevice/by-name/misc 0
7 /splash emmc /dev/block/bootdevice/by-name/splash 0
8 /tmp ramdisk ramdisk 0

I:Got arguments from /cache/recovery/command
locale is [pl_PL]
stage is []
reason is [(null)]
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 0 .length = 8
vi.green.offset = 8 .length = 8
vi.blue.offset = 16 .length = 8
framebuffer: 0 (540 x 960)
found frames = 7
installing_text: pl (337 x 33 @ 1258)
erasing_text: pl (109 x 33 @ 1258)
no_command_text: pl (162 x 33 @ 1258)
error_text: pl (45 x 33 @ 1258)
Command: "/sbin/recovery" "--update_package=/cache/__FUMO" "--locale=pl_PL"

av.offload.enable=false
mm.enable.qcom_parser=3407871
ro.fm.transmitter=false
ro.qc.sdk.audio.ssr=false
ro.qc.sdk.audio.fluencetype=fluence
ro.sf.lcd_density=240
ro.adb.secure=1
ro.cid=E02
ro.com.google.gmsversion=5.1_r3
ro.com.google.clientidbase=android-bullitt
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.com.widevine.cachesize=16777216
ro.frp.pst=/dev/block/bootdevice/by-name/config
ro.gps.agps_provider=1
ro.pip.gated=0
ro.sys.fw.bservice_age=5000
ro.sys.fw.bg_apps_limit=16
ro.sys.fw.bservice_limit=5
ro.sys.fw.bservice_enable=true
ro.sys.fw.empty_app_percent=50
ro.sys.fw.use_trim_settings=true
ro.sys.fw.trim_cache_percent=100
ro.sys.fw.trim_empty_percent=100
ro.sys.fw.trim_enable_memory=1073741824
ro.sys.usb.default.config=diag,serial_smd,rmnet_qti_bam,adb
ro.sys.umsdirtyratio=20
ro.boot.emmc=true
ro.boot.console=ttyHSL0
ro.boot.baseband=msm
ro.boot.hardware=qcom
ro.boot.serialno=ff78d667
ro.boot.cei_hw_id=MP1
ro.boot.cei_rf_id=EU
ro.boot.bootdevice=7824900.sdhci
ro.boot.cei_proj_id=LT32
ro.boot.ceibootmode=0
ro.boot.countrycode=E02
ro.boot.authorized_kernel=true
ro.hwui.text_large_cache_height=2048
ro.phys.mem=1G
ro.qcom.screencolor=1
ro.wifi.channels=
ro.allow.mock.location=0
ro.board.platform=msm8909
ro.build.id=LMY47O
ro.build.date=Sat Feb 6 15:40:45 CST 2016
ro.build.date.utc=1454744445
ro.build.host=vBuild1BT52
ro.build.tags=release-keys
ro.build.type=user
ro.build.user=rdadmin
ro.build.flavor=CatS40-user
ro.build.display.id=LTE_D0201121.0_S40_0.025.00
ro.build.product=CatS40
ro.build.version.sdk=22
ro.build.version.base_os=
ro.build.version.release=5.1
ro.build.version.codename=REL
ro.build.version.software=LTE_D0201121.0_S40_0.025.00
ro.build.version.incremental=1833
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2016-03-01
ro.build.description=msm8909-user 5.1 LMY47O 1833 release-keys
ro.build.fingerprint=Cat/CatS40/CatS40:5.1/LMY47O/LTE_D0201121.0_S40_0.025.00:user/release-keys
ro.build.characteristics=default
ro.config.low_ram=false
ro.config.ringtone=Noises1.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.max_starting_bg=8
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.secure=1
ro.vendor.extension_library=libqti-perfd-client.so
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=CatS40
ro.product.board=msm8909
ro.product.brand=Cat
ro.product.model=S40
ro.product.device=CatS40
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=BullittGroupLimited
ro.baseband=msm
ro.bootmode=unknown
ro.hardware=qcom
ro.opengles.version=196608
ro.qualcomm.cabl=2
ro.revision=0
ro.serialno=ff78d667
ro.telephony.default_network=9
ro.alarm_boot=false
ro.bootloader=unknown
ro.debuggable=0
ro.factorytest=0
ro.setupwizard.mode=OPTIONAL
ro.core_ctl_max_cpu=4
ro.core_ctl_min_cpu=2
ro.use_data_netmgrd=true
ro.cutoff_voltage_mv=3200
dev.pm.dyn_samplingrate=1
drm.service.enabled=true
mmp.enable.3g2=true
net.bt.name=Android
net.change=net.bt.name
rec.playback.conc.disabled=true
ril.subscription.types=NV,RUIM
sys.hwc.gpu_perf_mode=1
sys.audio.init=false
use.voice.path.for.pcm.voip=true
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
rild.libargs=-d /dev/smd0
rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so
audio.dolby.ds2.enabled=false
audio.offload.min.duration.secs=30
audio.offload.buffer.size.kb=64
audio.offload.gapless.enabled=true
debug.sf.hw=1
debug.sf.hwc.canUseABC=0
debug.sf.swaprect=0
debug.egl.hw=1
debug.hwc.dynThreshold=2.5
debug.cpurend.vsync=false
debug.mdpcomp.logs=0
debug.composition.type=dyn
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-http=true
media.stagefright.enable-scan=true
media.stagefright.use-awesome=false
media.stagefright.enable-fma2dp=true
media.stagefright.enable-player=true
media.aac_51_output_enabled=true
voice.voip.conc.disabled=true
voice.record.conc.disabled=true
voice.playback.conc.disabled=true
config.disable_atlas=true
dalvik.vm.isa.arm.features=div
dalvik.vm.heapsize=256m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=6m
dalvik.vm.heapstartsize=14m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.heaptargetutilization=0.75
tunnel.audio.encode=false
persist.mm.sta.enable=1
persist.cne.feature=1
persist.dpm.feature=3
persist.gps.qc_nlp_in_use=1
persist.hwc.enable_vds=1
persist.loc.nlp_name=com.qualcomm.location
persist.sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb
persist.sys.dalvik.vm.lib.2=libart.so
persist.sys.synaptics_dsx.qhd=false
persist.sys.isUsbOtgEnabled=true
persist.data.mode=concurrent
persist.data.netmgrd.qos.enable=true
persist.demo.hdmirotationlock=false
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.fluence.speaker=false
persist.audio.fluence.voicerec=false
persist.audio.fluence.voicecall=true
persist.debug.wfd.enable=1
persist.radio.csvt.enabled=false
persist.radio.calls.on.ims=0
persist.radio.jbims=0
persist.radio.rat_on=combine
persist.radio.multisim.config=dsds
persist.radio.custom_ecc=1
persist.radio.mt_sms_ack=20
persist.radio.sib16_support=1
persist.radio.apm_sim_not_pwdn=1
persist.timed.enable=true
persist.camera.longshot.stages=1
persist.tuning.qdcm=1
persist.denoise.process.plates=0
persist.service.eapd.enable=1
persist.fuse_sdcard=true
keyguard.no_require_sim=true
telephony.lteOnCdmaDevice=1
DEVICE_PROVISIONED=1

Finding update package...
I:Update location: /cache/__FUMO
Opening update package...
I:read key e=3 hash=20
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1604 bytes; signature 1586 bytes from end
I:whole-file signature verified against RSA key 0
I:verify_file returned 0
Installing update...
Extracting Redbend's Update Agent...
minzip: Extracted 2 file(s)
Running Red Bend Update Agent...
about to run program [/tmp/rb_ua] with 9 args
E:unknown command [RB]
Verifying images...
Error: Source images are different than expectedInfo: Using /cache/logs/ua_log as log file

Update Agent
Copyright (C) 1999-2015, Red Bend Software. All Rights Reserved.
Version: 10.0.1.12

recovery filesystem table
=========================
0 ramdisk ramdisk (null) ""
1 /system ext4 /dev/block/bootdevice/by-name/system (null) "system"
2 /cache ext4 /dev/block/bootdevice/by-name/cache (null) "cache"
3 /data ext4 /dev/block/bootdevice/by-name/userdata (null) "data"
4 /persist ext4 /dev/block/bootdevice/by-name/persist (null) "persist"
5 /boot emmc /dev/block/bootdevice/by-name/boot (null) "boot"
6 /recovery emmc /dev/block/bootdevice/by-name/recovery (null) "recovery"
7 /misc emmc /dev/block/bootdevice/by-name/misc (null) "misc"
8 /modem emmc /dev/block/bootdevice/by-name/modem (null) "modem"
9 /aboot emmc /dev/block/bootdevice/by-name/aboot (null) "aboot"
10 /rpm emmc /dev/block/bootdevice/by-name/rpm (null) "rpm"
11 /sbl1 emmc /dev/block/bootdevice/by-name/sbl1 (null) "sbl1"
12 /splash emmc /dev/block/bootdevice/by-name/splash (null) "splash"
13 /tz emmc /dev/block/bootdevice/by-name/tz (null) "tz"

Info: log file /cache/logs/ua_log is already open
Update agent terminated
run_program: child exited with status 62

script succeeded: result was [15872]
I:Saving locale "pl_PL"
I:Saving locale "pl_PL"
I:Saving locale "pl_PL

I think that's because I've recently rooted phone with KingoRoot which overwritten some executables. Is there any way to bypass that redbend update software and perform an update?

I've also intercepted an update package:

https://drive.google.com/open?id=0B2Myu0CQTYbLWGpjQVlrRFUwaUE