yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] TheKingOfPain:
Yes, you have to root your device in order to use Backup TA.

This means you either wait for a dev to find an exploit on this or future firmwares to root the device without unlocking the bootloader so that you can backup the TA partition, or you unlock it now (meaning you lose DRM keys) and root it.
[Xperia Z1 Compact Original Android Development] DooMLoRD:
yes you need to be root to back TA... but there is currently no exploit that works... so you will have to wait for root exploit to gain root then backup TA...

some people are not worried about DRM keys and unlock bootloader anyways... thats ok, i did that for most of my devices till date except for Xperia Z1 :D
[Xperia Z1 Compact Original Android Development] funiewski:
Tried so far with no success, if i follow your guide. When i used rootkit for Z1c recovery was not installed I went beck and used rootkit for z1 f, than when i flashed c kernel at step 7 i was stuck at sony logo, when I proceeded without flashing kernel I could boot with c kernel but it ws clear that the new prerooted zip was not executed and there was no root

I wonder if it is possible to end up with rooted compact with f system bcs that would make it possible to back up ta partition and unlock bootloader withou loose of guarantee or drm keys
[Xperia Z1 Compact Original Android Development] Darkimmortal:
I'm just about to test this process, but in 'extendedcommand', shouldn't it be /sdcard/ or /sdcard1/ not /sdcard/0/ ?
[Xperia Z1 Compact Original Android Development] Darkimmortal:
Getting some errors:

The phone is in a bootloop after step 7, can't boot into recovery mode

I was able to get to a root adb shell after step 5 (blindly accepting prompt with DDMS) if that's any use
[Xperia Z1 Compact Original Android Development] Darkimmortal:
Getting somewhere now:

After step 5, I booted back into the rooted C6903 firmware and used Z1C-lockeddualrecovery2.7.80-BETA.installer.zip (accepted su prompt with DDMS)

This then let me access PhilZ recovery in step 8 - previously there was a boot loop after step 7.

However, after flashing the .zip I've been left with a non-rooted 4.3 system still with the docomo apps/extras. I have also lost recovery mode entirely.
[Xperia Z1 Compact Original Android Development] funiewski:
I have managed to follow guide with exception of using rootkit for f instead of c (which is not working), than i could flash compact 114 kernel and reach cwm recovery, it seems that the update is installed but you end up with no root and the phone is recognized as f not c, so update zip is not working as it should

thanks for your efforts, waiting for more:good:
[Xperia Z1 Compact Original Android Development] Darkimmortal:
I did it!!!

Posting full instructions shortly :)

---------- Post added at 11:07 PM ---------- Previous post was at 10:29 PM ----------

Have posted detailed instructions and downloads in a separate thread: http://xdaforums.com/showthread.php?p=49994876
[Xperia Z1 Compact Original Android Development] elevation_2:
Just for information, Ive got the D5503 and followed Sonys instructions to see if bootloader is unlockable, it says boot loader unlocked allowed: Yes
[Xperia Z1 Compact Original Android Development] funiewski:
[MENTION=2784807]DooMLoRD[/MENTION] thanks for your work, excellent

your recovery is flashed to fota isn´t it? bcs i flashed [NUT] dual recovery after and i have now 3 recoverys:silly:

for your knowledge, this method for root with locked bootloader ( http://xdaforums.com/showthread.php?t=2634196 ) is working and it´s easy to backup ta partition
[Xperia Z1 Compact Original Android Development] DooMLoRD:
glad to know that that worked!

but i would HIGHLY RECOMMEND TO AVOID CROSS FLASHING FIRMWARES! we have had instances in past where devices have got bricked since the software of hardware components (on-board firmware) got damaged...

also I dont use FOTA partition for anything... my kernel has recoveries in main kernel ramdisk :)
[Xperia Z1 Compact Original Android Development] TheQwertiest:
Well, unless someone discovers exploit (which is highly unlikely) or ports crackable z1 kernel to our device, there is not much choice left to us :\
[Xperia Z1 Compact Original Android Development] DooMLoRD:
there is some exploit but there is no clarity on when and if at all it will be publicly released...
[Xperia Z1 Compact Original Android Development] dicey2:
hi there

for me your article is a little confusing in regards to the order in which things need to be done

can you please clarify exactly what steps need to be taken and in which order

for example a TA backup is required but from what I gather I need to root first but to root I need to unlock the bootloader which I can only do if I do a TA backup first??

