yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] casouzaj:
No, this tool's rooting tool, called iovyroot, only works with the 23.5.A.0.575 firmware's kernel. So, you have to flash that kernel prior to running install.bat. Once in TWRP, you must install the SuperSU zip (you can install other zips in that same TWRP session as well, like the Xposed one, for example). Then, flash the 23.5.A.1.291 ROM's kernel back.
[Xperia Z3 General] mirsadbrkic:
Sorry friend for so much questions. So first i have to flash .575 than root,flash SuperSu in TWRP and flash .291 with Flashtool?
[Xperia Z3 General] casouzaj:
Yes, flash the 575 kernel with Flashtool. Both root and installation of TWRP are achieved by running install.bat, install SuperSU zip under TWRP and flash the 291 kernel back with Flashtool.
[Xperia Z3 General] mirsadbrkic:
Thank you again bro :)
[Xperia Z3 General] allebg:
I flashed the .575 kernel as system through fastboot mode and now it's stuck at the black sony's xperia screen whenever I try to turn it on, think I have soft bricked my phone, still can enter fastboot mode, can anyone help?

edit: thanks in advance
[Xperia Z3 General] shoey63:
Where does it say in the OP to extract the kernel.sin and fastboot it to the system partition? You have to repair through pc companion or use flashtool to flash a FULL ftf to get your /system back.

Then start again, and don't deviate from instructions in the OP.
[Xperia Z3 General] andralatucons:
first of all, thanks for this, work like a charm. I've been looking for ways to root my d6633, tried many times with no luck.

how easy to root with this, is like a dream..

So everything went well, just one question please. hope this is not OOT. Sorry if this is really noob question, im really new into rooting.

i am trying to remove 2 thumbnail files, its now almost 2,2gb each (which is the reason im rooting my d6633, its out of space). tutorial in internet says, i just need to make new file with the same name, set permission to read only, and replace the old file. so the file will stays 0kb.

i tried to change permission, using root explorer, it says "Permissions change was not successful. Please note that some file systems (e.g. SD card)..."

i tried to change the parent folder, but with no luck.

i also tried to change TB backup location to extSD, but it says its not rewritable..

do i have part root? i checked with root checker, its says full root. no note etc..

Anyone knows what happened?

if this is oot, please put links so i can find solution to this

thanks in advance !
[Xperia Z3 General] andralatucons:
another question please,

apparently, im still on 575.

i've tried flashing 291 kernel, but still on 575.

i tried checking and unchecking kernel in exclude sin, but still the same.

on the process, i was asked to use file default.fsc, i tried with and without, but still the same.

this is the last result

debug and unknown sources are checked.

is there something i did wrong?

right now my phone run just fine on 575, but i still get the annoying software update notif

thanks in advance
[Xperia Z3 General] allebg:
I was confused about flashmode and fastboot mode, it didn't have those when I used to flash my i9300.

Working now, thanks, Shoey63.
[Xperia Z3 General] frans3q:
im using D6653 which kernel should i use? 6603 or 6633?
[Xperia Z3 General] shoey63:
The D6603-6653 one in the OP.
[Xperia Z3 General] frans3q:
thanks. ive done the rooting and installing twrp.

btw how about busy box? i have lucky patcher, and when I run the app there is a msge that said it require busy box.

do you named it right? is it really A.0.291 or A.1.291?
[Xperia Z3 General] paffo:
Hi,

It's not a big deal, but attachment with the newest kernel to D6603 is wrongly named, as well information in .XML inside:

D6603-6653_23.5.A.0.291_kernel.zip

Version should be 23.5.A.1.291
[Xperia Z3 General] shoey63:
It's a typo. Just rename and flash. Your on you own with the warez app and busybox. If you install busybox from playstore it might break recovery. Try a few different ones out.
[Xperia Z3 General] frans3q:
guess im just lucky, installed busybox from playstore, and nothing bad happen. I lost my recovery few times before, thanks to you, I dont need to downgrade firmware and install it from KK version.

