yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet General] [NUT]:
It's either on your SDcard (the 'external' one) or in /cache inside a folder called 'XZDualRecovery' :cowboy:
[Xperia Z2 Tablet General] giank30:
sorry to bother you, but in my external sd card there are only Android, DCIM, Movies, Music and System Volume information folders :(

EDIT:

reinstalled using SuperSU method and it works :)
[Xperia Z2 Tablet General] Ferri64:
I can't get this to work. Apparently it can't get root rights, but I've SuperSU installed and root apps like TB are working fine.

I've rooted my device using this guide. I've tried using both 2.7.150 and 2.7.151 versions available in nut.xperia-files.com.

Please find attached a file with what I think is the relevant part of the output I get.

Thanks for your help and efforts developing this.
[Xperia Z2 Tablet General] jervine:
I had a similar problem, which I traced to the rooting utility not completing 100% successfully (although I still had root). Did you use the EasyRoot utility to root your tablet?

I found I had root, and could install SuperSU and everything 'seemed' to work, although installing privileged apps to /system would fail, and as such SuperSU would fail to update the su binary. Does this match your symptoms?

I resolved my problem by running the EasyRoot install.sh again, and noted that line 258 would error. The line in question was:

SONYRIC=`./${ADBBINARY} shell "su -c /data/local/tmp/busybox grep 'sony_ric/enable' /init*.rc" | /data/local/tmp/busybox wc -l | tr -d '\r\n'`

I ran this from an su'd adb shell on the Z2 tablet, and found that it failed because the tr binary was not found. It is part of busybox, so I ran the command again only as follows:

SONYRIC=`./${ADBBINARY} shell "su -c /data/local/tmp/busybox grep 'sony_ric/enable' /init*.rc" | /data/local/tmp/busybox wc -l | /data/local/tmp/busybox tr -d '\r\n'`

As I was in an adb shell, I didn't need the SONYRIC=`./${ADBBINARY} shell "su -c part. This succeeded and returned "1". I could either modify this line in the install.sh script, or simply explicitly set SONYRIC=1 (this is not the 'right' way to do this, by the way, you should correct the command line) and then I re-ran the install.sh script. This time EasyRoot completed successfully and the ric service was disabled, which meant that /system could be subsequently remounted as read-write, and recovery install succeeded after this.
[Xperia Z2 Tablet General] Ferri64:
That was the problem! Thank you very much.

Aparently this problem has been solved in latest EasyRoot; I've downloaded again, I've seen the line you've said was slightly different:

SONYRIC=`./${ADBBINARY} shell "su -c /data/local/tmp/busybox grep 'sony_ric/enable' /init*.rc" | /data/local/tmp/busybox wc -l | tr -d '\r\n'`

I've repeated the process and I've seen no errors. Afterwords I've used the "lockeddualrecovery" tool flawlessly. Now I have a working recovery, at last.

I'm not sure because it was a few weeks ago, but I think that I had the problem you descrived with SuperSU not being able to update its binary. I thought I had solved it flashing a SuperSu.zip file with Flashify, because the SuperSU warning about updating the binary disapeared, but it's clear that everything wasn't quite right (and I wasn't so smart as I felt after "solving" the problem).

Thanks again.
[Xperia Z2 Tablet General] Maxim512:
Is there anyway to flash this in fastboot. I flashed some stuff that wasn't as compatible as I thought it was and I am stuck in soft brick. I can only get to stock recovery which is worthless in my case and fastboot. I can't find a system dump for my SGP561 (32GB Verizon) either.
[Xperia Z2 Tablet General] [NUT]:
Yes, and no ... yes, when you have unlocked the bootloader you will be able to use a kernel version (someone should then send me a kernel.sin!).

What 'stock recovery'? :o

