yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Cpasjuste:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

Thanks for the logs. Unfortunately I don't see a problem at first look.

Else yes a full restore should solve this.

---------- Post added at 05:38 PM ---------- Previous post was at 05:30 PM ----------

You should try to manually create the recovery boot flag file and reboot to see if it work:

touch /cache/recovery/boot

reboot

Else the cache partition probably just got screwed if you didn't wait for the wipe to finish.
[Xperia Z Original Android Development] nobnut:
I'm pretty sure the cache partition got messed up before I wiped. Hence I wasn't able to boot into recovery.

I did wait for the wipe to complete. But then I wiped in flashtool, so it overwrote everything anyway.
[Xperia Z Original Android Development] indianl:
I did that, and after the reboot I was able to enter recovery. I chose "reboot" in recovery, and after that I can't enter recovery again.

/cache/recovery doesn't contain the "boot" file anymore. There is only a last_log file
[Xperia Z Original Android Development] Cpasjuste:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

This file content could be interesting!
[Xperia Z Original Android Development] brambizimski:
Why can't I just use the CWM app to install the recovery ? Didn't try it yet because I'm afraid of losing DRM.
[Xperia Z Original Android Development] Cpasjuste:
Because since the bootloader is locked it involve more hacks.
[Xperia Z Original Android Development] nobnut:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

But I have that single file in my cache also, with no problem booting into recovery now.
[Xperia Z Original Android Development] r1c4rd0:
i still dont know what to do, i have nothing in the cache folder.
[Xperia Z Original Android Development] dubist:
i have nothin in my cache folder too
[Xperia Z Original Android Development] krabappel2548:
my XZ suddenly doesn't do a single thing anymore, it's a strange problem.. It seems dead

I'll let you guys know if I get it to work again, otherwise I'll have to sent it in for repair..
[Xperia Z Original Android Development] Cpasjuste:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

Arg thats sad!

This is for sure not related to the recovery.

Else tomorrow I will read all your messages problem about cache to really understand your problems.

But please, I need to know if everyone with a cache problem is using a ZL device or I won't be able to help.
[Xperia Z Original Android Development] ajay83:
This **** is winding me up. Rooted, installed new recovery. Wiped, system, data, cache, tried installing your rom, followed all instructions and now in bootloop?!?
[Xperia Z Original Android Development] dubist:
i've found the Problem for all users here with the reinstall not working of CWM.

First download Flashtool from here : http://xdaforums.com/showthread.php?t=2162907

than download this Firmware : http://xdaforums.com/showthread.php?t=2173528 and choose any source where to download.

After you download that go to flashtool and set all how in the Screenshot on my attachment :

After this go on Flash .

When finished download the latest CWM Package for locked Bootloader and flash that with USB DEBUGGING ON !

And now HAPPY FLASHING THROUGH RECOVER Y:good:
[Xperia Z Original Android Development] dhruvzz:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

