yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] DooMLoRD:
CWM-Based Recovery 6.0.4.7 Recovery for Xperia Z3 Compact!

Credits and special thanks to Koush and everyone else involved in Cyanogenmod project!​

[ info ]

This Recovery is built from CWM 6.0.4.7 sources!

[ PROOF ]

[ credits / special thanks ]

Koush - for the brilliant work & coding on CWM recovery

CyanogenMod and FreeXperia Team (especially jerpelea) for too many things *:)

special thanks to [MENTION=2807379]Androxyde[/MENTION] for pointing me to the correct tools and thanks to [MENTION=4904057][NUT][/MENTION] for the kitchen which works well to slice the kernel.sin :)

special thanks to [MENTION=4445062]Joe_Mama[/MENTION] [a.k.a.:

Stinky sweet from 4pda

]for helping out with testing and risking his devices for the sake of development!!! and NO, his phone was NOT damaged during testing ;)

ME for creating this for u guys!

[ Requirements ]

Bootloader unlocked

working fastboot

STOCK ROM FW:

4.4.4

23.0.A.2.105 - v01

or ROMS BASED ON THAT FIRMWARE

[ features ]

standard CWM recovery 6.0.4.7!

init.d startup script support inbuilt!

kernel is insecure (ro.secure=0)

disabled kernel level RIC

adb debugging is enabled by default in OS

TIP: if u are experiencing very slow backup in CWM do this

[ WARNING ]

FOR NOW WE DONT HAVE ROOT ON LOCKED BOOTLOADER!!! IF YOU WANT TO PRESERVE YOUR TA DATA/DRM KEYS THEN DO NOT UNLOCK BOOTLOADER!!!!

for flashing this kernel you

WILL NEED TO UNLOCK BOOTLOADER!

Check this thread for more info (same steps as Xperia Z1 are used for Xperia Z3 Compact)

UNLOCKING BOOTLOADER WITHOUT TA BACKUP WILL LEAD TO IRREVERSIBLE LOSS OF DRM KEYS!!!

Sony has changed their bootloader unlock policy:

Source: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/

[ known issues ]

adb is not working in recovery (can be fixed later)

[ how to flash this kernel ] (via fastboot)

download the kernel image

save the boot.img to the folder containing fastboot binary

flash the boot.img using fastboot:

fastboot flash boot boot.img

reboot from fastboot

fastboot reboot

the device should now start booting

enjoy!

[ how to enter recovery ]

when you see the Sony logo and the LED light turns pink/amber/orange keep tapping/pressing VOLUME UP key

[ how to Root ]

for instructions on how to root please check this post

[ sources ]

https://github.com/DooMLoRD/android_device_sony_honami

for now recovery is same is same as honami

[ donations ]

Please do consider donating as I am thinking of getting the Z3 or Z3 Compact (not yet decided which one), if you want me to support this device then feel free to donate and help me buy it!

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc ;)

PAYPAL DONATION LINK

OR

you can buy one of my awesome apps from Play Store!

[ download links ]

PLEASE DO NOT MIRROR, REDISTRIBUTE, REPACK MY FILES

NEW:

Advance Stock Kernel with CWM Recovery v01 (FW: 23.0.A.2.105)

MD5HASH: 2f98c39bf48102dcbd7e4d106f05360f

OLD:

...

enjoy!!!
[Xperia Z3 Compact Original Android Development] DooMLoRD:
Rooting Instructions

[ how to root ]

once you have flashed the kernel from the 1st post

download the latest SuperSU update.zip from: http://download.chainfire.eu/supersu

save it on sdcard of device

reboot into recovery

flash the supersu update.zip

reboot from recovery into OS

you should now get proper root access!

[ installing busybox ]

it is highly recommended to install busybox after rooting!

just go to andorid play store and download the busybox installer.

once the installer is downloaded, install busybox in

/system/xbin

reboot device after install and thats it!

regards,

