[Sony Xperia X Questions & Answers] YasuHamed:
B a s i c s

FIRST OF ALL

it was WISE of you to inquire before even touching the bootloader .

xperia is the apple of Android,

literature

first step, understanding the TRICKY world of SONY

https://xdaforums.com/showpost.php?p=76429289&postcount=7 (preface)

what do u need???

https://xdaforums.com/showpost.php?p=76432787&postcount=12

what you should do ?

D-R-I-V-E-R-S

ON WINDOWS X64 PC (ONLY)

1. install xperia companion

2. install flashtool (www.flashtool.net)

3.A after installation flashtool, goto C:\Flashtool\Drivers and there will be one setupfile call DRIVERS, Run it and check all checkboxes ( for you i would say check all) and proceed. The process will take a while and all motherboard drivers will be installed)

3B. IF you are on win10 THEN no3 will fail and you wont able to install drivers! .. hence.. YOU MUST DISABLE DIGITAL SIGNATURE VERIFICATION ( google this, it whole separate method! )

3C, if you are on win7 x64 then you will keep getting this POPUP for digital signature verification warning , INSTALL ANWAYS.

4. install minimal adb and fastboot CLICK HERE

EXTRACTING TA.IMG / DRM KEYS / USING TA_BACKUP AKA DIRTYCOW SCRIPT

1. MAKE sure xperia x is on android 6.0.1 if not then flash it, HOW ? READ HERE

2. EXTRACT TA-BACKUP TOOL ON DESKTOP AND . enable USB debugging in X and run the bat file. download the script from HERE

3. you can run the script multiple times and it will extract same key file timestamped in the same folder on desktop! now you have your TA.IMG

UNLOCKING BOOTLOADER

1. VISIT UNLOCK CODE PAGE ON SONY WEBSITE and select X and give your valid email ID and IMEI number

2. sony will send you an email with your UNLOCK CODE

3. I use flashtool, simply connect your device in FASTBOOT MODE (blue LED) and click "BLU" on flashtool and enter the CODE

4. SONY WILL JERK , restart, ANDROID BOT WILL APPEAR to WIPE your TA PARTITION (DRM KEYS), DATA PARTITION, AND INTERNAL STORAGE PARTITION , so you will LOOSE ALL THE DATA ( i hope you have backup)

5. on every restart, THIS DEVICE CANNOT BE TRUSTED warning will start appearing .

NOW WHAT?

1. its your choice to stay on android 6 or upgrade to 7 or 8

2. you must now use modified kernel in order to mock drm keys and root xperia x

3. you can obtain all that from my post ( CLICK HERE ) PLEASE READ CAREFULLY

----------------------------------------

1. FLASHTOOL comes with XPERIFIRM (last icon xp )

2. Xperifirm offers latest & the very first stockrom on which all sony devices left factory

3. the best tool to download sony stockroms! select 2016 devices, select SUZU and its variant and see the countries v/s builds offered . latest OREO build for X is 34.4.A.2.70. Take the German Customised and download

4. ONCE DOWNLOADED close download window and xperifirm. FLASHTOOL will start compiling the downloaded chunk of data from "C:\Users\<user>\.flashTool\firmwares\Downloads" to ONE .FTF FILE (2.7gb). it will prompt u something about fcs script , click YES or OK (i don't remember which one it is ) and let flashtool create the bundle at "C:\Users\<user>\.flashTool\firmwares"

5. once you have the ftf file , you can DELETE the contents inside "C:\Users\<user>\.flashTool\firmwares\Downloads" to save disk space.

6. NOW YOU ARE READY TO FLASH THIS VERSION OF STOCKROM TO YOU XPERIA X

7. PLEASE GOOGLE THE FLASHING GUIDE , i am bit lazy here to xplain since i has been already done many times :)

please do let me know in case of any guidance

if you like you may join our whatsapp group too ( click here )