yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] waliszak2:
Is anywhere kernel 23.5.A.1.291 for D6603 ?
[Xperia Z3 General] ecksdeeay:
:rolleyes::( see the sentence typed in the top of the picture
[Xperia Z3 General] Ian_drimworld74:
dont know how to use flashtool

hello master. I have the given files, installed flashtool but i dont know how to use the flash tool.. Im on .2.9.1 locked Bootloader. where to put the kernel? and how to flash it. If there is a given simplified steps it would help.. Sorry. Its my first time in Sony :)
[Xperia Z3 General] casouzaj:
The kernels, if downloaded from the OP, should have their extension renamed from zip to ftf (not unpacked), and should be either copied or moved to C:\Users\your_ username\.flashTool\firmwares.

Then, launch Flashtool, click on the lightning icon, select Flashmode and the kernel you want to flash (indexed by your model name) and click on Flash. An animated connection request window should appear right away. Turn your phone off and hold the volume down button whilst plugging the USB cable in. When the connection window goes away, release the button. At the end, disconnect your phone from your PC, and turn it on.
[Xperia Z3 General] Ansem:
thanks a lot for the guide! I have a sony Z3 D6603 with .291.

I have a few question:

1) how should I rename the kernel? OR you meant that I only need to change the extension?

2) If I install a different recovery does this mean that I ì'll lose the camera's DRM?
[Xperia Z3 General] casouzaj:
1) If you use Windows, it uses to hide file extensions. A sure way is to launch a command window, navigate to the kernel location and enter 'ren kernel575.zip kernel575.ftf' (without the quotes). Repeat for kernel291.zip.

2) Don't worry about it! Your DRM keys would be lost only of you unlocked your bootloader, which is not the case here.
[Xperia Z3 General] Ansem:
1) So should I install the .291 or .575 if I have the .291 on my phone?

If you are on .291 you will need to use FlashTool to flash the attached .575_kernel.zip for your device before running the recovery tool. You need to re-name the zip and change the .zip extension to .ftf before flashing it!

this part is really not clear for me :(
[Xperia Z3 General] casouzaj:
The tool which effectively achieves root access, called iovyroot, only works if the kernel found in the phone is from the 23.5.A.0.575 firmware. That's why you need to flash this kernel if you are currently running the 23.5.A.1.291 ROM. After installing the SuperSU zip under TWRP, don't forget to flash the 291 kernel back!
[Xperia Z3 General] Ansem:
Thanks!

So what I should do is:

1) flash .575

2) root my phone

3) flash .291 before boot on my phone again

right?
[Xperia Z3 General] ecksdeeay:
YES
[Xperia Z3 General] casouzaj:
2.5) install SuperSU zip through TWRP.
[Xperia Z3 General] Hello Kitty 2016:
Thax;)
[Xperia Z3 General] janniszervas:
Busybox from Playstore?

So why are Busybox from playstore or any other Busyboxes not supported?

Grüzi

JZ
[Xperia Z3 General] bodomfan:
Just how it is unfortunately it breaks recovery otherwise
[Xperia Z3 General] azzy12:
First of all I have locked BL D6603, thank you for making this guide.

I just bought a Z3 coming from nexus device, didn't know getting root was so much harder. Good thing I found this guide before going through the extra hassle of unlocking the BL.

My question is can I now install custom ROM using TWRP ? Or will it break things if I did.

And if I somehow messed up, can I just flash stock firmware using flashtool ?
[Xperia Z3 General] Pi3rluigi:
Yes, custom Rom are pre-rooted

Yes

Inviato dal mio D6633 utilizzando Tapatalk
[Xperia Z3 General] roy022794:
hi, does it need to backup first the TA partition or the DRM Keys before flashing this recovery??

and how to flash the kernel, FLASHBOOT or FASTBOOT MODE in the flashtool??
[Xperia Z3 General] casouzaj:
No need to backup your TA partition, because neither your bootloader status nor your DRM keys will be touched, at all. And flash the kernel in Flashmode, since its extension will be ftf.
[Xperia Z3 General] slimjimz81:
I'm stuck or did something wrong

