yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] jcputs:
SOLVED - Stupid mistake, painful consequences: boot loop

EDIT solved, holding volume up and then connecting USB enabled me to use fastboot to flash original kernel

I was on stock 14.2.A.1.114 with cwm-recovery 6.0.4.6 and rooted, bootloader unlocked. I flashed the "Advance Stock Kernel with Recovery v04 (FW:14.3.A.0.757)" (thinking that would upgrade the phone to Kitkat, which I now realise was a stupid mistake) with fastboot, and used fastboot to reboot. Now the phone is in a continuous boot loop:

- power -> sony logo, reboot, sony logo, reboot, ...

- power+vol.up -> phone powers down

- power -> sony logo -> vol.down -> cmw-based recovery 6.0.4.6 shortly shows instructions on bottom of screen (only instructions not the menu) -> reboots, boot loop

I tried hooking it up to PC companion but that goes nowhere either. I am sort of desperate. Can you please help me find a way to fix this?
[Xperia Z1 Compact Original Android Development] mirultebe:
cannot deodexed

hello, after root + unlock bootloader + flash 757 advance kernel on stock rom .761, i want to deodexed my phone but flash aborted. i'm using twrp recovery. its say md5 not found. anyone know solution for this?
[Xperia Z1 Compact Original Android Development] shashidharga:
Hi friends,

I've upgraded my Z1 Compcact to Android 4.4.2: 14.3.A.0.757 – v04. Unlocked bootloader and installed the CWM as per the procedure from this thread. After rebooting, while the screen displaying SONY a pink color light will flash and If I press the volume up buttom it will boot into CWM recovery mode screen. How to boot the phone into normal mode ie., from the stock firmware preinstalled. My phone is not booting normally and is in boot loop. Please any body tell me how to get out from the CWM recovery and boot the phone from stock firmware.

Regards,

Shashi
[Xperia Z1 Compact Original Android Development] dron39:
Stock Android 4.4.4 released for our devices!

Hope update will be soon. ;)
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Downloading 4.4.4, I will upload the kernel.sin asap :)
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Here we go :):

kernel_14.4.A.0.108_RU.sin
[Xperia Z1 Compact Original Android Development] bilboa1:
if you need it for root as most, just flash any of the recovery, root it, then flash back the kernel with flashtool.
[Xperia Z1 Compact Original Android Development] shaldi:
how to fix my handphone. stuck on sony logo boot loop. cannot go to recovery. flashtool wont open n not working. please help me.
[Xperia Z1 Compact Original Android Development] :
Could you please stop spamming the board? For your information, I'm working a kernel with CWM for 4.4.4 and if you stop spamming the thread I might share it on XDA if I manage to get CWM working.
[Xperia Z1 Compact Original Android Development] TheEndHK:
http://xdaforums.com/showthread.php?t=2632808

This one v05 from DooMLoRD works for .108 ... can you port it? We're still stick on v04.

[ Requirements ]

Bootloader unlocked

working fastboot

STOCK ROM FW:

4.4.4

14.4.A.0.108 - v05
[Xperia Z1 Compact Original Android Development] Ravermeister:
new Firmware 14.4.A.0.118

Hi,

sorry if it has asked before, but there is a new Firmware Released (14.4.A.0.118)

see http://www.xperiablog.net/2014/07/1...-0-118-arrives-on-vodafone-germany-and-spain/

any info when there will be a kernel with cwm available for this Firmware?

or is there any good tutorial how to do that with the stock kernel?

p.s. It is also released for the xperia Z1 Compact, I need the boot loader for the Z1 Compact

Thanks in advance for your help

kind regards

Raver

edit:

I've got a workaround, but I haven't tested all functionalities yet.