this rom http://xdaforums.com/z3/general/6-0-1-z3-23-5-1-291-prerooted-recovery-t3432722

and your recovery work like a charm
[Xperia Z3 General] benzo:
Can't decrypt /data with this TWRP version too :(
[Xperia Z3 General] shoey63:
Sorry, but I don't use encryption, so I can't debug the issue.
[Xperia Z3 General] Jezreel Albuquerque:
Setup on D6633 .271

For setup TWRP with this method on my D6633, I could only installing kernel.sin and bootdelivery.xml of ftf the stock rom 575.

In FlashTool, select the stock 575 and uncheck everything except Boot Delivery and Kernel.

Now just turn on the device and open the install.bat :good:

Sorry for my bad english, I'm from Brazi :)
[Xperia Z3 General] drakvl:
Thanks man , works great with no issues.
[Xperia Z3 General] azim0106:
HI please help, i want to root and recovery in my z3 with method

Hi,

I have xperia Z3 D6633, i wanna root and install recovery in my z3 using this method, because i dont wanna downgrade my phone and dont wanna unlocked my bootloader. But i have stock mm .291 and you have wrtting in the message that mm 291 user first flash .575 kernel using flashtool and then run your tool.

Please tell me step by step for flashing .575 kernel using xperia flashtool, because i am not very familiar with xperia flashtool.

Is my bootloader still locked while doing root and recovery with this method.

Waiting for your reply.
[Xperia Z3 General] abhaykelkar:
Excellent tool !!!

Hey,
[MENTION=4675598]shoey63[/MENTION] thanks for sharing this method of rooting. :good:

My device (Z3 D6653) was on .291, locked bootloader before running this tool. Now on .291, rooted, TRWP, busybox, Chainfire SuperSU installed. Thanks a lot.

There was one problem mentioned in the post #224 but it got resolved when i closed the flashtool. May be this should be included in the steps mentioned.

Thanks again :)
[Xperia Z3 General] shoey63:
This is the flashtool you need

http://www.flashtool.net/index.php

The use of this tool pre-supposes you have some knowledge about how to use FlashTool.

Do a bit of research and you will be fine.
[Xperia Z3 General] azim0106:
is my bootloader still locked after flashing .575 kernel ki my mm .291 ?
[Xperia Z3 General] shoey63:
Yes, it will stay locked, and DRM functions will be unaffected. When you flash back .291 kernel, your bootloader will still be locked as well.
[Xperia Z3 General] nri_tech1183:
Hi. My phone D6653 is on stock latest MM 23.5.A.1.291. It aint rooted.

So of the above mentioned steps what steps do I need to follow exactly?

Do I need to flash .291 kernel etc???
[Xperia Z3 General] shoey63:
Use FlashTool to to flash .575 kernel, run the tool, then flash .291 back (Don't forget to change .zip to .ftf) They are both in the OP.
[Xperia Z3 General] shoey63:
Thank you for pointing that out.

I have added it to the OP:good:
[Xperia Z3 General] azim0106:
ok thanks everything is fine, but i didn't find the proper tutorial for flashing .575 kernel via flashtool, how to flash rom is there. please give me proper instruction for flashing .575 kernel using flashtool.
[Xperia Z3 General] casouzaj:
Flashtool can be downloaded from www.flashtool.net/downloads.php. Install it in your PC, launch it, click on the lightning icon, select Flashmode and the ftf file you wish to flash and click on Flash. Turn your phone off and, when a connection request window comes up, press and hold the volume down button whist attaching the USB cable to it. If Flashtool prompts you for a FSC file, answer NO.
[Xperia Z3 General] azim0106:
Thanks for your help, as i am flashing only kernel, so after selecting kernel ftf do i need to uncheck everything except kernel ?

or just select ftf and click on flash icon
[Xperia Z3 General] casouzaj:
If you downloaded the kernel file from the OP (and renamed the extension zip to ftf), you don't have to either check or uncheck anything. Go ahead!
[Xperia Z3 General] DubscroN:
Thank you :^)
[Xperia Z3 General] nri_tech1183:
Ok so will I loose existing data such as contacts, apps etc??