I changed the .zip files to .ftf

copied them to .flashtools\firmware\ folder but I can't do anything to flash or find the ftf files?

please help
[Xperia Z3 General] casouzaj:
If you use Windows, you know that it uses to hide file extensions. The safest way to rename the kernel extension (e.g. the 575 one) is to launch a command prompt window, use cd commands to go to the file location and enter:

ren kernel575.zip kernel575.ftf

Then, hit the [ENTER] key.

Hope it works for you.
[Xperia Z3 General] slimjimz81:
I changed it using cmd but still nothing to flash

I'm using w10 but still not appearing for me to flash, is there a youtube video in English
[Xperia Z3 General] casouzaj:
Is it placed in C:\Users\your username\.flashTool\firmwares? Are you selecting flashmode, in Flashtool?
[Xperia Z3 General] edgarpoe:
ohhh boy, I tried and tried and nothing worked when i pressed the flash button...

Then it dawned on me that i was using my Dell 5000's USB3 port... hmmm ok well lets try one of the USB2 ports...

Flash Button

WOOHOO finally works!

running backup in TWRP now.

This is my wife's old Bell D6603 that i'm using now as she went out and got a Galaxy S7, and my D6603 has a shattered digitizer. (that i ran kingo on probably the second week after purchasing)
[Xperia Z3 General] sandeepdarklord:
While flashing kernel will I loose datas and apps saved on phone memory?
[Xperia Z3 General] casouzaj:
No, you won't!
[Xperia Z3 General] sandeepdarklord:
Could some 1 plz tell me in flash tool which one I have to choose flashmode or fastboot mode and if flash mode which all things I have to exclude and do I check wipe data
[Xperia Z3 General] casouzaj:
If you downloaded the kernels from the OP, you just have to rename their extensions from zip to ftf, place them in C:\Users\your_ username\.flashTool\firmwares and choose flashmode in Flashtool. In this case, you don't have to either check or uncheck any checkboxes. On the other hand, if you are using a full ROM instead, you have to check everything in the exclusion column, including those Misc TA ones at the bottom, except the kernel checkbox, in a way that only kernel.sin is shown in the list of components to be flashed.
[Xperia Z3 General] shoey63:
Say no to FSC script.
[Xperia Z3 General] shoey63:
Did you unplug and restart your phone as prompted?
[Xperia Z3 General] Ramoso:
thanks to all I solved. it works :D
[Xperia Z3 General] Licaon_Kter:
Oh come on :)
[Xperia Z3 General] Hellboy42:
Can i use your method with a z3 tablet sgp611 ?

the only method i found is with kingroot and lot of people tell me to avoid this.
[Xperia Z3 General] whalesplaho:
Maybe OP can share kernel for 575 and 291..... But im off PC here and i only have 575, maybe if its not too late when im home!
[Xperia Z3 General] shoey63:
Kernel ftf's for 575 and 291 added to OP. (D6653 and D6603 only - both devices share the same kernel)
[Xperia Z3 General] shoey63:
I will add it tomorrow, but the included twrp may cause issues due to "landscape" orientation for your device. You may need to swap the recovery.twrp.cpio.lzma with [MENTION=4904057][NUT][/MENTION]'s version.
[Xperia Z3 General] Dadovvv:
No problem :fingers-crossed: I will test both recovery. ASAP when some parts for my tablet arrive. Thank u for your work and helping others. :good:
[Xperia Z3 General] Hogwarts:
Hello I have a Z3 that is D6653 version.

On marshmallow 6.0.1

Build number is 23.5.A.0.570

Will this work? wondering why my build isn't 575

My phone is unlocked.

Thank you.
[Xperia Z3 General] Mich3lin:
I don't know what I'm doing wrong, but whatever I do, I get the "not found error" every time. I am on .291, LB, flashed the .575 kernel, run install.bat and this is what I get everytime, after that, device just reboots back into Android. Any ideas?

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

Finished!

Rebooting into TWRP recovery ...

Well, found solution... Turns out, first time I did this I ran the .575 recovery install version accidentally. After that, I used the correct .291 zip, but that file was already created, therefore I guess it didn't overwrite it, so It failed every time obviously. Anyway, I removed it with adb shell and installed again and voila! Works perfectly!
[Xperia Z3 General] Masami1975:
guys, please, I can't change zip extension to ftf for kernel... Why??

solved
[Xperia Z3 General] XenTeckz:
Give us a shout if it works for Sony xperia z2 tablet I've been dying to find a way to root this device and if you can make a thread on it (if all things go well :)
[Xperia Z3 General] zakss086:
z3 575 recovery problem

Mich3lin I have the same problem, which is the corecct 291 package?

I installed 575 kernel but I can not install recovery, phone just reboots
[Xperia Z3 General] danalec:
Xperia Z2 Tablet SGP551

Firmware .575

Kernel.sin -- http://d-h.st/ihie

Thanks for your work
[Xperia Z3 General] shoey63:
[MENTION=449079]tab[/MENTION] guys,

I have added your devices to Iovyroot

//Z3 TABLET 23.5.A.0.575

{ "SGP621", "Linux version 3.4.0-perf-g43ea728 (BuildUser@BuildHost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Apr 22 17:27:56 2016",

{ (void*)FSYNC_OFFSET(0xc12352f4) },

(void*)0xc1229d0c, (void*)0xc1229d34, (void*)0xc102f1e0, (void*)0xc12282b0 },

//Z2 TABLET BRAZIL 23.5.A.0.575

{ "SGP521", "Linux version 3.4.0-perf-g43ea728 (BuildUser@BuildHost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Apr 22 17:27:56 2016",

{ (void*)FSYNC_OFFSET(0xc12352f4) },

(void*)0xc1229d0c, (void*)0xc1229d34, (void*)0xc102f1e0, (void*)0xc12282b0 },

//Z2 TABLET 23.5.A.0.575

{ " SGP551", "Linux version 3.4.0-perf-g43ea728 (BuildUser@BuildHost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Apr 22 17:27:56 2016",

{ (void*)FSYNC_OFFSET(0xc12353b4) },

(void*)0xc1229dcc, (void*)0xc1229df4, (void*)0xc102f1c0, (void*)0xc1228370 },

Below is the updated iovyroot

Unzip and place into \files.

The included recovery may or may not work. If not use the old xzdualrecovery by [MENTION=4904057][NUT][/MENTION] for your device. Rename it, compile TWRP yourself or whatever. I wont do blind recovery builds for devices I don't own.

Good luck guys :fingers-crossed:

View attachment iovyroot.zip
[Xperia Z3 General] Mich3lin:
You'll find it in the first post, it's the one with "Recovery_for_MM575-291.7z" name. Don't forget to delete your existing files in /data/local/tmp! Then It should work. ;)

Although, for some reason, when I wanted to go to recovery today, I found that it was no longer accessible and had to re-flash to .575 kernel and repeat the process. So, I guess I'm gonna stay on .575...
[Xperia Z3 General] danalec:
I'm getting Error: Device not supported

I think there is a typo (a blank space at begin, after first quote):

" SGP551", "Linux version 3.4.0-perf-g43ea728

Can you please fix this? I'm testing with a NUT's TWRP

Thanks very much
[Xperia Z3 General] Masami1975:
anyone with z3 d6603 and success?
[Xperia Z3 General] fruity_:
The tool worked great on my Z2.

But I have a small problem. When trying to flash aospa the process fails saying that the model isn't right.

I assume that this is because twrp checks the default.prop to identify the device. It would be nice with a fix for this problem.
[Xperia Z3 General] lu99ke:
how?? I have same problem
[Xperia Z3 General] zakss086:
Thank you, problem solved.
[Xperia Z3 General] rocker00:
its because the twrp inside the zip is for z3,flash the attached file its z2 twrp and it should be fine.
[Xperia Z3 General] shoey63:
Errm, right click, rename, delete "zip" and type "ftf"?
[Xperia Z3 General] shoey63:
Sgp621 is supported. You would need to flash a 575 kernel for that variant onto your sgp611. If it boots you are in business. Then you can run the tool, obtain root and flash the kernel for your device back afterwards.
[Xperia Z3 General] ayocuan:
For anyone having prob renaming or finding the kernel

i was having problems when changing the .zip extension, and after i managed to do it i could find it with flashtool, so i found this link from a brazilian youtube vid(i cant post the link but you can search for the video) they are the kernels in ftf extension,
[Xperia Z3 General] Guilherme Cipriano:
How Can I re-name the name of the extension?

How can I re-name the extension of the file? Cause I don't know how to do it...
[Xperia Z3 General] casouzaj:
Launch a command prompt window, navigate (cd commands) to the file location and enter:

ren kernel575.zip kernel575.ftf

And hit the [ENTER] key. Repeat for the 291 kernel, if applicable.
[Xperia Z3 General] Licaon_Kter:
Control Panel->Folder Options->Show known files extensions...
[Xperia Z3 General] muhamad faton:
if i root my xperia z3 using this method on locked bootloader will my device loose any features like bravia engine, camera functions or stamina mode , etc.
[Xperia Z3 General] shoey63:
If you have never unlocked your bootloader, all DRM keys and functions will remain intact.
[Xperia Z3 General] muhamad faton:
what do u mean by - "Reboot apps DO NOT WORK on Sony MM."
[Xperia Z3 General] shoey63:
It means apps like "QuickBoot" won't boot into recovery. It's a Sony bootloader issue. You need to use hardware keys. Stop worrying, just run the tool.
[Xperia Z3 General] muhamad faton:
ok thanks but one last question i am using Australian unlocked version of Telstra.....and i am using this device in India.....will there be any problem after rooting ?
[Xperia Z3 General] Licaon_Kter:
Do check the bands available in the other country, but that does not have anything to do with rooting.
[Xperia Z3 General] muhamad faton:
what if i flash Indian or Global stock rom on my z3?......will there be any network problem ?

---------- Post added at 05:01 PM ---------- Previous post was at 04:55 PM ----------

should i flash global rom and after that root my phone using this method ?
[Xperia Z3 General] Licaon_Kter:
That won't bring anything special, your hardware can't be modded by anything you flash, either you have it or not.

Get reading...
[Xperia Z3 General] Arma Ando:
How to rename from. Zip to . ftf? Can u tell me the tutorial. Tx.
[Xperia Z3 General] shoey63:
Control Panel>Folder Options>Show known files extensions...
[Xperia Z3 General] Arma Ando:
Thanks Shoey63, i'll try it..
[Xperia Z3 General] Arma Ando:
Thanks to Shoey63, Now My Experia Z3 D6603, Running Android. 6.0.1 with build Number. 291 Can be rooted...glad finaly i can del a bloatware app.. ?, thanks to XDA Developer for this forum..?
[Xperia Z3 General] boymafia:
kernel question

I followed instruction to flash D6603-6653_23.5.A.0.575_kernel.zip before I run install.bat to get root and recovery but I found that in my phone information i show kernel .291 after flash .575 kernel. Do I need to flash your kernel .291 after I got root and recovery?:D
[Xperia Z3 General] shoey63:
291 is the build number of the rom, not the kernel. So yes, flash 291 kernel back afterwards.
[Xperia Z3 General] GM™:
Thank you. Can you add support for Xperia E6653 Z5?

Send from my Xperia Z3 using Tapatalk
[Xperia Z3 General] shoey63:
Recovery and root on Z5 can only be achieved on unlocked bootloader with custom kernel due to dm-verity.
[Xperia Z3 General] ThemGo:
Broken Link