I installed this recovery in da evnin...dan on first boot to it it was working grt as i flashed blacktheme as well as the black mav and statusbar its all working..but den wen i tried getting into recovery in my xz now to flash rom...it wont go into recovery mode...:(
[Xperia Z Original Android Development] Roscobigfoot:
when rebooting, the phone sometimes reflashes stock recovery iirc. reflash cwm and there is an option to stop it flashing stock somewhere...

im sure this is the case, i might be completely wrong though...
[Xperia Z Original Android Development] nobnut:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

Sorry, but this is just rubbish. How do you think that people have been doing it?

CWM is fine for a while... then just craps out.

Something is causing a file or directory to be deleted.
[Xperia Z Original Android Development] Cpasjuste:
Well there's no recovery flashed at all nor the stock recovery overwritten so it can't be that.

I did not encounter any problem since yesterday, flashed a few zips and wiped cache multiple times, so i don't know if there's really a problem on the recovery side.

So for every people that can't enter the recovery anymore, answer this questions:

What exactly is your device ? Xperia Z, ZL ?

When you see the sony logo at boot, do you see a green led ?

What was your last action in recovery (if any) before the problem ?

Optional but if you can it's better

Post the output of the recovery installation (dos window)

Post the output of the file located in "/cache/chargemon/chargemon.log" (after trying to enter recovery at least once)

Post the output of the file located in "/cache/chargemon/chargemon.log.old" (after trying to enter recovery at least once)

Post the output of the file located in "/cache/recovery/last_log" (after trying to enter recovery at least once)

Also keep in mind that some files are flashed to your system partition for the recovery to work ( /system/bin/chargemon/, /system/bin/recovery.tar ) so if you flash a rom or something that wipe system partition, you'll loose the recovery.

Without that informations this problem won't be solved ( at least by me :p )

Thanks!
[Xperia Z Original Android Development] zanndoth:
Here's my report after about 12 hours of using the v3 on the Z.

Part 1.

- Installed recovery and reboot in to recovery successfully

- reboot from recovery and choose 'no' when prompted

- restarted successfully in stock ROM. reboot into recovery again to test zip rom installation.

- tried installing KA2.02, but fail. no error. just hang.

- force reboot and phone is bricked. just show SONY logo. can't get into recovery either.

- too lazy to download FTF so i just use SEUS to reflash stock ROM.

Part 2.

- Rooted the phone and install recovery again.

- reboot from recovery and choose 'no' when prompted

- restarted successfully in stock ROM. reboot into recovery again to test zip rom installation.

- Successfully installed RomAur and reboot. Selecting 'no' when prompted.

- System starts successfully and evrything works fine.

- Reboot into recovery and install smaller softkeys mod successfully.

- Reboot and selected 'no' when prompted.

It was 2 am and was too tired. Reboot successfully and went to sleep.

Part 3. Next day

- Saw the thread that some people has issues with rebooting recovery again so I tried as well.

- Reboot the phone and can't boot into recovery.

- Can see the Sony logo, but no green light. Just boot into system normally.

- Restarting, shutting down and hard reset doesn't do any different either.

- So re-run the script to get recovery again and it's working now.

- However, this time I choose 'yes' when prompted by recovery when reboot is selected.

- Rebooted the devices a few times, and recovery is stil there.

I will try to reinstall zips, backup, restore and what not to see if I lose recovery again. Will report if I see anything worth reporting.

PS: After I post this(which took some time) , I saw Cpasjuste post. And I don't have the details he required. But if the same thing happens again, I'll gather those info before i do anything else.

---- Edit -------

FYI, I'm using RomAur 1.3. Not 1.3.1 which was modified for locked bl.

---- Edit 2 -------

Backup successfully.

Tried to reinstall RomAur 1.3 again and it stops at " - - Format system". Progress bar have not moved for the past 10 mins.

Phone bricked. Will reflash stock rom and do everything from scratch again. This time I'll get all the logs that Cpasjute needs.
[Xperia Z Original Android Development] secany:
I when flash custom rom, recovery gone, that;s normal. Have to install recovery again. I did it, and select "NO" when asked as well, and it still there. However, I have couple random restart on RomAur 1.3 , mostly few seconds after select language. If I leave it for about 2 minutes without select language, then select language, then it works fine.

how about you ?
[Xperia Z Original Android Development] zanndoth:
During the first start up, it did rebooted once. But after that it's ok. Didn't notice any restart since then.

--edit---

And if u noticed, my recovery was still there after I installed custom rom. I manage to install other mods after that as well. It was only this morning when I tried to go to recovery, it failed.
[Xperia Z Original Android Development] secany:
did you try es file manager with root explorer with root enable, all options on? It always restart on my phone.
[Xperia Z Original Android Development] zanndoth:
nope. will do that after i restore my phone. check the same post. i tried to reinstall AurRom again and it hang. bricked. lol.
[Xperia Z Original Android Development] zanndoth:
I did a fresh install of the stock rom followed by root and recovery. The requested files are attached.

Update 1:

After installing RomAur 1.3, recovery is gone. So are the chargemon log files. No issue with reboot caused by ES File explorer as reported by secany.

Update 2:

I re-do everything with RomAur 3.1.1 and I did not lose recovery this time. Which means... we can't use any ROM, unless they've been modified for locked bootloaders. Right?
[Xperia Z Original Android Development] finoqq84:
Still boot loop

i have just intalled the latest v3 CWM. Still got the batt icon boot loop. How to recover?
[Xperia Z Original Android Development] zanndoth:
I'm assuming that your bootloader is locked since you post it here. If you already have a stock FTF file, just use Flashtool to flash stock rom. If not you can download it from http://xdaforums.com/forumdisplay.php?f=2087

Alternatively, you can use SEUS, to restore your phone back to factory default which you can download at http://www.sonymobile.com/global-en/tools/update-service/

PS: To switch your phone off, press and hold Power + Volume Up till ur phone vibrate 3 times.
[Xperia Z Original Android Development] finoqq84:
no, i am on locked boot loader. help...
[Xperia Z Original Android Development] zanndoth:
I mean locked bootloader. Just use the methods i mentioned.
[Xperia Z Original Android Development] finoqq84:
but actually whats cause the problem? i thought its a stable version of cwm already?
[Xperia Z Original Android Development] zanndoth:
CWM is stable. But recovery for locked bootloaders have some restriction/limitations. And since the recovery for locked Z is still new, there might still be some bugs that we just haven't discovered yet. Plus., not all custom stock roms have been modified to be compatible with recovery for locked bootloader.

That's as much as I understand. For futher details, you need to ask the pros :D
[Xperia Z Original Android Development] finoqq84:
Maybe i should wait for a moth for everything to settle down.. :crying:

Got to reinstall all my apps again...
[Xperia Z Original Android Development] zanndoth:
I tried RomAur 1.3.1 which has been modified for locked bl and it's working fine. I didn't lose recovery. But i'm having problem restoring backup from recovery. Which is not really a big issue since i don't intend to flash rom often. If i want to do that, I'l be unlocking my bootloader. =D But I have the S for that.

Since we can only used stock based rom, Titanium Backup should be good enough to backup n restore apps and data.
[Xperia Z Original Android Development] Cpasjuste:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

Thanks ! Finally all I need :) More post like yours would help.

