yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] coch:
Thanks, I got it to work with the fixed RecRootv2. It took me a couple of tries though to get it to stick. first time I had root but no recovery, second time no root and no recovery, and third try I have both root and recovery.

Thanks!
[Xperia Z3 General] Bartekreaper:
Can you write how you make root and recovery working together?

Wysłane z mojej Z3

Compact przy użyciu Tapatalk
[Xperia Z3 General] coch:
Sure, I did exactly like I wrote in my post #487 http://xdaforums.com/showpost.php?p=66396119&postcount=487 except I used the fixed RecRootv2 that you pointed me to

instead of the RecRootv2 from the OP

and the other difference is that on my previous attempts today I had lost root and recovery in the process so I had to go through downgrading and re-rooting, meaning I was coming in from KitKat this time instead of Lollipop.

So, if I re-use my post 487 with the modifications and a few clarifications, this is what I did:

Success.

but as I previously said I tried this 3 times and haven't always obtained the same result, but on the 3rd attempt both root and recovery were there. Not sure if this makes a difference but on my 3rd (and successful) attempt I wiped Dalvik/cache more often as listed at the end of my steps 6 and 7 above.

As I
[Xperia Z3 General] juanpirulo:
Well thats Just like to make a flashable and afterwards flash recroot. The thing its to make a preroot and flash everyting in One step. So to put supersu systemod in first box and recroot as extra zip its the Best way. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] osm0sis:
[MENTION=4675598]shoey63[/MENTION] could this be the problem:

CONFIG_FEATURE_LZMA_FAST=y ?
[Xperia Z3 General] shoey63:
I'm not sure if lzma is even the problem.

See the screenshot

It extracts to cpio without error.

Also, I tried to track down NUT's busybox, but could only find a precompiled binary https://github.com/xNUTx/XZDualReco...es/installer/lockeddualrecovery/files/busybox[emoji53]
[Xperia Z3 General] osm0sis:
So it does work? :confused:

That binary's bbconfig does show:

# CONFIG_FEATURE_LZMA_FAST is not set

.. But I think I need you to show me how mine's broken now, since that would mean AIK-mobile lzma support is broken, and it all looks fine to me.
[Xperia Z3 General] shoey63:
I'm assuming it fails when it gets to this part of [MENTION=4904057][NUT][/MENTION]'s script.

# Copy, unpack and prepare loading the recovery.
DRSETPROP dr.recovery.boot ${RECLOAD}
EXECL cp $SECUREDIR/xbin/recovery.${RECLOAD}.cpio.lzma /sbin/
EXECL lzma -d /sbin/recovery.${RECLOAD}.cpio.lzma
RECOVERY="/sbin/recovery.${RECLOAD}.cpio"

No idea why. Maybe you could make a test build with # CONFIG_FEATURE_LZMA_FAST is not set ?
[Xperia Z3 General] osm0sis:
Sure. Here you go. Let me know in my Odds and Ends thread if it works, so we don't derail this thread any further. :) :good:

[ Attachment removed, experiment concluded. ;) ]
[Xperia Z3 General] trevinshu:
Will it work?

Will this recovery work on the new official Marshmallow update for the Z3
[Xperia Z3 General] juanpirulo:
Yes, but you have to root first. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] wc_how:
Hello guys, i wish to create FTF myself, and i found there are 4 .ta file (auto-boot.ta, osv-restriction.ta, cust-reset.ta & fota-reset.ta). Before this were only 2 .ta files.

Shall I exclude all of the .ta file or just exclude the cust-reset.ta & fota-reset.ta.

I find no where can get this answer, anyone can please help me.
[Xperia Z3 General] coch:
I couldn't find any info about those either. However, I decided to exclude them all (all .ta files, I had 5 .ta files myself, not 4) and everything appears to work well so far (been on MM for about 24 hours).
[Xperia Z3 General] funkyblue04:
Hello

Is there instructions on how to install RecRoot? That bit was missing from the first page.

