yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] F-Bomb:
I was stuck in a boot loop after flashing (successfully) the D5803_23.0.A.2.93 firmware. After several failed attempts, I found a solution: at step 7, I had to check the wipe APPS_LOG and wipe USERDATA checkboxes before clicking on the "Flash" button.
[Xperia Z3 Compact General] flyhighxx:
last part

Hi, I wonder why the last part of this howto is needed. After I have flashed the pre-rooted fw, what is it that Flashtool does?

When I do that thing, my phone will not boot up. It turns on (the Sony display), then it vibrates twice (the green LED-light comes on too) and then it just restarts like that. I can access TWRP, but it wont boot up correctly. Now I tried to do it without that last part, and it does boot up until the startup blue screen but now stuck there just waving.

EDIT: Skipped the last part with Flashtool and it now works great. Cheers for the howto, but I still dont get why the last part was needed.
[Xperia Z3 Compact General] Timo.Deseniss:
Last Part

Hi flyhighxx,

during the "last part" you use the stock-ftf your flashable(prerooted).zip is based on. (This is a little irritating in the tutorial - thought I should flash an old version...) The important thing is: You exclude "system" (because you already have installed a prerooted version) but you flash the other components of the stock-ftf (mainly baseband) to the new version. In the end you are up2date with the stockfirmware (baseband included) and rooted.

I hope this is the correct explanation - any verification is highly appreciated.
[Xperia Z3 Compact General] Conte Mascetti:
[MENTION=6738532]Timo.Deseniss[/MENTION] nobody knows that! Yes I suppose, unless sony changes something

From Z3C Black
[Xperia Z3 Compact General] Timo.Deseniss:
Newbie-Question

Hi.

Great threat, managed to root my Z3C on Version 5.1.1 (Built 23.4.A.1.264). I created a prerooted flashable .zip with SuperSU and DualRecovery using PRFC. Worked out great.

My question: Will this method work once marshmallow is released by Sony?
[Xperia Z3 Compact General] Lazer72:
Should work fine. As long as you downgrade with wipe before rooting.
[Xperia Z3 Compact General] tomy159:
Hi all,

I want to just ask I know stupid question but I come from Samsung and maybe is different, if I do root I can't do update from software update from phone it is right.?

Thanks
[Xperia Z3 Compact General] Lazer72:
No you can't. To update you have to flash a Prerooted firmware.
[Xperia Z3 Compact General] tomy159:
Ok Thanks, so is same like Samsung.

Root stop update from manufactory.

So for root I need do all from first page step by step? There is not some one click root like auto root?
[Xperia Z3 Compact General] Lazer72:
Yes you need to follow these steps. When you downgrade make sure you WIPE everything. I have heard of one click tools like Kingroot, though they are said to install spyware.
[Xperia Z3 Compact General] tomy159:
Ok super Thanks for help and patients.
[Xperia Z3 Compact General] luizlee86:
Someone help me pleaseee...

I just unlocked the bootloader and was trying to restore TA partition, but I get this:

failed to copy 'tmpbak\TA.img to 'sdcard/restoreTA.img': Permission denied

Anyone knows what's going on?
[Xperia Z3 Compact General] Lazer72:
Have you rooted? Run the tool as administrator
[Xperia Z3 Compact General] luizlee86:
Yeah, I rooted and tried to run the tool as administrator but I couldn't... I don't remeber what message appeared (have to try at home later).