Steps:

I have 23.5.A.1.291.

So first I will flash .575 kernel, run the tool and h=then back again flash .291.

right?
[Xperia Z3 General] bodomfan:
Correct I'm not sure about losing data though just know these are the correct steps
[Xperia Z3 General] abhaykelkar:
You will not lose any data. Go ahead.
[Xperia Z3 General] shoey63:
Nothing will be wiped. Go for it.:good:
[Xperia Z3 General] azim0106:
Thanks a ton,

Now i have sucessfully rooted my xperia z3 d6633 with the twrp, thanks man,

Will you please suggest which rom is best for xperia z3 d6633, i want less heating with the super camera, please suggest
[Xperia Z3 General] casouzaj:
Glad that you've managed to do it! Well, I have the stock ROM in my Z3C, naturally rooted with this tool, and I find to be very good. I have some 130 apps installed, and no lockups or slowdowns or heating issues, whatsoever. I always pick one of the smallest ROMs in XperiFirm for my model. I'm currently with the MY one. Perhaps your current app setup is playing its part. Try WLD to see if there's a culprit. Or even go back to factory defaults, and start from scratch.
[Xperia Z3 General] abhaykelkar:
Hi,

Does this tool also includes features like:

1) ByeSELinux

2) RIC Defeat

If yes how do I check if they are working. Did some research on these but couldnt find anything about how to test it.

If not then how do I install these features? Why do we need them?

Please anyone also suggest good comprehensive root app which allows to uninstall system app smoothly.

Thanks a lot.

---------- Post added at 12:12 PM ---------- Previous post was at 12:07 PM ----------

According to my experience on my previous device, niaboc79's ROM eXistenZ Marshmallow should be good. This is my personal opinion. I havent tested it on my current device.
[Xperia Z3 General] shoey63:
- The tool includes ByeSELinux and RIC Defeat.

- Without ByeSELinux you can't root.

- Without RIC Defeat you can't modify /system.

- To test ByeSELinux, type getenforce in terminal emulator. It should say permissive.

- To test RIC Defeat, root the device by flashing SuperSU in recovery, then use a root file manager to try and change system files.

- To uninstall system apps smoothly, you need to flash a deodexed rom. No questions about "how", and "which is best" please. It's beyond the scope of this thread.
[Xperia Z3 General] abhaykelkar:
Okay. Thanks.
[Xperia Z3 General] nri_tech1183:
Guys I have successfully rooted my Z3. Thanks for the help.

I have a small query though:

My phone has became laggy immediately I installed xposed modules.

I havent installed more apps on my phone just basic ones.

Modules active are too very basic:

android N-ify

appopsxposed

cpu temp

forcedoze (i enable only at night)

installer opt

no keyguard indication

no wake on charge

ussb blocker

Do I need to factory reset my phone again or wipe dalvik/cache? I dont want to loose root.

Please suggest for my laggy phone.

I want to completely remove Google Plus and put in its older version as the Photo editor which comes with Google plus is now very limited to editing options presets.

So what app shall I use to completely remove Google chrome and Google plus so as to install different version?

​

I was able to do it on my Z3 Compact directly from App section in settings but here it only gives option to Disable and not uninstall.

So suggest external tool to completely remove unwanted System apps.

I removed and rebooted and Google plus was gone and I installed the desired ver.
[Xperia Z3 General] Pi3rluigi:
Haven't you clean dalvik /cache before and after installing Xposed?

Try to clean it

To remove system apps you can use Titanium Backup, or use Adb command from PC but this needs some knowledge

Inviato dal mio D6633 utilizzando Tapatalk
[Xperia Z3 General] Posthumanwarrior:
Problem Flashing the Kernel

Guys how to use FlashTool to flash the attached .575_kernel.zip for your device ?

I know to Flash a FTF my PC has everything required to Flash Stock FTF.

All i want to know is how can i flash the Kernel;

i tried renaming no use. should i unzip and do something else ?

