yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Didgesteve:
You need to do a restore of the system folder.

If you are on 8 then the latest release isn't for you, it's a Pie build.

Xposed will only work on firmware earlier than .75 (April 2018), unless you apply Russel5's fix .

Edit: reading your post you didn't use TWRP and won't have a recovery or restore. Time for some Newflasher action :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nAµ'izat:
Thank you for the reply!

Yea, now i see, i just thought i could slip under the flamethrowers if i brilliantly utilize xposed via magisk, and can circumvent having to tweak with the .jar. Clever, ha? ^_^

Wasn't paying attention, but i'll try to do better and be a little less of a nuisance!

Well, i luckily managed to boot twrp up, and thankfully to veez21's uninstaller , i evaded the brick aimed at me.

Thanks a lot!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] anonym12:
MTP is broken in twrp-3.3.3-0-lilac-pie-1.img. The last working version is 3.2.3-0-lilac-pie-2.img. I can help with debugging.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Hi [MENTION=4297219]modpunk[/MENTION], I have a problem with TWRP all of a sudden not recognizing my PIN anymore. I have tried changing PIN to pattern, same result. Only disabling will allow me to access the files, otherwise all is encrypted. I am not sure what went wrong.

I did a clean wipe yesterday: install original FW files (everything!) I downloaded with xperifirm with newflasher, booted, did initial setup, shut down, flashed TWRP, enter TWRP, format data, rebooted, installed ROM and GAPPS, rebooted, did ROM setup, entered PIN. Same result, it just does not recognize the PIN I just entered.

Any suggestions? :-/

EDIT: remove double post by accident
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
a) Which ROM do you use

b) Which TWRP version do you have flashed (check in the TWRP GUI)

c) Provide the file /tmp/recovery.log

c) Provide adb logcat
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Hi [MENTION=4297219]modpunk[/MENTION], thank you for looking into this.

a) AEX 6.5, Build number: treble_arm64_avN-userdebug 9 PQ3A. 190505.002 190507 release-keys

b) your latest build, 3.3.0.0 (25.04.2019)

c) find enclosed

d) I have not done that before, so I would need some time to get into the matter. Let me know if still necessary or if c) might already help :fingers-crossed:

Thanks again!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] russel5:
In don't have any problem with aex rom, pin and twrp. One thing it's my own twrp, im not used [MENTION=4297219]modpunk[/MENTION] sources im used my own.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Back in the Oreo days, I switched between LOS and AEX a few times and never had this trouble. Is TWRP not compatible anymore with both roms?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
As I said, I need logs.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] DerSteppo:
Hi again, I PM'd you the files. Hope they are any good. :fingers-crossed:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
The upload for twrp-3.3.1-0-lilac-pie-1.img just finished.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Android 9.0 has a new v3 format for spblobs. I don't know under which circumstances those are created but probably when you format data and boot Android 9.0.

This means if your /data partition gets create with v3 spblobs then TWRP is not able to decrypt it yet. It isn't trivial to support that as it uses a new key derivation function (NIST SP800-108) and has support for multi-user decryption.

https://github.com/LineageOS/android_frameworks_base/commit/63ef1511b47c83b8cc3920f53040bf6b2c1d8bf0
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] fankyy:
Any chance of porting twrp 3.3.1-0 to xz1 poplar?

I'm on 47.2.A.10.62 with rooted kernel hiding bootloader unlock (magisk 19.2) and TWRP 3.2.3-0 (poplar). TWRP backup fails because of encrypted /data. Would it work with the new 3.3.1-0 version or is it because of the v3 spblobs decryption problem?

Thanks very much :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I have a build for poplar, which includes the fix for the v3 blobs as well. I can upload it.