=(

EDIT: could it be related to the fact that I'm using Windows 10?
[Xperia Z3 Compact General] MonkeySon:
Hi guys,

first of all: a big thanks to [MENTION=2851630]bilboa1[/MENTION] for the tutorial, it was a big help!

But nevertheless i ran into some difficulties and got a solution for all of them so i wanted to share them with you.

- First of all i think it is necessary to install the adb drivers before using the flashtool but the PC Companion didn't work for me,

so i used another tool for installing the drivers: 15 seconds ADB Installer v1.4.3 by [MENTION=4638083]Snoop05[/MENTION] , thank you very much too!

You can find it here: http://xdaforums.com/showthread.php?t=2588979

- Second thing was that the flashing process threw an error at step 10 because the phone wasn't in flashmode.

I just had to disconnect the phone and started the flashing process again (step 6, i guess), worked for me.

- The third thing also happened during flashing. After finishing the job the phone got into a bootloop.

I searched around a lot and the final result was that you have to do a full wipe on the phone.

After you chose your ROM there is a section called "WIPE" on the right side, i checked all of them, flashed again and the boot loop was gone.

My OS was Windows 7 because Windows 10 didn't work at all for me.

After that, all other steps went fluid without any complication :)

I hope this helps you in any way.

cheers,

MonkeySon

EDIT:

Updated second problem/solution.

Added OS information.
[Xperia Z3 Compact General] luizlee86:
Just updating... I think it was the Windows 10 that I am using. I tried to run the tool on my Macbook and everything went well.
[Xperia Z3 Compact General] Lazer72:
Right. Windows 10 is known to have issues.
[Xperia Z3 Compact General] dest1:
Windows 10 on my sony Vaio laptop can't install z3c driver's . Had to use win8
[Xperia Z3 Compact General] mrkukov:
Should work fine with marshmallow but I would wait for someone to confirm it first.

Since you already have rooted firmware you don't have to do the whole thing again. Here's update/upgrade guide for already rooted phones: http://xdaforums.com/showpost.php?p=64788496&postcount=1236
[Xperia Z3 Compact General] Moncicci:
Hi,

Currently have 5.1.1

For the downgrade must find a firmware with the same customization version ?
[Xperia Z3 Compact General] Lazer72:
No, only the model (D5803 or D5833) needs to be correct. Make sure you check all the WIPE boxes or you'll end up in a bootloop.
[Xperia Z3 Compact General] Stoffl_:
*nvm*
[Xperia Z3 Compact General] AndriyeZ:
Google it how to disable driver signature mate.. It works on win10
[Xperia Z3 Compact General] tomy159:
Do you someone flashtool in mega or some another server? I try from original side few times but all time is

Unavailable to download please.
[Xperia Z3 Compact General] AndriyeZ:
try this mate..... https://jalantikus.com/apps/flashtool/download/

:good:
[Xperia Z3 Compact General] AndriyeZ:
I got strange result at step 40-44, after finished i lost my root and recovery, try some trick then i need to know about this, i flashed pre-rooted fw 23.4.A.1.232 then flash with flashtool non pre-rooted fw 23.4.A.1.264, is it wrong ? then did i have to check CUST-RESET and FOTA-RESET ?
[Xperia Z3 Compact General] Lazer72:
You should always try to flash with the same versions. Also you need to Exclude System.
[Xperia Z3 Compact General] AndriyeZ:
still lost root and recovery after flashed at step 40-44...??
[Xperia Z3 Compact General] Lazer72:
Strange, usually they aren't touched if you exclude System.....
[Xperia Z3 Compact General] AndriyeZ:
then i tried to skip step 40-44, just flash pre-rooted fw, reboot then lost root&recovery,,,is it possible the problem come from pre-rooted fw flashable zip ??
[Xperia Z3 Compact General] tomy159:
One stupid question where I can download latest rooted fw?

Thank you and sorry about that question but I hot just mobile Internet now.

Anyway I need to do all steps up to root done and after will be easy to pre rooted fw but if not can I use latest fw. There is in alternative 2 some old version can I use latest?
[Xperia Z3 Compact General] Stoffl_:
I used a pre-rooted SLIM Rom 4.6 and just skipped step 41 to 46, just rebooted after flashing. Worked like a charm.
[Xperia Z3 Compact General] tomy159:
And one more time when is wipe date? In first step or somewhere later? I not find when I must stick wipe column
[Xperia Z3 Compact General] Lazer72:
When you are crossing versions. Like from 4.x to 5.x or vice versa. So when you downgrade.
[Xperia Z3 Compact General] tomy159:
Yep thanks now I see it I don't know why if I read all in Tapatalk I not see properly everything but if I open Web page there come all properly. Thanks all for patients
[Xperia Z3 Compact General] -Victor-:
Reboot loop plz help

