yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] casouzaj:
This is an english written site! You could use your own language, as long as accompanied by an English translation. Anyway, the shinano devices can only be unlocked with an unlock code provided by Sony. Go to https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader, slide down, select your phone model, enter your phone's IMEI number, and store the unlock code provided. Use either Fladhtool's BLU button to unlock your phone, or a fastboot command in a terminal window to unlock it. Bear in mind that the unlocking process wipes your data, as well as your DRM keys. So, prior to unlocking it, make a backup of your TA partition.
[Xperia Z3 General] Aphex33:
Hi, will this method work for the Z3 compact tablet? Thank you.
[Xperia Z3 General] ecksdeeay:
I had to re-root mine recently and used this, you see my comment is the last in that thread.

https://xdaforums.com/z3-tablet-compact/general/how-to-rooted-lollipop-locked-bootloader-t3083980
[Xperia Z3 General] DMRtech:
@ Artricle: Pls reup, link does not work anymore (to .575 kernel we require to be able to do SGP521 exploit stuff )

@ Thread mod - pls just incorporate it to the 1st page as I can not help (got no permissions), if possible thread name change to a common Z2/Z3 thread

thx guys
[Xperia Z3 General] Dadovvv:
sorry i don't have file anymore.
[Xperia Z3 General] Aphex33:
Hi, will this method work for the Z3 Compact Tablet?, I don't feel like downgrading to acheive root. Thank you.
[Xperia Z3 General] shoey63:
No. Different kernel.
[Xperia Z3 General] Aphex33:
I would use the correct kernels for my device. Just to achieve root through the exploit.
[Xperia Z3 General] shoey63:
Not sure if it's supported. You can try, but the twrp is for z3
[Xperia Z3 General] zeshans1979:
Thanks working like a charm.......
[Xperia Z3 General] ThemGo:
No problem here with Z3TC(SGP621)
[Xperia Z3 General] Aker666:
Hi, so with this method I can root my stock Xperia Z3 without losing the DRM keys?

Thanks in advance.
[Xperia Z3 General] casouzaj:
Yes, this method doesn't change your phone's bootloader status. Nevertheless, it installs the root stuff in the system partition, for what I think you wouldn't pass Safetynet tests, as well as your Play Store would show as not certified.

If you made a backup of your phone's TA partition (which contains its DRM keys), that backup could be inserted into the stock kernel and, after your phone's bootloader was unlocked, flashed to its boot image, as well as a suitable TWRP image to the FOTAKernel partition. Through TWRP, you'd install Magisk (to gain root access - I'd recommend the stable v20.0). Subsequent fine tunings could include the MagiskHide Props Config module (which, by its turn, requires the Busybox NDK one)
[Xperia Z3 General] Aker666:
Ah ok, thank you for your clarification!
[Xperia Z3 General] Dhark_knyght:
If it doesn't require unlocked bootloader can I use it on my friend's docomo Xperia z3 so-01g by flashing D6603 kernel first.

And noob question: if I get the root and twrp on so01g can I install any rom. Or there's a catch.

---------- Post added at 01:10 AM ---------- Previous post was at 01:07 AM ----------

Bro can you send step by step guide and link for d6603 firmware and other necessary tools.
[Xperia Z3 General] KoolKool993:
hi [MENTION=4675598]shoey63[/MENTION], can you made repack the twrp recovery version 3.3, cause the 3.0 is old and unable to flash Carbon, Lineagos?

your repack seem only way to work on my device, it really updated the my previous twrp 2.8

flashing new twrp zip (made by other pp) seem not do move anything :confused:
[Xperia Z3 General] shoey63:
You need to unlock your bootloader for those roms.

Then just flash recommended twrp to recovery partition and follow their instructions.
[Xperia Z3 General] casouzaj:
Don't forget to make a backup of the TA partition prior to unlocking the bootloader.
[Xperia Z3 General] KoolKool993:
i already unlocked bootloader before doing your kernel method, UB is so much easier nowadays, no hurt to do it first before anything :fingers-crossed:

so the my only concern is updating the twrp

i tried flashing both recovery/FOTA partition, but the 3.0 is still there
[Xperia Z3 General] gianglunlun1992:
after installing a custom rom I couldn't boot into twrp, I tried to install twrp via fastboot but still can't boot into twrp, Sony Z3 D6633
[Xperia Z3 General] kimanthi:
Flashtool gives me error processing kernel. Sin and aborts flashing
[Xperia Z3 General] stargazer29:
Hy i have Z3 D6553 how to flash kernel 575 ? When tried to flash Kernel 575 in flashtol its say " The Bundle does not match the connected devices "
[Xperia Z3 General] casouzaj:
Try xflasher.
[Xperia Z3 General] dreamo.22:
bmlloko "

* enable usb debugging

And try again

If it is not work

You need a driver for sony z3

Check it from device and manger

If you are dont have driver dowoad it from here...

http://developer.sonymobile.com/downloads/drivers/
[Xperia Z3 General] ares2302:
Hi, my Xperia Z3 with rom stock, bootloader locked and no root it is updated via OTA to 23.5.A.1.291. I can still flash the previous kernel in this guide? you can find the 23.5.A.1.575 and 23.5.A.1.291 files?

Sorry for my bad English, I'm Italian
[Xperia Z3 General] juanpirulo:
Try to closed any other server running, Just be sure only flashtool its open. Cheers

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z3 General] Kapsztajn:
It worked like a charm! Thank you :)

One of the easiest root tools.
[Xperia Z3 General] drake_:
I have problem with install recovery.

I flash .575 kernel and when i run install.bat i see this:

i66.tinypic. com/2cxysd1.jpg (coppy and delete space(. com)

I cant enter photos here because i dont have 10 posts.

Any ideas? Thanks
[Xperia Z3 General] shoey63:
Delete adb.exe from the \files folder and run it again. You must already have another version installed.
[Xperia Z3 General] zivwong:
same as you,process is successfully,

and followed wt u said "When you connect the device must not chose the connection type .. left the device on his status",device just reboot to normal but not into recovery

Please help,thz

sony z3 D6633 on 6.0.1 .291

locked bootloader
[Xperia Z3 General] Zero-21XX:
for D6646?

is a Z3 32GB US version, no verizon/t-mobile version
[Xperia Z3 General] shoey63:
Post kernel.sin for .575 and I will add it.
[Xperia Z3 General] Zero-21XX:
Sorry but, how i can extract it? Or upload a ftf?
[Xperia Z3 General] bmlloko:
Dude, worked liked a charm after i have installed the drivers.

Thx man
[Xperia Z3 General] zivwong:
shoey63,please help for my case,thx so much

and followed wt u said "When you connect the device must not chose the connection type .. left the device on his status",

After successfully install install.bat

my device just reboot to normal but not into recovery

Anything did i do wrong?

Please help,thz

sony z3 D6633 on 6.0.1 .291

locked bootloader
[Xperia Z3 General] SoulFury:
Few question from a rookie...

a) Do you need unlocked bootloader to flash different kernel?

b) How do you flash only kernel with flashtool? I've seen some tutorials with elf files, but not with ftf files.

c) A little comment, after updating to .291, battery last in standby a hell more, 1% in 7 hours night, with data traffic active.
[Xperia Z3 General] ares2302:
Same thing here. My d6603 with build 6.0.1.291 does not work.

mkdir: '/data/local/tmp/mm_twrp_recovery_install': File exists

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

[100%] /data/local/tmp/mm_twrp_recovery_install

chmod: /data/local/tmp/mm_twrp_recovery_install/busybox: Not a directory

chmod: /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh: Not a directory

chmod: /data/local/tmp/mm_twrp_recovery_install/iovyroot: Not a directory

chmod: /data/local/tmp/mm_twrp_recovery_install/modulecrcpatch: Not a directory

/system/bin/sh: /data/local/tmp/mm_twrp_recovery_install/iovyroot: not found

Please Help! :confused:

SOLVED!

I remove, after flash kernel 575, the temp folder with

adb shell rm /data/local/tmp/*

Relauch install.bat
[Xperia Z3 General] Pi3rluigi:
Have you tried to enter recovery with volume down button?

I know I will go a little bit OT, but:

I'm asking , because I made a prerooted .291 for my D6633 with RecRoot and I can't enter recovery with adb and TB, just using button worked and another Xda member reported the same issue with same phone....So we are 3

My thought is that should be device/rom related
[Xperia Z3 General] zivwong:
i cant enter recovery with adb ,TB and pressing the button.:eek:
[Xperia Z3 General] Pi3rluigi:
Follow this:

at reboot time, the led will light up in green, with a vibration. At that moment , press the volume down button.The led will be turned to violet, you can realese it and TWRP will come up.
[Xperia Z3 General] zivwong:
Tried many times,just no response and boot to normal :rolleyes:
[Xperia Z3 General] shoey63:
Guys, I need to point a few things out.

- You NEED a fully functional adb environment on your Windows distro for the tool to work.

If it's not set up yet, for a quick and easy way, refer to This Article, and/or This Xda Thread

- You NEED the correct drivers installed. (Can be found in \Flashtool\drivers\Flashtool-drivers.exe if PC won't automatically update)

- You do NOT need an unlocked bootloader to run the tool.

- You NEED to put the kernel zips from the OP (which you have renamed to have .ftf extension) in the same folder as other ftf's. (Typically C:\Users\<Your Name>\.flashtool\firmwares NOTE: .flashtool is a hidden folder.

- You NEED to enable USB degugging, AND allow RSA key to be accepted when the toast notification pops up on your device screen.

Hundreds of users have used the tool with with success. If you have a problem, it has nothing to do with the tool. Please attempt to solve the problem and post the solution here, so that other users may benefit. Otherwise post your issue and hope an experienced Windows user can help. I am almost never on Windows these days, so input from advanced users will be greatly appreciated.

Thank you.
[Xperia Z3 General] Zero-21XX:
I change .ftf to .rar and then....

https://drive.google.com/open?id=0B67fRtQNJAbeVVZaeFJGYk9icTA
[Xperia Z3 General] shoey63:
See how you go with this one

View attachment Recovery_for_MM575-291v2.zip
[Xperia Z3 General] Zero-21XX:
its ok!!

great!! thanks
[Xperia Z3 General] drake_:
How u remove this adb shell rm /data/local/tmp/* ?

I remove %appdata% / Local / Temp - is it is?

I have that same problem.

Or make file .bat and this code: adb shell rm /data/local/tmp/* ?
[Xperia Z3 General] ares2302:
1. Backup original install.bat, put out of the folder;

2. Rename this install.zip (attachment) in install.bat, put it inside the folder and launch.

3. waiting for the end of the procedure

4. Now, Delete my install.bat and use the original backup again normally.

remember to flash kernel 575 first
[Xperia Z3 General] drake_:
U are awesome!!! Very thanks, problem solved!
[Xperia Z3 General] bodomfan:
I'm on 575 what do I need to do to root and install recovery
[Xperia Z3 General] casouzaj:
Have you read the 1st post (aka OP)? You just have to download, unpack and run the root tool on your PC, with your phone connected to it through the USB cable. Your phone will reboot into TWRP right away.
[Xperia Z3 General] bodomfan:
Which zip is the tool all I see is recovery and 2 kernel files
[Xperia Z3 General] casouzaj:
Recovery_for_MM575_291.7z
[Xperia Z3 General] bodomfan:
I'm on build 575 is this still ok to use,edit it says for 575 lol
[Xperia Z3 General] casouzaj:
Yes, it's meant for build 23.5.A.0.575! If you were on the new 23.5.A.1.291 build, you'd have to flash the 23.5.A.0.575 kernel, prior to running this tool.
[Xperia Z3 General] benjieb:
First, I want to thank all the contributors to this tool!

Quick question to make sure I understand this right. Since this tool seem to be the holy grail we have all been waiting for to root Xperia Z3s, the answers should be yes...

1- Is this is a one stop shop to install recovery/root LB stock Z3s ?

2- I have a rooted D6603 LB running rom 23.5.A.0.575. Question: if I do the official OTA to upgrade to .291, will I be able to use the tool and have TWRP and full root access ?

thanks!
[Xperia Z3 General] sigulda1:
1. Yes. But if you are not on 575 Marshmallow: Flash 575 kernel first. Run install.bat to install TWRP and root. Then flash back your kernel.

2. Yes, following the above procedure.You might as well flash prerooted Italian 291.

http://xdaforums.com/showthread.php?t=3432744

Gesendet von meinem D6603 mit Tapatalk
[Xperia Z3 General] benjieb:
Well, I guess it was a silly question on my behalf, since I have a rooted rom OTA can't work!

Meaning when there are upgrades, one have to flash a full rom and then patch...
[Xperia Z3 General] sigulda1:
You are right. OTA would not work, but you could get official update via Sony Companion. - That of course would eliminate root.

I used this tool to root 575 stock. After that I flashed prerooted 291.
[Xperia Z3 General] trevinshu:
How to update?

I'm on .575 & I've root/TWRP... (Used your method) how do I update to .291 & keep root/TWRP?
[Xperia Z3 General] shoey63:
- Flash 291 ftf

- exclude 291 kernel (leaves 575 kernel in place)

- run the tool

- Flash SuperSU.zip in recovery

- Flash 291 kernel

- ????

- Profit!
[Xperia Z3 General] lu99ke:
Worked on my d6653

Many thanks!!
[Xperia Z3 General] mitpio:
Cool root

Super job big thank you !!!!!!!
[Xperia Z3 General] johnnyk111:
Can I confirm this won't stuff any of the DRM stuff within the phone? And I don't need to re-install any apps I already have, etc?
[Xperia Z3 General] shoey63:
If your DRM keys are intact, they will remain that way after running the tool.

No need to wipe anything, so apps arent affected either. Only thing you need to do is flash SuperSU. zip in recovery afterwards.
[Xperia Z3 General] alxtorrentazos:
I´m sorry guys, but a company here offered me a Z3 D6646 (the LTE, 32Gb version of Z3) at an amazing price ($400) and, of course, I want to root it ASAP.....does anyone know a method? I was reading here a lot but all the methods are for the Z3 D6603, D6653 and D6633 versions. And, I want to avoid KingRoot like a plague ;)

If anyone can send the in the right direction, I would much appreciate that.

TIA.

Alx
[Xperia Z3 General] shoey63:
See post #81

Edit: Zip with support for D6646 added to OP.

Edit 2: The 575 and 291 kernels in the OP are the same as for D6646, so they are safe to use on your device.
[Xperia Z3 General] heywheelie:
Is the recovery in the OP the same as in RecRoot v4?
[Xperia Z3 General] shoey63:
Yup, the recovery (which was built by me;)) in recroot 4 , is the same one as in this tool.
[Xperia Z3 General] alxtorrentazos:
Dear Shoey63, I´m building a step-by-step n00b guide (like for myself) about how things should be done to root my Z3 D6646.......could you please take a look into it and do all the modifications needed?

TIA.

Steps to achieve root in Sony Z3 D6646 and the option to write to the external SD card

1- copy UPDATE-SuperSU-v2.76-20160630161323.zip and ExtSD_Fix_rw-signed-v2.9b.zip to the microSD card

2- Disable the AntiVirus program in your PC and In your phone USB debugging should be enabled

Settings => About phone => Click 7 times on Android Build to unlock developer options

Allow mock locations

Settings => Developer Settings

adb drivers installed and MTP mode is needed

Finally put your device in air plane mode

3- Install flashtool-0.9.22.3-windows. Go to its Flashtool installation path (usually C:\Flashtool) and go into the folder "drivers".

Execute "Flashtool-drivers" and follow the installer (choose "Flashmode Drivers" and "Xperia Z3 drivers" ) and install it.

4- Copy D6603-6653_23.5.A.0.575_kernel.zip to C:\Users\yourusername\.flashTool\firmwares directory renaming it to D6603-6653_23.5.A.0.575_kernel.ftf

5- Install adb-setup-1.4.3.exe --> is this required?????

6- Flash .575 kernel clicking on the lightning symbol ("flash device"), select "Flashmode" and click on "OK"

Select the name of what you downloaded ---> in Excluded I only see KERNEL ---> should I leave that UNCHECKED, right?

Click on "Flash"

Wait for a window to pop up (it may take a few minutes, be patient)

Now everything is ready: turn off your phone

Push the volume-down button, keep pushing and connect to your PC

Once the flashing process has started, release the volume rocker as soon as possible

NEVER disconnect the USB cable until it's finished!!!

Turn on and now we should be in .575!

CLOSE Flashtool!!!

7- Extract RecoveryTool_for_MM575-291v2.zip to a folder and run the install.bat NOT as an Admin (probably you have to apply the tool several times

before the device booted to TWRP)

8- When the phone restarts, entering TWRP needs a single volume down press only, upon the green led (you have 2 seconds to do it).

At this point, make a backup of everything including the DRM partition before rooting just in case.

9- INSTALL SuperSU from the microSD card and reboot and verify the root status

10-Decompress and Backup-TA-9.11.zip to have a backup of DRM keys, bootloader, etc

11-Reboot in recovery again and install ExtSD_Fix_rw-signed-v2.9b.zip from the microSD, reboot and test it. If it didnt work, reinstall it again.

12-Rename D6603-6653_23.5.A.0.291_kernel.zip to .ftf, put it in C:\Users\yourusername\.flashTool\firmwares and flash it with flashtool like you did with 575 before

13-Open Apps, find "Software update" (xperia icon) and force stop it or freeze it using Titanium Backup

To check your DRM keys: dial *#*#7378423#*#* ('SERVICE') and you will enter the Service menu.

Go to Service tests > Security and you see a menu starting with 'MARLIN'.

If it says [Key OK][Active] for all items your still have your DRM keys.
[Xperia Z3 General] shoey63:
Now see how you go with it;)
[Xperia Z3 General] casouzaj:
D6643?

[MENTION=4675598]shoey63[/MENTION], would it be possible for you to add support for the D6643 variant? Thanks, anyway!
[Xperia Z3 General] shoey63:
Sure, can you provide the kernel.sin?
[Xperia Z3 General] casouzaj:
D6643 Claro BR 23.5.A.0.575 kernel. Just remove the zip extension. Thanks, again![/QUOTE]
[Xperia Z3 General] alxtorrentazos:
shoey63, thanks for your fast reply :)

2 questions if you dont mind....

1) should I check the KERNEL in the Exclude list of Flashboot to actually install it? doesnt make any sense hahahaha

2) I saw that you asked for kernel.sin to casouzaj for the 6643 model to add it to the list and I´m worried about my model, the 6646......from were did you get "my" kernel.sin? is there a way for me to provide you that to be sure? I´m worried because I read in the forums that some people complained about flashing a different kernel and lost access to 16gb of internal memory in this model (remember that is a 32gb model)

Sorry for being such a pain in the neck but I just checked and I´m about to lose a 1 year warranty just for rooting it and I´m scared........like a lot!! haha
[Xperia Z3 General] AndroidHtc101:
Ive not rooted my device yet 6603 MM stock 6.0.1, will this work on a unlocked bootloader? I did the unlock bootloader first but not found a way to root my phone yet.
[Xperia Z3 General] karlosxda:
Guys i have a d6633 with mm v.291

Can i flash the kernel in the first post?

Or start the tool without flashing?
[Xperia Z3 General] alxtorrentazos:
karlosxda, this "fix" is only for kernel 575, that´s why you need to flash the 575 kernel FIRST before running the "fix", otherwise it would not work.......once you flash it and root the device you can reflash the 291 kernel back (JUST THE KERNEL)

let´s wait for a more experienced word about it.
[Xperia Z3 General] bodomfan:
I'm on build 575 and rooted all of a sudden when I reboot I don't get the green light to press down to access recovery, any idea why? I haven't changed anything other than moving some apps to sd card
[Xperia Z3 General] bodomfan:
Says I have recovery installed so I'm baffled
[Xperia Z3 General] AndroidHtc101:
Will this work on a unlocked bootloader guys?
[Xperia Z3 General] karlosxda:
Guys i need a link for the d6633 mm .575 stock kernal
[Xperia Z3 General] bodomfan:
Does anyone know
[Xperia Z3 General] shoey63:
1) Ok, sorry if I typed wrong, but to flash 575 kernel leave exclude blank. You can't flash it if you do [X] it and exclude it right?

2) The 575 kernel in the OP is just for rooting. Then you need to flash 291 kernel for your device. The 6603_6653 one "may" work for you without issue. Best to download the 291 ftf for your phone and flash THAT kernel (excluding all else, and no wipes) afterwards if you lose storage space.

Also you won't void warranty just by rooting. Just flash stock ftf before claiming warranty repair.

Edit: The reason I asked for [MENTION=346743]casouzaj[/MENTION] to send me the kernel.sin is so I can add it to the tool. (which I will do tomorrow - no more time today) Yours is already added.

It will work. But you can also flash a recovery image or advanced stock kernel to root.

Flash 575 in OP to root. Download d6633 ftf and flash just kernel afterwards.

So am I. Is your bootloader unlocked? How would you flash TWRP otherwise?

If you are rooted and have a locked bootloader, you can flash TWRP to the recovery partition, but you cant use it. This tool relies on modifications to /system to enable booting to TWRP. If you install a different busybox it will break it. No idea what happened to you though. You might have reflash an ftf and start again :( Edit: no wipes OFC.
[Xperia Z3 General] bodomfan:
My bootloader is locked and I had working recovery,but didn't update busybox and recovery weirdly dissappeared,do you think if I try the tool again it will work
[Xperia Z3 General] shoey63:
It's worth a try. Or maybe try recroot4 if you are still rooted.
[Xperia Z3 General] bodomfan:
Not rooted now as I unrooted with supersu as I did try to install latest firmware 291 ota but it's not letting me because I was rooted probably, annoying as I wanted stamina mode again
[Xperia Z3 General] shoey63:
Yeah but you have TWRP on your FOTAKernel partition. OTA won't work unless you have a stock one on there.
[Xperia Z3 General] bodomfan:
How do I remove it manually without a computer
[Xperia Z3 General] shoey63:
No way without root or recovery.

Getting a bit OT here BTW. This thread is about a recovery tool to be used on a PC.
[Xperia Z3 General] bodomfan:
OK thanks sorry for ot
[Xperia Z3 General] AndroidHtc101:
Thanks for your reply shoey63, So it should root my device ok if I follow the first part? I'm abit confused with recovery image advanced kernal.
[Xperia Z3 General] alxtorrentazos:
Dear shoey63, when you say:

"2) The 575 kernel in the OP is just for rooting. Then you need to flash 291 kernel for your device. The 6603_6653 one "may" work for you without issue. Best to download the 291 ftf for your phone and flash THAT kernel (excluding all else, and no wipes) afterwards if you lose storage space.

Also you won't void warranty just by rooting. Just flash stock ftf before claiming warranty repair."

from where should I download that original 291 ftf? the Xperifirm tool inside Fileflash only shows one file for D6646 and it says "Customized US"....is there an oficial site from Sony to download it?
[Xperia Z3 General] alxtorrentazos:
An another silly question...if we found an 575 ftf that is exactly for my model D6646, would it be possible for you extract the kernel, do your magic and add TWRP, etc to that file instead......... and avoid that "The 6603_6653 one "may" work for you without issue"???

http://www.xperiablog.net/forum/resources/xperia-z3_d6646_23-5-a-0-575_us_generic.632/

;)