What and how to update your device if your bootloader is unlocked - Sony Xperia M4 Aqua

Why can't I have OTA or Xperia Companion Updates?
Because your bootloader is unlocked you lose the feature of recieving OTA updates or Xperia Companion updates.
What do I do if I want them back?
Now here it gets a bit tricky, how? well when you unlock your bootloader you lose a thing called DRM Keys, I'm not going to get in much detail about what are they but I will say that they are responsible for the OTA or Xperia Companion updates, and that's why when you unlock your bootloader you should ALWAYS backup your DRM Keys (search here on xda for tutorials). Now, if you didn't back your DRM Keys then you're basically out of luck on recieveng OTA Updates but there is a way in which you can get updates, I will discuss about this later on this thread. But if you did back your DRM Keys there is a way of restoring them, meaning you can recieve your OTA Updates again. If you haven't backed up your DRM Keys please follow this thred to see how to manually update.
Before we begin
Make sure you have the following:
A Windows Machine (32/64 bit)
An Internet Connection
Time depending on your internet speed
And patience
Let's Go!
I will keep this in simple steps for easier understanding.
Download Flashtool from here:https://www.androidfilehost.com/?fid=24459283995311021
Install Flashtool
Go to the folder where you have installed Flashtool and go to the Drivers folder
Launch Flashtool drivers and from the menu select FLASHMODE drivers
After the installation is finished, launch Flashtool and wait for the syncing to finish
Download the firmware you want for your device using XperiFirm(you will see the icon in Flashtool)
After the downloading is finished, press on the lighting icon and select flashmode
Navigate to the folder in which you have downloaded your firmware
DO NOT untick anything on the right side of the program
Power off your phone (make sure you did a backup of your data as everything is going to be wiped)
Press the POWER BUTTON + VOLUME DOWN button until you see the LED notification light turn to green
Wait for Flashtool to tell you to connect your phone
If you did everything correct you should now see that the firmware started to flash
DO NOT unplug your device until you are proceeded to
Advice
If you do think about unlocking your bootloader, please back up your DRM Keys.
Hit thanks if it helped!

At least refer the link to Flashtool's official webpage
http://www.flashtool.net/index.php

Ummmm when I unlocked my bootloader with flashtool, In the same menu I could re-lock it again, but I don't remember backing some kind of a keys. Is this what are you talking about

nrokos said:
Ummmm when I unlocked my bootloader with flashtool, In the same menu I could re-lock it again, but I don't remember backing some kind of a keys. Is this what are you talking about
Click to expand...
Click to collapse
TA Backup meaning taking a backup of this partition before unlocking the bootloader.
To do a TA Backup you first need to have your device rooted.
http://forum.xda-developers.com/showthread.php?t=2292598

Related

Guide [for beginners] - How To Unlock Bootloader via Flashtool