i did the first part and flashed the old fw without deleting userdata and now im stuck in a reboot loop. what do i do? plz help :(
[Xperia Z3 Compact General] Lazer72:
Now you need to re flash the old fw, this time check the WIPE boxes. Hold down power button and volume up to get out of bootloop.
[Xperia Z3 Compact General] -Victor-:
Can I upgrade?

Ok i just did all the steps and it worked perfectly, but I just realised that it is android 5.0.2 is there any way I can upgrade to newer version and still have root? Thanks in advance :D
[Xperia Z3 Compact General] Lazer72:
Yes, you have to flash the newer Prerooted firmware through recovery.
[Xperia Z3 Compact General] -Victor-:
Need a little help again

I flashed the one from step 28 as it said it was the newest version. Do I have to create a Prerooted software again with a fw from the list in step 3? If not can you post a link to the pterooted firmware you are talking about :) and do I need to wipe data when upgrading from 5.x to another 5.x
[Xperia Z3 Compact General] Lazer72:
Yes you have to create a new Prerooted firmware like in OP with the latest firmware. You can find the latest fw using the second link in Step 3.
[Xperia Z3 Compact General] Sidow:
Hey, nice man, just a quick question, if i use the exact ftf versions with same build version as in the post, will i end up rooted with 5.1.1 or 5.02?
[Xperia Z3 Compact General] Lazer72:
Probably 5.0.2. Better to use the latest fw to make the Prerooted firmware.
[Xperia Z3 Compact General] Sidow:
So the prerooted ftf is the one that i'll end up with?

So i can make a prerooted for 5.1.1 and 5.0.2?
[Xperia Z3 Compact General] Lazer72:
Yes. The Prerooted firmware is the final fw you'll end up with. It can be any version.
[Xperia Z3 Compact General] Sidow:
Right on bro, thanks!

---------- Post added at 02:07 AM ---------- Previous post was at 01:57 AM ----------

Oh just one more thing, at last when i have to flash a non pre rooted ftf where i exclude system, does it needs to be 23.1.A.0.690 like the post says, or i can use the same one i used for the PRFC?
[Xperia Z3 Compact General] Lazer72:
Make sure it is the same version as the one used to make your prf
[Xperia Z3 Compact General] rc_mandar:
Is this guide still valid? Is this also complete?
[Xperia Z3 Compact General] Lazer72:
Yes. Just use the latest versions of everything.
[Xperia Z3 Compact General] nils 6l:
Could someone please tell me what's going wrong at step 37 before I go further and ruin something.

I downgraded and rooted my phone without any troubles.

I have made a flashable-prebooted.zip firmware with PRFC without any problems using the latest firmware for my region:

"23.4.A.1.264 - Unbranded - CE1 [Central Europe] (1288-7915)"

Donwloaded the "Z3C-lockeddualrecovery2.8.21-RELEASE.installer"

In step 37, when I type "ADB SHELL" in the right directory of the command prompt it runs something.

Afterwards it looks like this:

[IMG="ADB SHELL"]https://sites.google.com/site/nilsvdg/Home/pictures/ADBSHELL.jpg[/IMG]

Now when type "SU" nothing is happening.

It says the command is not recognized.

[IMG="ADB SHELL"]https://sites.google.com/site/nilsvdg/Home/pictures/SU.jpg[/IMG]

Is it safe to proceed with step 38 or is something going wrong?
[Xperia Z3 Compact General] gegu2:
It seems that adb session wasn't established. First make sure that your phone is properly connected via usb and usb debug option is active. Then you can check if adb is able to connect to your phone by invoking "adb devices" in cmd windows. If serial number of your mobile can be listed by adb then you can proceed to step 38th.
[Xperia Z3 Compact General] nils 6l:
Thanks. Tried it again. Didn't do anything different but it worked.

