yashsingh1/xdaforums huggingface dataset:
[Sony Xperia Z Ultra] Murrda:
[MENTION=4904057][NUT][/MENTION] hey quick question for you anyone here wanting to chime in.. So I'm using the CM12 official nightlies and I flashed the 20150125 release and than flashed the the dual recovery flashable zip immediately after and before rebooting as stated in the OP and when the 20150126 nightly was released I went to boot to recovery only to find myself in Cyanogens Recovery.. Any ideas as to why that would have happened? I flashed the flashable dual recovery through TWRP and didn't think much as to check it afterwards.. I ended up using Cyanogens Recovery to update my nightly and that did work fine but CM's recovery will not allow me to flash your dual recovery because the signature verification fails.... Just curious to know how would I get back your dual recovery? Thanks!
[Sony Xperia Z Ultra] Murrda:
My apologies but my buddy introduced me to an app just a short while ago and its free on the play store.. To anyone getting hung up with missing a recovery download Rashr its free on the Play Store and it allows you to backup your current recovery and kernel and allows you to flash a recovery right from the storage or you can download one via the app itself and I can confirm it picks the correct device model and flashes flawlessly!!!!!!!! I'm now running the official CM12 20150126 nightly and have TWRP 2.8.4.1 installed woohooooo
[Sony Xperia Z Ultra] [NUT]:
That actually depends, what filesystem does the sdcard contain?

This recovery package is for Sony STOCK (based) ROM's only!

Glad you got it fixed though.
[Sony Xperia Z Ultra] kanej2006:
Nut, we love you so much. I've been using your dual recovery since day one. Excellent work and highly recommended.

I'm loving the dual CWM and TWRP. These are the best recoveries one could ever ask for.

Thank you so much Nut for all your hard work.
[Sony Xperia Z Ultra] Murrda:
[MENTION=4904057][NUT][/MENTION] yeah sorry I wasn't trying to steer anyone away from your dual recovery, I'm fairly new to Sony devices and was misunderstood and a little confused with the way Sony works and your recovery.. I did see in the OP that it works with using the stock kernel.. So since I used Rashr to flash my recovery, is it possible to just fastboot flash recovery nameofrecoveryhere.img if I'm unlocked? I've been having a hard time getting that answered.. When I was stock I fastbooted TWRP and I lost recovery completely, than I used your dual recovery and it worked, than I flashed CM12 smd lost recovery and when I would fastboot the recovery I would have the violet LED burn but then a black screen that would vibrate when touched as if I was in recovery but no screen... Any app that could read the recovery said I had TWRP installed but it wasn't until I FTF'ed back to stock used your recovery to get to official CM12 where as before I was unofficial than I had Cyanogens recovery and at that point is when I used Rashr to flash the recovery the second time around I did not attempt to fastboot a recovery in case I lost it again... I'm just trying to learn and understand this device.. I came from all devices where I had unlocked bootloaders and full fastboot access.. Thanks dude, and yes the person before me said it best, the dual recovery is the greatest thing ever for stock ZU's and makes things real easy!
[Sony Xperia Z Ultra] Lextermina:
File system is FAT32
[Sony Xperia Z Ultra] [NUT]:
Right, time to educate then ;)

FACT 1: Xperia devices do NOT have any kind of stock recovery

FACT 2: Xperia devices have the FOTA kernel partition, which is NOT THE SAME as the 'traditional' recovery partition

FACT 3: Most apps on Play where not meant to work with the above notes.

FACT 4: It is possible to store the recovery on the FOTA kernel partition, but it requires a BOOT partition which knows how to trigger the use of this specialized fota partition. This is what TWRP does with their releases of TWRP for Sony devices.

FACT 5: fact 4 does NOT apply to locked bootloader devices.

My locked bootloader recovery stores the recoveries in the system partition, hence the reason to flash XZDR after wiping system to install a custom ROM.

Custom kernels mostly have the recoveries included in the boot image (this is what XZDRKernel has).

