yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] grinna:
selected the rom rom I used to downgrade and did not work, is there any way to make the device work again? even without the step 44, now this device in loop

24/041/2015 15:41:33 - INFO - Selected Bundle for Sony Xperia Z3 Compact (D5833). FW release: Brazil. Customization: generic

24/041/2015 15:41:33 - INFO - Preparing files for flashing

24/041/2015 15:41:45 - INFO - Please connect your device into flashmode.

24/041/2015 15:41:56 - INFO - Device connected in flash mode

24/041/2015 15:41:57 - INFO - Opening device for R / W

24/041/2015 15:41:57 - INFO - Device connected in flash mode

24/041/2015 15:41:57 - INFO - Reading device information

24/041/2015 15:41:57 - INFO - Phone ready for flashmode operations.

24/041/2015 15:41:57 - INFO - Opening TA partition 2

24/041/2015 15:41:57 - INFO - Current device: D5833 - BY900FDUX3 - 1289-0407_R10B - 1285-6521_23.0.A.2.106 - APAC-LTE_23.0.A.2.106

24/041/2015 15:41:57 - INFO - Closing TA partition

24/041/2015 15:41:57 - INFO - Start Flashing

24/041/2015 15:41:57 - INFO - Ending flash session

24/041/2015 15:41:57 - ERROR - Can not read the byte value

24/041/2015 15:41:57 - ERROR - Error flashing. Aborted

24/041/2015 15:41:58 - INFO - Device connected in flash mode

24/041/2015 15:41:58 - INFO - Device disconnected

24/042/2015 15:42:00 - INFO - Device connected in flash mode

24/043/2015 15:43:01 - INFO - Device disconnected
[Xperia Z3 Compact General] djvita:
Noob still with z3c upgrades, so I am downloading another region, currently on 23.4.A.0.546. To flash a prerooted zip I start from Step 27? I just skip data in the flash right?
[Xperia Z3 Compact General] Lazer72:
You have root? If not, you have to start from the beginning.

---------- Post added at 08:24 AM ---------- Previous post was at 08:21 AM ----------

To stop a boot loop hold down the power button and volume up until it vibrates.

Redownload any stock ftf. Make sure you have the latest version of FlashTool.

Though you'll lose root.
[Xperia Z3 Compact General] grinna:
I thought that with these steps from 1-46 I could keep the root in lolipop, this is not possible?...
[Xperia Z3 Compact General] djvita:
I have root. right now facing issues with flashtool 1.9.3 that it cant find drivers though pc companion is installed. i have the prerooted zip installed, i lot wlan though so i want to go through with flash tool

updated to 1.9.7, able to flash, have wifi now. all good in the neighborhood!
[Xperia Z3 Compact General] anuser:
i tried to downgrade now 10+ times with different stock roms, flashtool 09191, flashtool drivers installed, debugging on, other sources enabled and always it gives the same error.

It just hangs itself when rebooting after flash giving a squaking sound, i have to kill it with powerdown or it will loop.

Strangely MTP stay enabled even with debugging on, could that be the culprit?

Edit:

Got the solution, had to check delete user and app data in flashtool, works as it should now :)
[Xperia Z3 Compact General] tweeti:
I find that you don't have to follow the steps completely.

A few things tho, you can't flash with philz touch. It just doesn't work. Had to use TWRP.

When you make the flashable zip, I checked all the boxes except legacy mode and signed zip.

Before flashing it, I moved the zip to my sd card and proceeded to wipe everything off the internal storage and then flashed the zip and booted.

No issues.
[Xperia Z3 Compact General] Flamefire:
There is just another OTA that was rolled out recently. I'm now wondering, if it is anyhow possible to update the firmware without loosing root and without loosing data (e.g. wiping)

The question about OTA was asked before and the consent so far is: OTA may or may not unroot the phone. Well I guess if it does unroot the phone you can just flash a prerooted fw without going through the whole downgrade process again. Is this correct?