I thought I used the latest firmware: "23.4.A.1.264 - Unbranded - CE1 [Central Europe] (1288-7915)"

As soon as I run my phone for the first time it says there is an software update available.

I assume I cannot update without loosing root access?

Is there a way to get rid of the annoying notification?
[Xperia Z3 Compact General] Lazer72:
You can update by flashing a new prf through recovery.
[Xperia Z3 Compact General] Wanana:
Hey guys,

I followed the guide and everything went well.

I however can't boot into recovery mode. I also tried with hardware buttons and some apps.

I also tried reinstalling the recovery but that didnt work either.

Help? :rolleyes:
[Xperia Z3 Compact General] Lazer72:
Yeah... Nope.

Unless you're on 5.0.2 and want to risk using Kingroot. That works but apparently they take your data or something.

Otherwise, follow OP.
[Xperia Z3 Compact General] Stunherald:
Thanks OP for perfect guide. There is one catch at the end - SMS send/receive does not work - or at least for Xperia Z3 Compact (Flashed to D5803_23.4.A.1.264_IT). Fix is simple ... do a factory reset (from Settings->Backup&reset->"Factory data reset") at the end of the procedure. Then the SMS will work again. I was scratching my head that something is broken, then i found this post about factory reset.
[Xperia Z3 Compact General] Stoffl_:
Question:

Assuming I allready have dualrecovery installed and I just want to create a pre-rooted Stock Firmware flashable zip with PRFCreator - do I still add the flashable dualrecovery Zip when creating the image ?

Or alternatively, does someone have a CE1 download link for a pre-rooted 23.4.A.1.264 flashable zip ? :)

Not entirely sure which options to check in PRFCreator for the Z3C tbh. Did a quick search in the PRFCreator thread but no luck.
[Xperia Z3 Compact General] gegu2:
Yes, you're right.

All except Sign zip and Legacy mode.
[Xperia Z3 Compact General] Stoffl_:
Allright, thanks!
[Xperia Z3 Compact General] nri_tech1183:
[MENTION=2851630]bilboa1[/MENTION] I followed the guide and successfully rooted my z3c.

Have some very important queries:

Will a factory reset wipe the root access?

In point no. 43 you said--Open Flashtool and select the non-pre-rooted fw (this is 23.1.A.0.690), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM", flash it.

So here can I flash the latest lollipop

23.4.a.0.546

fw in place of 23.1.A.0.690 ??

Can I now directly update to any latest lollipop/marshmallow via OTA/pc suite without loosing Root access?
[Xperia Z3 Compact General] Timo.Deseniss:
Hi nri_tech1183.

[*]Will a factory reset wipe the root access?

I am not quite sure about that: Normaly Factory reset only wipes the Data partition: This would not affect root. But I can't guratee - never tried that.

[*]In point no. 43 you said--Open Flashtool and select the non-pre-rooted fw (this is 23.1.A.0.690), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM", flash it.

So here can I flash the latest lollipop

23.4.a.0.546

fw in place of 23.1.A.0.690 ??

It is basicly correct to flash the SAME Version of the Firmware you used for the prerooted.zip. But from my point of view the latest lollipop for Sony Z3c is 23.4.A.1.264. I am on that version.

[*]Can I now directly update to any latest lollipop/marshmallow via OTA/pc suite without loosing Root access?

Updating via OTA or PC-Suite will always lead to a loss of root. Don't do that. Simply flash a new pre-rooted zip of the latest version in recovery. Then flash the other components (step 43) with te correct (unrooted) version like you did before. I also recoment cleaning cache & and Dalvik cache (possible option in recovery) before.

Hope this is helpfull to you.
[Xperia Z3 Compact General] hendrikmerkel:
I'm sorry to ask this potencial stupid question, but I need some guideance please:

I do have followed the procedure in the first posts and backup my DRM keys using Backup-TA-9.11.

This backup file has extension .zip.

I'm running TWRP, unlocked bootloader, rooted device and moly82-Lollipop ROM (http://xdaforums.com/z3-compact/development/rom-one-solution-debloated-xposed-t3164221/page93)

