yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] espaciosalter20:
Please, check this solution for no r/w permission system partition on Lollipop

http://xdaforums.com/showthread.php?p=59621436

You also can check the latest post on that thread about it

Enviado desde mi Nexus 7 mediante Tapatalk
[Xperia Z3 Compact General] qbdx:
Is it possible to backup drm keys on a mac?

Sorry fellas, I tried searching the thread but wasn't able to find an answer.

Is there a way to use the Backup-TA.bat on a mac? Alternatively, is there another method on how to backup drm keys using mac os?

I think that was the only step in the process where a mac platform couldnt be used.
[Xperia Z3 Compact General] Mazzeru:
Remove bloatware with adb? Does not require root.
[Xperia Z3 Compact General] Lefteris Fragiadakis (Frago):
To check if u have working drm keys simple do this,,,

**#*#7378423#*#** in phone dialer

Service menu

Security

And if u have drm keys u will see this
[Xperia Z3 Compact General] Lilmanio:
I have the exact same problem, the archive Z3C-lockeddualrecovery2.8.3-RELEASE.installer.zip seems corrupt... I tried to unzip it with 7zip and winrar with no success... Anyone having this issue or even better, if someone knows where else to get the file... Thanks !
[Xperia Z3 Compact General] cnsultnt:
I got a reply from a private message to NUT - turn off antivirus before downloading. That worked for me.
[Xperia Z3 Compact General] turno:
lollipop D6603

hi, great tutorial. thanks.

i have a problem, I followed all the steps and rooted my Xperia Z3 running lollipop. but i cant reboot into recovery at all. Is this normal?? If not, please help me to get into recovery.

Also, my device is rooted but i cant uninstall any blaotware. please help
[Xperia Z3 Compact General] qbdx:
How to flash lollipop ? Flash tool or recovery?

Hi, i managed to get root and recovery and all that stuff,

My next question is, if i wanted to flash lollipop from here. Do i go about it via Flash tool, and flash a pre-rooted Lollipop .ftf and exclude /system or do i flash the pre-rooted .ftf through team win recovery?
[Xperia Z3 Compact General] Arturiuz!:
-del-
[Xperia Z3 Compact General] Arturiuz!:
recovery with lollipop doesnt work at the moment..check this link:

http://xdaforums.com/showthread.php?p=59621436

you need to do the same process to get root on kitkat.just change the ftf

---------- Post added at 07:35 AM ---------- Previous post was at 07:33 AM ----------

del
[Xperia Z3 Compact General] Mazzeru:
You can get a functioning recovery with lollipop atm.

What I did :

- Root kitkat.

- Backup ta.

- Unlock your bootloader.

- Flash latest twrp with current recovery.

- Flash lollipop fw (excluding kernel) with flashtool. Wipe data.

- boot.

- Shut off. Boot on recovery.

- Flash supersu.

- Flash exrxykg drm recovery.

- Boot.

- Enjoy.

You'll only loose sony's ".... Unlimited" stuff, as far as I know.

Xposed cause bootloop after several boot.

Several apps don't work on lp (?patcher, Viper4Android...)

I guess that when nut will find a solution for working recovery, you'll be able to restore ta / relock bl and install his recovery.

Shouldn't even need a factory reset.

Correct me if I'm wrong.
[Xperia Z3 Compact General] tishotch:
hello guys, i just rooted my phone Z3C , i'm on 5.0.2 pre-rooted i have root access but can't copy or past files on /system :crying:

Any fix ?
[Xperia Z3 Compact General] turno:
i want to try this, but since im still a noob i need more detail. can you direct me to where i can have a more detailed tutorial to do it?
[Xperia Z3 Compact General] FcukBloat:
hi guys. I am rooted and on latest kk fw. had to flash the fix zip to get r/w in system.

strange thig is that it seems with some apps I can't write to external sd. for example I can't delete images on the extSD with quickpic (i get a message that in 4.4.4 I can't write to sd with third party apps...)

have never seen that message before, and with other apps (like ES file explorer) I can delete those images from the extSD.. is that normal? bug maybe?

thanks bye!
[Xperia Z3 Compact General] gegu2:
Did you tried to use Nextapp Sdfix or any other similar app for fixing access to sd for kk?
[Xperia Z3 Compact General] FcukBloat:
no, didn't even know the existence of such apps :o

will try soon thank you!!

edit: seems it works fine now after installing that app many thanks mate!! ;)
[Xperia Z3 Compact General] supersilk31:
Should I wait to root my Z3C ?