edit: here it is https://www.androidfilehost.com/?fid=6006931924117885339
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] fankyy:
Now it works! Thanks very much, you saved my day! :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Wyzco:
Any chance you could build an updated one for Lilac?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
I expect the fix for v3 blobs to get merged into TWRP soon (and a bump in version), at which point there will probably be a new build uploaded by modpunk :) But for those who urgently need a fix now, here it is: https://www.androidfilehost.com/?fid=6006931924117887572
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Wyzco:
Works! :good:

On AOSP 9.0.0_r37
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Mustermann Max:
Hey, do I have to flash the newest TWRP version to upgrade form LOS 15.1 to 16.0 or will my old TWRP (time before Android 9.0) flash it too?

I ask because last time with Fedora 28 adb didn't work thou I couldn't flash. I had to extra uninstall Fedora and get Ubuntu. I don't want to do that again if it is not really necessary... Thanks :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
I don't think that it will work. But you can probably update TWRP within TWRP itself. This way I updated my TWRP the last time. Just choose install and install img inside TWRP for update to pie compatible TWRP. Afterwards reboot to recovery and check version number.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I've uploaded a new version with v3 blob support.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
I don't know what am I doing wrong.

I flashed the recovery, but when I press vol up+power, the phone boots normally instead of into TWRP.

Any ideas anyone?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
have you tried volume down + power? :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
lol ok
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] oel7:
Just to confirm: Does twrp-3.3.1-0-lilac-pie-2.img work with 47.2.A.10.80? If yes, that would be absolutely great - finally backup/restore with Pie again :)

I'm asking, because with a previous incompatible version I had crashed my installation just by trying to run a backup...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 7gue8a:
Hello,

I could use some advice...

I've flashed 47.2.A.10.80 (for the sake of installing Lineage 16 RC2) and now my installed TWRP won't ask for a PIN so the sdcard is not decrypted.

I suspect this is related to https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1268.

When trying to flash the recovery to twrp-3.3.1-0-lilac-pie-2.img the following error is displayed:

FAILED (remote: Command not authenticated)

Anyone have any pointers?

Cheers
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] kojak1989:
[MENTION=4063475]derf elot[/MENTION]

I have your twrp for XZ1 poplar but I do not install aroma files correctly, I did it with TWRP aroma from my thread, you do not know why?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rm43115:
Backup of "System Image" Partition failed

I have installed from the scratch:

- twrp-3.3.1-0-lilac-pie-2

- lineage-16.0-20190708-UNOFFICIAL-RC2-lilac

The TWRP-backup of the "System Image" partition failed - any idea?

(It also failed before installing LineageOS after installing TWRP.)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cumbalero:
TWRP and LineageOS for lilac are both maintained buy [MENTION=4297219]modpunk[/MENTION]
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rm43115:
3 major problems

First of all ... the problem resists and I found two more:

1. The TWRP-Backup of the "System Image" partition failed - attached "1_recovery.zip" (recovery.log included).

2. If I exluded the "System Image" partition for TWRP-Backup the backup falters at the "Data" partition and then hangs completely - attached "2_recovery.zip" (recovery.log included).

3. OTA storage doesn't work.

Please help somebody!

I am desperate and have no idea and no full backup anymore!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I've did a new build to update the kernel and get the latest fixes from TWRP. If you have issues with backups you should report it to TWRP upstream.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Thanks for the update! Navigating in TWRP seems to be much smoother. But I have no vibrations in TWRP anymore. Is this a bug or a feature?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Both :p
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I'm uploading a fixed TWRP. We forgot to load the module for the vibrator :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
If thats the only change, i won't update - hate those vibes:)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rm43115:
Very, very strange ... maybe I solved it or find a workaround:

(I did the backup to a microSD-card.)

1. attempt:

I've formatted the microSD-card under Windows with exFAT.

