bootloader unlock for noobs[update] - XPERIA X8 General

This was originally posted in x10 mini forum by pollob666
Warning guys W8 users have suffered from hard brick as reported so please dont try to unlock the bootloader till some solutions comes
I thought this will be helpful for our community also
Ok,
I am not Responsible if it BRICK YOUR PHONE!!!!!
Here it goes,
Step 1: (Downloads)
A) Download Flash Tool : From http://forum.xda-developers.com/showthread.php?t=920746 or http://www.multiupload.com/GYL7A7XQBT
B) Download S1tool : From http://forum.xda-developers.com/showpost.php?p=17374120&postcount=26
C) Download Unlocker : From http://forum.xda-developers.com/showpost.php?p=17384177&postcount=3
Step 2: (Prepare)
A) Unzip all downloaded files
B) Shut Down Phone
C) Open S1tool, Click on DO JOB, Press Back on phone, Connect it to PC.
D) Look For Line "XXXX SIMLOCK CERTIFICATE"
Step 3: (Unlock)
A) Turn the phone on, Connect it with PC in Debugging mode.
B) if XXXX is "NOT RECOGNIZED" then sorry, it can't be unlocked.
C) if XXXX is SEMC then run "msm7227_semc.cmd"
D) if "XXXX SIMLOCK CERTIFICATE" was not found then run "msm7227_Setool2.cmd"
E) Wait...
F) if "Press any key to continue . . ." is found, press any key.
Step 4: (Verify)
A) Shut Down Phone
B) Open S1tool, Click on DO JOB, Press Back on phone, Connect it to PC.
C) Look For Line RUNNING S1_EROM VER "x8A029"
D) if x is "r" then it is done, Congrats...
E) if x is "R" then Sorry, Do everything again. or Search in the Frorum for Help
Thanks to
the_laser, Androxyde, Bin4ry, SpyderX for his Tutorial (I used his one ) and Every Single Soul who helped to Unlock the Bootloader

thanks friend, I have unlocked the bootloader thanks to you

step 1
Links in B And C ..
Are not " found " ..

What we can do once we've unlocked the bootloader? (noob question for noob friendly tutorial...lol)

we Can flash custom kernels with lot of tweaks probobly higher cpu overclock and dual touch gpu overclock and if we are lucky enough we could flash diffrent os

Sira. said:
step 1
Links in B And C ..
Are not " found " ..
Click to expand...
Click to collapse
Links Fixed
Check it

Thanks ..
Good job by the way
---------- Post added at 07:12 PM ---------- Previous post was at 06:43 PM ----------
Simple And easy
Thanks for All your effort
i've successfully unlocked the bootloader..
GREETINGS MATE !

Really nice explanation. I say this should be a sticky.

Thumbs up for this . It's a great change rather than reading through my very wordy but thorough guide here: http://forum.xda-developers.com/showthread.php?t=1254225
Still, if anyone wants a tutorial on how to flash custom kernels, how to return to stock kernel and how to relock their bootloader, it's all embedded in the first post of my guide somewhere and also below .
Cheers ,
SpyderX
____________________________________________________________________
HOW TO RELOCK BOOTLOADER :
0. Flash back stock kernel using "Repair" option in SEUS or by using Flashtool (if using Flashtool either flash stock firmware or flash the appropiate .ftf file below):
X8 (E15) and W8 stock kernel:
Download link: http://www.mediafire.com/?zb3zhdkodgy55ch#1
Direct download link: http://db.tt/gg2jJVZi
X10 mini pro (U20) stock kernel:
Direct download link: http://db.tt/S7Nm4WZx
X10 mini (E10) stock kernel:
-Will be added at a later date-
__________________________________________________ _______
If you relock your bootloader while using a custom kernel your phone will be bricked!
1. Download S1tool and extract it to an appropiate location on your PC (not needed if you already have s1tool) . (Credits go to the_laser for this tool)
S1tool post: http://forum.xda-developers.com/show...0&postcount=26
Direct download link: http://db.tt/OrOQO33
2. Then, download and Install Flashtool v0.2.9.1 beta (don't use 0.3.0.0 as profile for our phones need to be added. It's simpler to use 0.2.9.1 beta) Here: http://forum.xda-developers.com/showthread.php?t=920746
Download Link: http://www.multiupload.com/7H4JT35B6G
(Credits go to Androxyde and Bin4ry for this tool.)
After installing it, open the flashtool folder and open the drivers folder inside that. Double click on the ggsetup-2.2.0.10.exe file inside and install Gordon's Gate (needed for Flashtool to work).
Note: This Gordon's Gate Driver Installation will work for X8, X10 mini and X10 mini pro. I'm not sure about that of W8 but I think that is also supported.
Note: This Flashtool and Gordon's Gate installation is not needed if you have already done this.
3. Turn off your phone.
4. Launch s1tool.exe in the folder you extracted s1tool to.
5. Click on Restore button and then connect your phone to the PC in flash mode (press and hold back button while connecting your phone to the PC).
6. Wait for the process to complete. Congratulations! You now have relocked your bootloader!
____________________________________________________________
9. How to flash custom kernels:
a. Download the (kernel name).ftf file provided by the kernel developer
b. Download and Install Flashtool v0.2.9.1 beta (don't use 0.3.0.0 as profile for our phones need to be added. It's simpler to use 0.2.9.1 beta) Here: http://forum.xda-developers.com/showthread.php?t=920746
Download Link: http://www.multiupload.com/7H4JT35B6G
(Credits go to Androxyde and Bin4ry for this tool.)
After installing it, open the flashtool folder and open the drivers folder inside that. Double click on the ggsetup-2.2.0.10.exe file inside and install Gordon's Gate (needed for Flashtool to work).
Note: This Gordon's Gate Driver Installation will work for X8, X10 mini and X10 mini pro. I'm not sure about that of W8 but I think that is also supported.
Then restart your computer.
_______________________________________________
Generally you have to delete all the files in /system/lib/modules before flashing a custom kernel!
c. Put the (kernel name).ftf file in the /firmwares folder. (Don't flash any .sin files, flash only the .ftf file.)
d. Open Flashtool.
e. Click Flash.
f. Select (kernel name).ftf.
g. Turn off your phone.
h. Connect your phone in flash mode (only when the popup window prompts for you to do so). (To boot into flash mode, press and hold back button while connecting your phone to the PC using an usb cable).
i. Disconnect your phone (do so only when the popup window to prompts you to disconnect your phone).
j. Reboot and you have a custom kernel!
k. Confirm by going to Settings --> About Phone --> Kernel version. It should have the name of the kernel you flashed.
m. To flash back to stock kernel, download the appropriate file below and follow steps listed above.
X8 (E15) and W8 stock kernel:
Download link: http://www.mediafire.com/?zb3zhdkodgy55ch#1
Direct download link: http://db.tt/gg2jJVZi
X10 mini pro (U20) stock kernel:
Direct download link: http://db.tt/S7Nm4WZx
X10 mini (E10) stock kernel:
-Will be added at a later date-

useless thread, whats the point of having the same thread in the development section?

|xeta| said:
useless thread, whats the point of having the same thread in the development section?
Click to expand...
Click to collapse
I thought personallythat the thread in the devlopment section was quiet Difficult
So posted in short manner So that we need not need to read all the stuff

Good job. Now we can wait for some full working rom for CM+FXP team
I need working wifi ;]

Thanks to thos guide. Now i unlock my bootloader and install LinuxDx kernel.
Sent from my X8 using XDA App

guys i having problem when doing this. i keep getting message saying that " the system cannot find the file specified" please help

wow thanks for this noob explanation, after reading original thread i was scared to unlock bootloader but when you put it like this now I understand the original one.
i will unlock my x8 then when I have time these days

Indeed, this also makes more sense to me because of the simple word use etc
Will checkout after schoolz if it works for me

excellent tutorial and noob friendly for someone like me ... lol
Sent from my X8 using XDA App

just unlocked my phone using this EASY method , thanks....

yay i succesfully unlocked bootloader. I dont know why i was so afraid to do it before. it was pretty easy hehe

big thanks,you really made it easy!

Related

[TUT] THE guide to modding and tweaking your Arc