Hi shoey63,

could you please post again the updated zip from https://xdaforums.com/showpost.php?p=68410678&postcount=146 ?

The link is no more working... and I want to root a Z3 TC (SGP621).

Thank you
[Xperia Z3 General] butthurtlocker:
Edit- delete, sorry figured out my issue
[Xperia Z3 General] shoey63:
The zip in the OP is the most up to date.
[Xperia Z3 General] ThemGo:
Very good, thank you!

One more question. You write "The following devices have been added to the iovyroot binary. (No TWRP or kernel.sin support in this thread.

Kernel.sins are no problem, because both .291 and .575 are currently still downloadable with XperiFirm.

But maybe TWRP is. Does this mean, that the contained recovery (file recovery.twrp.cpio.lzma I guess) will not work on this device? So that after calling the install.bat the phone cannot reboot automatically into custom recovery? And that therefore it will not be possible to install supersu.zip in custom recovery?
[Xperia Z3 General] shoey63:
The included Z3 twrp may or may not work for you. I have no way of testing. Just try and see how you go. As always, FlashTool is your friend;)
[Xperia Z3 General] ThemGo:
FlashTool? I thought if it fails to boot into recovery then I will have to replace the file recovery.twrp.cpio.lzma and try again by calling install.bat?

Does it have to be TWRP 3.x or is it possible to use the TWRP 2.8.7.0 which is contained in XZDualRecovery (e.g. for Z3TC this is TabZ3C-lockeddualrecovery2.8.26-RELEASE.combined.zip)?
[Xperia Z3 General] shoey63:
Try it as is first. If it doesn't work, swap recovery with NUT'S one and try again. If it still doesn't work, use FlashTool to get stock /system back.
[Xperia Z3 General] jonallwright:
Really struggling

I have tried this several times now and it reboots to the twrp splash screen then hangs.

I reflashed the ROM but still are not getting anywhere and it hangs

I've tried different downloads too,

Any ideas??
[Xperia Z3 General] shoey63:
Which rom did you reflash?
[Xperia Z3 General] jonallwright:
I have downloaded 2 from xperifirm - D6603_Customized UK_1288-5028_23.5.A.1.291_R12D and D6603_Generic GLOBAL_1286-2777_23.5.A.1.291_R4D and i have also tried with D6603 23.5.A.1.291 Customized MEA 1288-4387 R4D (by skapunkcsd90@4pda)

But they all seem to hang at the splash screen

I have rooted this device before using this method: https://xdaforums.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
[Xperia Z3 General] pxrave:
life saver

lost root on latest version due some sound mod ;)
[Xperia Z3 General] shoey63:
I've never encountered this issue. All I could suggest is re-download the files and try again on a different usb port. If you find a solution please post it here.
[Xperia Z3 General] amlecuatro:
help i can´t enter to recovery mode after install rom existenz and back to stock rom using backup twrp.

i repeat the recovery and root of this page but dont works. Help me
[Xperia Z3 General] shoey63:
You need to be on 575 or 291 rom with 575 kernel.
[Xperia Z3 General] amlecuatro:
i used this metod but don´t works, now i reset my phone for install it again.

---------- Post added at 07:22 PM ---------- Previous post was at 06:37 PM ----------

after of reset and istall have root but not recovery only from archive install. zip can enter to twrp i dont have other form
[Xperia Z3 General] shoey63:
Press volume down during reboot when green led comes on and you feel a vibration. It's all in the opening post.
[Xperia Z3 General] alanfl7:
I only want to root my xperia z3 6.0.1 do i need to use flashtool?

Hello,

I'm completely new and a noob to rooting and decided to sign up. I read the instructions at the beginning of the thread. Could i use the steps of the first page to root my xperia z3 dd6603? Because i have updated it to android 6.0.1 a while ago. I only want to root my phone and not other things if this could be possible because i don't really understand them.

I would really appreciate a step for step instruction for a total noob like me and i would be willing to pay a amount of money if it would be needed.

