GUIDE: How to install Sony's Concept Software(Android 6.0.1), root, recovery, Xposed

Search This thread

systemallica

Senior Member
Jul 7, 2012
117
82
OnePlus 5T
Google Pixel 6
Hello, a couple of days ago I wanted to upgrade to Marshmallow but I couldn't find a proper detailed guide to do it, so in this thread I'm gonna show you how to install latest Sony's Concept 3027(latest version), how to unlock the bootloader, how to install TWRP, how to root your phone, and how to install Xposed.

I made this coming from stock 5.1.1, but it should work for other ROMs and versions too (You must be rooted though).

During this process, you will wipe your phone and unlock your bootloader, so make backups of everything you need.

Let's begin:
0- Make sure your bootloader is locked, and can be unlocked. To check this, go to dialer app, press *#*#7378423#*#*, service info->configuration, under "Rooting status", "bootloader unlock allowed" should say yes. Notice that at the top of your screen says IMEI, note that number down, you will need it later.
1- First of all, download all the necessary files:

  1. ftf file(ROM v.3606): https://cloud.mail.ru/public/48SH/AyETJ63bw
  2. SuperSU 2.76: https://download.chainfire.eu/969/SuperSU/UPDATE-SuperSU-v2.76-20160630161323.zip
  3. TWRP Recovery 3.0.2-0: https://dl.twrp.me/z3c/twrp-3.0.2-0-z3c.img.html
  4. Xposed Material apk: http://forum.xda-developers.com/devdb/project/dl/?id=19668&task=get
  5. Xposed installer v86(sdk23-arm): http://dl-xda.xposed.info/framework/sdk23/arm/xposed-v86-sdk23-arm.zip
  6. Flashtool: http://www.flashtool.net/downloads.php
  7. Fastboot driver: dl-developer.sonymobile.com/drivers/downloadinf_v1.01.zip
  8. TA backup tools: https://github.com/DevShaft/Backup-TA/releases

BACKUP TA PARTITION

Make sure to be rooted before proceeding. You won't be able to backup TA properly without root!

2- Unzip the TA backup tools downloaded in step 1.
3- Connect your phone to the computer. Run backup-ta.bat.
4- Follow the instructions.

INSTALL THE ROM

5- Now, install Flashtool. Once installed, go to "C:\Flashtool\drivers" and install flashmode and fastboot drivers(You will need to disable driver signature verification on windows 8/8.1/10).
6- Take the ftf file previously downloaded and move it to "C:\Users\username\.flashTool\firmwares
7- Open Flashtool, click on Flash device->Flashmode. The ftf should appear on the list. Check Wipe APPS_LOG and USERDATA. Click Flash and follow the instructions. If it asks to use a script, click no.
8- This process may take a while, be patient.
9- Boot your phone normally, you should be on Concept version 3606.
10- Go to Settings->About device-> Software update.
11-If there is an update available, take it. Your phone will reboot and install the update. Repeat this step until you don't have any more updates.

Okay, until now you have installed latest unmodified Sony's Concept ROM, if you don't need root or Xposed, that's it, you have finished!

UNLOCK THE BOOTLOADER

Warning: Unlocking your bootloader voids your warranty and makes you lose some stuff, as detailed here: http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
So make sure to make the TA backup in order to recover those things when you relock your bootloader in the future, if you want.

12- To begin, you need your IMEI number, that you noted in step 0.
13- Go to this webpage: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
14- Select Xperia Z3 Compact, click Continue, enter your email address
15- Click the link they sent you via email. Enter your IMEI, click Submit.
16- At the bottom of the page there will be a code, similar to "fastboot -i 0x0fce oem unlock 0xA8873D989C26BBBB", copy it.
17- You need to install the android SDK now, if you don't have it installed, or don't know how, there are plenty of guides on the web.
18- Open it, make sure to install "Google USB Driver Packager".
19- Go to "C:\Program Files\Android\sdk\extras\google\usb_driver" and copy the Fastboot driver downloaded in step 1.
20- Turn off your phone. Press the volume up button, and while doing this, connect the phone to your computer. It should boot into fastboot mode.
21- In your PC, go to "C:\Program Files\Android\sdk\platform-tools". Hold shift, and right click inside the folder. Click "Open command window here".
22- Type "fastboot devices" in the command window. See if your device shows up. If not, you did something wrong with your drivers, make sure that your SDK installation is correct.
23- Now copy the line you copied in step 13. Hit enter.
24- Your bootloader is now unlocked. Reboot your phone, it will wipe all your data, so you have a fresh install of the system.