No, because the only way to get recovery on the devices is to include them in the FW.
[Xperia Z2 Tablet General] Maxim512:
Sadly the Verizon is not unlockable unless somebody cracked it and I am the only one who doesn't know it. I have been looking for a system dump for my model but none seem to exist. I can't get into the other recoverys to flash my Twrp backup. Twrp backups can't be flashed by fastboot. So I am stuck with a device that blinks the red led madly and vibrate. Thanks anyway.
[Xperia Z2 Tablet General] [NUT]:
That sounds to me like you tried to flash a custom kernel or your battery has died in the mean time.

You can create your own dump: http://xdaforums.com/showthread.php?t=2311211

Your device will most likely accept any other FW destined for a model with the SAME storage capacity, I'd start with the kernel first, flashing it using fastboot should do. From there on, you can do a lot to fix your device.

Most of these guides apply for the Z2 and TabZ2 as well: http://xdaforums.com/xperia-z/general/disaster-recovery-getting-z1-zu-z-zl-to-t2229250
[Xperia Z2 Tablet General] Maxim512:
Okay so before I break it more the SGP521 in example which I believe is the 32gb wifi only should work. Or should I grab the global 32gb FW.
[Xperia Z2 Tablet General] [NUT]:
Yeah, just grab that, use only the kernel to make sure your device shows a sony logo again at power on. Go with the guides from there.

-- EDIT --

Isn't the SGP521 the LTE variant?

-- EDIT2 --

Yes it is, it's the international LTE variant.
[Xperia Z2 Tablet General] Maxim512:
Yes I just looked it up I didn't remember it is the 16gb though so I assume it won't work.

The 512 is the 32gb wifi only my bad

---------- Post added at 02:17 AM ---------- Previous post was at 02:03 AM ----------

Okay Thanks I found a copy of Sony Update Service it is downloading firmware now. Huge download will let you know how it turns out in the morning.
[Xperia Z2 Tablet General] [NUT]:
Alright, good luck and :fingers-crossed:
[Xperia Z2 Tablet General] Maxim512:
Okay I lied the 1.1gb download finished quicker then I thought. It rebooted and is showing the boot animation hey this was the right firmware to it is showing the Verizon logo (I have never been so happy to see that thing)

It Lives. It didn't repartition to 16gb either we are back in business! Thank you so very much for your help!!
[Xperia Z2 Tablet General] [NUT]:
heh, great :D

Have fun with your device again :highfive:
[Xperia Z2 Tablet General] LitoNi:
hmm, not sure is it related to this, but ive have issues with my tablet z2 where it kept disconnecting the SD card by itself. Usually a reboot fixes the issues and the unmounting of sd happens at random. Not sure if the newer versions of recovery is causing this issue or not. Can anyone else confirm this?

thanks in advance
[Xperia Z2 Tablet General] [NUT]:
Is that happening inside the rom or inside the recoveries?

If inside the rom, xzdr won't have any influence on that...
[Xperia Z2 Tablet General] SANGER_A2:
Hi. I'm running the 17.1.1.A.0.402 firmware on an SGP 512 and I used this thread to flash recovery and enable supersu. When they finally release the 17.1.2.A.0.314 firmware for my device, if I create an FTF image and flash it will I lose the recovery and/or root? I don't fully understand how the FTF system works coming from HTC/Samsung/rockchip devices! If so, would I be able to get over that problem creating a flashable zip that includes supersu.apk using this and this guide and flash it from recovery?

Thanks very much
[Xperia Z2 Tablet General] Maxim512:
I did something foolish. I installed Verizon's last OTA...437 not thinking to reinstall recoveries first or root for that matter. Now I can't get recoveries to install and /system is write protected (it was before too) so towelroot never worked and the kernel build is July 15 2014 so towelroot likely got patched. Any ideas?
[Xperia Z2 Tablet General] [NUT]:
Ftf files are essentially disk images. That's why it will wipe root and recovery.

