[Sony Xperia XZ Premium Guides, News, & Discussion] Mutex88:
Hey storm and all the others,

after a lot of reading I'd started my root attempt for my XZ Premium G8141 47.1.A.12.75. It's not my first Sony I root and it used to work fine.

Installed ADB and all this stuff, managed to trick win10 in accepting the modified drivers and all went quite well. Checked for fastboot connectivity with sdk platform-tools' cmd "fastboot devices" -> success. So I continued unlocking the bootloader and there my trouble starts:

FAILED (remote: Command not allowed)
finished. total time: 0.055s

I just hit enter again and voilá:

OKAY [ 1.032s]
finished. total time: 1.033s

So I started up XperiFIX and it was happy with my device. The fix went through, TWRP showed up, I did the swipe to allow modifications and the device started. It showed me the "Your device has been unlocked and can not be trusted" sign and got stuck in a boot loop. TWRP was still accessible, though.

So just used XperiFIX again. Went through, TWRP showed up, restart, "Your device.. bla bla" message showed up aaand it starts.

Camera works, all seems to be normal but there is no root and nothing. It basically is like the standard off the shelve phone, like it was before.

The service menu shows me "Rooting status: Bootloader unlock allowed: Yes", which means, the bootloader is locked, right? oO

So I plugged it in again and fastboot tells me:

FAILED (remote: Device already unlocked)
finished. total time: 0.011s

So here I'm stuck and have no idea, what to do. Is my bootloader still locked or not? And why didn't the root work?

Anyone, any good advise?

Cheers,

Rico

Here my last logs: (Sry, don't know why, but I can't attache any files..)

05-3-2018_15-21-23 ===> Serial: CB512E6S9D
05-3-2018_15-21-23 ===> Get device product id

product: G8141
finished. total time: 0.001s
05-3-2018_15-21-23 ===> Get device firmware info

version-baseband: 1306-8499_47.1.A.12.75
finished. total time: 0.000s

05-3-2018_15-21-35 ===> Flash TWRP

target reported max download size of 536870912 bytes
sending 'recovery' (21692 KB)...
OKAY [ 0.660s]
writing 'recovery'...
OKAY [ 0.003s]
finished. total time: 0.663s
05-3-2018_15-21-41 ===> Boot TWRP

downloading 'boot.img'...
OKAY [ 0.755s]
booting...
OKAY [ 5.789s]
finished. total time: 6.545s
05-3-2018_15-22-04 ===> Mount /system

Mounted '/system'
Done processing script file
05-3-2018_15-22-08 ===> List /system

drwxr-xr-x 147 root root 4096 Jan 24 2018 app
drwxr-xr-x 3 root shell 8192 Jan 24 2018 bin
-rw------- 1 root root 14350 Jan 24 2018 build.prop
-rw-r--r-- 1 root root 19143 Jan 24 2018 compatibility_matrix.xml
drwxr-xr-x 24 root root 4096 Jan 24 2018 etc
drwxr-xr-x 2 root root 4096 Jan 24 2018 fake-libs
drwxr-xr-x 2 root root 4096 Jan 24 2018 fake-libs64
drwxr-xr-x 2 root root 8192 Jan 24 2018 fonts
drwxr-xr-x 5 root root 8192 Jan 24 2018 framework
drwxr-xr-x 10 root root 16384 Jan 24 2018 lib
drwxr-xr-x 8 root root 20480 Jan 24 2018 lib64
drwx------ 2 root root 4096 Jan 1 1970 lost+found
-rw-r--r-- 1 root root 2808 Jan 24 2018 manifest.xml
drwxr-xr-x 3 root root 4096 Jan 24 2018 media
drwxr-xr-x 119 root root 4096 Jan 24 2018 priv-app
drwxr-xr-x 4 root root 4096 Jan 24 2018 somc
drwxr-xr-x 3 root root 4096 Jan 24 2018 tts
drwxr-xr-x 9 root root 4096 Jan 24 2018 usr
drwxr-xr-x 17 root shell 4096 Jan 24 2018 vendor
05-3-2018_15-22-11 ===> List credmgr files