INSTALL RECOVERY

25- Enter again into fastboot mode. That means, turn off your phone, hold volume up, and connect it to your PC.
26- Copy the TWRP Recovery downloaded in step 1 to "C:\Program Files\Android\sdk\platform-tools".
27- Rename it to "twrp.img".
28- Open a command window.
29- Type "fastboot flash recovery twrp.img".
30- That's it, now you have TWRP installed.

ROOT PHONE

31- Copy "SuperSU 2.76" downloaded in step 1 to your phone.
32- Enter Recovery mode.(Easiest way is: enter fastboot, use volume keys until "recovery mode" is selected and press the power button to enter it.)
33- Click Install, search for "SuperSU 2.76-2", swipe to confirm. Reboot your phone.
34- Done, you are now rooted!

INSTALL XPOSED

35- Copy "Xposed installer" and "Xposed apk" to your phone.
36- Enter Recovery mode.
37- Install "Xposed installer"
38- Reboot.
39- Install "Xposed apk.
40- You finished!

This is the end of the guide. Hope everything went fine for you. Feel free to post your doubts, if any! Cheers :D

Big thanks to:
-russel5 for the ftf file
-jozinek for his useful info
-Chainfire for SuperSU
-rovo89 for Xposed
-twrp team
 
Last edited:

istux

Senior Member
Jun 26, 2012
1,448
1,474
Milano
What?
You let the people unlock their bootloader without any warning about the TA partition? :eek:
If you lose the DRM keys you can't get them back forever, do you know? :confused:

This is what you lose without DRM keys:
http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936

You HAVE TO backup your TA partition before unlocking and the only way is following these instructions:
http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343

I really hope nobody has followed your guide without doing so :(
 

systemallica

Senior Member
Jul 7, 2012
117
82
OnePlus 5T
Google Pixel 6
Thanks @systemallica for the very detailed guide!
Is there a way to modify some of your steps for who, like me, has already unlocked the bootloader? Just to avoid the relock-unlock and make the procedure shorter.
ps. actually I'm on concept 2157 from @jenkins-84 (http://forum.xda-developers.com/z3-compact/development/rom-t3232674).

I am not sure as I am not familliar with Jenkins-84 ROM, you can always try and let us now though.

What?
You let the people unlock their bootloader without any warning about the TA partition? :eek:
If you lose the DRM keys you can't get them back forever, do you know? :confused:

This is what you lose without DRM keys:
http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936

You HAVE TO backup your TA partition before unlocking and the only way is following these instructions:
http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343

I really hope nobody has followed your guide without doing so :(

You are totally right!! How the **** I forgot that?!
Sorry guys, I added it to the guide now.
 
  • Like
Reactions: istux

bmatthias

Member
Dec 26, 2015
5
4
DRM fix

On Marshmallow 2157 and 2178 I managed to get back the DRM features without Keys by installing this.
I am not sure if it works with your method, but you can try.

If you already lost your TA partition (and keys), you need to do the following:

1) Relock the bootloader: Connect your phone in flash mode (press volume down when connecting the USB cable). Click the BLU icon, then click Relock.
2) Install a Kitkat ftf with TA partition included (23.0.1.A.5.77): Use Flashtool to install the ROM in flash mode (volume down). If it asks to use a script, click no.
You must wipe data (check APPS_LOG and USERDATA boxes), otherwise the method will fail!
3) Unlock the bootloader again (Click the BLU icon in Flashtool, then click Unlock).
4) Install Androplus kernel V19c with TWRP recovery here (most newer kernels/recoveries do not work!): Connect in Fastboot mode (volume up), then flash the boot.img from the zip.
5) Go into recovery (press volume up during boot when the notification light goes on).
6) Flash the Marshmallow ROM by jenkins-84.
7) Flash the drm restore zip V2 (the old version).
8) Wipe data and reboot to system.

If you tried the new DRM restore V3 (without the complicated method of flashing Kitkat first) please report back whether it works for you on Marshmallow!

Before/After:

DSC_0004.jpg

DSC_0007.jpg
 
Last edited:

mirecek11

Member
Jun 20, 2014
36
8
Hi I have a problem with loading recovery