Hi there, I used to own a nexus 5 and I rooted it to be able to install adfree. (I'm not a developer, I'm not gonna play with the code and change any settings since I don't understand much about it and I'm too afraid to brick it xD).

I got the Z3C a couples month ago and I really like this phone, but I was used to ad free apps and web navigation.

Is this root the only way to get it? This explanation looks already pretty difficult.

With this technique, does the camera quality still decreases and to I lose the waranty ?

When (if) I decide to upgrade to lolipop, will the smartphone stay rooted ?

Thanks to whoever can give me some answers.

Regards.
[Xperia Z3 Compact General] qbdx:
Hey Supersilk, this was the primary reason why I did this tutorial as well.

In the process you do the backup-ta which back ups the drm. So you can always restore the file to prevent the camera quality. In the process though, you are just backing up for a (just in case) situation, this tutorial doesn't degrade camera performance.

The way i understood it was, downgrade firmware to be able to run root, run root exploit, with root, use it to back up the drm/ta partition, flash the pre-rooted firmware to get superuser, dual recovery, and root, then finally flash the legitimate firmware excluding /system to over write anything that might cause problems, while retaining the super user and recovery.

the way to update to lollipop is to follow the steps of creating a pre-rooted firmware like in steps 27-33 to keep root.

Anyone else reading, please correct me if im wrong.
[Xperia Z3 Compact General] espaciosalter20:
Hey, you need to.flash this modified pre-rooted fw to have properly access to read/write on system

http://xdaforums.com/showthread.php?p=59621436
[Xperia Z3 Compact General] supersilk31:
Ok thank you, I'm going to give it a try. I'm no programmer but if I just have to follow step by step the tutorial there shouldn't be a problem.

One last question though. This method works with all Sony Z3 Compact ? Doesn't matter where we bought it (France in my case) and if it was bought in a telecom store (with preloaded impossible to delete ****ty apps) ? They don't add stuff that could block the root or something?
[Xperia Z3 Compact General] Arturiuz!:
regardless of where the phone is bought,it'll work.as long as steps are carefully followed,that should also be fine!

..and the ****ty apps you're talking about?you can remove them once you successfully rooted your phone! ;)
[Xperia Z3 Compact General] qbdx:
You might want to double check your last steps where it flashs a firmware with exclude a /system. I think that particular firmware is the usa branded one in the thread. If you check the file names, one says global while another says _us
[Xperia Z3 Compact General] Nephren-Ka:
Quick question

I have a d5833 z3 compact, running 23.0.A.2.93, with an

unlocked bootloader

....can I still root using this method from the first post??

Cheers in advance
[Xperia Z3 Compact General] Arturiuz!:
your phone then should be "pre-rooted" because you cannot just unlock the bootloader without rooting the phone first..do you have superSU installed?
[Xperia Z3 Compact General] boardlord:
Unable to backup TA partition

Hi guys!

New Xperia Z3C owner here :) I've successfully rooted the phone, everything is running fine and dandy, however I've hit a brick wall when it comes to backing up my TA partition.

SuperSU is installed (root is ok: I'm running Titanium Backup, Xposed etc without problem), when checking the Service menu "marlin" and "wma" is ok (and I can use TrackID) - so I have my DRM keys.

However, Backup TA is telling me it couldn't find a compatible TA partition... Any other way to backup? CM12 M1 will come sooner or later and I'd like to try it :)
[Xperia Z3 Compact General] Arturiuz!:
you haven't unlocked your phone's bootloader yet,yes?

..or perhaps the "allow mock locations" in settings is ticked?
[Xperia Z3 Compact General] boardlord:
Of course not, I don't want to lose the DRM keys :)

But because CM needs and unlocked BL, I want to prepare now by backing up the TA partition :)
[Xperia Z3 Compact General] Arturiuz!:
..or perhaps the "allow mock locations" in settings is ticked upon backing up TA?
[Xperia Z3 Compact General] boardlord:
Yep, it's ticked, and I also tried it while in airplane mode, but no joy :(

