[Reference:] All Things XPERIA; Debranding; Rooting & More... - Sony Xperia XZ1 Compact Guides, News, & Discussion

The purpose of this thread is designed to help you unlock the full potential of your new Phone and as most XPERIAs are similar in the way you modify them this is wrote as a general reference and suited more for 2016/17 devices. You can find a reference thread for older XPERIA devices HERE.
The process of tinkering with any Device can seem a like a daunting process but it's really quite simple, so long as you read EVERY WORD of a thread describing how to modify your Phone you won't go far wrong.​The things covered in this thread and in the general order of modifying a new XPERIA are...
SIM Unlocking
The Flashtool, Updating, Unbricking & De-Branding
DRM/TA.img Backup
Fastboot, Bootloader Unlocking/relocking
TWRP Recovery
DRM/TA.img Restore
Rooting
Modifying & Theming
...that will help you achieve your desired end result.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SIM Unlocking:
NOTE: The ONLY WAY to Sim Unlock your Phone is to buy it SIM-Free or PAY for it, so do some Googling and read which services have been recommended in the past. O2 Contract Users however can use this FORM to request an unlock code.
The Flashtool, Updating, Unbricking & De-Branding:
pbarrette said:
1] Flashtool doesn't work with the XZ1c. So stop trying to use it.
- Use newflasher instead.
- Newflasher doesn't use FTF files. It uses the files directly as downloaded by XperiFirm
- READ the newflasher instructions.
2] To put the phone in bootloader mode, you have to:
- Turn it off.
- Hold Vol-
- Plug phone into computer.
- In that order.
3] All of this information is available by searching the XZ1c forums. So I suggest you do a lot more reading before trying to flash your phone, because otherwise you're guaranteed to break something.
Click to expand...
Click to collapse
The Flashtool is simply what it says on the tin, it's a flashtool that flashes Firmware to your device in a similar manner as SEUS or PC Companion does and this is generally the preferred method for updating or repairing a device.
You can also use the Flashtool to flash a Generic .ftf which will remove any Operator Branding from any device...
You can find firmware files in your devices section or you can use XperiFirm by @IgorEisberg which is built in to and works along side the flashtool to download and flash firmware to your device..
There is also an Official Sony Flash Tool for certain devices with unlocked bootloaders.
- Official Sony Flash Tool..
Further reading:
How to install Flashtool on Ubuntu
Newflasher (xperia command line flasher for 2017 devices)
[GUIDE] Recover 2012 and newer XPERIAs from SOFT-brick
DRM/TA.img Backup:
NOTE: To root newer versions of Android you HAVE to unlock the bootloader, no ifs, buts or maybes unfortunately. Before doing so we need to back up our DRM keys that we can restore them later if we don't want to lose a few features, because they will be lost in the process of unlocking the bootloader and there is no getting them back if you don't back them up. Unfortunately the tool required to backup our DRM keys doesn't work on Nougat so downgrading to Marshmallow is required, but you can simply use the flashtool for that.
Once you've downgraded then you need Universal (Dirtycow-based) TA Backup v2 by @rayman to backup your DRM keys. Backing up isn't essential if you don't want but you are strongly advised to, you have been warned!
Further reading:
[TOOL] Backup TA for Mac OS X [v1.4][2015-05-13]
[REMAKE][UNMAINTAINED][TOOL][LB][ROOT] Backup TA v9.11 for Linux
[UNMAINTAINED][TOOL][LB][ROOT] Backup TA v9.11 for Windows [20140615]
Fastboot, Bootloader Unlocking/Relocking:
You can find a great Guide HERE that will show you how to use Fastboot which is the method used for working with the bootloader. There is one way to Unlock yours, using the Official method (For SimFree/Un-Branded Phones) which is explained HERE, but PLEASE NOTE! - If your Phone came from a Carrier then chances are (99%) you won't be able to unlock. There is a simple method of checking if you can or not which you'll find HERE.
The stock bootloader on most Android phones is set up to run a signature check on any update file you attempt to flash to your NAND internal memory. So if you were to take a stock Android phone purchased from a carrier, and try to install a custom ROM on it, you'd get nowhere fast. Even after rooting, you still need to get access to the bootloader. Basically, unlocking the bootloader lets you install unsigned ROMs, like CyanogenMod.​- Know Your Android Bootloader - What it is and Why it Matters
[Tutorial] Relock bootloader!
[GUIDE] Lock/Unlock/Relock Bootloader Using TWRP With DRM keys
Further reading:
[HOW-TO]Set up Android SDK/ADB/Fastboot on Ubuntu Linux
[GUIDE] Set up ADB and Fastboot on a Mac easily (With Screenshots!)
[miniTUT][WIN10]Installing ADB Drivers for Sony Devices on Windows
Fastboot & Flashboot ADB Driver installation on Windows 8 Guide for Sony Xperia Users
TWRP Recovery:
See your devices section for TWRP recovery support.
An essential tool for anybody that loves to modify their Android device is a good custom recovery. TWRP has been around since the invention of the wheel back in 1996 and has been providing modders with all kinds of great tools. If you’re wondering how to get TWRP on your device this guide should help you with that. I’ll also go over all of the basic functions of the recovery and what they can be used for.​- How To Install TWRP Recovery
DRM/TA.img Restore:
If you backed up your DRM Keys/TA.img then you have a couple of options to restore them.
We can use PoC...
First of all this tool fully replaces DRM fix! So do not use our tool with DRM fix!!! I'm going to explain what is this, how it working. Everybody know what drm fix doing and everybody know whats happening when bootloader is unlocked. Ok. This PoC is designed for unlocked devices and makes things identical to having bootloader never unlocked! Which mean this is for peoples who have backup of the trim area BEFORE unlocking bootloader! This PoC mounts your trim area backup (TA.img) to the kernel loop5 device which makes your trim area like real trim area partition (in our case it mounts your backup TA.img and uses it instead of unlocked trim area partition) so everything after android boot up is like having locked bootloader which mean all drm keys, widevine keys and etc is fully functional! And most better thing, we can use PoC with AOSP, CM or whatever for having trim area fully functional!!!
Do in mind this is for stock roms only! Only nougat and marshmallow by now, some of before marshmallow too.
Click to expand...
Click to collapse
- [PoC][Work in progress] Trim Area Proof Of Concept by @munjeni
Or we can use the Root kernel tool...
This tool repacks an existing kernel package (usually the stock kernel) in order to make it rootable and adds TWRP recovery as well. Version 4 has been succesfully tested with LP and MM.
In particular it adresses the following issues:
DM-Verity: Android is now using dm-verity to verfy the integrity of the system partition. Until you switch it off your phone won't boot after modifying /system
SONY RIC: RIC is blocking the write access to the system partition
DRM Keys: After unlocking the bootloader your device key is wiped, which deactivates some functionaliy. E.g. x-reality, denoise in camera aso.
Click to expand...
Click to collapse
- [ROOT][Kernel][TWRP] repack of the stock kernel with dm-verity and SONY RIC off by @tobias.waldvogel.
Further reading:
CONFIRMATION OF TA RESTORE!
[Z~Z5 Series][EXRxTHS]SONY DRM FUNCTION RESTORATION FOR UB DEVICE | Z3 lines support!
Extracting A 'boot.img' From An FTF
[TOOL] UnSIN ~ SIN v3/v4 Unpacker
[TOOL][Windows,Linux,Android] Unpack any format of the Sony image
Rooting:
When you root your phone, you gain “superuser” privileges to the Android operating system. When you are using a stock device, you have the equivalent of “guest” privileges. If you are familiar with any Linux operating system, you know that the superuser privilege allows you to gain access to administrative rights. This level of access gets you down to the nitty gritty of the OS with no restrictions, lets you make changes to the system, and run scripts that would normally be blocked with a standard user account.​ - What is rooting and why should I do it? The pros & cons of Android rooting
Further reading:
SuperSU v2.82 SR2 Release
[MOD] Boot Bridge for Sony ELF
phh's SuperUser/ OpenSource SELinux-capable SuperUser
[2017.7.20] Magisk v13.3 - Root & Universal Systemless Interface [Android 5.0+]
PRFCreator - easily create pre-rooted firmwares
[ROOT] [STOCK] [TWRP] Root Stock Firmware of Any Modern Sony Device
[GUIDE]How to make a rooted flashable rom from ftf file[FOR ALL XPERIA PHONES]
Modifying & Theming:
There are a few ways to theme an XPERIA device, use the Apktool method or we now have Sonys Official Theme Creator to create themes. Check out Substratum too.
Further reading:
[Info:] XPERIA Theming Resource Thread
[Guide:] The Definitive APK Modding & Theming Thread
?All System Apps And Details [15/12/2012]?
[MM/N] [UB] [COMBINED] System/OEM Debloat Script
[Guide] Ultimate RAM and Battery management for All Rooted Xperia Devices
[MOD][GUIDE]Remove Signature Verification for all devices
[Guide][SuperUserMOD] disable signature verification nougat/MM
Create a personalized ROM yourself!
How to build a Linux kernel and flash it to the phone
How to get & read a logcat/ Troubleshoot your own issues!
How to Flash boot.img / kernel.elf / kernel.sin using flashtool
[MOD] XperiaMultiROM - MultiROM for Sony Xperia devices
[DEV]Chroot-Linux on Xperia Devices Locked/Unlocked Bootloaders(Debian,Ubuntu,BT5up)