Im not sure so if you post the links in order of what needs to be done I would really appreciate it as I dont want to feck up me phone!!
[Xperia Z1 Compact Original Android Development] dragnan:
There is no root exploit yet for our phone. Therefore you cannot do the TA Backup. Therefore: If you want cwm on your phone, you will for sure loose your TA partition - unless you wait for an exploit.
[Xperia Z1 Compact Original Android Development] marraton:
You can root and then make TA backup using method described here: http://xdaforums.com/showthread.php?t=2634196

After that flash stock, unlock bootlader (didn't lose DRM keys!) and root again using DooMLoRD tutorial.

Works great for me :D
[Xperia Z1 Compact Original Android Development] tania247260:
Hello friend do you face any problem after unlocking the phone or is everything working perfectly?
[Xperia Z1 Compact Original Android Development] eddymjj:
Hi Doomlord is it because Z1 compact use android 4.3 there's no easy rooting toolkit for this moment ? thank you for your nice work.
[Xperia Z1 Compact Original Android Development] zxz0O0:
Sony patched the public exploit used to get root in the Z1 compact kernel.
[Xperia Z1 Compact Original Android Development] davidd6:
that mean, we cant root z1 compact for now?
[Xperia Z1 Compact Original Android Development] Darkimmortal:
No

It's the reason the process of rooting it is so convoluted
[Xperia Z1 Compact Original Android Development] davidd6:
bad news :(

how can i reinstall apps from titaniumabckup without root?

any other software for that?

i have galaxy S3 for now, but having z1 compact thursday.
[Xperia Z1 Compact Original Android Development] Darkimmortal:
Sorry I should have been more clear

You CAN root the Z1 compact, instructions are here: http://xdaforums.com/showthread.php?t=2634196
[Xperia Z1 Compact Original Android Development] davidd6:
oh good thank :)

i will try that :)
[Xperia Z1 Compact Original Android Development] Devries:
thanks!use your kernel from xperia z,expect your great z1 compact kernel!
[Xperia Z1 Compact Original Android Development] HackitZ:
Second that on the amazing doomkernel.
[Xperia Z1 Compact Original Android Development] DooMLoRD:
I only have the T, SP, Z, Z1 and hopefully soon will be going for the Z2...

i dont have the Xperia Z1 Compact...

so there will be no custom kernel support for the Z1 compact from me... this was done for a friend... if i get time i will keep updating THIS thread when newer firmware releases...

regards,

DooMLoRD
[Xperia Z1 Compact Original Android Development] Devries:
LoL,bad news,that makes me thinking about sale my Z1c and buy a Z2...
[Xperia Z1 Compact Original Android Development] HackitZ:
Thanks for the fast and prompt reply Doom.

Quick question, if i was to test would you be willing to work on a kernel? i was looking at the Z1 forum and how both phones are very similiar would this make the transition easier?

If you're not interested or short on time no worries.
[Xperia Z1 Compact Original Android Development] Riyal:
If [MENTION=2784807]DooMLoRD[/MENTION] can't add Xperia Z1 Compact in his DoomKernel support list would it be ok if I will be the one to port your kernel? I already have the defconfig for amami which I got by dumping it directly from the stock kernel by extracting ikconfig porting it and having it running on our device should just be easy as pie for me.
[Xperia Z1 Compact Original Android Development] DooMLoRD:
sorry mate i dont have that much time... though i am sure someone will release an "unofficial" DooMKernel, like they did for Xperia ZL...
[Xperia Z1 Compact Original Android Development] hash054:
waiting for device

Unlocked my bootloader.. drivers installed and everything.. but when I write the command

"fastboot flash boot boot.img"

immediate response is waiting for the device..

nothing happens.. any help
[Xperia Z1 Compact Original Android Development] hoderer:
Happened to me too. I was in the wrong mode. Make sure you are in the right mode on your device.
[Xperia Z1 Compact Original Android Development] hash054:
What do mean by right mode?
[Xperia Z1 Compact Original Android Development] hoderer:
I was in flashmode, but you have to be in fastbootmode. Hope this is helping.
[Xperia Z1 Compact Original Android Development] hash054:
first of all.. I am not using flashtool.. I am using fastboot method through cmd to execute boot.img.. secondly.. I have unlocked the bootloader through the same method so I know that I am in the right mode .. that is fastboot mode (blue light)... Plus the screenshot above also shows the that the device is connected in fastboot mode ( because the response time is 0.5)...

http://dl.xda-developers.com/attach...5a9c9f72d/5319a49d/2/6/1/5/3/6/6/fastboot.png

So why does it says "waiting for device" when the device is already connected in fastboot mode!!! thats my question..