ls: /data/credmgr/: No such file or directory
05-3-2018_15-22-12 ===> Remove credmgr files

05-3-2018_15-22-13 ===> List credmgr files

ls: /data/credmgr/: No such file or directory
05-3-2018_15-22-14 ===> Pull system file

[ 6%] /system/vendor/bin/secd
[ 12%] /system/vendor/bin/secd
[ 18%] /system/vendor/bin/secd
[ 24%] /system/vendor/bin/secd
[ 30%] /system/vendor/bin/secd
[ 36%] /system/vendor/bin/secd
[ 42%] /system/vendor/bin/secd
[ 48%] /system/vendor/bin/secd
[ 54%] /system/vendor/bin/secd
[ 60%] /system/vendor/bin/secd
[ 66%] /system/vendor/bin/secd
[ 72%] /system/vendor/bin/secd
[ 78%] /system/vendor/bin/secd
[ 84%] /system/vendor/bin/secd
[ 90%] /system/vendor/bin/secd
[ 96%] /system/vendor/bin/secd
[100%] /system/vendor/bin/secd
/system/vendor/bin/secd: 1 file pulled. 25.1 MB/s (1082816 bytes in 0.041s)
05-3-2018_15-22-15 ===> Push system file

[ 6%] /system/vendor/bin/secd
[ 12%] /system/vendor/bin/secd
[ 18%] /system/vendor/bin/secd
[ 24%] /system/vendor/bin/secd
[ 30%] /system/vendor/bin/secd
[ 36%] /system/vendor/bin/secd
[ 42%] /system/vendor/bin/secd
[ 48%] /system/vendor/bin/secd
[ 54%] /system/vendor/bin/secd
[ 60%] /system/vendor/bin/secd
[ 66%] /system/vendor/bin/secd
[ 72%] /system/vendor/bin/secd
[ 78%] /system/vendor/bin/secd
[ 84%] /system/vendor/bin/secd
[ 90%] /system/vendor/bin/secd
[ 96%] /system/vendor/bin/secd
[100%] /system/vendor/bin/secd
C:\XperiFIX\DATA\DRM\****that.bin: 1 file pushed. 21.8 MB/s (1082816 bytes in 0.047s)
05-3-2018_15-22-16 ===> Push lib file

[100%] /system/vendor/lib/drmfix.so
C:\XperiFIX\DATA\DRM\lib\drmfix.so: 1 file pushed. 13.4 MB/s (42364 bytes in 0.003s)
05-3-2018_15-22-17 ===> Push lib file

[100%] /system/vendor/lib64/drmfix.so
C:\XperiFIX\DATA\DRM\lib64\drmfix.so: 1 file pushed. 16.9 MB/s (35520 bytes in 0.002s)
05-3-2018_15-22-18 ===> Push lib file

[100%] /system/vendor/lib/drm****.so
C:\XperiFIX\DATA\DRM\lib\drm****.so: 1 file pushed. 5.7 MB/s (6004 bytes in 0.001s)
05-3-2018_15-22-19 ===> Push lib file

[100%] /system/vendor/lib64/drm****.so
C:\XperiFIX\DATA\DRM\lib64\drm****.so: 1 file pushed. 6.6 MB/s (6888 bytes in 0.001s)
05-3-2018_15-22-20 ===> Change file attributes

05-3-2018_15-22-21 ===> Change file attributes

05-3-2018_15-22-22 ===> Change file attributes

05-3-2018_15-22-24 ===> Change file attributes

05-3-2018_15-22-25 ===> Change file attributes

05-3-2018_15-22-26 ===> Change file attributes

05-3-2018_15-22-27 ===> Change file attributes

05-3-2018_15-22-28 ===> Change file attributes

05-3-2018_15-22-29 ===> Change file attributes

05-3-2018_15-22-30 ===> Change file attributes

