yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Q&A, Help & Troubleshooti] thref23:
Hey guys,

I am looking for the following files:

DownloadProviderUi.apk

DownloadProviderUi.odex

DocumentsUi.apk

If you want to make things dumbproof and give me a script I can flash via TWRP (which will hopefully work right), which will put these files back in System/App with the proper permissions, awesome.

Earlier, after opening an MP3 with Google Play Music, Google Play Music went crazy, the tablet froze, and upon reboot my download manager did not work, needed to be reinstalled somehow (but couldn't be reinstalled when I opened the .apk file in system/app), rendering the Play store, and Chrome, useless for downloading apps. I tried unsuccessfully to copy the apk/odex to my external SD card, before unexpectedly managing to delete the files. I deleted DocumentsUi.apk, which I probably do not need, by mistake. I tried installing a separate download manager (meant for an older device), but it wouldn't install.

I have a system.sin file for a SGP621 - but cannot extract the individual files without an older version of Flash Tool. And I don't want to flash the full file.

Thanks in advance!

UPDATE - I don't know what I did the 'Download Manager' still doesn't appear in my app drawer and I did not think the APK was still on the tab - but suddenly I can download from Google Play once again. No help needed.
[Xperia Z3 Android Development] [NUT]:
-=[XZDualRecovery]=-

PhilZ Touch & CWM & TWRP

*** For Locked and Unlocked BOOTLOADERS! ***

Welcome to the Xperia Z3 Questions & Answers thread!

I proudly present you the first and only DUAL RECOVERY for locked boot loaders on our lovely Xperia phones! :cool:

If you have an unlocked bootloader and chose to keep the

STOCK Sony kernel

, you can also use this MOD.

Currently supported XPERIA models:

These are also links to the device specific Q&A threads.

Xperia Z: SO-02E, C6602, C6603, C6606, C6616

Xperia ZL: C6502, C6503, C6506

Xperia Tablet Z: SO-03E, SGP311, SGP312, SGP321, SGP351

Xperia Z Ultra: C6802, C6806, C6833, C6843

Xperia Z1: C6902, C6903, C6906, C6943, C6916

Xperia Z1 Compact: D5502, D5503, D5506

Xperia Z2: D6502, D6503, D6506, D6543, D6563

Xperia Tablet Z2: SGP511, SGP512, SGP521, SGP551, SGP561

Xperia ZR: C5602, C5603, C5606

Xperia T, TX, TL and V: LT30p, LT29, LT30at, LT25i

Xperia S: LT26i

Xperia SP: C5302, C5303

Xperia T2 Ultra: D5303, D5322

Xperia Z3: D6603, D6633, D6643, D6653, D6616

Xperia Z3 Compact: D5803, D5833

Xperia Tablet Z3 Compact: SGP621, SGP641, SGP651

To follow development, be sure to check the DevDB thread!​
[Xperia Z3 Android Development] [NUT]:
XZDualRecovery User Manual
[Xperia Z3 Android Development] [NUT]:
Special Thanks:

[MENTION=2784807]DooMLoRD[/MENTION] for all his excellent work on our much loved Sony phones!

The Team Win developers for TWRP

The ClockWorkMod developers for CWM

@alexocean for his awesome job testing almost all FW releases and the discovery of SuperSU causing problems for the installation of this recovery!

[MENTION=4293754]RoberM[/MENTION] for testing

[MENTION=2335078]surdu_petru[/MENTION] for testing and handy pointers

[MENTION=2807379]Androxyde[/MENTION] for allowing to use his linux and mac adb binaries.

[MENTION=4567848]lancebukkake[/MENTION] for finding the TWRP 'fix' to use exFAT formatted sdcards!

[MENTION=4225567]delewer[/MENTION] for the final fix for TWRP and its use of exFAT formatted sdcards

[MENTION=5261329]DevShaft[/MENTION] for some code help on the windows installer (the menu!)

[MENTION=2807379]Androxyde[/MENTION] again, but now for his bash code/script suggestions... oh boy this guy is a genius! :highfive:

[MENTION=3662018]Tamirwig[/MENTION] and [MENTION=4675598]shoey63[/MENTION] for their excellent job at testing early BETA's (Xperia Z)

[MENTION=3843529]gregbradley[/MENTION] for his extensive testing on the Xperia Z1

Well, enjoy! :fingers-crossed:

The origins of this XZDualRecovery package are in the packages done by:

Krabappel2548, Cpasjuste and DooMLoRD

Thank you for your excellent work guys! :victory:

[Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders v4[25-03] by Krabappel2548

[APP/RECOVERY] TWRP 2.4.3.0 for lockled bootloaders installer by Cpasjuste

[KERNEL][Z] DooMKernel {JB}(v06)[20130414] by DooMLoRD

Your thanks (and donations) should (also) go out to them, they deserve it! :highfive:
[Xperia Z3 Android Development] gregbradley:
Hi

I have already checked most functions on here for the Z3

I have to manually mount the system but all works fine
[Xperia Z3 Android Development] Hushmina:
Sorry if this is a stupid question, but how did you do that..?
[Xperia Z3 Android Development] [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 Z3 Android Development] Hushmina:
Got it working, must've had an older version! Thanks so much for your hard work!
[Xperia Z3 Android Development] gregbradley:
adb shell
su
mount -o remount,rw /system

Or use root explorer to mount it when in the system directory

But if you update to 2.8.1 the issue is resolved anyway, quick work by [MENTION=4904057][NUT][/MENTION]
[Xperia Z3 Android Development] gregbradley:
In order to get the correct time going in Philz recovery ensure you read the FAQ in the DevDB thread here

Basically, Goto recovery options, GUI preferences, Date and time, change date and time and ensure "Parse Daemon time data" is checked.
[Xperia Z3 Android Development] mick353:
how long does it take at this stage..? been sitting for five minutes

=============================================

Installing using zxz0O0's towelzxperia

(using geohot's towelroot library)

=============================================

towelzxperia (by zxz0O0)

thanks to geohot for libexploit

creating libzxploit.so

libzxploit.so created

doing the magic

creating vm (loljavasucks)

libdvm opened (loljavasucks)
[Xperia Z3 Android Development] Kearkan:
This seems exciting.

Just checking, this will allow root with a locked boot loader. Thus keeping the TA partition and all DRM keys?
[Xperia Z3 Android Development] gregbradley:
No, you need root in order to install this....

But if you search you will find that there is root for a locked bootloader

Just search for

Giefroot.
[Xperia Z3 Android Development] gregbradley:
That will not work on a z3, towelroot had never worked on a z3. you must root first, search for giefroot
[Xperia Z3 Android Development] hurikan23:
The TWR not work my Xperia Z3.

Stock 4.4.4. xxxxx.77 build.

Rooted with giefroot v2, Locked bootloader. Supersu.

If I would like bakup, or install an so one, TWRP restart and reloaded TWRP home.

Why? :(

CWM is work fine all function's.

Sorry my bad englis.
[Xperia Z3 Android Development] [NUT]:
Please redownload and reinstall it, it's because of some issues with building twrp it got re-released...
[Xperia Z3 Android Development] goosebickel:
cm12 recovery

Cm recovery isn't great at the moment, just wondering the best way to install this if its possible?

From what I've read so far, Sony phones don't have a separate recovery partition, its built into the kernel! Correct me if I'm wrong.

I've tried to flash with the cm recovery, but it failed, would I need to go back to a stock based ROM, then this recovery.

Then when I flash cm12, flash this recovery before I reboot like it says in the 1st post.

Many thanks
[Xperia Z3 Android Development] gregbradley:
Root (Using giefroot for LB), run the installer.bat from this download

That's how you install this.

But if you want to install Cm, just fastboot the boot.img from the CM update.zip (That has the recovery in it) then enter recovery and flash the update.zip. You do not need this recovery. This recovery is for LB and is installed into the system partition.
[Xperia Z3 Android Development] hurikan23:
Reinstall not delete my data, and my nandroid backup compatible?

The new dual recovery compatyble old backup?
[Xperia Z3 Android Development] gregbradley:
of course
[Xperia Z3 Android Development] goosebickel:
I'm already running cm12, the cm recovery doesn't have any backup features or install from external card. Was just looking for options to get a recovery like twrp or cwm so I can make backups whilst running cm12.

Thanks for the fast reply.
[Xperia Z3 Android Development] [NUT]:
It should.
[Xperia Z3 Android Development] AlphaSun:
Kag, I'm having the same issue. Did you ever find a fix for this?
[Xperia Z3 Android Development] [NUT]:
23.4.A.1.232 is 5.1.1, which makes it not work with the unrooted installation anyway, but besides that, I don't think you extracted everything or are using windows 10, which is throwing similar errors.
[Xperia Z3 Android Development] kleeanlins:
I understand

Yeah, I am actually using Windows 10 with 5.1.1 ; Thanks for the reply :P
[Xperia Z3 Android Development] codetvirus:
Thanks for your work. Have the same problem with Z3 D6653. No LED when turning on just boot normally. What you mean with installer output? By the way the installation goes perfect.
[Xperia Z3 Android Development] [NUT]:
The contents of the installer window. from start to finish. You can right click the window, select Mark and then type ctrl+a to select all, right click to copy and then paste it in to a text file to attach here.
[Xperia Z3 Android Development] [NUT]:
Rootkitxperia does not work on 5.1.1.

You need to downgrade to a 5.0.2 rom to be able to use it.

The 2.8.22 RC has better checking of the success or failure, this earlier version missed the bar completely.
[Xperia Z3 Android Development] Kag:
Nope, never found any fix for it.

If you need to flash stuff you can mount SD card and can still flash stuff through it.
[Xperia Z3 Android Development] codetvirus:
Thats explain a lot. Thanks!
[Xperia Z3 Android Development] incodnita:
Hello everybody,

I have a Sony Xperia Z3 (D6603) Android version 5.1.1 (23.4.A.1.200). I was installed this dual recovery (2.8.22 RC version) all is working very well but a SD card 64 GB formatted in exFAT is not working in TWRP recovery, I don't know why. It works in PhilZ Touch and in TWRP in a Sony Xperia Z (v2.8.7.0), it isn't this dual recovery. I have another SD 16 GB formatted in exFAT too and it works well in TWRP.

Anyone is having this problem or know how to fix it or where is the problem?

Thank you very much.
[Xperia Z3 Android Development] [NUT]:
You could try to reformat it using the rom features. It could be that it's a non-standard exfat and that the combination of hardware and maimed exfat makes it bugger on the z3...
[Xperia Z3 Android Development] incodnita:
After a couple of hours backing up, formatting and restoring (64 GB it's a lot) now it works.

Thank you :)
[Xperia Z3 Android Development] heorung:
Backup using twrp recovery run extremely hot , the cpu kick to 90 C degree. Anyone else have this problem?
[Xperia Z3 Android Development] brockyneo:
hi guys im all rotted ect but carnt seem to get the TA backup tool to work on my pc

just asking is they away to back it up in TWRP

thanks
[Xperia Z3 Android Development] [NUT]:
Backup the Trim Area perhaps?
[Xperia Z3 Android Development] brockyneo:
my apologies i did a bit of research and wound out thats what TA stands for :o

thanks:good:
[Xperia Z3 Android Development] berquer:
I cant reach the download website. Where can I download it?
[Xperia Z3 Android Development] SportingChap:
Yeah, looks like the download links are broken at the moment. Here is my copy of 2.8.21 I threw up on OneDrive: https://onedrive.live.com/redir?resid=DE6A3B2E38C40C14!1667&authkey=!ALC8RjQi2YRGfs8&ithint=file,zip
[Xperia Z3 Android Development] [NUT]:
Please remove this 'backup' from public access. Thanks for helping out while my website was broken :good: it has since been fixed and working fine again.
[Xperia Z3 Android Development] SportingChap:
No problem. Unshared.
[Xperia Z3 Android Development] hrsh45:
hi,

i've rooted my phone with kingroot & installed busybox,

but couldn't install xzrecovery from either PC or the app.

(Z3 Compact)

thanks for further helps in advance :)
[Xperia Z3 Android Development] TheXorg:
hi,

i've rooted my Z3 using KingRoot and used SuperSU-Me afterwards to replace KingUser with SuperSU. Used the install.sh on ArchLinux to install recovery, used the SuperSu option. Now my phone hangs at "SONY ... XPERIA" logo. Completely powering it off and powering it on again did not help. I'm on latest LP Stock (.264)
[Xperia Z3 Android Development] bball9:
No boot into recovery.

Having troubles booting into recovery. It is almost like it isn't there anymore... When I use NDRutils, and try to boot into recovery, it goes straight into android. None of the recovery options work. When I turn it off normally, press the power and down button, I get what seems to be stock android system recovery with options: Continue Power Up, Safe mode, Factory Reset, Power down. I don't have a recovery even though I've used it in the past.... help? I am about to re-flash the recovery however I don't want to mess it up. I need to uninstall the xposed framework is why I need this.

Edit:

I just went ahead with the flash and I have TWRP again, which is nice. Working on the rest.
[Xperia Z3 Android Development] MrBigWaffles:
this doesnt work for me, I just get adb is not a recognized command
[Xperia Z3 Android Development] thejulo:
Install recovery on Marshmallow

Which flash?

I have the same issue. I am currently on MM, without recovery and keen to get it back.

Thanks,
[Xperia Z3 Android Development] bball9:
I used the Z3-lockeddualrecovery2.8.26-RELEASE.combined flash from the website. Just flashed it right on top and it worked. Your experience may vary so watch out!!
[Xperia Z3 Android Development] E398:
Me too looks like it's gonna blow up. Is there a configuration or partition that we shouldn't backup?
[Xperia Z3 Android Development] PeeHoo:
Hi!

I downloaded and flashed this recovery successfully without errors to the D6603. Now I have a situation that phone boots but only Xperia text is continuously changing colours and ROM is not starting. And at the same time I haven't found a way to get in recovery or bootloader. Let's hope my phone not bricked... Anybody could help me how to connect to phone and do something to fix this?

edit: if trying to get fastboot mode (power off, press volume up, usb cable attach) blue led is starting but phone do not start, do not reboot or do anything even I press power button. It's starting to boot only after removing usb cable.

I have Existenz Marshmallo 3.9.0 ROM in my phone.
[Xperia Z3 Android Development] Vildanoff:
how can you say you read the thread ? Dual recovery don't working in mm Rom , in eXistenZ twrp already built , anything not necessary to flash .
[Xperia Z3 Android Development] PeeHoo:
Hmm... I didn't say that I read thread. This was my error and now I am asking humble help... Last thing I need at this moment is not trying to answer my question...

Btw. Of course I understand that everybody should read thread but f.e. this is over 200 messages and we have huge threads... It would be nice if "major" instructions are located in first 10 messages not all over...

Yeap, I'm not blaming anybody... My fault! Just asking help!
[Xperia Z3 Android Development] Vildanoff:
First post on Existenz ROM

Various

now you can do just downgrade to 5.1.1 to get Ruth via kingoroot , install dual recovery and then flash the Existenz ROM
[Xperia Z3 Android Development] HedGui:
Root Without PC

1.0.2 King User (su always grant)

4.1 KingRoot (lightning bolt icon)(su always grant)

Purify, run purify (any version)

Whitelist both apps and keep rebooting until root stays.

Run xzrecovery4.1

From xzrecovery4.1, install this zip

Z3-lockeddualrecovery2.8.26-RELEASE.combined.zip

Now busybox and xposed and this 5.0.2 ofw is good.

All done without pc
[Xperia Z3 Android Development] bond7:
Xperia d6633 bootloop

First of all my apologies, if I’ve posted in the wrong thread and I’m a newbie who needs your help.

I have a D6633 which got stuck in boot loop following an update using Xperia companion.

I then used flashtool to flash D6633_23.0.F.1.74_CE.ftf to it. During the process I wiped cache and applog and left data. After this the phone still stays in boot loop.

I left data because I think there is away for me to back up and restore my data. Probably by using XZDualRecovery since my bootlocker is locked.

Can I install if the phone is in flash mode?

Is there an exploit which can help me salvage the data.
[Xperia Z3 Android Development] risant:
Is it possible to install cm13 or 14 on sony docomo so-03e locked bootloader with the dual recovery cwm/twrp philz
[Xperia Z3 Android Development] blackhawk_LA:
I don't think you can backup your data. Maybe from fastboot mode, try to Google it cause I'm not sure (search for "backup data fastboot img" or something like that)

---------- Post added at 06:35 PM ---------- Previous post was at 06:34 PM ----------

There's no stable Cm13 nor usable Cm14 for Z3 and no, you can't install them with locked bootloader as they need a custom kernel
[Xperia Z3 Android Development] aoeuaoeuaoeuaoeu:
BUG REPORT:

System info, STOCK ROM + Locked Bootloader

Sony Z3 D6603

No encrypted /data folder support.

Steps to reproduce.

Flash Stock ROM, install recovery, boot rom, charge phone to 100%, encrypt phone with password "abcd1234", reboot, boot into recovery, try to mount /data,

What happens.

Data cannot mount even with correct password.

What is expected.

Data to mount with correct password.
[Xperia Z3 Android Development] sora0710:
I tried to install this via PC since my bootloader is locked (and Bootloader unlock allowed: No). This keeps on happening:

Any help please?
[Xperia Z3 Android Development] ray_saul:
Have you tried running the application with administrator privileges?
[Xperia Z3 Android Development] nri_tech1183:
Guys I have Z3 D6653 rooted and on Existenz rom. But I have only TWRP.

I would like to have this dual recovery.

I have downloded "Z3-lockeddualrecovery2.8.26-RELEASE.combined" file so can I simply do "install.bat" and will it work or do I need to go another method.

I dont wanna loose my data or stuck on bootloop so plz let me know the best method which wont mess my phone and give me dual recovery.

ALso, with the exisitng TWRP on my phone cause any conflict installing dual recovery?
[Xperia Z3 Android Development] leonardoaraujo:
why two recoverys? Can I have two roms? I need it so much ..

xperia d6643
[Xperia Z3 Android Development] Sierra-Saphir:
I want to install DualRecovery on my phone but there's only TWRP 2.8.7.0

Does anyone know how I can update it to TWRP 3.x.x.x ?

Do I have to make changes in the flashable zip or will the whole update process happen on the phone?
[Xperia Z3 Android Development] gregbradley:
? you sure there is no backup option? sounds like it borked to me. Try fastbooting the boot.img again
[Xperia Z3 Android Development] [NUT]:
He doesn't mean cwm, cm started a new recovery project, simply called 'cm recovery'. And he's right, cm doesn't have a backup facility yet.

Supporting cm builds is out of the scope of this recovery package, so he will have to ask elsewhere for an answer to his questions...
[Xperia Z3 Android Development] goosebickel:
Someone mentioned in the cm12 official page about working on twrp for cm12, will have to wait for that.

Thanks for making things clear in my head.
[Xperia Z3 Android Development] redincali:
When I try to clear my cache and dalvik in any of the 3 recoveries, dalvik clears but cache just sits there. I have to do power+up to restart. Any idea why?

This is on my 6603 with locked bl, root, & global fw .93
[Xperia Z3 Android Development] gregbradley:
Yes, I had heard, I just did not put 2 and 2 together for here.

Apologies
[Xperia Z3 Android Development] [NUT]:
Why ask on the Z3 thread then? :confused:

Wait... D6603 ... oh boy, these model numbers are getting confusing... :p

It can take a while for cache to wipe, up to 3 minutes is 'normal' ... but please do try again and hook up usb+adb pull /tmp/recovery.log please. Mind you, adb currently only works on TWRP. (known bug on philz, I'm on it...).
[Xperia Z3 Android Development] tr0teK:
I had problems mounting system and getting r/w rights. Even with adb it didn't work. Was this fixed now or does this still exist ?
[Xperia Z3 Android Development] [NUT]:
That actually depends on the FW version, some are not yet included...
[Xperia Z3 Android Development] tr0teK:
What about the z3 Firmware .77 ?

Edit: Tried your Remount fix, after mounting in recovery and restarting and checking in recovery it isn't mounted anymore. Still having the same problem...

Edit²: Here is a screenshot of running the fix the 2. time
[Xperia Z3 Android Development] zombiej79:
Anybody have problems wiping cache on recovery after flashing? Phone goes to black screen and I have to hit reset button by sd card
[Xperia Z3 Android Development] SimsCreed:
I had the same issue as you but I followed this and installed ES file manager to change /system to RW. Maybe try and see if this helps.

http://xdaforums.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
[Xperia Z3 Android Development] tr0teK:
I fixed it with monx kernel and twrp 2
[Xperia Z3 Android Development] sapeh:
Hi

First of all thank you for your work, it sounds amazing

Second of all, I cant install, I am rooted (griefroot) and here is my log

Thank you in advance for your answers
[Xperia Z3 Android Development] gregbradley:
Did the root work?

If so, mount system as RW.

adb shell
su
id
busybox mount -o remount,rw /system

You can try this as well

http://xdaforums.com/showpost.php?p=58398814&postcount=178
[Xperia Z3 Android Development] sapeh:
thanks for your answer,

so i tried to reroot (seemslike it wasnt fully rooted) and i was able to go all the way through the installer of the dualrecovery

It works now like a charm

Thanks for your amazing job guys
[Xperia Z3 Android Development] LeonidasTurk:
Hi. Can i use it on cm-12-20150207-NIGHTLY-z3? Sorry for noob question.
[Xperia Z3 Android Development] [NUT]:
No, sorry. Stock support only.
[Xperia Z3 Android Development] LeonidasTurk:
We are waiting for support CM12
[Xperia Z3 Android Development] gregbradley:
That will not happen. This is for stock only
[Xperia Z3 Android Development] OtavioPalma:
Please help me, I've rooted my D6633 and it's working fine, when I installed the Recovery everything went fine, but now I can't access the recovery mode, when I try to use the "Reboot to Recovery"from NDR Utils, it just reboots the phone, I've tried lots of apps from the Play Store and I'm still getting the same normal boot, I hope you can help me, sorry for bad english.

PS: Rooted with Locked Bootloader
[Xperia Z3 Android Development] gregbradley:
Don't use NDR utils, reboot the phone

Do you get a double vibration during the boot up?

If so, press volume up (Or down for TWRP) to enter CMW

If you do not get the double vibration then recovery is not installed
[Xperia Z3 Android Development] OtavioPalma:
One vibration only, should I try to install again?
[Xperia Z3 Android Development] gregbradley:
I bet you have a cushion kernel insalled.
[Xperia Z3 Android Development] OtavioPalma:
I don't know what this mean, but here is the information about my kernel:

3.4.0-perf-g3a93840

BuildUser@BuildHost #1

Thu Aug 21 17:06:54 2014

23.0.F.1.74

I've downloaded the kernel, from the Root with Locked Bootloader topic, and flashed in my phone since my fw was incompatible.

Sorry for being such a noob, it's my first contact with android...
[Xperia Z3 Android Development] gregbradley:
OK, you do not have a custom kernel. But recovery is not installed.

Please install it again and copy the output here
[Xperia Z3 Android Development] welshlad:
I had the same problem, installing Busybox from the Play Store sorted it out for me...
[Xperia Z3 Android Development] OtavioPalma:
Lucky you, BusyBox was one of the first things I've downloaded after installing the recovery :(

So I excluded the recovery, and installed it again, no problems during installation, but this time the phone booted normally (the first time I installed the recovery he went to the recovery menu), and again, no way to access the recovery menu.