I will take a look at it today.

Else to answer you: I think you may use any stock based ROMs (or maybe they **** something when trying to flash the kernel) but will loose recovery (as its located in system). The locked ROMs have the recovery files already in system so you don't loose it.
[Xperia Z Original Android Development] zanndoth:
Since using RomAur 1.3.1, my phone has rebooted 5 times in an hour. Will report the same issue in the rom thread as well.
[Xperia Z Original Android Development] finoqq84:
Yeh!!!

hi, i have just reflashed everything, root and reinstall the CWM. It works!! I selected Yes and rebooted. Done. YEH! :D never say die!!!
[Xperia Z Original Android Development] bingozb:
please add support for the external sdcard of exfat fstyle
[Xperia Z Original Android Development] brambizimski:
Anyone else unable to mount /sdcard & /data through recovery ? /system isn't giving any error messages but it's not detecting anything though.
[Xperia Z Original Android Development] zanndoth:
Update 3:

Get a lot of random reboots during a first 1 hour of using this rom, but none after that. But somethign strange happens. 3 hours later, i can't enter recovery anymore. The green light still shows when the Sony logo appears, but i can't enter recovery. I'll get the log and attach it again if u want.

Update: 3.5

Unfortunately, I can't attachde any log... because the cache is empty for some unknown reason. =x

hmmm ...I remembered selecting 'no' when I reboot after installing the rom in recovery.
[Xperia Z Original Android Development] Cpasjuste:
Yes please.

Did it ever work to enter to the recovery with the combo keys ?
[Xperia Z Original Android Development] zanndoth:
Updated post. The cache folder is empty. Can;t get into recovery anymore.
[Xperia Z Original Android Development] Cpasjuste:
Ok thanks. But still, you didn't answer to the question :D

---------- Post added at 02:39 PM ---------- Previous post was at 02:33 PM ----------

Ok well ! I will download the rom you'r talking about and try it myself. Since i did successfully backup and restore my stock rom (which i like, removed all crappy stuff with titanium and flashed 36dpi nav bar) with TWRP it won't be a big deal in case of problem :)