Also tried it with mocked locations disabled, but I still didn't succeed...
[Xperia Z3 Compact General] 2mal16:
Did you check "Unknown sources" in security settings?
[Xperia Z3 Compact General] boardlord:
Yes, that was checked so that I could install the Xposed installer and Fdroid
[Xperia Z3 Compact General] dshstudio:
What the....

There is a TA backup zip file which I did before I unlock my bootloader
[Xperia Z3 Compact General] istux:
OK, make a safe copy of that zip file.

Reboot both PC and z3c.

Try again.

If it doesn't work, install ta backup again and move the saved zip into the backup folder of the new installation.

Try with another PC machine if you can.

It HAS TO work!!
[Xperia Z3 Compact General] BurnRubber90:
Just wondering, if I unlock my boot loader, do I loose the warranty, even if I restore DRM keys?
[Xperia Z3 Compact General] wowkazmir:
Used the newest de .77 and works like a charm!
[Xperia Z3 Compact General] quarrymanpaul:
Can someone explain to me what is required in steps 43-46?

When it says select the non-prerooted few, which one is that? . 77 or 93?

Also, is the prerooted file with the SU the . 77 fw?

Also, where do I restore the DRM keys? I don't see them in the steps.

And finally in the last few steps do allow flash tool to wipe data/cache etc?

Sorry for the dumb questions!
[Xperia Z3 Compact General] bilboa1:
1)

.77, will clarify in the post:)

2)

"Get a pre-rooted image for fw 23.0.1.A.5.77 (currently latest, android 4.4. dec 2014) at https://mega.co.nz/"...

So yes - 23.0.1.A.5.77 is the complete fw version number. ".77" is a shorthand, means the same.

3) look at the faq near the bottom

4)

yes
[Xperia Z3 Compact General] endlesstrail:
Do I have to uninstall the abd drivers which come with the android SDK, or can they co-exist? Or can I use the adb drivers from the SDK?

Cheers.
[Xperia Z3 Compact General] charliebigpot:
[MENTION=2851630]bilboa1[/MENTION], will downgrading the firmware, rooting, etc. etc. wipe the phone? I know, I will backup anything anyway, but I need to know it since I'm in a low internet area at the moment and going downloading all music (spotify), gps navigation apps will take days/weeks.
[Xperia Z3 Compact General] :
To Flash stock based custom rom

After rooting with locked bootloader. Can i flash a stock based .77, deodexed, zipaligned, custom ROM? like the [M-XRom] rEctifY perhaps.
[Xperia Z3 Compact General] charliebigpot:
If I'm not mistaken even if it's stock based, one of the requirements for the rEctifY rom is the unlocked bl since it has a custom kernel.
[Xperia Z3 Compact General] brywright:
Hi,

So far so good but, really confused by this

Open Flashtool and select the non-pre-rooted fw (this is 23.0.1.A.5.77), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM"

I don't have a 77 in flashtool? The guide only states to put .93 into c:\flashtool\firmware folder.

Where do I get a non pre root fw for .77 and do I put it into the \firmware folder?

---------- Post added at 10:55 AM ---------- Previous post was at 10:53 AM ----------

Ok think I worked it out. As I used pre root image i skipped step 28 so I didnt download .77 from here https://mega.co.nz/#!AUEg1ayC!UsKs6yR6_ZaYqrsddexZHj_Y17EkXg8zMdkBCFi-X9Q

I am assuming I download this and put it into \firmware folder
[Xperia Z3 Compact General] quarrymanpaul:
Ah thank you. That was confusing me. I didn't even read points 27 to 33 as it said to skip.

So there are 3 firmwares involved here.

.93

.77 prerooted

.77 non prerooted

---------- Post added at 02:22 PM ---------- Previous post was at 02:17 PM ----------

Ah ok. That's a pity as I have already downgraded and rooted and set up my phone again.

So if I'm wiping data again in step 43 I'll be back to scratch. Ah well, I guess this is where titanium (fully rooted) comes in handy.
[Xperia Z3 Compact General] quarrymanpaul:
AGHHH

40. Flash the pre-rooted fw (flashable.zip) from the recovery (touch "install") on the phone, then power off the phone (DO NOT REBOOT)

To power off, go in the reboot menu (yeah it feels backwards) then you can hit "shutdown". wait for it to shutdown.

This needs to be clearer.

I hit the REBOOT option thinking this was the menu. It is not and I couldn't stop the phone rebooting.

What is the downside here? Can I recover?

The list is good OP but really needs some clarifications.

Edit: another:

43: Open Flashtool and select the non-pre-rooted fw (this is 23.0.1.A.5.77), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM"

44: Hit Flash

45: press volume DOWN and plug USB cable while keeping volume DOWN pressed, when flashing starts, stop pressing the volume button

I know this is a minor thing but this step is required before step 45.
[Xperia Z3 Compact General] bilboa1:
You don't really need to. These have already been wiped by the first flash anyway - since you're supposed to upgrade without wiping at this point (if sony has done their job correctly :D) it should be just fine. In practice, ive done it and had no issues. Better safe than sorry in the how to, tho (and you do need the initial first wipe regardless - but if your phone works - you have done it)

I added a faq item to recover from any issue incl. yours.
[Xperia Z3 Compact General] davestuarts:
Hi all,

That pre-rooted rom. Before I download, what region is that set too or is it just a global version?

Oh btw, I didn't know you could install a recovery without unlocking bootloader.

Mine isn't unlockable, that's why I'm querying.

Thx
[Xperia Z3 Compact General] Mash23:
Why can't I download the dual recovery installer? Is there something wrong with the site or am I doing something wrong? (http://nut.xperia-files.com/?folderid=WFpEdWFsUmVjb3Zlcnk=)
[Xperia Z3 Compact General] quarrymanpaul:
Ok thanks. So what happened to me was after step 40 I did actually reboot by accident. The phone restarted and did the "updating" apps" thing. So I went back to step 33 and went through the recovery flashing again. Luckily it seems to have worked as I seem to be on .77 fw and I have root access.

One VERY last question!: how do I confirm I have my DRM info back?
[Xperia Z3 Compact General] bilboa1:
you shouldnt lose drm keys if you havent unlocked the bootloader - but otherwise, for example, check if the xreality engine is available in settings=>display=>image enhancement
[Xperia Z3 Compact General] bilboa1:
the latest version has been updated, you can look for Z3C... installer or flashable from the list it shows and click it
[Xperia Z3 Compact General] quarrymanpaul:
Ok great thanks.

This is all new to me and although I don't think I deliberately unlocked the bootloader I'm not if I accidentally did it when I let it reboot instead of shutting down after the recovery flash.

I see the x-reality option displayed in settings. Would this not be present at all if the bootloader was unlocked?

One thing that has me not quite sure is when enter the diagnostics by entering *#*#7378423#*#* on the phone dialler. It says: Root status: Bootloader unlock allowed: yes.

But I'm guessing this might be just indicating that it CAN unlock the BL not that it IS.

Thanks for all your help.
[Xperia Z3 Compact General] 2mal16:
It has to be checked , not unchecked ;)

EDIT: Ah my mistake , misread.
[Xperia Z3 Compact General] boardlord:
Ok, I hope I have find the solution. I followed the instruction in this thread on manually backing up the TA partition: http://xdaforums.com/showthread.php?t=2449244

My only worry is that the thread is in the Z1 forum... Are the instructions there applicable to the Z3C (e.g.: the partition location)?
[Xperia Z3 Compact General] Nephren-Ka:
Yeah I unlocked bootloader via Sony development website. Then I tried to root phone but I must of done something wrong because I soft bricked it (I was using a very non descriptive guide how to root unlike the guide in this thread).

So I restored my phone using Sony Emma tool back to stock 23.0.A.2.93. But my bootloader remains unlocked which I am fine with, I just want to root phone.

I have SuperSU on my desktop ready to be transferred to my phone....that was the next step in the guide I was using but I never got that far as it soft bricked before then.