This guide is now dormant as of the 25th of September and will not be updated again.
The information contained within still holds true, the guides to the likes of unlocking your bootloader, flashing using FlashTool etc are all still correct even with the release of newer firmware updates but I won't be adding anything further to it.
Purpose:This thread is my personal attempt to provide Arc owners with a guide to getting the most out of the handset.
It draws upon the combined expertise of the Arc userbase here on XDA-devs and collates it in a simple, easy-to-follow format.
I am in no way claiming this as all my own work, full credit is given where due and my thanks go out to all of the wonderful, knowledgeable contributors whose work I am honoured to be able to showcase here.​
Words of warning::As with any modding or tweaking of a mobile phone, there is always a risk attached that you end up bricking, killing, blowing up, disintegrating, shrinking, beaming your handset to an alternate dimension or sending it forwards or backwards through time.
The risks are slight, countless people have undertaken the procedures listed in this thread with no problems at all - I myself have unlocked the bootloader on my Arc, rooted it using Bin4ry's image-flashing method, deleted some of the pre-loaded apps, flashed the 2.3.3 update using FlashTool are re-rooted again using Bin4ry's method... and my Arc is absolutely fine.
However, if you somehow manage to mess up or break your phone in any way, neither myself nor the authors of any other threads or resources I link to accept any responsibility or blame for what happens.
No-one is forcing you to do any of this, it's your own decision. If you're uneasy or nervous, just don't do it.
Also, whilst unlocking the bootloader is supported to a degree by Sony Ericsson, rooting, flashing custom ROMs, all the rest of it is not and there is always a chance you'll end up voiding you warranty.
As above, no-one else accepts any responsibility for your decisions and actions.​
Also, on a personal note, please don't PM me asking for help.
I don't wish to sound rude or ungrateful but I'm not a developer, I'm not coming up with new tweaks/mods/ROMs or anything like that, everything I know is laid out in this guide in a manner that should be plain and simple to follow, if there's something that isn't covered here chances are I don't know either.
There is a whole section here for the Arc literally teeming with people happy and willing to answer any/all questions you might have, so you'd probably find your question answered quicker that way than if you were to contact and individual and ask for help.
Contents
The bootloader:
Unlocking
Relocking
Rooting:
GingerBreak (inc how to use GingerBreak to root a handset running 2.3.3)
Bin4ry's flashing method
Recovery update method
Recoveryhttp://forum.xda-developers.com/showthread.php?p=13340438#post13340438http://forum.xda-developers.com/showthread.php?p=13340438#post13340438
Updating firmware/flashing ROMs:
SEUS
Flashtool
Wotan
Theming using UOT Kitchenhttp://forum.xda-developers.com/showthread.php?p=13967176#post13967176http://forum.xda-developers.com/showthread.php?p=13967176#post13967176
Bootloader - Unlocking
What you need:A factory-unlocked Xperia Arc
Your handset's unlocking code from the SE unlocking webpage
Fastboot and drivers (if necessary)​
What you need to know:Handsets with unlocked bootloaders cannot be updated via SEUS.
Though if you re-lock your bootloader, you will regain this ability.
Handsets that have their bootloader unlocked will stop working with SE's various music-related services (TrackID and the Facebook-inside 'like music' function).
This is due to the unlocking process rendering DRM function inoperable and cannot be recovered by re-locking the bootloader​
How to do it:
Back up any important information from your handset - unlocking the bootloader wipes the handset
Download Fastboot and, if necessary, x86/x64 Windows drivers
Retrieve your unlocking key from Sony Ericsson's website:
Follow the link
Click 'Continue'
Click 'Yes, I'm sure'
Agree-to/accept the terms and conditions
Enter your name, e-mail address and first 14 digits of your IMEI, not the whole thing
Copy the code into a text file or similar for use later
Extract the contents of the fastboot rar file you dowloaded in step 2 and open the folder that is extracted
Open a command prompt and change directory to the folder that fastboot.exe is in (in Windows, the easiest way to do this is to hold shift and right-click on the background of the folder and select 'Open command window here')
Connect your phone:
Switch it off
Press and hold the Menu key (the right-most of the three)
Connect the USB cable whilst still holding the Menu key
The indicator LED next to the USB port should turn blue to indicate your are in fastboot mode - if it doesn't, then try again; if it completely refuses to enter fastboot mode, then you may well have a locked/branded handset in which case you cannot unlock your bootloader
If your computer fails to find or install the drivers automatically, download and install the drivers included in step 2
Once your phone is connected in fastboot mode and any driver installation has finished, type fastboot.exe -i 0x0fce getvar version into the command prompt you opened in step 5 - this should return a value such as 0.3 or similar, if it doesn't then the phone is not connected properly, start again from step 5
If step 8 worked, then type fastboot.exe -i 0x0fce oem unlock 0x[key] into the command prompt, [key] being substituted for the unique unlocking key you retrieved in step 3 (I told you you'd need to keep it safe...)
You should see some text output by the command prompt stating that it is erasing certain blocks and then that it is finished - congratulations, your bootloader is unloked
Credits:lollylost100 - Source thread​
Bootloader - Re-locking
What you need:An Arc with an unlocked bootloader
FlashTool
Blagus' relocking ftf​
What you need to know:Relocking will allow you to use SEUS to update firmware and restore your handset.
You will still be able to use FlashTool to update firmware if you wish though.
Re-locking the bootloader won't reactivate the DRM-based music features like TrackID, they're permanently gone​
How to do it:
Download and install FlashTool (for those of you who don't speak French, you want to click the 'Extraire' button)
Download Blagus' re-locking ftf and place it in the /firmwares sub-directory of where you extracted FlashTool to
Download this file, rename it to LT15.sin and place it in the /loaders sub-directory
Switch your handset off
Run FlashTool
Press the 'Flash' button and select the .ftf file you wish to flash
When prompted, connect your handset in 'flash mode' - FlashTool should explain exactly how to do this but just in case, press and hold the 'back' button while connecting the USB cable
FlashTool should automatically detect your handset and start flashing it - if it doesn't however:
Disconnect your handset (it should remain switched off)
Close FlashTool
Go to the /drivers sub-directory and run/install ggsetup-2.2.0.10.exe
Now go back to step 6 and follow the instructions once more, everything should work ok this time
When FlashTool finishes, disconnect your phone and switch it on - don't worry if it's a little slow the first time it boots after flashing
Credits:Blagus - Source thread​
Rooting - GingerBreak
What you need:An Arc running 2.3.2 - and with a locked bootloader if you wish to update to 2.3.3 OTA
GingerBreak​
What you need to know:GingerBreak will not directly root 2.3.3 (or later) ROMs. The exploit it uses, which was patched by Google in the vanilla 2.3.4 release was patched by SE in their 2.3.3 release.
This is not a deliberate attempt to prevent rooting, the exploit in question was to the best of my knowledge the same exploit that led to the widely-publicised security hole through which personal information could be intercepted on unsecured wi-fi connections - Google and SE are just looking out for us, it's merely an unfortunate coincidence that they 'broke' GingerBreak.
As it happens, there is an indirect way to root 2.3.3 using GingerBreak but I'll come back to that.
Do not follow steps 5 and 6 if you have an unlocked bootloader - updating a handset with an unlocked bootloader OTA is fraught with issues.
If you have a handset with an unlocked bootloader, follow these instructions instead​
How to do it:
Download GingerBreak v1.2 (older versions are also availablehttp://forum.xda-developers.com/showthread.php?p=13230331#post13230331)
Transfer the apk file to your phone's memory card
Install
Optional:
Download and run BusyBox installer
To get your 2.3.3 bootloader-locked handset rooted using GingerBreak, follow steps 1-3 then...
Prepare your handset:
Make sure you've got a decent charge or better yet connect the handset to a charger
If possible, connect to wi-fi for best data speeds and to avoid the signal dropping out
Update your handset to 2.3.3 OTA:
Menu > Settings > About phone > Software update > Update now
NB: as mentioned in the 'what you need' and 'what you need to know' segments above, GingerBreak will only root 2.3.2 handsets so if you've already updated to 2.3.3 you'll need to revert back to 2.3.2 prior to following these instructions - this can be done using either FlashTool or Wotan
Also, some people have reported issues with the OTA updates if they have modded their handsets, again this can be sorted by flashing back to stock 2.3.2 immediately prior to following these instructions.
Credits:Chainfire - source thread
kistigun - source thread​
Rooting - Bin4ry's flashing method
What you need:An Arc with an unlocked bootloader
Fastboot and drivers (if necessary)
The appropriate image file based on your handset's firmware version - available from here and/or here​
What you need to know:Only compatible with handsets with unlocked bootloader (obviously)
You must ensure the image file you flash is the correct one for the ROM you're running, if you flash the wrong one you'll end up stuck in a boot-loop​
How to do it:
Unlock your bootloader (in doing so, you will have downloaded and installed fastboot and, if necessary, the drivers)
Download the correct image file and move it to the same folder as fastboot.exe
Open a command prompt and change directory to the folder that fastboot.exe is in (in Windows, the easiest way to do this is to hold shift and right-click on the background of the folder and select 'Open command window here')
Connect your phone:
Switch it off
Press and hold the Menu key (the right-most of the three)
Connect the USB cable whilst still holding the Menu key
The indicator LED next to the USB port should turn blue to indicate your are in fastboot mode
Type the following into the command prompt:
Windows: fastboot flash system [image file]
Linux: fastboot -i 0x0fce flash system [image file]
Mac: fastboot-mac -i 0x0fce flash system [image file]
...where [image file] is the full filename of the image file you downloaded in step 2 - including the '.img' at the end
Optional:
Download and run BusyBox installer
Credits:Bin4ry and zdzihu - source thread
kanzone - source thread​
Rooting - Recovery update method
What you need:An Arc with recovery
Bin4ry's root zip file​
What you need to know:Recovery is still in beta, not all functions work fully - use of the recovery solution is very much at the user's own risk​
How to do it:
Download Bin4ry's root zip file and save it to your handset's memory card
Boot into recovery
Install the root zip:
Select 'install zip from sdcard'
Select 'choose zip from sdcard'
Navigate to where the zip file is on you handset's memory card and select it
Confirm you wish to install the zip
Optional:
Download and run BusyBox installer
Credits:Bin4ry - source thread​
Recovery
What you need:An Arc with an unlocked bootloader
Fastboot and drivers (if necessary)
Bin4ry's beta recovery image​
What you need to know:Recovery is still in beta, not all functions work fully - use of the recovery solution is very much at the user's own risk
DO NOT flash the image file, follow the instructions exactly as listed.​
How to do it:
Unlock your bootloader (in doing so, you will have downloaded and installed fastboot and, if necessary, the drivers)
Download the recovery image file
Open a command prompt and change directory to the folder that fastboot.exe is in (in Windows, the easiest way to do this is to hold shift and right-click on the background of the folder and select 'Open command window here')
Connect your phone:
Switch it off
Press and hold the Menu key (the right-most of the three)
Connect the USB cable whilst still holding the Menu key
The indicator LED next to the USB port should turn blue to indicate your are in fastboot mode
Type 'fastboot boot recoveryARC.img' into the command prompt
Your handset will now boot into recovery
To navigate through the menus, use the volume keys to scroll up and down and the power key to select an option
Credits:Bin4ry and the rest of the FreeXperia Team - source thread​
Updating firmware/flashing ROMs - SEUS
Handsets that still have their bootloader locked are able to perform software updates using SE's own updating program, SEUS - Sony Ericsson Update Service (link included system requirements - Windows only).
However, handsets that have had their bootloaders unlocked cannot use SEUS.
Also, obviously, as SEUS is Sony Ericsson's official update program, it can only be used to flash official SE updates - no custom ROMs.
Updating firmware/flashing ROMs - Flashtool
What you need:An Arc
FlashTool
The ftf file you wish to flash​
What you need to know:Not much to be honest.
FlashTool is, to the best of my knowledge, compatible with pretty much any Arc.​
How to do it:
Download and install FlashTool (for those of you who don't speak French, you want to click the 'Extraire' button)
Download this file, rename it to LT15.sin and place it in the /loaders sub-directory of where you extracted FlashTool to
Download the firmware you wish to flash to the /firmwares sub-directory
Switch your handset off
Run FlashTool
Press the 'Flash' button and select the .ftf file you wish to flash
When prompted, connect your handset in 'flash mode' - FlashTool should explain exactly how to do this but just in case, press and hold the 'back' button while connecting the USB cable
FlashTool should automatically detect your handset and start flashing it - if it doesn't however:
Disconnect your handset (it should remain switched off)
Close FlashTool
Go to the /drivers sub-directory and run/install ggsetup-2.2.0.10.exe
Now go back to step 6 and follow the instructions once more, everything should work ok this time
When FlashTool finishes, disconnect your phone and switch it on - don't worry if it's a little slow the first time it boots after flashing
Credits:Androxyde and Bin4ry - source thread
itskapil
Nimche​
Updating firmware/flashing ROMs - Wotan
What you need:An Arc with a locked bootloader
Wotan Client
A Wotanserver account​
What you need to know:Whilst it is free to register a WotanServer account as I am writing this, that may change in the future.
Honestly, IMO, you're better off using FlashTool (which is a free, community-developed program) but I've included this in my guide for the sake of 'completeness'.
If you are flashing back to 2.3.2 so that you can root using GingerBreak then update OTA, obviously you'll have to flash a 2.3.3 firmware.
Prior to doing so, check that there is a 2.3.3 firmware available for the same CDA otherwise you won't be able to update OTA after rooting​
How to do it:
Download Wotan Client
Register a WotanServer Account
Run Wotan Client
Connect your handset as per the on-screen instructions
Check 'Enabled advanced settings'
Select your preferred CDA/firmware combination and click 'Next'
Login with your WotanServer account and click 'Next'
Wotan Client will then download and flash the necessary file(s)
When Wotan Client is finished, close it, disconnect your handset and switch it on
Credits:PhyzX - source thread​
Theming using UOT Kitchen
Foreword - I never really quite got round to writing this bit up as nicely as I'd hoped, my apologies for not revising this to match the rest of my guide.
NB: this more than any other part of my guide you do at your own risk as I cannot guarantee which parts of the kitchen are compatible with the Arc and which will result in boot-loops.
One of the easiest ways of theming/customising your Arc (beyond the basic wallpaper, widgets etc) is to use the excellent Ultimate Online Theme Kitchen - a brilliant free site that allows users to change battery icons, status/notification bar icons, the status-bar/notification area background amongst other things.
First you need to extract the framework-res and SystemUI apk files from your handset.
framework-res is found in the /system/framework folder and SystemUI.apk is in the /system/app folder.
To extract both of these you need a file manager program with root access, for this I strongly recommend Root Explorer - unfortunately it's not free but it works where others fall down, so it's well worth the money.
Once you've extracted the two files, you need to upload them to the Kitchen ('File upload' tab, second from the end).
The third file is for CM7 handsets only so as of writing Arc users should just leave it blank.
As for the settings down the left hand side, everything should be left as is:
Edify scripting, not Amend scripting
Type MTD (default) not Type EMMC
Use script to flash files... - unchecked
Use automated images fixing - checked
Generate preview... - checked
The Kitchen will eventually spit out a zip file for you to download from the pick-up page - don't worry if this takes a while, when the Kitchen is busy it can take nearly an hour for files to appear.
This zip file is designed to be flashed using recovery but since there is no recovery solution available for the Arc just now, we have to resort to 'ghetto' measures...
If you extract the zip you'll find a number of folders which will contain, amongst other things, your modified framework-res and SystemUI apk files.
You then need to manually copy these files back into the appropriate directories on your handset, being sure to change the permissions on each one.
For framework-res.apk, the permissions need to be rw-r--r--. I'm pretty certain they're the same for SystemUI.apk but I'll check this.
This is where apps other than Root Explorer start to fall down - I tried a couple such as Super Manager and none of them were able to correctly set the permissions on the apks, leading to my handset boot-looping.
It should also be possible to flash the zip files using Bin4ry's recovery for the Arc
Hi guys, I have a question about the term "sim-free" phone.
does the unlock-code purchased from anywebsite gives you the "sim-free" phone, which will enable the fastboot mode?
Thanks!
stevencxr said:
Hi guys, I have a question about the term "sim-free" phone.
does the unlock-code purchased from anywebsite gives you the "sim-free" phone, which will enable the fastboot mode?
Thanks!
Click to expand...
Click to collapse
sorry for the question post in here =( don't know how to delete this ....
stevencxr said:
does the unlock-code purchased from anywebsite gives you the "sim-free" phone, which will enable the fastboot mode?
Click to expand...
Click to collapse
No.
If your handset won't enter fastboot mode, then as things stand there's no way to enable that - having the handset unlocked makes no difference.
edit: scratch that. it seems there is a way using SEtool but that requires purchasing specific hardware.
Step666 said:
What you need:An Arc with an unlocked bootloader
Fastboot and drivers (if necessary)
Bin4ry's beta recovery image​
What you need to know:Recovery is still in beta, not all functions work fully - use of the recovery solution is very much at the user's own risk
DO NOT flash the image file, follow the instructions exactly as listed.​
How to do it:
Unlock your bootloader (in doing so, you will have downloaded and installed fastboot and, if necessary, the drivers)
Download the recovery image file
Open a command prompt and change directory to the folder that fastboot.exe is in (in Windows, the easiest way to do this is to hold shift and right-click on the background of the folder and select 'Open command window here')
Connect your phone:
Switch it off
Press and hold the Menu key (the right-most of the three)
Connect the USB cable whilst still holding the Menu key
The indicator LED next to the USB port should turn blue to indicate your are in fastboot mode
Type 'fastboot boot recoveryARC.img' into the command prompt
Your handset will now boot into recovery
To navigate through the menus, use the volume keys to scroll up and down and the power key to select an option
Credits:Bin4ry and the rest of the FreeXperia Team - source thread​
Click to expand...
Click to collapse
Quick question about recovery:
The command 'fastboot boot recoveryARC.img' boots the phone into recovery, right? How do I install it then?
I mean, like those in X10, you reboot the phone, then press back button to get into recovery.
I'm sorry if I missed to spot if it's already in your guide .
prathaban said:
The command 'fastboot boot recoveryARC.img' boots the phone into recovery, right? How do I install it then?
Click to expand...
Click to collapse
Yes, that command boots you into recovery.
You don't install it, you can only access it by using fastboot to boot into it.
Step666 said:
Yes, that command boots you into recovery.
You don't install it, you can only access it by using fastboot to boot into it.
Click to expand...
Click to collapse
Got that . So how do I install it or isn't possible at this moment?
It's not possible, if you try and install it, you'll end up with bootloops.
But to be honest, how often do you need to get into Recovery when you're not at your computer?
Step666 said:
It's not possible, if you try and install it, you'll end up with bootloops.
But to be honest, how often do you need to get into Recovery when you're not at your computer?
Click to expand...
Click to collapse
Honestly don't know yet for Arc! But when I had X10, I flash lot of themes, quite often.
Anyway, thanks for the info.

[GUIDE] Sony Xperia Z5 - UNLOCK / ROOT / TWEAKS - OS 5.1.1 / 6.0

[GUIDE] Sony Xperia Z5
DISCONTINUED - SEE NEWS !
Last update: 20.06.2016​
This guide will help you to root your phone, install new firmwares, unlock your bootloader and much more. Its splitted into 3 sections: StockRom, CustomROM and Tweaks so you should find things easily. I think if you understood this guide you can easily flash different firmwares, kernels and so on. And now - have fun
NEWS
I have to much work to do at the moment to continue this guide. But, the main work is done, now its all about updating the links. If there is something remarkable new, I will add it to my guide.
20.06.2016
- updated links
- minor changes
23.04.2016
- updated download links
- added custom rom (CyanogenMod13)
- some small changes
09.04.2016
- I'm very busy at the moment (exams and hard work). So I cant help you guys that much and cant try new kernels and that kind of stuff Plese ask @gm007 or @zacharias.maladroit if you have problems. I will come back as fast as I can
- updated download links
28.03.2016
- updated download links
12.03.2016
- Android 6.0 compatibility check
- updated download links
- graphical revision
14.02.2016
- updated guide to make it more understandable
QUESTION & ANSWER
Which devices are supported by this guide?
- Sony Xperia Z5
- Model number: E6653 / E6603 (for other models use different kernel)
- OS version: Stock Xperia Android 5.1.1 / 6.0
Whats important to know before I start?
- I´m NOT responsible for any damage.
- Keep in mind that unlocking the bootloader can void your warrenty.
- Save your data, all settings and files will be deleted during this process.
- READ THE ENTIRE GUIDE FIRST!
[GUIDE] GENERAL
FASTBOOT
1) POWER OFF phone
2) Hold VOLUME UP
3) Connect to PC via USB
4) LED turns blue
FLASHMODE
1) POWER OFF phone.
2) Hold VOLUME DOWN
3) Connect to PC via USB
4) LED turns green
RECOVERY
a) You can enter TWRP while booting. If the LED turns yellow, hold VOLUME DOWN till it gets orange.
b) Use this command in Minimalistic ADB and FASTBOOT to reboot to recovery:
Code:
adb reboot recovery
BOOTLOOP / EMERGENCY POWER OFF
1) Hold POWER OFF and VOLUME UP
2) Device vibrates 3 times
DEVELOPER MODE AND UNNOWN SOURCES]
1) settings -> about phone -> touch build number several times
2) settings -> developer options -> enable USB debugging
3) settings -> security -> enable Unknown sources
PC PERMISSIONS
1) Run Minimalistic ADB and FASTBOOT and FLASHTOOL with admin permissions.
2) Use USB 2.0 ports, sometimes 3.0 ports doesnt work.
[GUIDE] StockROM
# BUGS / ISSUES
E6653_32.1.A.1.163
- camera apps (AR Effect,...) do force close
- filesystem (external SD card) does not refresh automatically, so you cant transfer files you copied to sd card via MTP to PC. Solved via restart. --> also on STOCK ROM
# DIRECT DOWNLOAD LINKS
E6653
Kernel
Z5_AndroPlusKernel_Permissive_v30 (for firmware .163 and .185)
Z5_AndroPlusKernel_Permissive_v31 (for firmware .224)
Recovery
twrp-3.0.2-0-E6653-20160417.img
SuperSu
SuperSU (beta but stable)
# DOWNLOAD LINKS
Windows programs
Sony PC Companion
Minimal ADB and Fastboot
Flashtool + patch file
µTorrent (for downloading Flashtool)
Android
AndoPlusKernel
TWRP
# GUIDE
BOOTLOADER STATUS
The bootloader loads the kernel. If unlock isnt allowed, the bootloader will prevent loading a custom kernel.
1) type *#*#7378423#*#* into dialer / phone app
2) service info --> configuration --> rooting status
3) if bootloader unlock allowed says YES, you can continue. If bootloader unlock isnt allowed you CAN NOT root your phone.
INSTALLING PROGRAMS
Flashtool
1) install µTorrent
2) download torrent file from Flashtool website
3) run downloaded torrent file via µTorrent
4) download Flashtool via µTorrent
! You can close and or delete µTorrent now, you will not need it anymore
5) install Flastool
6) open install directory from flashtool and replace x10flasher.jar with new patch
OTHER
1) install all other programs
INSTALL / CHECK DRIVERS
Windows 7 and lower
1) open Flashtool install directory
2) open driver folder
3) run Flashtool-drivers.exe
4) install Flashmode and Fastboot drivers
Windows 8 and higher
1) restart computer with digital driver signature disabled (you have to do this every time you restart your pc)
http://www.howtogeek.com/167723/how...8.1-so-that-you-can-install-unsigned-drivers/
2) open Flashtool install directory
2) open driver folder
3) run Flashtool-drivers.exe
4) install Flashmode and Fastboot drivers
! There are no Z5 drivers yet, that’s why you need Sonys PC Companion!
! Flashtool drivers were updated, try the new Z5 drivers before installing Sony PC Companion.
Sony PC Companion
1) run Sony PC Companion
2) connect your Xperia Smartphone
3) wait till it has been detected
4) close Sony PC Companion, you dont need it anymore
ADB driver check
1) enable Developer options and Unknown sources
2) run Minimal ADB and Fastboot
3) type
Code:
adb devices
4) allow dialog on your phone
5) check if your device is shown in command window
fastboot driver check
1) run Minimal ADB and Fastboot
2 put device in FASTBOOT mode
3) type
Code:
fastboot devices
in Minimal ADB and Fastboot
4) check if your device is shown in command window
! When connecting phone in flashmode or fastboot additional drivers will be installed automatically.
! Installing drivers twice can solve problems.
UNLOCK BOOTLOADER
1) open Flashtool
2) click on BLU (Bootloader Unlock)
3) follow the instructions shown by Flashtool
4) you will be forwarded to a Sony website
5) follow the instructions there
6) at the end you will receive a key
7) save this key carefully!
8) enable Enable OEM unlock in developer options
9) copy KEY into Flashtool prompt and click unlock
! You can try to use Flashtool for unlocking first, or continue with step 10.
10) open Minimal ADB and Fastboot
11) your phone has to be in Fastboot mode
12) check if your phone is shown by
Code:
fastboot devices
13) enter the following code:
Code:
fastboot –i 0x0fce oem unlock 0xKEY_FROM_SONY
14) reboot (that can take a long time, so dont worry)
DOWNLOAD XPERIA FIRMWARE - OPTIONAL
If you want to update, upgrade or reset your ROM.
1) open Flashtool
2) click on XperiFirm
3) downloading…..
4) in XperiFirm select your device then choose your preferred firmware (e.g. Z5 --> E6653 ---> Customized DE --> 32.0.A.6.200 R12B)
5) in the right column double click the latest firmware and start download
6) Unpack automatically has to be checked
7) after downloading close download window and XperiFirm
8) now Flashtool should start doing things
! You can identify your phone model by: Settings -->About phone--> Diagnostics
FLASH NEW FIRMWARE - OPTIONAL
If you want to update, upgrade or reset your ROM.
1) in Flashtool click on Flash device and choose your firmware
2) under "Wipe", check all (APPS_LOG, DIAG, SSD, USERDATA)
3) click flash and follow the instructions
4) after successful installation reboot phone (that can take a long time, so dont worry)
! You can flash a new ROM without unlocking your bootloader.
FLASH KERNEL
The kernel has direct control of the hardware.
1) download latest Kernel from download section (AndroPlusKernel is only for E6653 models)
2) extract ZIP
3) put boot.img from zip into your root directory from Minimal ADB and Fastboot
4) put phone into fastboot mode
5) run Minimal ADB and Fastboot and check with
Code:
fastboot devices
6) type in:
Code:
fastboot flash boot boot.img
7) restart phone and look if its working
! If you end up in a bootloop with the LED flashing 3-4 times try to flash Kernel and Recovery again. If this doesnt help, reflash firmware, kernel and recovery.
FLASH RECOVERY
The recovery is something like the boot menu you may know from windows. Its mainly used to install programs and apps.
1) download latest TWRP from download section
2) put twrp.img into your root directory from Minimal ADB and Fastboot
4) put phone into fastboot mode
5) run Minimal ADB and Fastboot and check with
Code:
fastboot devices
6) type in:
Code:
fastboot flash recovery twrp.img
! You can rename twrp image to twrp.img or something shorter if you want.
7) after the first boot - do a reboot into recovery. Otherwise the partitions won't be mounted correctly & flashing will run into trouble. It takes several seconds (or a few minutes) to reboot into recovery - but then you're good to go.
ROOT
Some apps need more permissions than normal. You can compare root with administrator rights on windows.
1) download UPDATE-SuperSU-v2.67.zip
2) copy UPDATE-SuperSU-v2.67.zip to your internal memory
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap UPDATE-SuperSU-v2.67.zip
7) "Swipe to confirm flash"
8) reboot
RESTORE DRM KEYS
Unlocking the bootloader disables a partition on your phone where software keys are saved. Without this keys xReality, BIONZ, audio processing arent available. This program will restore this features.
! Take a look if xReality is already working before installing DRM keys.
1) download DRM RESTORE (drmrestore.zip) from download section
2) copy drmrestore.zip to your external sd card
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap drmrestore.zip
7) "Swipe to confirm flash"
8) reboot
! Unfortunately, there is no way to save the original TA partition at the moment.
[GUIDE] CustomROM
# CyanogenMod 13_Alpha for E6653 and E6603
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase
performance and reliability over stock Android for your device.
### XDA Z5_CyanogenMod 13 Link ###
# AromaROM with Installer for Z5 E6853 / E6883 / E6653
AROMA is a custom ROM with nice tweaks, but it has some serious bugs. I used it for 2 month and there are several issues: random reboot, screen turn off during calling and does not turn on again, problems with notification bar, ... .
### XDA ROMAur Link ###
1) install stock lollipop rom
3) for E68xx models install recovery and kernel for your device
4) For E66xx models install twrp-2.8.7.0-E6653-20151130_material.img and kernel for your device
5) copy ROMAur to your external sd card
6) enter recovery
7) make a full wipe (Wipe --> Factory reset)
8) install ROMAur
9) Reboot
[TWEAKS]
XPOSED
ONLY FOR 5.1.1: When you want to install Xposed you have to deodex your system or install an already deodexes ROM. Without this procedure the camera and other apps wont work. Use this guide to solve this: http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
XDA Thread: http://forum.xda-developers.com/showthread.php?t=3034811
1) download xposed-v85-sdk23-arm64.zip and XposedInstaller_3.0_alpha4.apk [Android 6.0 versions]
2) copy xposed-v79-sdk23-arm64.zip and XposedInstaller_3.0_alpha4.apk to your internal memory
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap xposed-v79-sdk23-arm64.zip
7) "Swipe to confirm flash"
8) reboot
9) install XposedInstaller_3.0_alpha4.apk
10) reboot
useful Xposed Moduless
APM+
Xperia / AOSP NavBar Buttons
OGYoutube + OGYoutube Xposed Login Fix
Flat Style Colored Bars
DISABLE SmallApps
SmallApps is that little bar in the overview screen.
1) power on phone
2) unlock your phone (open homescreen)
3) open Minimal ADB and Fastboot
4) type:
Code:
adb shell
pm hide com.sony.smallapp.launcher
pm hide com.sony.smallapp.app.widget
exit
5) after this, type:
Code:
adb reboot
! If you know what youre doing, you can simply delete all the SmallApp stuff via ROOT Uninstaller.
Thanks for quite a nice guide.
I have done rooting on various devices but this seems to be most complicated ever. [emoji14]
Sent from my E6683 using Tapatalk
It has been before this guide. Basically what I did was unlocking the bootloader, booting recovery, flashing kernel, flashing root, wipe, restore DRM fake, done.
Firmware wasn't necessary for me and I've made bad experiences with alternate firmwares / radios and so on in the past.
Hi. Do I have to backup my TA partition ?
there no way to backup your TA partition hopefully for now.
How to increase volume of both speakers
I have rooted z5 but don't know how to edit mixer path.xml
Siudzix said:
Hi. Do I have to backup my TA partition ?
Click to expand...
Click to collapse
Actually there is no need for it, imho. The fake DRM keys are doing a really good job. X-reality back, after picture processing back. It's also currently not possible to backup them afaik.
DeathStroke said:
Thanks for quite a nice guide.
I have done rooting on various devices but this seems to be most complicated ever. [emoji14]
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
Mate I see you have Z5 E6683 which is dual sim. Were you able to get your phone rooted using this guide?
Many thanks.
I have XPERIA Z5 Dual Sim (E6633) - will this guide work ?
Siudzix said:
I have XPERIA Z5 Dual Sim (E6633) - will this guide work ?
Click to expand...
Click to collapse
Yes and no. You need a different kernel and mybe recovery. Everything else is the same. I will include a link in my guide if I find a working kernel.
Rooting Z5
Hi all,
Shall i root the phone without unlocking the Bootloader.I dont want to Unlock the bootloader.So please advise me is this root method is work on Locked Bootloader.
Thanks in advance
ramprasaathks said:
Hi all,
Shall i root the phone without unlocking the Bootloader.I dont want to Unlock the bootloader.So please advise me is this root method is work on Locked Bootloader.
Thanks in advance
Click to expand...
Click to collapse
For now, you have to unlock your bootloader to gain root access. There is no other method at the moment. So in conclusion: locked bootloader = no root.
how i root z5 dual 6683
parteek.dandyan said:
how i root z5 dual 6683
Click to expand...
Click to collapse
Follow the guide and do it. Its written there.
Sent from my E6683 using Tapatalk
DeathStroke said:
Follow the guide and do it. Its written there.
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
Dont blame him. I added this guide for E6683 today. I cant try it myself because I have no E6683, but I hope it will work
alphatact1cs said:
Dont blame him. I added this guide for E6683 today. I cant try it myself because I have no E6683, but I hope it will work
Click to expand...
Click to collapse
I was not blaming, I didn't know that you updated today. Would be great in future if you do any update, add the date and following update.
Thank you.
One thing I noticed while reading your guide was TWRP is not for E6683. Will there be any problem? I haven't yet tried your guide because I was in doubt.
Sent from my E6683 using Tapatalk
DeathStroke said:
One thing I noticed while reading your guide was TWRP is not for E6683. Will there be any problem? I haven't yet tried your guide because I was in doubt.
Click to expand...
Click to collapse
The new Kernel from monx includes TWRP, so you dont need to flash Recovery...normally. I know that my guide works, but only for E6653. I included a link for E6683, but I also wrote that I cant try it because I havent a Z5 E6683. Anyway, TWRP for E6653 should work for E6683 devices. The main difference is the Kernel.
Guys, what about E6633 ? Is it really bad ?
Siudzix said:
Guys, what about E6633 ? Is it really bad ?
Click to expand...
Click to collapse
You can try it at your own risk. Someone said that it will work, but I would be careful.
pesonic said:
Should this be working on E6633 too?
Click to expand...
Click to collapse
arismelachrinos said:
+1
Click to expand...
Click to collapse
@alphatact1cs are you open to suggestions??
we are currently trying to unify devices index here at xda..
would you like to follow what our fellow brother @kuzibri and @sd_shadow has implemented?
http://forum.xda-developers.com/general/about-xda/public-index-program-project-t3147245