05-3-2018_15-22-31 ===> Change file attributes

05-3-2018_15-22-32 ===> Change file attributes

05-3-2018_15-22-33 ===> Change file attributes

05-3-2018_15-22-34 ===> Change file attributes

05-3-2018_15-22-35 ===> Change file attributes

05-3-2018_15-22-36 ===> Push XperiFIX Flasher

[ 4%] /tmp/xperifixflash.zip
[ 9%] /tmp/xperifixflash.zip
[ 13%] /tmp/xperifixflash.zip
[ 18%] /tmp/xperifixflash.zip
[ 22%] /tmp/xperifixflash.zip
[ 27%] /tmp/xperifixflash.zip
[ 31%] /tmp/xperifixflash.zip
[ 36%] /tmp/xperifixflash.zip
[ 40%] /tmp/xperifixflash.zip
[ 45%] /tmp/xperifixflash.zip
[ 49%] /tmp/xperifixflash.zip
[ 54%] /tmp/xperifixflash.zip
[ 59%] /tmp/xperifixflash.zip
[ 63%] /tmp/xperifixflash.zip
[ 68%] /tmp/xperifixflash.zip
[ 72%] /tmp/xperifixflash.zip
[ 77%] /tmp/xperifixflash.zip
[ 81%] /tmp/xperifixflash.zip
[ 86%] /tmp/xperifixflash.zip
[ 90%] /tmp/xperifixflash.zip
[ 95%] /tmp/xperifixflash.zip
[ 99%] /tmp/xperifixflash.zip
[100%] /tmp/xperifixflash.zip
C:\XperiFIX\DATA\DRM\xperifix.zip: 1 file pushed. 23.1 MB/s (1443180 bytes in 0.059s)
05-3-2018_15-22-37 ===> Push Magisk