Thanks
[Xperia Z3 General] Bartekreaper:
Just flash V1 or V2 with busybox from V1 or V2 with fixed busybox from my post some pages ago. Flash it after flashable MM:

1 Flash MM

2 Flash RecRoot

Or just flash pre-rooted rom with root and recovery inside which worked.

Wysłane z mojej Z3

Compact przy użyciu Tapatalk
[Xperia Z3 General] callum_88:
I've booted fine after flashing, but how to do you boot into recovery? There isn't any NDR utils
[Xperia Z3 General] Bartekreaper:
Use volume down key when booting, and green led lights up.

Wysłane z mojej Z3

Compact przy użyciu Tapatalk
[Xperia Z3 General] callum_88:
Thanks buddy!
[Xperia Z3 General] Bodhsativa:
I flashed the boot.img for an unlocked bootloader, and the phone loaded up but the screen is completely black. I can hear notifcations and everything, but the screen isn't working. Using a D5803 with the G LAM MM. Anyone else have this issue?
[Xperia Z3 General] shoey63:
Anyone who flashes a boot.img not meant for their device (as you have), will face exactly the same problem.
[Xperia Z3 General] Bodhsativa:
Yeah, sorry, I was directed here from a Z3 compact thread, and didn't notice that the rediect brought me to another device thread. I fixed it a while ago anyway.
[Xperia Z3 General] Wolfbreak:
LB/UB supported [Windows/Flashable]

Hey guys i present you RecRoot v3.

Please report back if it works!

Instructions

You need to have Root already and a Windows PC or working Recovery

Run install.bat on Windows and connect Phone or flash in your already working Recovery to keep Root

The Windows Variant only installs Recovery

Features

New TWRP 3.0.2 Recovery from shoey63

ByeSELinux

RIC Defeat

Fixed sqsh mount in Script

Updated Busybox

SuperSU 2.71 in System Mode

Download

Download RecRoot Combined v3 for Android 6.0.1 Marshmallow [all MM Firmwares supported]

Credits

serajr for Scripts

shoey63 for Recovery

NUT for his Scripts

zxz0O0 for ByeSELinux and RIC Defeat

Chainfire for SuperSU
[Xperia Z3 General] juanpirulo:
only a question [MENTION=2822871]Wolfbreak[/MENTION] inside your zip there is diferents folder with busybox inside but the one inside root/utils has diferent size than the others two. is that ok? i am still getting some error mesagges on the recovery.log
[Xperia Z3 General] dex87xda:
Works on Z2 ? or me must put and replace into zip recovery.twrp.cpio.lzma for z2 ??
[Xperia Z3 General] mansell68:
Please help me.

I have this messagem:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Device Detected!

Installing ...

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

75 KB/s (2164 bytes in 0.028s)

417 KB/s (3006 bytes in 0.007s)

5038 KB/s (3164661 bytes in 0.613s)

5220 KB/s (870760 bytes in 0.162s)

356 KB/s (1833 bytes in 0.005s)

chmod: no such tool

chmod: no such tool

sh: mount: not found

sh: /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh: can't execute: Permission denied

/system/bin/sh: rm: not found

Finished!

Rebooting into TWRP recovery ...

Press any key to continue . . .

I can´t mount r/w on my device D6633.

Thank´s.
[Xperia Z3 General] ondrejvaroscak:
Seems you need to install Busybox first or your busybox installation is corrupted.
[Xperia Z3 General] theduke7:
[MENTION=2822871]Wolfbreak[/MENTION] v3 works on your rom at D6633 :)

downloaded the file and flashed it through recover, everything works fine

just to make sure, the TWRB i read somewhere that its ver 3.0.2.1 ,the one already in the rom is 3.0.2..0, after flashing still 3.0.2.0..this is normal right?
[Xperia Z3 General] nailyk:
Don't know where your icon come from but the CVE-2014-7911 is an old flaw (android < 5.0). So an app you include in your rom should test some vulnerabilities in your android version.

VTS for android
[Xperia Z3 General] EGY falcon:
I just used a stock firmware from Xperiafirm and ( BETA-SuperSU-v2.68 ) and ( RecRootV3_combined ) and combined all together with PRFCreator Nothing more, so what are the vulnerabilities that I'm facing now?, do I just ignore ? what should I do ?
[Xperia Z3 General] ondrejvaroscak:
You face nothing. From somewhere you got an app that test some vulnerability, but founds, that your device is OK. Just unistall that app... Did you do clean flash?
[Xperia Z3 General] Domac5:
How to flash recovery if I have MM rom without root with locked bootloader? I can't root if I don't have recovery and I can't install recovery, how can I even enter recovery, what is the combination vol down + power or what?
[Xperia Z3 General] ondrejvaroscak:
No root = no recovery. You need to go back to Lollipop rooted to get recovery if you are on M unrooted and locked.
[Xperia Z3 General] petrmelis:
You need to use FlashTool to get back to on of the rootable versions (KK or 5.0.2) then rot it and install recovery a then try again prerooted MM etc. You can find guides for FlashTool.
[Xperia Z3 General] jacqqqqqq:
Deleted
[Xperia Z3 General] Hussain_Salam:
Could someone explain properly how to use RecRoot?

Do i flash the Marshmallow FTF

and then run the Install Bat?

I'm currently on 5.1.1 Rooted + Recovery

Can someone please help me out and tell me which steps i need to take and how to have rooted MM + Recovery

I don't want to lose Xposed. Apologies for sounding like a noob!

Alternatively Can i just use PRF Creator to make a pre-rooted MM like i did with Lollipop, If possible how would i do this, and where can i find the Correct SuperSU and Recovery which are compatible with Marshmallow?
[Xperia Z3 General] luiis_104:
Deleted
[Xperia Z3 General] Horgar:
If all you want is to have rooted 6.0.1 with recovery, then why don't you flash Wolfbreaks rooted 6.0.1 with recovery rom? The link is in the OP. There are also a couple of other great mm roms for lb on z3 forums. If you're rooted with recovery on 5.1.1 then just download the zip to your phone, flash in recovery, add latest xposed zip - v83 sdk23, wipe cache, dalvik - and data to be sure. Reboot
[Xperia Z3 General] juanpirulo:
For prerooted you need latest firmware. 570 supersu 2.71 and recroot v3 combined.

Just make preroot like on 5.1.1 but recroot put on dualrecovery box.

Cheers

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] Hussain_Salam:
Thank you, will do and let you know if it works, however where can I get the SuperSU
[Xperia Z3 General] Licaon_Kter:
nvm
[Xperia Z3 General] juanpirulo:
As recroot has allready inside a supersu and script to install it as system mode i suggest you to put this false zip as supersu to avoid problems, it has nothing inside but you need to put something on supersu box or you will not be able to run pcrfcreator.

dummy_flashable.zip	825 B

https://mega.nz/#!zwQ3hCBL!FAeLKzOFw0Zw7mwl9v7e-2B87QAbayrMrBreeTxGjjw
[Xperia Z3 General] ondrejvaroscak:
Do NOT uset 2.71 SuperSu!!! It uses systemless root mode that will not work on Sony devices. In suporsu.zip box put a dummy zip file and in recovery box put Recroot. Recroot is one combined zip file with recovery and super su.
[Xperia Z3 General] Hussain_Salam:
Thank you, will be doing this soon. Appreciate the support here at XDA!
[Xperia Z3 General] jacqqqqqq:
When I m installing zip I have one error.

Error finding archiwe entry rpm.sin

The system works and looks that all is good.

Is everything good even as I have had this error?

Please help me
[Xperia Z3 General] juanpirulo:
Thats because this firmware has no rpm.sin no worries

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] kersian:
Just checking, can this be used on Z3TC?
[Xperia Z3 General] avi312singh:
Works on [MENTION=2902434]Pandemic[/MENTION] lastest MM ROM!! Thanks bro!
[Xperia Z3 General] WarEduar:
Download RecRoot Combined v3 for Android 6.0.1 Marshmallow [all MM Firmwares supported]