DooMLoRD
[Xperia Z3 Compact Original Android Development] Aripex:
Great news - thanks!
[Xperia Z3 Compact Original Android Development] bangsti:
Great many thanks [emoji1]
[Xperia Z3 Compact Original Android Development] Frontier3:
EDIT* NM figured it out 10 seconds after posting this, of course
[Xperia Z3 Compact Original Android Development] Dsteppa:
Welcome back [MENTION=2784807]DooMLoRD[/MENTION]

Can we expect any DoomKernel for this device? Would be great.

Thanks for the root :good::good:

I'll wait till we can back-up our TA-partition tho
[Xperia Z3 Compact Original Android Development] Sorel7:
Thank you DooMLoRD!!
[Xperia Z3 Compact Original Android Development] Jliax:
Thanks doomlord for the quick response.
[Xperia Z3 Compact Original Android Development] mattdm:
Does anyone have an idea of how long we might have to wait to be able to back up TA-partition?
[Xperia Z3 Compact Original Android Development] munkustrap:
Thanks, mate! My D5833 is still on 23.0.A.2.93, can I use this as well?
[Xperia Z3 Compact Original Android Development] bel57:
Ooooops, wrong topic. My bad.
[Xperia Z3 Compact Original Android Development] Why So Serious?:
And it begins!

Best news to wake up to ;)

Thanks DooMLorD!
[Xperia Z3 Compact Original Android Development] UserX10:
Hm..

Have installed CWM -> worked

Installed supersu over CWM -> worked

But no supersu in app drawer and also busybox can not be installed -> no root privileges !?

Any suggestions?

BR

Edit:

Solution -> Installed SuperSu from playstore
[Xperia Z3 Compact Original Android Development] Dashers:
Nice job.

Can we clarify (for the new and inexperienced of us).

- Unlocking the bootloader will bugger things like the Bravia-engine

- Is it possible to get root without unlocking the bootloader?
[Xperia Z3 Compact Original Android Development] Hjbotha:
1. We don't know what unlocking does yet. Camera and display features all appear to still be working according to various posts but I'm not confident of that yet.

2. Nope, and potentially won't be for quite a while (months).
[Xperia Z3 Compact Original Android Development] tacocats:
Firstly thanks a lot doomlord! I'm literally on my way to receive my z3c now :)

But does anyone know if updates will still ve available if I root and unlock but still use stock rom?
[Xperia Z3 Compact Original Android Development] geronimoid:
Thank you Sir! :D
[Xperia Z3 Compact Original Android Development] dillalade:
Perhaps not OTA but you can simply flash the ftf updated firmware files through flashtool. So in essense yes you can still update stock firmware updates.
[Xperia Z3 Compact Original Android Development] tacocats:
Hey its you again haha thanks
[Xperia Z3 Compact Original Android Development] dillalade:
:sly:

Knowledge is power

Share that sh!t my motto

Enjoy
[Xperia Z3 Compact Original Android Development] someone755:
I do think AndroPlus' kernel has support for the new update and has a recovery (three of them, actually).
[Xperia Z3 Compact Original Android Development] AnGrY sCoTsMaN:
and now rooted!.....great work and (a nearly) totally idiot proof guide, cheers:good:
[Xperia Z3 Compact Original Android Development] Neiltwo2:
I'm not sure how to do this. First you say I should

"WILL NEED TO UNLOCK BOOTLOADER! Check this thread"

In that threat you say

"if you want to backup the TA or keep ur DRM keys,first root the device and then check this out"

but to root you say

"once you have flashed the kernel from the 1st post"

How can I root without flashing, how can i backup stuff without rooting?

I don't want to lose/corrupt my phone.. I'm new to this, please help me out
[Xperia Z3 Compact Original Android Development] AnGrY sCoTsMaN:
sent you a PM with a guide.

you will lose your TA DATA/DRM KEY if you root, there is a thread on here detailing what that means, Personally that doesn't bother me, and i cant see any degrade in camera quality etc