Backup of "System Image" partition (and sometime of "Data" partition) failed. :(

2. attempt:

I've formatted the microSD-card under LineageOS with FAT32.

Backup of "System Image" partition (and sometime of "Data" partition) failed. :(

3. attempt:

I've changed the filesystem of the microSD-card under TWRP to exFAT.

Backup of all partitions (incl. "System Image" and "Data") works! :)

Thanks to modpunk for creating the TWRP (and the LineageOS)!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mrasrii:
is there any new TWRP for ROM 47.2.A.10.28 version ?

i've tried flashing the latest TWRP but i can't enter to recovery, always rebooting to system.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
I had the same issue, but I managed to fastboot mode, and doing a 'fastboot reboot bootloader' from the computer got the smartphone listed (and identified) in 'fastboot devices', after which a 'fastboot flash recovery $img' worked as it should.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I've uploaded a new TWRP as there have been some fixes for FBE decryption upstream.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] android_fury:
I got the same error. I'm running stock 47.2.A10.107, unlocked bootloader, USB debugging on, ADB access. I'm booting the phone into fastboot mode, running "fastboot devices" to make sure it's being recognized, and running "fastboot flash recovery FILENAME.img". No matter what type of file I try to flash, I get the "FAILED (remote: Command not authenticated)" error. I'm having a hard time finding a solution to this.

MYSTERY SOLVED. Everything I read from before touching the phone says to access fastboot by holding volume DOWN and connecting the USB cable, which turns the LED light green. I just found out that I have to hold volume UP and connect the USB cable. The LED color is blue in this case and everything works fine.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Prass93:
Please Help me. twrp-3.3.1, I'm failed root flashing Super-SU-v2.82-SR5 http://ibb.co/kHj1jQF, xz1c I'm running stock 47.2.A.10.107_R3C , UBL yes, USB debugging on, ADB access. Sorry Bad english. thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Airgio:
I'm with firmware 47.2.A.11.228, what i've to do in order to install this one? I want to install After this the lineage 16
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] fred0r:
You dont need to flash it - you can just boot it once via fastboot:

fastboot reboot bootloader
fastboot boot twrp-3.3.1-0-lilac-pie-5.img
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Airgio:
And It works with the last Sony update too?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] troubas:
BootLoop

Hei modpunk,

Thank you for all your hard work on the sony xperia device. I'm very happy to use your system instead of stock!

I was trying to update to Android 9.0 from Android 8.0. I've updated the Firmware and flashed the TWRP Recovery.

Now I've tested backwards and the only bootable recovery for me is twrp-3.2.1-0-lilac-10-patchlevel-2018-05-05.img

all later versions always end up in a bootloop. Any suggestions?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
[MENTION=4297219]modpunk[/MENTION], could you please merge the attached patch into your 'android_device_sony_yoshino' repository 'twrp-9.0' branch?

[PATCH] fix twrp fstab to avoid mount of oem and dsp in rw mode

mounting in rw mode changes the partitions even if not changing

any file there, making eventual fota update not possible only

because twrp has been just one time booted without flashing anything

Thank you.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] j4nn:
my still locked xz1c is running twrp as normal/permanent recovery

Please see my post in the Security Discussion forum subsection:

Android PIE VerifiedBoot Bypass: sony xperia XZ1 locked bootloader permanently rooted

Showing video recordings of xz1c still locked bootloader rooting, getting permanent twrp recovery and permanent magisk and installing Lineage OS 16.0 as a secondary OS to SD card with dual-boot option via recovery boot or just replacing sony stock fw fully with LOS16, having bootloader still locked (as shown, no bootloader unlocked warning screen) keeping Android Key and ID Attestation still working (the android attest key).

Big thanks to you [MENTION=4297219]modpunk[/MENTION] and [MENTION=4063475]derf elot[/MENTION] for your work on LOS and TWRP for xz1c - my builds for still locked bootloader are based on your codebase obviously.

Once again, thank you both.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
Why flash TWRP in boot partition?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
There is no flash command in the quoted code. And that is right, else you would have to find the call option in TWRP?

