[Xperia Z5 Compact General] Meriicistyle:
QUICK STORY:

​

I UPDATED THE LINKS LINEAGEOS OFFICIAL WEBSITE REMOVED THEM! THESE ONES WORK.

Hi everyone, me and my friend we searched the whole internet for a compatible official recovery, which was impossible, and we were able to find one, after we flashed it we noticed that it was very unstable and it didn't recognize our SD CARD. The ROM and GApps were on that SD card. The system was not booting, the classical SONY logo was stuck. So after recompiling my own version of this recovery I was able to read the sd card. I know it's hard to root XPERIA phones, that's why I wanted to publish a working version for E5803. Not tested on E5823 but theoretically it should work, which you can do on your own risk.

Feel free for the thumbs up :good: :good:

I'll give the links using BASE64 encryption. Use 'base 64 decode . org' without spaces. Enter the random text and get the link.

THE PROCCESS:

Know that you are doing this on your own risk.

READING THIS TUTORIAL TILL THE END BEFORE ACTING.

Backup your device before even starting.

Your bootloader unlocked in your developer options (to enable developer options [system Info] --> [Build Number / tap 7 times]). Don't forget to enable USB Debugging, that's in the developer options too.

DOWNLOAD THE RECOVERY IT'S WORKING and tested (and compiled by me :D): aHR0cHM6Ly9kcml2ZS5nb29nbGUuY29tL29wZW4/aWQ9MWljTWdNeEpsS0ZrSUN3WERRTEhPWXVoWkc3WGRLTnB4

Download ADB on your PC you can just install Minimal ADB and Fastboot. aHR0cHM6Ly9hbmRyb2lkbXRrLmNvbS9kb3dubG9hZC1taW5pbWFsLWFkYi1hbmQtZmFzdGJvb3QtdG9vbA== After that your PC has to grant access to your phone via ADB. To do that open Minimal ADB and fastboot and type

adb shell

. Make sure your phone's screen is unlocked while doing that and of course your Phone has to be plugged in. A pop-up will appear, you have to accept it and CLICK REMEMBER. Don't forget that one.

Make sure you install Your Xperia Z5 Compact Drivers. Use this link: aHR0cHM6Ly9kZXZlbG9wZXIuc29ueS5jb20vZmlsZS9kb3dubG9hZC94cGVyaWEtejUtY29tcGFjdC1kcml2ZXIv To install them extract the files, and and right click the files ending with .inf , after that you can click install. Do that to both of the .inf files in the directory.

Get your BOOTLOADER CODE using this link: aHR0cHM6Ly9kZXZlbG9wZXIuc29ueS5jb20vZGV2ZWxvcC9vcGVuLWRldmljZXMvZ2V0LXN0YXJ0ZWQvdW5sb2NrLWJvb3Rsb2FkZXIv Scroll down and Select your device, after that just Accept and tick the boxes below, and enter your IMEI number and click submit. If you have 2 SIM Cards you have technically 2 IMEI numbers, enter your first IMEI and click submit. Save that code very very well.

Now enter your fastboot mode by typing

adb reboot bootloader

. Then you wait for your blue light on your cellphone. After that you have to type this code

fastboot oem unlock 0x<insert your unlock code>

. Insert your code in that 'insert your unlock code' area but don't forget to remove the brackets around, and no space after '0x'. Voila! You unlocked your bootloader!

Now you have to flash the recovery using:

fastboot flash recovery /pc_file_path/twrp.img

. The file path has to be given on your PC. If it worked you can simply type

fastboot reboot

to reboot your system. After that use you can boot to your recovery using

adb reboot recovery

. Of course you have to say (optionally) Allow modifications and don't show that again, to the pop-up that will appear.

NOW JUST IN CASE you are the unlucky person and can't boot to your recovery do the following steps: First use

fastboot boot imagepath.img

to boot to your recovery but temporary, while doing this you have to be in the fastboot mode. Then after the boot to your recovery make sure that your ROM, GApps and RECOVERY.img file is on your sd card / internal storage. In recovery mode click install and say install image and select your .img file you wanted to install. now reboot to your recovery again, after shutting down your device. It'll work this time. If you just wanted to install a recovery, boot your system and do what you want, or install Magisk or SuperSU, your call.

If you want to install a custom ROM you can install your ROM and GApps you want to your own way. Just for an example I'm giving a LineAgeOs 14.1 ROM link which has no bugs I noticed: aHR0cHM6Ly9kcml2ZS5nb29nbGUuY29tL29wZW4/aWQ9MUVvS3VlbzNjTmVBRmlOaEVXYTBiX2ZWVDFkUkhQREti and the mini GApps for the minimalistic Google Apps setup: aHR0cHM6Ly9vcGVuZ2FwcHMub3Jn

Select ARM64, Android 7.1 and mini and click that download button after the choices you made.

After those downloads, or if you have the files copy them to your device memory or sd card. You can do that outside the recovery mode. Now wipe your System, Cache, Dalvik-cache, Data, but not internal storage if your ROM files and stuff are there. If they are on your sd card you can wipe your internal storage. If your files are on your micro-sd don't wipe your micro-sd (just a fact don't forget that).

Now click on install, then select your lineageos file or custom ROM swipe for the install, do the same for the GApps after that. Now you can reboot and wait, that can take 10 minutes or something like that.

Don't forget to say thanks :good: :)

Have a nice day and good 'rootings' :D