works on MM unlocked bootloader?

thx in advanced.
[Xperia Z3 General] naimarshad:
Hey guys, I have flashed the pre-rooted ROM but I can not boot into recovery. Please tell me what is the method to boot into I am using TWRP app also key combination is not getting me into recovery.
[Xperia Z3 General] juanpirulo:
Which prerooted rom have you flashed? If you dont give any information is quite dificult to help you. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] The Android Robot:
EDIT: My TWRP started suddenly giving error "Failed to mount '/system' (Device or resource busy)".

Proceed at your own risk!

Thank you for this useful mod :good:

One thing I would like to point out though is that by default it installs an out of date version of BusyBox.

However, updating BusyBox with most installers will break the TWRP recovery (the device just won't boot into it).

After a lot of testing, I managed to find a BusyBox installer that leaves the TWRP recovery fully functional.

Link to the app on Google Play: https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer

I have only tested it on D6603 with my own created pre-rooted 6.0.1 Marshmallow on locked BL (using XperiFirm, Flashtool, PRFC and RecRoot v3, in case anybody wants to know) and it worked flawlessly.

It will most likely work on other devices too, but I'm NOT going to take ANY responsibility.

Hope this helps ;)
[Xperia Z3 General] Depump:
How to delete ota nofitication update ?

my phone root already.
[Xperia Z3 General] churchrickshaw:
Hey, I was just wondering what kind of issues would I run into if I had used 2.71?

I'm on it now and it's been working fine and root hasn't done anything funny yet. ROM's like [MENTION=2902434]Pandemic[/MENTION] also has a "root fix" by flashing a 2.68-systemless root

Thanks
[Xperia Z3 General] The Android Robot:
I used SuperSU v2.71 as SuperSU and RecRoot v3 as recovery when creating pre-rooted firmware in PRFC. Currently installed SuperSU version is 2.71 and so far it hasn't given me any problems.
[Xperia Z3 General] gamblerpl:
How to make root in stock 6.0.1 ?
[Xperia Z3 General] michi24hl:
Can anybody help me to create deodex patch for latest marshmallow?

Gesendet von meinem D6603 mit Tapatalk
[Xperia Z3 General] ondrejvaroscak:
Did you bothered to read the first post (OP) ?????
[Xperia Z3 General] ecksdeeay:
I'll let you know.....just finished booting up (attch' is what I used)

:D so far, yet to try recovery.....

EDIT; recovery is there (and working AFAIK) yet to use it!!
[Xperia Z3 General] juanpirulo:
Should be right, thats the way to make a preroot. Good job

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] glimmling:
I can confirm, when you update busybox with one of the Play Store apps, TWRP isn't able to mount /system. Reinstalling RecRootV3 and staying with the included busybox fixed the problem.
[Xperia Z3 General] zayyarl:
can this prf flash via rooted 5.1.1 with dualrecovery?

thank you.
[Xperia Z3 General] The Android Robot:
Well, I managed to find one (Neo Busybox by polarbear software) that does not result in /system mounting error, but unfortunately it installs v1.23 not the latest v1.24.2.

After messing around with pre-rooted software, many BusyBox builds, different TWRP versions and other stuff, I decided it's best to reinstall 6.0.1 (pre-rooted with RecRoot v3) and not make any changes to the version of BusyBox that comes with RecRoot, in order to keep my phone as clean as possible. Everthing seemed to work fine until the next evening when the camera stopped working. It had just black screen with no UI visible. From all the things I tried, nothing seemed to fix this.

What I finally ended up doing was restoring a 5.1.1 nandroid backup and renaming base.apk to base.apk.freeze in /data/app/com.sonyericsson.updatecenter-1/ so the software update notification wouldn't bother me. Now I have a stable rooted Lollipop with locked BL, XZDualRecovery v2.8.26 and latest v1.24.2-Stericson BusyBox again. Everything has been working fine since then.

