[Sony Xperia XZ1 Compact Questions & Answers] luctius:
Heya everyone,

I have rooted my XZ1 Compac quite a long time ago. Today I wanted to flash a new lineageos version. I booted into twrp, wiped cache,system,dalvik and data, and rebooted my phone because I forgot to put an additional zip on my sdcard. My intention was to remove the sdcard, add the file from my computer and flash the os+zips.

However now it is stuck in the twrp splash screen (with the red led burning). I am able to connect with adb, but rebooting in either bootloader or fastboot does nothing different. Fastboot is unable to connect.

Any ideas on how to fix this?

Edit; additional info: The bootloader still complains about being unlocked (as usual)...

Edit2: Adb reports:

13:34:10 in ~ [10009]

➜ adb devices

List of devices attached

BH904A5B9E recovery

Edit 3:

I also noticed I don't seem to have an recovery partition...

lilac:/ # df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.8G 1.0M 1.8G 1% /dev
tmpfs 1.8G 0 1.8G 0% /mnt
tmpfs 1.8G 0 1.8G 0% /apex
tmpfs 1.8G 4.0K 1.8G 1% /linkerconfig
tmpfs 1.8G 20K 1.8G 1% /tmp
/dev/block/sda53 352M 436K 352M 1% /cache
/dev/block/sda66 22G 79M 22G 1% /data
/dev/block/sda64 1.4G 4.5M 1.4G 1% /v
/dev/block/sda65 4.7G 20M 4.7G 1% /s

lilac:/ # mount
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1889256k,nr_inodes=472314,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1889256k,nr_inodes=472314,mode=755,gid=1000)
tmpfs on /apex type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1889256k,nr_inodes=472314,mode=755)
tmpfs on /linkerconfig type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1889256k,nr_inodes=472314,mode=755)
tmpfs on /mnt/installer type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1889256k,nr_inodes=472314,mode=755
,gid=1000)
tmpfs on /mnt/androidwritable type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1889256k,nr_inodes=472314,mo
de=755,gid=1000)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime)
none on /dev/cpuctl type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
none on /dev/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
none on /dev/memcg type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
none on /dev/stune type cgroup (rw,nosuid,nodev,noexec,relatime,schedtune)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=1889256k,nr_inodes=472314)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
none on /config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/sda53 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)
/dev/block/sda66 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)
/dev/block/sda64 on /v type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/sda65 on /s type ext4 (ro,seclabel,relatime,data=ordered)

lilac:/ # cd /dev/block/by-name/
lilac:/dev/block/by-name # ls
FOTAKernel boot devinfo hypbak modemst2 sda system vbmeta
LTALabel cache diag keymaster msadp sdb toolsfv vendor
Qnovo cmnlib dpo keymasterbak oem sdc tz xbl
TA cmnlib64 dsp keystore persist sec tzbak xblbak
abl cmnlib64bak frp limits pmic splash tzxfl xfl
ablbak cmnlibbak fsc logfs pmicbak ssd tzxflattest xflbak
apdp ddr fsg misc rdimage sti tzxflattestbak xflkeystore
appslog devcfg fsmetadata modem rpm storsec tzxflbak xflkeystorebak
bluetooth devcfgbak hyp modemst1 rpmbak storsecbak userdata

And twrp does not want to start:

lilac:/dev/block/by-name # twrp fixperms
TWRP does not appear to be running. Waiting for TWRP to start . . .