Can you humor me and boot to TWRP, then while in TWRP pull out your SDCard and reinsert it. What does it do then?
[Sony Xperia Z Ultra] Lextermina:
It does not matter at all. It's like I was nothing. Unable to mount the SD card in TWRP.
[Sony Xperia Z Ultra] [NUT]:
Very odd, you're simply the first one ever to complain about this...

If you have anyone with an sdcard (or another one you might have) you can try in twrp? Otherwise you might want to make a backup of your sdcard contents and reformat it to see if it makes a difference?

In the case of exfat this is usually the solution. Some pre-formatted sdcards are poorly formatted because of the exfat standards being slightly changed while some manufacturers already started using an older standard.

Yours is the first fat32 formatted card which is acting similarly... Very strange... :confused:
[Sony Xperia Z Ultra] pretty pixel:
Hello

I rooted my Xperia Z Ultra from stock Sony 4.4.4. I then proceeded to flash the Duel Recovery using my PC and the installer zip. All went well and I was able to access TWRP and CWM. I then unlocked the boot loader successfully, before going on to flash CM11 Monthly Snapshot 11 using TWRP. From then on I am only able to access CWM Recovery and not TWRP. I have flashed the duel recovery zip from CWM in an attempt to get TWRP back. And when I try to boot into TWRP by holding Vol down key when the light displays on boot, the Z Ultra hangs and I need to press the red reset button to power off. I have also re-flashed the installer zip with my PC. I also went back to stock and repeated the whole process, this time flashing the duel recovery zip in TWRP directly after flashing CM11 and GAPPS (before rebooting). But this did not help, TWRP is still unavailable.

In addition, I installed Flashify app and tried to flash from there. But for some reason the app would not let me select the recovery to flash.

Could it be that CM11 is flashing it's own CWM and this can not be overwritten by another recovery, even after re-flashing the duel recovery.

I would much prefer to use TWRP, but it seems as soon as I am away from stock Sony 4.4.4 ROM I have to use CWM. Any help to resolve this issue would be appreciated.

Thank you.
[Sony Xperia Z Ultra] kanej2006:
His card could very well be faulty...

I've had several faulty cards over the years...

They appear to be fine and working but they are having issues...

The last card I had started to prompt me to format the card EVERY time it was installed in a computer or even the phone...

Whatever I tried to do it would ask to format and would not read or boot.

My suggestion to the user would be to buy or use another sd card.

I've been using your dual recoveries for years without a single issue...
[Sony Xperia Z Ultra] immortalsoule:
What roms this works with...lets try another idea...

From what i have experienced, this works well with the standard/vanilla (example 14.4.A.0.108 (4.4.4)) but all these other "custom" roms, and i've used most all of them (liquidsmooth, ect) don't seem to even care about this flash. They tend to only want to work with their own custom recoveries that seem to be flashed with them.

Can we not just put together a thread where these work with all these other roms or just have guides to install them, individually?
[Sony Xperia Z Ultra] pretty pixel:
Many thanks for the reply and information. I just wish I could use TWRP with CM11.
[Sony Xperia Z Ultra] immortalsoule:
Same here. I really don't like this "new" / blue CWM i've been seeing in some roms. Half the time it doesn't see the external SD, half the time it doesn't see the internal "virtual" SD. Basically, that's enough reason to hate it for me.
[Sony Xperia Z Ultra] kanej2006:
NUT or anyone else, please help me with one thing, pretty please!

I am using a custom 5.02 Lollipop rom. The Kernal used within the rom follows CM source and is using Cyanogen recovery which is $hit!!!

When entering recovery, I'm unable to do anything. Flashing ANYTHING including apps or roms fails every time. I keep getting verification fail or something similar followed by errors... Aside from formatting data, cache the recovery is useless.