Forget the last link you posted, just use my DIY guide, it will include supersu.
[Xperia Z2 Tablet General] [NUT]:
Try the easy root tool v11, the latest xzdr installer should also be patched, but it can still fail from time to time...
[Xperia Z2 Tablet General] Maxim512:
Easy root that was the step I was forgetting the thread wouldn't come up in Google I forgot what it was called. Thanks again now if only I could unlock my stupid bootloader.
[Xperia Z2 Tablet General] SANGER_A2:
Thanks very much. I've read the guide 2 or 3 times and I think I understand how it works, but I just want to check. You have to flash the FTF file using FlashTool before booting into recovery to flash the update.zip. I assume that because you delete the system.sin files from the FTF, that means that the Z2 will still be using the old /system files after the FTF is flashed and still use the /system/bin/chargemon to load your recovery? Then, you can update the /system folder using the flashable zip. Am I correct with this?

Thanks

Andy
[Xperia Z2 Tablet General] [NUT]:
These questions are better asked in the DIY thread.

The how to flash guide is quite clear on the order... it's intentional and should be followed.
[Xperia Z2 Tablet General] SANGER_A2:
I wasn't questioning the rightness of following your guide. Just wanted to check if I understood the theory of how it works from a software engineering point of view.
[Xperia Z2 Tablet General] dccrens:
I have the Verizon Sony Xperia LTE 32gb model SGP561 with the latest updated firmware from Verizon. I don't see the model SGP561 listed and one of the support models. Dill this work on that model? Has anyone tried it yet?

Thanks,

Dave
[Xperia Z2 Tablet General] [NUT]:
Yes, it has been tested and working fine. Just forgot to add it to the OP.
[Xperia Z2 Tablet General] jrbxx7:
I also can't get extsd to mount in philz or twrp.....sgp561 vzw... thanks so much for bringing this to us!!

NoTe III'd
[Xperia Z2 Tablet General] [NUT]:
What size and filesystem? Which recovery?

If you boot to twrp recovery and use adb to connect to its shell you can try to mount the external sd by hand to see what errors it throws...
[Xperia Z2 Tablet General] jrbxx7:
It's exfat. 64 gb SanDisk extreme. Tried both twrp and philz.

NoTe III'd
[Xperia Z2 Tablet General] kbroh:
Curious. Has the 64gb exfat been set up before in the tablet or computer? My scan disk 64 GB exfat needed to be reset on the computer prior to using in z2 tablet. Kingston/ Samsung/ Sony SD cards didn't need that for me. Its as if some scan disks are in the wrong READABLE format for exfat which I found only in the properties of the SD on the computer. In turn a reset fixed it for me.
[Xperia Z2 Tablet General] dccrens:
Success

So, I first tried [NUT]s dual recovery. I followed the exact directions from a windows 7 machine. Drivers were installed and all was recognized. However, for some reason it kept failing when I tried to root, and it was not creating a log in the various places. I tried re-d/l'ing and starting from scratch twice, but I could not get it to work.

I then tried Easy Root and it failed the first time, but I reran it and it succeeded. I then installed the recommended SU and that worked perfect. I installed root checker and was rooted. I installed TiBU and ran a full backup, then I went and ran [NUT]s again and it worked the first time. So, anyone doing this I would go in that order.

Easy Root

TiBU backup

[NUTS]s (for recovery).

SOOOO, thanks to Easy Root and [NUT]s recovery I am good to go. Donations have gone out to both these fine programmers.

Best,

Dave
[Xperia Z2 Tablet General] kulvertti:
I have also 64 gb SanDisk extreme and twrp can't mount it. I try to reformat it in Windows os default format tool but no luck. Program called "SDFormatter" do the trick and after reformat with it twrp can now mount sd card with no problem.
[Xperia Z2 Tablet General] jrbxx7:
Gave this a try and for some reason my sd card is unformattable. Tried 5 dif programs. No go. Slaped a new sd in a it works fine. Time to call sandisk. Thanks nut