Is it possible to flash an updated (self-made pre-rooted) fw without loosing the data? Or modify the OTA in a way that it contains/does not modify root?
[Xperia Z3 Compact General] RaXelliX:
Easy. Create a new ZIP with PRFC 1.0. Add firmware ftf file + supersu 2.46 & recovery 2.8.21 and flash that ZIP in recovery wiping (dalvik)cache and cache partition. Then reboot system as normal and you should be running latest FW with root+rocovery+data intact.
[Xperia Z3 Compact General] kristhox:
Boot into recovery.

Hello!

I'm not able to boot into recovery just by using the phone (Neither through the app or by turning it off and hold down power and volume up button)

I'm only able to go into recovery when I connect it to the PC and start up the install.bat file (step 38)

Do you know why? :)
[Xperia Z3 Compact General] squadz:
Coming from .546, rooted.

Can I flash the prerooted version here? http://xdaforums.com/showpost.php?p=62998536&postcount=1755

Without breaking root, or losing data? Just boot into recovery, flash and wipe dalvik and cache, right?
[Xperia Z3 Compact General] RaXelliX:
You could if you dont wanna mess with building the zip yourself but personally i always like to build my own - that way i know what i have included (or not). In PRFC i select all options exept Sign Zip & Legacy Mode.

You should be fine either way. Just in case also do a full backup in recovery before you flash the new zip. If something goes wrong you can restore.
[Xperia Z3 Compact General] MartZR:
followed the guide for updating my phone, i never had a proble until this recent update to .200, i cant use wifi anymore, it wont turn on at all

what i did was a dirty intall from previos firmware, already tried reflashing current firmware

i downloaded the fw from xperifirm and prerooted it myself

any idea what can i do?

please help and thanks in advance
[Xperia Z3 Compact General] chris5s:
Do you have busybox installed? If this gets updated thru the play store, it breaks recovery for some reason. Myself and others have experienced this.

Peace
[Xperia Z3 Compact General] carminedev:
hi , someone experienced problems just sending and receiving sms ?
[Xperia Z3 Compact General] harel013:
Hi, i tried to follow the guide below and I get stuck at the first steps when I need to make downgrade to older version to gain the root

So in the flash processing everything go right but when its finish and I plug out the uab cable and turn on the phone the system not booting it get stuck on the animation load.. And then the screen frize and restarting again? What can I do? I thought at first that it can be caused by the fw I used to flash so I download another one from the list that been provide by the guide and still same issue.. So I flashed back again to the latest fw that is 5.1.1 and now its back to normal..

What can I do..

By the way how I can. Check if my bootloader is locked or not?
[Xperia Z3 Compact General] coromd:
D5803 bootloop

Whenever I flash .73 CE1 or USA, my Z3C starts booting then freezes w/ a static sound, reboots, and repeats. Wat do?
[Xperia Z3 Compact General] harel013:
I got stuck after flashed through the philz recovery how do I get the twrp?

And you say that I need to put the zip in the SD card and then flash from there and wipe all??
[Xperia Z3 Compact General] carminedev:
use the app NDR UTILS... or reboot e push more times volume down button

---------- Post added at 11:10 PM ---------- Previous post was at 11:09 PM ----------

please someone experienced problems sending or receiving sms ?

---------- Post added at 11:12 PM ---------- Previous post was at 11:10 PM ----------

firmware .200 I ' ve got issues sending and receiving sms instead....
[Xperia Z3 Compact General] harel013:
Can you explain me the steps you did please?

After the rooting and the backup part?
[Xperia Z3 Compact General] tweeti:
Put the flashable zip into the phone or sdcard.

Restart your phone and keep pressing the volume down button when your phone vibrates on the sony screen and the led is green. It'll turn purple after you press the button and boot into TWRP instead of philz touch.

Then just flash the zip.
[Xperia Z3 Compact General] carminedev:
windows seven 64 bit, Z3 Compact , Locked Bootloader

- Flashtool Version 0.9.19.8 . Each time " I do a .FTF flash " It ask to me if I want to use the script FSC and I click yes .