Previously I was using stock Lollipop 5.0. Thankfully, it came with your (NUT's) recovery which is no doubt the best there is followed by TWRP...

On Kitkat I was using Jackie's custom kernal which had the best of both, CWM & TWRP dual recovery.

This is just what I need on my custom Lollipop rom. I require dual recovery which includes CWM & TWRP.

Please could someone kindly assist on how I can flash a custom Kernal, such as Jackie's dual recovery CWM/TWRP WITHOUT losing data or experiencing bootloops!

I tried several times previously to flash CWM kernal and this resulted in constant bootloops. In the end I had to revert to stock and re-flash the rom all over again. :crying:

Many thanks for anyone who can assist. :D
[Sony Xperia Z Ultra] Flavio:
I have flashed XZUDualRecovery 2.7.154 before upgrading to Scrubbers Lollipop port.

When I now flash ZU-lockeddualrecovery2.8.2-RELEASE.flashable from Recovery (either CWM or TWRP) I do not see the new versions after reboot?

I still see CWM 6.4.0.7, not 6.0.5.0 and TWRP 2.8.1.0, not 2.8.4.0?

What amI doing wrong?
[Sony Xperia Z Ultra] [NUT]:
Scrubber has pointed it out in his thread himself: http://xdaforums.com/xperia-z-ultra/development/scrubber-t2961315

The kernel contains the recoveries, so you will need to update using the kernel version, but that will most likely break the ROM. Best is to not update for now, I'm working on releasing a new version of the XZDRKernel builder that can repack custom kernels, just hold on and wait for that to arrive.
[Sony Xperia Z Ultra] immortalsoule:
On a related side-note....

Does anyone just have the general "terminal" commands to install TWRP by hand? I tried the stuff at their website and it doesn't do to well. I mean, while this is a really nifty idea, it doesn't seem to be very cohesive with ROMs of the more "custom" nature. Honestly, most of these new, Lollipop ROMs have this god-awful CWM interface that....well, there's no dancing around it....it just sucks (especially since it can't load ROMS from the external SD in it's current state) and we really need access to TWRP or something else.
[Sony Xperia Z Ultra] Forever5212138:
Thanks very much.
[Sony Xperia Z Ultra] ankitsxperiago:
cant install on crdroid rom 5.0
[Sony Xperia Z Ultra] copy2050:
hi all...i have installed this recovery but i only work with vannilla CWM, because is more simple for me, for that i use NDR Utils for acess the vannilla CWM and do the system backup! One question i have: if my phone get bricked and cannot get into the homescreen, obvious i cant go into CWM, i have to go on TWRP or PhilZ recovery, but i want to know if that recovery's (TWRP and PhilZ) i can restore the backup i made in Vannilla CWM?!

Thank U.
[Sony Xperia Z Ultra] Triflot:
According to the official PhilZ post, PhilZ can restore both CWM and TWRP backups. :)

In any case, if that doesn't work, you could always just flash a CM11 boot.img using Fastboot. It comes with CWM.
[Sony Xperia Z Ultra] copy2050:
Thanks for reply...good to know! But in case it doesnt work i need to flash the ROM again because i have Locked Bootloader and i think cant do what you say to do.
[Sony Xperia Z Ultra] decegeman:
the file is corrupt.

the md5 don't match. i downloaded the ZU dualrecoverie.
[Sony Xperia Z Ultra] mobile88:
I installed this successfully on my Z ULtra. However when I tried to do a nandroid backup or flash a custom rom i always face this error : cannot mount system ??

ANy solution to this ?

Thanks
[Sony Xperia Z Ultra] Alien1891:
me too, any fix?

---------- Post added at 08:38 PM ---------- Previous post was at 08:34 PM ----------

any fix for this?
[Sony Xperia Z Ultra] Obi-Wan:
It works on stock lollipop?
[Sony Xperia Z Ultra] teddy74eva:
Yup, everything works

Regards
[Sony Xperia Z Ultra] _A.T.Omix_:
Can I flash this recovery on my C6833 with Unlocked bootloader which is running 14.5.A.0.242 5.0.2 Lollipop Firmware (no root)?
[Sony Xperia Z Ultra] jsonexe:
is it working on 5.0.2 lollipop?

is this working on 5.0
[Sony Xperia Z Ultra] [NUT]:
Just ask with a full op quote? Can you please remove it?

Yes, it will work on lollipop, but it won't be able to install it if you are not already rooted.
[Sony Xperia Z Ultra] jsonexe:
thanx man..

