Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,692 Members 40,019 Now Online
XDA Developers Android and Mobile Development Forum

Root, Backup TA, Unlock bootloader and more! The ultimate Xperia Z1 guide

Tip us?
 
krabappel2548
Old
(Last edited by krabappel2548; 10th September 2013 at 02:20 PM.)
#1  
krabappel2548's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 13364
Posts: 6,144
Join Date: Nov 2011
Location: Neerpelt

 
DONATE TO ME
Default Root, Backup TA, Unlock bootloader and more! The ultimate Xperia Z1 guide

The Ultimate Xperia Z1 Guide

== Information ==
On this thread I'll post information about Rooting, Backup of TA, Flashtool, recovering from softbrick etc. So this thread is aimed to provide as much usefull info as possible.

== General information about Xperia Z1 ==

You can check all specifications here: Sony Mobile


I'm back with development, but not superactive yet.

Consider donating to me if you like my work. this would help me buy future devices.
 

Devices I have:
- Xperia Z1

Current devices I develop for:
- Xperia Z1
- Xperia Z Ultra

What I did and do:
- Member of Team AC!D, developer of Xperia Z Revolution Rom, Xperia ZL Revolution rom, Xperia S Revolution rom, Xperia Carbon rom's with tweaked kernel, and more!
The Following 70 Users Say Thank You to krabappel2548 For This Useful Post: [ Click to Expand ]
 
krabappel2548
Old
(Last edited by krabappel2548; 24th February 2014 at 12:38 PM.)
#2  
krabappel2548's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 13364
Posts: 6,144
Join Date: Nov 2011
Location: Neerpelt

 
DONATE TO ME
Part 1, 2, 3 & 4: Downgrade, Root, backup TA and unlock the bootloader

== Part 1: Downgrading the Xperia Z1 ==
To be able to root your Xperia Z1 when it has Jellybean 4.3fw or later you need to downgrade it first to be able to use a rooting toolkit, you can succesfully downgrade by downloading this ftf:
- Torrent: 14.1.G.1.534 torrent
- XDA DevDB: 14.1.G.1.534 downgrade FTF

All you need to do to downgrade to a working 14.1.G.1.534 is flashing this ftf in Flashtool. If you don'tknow how to flash an ftf move to the part about FlashTool in this guide

== Part 2: Rooting the Xperia Z1 ==
It seems rooting at the moment will work with a tool called 360rot, you can download it here: 360 root homepage. this tool sadly is in chinese language, I'll try to find out which rooting method it uses ot create an English exploit.

You can also use vroot, I'll discuss this one too

VRoot guide:
- You need to download vroot here: vroot homepage
- Install vroot, I just clicked next, next, next until it finished installation I don't understand Chinese, but I rooted my phone
- Open up vroot and connect your Xperia Z1, you need to get something like this:


- Click the green button to start rooting
- When it finished you're phone will restart and you'll get this:


_ Voila, your phone is now rooted

For now this is the guide I made, thanks to @yeeson for helping me with translating the chinese and giving me screenshots for root 360
- Download and open 360 root
- You'll get a prompt about needing to close the following conflicting service before continuing: adb.exe
- turn on usb-debugging in settings => developer options, and connect your phone
- Open 360 Root again, at this time the upper left corner shows a red font but it isn't to root:
- Click the green button in the bottom right corner, this button is to start rooting your device:



- Progress bar will advance automatically, it can restart a few times, just let it do it's magic!
- When it finished, on top there will be a message: Congratulations, rooting was succesfull:



- To get Root permissions, click the green button in the bottom right corner again now.
- Then the top left corner displays a blue font, this means you are rooted:



== Part 2: Backup TA ==
To backup your TA partition you can use this wonderfull tool created by @DevShaft

You can find it here: [Tool] Backup TA v9.7 for Windows

== Part 3: Unlock your bootloader ==
Unlocking your bootloader means you'll be ablet to flash custom kernels and more roms, like CM, AOKP, PAC and all other source based roms. What you need is a pc with adb acces.
You can download the adb files:
- Windows: Will add these later
- MAC: Will add these later

