[Xperia SP][INFO][REF] All the info you need before you begin - Xperia SP General

@MODS
request you to sticky this thread
hello friends,
let me begin by introducing myself, i am developer for Xperia devices (X10, ARC, PLAY, S, T, Z) and am the Lead Developer of Team UtterChaos, member of Team ICX and was associated with Team FreeXperia, ... i have some experience in development for Xperia devices, specifically in kernels, rooting & recoveries and i have various how-to, reference threads which are very helpful to new & advanced users alike across various device communities... i hope even this thread will be useful to everyone... if you would like to know what things i have worked on before feel free to check some of the links in my signature below...
so some of u must be new to the Sony Xperia family & even if u are not this should be useful... this thread should get u up to speed on what you need to know for this device...
i will try to cover some very basic things and try to touch upon some advanced topics...
i will be dividing this thread into various sections, and each section will point to an individual post...
following is the list of sections covered:
Basics
FlashTool
Bootloader Unlocking & Relocking
Rooting
Recovery
Flashing Custom Kernel
Flashing Custom ROMs
for those who are interested in development are free to contact me via p.m.... BUT PLEASE do not ask generic questions, post all generic queries at the forums/threads...
regards,
DooMLoRD

Basics
[ various bootmodes ]
newest Sony devices have three boot modes... these bootmodes can be reached when device is powered off...
Normal - just press power button and device starts booting
Flashmode - this mode is used to flash stock OFFICIAL firmware using flashtool, denoted by GREEN LED (this is similar to DOWNLOAD/ODIN mode of the Samsung devices)
Fastboot mode - this is a special mode, denoted by BLUE LED, used when we want to flash custom kernel, custom system images, for that we need to unlock bootloader, i will tell more details about this later...
[ various key combinations ]
this is most important part...
known key combinations so far:
while device is power OFF
Volume Up + USB cable connected to PC -> FASTBOOT MODE (BLUE LED will light up)
Volume Down + USB cable connected to PC -> FLASHMODE (GREEN LED will light up and quickly disappear)
while device is power ON
There is a special button under a small back cover
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Button Pressed and hold for 5 seconds -> resets the battery, its like removing the battery and putting it back in
Button Pressed and hold for >10 seconds -> will power off hard, device will power down [device will vibrate thrice]
[ understanding About Device ]
What it all means for u:
Kernel version:
Sony has released this device with 3.4.0 kernel. When custom kernels are released (they will surely be soon) this string will change (as can be seen from the screenshot).
Model number:
The Xperia SP has model number as C530x and has three main variants....
C5302
C5303
C5306
the difference is in the radio frequencies each variant supports
Android version: http://en.wikipedia.org/wiki/Android_(operating_system)
Sony officially launched this phone with android version 4.1.2 (aka Jelly Bean).
Baseband version: [linked to firmware version]
(Crudely) this is a software interface which communicates with radio -> gsm/wcdma (2g/3g)/LTE, basically acts as a base for the main OS to ‘talk-to’ the hardware on the phone [I know this explanation isn’t precise even partly incorrect.. if someone can help me out I will update it]
This is similar to the "radio" image of the HTC devices.
Build number: [aka firmware version]
This is dependent on which firmware u flash on ur phone and is linked to the baseband version.
Btw some devs use this field to add their own ‘signature’ to the ROM so if u are using custom ROMs this field might be varying. Though the Baseband version for a particular firmware remains same.
what is firmware?
The firmware is a package containing all the official software for a particular build. It will contain system, kernel & baseband files. Generally the firmware is supplied (on forums) in form of FTF package (a container file ending with .ftf) which can be flashed via FlashTool.
what are the ways to update/repair firmware?
SEUS (Sony Ericsson Update Service) / PCC (PC Companion) / EMMA are all official ways to update to new or repair existing firmware on your device. SEUS/PCC are available to all users (consumers), EMMA is special and is only available to select individuals. This requires you to connect device to PC and then the software will check for updates and download them over the internet.
Updates can also be sent as FOTA (Firmware over-the-air)/OTA (over-the-air) updates where in you can download and install the updates without the need to connect to PC/any software.
FlashTool is an unofficial user-created tool, but the best way to flash official firmwares. Generally the firmware is supplied in form of FTF package (a container file ending with .ftf) which can be flashed via FlashTool. Thus FlashTool is the easiest way to do offline updates, just download the FTF file, it keep on PC and flash ur device when ever you want to.

FlashTool
Flashtool is one of the MOST IMPORTANT piece of software for ur phone, it is an unofficial, but the best way to flash official firmwares on both locked and unlocked bootloader devices. Generally the firmware is supplied in form of FTF package (a container file ending with .ftf) which can be flashed via FlashTool. Thus FlashTool is the easiest way to do offline updates, just download the FTF and keep on PC and flash ur device when ever you want to. One can also flash select partitions using FlashTool, say you want to flash baseband(radio) from newer/older firmware but want to keep the main system the same u can do that using newest FlashTool! FlashTool also supports fastboot modes! so if you are not very comfortable with command line then u can use the FastBoot Toolbox inbuilt into FlashTool to fastboot the kernels!
FlashTool can be used to flash both locked and unlocked bootloaders devices.
For all flashtool informations (download links, release notes, FAQ) go to the Flashtool Homepage
Flashtool specifically for 2013 Xperia devices released!
Flashtool is on github : FlashTool GitHub repo
[FLASHTOOL GUIDE] HOW TO for n00bies (excellent guide for new users, HIGHLY RECOMMENDED!! The info for Rooting, Recovery & Bootloader UNlock in that thread is for older Xperia devices...)
i will try n get more links for FlashTool and post it here
Sony also provides an official FlashTool but it can be used only with unlocked bootloader devices

Bootloader Unlocking & Relocking
[Tutorial] Xperia SP Bootloader Unlocking/Relocking

Rooting
[ROOT][SP] How-to for rooting newest firmware 12.0.A.2.245
[ROOT] DooMLoRD Easy Rooting Toolkit

Recovery
if you are not familiar with custom Android recoveries i suggest that u read this:
http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/
FOR UNLOCKED BOOTLOADERS:
Currently CWM Recovery is available for this device and come as a part of kernel (stock or custom kernel)
Recoveries on stock kernel:
[Recovery] CWM (UNLOCKED Bootloaders)
FOR LOCKED BOOTLOADERS:
[Recovery] CWM (LOCKED Bootloaders)
kindly post queries related to specific recovery at the corresponding thead

Flashing Custom Kernel
CUSTOM KERNELS ARE SPECIFIC TO ROMs...
you cant use stock kernel on CM ROM and you cant use CM kernel on stock ROM....
there are two ways to flash custom kernel
first download the kernel file... if it is a boot.img then use Method 1 (fastboot mode) or if its a update.zip file then use Method 2 (recovery)
Method 1 - fastboot mode
if you get kernel in boot.img format then do the following
reboot device into fastboot mode
then flash the kernel using following command:
Code:
fastboot flash boot kernel.elf
then reboot from fastboot
Code:
fastboot reboot
thats it now device should start booting that kernel
Method 2 - recovery
if you already have recovery working on your device then do the following
save the update.zip on SDCARD
reboot into recovery
flash the update.zip which contains the kernel
reboot into system
thats it now device should start booting that kernel

