yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] The Android Robot:
Yes, there is a way to do that.

If it wasn't obvious already, I'm not responsible if you damage anything.

ATTENTION: Before proceeding, take note that the tutorial I linked is for D5803. Below the link I'll post the steps that need to be done differently.

http://xdaforums.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343

Ok, here are the things you need to do differently:

-Step 3: Don't use the link given in that tutorial or your phone will be bricked, since it's for D5803. Instead, search for a firmware for D6653. Remember, the firmware has to be older than 23.0.1.A.5.77.

-Step 28: Don't use the firmware given. Get a Marshmallow for your device (D6653). Either download it or create yourself using XperiFirm + Flashtool.

-Step 30: Instead of XZDR, get RecRoot v4 from the main page of this thread.

-Step 31: In PRFC, put Marshmallow .ftf in ".ftf" box, SuperSU or dummy flashable in "SuperSU" box (doesn't make any difference which one you use) and RecRoot v4 in the "Recovery" box.

-Step 34: Make sure you get the XZDR for your device. And since XZDR is now combined, you only need the zip. Extract it and the installer is in there.

-Steps 7 and 43: To make sure you get a fresh start, also check everything in "WIPE" box. Not doing that resulted in a bootloop for me the first time I did it.

When the whole process is finished, I recommend taking a new TA backup (that's where DRM keys are) since TA contents change with software updates.

Another good idea is to calibrate the battery. I used this tool: https://play.google.com/store/apps/details?id=com.vitula.batterycalibration. Simply charge to 100%, use the app to calibrate, reboot and use normally until battery is empty. Recommended to charge completely (to 100%) after that again.

If you need to update BusyBox in the future, use the installer by JRummy since his is included in RecRoot v4, and is one of the few that won't break TWRP recovery. Trust me, I tried it.

You can get it here: https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer

Also, the TWRP you should now have has TA partition features disabled (so people wouldn't mess up their TA partition because of stupidity or lack of knowledge). Flash this to get it back: http://xdaforums.com/showpost.php?p=66730338&postcount=605

This is a really tedious process, but worked flawlessly for me. (D6603 on Marshmallow + Locked Bootloader + Root + BusyBox 1.24.2 (JRummy) + TWRP 3.0.2-0).
[Xperia Z3 General] Mohitash:
Thanks for your time bro.

As, i am not a noob. i know all that already and did that many times since lollipop was new.

But actually what new i got from this is i can flash fresh pure MM stock rom with the help of PRFC (that's it) over lollipop rom. (Clean). Is that so really? Hmm...So, means active MM rom devs actually made flashable zip like this only, after getting source and completing their rom. :rolleyes:

I thought devs are doing something different for ease of their fans/users so that they can enjoy/flash mm even on lollipop.

Oops i missed that one because of lack of time.

Thanks a lot [MENTION=5323384]The Android Robot[/MENTION] and [MENTION=2822871]Wolfbreak[/MENTION] as always for your hard work

Regards

Mohitash
[Xperia Z3 General] theduke7:
in the OP it says that The Windows Variant only installs Recovery...

does that mean that on a stock MM firmware (without root) it can install recovery ...there was a similar XZDR option that required no root., because if that's the case, then it's possible to install it through windows then install recroot v4 with the recovery... or am i getting something wrong?

also if it requires root, i read somewhere that kingroot can root MM now, so again acan the windows variant then install recovery !!!
[Xperia Z3 General] Mohitash:
In this case root required and its already mentioned there check again.

Kingroot can't root MM at least not on Z3 MM (already checked)

PS: Also check last two posts above yours. This may helpful for you.

Regards

Mohitash
[Xperia Z3 General] theduke7:
yes, i must've messed it of the OP,

and yes, i read the posts, i already have a prorooted zip (using that method) :D , i was just as they say "entertaining" the idea... seeing if there other ways ,

so that means, if (and only if) there's one day a root method for MM, the windows installer will be able to install recovery...

thanks for the reply :)
[Xperia Z3 General] The Android Robot:
Since [MENTION=4783710]Mohitash[/MENTION] wanted to know how to root on Marshmallow without bootloader unlock, I'm gonna try and clear that up for everyone.

Unfortunately, only firmwares prior to 23.0.1.A.5.77 can be rooted without unlocking bootloader using Giefroot (or similar root exploit).

And if you are already on a newer firmware, the only method to root with locked bootloader (and install busybox, backup TA, etc.) is to downgrade and go through the long process.

If you are willing to lose DRM keys in order to root, busybox, etc without downgrading, or have already lost DRM keys, there is a solution. A method exists to restore DRM-only functions (like X-reality, camera quality, etc). It won't restore the actual DRM keys though. Just the lost functionality.

---------- Post added at 06:44 PM ---------- Previous post was at 06:04 PM ----------

Should be OK to flash in recovery. Not sure if clearing cache/dalvik is necessary, but recommend doing that too.
[Xperia Z3 General] Mohitash:
Hmm...same when lollipop was new. But actually i must correct you. Z3 Lollipop can be rooted without unlocking bootloader with kingroot and not only prior to .77 firmwares.

Since, now MM is new as LP was new at it's time, so there is no way to root at present without unlocking bootloader.

Regards

Mohitash
[Xperia Z3 General] The Android Robot:
Thank you for correcting me :)

I honestly had no idea Z3 on Lollipop can now be rooted with Kingroot without bootloader unlock. Couldn't be done when tried it. Then again I tried it a long time ago.

The support page says 2.2, 2.3, 4.0, 4.3, 4.4, 5.0. Not mentioning any newer versions of Lollipop though.

I still wouldn't use Kingroot as it is difficult to replace with SuperSU on many (including Sony) devices. Plus, users have reported weird device behavior.

Would like to know how exactly Kingroot works. It sends ROM information and selects best root method, but the exploits it uses are not known to the general public. It doesn't properly credit the creators of the exploits.
[Xperia Z3 General] theduke7:
any Kingroot version from 4.6 and above will root Z3 LP

the process is simple it sends some info and downloads an exploit and acquires root, again i have to correct you, you can then (after rooting with kingroot) replace it with SuperSU, by finding an app called "SuperSU Me" on play store ...or better yet use the files on THIS THREAD

the instructions are for Xperia z but both files and instructions work on z3 (use kingroot 4.6)...

supersu me app replaces kingroot with Super SU, and then reboots (after you update SuperSU binaries) ...and you isntall recovery...etc :)
[Xperia Z3 General] sanjeevrai97:
Easy Method Friend...

1. Just root with latest Kingroot (any stock xperia lollipop firmware).

2.Then install a recovery. Better use NUTs combined ones.

3.Then you can easily unroot by going into kingroot menu and uninstall it.

4. And last flash latest zip of SuperSU from Chainfire (our all time favourite superuser management app with nothing suspicious in it).

Hope its simple enough and helps you.;)

---------- Post added at 04:20 PM ---------- Previous post was at 04:16 PM ----------

Hey [MENTION=4783710]Mohitash[/MENTION]. Glad to see you bro. I thought you're inactive recently.

Its cool that you're spreading this info of kingroot. It will help people. :)

Regards

Sanjeev
[Xperia Z3 General] Marília de Oliveira:
There's something wrong here >>RecRootv4<<, I install everything else when I'm going to write something the twrp accuses who installed but if I connect the device simply did not install anything ... IE I have to enter the twrp again go in mount system and then write what I want, what can it be? is there a fix for this?
[Xperia Z3 General] juanpirulo:
It happend to you with v3?

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] Marília de Oliveira:
Yes, with the v3 of [MENTION=3989065]serajr[/MENTION] and RecRoot V4 ... TWRP It works like a placebo :crying::(
[Xperia Z3 General] Serial Kazama:
So i musst ask a simple question.

I am on 5.1.1 SlimRom 5.0 with locked Bootloader.

Can i install this Recovery like the first discription, only Run install.bat on Windows and connect Phone or flash in your already working Recovery to keep Root?

After that i can flash Slimrom 1.6 (Android 6.0.1) and everything is fine?

thx for advice.

greetings Kaz
[Xperia Z3 General] mathorv:
I am not sure about stability of [RecRoot V4]. V3, V2_fixed or v1 are more stable.

I see no reason to use Recroot as it's inluded in Slimm already.

You should read Slimm instruction manual. It helps you know.

You should ask such questions in Slimm thread in the future.

PS

Using thanks button below makes me happy.
[Xperia Z3 General] shoey63:
Don't use recroot v4 on top of serajr v3. Flash individually, RIC defeat, byeselinux, system root supersu, and then recovery by [MENTION=3989065]serajr[/MENTION].
[Xperia Z3 General] fascri:
Hi guys, I run boot.img in fastboot mode, but then my z3 (D6603) does not go into recovery mode. Can someone help me?
[Xperia Z3 General] Marília de Oliveira:
Yes I know, I didn't install on top of each other just installed the RECROOT and I had problems after reinstalled the stock and installed the serajr and had the same problem. :D
[Xperia Z3 General] rakeshbro:
Will Recroot V4 work on z2? I'm trying to create a pre rooted version of 575 firmware.
[Xperia Z3 General] AK2H:
Yes it will work.

I'm already using it on my Z2 MM .570
[Xperia Z3 General] rakeshbro:
Can u pls share the method that u've used to create prerooted firmware. And Did u face any bootloop or U've to flash that mm bootloop.zip fix?

I was on 570 and created a prerooted firmware of 575 and flashed it over 570 and didn't used the bootlopp fix thought It was not necessary and i got rekt. :p Device was rebooting as soon as it boot into lock-screen. Then I'd to downgrade and flash 575 again and after using bootloop fix now I can use mm like before.
[Xperia Z3 General] dex87xda:
75c during backup - is this normal on Z2?

55 - 60 in stanby in recovery -_- i think its not normal cpu temperature.
[Xperia Z3 General] nailyk:
Did you encrypt backup?
[Xperia Z3 General] dex87xda:
This is not problem, its my decision, i was cancelled backup. Soory for mu bad eng.

But temperature is problem -_-
[Xperia Z3 General] heywheelie:
my Z3 also gets very hot when using TWRP. Seems normal. Just as long as the phone functions properly and temp is normal (use cpuz to check) then all is fine.
[Xperia Z3 General] bodomfan:
Do we need to be on lollipop before installing this
[Xperia Z3 General] The Android Robot:
Creating pre-rooted firmware:

1) Download firmware with XperiFirm or from the Internet

2) If you used XperiFirm you need to create ftf using Flashtool

3) Open PRFC

4) Add ftf as firmware file

5) Add SuperSU.zip (or dummy flashable) as SuperSU file

6) Add RecRootv4 as Recovery file

7) Click Create

Installation + bootloop fix:

1) Copy flashable_prerooted.zip to phone and flash in TWRP

2) Flash newest SuperSU.zip from chainfire (because SuperSU in RecRoot v4 is already outdated)

3) Clear cache + dalvik

4) Use Flashtool to flash non-rooted ftf but check /system in Exclude section.

In case you already have a bootloop:

1) Go to TWRP and clear cache + dalvik

2) Flash non-rooted ftf using Flashtool. Make sure to exclude /system in Exclude section.

3) If bootloop still occurs, re-flash the ftf again, excluding /system, but this time check everything in Wipe section. Did the trick for me.
[Xperia Z3 General] rakeshbro:
Nice tip : 4) Use Flashtool to flash non-rooted ftf but check /system in Exclude section.

But I use Z2-6.0.1_570_bootloop_fix.zip instead to fix bootlop.

Also a lil info don't use latest supersu from official site on stock sony rom, Otherwise u may lose root after boot. We have to use system-mode supersu to have root access.
[Xperia Z3 General] The Android Robot:
I prefer flashing because it's annoying for me to choose the right bootloop fix. For example I have D6603 on .575. I just find it easier to flash ftf since I created it already anyway for PRFC. No researching required.