[ 1%] /tmp/magiskflash.zip
[ 2%] /tmp/magiskflash.zip
[ 3%] /tmp/magiskflash.zip
[ 4%] /tmp/magiskflash.zip
[ 5%] /tmp/magiskflash.zip
[ 7%] /tmp/magiskflash.zip
[ 8%] /tmp/magiskflash.zip
[ 9%] /tmp/magiskflash.zip
[ 10%] /tmp/magiskflash.zip
[ 11%] /tmp/magiskflash.zip
[ 12%] /tmp/magiskflash.zip
[ 14%] /tmp/magiskflash.zip
[ 15%] /tmp/magiskflash.zip
[ 16%] /tmp/magiskflash.zip
[ 17%] /tmp/magiskflash.zip
[ 18%] /tmp/magiskflash.zip
[ 19%] /tmp/magiskflash.zip
[ 21%] /tmp/magiskflash.zip
[ 22%] /tmp/magiskflash.zip
[ 23%] /tmp/magiskflash.zip
[ 24%] /tmp/magiskflash.zip
[ 25%] /tmp/magiskflash.zip
[ 26%] /tmp/magiskflash.zip
[ 28%] /tmp/magiskflash.zip
[ 29%] /tmp/magiskflash.zip
[ 30%] /tmp/magiskflash.zip
[ 31%] /tmp/magiskflash.zip
[ 32%] /tmp/magiskflash.zip
[ 33%] /tmp/magiskflash.zip
[ 35%] /tmp/magiskflash.zip
[ 36%] /tmp/magiskflash.zip
[ 37%] /tmp/magiskflash.zip
[ 38%] /tmp/magiskflash.zip
[ 39%] /tmp/magiskflash.zip
[ 40%] /tmp/magiskflash.zip
[ 42%] /tmp/magiskflash.zip
[ 43%] /tmp/magiskflash.zip
[ 44%] /tmp/magiskflash.zip
[ 45%] /tmp/magiskflash.zip
[ 46%] /tmp/magiskflash.zip
[ 48%] /tmp/magiskflash.zip
[ 49%] /tmp/magiskflash.zip
[ 50%] /tmp/magiskflash.zip
[ 51%] /tmp/magiskflash.zip
[ 52%] /tmp/magiskflash.zip
[ 53%] /tmp/magiskflash.zip
[ 55%] /tmp/magiskflash.zip
[ 56%] /tmp/magiskflash.zip
[ 57%] /tmp/magiskflash.zip
[ 58%] /tmp/magiskflash.zip
[ 59%] /tmp/magiskflash.zip
[ 60%] /tmp/magiskflash.zip
[ 62%] /tmp/magiskflash.zip
[ 63%] /tmp/magiskflash.zip
[ 64%] /tmp/magiskflash.zip
[ 65%] /tmp/magiskflash.zip
[ 66%] /tmp/magiskflash.zip
[ 67%] /tmp/magiskflash.zip
[ 69%] /tmp/magiskflash.zip
[ 70%] /tmp/magiskflash.zip
[ 71%] /tmp/magiskflash.zip
[ 72%] /tmp/magiskflash.zip
[ 73%] /tmp/magiskflash.zip
[ 74%] /tmp/magiskflash.zip
[ 76%] /tmp/magiskflash.zip
[ 77%] /tmp/magiskflash.zip
[ 78%] /tmp/magiskflash.zip
[ 79%] /tmp/magiskflash.zip
[ 80%] /tmp/magiskflash.zip
[ 81%] /tmp/magiskflash.zip
[ 83%] /tmp/magiskflash.zip
[ 84%] /tmp/magiskflash.zip
[ 85%] /tmp/magiskflash.zip
[ 86%] /tmp/magiskflash.zip
[ 87%] /tmp/magiskflash.zip
[ 89%] /tmp/magiskflash.zip
[ 90%] /tmp/magiskflash.zip
[ 91%] /tmp/magiskflash.zip
[ 92%] /tmp/magiskflash.zip
[ 93%] /tmp/magiskflash.zip
[ 94%] /tmp/magiskflash.zip
[ 96%] /tmp/magiskflash.zip
[ 97%] /tmp/magiskflash.zip
[ 98%] /tmp/magiskflash.zip
[ 99%] /tmp/magiskflash.zip
[100%] /tmp/magiskflash.zip
C:\XperiFIX\DATA\ROOT\magisk160.zip: 1 file pushed. 23.3 MB/s (5596059 bytes in 0.230s)
05-3-2018_15-22-39 ===> Run Xperifix Flasher

Installing zip file '/tmp/xperifixflash.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
######################################## XperiFIX patcher ## by sToRm//, version 2.0 ## patch boot image for DRM hack ########################################Unpacking the installer...Running boot image patcher...- Found boot partition at: /dev/block/sde35- Dumping & unpacking original boot image...- Detected ramdisk compression format: gzip- Running ramdisk patching scripts...- Executing: 020-patch-ramdisk-- Copying new files to the ramdisk...- Building new ramdisk (gzip)...- Building new boot image...- Found replacement ramdisk image!- Verifying boot image size...- Writing new boot image to memory...Boot image patching completeDone installing! Wohooo!Done processing script file
05-3-2018_15-22-44 ===> Flash Magisk

Installing zip file '/tmp/magiskflash.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
************************
* Magisk v16.0 Installer
************************
- Mounting /system, /vendor
- Found boot/ramdisk image: /dev/block/sde35
- Device platform: arm64
- Constructing environment
- Encrypted data detected, keep forceencrypt
- Unpacking boot image
- Checking ramdisk status
- Stock boot image detected
- Backing up stock boot image
- Patching ramdisk
- Repacking boot image
- Flashing new boot image
- Unmounting partitions
- Done
Done processing script file
05-3-2018_15-23-06 ===> Wipe Cache

Formatting Cache using make_ext4fs...
Done processing script file
05-3-2018_15-23-07 ===> Wipe Dalvik

Failed to mount '/data' (Invalid argument)
Done processing script file
05-3-2018_15-23-09 ===> Reboot