[Guide] Safe bootloader unlock, restore DRM, custom recovery, root, bootloader relock

** DISCLAIMER: I AM NOT A DEV AND THIS IS MY HOBBY. I ASSUME NO RESPONSIBILITY IF THIS BREAKS YOUR DEVICE **​
The following is tested on model E6553. This may work for the dual sim model too but I have not verified it. Do not flash the ftf and kernel files intended for one model onto another.​
I am not taking credit for any of the tools and kernels here. They are all developed by others. I am only telling you how to use them.
Credits: @zxz0O0, @tobias.waldvogel
0- Prerequisites
You need to have a functioning installation of adb and fastboot tools. You need to have proper Sony drivers installed on your PC to detect your phone when it is connected to the PC. You should be able to flash an ftf file using flashtool. If any of these sound unfamiliar to you, stop reading, go learn about them, and then come back.
1- How to unlock your bootloader without losing the DRM keys
Sony has designed this phone such that if you unlock your bootloader you lose your TA partition PERMANENTLY which includes some of the Xperia features and licenses that have to do with image processing etc. forever. You will also no longer receive OTAs. So in theory, without a copy of this TA partition (which is unique to each device and cannot be copied over from another) unlocking the bootloader results in an irreversible loss of some of your phone's features. Relocking the bootloader will not bring them back.
A hack exists that allows you to backup the TA partition before you unlock the bootloader. This backup will make the process completely reversible so if you ever need to send the tablet to Sony for repair or just want to return it to its original state you have a way. Follow these instructions carefully:
1.0- Before you begin keep in mind that this procedure, especially the unlocking step, completely erases your tablet. Disable myXperia and remove your google account before proceeding. The following will likely not work well with encryption.
1.1- Start by clean flashing any 28.0.A.8.266 firmware, For this tutorial I used the Customized NL ftf that you can get from here.
1.2- Enter service Mode by dialing *#*#7378423#*#* -> Service info -> configuration, and make sure the device is unlockable.
Also check -> Service Tests -> Security and you will see a bunch of "active" and "OK" attributes. You can take screenshots for your reference.
1.3- Turn on usb debugging mode on your phone.
1.4- Download iovyroot zip v0.4 or higher from here.
1.5- Unzip this zip file into a folder of your choice and open a command terminal there.
1.6- Connect the phone which is now in USB debugging mode to your PC and answer yes when the phone asks to authorize the PC to access it in USB debugging mode. You can check that the PC indeed sees the phone by running this command
Code:
adb devices
1.7- Run the following command:
Code:
tabackup
1.8- VERY IMPORTANT: Make sure the command completes with no errors. If all goes well you will have a file with a name like TA-05052016.img (the name may be different for you) with a size of 2MB in your folder.
1.9- Save this file in a very safe place. Save it on your hard disk, AND email it to yourself, AND put it on your google drive. If you lose this file you can never reverse the bootloader unlocking process.
1.10- Reboot the device.
1.11- Now you can unlock the bootloader. Follow the instructions at Sony's official website at http://developer.sonymobile.com/unlockbootloader Also save your unlock code that you obtain in this step somewhere. You may need it some day.
1.12- Reboot the device and it will briefly enter recovery and then start the phone initial setup.
1.13- (Optional) you can easily verify that your bootloader is unlocked by entering the fastboot mode, obtaining any boot image, and running the following command to boot your tablet with that image:
Code:
fastboot boot boot.img
1.14- (Optional) you can see that the DRM keys are erased from your tablet by repeating step 1.2 but this time you will see a bunch of errors under Service Tests -> Security.
1.15- As a side effect of unlocking the bootloader you lose the ability to receive OTA updates. Clean flash a Marshmallow ftf to continue. For this tutorial I used Marshmallow 6.0 E6553_Customized HK_1294-9654_32.1.A.1.185_R7C (the latest firmware at the time of this writing.)
2- How to emulate DRM keys and/or root and/or add recovery after unlocking the bootloader.
A hack exists that can emulate the DRM keys:
2.1- Extract the boot image from the 32.1.A.1.185 marshmallow ftf that you installed in step 1.15. Here are the steps to take:Open the ftf file with 7-zip or any zip program that you have at your disposal
Look for a file called kernel.sin and extract it.
Start flashtool and from Tools menu choose Sin Editor.
Select the kernel.sin that you extracted in the previous step and hit Extract data.
Flashtool will create a file called kernel.elf which you will use in the next step.​2.2- Download rootkernel_v4.42_Windows_Linux.zip (or a higher version) from http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605 and unzip it in a folder of your choice.
2.3- Copy the kernel.elf that you got in step 2.1 to this folder. If you want root, follow this guide through to section 5 place SuperSU 2.71 (or higher) in this folder as well. Make sure the name of the SuperSU zip starts with letters "SuperSU". The latest SuperSU can be obtained from: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133 (The rootkernel tool has a bug in its built-in SuperSU integration. See: http://forum.xda-developers.com/showpost.php?p=67485478&postcount=838)
2.4- Open a command terminal in this folder and run the rootkernel script. Your command should look similar to this:
Code:
rootkernel.cmd kernel.elf boot-patched.img
When prompted, answer as follows:- Sony RIC is enabled. Disable? [Y/n] Y (if you want root plus write access)
- Install TWRP recovery? [Y/n] Y (if you want to have recovery)
- Install busybox? [Y/n] Y (if you want busybox. It is very useful)
- Found SuperSU-v2.71-20160331103524.zip. Install? [Y/n] Y (if you want root)
- Install DRM fix? [Y/n] Y (if you want DRM emulation)​This will create a new kernel image called boot-patched.img which you will now flash on your phone.
2.5- Boot the phone in the fastboot mode and flash your patched image using the following fastboot command:
Code:
fastboot flash boot boot-patched.img
2.6- (Optional) You can reboot the phone and see that the DRM keys are indeed retrieved by repeating step 1.2. You can also open settings -> display, and look under Image Enhancement. If the DRM emulation is successful you will see this.
3- How to flash a custom or stock kernel
3.0- If you have already flashed the patched kernel in part 2 you will skip this part.
3.1- Whether you want to use a custom kernel or stock, and whether you have done the DRM patch described above or not, to flash a boot image (i.e. kernel) on your phone you need to restart the tablet in fastboot mode.
3.2- To flash the kernel use this command:
Code:
fastboot flash boot [I]name_of_your_kernel[/I]
You will replace name_of_your_kernel with whatever your kernel is called (e.g. boot.img, kernel.elf, etc.)
4- How to add and use recovery
4.1- Recovery is added to your kernel in step 2.4.
4.2- To enter recovery reboot the phone and touch the volume up key when the LED turns yellow during the boot splash screen.
5- How to root
5.1- Place SuperSU 2.71 zip (or higher) on the phone's sdcard. The latest SuperSU can be obtained from: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
5.2- Reboot to recovery and flash the zip file.
6- How to relock bootloader and return it to original factory state
6.0- To relock the bootloader along with restoring the DRM keys the phone must have unmodified stock firmware.
6.1- Repeat step 1.1
6.2- Repeat steps 1.3, 1.4, and 1.5
6.3- Copy the TA backup image that you had obtained in section 1 in the iovyroot folder and use the tarestore command to flash the TA partition back onto the phone. The command will look similar to this:
Code:
tarestore TA-05052016.img
Make sure the command completes with no error. If it fails the first time try again. Reboot the phone. Your bootloader is now locked and your DRM keys restored.
6.4- (Optional) You can verify that you are back to the original locked state by repeating step 1.2.
Whoa Great
---------- Post added at 01:32 AM ---------- Previous post was at 12:50 AM ----------
najoor said:
** DISCLAIMER: I AM NOT A DEV AND THIS IS MY HOBBY. I ASSUME NO RESPONSIBILITY IF THIS BREAKS YOUR DEVICE **​The following is tested on model E6553. This may work for the dual sim model too but I have not verified it. Do not flash the ftf and kernel files intended for one model onto another.​I am not taking credit for any of the tools and kernels here. They are all developed by others. I am only telling you how to use them.
Credits: @zxz0O0, @tobias.waldvogel
0- Prerequisites
You need to have a functioning installation of adb and fastboot tools. You need to have proper Sony drivers installed on your PC to detect your phone when it is connected to the PC. You should be able to flash an ftf file using flashtool. If any of these sound unfamiliar to you, stop reading, go learn about them, and then come back.
1- How to unlock your bootloader without losing the DRM keys
Sony has designed this phone such that if you unlock your bootloader you lose your TA partition PERMANENTLY which includes some of the Xperia features and licenses that have to do with image processing etc. forever. You will also no longer receive OTAs. So in theory, without a copy of this TA partition (which is unique to each device and cannot be copied over from another) unlocking the bootloader results in an irreversible loss of some of your phone's features. Relocking the bootloader will not bring them back.
A hack exists that allows you to backup the TA partition before you unlock the bootloader. This backup will make the process completely reversible so if you ever need to send the tablet to Sony for repair or just want to return it to its original state you have a way. Follow these instructions carefully:
1.0- Before you begin keep in mind that this procedure, especially the unlocking step, completely erases your tablet. Disable myXperia and remove your google account before proceeding. The following will likely not work well with encryption.
1.1- Start by clean flashing any 28.0.A.8.266 firmware, For this tutorial I used the UK Generic ftf that you can get from here.
1.2- Enter service Mode by dialing *#*#7378423#*#* -> Service info -> configuration, and make sure the device is unlockable.
Also check -> Service Tests -> Security and you will see a bunch of "active" and "OK" attributes. You can take screenshots for your reference.
1.3- Turn on usb debugging mode on your phone.
1.4- Download iovyroot zip v0.4 or higher from here.
1.5- Unzip this zip file into a folder of your choice and open a command terminal there.
1.6- Connect the phone which is now in USB debugging mode to your PC and answer yes when the phone asks to authorize the PC to access it in USB debugging mode. You can check that the PC indeed sees the phone by running this command
Code:
adb devices
1.7- Run the following command:
Code:
tabackup
1.8- VERY IMPORTANT: Make sure the command completes with no errors. If all goes well you will have a file with a name like TA-05052016.img (the name may be different for you) with a size of 2MB in your folder.
1.9- Save this file in a very safe place. Save it on your hard disk, AND email it to yourself, AND put it on your google drive. If you lose this file you can never reverse the bootloader unlocking process.
1.10- Reboot the device.
1.11- Now you can unlock the bootloader. Follow the instructions at Sony's official website at http://developer.sonymobile.com/unlockbootloader Also save your unlock code that you obtain in this step somewhere. You may need it some day.
1.12- Reboot the device and it will briefly enter recovery and then start the phone initial setup.
1.13- (Optional) you can easily verify that your bootloader is unlocked by entering the fastboot mode, obtaining any boot image, and running the following command to boot your tablet with that image:
Code:
fastboot boot boot.img
1.14- (Optional) you can see that the DRM keys are erased from your tablet by repeating step 1.2 but this time you will see a bunch of errors under Service Tests -> Security.
1.15- As a side effect of unlocking the bootloader you lose the ability to receive OTA updates. Clean flash a Marshmallow ftf to continue. For this tutorial I used Marshmallow 6.0 E6553_Customized HK_1294-9654_32.1.A.1.185_R7C (the latest firmware at the time of this writing.)
2- How to emulate DRM keys and/or root and/or add recovery after unlocking the bootloader.
A hack exists that can emulate the DRM keys:
2.1- Extract the boot image from the 32.1.A.1.185 marshmallow ftf that you installed in step 1.15. Here are the steps to take:
Open the ftf file with 7-zip or any zip program that you have at your disposal
Look for a file called kernel.sin and extract it.
Start flashtool and from Tools menu choose Sin Editor.
Select the kernel.sin that you extracted in the previous step and hit Extract data.
Flashtool will create a file called kernel.elf which you will use in the next step.​2.2- Download rootkernel_v4.42_Windows_Linux.zip (or a higher version) from http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605 and unzip it in a folder of your choice.
2.3- Copy the kernel.elf that you got in step 2.1 to this folder. If you want root, place SuperSU 2.71 (or higher) in this folder as well. Make sure the name of the SuperSU zip starts with letters "SuperSU". The latest SuperSU can be obtained from: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
2.4- Open a command terminal in this folder and run the rootkernel script. Your command should look similar to this:
Code:
rootkernel.cmd kernel.elf boot-patched.img
When prompted, answer as follows:
- Sony RIC is enabled. Disable? [Y/n] Y (if you want root plus write access)
- Install TWRP recovery? [Y/n] Y (if you want to have recovery)
- Install busybox? [Y/n] Y (if you want busybox. It is very useful)
- Found SuperSU-v2.71-20160331103524.zip. Install? [Y/n] Y (if you want root)
- Install DRM fix? [Y/n] Y (if you want DRM emulation)​This will create a new kernel image called boot-patched.img which you will now flash on your phone.
2.5- Boot the phone in the fastboot mode and flash your patched image using the following fastboot command:
Code:
fastboot flash boot boot-patched.img
2.6- (Optional) You can reboot the phone and see that the DRM keys are indeed retrieved by repeating step 1.2. You can also open settings -> display, and look under Image Enhancement. If the DRM emulation is successful you will see this.
3- How to flash a custom or stock kernel
3.0- If you have already flashed the patched kernel in part 2 you will skip this part.
3.1- Whether you want to use a custom kernel or stock, and whether you have done the DRM patch described above or not, to flash a boot image (i.e. kernel) on your phone you need to restart the tablet in fastboot mode.
3.2- To flash the kernel use this command:
Code:
fastboot flash boot [I]name_of_your_kernel[/I]
You will replace name_of_your_kernel with whatever your kernel is called (e.g. boot.img, kernel.elf, etc.)
4- How to add and use recovery
4.1- Recovery is added to your kernel in step 2.4.
4.2- To enter recovery reboot the phone and touch the volume up key when the LED turns yellow during the boot splash screen.
5- How to relock bootloader and return it to original factory state
5.0- To relock the bootloader along with restoring the DRM keys the phone must have unmodified stock firmware.
5.1- Repeat step 1.1
5.2- Repeat steps 1.3, 1.4, and 1.5
5.3- Copy the TA backup image that you had obtained in section 1 in the iovyroot folder and use the tarestore command to flash the TA partition back onto the phone. The command will look similar to this:
Code:
tarestore TA-05052016.img
Make sure the command completes with no error. If it fails the first time try again. Reboot the phone. Your bootloader is now locked and your DRM keys restored.
5.4- (Optional) You can verify that you are back to the original locked state by repeating step 1.2.
Click to expand...
Click to collapse
Very usefull step by step guide.. But is there is any method to root phone without unlocking Bl? Quite curious to know from you.
arokososoo said:
Whoa Great
---------- Post added at 01:32 AM ---------- Previous post was at 12:50 AM ----------
Very usefull step by step guide.. But is there is any method to root phone without unlocking Bl? Quite curious to know from you.
Click to expand...
Click to collapse
Not yet, atleast for my Dual SIM Version.
njaya95 said:
Not yet, atleast for my Dual SIM Version.
Click to expand...
Click to collapse
So you mean there is a way to root single sim version without unlocking BL?
Thanks ú so much! this is well writen, i will try this when i get the time to do a fresh install. Cheers mate
@arokososoo
Please, in the future never quote long OP and any other long posts. This is very annoying for mobile and desktop users to scroll to the next post. Thanks.
Sent from my Sony E6553 using XDA Labs
I wonder if E6533 can use this guide
Got as far as going to the sony website, there's no mention of phones that can be unlocked there and for some reason Ive got bootloader unlock allowed no, even with a sim free phone and my xperia turned off.....bummer
Stoneybridge said:
Got as far as going to the sony website, there's no mention of phones that can be unlocked there and for some reason Ive got bootloader unlock allowed no, even with a sim free phone and my xperia turned off.....bummer
Click to expand...
Click to collapse
I also unlocked my Z3+, although it wasn't supported. I just picked Z4 Tablet since it is the "nearest" one. Worked Got MM rooted now.
How long did that take on your devices? 1.1- Start by clean flashing any 28.0.A.8.266 firmware, For this tutorial I used the UK Generic ftf that you can get from here.
I am waiting for half an hour now...
Spoiler
Trilliard said:
How long did that take on your devices? 1.1- Start by clean flashing any 28.0.A.8.266 firmware, For this tutorial I used the UK Generic ftf that you can get from here.
I am waiting for half an hour now...
Spoiler
Click to expand...
Click to collapse
I can't see your picture, but I assume you have that stucking at modem/system ?
If so, downgrade Flashtool to 0.9.19
Well i got a soft brick, but was able to restore it trough Sony Companion. Here is the picture on another hoster http://fs5.directupload.net/images/160529/gr5fpf8t.png dont know on what point it stuck.
Funfact that two germans writting in english
Edit, big thanks version 0.9.19 worked perfect. Cant understand why the newest one doesnt work
Edit 2: System boots up, but when the setup start the process com.android.phone stops instant and if i hit ok the message comes instantly again after about ten times the phone reboot, i cant do anything else... next repair through sony companion and back to stock german 6.0. I´ll stop try it for today.
Trilliard said:
Well i got a soft brick, but was able to restore it trough Sony Companion. Here is the picture on another hoster http://fs5.directupload.net/images/160529/gr5fpf8t.png dont know on what point it stuck.
Funfact that two germans writting in english
Edit, big thanks version 0.9.19 worked perfect. Cant understand why the newest one doesnt work
Edit 2: System boots up, but when the setup start the process com.android.phone stops instant and if i hit ok the message comes instantly again after about ten times the phone reboot, i cant do anything else... next repair through sony companion and back to stock german 6.0. I´ll stop try it for today.
Click to expand...
Click to collapse
Did you forget to wipe?
In a thread i opened in Q&A a user said that even though service info reported bl unlock allowed NO, he managed to unlock it anyways using standard procedure, what do you think?
it seems like Sony RIC is not fully disabled with this patch.
Finally ! Works like a charm in my E6533 (Dual sim) !!! Thanks a lot !!!
Hi thiefxhunter,
How you do this? could you explain us step by step. I like to root my dual sim model.
Thanks.
Hi.. I am stuck in 2.5
My device is unlocked, It is connected in fastboot mode (blue led).
error msg
'Fastboot is not recognised as an internal or external command, operable program or batch file'
Please help me in this.
Solved..
Thanks for this post..
Thanks for this guide, it worked like a charm on my E6553 with 32.2.A.0.224
CorzCorry said:
I also unlocked my Z3+, although it wasn't supported. I just picked Z4 Tablet since it is the "nearest" one. Worked Got MM rooted now.
Click to expand...
Click to collapse
Can you please explain how did you do that? Thanks

NEW!! [ROM-KERNEL-MODS] Last official 9.6.1.0 global stable - antutu 101000

(last update post and files 10-07-2018)
I AM NOT RESPONSIBLE FOR NOTHING
download all requerted files ( without rom and MiFlash_unlocker.exe )
https://drive.google.com/file/d/1Hy6p_6wgEJqQyMlXPFUMcZ63zcBz8ifm/view google drive
hi,
STEP 1
first of all unlock your phone :laugh:
Code:
go options -> about phone -> click 7 times MIUI version and enable developer option
after that join developer option (optons->extra options->developer options)
and enable unlock device Xiaomi
and also usb debugging
********************************************************
HOW TO UNLOCK XIAOMI DEVICE
download Xiaomi unlocker from [COLOR="red"]here[/COLOR]
[url]https://en.miui.com/unlock/[/url]
[url]https://drive.google.com/open?id=1EwjgSU0KVqNjWalRTxyXf-zxmJWwT2G6[/url]
reboot your phone to download mode(push volume down+power button)
unzip download file
and run unlocker.exe
log in with your xiaomi account
connect your phone
request unlock your phone from Xiaomi server
wait 3-5 work days (show you,how hours need to wait)
and run unlocker again
in download mode(push volume down+power button) and unlock your device
**************************************************************************
after all that
STEP 2
install recovery TWRP
Code:
install ADB drivers,download [COLOR="red"]here[/COLOR]
[url]https://drive.google.com/open?id=1yeCfi-VHRj17hUJziWSO-77ssgW8y87m[/url]
(use ONLY win 7 or XP - dont use win 10,8,8.1)
connect your phone with pc and reboot phone to download mode(push volume down+power button)
and run "flash_TWRP.bat" file.download [COLOR="red"]here[/COLOR]
[url]https://drive.google.com/open?id=1rlV_yz0xqb_YgbtJSEhD39ajJFnmZ8w8[/url]
download all files and run flash_TWRP.bat
STEP 3
download rom
Code:
download any last official rom from [COLOR="red"]here[/COLOR] :
[url]https://xiaomifirmware.com/downloads/download-latest-miui-roms-redmi-note-4-mtk//[/url]
"Recovery ROM" ONLY********* NOT "for SP Flash Tool / MiFlash installation"
i use this rom
xiaomi.eu_multi_HMNote4_V9.5.3.0.MBFCNFA_v9-6.0.zip
[url]https://drive.google.com/open?id=1U2bjdh8yfzoH5Fag-zCDbtzMEgg2Cx3J[/url]
new version rom has been released :)
[COLOR="Red"](kernel dont work in 9.6.1.0)[/COLOR]
9.6.1.0 Global Stable Recovery ROM | V9.6.1.0.MBFMIFD [URL="https://xiaomifirmware.com/download/9322/"]download here[/URL]
STEP 4
after download
boot to recoveryTWRP(push volume up+power button)
and install rom
Code:
after install rom
install fix_boot with
FIX_FIRST_BOOT.img download from [COLOR="red"]here[/COLOR]:
[url]https://drive.google.com/file/d/1SGyf3CYJewj0ew7hkexBX2XlDrei1sZi/view?usp=sharing[/url]
first boot need half hour and more
after 40 minutes booting...
give you bootloop..
reboot to recovery (push volume up+power button)
and fix again boot with FIX_FIRST_BOOT.img
join :)
**********************************************************
OK now you have official rom.
*********************************************************
STEP 5
if you like install tools
install tools from recoveryTWRP (push volume up+power button):
root.zip https://drive.google.com/open?id=1zvJMMXAGVUSGs0OBEBojdelZjFIL53Lw only install from TWRP
dolbyatmos.zip https://drive.google.com/open?id=1SSpoH3JDniWb2T9oUesT7aiPwDupg1k3 only install from TWRP
disable boot animation https://drive.google.com/open?id=15QWPNSslmjXsVDxyb3McOMMT9nI7oyWE read .txt file
install tools from XDA Forum - read first original post
GPUmod https://drive.google.com/open?id=1FSlYnURWT1ZJ9SjhkQ4Nxv6NdMAmJ9t0 read original post here
CPUmod https://drive.google.com/open?id=1cv6Z4MMFiRMBGpiafB5CK_LWLhA-HSz9 read original post here
CosmicTweack https://drive.google.com/open?id=1U1iD9YDpl7HhJKZjQJQOY80AGmLBO0vC read original post here
Dualboot https://drive.google.com/open?id=1yQ6b7J6Xc6hpnZHcM1rlW685uPWV1TkB read original post here
Kernel Xtreme97 V2.0 read original post here
install kernel...(dont work in 9.6.10)
Code:
go to developer options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request
download the "find device remover" [COLOR="red"]here[/COLOR]
[url]https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY[/url]
download all files and run remove_mi_find_device_ONLY.bat
[COLOR="Red"]-> AFTER THAT YOU CANT USE FIND DEVICE SERVICE <-[/COLOR]
must delete find_device application (1 app-mi service)
********************************************************
if you dont delete this app
before install kernel,ok but..
give you error after boot
all time-again and again
you cant use the phone
**********************************************************
my opinion-remove all xiaomi apps-run 4 bat files-clean mobile
**********************************************************
reboot to recovery TWRP(push volume up+power button)
and install kernel
download kernel from [COLOR="red"]here[/COLOR]:
[url]https://forum.xda-developers.com/red...ernel-t3625082[/url]
[url]https://drive.google.com/open?id=1MmFKzsIQEWOBnVrtNMxNc2jSrT-vmhHB[/url]
wipe-clear dalvin + cache
reboot to system
SPECTRUM APK FILE [COLOR="Red"]here[/COLOR]
[url]https://drive.google.com/open?id=12RG90ynEsi83jo2HTERYvCvIwDucuft4[/url]
THIS IS IT :good::good:
NOW YOU HAVE EXCELLECT HARDWARE AND SOFTWARE
CREDITS:
ALL TOOLS AND MODS INCLUDED IN XDA FORUM - also thanks Xiaomi
thanks all developers
kisses from Greece
have fun :laugh::laugh:
Redmi Note 4 MTK Nikel-ROM-KERNEL SPECTRUM-TWRP-ROOT SU-ANTUTU 101000-DOLBY ATMOS
(moderetor delete me)
Would it work on a MiuiPro rom? Does it needs a clean installation?
SalPhobos said:
Would it work on a MiuiPro rom? Does it needs a clean installation?
Click to expand...
Click to collapse
to install kernel
dont need clean install
but before install kernel need delete all xiaomi service
all this work 100% with all official roms https://xiaomifirmware.com/downloads/download-latest-miui-roms-redmi-note-4-mtk//
in MiuiPro?i dont know.i havent rom.make backup from twrp and try it. :silly:
https://miuipro.by/
if you like to install kernel...
join options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request and after that run "remove_mi_find_device.bat" files (2 files).download here
https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
download all files and run .bat (2 files)
-> AFTER THAT YOU CANT USE ANY XIAOMI SERVICE <-
Just one more question, if I run te bat files you provide I eliminate xiaomi services, then I install the kernel and then, should I have to install, again, xiaomi services? If so, where can I find them?
Every time I change my rom, this kernel has to be installed again?
Thanks in advance.
SalPhobos said:
if you like to install kernel...
join options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request and after that run "remove_mi_find_device.bat" files (2 files).download here
https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
download all files and run .bat (2 files)
-> AFTER THAT YOU CANT USE ANY XIAOMI SERVICE <-
Just one more question, if I run te bat files you provide I eliminate xiaomi services, then I install the kernel and then, should I have to install, again, xiaomi services? If so, where can I find them?
Every time I change my rom, this kernel has to be installed again?
Thanks in advance.
Click to expand...
Click to collapse
if you install rom and kernel
phone give you error.
need delete find_divice application
**************************************
if you like to delete all bloatware run all .bat (3files)
(now have 3 bat files)
if you delete all bloatware you cant install it again.(use play store to download again-maybe)
kernel installed one time.if you change rom need install kernel again
akaluptos21 said:
hi,
first of all unlock your phone :laugh:
join options -> about phone -> click 7 times MIUI version and enable developer option
after that join developer option (optons->extra oprions->developer options)
and enable unlock device Xiaomi
and also usb debugging
********************************************************
HOW TO UNLOCK XIAOMI DEVICE
download Xiaomi unlocker from here
https://en.miui.com/unlock/
https://drive.google.com/open?id=1EwjgSU0KVqNjWalRTxyXf-zxmJWwT2G6
reboot your phone to download mode(push volume down+power button)
unzip download file
and run unlocker.exe
log in with your xiaomi account
connect your phone
request unlock your phone from Xiaomi server
wait 3-5 work days and run unlocker again
in download mode(push volume down+power button) and unlock your device
**************************************************************************
after all that
connect your phone with pc and reboot phone to download mode(push volume down+power button)
and run "flash_TWRP.bat" file.download here
https://drive.google.com/open?id=1rlV_yz0xqb_YgbtJSEhD39ajJFnmZ8w8
download all files and run .bat
download any last official rom from here "Recovery ROM only" not "for SP Flash Tool / MiFlash installation":
https://xiaomifirmware.com/downloads/download-latest-miui-roms-redmi-note-4-mtk//
after download
boot to recovery(push volume up+power button)
and install rom
after install rom
install
FIX_FIRST_BOOT_boot.img download from here:
https://drive.google.com/file/d/1SGyf3CYJewj0ew7hkexBX2XlDrei1sZi/view?usp=sharing
first boot need half hour and more
if give you bootloop reboot to recovery and fix boot.img again.
**********************************************************
OK now you have official rom.
*********************************************************
also install from recovery(push volume up+power button):
root.zip https://drive.google.com/open?id=1zvJMMXAGVUSGs0OBEBojdelZjFIL53Lw
dolbyatmos.zip https://drive.google.com/open?id=1SSpoH3JDniWb2T9oUesT7aiPwDupg1k3
GPUmod https://drive.google.com/open?id=1FSlYnURWT1ZJ9SjhkQ4Nxv6NdMAmJ9t0
CPUmod https://drive.google.com/open?id=1cv6Z4MMFiRMBGpiafB5CK_LWLhA-HSz9
CosmicTweack https://drive.google.com/open?id=1U1iD9YDpl7HhJKZjQJQOY80AGmLBO0vC
Dualboot https://drive.google.com/open?id=1yQ6b7J6Xc6hpnZHcM1rlW685uPWV1TkB
disable boot animation https://drive.google.com/open?id=15QWPNSslmjXsVDxyb3McOMMT9nI7oyWE
*******************************************************
if you like to install kernel...
join developer options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request and after that run "remove_mi_find_device_ONLY.bat" files .download here
https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
download all files and run .bat
need delete find_divice application (1file)
**************************************
if you like to delete all bloatware run all .bat (3files)
-> AFTER THAT YOU CANT USE FIND DEVICE SERVICE <-
reboot to recovery menu(push volume up+power button) and install kernel
download kernel from here:
https://forum.xda-developers.com/red...ernel-t3625082
https://drive.google.com/open?id=1MmFKzsIQEWOBnVrtNMxNc2jSrT-vmhHB
SPECTRUM APK
https://drive.google.com/open?id=12RG90ynEsi83jo2HTERYvCvIwDucuft4
THIS IS IT :good::good:
CREDITS:
ALL TOOLS AND MODS INCLUDED IN XDA FORUM
thanks all developers
Kisses from Greece
have fun :laugh::laugh:
Click to expand...
Click to collapse
Make a video with tutorial and post the link please!
this kernel can use for miui 9 MM?
Alvian_P said:
this kernel can use for miui 9 MM?
Click to expand...
Click to collapse
i use it in 9.5.3.work fine
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
--------------------------------------------------------------------------------------------
magnodjs said:
Make a video with tutorial and post the link please!
Click to expand...
Click to collapse
defecult man but i try it
akaluptos21 said:
if you install rom and kernel
phone give you error.
need delete find_divice application
**************************************
if you like to delete all bloatware run all .bat (3files)
(now have 3 bat files)
if you delete all bloatware you cant install it again.(use play store to download again-maybe)
kernel installed one time.if you change rom need install kernel again
Click to expand...
Click to collapse
Well. I tried to install the kernell but the drive folder isn't downloading everything 'cause google detects adb.exe and some other files as a virus, even thoug I replaced that file, I tried to run the .bat files, i just got a cmd32 window with "Enter adb.exe folder path:" so, maybe i'm lost. Should I have to enter my device in fastboot mode? can you give more details to install the kernell? i was able to do the mods but I think this is as important as that...
akaluptos21 said:
i use it in 9.5.3.work fine
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
--------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
Thx, i'll try on MTk rn4
SalPhobos said:
Well. I tried to install the kernell but the drive folder isn't downloading everything 'cause google detects adb.exe and some other files as a virus, even thoug I replaced that file, I tried to run the .bat files, i just got a cmd32 window with "Enter adb.exe folder path:" so, maybe i'm lost. Should I have to enter my device in fastboot mode? can you give more details to install the kernell? i was able to do the mods but I think this is as important as that...
Click to expand...
Click to collapse
Code:
[COLOR="Red"]DONT INSCUTED VIRUSES. BAT FILES ALERTED
i re-upload files in third-party page[/COLOR]
man if you like install kernel.
read how to install kernel from original post
kernel (bootv2.img) installed from recovery twrp.
not from pc with ADB :good:
Code:
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
"WE AREN'T RESPONSIBLE FOR NOTHING
INSTALLATION:
-We reboot in the TWRP, press install, install image and select the bootv2.img that we downloaded from the post, select flash in the "boot" partition and install it
-Flash Supersu
-Restart
- Go to the Play Store and look for the Spectrum app (Go to the Screenshot tab and the icon app for zero confussions) and download it
-We open it, grant root access and select the behavior we want"
have installed kernel. remove find device. but my phone bootloop, white loading bar under Mi logo continuesly
Alvian_P said:
have installed kernel. remove find device. but my phone bootloop, white loading bar under Mi logo continuesly
Click to expand...
Click to collapse
so was i, i really confused with the step.
where can i find the batch for remove find device? or is it have to do manually?
i do manually remove find device app using adb shell, but after all that still getting stuck at bootloop and loading bar again and again, i tried almost 10 times and still cannot through that.
when i try to remove all bloatware, batch file saying " failure - internal device error or not installed for 0 "
but some app success to remove..
what do i missed?
feelsgood said:
so was i, i really confused with the step.
where can i find the batch for remove find device? or is it have to do manually?
i do manually remove find device app using adb shell, but after all that still getting stuck at bootloop and loading bar again and again, i tried almost 10 times and still cannot through that.
when i try to remove all bloatware, batch file saying " failure - internal device error or not installed for 0 "
but some app success to remove..
what do i missed?
Click to expand...
Click to collapse
bat files is here
https://drive.google.com/drive/folders/1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
also need to work and win32 files.incluted.
wait for re-upload files in third-party page incluted zip
wipe-clean dalvin + cache from recovery TWRP
boot for 10 minutes...with MIUI bar
akaluptos21 said:
Code:
[COLOR="Red"]DONT INSCUTED VIRUSES. BAT FILES ALERTED
i re-upload files in third-party page[/COLOR]
man if you like install kernel.
read how to install kernelfrom original post
kernel (bootv2.img) installed from recovery twrp.
not from pc with ADB :good:
Code:
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
"WE AREN'T RESPONSIBLE FOR NOTHING
INSTALLATION:
-We reboot in the TWRP, press install, install image and select the bootv2.img that we downloaded from the post, select flash in the "boot" partition and install it
-Flash Supersu
-Restart
- Go to the Play Store and look for the Spectrum app (Go to the Screenshot tab and the icon app for zero confussions) and download it
-We open it, grant root access and select the behavior we want"
Click to expand...
Click to collapse
yeah, I didn't ask correctly, the problem I'm having is uninstalling xiaomi services. I'll try again. Thank you!
SalPhobos said:
yeah, I didn't ask correctly, the problem I'm having is uninstalling xiaomi services. I'll try again. Thank you!
Click to expand...
Click to collapse
download all requerted files in one zip file ( without rom and MiFlash_unlocker )
https://drive.google.com/open?id=1Hy6p_6wgEJqQyMlXPFUMcZ63zcBz8ifm
new version rom has been released
9.6.1.0 Global Stable Recovery ROM | V9.6.1.0.MBFMIFD download here
(kernel dont work in 9.6.10)
ask question
sir why my handhpone cant go to recovery, i lost my twrp and i cant connect to my pc. please give a solution sir thanks :good:
anantaeka96 said:
sir why my handhpone cant go to recovery, i lost my twrp and i cant connect to my pc. please give a solution sir thanks :good:
Click to expand...
Click to collapse
volume down+power button
connect with usb
run "fastboot boot recovery"
give more details

