[Sony Xperia XZ Premium Guides, News, & Discussion] lightbulb12294:
hi,

I encountered a situation that xperifix just skip mounting system as read/write and TWRP didn't ask me to confirm anything.

Then I check the log and it says "remote couldn't create file: Read-only file system" on every push and "Read-only file system" on other lines

Although I solved it by mount system by my finger as fast as possible (faster than what xperifix would do!:p), I just want to report this problem.

Thanks for all things you've done for us!

Here's the log (firmware: 47.1.A.12.75) :

20-3-2018_22-33-12 ===> Flash TWRP

target reported max download size of 536870912 bytes
sending 'recovery' (21692 KB)...
OKAY [ 0.459s]
writing 'recovery'...
OKAY [ 0.003s]
finished. total time: 0.461s
20-3-2018_22-33-17 ===> Boot TWRP

downloading 'boot.img'...
OKAY [ 0.547s]
booting...
OKAY [ 5.789s]
finished. total time: 6.337s
20-3-2018_22-33-41 ===> Mount /system

20-3-2018_22-33-45 ===> 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 14483 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 00:00 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
20-3-2018_22-33-48 ===> List credmgr files

-rw-rw---- 1 system system 40960 Mar 20 2018 credmgr.db
20-3-2018_22-33-49 ===> Remove credmgr files

20-3-2018_22-33-50 ===> List credmgr files

20-3-2018_22-33-51 ===> 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. 28.3 MB/s (1082816 bytes in 0.036s)
20-3-2018_22-33-52 ===> Push system file

adb: error: failed to copy 'C:\XperiFIX\DATA\DRM\****that.bin' to '/system/vendor/bin/secd': remote couldn't create file: Read-only file system
C:\XperiFIX\DATA\DRM\****that.bin: 0 files pushed. 5.9 MB/s (65536 bytes in 0.011s)
20-3-2018_22-33-53 ===> Push lib file

[100%] /system/vendor/lib/drmfix.so
adb: error: failed to copy 'C:\XperiFIX\DATA\DRM\lib\drmfix.so' to '/system/vendor/lib/drmfix.so': remote couldn't create file: Read-only file system
C:\XperiFIX\DATA\DRM\lib\drmfix.so: 0 files pushed. 13.5 MB/s (42364 bytes in 0.003s)
20-3-2018_22-33-54 ===> Push lib file

[100%] /system/vendor/lib64/drmfix.so
adb: error: failed to copy 'C:\XperiFIX\DATA\DRM\lib64\drmfix.so' to '/system/vendor/lib64/drmfix.so': remote couldn't create file: Read-only file system
C:\XperiFIX\DATA\DRM\lib64\drmfix.so: 0 files pushed. 11.5 MB/s (35520 bytes in 0.003s)
20-3-2018_22-33-55 ===> Push lib file

[100%] /system/vendor/lib/drm****.so
adb: error: failed to copy 'C:\XperiFIX\DATA\DRM\lib\drm****.so' to '/system/vendor/lib/drm****.so': remote couldn't create file: Read-only file system
C:\XperiFIX\DATA\DRM\lib\drm****.so: 0 files pushed. 3.2 MB/s (6004 bytes in 0.002s)
20-3-2018_22-33-57 ===> Push lib file

[100%] /system/vendor/lib64/drm****.so
adb: error: failed to copy 'C:\XperiFIX\DATA\DRM\lib64\drm****.so' to '/system/vendor/lib64/drm****.so': remote couldn't create file: Read-only file system
C:\XperiFIX\DATA\DRM\lib64\drm****.so: 0 files pushed. 3.3 MB/s (6888 bytes in 0.002s)
20-3-2018_22-33-58 ===> Change file attributes

chown: /system/vendor/bin/secd: Read-only file system
20-3-2018_22-33-59 ===> Change file attributes

20-3-2018_22-34-00 ===> Change file attributes

chmod: /system/vendor/bin/secd: Read-only file system
20-3-2018_22-34-01 ===> Change file attributes

chown: /system/vendor/lib/drmfix.so: No such file or directory
20-3-2018_22-34-02 ===> Change file attributes

chcon: /system/vendor/lib/drmfix.so: No such file or directory
20-3-2018_22-34-03 ===> Change file attributes

chmod: /system/vendor/lib/drmfix.so: No such file or directory
20-3-2018_22-34-04 ===> Change file attributes

chown: /system/vendor/lib64/drmfix.so: No such file or directory
20-3-2018_22-34-05 ===> Change file attributes

chcon: /system/vendor/lib64/drmfix.so: No such file or directory
20-3-2018_22-34-06 ===> Change file attributes

chmod: /system/vendor/lib64/drmfix.so: No such file or directory
20-3-2018_22-34-07 ===> Change file attributes

chown: /system/vendor/lib/drm****.so: No such file or directory
20-3-2018_22-34-08 ===> Change file attributes

chcon: /system/vendor/lib/drm****.so: No such file or directory
20-3-2018_22-34-09 ===> Change file attributes

chmod: /system/vendor/lib/drm****.so: No such file or directory
20-3-2018_22-34-10 ===> Change file attributes

chown: /system/vendor/lib64/drm****.so: No such file or directory
20-3-2018_22-34-11 ===> Change file attributes

chcon: /system/vendor/lib64/drm****.so: No such file or directory
20-3-2018_22-34-12 ===> Change file attributes

chmod: /system/vendor/lib64/drm****.so: No such file or directory
20-3-2018_22-34-13 ===> Push XperiFIX Flasher

[ 5%] /tmp/xperifixflash.zip
[ 11%] /tmp/xperifixflash.zip
[ 17%] /tmp/xperifixflash.zip
[ 23%] /tmp/xperifixflash.zip
[ 29%] /tmp/xperifixflash.zip
[ 35%] /tmp/xperifixflash.zip
[ 41%] /tmp/xperifixflash.zip
[ 47%] /tmp/xperifixflash.zip
[ 52%] /tmp/xperifixflash.zip
[ 58%] /tmp/xperifixflash.zip
[ 64%] /tmp/xperifixflash.zip
[ 70%] /tmp/xperifixflash.zip
[ 76%] /tmp/xperifixflash.zip
[ 82%] /tmp/xperifixflash.zip
[ 88%] /tmp/xperifixflash.zip
[ 94%] /tmp/xperifixflash.zip
[100%] /tmp/xperifixflash.zip
C:\XperiFIX\DATA\DRM\xperifix.zip: 1 file pushed. 26.2 MB/s (1113208 bytes in 0.041s)
20-3-2018_22-34-14 ===> 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. 27.1 MB/s (5596059 bytes in 0.197s)
20-3-2018_22-34-16 ===> Run Xperifix Flasher

Installing zip file '/tmp/xperifixflash.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found

XperiFIX by sToRm
################################
# XperiFIX Flasher by sToRm// #
# @ XperiFIX.com #
################################
Installing kernel...

Done!
Done processing script file
20-3-2018_22-34-30 ===> 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
- Magisk patched image detected
- Patching ramdisk
- Repacking boot image
- Flashing new boot image
- Unmounting partitions
- Done
Done processing script file
20-3-2018_22-34-47 ===> Wipe Cache

Formatting Cache using make_ext4fs...
Done processing script file
20-3-2018_22-34-49 ===> Wipe Dalvik

Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
-- Dalvik Cache Directories Wipe Complete!
Done processing script file
20-3-2018_22-34-51 ===> Reboot