[Xperia Z1 Compact Q&A, Help & Troubleshooting] derjango:
Hello hello,

this will be my "live" thread of bringing AICP 13.1 to my xperia z1c, I found some Guide's that I will follow and I will share with you all the links and knowledge I gained as a newbie that I used to understand and fix my problems on the way.

Maybe this will help you, too.

Main Tutorial: LINK

Target of all this: LINK

My Device:

Sony XPERIA Z1C, 14.6.A.1.236 , Lollipop 5.1.1

My best hint: read carefully, take your time to understand what you're trying to do and do your own research!

Hopefully you will get a aicp custom rom out of it.

_____________________________________________

_____________________________________________

General information: Android 5.1.1 cannot be rooted due to its high security standards, therefore we will downgrade to a lower security stock rom and create root access there. Root access will be needed as well as an unlocked bootloader to install real recovery (TWRP) which is the tool to flash custom roms like aicp. But the aicp custom rom will not have a good working camera, don't ask me why, but the camera seems to be a really difficult thing from the point of developer's view, let's accept this. Aside of that disadvantage, this custom rom is a very nice software and it makes my z1c kind of new. I don't use my camera anyway often at all.

During all this flashing thing I had a very big ??? while implementing real recovery. I was able to flash the .236.ftf but not the openbootloader.ftf as described in section 5 in the main tutorial. The result was twrp boot failed.

Error description:

flash .236.ftf works

flash openbootloader fails

flash twrp works

boot twrp fails

boot stock rom works

My solution:

I restarted from scratch and finally with the kind of messed up secquenceI got it:

flash .236.ftf works

flash openbootloader fails

flash twrp works

boot twrp fails

flash openbootloader works

flash twrp works

boot twrp works

UPDATE 06.12.2018 as a solution for REAL RECOVERY with working camera <<< RECOMMENDED

0. boot into rom works

1. flash openbootloader works

2. boot into rom works

3. flash .236.ftf works

4. boot into rom & check camera works

3. flash twrp ( business as usal ) works

4. boot twrp ( First boot is damn important, don't miss it! Press Vol- & Power, wait for vibration, release Power & keep Vol- until twrp boots up ) works

5. full wipe, flash aicp-rom, flash gapps, flash magisk-root, boot system works

6. enjoy Oreo 8.1 & camera check !!! works !!!

This routine worked straight forward for me where I started from scratch with my second device.

Flashing aicp was pretty easy, good to know for flashing the rom was full wipe = advanced wipe and select everything except of micro sd

To complete my aicp 13.1 Oreo 8.1 device the camera problem has to be fixed ( Saving the taken picture fails, display goes into freeze, no chance to solve this with camera mods, camera apps )

But [MENTION=4149551]lm089[/MENTION] gave me the right hint, and finally this was my solution! Thanks again [MENTION=4149551]lm089[/MENTION]!!

Have fun with your new >> SONY XPERIA Z1 COMPACT <<

How to update TWRP

1. Turn Off your device

2. Start device in fastboot mode by connecting via usb cable to your pc and press Vol- until blue led tuns on

3. use fastboot flash recovery twrp.img to flash it

4. boot twrp ( This first boot is damn important, don't miss it! Press Vol- & Power, wait for vibration, release Power & keep Vol- until twrp boots up ) works

How to update to aicp 14.0 pie 9.0

starting with the running and latest aicp 13.1 oreo 8.1 rom above I just followed the Instructions here. As a specialty I had to install the Magisk Manager App manually into the rom to get root. Downloading supersu.apk from www.supersuroot.org works fine as well.

Your fastboot connection doesnt work for some reason though u had this workin fine in the past? maybe u had a windows update. install your drivers again.

>> LETS KEEP THIS DEVICE ALIVE <<

_____________________________________________

_____________________________________________

More helpful links that I used:

Debug apps by creating logs

what is adb? an xda tutorial

ADB working Download Link and ADB Article on xda

xda flashtool error during setup: click

[NOOBIE] Basic adb commands and device partition overview

Latest TWRP 3.2.3-0 for z1c

root solution using flash tool

Restore DRM functionality after UB

If TA Backup dry restoration restoration fails: Solution and Download *.dll

Boot into recovery or fastboot mode

How to install TWRP

Magisk beats superSU

How to Install Custom ROM using TWRP for Android!

change boot animations

[TUTORIAL] Design Your Own Bootanimation

Backup & Restore Your ROM With TWRP

Terminology: odex and deodex

If the camera goes into freeze or saving the picture fails: This was my solution! /// But you better go straight with the steps of my update 06.12.2018, field tested!

THANKS A LOT TO [MENTION=7458377]colaigor[/MENTION] for his [BEGINNERS GUIDE]