WARNINGS:
This procedure will wipe the /data partition of your phone, so you will loose all your stored data, settings. SDCARD will BE WIPED!!!

Quote:
For Xperia™ devices released 2013 or later (for example Xperia™ Z and Xperia™ Z1), the SD card of your device will be formatted and you will lose all content (for example photos, music, videos) when you unlock the boot loader.
- DRM keys WILL be lost during this process


Unlocking the bootloader isn't a difficult process, just follow the steps:
- Go to the official sony site for unlocking the bootloader and follow instructions there: Unlock Xperia Bootloader
I'm back with development, but not superactive yet.

Consider donating to me if you like my work. this would help me buy future devices.
 

Devices I have:
- Xperia Z1

Current devices I develop for:
- Xperia Z1
- Xperia Z Ultra

What I did and do:
- Member of Team AC!D, developer of Xperia Z Revolution Rom, Xperia ZL Revolution rom, Xperia S Revolution rom, Xperia Carbon rom's with tweaked kernel, and more!
The Following 54 Users Say Thank You to krabappel2548 For This Useful Post: [ Click to Expand ]
 
krabappel2548
Old
(Last edited by krabappel2548; 10th September 2013 at 08:51 PM.)
#3  
krabappel2548's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 13364
Posts: 6,144
Join Date: Nov 2011
Location: Neerpelt

 
DONATE TO ME
Part 4: Flashtool

== Information ==
Flashtool is a tool that allows you to flash FTF files on an Xperia device, this is a powerfull toool when your device is bricked. I'll make this a thread for:
- How to install it?
- How to use Flashtool? (2nd post)
- How to recover a soft bricked device? (3rd post)

== Downloads ==
- Download flashtool for you operating system from the official FlashTool site: Download FlashTool
- Download the XZ1 device folder I created: Xperia Z1 device files Will upload this later

== Installation ==
- Run the installer or unpack the archive for Linux and Mac
- [Optional] Windows uers can go to C:/FlashTool/drivers to have a nice wizard to install fastboot & adb drivers and also drivers for other devices
- Copy the downloaded device file archive to C:/Flashtool/devices
- Open up flashtool, go to "devices => manage => import" and choose the device file you downloaded
- Installation finished!

== Some basics before starting ==
- Entering Flashmode:
* connect your powered off device while holding volume down to pc
- Entering Fastboot (bootloader) mode:
* connect your powered off device while holding volume up to pc
== Install an FTF file ==
FTF files are the regular Sony firmware files, installing them is quite easy and powerfull to recover a soft bricked/semi-bricked device.

- You need to put your ftf file in C:/Flashtool/firmwares before flashing it
- You can start by clicking on the "Flash" icon, it's the left icon in the icon bar
- You'll get a prompt asking you to go to "Flashmode" or "Fastboot mode", choose Flashmode
- The following screen should look like this:


Quote:
- Red: Firmware selector to selct the firmware you want to flash
- Blue: this will display the firmware content
- Green: Wipe options, you can choose to wipe certain things here
- Purple: Exclude options, this is to exclude content like kernel or baseband from flashing
- Orange: verification check, you don't need to edit this option
- Click the Flash button to flash the FTF
- Wait for the prompt and connect your device in Flashmode

== Use Fastboot toolkit ==
- You can start by clicking on the "Flash" icon, it's the left icon in the icon bar
- You'll get a prompt asking you to go to "Flashmode" or "Fastboot mode", choose "Fastboot" this time
- You'll get the following screen:

The options you'll use most would be:
Quote:
- Flask kernel
- Flash a system.img file
I'm back with development, but not superactive yet.

Consider donating to me if you like my work. this would help me buy future devices.
 

Devices I have:
- Xperia Z1

Current devices I develop for:
- Xperia Z1
- Xperia Z Ultra

What I did and do:
- Member of Team AC!D, developer of Xperia Z Revolution Rom, Xperia ZL Revolution rom, Xperia S Revolution rom, Xperia Carbon rom's with tweaked kernel, and more!
The Following 32 Users Say Thank You to krabappel2548 For This Useful Post: [ Click to Expand ]
 