So can I just pick up where I left and use this guide to root? Or will having unlocked bootloader cause trouble?
[Xperia Z3 Compact General] Lefteris Fragiadakis (Frago):
So hi guys, i finally unlocked bootloader,but i have a problem,i did everything like the guide,all are working ,i have flash Z3C_ADV_stock_LP_v2 kernel,all working expect one thing,i restore the keys with the zip from recovery and i have to say,no xreality works,should i relock the bootloader???and then try again?someone can confirm if the keys are 100% restore,just go to service menu from the dialer then service test and then security,are all the keys right,some screenshot will be ok
[Xperia Z3 Compact General] ejstubbs:
Flashtool error

Guys, I'm hoping someone can help me out here and tell me what I'm doing wrong. I have a brand new Z3 compact that I want to root but I'm completely stuck at the very first hurdle.

I've downloaded and installed Flashtool to my Windows XP machine; I've downloaded the 23.0.A.2.93 ftf and put it in the folder as directed by Flashtool, and I've installed

every

driver offered by the Flashtool driver installer (my XP machine is set to ignore driver signing).

I start up Flashtool and get all the way to the part where it prompts me to connect the phone in flash mode (step 10 in the instructions in the OP). I do that, and this is what results:

28/038/2015 14:38:35 - INFO - Preparing files for flashing
28/039/2015 14:39:51 - INFO - Please connect your device into flashmode.
28/040/2015 14:40:23 - INFO - Device connected in flash mode
28/040/2015 14:40:23 - INFO - Opening device for R/W
28/040/2015 14:40:24 - INFO - Start Flashing
28/040/2015 14:40:24 - INFO - Processing loader.sin
28/040/2015 14:40:24 - INFO - Checking header
28/040/2015 14:40:24 - [COLOR="Red"]ERROR - Processing of loader.sin finished with errors.[/COLOR]
28/040/2015 14:40:24 - INFO - Ending flash session
28/040/2015 14:40:24 - ERROR -
28/040/2015 14:40:24 - [COLOR="red"]ERROR - Error flashing. Aborted[/COLOR]
28/040/2015 14:40:24 - INFO - Device connected in flash mode
28/040/2015 14:40:40 - INFO - Device disconnected

I've tried every possible combination of USB connection mode (MTP or MSC) and USB Debugging (on or off) but I always get the same result.

I've read elsewhere that people with similar problems solved it by installing the correct drivers, but as I say I'm convinced that I have all the right drivers (and more besides) installed.

It seems very odd that this should work for so many people, but not me! What am I doing wrong?
[Xperia Z3 Compact General] cschmitt:
Probably the wrong ftf for your device.
[Xperia Z3 Compact General] ejstubbs:
Hmm, I doubt it. I used the ftf from the first post in this thread. The phone is a D5803. I've also tried the 23.0.A.2.105 unbranded UK firmware listed on this other thread and also referenced here. Same result.
[Xperia Z3 Compact General] cschmitt:
Have you tried system repair via PC Companion to see if it can flash the device?
[Xperia Z3 Compact General] Arturiuz!:
you could try.having a soft-bricked phone is fine,for you could still fix it anyway using flashtool.try downloading superSU first to your device and see if it would allow.if not,lock back the bootloader then proceed with this thread's rooting process.. :D
[Xperia Z3 Compact General] ejstubbs:
Thanks for the suggestion. I didn't try flashing the device from PC Companion but it seems to be the case that downloading the "Support Zone" addons in PC Companion (as per the advice here) might have helped. (I also re-installed from Flashtool the drivers specifically for the Z3C - but as I say, I had already installed

all

the drivers anyway.)

Whatever it was that cured the problem, I can now flash my phone :) It sometimes takes a couple of tries, or I have to wait for Windows to do its "installing new hardware" thing every so often, but it gets there :good: I now have a rooted phone with recovery and the Android world is my oyster :cowboy:
[Xperia Z3 Compact General] Santos8913:
I root the Xperia, I'm with the downgrade FW yet. If I install the Android 5 by FlashTool lose root or DRM?
[Xperia Z3 Compact General] Santos8913:
Anyone there??????? ???
[Xperia Z3 Compact General] endlesstrail:
I had a Nexus 4 previously, installed the Android SDK and have working abd drivers plus fastboot etc etc.

Do I have to uninstall the abd drivers which come with the android SDK, or can they co-exist? Or can I use the adb drivers from the SDK?