About the SuperSU, I downloaded it here: http://download.chainfire.eu/supersu No problems for me. It is in System mode, so no need to worry about the Systemless hassle. I have had a .575 6.0.1 Rooted, BusyBox 1.24.2 JRummy, TWRP 3.0.2-0 and SuperSU BETA v2.74-2 for long enough to say it works perfectly on D6603.
[Xperia Z3 General] rakeshbro:
On my D6503 those official supersu never worked, Only version that worked is only systemmode versions. So no idea about D6603.
[Xperia Z3 General] AK2H:
I didn't create a prerooted firmware by myself, I downloaded a ready one (it didn't had RecRoot V4 inside so I had to flash it by myself).

Steps are via TWRP :

1. Flash MM prerooted

2. Flash RecRoot V4 (before bootloop fix to avoid the freez Unable to mount system issue)

3. Flash bootloop fix

4. Flash RecRoot V4 again and reboot!

However I used RecRoot V4 only after I faced problems with backing up and restoring system paration and soft bricked my device 5 times!

It was giving me an error like :

CreateTarFok( ) process ended with ERROR : 255

Then I started searching for a solution and I found it here!
[Xperia Z3 General] The Android Robot:
No need to clear /system in this case.

Also, in this case wiping data is not necessary since it's such a small update (.570 -> .575).

Simply Cache+Dalvik is enough. Then you can proceed with flashing pre-rooted and after that bootloop fix (or ftf excluding /system)
[Xperia Z3 General] AK2H:
I know but I always like to have a total clean install!

I told him the exact steps I did in case it is matter.

Thanks for sharing your thoughts my friend!
[Xperia Z3 General] rameshkotibani:
bro pls provide dummy flashble zip

the mega link or not working:)
[Xperia Z3 General] toxic-hero:
also, it is worth mentioning where to get the two needed parts:

SuperSU SystemMode: http://xdaforums.com/apps...-mode-t3286120

RecRoot: http://xdaforums.com/z3/g...-0-mm-t3337357 (no, it's not a problem if it is on a big brother Z3 thread)
[Xperia Z3 General] fluffi444:
Don't know actually - But if you already have TWRP installed try it for yourself and report back for others....

Actually all the versions are the same expect of build.prop entry for each device...

So if you use Z2 version your tablet is recognized (in recovery) as Z2 next time...
[Xperia Z3 General] ecksdeeay:
:D Z3 D6633

Works Like it says on the tin
[Xperia Z3 General] DiLeon:
Ok, did that and it's working. No errors showed up. Just one minor issue: the brightness slider (settings) doesn't work as it does on my Z3c (with z3c version). It only slightly changes the brightness, but that's more a cosmetic problem :)
[Xperia Z3 General] Licaon_Kter:
With 'Adaptive brightness' OFF?
[Xperia Z3 General] DiLeon:
there's no setting for adaptive brightness in TWRP , at least not in the Z2 version
[Xperia Z3 General] ecksdeeay:
works for me

Are you using Windows and AV blocking it?

Note;[emoji616]

Brightness works with Z3 Dual but not with Z3TabC
[Xperia Z3 General] bodomfan:
Does this run from install bat on a pc I'm using marshmallow 575,will this install recovery mode and root on it?
[Xperia Z3 General] marenp:
You already have root and recovery. You dont need this. This is for rooting official MM rom.
[Xperia Z3 General] bodomfan:
No I'm On stock marshmallow,so I use this to root mm and install recovery?
[Xperia Z3 General] rameshkotibani:
thanks for providing flashble zip
[Xperia Z3 General] ustas51:
D6633 with locked bootloader and RecRoot v4. RecRoot v4 works fine, but I'm really missing TA (Trim Area) backup functionality. Is it possible to get back in RecRoot v4 TA (Trim Area) backup for the phones with LB?
[Xperia Z3 General] juanpirulo:
You ve got a modified twrp in this post just replaced it on recroot or manually copy to etc/mm_twrp_recovery and give rw-r-r permission. Cheers