I wanted now to bring back my DRM (TA) backup to the device - but it does not work with Backup-TA-9.11.

I tried it also using a KitKat-StockROM in rooted and not rooted condition.

May I ask how to bring back the files to my phone?

Many many Thanks

Hendrik
[Xperia Z3 Compact General] nri_tech1183:
PK.

I want to CLEAN format my phone but want to clear cache from Dalvik etc. Doing so will I loose root? Or do I simply need to format via the usual settings option???
[Xperia Z3 Compact General] gegu2:
[MENTION=2104863]hendrikmerkel[/MENTION]

Try to restore your ta partition using dd.
[Xperia Z3 Compact General] hendrikmerkel:
Dear gegu2,

thanks - I do not know how - but I will find out and I will try!

Best

Hendrik
[Xperia Z3 Compact General] Timo.Deseniss:
Hi.

That is quite easy: During the last step with Flashtool, just check everythin under "wipe" (Wipe Data, Wipe cache, Wipe ...". When you strt you phone afterwards, it shows up with the "welcome to your new phone dialogs". I am sure, that you will not lose root.

---------- Post added at 06:18 PM ---------- Previous post was at 06:13 PM ----------

Hi Hendrik.

There is a tutorial about this procedure: http://www.android-hilfe.de/thema/anleitung-backup-der-trimm-area-ta.588556/

I am sorry, but it is in german.

Maybe it is ok for you.
[Xperia Z3 Compact General] FioNyan:
I've got a question, after completing the steps everything seems to work and I'm all happy with my phone except for one thing.

When I switch it off and want to switch it on again I can't do that anymore by just pressing the power button, I need to press the power button + vol. down.

Does anyone have an idea of why it does this and how to fix it?

(Choosing restart when the phone is still on, does still work properly. It's just the booting when it's switched off using only the power button that does not work anymore)
[Xperia Z3 Compact General] hendrikmerkel:
Dear Timo and Gegu,

since I'm from Germany, I'll be able to understand.

I did not realize, that this thread should address the restoring of the TA also - not only to backup the TA...

Thanks

Hendrik
[Xperia Z3 Compact General] Stoffl_:
Well...sadly didn't work out to well. Flashed without a problem, DualRecovery remained - but had some issues with possibly root? and/or system write access.

Titanim backup didn't work - would just get stuck on 0% when restoring.

Also flashing the ZIP to fix System write access in the OP wouldn't flash properly - threw an error message.

Do I have to add RICDefeat.zip in the prfCreate process as an additional package ?

:/

*edit* Ok looks like that flashable zip doesn't work anymore with recent roms.

Fix was in this post: http://xdaforums.com/showpost.php?p=62721528&postcount=1001
[Xperia Z3 Compact General] cartesson:
I did it and my root is gonne -_-
[Xperia Z3 Compact General] Lazer72:
You probably forgot to EXCLUDE System.

Now you have to do the whole thing again.
[Xperia Z3 Compact General] cartesson:
That was exactly what I did wrong, realized later, I did the whole thing again and its OK now, without problems.

Thanks
[Xperia Z3 Compact General] tomy159:
hi guys,

I got question, I was do this 3 weeks ago, then I save backup but by mistake last week I erase my card. so yesterday i do again everything because I need clear rom after root. last one it doesnt.

and now all work but I cant sending SMS. do someone same problem or do you thing do all again will help?

thanks.
[Xperia Z3 Compact General] Lazer72:
Try flashing the PRF again.
[Xperia Z3 Compact General] madlive:
Just wanted to say that kingroot now works on a stock 5.1.1 firmware for the z3c :) I installed Nuts dual recovery after this.
[Xperia Z3 Compact General] -sh3ll:
Noob question. Do I need a sdcard to do this process?
[Xperia Z3 Compact General] tomy159:
do I must all processing again from 1 to the end?
[Xperia Z3 Compact General] Lazer72:
If you still have root then no need. If you lose root you need to do it all again.
[Xperia Z3 Compact General] tomy159:
All day I do with diferent way but still same, in kitkat SMS work after flash 5.1.1 sms could not send and I dont know why everything work porfect just SMS not.
[Xperia Z3 Compact General] tomy159:
Update: now is work perfect. After I finish all processing and find it still same problem I restart phone back to twrp and do factory reset and wipe again dalvick and cache restart and set up again phone and the start working properly include sms. Thanks Laser72 for help.
[Xperia Z3 Compact General] Lazer72:
You're welcome, glad you got it working.
[Xperia Z3 Compact General] lamerikx:
Downgrading dutch tmobile branded z3 compact