if [MENTION=2784807]DooMLoRD[/MENTION] would be kind to guide me in this matter..
[Xperia Z1 Compact Original Android Development] zxz0O0:
Did you check the device manager if everything is ok?
[Xperia Z1 Compact Original Android Development] marouane80:
you must verify if your device allow unlocking bootloader or not !

read here first : http://unlockbootloader.sonymobile.com/instructions

good luck
[Xperia Z1 Compact Original Android Development] hash054:
I had already unlocked my bootloader!! In the service configuration menu.. bootloader unlocked: yes... is already there..

I am stuck at the second part where you have to flash the cwm via fastboot.. its waiting for the device!

---------- Post added at 04:56 PM ---------- Previous post was at 04:53 PM ----------

yes.. I installed the drivers form sony's official website for z1 compact.. see the screen shot in my earlier post!

btw what should be the name of the drivers.. the one coming on my device manager is "Sony sa0109 ADB interface driver"..
[Xperia Z1 Compact Original Android Development] zxz0O0:
Try a different USB port

What is the output of 'fastboot devices' ?

Run fastboot as administrator

If nothing works try on a different computer
[Xperia Z1 Compact Original Android Development] hash054:
tried all different ports..

the output for fastboot devices in nothing.. but this command "fastboot.exe -i 0x0fce getvar version" shows the response "version:0.5" which I think means the same thing?

Ran fastboot both in Adminstrator mode and without it.. same result

dont have a different computer.. :S :P
[Xperia Z1 Compact Original Android Development] zxz0O0:
You are not using a vm right?

Try running your phone normally and then run this command on the computer:

adb reboot bootloader

Then check again with fastboot devices

And can you upload a screenshot of device manager.
[Xperia Z1 Compact Original Android Development] hash054:
what do you mean by VM?

when I connected my device in normal mode and wrote "adb devices".. the response was one device connected but was "offline"..?? I think its driver issues.. Can you show me how to properly install adb drivers for z1c?
[Xperia Z1 Compact Original Android Development] zxz0O0:
VM is a virtual machine. I guess you don't have one.

You have usb debugging enabled and allowed the connection on your phone? Try reinstalling the driver.

And check this: http://xdaforums.com/showthread.php?t=2247471 and http://stackoverflow.com/questions/14993855/android-adb-device-offline-cant-issue-commands
[Xperia Z1 Compact Original Android Development] hash054:
thanks for your help.. I finally did it.. just needed to set the path in environmental variables and VOLA .. my device was among fastboot devices.. The rest is history.. got rid of that annoying retail demo once and for all!! :highfive::victory:
[Xperia Z1 Compact Original Android Development] crytic:
Could you create a tiny update where the codename is changed to the proper "amami", instead of "anami" as it is now? That would be great :)
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Such “Kleinkram“ can only come from a German guy :D.
[Xperia Z1 Compact Original Android Development] crytic:
:angel: Jup :) But seriously, most ROMs check for the proper product name prior to flashing, so this actually is important if you don't want to modify every single rom you want to flash
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Ok, didnt know about that :).

[MENTION=2784807]DooMLoRD[/MENTION]

Is that Kernel also compatible with .142 Firmware?
[Xperia Z1 Compact Original Android Development] DooMLoRD:
not sure... post the kernel.sin for that firmware here and i will update the kernel in OP :)
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Here we go :):

http://www.file-upload.net/download-8701665/kernel.sin.zip.html
[Xperia Z1 Compact Original Android Development] DooMLoRD:
ok here is the kernel with recovery

can someone test and let me know if its working properly?

http://bit.ly/N2ZYo8
[Xperia Z1 Compact Original Android Development] MrMmmkay:
I will try asap, thanks for the very quick Response :)
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Did a quick test, recovery is working, device is booting, looks quite good :).
[Xperia Z1 Compact Original Android Development] DooMLoRD:
thanks for testing!

updated OP with download link!
[Xperia Z1 Compact Original Android Development] tania247260:
Do I need to unlocked the botloader????+
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Yes you need to, read first post...
[Xperia Z1 Compact Original Android Development] tania247260:
Rooted and bootload unlocked

The best and the easiest way to root and unlock bootload on xperia z1 compact that I did last night by flash tool.Autometic backup also in flash tool system
[Xperia Z1 Compact Original Android Development] MScorpionZ:
DooMLoRD

Is there a way to get Root to unlocked bootloader and stock kernel, not flash modified kernels and recovery?
[Xperia Z1 Compact Original Android Development] tania247260:
I have re-locked and unrooted my phone successfully
[Xperia Z1 Compact Original Android Development] nism0o:
Do you heave to flash original boot.img before relocking? mine wont relock... it just stops in flashtool
[Xperia Z1 Compact Original Android Development] tania247260:
DO not worry it is the most easiest way.