krabappel2548
Old
#4  
krabappel2548's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 13364
Posts: 6,144
Join Date: Nov 2011
Location: Neerpelt

 
DONATE TO ME
Part 5: recover a soft-bricked device
I'm back with development, but not superactive yet.

Consider donating to me if you like my work. this would help me buy future devices.
 

Devices I have:
- Xperia Z1

Current devices I develop for:
- Xperia Z1
- Xperia Z Ultra

What I did and do:
- Member of Team AC!D, developer of Xperia Z Revolution Rom, Xperia ZL Revolution rom, Xperia S Revolution rom, Xperia Carbon rom's with tweaked kernel, and more!
The Following 10 Users Say Thank You to krabappel2548 For This Useful Post: [ Click to Expand ]
 
shem2409
Old
(Last edited by shem2409; 10th June 2014 at 05:48 PM.) Reason: New Android 4.4 Video Guide added to post
#5  
shem2409's Avatar
Senior Member
Thanks Meter 587
Posts: 661
Join Date: Feb 2013
Location: Poznan

 
DONATE TO ME
Here is my brand new video showing how to root and install the newest recovery on bootloader locked Android 4.4. Xperia Z1



The Following 10 Users Say Thank You to shem2409 For This Useful Post: [ Click to Expand ]
 
jlevy73
Old
#6  
jlevy73's Avatar
Senior Member
Thanks Meter 1228
Posts: 9,135
Join Date: Nov 2009
Location: Los Angeles
Sorry, but where is Part 3 unlocking the bootloader?
 
Ferranza
Old
#7  
Ferranza's Avatar
Senior Member
Thanks Meter 137
Posts: 893
Join Date: Nov 2010
Location: imperia

 
DONATE TO ME
I ordered today the Z1.... hope it will come asap,meanwhile thank you for your guides!
The Following User Says Thank You to Ferranza For This Useful Post: [ Click to Expand ]
 
krabappel2548
Old
#8  
krabappel2548's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 13364
Posts: 6,144
Join Date: Nov 2011
Location: Neerpelt

 
DONATE TO ME
Quote:
Originally Posted by jlevy73 View Post
Sorry, but where is Part 3 unlocking the bootloader?
I'm not constantly behind my pc, I have a life too I'll add it later today

Sent from my C6603 using xda app-developers app
I'm back with development, but not superactive yet.

Consider donating to me if you like my work. this would help me buy future devices.
 

Devices I have:
- Xperia Z1

Current devices I develop for:
- Xperia Z1
- Xperia Z Ultra

What I did and do:
- Member of Team AC!D, developer of Xperia Z Revolution Rom, Xperia ZL Revolution rom, Xperia S Revolution rom, Xperia Carbon rom's with tweaked kernel, and more!
The Following User Says Thank You to krabappel2548 For This Useful Post: [ Click to Expand ]
 
mrvirginia
Old
#9  
mrvirginia's Avatar
Recognized Themer
Thanks Meter 2597
Posts: 4,129
Join Date: Jun 2010
Location: Charlotte, NC

 
DONATE TO ME
nice to see development moving along quickly for this device. i have high hopes for it.
thanks for your contributions.
Samsung Galaxy S4 M919 running VirginROM / Apollyon
MotoX XT1053 running personal dev build
Kahvitahra's mods || SGS2 GingerWay_BlueOcean Theme || GNex battery mod thread || S3 Virgin Theme

 
ryancnap
Old
#10  
ryancnap's Avatar
Senior Member
Thanks Meter 27
Posts: 230
Join Date: Aug 2012
Location: Bloomsburg
so how did we get a root method already? nice guide, the fact that this is here so early on definitely gives me hope for an awesome dev scene never owned a sony device before
CURRENT - LG Optimus G E970 (AT&T) (rooted/unlocked) w/Unofficial Liquid Smooth & HTC One (AT&T) (rooted/unlocked/S-OFF) w/4.3 SlimBean
BROKEN - AT&T Skyrocket i727 (rooted/carrier unlocked) w/Official CM10 Nightlies
USING - LG G2 D800 (AT&T)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes