Android: Sony Xperia – Create Stock FTF with Official Xperia Firmware Updates

If you own Android and root your phone, it is best to keep the official stock to reflash when something goes wrong to official Stock Firmware. This tutorial explains the tools required to obtain official Sony Firmware Update and to bundle using FlashTool. This tutorial is only for Sony Xperia Android device. In tutorial, I divided into 5 sections:

Step 1: Download and Install Sony PC Companion

Step 2: Download and Install FlashTool

Step 3: Download Official Firmware Update from Sony

Step 4: Create Stock FTF

Step 5: Rename FTF Created with Standard Name

Note: 1. For FTF Standard Name, there are two conventions defined: XDA and YLNOTES.

If you wish to publish to XDA, please use XDA convention. If this is for personal, you can use either one. YLNOTES is my preference.

Step 1: Download and Install Sony PC Companion

1. Download Sony PC Companion

2. Install Sony PC Companion

 

3. Install Support Zone

 ANDROID_20140001_0006ANDROID_20140001_0007

4. Plugin USB Cable to your phone to check connection

Step 2: Download and Install FlashTool

1. Download FlashTool by Androxyde

2. Install FlashTool

3. Run FlashTool according to your architecture

x86 32bit -> run FlashTool.exe x64 64bit -> run FlashTool64.exe

Step 3: Download Official Firmware Update from Sony

1. Start Sony PC Companion

2. Plugin your phone using USB cable to detect your phone

3. Click on Support Zone

ANDROID_20140001_0012

4. Follow Software Download Wizard

Note:

    1. Disconnect your USB Cable when the wizard in stage ‘2 Prepare’ and the download starts.

    2. If you forget to disconnect, it may proceed updates to your phone.

 

 

Disconnect your phone USB Cable NOW

as download starts

5. Once the download completed, the Firmware binary (prefix FILE_) stored at location:

Windows Vista and higher -> C:\ProgramData\Sony Mobile\Update Engine\db\13740270\blob_fs

 

Step 4: Create Stock FTF

1. Run FlashTool

2. Decrypt Sony Firmware FILE

FlashTool v0.9.15.0:  Tools -> SEUS Decrypt

FlashTool v0.9.18.2:  Tools -> FILESET Decrypt

3. In Source Folder, navigate to Stock ROM Updates downloaded from Sony Mobile

Windows Vista and higher

C:\ProgramData\Sony Mobile\Update Engine\db\13740270\blob_fs

ANDROID_20140001_0028

4. In Available files, all BLOBS with prefix FILE_ will appear

5. Highlight all files in Available files and click Right arrow button -> to add to Files to convert

6. Click Convert to start decrypting

7. Create FTF

FlashTool v0.9.15.0:  Tools -> Bundle Creation

FlashTool v0.9.18.2:  Tools -> Bundles -> Create

8. At Select source folder, navigate to downloaded Sony ROM Updates

Windows Vista and higher

C:\ProgramData\Sony Mobile\Update Engine\db\13740270\blob_fs

ANDROID_20140001_0033

9. Highlight all folder list, and click right arrow -> to add to Firmware content

10. In Firmware content, scroll down until you find TA section and click left arrow button <- to exclude from Firmware content

Note:

    • TA (Trim Area) is strongly advise not to mess this partition. It can cause hard-brick to your phone.

11. In Device, double click the textbox in grey color to select the model and variant

12. In Branding, the convention is to set Type and Country

Since this is Official Stock ROM, set: – Type : Generic – Country : 2 character ISO Country Code

For Version, set the downloaded ROM update version (refer to Step 3 Item 4)

13. Click Create button to start the bundle creation

<

p style=”padding-left: 30px;”>

14. Once the bundle creation is completed, click Save log if you wish to review

 

Step 5: Rename FTF Created with Standard Name

  1. Copy the script into FlashTool\Firmwares folder
  2. Edit YLNotes__Android_FTF_StandardName.cmd to set Configuration Input
  3. Execute Admin Script

 

Admin Scripts

  1. YLNotes__Android_FTF_StandardName

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.