Hello, a couple of days ago I wanted to upgrade to Marshmallow but I couldn't find a proper detailed guide to do it, so in this thread I'm gonna show you how to install latest Sony's Concept 3027(latest version), how to unlock the bootloader, how to install TWRP, how to root your phone, and how to install Xposed.

I made this coming from stock 5.1.1, but it should work for other ROMs and versions too (You must be rooted though).

During this process, you will wipe your phone and unlock your bootloader, so make backups of everything you need.

Let's begin:
0- Make sure your bootloader is locked, and can be unlocked. To check this, go to dialer app, press *#*#7378423#*#*, service info->configuration, under "Rooting status", "bootloader unlock allowed" should say yes. Notice that at the top of your screen says IMEI, note that number down, you will need it later.
1- First of all, download all the necessary files:

  1. ftf file(ROM): https://mega.nz/#!hNUG0D4C!vLWdsP-N0f9KNH3I7YKHz1dWcfBsEUP07ZvJXHCk_aQ
  2. SuperSU 2.65: https://download.chainfire.eu/752/SuperSU/BETA-SuperSU-v2.65-20151226141550.zip
  3. TWRP Recovery: https://dl.twrp.me/z3c/twrp-2.8.7.0-z3c.img.html
  4. Xposed apk: forum.xda-developers.com/attachment.php?attachmentid=3383776&d=1435601440
  5. Xposed installer v79: forum.xda-developers.com/attachment.php?attachmentid=3580247&d=1450386638
  6. Flashtool: http://www.flashtool.net/downloads.php
  7. Fastboot driver: dl-developer.sonymobile.com/drivers/downloadinf_v1.01.zip
  8. TA backup tools: https://github.com/DevShaft/Backup-TA/releases

BACKUP TA PARTITION

2- Unzip the TA backup tools downloaded in step 1.
3- Connect your phone to the computer. Run backup-ta.bat.
4- Follow the instructions.

INSTALL THE ROM

5- Now, install Flashtool. Once installed, go to "C:\Flashtool\drivers" and install flashmode and fastboot drivers(You will need to disable driver signature verification on windows 8/8.1/10).
6- Take the ftf file previously downloaded and move it to "C:\Users\username\.flashTool\firmwares
7- Open Flashtool, click on Flash device->Flashmode. The ftf should appear on the list. Check Wipe APPS_LOG and USERDATA. Click Flash and follow the instructions. If it asks to use a script, click no.
8- This process may take a while, be patient.
9- Boot your phone normally, you should be on Concept version 2157.
10- Go to Settings->About device-> Software update.
11- You should have an update available, take it. Your phone will reboot and install the update. Repeat this step until you don't have any more updates.

Okay, until now you have installed latest unmodified Sony's Concept ROM, if you don't need root or Xposed, that's it, you have finished!

UNLOCK THE BOOTLOADER

Warning: Unlocking your bootloader voids your warranty and makes you lose some stuff, as detailed here: http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
So make sure to make the TA backup in order to recover those things when you relock your bootloader in the future, if you want.

12- To begin, you need your IMEI number, that you noted in step 0.
13- Go to this webpage: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
14- Select Xperia Z3 Compact, click Continue, enter your email address
15- Click the link they sent you via email. Enter your IMEI, click Submit.
16- At the bottom of the page there will be a code, similar to "fastboot -i 0x0fce oem unlock 0xA8873D989C26BBBB", copy it.
17- You need to install the android SDK now, if you don't have it installed, or don't know how, there are plenty of guides on the web.
18- Open it, make sure to install "Google USB Driver Packager".
19- Go to "C:\Program Files\Android\sdk\extras\google\usb_driver" and copy the Fastboot driver downloaded in step 1.
20- Turn off your phone. Press the volume up button, and while doing this, connect the phone to your computer. It should boot into fastboot mode.
21- In your PC, go to "C:\Program Files\Android\sdk\platform-tools". Hold shift, and right click inside the folder. Click "Open command window here".
22- Type "fastboot devices" in the command window. See if your device shows up. If not, you did something wrong with your drivers, make sure that your SDK installation is correct.
23- Now copy the line you copied in step 13. Hit enter.
24- Your bootloader is now unlocked. Reboot your phone, it will wipe all your data, so you have a fresh install of the system.


INSTALL RECOVERY