Will their be any any way to get the fingerprint sensor active in the US AND retain volte on T-Mobile?

km8j said:
Will their be any any way to get the fingerprint sensor active in the US AND retain volte on T-Mobile?
Click to expand...
Click to collapse
Until it's released it's a guessing game.

Flashtool can be used on xz1 compact?

munjeni said:
Flashtool can be used on xz1 compact?
Click to expand...
Click to collapse
Hi,
I have exactly the same question ...
I bought a XZ1C with a Generic UK/HK rom and i would like to flash the latest French Generic rom. I tried many different version of FlashTool but no success to flash it. I used XperiFirm, i got the .ftf file but in devices directory, it seemed to miss the G8441 directory with the 2 files needed for the XZ1C be recognised by FlashTool.
47.1.fsc and G8441.properties are both missing. I think that's why the phone is not saw by FlashTool and also the ftf file ...
How to correct that issue ?

Same question here to.

munjeni said:
Flashtool can be used on xz1 compact?
Click to expand...
Click to collapse
zegoo said:
Hi,
I have exactly the same question ...
I bought a XZ1C with a Generic UK/HK rom and i would like to flash the latest French Generic rom. I tried many different version of FlashTool but no success to flash it. I used XperiFirm, i got the .ftf file but in devices directory, it seemed to miss the G8441 directory with the 2 files needed for the XZ1C be recognised by FlashTool.
47.1.fsc and G8441.properties are both missing. I think that's why the phone is not saw by FlashTool and also the ftf file ...
How to correct that issue ?
Click to expand...
Click to collapse
KeePeeR26 said:
Same question here to.
Click to expand...
Click to collapse
Answered here by @pbarrette

mhaha said:
Answered here by @pbarrette
Click to expand...
Click to collapse
Well, to be fair, munjeni was making a commentary on the fact that the main post still lists Flashtool when he is quite well aware that it doesn't work for 2017 Sony devices.
That's precisely why he developed the newflasher tool.

pbarrette said:
Well, to be fair, munjeni was making a commentary on the fact that the main post still lists Flashtool when he is quite well aware that it doesn't work for 2017 Sony devices.
That's precisely why he developed the newflasher tool.
Click to expand...
Click to collapse
In hindsight, that seems obvious since he's the developer of newflasher (sorry for overlooking), but in my defense, without further context it was difficult to interpret it that way.
On face value, it appears to be a simple question of asking whether flashtool supports XZ1C.
Nevertheless, I apologize for my mistake, and thank you for pointing it out.

I apologize beforehand if the question is stupid, but how to downgrade Oreo to Marshmallow (MM) on an XZ1c device (G8441). I ask this because I can not find any MM firmware for this device (which was already released with a version of Android 8.0).