Flashing Custom ROMs
Most custom ROMs are provided as update.zip. Its a technical term, basically its a special signed ZIP file which can be flashed via custom recovery.
Download the ZIP file and save it on ur PC
now connect ur device and save the ROMs ZIP file on the SDCARD
disconnect the device (after copying is over)
reboot into recovery
go to install ZIP from sdcard menu and navigate to the folder where you saved the ZIP file
now select it
recovery will start flashing the ROM
after flashing is over just reboot device and you will be on the custom ROM
Tips:
some CUSTOM roms require specific kernels (like CM10) in that case FIRST flash the corresponding kernel and then follow the instuctions posted above
sometimes the ROM requires cleaning /data & /cache partitions. you can wipe these before flashing the ROM! [WARNING YOU WILL LOSE UR DATA BY DOING THIS!]

thread is now completed and ready

Very informative thank

Sim-Unlock?
I see no information about unlocking C5303. Is it possible to unlock O2 UK C5303 with any method mentioned above?

Ok.. so I rooted, unlocked bootloader and installed CWM for unlocked bootloader... but I still have my BE2 in settings!

sarkar1990 said:
Ok.. so I rooted, unlocked bootloader and installed CWM for unlocked bootloader... but I still have my BE2 in settings!
Click to expand...
Click to collapse
It will stay in the settings,but without the DRM keys it no longer works for pictures, just video. Also you may not be able to share music likes with walkman, alsoyou cannot share your location via MMS

Thank, it was usefull

Thanks!! Your post made the transition from Samsung to Xperia easy.. :good:
Not so easy compared to Physical buttons of Samsung phones..:cyclops:

[Q] 2-way Call Recording
Thanks for so detailed informations. i have xperia arc s now, and hoping switch to xperia sp.
I use doomkernel v22 GB for my xperia arc s. it work nicely on my phone and 2-way call recording is my favorite fitur.
[Q] Would it be "2-way call recording" on Xperia SP Kernel?
Thanks in advance
NB: sorry for my bad English

i've a 5303 but i cant install flashmode driver and flashtool don't see the phone..

First started rooting my phones 18 months ago when I ran out of memory on my old Xperia Mini Pro and needed to delete all the bloatware.....now after a rooted LG 4x HD, Iv'e just got the new SP and again have it rooted, running on .257
Thanks for your guide and links, worked a treat

anyone have firmware 12.0.A.2.245 generic for C5302 ? i want to back it up incase i ever needed it.
edit: without any modification.

kinda lost
sry bout to ask this here, but im trying to install doomlord's kernel v2 on my xperia sp, but looks like dev-host isn't working at all, is there other way to get that kernel? i just bought my sp yesterday and today unlocked the bootloader and made the backup TA, but since i cant download the kernel i cant install cwm :c hope u guys give me any advice, i still dont have enough posts, thats why im posting here.
PD: sry bout my english, is my 2nd lang, im from Chile. Greetings.

Related

[RECOVERY] [SGH-I757M ONLY] v6.0.1.1 - Bell GS2 HD LTE ClockworkMod Recovery