25- Enter again into fastboot mode. That means, turn off your phone, hold volume up, and connect it to your PC.
26- Copy the TWRP Recovery downloaded in step 1 to "C:\Program Files\Android\sdk\platform-tools".
27- Rename it to "twrp.img".
28- Open a command window.
29- Type "fastboot flash recovery twrp.img".
30- That's it, now you have TWRP installed.

ROOT PHONE

31- Copy "SuperSU 2.65" downloaded in step 1 to your phone.
32- Enter Recovery mode.(Easiest way is: enter fastboot, use volume keys until "recovery mode" is selected and press the power button to enter it.)
33- Click Install, search for "SuperSU 2.65", swipe to confirm. Reboot your phone.
34- Done, you are now rooted!

INSTALL XPOSED

35- Copy "Xposed installer" and "Xposed apk" to your phone.
36- Enter Recovery mode.
37- Install "Xposed installer"
38- Reboot.
39- Install "Xposed apk.
40- You finished!

This is the end of the guide. Hope everything went fine for you. Feel free to post your doubts, if any! Cheers :D

Big thanks to:
-russel5 for the ftf file
-jozinek for his useful info
-Chainfire for SuperSU
-rovo89 for Xposed
-twrp team
in command line error :cannot load recovery twrp.img and I am connected in command line
 

Xentar712

Senior Member
Sep 27, 2007
266
48
Nice guide! You might want to add an extra warning on step 2 ensuring they are rooted before proceeding. If I remember correctly, backupTA will run even if you aren't rooted but it won't copy the partition over. Some people who don't read/pay attention might think they backed it up when they actually didn't.
 
  • Like
Reactions: systemallica

mirecek11

Member
Jun 20, 2014
36
8
Hello, a couple of days ago I wanted to upgrade to Marshmallow but I couldn't find a proper detailed guide to do it, so in this thread I'm gonna show you how to install latest Sony's Concept 3027(latest version), how to unlock the bootloader, how to install TWRP, how to root your phone, and how to install Xposed.

I made this coming from stock 5.1.1, but it should work for other ROMs and versions too (You must be rooted though).

During this process, you will wipe your phone and unlock your bootloader, so make backups of everything you need.

Let's begin:
0- Make sure your bootloader is locked, and can be unlocked. To check this, go to dialer app, press *#*#7378423#*#*, service info->configuration, under "Rooting status", "bootloader unlock allowed" should say yes. Notice that at the top of your screen says IMEI, note that number down, you will need it later.
1- First of all, download all the necessary files:

  1. ftf file(ROM): https://mega.nz/#!hNUG0D4C!vLWdsP-N0f9KNH3I7YKHz1dWcfBsEUP07ZvJXHCk_aQ
  2. SuperSU 2.65: https://download.chainfire.eu/752/SuperSU/BETA-SuperSU-v2.65-20151226141550.zip
  3. TWRP Recovery: https://dl.twrp.me/z3c/twrp-2.8.7.0-z3c.img.html
  4. Xposed apk: forum.xda-developers.com/attachment.php?attachmentid=3383776&d=1435601440
  5. Xposed installer v79: forum.xda-developers.com/attachment.php?attachmentid=3580247&d=1450386638
  6. Flashtool: http://www.flashtool.net/downloads.php
  7. Fastboot driver: dl-developer.sonymobile.com/drivers/downloadinf_v1.01.zip
  8. TA backup tools: https://github.com/DevShaft/Backup-TA/releases

BACKUP TA PARTITION

2- Unzip the TA backup tools downloaded in step 1.
3- Connect your phone to the computer. Run backup-ta.bat.
4- Follow the instructions.

INSTALL THE ROM

5- Now, install Flashtool. Once installed, go to "C:\Flashtool\drivers" and install flashmode and fastboot drivers(You will need to disable driver signature verification on windows 8/8.1/10).
6- Take the ftf file previously downloaded and move it to "C:\Users\username\.flashTool\firmwares
7- Open Flashtool, click on Flash device->Flashmode. The ftf should appear on the list. Check Wipe APPS_LOG and USERDATA. Click Flash and follow the instructions. If it asks to use a script, click no.
8- This process may take a while, be patient.
9- Boot your phone normally, you should be on Concept version 2157.
10- Go to Settings->About device-> Software update.
11- You should have an update available, take it. Your phone will reboot and install the update. Repeat this step until you don't have any more updates.