t-wolf said:
I apologize beforehand if the question is stupid, but how to downgrade Oreo to Marshmallow (MM) on an XZ1c device (G8441). I ask this because I can not find any MM firmware for this device (which was already released with a version of Android 8.0).
Click to expand...
Click to collapse
You've already answered yourself. This phone shipped with Oreo - there is no MM firmware, which is at least two generations old. You won't find any Nougat firmware either, with the sole exception of building your own AOSP, for which Sony did release Nougat binary. But I'd advise against doing that, it's not meant for normal users.

mhaha said:
You've already answered yourself. This phone shipped with Oreo - there is no MM firmware
Click to expand...
Click to collapse
it seems there's a typo in the op, then. He accidentally said
SXUsr said:
DRM/TA.img Backup:
NOTE: To root newer versions of Android you HAVE to unlock the bootloader, no ifs, buts or maybes unfortunately. Before doing so we need to back up our DRM keys that we can restore them later if we don't want to lose a few features, because they will be lost in the process of unlocking the bootloader and there is no getting them back if you don't back them up. Unfortunately the tool required to backup our DRM keys doesn't work on Nougat so downgrading to Marshmallow is required, but you can simply use the flashtool for that.
Once you've downgraded then...
Click to expand...
Click to collapse
When he meant to say that "you cannot backup the TA.img on these devices."

No, it wasn't a typo. Actually, it was more that the OP copy/pasted/compiled information from older Xperia devices on the assumption that all Xperias are similar. (They're not really)
It's even stated in the first sentence that it was written as a general reference based on his older reference guide, which is by smartphone standards simply ancient.
In fact, this thread was posted before the XZ1 Compact was even released. There was no way anyone could have already had rooting/debranding/modding guides for an unreleased phone.
It was clear from the beginning that it was not a model specific guide, and soon after the XZ1 Compact was actually released, it quickly became apparent that most of the information in this post is outdated and no longer valid for our phone.
I'm sure the OP had good intentions in posting this back then, but without advanced knowledge of what the actual retail unit is like, it was a pretty big risk, and unfortunately the reality is that one would instead be largely misinformed by this guide rather than obtain helpful guidance.

mhaha said:
I'm sure the OP had good intentions in posting this back then, but without advanced knowledge of what the actual retail unit is like, it was a pretty big risk, and unfortunately the reality is that one would instead be largely misinformed by this guide rather than obtain helpful guidance.
Click to expand...
Click to collapse
Damn, I've been hunting for a MM ROM for a while. This post should be flagged as outdated / inaccurate.

Related

[Jailbreak]Take Note Verizon - Root/Jailbreak/Recovery