TaPpEd from my Xperia Z2
[Xperia Z2 Tablet General] bossei:
Just installed the dual recovery and I can boot into TWRP however not all the options or buttons show up so I can't really do anything. The GUI is also like in phone mode and not tablet. What went wrong?
[Xperia Z2 Tablet General] Diomorgan:
TabZ2-lockeddualrecovery2.7.154-BETA.installer.zip need to be installed manually if environment variables are not setted to work with ADB (that's why it returns path error).

I installed it manually coping/pasting the lines from the .bat file.

It works with Z2 Tab 511 European BUT CWM is the standard one, not the new cool philztouch :(
[Xperia Z2 Tablet General] [NUT]:
CWM is standard, yes... because PhilZ is called PhilZ... duh!

Vol-up is Philz, Vol-down is TWRP. CWM is only available using the app.
[Xperia Z2 Tablet General] Diomorgan:
You are righ! I was mistakend the "reboot into recovery" that take me into vanilla CWM.

So cool: 3 recovery :D
[Xperia Z2 Tablet General] [NUT]:
Of course I'm right, I know how I designed it :cool:

But I'm glad we straightened it all out. If you make a choice in the app which recovery you want to open, it will save and remember that. If you make a choice using the volume rockers the choice will be remembered for the next time you 'reboot to recovery' as well :)

Features :cowboy:
[Xperia Z2 Tablet General] TomVenom:
Hello all,

I succeeded to install this recovery.

But I have a big problem. My Z2 Tablet is a Wifi only, SGP512. I want to install CM11 Castor Windy. But when I try to install Zip file from recovery (TWRP or PhilZ Touch), I get a message telling me that the rom is only for SGP511 et 512 (so my Tablet Model) and telling me also that my device is castor ... And after this message, installation is cancelled.

Any idea ?

Thanx a lot,

Tom.
[Xperia Z2 Tablet General] [NUT]:
The message can be improved, but: NO CM SUPPORT!

XZDR is meant for Sony's stock ROM's!
[Xperia Z2 Tablet General] TomVenom:
Oh my god .... :D

I feel stupid now ...

Thanks a lot, and sorry...
[Xperia Z2 Tablet General] FlyingMik:
Hello

I totally did not apply the sentence below (shame on me)

"Be sure to flash TabZ2-lockeddualrecovery[VERSION]-BETA.flashable.zip from http://nut.xperia-files.com after installing the ROM and before you reboot, this way you will not lose recovery!"

Considering that I also failed the CM11 install after the wipes, I am now stuck with the Sony logo.

Does anyone has a good idea to help me to regive birth to my tablet ?

Thanks in advance for your help

Mickaël
[Xperia Z2 Tablet General] kulvertti:
Download ftf for you device and flash system part of it via Flashtool. You may find some more info here: http://xdaforums.com/xperia-z/general/disaster-recovery-getting-z1-zu-z-zl-to-t2229250

I know it´s maybe for other device but how to recover from bootstall still remain.
[Xperia Z2 Tablet General] Frostbiter:
You also missed the sentence saying you need to be on the stock Sony kernel. CM will not work with this recovery. If you want to flash CM you will need to use a different recovery.
[Xperia Z2 Tablet General] FlyingMik:
It did work. Thank you very much ! :D

Next step to me is to unlock the bootloader and install a more permanent recovery.

Once again, thank you very much !
[Xperia Z2 Tablet General] kulvertti:
Your are welcome. Glad I can help.
[Xperia Z2 Tablet General] nickxab:
Ok guys i installed it everything work fine...

how can i root a sgp521 17.1.2.a.0.314 now ? :)
[Xperia Z2 Tablet General] thecrunked:
anybody try this on 4.4.4/167 yet?
[Xperia Z2 Tablet General] RJASSI21:
I dont think anyone has yet I hope rooting this firmware happens soon
[Xperia Z2 Tablet General] spider623:
the old exploits doesn;t work for now
[Xperia Z2 Tablet General] [NUT]:
Make sure you have your phone on the latest rootable ROM or return to an older backup, grab a 167 FTF of your preference (customization), grab the flashable package of XZDR and then follow the guide here: http://xdaforums.com/showthread.php?t=2307311

When done and working ok, feel free to release the flashable package to the public :good:
[Xperia Z2 Tablet General] RJASSI21:
My 167 firmware on sgp511 doesnt even have ultra stamina and hi res audio
[Xperia Z2 Tablet General] RJASSI21:
i dont understand does this mean that if we get recovery we can root? im returning back to a deodex rooted version of .314 from my nandroid backup all i really want is all my rooted stuff like xposed installer on the latest version also i need recovery for backup
[Xperia Z2 Tablet General] spider623:
they are enabled in the init, no need for a switch

---------- Post added at 03:07 PM ---------- Previous post was at 03:06 PM ----------

actually i moved to cm11 until you update and be able to root the new bootloader, i like cm but the xperia stock feels better, plus philz is my fav recovery right now
[Xperia Z2 Tablet General] RJASSI21:
Oh ok i did manage to find DSEE HX in the walkman app
[Xperia Z2 Tablet General] MonsterMMORPG:
how to install on windows 8.1 ? adb ?
[Xperia Z2 Tablet General] istrait:
Will this work with the newer firmwares?
[Xperia Z2 Tablet General] [NUT]:
A quick update, as the project has reached the stable phase:

XZDualRecovery 2.8.1-RELEASE is available from the downloads page! :victory:
[Xperia Z2 Tablet General] dumbl3:
When I extracted this file: "TabZ2-lockeddualrecovery2.8.1-RELEASE.installer.zip" (SHA1: af60dea232c899357d622da2b8dbdd23f39eb67e) ESET Smart Security said it contained a virus:
[Xperia Z2 Tablet General] [NUT]:
Yes, it does. It's the exploit used to root your device. duh?
[Xperia Z2 Tablet General] PVL_93_RU:
Does this script still work only with KitKat firmwares? Would be awesome to have Daulrecovery on Lollipop builds such as CM12 and Pacman
[Xperia Z2 Tablet General] [NUT]:
It's one of the future plans, but for now, only stock support.
[Xperia Z2 Tablet General] dccrens:
New OS Update Verizon - SGP561 running Android 4.4.2 rooted with PhilZ

I have the Verizon SGP561 running Android 4.4.2 rooted with PhilZ Touch & CWM & TWRP installed. I just received notice of an OS update. Has anyone else receive this and know what it is? I hesitate to take any updates and don't want to lose root.
[Xperia Z2 Tablet General] myeepad:
Am I right to think that I can flash the pre-rooted Lollipop stock firmware like this: http://xdaforums.com/xperia-z2-tablet/general/lollypop-t3057435 using this one and I shall have the Lollipop 5.02. I can switch back to other flashable stock kikkat firmware with this dual recovery any time I want too?
[Xperia Z2 Tablet General] kulvertti:
Yes. You can flash that and have Lollipop 5.02 if you have SGP511 and it propably works also with SGP512 too. Only problem at the moment is that we only have read access to system and Dualrecovery need to be updated to work with Lollipop. Luckily [NUT] is working on it. So at the moment no direct flashing back to kk stock flashable. After Dualrecovery is updates, then yes.
[Xperia Z2 Tablet General] myeepad:
Thanks, I had used Lollipop 5.0.2 for a few days, gave up on it and just flashed back to 4.4.4. So if I cant flash back and forth, i'll stay with 4.4.4 till the next update.
[Xperia Z2 Tablet General] ehserfer:
Quick question, how do I download on your website?

Been trying for about 15 minutes and can't it out

Thanks

Never mind, works through tablet, not on my PC

not sure what the issue is
[Xperia Z2 Tablet General] [NUT]:
The installer gets blocked by some anti virus tools because it contains a rootkit...
[Xperia Z2 Tablet General] tdetroit:
I've used the Directions to a TEE, my tablet is rooted, but when it says "Rebooting to Recovery now" it never does. It always goes right back into the OS. The only reason I want to go into Recovery at this point is to flash an update for XPosed because it's not installing properly.

EDIT: Nevermind, got it all working now. I downgraded to the older FW, installed SU as a System App, installed and updated XPosed and Busybox and updated after that. Everything's still there and set.
[Xperia Z2 Tablet General] giorgetti1:
It works with stock Sony Lollipop?
[Xperia Z2 Tablet General] GalaxyWhy:
Are there any TWRP themes compatible with this? I downloaded the 1200x1920p theme from http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 but its stretched out :( Would really love that theme!
[Xperia Z2 Tablet General] [NUT]:
Themes are always compatible, provided they where created for the included TWRP. But you might want to ask the theme dev to create one for your device, because I personally never used a theme and won't be able to answer that...
[Xperia Z2 Tablet General] ranf:
Lollipop can not be rooted with TowelRoot.
[Xperia Z2 Tablet General] [NUT]:
[MENTION=994326]QuaQuaRaQuaQua[/MENTION] if you really read the installer output, you would have known not to report this 'bug' and tried to find a solution. One of them is to flash a kitkat rom, root it, install XZDR and then flash a recovery flashable pre-rooted Lollipop ROM created by someone else or by yourself using this http://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
[Xperia Z2 Tablet General] QuaQuaRaQuaQua:
Thanks :)

This was not meant as a bug, but a Q :)
[Xperia Z2 Tablet General] thunder141:
I have installed prerooted stock rom with includes dual recovery 2.8.10.