I will stick with this until we get XZDualRecovery from [NUT] with proper Marshmallow support. Plus, XZDualRecovery is compatible with newest BusyBox versions, including Stericson's.
[Xperia Z3 General] ondrejvaroscak:
Good find. Thanks!
[Xperia Z3 General] Licaon_Kter:
I've done myself a Customised DE, one thing to keep in mind, I ended up w/o root and w/o recovery until I RE-flashed RecRootv3 at the end again.

Steps, you start with root+TWRP (on KK or LL):

* flash with TWRP the ZIP made with PRFCreator ( FTF+dummy_zip+RecRootv3 )

* Xposed

* Debloat

* re-flashed RecRootv3

Success. ;)
[Xperia Z3 General] ecksdeeay:
Exactly Yes, that's what I had
[Xperia Z3 General] The Android Robot:
This is how I rooted on Lollipop:

1. Downgraded to older firmware (23.0.A.2.93) using Flashtool and rooted with Giefroot (had to do it twice) and backed up TA with BackupTA

2. Created FTF file of the latest firmware using XperiFirm and Flashtool

3. Used PRFC to make pre-rooted .zip file using the created FTF, latest SuperSU and XZDualRecovery and put it on my phone

4. Opened XZDualRecovery on PC and through ADB put my phone in recovery

5. From there I flashed the pre-rooted firmware and switched off the phone

6. Used FlashTool to flash the FTF again, but this time excluding system

Basically, this tutorial can be followed on any Xperia device (assuming the correct XZDualRecovery version is downloaded, based on your phone's model):

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

And since XZDualRecovery is now combined, there aren't two separate files. The .zip gets flashed on your phone (in this case included in pre-rooted .zip) and the one you use on PC is just unzipped version of that same file.

Doing it like this, I kept my bootloader locked, my TA partition safe and got latest SuperSU and updateable BusyBox, not to mention DualRecovery.

With RecRoot you get older BusyBox, which is currently not updateable without breaking the recovery.

---------- Post added at 12:20 AM ---------- Previous post was at 12:02 AM ----------

I would like to know what type of TWRP did you include in that. It works on z3, but as far as I know there isn't an official TWRP for this device. Was it originally made for another device? Or was it just ported? Would like to know :) And a download link would be nice too ;)

Thanks
[Xperia Z3 General] Licaon_Kter:
I had to wipe everything anyway so I went: downgrade to KK, giefroot, XZDR, pre-rooted MM .570, RecRootv3.
[Xperia Z3 General] Wolfbreak:
I will try to work on the busybox Problem once i have Time again. XZDualRecovery uses its own Busybox thats why it works to have latest busybox installed. I will try the same with RecRoot soon.
[Xperia Z3 General] The Android Robot:
I could try and work out a temporary solution for the BusyBox problem myself (until you have time for v4), but for that I need to know what type/version of TWRP is included in RecRoot v3, since there isn't an official one for the z3 (there are official ones for only z3 compact and z3 tablet compact).

I hate to be annoying, but I really need to know

Thanks a bunch :)
[Xperia Z3 General] juanpirulo:
This twrp is been compiled by [MENTION=4675598]shoey63[/MENTION] as i know. So he is the one to get this information from. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] janisf:
Hi everyone!

I have UB and tried the second way, but couldn't make it work so far.

My build is 23.5.A.0.570, I tried flashing boot.img several times using both flashtool or cmd. Everytime it says "OKAY", but I can't boot into the recovery. Did someone have similar problem and could solve it?
[Xperia Z3 General] Licaon_Kter:
Just grep the recovery.twrp.cpio.lzma c'mon.

It says 3.0.2-0.

/LE: More info here: http://xdaforums.com/z3/general/wip-sony-android-6-0-mm-t3337357/post66324053#post66324053
[Xperia Z3 General] The Android Robot:
I don't have much experience with boot files on Xperia yet (I used to have Samsung), but I think recovery isn't included in that. I guess you have to have recovery installed before the process. Then flash boot.img and enter recovery, then flash systemless SuperSU.