Please help.

---------- Post added at 02:00 PM ---------- Previous post was at 01:56 PM ----------

Problem Flashing the Kernel

Guys how to use FlashTool to flash the attached .575_kernel.zip for your device ?

I know to Flash a FTF my PC has everything required to Flash Stock FTF.

All i want to know is how can i flash the Kernel;

i tried renaming no use. should i unzip and do something else ?

Please help.
[Xperia Z3 General] casouzaj:
Just rename the extension zip to ftf, and either copy or move it to C:\Users\your_ username\.flashTool\firmwares. It should appear in your device tree in Flashtool, after you select Flashmode, under 'kernel only'.
[Xperia Z3 General] nri_tech1183:
If factory rest my phone will I loose root?
[Xperia Z3 General] ecksdeeay:
...only your pride
[Xperia Z3 General] nri_tech1183:
what??? Say clearly.
[Xperia Z3 General] ecksdeeay:
The settings dialogue on the phone to reset will not erase root, from what I remember it does nada and just ends up rebooting to where you were before!
[Xperia Z3 General] casouzaj:
Factory reset will wipe only your data partition (except /data/media, if I'm not mistaken, or you'd be offered this option). Your root setup is stored in the system partition. So it would not be affected. Perhaps you'd have to reinstall the SuperSU application and other ones too, witch might be in the data partition, from the Play Store, afterwards.
[Xperia Z3 General] nri_tech1183:
Actually, now whenever I try to get IMIE number by dialling *#06*, it shows an error "unfortunately contacts has stopped"

I tried every available method on the internet to sort issue this but nothing worked.

However other codes such as Sony service menu works without issue.

Rest all is fine..

Hence just for this IMIE stuff I was thinking of factory reset.

Many say its a Marshmallow error but m not sure.
[Xperia Z3 General] casouzaj:
I've just done it and my IMEI come up as usual. No applications crashed in the process. Nevertheless, it is not a big problem. You can get your IMEI from Settings > About phone > Status > IMEI information.
[Xperia Z3 General] legendkiller321:
This will not unlock bootloader?
[Xperia Z3 General] casouzaj:
Absolutely not!
[Xperia Z3 General] legendkiller321:
I like to use the old method which was used on lollipop like rooting with xzdualrecovery and then flash pre rooted rom, does this method havn that or not?
[Xperia Z3 General] casouzaj:
This method is meant to be used directly on Marshmallow, limited to the builds 23.5.A.0.575 and 23.5.A.1.291. In fact, the tool which effectively achieves root access, called iovyroot, only works with the kernel from the 575 firmware. For people running the 291 build, it is lucky that it boots up with the 575 kernel. It's advisable to flash the 291 kernel back at the end, in order to avoid that persistent upgrade notification in the upper bar.
[Xperia Z3 General] nri_tech1183:
I too agree this is the simplest root method ever for xperia z3. No complex confusing steps.

No hassles and more to that NO data loss whatsoever.

Wish the OP continues to improve and keep developing the same method for upcoming MM/ Nougat upgrades as well.
[Xperia Z3 General] AndroidHtc101:
I too was going through threads for a while, trying to find a simple way to root stock MM.

Definitely the simplest way to root the Z3 on MM:)

Thanks again to everyone on this thread !
[Xperia Z3 General] grinna:
Guys, there is some method to this entry that work on Z3+ dual 6533
[Xperia Z3 General] shoey63:
I don't think so. Only works on shinano MM devices AFAIK. Z3+ and up have dm-verity protection, which means you can't modify /system without a custom kernel, which, as I am sure you are well aware, is impossible to flash on locked bootloader.
[Xperia Z3 General] nri_tech1183:
Off topic but need help to root my bothers xperia C3 without unlocking bootloader. I'm not able to find proper thread.
[Xperia Z3 General] serajr:
[MENTION=4675598]shoey63[/MENTION], would you mind if I send you a pm with some off-topic contents? I wouldn't like spamming over here! Thank you bro!
[Xperia Z3 General] shoey63:
Well, coming from you, I will look forward to it.[emoji4] Go for it bro[emoji106]
[Xperia Z3 General] Wooby:
Any help? I flashed the 575 kernel first