I am assuming your phone can be bootloader unlocked and you have unlocking key from sony.
If you don't know then refer to this post http://forum.xda-developers.com/showthread.php?t=1527159
WARNING: IT WILL WIPE YOUR PHONE DATA SO MAKE BACKUP
1. Install Flashboot and Fastboot drivers of Flashtool (setup file will be on C:\Flashtool\drivers or similar place).
2. Turn on your phone, and connect with usb debugging on.
3. Go to Plugins-> Bootloader Unlock option, start it.
4. Now it will ask to disconnect your phone and reboot in FLASHMODE.
5. Again reboot your phone in FASTBOOT mode.
6. It will show a window with your IMEI number, insert your unlock key and click "unlock".
7. The device will reboot and you are done!
FLASHMODE
You can get into flashmode by pressing specific hardware key and connecting phone to pc via USB.
It will glow GREEN LIGHT on led if done correctly.
Hardware key-
Back Button (X8, X10, X10 mini, X10 mini pro, Play, Arc, Arc S, Neo, Neo V, Pro)
Volume Down Button (Xperia U,P,S,Sola)
FASTBOOT Mode
You get into fastboot mode by turning off your phone, then pressing the fastboot mode key button, and connecting the USB to your phone. Done correctly and you should see a BLUE LIGHT on the power button.
Hardware key-
Menu Botton (Xperia Arc, Arc S, Neo, Neo V, Pro)
Volume Up Botton (Xperia U,P,S,Sola)
Should the phone be turned off in flashmode??
karimkahale said:
Should the phone be turned off in flashmode??
Click to expand...
Click to collapse
yes, turn off your phone then connect USB while pressing specific key.
same applies for fastboot method
When I am installing drivers, I am getting "don't install or install anyway", I choose install anyway but the same window comes up again. Should my phone be turned on, off or in flashmode or something?
karimkahale said:
When I am installing drivers, I am getting "don't install or install anyway", I choose install anyway but the same window comes up again. Should my phone be turned on, off or in flashmode or something?
Click to expand...
Click to collapse
it asked me 3-4 times and i chose "install anyway", and phone doesn't need to be connected while installing drivers.
I got an error in last step : Failed (remote: oem unlock failed ). This happened to me too when i used the official way to unlock my sony xperia p. Can someone help?
karimkahale said:
I got an error in last step : Failed (remote: oem unlock failed ). This happened to me too when i used the official way to unlock my sony xperia p. Can someone help?
Click to expand...
Click to collapse
did u check that your device can be unlocked or not?
Yes I checked, it can be unlocked
If you have installed Flashtools and its drivers correct you shouldn't get any driver prompts when plugging the phone in
Assuming you did a default install browse to C:\Flashtool\drivers and execute the drivers file. Make sure you select the drivers for you phone ie "Xperia U" and scroll to the bottom of the list and select Flashboot and Fastboot drivers. From what I have seen so far most people are not installing these 3 drivers.
karimkahale: I would go back to the Sony website and get your unlock code again. Maybe you entered some wrong details...
Please help me out,
when I am trying to install fastboot drivers from flashtools drivers folder, I am getting an error saying driver installation failed.
My os is windows 8 pro 64bit..My phone Xperia U (ICS)
What should I do.
Utkarsh-ezzo said:
Please help me out,
when I am trying to install fastboot drivers from flashtools drivers folder, I am getting an error saying driver installation failed.
My os is windows 8 pro 64bit..My phone Xperia U (ICS)
What should I do.
Click to expand...
Click to collapse
Trouble shoot compatibility
Sent from my ST25i using Tapatalk 2
Rajul said:
Trouble shoot compatibility
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
Successfully installed Fastboot driver on windows 8 (Used Advance Startup for installing unsigned drivers)through Flashtools and also unlocked bootloader..
Accidently lost all data as unlocking bootloader wipes data...forgot to take a backup but m happy.
Thank you for this tutorial mate!
It's better if we can get unlock key from flashtool
Sent from my MT27i using xda premium
Thanks a million, but would my warranty be void immediately after I unlock the bootloader, what's the regulation about this matter, I'd like to keep my warranty.
---------- Post added at 10:00 AM ---------- Previous post was at 09:45 AM ----------
If i relocked the boot loader the warranty wouldn't be void, right?
Not quite;
It all depends on your repairman...
The standard, though, is, that the warranty is valid if the guys at the repair center can flash a stock ROM (.ftf) onto the phone. Some phones can do this without their bootloader being locked, but some can't do this after their bootloaders are unlocked, even if they are locked back afterwards...
Now, I have a question:
I'm having the same error as karimkahale...
Whatever I do, I get that stupid error, and not even Sony can help me (their support team (that needs a week to reply to a simple e-mail) said that thy don't know how to help)...!
Thanks a lot for the guide, it was really helpful!
Cheers!
Relock the Bootloader
Can we relock the boot loader using flash tool???
rachinda said:
Can we relock the boot loader using flash tool???
Click to expand...
Click to collapse
You have to, actually....
To relock, you need to flash a ftf file via FlashTool...
Help me I can't seem to choose unlock bootloader from the plugin button?

[STARTERS GUIDE] Help for Newbies| Flashtool | Rooting | Unlocking Bootloader etc.

[STARTERS GUIDE] Help for Newbies| Flashtool | Rooting | Unlocking Bootloader | CWM Recovery Installation | Nandroid backup ​
Here is very user friendly guide for newbies/starters for rooting, unlocking the bootloader, setting up Clock Work Mod recovery, performing a nandroid backup
Please say thank you and leave feedback if you find this guide useful.
XPERIA P
Root Device
CWM Recovery
Nandroid Backup
Bootloader Unlock
Flashing Custom ROMs
ROOTING
Android rooting is the process of allowing users of smartphones, tablets, and other devices running the Android mobile operating system to attain privileged control (known as "root access") within Android's subsystem.
As Android was derived from the Linux kernel, rooting an Android device is similar in practice to accessing administrative permissions on Linux.
In simple words you are allowed to change android system yourself according to your need like deleting apps, installing system apps, installing CWM recovery etc..
STEPS:
Check your phone software/firmware number by going to settings>about phone>build number
If you are on any GB firmware use flashtool guide in second post
If you are on ICS firmware (6.1.B.0.544 or 6.1.B.0.550 or 6.1.B.0.559) ,then
Download Rooting tool by Bin4ry from here
Extract it using 7zip/Winrar etc.
Double click the RunMe.bat and select 1. i.e normal phone option
Backup and restore app will open
Select RootMe.tar and click on restore
Follow instructions and bongo you are rooted :victory:
If you are on ICS firmware version (6.1.1.B.1.54 or 6.1.1.B.1.75), then
Download flashtool from official flashtool website
Install it on your PC using onscreen instructions.It will create a folder "Flashtool" in your drive(C\Flastool)
Now go to C\Flastool\drivers\flastool-drivers.exe and click on it and install it after marking/checking "xperia p,xperia u,xperia sola drivers" which is below there on the list
Download the file from here-
Now copy the files "Xperia P LT22_6.1.1.B.1.54_Kernel.ftf" , "Xperia P LT22_6.1.B.0.599_Kernel.ftf" and "Xperia P LT22_6.1.1.B.0.75_Kernel.ft and paste them in "C\Flastool\Firmwares" in PC.
Now keep "Root_with_Restore_by_Bin4ry-XP" folder in the dekstop as it is.
Now for your SXP.Go to 'settings>developer options>USB Debugging">'mark/check this option
Open flashtool from PC.
Click on the "flash" icon of the flashtool which is on the left side of the iconic tab(below the 'file' option-it's like a lightning sign).a window will be opened Mode Selector.Check "FlashMode" and press "ok" button.
You will see "Xperia P LT22 version 6.1.B.0.599" on the options.single click on that .uncheck "exclude kernel" (on the right side) and check "no final verification" and press the "ok" button.
A window will be opened saying to connect your device.switch off your phone for 30 secs.now connect the USB cable to PC(not on your device).now press down the vol.down button and hold it while connecting the USB to your phone.[now the flashtool will start flashing.but if you are doing for the first time sometimes the drivers are not able to detect the drivers of your phone and the phone starts charging in a normal way instead of flashing.don't worry.Disconnect the USB from phone only.wait for 10-20 secs.repeat from step v again and then connect your device while pressing vol.down button.the flashtool will detect your device and start flashing.)
You will be able to see percentage below.after it is finished it will be written there.disconnect USB cable from your phone only after watching it.
Restart your phone.
Go to your dekstop on PC.open the "Root_with_Restore_by_Bin4ry-XP" folder.
Click on "RunMe.bat" .a commend promt window will open on your PC.
now write only "1" (Normal Phone) in the "Make a choice" section
it should be like this.
Make a choice : 1 [Hit enter then]
It will promt to connect your device in debugging mode.Connect the USB to your phone with debugging mode turned on.now the Command Promt Window will do its work and it will say to you to open your "backup and restore" app.
Get your phone in your hand.open "app drawer>back up & restore" and hit the "restore" button.
The phone will be restarted in a while.
now you will see "super user" or "superSU" app on your app drawer.that means your phone is ROOTED successfully.
Restart your device again.(just for being safe)
Phone is rooted but the kernel is of previous version 6.1.B.0.599.So we have to reflash "6.1.1.B.1.54_Kernel.ftf" or 6.1.1.B.1.75_Kernel.ftf to the phone using Flashtool again.
Open flastool.watch step v and do the same.but select the "Xperia P LT22 version 6.1.1.B.1.54" or "6.1.1.B.1.75_Kernel.ftf"option instead of the previous ".599".now check and uncheck as the same before and flash your device pressing "ok" button.
Disconnect the phone.FINISHED.
Enjoy Rooting
You can also check video guide from here http://forum.xda-developers.com/show...6#post33470626
If you are on JB firmware version (6.2.A.0.400), then
Goto
[TUT][PRE-ROOTED JB ROM ZIP][How To] Root JB for locked Boot Loader
or
Root the new JellyBean [build 6.2.A.0.400] [UB and LB]
or
[guide][LB]Easy Root JB with OTA ROOT KEEPER
If you are on JB firmware version (6.2.A.1.100), then
GotoDooMLoRD Easy Rooting Toolkit (v14) {perf_event exploit}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
INSTALLING CWM RECOVERY
CWM recovery (Clock World Mod recovery) is a tool that you can use to flash custom ROMs, Apps, MODs, make a fill backup of phone and lots more... It a must thing for a rooted phone which can help your phone to recover from OS not booting up (bootloop)
STEPS:
Download the zip package from this thread
Extract the folder using zip/winrar
Connect your phone to the pc with USB debugging on
Click on install.bat
How to use:
Power off the phone
Power on the phone
Pressing the Volume down (-) button continuously while you see the recovery
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Performing Nandroid Backup
Nandroid backup is a complete backup of your phone (system, data. apps, cache). You can restore it any time using CWM recovery to restore your phone to a stage you have made a backup. I can save lives
STEPS:
Enter into CWM recovery (power off phone, power on. press repeatedly volume down button (-) after SONY logo till you see recovery)
Scroll down using menu button (or volume down button)
Select backup and restore using home button or power button
Select backup (You can choose backup format by scrolling down)
Wait till completion :laugh:
If you want to restore you phone just follow same instructions and instead of selecting backup select restore and select restore file
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Unlocking bootloader
Unlocking your bootloader allows you to flash a custom kernel i.e. kernel made by some developer rather than the stock SONY kernel.
Flashing custom kernels allows you to flash CUSTOM ROMS like Cyanogenmod ROMS which have very vast features and user experience with imporoved performance, features and battery life.
Note: Unlocking Bootloader of Xperia P Will Void It’s Warranty Provided By The Manufacturer (Warranty Can Be Retained By Relocking The Same).
But DRM keys are lost forever if you unlock your bootloader i.e. some apps like TrackID, download mucis info in walkman app etc. doesn't work and also you would not get any OTA firmware update after you unlock your bootloader and also if you relock afterward
STEPS:
Firstly Get & Note Down IMEI Code of Your Device. It can be Obtained by Dialing *#06#in Phone Dialer.
Charge Your Phone upto 60% Battery Level So As To Ensure That It Doesn’t Turn Off During The Process of Bootloader Unlocking.
Temporarily Disable Your PC’s Antivirus Software As This Might Interrupt The Process.
By Assuming That You’ve Followed The Essential Steps Mentioned Above, You Can Now Move To The Further Part Of The Article Where Will Check on How To Unlock Bootloader of Xperia P.
Procedure To Unlock Bootloader of Sony Xperia P LT22i :
Step 1 : Installation of USB Drivers (Xperia P)
Download Fast Boot Package (With USB Drivers)
Switch Off Your Device & Connect It To The Computer Using USB Cable While Enabling Fast Boot Mode (Press & Hold Volume Up Button To Trigger Fastboot Mode). Windows Will Start Driver Installation As soon As You’ll Connect Your Device To The Computer While Keeping It In Fastboot Mode.
Now Extract The Fastboot Package Which You’ve Just Downloaded in Your PC.You Will Find 2 Folders Named As ‘fastboot’ & ‘usb_driver’.
Point Driver Installation Location To ‘usb_driver’ Folder.
Once Drivers Get Installed, Disconnect Xperia P From PC & Power On It.
Step 2 : Unlocking Bootloader of Xperia P
Before Unlocking Bootloader, You Need To Check That if Your Device’s Bootloader Can Be Unlocked Or Not. For Checking Bootloader Status Dial *#*#7378423#*#* From Phone Dialer To Access Service Menu.Find Bootloader Unlock Status Over There. If It is Set To Yes Then Only You Can Unlock Your Device’s Bootloader Otherwise It’s Impossible To Unlock It.
After Verifying Bootloader Unlock Status Set To Yes, Go To Sony’s Official Bootloader Unlocking Site : http://unlockbootloader.sonymobile.com.
Scroll To The Bottom of The Page & Press Continue.
You Will be Prompted With The Message “Are You Sure ?”. Accept It By Clicking On “Yes I Am Sure”.(Assuming That You’ve Read It Properly). Then Accept The Legal Terms.
Now You’ll Get “Create Unlock Request” Page.Enter Your Name, Email Address & IMEI (Which You’ve Noted in Essential Steps Mentioned Above).
You’ll Now Get Unique Key Which Will Be Displayed On The Screen. Save It Safely As We Will Require It In Next Part Of The Article.
Open Command Prompt In Your Computer & Point/Set It’s Location To ‘fastboot’ Folder.
Again Connect Your Device To PC By Enabling Flash Mode On It (Check Step 1).
Now In Command Prompt (CMD) Type The Following Command :
fastboot.exe -i 0x0fce getvar version
If Value is Returned (It Should return 0.5), It Means Device is Connected Properly.
Type This Second Command Mentioned Below :
fastboot.exe -i 0x0fce oem unlock 0xKEY
Replace The KEY With The Unique Key Which You’ve Received Earlier (In Step 2). And Hit Enter.
Congratulations !! You’ve Successfully Unlocked Bootloader of Your Xperia P.Enjoy The Advantages of Unlocking Bootloader.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Flashing Custom ROMs
STEPS:
Download any Custom ROM for Xperia P. You can get a Index of ROMs, Kernels etc from here.
Do read instructions in the thread because every ROM may have a different requirement of Kernel and way of installing but basic idea is same.
Place your ROM i.e. xxx.zip file in your Root of SDCard (in internal storage)
Power off the device
Power on and repeatedly press volume down (-) button after SONY logo appears until you see the recovery
Now to clear cache scroll down to wipe cache partition and select it and scroll down to yes
To clear data or do a factory reset scroll down to wipe data/factory reset and select it and scroll down to yes
To clear dalvik cache scroll down to advanced select it again scroll down and select wipe dalvik cache
After you perform all the steps press back to enter main menu
Scroll down to install zip from sdcard and select it
Scroll down to choose zip from sdcard and select it
Now scroll to the ROM i.e. xxx.zip and select it and scroll down to yes to confirm.
Press back and reboot system.
Enjoy.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FLASHTOOL
Flashtool using guide​
Download flashtool from official flashtool website
Install it on your PC using onscreen instructions.It will create a folder "Flashtool" in your drive(C\Flastool)
Now go to C\Flastool\drivers\flastool-drivers.exe and click on it and install it after marking/checking "xperia p,xperia u,xperia sola drivers" which is below there on the list
Restart your PC
Flashing STOCK firmwares:
Note: Make sure you have USB debugging on. If not goto setting>developer options> and check USB debugging on
Download the flashtool firmware file (.ftf) from Xperia P android Development Section and place it in C:/Flashtool/firmware
{
"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"
}
Open flashtool from PC.
Click on the "flash" icon of the flashtool which is on the left side of the iconic tab(below the 'file' option-it's like a lightning sign).a window will be opened Mode Selector.Check "FlashMode" and press "ok" button.
Now select your firmware like "LT22i_6.1.1.B.1.75_Generic" in my case
Uncheck wipe data if you dont want to delete your apps and data and press ok
If you want fresh install then dont uncheck wipe data and press ok
After that flashtool will prepare files for flashing and then you will be prompted to connect phone in flashmode.
Power off the phone and wait for 5 secs
Connect phone to PC using USB cable while pressing volume down button (-) (Make sure you dont release Volume down button until flashtool starts flashing)
Flashtool will start flashing firmware it may take some time.
After flashing flashtool will prompt you to disconnect you phone. Discconet it and power on your phone (It may take some time for the first boot).
Enjoy
Credits to:
Androxyde for flashtool
Bin4ry for Rooting tool
atis112 for Working CWM recovery for locked bootloader
neectron for Index of ROMs, Kernels
naruto20007 for Rooting method (6.1.1.B.54)
kangi26 for giving permissions to start the thread
Reserved again
Reserved last
Really useful guide... I had to struggle a lot on getting information for my Xperia inspite of having an android phone before.... Sony phones are a bit different
thank you very much...
Need Help
Switch Off Your Device & Connect It To The Computer Using USB Cable While Enabling Fast Boot Mode (Press & Hold Volume Up Button To Trigger Fastboot Mode). Windows Will Start Driver Installation As soon As You’ll Connect Your Device To The Computer While Keeping It In Fastboot Mode.
When I get that part I get into fastboot, there is about 5 seconds and then immediately goes out, someone help me please
joaovsjf said:
Switch Off Your Device & Connect It To The Computer Using USB Cable While Enabling Fast Boot Mode (Press & Hold Volume Up Button To Trigger Fastboot Mode). Windows Will Start Driver Installation As soon As You’ll Connect Your Device To The Computer While Keeping It In Fastboot Mode.
When I get that part I get into fastboot, there is about 5 seconds and then immediately goes out, someone help me please
Click to expand...
Click to collapse
Did you install the fastboot, flashmode and xperia drivers from the drivers folder in the flashtool installation location?
If yes, then make sure you release the volume up key as soon as the led glows blue.
dewanshu93 said:
Flashing Custom ROMs
STEPS:
Download any Custom ROM for Xperia P. You can get a Index of ROMs, Kernels etc from here.
Do read instructions in the thread because every ROM may have a different requirement of Kernel and way of installing but basic idea is same.
Place your ROM i.e. xxx.zip file in your Root of SDCard (in internal storage)
Power off the device
Power on and repeatedly press volume down (-) button after SONY logo appears until you see the recovery
Now to clear cache scroll down to wipe cache partition and select it and scroll down to yes
To clear data or do a factory reset scroll down to wipe data/factory reset and select it and scroll down to yes
To clear dalvik cache scroll down to advanced select it again scroll down and select wipe dalvik cache
After you perform all the steps press back to enter main menu
Scroll down to install zip from sdcard and select it
Scroll down to choose zip from sdcard and select it
Now scroll to the ROM i.e. xxx.zip and select it and scroll down to yes to confirm.
Press back and reboot system.
Click to expand...
Click to collapse
Hello I'm stock rom 6.1.1.B.1.54 locked bootloader having some things unclear about this:
1. Can I flash custom ROMs wth locked bootloader? If not, what happens if I try to? Do I brickwall my phone? Is it recoverable?
2. Can I still flash other stock ROM (for example .75) with locked bootloader?
3. What's the difference between flashing custom ROM via CWM and via Flashtool?
4. Do I always before flashing new ROM have to clear data? Do this wipe all installed apps and settings?
5. If flashing new rom wipes everything, will I be able to restore all apps&settings from full Titanium backup?
bflmpsvz said:
Hello I'm stock rom 6.1.1.B.1.54 locked bootloader having some things unclear about this:
1. Can I flash custom ROMs wth locked bootloader? If not, what happens if I try to? Do I brickwall my phone? Is it recoverable?
2. Can I still flash other stock ROM (for example .75) with locked bootloader?
3. What's the difference between flashing custom ROM via CWM and via Flashtool?
4. Do I always before flashing new ROM have to clear data? Do this wipe all installed apps and settings?
5. If flashing new rom wipes everything, will I be able to restore all apps&settings from full Titanium backup?
Click to expand...
Click to collapse
Sorry for late reply :angel:
1. It depends upon the ROM you flashing.. Some ROMS need custom kernel i.e bootloader unlocked and some can run on stock kernel.. So check the ROM requirements before you flash it... If u flash ROM that requires unlocked bootloader and you flash it on locked bootloader you will end in a bootloop
2. Stock ROMS (stock based ROMS) can be flashed on locked bootloader
3.Flashtool will flash Orignal firmware (Stock firmware from sony) i.e ftf file... And through CWM you can flash ROMS i.e *.zip files
4. Yes it is recommended to clear data (it will delete all apps and settings)... But also check ROM installation procedure some may not require to clear data. If you are flashing stock firmware (ftf file) using flashtool you can uncheck wipe data to preserve you data.
5. Yes you can use titanium backup to backup and restore apps anytime on any ROM or firmware
Great, thanks for explaining
Re: Can someone help
Deleted.
Sent from LT22i via Tapatalk
Congrats
This was a great thread started by you brother. Keep it up.. All the wishes. And congrats for the promotion as a Recognized Contributor in XDA...
how can i get System Folder from FTF file.... i try to use Flashtool but cant go forward, i used SIN Editor to Dump Data for system.sin but it only create .ext4 file, no .unyaffs. so am stuck cant go further. pleaseany help!
IAmNice said:
Now Extract The Fastboot Package Which You’ve Just Downloaded in Your PC.You Will Find 2 Folders Named As ‘fastboot’ & ‘usb_driver’.
Point Driver Installation Location To ‘usb_driver’ Folder.
How can I point driver installation location? My xperia P's led just turns blue and windows says installation succesful.
Click to expand...
Click to collapse
Then i guess you have successfully installed fastboot drivers :good:
whalesplaho said:
how can i get System Folder from FTF file.... i try to use Flashtool but cant go forward, i used SIN Editor to Dump Data for system.sin but it only create .ext4 file, no .unyaffs. so am stuck cant go further. pleaseany help!
Click to expand...
Click to collapse
Use some ext explorer software to open ext4 file :silly:
dewanshu93 said:
Use some ext explorer software to open ext4 file :silly:
Click to expand...
Click to collapse
dnt know any brov... would appreciate yur help please!
Everytime when i try to use the flashtool i get that it can't find the drivers. I've tried in on 2 computers reinstalled flashtool and the drivers. I hope someone got a fix for this...
EDIT:
Took a quick screenshot
liquidfood said:
Everytime when i try to use the flashtool i get that it can't find the drivers. I've tried in on 2 computers reinstalled flashtool and the drivers. I hope someone got a fix for this...
Click to expand...
Click to collapse
Go to C:/Flashtool/Drivers and install drivers for Xperia P as well as flashmode drivers (second last option)... It should work

Rooting Sony Xperia Sola GB/ICS using Bin4ry&Androxyde Flashtool

hi, i'm a newbie and i just wanna share on how to root the xperia sola through flashtool,(THANKS TO BIN4RY AND ANDROXYDE FOR THE GREAT APP THEY HAVE MADE!!!) i've been rooting my android maybe around 4 days trying different ways but still not rooted. I've tried the bin4ry runme.bat file but no success.i just figured out that you must first unlocked your bootloader in order to root it..so here it is for those like me who are so eager and desperate in rooting their xperia sola android phones..
DISCLAIMER: I WILL NOT HELD RESPONSIBLE FOR ANY DATA LOST OR BRICK OF YOUR ANDROID. PROCEED ON YOUR OWN RISK!!
THIS GUIDE IS FOR UNLOCKED BOOTLOADER
BEFORE PROCEEDING.YOU MUST BACKUP ALL YOUR FILES AND SAVE TO YOUR COMPUTER AND REMOVE YOUR EXTERNAL MEMORY CARD AND SIMCARD FOR YOU WILL LOSE ALL YOUR DATA AND FILES WHEN YOU ROOT YOUR ANDROID. YOU CAN ALSO BACKUP YOU FILES AND EVERYTHING USING PC COMPANION
BACKUP ALSO YOUR CURRENT FIRMWARE OR DOWNLOAD THE FTF FILE OF GINGERBREAD AND FLASH IT TO SWITCH BACK TO GB
BACKUP ALSO YOUR TA http://forum.xda-developers.com/showthread.php?t=2292598
HOW TO UNLOCKED YOUR BOOTLOADER:
http://unlockbootloader.sonymobile.com/instructions
OR
HOW TO UNLOCKED YOUR BOOTLOADER USING FLASHTOOL:
1. In your device, open the dialler and enter *#*#7378423#*#* to access the service menu.
2. In your device, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
3. On your computer, click Continue at the bottom of this page to start the unlock boot loader process.
4. Read through the information in the pop up window and click Yes, I’m sure, if you are still confident you want to unlock the boot loader.
Read through and accept the legal terms. Click I Accept.
Enter your name, a valid email adress and the first 14 digits of your device’s IMEI or MEID or IDID number (remove the last digit if necessary). Click Submit. You can view the IMEI or MEID number by entering *#06# on your device. If you have a tablet, click here to learn how to find your IMEI, MEID or IDID number.
The unlock boot boot loader key will be sent to your email. Save it for later use.
Now open your Flashtool(note: you must close the pc companion when it starts to show up because in some cases it slows down you Flashtool)
1. Turn on your phone, and connect with usb debugging on.
2. In you Flashtool go to Plugins-> Bootloader Unlock option, start it.
3. Now it will ask to disconnect your phone and reboot in FLASHMODE.
4. Again reboot your phone in FASTBOOT mode.
5. It will show a window with your IMEI number, insert your unlock key(the unlock that was sent to you in your email) and click "unlock".
6. The device will reboot and you are done!
*(your device must be turned off) hold the volume - before connecting it to your computer through usb (FLASHMODE) green light on led if you've done it correctly
*(your device must be turned off) hold the volume + before connecting it to your computer through usb (FASTBOOTMODE) blue light on led if you've done it correctly
credits to sid.8491 http://forum.xda-developers.com/showthread.php?t=1971363 ...sorry for copy-pasting your procedures..
TO RELOCKED YOUR BOOTLOADER http://forum.xda-developers.com/showthread.php?t=2332900 but i haven't tried it yet
PREPARATIONS:
1. download Flashtool by Bin4ry&Androxyde http://androxyde.github.io/
2. install the right drivers for your phone http://forum.xda-developers.com/showthread.php?t=1413293 -follow the procedures
PREPARATIONS FOR GINGERBREAD(.184)
1. your android must be manually updated to ics through Flashtool (LOCKED BOOTLOADER/UNLOCKED BOOTLOADER) http://androidlegend.com/update-son...cial-android-4-0-4-ics-firmware-6-1-1-b-1-54/
NOW THAT YOUR ANDROID IS ON ICS ROOT IT USING FLASHTOOL ( note: if your android is already on ics skip PREPARATIONS FOR GINGERBREAD(.184) of course )
1. Download this two kernels http://rapidgator.net/file/76795117/kernel.zip.html https://www.dropbox.com/s/8bj491lzhssrn20/kernel.zip or this link http://forum.xda-developers.com/showthread.php?t=2029756
2. Place the two Kernels into where your Flashtool folder in your computer (ex. C:\Flashtool\firmwares\(put the kernels here)
3. Tick usb debugging on ( Developer options > USB debugging ) and unknown sources ( Security > Unknown sources ) in your device
4. turn off your device
5. open the flashtool
6. click the Flash (bolt icon) and choose flashmode and select the 6.1.1.B.10 kernel and click ok
7. wait and when asked to connect your device, connect it by doing flashmode (volume - then connect it to your computer)
8. wait until it finishes.
9. unplug the device and turn it on
10. connect it again to the computer (device turned on) and wait till the root icon is clickable in your Flashtool
11. click the Root icon when available and choose superuser
12. wait until it finished and say that your device is rooted
13. unplug it again and turn it off
14. click again the Flash (bolt icon)and choose flashmode and select 6.1.1.B.54 kernel and click ok
15. wait and when asked to connect your device, connect it by doing flashmode (volume - then connect it to your computer)
16. wait till it finished and unplug your device and turn it on
17. enjoy!
*note : if in the first run you have the rooting unsuccessful or something. restart your computer. restart your device and Flash it again with the ics ftf file (PREPARATIONS FOR GINGERBREAD(.184) ) and repeat step 3.
*note : you must close the pc companion when doing the flashing and rooting
*your device must be flashed(6.1.1.B.10 kernel) in order to root it.
THANKS TO BIN4RY AND ANDROXYDE AND ALL THE PEOPLE THAT I HAVE USED LINKS TO THEIR THREADS!!
RECOGNITION ONLY TO THOSE PEOPLE AND NOT ME.
.i admire u made a very useful first post never seen anyone publishing a guide in his first post..great going..
thanks! i hope i can help those people who are just like me....it took me 4 days to figure out how to root my phone ..hehe

Bricked XZU C6802 PLEASE HELP!!

Hello guys, My XZU C6802 just got bricked today, in attempt to install Cyanogenmod.
I was rooted, I had dual recovery and I guess I installed CM10.2 because it was the most stable one out now, although, I didn't think and or realize that I can't go from a 4.4.4 to 4.3 on the 10.2..... I'm an idiot.
However, I've tried every method online to try and boot the phone up but it just won't turn on....
I've left it in charge for hours on end, 6-7 Hours and no point... Sony Support that I called told me to, Connect a wall charger to it, then at the same time hold power button and top volume button and if it vibrated 3 times that means the hardware is fine and the phone is responding.... in which mine did that and he told me to leave it in charge and to try and turn it on after a few hours.... but that didn't work either. It's connected to the charger but it's just blinking red LED light all the time constantly.
I can put it in boot loader mode only, by connecting the usb and holding VOLUP button at the same time as plugging in the usb.
I don't know what to do and I really need my phone, so I hope someone can help me!
I don't know if its gone now or if it's worth anything, should I sell it, keep it? I love the phone but if this is how it's going to be for a while or always at this point, Might as well try and sell it cheap and get another Samsung maybe.
I hope I don't have too. Please help guys!
Thank you XDA!
Did you try flashing stock ftf? That should help.
Hold volume down button while plugging in the usb cable to your pc, the led might go green (if i remember right), meaning you booted into flashmode correctly,
then download the flashtool from the internet and ftf from the forum and flash it off.
You should have it working
br
s
If you can get to the bootloader then just fastboot flash the approprate(IE the offical version that was on your before you borked it. if I recall correctly its probably listed in the bootloader) kernel, fota, and system image files. I'm sure there is a thread here that has the files. As an aside if you can get to the bootloader, you are not bricked, you're fine man/woman, listen to The Eagles on this one.
Did you unlock the boot loader at all?
anyway to recover:
download flashtool (http://flashtool.net)
download a FTF (see FTF thread in dev section)
start flashtool
select flashmode
select FTF from above
select start/flash/etc (cant remember the wording)
wait for the graphic to say connect phone
Hold vol. down key while connecting phone - LED will flash (blue?) for about 1/2 a second then turn off
(if the above does't work press the red reset button beside the SD card slot and try again)
wait for flash to finish
disconnect phone
You could also try EMMA from Sony.
Worked ery well everytime I bricked mine
http://developer.sonymobile.com/services/flash-tool/
malimt said:
Hello guys, My XZU C6802 just got bricked today, in attempt to install Cyanogenmod.
I was rooted, I had dual recovery and I guess I installed CM10.2 because it was the most stable one out now, although, I didn't think and or realize that I can't go from a 4.4.4 to 4.3 on the 10.2..... I'm an idiot.
However, I've tried every method online to try and boot the phone up but it just won't turn on....
I've left it in charge for hours on end, 6-7 Hours and no point... Sony Support that I called told me to, Connect a wall charger to it, then at the same time hold power button and top volume button and if it vibrated 3 times that means the hardware is fine and the phone is responding.... in which mine did that and he told me to leave it in charge and to try and turn it on after a few hours.... but that didn't work either. It's connected to the charger but it's just blinking red LED light all the time constantly.
I can put it in boot loader mode only, by connecting the usb and holding VOLUP button at the same time as plugging in the usb.
I don't know what to do and I really need my phone, so I hope someone can help me!
I don't know if its gone now or if it's worth anything, should I sell it, keep it? I love the phone but if this is how it's going to be for a while or always at this point, Might as well try and sell it cheap and get another Samsung maybe.
I hope I don't have too. Please help guys!
Thank you XDA!
Click to expand...
Click to collapse
Download sony pc companion and install it. Goto update software and select & make sure your phone is off and plug it in while holding vol up or vol down to get it in flash mode. PC should recognise it after installing drivers and select the recovery option if given ( you might have to tell it to force an update or it might automatically do it). Sit or make a cuppa while waiting for it to download the sony rom. You wont re lock your bootloader just restore the sony rom. Once downloaded it should start the process, I've done it a few times and managed to recover it.
Sony PC Companion won't work, tried it a lot. I have also tried EMMA too. Doesn't work, emma says; I have a locked boot loader.
blueether said:
Did you unlock the boot loader at all?
anyway to recover:
download flashtool (http://flashtool.net)
download a FTF (see FTF thread in dev section)
start flashtool
select flashmode
select FTF from above
select start/flash/etc (cant remember the wording)
wait for the graphic to say connect phone
Hold vol. down key while connecting phone - LED will flash (blue?) for about 1/2 a second then turn off
(if the above does't work press the red reset button beside the SD card slot and try again)
wait for flash to finish
disconnect phone
Click to expand...
Click to collapse
I couldn't find any FTF?? I'm new here, i'm sorry, I just didn't really find anything. I got the flattop though. Thanks for that.
Found FTF; http://forum.xda-developers.com/xpe...tf-depository-sony-firmware-releases-t2829387
Thanks blueether. I used flashboot to unlock my boatload and then phones screen turned on and then I flashed FTF and it was complete reboot and I have my Stock back. Then loaded dual recovery again and restored my tarp backup of my complete phone. its working great thanks to you.
One question I have now, since I unlocked the boot loader and then re-installed stock, does this mean I have to unlock it again to be able to install Cyanogen or it permanently stays unlocked?
malimt said:
Thanks blueether. I used flashboot to unlock my boatload and then phones screen turned on and then I flashed FTF and it was complete reboot and I have my Stock back. Then loaded dual recovery again and restored my tarp backup of my complete phone. its working great thanks to you.
One question I have now, since I unlocked the boot loader and then re-installed stock, does this mean I have to unlock it again to be able to install Cyanogen or it permanently stays unlocked?
Click to expand...
Click to collapse
I didn't mention unlocking it in the guide did I?
Now that you have unlocked it (and I assume that you dont have a TA backup) just leave it unlocked. the only point to relocking is if you have a TA backup to do it with to restore the DRM keys that you just wiped
malimt said:
Sony PC Companion won't work, tried it a lot. I have also tried EMMA too. Doesn't work, emma says; I have a locked boot loader.
Click to expand...
Click to collapse
I had the same problem.
Just unlock it via fastboot like described on the sony homepage ( http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ ) . The only thing you can't do is checking if its possible to unlock your bootloader, so just jump this step (worked with my C6833, no warranty to work with other models fron other countries).
Then you can use EMMA without any troubles any time you brick it. At least with my device it worked.
blueether said:
I didn't mention unlocking it in the guide did I?
Now that you have unlocked it (and I assume that you dont have a TA backup) just leave it unlocked. the only point to relocking is if you have a TA backup to do it with to restore the DRM keys that you just wiped
Click to expand...
Click to collapse
When you unlocked the boot loader isnt it better? I thought that's what everyone does in order to install custom Roms am I right? I mean when I had locked one I couldn't turn on my phone when I had installed cyanogen m
malimt said:
When you unlocked the boot loader isnt it better? I thought that's what everyone does in order to install custom Roms am I right? I mean when I had locked one I couldn't turn on my phone when I had installed cyanogen m
Click to expand...
Click to collapse
yes you have to unlock the bootloader to run custom ROMs and kernels, but if you don't back up the TA before you unlock it you have no way to get back to a pure stock state and you lose your DRM keys - so things that rely on them no longer work.
blueether said:
Did you unlock the boot loader at all?
anyway to recover:
download flashtool (http://flashtool.net)
download a FTF (see FTF thread in dev section)
start flashtool
select flashmode
select FTF from above
select start/flash/etc (cant remember the wording)
wait for the graphic to say connect phone
Hold vol. down key while connecting phone - LED will flash (blue?) for about 1/2 a second then turn off
(if the above does't work press the red reset button beside the SD card slot and try again)
wait for flash to finish
disconnect phone
Click to expand...
Click to collapse
blueether said:
yes you have to unlock the bootloader to run custom ROMs and kernels, but if you don't back up the TA before you unlock it you have no way to get back to a pure stock state and you lose your DRM keys - so things that rely on them no longer work.
Click to expand...
Click to collapse
Ah, I see. What are DRM keys used for? and What would no longer work exactly? Sorry, I am new to this, so I am trying to get some knowledge of what everything is exactly.
malimt said:
Ah, I see. What are DRM keys used for? and What would no longer work exactly? Sorry, I am new to this, so I am trying to get some knowledge of what everything is exactly.
Click to expand...
Click to collapse
Screencasting is one thing it breaks. The backup you made in recovery before unlocking your bootloader should relock it if restored. I have never been able to confirm if it might also restore drm keys though.
adfurgerson said:
Screencasting is one thing it breaks. The backup you made in recovery before unlocking your bootloader should relock it if restored. I have never been able to confirm if it might also restore drm keys though.
Click to expand...
Click to collapse
Okay thanks.
I have been trying to install recovery and root my z ultra again after a clean fresh stock restore and I can't install it.
I keep getting Towelroot error.. Tr.apk - Easyroot...
I have even downloaded the tr.apk separately and put it in the Files folder like it asks... Still.. no luck.
I am trying to install recovery on un-rooted rom then boot into recovery and flash supersu.zip.
Any easier ways? Any other ways to root and install recovery?
I have been trying many ways and I haven't gotten much luck.
Thanks.
malimt said:
Okay thanks.
I have been trying to install recovery and root my z ultra again after a clean fresh stock restore and I can't install it.
I keep getting Towelroot error.. Tr.apk - Easyroot...
I have even downloaded the tr.apk separately and put it in the Files folder like it asks... Still.. no luck.
I am trying to install recovery on un-rooted rom then boot into recovery and flash supersu.zip.
Any easier ways? Any other ways to root and install recovery?
I have been trying many ways and I haven't gotten much luck.
Thanks.
Click to expand...
Click to collapse
now that your BL is unlocked life is simple, flash bootloader with recovery, flash su from recovery. although [NUT]'s dual recovery should work just as easy
You could try and flash (or even hotboot) this http://forum.xda-developers.com/showthread.php?t=2705130
brick Sony z ultra GPE
Hey there! Such a problem. I beg your Sony Z Ultra GPE through Flashtool, as it turned out it can not be done. As a result, received a full brick. Does not respond to any operation. Please help if you can! Have a backup TA section. When connecting the phone without a battery, the computer recognizes it as SEMC Flash Device. Thanks in advance. Sorry for my English.
android_atom said:
Hey there! Such a problem. I beg your Sony Z Ultra GPE through Flashtool, as it turned out it can not be done. As a result, received a full brick. Does not respond to any operation. Please help if you can! Have a backup TA section. When connecting the phone without a battery, the computer recognizes it as SEMC Flash Device. Thanks in advance. Sorry for my English.
Click to expand...
Click to collapse
No it cant be updated with a FTF. I've not seen one of these bricks recovered. ask the_laser in the hard brick thread is the only real option other than new motherboard
blueether said:
now that your BL is unlocked life is simple, flash bootloader with recovery, flash su from recovery. although [NUT]'s dual recovery should work just as easy
You could try and flash (or even hotboot) this http://forum.xda-developers.com/showthread.php?t=2705130
Click to expand...
Click to collapse
Ah I see.
I checked the thread you sent me, I cannot hotboot it, it doesn't detect my device for some reason.
I have all ADT, ADB, FLASHMODE AND BOOTLOADER mode drivers, it has worked before.
Any suggestions any ideas? Also I was wondering, is this for 4.4.4 the doomkernal you sent or 4.4.2? Cuz there's a pic in the thread showing 4.4.2 so I just wanted to make sure!
In the thread, this was mentioned, however, I don't understand this at all, well not much anyway.
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"""""""""""""""""""""""""""""""""""""""""""""""""""""""
For better viewing see here; http://prntscr.com/5sqhqm
Code:
[U][ how to install my kernel ] (via fastboot)
1. download the kernel package
2. save it kernel to the folder containing fastboot binary
3. flash the boot.img using fastboot:
Code:
fastboot flash boot boot.img
4. reboot from fastboot
Code:
fastboot reboot
5. the device should now start booting
6. enjoy the kernel [/U]
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Could somebody please explain this a little better, I am new to this, so I don't have much knowledge.. Thank you..
Here's the error I get when trying to install (NUTS LockedDualRecovery) I hope someone can also help me figure this out... I really don't understand any of it.
============================================================================
Code:
==============================================
= =
= PhilZ Touch, CWM and TWRP Dual Recovery =
= Maintained by [NUT] =
= =
= For Many Sony Xperia Devices! =
= =
==============================================
1. Installation on ROM rooted with SuperSU
2. Installation on ROM rooted with SuperUser
3. Installation on unrooted ROM using the TowelRoot method
4. Install ADB drivers to windows
5. Exit
Please choose install action.
[1,2,3,4,5]?3
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found!
=============================================
Getting ro.build.product
=============================================
Device model is C6802
Firmware is 14.4.A.0.108
=============================================
Step2 : Sending the recovery files.
=============================================
mkdir failed for /data/local/tmp/recovery, File exists
cannot stat 'dr.prop': No such file or directory
cannot stat 'chargemon.sh': No such file or directory
cannot stat 'mr.sh': No such file or directory
cannot stat 'dualrecovery.sh': No such file or directory
cannot stat 'NDRUtils.apk': No such file or directory
cannot stat 'rickiller.sh': No such file or directory
cannot stat 'disableric': No such file or directory
cannot stat 'busybox': No such file or directory
cannot stat 'recovery.twrp.cpio.lzma': No such file or directory
cannot stat 'recovery.philz.cpio.lzma': No such file or directory
cannot stat 'recovery.cwm.cpio.lzma': No such file or directory
cannot stat 'installrecovery.sh': No such file or directory
=============================================
Step3 : Setup of dual recovery.
=============================================
Unable to open /data/local/tmp/recovery/install.sh: No such file or directory
Unable to open /data/local/tmp/recovery/busybox: No such file or directory
=============================================
Attempting to get root access for installation using TowelRoot now.
NOTE: this only works on certain ROM/Kernel versions!
If it fails, please check the development thread (Post #2) on XDA for more detai
ls.
REMEMBER THIS:
XZDualRecovery does NOT install any superuser app!!
You can use one of the recoveries to root your device.
=============================================
=============================================
Sending files
=============================================
cannot stat 'easyroottool\zxz.sh': No such file or directory
cannot stat 'easyroottool\towelzxperia': No such file or directory
cannot stat 'easyroottool\libexploit.so': No such file or directory
cannot stat 'easyroottool\writekmem': No such file or directory
cannot stat 'easyroottool\findricaddr': No such file or directory
cp: /data/local/tmp/recovery/busybox: No such file or directory
Unable to open /data/local/tmp/busybox: No such file or directory
Unable to open /data/local/tmp/zxz.sh: No such file or directory
Unable to open /data/local/tmp/towelzxperia: No such file or directory
Unable to open /data/local/tmp/writekmem: No such file or directory
Unable to open /data/local/tmp/findricaddr: No such file or directory
Copying kernel module...
cannot stat 'easyroottool\wp_mod.ko': No such file or directory
cannot stat 'easyroottool\kernelmodule_patch.sh': No such file or directory
Unable to open /data/local/tmp/kernelmodule_patch.sh: No such file or directory
cannot stat 'easyroottool\modulecrcpatch': No such file or directory
Unable to open /data/local/tmp/modulecrcpatch: No such file or directory
/system/bin/sh: /data/local/tmp/kernelmodule_patch.sh: not found
=============================================
Installing using zxz0O0's towelzxperia
(using geohot's towelroot library)
=============================================
/system/bin/sh: /data/local/tmp/towelzxperia: not found
/system/bin/sh: /system/xbin/busybox: not found
=============================================
Installation finished. Enjoy the recoveries!
=============================================
Press any key to continue . . .
==================================================================================
Does anyone also have any idea when 5.0 is coming to Z ultra? or if there is beta available now?

[SGP621 - LTE-Version] possible to root the Stock-Lollipop?

Is it possible?
Greets&Thanks
KB
Yes
kugelblitz said:
Is it possible?
Greets&Thanks
KB
Click to expand...
Click to collapse
Disclaimer: "Before you do any thing please follow this thread & Backup your TA key first using this thread " or you will lose DRM keys forever.
My Sony Xperia Z3 Tablet Compact SGP 621 is now rooted with lollipop 5.0.2
1) First I flashed the normal Lollipop firmware using the flashtool which is there in one of the threads in Sony xperia Z3 tablet compact android development section
2) Then I checked in the dialer if bootloader can be unlocked. It said yes. Bootloader was then unlocked using the Sony website where you get the Sony unlock code in your email.
3) Then I followed this thread to http://forum.xda-developers.com/z3-...ment/advanced-stock-kernel-twrp-root-t2959720 to root my Sony Xperia Z3 tablet compact.
4) I did have few hiccups in the step 3 as I was new to Sony devices. Previously I was using Samsung devices (tablet and phones) but I managed to get the TWRP installed at this point.
5) Then I flashed the prerooted Zip file from this thread http://forum.xda-developers.com/z3-...-sgp621-lollipop-23-1-0-690-noba-ftf-t3058400
6) I did backup TA keys once my device was rooted. Since I read in many threads that backing up TA keys required root.
Thats it. Once I was finished with step 5. Tablet got rebooted and I had SuperSu installed with awesome lollipop firmware on my Sony Xperia Z3 Tablet compact.
Now I am a very happy and satisfied man since then. I am getting excellent battery life of above 10 hours in 4 days.
Since I was new to Sony devices I had to struggle a bit but it was worth the hardwork. Lollipop is extremely smooth and battery life is amazing.
Hope you find this information useful. If you need screenshots please let me know I will share it in my next post.
Cheers!
That's great, but it look like complex...., can you write the steps in detail?
Detailed procedure I followed to root my Sony Xperia Z3 Tablet SGP 621 (lollipop)
Disclaimer: "Before you do any thing please follow this thread & Backup your TA key first using this thread " or you will lose DRM keys forever.
Here is what I did. Sorry for making it so long.
MY PC - Windows 7 x64 SP1
My Device - Sony Xperia Z3 Tablet Compact.
1) Install the flashtool on your PC. The one which I used was flashtool-0.9.18.5-windows.exe file.
Once downloaded install the flashtool to lets say C:\Flashtool.
In that folder go to "drivers" folder and install the file.
This is extremely important.
Please refer to the "driver installation 1.jpeg" and "driver installation 2.jpeg" in the attachments below on what to select during installation.
Once you select those three options hit "install".
Now you have flashtool installed on your PC.
Go to "Start" -> type " Flash and you will have two options if you are having 64bit windows OS. Select "Flashtool 64".
For better understanding please check the "Flashtool 64.jpeg" in the below attachments.
When you open flashtool software it will ask you to move the firmware ftf file which is there in C:\Flashtool\firmwares to C:\Users\abcd\.flashTool\firmwares
abcd is my username in the PC I used.So you have to navigate to similar path in your PC.
In the same location paste your Sony lollipop firmware SGP621_23.1.A.0.690_NOBA.ftf
flashtool is ready for use.
2) On your Sony xperia z3 tablet. Go to Settings -> Developer settings -> Check USB debugging and unknown sources.
Switch off the device.
Now press "volume down" and connect the Sony Xperia Z3 tablet to your PC.
Select the SGP621_23.1.A.0.690_NOBA.ftf in the flashtool and flash it.
This might take roughly 5 to 10 minutes but it will complete for sure.
Reboot the device and go inside the Settings -> Developer settings -> Check USB debugging and unknown sources.
3) Unlocking bootloader (Do this step ONLY if you have backed up your TA keys or Do NOT attempt this)
Open the phone dialer on Sony Xperia Z3 tablet and type *#*#7378423#*#* .
Go to Service info > Configuration > Rooting Status.
It should say bootloader unlock allowed: yes
You will need IMEI number of your Sony Xperia Z3 Tablet Compact.
Either you can check on your Box or type *#06# and you will get your IMEI number.
Write this down somewhere.
Go to this site http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ and follow the instructions to get your unique unlock code.
Once you go through each and every step in that sonymobile site you will get the code and further instructions in your email.
For better understanding please check the jpeg attachments "bootloader unlock step 3" and "bootloader unlock step 4" below.
Now Power off your Sony Xperia Z3 tablet compact and then press "volume up".
Connect the tablet to PC.
To proceed further you will need adb. Click here to download adb.
Install the adb setup on your PC.
Go to the folder C:\Program Files (x86)\Minimal ADB and Fastboot
Press "shift" button and right click in the empty space inside that folder.
You will get the option "Open Command Window here"
Select that option.
Now type the below commands (these commands are there in the bootloader unlock step 3.jpeg and bootloader unlock step 4.jpeg" below in attachments)
fastboot devices
fastboot i 0x0fce oem unlock <your unlock code>
Thats it. Your bootloader should be unlocked now.
Reboot the device and go inside the Settings -> Developer settings -> Check USB debugging and unknown sources.
3) Installation of TWRP and Root.
You need .img file for this.
From this thread I downloaded the .img
File name will be Z3TC-stock-twrp.img.
Just rename this file as boot.img and place it in C:\Program Files (x86)\Minimal ADB and Fastboot
Power off your Sony Xperia Z3 tablet compact and then press "volume up".
Connect your tablet to PC.
Go to the folder C:\Program Files (x86)\Minimal ADB and Fastboot
Press "shift" button and right click in the empty space inside that folder.
You will get the option "Open Command Window here"
Type the below commands one after the other.
fastboot devices
fastboot flash boot boot.img
it should say "finished". check the "successful bootimg commands.jpeg " in below attachments.
Reboot the device.
Download the Pre-rooted flashable Zip from here
Download the SuperSu from here
Copy the Prerooted flashable zip and SuperSU to your SD card.
Switch off the Tablet.
Go to recovery by pressing "power" & volume up and down alternatively.
You will now enter TWRP.
Install the SuperSU zip file.
Then Install the Pre-rooted flashable zip file.
Reboot and you are done!
You will now have working Root, TWRP and awesome Lollipop firmware on your beautiful Sony Xperia Z3 Tablet Compact.
4) Final step Backup TA keys.
After rebooting the device.
Once it enters the homescreen.
Go inside the Settings -> Developer settings -> Check USB debugging and unknown sources.
Connect the Tablet to PC
Download the backup TA software from here
Extract it on your PC.
Double click on the Backtup-TA.bat
It will identify your device.
Just back up your DRM keys from the options on your screen.
I read online and in some threads in XDA that backup TA software needs the device to be rooted and that is why I kept this step in the end.
I completely agree if you guys find the above procedure tedious.
After going through many threads and websites this is how the steps panned out.
This is the procedure that worked for me in the end.
I did have few hiccups and bootloop as well. Then I just kept it flashmode and re-flashed the lollipop ftf file using flashtool with "wipe data" option checked.
That solved the problem.
Coming from Samsung devices I had to find out what was fastboot mode, flash mode, how to enter recovery and how to use flashtool. It was all new to me.
But I didn't give up and went through the grind.
Result? Super Sony Xperia Z3 Compact SGP 621 with Root on Lollipop firmware with Excellent battery life.
Thanks to all the brilliant developers on this site who in various threads explained various aspects of rooting. It is because of them I was able to put everything together.
Please find all the screenshots in the attachments below.
Hope you find this information useful.
Thank you
Cheers!
I do not understand the procedure.
If you unlock the bootloader (step 3) you lose the keys drm. The backup of the partition TA must do so before unlocking the bootloader.
You have verified that have intact the drm keys?
(not speak English, I use translator)
Samavb said:
Here are the steps in detail. Sorry for making it so long.
MY PC - Windows 7 x64 SP1
My Device - Sony Xperia Z3 Tablet Compact.
1) Install the flashtool on your PC. The one which I used was flashtool-0.9.18.5-windows.exe file.
Once downloaded install the flashtool to lets say C:\Flashtool.
In that folder go to "drivers" folder and install the file.
This is extremely important.
Please refer to the "driver installation 1.jpeg" and "driver installation 2.jpeg" in the attachments below on what to select during installation.
Once you select those three options hit "install".
Now you have flashtool installed on your PC.
Go to "Start" -> type " Flash and you will have two options if you are having 64bit windows OS. Select "Flashtool 64".
For better understanding please check the "Flashtool 64.jpeg" in the below attachments.
When you open flashtool software it will ask you to move the firmware ftf file which is there in C:\Flashtool\firmwares to C:\Users\abcd\.flashTool\firmwares
abcd is my username in the PC I used.So you have to navigate to similar path in your PC.
In the same location paste your Sony lollipop firmware SGP621_23.1.A.0.690_NOBA.ftf
flashtool is ready for use.
2) On your Sony xperia z3 tablet. Go to Settings -> Developer settings -> Check USB debugging and unknown sources.
Switch off the device.
Now press "volume down" and connect the Sony Xperia Z3 tablet to your PC.
Select the SGP621_23.1.A.0.690_NOBA.ftf in the flashtool and flash it.
This might take roughly 5 to 10 minutes but it will complete for sure.
Reboot the device and go inside the Settings -> Developer settings -> Check USB debugging and unknown sources.
3) Unlocking bootloader
Open the phone dialer on Sony Xperia Z3 tablet and type *#*#7378423#*#* .
Go to Service info > Configuration > Rooting Status.
It should say bootloader unlock allowed: yes
You will need IMEI number of your Sony Xperia Z3 Tablet Compact.
Either you can check on your Box or type *#06# and you will get your IMEI number.
Write this down somewhere.
Go to this site http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ and follow the instructions to get your unique unlock code.
Once you go through each and every step in that sonymobile site you will get the code and further instructions in your email.
For better understanding please check the jpeg attachments "bootloader unlock step 3" and "bootloader unlock step 4" below.
Now Power off your Sony Xperia Z3 tablet compact and then press "volume up".
Connect the tablet to PC.
To proceed further you will need adb. Click here to download adb.
Install the adb setup on your PC.
Go to the folder C:\Program Files (x86)\Minimal ADB and Fastboot
Press "shift" button and right click in the empty space inside that folder.
You will get the option "Open Command Window here"
Select that option.
Now type the below commands (these commands are there in the bootloader unlock step 3.jpeg and bootloader unlock step 4.jpeg" below in attachments)
fastboot devices
fastboot i 0x0fce oem unlock <your unlock code>
Thats it. Your bootloader should be unlocked now.
Reboot the device and go inside the Settings -> Developer settings -> Check USB debugging and unknown sources.
3) Installation of TWRP and Root.
You need .img file for this.
From this thread I downloaded the .img
File name will be Z3TC-stock-twrp.img.
Just rename this file as boot.img and place it in C:\Program Files (x86)\Minimal ADB and Fastboot
Power off your Sony Xperia Z3 tablet compact and then press "volume up".
Connect your tablet to PC.
Go to the folder C:\Program Files (x86)\Minimal ADB and Fastboot
Press "shift" button and right click in the empty space inside that folder.
You will get the option "Open Command Window here"
Type the below commands one after the other.
fastboot devices
fastboot flash boot boot.img
it should say "finished". check the "successful bootimg commands.jpeg " in below attachments.
Reboot the device.
Download the Pre-rooted flashable Zip from here
Download the SuperSu from here
Copy the Prerooted flashable zip and SuperSU to your SD card.
Switch off the Tablet.
Go to recovery by pressing "power" & volume up and down alternatively.
You will now enter TWRP.
Install the SuperSU zip file.
Then Install the Pre-rooted flashable zip file.
Reboot and you are done!
You will now have working Root, TWRP and awesome Lollipop firmware on your beautiful Sony Xperia Z3 Tablet Compact.
4) Final step Backup TA keys.
After rebooting the device.
Once it enters the homescreen.
Go inside the Settings -> Developer settings -> Check USB debugging and unknown sources.
Connect the Tablet to PC
Download the backup TA software from here
Extract it on your PC.
Double click on the Backtup-TA.bat
It will identify your device.
Just back up your DRM keys from the options on your screen.
I read online and in some threads in XDA that backup TA software needs the device to be rooted and that is why I kept this step in the end.
I completely agree if you guys find the above procedure tedious.
After going through many threads and websites this is how the steps panned out.
This is the procedure that worked for me in the end.
I did have few hiccups and bootloop as well. Then I just kept it flashmode and re-flashed the lollipop ftf file using flashtool with "wipe data" option checked.
That solved the problem.
Coming from Samsung devices I had to find out what was fastboot mode, flash mode, how to enter recovery and how to use flashtool. It was all new to me.
But I didn't give up and went through the grind.
Result? Super Sony Xperia Z3 Compact SGP 621 with Root on Lollipop firmware with Excellent battery life.
Thanks to all the brilliant developers on this site who in various threads explained various aspects of rooting. It is because of them I was able to put everything together.
Please find all the screenshots in the attachments below.
Hope you find this information useful.
Thank you
Cheers!
Click to expand...
Click to collapse
Thank you very much!
I think when you unlock bootloader, you will lose DRM keys.....
Sony apps that are working after rooting
kvi said:
I do not understand the procedure.
If you unlock the bootloader (step 3) you lose the keys drm. The backup of the partition TA must do so before unlocking the bootloader.
You have verified that have intact the drm keys?
(not speak English, I use translator)
Click to expand...
Click to collapse
Hi,
Album,
Walkman
Playstation App,
Camera,
Track ID
and any other Sony apps are all working and updating when I am connected to internet.
So far I dont have a single force close in any app or any sudden reboots.
Screenshots enclosed for your reference. .
Cheers!
Can you verify if you can connect to PS4 or login to PSN network after rooting with steps you provided? Thank you very much.
Samavb said:
Hi,
Album,
Walkman
Playstation App,
Camera,
Track ID
and any other Sony apps are all working and updating when I am connected to internet.
So far I dont have a single force close in any app or any sudden reboots.
Screenshots enclosed for your reference. .
Cheers!
Click to expand...
Click to collapse
Deleted
Able to login to Sony Entertainment Network
hagalah said:
Can you verify if you can connect to PS4 or login to PSN network after rooting with steps you provided? Thank you very much.
Click to expand...
Click to collapse
Hi,
Yes, I am able to login to PSN network after rooting with the above steps.
Unfortunately, I do not have PS4 to check the connection.
Please find the attached screenshots for your reference.
Cheers!
Thank you. I followed your steps and everything works fine. I can connect to PS4 remotely using LTE without any problem.
But is it possible to get a working TWRP? I can't get into recovery mode after rooting and flash the device. Any solution? I need to flash xposed via TWRP...Thanks.
Samavb said:
Hi,
Yes, I am able to login to PSN network after rooting with the above steps.
Unfortunately, I do not have PS4 to check the connection.
Please find the attached screenshots for your reference.
Cheers!
Click to expand...
Click to collapse
TWRP
hagalah said:
Thank you. I followed your steps and everything works fine. I can connect to PS4 remotely using LTE without any problem.
But is it possible to get a working TWRP? I can't get into recovery mode after rooting and flash the device. Any solution? I need to flash xposed via TWRP...Thanks.
Click to expand...
Click to collapse
Hi,
In order to get working TWRP you can try repeating the step 3 and reflash the .img file from that step. I am hopeful that doing this will work.
Don't forget to check to check the USB debugging AND unknown sources in security options.
To enter recovery you need to keep holding the "power" and keep pressing "volume" up and down alternatively for a little while say 10 to 15 seconds (max).
It will enter the TWRP for sure.
Once you do enter TWRP just "wipe cache" & " wipe dalvich cache" once.
Cheers!
TA partition backup
i am pretty sure u need root on a locked bootloader before backing up ur TA keys.
once unlocked,ur TA keys are gone.no amt of backups,reflash official firmware or any other magic shows will recover those keys.
u can check if ur TA keys are intact by keying in*#*#7378423#*#* select service tests>security and look out for for the screenshot below.i have compared an unrooted and rooted with TA backed up and am very sure this is what u shld have if u have backed up TA keys correctly and restored them. Any errors would mean ur TA keys are screwed.
Samavb said:
Hi,
Yes, I am able to login to PSN network after rooting with the above steps.
Unfortunately, I do not have PS4 to check the connection.
Please find the attached screenshots for your reference.
Cheers!
Click to expand...
Click to collapse
Mate, I suggest you remove/amend/add disclaimer to your post on how you root and backup your TA.
It is well known and proven in xda for sony devices, you CANNOT unlock your bootloader to backup TA keys. Once unlock,your TA keys are GONE and there is no way you can recover them.
that is why the root exploit was found on the z3 compact and we are able to root with a LOCKED bootloader to backup TA keys BEFORE unlocking and flash like no tomorrow.
Please do all the noobs a favor and make the changes before someone here starts multiple threads on recovering TA keys or warranty related questions.
It didn't work to reflash TWRP, it will just get into boot loop unless flash the rom again. The the previous TWRP was gone.
Can you verify that you can enter TWRP after flashing the rom? Look likes it is impossible for now.
Samavb said:
Hi,
In order to get working TWRP you can try repeating the step 3 and reflash the .img file from that step. I am hopeful that doing this will work.
Don't forget to check to check the USB debugging AND unknown sources in security options.
To enter recovery you need to keep holding the "power" and keep pressing "volume" up and down alternatively for a little while say 10 to 15 seconds (max).
It will enter the TWRP for sure.
Once you do enter TWRP just "wipe cache" & " wipe dalvich cache" once.
Cheers!
Click to expand...
Click to collapse
Ok, I found out the correct solution to get TWRP works on rooted lollipop Z3TC.
Follow the other XZDualrecovery tread and install the XZDualRecovery. Then you can boot into TWRP by using volume Down.
You can also install Xposed framework via TWRP and Xposed installer via regular apk install.
I did get bootloop by installing xposed installer. Just uninstall Xposed framwork from TWRP then it will back to normal. Hope this helps.
hagalah said:
It didn't work to reflash TWRP, it will just get into boot loop unless flash the rom again. The the previous TWRP was gone.
Can you verify that you can enter TWRP after flashing the rom? Look likes it is impossible for now.
Click to expand...
Click to collapse
DualRecovery working
hagalah said:
Ok, I found out the correct solution to get TWRP works on rooted lollipop Z3TC.
Follow the other XZDualrecovery tread and install the XZDualRecovery. Then you can boot into TWRP by using volume Down.
You can also install Xposed framework via TWRP and Xposed installer via regular apk install.
I did get bootloop by installing xposed installer. Just uninstall Xposed framwork from TWRP then it will back to normal. Hope this helps.
Click to expand...
Click to collapse
Hi,
Glad to know that you have working TWRP now.
I am waiting for my relatives to return my tablet.
Once I get it back I will try to install Xposed and check for TWRP.
Update:-
Got my tablet back and installed XZDual recovery successfully.
Cheers!
hagalah said:
Ok, I found out the correct solution to get TWRP works on rooted lollipop Z3TC.
Follow the other XZDualrecovery tread and install the XZDualRecovery. Then you can boot into TWRP by using volume Down.
You can also install Xposed framework via TWRP and Xposed installer via regular apk install.
I did get bootloop by installing xposed installer. Just uninstall Xposed framwork from TWRP then it will back to normal. Hope this helps.
Click to expand...
Click to collapse
Xposed now works with the latest XZrecovery, if you get bootloop try clearing the art cache and it will solve the problem.
Sent from my SGP621 using XDA Free mobile app
Samavb said:
Disclaimer: "Before you do any thing please follow this thread & Backup your TA key first using this thread " or you will lose DRM keys forever.
Click to expand...
Click to collapse
Maybe it is a silly question, but what exactly are the DRM-key for? Do I need them really?!
kugelblitz said:
Maybe it is a silly question, but what exactly are the DRM-key for? Do I need them really?!
Click to expand...
Click to collapse
Drm keys are needed for x reality effect to work, and also drm keys are needed im order for the lowlight photos to look good.
Sent from my SGP621 using XDA Free mobile app

Categories

Resources