Update: this will not work on the recent firmware updates.
Hey, you can't jailbreak an Android.. yeah, i know, but "Jailbreak" is a protected act under the USA DMCA Exemption of 2012 and "Unlocking" is illegal without carrier permission. There will be no misunderstandings here.
WARNING:
This is not a normal bootloader unlock. This is even higher. It's an IROM unlock. This device went from the most secure Galaxy Note 10.1 to the least secure. After performing the technique in this thread your device will allow you to flash a Justin Beiber MP3 over your bootloaders (that means a hard brick). BE VERY CAREFUL and never flash with Odin or Heimdall unless you're absolutely sure it is intended for a SCH-I925. Odin or Heimdall can easily brick your device.
Introduction
CASUAL will guide you through the process of unlocking your bootloader using exploits developed by Lee Harrison. It works on Windows, Linux, and Mac. Put your device into “Developer Mode>USB Debugging”. Click the do it button. Any problems will be addressed with updates. See the About CASUAL section below.
Overview
You are expected to be STOCK.... Stock anything, but stock. This will install a stock kernel and that may affect non-stock roms. You will need to download and execute the CASUAL application below. Make sure you're connected to the internet. Then click the Do It! button. You need Java. Do you have Java?.
Windows 32/64 Users: CASUAL will put your device into Download Mode. It will automatically flash everything. If drivers are required, jrloper's CADI (CASUAL Automated Driver installer) will handle it. Make sure you're connected to the internet.
Linux 32/64/raspberry pi Users There may be a permission escalation in order to install heimdall, either way sit back and relax. CASUAL automates the entire process.
Please run the following in a terminal first:
Mac Users: Mac works easierr than any other system at the time of this release on 32bit systems. Please report problems.
Download
Take Note Verizon CASUAL(R478b) CASUAL is used to automate the process. The exploit was developed by Elite Recognized Developer Ralekdev and packaged by AdamOutler. To run CASUAL you need Java. Do you have Java?
Note: Please don't mirror this file. Link to this thread for download. d-h.st is a fast server. If I find people mirroring old versions of CASUAL, i will throw the killswitch and their browser will bring them back here to download the new one so they end up downloading it twice, otherwise I have to support multiple versions.
Videos
Demonstration on Linux. It is roughlty the same on Windows and Mac, but if anyone wants to make a video I will put it here.
About CASUAL
CASUAL stands for Cross-platform ADB Scripting, Univeral Android Loader. CASUAL jar files are a wrapper for the CASUAL scripting language. CASUAL allows rapid and accurate deployment of hacks and exploits. CASUAL is an Open Format, meaning, you can find out as much as you need to about how it works because they're easily taken apart and modified with WinZip. CASUAL is also secure. At any time, if a serious problem is detected with any script, the kill-switch will be flipped and you will be brought to a support page (most likely here) so you can download the latest version. Otherwise for minor corrections, new CASUAL scripts can be deployed remotely.
Here's a picture of CASUAL and a Verizon GNote10.1 running Team Win Recovery
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Change Log
3May13: Initial Release
6May13: Updated Recovery to support Internal SD. -R478b
This unlock was basically identical to the second Galaxy Note 2 unlock except I had to add a few more tweaks because we're shoving a modified N8010 bootloader onto the i925.
great work guys as usual! you guys never cease to amaze me
Does this install the same TWRP version as Dees-Troy is working on in this forum? Just curious because that one is pretty rough with touch issues and it would be great to have a more functional one. I have the 8013...
Sent from my note 2
I have the U.S. Cellular i925u. Is there anyway to get this to work. I'm not interested in keeping the 4g capability. I'm ok with using WiFi only. I tried using the Casual install but it failed.
JasonGeiger said:
Does this install the same TWRP version as Dees-Troy is working on in this forum? Just curious because that one is pretty rough with touch issues and it would be great to have a more functional one. I have the 8013...
Sent from my note 2
Click to expand...
Click to collapse
This was packaged from the TWRP nightly released last night.
pro_b said:
I have the U.S. Cellular i925u. Is there anyway to get this to work. I'm not interested in keeping the 4g capability. I'm ok with using WiFi only. I tried using the Casual install but it failed.
Click to expand...
Click to collapse
CASUAL will let you root, but it won't install files that will damage your device. Even if it would, it's a bad idea. This is an IROM unlock, intended for Verizon devices only. IROM unlock means you can flash anything you want including files that destory your device.
You don't need this if you can flash custom kernels and ROMs. We have taken down all defenses here. If the U.S. Cellular version is locked down and you cant flash kernels/ROMs without it, I can release a new, updated version.
beanstown106 said:
great work guys as usual! you guys never cease to amaze me
Click to expand...
Click to collapse
This is so awesome man. Great stuff, beans is right, you guys really never cease to amaze. Now I need jellybeans Rom on my jail broken note 10.1. Ahem..................... I think we know who I'm talking to.
Sent from my HTC6435LVW using Tapatalk 2
AdamOutler said:
This was packaged from the TWRP nightly released last night.
CASUAL will let you root, but it won't install files that will damage your device. Even if it would, it's a bad idea. This is an IROM unlock, intended for Verizon devices only. IROM unlock means you can flash anything you want including files that destory your device.
You don't need this if you can flash custom kernels and ROMs. We have taken down all defenses here. If the U.S. Cellular version is locked down and you cant flash kernels/ROMs without it, I can release a new, updated version.
Click to expand...
Click to collapse
Thanks Sir. The U.S. Cellular version is locked down like the Verizon version as far as I can tell. Since the US Carriers decided to do the same crap with the bootloaders. I have root using framaroot but I'm unable to install a recovery or flash a kernel.
pro_b said:
Thanks Sir. The U.S. Cellular version is locked down like the Verizon version as far as I can tell. Since the US Carriers decided to do the same crap with the bootloaders. I have root using framaroot but I'm unable to install a recovery or flash a kernel.
Click to expand...
Click to collapse
Hit me up on an email with the output of terminal emulator command "cat /system/build.prop"
Update: rebooted windows 8 and the install went through fine.
Adam,
So here is what I am seeing, see the pictures attached
Alright guys. I'm uploading two new packages....
The first one is the latest copy of the Take Note Verizon jailbreak. It includes a modified Recovery by Dees_Troy. Our Note 10.1's are different than the other ones.
Differences: The partition structure is totally different. The kernels are totally different. This means you will soft-brick your device by flashing anything in these forums involving a recovery or a kernel other than this one. That being said..... It may be a good idea to get a separate forum. If you are interested, please start a *NEW THREAD* in General forums listing all the i925 specific threads which could be moved.
Alright. For the second part, I'm uploading a Rooted back-to-stock which I packaged from my own device before unlocking it and flashing stuff. Here's the technique used. http://forum.xda-developers.com/showthread.php?t=2082951 . This file is large so it will be a while before it's uploaded. The files included are basically everything needed to safely get back from a custom ROM and be rooted stock again.
Files included: boot.img, hidden.img, modem.bin, param.bin, recovery.img, system.img
We don't have a way to remove the modified system status currently. There is no completely back to stock.
AdamOutler said:
Alright guys. I'm uploading two new packages....
The first one is the latest copy of the Take Note Verizon jailbreak. It includes a modified Recovery by Dees_Troy. Our Note 10.1's are different than the other ones.
Differences: The partition structure is totally different. The kernels are totally different. This means you will soft-brick your device by flashing anything in these forums involving a recovery or a kernel other than this one. That being said..... It may be a good idea to get a separate forum. If you are interested, please start a *NEW THREAD* in General forums listing all the i925 specific threads which could be moved.
Alright. For the second part, I'm uploading a Rooted back-to-stock which I packaged from my own device before unlocking it and flashing stuff. Here's the technique used. http://forum.xda-developers.com/showthread.php?t=2082951 . This file is large so it will be a while before it's uploaded. The files included are basically everything needed to safely get back from a custom ROM and be rooted stock again.
Files included: boot.img, hidden.img, modem.bin, param.bin, recovery.img, system.img
We don't have a way to remove the modified system status currently. There is no completely back to stock.
Click to expand...
Click to collapse
Looking forward to trying this
So does N8010 boot loader mean N8010 ROMs or no...
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
DJsCrIBbLe said:
So does N8010 boot loader mean N8010 ROMs or no...
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
no. The hardware is different. The bootloaders are similar. You need a different kernel
As a note: Never flash an N8010 bootloader. this is a SPECIAL bootloader based on the N8010 bootloader. Just pretend it has nothing to do with N8010. For all practical purposes, this is an I925 bootloader we crafted out of an N8010 because we didn't have a i925 to work with.
Ok thanks, mostly just curious as i own the N8013 but considered the verizon version or selling and getting the unlocked international.
Thanks a ton Adam! Worked perfectly.
So if I have this correctly, we will be running stock until we get a dev to start working on our variant? I would assume that the other roms wouldn't install correctly with the partitions being different correct?
*Madmoose* said:
Thanks a ton Adam! Worked perfectly.
So if I have this correctly, we will be running stock until we get a dev to start working on our variant? I would assume that the other roms wouldn't install correctly with the partitions being different correct?
Click to expand...
Click to collapse
Yeah... don't flash nothin' or you will die. . We need a ROM dev.
Great work Adam, almost sent you a PM begging you to take this project on about 6 weeks ago... thanks!
But I had some problem as I ran the script, it stopped after it had rebooted and was stuck in Download Mode and asked me for my XDA username for some pastebin. The last information in that pastebin was:
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
ERROR: Protocol initialisation failed!
Releasing device interface...
[ERROR]
[Heimdall Error Report] Detected:
Heimdall failed to initialize protocol; Script halted
[/Heimdall Error Report]
[DEBUG]HALT RECEIVED
[DEBUG]Finishing remaining commands:$SENDLOG
[DEBUG]Sendlog Command Issued!
No remaining commands
[DEBUG]Pastebin Login Successful
Click to expand...
Click to collapse
After unpluging and holding the power down for a few secs it rebooted as usually, but I dont know if it completed or not... how do I know if the bootloader got unlocked?
If you would like to see the pastebin then I'd be glad to be able to help, just let me know.
Thanks again,
Snarlster said:
Great work Adam, almost sent you a PM begging you to take this project on about 6 weeks ago... thanks!
But I had some problem as I ran the script, it stopped after it had rebooted and was stuck in Download Mode and asked me for my XDA username for some pastebin. The last information in that pastebin was:
After unpluging and holding the power down for a few secs it rebooted as usually, but I dont know if it completed or not... how do I know if the bootloader got unlocked?
If you would like to see the pastebin then I'd be glad to be able to help, just let me know.
Thanks again,
Click to expand...
Click to collapse
Use a different usb cable and port on your computer. There is a problem with the communications.