(based on this Thread: http://xdaforums.com/showthread.php?t=2711982 )

what I've done was:

- Pre requirements:

Unlocked Bootloader

(I also have the FlashTool (http://www.flashtool.net/index.php) installed, including the additional driver installation for the xperia Z1 Compact (D5503)

- I've installed the stock Firmware 14.4.A.0.118,

- enabled USB debugging and "install apps from unknown location"

- downloaded and extracted http://nut.xperia-files.com/?dlid=WjFDLWxvY2tlZGR1YWxyZWNvdmVyeTIuNy4xNTMtQkVUQS5pbnN0YWxsZXIuemlw from http://nut.xperia-files.com/

- opened cmd as Administrator and Navigated to the install.bat to execute it.

chose option 3 enable root

after that I had TWRP backup and was able to install SuperSu.

---- EDIT:

I've uploaded the Stock Firmware, generated with the Flashtool from the Files downloaded by the Sony PC Companion

https://cloud.rimkus.tk/public.php?service=files&t=80b78f271e81b93186ed4c342607f8f1
[Xperia Z1 Compact Original Android Development] sanik90:
is it safe to use CWM from 4.4.2 to flash it on 4.4.4 version? because I couldn't find it CWM for 4.4.4, sorry for asking such silly question, any words?
[Xperia Z1 Compact Original Android Development] MrMmmkay:
You can hotboot with a 4.4.2 kernel (see flashtool, fastboot), flash your zip files and just restart, than the old kernel boots up again.
[Xperia Z1 Compact Original Android Development] sanik90:
so you mean that I can flash it using v04 on 4.4.4 as it is running 4.4.2?
[Xperia Z1 Compact Original Android Development] MrMmmkay:
You can't run a 4.4.4 rom with a 4.4.2 kernel, so don't Flash it. BUT you can hotboot a 4.4.2 kernel to go into recovery and flash some zip files or make a backup. Hotboot means that the Rom is only booting the selected kernel once.
[Xperia Z1 Compact Original Android Development] sanik90:
ok thanks, but I really dont know how to do hotboot, I tried on my phone running 4.4.2, works fine, but his phone already upgraded to 4.4.4 and he asked me to install CWM on his phone too, then I stuck here, haha
[Xperia Z1 Compact Original Android Development] LSI:
I update in 14.4.A.0.108 (flash not modified kernel, relock, update with PC companion, unlock)

Now, i do hotboot with flastool

flashtool boot boot.img

I boot in CWM and install Super User

Reboot

I see SU but it's look not working. I can't install Busybox and i don't get any request to grant root access.

What i do wrong ?

Thanks
[Xperia Z1 Compact Original Android Development] Saaber:
I just tried this on my new Z1 Compact with 4.4 that I just got on Friday, and it seems to have screwed it up. I flashed Doomlord's kernel, booted into recovery, and installed the Superuser .zip file. Now when I restart the phone, it shows the Sony logo, the LED lights up purple, and then the screen goes blank. It's booted up in some way because my computer will see it. If I hold down the power button and volume up, it will turn off, and if I turn it back on again and press one of the volume buttons, it will go into recovery mode again, but I can't get the phone to completely boot up. Is there a stock kernel I can flash in recovery? Is there some other way to restore it?

Thanks in advance for any ideas!!!
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Try the latest zip Version of SuperSU instead of SuperUser...
[Xperia Z1 Compact Original Android Development] LSI:
I use SU from Chainfire (v2.02)

May be the problem is i don't factory reset phone, just back to original Kernel and relock to update without any lost on phone. Because i don't lost any SU parameter.

I backup all with Titanium Backup, but i search a way without wipe all.

I will try this way to install SU :

http://xdaforums.com/showthread.php?t=2784900

Editing :

I look better, SU looks works fine, the problem come only from Busybox, i don't arrive to install it (error to install it with "busybox free")

It's look like system can't be mount in RW

Busybox exists as a zip to install from CWM ?
[Xperia Z1 Compact Original Android Development] brocnical:
You have probably done everything correctly to obtain a "partial root", but the problem is that (unlike other Android phones) to get a fully working root on a stock Sony firmware you also have to disable Sony's "RIC" security feature. See point #6 here: http://xdaforums.com/showpost.php?p=53085489&postcount=225

PS: both Clockworkmod Superuser and SuperSU work fine (I personally use Clockworkmod Superuser)
[Xperia Z1 Compact Original Android Development] LSI:
Thanks, your are right with RIC security from sony.

Now, my problem is solved. Thanks for your help.

I still have original kernel and root.

The way to update from PC Companion and root :

- Restore original Kernel with Flashtool (last version, normally, you can find ftf of your actual ROM version on XDA)

- Relock bootloader with flashtool (button BLU)

- Update with PC Companion

- Root using http://xdaforums.com/showthread.php?t=2784900

The way to get CWM :

- Read first post and do "Fastboot boot boot.img" instead of "Fastboot flash boot boot.img". The modified Kernel will be used only once. So directly after load kernel, phone restart, you must press volume down key to enter in recovery. Do what you need and restart. Orignal kernel is restored and phone restart.
[Xperia Z1 Compact Original Android Development] sanik90:
try to flash stock ROM back

here is the link http://xdaforums.com/sony-xperia-z1-compact/general/stock-rom-xperia-z1c-d5503-14-4-0-108-t2801269
[Xperia Z1 Compact Original Android Development] sanik90:
now I know different between "fastboot boot" and "fastboot flash boot", I'm previously using S4, so most of flashing using Odin, simple click of a button, been doing lot of reading on this and improving a little bit, hehe

thank you all
[Xperia Z1 Compact Original Android Development] EpicLPer:
Heya!

Just a quick question but what do I have to do if I'm on the 4.4.4 ROM (14.4.A.0.108)? I need CWM to install the Resurrection Remix ROM.

Thanks already!

---------- Post added at 08:46 PM ---------- Previous post was at 08:07 PM ----------

Okay guys, problem solved!

Till this guy here releases an 4.4.4 recovery method use this method here instead.

For everyone already on 4.4.4 use this: http://nut.xperia-files.com/

Download the "Z1C-lockeddualrecovery2.7.154-BETA.installer.zip (23.61MB)" zip, extract it, use the installer and choose the "unrooted" option (easiest way of all).

Then you can easily reboot into CWM (Up) and TWRP (Down).

Have fun :)

Also press "Thanks" so many people will see this if they have the same issue as me, thanks much!

PS.: My recommendation as ROM is "Resurrection Remix" :) Of all tested ROMs I just love it!

PPS.: Both tested and working fine! :D
[Xperia Z1 Compact Original Android Development] milestoneman:
install this

http://xdaforums.com/sony-xperia-z1-compact/development/cwm-recovery-kernel-deactivated-ric-t2814708

had the same issue and this fixed it for me
[Xperia Z1 Compact Original Android Development] Milltach:
The downloads from DooMLoRD should be maybe removed, because flashing it on 4.4.4 devices will kill your boot. There is no recovery nor can you boot into the system.

Not really sure what to do now.

This can help.
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Why removing? In first post is written for which Firmware it can be used, everyone who can read shoult not run into trouble...
[Xperia Z1 Compact Original Android Development] DooMLoRD:
Post the latest kernel.sin I will update the OP with working files
[Xperia Z1 Compact Original Android Development] MrMmmkay:
Hi DoomLord!

Could you please create a new Kernel for .157? Here is the kernel.sin:

http://www.file-upload.net/download-9806964/D5503_14.4.A.0.157_R2C_Customized-DE_kernel.sin.html

Thanks!!
[Xperia Z1 Compact Original Android Development] ZedbeHiro:
Please Help, OOOOh Please

Hello Mr DoomLord.

I kinda wanna ask you for a help.

I just unlocked the bootloader on my xperia z1 compact

D5503, Android 4.3, FW 14.2.A.1.114.

I found your thread, but the link to kernel is broken, please.

What i wanna do is to flash the kernel (if there is newer version, i would be happy for.), install the recovery (i dont know what is better, CWM or TWRP and not sure which version.), install the newest room possible (i dont mind, if the fastest and most stabile version is just 5.1.1 ) and finally i wanna root it, thats my goal to ROOT.

.

.

.

please can u help me quicky with the links, i think i know what to do, just not sure about the versions to install.

CAn u help me out ?

I sent PM also.

best regards

Zbysek, Slovakia
[Xperia Z1 Compact Original Android Development] Lifeketsvile:
please! update link
[Xperia Z1 Compact Original Android Development] HellraiseR66:
Hello, frends!

Can you update link for Advance Stock Kernel with Recovery v01 (FW:14.2.A.1.114} ?
[Xperia Z1 Compact Original Android Development] ikenley:
Yes there is an officially supported unlock method. http://unlockbootloader.sonymobile.com/supported-devices

Sony allow for unlocking provided it's supported (not blocked) by the carrier.

The C6902 (Z1 HSDPA) and C6903 (Z1 LTE) are mostly unlockable through Sony's site. There are a few carriers in UK/Europe who have opted to block bootloader unlocking.

The Z1 Compact (D5503) looks to be unlockable, but it's not widely available yet to validate.

The Z1S (T-Mobile US) is completely locked down.

The issue for most is that there isn't a consistent root exploit for Z1 with locked bootloader.

Current steps involve downgrading, using dubious vroot/kingo root then either updating via OTA and applying some scripts to prevent reboot when modifying system directory or installing pre-rooted firmware.

All methods are convoluted and time consuming.
[Xperia Z1 Compact Original Android Development] jcase:
If someone can dump system and get me the ram disk for the Tmobile Z1S I will look.
[Xperia Z1 Compact Original Android Development] nintendolinky:
Do you think we can find root for the locked boot loader of the Z1 Compact D5503, I can unlock mine, but would prefer to backup the TA partition first.
[Xperia Z1 Compact Original Android Development] funiewski:
Z1 compact is possible to unlock through Sony if unlock bootloader=allowed, but users want to backup ta partition before unlocking for guarantee reasons and you need root for ta backup tool
[Xperia Z1 Compact Original Android Development] Koenig77:
Bounty would be a great idea, but I dont know anything how to go about such a thing.

Do you use a service like crowdfunding.com or .....
[Xperia Z1 Compact Original Android Development] funiewski:
i will try it but "cwm_prerooted_Z1.zip" whats that? i´m new to z, where to find it?

Edit: i´ve found prerooted z1 zip, prerooted zip for z1c=? dooms advanced stock kernel for z1c?

Edit 2: i´m ignorant, looked into z1 prerooted zip, it has nothing to do with kernel, su+busybox and stop for sonys ric inside, has z1 compact ric? is it possible to use same prerooted zip as for z1?
[Xperia Z1 Compact Original Android Development] DooMLoRD:
will send u entire firmware soon...

will send for the following devices:

Xperia Z1

Xperia Z1 Compact

Xperia Z1s

you still available on that gtalk/hangout ID right? ;)
[Xperia Z1 Compact Original Android Development] jcase:
The TA partition is not my care, if unlockable they should use the unlock to handle it.