- From firmware .200 I make a downgrade by flashtool to version D5803_23.0.A.2.98_Generic IT.ftf with wipe APPS_LOG ed USERDATA

- I use giefroot_v3.1 to root

- Backup DRM keys/TA Partition

- As "flashable.zip" I use PRFCreator_v1.0 and D5803_1289-4008_R3C_23.4.A.1.200_ITA.ftf , SuperSU-v2.45 , Z3C-lockeddualrecovery2.8.21 and include kernel,fotakernel,modem,LTAlabel.

- Open command prompt... install recovery ... "z3 compact" reboot into TWRP.

- From recovery I install the flashable.zip , wipe cache e dalvink , poweroff.

- Next I open flashtool ... flashmode ... check the checkbox next to "SYSTEM", and flash "D5803_1289-4008_R3C_23.4.A.1.200_ITA.ftf"

- reboot and finally, everything seems to work perfectly but I can not send and receive text messages (SMS)

so where I 'm wrong ?!?
[Xperia Z3 Compact General] tweeti:
Try and make a call. If the call works then check your apn settings. If everything is correct then wipe cache and dalvik cache, reboot and try again.

If that fails then flash the flashable.zip but don't use flashtool to flash system. Since you already included the kernal and everything else in the zip you shouldn't have to flash the ftf.
[Xperia Z3 Compact General] carminedev:
thank you tweeti

I can call and receive calls and I can connect to the internet by 3g Network too.

I also try to wipe cache and dalvik cache and reboot or flash another time the flashable.zip and reboot but the issue persist.

I am going crazy !!!!!
[Xperia Z3 Compact General] tweeti:
Try a different sms app then. If that doesn't work idk what the issue is.
[Xperia Z3 Compact General] carminedev:
I forgot to mention that I have tried others SMS app .... but issue persist.

Please What does it means "idk what the issue is" ?
[Xperia Z3 Compact General] tweeti:
idk = I don't know.

I don't know how to fix the problem you are having.

Try a different ftf file.
[Xperia Z3 Compact General] carminedev:
ahhh ok :) idk :)

It' is the second FTF firmware for me.... first downloaded from xperifirm and the second created by flashtool from the 4 files (FILE_XXXXXXX) of sony pc-companion.
[Xperia Z3 Compact General] carminedev:
Update - sms issue solved

- NEW PROCEDURE -

ALL .FTF DOWNLOADED BY "

[FTF] Stock Firmwares (27/09/2015)" XDA THREAD

- Flashtool Version 0.9.19.8 . Each time " I do a .FTF flash " It ask to me if I want to use the script FSC and I click yes .

- From firmware .200 I make a downgrade by flashtool to version D5803_23.0.A.2.98_Generic IT.ftf and wipe APPS_LOG and USERDATA

- I use giefroot_v3.1 to root

- Backup DRM keys/TA Partition

- As "flashable.zip" I use PRFCreator_v1.0 and D5803_23.4.A.1.200_Customized IT.ftf , SuperSU-v2.45 SuperSU-v2.46, Z3C-lockeddualrecovery2.8.21 and include kernel,fotakernel,modem,LTAlabel.

- Open command prompt... install recovery ... "z3 compact" reboot into TWRP.

- From TWRP recovery I install the flashable.zip , wipe cache e dalvink , poweroff.

- Next I open flashtool ... flashmode ... check the checkbox next to "SYSTEM", and flash "D5803_23.4.A.1.200_Customized IT.ftf"

- reboot and finally, everything seems to work perfectly but still I can not send and receive text messages (SMS)

- FROM Google play I download and Install TEXTRA SMS , NOW I CAN SEND AND RECEIVE SMS

- HANGOUT (LAST UPDATED VERSION) SEND AND RECEIVE SMS TOO
[Xperia Z3 Compact General] carminedev:
can someone tell me how to download the stock messages app ? (firmware .200)
[Xperia Z3 Compact General] carminedev:
try to install Z5 conversation.apk but nothing ....
[Xperia Z3 Compact General] tifil:
Hello,

Just a little question.