okay man.. i will try..
[Sony Xperia Z Ultra] kampret69:
where i can found backup file ?

sorry very noob question

thanks a lot
[Sony Xperia Z Ultra] scpion:
solved. sorry.
[Sony Xperia Z Ultra] xb91:
I'm on stock 5.02 .270 firmware. Rooted and installed ZU-lockeddualrecovery2.8.15-RELEASE.installer . I can enter Philz Touch recovery and TWRP , but when i choose clockworkmode from NDR Utils as a primary recovery and boot i get e Black screen after the Sony logo. Why is that ??

And one other thing i am curious about. Can I restore a CWM backup of Kitkat while i am running Lollipop ? Will this brick my device ? Also my backup is made using CWM ( which a cannot enter as i mention earlier ) , so can i restore it using Philz Touch recovery?

Thanks ! :)
[Sony Xperia Z Ultra] Alfstrad:
Installation OK via ADB onde 5.0.2, but can't boot to recovery.

I think that nothing was really installed.
[Sony Xperia Z Ultra] [NUT]:
No help without logs mate...
[Sony Xperia Z Ultra] Alfstrad:
No logs record in XZRecovery folder
[Sony Xperia Z Ultra] [NUT]:
Remember that the output from the installer is a log as well... The problem is that CMD/Batch doesn't allow me to create a log (not easily anyway). To to show me what happens, copy the contents from the installer window to a text file and attach that here...
[Sony Xperia Z Ultra] [NUT]:
Are you sure you are using the latest version?
[Sony Xperia Z Ultra] Alfstrad:
I think so
[Sony Xperia Z Ultra] Alfstrad:
Sorry ... Wrong option ... I´ve selected option 3 ... Option 1 worked.
[Sony Xperia Z Ultra] iamVhox:
Will this work on unrooted stock lollipop?
[Sony Xperia Z Ultra] [NUT]:
No. You need to be rooted on lollipop.
[Sony Xperia Z Ultra] xaoup:
I keep losing the recovery after opening NDR Utils. (at least that's what i think the suspect is)

Even doing the manual boot to recovery won't work

How to rectify this? Thanks in advance
[Sony Xperia Z Ultra] CfYz:
I've new to the ZU device, and have installed the ZU-lockeddualrecovery2.8.20-RELEASE.installer.zip. And I see that parameter dr.enable.initd now renamed to dr.initd.active. Can you plz change the first message? Just to not to confuse the newbies =)
[Sony Xperia Z Ultra] PamelaGirl:
Hello All,

My XZDR.prop file contains symbols I cannot read, how can I fix this?

T.I.A.
[Sony Xperia Z Ultra] [NUT]:
Delete it and reboot :)
[Sony Xperia Z Ultra] PamelaGirl:
Thank you [NUT], that seemed to have cleaned up the XZDR.prop file!

Now I notice the file has some odd creation date of 1979 instead of 2015, is this normal?

And when doing a backup I get this message in red print:

Unable to locate '/recovery' partition for backup calculation

Unable to locate '/sd-ext' partition for backup calculation

Can you please help with that?

Thank you so much!
[Sony Xperia Z Ultra] [NUT]:
both partitions do not exist, so you can ignore them if recovery continues to function properly.
[Sony Xperia Z Ultra] PamelaGirl:
Thank you [NUT], much appreciated the quick response!

Keep up the wonderful programming :)
[Sony Xperia Z Ultra] cougar11:
Any reason why recovery isn't sticking? Tried adb method and terminal emulator but nothing... Even fleshed this as well... Any help would be appreciated.
[Sony Xperia Z Ultra] [NUT]:
Use the installer, hand me the output.

Only then I can help.
[Sony Xperia Z Ultra] cougar11:
Great, let me know what output file u are talking about and I'd gladly provide it.

It is a c6806(non GPE) UB if that helps

Edit: Nvrmd found it in the OP, i'm a dumbass, sorry OP! Will get that file and post it for you, thanks!
[Sony Xperia Z Ultra] n_boy86:
deleted
[Sony Xperia Z Ultra] brumie:
on C6833 14.6.A.0.368 it's not working, any help please