Flashtool 0.9.13.0

This is the latest Flashtool 0.9.13.0:
Download here:Mod edit - link removed
Flashtool is a S1 flashing software that works for all Sony phones from X10 to Xperia Z Ultra. They all use the S1 protocol for flashing firmwares.
This program was originally made to flash sin files downloaded by SEUS or PCC. From time to time, sin files have been bundled into what is now well known FTF (Flash Tool Firmwares). That is the core of Flashtool and the reason of its name.
Flashtool can also easily unlock the bootloader of the phone using the BLU icon as far as the bootloader of your phone is unlockable
The flashing feature as well as bootloader unlock feature are available whatever the phone is recognized or not by the application. What is only mandatory for flashing is to own the FTF file according to the device you want to flash it on.
Why should I use flashtool ?
Once bootloader unlocked, official sony tools do not work anymore.
Using official sony tools, you can only upgrade. No downgrade possible.
Using flashtool, you can choose what to flash and what not to flash. This said, many rooting scenarios are available implying kernel only downgrade to retrieve a patched rooting exploit and then flash back the right kernel.
You said unlocking bootloader ?
This process gives you the opportunity to flash custom roms such as CyanogenMod ROMs.
I invite you to visit the FXP Project that brings CM to xperia devices.
Many other features have been built-in so that Flashtool can also be used to (as far as the phone is recognized by Flashtool) :
Root your phone
Install recovery, busybox, custom kernels
Clean your rom (remove /system/apps apps of your choice) (Be careful, unless you really know what you do, do not modify the default list. This can make your phone stuck at the SE Logo)
Clear dalvik cache
Optimize (install of JIT v2) (plugin for 2.1 phones only from 2010 line)
Customize (installs apps found in the custom/apps folder of the flashtool)
Edit any text file on the device
Rebrand your device
So... is there any chance of rooting Z1 with this new flashtool?
Guys you better don't download tools in other places than the authors sources...
http://www.flashtool.net/
pdaaalex said:
So... is there any chance of rooting Z1 with this new flashtool?
Click to expand...
Click to collapse
That's not new - it's out for some time and even it's nice it's shared here I really can't see the reason of doing that...
If you add something or it's your somehow then O.K or if developer asked you do post it here...
Sent from my C6903 using Tapatalk
Thread closed for the following rule violations:
12. Using the work of others.
If you are developing something that is based on the work of another Member, you MUST first seek their permission and you must give credit to the member whose work you used. If a dispute occurs about who developed / created a piece of work, first try to settle the matter by private message and NOT in open forum. If this fails, you may then contact a Moderator and provide clear evidence that the work was created by you.
Convincing evidence will result in the copied work being removed. If there is no clear evidence that it was you who created the work, then in the spirit of sharing, all work will remain posted on the forums.
As an addition, developers have the right to hold exclusivity over their work for as long as it is deemed necessary by that developer. However, if the work is claimed as exclusive, it must remain as such. No selective sharing will be allowed (ie, allowing certain people to use it and not others). Should the developer decide to start sharing the work with others, the work automatically becomes fair game for all to use, albeit with the relative credit displayed.
In regard to permissions, the same rules apply for this but if permission was already given and unless there is a very valid reason, it cannot be revoked (same applies to major updates on the work). Under that same premise, permissions cannot be denied unless the work is exclusive or under extreme circumstances.
In plain English: If you want to keep your work exclusive, go for it. However, if you are going to share your work, do it fairly.
These rules apply to all software posted on XDA (including but not limited to ROMs, RUUs, apps, games, kernels, themes, icons, etc) unless that software comes with a license that waives these rules.
Click to expand...
Click to collapse
13. Advertising and Income Generation
Commercial advertising, advertising referral links, pay-per-click links and other income generating methods are forbidden. Do not use XDA-Developers as a means to make money.
Click to expand...
Click to collapse

[Q] I want to dload the latest KitKat 14.3.A.0.757 for Xperia Z1 Cmpct & ROOT it!