If I only want to root my phone, not to install any recovery..., can I only do the step "Run the root exploit to get root" with the giefroot tool ?

Or, I must follow all the step by step instructions ?

Thanks.
[Xperia Z3 Compact General] Conte Mascetti:
Yes you can just root your z3c, but keep in mind you'll not be able to flash newer rooted firmwares or update supersu via zip (best way I think)

From Z3C Black
[Xperia Z3 Compact General] carminedev:
Am I the one and only Italian with sms issues?
[Xperia Z3 Compact General] tifil:
OK thanks. And if later I want to flash rooted fw, Il follow again all the steps ? With the root step included ?
[Xperia Z3 Compact General] mkln:
I'm having a weird issue with the procedure. Flashtool says 'error flashing, aborted' and no other message.

Details are here: http://xdaforums.com/z3-compact/help/flashtool-error-flashing-aborted-error-t3214322

I thought it best to post a new thread in Q&A with a reference here. I hope it's ok.
[Xperia Z3 Compact General] carminedev:
- sms issues solved -

1) Installed new version of PRFcreator 1.1 and used D5803_23.4.A.1.232_1289-4008_R3C.ftf from xperiafirm , superSU , recovery. Flag on Kernel, FotaKernel and Modem.

2) Downgrade 23.0.A.2.98_Generic IT, Root , BackupTA, move flashable.zip on SD Card External , Z3C-lockeddualrecovery2.8.21 and reboot in TWRP

3) FACTORY RESET & FORMAT DATA !!! Installed flashable.zip from SD CARD EXTERNAL and reboot.......
[Xperia Z3 Compact General] SanAequitas:
So I've been having problems the last 2 days, I can flash .200 or .546, but unable to downgrade. Just got my phone back from Sony for a screen repair, and they factoried the crap out of it :( So yea, been getting bootloop every time I tried flashing a .93 or .77, but checking the delete user/app data did the trick! Which is weird, cause it's factory-fresh, never even had a SIM put back in..
[Xperia Z3 Compact General] tennispirit:
stuck on bootscreen after step 12

Hi, many thanks for this helpful thread. I have a little issue and cannot move on. I followed the instruction to step 12 and when I tried to restart the phone, it stuck on the boot screen, self-reset, and stuck again. Anyone had had the same problem? I tried to flash 23.0.A.2.93 fw and some others but so far no luck.
[Xperia Z3 Compact General] dr33k3gmo:
Fix bootloop

Had the same problem.

Checking 'APPS_LOG' and 'USERDATA' (right-top at Firmware Selector screen) fixed this for me! :)
[Xperia Z3 Compact General] Revontheus:
[MENTION=2851630]bilboa1[/MENTION], Great Guide Man! I only have one question, I backed up my TA as said in the guide and unlocked my bootloader. If I open the backup_ta and choose the "restore" option as said in the instructions will it re-lock my bootloader?

Thanks!
[Xperia Z3 Compact General] carminedev:
Yes...

Tapatalk - Sony Z3 Compact
[Xperia Z3 Compact General] Revontheus:
Ohh! Well thats a letdown, I thought I can remain on Unlocked Bootloader and still have the X-Reality and the Camera Processing Libs working.

Thanks for replying! :)
[Xperia Z3 Compact General] carminedev:
Ok... Drink a Coke and Let us know...

Tapatalk - Sony Z3 Compact
[Xperia Z3 Compact General] Revontheus:
You probably don't know of a way to keep X-reality working even on Unlocked Bootloader right?

I'd be more than happy if you know a way :D
[Xperia Z3 Compact General] carminedev:
No way... Sorry... Two years ago I loose DRM Keys on my Xperia V. In that case there was a way to bring back only the brava engine 2 and audio enhancement too...