http://xdaforums.com/showthread.php?p=66730338

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] heywheelie:
Does the Z3 mod work with all versions of Z3 phone ie. 6653, 6633 etc?

cheers

---------- Post added at 09:49 PM ---------- Previous post was at 09:01 PM ----------

2 quick questions:

I created a pre-rooted MM 6.0.1 firmware using recroot v4 as the recovery. It seems to be stable and everything works fine. I can manually boot to the TWRP 3.0.2.0 recovery holding down the Volume- key on bootup. Root is fine as well.

I have noticed 2 things.

1. The system folder is showing as R/O. Is that correct or should it be R/W?

2. Is there any way to get apps like Quick Boot, flashify etc to boot to recovery like they do with KK and LP? Flashify doesn't seem to work at all with MM.
[Xperia Z3 General] Licaon_Kter:
That depends on HOW you look. What app? It needs to be pretty up to date, it needs to `remount partition as r/w`

IIRC, most apps were barely working on LL, so no, no such app for now.
[Xperia Z3 General] heywheelie:
I'm using Root Explorer. It shows the folder is currently R/o with the option to make R/W

Actually both apps I mentioned worked perfectly for me in LL.

No problem tho, easy enough to manually boot to TWRP. Pity this version of TWRP makes the phone so hot when creating a backup.
[Xperia Z3 General] fluffi444:
Yes - for sure - but then your phone is recognized as Z3 D6603 afterward (in recovery only - booted system is normal). This could be a problem if you flash zips which includes device check via assert line in installer zip. But most zips I saw in Xperia Forums do not have this security check :)

Anyway - not tested by me therefore no guarantee. Test it for yourself an report.
[Xperia Z3 General] heywheelie:
That might be a problem for me as I have a D6653.

Thanks for the hard work.

cheers
[Xperia Z3 General] Levistras:
This got me root on my Z3 Tablet Compact, which is awesome, was struggling with it for a few days trying to make it work.

Recovery.. not so much. Without the old "advanced kernel + twrp" for the Z3 Tablet Compact I have no way to trigger loading into the recovery menu. I'm sure this flashes recovery to somewhere.. I just can't get to it.

But having root alone is enough for me at this point. Thanks!

Now I have a Z3 Tablet Compact LTE, SGP621, running 6.0.1, Build 23.5.A.0.575, with root!

No recovery but I don't really need that in my situation, I can just repeat this process once there's an official update and dirty flash it.

EDIT: Curious if this is the same for anybody else... not sure how the other Xperia devices handle recovery, but does this prevent you guys from getting to recovery? (either keypress or "adb reboot recovery", neither works for me).
[Xperia Z3 General] kobhispeed:
D6653 I Loss 1.No Radio Signal 2.Back Camera not responding

Help me Please / D6653

I Loss

1. No Radio Signal

2.Back Camera not responding

help me please

thank you.
[Xperia Z3 General] shoey63:
What did you do?
[Xperia Z3 General] ecksdeeay:
Within TWRP I meant to add!

(just to make this clear);)
[Xperia Z3 General] fluffi444:
Just a general question:

Is OTG working for some/one of you in Recovery 3.0.2-0?

During booted system OTG works (with fat32 formated usb device) but in Recovery nothing happens.

No way to mount it. Looks like the USB device got no power at all (status LED is not on).

Checked already mounting points in fstab(s) - Looks ok.