thank you

=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found!

=============================================
Getting ro.build.product
=============================================
Device model is C6833
Firmware is 14.6.A.0.368

=============================================
Step2 : Sending the recovery files.
=============================================
0 KB/s (31 bytes in 0.047s)
1060 KB/s (16912 bytes in 0.015s)
0 KB/s (501 bytes in 1.000s)
765 KB/s (12299 bytes in 0.015s)
2066 KB/s (65965 bytes in 0.031s)
3 KB/s (3159 bytes in 1.000s)
911 KB/s (29204 bytes in 0.031s)
1 KB/s (1357 bytes in 1.000s)
2147 KB/s (34473 bytes in 0.015s)
75 KB/s (1202 bytes in 0.015s)
2020 KB/s (96956 bytes in 0.046s)
2563 KB/s (1107508 bytes in 0.421s)
2702 KB/s (3416262 bytes in 1.234s)
2840 KB/s (2316890 bytes in 0.796s)
2787 KB/s (2140796 bytes in 0.750s)
728 KB/s (11650 bytes in 0.015s)

=============================================
Step3 : Setup of dual recovery.
=============================================
=============================================
Attempting to get root access for installation using TowelRoot now.

NOTE: this only works on certain ROM/Kernel versions!

If it fails, please check the development thread (Post #2) on XDA for more details.

REMEMBER THIS:

XZDualRecovery does NOT install any superuser app!!

You can use one of the recoveries to root your device.
=============================================

=============================================
Sending files
=============================================
1 KB/s (1776 bytes in 1.000s)
849 KB/s (13592 bytes in 0.015s)
2056 KB/s (197320 bytes in 0.093s)
589 KB/s (9496 bytes in 0.015s)
13 KB/s (13672 bytes in 1.000s)
Copying kernel module...
2165 KB/s (34473 bytes in 0.015s)
0 KB/s (765 bytes in 1.000s)
3034 KB/s (96956 bytes in 0.031s)
Kernel version is 3.4.0-perf-g4fd66c3
Version does not match 3.4.0-perf-ge4322cd, needs patching...
dd: conv option disabled
Kernel module patched.

modulecrcpatch (by zxz0O0)

module_layout: patched to 0xCE969278
__aeabi_unwind_cpp_pr1: match
kallsyms_lookup_name: not found
printk: not found
mem_text_write_kernel_word: not found
__aeabi_unwind_cpp_pr0: match

=============================================
Installing using zxz0O0's towelzxperia
(using geohot's towelroot library)
=============================================
error: only position independent executables (PIE) are supported.

=============================================
Installation finished. Enjoy the recoveries!
=============================================

Press any key to continue . . .
[Sony Xperia Z Ultra] [NUT]:
Aaaaaaand it's Lollipop ... which invalidates this report... because towelroot is not able to root Lollipop.
[Sony Xperia Z Ultra] brumie:
aahhh been awhile away from flashing

ok got it, downgrade to 14.1.B.1.532_NUT.ftf re-flash with pre-rooted packed

thanks for the hints!
[Sony Xperia Z Ultra] mkhawx:
First boot doesn't goes to recovery

My phone doesn't boot into recovery the first time when i use this tool.

Where am I wrong?
[Sony Xperia Z Ultra] [NUT]:
Logs maybe? Rom version maybe?

That's what is wrong about your post anyway...
[Sony Xperia Z Ultra] loudog3114:
Red burn on fresh install. I did the SuperSU option. Latest ROM;
[Sony Xperia Z Ultra] [NUT]:
Can you please take out your sdcard and then try again?

If it's still not working, attach the logs from the xzdualrecovery folder as described in the 2nd post.
[Sony Xperia Z Ultra] loudog3114:
I actually ran it first without the sdcard. I ended up getting TWRP installed by just unlocking the bootloader and flashing recovery.
[Sony Xperia Z Ultra] vikphogat:
Need to remove it and gain stock recovery to be able to install ota update

hey [MENTION=4904057][NUT][/MENTION]. I tried to remove your recovery by deleting the files you mentioned in system/bin/

I faced a problem. There is no files such as

System/bin/dualrecovery.sh

system/bin/mr

system/bin/charger

/system/bin/recovery.cwm.cpio.lzma (or .tar)

instead there are some files i found related to them such as

system/bin/charger_monitor

system/bin/rt.sh

system/bin/install-recovery.sh

system/bin/mv

also there i found

system/bin/chargemon &

system/bin/chargemon.stock both files.

now help me what to delete and what to rename to be able to revert to stock.

ALSO IF YOU CAN GIVE AN UNINSTALLER FLASHABLE ZIP, THAT WILL BE AWESOME. THANKS.
[Sony Xperia Z Ultra] [NUT]:
Look at the toolbox folder of xzdualrecovery on my website.
[Sony Xperia Z Ultra] martin132014:
[MENTION=4904057][NUT][/MENTION] can anyone solve this problem i have about twrp...the sliders is half across the screen..i cant flash like this..trying to flash others twrp version doesnt solve the problem....View attachment 3572771
[Sony Xperia Z Ultra] [NUT]:
Remove the theme. Or install a correct/fixed version.
[Sony Xperia Z Ultra] wellison:
I using Xperia Z Ultra C6833 and need to remove XDualboot recovery to get stock recovery from Sony, my rom stock .236

i cant find this files :

/system/bin/dualrecovery.sh to delete

/system/bin/mr.stock to rename

i cannot understand how to use XZDR-removaltool.zip

pls help
[Sony Xperia Z Ultra] [NUT]:
Just flash it from recovery.

Remember that sony does NOT have any kind of stock recovery...
[Sony Xperia Z Ultra] ali.ghorbani:
working on android 5.1.1

Hey guys. I have updated my Z Ultra to the latest version which is Android 5.1.1 and with build number of 14.6.A.1.236 and my phone model is C6833. and my phone is not rooted.

My question is that does it work on my phone? or do you know any method for rooting my phone? thanks a lot:)
[Sony Xperia Z Ultra] [NUT]:
The only way back to a rooted 5.1.1 is to go down to 5.0.2 (kernel and system without wipe will be enough), then install xzdr 2.8.25 to eventually flash an update package created with prfcreator (see cross device section).
[Sony Xperia Z Ultra] PDesire:
Hello RC Bro :D

As far as I know KingRoot works also on 5.1.1 now :)

That means it could be possible that we don't end anymore to downgrade to root the latest version :)

But I am damn scared about dm-versity on all Sony Stock phones (not easy to break this, but I think we can use a module again like you did with byeselinux.ko) :D

Your PDesire
[Sony Xperia Z Ultra] [NUT]:
KingRoot still sends your IMEI number to some undisclosed location for an unknown reason. It's also still closed source. I still don't trust it...

Dm-verity does it's checking before we can hijack the boot... So we can't stop it from causing a bootloop...
[Sony Xperia Z Ultra] PDesire:
Uhh.... That would mean we have to modify kernel, but for LB we have also to keep the certifications.... This will be the hardest challenge ever, but we (XDA) got much fixed then this too

BTW, The TA registering that the kernel is stock or.something different?

As far as I have seen, the TA partition are full of XML files (also every Unlock and Relock will be registered. Serial number and version number too) but also there are marlin keys (seems SHA encrypted or something like)

Is it possible that the ta_param_loader binary loads the keys? What happens if u hijack it and then UB with all Features?

Thanks :)

Your PDesire
[Sony Xperia Z Ultra] ali.ghorbani:
rooting with PRF creator

Hi there. Excuse me but I have a question about rooting build number of 14.6.A.1.236 . Can I use Prf creator in this forum http://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904 ? is it safe I mean my phone will not be hurt? I mean first I download stock firmware ftf file and put it in the software and add SuperSU zip file and blend them or mix them together and finally flash the result with flashtools. can I use this method for rooting my device? Thanks:)
[Sony Xperia Z Ultra] sairaj rane:
Not working with the c6802 latest firmware it says recoveries installed but when tried to boot in recovery it doesn't boot