ClockworkMod Recovery for Samsung Galaxy S2 HD LTE (SGH-I757M)
Bell Canada released the Galaxy S2 HD LTE (SGH-I757M), which is a slight upgrade from its original Galaxy S2 GT-I9100M released the summer before, with now a bigger display and HD resolution. I have ported ClockworkMod (CWM) Recovery to the SGH-I757M, which allows you to make backups/restores of your device and also to flash custom ROMs and ZIPs.
(If you still don't know what ClockWorkMod Recovery or a custom recovery menu is, Google it or search XDA.)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
WARNING! Do not flash this to a different device model from the one it's meant for - YOU MAY BRICK YOUR PHONE IF YOU DO. It will not work with the other Galaxy S2 iterations like the I9100, so don't try it with the Bell Galaxy S2 I9100M (non-HD). DO NOT flash it on the Asian variant of the GS2 HD (SHV-E120) either, as it uses slightly different internal hardware - the ROM will be unstable and the phone component will not work. If you are sure you have the CANADIAN Bell Galaxy S2 HD LTE (SGH-I757M), then click on the button below:
(For questions about ClockworkMod for the SHV-E120, contact skysbird on Twitter or GitHub. I will not discuss that device in my thread, it's not compatible with this ClockworkMod.)
NOTE FROM dsixda:
I SOLD MY SGH-I757M IN SEPTEMBER 2012. PLEASE DO NOT MESSAGE ME FOR TECH SUPPORT. DIRECT YOUR QUESTIONS TO THIS THREAD ONLY. STOCK FIRMWARE AND MORE ARE IN POST #3.
DOWNLOAD HERE
Go to the Dev-Host link above and navigate to the "Bell SGS2 HD LTE" folder, and then the "clockworkmod" sub-folder to access the files required for the following steps. Please read the installation instructions carefully.
Support my work:
DONATE / FOLLOW ME
To install CWM Recovery:
If you don't already have Odin, download it from the link above, and extract the zipped file to a folder. Ensure both the .EXE and .INI file have been extracted.
Download the TAR file for ClockWorkMod Recovery (e.g. cwm_recovery_xxxx.tar, or if you want the version that uses finger touch input: cwm_touch_recovery_xxxx.tar). Do not extract the file out of it, keep the TAR file as it is.
Turn off the phone
Put it into Download mode by pressing Power and Volume Down at the same time. The device will vibrate and soon you will see a Warning screen, where you will need to press Volume Up to enter Download mode. (NOTE: You can also use the Galaxy S2 USB Jig to go straight to Download mode. I recommend you get one from eBay just in case.)
While in Download mode, start up Odin and connect your phone to the PC via USB. You should see a status message in Odin saying your device was "added".
In Odin, press the BOOTLOADER button and select the CWM TAR file you just downloaded.
In Odin, press Start. Your custom recovery should be flashed completely in a span of a few seconds, and then it should say "PASS" in Odin. If it doesn't finish and is stuck, then your file was either corrupted during the download or there was an MD5 mismatch (this is not a regular TAR file, it has an MD5 signature).
IMPORTANT: If you downloaded the "Touch" version of CWM, *avoid* using the "Reboot to Recovery" option in the ROM or apps like Quick Boot to boot into recovery. I have found that using such apps with Touch Recovery causes every subsequent reboot to go back into recovery rather than to the system. If you are stuck in this state, re-flash the recovery image so that it boots back to the system. Next time, if you want to get into recovery, use the button combination mentioned in the steps below instead. If you have the non-touch (normal) version of CWM, this issue won't happen.
To enter CWM Recovery:
Turn off the phone
Hold down the Power button to turn the phone on, and then immediately hold down Volume Up + Volume Down at the same time.
The device will then show the word "Samsung". Let go of the buttons at the exact moment you see this.
If you did it on time, you will enter CWM Recovery. Use the Volume keys to move up and down, and press Power to select. The capacitive buttons do this: Menu = DOWN, Back = BACK to main menu, Search = SELECT
NOTE: If you had flashed CWM but are still seeing the stock recovery image, then click here for a solution.
Make sure you make a Nandroid backup of everything the first time you use custom recovery. The backup will be stored under the 'clockworkmod' folder of your SD card.
UPDATE: I sold off my device back in September 2012, so please do not message me for tech support. Use this thread instead, which is its intended purpose. Thanks!
To root your device through CWM:
This step is only if you want to root the stock firmware that is currently on your device. If you are going to flash a ROM like CyanogenMod, then you can skip this section, since most custom ROMs already have root installed.
You need to first download root_sgs2hdbell.zip from the Dev-Host site linked above. Copy it to your device's internal or external SD card.
Then go back into CWM and flash the ZIP. You should now be rooted, you don't need to do anything else to your stock ROM.
Factory/stock firmware images, custom ROMs, change log, source code, acknowledgements, etc.:
See next two posts!
.
Change Log
Version 6.0.1.1 (the first Touch version for SGH-I757; August 16, 2012)
Built using ClockworkMod Recovery Builder (also required hex-edit of ramdisk load address)
Version 6.0.1.1 (Non-Touch version - August 15, 2012)
Latest version of CWM, updated from CyanogenMod sources
Version 5.5.0.4b (July 3, 2012)
In kernel, enabled CONFIG_MMC_BLOCK_BOUNCE which helps with SD read/write performance (may fix SD card flashing issues)
Version 5.5.0.4a (June 22, 2012)
Using ICS kernel based off MSM 8660 sources
Fixed issue where if someone uses an app to reboot into recovery, the device will never be able to reboot back into system (would always boot into recovery unless you re-flash recovery image). "Boot to recovery" apps will now work.
Contains proper device name info (SGH-I757M, not full_galaxys2hdbell)
Version 5.5.0.4 (June 12, 2012)
First build based off stock Gingerbread kernel
Custom ROMs:
There is already development undergoing for this device:
If you only want a rooted stock Gingerbread or ICS ROM with all the Bell apps removed, see the Dev-Host link in post #1, under the SGS2 HD LTE / Other Custom ROMs folder.
markdexter's DexROM - strips down the above ROM even more and adds a theme
Try my CyanogenMod 9 - this is stock Android 4.0 (Ice Cream Sandwich). It is good enough to use every day.
Try my CyanogenMod 10 - this is stock Android 4.1 (Jelly Bean).
Copy the ROM to your SD card and then go back into CWM and flash the ZIP.
Factory images and related files:
If you want to reset the flash counter found in Download Mode so that it doesn't mention a custom ROM was flashed or was flashed multiple times, then try this mod, courtesy of mangelok: Flash counter reset
For the original stock 2.3.6 and 4.0.4 firmware for SGH-I757M, see the Dev-Host link in post #1 - under the "SGS2 HD LTE / factory images" folder. You can flash this in Odin to restore your phone to original state. Just do a factory reset of your phone, then open Odin and place the tar.md5 file in the PDA slot and then start the flash. This also flashes the stock recovery image.
If you just want the Bell ICS modem (MUGLH2), it is found in the 'factory images' folder. You need to flash this under CWM.
There is also a stock 2.3.6 firmware + stock recovery, which has Superuser (root) files injected in it, so it's already rooted (but without CWM). It's at the Dev-Host link in post #1 (rooted_I757MUGLCA_I757MOYCLCA_I757MUGLCA_HOME .tar)
If you just want to go back to stock recovery, download the stock recovery image (stock_gb_recovery.tar) at the Dev-Host link and repeat the steps in post #1 for installing the recovery image (but this time use stock recovery instead of custom recovery).
More discussion:
Participate in the Bell Samsung Galaxy SII HD LTE user group on xda-developers
Other useful links:
Mount points and other info for this device
Original Discussion on rooting this device
All my source files for this device at GitHub, including those for ClockworkMod, ICS kernel, and CM9 device tree ("celoxhd").
Android Kitchen by dsixda - SGH-I757M is now supported
Article about this recovery image on the XDA portal - by willverduzco
Acknowledgements:
Thanks to Koush (for ClockworkMod), Cyanogen, Chainfire (inspiration), rxulan (link to rooted stock firmware), adlx.xda (for the custom graphics help), testers (you know who you are) and my awesome Twitter followers (continual help and encouragement).
One more
Link to Modded Bell Rom Thread: http://forum.xda-developers.com/showthread.php?p=27331138#post27331138
Android 4.0?
Is it possible that you could make an android 4.0 Rom for this device since bell seems to take their sweet time rolling out ICS to phones. Also thanks for porting CWM to my phone I've been looking everywhere for it.
B.Moreira said:
Is it possible that you could make an android 4.0 Rom for this device since bell seems to take their sweet time rolling out ICS to phones. Also thanks for porting CWM to my phone I've been looking everywhere for it.
Click to expand...
Click to collapse
Bell will likely release it at the end of the month, I'm probably not able to do any work on CM9 due to health and family reasons.
dsixda said:
Bell will likely release it at the end of the month, I'm probably not able to do any work on CM9 due to health and family reasons.
Click to expand...
Click to collapse
Alright, that's ok. Ill just make a thread for custom roms for this phone.
B.Moreira said:
Alright, that's ok. Ill just make a thread for custom roms for this phone.
Click to expand...
Click to collapse
You probably won't get a stable ICS custom rom until Samsung releases the sources for the phone. Also you should ask that question in the Q&A section of the forum not in General device section.
Thanks! love this =D
Will flashing the recovery menu to my bell s2 help me root and unlock it easily like superclick or would i still have to flash my russian rom? Thank you for the work though.
singh99 said:
Will flashing the recovery menu to my bell s2 help me root and unlock it easily like superclick or would i still have to flash my russian rom? Thank you for the work though.
Click to expand...
Click to collapse
Make sure you read the section in post #1 for rooting the S2 HD. Just flash the ZIP, you don't need the Russian ROM. Do not flash this to the old Bell S2, this is for the HD LTE variant.
Hi dsixda, can I use this CWM recovery for SII HD LTE model E120L (korea version)
theanh6 said:
Hi dsixda, can I use this CWM recovery for SII HD LTE model E120L (korea version)
Click to expand...
Click to collapse
Refer to the big warning on page 1 directly above the download link...
I have no idea what will happen.
If someone here as the Bell SGH-I757M update for Android 4.0 (from Kies or stock), please get in touch with me via PM or Twitter. There is a test ROM floating around.
has it been released??
Yes if u have a dev unit the Kies will detect it and show update to 4.0
Oh, pretty sure mine isnt a dev unit
Dsixda not too sure if you seen this!!
http://www.xda-developers.com/tag/samsung-galaxy-s-ii-hd-lte/
markdexter said:
Dsixda not too sure if you seen this!!
http://www.xda-developers.com/tag/samsung-galaxy-s-ii-hd-lte/
Click to expand...
Click to collapse
Someone's been living under a rock..
It's already linked on post #1

[Xperia Z][INFO][REF] All the info you need before you begin

@MODS
request you to sticky this thread
hello friends,
let me begin by introducing myself, i am developer for Xperia devices (X10, ARC, PLAY, S, T) and am the Lead Developer of Team UtterChaos, member of Team ICX and was associated with Team FreeXperia, ... i have some experience in development for Xperia devices, specifically in kernels, rooting & recoveries and i have various how-to, reference threads which are very helpful to new & advanced users alike across various device communities... i hope even this thread will be useful to everyone... if you would like to know what things i have worked on before feel free to check some of the links in my signature below...
so some of u must be new to the Sony Xperia family & even if u are not this should be useful... this thread should get u up to speed on what you need to know for this device...
i will try to cover some very basic things and try to touch upon some advanced topics...
i will be dividing this thread into various sections, and each section will point to an individual post...
following is the list of sections covered:
Basics
FlashTool
Bootloader Unlocking & Relocking
Rooting
Recovery
Flashing Custom Kernel
Flashing Custom ROMs
for those who are interested in development are free to contact me via p.m.... BUT PLEASE do not ask generic questions, post all generic queries at the forums/threads...
regards,
DooMLoRD
Basics
[ various bootmodes ]
newest Sony devices have three boot modes... these bootmodes can be reached when device is powered off...
Normal - just press power button and device starts booting
Flashmode - this mode is used to flash stock OFFICIAL firmware using flashtool, denoted by GREEN LED (this is similar to DOWNLOAD/ODIN mode of the Samsung devices)
Fastboot mode - this is a special mode, denoted by BLUE LED, used when we want to flash custom kernel, custom system images, for that we need to unlock bootloader, i will tell more details about this later...
[ various key combinations ]
this is most important part...
known key combinations so far:
while device is power OFF
Volume Up + USB cable connected to PC -> FASTBOOT MODE (BLUE LED will light up)
Volume Down + USB cable connected to PC -> FLASHMODE (GREEN LED will light up)
while device is power ON
Volume Up + POWER (for 10 seconds) -> resets the battery, its like removing the battery and putting it back in [device will vibrate once]
Volume Up + POWER (for additional 5 seconds, total 15 seconds) -> will power off hard, device will power down [device will vibrate thrice]
[ understanding About Phone ]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(check attached image if this one above is not showing up)
What it all means for u:
Kernel version:
Sony has released this device with 3.4.0 kernel. When custom kernels are released (they will surely be soon) this string will change.
Model number:
The Xperia Z has model number as C660x and has some models. They differ in the spectrum of frequencies supported for 3G/WCDMA http://www.gsmarena.com/sony_xperia_z-5204.php
C6602 - HSDPA
C6603 - LTE
C6606 - T-Mobile
C6616 - Bell Canada
Android version: http://en.wikipedia.org/wiki/Android_(operating_system)
Sony officially launched this phone with android version 4.1.2 (aka Jelly Bean).
Baseband version: [linked to firmware version]
(Crudely) this is a software interface which communicates with radio -> gsm/wcdma (2g/3g)/LTE, basically acts as a base for the main OS to ‘talk-to’ the hardware on the phone [I know this explanation isn’t precise even partly incorrect.. if someone can help me out I will update it]
This is similar to the "radio" image of the HTC devices.
Build number: [aka firmware version]
This is dependent on which firmware u flash on ur phone and is linked to the baseband version.
Btw some devs use this field to add their own ‘signature’ to the ROM so if u are using custom ROMs this field might be varying. Though the Baseband version for a particular firmware remains same.
what is firmware?
The firmware is a package containing all the official software for a particular build. It will contain system, kernel & baseband files. Generally the firmware is supplied (on forums) in form of FTF package (a container file ending with .ftf) which can be flashed via FlashTool.
what are the ways to update/repair firmware?
SEUS (Sony Ericsson Update Service) / PCC (PC Companion) / EMMA are all official ways to update to new or repair existing firmware on your device. SEUS/PCC are available to all users (consumers), EMMA is special and is only available to select individuals. This requires you to connect device to PC and then the software will check for updates and download them over the internet.
Updates can also be sent as FOTA (Firmware over-the-air)/OTA (over-the-air) updates where in you can download and install the updates without the need to connect to PC/any software.
FlashTool is an unofficial user-created tool, but the best way to flash official firmwares. Generally the firmware is supplied in form of FTF package (a container file ending with .ftf) which can be flashed via FlashTool. Thus FlashTool is the easiest way to do offline updates, just download the FTF file, it keep on PC and flash ur device when ever you want to.
FlashTool
Flashtool is one of the MOST IMPORTANT piece of software for ur phone, it is an unofficial, but the best way to flash official firmwares on both locked and unlocked bootloader devices. Generally the firmware is supplied in form of FTF package (a container file ending with .ftf) which can be flashed via FlashTool. Thus FlashTool is the easiest way to do offline updates, just download the FTF and keep on PC and flash ur device when ever you want to. One can also flash select partitions using FlashTool, say you want to flash baseband(radio) from newer/older firmware but want to keep the main system the same u can do that using newest FlashTool! FlashTool also supports fastboot modes! so if you are not very comfortable with command line then u can use the FastBoot Toolbox inbuilt into FlashTool to fastboot the kernels!
FlashTool can be used to flash both locked and unlocked bootloaders devices.
For all flashtool informations (download links, release notes, FAQ) go to the Flashtool Homepage
Flashtool specifically for Xperia Z released!
Flashtool is on github : FlashTool GitHub repo
[FLASHTOOL GUIDE] HOW TO for n00bies (excellent guide for new users, HIGHLY RECOMMENDED!! The info for Rooting, Recovery & Bootloader UNlock in that thread is for older Xperia devices...)
i will try n get more links for FlashTool and post it here
Sony also provides an official FlashTool but it can be used only with unlocked bootloader devices
Bootloader Unlocking & Relocking
[Tutorial] Xperia Z Bootloader Unlocking
Latest FlashTool 0.9.10.2beta4 onwards can correctly unlock (official way) and relock device... i recommend using the latest FlashTool version to unlock & relock device...
all question regarding bootloader unlocking, relocking should be posted in relevant thread
Rooting
[ROOT][Z] How-to for rooting newest firmware 10.3.1.A.0.244
[ROOT] DooMLoRD Easy Rooting Toolkit {perf_event exploit}
[ROOT] Xperia Z for LOCKED & UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_com]
[ROOT] Xperia Z for unlocked bootloaders ONLY!
Recovery
if you are not familiar with custom Android recoveries i suggest that u read this:
http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/
FOR LOCKED BOOTLOADERS:
The recovery for locked bootloaders becomes a part of the ROM...
[Recovery] CWM (LOCKED Bootloaders)
[Recovery] TWRP (LOCKED Bootloaders)
FOR UNLOCKED BOOTLOADERS:
Currently CWM & TWRP recoveries are available for this device and come as a part of kernel (stock or custom kernel)
Recoveries on stock kernel:
[Recovery] CWM (UNLOCKED Bootloaders)
[Recovery] TWRP (UNLOCKED Bootloaders)
kindly post queries related to specific recovery at the corresponding thead
Flashing Custom Kernel
CUSTOM KERNELS ARE SPECIFIC TO ROMs...
you cant use stock kernel on CM ROM and you cant use CM kernel on stock ROM....
there are two ways to flash custom kernel
first download the kernel file... if it is a boot.img then use Method 1 (fastboot mode) or if its a update.zip file then use Method 2 (recovery)
Method 1 - fastboot mode
if you get kernel in boot.img format then do the following
reboot device into fastboot mode
then flash the kernel using following command:
Code:
fastboot flash boot boot.img
then reboot from fastboot
Code:
fastboot reboot
thats it now device should start booting that kernel
Method 2 - recovery
if you already have recovery working on your device then do the following
save the update.zip on SDCARD
reboot into recovery
flash the update.zip which contains the kernel
reboot into system
thats it now device should start booting that kernel
Flashing Custom ROMs
Most custom ROMs are provided as update.zip. Its a technical term, basically its a special signed ZIP file which can be flashed via custom recovery.
Download the ZIP file and save it on ur PC
now connect ur device and save the ROMs ZIP file on the SDCARD
disconnect the device (after copying is over)
reboot into recovery
go to install ZIP from sdcard menu and navigate to the folder where you saved the ZIP file
now select it
recovery will start flashing the ROM
after flashing is over just reboot device and you will be on the custom ROM
Tips:
some CUSTOM roms require specific kernels (like CM9) in that case FIRST flash the corresponding kernel and then follow the instuctions posted above
sometimes the ROM requires cleaning /data & /cache partitions. you can wipe these before flashing the ROM! [WARNING YOU WILL LOSE UR DATA BY DOING THIS!]
Look forward to Xperia Z FlashTool!:good:
Thank you DooMLoRD.
USB driver
I need use driver for window 7 64bit. i install fastboot fail. Please help me. Thanks a lot
binh462132 said:
I need use driver for window 7 64bit. i install fastboot fail. Please help me. Thanks a lot
Click to expand...
Click to collapse
http://icxperia.com/doomlord/Flashtool-drivers.exe
This is the second time reading this Text.... but i'm still not sure if it's not writen or i missed it twice.
If i wan't to flash a Kernel (ROM also?) i neet unlocked Bootloader?
Unlocking Bootloader works easy... but you loose your Waranty?
When you've Unlocked Bootloader is there any way to check this without extra apps /hardware ?
I think of maybe retourning my Xperia Z, but i really wan't to test Kernel & Stuff before. So you think they will realise that its Unlocked if i hand it over to them or not? Not sure yet if it's worth the 666CHF i've paid...
Haldi4803 said:
This is the second time reading this Text.... but i'm still not sure if it's not writen or i missed it twice.
If i wan't to flash a Kernel (ROM also?) i neet unlocked Bootloader?
Unlocking Bootloader works easy... but you loose your Waranty?
When you've Unlocked Bootloader is there any way to check this without extra apps /hardware ?
I think of maybe retourning my Xperia Z, but i really wan't to test Kernel & Stuff before. So you think they will realise that its Unlocked if i hand it over to them or not? Not sure yet if it's worth the 666CHF i've paid...
Click to expand...
Click to collapse
unless there is a root exploit for stock ROM u will not be able to flash any ROM...
Whether or not u lose warranty depends on the warranty policies in your country or that service center... if they bother to check if the device's bootloader was unlocked/relocked, even then some may honor the warranty...
well if u have unlocked bootloader if they company wants they can actually check the bootloader status..
relax mate.... do some searching around... go the service center and check up with them... ask around with other ppl in ur area if unlocking bootloader voids warranty...
hehe, the question is, can you see if the Phone is unlocked at boot? Like Samsungs Triangle...
I doubt the people, where i bought it, are smart(competent) enough to check Recovery or connect the phone to a PC and check if it's rooted.
So i'm certainly not gonna ask them if they take it back when it's rooted ^^ But i'll try and ask Sony switzerland about waranty! Might also ask them why the phone is getting 45°C and hotter while i'm at it ^^
Haldi4803 said:
hehe, the question is, can you see if the Phone is unlocked at boot? Like Samsungs Triangle...
I doubt the people, where i bought it, are smart(competent) enough to check Recovery or connect the phone to a PC and check if it's rooted.
So i'm certainly not gonna ask them if they take it back when it's rooted ^^ But i'll try and ask Sony switzerland about waranty! Might also ask them why the phone is getting 45°C and hotter while i'm at it ^^
Click to expand...
Click to collapse
no such "visual" indication
The EMMA utility is available to everyone these days from the Sony developer site.
DooMLoRD said:
[ THREAD IS STILL WORK IN PROGRESS ]
@MODS
request you to sticky this thread
hello friends,
let me begin by introducing myself, i am developer for Xperia devices (X10, ARC, PLAY, S, T) and am the Lead Developer of Team UtterChaos, member of Team ICX and was associated with Team FreeXperia, ... i have some experience in development for Xperia devices, specifically in kernels, rooting & recoveries and i have various how-to, reference threads which are very helpful to new & advanced users alike across various device communities... i hope even this thread will be useful to everyone... if you would like to know what things i have worked on before feel free to check some of the links in my signature below...
so some of u must be new to the Sony Xperia family & even if u are not this should be useful... this thread should get u up to speed on what you need to know for this device...
i will try to cover some very basic things and try to touch upon some advanced topics...
i do not have the device with me... most of this information is gathered thanks to willing users allowing me remote access to the devices to do testing... huge thank you to all those who helped out!
i will be dividing this thread into various sections, and each section will point to an individual post...
following is the list of sections covered:
Basics
FlashTool
Bootloader Unlocking & Relocking
Rooting
Recovery
Flashing Custom Kernel
Flashing Custom ROMs
for those who are interested in development are free to contact me via p.m.... BUT PLEASE do not ask generic questions, post all generic queries at the forums/threads...
regards,
DooMLoRD
Click to expand...
Click to collapse
since you are a developer of the devices themselves and in sony
i have one question why can't you just give users a choice if they want to use rooting abilities
just have a setting in the phone called
"rooting"
turning it on will restart the phone rooted turning it off will reflash the phone to unrooted
no voiding of warranty and official
why can't it be that easy?
lilstevie said:
The EMMA utility is available to everyone these days from the Sony developer site.
Click to expand...
Click to collapse
that's the official Xperia Flashtool...
zzcool said:
since you are a developer of the devices themselves and in sony
Click to expand...
Click to collapse
Dude I don't work for Sony and neither am I affiliated to them in any way...
Sent from my LT30p using xda app-developers app
Definitely glad your developing for the mighty Z doomlord, ive just taken delivery of mine today, looking forward to your work here

Flashtool 0.9.13.0

This is the latest Flashtool 0.9.13.0:
Download here: http://ul.to/sb8cfqyr
Flashtool is a S1 flashing software that works for all Sony phones from X10 to Xperia Z Ultra. They all use the S1 protocol for flashing firmwares.
This program was originally made to flash sin files downloaded by SEUS or PCC. From time to time, sin files have been bundled into what is now well known FTF (Flash Tool Firmwares). That is the core of Flashtool and the reason of its name.
Flashtool can also easily unlock the bootloader of the phone using the BLU icon as far as the bootloader of your phone is unlockable
The flashing feature as well as bootloader unlock feature are available whatever the phone is recognized or not by the application. What is only mandatory for flashing is to own the FTF file according to the device you want to flash it on.
Why should I use flashtool ?
Once bootloader unlocked, official sony tools do not work anymore.
Using official sony tools, you can only upgrade. No downgrade possible.
Using flashtool, you can choose what to flash and what not to flash. This said, many rooting scenarios are available implying kernel only downgrade to retrieve a patched rooting exploit and then flash back the right kernel.
You said unlocking bootloader ?
This process gives you the opportunity to flash custom roms such as CyanogenMod ROMs.
I invite you to visit the FXP Project that brings CM to xperia devices.
Many other features have been built-in so that Flashtool can also be used to (as far as the phone is recognized by Flashtool) :
Root your phone
Install recovery, busybox, custom kernels
Clean your rom (remove /system/apps apps of your choice) (Be careful, unless you really know what you do, do not modify the default list. This can make your phone stuck at the SE Logo)
Clear dalvik cache
Optimize (install of JIT v2) (plugin for 2.1 phones only from 2010 line)
Customize (installs apps found in the custom/apps folder of the flashtool)
Edit any text file on the device
Rebrand your device

[GUIDE] How to package and flash stock roms with Flashtool

Flashtool is an extremely useful tool maintained by Androxyde that allows you to download and flash stock roms to your device and more.
I thought it would be a good idea to create a guide showing how to use some of the most useful features of this great tool. It will be focused on the Xperia Z as that's the device I own, but will also apply to other devices compatible with Flashtool. I will add more sections to the guide as I get time to do so.
Contents:
1. Install Flashmode and Fastboot drivers.
2. Download any firmware customisation and create an FTF.
3. Flash stock firmware in FTF format to your device.
4. More coming soon....
Requirements:
Windows PC
Flashtool driver package by DooMLoRD.
Flashtool by Androxyde.
Part 1.
Install Flashtool drivers:
1. Run the installer. You will see this screen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Press "Next" to continue.
2. Select Flashmode and Fastboot drivers. These drivers are common drivers for all compatible devices. Also scroll down the list and select Xperia Z drivers (or the relevant drivers for your device). This installs the ADB drivers for your device.
Press "Install".
The drivers will now install.
Note: If you're on Windows 8, then try this if you have trouble installing the drivers - Resolving driver installation issues on Windows 8 (thanks to fards)
Part 2.
How to create an FTF of any firmware customisation version:
Flashtool now integrates the excellent XperiFirm by Iagucool for downloading firmware. This guide has been updated to reflect that.
For the purposes of this guide, I downloaded the Customized NCB firmware version 10.6.A.0.454 for the C6603.
1. Start Flashtool and wait until it finishes syncing devices.
2. Click on the XperiFirm icon (highlighted red in image).
If this is the first time you've done this, Flashtool will download XperiFirm.
3. Find Xperia Z (or whichever device you like) on the list and click on it.
Select your device variant from the list that expands and click "Check all".
4. Find the firmware version you want in the list, click on it, then click the firmware version you want to download in the list on the right.
Press "Download" in the window that appears.
5. XperiFirm will download and unpack 5 files.
6. When XperiFirm has finished downloading and unpacking the files, press OK and close XperiFirm.
7. Flashtool will automatically create the bundle and will display when it's finished. You can now close Flashtool.
Part 3.
How to Flash an FTF using Flashtool:
Your bootloader does not need to be unlocked and you do not need root to flash roms in FTF format with Flashtool.
1. Place the FTF you have in C:\Users\your username\.flashtool\firmwares if it isnt there already (if you followed this guide to create an FTF it will be in the correct place already).
2. Start Flashtool and wait until it finishes syncing devices.
3. Click on the lightning bolt icon, select Flashmode and press OK.
4. Choose the firmware you wish to flash from the list on the left (highlighted red). If you want to keep data and installed apps etc, then uncheck everything in the Wipe section (highlighted green). Conversely, if you want a clean install, check everything in the Wipe section. Make sure nothing is checked in the Exclude section (highlighted blue). Note that if you're flashing over a custom rom or downgrading, then wiping all data is required.
When everything is as it should be, press Flash (highlighted yellow).
5. Flashtool will prepare files for flashing.
6. This screen will appear:
Power OFF your device. Connect your USB cable to your PC, then while holding Volume DOWN, connect the other end of the USB cable to your device.
Flashtool will now flash the firmware. When the flashing process starts, you can release the Volume down key.
DO NOT disconnect your device at this point, until it says it's safe to do so. When Flashtool says it has finished, disconnect your device and power it on. You have successfully flashed stock firmware to your device.
Disclaimer:
This guide is provided in good faith and the steps as provided work fine for me. However, I will not accept any responsibility for data loss or possible damage to your device. Following this guide is done at your own risk.
Credits:
DooMLoRD for the Flashtool driver package.
Androxyde for Flashtool.
Iagucool for the XperiFirm firmware downloader used by Flashtool.
If I've forgotten anyone please let me know and I'll add them.
Hey @kingvortex bro!
Nice guide. And now I don't have to write a full instructions about how to flash ftf for every newbie need it here
TapaTalked from my Xperia™ Z (C660²) running Ultimate PureXZ Ultra!
Thanks.
Sent from my C6603 using Tapatalk
Del.
Nice and very useful guide for the new comers. Keep up the good work..
Thank you for great job.
When I create ftf (backup my ROM), the apps I download from Google play and data backup also? Or just ROM?
thedark1979 said:
Thank you for great job.
When I create ftf (backup my ROM), the apps I download from Google play and data backup also? Or just ROM?
Click to expand...
Click to collapse
This guide creates a FTF from files downloaded from Sony's servers. It doesn't backup your rom or data.
Sent from my C6603 using Tapatalk
kingvortex said:
This guide creates a FTF from files downloaded from Sony's servers. It doesn't backup your rom or data.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Thank you. But how I can backup my ROM and apps and data with this tools? Not from CWM recovery ?
You can't, as far as I'm aware. If you need help backing up your data, please open a thread in the Q&A section. Thanks.
Sent from my C6603 using Tapatalk
thedark1979 said:
Thank you. But how I can backup my ROM and apps and data with this tools? Not from CWM recovery ?
Click to expand...
Click to collapse
It's off topic but I'll answer you to not post off topic things here and other threads.
For apps backup download titanium backup or ultimate backup from Play store. You can backup your ROM from recovery only.
Those apps need root.
For how to root search around here.
Don't ask about that again here. Do that in a new thread if you still have issues.
TapaTalked from my Xperia™ Z (C660²) running Ultimate PureXZ Ultra!
I have downloaded the firmware from another pc using xperifirm but when i am creating an ftf, i cannot edit the device name. this prevents me from proceeding with the ftf creation. can you tell me how to fix it?
imboy25 said:
I have downloaded the firmware from another pc using xperifirm but when i am creating an ftf, i cannot edit the device name. this prevents me from proceeding with the ftf creation. can you tell me how to fix it?
Click to expand...
Click to collapse
Double click in the field.
Sent from my C6603 using Tapatalk
kingvortex said:
Double click in the field.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Oh my goodness! :silly:
imboy25 said:
Oh my goodness! :silly:
Click to expand...
Click to collapse
Yeah, that's actually easy to miss to be fair. I'm not sure why it's that way. There must be a good reason.
Sent from my C6603 using Tapatalk
Can anyone help me?
I'm trying to install AOKP on my work colleague's C6630 (Xperia Z) which is from O2 in the UK, the bootloader allowed says No and I've tried the flashtool and the process shown in this thread, none of the root methods in the flashtool are working and the FlashMode doesn't respond when I attempt to install the generic UK rom, shows a quick red led, then a quick green led, then nothing (Windows does show a driver problem even though I've installed the fastboot .
I can carry out ADB or flashboot commands by going into those modes but nothing that will let me root or install a custom recovery partition.
I'm stuck and can't get any further, even though a lot of the guides here say you should still be able to get root while the bootloader is locked.
I have xperia z 4.4.2 bootloader unlocked and rooted.. and I have pacman rom..
I downloaded the ftf of 4.4.4 how can i flash it?
djsubterrain said:
Can anyone help me?
I'm trying to install AOKP on my work colleague's C6630 (Xperia Z) which is from O2 in the UK, the bootloader allowed says No
Click to expand...
Click to collapse
You cannot flash AOSP/AOKP/PAC etc or any rom that needs a custom kernel when you have a locked bootloader. There's no way to unlock your friend's bootloader, unfortunately.
SkoopMan said:
I have xperia z 4.4.2 bootloader unlocked and rooted.. and I have pacman rom..
I downloaded the ftf of 4.4.4 how can i flash it?
Click to expand...
Click to collapse
Follow the guide that's in the first post.
Sent from my C6603
kingvortex said:
You cannot flash AOSP/AOKP/PAC etc or any rom that needs a custom kernel when you have a locked bootloader. There's no way to unlock your friend's bootloader, unfortunately.
Sent from my C6603
Click to expand...
Click to collapse
Should it be possible to root though so he could use xposed frameworks to get some sort of custom experience? I did try every single method in the flashtool for rooting but none of them worked.
djsubterrain said:
Should it be possible to root though so he could use xposed frameworks to get some sort of custom experience? I did try every single method in the flashtool for rooting but none of them worked.
Click to expand...
Click to collapse
Yes, you can root without unlocking the bootloader.
On 4.4.2 or below, use towelroot. On 4.4.4, it's slightly more complicated. Guide here.
Sent from my C6603
kingvortex said:
Yes, you can root without unlocking the bootloader.
On 4.4.2 or below, use towelroot. On 4.4.4, it's slightly more complicated. Guide here.
Sent from my C6603
Click to expand...
Click to collapse
Thanks so much, finally got root. Do you know if the dualrecovery allows you to install any custom roms or will it only work for flashing tools, etc?
Having problems trying to find the correct XZdualrecovery for this phone too, it's the Xperia Z (C6603), although I can't seem to find this on the http://nut.xperia-files.com/ site, anyone know which one is for the C6603?

Root Xperia Z1s C6916 14.5.B.0.236 Android 5.0.2 Locked bootloader

When I saw that I could upgrade to Lollipop I was interested. Then I realized there probably was no root for this yet. So I went about figuring out a way to root it before going to it. Technically this isn't a root once you have already gone to Lollipop.
THIS WILL ONLY WORK IF YOU ARE STILL ON KITKAT, ROOTED, WITH RECOVERY (TWRP is what I use via NUT's Dual Recovery for the Z1).
Requirements:
PRFCreator - Creates pre-rooted firmware - Click Here to Download
Flashtool - Allows you to flash the FTF - Click Here to Download
The FTF for the upgrade - C6916_14.5.B.0.236_T-mobile_US.ftf - Click Here
The latest SuperSU zip from ChainFire - Click here to Download
I'm assuming you have adb, drivers installed and a general understanding of how to navigate the tools above, if not read up on how they work.
Create a pre-rooted flashable firmware with PRFCreator. Install/Download PRFCreator and put the FTF and the latest SuperSU binary zip in the spot labeled SuperSU Zip. Make sure to check the box next to kernel in the include box on the top right side. See screenshot below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Congrats you have just created a flashable zip with SuperSU loaded into it. You might ask why you're not gonna add NUT's XZDualRecovery into there. Reading on the forms at the time of this post and it apppears that PRFCreator and/or Nut's recovery doesn't play well with Lollipop and causes bootloops. So run NUT's Z1xzdualrecorvery installer via bat or sh after the fact and not during via PRFCreator until they can work it out.
Make sure you have the original C6916_14.5.B.0.236_T-mobile_US.ftf in the firmwares folder either C:\Flashtool\Firmwares or C:\User\[username]\.flashtool\firmwares
Now take the flashable zip you created via PRFCreator and put it on your phones internal storage, sdcard etc.
Now that you have the flashable zip with SU preinstalled and ready to fire, reboot your phone into recovery. adb reboot recovery etc.
Once your phone has rebooted into recovery you will need to flash the flashable zip you created with PRFCreator.
After flashing the zip I'd suggest wiping the cache/dalvik. And then you will want to go to the reboot screen and power off the device.
Once the device is powered off open Flashtool.
After it loads and syncs the devices (takes a second) you'll want to double click C9XX from the list (Z1).
Next click the BOLT icon in the top left navigation that has a tooltip that says "Flash"
When the flash screen comes up select the right firmware based on the FTF location, check SYSTEM and BASEBAND under the exclude section and uncheck DATA under the wipe section, I unchecked APPSLOG but you don't have to uncheck it (to be honest I think it slowed my initial bootup by upgrading my apps) via this screenshot:
Now click the "Flash" button with your device disconnected and powered off. Follow the directions. For your Z1s you'll want to hold the "DOWN VOLUME" button and then plug the USB connector into it.
Next you will see Flashtool flashing away. Once it's complete you can unplug your phone and then power it up.
Your device is now rooted and running Lollipop. In terms of installing a custom recovery, again all of that is untested and you'll need to play around with the latest XZdualrecovery from NUT to see how it works.
REMINDER: This doesn't solve killing ric etc. Which is important to note for being able to mount the system etc. You can kill ric via tasker and an .sh script like I do or via a flashable kill ric (seen a few floating around) if you get recovery installed after the fact etc.
Thanks to:
Chainfire for his SUPERSU
zxz0O0 for his PRFCreator tool
Androxyde for keeping flashtool going
greatremix for posting up the FTF
I'll be uploading the flashable zip that I made from PRFCreator. It's over a gb obviously so it might be just as easy for you all to create it yourself.
Reserved
To solve most issues with not being able to write to the system which most root apps need. Install NUT's latest xzdualrecovery which can be found at this address under xzdualrecovery. I installed 2.8.15 via the installer (not the flashable)
http://nut.xperia-files.com/
I update rom using sony companion and rooted by king root, i tried to unlockbootloader with flashtool a minutes ago and its say :
can i flash some rom ?
Lavievn said:
I update rom using sony companion and rooted by king root, i tried to unlockbootloader with flashtool a minutes ago and its say :
can i flash some rom ?
Click to expand...
Click to collapse
Whoah whoah whoa... Let me make sure I got this straight... You... have a Z1S (Not a Z1, but Z1S) and you actually managed to root it on lollipop AND unlock the bootloader?!!!?!... Please tell me you are not joking. Or am I just not understanding correctly...
THE BOOTLOADER UNLOCKED?!!!?! If you did that... that is amazing. Do you know how long people have been trying to unlock the bootloader for this dam thing? But.. before I jump to conclusions. I'll wait for your reply.
Yazuken1 said:
Whoah whoah whoa... Let me make sure I got this straight... You... have a Z1S (Not a Z1, but Z1S) and you actually managed to root it on lollipop AND unlock the bootloader?!!!?!... Please tell me you are not joking. Or am I just not understanding correctly...
THE BOOTLOADER UNLOCKED?!!!?! If you did that... that is amazing. Do you know how long people have been trying to unlock the bootloader for this dam thing? But.. before I jump to conclusions. I'll wait for your reply.
Click to expand...
Click to collapse
i've unlocked that bootloader, install RockZ1L kernel, so i tried to install DstrikerZ1kaiRom
when it's ask me what's my model of my phone i choose 6902...it's flashed and boot to system too slowly at first time, after that it's had to shutdown...it take very long time and has been loop boot, i trying to take it's back to .236 stock rom now
p/s sorry for bad english, it's have successfull to flash custom kernel with good double tab to wake ...and something...but can't run with other rom
Lavievn said:
i've unlocked that bootloader, install RockZ1L kernel, so i tried to install DstrikerZ1kaiRom
when it's ask me what's my model of my phone i choose 6902...it's flashed and boot to system too slowly at first time, after that it's had to shutdown...it take very long time and has been loop boot, i trying to take it's back to .236 stock rom now
p/s sorry for bad english, it's have successfull to flash custom kernel with good double tab to wake ...and something...but can't run with other rom
Click to expand...
Click to collapse
That is the reason why the bootloader is locked. It might say you have unlocked the bootloader but you really haven't. It's still locked hence the inability to flash a custom ROM. I would suggest against anyone trying flashtool to unlock the bootloader, it will not work.
Best to get root, recovery and xposed if it works.
joedeveloper said:
That is the reason why the bootloader is locked. It might say you have unlocked the bootloader but you really haven't. It's still locked hence the inability to flash a custom ROM. I would suggest against anyone trying flashtool to unlock the bootloader, it will not work.
Best to get root, recovery and xposed if it works.
Click to expand...
Click to collapse
i'm stuck now, do you have a C6902 stock kernel, or any way to change phone infomation by flashtool ?
it's show that my phone is C6902 in flash tool now, so i can't flash any rom or back to stock now
@joedeveloper I'm currently on 4.4.4, rooted with baseband .59, but noticed by your directions with "prfcreator" that you do not have us "check" modem when building the flashable zip. Would it hurt to include the modem so as to get the updated baseband to .69?
Also being deodexed, will that cause issues?
Thanks for the help
Not to distract from joedevelopers hard work, but I think its important for me to inform you guys that if you have already upgraded to lollipop through sony pc companion, or ota, King root does in fact work just fine. It will give a screen saying that it could not find that xperia z1s is rootable, but it will also give an option to try to root anyway. After pressing it, it will tell you the device was sucessfully rooted. And if you check with root verifier it will let you know root was successful. So you're still good if you upgraded to lollipop.
@joedeveloper Settings>About Phone reports baseband .69 after update, so that answers that.
I went back to tft .37 and did a fresh install so I have no information if one with a deodexed phone will be effected.
Many thanks to this update method.
SOLVED
Anyone get xposed to work after this update?
Can you clarify the ric thing?
So far so good, got recovery installed, now im going to try to install the audio mod, cause i desperately need that lol
SO I finally got it to where i got a flash able zip and it worked phone says its rooted , but it won"t let me install adblocker , edit file with root explore and busybox they all say failed , please help
throonis said:
SO I finally got it to where i got a flash able zip and it worked phone says its rooted , but it won"t let me install adblocker , edit file with root explore and busybox they all say failed , please help
Click to expand...
Click to collapse
This is what I'm referring to as the issue with sony ric being enabled. It's sony's way of preventing you from writing to the system, and most root apps need this. If you were to run:
adb shell
then
su
then
mount -o remount,rw /system
What does it tell you? "Denied"?
In order to prevent sony ric from blocking it, try installing NUT's xzdualrecovery version 2.8.15. Z1-lockeddualrecovery2.8.15-RELEASE.installer.zip
http://nut.xperia-files.com/
It has a built in ric killer and will solve your issues.
So all I have to do is flash the zip on my z1s to have.recovery correct I have root supersu
Got root, thanks.
Okay, got root. Thank you. The trick is to keep doing the ADB root until it works. It doesn't work the first couple of times. I gave it 20 minutes each time before trying to install again.
Jellybean
I tried your steps from Jellybean but got no root on lollipop but I can't get root from 4.4.4. Is there a 4.4.2 firmware floating around and could that be the problem? I did the steps twice and followed it exactly. The only difference is 4.3.
Lavievn said:
i've unlocked that bootloader, install RockZ1L kernel, so i tried to install DstrikerZ1kaiRom
when it's ask me what's my model of my phone i choose 6902...it's flashed and boot to system too slowly at first time, after that it's had to shutdown...it take very long time and has been loop boot, i trying to take it's back to .236 stock rom now
p/s sorry for bad english, it's have successfull to flash custom kernel with good double tab to wake ...and something...but can't run with other rom
Click to expand...
Click to collapse
HOW TO INSTALL CWM AND ROCKZ1L KERNEL ??? STEP BY STEP ! MY Z1S IS ON STOCK 5.0.2, BOOT LOADER UNLOCKED : YES.
SORRY , MY ENGLISH IS VERY BAD ! THANKS SO MUCH .

Categories

Resources