Error: Device not supported

Device name: D6603

Kernel version: Linux version 3.4.0-perf-gc14c2d5 (BuildUser@BuildHost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Jun 28 11:15:51 2016

it works now, i clicked exclude while flashing kernel, but my device didnt reboot to twrp, nvm i figured it out

Thx for the tool!
[Xperia Z3 General] casouzaj:
The kernel dated June, 28 2016 is from the 291 firmware. That's why it failed to get installed. The 575"s is dated April, 22 2016.
[Xperia Z3 General] juanpirulo:
If you tick thr exclude box you Will flash nothing Just leave the box unmarked. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] Rajeev:
Hei bro [MENTION=303299]Shoey[/MENTION]64

Can u make one v3.0.2 TWRP Recovery for Concept rom latest ota update ? I am having problems with mount system as rw. Can't copy anything to root explorer. Its saying copy failed. Can't mount system as rw. Pls help
[Xperia Z3 General] shoey63:
Did you flash the modified 3657 boot.img in This post?, and then flash SuperSU 2.78? (obviously requires unlocked bootloader)

It already has TWRP integrated in the boot image. I am running it now with no/system r/w issues. Maybe your file explorer (ES maybe?) doesn't support systemless root. I use FX file explorer with root add on.

Edit: This tool can't be made to run on Concept sofware due to dm-verity.
[Xperia Z3 General] Rajeev:
Yea , i done already all things. Still rw mount problem. Tried all file managers with root... Actually the problem is not there before. Its happens after i restored the backup of concept rom...
[Xperia Z3 General] shoey63:
Weird. No idea why TWRP should do that. There's a 3657 ftf in the concept thread now. Try flashing just system.

When I do a backup of /system, I normally select System Image. It creates a byte for byte image backup. Pretty much foolproof.
[Xperia Z3 General] shoey63:
Of course. That is what TWRP is for.

- Run the tool

- Boot into TWRP

- Root if required

- Make a full backup

- Restore backup if something goes wrong in the future.
[Xperia Z3 General] nri_tech1183:
Yesterday I tried factory reset and you wont believe it took 35mins for the reset to get complete. Ii was stuck on those annoying blue boot animation and battery went from 48% to 19% and phone got red hot.

Has anybody experienced this???

Once it was back I again tried another factory reset and it took some 16 minutes again.

Is this related to marshmallow? Coz on KK/LP it happens very quickly.
[Xperia Z3 General] Rajeev:
Yea. Me too faced this. MM have some problems like this..
[Xperia Z3 General] oguzh4n:
My build number 23.5.A.1.291

I tried to flash .575 kernel with FlashTool like below (pic 1), flashtool begin process then show a confirmation box, I clicked to Yes (pic 2)

Pic 1:

Pic 2:

After start the phone, I checked build number but it's not changed. I tried to run tool (Recovery_for_MM575-291v5) Its completed (Pic 3) but phone not started as recovery mode

Pic 3:

What am I doing wrong?

Thanks,
[Xperia Z3 General] shoey63:
Use a different usb port and try again.
[Xperia Z3 General] casouzaj:
- If you flash a new ROM, you'll loose root access, because the rooting tool is stored in your system partition, which will be overwritten by flashing a full ROM.

- Once rooted, all OTA updates from Sony will fail. You will have to use Flashtool for that purpose.

- A factory reset will wipe your data partition. Root access won't be lost in this case, because, again, it resides in your system partition.
[Xperia Z3 General] starc2k:
any kernel for 6643 variant?
[Xperia Z3 General] shoey63:
The 6603-6653 .575 one in the first post should work for rooting purposes. Then flash just the kernel from a .291 6643 ftf.
[Xperia Z3 General] bodomfan:
Can't get this to work

---------- Post added at 05:20 PM ---------- Previous post was at 05:15 PM ----------