Okay, until now you have installed latest unmodified Sony's Concept ROM, if you don't need root or Xposed, that's it, you have finished!

UNLOCK THE BOOTLOADER

Warning: Unlocking your bootloader voids your warranty and makes you lose some stuff, as detailed here: http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
So make sure to make the TA backup in order to recover those things when you relock your bootloader in the future, if you want.

12- To begin, you need your IMEI number, that you noted in step 0.
13- Go to this webpage: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
14- Select Xperia Z3 Compact, click Continue, enter your email address
15- Click the link they sent you via email. Enter your IMEI, click Submit.
16- At the bottom of the page there will be a code, similar to "fastboot -i 0x0fce oem unlock 0xA8873D989C26BBBB", copy it.
17- You need to install the android SDK now, if you don't have it installed, or don't know how, there are plenty of guides on the web.
18- Open it, make sure to install "Google USB Driver Packager".
19- Go to "C:\Program Files\Android\sdk\extras\google\usb_driver" and copy the Fastboot driver downloaded in step 1.
20- Turn off your phone. Press the volume up button, and while doing this, connect the phone to your computer. It should boot into fastboot mode.
21- In your PC, go to "C:\Program Files\Android\sdk\platform-tools". Hold shift, and right click inside the folder. Click "Open command window here".
22- Type "fastboot devices" in the command window. See if your device shows up. If not, you did something wrong with your drivers, make sure that your SDK installation is correct.
23- Now copy the line you copied in step 13. Hit enter.
24- Your bootloader is now unlocked. Reboot your phone, it will wipe all your data, so you have a fresh install of the system.


INSTALL RECOVERY

25- Enter again into fastboot mode. That means, turn off your phone, hold volume up, and connect it to your PC.
26- Copy the TWRP Recovery downloaded in step 1 to "C:\Program Files\Android\sdk\platform-tools".
27- Rename it to "twrp.img".
28- Open a command window.
29- Type "fastboot flash recovery twrp.img".
30- That's it, now you have TWRP installed.

ROOT PHONE

31- Copy "SuperSU 2.65" downloaded in step 1 to your phone.
32- Enter Recovery mode.(Easiest way is: enter fastboot, use volume keys until "recovery mode" is selected and press the power button to enter it.)
33- Click Install, search for "SuperSU 2.65", swipe to confirm. Reboot your phone.
34- Done, you are now rooted!

INSTALL XPOSED

35- Copy "Xposed installer" and "Xposed apk" to your phone.
36- Enter Recovery mode.
37- Install "Xposed installer"
38- Reboot.
39- Install "Xposed apk.
40- You finished!

This is the end of the guide. Hope everything went fine for you. Feel free to post your doubts, if any! Cheers :D

Big thanks to:
-russel5 for the ftf file
-jozinek for his useful info
-Chainfire for SuperSU
-rovo89 for Xposed
-twrp team

Hi
So I have a problem with instaling twrp.img via android sdk
I see the phone in command line when I tape in command
line" fastboot devices" but when I tape next command
" fastboot flash recovery twrp.img" I see only failed:cannot
flash recovery twrp.img. My bootloader is correctly Open
sure because Ibefore I had using cm11, 12, 12,1 aosp too
and without problems. Do you have any idea or advise
what's the problem?
Thank's for everything ideas.
 

someone755

Senior Member
Sep 27, 2011
2,048
1,380
Ljubljana
in command line error :cannot load recovery twrp.img and I am connected in command line
Make sure twrp.img is in the directory you're executing cmd from.
Is this tutorial for windows users or can it be used with Linus or Ubuntu. Thanks
The only difference for Ubuntu would be the way to install Flashtool (Google it) and how to install adb and fastboot (since you can easily do it with apt-get).
When a new update appears, you must again do all the steps?
Just flash the FTF without flashing userdata in Flashtool, re-flash TWRP, and (optionally) root.
Your bootloader won't magically re-lock, and your TA keys won't spontaneously make their way back onto your device for you to back them up.
What does 'fastboot devices' say?
It might be a driver issue, though since you're on Windows that's hard as hell to fix. Try another PC, or boot up Ubuntu from an USB key.


Thanks for this thread mate, you're clearing up a lot of confusion people have been having regarding concept M.
 
  • Like