"fastboot boot twrp.img" just loads twrp as a kernel into RAM and starts it ONCE, without changeing the installed boot.img, so it is save.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
I'm blind...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] troubas:
Well it turns out that removing the SD-card enables me to boot TWRP. It's a 16GB Kingston, not quite sure what's going on there.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] SXUsr:
If you're using PIE you're flashing the wrong recovery, you need one from the PIE folder.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] troubas:
Yep, thanks for the hint. I just knew that there was some version that used to work so I tested backwards (including releases for 8.0) to maybe include useful information concerning my problem. Something in twrp must have changed after the twrp-3.2.1-0-lilac-10-patchlevel-2018-05-05.img release that now prevents it to boot if I have said SD-Card inserted in my phone.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] SXUsr:
There is a TWRP folder on the internal storage, try removing that and see if that helps. I've upgraded to PIE a few times and never had this issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jkepler1571:
Hello, I've recently picked up an xz1c, and I'm about to flash TWRP onto it. Do I need

twrp-3.2.3-0-lilac-pie-1.img or twrp-3.2.3-0-lilac-pie-2.img ? I'm not sure what the difference is between those files.

Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] SXUsr:
The date! Look at number 5.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] moridin1983:
Hello,

I have a problem with the backup and restore functionality, that i can't figure out. Whenever I restore a backup in twrp and restart the phone, it will go into an infinite bootloop.

I can even boot into twrp, create a backup of a perfectly working phone, immediately restore this backup and will still get a bootloop.

Does anyone have the same problem, or maybe even a fix?

I'm running LineageOS 16.0 UNOFFICIAL - 1.0 and twrp-3.3.1-0-lilac-pie-5.img.

Thanks.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nakopa:
Hey, thanks for your hard work, but im facing issues with your recovery. I need to access my phone over adb, but it remains on unauthorized while in twrp. Every single thread on this topic says that twrp should auth'd when you auth'd it in the rom, but it just doesn't.

Could you take a look in this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Works just fine if you decrypt your /data partition where this information is stored.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I've uploaded TWRP for Android 10.0 which will be needed for LineageOS-17.1
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nakopa:
True, my bad. I forgot that part.

Funnily enough I found out you can edit the default.prop in the recovery image to authorize it even with encryption on. Almost feels like you shouldnt be able to do that.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] danish0175:
Here comes the Aroma of android 10
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Alefello:
Is it backward compatible? I mean, I'm on stock Oreo cound i flash the "Android 10.0" recovery or I've to stay on twrp-3.2 "Android 8.1"?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] supacolida:
it works with pie, so i think its compatible with oreo too
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] SXUsr:
Just tried it, and it works to a degree, but doesn't hold settings and nor does it decrypt your storage. Stick with 3.2 on Oreo.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] loiselqw:
Dear community,

does TWRP for Android 10 also work with Stock-Rom based on Android 9?

Thx a lot in adv
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Flamefire:
I just tried this after flashing your LineageOs 17.1 build and setting everything up via "fastboot boot". It got to the decryption dialog, entered my pin, then device restarted and hung in the SONY screen. After hitting VOL UP+DOWN+POWER to reboot the device the system was reset :/
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] michalsmerf:
Hi

I Update LineageOS 16 to 17 but i don't know why it wipe all my data.

So i want restore LineageOS16 backup but when it restore "Data" i got 255 error and can't restore it.

Any solutions ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] asdf2345:
The backup probably failed, I've had this happen sometimes with TWRP too

---------- Post added at 07:13 PM ---------- Previous post was at 07:11 PM ----------

Why is there three different versions for different versions of Android?

Why not just one version for all? I've been able to flash many different Android versions with the same recovery, but why not with this phone?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Deadman001:
I've been struggling with this issue and similar ones all night. From what I've been able to derive so far is that the TWRP isn't properly formatting the data Partition and you need to check "rm -rf instead of formatting" in the options
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] foresto:
How to build from source?