In the meantime, you could either try TWRP recovery to see if it help, but it seems the problem is maybe not the recovery as it crash while using the rom, or flash a stock rom and use it a few days and do backups and restores to see if a problem occurs. (since 3 days not problem at all for me, but well i didn't flashed a rom with it !).

Else TWRP backup/restore is fast and seems stable here.
[Xperia Z Original Android Development] zanndoth:
I'm not sure what you mean by combo keys. I usually get into recovery using the volume up button, but it didn't work this time.

Anything else you want me to check before I switch over to twrp?
[Xperia Z Original Android Development] Cpasjuste:
Well no thanks, this will be enough ! :)

We'll see if you get the same problems with TWRP !
[Xperia Z Original Android Development] zanndoth:
I think something went wrong with my phone. After installing TWRP, i still can't get into recovery. I tried the second time, still the same. Even tried CWM recovery, still can't into recovery.

I think i'll just restart everything from stock again. :crying:

--- edit ---

I reflashed stock again and install twrp successfully. performing backup now.
[Xperia Z Original Android Development] Cpasjuste:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

When you do the backup you can un check "boot" as its not needed. I dont think it will make a difference but well...
[Xperia Z Original Android Development] zanndoth:
Same thing happened again after I installed the same rom. RomAur 1.3.1

- it seems to come with it's own CWM. when when I go into recovery, i got into CWM recovery instead of twrp.

- everytime it boots into the new rom, 10-15 secs later, it rebooted automatically. it's still rebooting as i typed this

I think i'll just stick to stock or RomAur 1.3.

Or at least until KA02.2 can work with unlocked recovery.
[Xperia Z Original Android Development] VTR1000SP:
i had flashed JB 4.2 cam & gallery, bootloader fix by @fareeed, black nav bar & bootloader by @krabappel2548 without any problem.

i been using the above CWM by @Cpasjuste till now & have not face any issue, i assume above as v2 ? should i flash v3 ?
[Xperia Z Original Android Development] beni8978:
nooby question.

How to enter the recovery? I don't get any green led. :confused:
[Xperia Z Original Android Development] VTR1000SP:
did u flash CWM successfully to ur device ? or u using v3 as some having problem ? or i missed something...busy working not much time to read every page.
[Xperia Z Original Android Development] finoqq84:
reboots when using root explorer

after installing cwm, phone reboots everytime when i access root explorer or any program that can edit/explore system files. Any fix?
[Xperia Z Original Android Development] beni8978:
Can someone just tell me how to enter the recovery

I flashed it with the install.bat
[Xperia Z Original Android Development] VTR1000SP:
power off ur phone and switch back on, after sony logo show up is abt time the green led blink & thats when u start pressing volume up
[Xperia Z Original Android Development] beni8978:
Don't get any green led, just sony logo,then after xperia logo.

And the finish sony lines? :confused:
[Xperia Z Original Android Development] VTR1000SP:
try install this https://play.google.com/store/apps/...EsImRlLmo0dmVsaW4ubm90aWZpY2F0aW9uVG9nZ2xlIl0.

set the power toggle menu on and select recovery make sure u grant supersu.
[Xperia Z Original Android Development] beni8978:
Just got a normal reboot.

With pressing the reboot recovery(granted superuser)

And when trying to press bootloader I got a blue light(black screen)
[Xperia Z Original Android Development] VTR1000SP:
thats the easy way to reboot ur device, after sony logo show green led should be blinking, if not it mean u did not successfully flash cwm to ur device.
[Xperia Z Original Android Development] Cpasjuste:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

True!
[Xperia Z Original Android Development] VTR1000SP:
should i flash to v3 ? as i had use your 1st fix? it should be v2 right ?
[Xperia Z Original Android Development] beni8978:
Succes after good install :thumbup:
[Xperia Z Original Android Development] PeZoII:
DELETED
[Xperia Z Original Android Development] fards:
not installed this, but working through why it could be getting removed for some people.

etc/install-recovery.sh is sometimes the culprit but this one just calls a stop on ric

the version the installer for the recovery pushes looks different to the one in sbin after using the root exploit.

what does the ric command/service do?

not used that before
[Xperia Z Original Android Development] Kallb123:
As the script is finishing, it tries to create the file to speed up backups.