[BEGINNERS GUIDE][Lollipop 5.1.1 .236] Root,Backup TA, UBL, Install Recovery

NOTE: DON'T HOLD ANYONE RESPONSIBLE IF SOMETHING GOES WRONG DURING THE PROCESS!
This thread contains full information you might need for rooting, backing up TA partition, unlocking bootloader, installing custom recovery, installing custom rom etc.
Some notes below, read them
-I try to keep this thread clean so people have easier time navigating. @derjango has ALOT of info and fixes on his THREAD which is related to this one, give it a read
-Read comments if you have problems. You may find answer and fix there by other users. I wrote this thread few months after I did these steps to my phone so I likely made mistakes (e.g. I forgot or got some steps wrong). If you do see those mistakes or have problems that nobody else has, feel free to ask in comments.
-We will use legit rooting methods and not those sketchy one click root apps
-These instructions may apply for other z line devices but you will have to find ftf files for your own device
-Written for 14.6.A.1.236 firmware but it will work on any version that you have currently.
0. PREPARATIONS
Backup all your data (photos, videos, contacts etc.)
Fully charge your battery
Enable USB debugging
Download the following:
Latest XperiaCompanion from HERE (for drivers mainly)
Sony flashtool from HERE
Follow THIS thread to install adb drivers
Navigate to your C:\Flashtool\drivers and run Flashtool-drivers
Select Flashmode drivers, Fastboot drivers and Xperia Z1 Compact drivers and click install
Now download THIS and THIS and put it in C:\Users\username\.flashTool\firmwares
(Windows 8/8.1/10 users can try - THIS fix if you can't install flashtool drivers)
1. FLASHING .108 FIRMWARE
1.1. Run Flashtool and click on lightning button, make sure flashmode is selected and hit Ok
1.2. In left window click on + symbol until you find 14.4.A.0.108
1.3. Under wipe check both options
1.4. Click Flash
1.5. Wait
1.6. Follow the on screen instructions
(You can release vol- when you see activity in flashtool window)
(If you get device disconnected just unplug phone and repeat all from step 1.1)
1.7. Don't touch anything until blue progress bar disappears. You should see Device disconnected> Device connected in flash mode.
(Don't worry if bar gets stuck near end just let it do it's thing)
1.8. Disconnect phone and reboot
1.9. Done!!!
(Do only basic setup, we won't be staying on this rom for long)
2. ROOTING .108 FIRMWARE
2.1. Make sure USB debugging is enabled
2.2. Download THIS Easy Root Tool by zxz0O0
2.3. Unzip and run install.bat
2.4. Download SuperSu apk form HERE put it in internal storage and install it.
2.5. Update binary normally.
2.6. Done!!! You should have root now.
(Download Root Checker to make sure you do)
3. TA PARTITION BACKUP
(NOTE: This is absolutely not necessary and is only needed if you plan to go back to stock firmware AND use BionZ, X-Reality and Music ID/Gracenote. TA partition and DRM keys stored inside get erased when you unlock bootloader.
3.1 Download THIS Backup TA v9.11 by DevShaft
3.2. Extract and run Backup-TA.bat. You should see backup>TA backup.zip in main folder where you extracted
3.3. Backup whole folder to cloud since you can't flash someone's else backup if you loose yours
3.4. Done!!!
(Read linked thread for useful information and FAQ)
4. UNLOCKING BOOTLOADER
4.1. Dial *#06# on your device. You will see your IMEI code
4.2. Go HERE and scroll to bottom
4.3. Under select device select Z1 Compact and enter your IMEI code
4.4. Check the 2 boxes and click on submit. You will get your unlock code. Copy it to clipboard
4.5. Run Flashtool again and click on "BLU" button
4.6. Connect phone in flashmode.
4.7. When prompted, enter your unlocking code that you copied form SONY website
4.8. Click unlock.
(Follow any instructions that flashtool gives you. I don't remember if there are any after this)
4.9. Done!!! Your bootloader is unlocked!
5. FLASHING RECOVERY
This is how I did it. You can try to skip step 5.2. If it doesn't work try again following all steps
5.1. Download THIS TWRP by 115ek and extract recovery image in new folder
5.2. Run Flashtool and flash 14.6.A.1.236 just like you did with .108 in first step (If you have problems here see THIS comment)
5.3. Now without rebooting or disconnecting your phone flash THIS open bootloader with flashtool just like you flashed system ftf-s.
5.4. Disconnect your phone and press volume up and connect your data cable. You should see blue led.
5.5. Now enter that folder where you extracted recovery image and press shift and right click in empty window area and select Open Command window here (Powershell for windows 10 users should work fine I think. Never used it)
5.6. Type "fastboot flash recovery recovery.img" and hit enter.
5.6 Done!!! You should have your recovery now.
To reboot to recovery first disconnect your phone and hold volume down and power button. Release power button when phone vibrates but keep holding volume down until you see twrp logo.
AND THAT IS IT
Now that you have your recovery and unlocked bootloader you can flash whatever roms, kernels, mods that you want for your phone.
Thanks to:
derjango for his thread mentioned above
munjeni For supplying open bootloader ftf and for giving me support with my problems
Androxyde For Flashtool
Snoop05 For ADB driver tool
zxz0O0 For Root tool And PRF Creator tool
DevShaft For Backup TA tool
115ek For TWRP
[NUT] For XZDualRecovery
kulvertti For SuperSu Dummy
Placeholder
I'm really struggling to get past unlocking the bootloader and starting to get quite confused.
Sony Companion is up to date.
Flashtool installed and used to flash .108 firmware.
Device is rooted using Easyroot tool.
Supersu installed and binary updated.
When I go to run BLU in Flashtool it prompts me to connect my device whilst holding the volume-down button (so flash mode). A couple of seconds after doing that it prompts me to re-connect the device whilst holding the volume-up button (so fastboot mode), but nothing happens. Blue LED is on the device, but Flashtool does absolutely nothing.
When I check Flashtool-driver it does fail to install the AndroidUsbDeviceClass driver, but when I run the 15-second ADB Installer it completes successfully - plus I was able to flash the firmware earlier so I don't see why I'd now have a driver issue.
Any ideas? It's starting to drive me crazy.
Here is what you can try.
Connect your phone to pc and in command prompt type adb reboot bootloader or hold vol+ and connect your phone
Your phone will be booted to fastboot now
Now type fastboot devices
You should see
XXXXXXXXXblabla fastboot
If you see this that means that your phone is recognized in fastboot by your pc.
If you see <waiting for device> or something else go to your device manager while still in fastboot
IIRC you should see under other devices something like saXXXX or something
You can tell me what exactly it says or you can fix it yourself by googling that number and adding fastboot driver and update it manually through device manager
If you decide to do it yourself make sure you link me website where you link me thread where you found driver and write down instructions so other people can see it
If you have any other problems feel free to reply
Also i just noticed that i didn't include that you lose ta partition when ubl and since you don't have ta backup make sure you make one. You never know when you might need it
Ok, thanks for that I definitely had a problem with driver installation so followed the steps in this video - https://www.youtube.com/watch?v=fcz4o6fpDGc
Now I am a bit stuck on flashing recovery.
5.2. Run Flashtool and flash 14.6.A.1.236 just like you did with .108 in first step --- do I also check both options under Wipe? will this not remove root?
5.3. Now without rebooting or disconnecting your phone flash THIS just like you did with system ftf-s. --- not sure what I'm meant to do here
Glad you fixed that problem
Flash that file through flashtool just like you flashed system ftf
Also yes that will remove root but we had that root only to backup ta and unlock bootloader. Since you unlocked bootloader and you install twrp you can easily root any rom
I get the "'fastboot' is not a recognised ..." error when trying to flash recovery - using Windows PowerShell as I'm on Win10.
EDIT: running CMD then moving to the location of where ADB was installed and contains Fastoot.exe worked.
Thanks for the guide!
scanz said:
I get the "'fastboot' is not a recognised ..." error when trying to flash recovery - using Windows PowerShell as I'm on Win10.
Click to expand...
Click to collapse
That means you don't have fastboot drivers installed. Here is temporary fix that got me out of frustrating situations when i can't install drivers systemwise
https://mega.nz/#F!aBoUXI5Q!RmxLAO638aHNJKLwo00Hew
If it downloads as zip first unzip it and run command prompt/powershell in that folder or in powershell type cd and drag that folder, that should do the same.
fastboot will now be recognised as command
this also includes adb drivers
Just wondering, I'm trying to get Magisk running after finishing the steps in your guide, but it does not pass any of the SafetyNet checks - even basicIntegrity check comes back false. Have you any ideas or experience with this? If so perhaps you could include it as part of the guide
If you get cts fasle that means you flashed rom that comes with supersu preinstalled. You could try installing rom without magisk and removing su then flashing mahgisk.
Not sure about integrity tho. I heard that xposed can cause problems with that.
colaigor said:
5.3. Now without rebooting or disconnecting your phone flash THIS with flashtool just like you flashed system ftf-s.
Click to expand...
Click to collapse
I get this:
23/015/2018 22:15:07 - INFO - Selected Bundle for Sony Xperia Z1 Compact(D5503). FW release : 1. Customization : openbootloader
23/015/2018 22:15:07 - INFO - Preparing files for flashing
23/015/2018 22:15:07 - INFO - Please connect your device into flashmode.
23/015/2018 22:15:08 - INFO - Opening device for R/W
23/015/2018 22:15:08 - INFO - Device ready for R/W.
23/015/2018 22:15:08 - INFO - Reading device information
23/015/2018 22:15:08 - INFO - Unable to read from phone after having opened it.
23/015/2018 22:15:08 - INFO - trying to continue anyway
23/015/2018 22:15:08 - INFO - Phone ready for flashmode operations.
23/015/2018 22:15:08 - INFO - Opening TA partition 2
23/015/2018 22:15:08 - INFO - Start Flashing
23/015/2018 22:15:08 - INFO - No loader in the bundle. Searching for one
23/015/2018 22:15:13 - INFO - Processing loader.sin
23/015/2018 22:15:13 - INFO - Checking header
23/015/2018 22:15:13 - ERROR - Processing of loader.sin finished with errors.
23/015/2018 22:15:13 - INFO - Ending flash session
23/015/2018 22:15:13 - ERROR - null
23/015/2018 22:15:13 - ERROR - Error flashing. Aborted
23/015/2018 22:15:14 - INFO - Device connected in flash mode
Click to expand...
Click to collapse
Are you sure you installed flashtool and other drivers? I can't think of any other cause for this problem right now
I flash 14.6.A.1.236 without problems using flashtool, so drivers should be ok; maybe why I'm using a Mac istead Windows?
_Pano_ said:
I flash 14.6.A.1.236 without problems using flashtool, so drivers should be ok; maybe why I'm using a Mac istead Windows?
Click to expand...
Click to collapse
Found this boot bridge for mac users. you may try it and see if it works. Can't really tell you anything about drivers on mac since i never touched one.
Also mega file may be corrupted. You can try downloading from this comment where i downloaded openbl from
Do you have windows machine to try flashing ?
yes, I try tomorrow using Windows 10, thanks
colaigor said:
Found this boot bridge for mac users. you may try it and see if it works. Can't really tell you anything about drivers on mac since i never touched one.
Also mega file may be corrupted. You can try downloading from this comment where i downloaded openbl from
Do you have windows machine to try flashing ?
Click to expand...
Click to collapse
ok, I flash .236 linked in your first post and then without rebooting or disconnecting the device I flash openbootloader and I see:
24/020/2018 09:20:14 - INFO - Closing TA partition
24/020/2018 09:20:14 - INFO - Ending flash session
24/020/2018 09:20:14 - INFO - Flashing finished.
24/020/2018 09:20:14 - INFO - Please unplug and start your phone
24/020/2018 09:20:14 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
24/020/2018 09:20:16 - INFO - Device connected in flash mode
24/022/2018 09:22:15 - INFO - Selected Bundle for Sony Xperia Z1 Compact(D5503). FW release : 1. Customization : openbootloader
24/022/2018 09:22:15 - INFO - Preparing files for flashing
24/022/2018 09:22:15 - INFO - Please connect your device into flashmode.
24/022/2018 09:22:15 - INFO - Device connected in flash mode
24/022/2018 09:22:16 - INFO - Using Gordon gate drivers version 3.1.0.0
24/022/2018 09:22:16 - INFO - Opening device for R/W
24/022/2018 09:22:16 - INFO - Device connected in flash mode
Click to expand...
Click to collapse
that's all? 1 second flash?
_Pano_ said:
that's all? 1 second flash?
Click to expand...
Click to collapse
Sorry for late answer.
Does it work? I don't remember how much it took to flash tbh
colaigor said:
Sorry for late answer.
Does it work? I don't remember how much it took to flash tbh
Click to expand...
Click to collapse
yes, after various attempts: after flashing .236 I had to disconect and reconnect the phone in order to flash openbootloader; otherwise it doens't flash
thank you for these tutorials..I now have a rooted z1compact lollipop 5.11 locked bootloaders..My question is how can I debloat my phone..I want to uninstall other system apps that I don't need and I want to install xposed on my own..sorry I am newbie
xjhayar09 said:
thank you for these tutorials..I now have a rooted z1compact lollipop 5.11 locked bootloaders..My question is how can I debloat my phone..I want to uninstall other system apps that I don't need and I want to install xposed on my own..sorry I am newbie
Click to expand...
Click to collapse
You can download Titanium backup from playstore and delete all that you dont need and keep what you nees. Also you can find twrp flashable script that deletes all bloatware. Just sreach xperia lolipop debloat script on xda.

Categories

Resources