Anybody to confirm this?

---------- Post added at 11:14 PM ---------- Previous post was at 10:23 PM ----------

Thanks. Now... Another thing. It's not really usable in PRFC.

I would need a .zip for that. But just extracting it from RecRoot v3 might leave it unusable because of the updater scripts. That's why I wanted to know what version it is and where he got it. And just from curiosity too, since there isn't official one for that device.

Anyway, thanks for your help. Guess I'll stick to XZDR for now. Hopefully [NUT] will update it soon (he's pretty busy right now) and make one that officially and properly supports MM.
[Xperia Z3 General] juanpirulo:
Nop as i know boot.img can pack recovery inside and you need system mode supersu on sony mm. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] The Android Robot:
Thanks for correcting me. Something new learned today ;)

Sorry for the confusion, the recovery seems to be included in this case. I don't know what could cause the problem though.
[Xperia Z3 General] nailyk:
Hi. For the boot process you can give a look here. (perfectible so you can report me back).

In your case the recovery should be launched by your init.sh script. You can start to debug here.

Fell free to ask recoveries debugging purpose on the linked thread.

Good luck and sorry for out of topic answer :o
[Xperia Z3 General] bowyerv:
Can't get it to work on my 6.0.1 D6653

My phone is rooted, but I can't get recovery to it.

I think actually, I blew it when, without thinking, I installed BUSYBOX.

I notice that \system\etx\mm_twrp_recovery has the wrong permissions (rw-r-r- not rwxr-xr-x). Even with root I can't get permission to change this. I get the error "Changing permissions was not successful. Please note that some file systems do not allow permission changes".

I have tried running your batch file but unsuccessfully. I have attached a screen shot, if this helps.

Any ideas:confused:
[Xperia Z3 General] rrdna:
My steps resulted in an endless bootloop.

Came from 5.1.1 LP (...264) rooted,

1. Made prerooted flashable downloaded from xperifirm (.570) via prfcreator with empty-zip in supersu + recroot3

2. flashed xposed-v80-arm-romracer and again recroot reflash

Now i have an endless bootloop and cannot get to the recovery.

Is there an easy way to get it fixed without starting from flashing kk again?

cheers.
[Xperia Z3 General] theduke7:
i think you flashed the wrong Xposed version, you should flash xposed-v83-sdk23-arm ,

if you're still on a bootloop, use the xposed uninstaller zip to remove the one you flashed then install the correct one...i think this should solve the issue.
[Xperia Z3 General] rrdna:
There is afaik no never xposed version, than the v80 --> h ttps://xenserver.under pants-gnomes.biz/~romracer/xposed/

The problem is, that there is absolutely no way to get back to recovery, when i flash recroot (tried with recroot2-fixed and recroot3) the recovery is skipping every time, so i have to flash nuts twrp 2.8.7.0 back. Is there anything else i can try?
[Xperia Z3 General] Licaon_Kter:
The *official* version is xposed-v83-sdk23-arm.zip ( http://xdaforums.com/showthread.php?t=3034811 ), not sure why you'd use [MENTION=2476451]romracer[/MENTION] one though and not the current/latest one from [MENTION=4419114]rovo89[/MENTION].

Now, you go like this: flashtool, flashmode, KK, giefroot, XZDR, MM .570 (DO NOT REBOOT!) + Recrootv3 (again!), Xposed, debloat optional.
[Xperia Z3 General] theduke7:
as it was said the Romancer version is not the Official one, the official one on the thread mentioned on the other reply is the one i'm talking about, even in Romancer thread he mentioned that if there's an official version for your device you shouldn'e use his.

..

i doubt that Romancer v80 works on xperia MM , the official one either v82 or v83 were tested and work fine.

f you lost recovery already , i'm sorry to say that there is not currently a way to get it back on MM specially if you're on MM already, so the only solution is to go back to LP with root and recovery and flash the correct files.