Reactions: systemallica

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    Hello, a couple of days ago I wanted to upgrade to Marshmallow but I couldn't find a proper detailed guide to do it, so in this thread I'm gonna show you how to install latest Sony's Concept 3027(latest version), how to unlock the bootloader, how to install TWRP, how to root your phone, and how to install Xposed.

    I made this coming from stock 5.1.1, but it should work for other ROMs and versions too (You must be rooted though).

    During this process, you will wipe your phone and unlock your bootloader, so make backups of everything you need.

    Let's begin:
    0- Make sure your bootloader is locked, and can be unlocked. To check this, go to dialer app, press *#*#7378423#*#*, service info->configuration, under "Rooting status", "bootloader unlock allowed" should say yes. Notice that at the top of your screen says IMEI, note that number down, you will need it later.
    1- First of all, download all the necessary files:

    1. ftf file(ROM v.3606): https://cloud.mail.ru/public/48SH/AyETJ63bw
    2. SuperSU 2.76: https://download.chainfire.eu/969/SuperSU/UPDATE-SuperSU-v2.76-20160630161323.zip
    3. TWRP Recovery 3.0.2-0: https://dl.twrp.me/z3c/twrp-3.0.2-0-z3c.img.html
    4. Xposed Material apk: http://forum.xda-developers.com/devdb/project/dl/?id=19668&task=get
    5. Xposed installer v86(sdk23-arm): http://dl-xda.xposed.info/framework/sdk23/arm/xposed-v86-sdk23-arm.zip
    6. Flashtool: http://www.flashtool.net/downloads.php
    7. Fastboot driver: dl-developer.sonymobile.com/drivers/downloadinf_v1.01.zip
    8. TA backup tools: https://github.com/DevShaft/Backup-TA/releases

    BACKUP TA PARTITION

    Make sure to be rooted before proceeding. You won't be able to backup TA properly without root!

    2- Unzip the TA backup tools downloaded in step 1.
    3- Connect your phone to the computer. Run backup-ta.bat.
    4- Follow the instructions.

    INSTALL THE ROM

    5- Now, install Flashtool. Once installed, go to "C:\Flashtool\drivers" and install flashmode and fastboot drivers(You will need to disable driver signature verification on windows 8/8.1/10).
    6- Take the ftf file previously downloaded and move it to "C:\Users\username\.flashTool\firmwares
    7- Open Flashtool, click on Flash device->Flashmode. The ftf should appear on the list. Check Wipe APPS_LOG and USERDATA. Click Flash and follow the instructions. If it asks to use a script, click no.
    8- This process may take a while, be patient.
    9- Boot your phone normally, you should be on Concept version 3606.
    10- Go to Settings->About device-> Software update.
    11-If there is an update available, take it. Your phone will reboot and install the update. Repeat this step until you don't have any more updates.

    Okay, until now you have installed latest unmodified Sony's Concept ROM, if you don't need root or Xposed, that's it, you have finished!

    UNLOCK THE BOOTLOADER

    Warning: Unlocking your bootloader voids your warranty and makes you lose some stuff, as detailed here: http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936
    So make sure to make the TA backup in order to recover those things when you relock your bootloader in the future, if you want.

    12- To begin, you need your IMEI number, that you noted in step 0.
    13- Go to this webpage: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
    14- Select Xperia Z3 Compact, click Continue, enter your email address
    15- Click the link they sent you via email. Enter your IMEI, click Submit.
    16- At the bottom of the page there will be a code, similar to "fastboot -i 0x0fce oem unlock 0xA8873D989C26BBBB", copy it.
    17- You need to install the android SDK now, if you don't have it installed, or don't know how, there are plenty of guides on the web.
    18- Open it, make sure to install "Google USB Driver Packager".
    19- Go to "C:\Program Files\Android\sdk\extras\google\usb_driver" and copy the Fastboot driver downloaded in step 1.
    20- Turn off your phone. Press the volume up button, and while doing this, connect the phone to your computer. It should boot into fastboot mode.
    21- In your PC, go to "C:\Program Files\Android\sdk\platform-tools". Hold shift, and right click inside the folder. Click "Open command window here".
    22- Type "fastboot devices" in the command window. See if your device shows up. If not, you did something wrong with your drivers, make sure that your SDK installation is correct.
    23- Now copy the line you copied in step 13. Hit enter.
    24- Your bootloader is now unlocked. Reboot your phone, it will wipe all your data, so you have a fresh install of the system.


    INSTALL RECOVERY

    25- Enter again into fastboot mode. That means, turn off your phone, hold volume up, and connect it to your PC.
    26- Copy the TWRP Recovery downloaded in step 1 to "C:\Program Files\Android\sdk\platform-tools".
    27- Rename it to "twrp.img".
    28- Open a command window.
    29- Type "fastboot flash recovery twrp.img".
    30- That's it, now you have TWRP installed.

    ROOT PHONE

    31- Copy "SuperSU 2.76" downloaded in step 1 to your phone.
    32- Enter Recovery mode.(Easiest way is: enter fastboot, use volume keys until "recovery mode" is selected and press the power button to enter it.)
    33- Click Install, search for "SuperSU 2.76-2", swipe to confirm. Reboot your phone.
    34- Done, you are now rooted!

    INSTALL XPOSED

    35- Copy "Xposed installer" and "Xposed apk" to your phone.
    36- Enter Recovery mode.
    37- Install "Xposed installer"
    38- Reboot.
    39- Install "Xposed apk.
    40- You finished!

    This is the end of the guide. Hope everything went fine for you. Feel free to post your doubts, if any! Cheers :D

    Big thanks to:
    -russel5 for the ftf file
    -jozinek for his useful info
    -Chainfire for SuperSU
    -rovo89 for Xposed
    -twrp team
    4
    DRM fix

    On Marshmallow 2157 and 2178 I managed to get back the DRM features without Keys by installing this.
    I am not sure if it works with your method, but you can try.

    If you already lost your TA partition (and keys), you need to do the following:

    1) Relock the bootloader: Connect your phone in flash mode (press volume down when connecting the USB cable). Click the BLU icon, then click Relock.
    2) Install a Kitkat ftf with TA partition included (23.0.1.A.5.77): Use Flashtool to install the ROM in flash mode (volume down). If it asks to use a script, click no.
    You must wipe data (check APPS_LOG and USERDATA boxes), otherwise the method will fail!
    3) Unlock the bootloader again (Click the BLU icon in Flashtool, then click Unlock).
    4) Install Androplus kernel V19c with TWRP recovery here (most newer kernels/recoveries do not work!): Connect in Fastboot mode (volume up), then flash the boot.img from the zip.
    5) Go into recovery (press volume up during boot when the notification light goes on).
    6) Flash the Marshmallow ROM by jenkins-84.
    7) Flash the drm restore zip V2 (the old version).
    8) Wipe data and reboot to system.

    If you tried the new DRM restore V3 (without the complicated method of flashing Kitkat first) please report back whether it works for you on Marshmallow!

    Before/After:

    DSC_0004.jpg

    DSC_0007.jpg
    2
    Thank you very much for your clear and concise instructions.

    Unlocked bootloader just fine, installed and updated rom just fine (it's working well).

    Unfortunately, I have hit a snag.

    After successfully flashing the twrp.img file using fastboot which is confirmed successful, I try to enter recovery mode and I get a pic of a dead android and the text "no command".

    Have tried different versions of TWRP to same effect, flash successful, entering recovery is not possible.

    This is on an Australian verrsion of the Z3 Compact which originally was not sim locked and had unlocked bootloader using the standard sony unlock process provided by them.

    Does anyone have any ideas? I know the Z3 compact had some real weirdness with the way custom recoveries had to be installed, but I was under the impression that after installing the new concept, this was no longer necessary.

    Any tips on getting a working recovery on this thing?


    For anyone else struggling here, grab the boot.img out of Jenkins CONCEPT rom and flash it as BOOT using fastboot.
    He has modified boot.img to contain a working recovery, from there you can apply root and carry out the rest of the steps...Jenkins is a legend.
    2
    @systemallica - Thanks for doing this - can you fix the link for step 1 and then I'll give it a go.

    Sorry, my bad, should be working now!
    2
    What?
    You let the people unlock their bootloader without any warning about the TA partition? :eek:
    If you lose the DRM keys you can't get them back forever, do you know? :confused:

    This is what you lose without DRM keys:
    http://forum.xda-developers.com/z3-compact/general/loss-drm-keys-t2890936

    You HAVE TO backup your TA partition before unlocking and the only way is following these instructions:
    http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343

    I really hope nobody has followed your guide without doing so :(