Thanks in advance guys.

Alan
[Xperia Z3 General] Licaon_Kter:
The order is this:

* If you are on .291 you will need to use FlashTool to flash the attached .575_kernel.zip for your device before running the recovery tool. You need to re-name the zip and change the .zip extension to .ftf before flashing it!

* download that Recovery_for_MM575-291v5.zip from the thread and extract it

* enable USB-debugging on your phone and plug phone to computer via USB

* run install.bat ( as Admin just to be sure)

* after running the tool to get recovery, flash SuperSU 2.79 (put it on the device or on a USB stick if device is encrypted) with TWRP recovery (reboot, press volume down on start until you enter)

* re-flash the .291_kernel.zip back again, without losing root or recovery, with FlashTool for your device. Again, change/re-name the .zip extension to .ftf first!

This info is there but not in this order, you'll need to read more if any of these don't make sense.
[Xperia Z3 General] ancestrale:
Hey guys, anyone can post a stepbystep guide for noobs?
[Xperia Z3 General] Licaon_Kter:
See post #420 above
[Xperia Z3 General] ancestrale:
thx a lot man :)
[Xperia Z3 General] Pri Widianto:
Cara mengembalikan bootloader
[Xperia Z3 General] Licaon_Kter:
Wat?
[Xperia Z3 General] shoey63:
Restore bootloader? Firstly, use English. Secondly, it's off topic.

Best way is to restore the TA backup you should have taken before unlocking.
[Xperia Z3 General] Krynin:
Guys do I have to unlock BootLoader for this root? If so can anybody post link to TA backup as I dont want to lose these DRM features?

Thanks A lot
[Xperia Z3 General] casouzaj:
No, you don't! This tool won't touch your bootloader' status. If it is currently locked, it will be kept locked. It won't touch your DRM keys either, for what you don't have to backup your TA partition. Of course you can do it anytime you want, as long as your bootloader is still locked. Once in a lifetime is enough. Look here: https://xdaforums.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
[Xperia Z3 General] Mixalis Pavlis:
Before to backup ta partition, should we root device?
[Xperia Z3 General] casouzaj:
Well, when I did it my phone was already rooted, but I guess it could work on unrooted devices too. Activate USB debugging, just in case. Give it a try. You are posting in the root and TWRP thread. If it doesn't work, just root your phone and try again.
[Xperia Z3 General] Mixalis Pavlis:
Guys,I rooted my device.

Do these applications cause brick if I load Xposed, Gravity Box?
[Xperia Z3 General] Licaon_Kter:
Nope
[Xperia Z3 General] Chima2:
Tried getting the attachment, it is invalid. I am using a Xperia Z3 tablet Compact, and I flashed the _575 kernel in post #1. This has left me with a black screen. The device boots, it makes notification sounds but screen is dead. I suspect it's because it's a z3 kernel.

Anyone have urge right one? Will look around in the mean time.

Edit: I also put the ADB files in sys32, but running the .bat I got the message "ADB server extension (32) doesn't match this client (36); killing" It seemingly went through though and I got a 100% message amongst the error messages. But not sure that means I have recovery as I cannot check that due to the screen being dark :)
[Xperia Z3 General] shoey63:
- Close Flashtool and PC companion before running the tool.

- You need to find a 575 ftf for your device so you can flash just the kernel.

- Search Xpirifirm in FlashTool and/or your device forums.

- The recovery should work, but will display as Z3 when you plug into PC whilst in recovery.
[Xperia Z3 General] Chima2:
Edit: Solved, see the LineageOS thread for solution!
[Xperia Z3 General] juanpirulo:
just a question. this never happend before to me and i dont know why. I run the tool and i ve got the twrp running with the 575 kernel but when trying to root with supersu i ve got this

finding boot image

boot image : /dev/block/mcblk0p14

extracting ramdisk

--- failure aborting

and i cant get supersu access. Anyone can help? [MENTION=4675598]shoey63[/MENTION] ?