I am currently using build 14.3.A.0.681 on Xperia Z1 Compact. As we all know this iteration has some bugs which I am currently observing. e.g. playing sounds will suddenly disappear and will be playing inside the PHONE INTERNAL SPEAKER (used for call listening), Battery Drains...
I have been thoroughly searching for KitKat 14.3.A.0.757 rooting guide for Xperia Z1 Series but unable to find any on the web. All demand Unlocking bootloader and loading that DOOMLORD tainted ftf file which i Dont want to do... If there is any proper way to make it ROOT without UNLOCKING BOOTLOADER please kindly guide me through as I want the update ASAP. All of the tips and suggestions will be appreciated wholeheartedly...
Thanks to all.....:highfive:
noob_coder said:
I am currently using build 14.3.A.0.681 on Xperia Z1 Compact. As we all know this iteration has some bugs which I am currently observing. e.g. playing sounds will suddenly disappear and will be playing inside the PHONE INTERNAL SPEAKER (used for call listening), Battery Drains...
I have been thoroughly searching for KitKat 14.3.A.0.757 rooting guide for Xperia Z1 Series but unable to find any on the web. All demand Unlocking bootloader and loading that DOOMLORD tainted ftf file which i Dont want to do... If there is any proper way to make it ROOT without UNLOCKING BOOTLOADER please kindly guide me through as I want the update ASAP. All of the tips and suggestions will be appreciated wholeheartedly...
Thanks to all.....:highfive:
Click to expand...
Click to collapse
follow the Rooting (first) part of this guide, and you'll get what you're looking for:
[GUIDE] Back up DRM Keys & unlock/relock Bootloader (Noob proof)
omarainea said:
follow the Rooting (first) part of this guide, and you'll get what you're looking for:
[GUIDE] Back up DRM Keys & unlock/relock Bootloader (Noob proof)
Click to expand...
Click to collapse
First of all thanks to you for your kind suggestion. For your knowledge, I rooted my current 14.3.A.0.681 Build through this same TUTORIAL and let me tell you why I have some problems there.
1- I dont see anywhere clearly written ROOT your build number 14.3.A.0.757 in this whole tutorial.
2- When I use this FLASHTOOL for some crazy reason it doesn't even show me THE LOCK/UNLOCK ICON as USABLE (non-faded).. Its always faded even the device is turned on and/or in FLASHMODE.
So if you'll be gentle enough to elaborate even more about this tutorial that how can I unlock BOOTLOADER even if I would like to *which I doubt I would* and secondly how to ROOT THE LATEST BUILD 14.3.A.0.757 because I badly want this latest update...
thank you once again.:good:
Root here: http://forum.xda-developers.com/showthread.php?t=2642081 after that you'll be on rooted 14.3.A.0.681 UK.
Upgrade with http://forum.xda-developers.com/showthread.php?t=2688933 to rooted 14.3.A.0.757
zxz0O0 said:
Root here: http://forum.xda-developers.com/showthread.php?t=2642081 after that you'll be on rooted 14.3.A.0.681 UK.
Upgrade with http://forum.xda-developers.com/showthread.php?t=2688933 to rooted 14.3.A.0.757
Click to expand...
Click to collapse
Thank you, zxz0O0. I am much obliged!

Want a LBL Lollipop root method for the Xperia ZL? Keep reading.

