yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact General] zxz0O0:
Factory reset deletes user data, the dualrecovery/root is stored in /system. Therefore, no it won't be deleted. To go back to stock flash a stock rom ftf from the forum or use Sony PC Companion and "repair" your phone.

You have 2 ways now:

a) keep bootloader locked

b) unlock bootloader

When you somehow lose root, you need to do this:

For a) => need to start from the beginning of this guide again

For b) => just flash custom kernel and you're done

Xposed is reported to be working perfectly on KitKat (need latest version of Xposed).
[Xperia Z1 Compact General] Walter_White:
Great. Many thanks for your patience again. I am still pondering unlocking or not. Have you already played with custom (modified stock) ROMs on locked botloaders? I was looking at RomAur and have a question regarding installation:

http://xdaforums.com/showpost.php?p=51771581&postcount=314

The procedure is for the most part very similar. The way I understand I would only have to start at step 9, or am I wrong and I have to go through the entire motion again for a different ROM?
[Xperia Z1 Compact General] voison:
T locked

Is this guide working if I have a Tmobile locked phone?

thx
[Xperia Z1 Compact General] neonpsn:
This may have been asked but I can't see it anywhere so i'll ask it here. What is the best way to backup the phone before I start the root process? I only want to root the phone, not unlock the bootloader or flash a custom rom so I'll only be doing that part. At the end of the process I want to have exactly the same phone/software with all my apps and data where I left them, but with root access! Which app/software is the best to backup all the apps/app data/settings/personal data? Thanks in advance
[Xperia Z1 Compact General] zxz0O0:
I don't know to be honest. I don't see any problem though.

There isn't an easy way. Take a look at this guide, maybe it will help you: http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-howtos.html#backup-without-root
[Xperia Z1 Compact General] LfcFan1977:
Falling at the final hurdle every time

Problems:

With Philz - Bootloop at sony screen after step 20 - recovery is no longer available.

With TWRP - Bootloop at sony screen after step 20 - recovery still available.

Tried: (Starting at step 7 every time)

Recoveries 2.7.117 & 2.7.121

D5503_14.2.A.1.114 & D5503_14.3.A.0.681

z1c-44-uk.system.flashable.zip & z1c-43-uk.system.flashable.zip

FlashTool64 & FlashTool (running Win7 64bit)

MD5 sums checked and some files downloaded twice.

Edit: Read the whole thread and followed what Walter_White did on the previous page.

Edit: Installed zips from external and internal memory.

Any suggestions for me or questions I can answer?

All logs appear free of errors.

Perhaps it is the recovery versions I have used? but I am unable to find an early version like 2.7.95 or other version used successfully. Any links?

To test that recovery is installed ok, could I do something like flash a zipped version of SO-02F_14.1.H.1.281_docomo.ftf at step 19 (instead of the three zips)?
[Xperia Z1 Compact General] vianorth:
Active Customization #

After completing all the steps my phone is showing "1279-4149_R1C" as the "Active Customization" in the service menu but the Xperia Update Checker lists the region for that customization number as "Sweden?".

Does the Update Checker have inaccurate information?

Where would you otherwise get the region/carrier info?

Thanks!
[Xperia Z1 Compact General] Shizuwi:
Thanks a lot! Got updates for Xperia z1 Compact 14.3.A.0.757? I'm getting an error "Could Not Verify" if i'll do it from phone update.
[Xperia Z1 Compact General] isimsizkullan:
can we use this files instead of step 6 and step 15

z1c-44-14.3.A.0.757-DE.system.flashable.zip

D5503_14.3.A.0.757_GenericDE-nosystem.ftf
[Xperia Z1 Compact General] zxz0O0:
Please try flashing SuperSU zip file before step 17 and check what the output is in recovery. Are you sure that you formatted (wipe) /system? What is the exact option you clicked?