I want to root my branded z3 compact but i dont know how.

I already know I have to get an older firmware that is pre rootable.

But what firmware do I need for a t-mobile branded?

In the past I had unlocked Sony and HTC phone's with no problem so I am not a huge noob, but I cannot follow the guide because I don't know if a Dutch branded z3 can be preloaded. but I don't want to screw my t-mobile branded z3 compact.

Can someone please give me a little kickstart so I can get my phone rooted without unlocking the bootloader?
[Xperia Z3 Compact General] -sh3ll:
First, thanks for the guide. It's really helpful.

I'm using windows 10 and I'm at step 4 yet. I installed Flashtool and the drivers, but I don't have a "firmwares" directory and when I open Flashtool for the first time it keeps freezing at "INFO - Pulling changes from github". Any solution? =/

I´m using the latest version, 0.9.19.8 patched to 0.9.19.10.
[Xperia Z3 Compact General] Lazer72:
It's not frozen, just wait. Make sure you let it through the firewall.
[Xperia Z3 Compact General] -sh3ll:
I turned off the firewall on the McAfee, but it seems that the windows firewall stills active. However, after a few minutes the sync is finished now. You were right, I just had to wait, thanks a lot. But what about the "C:/Flashtool/firmwares" directory. I should have that, right?

edit: I just found the folder at C:/Users/.../.flashTool/firmwares. I'll try that.
[Xperia Z3 Compact General] -sh3ll:
---------- Post added at 12:19 AM ---------- Previous post was at 12:16 AM ----------

[/COLOR]

The solution for this that I found is: Open up the computers task manager, find adb process and kill it, then try again.
[Xperia Z3 Compact General] Matteo Mazzu:
BIG PROBLEM

I flashed the .93 with KK, and now the phone keeps saying that com.android.acore, contacts ecc has stopped and the phone keeps shutting down and reboot! I was on the Concept Rom! Please help me!
[Xperia Z3 Compact General] drewbar:
Please help, got lost in these steps:

"36. Unfortunately the script is a bit buggy here, so first go in the "files" directory then go to File menu of the windows explorer and select "open command prompt..."

37. In the command prompt type "adb shell" then "su" (allow root on the phone if needed) then "mount -o remount,rw /system". That's it, close the prompt window."

And also does this mean that after I've downgraded to KitKat and rooted it I can create a prerooted firmware using the latest 23.4.A.1.264 - Unbranded - Hong Kong (1288-5471) and upgrade to it?
[Xperia Z3 Compact General] nri_tech1183:
What the OP meant is open CMD and point to this directory... for eg: C:\extracted files\ once here, type "adb shell" then "su"and continue the steps further and all should be good.

Yes you can very well create prerooted firmware.
[Xperia Z3 Compact General] Lazer72:
Flash it again and make sure you check all the WIPE boxes.
[Xperia Z3 Compact General] drewbar:
Thank you very much for your response :)
[Xperia Z3 Compact General] matthias1203:
do i need to restore DRM keys if i after rooting flash slim rom 4.8, and later after again i flash stock rom (non rooted) ?
[Xperia Z3 Compact General] Lazer72:
Yes you do.
[Xperia Z3 Compact General] matthias1203:
but do I lose drm keys even if I didn't unlock bootloader ?

so now i should root again, restore drm keys and than I can flash again non rooted stock rom ?