[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] munjeni:
No need uncrypt tool. Just modified block.map like this (420897111 / 4096) + 1;

/root/update_package_renamed
420897111 4096
1
0 102759

And this is a log

Fota log
Start time: 2019-10-19 17:44:46 (Time in UTC)
Current time: 2019-10-21 17:33:26 (Time in UTC)
Status written for DA: 0x60
Uptime: 569

Last log messages:
Info [292] Logging OK
Info [392] Current kernel id: 1
Info [1155] Found /cache/recovery/command
Info [1258] Command file for FOTA [--update_package=@/cache/recovery/block.map
--locale=en_GB]
Info [1329] Found locale_info[en_GB]
Info [1360] Package placed on 4
Info [1361] Package found [/cache/recovery/block.map]

=== Total memory info ===
Total physical memory: 967086080 bytes
Total available physical memory: 756494336 bytes
Configuration info at runtime:
The num of pages of physical memory: 236105
The num of currently available pages of physical memory: 184691
The num of processors configured: 2
The num of processors currently online (available): 2
Size of a page in bytes: 4096
Logging of resource usage measures:
Max resident set size ru_maxrss: 988 KB
Page reclaims ru_minflt: 97
Page faults ru_majflt: 0
Block input operations: 0
Block output operations: 0
===
WARN [35] Unable to open file: /sys/devices/virtual/thermal/thermal_zone10/temp, errno: No such file or directoryWARN [471] Error at ui_init
ERROR [59] Failed to open /dev/graphics/fb0
WARN [537] Error at ui_prepare
WARN [541] Error at ui_add_background
WARN [545] Error at ui_add_image
WARN [549] Error at ui_add_animation
WARN [561] Error at ui_set_resources
Info [578] Package OK
WARN [578] Error at ui_draw
WARN [582] Error at ui_start_animation
WARN [339] Error at ui_add_progress progressbar_normal
WARN [365] Error at ui_draw
WARN [322] Error at ui_add_progress progressbar_indeterminate
WARN [365] Error at ui_draw
WARN [381] Error ui_remove at locale_image
WARN [202] Error at ui_add_localized_image: -23
WARN [450] Error at ui_draw
Info [600] Security OK
ERROR [207] Unable to get security state. Error code: 4
Info [312] Couldn't get system security state
ERROR [246] Failed to get property file from both /vendor/build.prop and /cache/recovery/fota/properties/vendor_build.prop
ERROR [246] Failed to get property file from both /vendor/default.prop and /cache/recovery/fota/properties/vendor_default.prop
ERROR [246] Failed to get property file from both /vendor/build.prop and /cache/recovery/fota/properties/vendor_build.prop
ERROR [246] Failed to get property file from both /vendor/default.prop and /cache/recovery/fota/properties/vendor_default.prop
ERROR [246] Failed to get property file from both /vendor/build.prop and /cache/recovery/fota/properties/vendor_build.prop
ERROR [246] Failed to get property file from both /vendor/default.prop and /cache/recovery/fota/properties/vendor_default.prop
Info [619] Package meta-information OK
Info [132] Updater continues in 3 state
WARN [112] Unknown storage type:N/A
ERROR [166] readlink error for /dev/block/bootdevice/by-name/xbl
ERROR [50] Couldn't get device path
ERROR [183] Unable to create disks info
ERROR [148] dsi is NULL. Double free?
ERROR [343] Unable to destroy disks info
WARN [112] Unknown storage type:N/A
ERROR [166] readlink error for /dev/block/bootdevice/by-name/system
ERROR [114] LUN Error, Couldn't get device path.
ERROR [128] LBM Error, Open LUN for system failed.
WARN [45] LBM partition collect Error, system
ERROR [661] Error from ua_updater_start

=== Total memory info ===
Total physical memory: 967086080 bytes
Total available physical memory: 356274176 bytes
Configuration info at runtime:
The num of pages of physical memory: 236105
The num of currently available pages of physical memory: 86981
The num of processors configured: 2
The num of processors currently online (available): 2
Size of a page in bytes: 4096
Logging of resource usage measures:
Max resident set size ru_maxrss: 412968 KB
Page reclaims ru_minflt: 9686
Page faults ru_majflt: 3
Block input operations: 778000
Block output operations: 778000
===

Dump of internal data structures:

================================== ua_context ==================================
ua_ctx->last_result: 9 (RESULT_FATAL_EXIT)
ua_ctx->do_kernel_update: 0
ua_ctx->kid: 1 (KERNEL_NORMAL)
ua_ctx->t_ctx.tm: 1 (NO_TEST)

ua_ctx->fota_ua_executable: 0x0
ua_ctx->fota_ua_executable_size: 0
ua_ctx->copy_crypt_key: 0
ua_ctx->use_ua_charger: 0

============================== ua_logging_context ==============================
l_ctx->result: 0
l_ctx->use_console: 0

============================== ua_package_context ==============================
p_ctx->package.data: 0xffff63e99000
p_ctx->package.data_size: 420897111
p_ctx->package.signature: 0xffff7cffed57
p_ctx->package.fota_ua_executable: 0x0
p_ctx->package.fota_ua_executable_size: 0
p_ctx->package.meta_info calculated length: 1078
p_ctx->package.meta_info:
<?xml version='1.0' encoding='ISO-8859-1'?>
<metadata version="3.3">
<product>
<manufacturer>Sony</manufacturer>
<model>G8441</model>
<hwplatform>msm8998</hwplatform>
<security_state>HWC_Yoshino_Com_001</security_state></product>
<update>
<generation>
<version>1.1.39</version>
<date>2019-10-09T10:37:00Z</date>
<rb_version>11.2.0.4</rb_version>
<rb_ua_version>11.2.0.4</rb_ua_version>
</generation>
<source>
<software>
<revision>47.2.A.10.107</revision>
</software>
<customization>
<variant>1310-7123</variant>
<revision>R1C</revision>
</customization>
</source>
<target>
<software>
<revision>47.2.A.11.228</revision>
</software>
<customization>
<variant>1310-7123</variant>
<revision>R1C</revision>
</customization>
</target>
</update>
</metadata>
p_ctx->package.inc[0] = {
attributes: IA_IMAGE,
id: 0
address: 0xffff63e991a4
}
p_ctx->package.inc[1] = {
attributes: IA_IMAGE,
id: 1
address: 0xffff63f72638
}
p_ctx->package.inc[2] = {
attributes: IA_IMAGE, IA_OVERWRITE,
id: 2
address: 0xffff640381a2
}
p_ctx->package.inc[3] = {
attributes: IA_IMAGE, IA_OVERWRITE,
id: 3
address: 0xffff64038298
}
p_ctx->package.inc[4] = {
attributes: IA_IMAGE, IA_OVERWRITE,
id: 4
address: 0xffff64038394
}
p_ctx->package.inc[5] = {
attributes: IA_IMAGE, IA_OVERWRITE,
id: 5
address: 0xffff64038490
}
p_ctx->package.inc[6] = {
attributes: IA_IMAGE,
id: 7
address: 0xffff64051f79
}
p_ctx->package.inc[7] = {
attributes: IA_IMAGE,
id: 8
address: 0xffff64b12e48
}
p_ctx->package.inc[8] = {
attributes: IA_IMAGE,
id: 9
address: 0xffff64b12f39
}
p_ctx->package.inc[9] = {
attributes: IA_IMAGE,
id: 16
address: 0xffff64b1305c
}
p_ctx->package.inc[10] = {
attributes: IA_IMAGE,
id: 17
address: 0xffff7c3dfc8b
}
p_ctx->package.inc[11] = {
attributes: IA_IMAGE,
id: 18
address: 0xffff7cffe46a
}
p_ctx->result: 1 (PACKAGE_OK)
p_ctx->block_map_file: 1

============================= ua_security_context ==============================
s_ctx->result: 1

============================== ua_updater_context ==============================
u_ctx->result: 2
u_ctx->ui_error: 0
u_ctx->redbend_init_error: 0
u_ctx->redbend_verify: 0
u_ctx->redbend_write: 0
u_ctx->redbend_post: 0
u_ctx->redbend_error_code: 0
u_ctx->file_error: 0
u_ctx->lbm_error: 0
u_ctx->boot_error: 0
u_ctx->boot_verify: 0
u_ctx->boot_write: 0
u_ctx->boot_post: 0
u_ctx->google_error: 0
u_ctx->kid: 1 (KERNEL_NORMAL)
u_ctx->running.state: 3 (UPDATE_WRITING)
u_ctx->running.increment: 9

=============================== ua_file_context ================================
f_ctx->update_available: 1
f_ctx->package_path: /cache/recovery/block.map
f_ctx->package_location: 4
f_ctx->command_file_fota: 1

===================================== jitc =====================================
f_ctx->clear_data: 0
f_ctx->miscta_file_import: 0

================================== ui_context ==================================
ui_ctx->initialized: 1
ui_ctx->state: 0 (UI_UNPACK)
ui_ctx->increment_progress: 0
ui_ctx->ui_disabled: 0
ui_ctx->increment_index: 0
ui_ctx->keep_display_teardown: 0
ui_ctx->kid: 1 (KERNEL_NORMAL)
ui_ctx->locale_info: en_GB

============================== ua_memory_context ===============================
memory_ctx->total_memory: 967086080
memory_ctx->avail_total_memory: 356274176
memory_ctx->phys_pages: 236105
memory_ctx->avphys_pages: 86981
memory_ctx->nprocessors_conf: 2
memory_ctx->nprocessors_onln: 2
memory_ctx->page_size: 4096

It sucesfully extract metainfo and package.inc array. One interesting lines in log:

ERROR [166] readlink error for /dev/block/bootdevice/by-name/xbl
ERROR [148] dsi is NULL. Double free?

What it does with readlink to xbl? I must increase size of the root partition to be able to create some virtual partitions like system and xbl. I'm believing xtraction than will start

This is strace log

What reboot oem-50 do?

Edit:

One thing which might be intersting, if I delete ua_status getting this:

u_ctx->running.state: 2 (UPDATE_VERIFYING)

Seems update verification is skipped when using ua_status file from your archive, with it getting this:

u_ctx->running.state: 3 (UPDATE_WRITING)

And there is diferencie in p_ctx->package.inc addresses

Edit:

What you think, can we place ua binary and service to cwm recovery ramdisk and preload ua service with strace tool? Can it start stock rom ota update? I'm believing, probably yes.