I got the firmware from Darkimmortal ( http://xdaforums.com/showthread.php?t=2687691 ). I guess the entry in the update checker is wrong.

Yes.
[Xperia Z1 Compact General] LfcFan1977:
Thanks for the responce.

Tried again today with a different sdcard (2gb with vfat format) but exact same steps as previously and booted successfully.
[Xperia Z1 Compact General] nico1375:
Hello, I just got a brand new Z1C yesterday. I had several nexus, HTC, samsung, LG... But no sony, so I am not quite familiar with it.

I made all available updates (through OTA) so my phone runs now 4.4.2.

2 questions :

-Does this guide still apply (and works) on a stock 4.4.2?

-I have seen on latest release of Flashtool (don't know if option was available before, though...) there is a "root" button. Does this allow 1 click root? Or not? And if yes, does it unlock BL (and lose DRM keys) ?

Thanks

nicolas
[Xperia Z1 Compact General] zxz0O0:
1. Yes, it works on all firmwares. You will end on 14.3.A.0.681 Generic UK (KitKat 4.4) after following this guide

2. It does allow one click root, but only for devices that are supported. Z1 Compact is not, that's why we have to downgrade to a firmware from another phone which is vulnerable to an exploit.
[Xperia Z1 Compact General] nico1375:
Thanks very much for these answers :)
[Xperia Z1 Compact General] Wurstwarenfachverkäuferin:
Anybody else having problems downloading z1c-44...flashable.zip from google? Could the file perhaps be corrupted in some way? I've tried several times and at the end of the download, which takes quite a few hours, my computer tells me the file couldn't be saved for being unreadable.
[Xperia Z1 Compact General] nico1375:
Hello again, after step 15, when the screen is black, how can I be sure to force power off?

Because I can't seem to start flash mode after (well, it doesn't seem to power off since flashtool keeps telling me to disconnect my usb cable, power off the phone and start it again ...)
[Xperia Z1 Compact General] zxz0O0:
Force power off as described in first post. Then hold volume down and plug in the usb cable.
[Xperia Z1 Compact General] nico1375:
Thanks, I had not seen it.

So I used this method : http://userguide.sonymobile.com/referrer.php?region=global-en&product=xperia-z1-compact#!Resetting-your-device.html
[Xperia Z1 Compact General] isimsizkullan:
my device is keeps disconnected from flashtool, and there is no led light when connect in flashmode
[Xperia Z1 Compact General] tracyn:
I got a question: I want to unlock my bootloader, it's been a couple of weeks since I did all the other steps (rooting and backing up TA), and my current setup with stock rom works great - but I wanna try some custom roms, so I'll have to unlock it.

If I do a nandroid backup of the locked stock rom, can I restore it after unlocking the bootloader? Or do I have to reinstall all my apps and settings manually after unlocking?
[Xperia Z1 Compact General] Wurstwarenfachverkäuferin:
I did only root my phone (and back up the TA-partition, just in case). I have two questions

With the .681 firmware, the phone gets noticeably hot and battery drain increased (>10 % within the last ~30 minutes) - is this a temporary thing due to flashing and first-time setup? (Will it go away?)

Can I update to the official .757 firmware from Sony (update center app) - is it possible at all and would I still have root access after the update?

Thanks a lot.
[Xperia Z1 Compact General] zxz0O0:
If you unlock the bootloader you won't lose anything. People also reported that SD card is not formatted.

You can take a nandroid backup now and restore it when your bootloader is unlocked but bootloader will remain unlocked.

I didn't have that battery drain. Maybe it will go away after a few reboots. When you update through Sony software you will lose root. You can update to 0.757 through my guide (see signature).
[Xperia Z1 Compact General] tracyn:
Okay, thanks! I've removed my SD card before unlocking and restored my nandroid backup afterwards. At first, it looked like the phone wasn't unlocked (Config showed "Bootloader unlocking allowed = yes"), so I unlocked again via flashtool and it didn't format anything this time. But after the second unlock config shows "Bootloader unlocked = yes", so it was a success.
[Xperia Z1 Compact General] Lorenzoval:
This is my first Sony phone so I have some questions for you:

Is there something that logs when a firmware is flashed with flashtool?

If yes, does flashing another device's firmware void the warranty?
[Xperia Z1 Compact General] isimsizkullan:
i tried but no luck

with D5503_14.3.A.0.757_GenericDE-nosystem.ftf recovery was broken, and then i flashed D5503_14.3.A.0.681_Generic_UK-nosystem.ftf problem solved

i rooted my phone thanks to you
[Xperia Z1 Compact General] zxz0O0:
There is a log in TA partition on the phone. Honestly I don't know but I think as long as the current firmware of the phone is a Z1 compact firmware, they can't deny the warranty claim. Also I don't think they're going to read out the logfile to check it.
[Xperia Z1 Compact General] E-I-K-E:
21/036/2014 21:36:26 - ERROR - 1

21/036/2014 21:36:26 - INFO - Cannot open bundle. Flash operation canceled

21/037/2014 21:37:13 - INFO - Device disconnected

I´m always getting this, when i´m trying to flash the .ftf in step 16

Any help is greatly appreciated. ;)
[Xperia Z1 Compact General] F308:
FTF is compressed file.

First thing which I would do is:

1. check MD5 sum of it.

2. run sort of : unzip --test <filename>.ftf

If not corrupted - it is different story.
[Xperia Z1 Compact General] zxz0O0:
What F308 said and make sure flashtool is up to date (i.e. latest version).
[Xperia Z1 Compact General] DiederikC:
[/IMG]

after this the bat closes....

i've followed all other steps given from the guide perfectly.

What should i do?
[Xperia Z1 Compact General] zxz0O0:
Are you using dualrecovery 2.7.121? Press [Windows] + [R]. Type in the dialog "cmd". Drag and drop install.bat into the black window and press enter. Post the screenshot here after the batch finished.
[Xperia Z1 Compact General] DiederikC:
I fixed by using another zip i found,here on the forum,it worked now running aurrom:) ty for helping anyway!:)
[Xperia Z1 Compact General] neonpsn:
ignore. I was being an idiot
[Xperia Z1 Compact General] Yokobln:
First of all, THANK YOU zxz0O0 for creating such an easy to follow and comprehensive guide!

I successfully swapped the UK ROM to the DE ROM quoted above during the procedure.

Everything went smooth, DRM backup went through, phone is rooted and flashed straight to latest DE757 FW.

What had be startled for a couple of minutes was Step 17:

"Go to the Recovery Menu. To do that, power off your phone. Then power it on again. After the vibrate and the green LED turns on, hold Volume Up (LED will turn violet)"

That did not work with the Z1C-lockeddualrecovery2.7.121-BETA.flashable.zip ! :eek:

Only by accident I pressed vol- instead of vol+ and went into trwp recovery.

There I finished the remaining steps and all went well.

Perhaps it's worth mentioning the second recovery option as a fall back in the first post for newbish folks (like myself)?

I was pretty worried for a time before I was able to get into trwp.

Thanks again for the guide and all the effort by the coders making it possible!

Regards,

Yoko
[Xperia Z1 Compact General] isimsizkullan:
the same here, philz recovery did not open properly, then i flashed previous firmware and went ok after that i updated 757 and philz recovery was ok
[Xperia Z1 Compact General] zxz0O0:
Thanks, you are right. I will add that to the guide. It's weird though that Philz didn't work. :confused:

Does it work now? If not, have you tried reflashing the dualrecovery zip in TWRP? If it still doesn't work, please report the issue to the developer here ( http://xdaforums.com/showthread.php?p=52213647 )
[Xperia Z1 Compact General] coolkoushik07:
Hi bro I have a silly question.. After taking backup of TA and unlocking bootloader is it possible to flash 4.4 official firmware and then after rooting that firmware flashing stock recovery back and locking the bootloader with restoring TA partition? and will it remove root??

Actually I am not familiar with sony staffs. So I need some assistance..
[Xperia Z1 Compact General] zxz0O0:
Restoring TA partition will not remove root. I didn't really understand what you want to do. You don't need to unlock bootloader if you just want stock firmware with root.
[Xperia Z1 Compact General] coolkoushik07:
Then how can I root latest stock firmware from my region without unlocking? Actually I dont wanna keep uk firmware..

Sent from my GT-I8552
[Xperia Z1 Compact General] zxz0O0:
Well there is no problem using UK firmware. But if you want to use the firmware of your own country you can flash it, then root it with unlocked bootloader, restore stock kernel and then restore TA partition. After that bootloader should be locked again but you have root.
[Xperia Z1 Compact General] coolkoushik07:
Can you tell me the process of restoring stock kernel and the link to srock kernel? Thanks for ur helpful reply..

Sent from my GT-I8552
[Xperia Z1 Compact General] zxz0O0:
Stock kernel is inside firmware ftf. Just flash again in flashtool but exclude everything except kernel.
[Xperia Z1 Compact General] coolkoushik07:
Well i saw some thread about not getting rw access to system in 4.4 So if i simply root latest firmware and then flaah stock kernel and restore TA, will my root work perfectly?

Sent from my GT-I8552
[Xperia Z1 Compact General] zxz0O0:
Flash custom kernel (Doomlord's kernel for example), go to recovery and flash dualrecovery and superSU zip. Go to flashtool and flash the stock kernel, check if root is working and then restore TA partition.
[Xperia Z1 Compact General] eresac:
Restore to official

I've followed this guide gaining root and backing up TA.

Then I upgraded to 4.4.2 (using this http://xdaforums.com/showthread.php?t=2688933) (big thanks to zxz0O0)

Now, since I'm facing a big issue with the roaming data connection staying on even if disabled, I was wondering on how to revert back to original.

I've searched a bit, but still not so sure about the right process to follow.

Would:

1 - flashing the TFT here (http://xdaforums.com/showthread.php?t=2690488) which is of the same kind as mine, Generic IT unbranded, (same code: 1279-2796)

2 - restoring TA with the backup tool (http://xdaforums.com/showthread.php?t=2292598)

work?

Should I take care of any parameter when using flashtool?

I hope you'll excuse, but I'm very new to Xperia devices.

Thanks a lot.
[Xperia Z1 Compact General] zxz0O0:
If you flash this firmware you will lose root. Have you tried wipe cache / dalvik cache in recovery menu or factory reset to fix the problem?
[Xperia Z1 Compact General] eresac:
Already tried making every possible swype / delete / factory reset (also opened a question on the Q&A subforum).

Going back to stock is also an option, would I get that?

Thanks again.
[Xperia Z1 Compact General] zxz0O0:
You can go back to stock, yes. But do you really want to lose root? Have you tried using another firmware (e.g. nordic firmware instead of UK or an older firmware)?
[Xperia Z1 Compact General] eresac:
You're right, that's an option

Tomorrow I'll try something,

Thanks for your kind support.
[Xperia Z1 Compact General] Yokobln:
Yup!

Strangely enough, Philz is now working?!

Just out of curiosity....why is it working now?

I didn't flash a new recovery since.

All I did is finishing the steps in Your tutorial.

vol+ was't recognized, but now it is after flashing the DEgeneric757.

Thanks again,

Yoko
[Xperia Z1 Compact General] eresac:
Tried with NO firmeare and that WORKED!

Seems that UK firmware (which has the enhanced option for roaming inlcuding: off, national, international) doesn't detect a thirdy carrier signal (don't know if edge related) as roaming.

Dear zxz0O0 I think I could never thank you enough.
[Xperia Z1 Compact General] santacruzdz:
HELP!!

...is my phone bricked??! ;(

I followed steps till step 13...when the screen become black and then I should start the install.bat but the the problem is that I put the SuperSU and Z1C-lockeddualrecovery on the internal SD...which I forgot to do again after step 11 because of the wipe! so now I have no SU and no Z1C-lockeddualrecovery on internal SD and I can't flash another tft because I can't go into debugging mode...any help please????
[Xperia Z1 Compact General] zxz0O0:
install.bat is inside Z1C-lockeddualrecovery(...)installer.zip, it's a different zip which you run on your computer. After step 17 you should be able to mount usb storage in recovery, so you can copy the files to your internal storage ;)

Another solution is to start again from step 8.

You can still enter flashmode. Probably it doesn't work because your phone is powered on. Make sure your phone is powered off before trying to go into flashmode (check Questions for how to force power off).
[Xperia Z1 Compact General] santacruzdz:
Thanks for your answer! I will fallow your instructions and comeback here to tell if it worked!
[Xperia Z1 Compact General] Mitchio:
Followed the steps for rooting to a tee 3 times and every time I've gotten stuck in a boot loop (Sony logo appearing/disappearing)..

I've checked everything and I can't see what I'm doing wrong. I have a Vodafone UK Z1 Compact (on Sony's Stock KitKat ROM prior to attempting) & my laptop is running Windows 8.1 x64 (with unsigned drivers enabled).
[Xperia Z1 Compact General] zxz0O0:
When do you get a boot loop? Can you still get into recovery? If it's at the end make sure you format /system and after that flash all the zips. Also check the hashes of the files (see 'Questions')
[Xperia Z1 Compact General] Mitchio:
Boot loop is right at the end when i reboot the phone.

I can't get into recovery.

I followed the steps 'format /system' & 'wipe data/factory reset' on my first two attempts and also tried 'wipe data/factory reset' & 'clear for rom installation' on my third attempt to see what happens.

Hashes are all good too.
[Xperia Z1 Compact General] santacruzdz:
same problem here...I did all steps and spent something like 3 hours minimum to install the root. I get into boot loop, only difference is that I can access to recovery, so I did wipe again and install the 3 files of the last step but still same boot loop...any suggestion?

thanks for assistance we appreciate it!
[Xperia Z1 Compact General] zxz0O0:
Have you guys tried to use TWRP recovery (volume down) instead of Philz touch? If it doesn't work you can try to replace the files on step 16 and step 20.1 with files from here: http://xdaforums.com/showthread.php?t=2688933 (example: KitKat 14.3.A.0.757 Generic UK)
[Xperia Z1 Compact General] santacruzdz:
I had the same problem while trying to root mine and I encountered the same loop Sony/Xperia loop althought I had the recovery installed, so if you have the recovery installed, I strongly advice you to NOT use the Philz recovery but the TWRP (by pressing VOL down) after the green light appears, there you go to advanced wipe and you select the 4 first once and you wipe! Then you re flash the zip's of the last step in order. That solved the problem for me with the boot loop!
[Xperia Z1 Compact General] Mitchio:
Thanks for the help, I'll try that and get back to you soon as I can. :victory:
[Xperia Z1 Compact General] Mitchio:
That's worked great, thanks! :good:
[Xperia Z1 Compact General] coolkoushik07:
Philz recovery worked for me.. i think wipe to install new rom option is the culprit behind bootloop.. simply avoid that

Sent from my GT-I8552
[Xperia Z1 Compact General] santacruzdz:
I never used the option "wipe to install new rom"...just did a reset/factory wipe. But now I notice another problem with the TWRP recovery, when I do a backup it is not shown in the backup directory, so I did a "fix permission" and then it appeared again?!

another strange thing is that when I do a factory reset from TWRP I lose my backups as well! so I have to flash again the dual recovery and super user etc...

any one experienced that?
[Xperia Z1 Compact General] coolkoushik07:
R u on locked bootloader or unlocked?

Sent from my Xperia Z1 Compact (D5503)
[Xperia Z1 Compact General] santacruzdz:
on locked bootloader
[Xperia Z1 Compact General] coolkoushik07:
Simply take backup of TA partition and unlock bootloader.. Its the best option..

Sent from my Xperia Z1 Compact (D5503)
[Xperia Z1 Compact General] zxz0O0:
If you have issues with the recovery menus, post them here: http://xdaforums.com/showthread.php?t=2647480
[Xperia Z1 Compact General] vlawrence0324:
This works!! Thank you. Now how do I update to the latest .757 without losing root?

nvm: http://xdaforums.com/showthread.php?t=2688933
[Xperia Z1 Compact General] slackerz_86:
Guys i have my own .757 ftf. How do i create my own nosystem.ftf and flashable.zip?
[Xperia Z1 Compact General] santacruzdz:
you have to go into recovery and do again the last step of the root...flash the 757 then dual recovery and finally the update super user and done! reboot phone everything should work correctly.
[Xperia Z1 Compact General] SmokeRob:
Flashmode keeps rebooting

Does anyone know how to bypass the "flashmode" automatically exiting flashmode and rebooting the phone? I get stuck at steps 9-10 because of this issue. The phone boots into flashmode, but after about 2 minutes or so it automatically reboots the phone before Flashtool has a chance to actually start flashing.

9. Power off your phone, hold volume down and plug in your USB cable (your phone will boot in flashmode)

10. Open flashtool, select Flash -> Flashmode and flash SO-02F_14.1.H.1.281_docomo.ftf (select Wipe [Check ALL] and Exclude [Uncheck ALL])

Sorry if the question has already been asked. Thanks for the help!
[Xperia Z1 Compact General] zxz0O0:
Do step 10 before step 9, i.e. first prepare everything in flashtool and click flash, after 30 seconds or so connect the phone. Usually it should work as written in the first post but it may take very long to prepare the files for flashtool depending on the computer performance. I might change that in the guide.
[Xperia Z1 Compact General] SmokeRob:
Thanks, that worked! Timed it right and it went through no problem. Thanks for the guide!

Now I just have the problem of any custom rom seems to kill my data. Everything else works fine, but no 2g/3g/4g/lte. I'll get it figured out. Thanks again!
[Xperia Z1 Compact General] Iruwen:
Funny, fastboot told me that the bootloader was successfully unlocked, except it wasn't afterwards. Anyway, the second time I tried it worked.
[Xperia Z1 Compact General] earlymorninghours:
I am not new to Android nor to flashing, custom ROMs, etc. But if I had known ahead of time just how bad these phones suck when it comes to that sort of thing, I would stayed miles away. I simply cannot believe the amount of time I've wasted today on this. Nothing works the first time or the way it's supposed to. I've already sworn off Samsung, so it looks like my options are getting limited. I'm trying like hell to get Resurrection on this thing, but I think I may just stick to stock, put it up on eBay and call it a day. I got a Z2 on it's way as well. Thing may as well be a paperweight and it hasn't even arrived.
[Xperia Z1 Compact General] coolkoushik07:
To backup drm u have to waste some times.. If u dont care about warranty and drm keys then u can unlock the bootloader easily.. And for newer phones stock roms are always more stable.. I have used couple of samsung phones before and there also I found stock rom as most stable..

Sent from my Xperia Z1 Compact (D5503)
[Xperia Z1 Compact General] earlymorninghours:
Perhaps I've become too picky/OCD but I've grown so accustomed to CM based ROMS at this point and the peculiarities that OEMs introduce into the interface just seem to scratch my eyes. I realize I'm in a very small minority, but it can be frustrating nevertheless.
[Xperia Z1 Compact General] coolkoushik07:
U can flash cm in ur z1 compact.. As much as I know, latest nightly is almost bug free except som wifi tethering bugs..

Sent from my Xperia Z1 Compact (D5503)