[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] pekmez95:
I tried a couple of times but always stopped at Sony logo.

Here is log file :

ROMA INSTALLER version 3.00

(c) 2013-2015 by amarullz.com

ROM Name : STOCK LIGHT ROM

ROM Version : 4.3

ROM Author : korom42

Device : Xperia Oreo

Start at : Thu Oct 8 00:47:20 1970

STOCK LIGHT ROM

by [MENTION=5033594]korom42[/MENTION] [MENTION=243864]xda[/MENTION]

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

umount: can't umount /system: Invalid argument

run_program: child exited with status 1

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

umount: can't umount /oem: Invalid argument

run_program: child exited with status 1

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

Creating filesystem with parameters:

Size: 398458880

Block size: 4096

Blocks per group: 32768

Inodes per group: 8112

Inode size: 256

Journal blocks: 1520

Label:

Blocks: 97280

Block groups: 3

Reserved block group size: 23

Created filesystem with 11/24336 inodes and 3100/97280 blocks

warning: wipe_block_device: Wipe via secure discard failed, used discard instead

about to run program [/sbin/sleep] with 2 args

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

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

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

about to run program [/sbin/sync] with 1 args

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

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

__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!

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

grep: #ro.qc.sdk.audio.fluencetype=fluencepro: No such file or directory

grep: #persist.debug.wfd.enable=1: No such file or directory

grep: =: No such file or directory

grep: true: No such file or directory

grep: sdm.debug.disable_inline_rotator_secure=1: No such file or directory

grep: ring.delay=0: No such file or directory

/tmp/tweakprop.sh: line 109: syntax error: unexpected "done"

run_program: child exited with status 2

Almost done..

Permissions Fix ..

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

Flashing Root..

Magisk selected

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

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

Archive: /tmp/Magisk/Magisk.zip

inflating: META-INF/com/google/android/update-binary

inflating: META-INF/com/google/android/updater-script

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

Archive: /tmp/Magisk/Magisk.zip

inflating: META-INF/com/google/android/update-binary

inflating: META-INF/com/google/android/updater-script

inflating: addon.d/99-magisk.sh

inflating: arm/magiskboot

inflating: arm/magiskinit

inflating: arm64/magiskboot

inflating: arm64/magiskinit

inflating: chromeos/futility

inflating: chromeos/kernel.keyblock

inflating: chromeos/kernel_data_key.vbprivk

inflating: common/boot_patch.sh

inflating: common/magisk.apk

inflating: common/util_functions.sh

inflating: x64/magiskboot

inflating: x64/magiskinit

inflating: x86/magiskboot

inflating: x86/magiskinit

inflating: META-INF/MANIFEST.MF

inflating: META-INF/CERT.SF

inflating: META-INF/CERT.RSA

************************

* Magisk v16.3 Installer

************************

- Mounting /system, /vendor

- Found boot/ramdisk image: /dev/block/sde35

sh: 21: unknown operand

- Device platform: arm

- Constructing environment

/dev/tmp/install/META-INF/com/google/android/updater-script: eval: line 1: /system/bin/dalvikvm: not found

/dev/tmp/install/META-INF/com/google/android/updater-script: /dev/tmp/install/common/boot_patch.sh: line 73: getprop: not found

- Unpacking boot image

/dev/tmp/install/META-INF/com/google/android/updater-script: /dev/tmp/install/common/boot_patch.sh: line 87: ./magiskboot: not found

- Checking ramdisk status

/dev/tmp/install/META-INF/com/google/android/updater-script: /dev/tmp/install/common/boot_patch.sh: line 116: ./magiskboot: not found

- Patching ramdisk

/dev/tmp/install/META-INF/com/google/android/updater-script: /dev/tmp/install/common/boot_patch.sh: line 161: ./magiskboot: not found

- Repacking boot image

/dev/tmp/install/META-INF/com/google/android/updater-script: /dev/tmp/install/common/boot_patch.sh: line 190: ./magiskboot: not found

! Unable to repack boot image!

- Unmounting partitions

run_program: child exited with status 1

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

Archive: /tmp/permissive/permissive.zip

creating: META-INF/com/google/android/

inflating: META-INF/com/google/android/update-binary

inflating: META-INF/com/google/android/updater-script

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

- Mounting /system, /vendor

Archive: /tmp/permissive/permissive.zip

creating: common/

inflating: common/post-fs-data.sh

inflating: config.sh

inflating: module.prop

*****************************************

Magisk SELinux Permissive Script

*****************************************

******************************

Powered by Magisk (@topjohnwu)

******************************

- Creating /data/adb/magisk.img with size 64M

/tmp/permissive/META-INF/com/google/android/update-binary: line 101: /data/adb/magisk/magisk: not found

- Mounting /data/adb/magisk.img to /dev/tmp/magisk_img

/tmp/permissive/META-INF/com/google/android/update-binary: line 101: /data/adb/magisk/magisk: not found

! /data/adb/magisk.img mount failed...

- Unmounting partitions

run_program: child exited with status 1

Done!

Have fun

script succeeded: result was [ ]

Installer Sucessfull (Status 0)

End at : Thu Oct 8 00:47:49 1970