First:put a ftf firmware inside the flashtool firmware.Then connect the phone in the pc,open flash tool,click on BLU then follow instruction from the pc.Flash tool will ask u to relock,press relock.Then click on flash mod on flash tool and flash the ftf.Hope it will work.I did the same and it worked perfectly.if u face problem or need help just ask me again and again.welcome
[Xperia Z1 Compact Original Android Development] DooMLoRD:
yes...

instead of flashing this kernel on boot partition, just hotboot it and enter recovery immediately!

here is how to hotboot:

fastboot boot boot.img

this will just boot the device one time with this recovery kernel... once u see bootlogo just enter recovery and follow procedure in 2nd post!
[Xperia Z1 Compact Original Android Development] DanielMalmgren:
If I send you a kernel.sin for 14.3.A.0.681, will you do your magic on it? That'd make you the hero of the day ;)

/Daniel
[Xperia Z1 Compact Original Android Development] DooMLoRD:
sure... post it!

also send output (immediately after one second) of the following command:

adb shell getevent

once u see 7-8 lines of output immediately press CTRL+C to about and post the output with the kernel.sin
[Xperia Z1 Compact Original Android Development] MrMmmkay:
+1 :)

---------- Post added at 06:15 PM ---------- Previous post was at 06:06 PM ----------

Here you go, for adb I have no time at the moment ^^.

http://www.file-upload.net/download-8728716/kernel.sin.zip.html
[Xperia Z1 Compact Original Android Development] DanielMalmgren:
I'll PM you an url.

I'm not yet running that version on my phone though, I'd rather not do that without possibility to run cwm. Anyone else could fix the getevent output?

/Daniel
[Xperia Z1 Compact Original Android Development] MrMmmkay:
See my post before yours for .sin :).

Just doing a cwm backup, then I install the new rom.

Doomlord, there is a little problem with the cwm backups in this kernel, the date is wrong.... (its about 1970 or so)
[Xperia Z1 Compact Original Android Development] DooMLoRD:
i cant upload new recovery kernel without the output of that command
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Sorry for noob question, where do I enter that command?
[Xperia Z1 Compact Original Android Development] DanielMalmgren:
On your computer, with the phone usb connected. You need to be in a directory where adb.exe resides. For example if you have flashtool installed, you can find adb.exe in C:\Flashtool\x10flasher_lib (if you installed to default location).

/Daniel
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Ok, I will do asap :)

---------- Post added at 07:04 PM ---------- Previous post was at 06:39 PM ----------

Here we go:

C:\Flashtool\x10flasher_lib>adb shell getevent
add device 1: /dev/input/event8
name: "msm8974-taiko-mtp-snd-card Headset Jack"
add device 2: /dev/input/event7
name: "msm8974-taiko-mtp-snd-card Button Jack"
add device 3: /dev/input/event6
name: "system_als"
add device 4: /dev/input/event5
name: "qpnp_chg_unplug_key"
add device 5: /dev/input/event3
name: "qpnp_pon"
add device 6: /dev/input/event2
name: "clearpad_pen"
add device 7: /dev/input/event1
name: "clearpad"
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 8: /dev/input/event0
name: "mhl-rcp"
could not get driver version for /dev/input/mice, Not a typewriter
add device 9: /dev/input/event4
name: "gpio-keys"
^C
[Xperia Z1 Compact Original Android Development] DooMLoRD:
here is a test kernel...

Z1c_DooMLoRD_AdvStkKernel_FW-681_v03-test-1.img

please check if device boots and if you can enter recovery...
[Xperia Z1 Compact Original Android Development] nism0o:
Device booted and working, recovery working.
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Looks good, CWM is working, device boots :).

You are the very best :highfive::highfive:
[Xperia Z1 Compact Original Android Development] marraton:
Same here + rooted with latest chainfire supersu :D
[Xperia Z1 Compact Original Android Development] DooMLoRD:
Advanced Stock Kernel v03 released!

supports latest KitKat firmware!

download links in OP!

cheers!

regards,

DooMLoRD
[Xperia Z1 Compact Original Android Development] DanielMalmgren:
As promised: I hereby declare you hero of the day! :victory:

/Daniel
[Xperia Z1 Compact Original Android Development] dron39:
Super!

Thank you very much!

Can i ask you, why not 6.0.4.7?
[Xperia Z1 Compact Original Android Development] DooMLoRD:
buildserver was outdated and didnt have much time to sync ;)
[Xperia Z1 Compact Original Android Development] DanielMalmgren:
Oh, btw. Someone mentioned earlier the backups getting strange date with the cwm in this kernel. This is still the case with the latest version. Not a big issue but maybe easy fixed?

/Daniel
[Xperia Z1 Compact Original Android Development] dron39:
Oh... :(

I hope v4 will be updated to the latest version of CWM. :)
[Xperia Z1 Compact Original Android Development] PAVNEET101:
Have some glitches and the quadrant score also decreased but awesome work!

Thabksb
[Xperia Z1 Compact Original Android Development] alberto888zz:
How I can add touch recovery instead of "normal" recovery? Thanks!
[Xperia Z1 Compact Original Android Development] zxz0O0:
Hey [MENTION=2784807]DooMLoRD[/MENTION]

Great kernel. If you take backups in CWM it shows the wrong time (1970...), is it possible to fix that? Thanks.
[Xperia Z1 Compact Original Android Development] hardozen:
Hello guys,

Im experiencing an issue with flashing the kernel. I unlocked my bootloader. I followed your instructions on the top of this thread but my phone still block at the loading xperia waves (the moment after showing SONY and XPERIA logo).

And then again, it reboots automatically. I can reach the recovery by pushing the up/down vol button (or installing the superuser for rooting), BUT whatever the version v1 or v2 or (even v3 but I have a jelly bean so of course it doesnt work) of the kernel, the phone cant pass the xperia waves loading.

Please, do you have any idea to sort it out. Because I really have hard difficulty in solving this problem.

Thanks a lot.

HdZ
[Xperia Z1 Compact Original Android Development] zxz0O0:
What did you do? You could reflash a stock rom to fix the problem. I think it's not necessary to wipe data. Just wipe cache and dalvik cache.
[Xperia Z1 Compact Original Android Development] hardozen:
Hi.

In details, i create a backup with sony pc companion, i installed adb driver and z1 compact driver from flashtool driver pack, i downloaded all files required to unlock officially the bootloader. I followed all the instruction step by step to get on what ive mentioned above.

Which stock rom are you referring?

One other question. There is a way to get drm keys from the pc companion backup ?

Thanks for your help

HdZ
[Xperia Z1 Compact Original Android Development] zxz0O0:
Doesn't matter, just flash any stock rom in flashtool. You can find them here: http://xdaforums.com/showthread.php?t=2631291 (I use this one http://xdaforums.com/showthread.php?t=2633801 )

And no, you can't get drm keys from companion backup. Once you unlocked the bootloader they're lost if you didn't backup properly backup them before.
[Xperia Z1 Compact Original Android Development] LSI:
Works fine. Thanks a lot !
[Xperia Z1 Compact Original Android Development] Devione:
Hi there,

Assuming if I wanted to update to a newer version of CWM in the future, and i'm running an AOSP ROM from FXP / CyanogenMod, how would one go about updating it?

Same method via ADB / fasboot flash boot.img as mentioned in the OP?

Thanks for your time.
[Xperia Z1 Compact Original Android Development] luminoso:
I flashed firmware 14.3.A.0.681 FTF and then unlocked bootloader and flashed Z1c_DooMLoRD_AdvStkKernel_FW-681_v03.img

Recovery works fine, but camera focus but never takes a picture. Is this related with the unloacked bootloader? With the kernel? Any ideias?
[Xperia Z1 Compact Original Android Development] e2zippo:
I'm using RomAur 2.1 with this kernel and I'm having the same issues with camera. Thought it had something to do with the rom, perhaps it's kernel related? For the record I'm on unlocked bootloader.

Sent from my Sony Xperia Z1 Compact
[Xperia Z1 Compact Original Android Development] luminoso:
Hummm that points to kernel OR unlocking bootloader problem (I think)
[Xperia Z1 Compact Original Android Development] tramp20:
Do we need a new kernel for the update 14.3.A.0.757?

I have waited for this update to finally root my Z1c.
[Xperia Z1 Compact Original Android Development] thermalboyz:
+1 & awaiting confirmation b4 messing up
[Xperia Z1 Compact Original Android Development] DooMLoRD:
sure!

just post kernel.sin!
[Xperia Z1 Compact Original Android Development] MrMmmkay:
here we go:

http://www.file-upload.net/download-8800074/kernel.sin.html

Could you please have a look into the date issue in cwm backups?
[Xperia Z1 Compact Original Android Development] thermalboyz:
Kernel.sin extracted from http://xdaforums.com/showpost.php?p=51769956&postcount=31

Russian ftf