What commands did you execute

---------- Post added at 05:24 PM ---------- Previous post was at 05:20 PM ----------

I flashed the 575 kernel the build number doesn't change and I tried different usb ports,stuck on stock now :(
[Xperia Z3 General] bodomfan:
I flashed the 575 kernel in flashtool and the build number still says 291 I tried 2 different usb ports so wondering why it didn't work so I can't root and install recovery :eek:
[Xperia Z3 General] casouzaj:
Again, you must look at the kernel build date, under Settings > About phone. If it is dated April 22, 2016, then it comes from the 23.5.A.0.575 firmware. If you see June 28, 2016 there instead, then it's from the 23.5.A.1. 291 ROM.
[Xperia Z3 General] bodomfan:
It says April 22nd so I have flashed the correct kernel through flashtool, so wondering why I'm following the correct instructions but this tool won't let me install root and recovery, then after that then I'd obviously flash the 291 kernel :confused:

---------- Post added at 01:50 AM ---------- Previous post was at 01:43 AM ----------

@Shoey63 Any idea?
[Xperia Z3 General] shoey63:
Make sure flashtool is closed before running the tool
[Xperia Z3 General] bodomfan:
Is it possible to flash a newish rom on 291 build even with the older 575 kernel on my stock rom
[Xperia Z3 General] shoey63:
Well, the idea is to flash the 291 kernel once recovery has been achieved.

At any rate, most roms come with their own kernel.
[Xperia Z3 General] bodomfan:
It flashed itself when I flashed Slim rom it flashed wolf's recroot then the rom afterwards
[Xperia Z3 General] shoey63:
Yeah, that's it. Once you have recovery you are pretty much good to flash anything, except unlocked bootloader stuff. Assuming your bootloader is still locked OFC [emoji12]
[Xperia Z3 General] bodomfan:
So I didn't need the 291 kernel through flashtool which is handy because I don't have flashtool access again,as my laptop doesn't let me type the letter r to download and do the captcha for flashtool
[Xperia Z3 General] kirpeace:
maybe u need to flash it. i had flashed .570 kernel in my z2 and it showed .575 update. when i flashed .575 kernel it showed update for .291 even though i was on .291 firmware
[Xperia Z3 General] bodomfan:
I simply installed a custom ROM instead
[Xperia Z3 General] casouzaj:
Yes, custom ROMs use to come with the kernel part as well. Check your kernel build date, under Settings > About phone to be sure. If it's dated June 28, 2016, it's from the 23.5.A.1.291 firmware. If the custom ROM you have flashed is somewhat recent, it might have included this kernel.
[Xperia Z3 General] oguzh4n:
All commands in the shell file

adb shell "mkdir /data/local/tmp/mm_twrp_recovery_install"
adb push boot_twrp_recovery.sh /data/local/tmp/mm_twrp_recovery_install
adb push busybox /data/local/tmp/mm_twrp_recovery_install
adb push byeselinux.ko /data/local/tmp/mm_twrp_recovery_install
adb push chargemon.sh /data/local/tmp/mm_twrp_recovery_install
adb push install_twrp_recovery.sh /data/local/tmp/mm_twrp_recovery_install
adb push iovyroot /data/local/tmp/mm_twrp_recovery_install
adb push modulecrcpatch /data/local/tmp/mm_twrp_recovery_install
adb push recovery.twrp.cpio.lzma /data/local/tmp/mm_twrp_recovery_install
adb push wp_mod.ko /data/local/tmp/mm_twrp_recovery_install
adb shell "chmod 755 /data/local/tmp/mm_twrp_recovery_install/busybox"
adb shell "chmod 755 /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh"
adb shell "chmod 755 /data/local/tmp/mm_twrp_recovery_install/iovyroot"
adb shell "chmod 755 /data/local/tmp/mm_twrp_recovery_install/modulecrcpatch"
adb shell "/data/local/tmp/mm_twrp_recovery_install/iovyroot /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh"
[Xperia Z3 General] bodomfan:
Got it working last week but thanks anyway