In PhilZ Touch, which I prefer, i have no way to choose sdcard1 as source for restore or as path to make a backup. Only Restore from sdcard or Backup to sdcard, which is my internal sd card of my z2 tablet. But I would prefer to make backups to my external sdcard. What have i done wrong. My sdcard is exfat which under my z phone is supported by dualrecovery.

EDIT: OK, forget it for now. I have updated to 2.8.14 and sdcard1 is available in Backup and restore in Phils Touch. Will now try to make a backup

BUT: What do do to have the time and day settings correct on next boot to recovery? I always have to set it new even setting auto restore settings enabled. And what does it mean: E: Unable to create brightness sys file ?
[Xperia Z2 Tablet General] [NUT]:
The brightness file message can be ignored. Look inside the FAQ on post 2 on the DevDB thread (link in OP) to see what to do about the time and date.
[Xperia Z2 Tablet General] thunder141:
Thx, i tried it with third option and date and time are correct on next boot to recovery.

Backup to sdcard1 also seems to work. Backup is created. Will see, if i am in use to restore the backup ;)
[Xperia Z2 Tablet General] sbyrd:
Thank you. This worked on my Japanese branded Xperia Z2 Tablet Docomo SO-05F.
[Xperia Z2 Tablet General] feppa:
i need to remove XZDualRecover