make file for faster backup
mkdir: cannot create directory '/sdcard1/clockworkmod/': Read-only file system
touch: /sdcard1/clockworkmod/.hidenandroidprogress: No such file or directory

I, however, currently have no SD card installed. Should it not put the file in /sdcard/clockworkmod/ (the internal storage) if no SD detected?

I've been trying to put the file there myself but I'm having difficulties. ES File Explorer says invalid file name... Terminal Emulator runs 'touch /sdcard/clockworkmod/.hidenandroidprogress' but no file is created...

Should I do it via adb?
[Xperia Z Original Android Development] Kallb123:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

I've also noticed that when trying to use an app that can edit system files (ES File Explorer for example) the phone just reboots.

I'm not alone here, several guys have posted this in twrp thread (but they are posting about cwm)
[Xperia Z Original Android Development] finoqq84:
i was on stock and root only before, did NOT have this reboot problems. After installing Recovery CWM or TWRP, it reboots when using root explorer
[Xperia Z Original Android Development] tomgus1:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

I'm using v3 CWM and I use ROM Toolbox Pro and I've not experienced any random reboots when using it at all.
[Xperia Z Original Android Development] Kallb123:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

Exactly same. I was editing build.prop and stuff easily but after cwm I can't even look in system folders
[Xperia Z Original Android Development] brambizimski:
Everything is working fine in the stock ROM, but when I try to mount anything in the CWM recovery I'm getting errors. For example, this is what the logs gives me when I try to delete my dalvik cache:

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found
I:Can't partition non-vfat: datamedia
I:Can't format unknown volume: /emmc
W: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata (Invalid argument)
I: using /data/media for /sdcard.
W: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata (Invalid argument)
[Xperia Z Original Android Development] krabappel2548:
The script will create the .hidenandroidprogress file on internal and external storage, so if the file is already there or you have no microsd-card it will give an error. But it's not a problem ;)

ok, but when you only clear dalvik cache and reboot, is it optimizing android system? Because I think it worked for me :)
[Xperia Z Original Android Development] Kallb123:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

Ok, I couldn't find the file anywhere with explorer. Should it show up?
[Xperia Z Original Android Development] beni8978:
Any fixes while switching to R/O in root explorer?I got reboots while doing that.
[Xperia Z Original Android Development] Kallb123:
Re: [Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders released[14-03]

Might not be fault in recovery. Someone's complaining of this in the root thread and they don't have recovery installed.
[Xperia Z Original Android Development] beni8978:
I'm stuck like 12hours on the PC because I can't bring back my statusbar and buttons because of this.

Getting some error while flashing the tft file.Don't know what to do more.
[Xperia Z Original Android Development] brambizimski:
Well no, I can't do anything because CWM cannot mount anything.
[Xperia Z Original Android Development] Milaann57:
Found the awnser to the reboot problem, do the following:

Go to settings- apps- superuser - clean files and deinstall

Simply run the root script (v21) again.

Tada working perfectly
[Xperia Z Original Android Development] wisswang:
cant go into the recovery mod

i dont know it is finished or not. cant enter the recovery and never see the green led light!
[Xperia Z Original Android Development] devabhishek:
buddy , u need to root your device first using this method

[ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_com]

and after u have successfully rooted your device , then proceed ahead to get CWM recovery :good:
[Xperia Z Original Android Development] shem2409:
Here is a video that I have made showing how to install custom recovery using your method : http://youtu.be/1MAH709Aeb0

I hope that the video helps someone :)

I have also made a video on how to root Xperia Z and how to fix NFX after rooting:

http://www.youtube.com/watch?v=5_30qYO54aA

http://www.youtube.com/watch?v=fiVsychKz2M

Thanks for a simple way of doing this :)
[Xperia Z Original Android Development] zanndoth:
Did you manage to fix it? If not use SEUS and reinstall stock rom.
[Xperia Z Original Android Development] niaboc79:
Hi my friend.

The pre-installed recovery inside rom doesn't work, can't enter in recovery, no green light.

Also after manual installation of recovery you need to:

1) clear superuser data

2) root again

or the phone reboot while you change RO to RW with root explorer.

Cheers