Tapatalk - Sony Z3 Compact
[Xperia Z3 Compact General] RaXelliX:
Might give this a try. You have nothing to lose: http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
[Xperia Z3 Compact General] Starlith:
Any tips on upgrading from a rooted .200 to .232? I want to keep root and all my apps. My internet is terrible while I'm travelling until the next 8 weeks.
[Xperia Z3 Compact General] Mehmedalija:
Same question. I'm on .200 and today I received notification to download update for .232. It's 47.7 MB only. Will I loose root if I apply this OTA update? Anyone tried it?
[Xperia Z3 Compact General] Revontheus:
That actually might work :D, but then again the Relock and Unlock Bootloader feature of Flashtool is really buggy is there any other way I can relock the bootloader besides using Flashtool?

I think you can relock it via fastboot right? [MENTION=4591244]RaXelliX[/MENTION]
[Xperia Z3 Compact General] RaXelliX:
Yep you will still lose root no matter how small the OTA update is. Use PRFC to create a new flashable zip based on .232 and include SuperSU 2.46 and recovery 2.8.21: http://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
[Xperia Z3 Compact General] Starlith:
Thanks already done that, do we flash it over the current fw in recovery or do we use flashtool to upgrade?
[Xperia Z3 Compact General] RaXelliX:
Yes you can flash in recovery. Remember to create a new TWRP backup before starting (just in case) and wipe cache and dalvik after new FW flash (TWRP offers this itself after flash).

Also if you have any apps installed as System apps you may need to reinstall them - such as Avast Anti Theft (rooted version) or BetterBatteryStats. Also Xposed will not run after first boot. It should start working after second restart. Also LiveBoot app needs to be re-enabled from LiveBoot settings.
[Xperia Z3 Compact General] Depressed T.Bear:
Hi Guys,

I want to upgrade my rooted KitKat (23.0.1.A.5.77) to the latest Lollipop (23.4.A.1.232). I made a pre-rooted 23.4.A.1.232, but before I'm gonna start, I wonder why I should perform steps 41 to 46.

I mean, I'd upgrade my KitKat to Lollipop in step 40, right? And do I have to perform some special wipes before flashing my pre-rooted LP via TWRP?

:)
[Xperia Z3 Compact General] Proday:
Respected, I need information what happens with software (rooted 4.4.4 23.0.1.A.5.77) if I use system update. Will I only loose root rights and phone will be ok and on last 5.1.1 software or?! Im asking that becouse I want to sell a phone (got new z5c), but USB is death (only can carge a phone with a magnetic cable), cant flash firmware or make any connection with a PC. Or just to do factory data reset, what happens then?
[Xperia Z3 Compact General] Lazer72:
Just follow the OP. Exactly. You'll be fine.

You need to do the last steps cos you only upgraded half the firmware with the PRF. The PRF only contains System partition, you still need to upgrade the others through FlashTool.

---------- Post added at 10:34 AM ---------- Previous post was at 10:30 AM ----------

No USB? Well crap. To upgrade, Just create a Prerooted firmware and stick on the phone memory through sd card or Bluetooth or something. And then flash through recovery. When you create the PRF maybe sure you tick all the boxes, include the other partitions since you can't flash them through FlashTool.

BTW, how's the z5c?
[Xperia Z3 Compact General] Proday:
Tnx [MENTION=6242094]Lazer72[/MENTION] but I already did factory reset and phone woarks...and as I can see, it is still rooted :) It was important to me to clean all my stuffs from phome, not to keep a root rights ;)

Z5c ok at all, but to be honest z3c have more premium look and feal in the heands. 8h sot on first charge (same settings and usage as z3c). Speakers better a bit (and louder) but again only one woarks while phone ringing and in speakerphone mode.
[Xperia Z3 Compact General] Lazer72:
I don't know what's up with my Z3C even after sending it in for battery replacement multiple times , factory reset etc. I can't get more than about 5-6 sot. Sucks.

But yeah, from the pics I like the omnibalance design better the z5. But a huge plus is the no flap over the USB.
[Xperia Z3 Compact General] Depressed T.Bear:
Thanks sir! :) That makes sense, I'll report back after upgrade! :good:
[Xperia Z3 Compact General] Yair1991:
@ step 38 I get a long dialog saying 'adb' is not recognized as an internal or external command, operable program or batch file.

When I google it people keep saying stuff about you need to install java and SDK and ADT and eclipse and all that stuff. Im not sure if that is really required, but if it is it would be nice if you could add that to your guide because frankly, I have no idea how to do that! There are some guides but they are old and everything I see in those guides are different then what the websites now are showing. So for the 4th time in this guide, im stuck.

Can anyone help me? either tell me what I'm doing wrong, or give me a link to a guide that wil help me get rid of this problem.
[Xperia Z3 Compact General] RageCompex:
awesome

Thanks for the great tut, managed to got it done until point 26, there after I will unlock bootloader and flash cyanogenmod.

Some things I had trouble with (Z3 Compact)

I got into a bootloop when downgrading. this because I didn't check the two checkboxes under WIPE in the FlashTool.

I got some trouble running the backup. Sometimes got error that the device was not authorized, or that the asking for premission failed.

Managed to do this:

When first asked for premission, press Grant. If it fails, go to the SuperSU, and set the permission to PROMT.

Thereafter it asked again for permissions, but still failed in console. Run it one more time (as administrator) and it got me to the menu. A bit wierd but it did the job, maybe someone else finds it useful.
[Xperia Z3 Compact General] Lazer72:
Have you installed Sony PC Companion?
[Xperia Z3 Compact General] patwang0311:
I have been using the minimal ADB install. Here:

http://xdaforums.com/showthread.php?t=2317790
[Xperia Z3 Compact General] Depressed T.Bear:
Hi (@Lazer72) , I have now successfully conducted the upgrade to 5.1.1.

There were no problems. Since I had already gained root access, I have followed the instructions from Step 27 to 33 (by building my own pre-rooted image with the latest LP rom) and then 39 to the end.

Thanks for this great tutorial! :)
[Xperia Z3 Compact General] Revontheus:
Does Unlocking the bootloader wipe the TA Partition? Thanks!
[Xperia Z3 Compact General] Lazer72:
Yes it does. Make sure you back up your DRM keys before you unlock.
[Xperia Z3 Compact General] Revontheus:
WHAT! I planned to relock my bootloader then Flash the .77 ( Kitkat FW ) to get it's TA then Unlock my bootloader again and flash the Lollipop FW excluding the TA partition meaning its excluded. The I flash some kind of DRM Fix Zip file

Here's the Guide I read
[Xperia Z3 Compact General] Lazer72:
I mean as soon as you unlock your bootloader all your DRM keys are gone, forever. If you haven't backed up your DRM keys there's no getting them back.

I don't know what you mean by "get its TA" every fw has a TA, it's just that by unlocking the bootloader you will wipe the DRM keys contained within that partition.

That guide just restores functions lost due to missing keys, it does NOT give you the DRM keys themselves, that's impossible.

DRM keys come with your phone, not a downloaded fw.
[Xperia Z3 Compact General] paphko:
I followed the guide step-by-step with 'D5803_23.4.A.1.232_1288-7915_R5C.ftf', 'UPDATE-SuperSU-v2.46.zip', and 'Z3C-lockeddualrecovery2.8.1-RELEASE', but Flashtool 0.9.19.10 is stuck in step 43:

It worked before with latest Kitkat ROM, but it does not succeed with 5.1.1. Did anyone already flash 23.4.A.1.232 successfully with root?

Any idea what might be wrong with my setup?

---------- Post added at 09:15 PM ---------- Previous post was at 08:47 PM ----------

Hmm.. using Flashtool 0.9.19.0, flashing completes successfully (excluding system) but after booting the new ROM, su is missing, and I cannot access recovery :confused:

Although flashable-preroot.zip was created with SuperSU 2.46... any idea?
[Xperia Z3 Compact General] Yair1991:
I've completely installed and I'm running the latest FW with root! problem is, I can't uninstall system apps.. and that ''RICdefeat'' file that's suppose to help with some root apps not working, is not installing for me. TWRP gives me an error or failure or something like that whenever I try to flash it. Anyone any idea how to fix this problem? My autism is going crazy with these system apps that I don't use:P