Hi all!
I'm happy to say that, thanks to iovyroot, and with a lot of help from zxz0O0, we managed to create a new root tool for the Xperia M2, EagleRootTool, meaning we don't actually need to use Kingroot anymore to root LBL devices under latest Lollipop firmware :victory:
However, since this root binary is compatible with (probably) any kernel built before December 2015, I thought of making the tool compatible with some other devices, like your ZL, since it's actually very similar to my device.
Unfortunately, since this tool's based on some kernel-specific addresses, to make it compatible with other devices like the ZL, I need them from every single variant.
I'm going to take for reference all models and firmware build numbers from XperiFirm.
WHAT YOU NEED:
- An already rooted device in 10.7.A.0.228 (10.7.A.0.222 might be compatible too) (it doesn't matter if it was rooted by Kingroot, or via UBL methods).
- A little of Android general knowledge: Usage of ADB (mainly).
- Patience.
DEVICES:
- C6503
- C6506
- C6502
HOW TO DO IT?:
Just open an ADB prompt and run a shell in it. Then, run the following commands, replacing the *location with storage/sdcard1 if you want to use your SD Card, or with data/media/0 if you want to use the internal memory.
Code:
su
cat /proc/version > /[COLOR="Purple"]*[/COLOR][COLOR="red"]location[/COLOR]/version.txt
echo 1 > /proc/sys/kernel/kptr_restrict
cat /proc/kallsyms > /[COLOR="Purple"]*[/COLOR][COLOR="red"]location[/COLOR]/kallsyms.txt
(remember to hit enter after each line of the above :silly
Now upload those two files (version.txt & kallsyms.txt) wherever you want, or attach them in your comment, saying which model they're from, and I'll add the required offsets to support your device manually!
________________________
DISCLAIMER: This is NOT a placeholder NOR Spam thread. I just want to help this device users to get them supported in a common Lollipop Xperia rooting toolkit, since this device won't get Marshmallow, and has a compatible kernel. If you, moderator or user, decide to close/report this thread, I may understand it, but think it twice before doing it.
@linuxct, Sorry, I'm a bit late to the party.
Xperia ZL C6502
Lollipop 5.1.1
Build 10.7.A.0.222
I do have an C6506, but unrooted. Did you have any chance integrating these yet?
anagramgenius said:
@linuxct, Sorry, I'm a bit late to the party.
Xperia ZL C6502
Lollipop 5.1.1
Build 10.7.A.0.222
Click to expand...
Click to collapse
Ramsesthedam said:
I do have an C6506, but unrooted. Did you have any chance integrating these yet?
Click to expand...
Click to collapse
I can't integrate it - all of the data sections in the kallsyms are missing in the provided symbol table. As you can see, only T and R sections are available, and I've no idea why. Getting it from another device would result in exactly the same problem. I am currently investigating it.
Double post
linuxct said:
I can't integrate it - all of the data sections in the kallsyms are missing in the provided symbol table. As you can see, only T and R sections are available, and I've no idea why. Getting it from another device would result in exactly the same problem. I am currently investigating it.
Click to expand...
Click to collapse
Damn, I wish I could help...
What would be my second best option to root this, Kingroot? Sounds fishy to me...
Just make a PRErooted rom
linuxct said:
I can't integrate it - all of the data sections in the kallsyms are missing in the provided symbol table. As you can see, only T and R sections are available, and I've no idea why. Getting it from another device would result in exactly the same problem. I am currently investigating it.
Click to expand...
Click to collapse
Anything new on this linuxct?
Ok, made it.
Rooted my Xperia zl C6506
Still LBL
Made a pre rooted rom
Under LP 5.1.1
Now, I know nothing about adb prompts, installed android studio but didn't find any prompt
Tell me what to use and I'll provide the files
sorry but....
how can I open an ADB prompt?

Does it work for rooting Z5 Premium????

Good morning All,
I am so new to Sony. Saw this method while searching. any of you been used and success??? thank you
http://www.androidinfotech.com/2016/07/root-sony-xperia-z5-premium-e6853-60.html
ongxa said:
Good morning All,
I am so new to Sony. Saw this method while searching. any of you been used and success??? thank you
http://www.androidinfotech.com/2016/07/root-sony-xperia-z5-premium-e6853-60.html
Click to expand...
Click to collapse
Try it out and let us know.
Sent from my SGP311 using XDA Free mobile app
DON'T DO IT! Be careful.
From what I can see, they want you to unlock your bootloader, which is nothing special and the preferred (only one) root method, mentioned here...
You should think about backing up your DRM-Keys first by using this method
the_brad said:
DON'T DO IT! Be careful.
From what I can see, they want you to unlock your bootloader, which is nothing special and the preferred (only one) root method, mentioned here...
You should think about backing up your DRM-Keys first by using this method
Click to expand...
Click to collapse
thank you for your reply, bro.
Funny, how people are looking to root their device but re-think about rooting it. Don't even think of rooting your phone if you're unsure about what you're doing. Might as well just buy an iPhone and forget about modding your phone to its full potential.
Seriously, I don't even give a damn about warranty and DRM keys. I bought the phone, and it's mine. I should have full control over it and modify it as I want, say unlock the bootloader or whatever it is, hey it's my money well spent why should I care less... The only problem that will come in is when you put your Z5 premium dual into water and it starts to evaporate on your camera lense then you should send it to Sony for warranty or just send to any mobile phone shop and spend some money. Come on the moment your warranty is over, your phone will become obsolete, Z7 will come in hand.
Edit: Anyway, enough random rant. If you still wanna root your phone check this out for the DUAL variant... http://forum.xda-developers.com/z5-premium/general/complete-noob-friendly-guide-to-t3426220
ongxa said:
Good morning All,
I am so new to Sony. Saw this method while searching. any of you been used and success??? thank you
http://www.androidinfotech.com/2016/07/root-sony-xperia-z5-premium-e6853-60.html
Click to expand...
Click to collapse
before rooting please tell what is your Z5p
1. version E6xxx
2. what is your stock build number (last three digits) .170 ?
3. do u know rooting? and its risks and its privileges ?
now,
if you are having SONY z5 (z5p) (any variant) with LOLLYPOP rom ( sony version ending with .170 )
there is simple way to
1. ROOT
2. and backup your DRM KEYS
kingroot can root androild 5.1.1 (32.0.A.6.170) (many says kingroot is unsafe and it takes device info to china servers) ( so they might be true)
once you have ROOTED 5.1.1 ,
download this https://github.com/DevShaft/Backup-TA/archive/v9.11.zip and take your DRM KEYS BACKUP
READ INSTRUCTIONS at
https://github.com/DevShaft/Backup-TA/releases
once backup is taken, just download and flash kernel for your variant from here
http://forum.xda-developers.com/z5-premium/general/32-1-1-185-stock-modified-kernel-t3355369
YasuHamed said:
before rooting please tell what is your Z5p
if you are having SONY z5 (z5p) (any variant) with LOLLYPOP rom ( sony version ending with .170 )
there is simple way to
1. ROOT
2. and backup your DRM KEYS
kingroot can root androild 5.1.1 (32.0.A.6.170) (many says kingroot is unsafe and it takes device info to china servers) ( so they might be true)
once you have ROOTED 5.1.1 ,
download this https://github.com/DevShaft/Backup-TA/archive/v9.11.zip and take your DRM KEYS BACKUP
Click to expand...
Click to collapse
I have a Z5P, but it's running Marshmallow (6.0.1) - is it possible to root it?
And is it possible to root it without losing all my settings and resetting everything to factory defaults?
Also, why are the DRM key backup important? What do I need them for?
Model: E6853
Version: 32.2.A.0.253
englen said:
I have a Z5P, but it's running Marshmallow (6.0.1) - is it possible to root it?
And is it possible to root it without losing all my settings and resetting everything to factory defaults?
Also, why are the DRM key backup important? What do I need them for?
Model: E6853
Version: 32.2.A.0.253
Click to expand...
Click to collapse
Q. is it possible to root z5p on 6.0.1?
A. YESSS
Q. without loosing settings data?
A. NO
Q. why?
A. because rooting z5p running on 6.0.1 / kernel 3.1x; require unlocking bootloader. and the momment u unlock you boot loader (a) your internal storage / TA Partitions gets Wiped (b) and you looks your DRM keys / FIDO Keys
Q. why do u need DRM keys?
A. frankly , have rooted fone, and i never had chance to save my keys! because you can only save yoru keys on LP kernel! and MM kerna don't have workaround! , i have kernel having DRM stimulation fixed so X-reality and camera 4k feature works fine.
DRM keys are Digital rights managment keys comes in play when Sony software running in xperia validate themselve and runs with full features!. modified kernal has drm stimulant installed so kernel still report these setting/software that keys are there (even when they arent)
Fido keys are required by Google authentication login.
having drm keys / fido keys/ backup is a PLUS point!, if you don't have . then still for me no biggy!
YasuHamed said:
Q. why do u need DRM keys?
A. frankly , have rooted fone, and i never had chance to save my keys! because you can only save yoru keys on LP kernel! and MM kerna don't have workaround! , i have kernel having DRM stimulation fixed so X-reality and camera 4k feature works fine.
DRM keys are Digital rights managment keys comes in play when Sony software running in xperia validate themselve and runs with full features!. modified kernal has drm stimulant installed so kernel still report these setting/software that keys are there (even when they arent)
Fido keys are required by Google authentication login.
Click to expand...
Click to collapse
So it won't be possible to root and run the original ROM? I guess that means I miss out on future OTA updates :-/
Seems like a lot of hassle for little gain :-/
Also it seems I probably won't choose Sony again, I feel that when I pay good money for a phone, I should be able to use it as I please. And Sony is actively trying to stop me from doing that.
ongxa said:
Good morning All,
I am so new to Sony. Saw this method while searching. any of you been used and success??? thank you
http://www.androidinfotech.com/2016/07/root-sony-xperia-z5-premium-e6853-60.html
Click to expand...
Click to collapse
the process is similar
flashing modified kernel!
i recommend using STOCK MODIFIED kernel
I ROOTED my PHONE (z5p) and i shared my personal experience STEP BY STEP
http://forum.xda-developers.com/z5-...ting-xperia-z5-z5p-variants-drm-keys-t3437902
---------- Post added at 07:39 AM ---------- Previous post was at 07:19 AM ----------
ongxa said:
Good morning All,
I am so new to Sony. Saw this method while searching. any of you been used and success??? thank you
http://www.androidinfotech.com/2016/07/root-sony-xperia-z5-premium-e6853-60.html
Click to expand...
Click to collapse
englen said:
So it won't be possible to root and run the original ROM? I guess that means I miss out on future OTA updates :-/
Seems like a lot of hassle for little gain :-/
Also it seems I probably won't choose Sony again, I feel that when I pay good money for a phone, I should be able to use it as I please. And Sony is actively trying to stop me from doing that.
Click to expand...
Click to collapse
it is Original Rom, just kernel is MODIFIED to give you root access.
- sony OTA don't check your root access it only refer to unlock/lock boot loader and push OTA. if you RELOCK your bootloader by (flashTOOL)
http://www.flashtool.net/downloads.php , your device will get OTA.
- remember after any major system OTA your root access will be gone
- All major devices Samsung / HTC / LG / SONY / Huawai has extra securities enabled from Android 6x.x making hard to break and gain root access.
- Oneplus3 , Xiomi phones and others have one click root enable feature (from developer options)
- but yes i agree, Sony went one step ahead with DRM keys. feels like making deal with devil in order to have root access. breaking sony devices is Pain in the XXXX
- I prefer rooted phones as they give you freedom to control your ram and remove bloatware.
- I also prefer xperias because they are more reliable and once rooted they get even better!
- i have rooted x5p and works like a charm (6.01 / .253)
z5p modified STOCK kernels can be found at (version .253) https://mega.nz/#F!KwZhjLIK!uNbDzR6lCXMaaW7jKFS1WQ!vogFiYiL (respects to @KbaB.BroS
how to root? my experience, how i did it? please read http://forum.xda-developers.com/z5-...ting-xperia-z5-z5p-variants-drm-keys-t3437902
cglegion said:
Funny, how people are looking to root their device but re-think about rooting it. Don't even think of rooting your phone if you're unsure about what you're doing. Might as well just buy an iPhone and forget about modding your phone to its full potential.
Seriously, I don't even give a damn about warranty and DRM keys. I bought the phone, and it's mine. I should have full control over it and modify it as I want, say unlock the bootloader or whatever it is, hey it's my money well spent why should I care less... The only problem that will come in is when you put your Z5 premium dual into water and it starts to evaporate on your camera lense then you should send it to Sony for warranty or just send to any mobile phone shop and spend some money. Come on the moment your warranty is over, your phone will become obsolete, Z7 will come in hand.
Edit: Anyway, enough random rant. If you still wanna root your phone check this out for the DUAL variant... http://forum.xda-developers.com/z5-premium/general/complete-noob-friendly-guide-to-t3426220
Click to expand...
Click to collapse
people have misconception about devices! many of my literate/ job holding friends thinks that Android is Samsung galaxy / note series ONLY! , for them if galaxy s6 is failing, S7's battery is xploding then its a failure of ANDROID!
for such people , YES i agree they shouldn't try tasting the custom cooked modded Android! , better buy iphone / lumia !
I agree with you! I bought sony , its expensive as compare to other devices! , I should hold BETTER control over my hardware than sony! its my hardware now! and i will take care of it! i know i can take care of it
... coming from proud user of 5 xperia devices (all rooted/ modded )
YasuHamed said:
Q. is it possible to root z5p on 6.0.1?
A. YESSS
Q. without loosing settings data?
A. NO
Q. why?
A. because rooting z5p running on 6.0.1 / kernel 3.1x; require unlocking bootloader. and the momment u unlock you boot loader (a) your internal storage / TA Partitions gets Wiped (b) and you looks your DRM keys / FIDO Keys
Q. why do u need DRM keys?
A. frankly , have rooted fone, and i never had chance to save my keys! because you can only save yoru keys on LP kernel! and MM kerna don't have workaround! , i have kernel having DRM stimulation fixed so X-reality and camera 4k feature works fine.
DRM keys are Digital rights managment keys comes in play when Sony software running in xperia validate themselve and runs with full features!. modified kernal has drm stimulant installed so kernel still report these setting/software that keys are there (even when they arent)
Fido keys are required by Google authentication login.
having drm keys / fido keys/ backup is a PLUS point!, if you don't have . then still for me no biggy!
Click to expand...
Click to collapse
Dear,
thanks, just to clarify: I've the Dual SIM Edition (Emirates) with 6.0.1: there is no way to have a direct rooting? I have to proceed with the downgrade first?
Regards,
sev7en said:
Dear,
thanks, just to clarify: I've the Dual SIM Edition (Emirates) with 6.0.1: there is no way to have a direct rooting? I have to proceed with the downgrade first?
Regards,
Click to expand...
Click to collapse
if you don't wana backup your drm keys, no need to downgrade just flash kernel
YasuHamed said:
if you don't wana backup your drm keys, no need to downgrade just flash kernel
Click to expand...
Click to collapse
Thank you, as I remember, when rooted the SONY devices lose / lack of feature as for quality of the camera. Did we have any side effect now?
sev7en said:
Thank you, as I remember, when rooted the SONY devices lose / lack of feature as for quality of the camera. Did we have any side effect now?
Click to expand...
Click to collapse
i have rooted z5p, the modified kernals have DRM KEYS STIMULATION
http://forum.xda-developers.com/z5-...ting-xperia-z5-z5p-variants-drm-keys-t3437902
i never had chance to backup my keys!
it works fine with me

Categories

Resources