The readme at your github link looks like it's only for building LineageOS. Are there instructions someplace for building TWRP instead?

Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] foresto:
still unable to build twrp

I'm having a terrible time trying to build this from source.

I followed the readme in the source repo linked in the first post, and although it seemed to build lineage, running fastboot boot recovery.img didn't work; the phone got stuck at a white screen with the Sony logo.

I tried starting with other people's twrp build instructions and adding the roomservice.xml from this project's repo, and I eventually got a build to complete, but again, fastboot boot recovery.img just led to a white screen with the Sony logo.

[MENTION=4297219]modpunk[/MENTION] I could really use some help here. Can you write up some twrp build instructions?

In case it helps, if I get this working, I could format the procedure and submit it as a PR for the README.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] knerlington:
In need of help here. Used twrp 3.2.x.x for my xz1 compact yesterday to make a complete backup of my stock pie rom. Installed LineageOS 17.1 for this phone and upgraded twrp to 3.3.x since LOS 17.1 is using android 10. So far so good, but LOS doesn't have a working network service (I can't even find mobile networks with it) so I gave up and tried to restore my backup. TWRP 3.3 restored successfully, but after rebooting I get stuck at the sony logo. If I enter twrp now I'm back to twrp 3.2.x.x so it obviously restored at least the recovery partition. What should I do? I initially upgraded only because android pie doesn't have properly working OTG which worked perfectly with LOS.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] nussbaum:
[MENTION=4297219]modpunk[/MENTION] [MENTION=2359841]foresto[/MENTION] :

Did you try to compile TWRP 3.4 yet?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] foresto:
I have not tried it. I'm still trying to figure out why modpunk's lineage-17.1 rom sporadically misses touch events.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] edc9781:
Hi,

Does this version work with Sony open devices AOSP 10 ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Yes, should work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Barium:
- 'Weird' restore procedure TWRP Android 10.0 (twrp-3.3.1-0-lilac-android10-1.img) -

I experienced difficulties when restoring a backup from my phone with 'lineage-17.1-20200714-UNOFFICIAL-v1.3-lilac' installed. In the first place I did not understand what to backup, since there is next to the system and vender partition also the system image and vender image in the TWRP backup menu. Anyhow...

I found out I had to back up the following partitions:

- Boot

- System Image

- Vendor Image

- OEM

- Data

After wiping all the data via 'Advaned Wipe' with 'Use rm -rf instead of formating' enabled in settings, reboot recovery.

When TWRP is rebooted and after again enabling 'Use rm -rf instead of formating' I try to restore the backup.

Problem: if I try to restore all the above mentioned partitions in one go, I get the createTarFork() process ended with ERROR=255 error when TWRP tries to restore the Data partition.

Solution: reboot system (TWRP mentions there is no OS installed), LineageOS is booted and the installation menu is showed, because the Data partition is not restored obviously. Reboot back into TWRP, restore the data partition, reboot system and the restore is finally complete.

Took me some time and fustration to figure out... I did not see this mentioned somewhere (correct me if I am wrong) ??

Are there others experiencing the same issue? Or is my backup method incorrect??

Either way I find this a little sketchy, and does not create a lot of confidence in the phone's backup, because I don't know what going on.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Barium:
After restoring Lineage apps (Dropbox, camera, Firefox) complained that there was insufficient storage, while there was 19GB free space left. I could though install other apps...

Now I went back to TWRP wiped and restored my phone again with the quoted procedure, but this ended up in a bootloop...

I never experienced such weird and unreliable behaviour of TRWP before. Appreciate the hard work though [MENTION=4297219]modpunk[/MENTION]!

Does someone have a clue how to get a reliable backup?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] dawidcx3:
Everything is working fine. Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] OGSwank:
I need to unlock my bootloader. What should i do after i have used the offical sony tool as i want to install LineageOS. Running G8441 (47.2.A.11.228 EE). Flashtool wont work on this device.