I will look at a possible root for the ones that are not currently unlockable.
[Xperia Z1 Compact Original Android Development] jcase:
gtalk is fine.

I am only concerned about any that is NOT unlockable, I dont need the firmware for the unlockable variants.
[Xperia Z1 Compact Original Android Development] DooMLoRD:
ok then will send firmwares for Z1s
[Xperia Z1 Compact Original Android Development] withoutwings:
Yeah, but the TA partition is apparently important not to trash without a backup; otherwise I would be happy to go straight in and unlock my Z1C bootloader. I really dislike doing anything that is irreversible if I can help it. Unless there is another way to back it up first without root that I've missed?
[Xperia Z1 Compact Original Android Development] jcase:
This isn't a concern on my part and isn't something I am going to invest time/money into, sorry.
[Xperia Z1 Compact Original Android Development] DanielMalmgren:
I have a brand new Z1 Compact with unlocked bootloader (first thing I did when I got it). I don't know if there's anything I can do to help here?

/Daniel
[Xperia Z1 Compact Original Android Development] nelvinchi:
Hi!

I'm more than willing to donate to compensate for your time finding an exploit that will allow root without unlocking the bootloader on the Z1 Compact - I want to backup the TA partition - not bothered about DRM keys, but don't want to loose the Bravia Engine.....