cheers
[Xperia Z3 Compact Original Android Development] abj2aqua:
Any progress on root without BL unlock?
[Xperia Z3 Compact Original Android Development] someone755:
You'd best be off asking that question elsewhere. That is, in a thread where the debate is about bootloaders.

Or you could read other threads and realize that a root exploit has not been found yet.
[Xperia Z3 Compact Original Android Development] Sethi1985:
can you send me too?
[Xperia Z3 Compact Original Android Development] AnGrY sCoTsMaN:
[MENTION=3372529]Sethi1985[/MENTION] sent you a pm. I will also post guide on here later as I've had multiple requests for it.

Cheers ?
[Xperia Z3 Compact Original Android Development] Sethi1985:
Thank you! Will reply you there in a sec. But i´m kinda afraid to root and loose some specific app features.. I´ve migrated from a pure nexus device, for a waterproof + camera basically, so you might understand my fear.. lol

But since the beeging of my android experience, i´ve always rooted my phones.. tons of setups that requier that..

Kinda in a bad course :(

Do or not to do...

F***!

:confused:
[Xperia Z3 Compact Original Android Development] theSunrise:
Just found this:

DRM FUNTION RESTORATION FOR UB DEVICE | Z3 CONFIRM

Did anyone tried this? This doesnt seem to restore the drm keys but the functions they privide...
[Xperia Z3 Compact Original Android Development] gibihr:
Exactly what you say. No more bad light fotos! Playstation still not working...
[Xperia Z3 Compact Original Android Development] boojay:
Have users who've applied the DRM patch said that or are you just speculating because no one has tried and reported that Remote Play works yet?
[Xperia Z3 Compact Original Android Development] gibihr:
I tried it and it doesn't work, the bravia engine seems not to be working too...
[Xperia Z3 Compact Original Android Development] boojay:
Sounds like you may have not applied the patch correctly as others have reported the Bravia Engine to be working and have provided proof.

Example: http://xdaforums.com/showthread.php?p=57653166
[Xperia Z3 Compact Original Android Development] moonryder:
hi guys,

maybe a noob question:

In the OP DooMLoRD wrote:

does flashing this CWM work on 4.4.4 - 23.0.1.A.5.77 (latest) firmware too?

Cause i don´t find the ...A.2.105 - v01 firmware for downloading :(

And after unlocking BL, installing SuperSU and busybox to get root can i flash the latest firmware 4.4.4 - 23.0.1.A.5.77 without loosing CWM?

Cause i have to deodex and zipalign the firmware (http://xdaforums.com/z3-compact/development/stock-4-4-4-23-0-1-5-77-deodexed-t2970741) to use this mod here: http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672

Or am i totally wrong ??? :confused::confused::confused:

Thx for your help!

moonryder
[Xperia Z3 Compact Original Android Development] someone755:
Use Androplus' kernel -- it supports the new .77 update.

If you want a more detailed answer, let me know and I'll PM you when I find some time to do so.
[Xperia Z3 Compact Original Android Development] Masoud.Ser:
very thanks for metod

please added stock kernel with ricovery for new fw 5.77 It really is

kernel (FW: 23.0.A.2.105) is old

Thanks a lot​
[Xperia Z3 Compact Original Android Development] someone755:
How about you realize this recovery (CWM) sucks and move to the only other alternative you have right now (which is Androplus)?
[Xperia Z3 Compact Original Android Development] ngelee:
anyone notice that someone has got the solotion of Unlocking Bootloader Without Losing Camera Performance? refer to this.
[Xperia Z3 Compact Original Android Development] someone755:
That's something that will most likely get fixed with future updates, plus it doesn't restore all the features you lose when you unlock the bootloader.
[Xperia Z3 Compact Original Android Development] EchoFox_:
Has anyone followed Doomlord's process for rooting a Z3 Compact that is running firmware 23.0.1.A.5.77?

Edit:

according to this thread (link below), attempting to use the Doomlord stuff in the OP of this thread while the phone has firmware version 23.0.1.A.5.77 will result in wifi failing to work.

http://xdaforums.com/z3-compact/help/wifi-root-t2976753
[Xperia Z3 Compact Original Android Development] ALAAWARE:
i have CWM-Based Recovery for 23.0.1.A.5.77
[Xperia Z3 Compact Original Android Development] lamducthien:
Can you give me intruction ?
[Xperia Z3 Compact Original Android Development] iFlasher:
Hi!

Sorry for offtopic.

D5833 Users with unlocked and rooted device. We need us at here for get root in Locked Bootloaders:

http://xdaforums.com/z3-compact/general/bounty-root-unlocking-bootloader-method-t2940539/page93
[Xperia Z3 Compact Original Android Development] dhvenus:
WiFi do not work after flash 6.0.4.7 Recovery!

Hello,

Well, I unlocked my D5803 device successfully, and flashed via fastboot this CWM based recovery.

The problem is that after reboot I have no WiFi enymore! It is not possible to enable. The recovery is correct installed. I could start in recovery mode, and also could install superSU.

Do anybody knows what the trouble is?

What I did:

- reinstalled the KK 4.4.4 (build 23.0.A.2.93) over Sony´s EMMA flash tool-> Wifi working again; bootloader remain unlocked.

- I reflashed this recovery over my second PC to the phone: the same failure again!

- Wipe user data/ Wipe cache / wipe dalvik carried out-> WiFi still not working

One thing, what I did wrong at the first time:

was that I flashed the recovery version from D66XX Z3. It was a misstake because I visited the the link "how to root", and this Thread looks like this thread and I was downloaded from there the Recovery image because I thought I´m in the right Thread for Z3 Compact.

After flash this wrong image the display was black, but the phone was running (start sound was audible. I realized that I was flashing the wrong Image, and after that I flashed again the recovery Image for D53xx.

Thank you in advance for your help!
[Xperia Z3 Compact Original Android Development] someone755:
What you're seeing here is because of the mismatch between the version of Android you're running and the kernel -- this boot.img you're flashing doesn't just contain the recovery but also a kernel. That kernel was meant for the .105 release.

If you want a recovery, the only other place you can look at is the Androplus kernel.

Or CM12, but that's probably not what you want.

I also don't know why you're using .93 -- .77 was the last update to be released, and it brought many improvements.
[Xperia Z3 Compact Original Android Development] dhvenus:
Hi,

the Sony´s Emma flashing tool shows "Running Xperia Z3 compact ....... (build 23.0.A.2.93)"

But you´re right in the phone ist the current build version "23.0.1.A.5.77":

[IMG="Emma Screenshot"]http://dhvenus.de/Unbenannt.JPG[/IMG]

You mean, I shold take a recovery version whith the same number ending like the installed ROM version?

Example: my ROM version ending .77 so I should flash a recovery with .77 ending?

Can you please post the exact link, which is the right recovery?

I just want to root my phone, nothing more ;)

Thanks!

EDIT:

Ok...

- I have a ROM version .77 installed (current Stock ROM from Sony)

- this image is for .105 version ROMs-

Conclusion: the mistake was that I have a wrong ROM Version (.77) . This recovery image is only for .105 ROM

Thank you someone755 fo your patience!

Thank you!
[Xperia Z3 Compact Original Android Development] dhvenus:
deleted
[Xperia Z3 Compact Original Android Development] someone755:
In the "General" section, I think, there's a thread housing every update for the device, including the old .105, if that's what you want to download.

I beg of you, do not go downgrading your phone for the sake of a broken recovery (because let's face it, CWM is useless).

Ugh, it's story time, I guess.

The Xperia devices do not have a separate recovery partition. Instead, we here have two options: either bundle the recovery within the boot image (as you can see in this thread), or use another partition as the recovery partition (we use the FOTAkernel partition, which is normally used for OTA updates -- once your bootloader is unlocked, that partition isn't being used anymore so we might as well do that).

Should you use a recovery that's inside a boot.img, you have to make sure that the other parts of the boot.img correspond to your device's hardware and software (read: the system and kernel must be of the same version).

If you choose a recovery that boots off your FOTAkernel partition, you don't have to worry about the kernel version as you're only flashing the recovery, nothing more. What you do have to watch out for however is whether or not your kernel supports a recovery like that.

In short, don't bother installing this. But, seeing as you want a recovery, your only other option is flashing the Androplus kernel (check the "Android Development" section for that).

EDIT: Also, before I forget, the forums have a nifty little "Edit" feature with which you should edit your posts instead of posting multiple times.
[Xperia Z3 Compact Original Android Development] Wagih El-Bedeawy:
does this works with LP (Up-to-date stock rom with bootloader unlocked)

as my devices keeps rebooting now ??

i can enter CWM, Do i have to “wipe data factory reset” and “wipe cache partition”?? if so can i reflash the stock files ? can you give a link to them ?
[Xperia Z3 Compact Original Android Development] someone755:
No.

What do you mean by this, exactly?

If you've flashed this, then yes that is normal since it's not meant for Lollipop.

If you want to flash the stock files, go look for them, it's really not that hard.

I'd recommend you just flash a stock kernel though, instead of downloading the entire (1+ GB) FTF.
[Xperia Z3 Compact Original Android Development] Wagih El-Bedeawy:
Thanks, i have did it :)
[Xperia Z3 Compact Original Android Development] Adzkii:
So i download the file then get my phone into fastboot then do "fastboot flash boot boot.img" then phone restarts goes to recovery?

I did all that perfectly but phone goes into black screen after rebooting?
[Xperia Z3 Compact Original Android Development] someone755:
Yes, because the OP was last updated on September 28th, 2014...

Go find something more recent.
[Xperia Z3 Compact Original Android Development] Adzkii:
What does date have to do with it? I'm sure what i done was right so why am i going to blackscreen?
[Xperia Z3 Compact Original Android Development] someone755:
If you're so sure what you did is right, why bother reading what I wrote? Heck, why ask?

The date has to do with your phone's software being too new for this software to work correctly with it.
[Xperia Z3 Compact Original Android Development] hnegrao:
Hello.

I have a Xperia Z3 compact.

Bootloader is unlock.

Firmware is stock 23.4.A.0.546.

How can I root my D5803? Can anyone point me in a direction please.

Thanks.
[Xperia Z3 Compact Original Android Development] tlsty:
I am having the same question as hnegrao:

is this process applicable for:

Unlocked bootloader & Firmware is stock 23.4.A.0.546 ???

thank you
[Xperia Z3 Compact Original Android Development] someone755:
Flash a recovery, then flash a superuser zip.

AndroPlus has a recovery integrated, and there exists what is commonly called "Dualrecovery".

Don't bother with this thread anymore.
[Xperia Z3 Compact Original Android Development] madthehatter:
Hi,

I've been trying to root my Xperia Z3 compact and the link for the CWM 6.0.4.7 is dead. I can't find it anywhere else on the internet. Does anyone have it?
[Xperia Z3 Compact Original Android Development] ted!:
Tributes to doomlords CWM-based recovery... But you shall better use twrp now!

Go for this...

https://xdaforums.com/z3-compact/general/d5803-z3c-aries-twrp3-0-t3543113

Greets ted!
[Xperia Z3 Compact Original Android Development] daniel11609:
but isnt there any way of still using cwm? right now twrp doesnt seem to be the right recovery for me
[Xperia Z3 Compact Original Android Development] someone755:
I'll put it this way: CWM is like buying a brand new PC, then installing Windows 95 on it. Sure, you may be used to it, but it's deprecated and no-one will help you out in your quest.
[Xperia Z3 Compact Original Android Development] temporary2010:
The closest you can get would be this dual-recovery:

https://xdaforums.com/showthread.php?t=2261606

Philz Touch is based on CWM, and you can disable the touch part, if you want.

Once you get it installed, it will also install an app called NDR Utils. Run it, then choose Philz Touch/CWM to be the default recovery.

If you are powered off and want to boot into Philz Touch, turn on the phone, and after it vibrates, press the volume up button. The notification LED will change from red to green (or maybe it is green to red; can't remember for sure).

If you want to boot into TWRP, press volume down.
[Xperia Z3 Compact Original Android Development] temporary2010:
Hey, I just remember reading the changelog that older versions of Nut's Dual Recovery had CWM.

http://nut.xperia-files.com/html/xzdualrecovery-change-log.html

Seems it was removed in 2.8.22, so you might want to try 2.8.21

http://nut.xperia-files.com/path/XZDualRecovery/Older_Releases/XZDualRecovery_2.8.21

Personally, I would stick with Philz, but with 2.8.21, you have the choice of all three :D .
[Xperia Z3 Compact Original Android Development] daha2002:
Yes, using Sony Emma you can restore to stock. Just connect your phone in flashmode and let the application do its job.
[Xperia Z3 Compact Original Android Development] Gomezie:
Thanks for the info,

When using Sony Emma to flash back to stock, does it lock the bootloader again? If so is it in a relocked state like HTC bootloaders, or just plain locked as new?

Kind regards
[Xperia Z3 Compact Original Android Development] daha2002:
It does not re-lock the bootloader but it overwrites recovery, you need to fastboot it back again.

The only problem with this method is that you completely lose all configurations, is a fresh install. In case of **** ups (wich I did a few hours ago by deleting some critical apks and ended up in eternal boot loop), just Sony Emma that **** back to life.
[Xperia Z3 Compact Original Android Development] tacocats:
when I type in "fastboot flash boot boot.img" into cmd, it gives me "error: cannot load 'boot.img'"

what am i doing wrong? i pasted "Z3c_DooMLoRD_AdvStkKernel_v01_FW-105" into adb_fastboot folder already.

http://imgur.com/PA4Glbd
[Xperia Z3 Compact Original Android Development] tribemac:
You try to flash boot.img but your file have another name so that would be the problem there is no "boot.img" to flash that would be the name of the file. Renaming the file to boot.img would solve it.

Skickat från min LG-V500 via Tapatalk
[Xperia Z3 Compact Original Android Development] tacocats:
i tried entering this "fastboot flash boot Z3_DooMLoRD_AdvStkKernel_v01_FW-93.img" too.

same results :(

---------- Post added at 11:33 PM ---------- Previous post was at 11:24 PM ----------

I tried another command and got this

sending 'boot' (13014 KB)...

OKAY [ 1.404s]

writing 'boot'...

FAILED (remote: Command not allowed)

finished. total time: 1.407s

is it done? sorry I'm kinda new to this
[Xperia Z3 Compact Original Android Development] tribemac:
To me it looks liked it failed to write boot...

Skickat från min LG-V500 via Tapatalk
[Xperia Z3 Compact Original Android Development] daha2002:
All files must be in the same directory (its easier this way), and also, have you unlocked your bootloader yet?

Follow this instructions to unlock your BL --> http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
[Xperia Z3 Compact Original Android Development] tacocats:
yes I have

now my phone is just restarting itself but not getting past the boot logo.

Help...
[Xperia Z3 Compact Original Android Development] daha2002:
- Press power button + volume up until it vibrates 3 times and turns off.

- download sony emma and install it http://developer.sonymobile.com/services/flash-tool/how-to-download-and-install-the-flash-tool/

- connect your phone in flashmode pressing volume down and then connect the usb cable (you SHOULD/MUST install drivers first, thats a must when connecting your phone to the PC)

- let sony emma to recognize the device and just click "apply service" to restore your phone to factory conditions/software/everything

- try to root again

- repeat until success

DO NOT FORGET TO CHARGE YOUR BATTERY!