however i cannot find

/system/bin/charger

/system/bin/mr.stock

any ideas? Will XZDualRecovery be removed if i flash a ftf image with flashtool?
[Xperia Z2 Tablet General] thunder141:
Flash Stock Ftf will remove root and xzdr. If xzdr not included in Ftf like some prerooted
[Xperia Z2 Tablet General] feppa:
Thank you
[Xperia Z2 Tablet General] rob_skater:
5.1.1

Ive tried this on my sgp511 running 5.1.1 23.4.a.1.200

Obviously it didnt work, how do i get it to work though?

sorry, noob, thanks in adavance
[Xperia Z2 Tablet General] dex9mm:
Of you have your boot loader unlocked you need to use the custom kernal that is in the kernal builder section and install it via the .bat file in the zip after extracting.

Also is the firmware your using a custom one or stock

my impression is stock and your really don't know what your doing or where to start.

1.Boot loader unlock if its not possible then you need to root by a downgrade to 4.4.4 FTF and then install locked bootloader recovery

2.Custom recovery/kernel

3.Custom firmware

I'm not going in to detail about any of my post so don't ask use the search function and Google to find out exactly what you need to do
[Xperia Z2 Tablet General] rob_skater:
I have unlocked the bootloader using the sony toutorial via the sony website.

I had previously had cwm recovery working but it just resulted in a boot loop :(

I have the custom firmware that i am hoping to install via the custom recovery, just every way i have tried to get a custom recovery to work it fails :(

I appreciate the reply, i have been researching and googling solid for about 4 hours now and just cant seem to get a good response.