I'm still on AndroPlusKernel. Maybe some of you are on stock kernel without this issue?
[Xperia Z3 General] heywheelie:
Is the extreme heat during a backup (even higher using compression) just a bug with TWRP 3.0.2.0? Is it possible to fix?
[Xperia Z3 General] shoey63:
I think it's the MM kernel (On locked bootloader TWRP uses the stock one) I compiled an UB version for flashing to the FOTAKernel partition with latest N3 preview kernel (For my own testing purposes) and it never went above 55 Celsius.
[Xperia Z3 General] resadent:
This script isn't working for me. I have to run manually all the commands in the script with the adb shell of my phone, having entered as root (with "su" command). If I don't do this, I cannot get the script working because it doesn't have root permissions. Also, I cannot access the recovery after installing it, so I have to install it every time I want to get to it. Would be fine if there was a solution to this, or someone pointed out my error :P

ps: okay, it works if I mount /system as rw with root explorer, but I cannot find a way to boot to recovery without installing it every time! is this normal?
[Xperia Z3 General] voldemarz:
How will TWRP work with locked bootloader? I thought XZDualRecovery was the only way with locked bootloader.
[Xperia Z3 General] casouzaj:
TWRP is one of the recoveries contained in XZDualRecovery.
[Xperia Z3 General] voldemarz:
I know. As far as I understand XZDualRecovery won't work with Android 6, thus TWRP won't work as well. I wouldn't want to have no recovery after upgrade.
[Xperia Z3 General] casouzaj:
I'm not quite sure I had understood your original doubt. The TWRP recovery included in this very RecRoot solution, conceived for locked bootloader as well, can be accessed at boot time, by pressing the vol- button at the time the green led flashes, along with a vibration, right after the first Sony Xperia logo.
[Xperia Z3 General] voldemarz:
Oh, ok. My understanding was this was a stock rom missing ramdisk extraction and thus wouldn't work with TWRP. I see now it's custom RXSW rom and I guess it must include it. Thanks.

I have stock 5.1.1 with XZDualRecovery. If I flash this rom with TWRP from XZDualRecovery, should I afterwards also do the XZDualRecovery removal procedure flashing XZDR-removaltool.zip or it will be gone already?
[Xperia Z3 General] casouzaj:
This mod is meant to provide root access, SuperSU and TWRP to Android 6.0.1. Whilst still in 5.1.1, intending to install a cooked 6.0.1 build in zip format, after flashing it, without leaving the ongoing TWRP session, flash RecRoot. You can also install the Xposed zip afterwards, if you wish. And yes, your current XZDualRecovery will be automatically gone!
[Xperia Z3 General] dSERiES:
I'm thinking I can create a pre-rooted ROM from a stock FTF like:

PRFCreator + Stock FTF, then add SuperSU.zip extracted from RecRootv4.zip, then add RecRootv4.zip as well (then I'm not sure if I should flash this bootloop fix that's available for Z2s).

Or just flash a stock ROM in zip format and then flash RecRoot afterwards if I understand correctly?

If the latter, I can just create a flashable zip from an ftf using PRFCreator with no extra files added?

Thanks in advance
[Xperia Z3 General] serajr:
Humm... please try out V3 (attached)!
[Xperia Z3 General] ojessie:
Actually I got the same problem was already on a rooted with working TWRP MM rom http://xdaforums.com/z3/development/rom-purex-z3-mm-v1-t3372073.

But all over sudden when I tried to boot into recovery TWRP and xposed framework are lost. Since than I cannot access TWRP. Running the RecRoot, and it doesn't matter V3 or V4, I get an error "mkdir: can't create directory '/cache/recovery/': Read-only file system

touch: /cache/recovery/boot: No such file or directory"

Any help is highly appreciated.

best
[Xperia Z3 General] ondrejvaroscak:
Did you instelled/re-installed/modified/updated busybox or used any busybox installer? We are talking here about small computers - nothing happens "all of the sudden"....
[Xperia Z3 General] ojessie:
no neither nor. As mentioned I had xposed installed used a mod to boot directly in recovery and viola. In the meantime a fixed the TWRP problem by flashing a boot.img with fastboot. Funny is that I flashed xposed again but it can't be activated ... seems that I have to flash the rom again.