I appreciate that this isn't a concern for you, so apologise for this request, but I, and many others, could rest assured that a seasoned dev such as yourself worked on and produced a "fix"....

Many thanks!

:D
[Xperia Z1 Compact Original Android Development] GR36:
Have you noticed the loss of bravia engine?
[Xperia Z1 Compact Original Android Development] nelvinchi:
I'd love to know if it's gone or still works - working = unlock and flash city! :D
[Xperia Z1 Compact Original Android Development] funiewski:
It´s working untill point 8, after flashing docom ftf and rpm bootloop after sony logo, compact is booting without problems with docomos firmware
[Xperia Z1 Compact Original Android Development] jcase:
ok someone with a non-unlockable one,

I'm willing to test on one, i need linux or OSX with adb working as well as ssh setup for access.

Please dont bother if your device is unlockable through official means, I have no interest
[Xperia Z1 Compact Original Android Development] AndroPlus:
It's good news;)

Please retry with skipping step 7 and 8.
[Xperia Z1 Compact Original Android Development] DanielMalmgren:
Well, I can't say I looked much on the phone before unlocking it, but I can say that I find the screen quality very good. Crisp colors and very bright.

The only thing I have noticed not working is the equalizer not working. I can pull the levers but there is no difference in the sound. Also I guess TrackID isn't working, wouldn't know since I've removed the app :cyclops:

/Daniel
[Xperia Z1 Compact Original Android Development] TheQwertiest:
Uhm... Actually, moderators moved this thread to the separate Z1 Compact device forum. The device that you are working with is Z1S, discussion of which is in Z1 forums (where was this topic not so long ago), so you might want to repost it there, coz you probably won't get much assistance here :\

PS: Still glad, that you are willing on unlocking new devices. Kudos to you )
[Xperia Z1 Compact Original Android Development] funiewski:
After step 6 the earlier flashed z1 dualrecovery is still present(but has wrong resolution in twrp=unusable,cwm can´t mount ex-sd), if I reboot the phone dispaly is still blank. There is no dualrecovery with installer for z1 compact yet, I wrote to [MENTION=4904057][NUT][/MENTION] about it, and no prerooted zip for compact. Is there any recovery installer and prerooted zip for the japanese z1 f? stripped ftf means what? which parts should I skip during flashing?

Thanks for your help!
[Xperia Z1 Compact Original Android Development] nintendolinky:
Are you saying you managed to flash a cwm recovery on a locked bootloader or have you managed to root on a locked bootloader.
[Xperia Z1 Compact Original Android Development] funiewski:
if you follow his guide can you see what i have done, i´ve been stuck on step 8 yesterday, that was recovery and root installed but you have to come back to firmware for compact or z1 f (japanese compact) bcs there is blank screen when you have z1 firmware installed
[Xperia Z1 Compact Original Android Development] AndroPlus:
I'm sorry, C6903's prerooted zip wasn't needed and I created prerooted zip for Z1 Compact.

Z1 f uses dualrecovery for Z1.

Here's correct steps:

Requirements:

SO-02F_14.1.H.1.281_docomo.ftf

C6903 14.1.G.1.534 ftf

prerooted zip for Z1 Compact 14.2.A.1.114 (put it in internal storage)

XZDualRecovery + rootkitXperia

XZDualRecovery (Z1-lockeddualrecovery2.7.77-BETA.installer.zip)

1. Flash SO-02F_14.1.H.1.281_docomo.ftf

Wipe: Check all Exclude: Uncheck all

2. Boot and enable USB debugging and Unknown sources

3. Flash C6903 14.1.G.1.534 ftf

Wipe: Uncheck all Exclude: Check all but uncheck system and kernel

---Display shows nothing---

4. Boot and wait 5 minutes.

Display will be blank, but don't worry, you can see screen with DDMS if you want.

5. Run XZDualRecovery + rootkitXperia's install.bat.

This will root with CVE-2013-6282 and install recovery.

It will reboot automatically when completed.

6. Press volume up to enter to CWM

