[Sony Cross-Device General] fluffi444:
Pffff... fell dump now - was sure that I replaced it with mine :) But I see it now.. CB5A1**** and D5503 :) Not mine :)

But this cannot be the reason of not booting imho...or?

Here is the kernel... its incl DRM fix (which I removed from vendor/lib and in init.target.rc "export LD_PRELOAD")

https://drive.google.com/file/d/0Bx1QvE4qnmn6YTVfWU9WT3Vxb0U/view

EDIT

I ask to remove yours from pastebin... sorry for posting this...

EDIT2 This is mine

------------------------------------------------------------------------
Nougat Trim Area PoC kernel image patcher by Munjeni @ 2017
------------------------------------------------------------------------

hash:0x037C9C1E calc_hash:0x037C9C1E
hash:0x90A0164B calc_hash:0x90A0164B
hash:0x04E5A139 calc_hash:0x04E5A139
device: D5803
serial number: YT911*****
drm key: 0001046B 0010 ED EE 37 63 7B D8 AD 8B 03 C4 8C 1C 2A 3C 61 B0
Trim area dump is a valid.
Locked bootloader.
Deleting old folder ramdisk if exist...
if exist ramdisk (rd ramdisk /s/q)
returned: 0.
New directory ramdisk created.
Created ouput folder "out"
opening boot_Z3c.img
boot_Z3c.img is Android image format.
Dumping to out...
BOARD_KERNEL_CMDLINE androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=400M dwc3.
maximum_speed=high dwc3_msm.prop_chg_detect=Y androidboot.selinux=permissive
BOARD_KERNEL_BASE 00000000
BOARD_NAME
BOARD_PAGE_SIZE 2048
BOARD_KERNEL_OFFSET 00008000
BOARD_RAMDISK_OFFSET 02000000
BOARD_SECOND_OFFSET 00f00000
BOARD_TAGS_OFFSET 01e00000
BOARD_DT_SIZE 284672
Done.
No file exist out/boot_Z3c.img.elf .
Gunziping...
setting up infflate...
infflating...
infflate returned: 0
gzpipe: ok.
unziped: ok.
Extracting ramdisk.cpio...
Searching for file_contexts...
Found plaintext file_contexts@0644
Patching file "ramdisk/init.sony-platform.rc@0750"
Patching file "ramdisk/init.sony-platform.rc@0750"
Patching file "ramdisk/ueventd.rc@0644"
Patching file "ramdisk/file_contexts@0644"
Create ta scipt.
Create busybox.
TA.img (TA.img) installed.
Making sepolicy backup: ramdisk/backupsepolicy@0644
Patching sepolicy...
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12690 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12690 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12691 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12692 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12692 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12693 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12694 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12694 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12695 rules, 0 cond rules
Success
libsepol.policydb_index_others: security: 1 users, 2 roles, 1159 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 87 classes, 12696 rules, 0 cond rules
Success
-------------------------------------------------------------------------------------------
No users script found in current directory.
Right now you have chance to modify folder "ramdisk" manualy, press any key when done!
If you need to automate ramdisk modification, make an script.sh (lin) or script.bat (win),
and put in the same dir with mm_ta_poc.
-------------------------------------------------------------------------------------------

Drücken Sie eine beliebige Taste . . .
Repacking ramdisk...
ramdisk.cpio done.
Making ramdisk.gz
defflating...
defflate returned: 0
setting up infflate...
infflating...
infflate returned: 0
gzpipe: ok.
gzip: ok.
ramdisk.gz done.
Packing new_boot.img
cmdline="androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=400M dwc3.maximum_spee
d=high dwc3_msm.prop_chg_detect=Y androidboot.selinux=permissive
"
base="0x00000000"
pagesize="4096"
"amdiskoff="0x02000000
No kernel dt, probably zImage allready have dt appended? Continuing anyway.
making new_boot.img
new_boot.img created.
Done.

Drücken Sie eine beliebige Taste . . .

EDIT3

Regarding your following post: yes - "amdiskoff="0x02000000 looks like it should be ramdiskoff="0x02000000"

Thank you for taking so much care!