cwm_prerooted_Z1.zip will automatically installed and reboot when completed.

Now Z1 Compact has rooted Z1 Compact system and C6903's kernel, we will flash Z1 Compact's kernel

7. Shutdown with volume up + power long press, then enter to flashmode

8. Flash Z1 Compact 14.2.A.1.114's kernel and rpm.sin

Wipe: Check all Exclude: Uncheck all but check system

---Now display shows correctly---

9. Boot and install recovery using Z1-lockeddualrecovery2.7.77-BETA.installer.zip

10. Done!
[Xperia Z1 Compact Original Android Development] funiewski:
I´ve tried two times. That happens something wrong at step 6, phone is not rebooting, waited more then 10 min. When i reboot manually vol up +long press i can see in flashtool that it is boot looping, can not access recovery, when i have flashed compacts kernel (step 8) it boot up without problems but device is not rooted, i presume cwm prerooted zip for compact is not working as expected.. Next time it will work :)
[Xperia Z1 Compact Original Android Development] Tobi@s:
Awesome work [MENTION=2784807]DooMLoRD[/MENTION] !

Everything works as expected :D
[Xperia Z1 Compact Original Android Development] nintendolinky:
I don't understand why the docomo rom has to be flashed. Can't we just flash the z1 kernel and then root doing the rest.
[Xperia Z1 Compact Original Android Development] funiewski:
have tried, did not work out for me(boot loop), but you can test, maybe i have done something wrong, now the problem is prerooted zip for z1 c [MENTION=5169444]RyokoN[/MENTION] has made
[Xperia Z1 Compact Original Android Development] SXUsr:
+1 =)
[Xperia Z1 Compact Original Android Development] AndroPlus:
I updated recovery and busybox with [NUT]'s one and I moved step 7&8 (flashing Z1 Compact kernel) to step 6&7 to show progress / error of CWM.

Please redownload cwm_prerooted_Z1.zip and download rootkitXperiaZ1c.zip.

I'm not good at making flashable zip, sorry if I'm making wrong one...

Thanks [NUT] for dualrecovery for Z1 Compact.

Requirements:

SO-02F_14.1.H.1.281_docomo.ftf

C6903 14.1.G.1.534 ftf

prerooted zip for Z1 Compact 14.2.A.1.114 (put it in internal storage)

rootkitXperiaZ1c

XZDualRecovery (Z1-lockeddualrecovery2.7.77-BETA.installer.zip)

1. Flash SO-02F_14.1.H.1.281_docomo.ftf

Wipe: Check all Exclude: Uncheck all

2. Boot and enable USB debugging and Unknown sources

3. Flash C6903 14.1.G.1.534 ftf

Wipe: Uncheck all Exclude: Check all but uncheck system and kernel

---Display shows nothing---

4. Boot and wait 5 minutes.

Display will be blank, but don't worry, you can see screen with DDMS if you want.

5. Run rootkitXperiaZ1c's install.bat.

This will root with CVE-2013-6282 and install recovery.

It will reboot automatically when completed.

6. Shutdown with volume up + power long press, then enter to flashmode

7. Flash Z1 Compact 14.2.A.1.114's kernel and rpm.sin

Wipe: Uncheck all Exclude: Uncheck all but check system

---Now display shows correctly---

8. Boot and press volume up to enter to CWM

cwm_prerooted_Z1.zip will automatically installed and reboot when completed.

Now Z1 Compact has rooted Z1 Compact system and C6903's kernel, we will flash Z1 Compact's kernel

9. Boot and install recovery using Z1-lockeddualrecovery2.7.77-BETA.installer.zip

If it bootloops, enter to CWM and wipe data/cache/dalvik-cache

10. Done!

→See Darkimmortal's guide

http://xdaforums.com/showthread.php?t=2634196
[Xperia Z1 Compact Original Android Development] DreamDiver:
Im a little bit confused...

Yo have to unlock the bootloader for rooting.

You have to backup the TA Partition before unlocking the bootloader to avoid irreversible loss of DRM Keys...

You have to be root for backup? :confused: