yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] krinyo75:
self bricked

Hi,

I've got an Xperia Z, and rooted through DooMLorD "technique" and flashed this XZDualRecovery 2.7.34 beta, on the phone. It has root and works fine on stosk rom with XperiaZ_C660X_KernelOnly_10.3.1.A.2.67 kernel.

But I tried two times to flash a cwm custom roms like FXP248-cm-10.1-20131202-UNOFFICIAL-yuga and aokp_yuga_jb-mr2_nightly_2013-10-18. After wipe dalvik/cache, format system, and restarting, the phone is self-bricked, does nothing. I can only in fastboot mode flash onto through SUS the original 4.2.2 stock rom.

I use philz revocery from this dual boot, and I know this 'cause I used to flash many times recoveries and custom roms onto my Galaxy S4. But with this Sony the flashin of custom roms won't work.

Does anybody why not? Thanks for answer.
[Sony Cross-Device General] kingvortex:
First, this is the wrong place to ask about this. DooMLoRD's thread is also not the correct place. You've been here long enough to know where to post asking for help. ;)

That being said, you need to have an unlocked bootloader to flash CM/AOSP/AOKP/PAC based roms as you need to flash a custom kernel for those roms.

Edit - I also noticed that you say you're formatting /system after flashing the rom. How do you think the phone will boot into the rom with no /system?
[Sony Cross-Device General] krinyo75:
Sorry, I mistaked :) before flashing did I format the system. Then the locked bootloader is the problem. Thanks, I'll try unlock it.
[Sony Cross-Device General] silverbios:
led is pink but phone freez in boot logo(sony)

see log:
[Sony Cross-Device General] [NUT]:
If you have an external sdcard, can you try to remove it and try to enter recovery again?
[Sony Cross-Device General] silverbios:
no i haven't sd card i use internal memory!
[Sony Cross-Device General] [NUT]:
Did you try to enter just CWM/PhilZ or did you also attempt to get in to TWRP?

If not, please test if you can enter TWRP...
[Sony Cross-Device General] silverbios:
twrp and philz not working!!!

tnx
[Sony Cross-Device General] shoey63:
Do you have a Market busybox installed? They can play havoc with your device:eek:
[Sony Cross-Device General] silverbios:
no!

busybox install with root doomlord method!
[Sony Cross-Device General] shoey63:
Try the latest beta. .37 from download page. Just tested it without any issues;)
[Sony Cross-Device General] travisd4est:
Got it to work. heres my Method

1. restart into flashmode. Flash tool the .67 ftf.

reboot.

2. run through the setup. turn on developers mode in phone settings and turn on USB debug.

3. reboot into flash mode again. flashtool the .423 kernel only. reboot.

4. use doomlords root.

5. after reboot. back into flashmode and flash tool the .67 kernel only. reboot.

6. use the file provided for flashing recovery. and all should be well.
[Sony Cross-Device General] skryte:
I'm on the C6606. Can I flash these other kernels?
[Sony Cross-Device General] travisd4est:
I too am on the 6606 tmobile version. 6606 and 6603 only.
[Sony Cross-Device General] [NUT]:
Well, as you might have noticed from [MENTION=4675598]shoey63[/MENTION]'s reply, I've restarted development again! :victory:

It took a bit more then just the memory as I said before the memory modules where not to blame, it was the motherboard unfortunately...

I proudly present: VENUS II, my development environment, which doubles as a centralized network storage:

Partslist:

AMD A8-5600K Black Edition (new)

ASRock FM2A88X-ITX+ (new)

4x Samsung Spinpoint F3 HD203WI, 2TB in RAID 10 (reused)

BitFenix Prodigy White (new to venus, had this bought a while back)

Kingston HyperX KHX1600C9D3K2/8G (new)

Cooler Master Silent Pro Gold 450W (new)

2x OCZ Agility 3 60GB (new to venus, had them lying around on a shelve)

Check List on Tweakers.net (includes specs, prices and pictures)

It is running Ubuntu 13.04 at the moment. 1 of the SSD disks is the OS disk, the RAID 10 HDD set is the main storage with the other SSD as intended cache disk to improve RAID performance.

Even without the SSD cache disk, performance ain't bad: I can build a recovery image in little over 11 minutes now... the original VENUS was quite slow in comparison: it generally took well over an hour ;)
[Sony Cross-Device General] shoey63:
That's a pretty cool rig!
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] 2.7.42 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com and the DevDB thread and as soon as enough people report it to be working fine will it move in to the Q&A thread as a RELEASE version.

Version 2.7.42:

Improved the anti-filesystem locking system, made it a service instead of a script that gets executed.

Version 2.7.41:

EXPERMENTAL SUPPORT: New devices added: Xperia Z Ultra and Xperia Z1.

Changed the way XZDualRecovery kills the last remaining processes keeping a lock on /system, /cache and /data. This was originally created for the Z1 and Z Ultra to fix a time_daemon issue causing the phone to reboot after 40 seconds but I've put this in general use for all supported models. If you enter any of the recoveries and you see your LED first flash and then constantly burn RED and the reason to enter recovery was to flash any ROM or to restore a backup:

STOP AND REBOOT

, gather logs and send them to me/attach them here, DO NOT TRY TO FORMAT/RESTORE: it will render your device USELESS and will require you to reflash your phone using an FTF...

You have been warned!

Updated Vanilla CWM to 6.0.4.5

Updated PhilZ Touch Recovery to 6.01.2

Have fun people!

NOTE: Unless anything pressing will be found in this version of XZDualRecovery, this will be the last one in this BETA range, this time for real :angel:

I'm working together with [MENTION=5321428]AngelBob[/MENTION] to have a nice present for you all at Christmas, so keep your eyes peeled here and please DO report problems!

For anyone who can only read here because of the 10posts limit, you can use the Q&A thread to report problems as it is inside the General forum!!
[Sony Cross-Device General] Cookie Ninja:
Thanks for the beta. I upgraded from 4.1.2 (firmware 253, I think) to 67 firmware (ota released for my customisation), and then used an older (34 beta, I think) using win64 pc. Full dual recovery with Philz touch working as well as working TWRP on my 6603 (both work with my 64 gb sd card exfat formatted, without remove/reinsert). Thanks. Good to see that your pc mainboard had been replaced and you are up and running again.

Dead Cookies leave no trails...
[Sony Cross-Device General] [NUT]:
I'm glad to hear your phone doesn't stall on entering recovery anymore! :good:
[Sony Cross-Device General] mattblack85:
After installing 2.7.42 beta i'm still getting the notification of using a "yuga". So i can't flash any rom on my TabZ sgp321 "pollux"

But you fixed this issue right?
[Sony Cross-Device General] [NUT]:
Heh, you did install the TabZ version, didn't you? :p

Just have to ask, I know it's currently a bit confusing with the many packages online...
[Sony Cross-Device General] shoey63:
Just a confirmation that Beta .42 works on C6603_10.4.B.0.569_Commercial_And_Journalists (New 4.3 release) :)
[Sony Cross-Device General] mattblack85:
Yeah, i understand that i can be confusing. But i did checked it twice ;)

So it is the TabZ version
[Sony Cross-Device General] [NUT]:
Okay... that's my bad...

What you said is correct, but only for the PhilZ ramdisk... if you use TWRP or vanilla CWM it will work just fine...

Thanks for pointing this out and confirming you got the right package, I would have never come to this conclusion otherwise :good: :cowboy:

-- EDIT --

now in the process of uploading 2.7.43, which should fix this issue in PhilZ.
[Sony Cross-Device General] mattblack85:
Helaas..

Still no go.. TWRP giving me this error: set_metadata_recursive: somechanges failed

E: Error executing updater binary in zip '/...

Tried multiple zip files, all giving me the same message. How can i use vanilla cwm instead of philz? Maybe that will work
[Sony Cross-Device General] [NUT]:
Hmm... send me the /cache/recovery/last_log from your attempt to do it in TWRP please, I want to check what exactly fails.

You can set the property inside the XZDR.prop file in the XZDualRecovery folder in either cache or your sdcard1.

Alternatively you can use the app from AngelBob.
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] 2.7.43 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com and the DevDB thread and as soon as enough people report it to be working fine will it move in to the Q&A thread as a RELEASE version.

Version 2.7.43:

Applies to the ZL, Z1, ZU and TabZ releases only, but to keep them with the same version number I also updated the (unchanged) XZ package: replaced the default.prop inside the PhilZ Touch ramdisk with the one from CWM, to make sure it identifies itself as the device you are working with.

That's all folks ;)
[Sony Cross-Device General] shoey63:
That error occurs when trying to flash kit-kat ROMs on a stock based kernel. Kk must be flashed from cm10.2/cm11(or derivatives such as Meow) or omni kit kat.
[Sony Cross-Device General] GROGG88:
[MENTION=410007]Nut[/MENTION]:

I've got the .43 beta recovery installed without issues through windows, but in the new firmware I was running into issues getting debugging to ask for permissions in ubuntu. This is not necessarily a recovery issue, but the added pc permissions in 4.3 for adb debugging seem to be acting weird in linux.
[Sony Cross-Device General] [NUT]:
Could be we need an updated adb binary too then...

I'll see what I can do about that...
[Sony Cross-Device General] GROGG88:
Possible. I'm running the latest sdk tools on my system with symlinks to /usr/bin, and I get a debugging approval immediately after plugging in my device. I have to boot into Windows to run Flashtool anyways so it's not a huge deal, but I though you may like to know.
[Sony Cross-Device General] krasnoff:
del
[Sony Cross-Device General] scifan:
Question...

With the CWM in the most recent Dual Recovery, I'm having issues with usb mounting my sdcard to my PC... (I keep having it disconnect - I don't remember having this problem with the previous version I was running... which was installed as part of the zip file for HackitZ-XperiA ZL)

Any idea's on what I can check?
[Sony Cross-Device General] [NUT]:
Which version of cwm are you using?
[Sony Cross-Device General] scifan:
CWM is v6.0.4.5 (I installed your most recent dual recovery zl windows install version... yesterday morning after moving to the 4.3 leak)...
[Sony Cross-Device General] [NUT]:
[MENTION=3577628]Bird40[/MENTION], can you confirm this behavior?
[Sony Cross-Device General] TheKingOfPain:
Can I use this recovery to flash DooMKernel on locked bootloader?
[Sony Cross-Device General] kingvortex:
No. You need an unlocked bootloader to run a custom kernel.

If you flash a custom kernel on a locked bootloader, then you will soft brick your phone.
[Sony Cross-Device General] TheKingOfPain:
Ok, thanks!.
[Sony Cross-Device General] hiddenfr:
Hi, I want to ask about recovery related things, now my XZ is running on Doom Kernel v19 and using eXistenZ ROM. While upgrading ROM via OTA, I later found out that my phone have 3 recovery system. The original CWM (come from doom kernel) and dual recovery which I installed it by myself. The problem is, the original CWM from doom kernel can't do SD card marking (or something else, I didn't remember exactly) for OTA upgrading, they always show error message while I installing an OTA update via recovery.

So, there is any solution to remove the original CWM that comes from doom kernel? Thanks.
[Sony Cross-Device General] Bird40:
Yes, and I am having issues with usb mounting my sdcard to my PC.

Also, I am having the following message "E:Unable to create brightness sys file!".

I took this advice. Maybe this will help you:

/sys/./devices/i2c-0/0-0036/leds/lm3533-red/brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-red/max_brightness
/sys/./devices/i2c-0/0-0036/leds/not-connected/brightness
/sys/./devices/i2c-0/0-0036/leds/not-connected/max_brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-green/brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-green/max_brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-blue/brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-blue/max_brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-lcd-bl-1/brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-lcd-bl-1/max_brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-lcd-bl-2/brightness
/sys/./devices/i2c-0/0-0036/leds/lm3533-lcd-bl-2/max_brightness
/sys/./devices/platform/msm_fb.524288/leds/lcd-backlight/brightness
/sys/./devices/platform/msm_fb.524288/leds/lcd-backlight/max_brightness
[Sony Cross-Device General] scifan:
I'd noticed that message as well... but didn't know what to make of it...

I could try executing the find command if that would help... :)
[Sony Cross-Device General] zyclops1:
i have Xperia Z1 with 14.1.G.2.257, can i install dual recovery on this firmware or do i need a specific firmware :silly:

thanks :)
[Sony Cross-Device General] [NUT]:
You should be able to use this on any (stock) ROM just fine, go for it :)
[Sony Cross-Device General] zyclops1:
After flashing the stable version(cant remember The number 6.X.X)

Vol up Vol down none of them working,cant go to recoveries

And a strange thing hapenned my headset jack is not working :'(
[Sony Cross-Device General] [NUT]:
Oh no no sir, you should have installed the beta specific for the Z1, the release version does not work for you...
[Sony Cross-Device General] techpal:
I am on omnirom 4.4 on xperia z ultra. So can I flash this recovery? Its written in OP that it works on unlocked bootloader having stock sony kernel thts why asking.
[Sony Cross-Device General] [NUT]:
Actually, it does not work on CM/AOSP based ROM's, as I also wrote somewhere in the OP. Omnirom 4.4 is based on CM or AOSP.
[Sony Cross-Device General] techpal:
Ok got it So wont flash then.
[Sony Cross-Device General] [NUT]:
You could use the stock kernel by [MENTION=4675598]shoey63[/MENTION], It seems Sony's own kernel for 4.3 is KitKat compatible and he has used omnirom 4.4 on the stock kernel. He included the TWRP and PhilZ recoveries in it.
[Sony Cross-Device General] techpal:
Nice.Will it work for xperia z ultra? Want to confirm.
[Sony Cross-Device General] zyclops1:
Stupid me :) :silly:
[Sony Cross-Device General] shoey63:
Compatible for flashing without error 7. Not for use with kk.
[Sony Cross-Device General] peksalvo:
how are you people rooting the 4.3 firmware to install this??
[Sony Cross-Device General] GROGG88:
Root 67 and install this, then use NUT's upgrade package for 4.3.

Sent from my Sony Xperia Z c6606 running 4.3 on XDA Premium
[Sony Cross-Device General] wooki:
Hello,

i don't know what i did wrong but i tried installing the recovery via cwm which was bundled with cyanogenmod / pac android 4.3 for my xperia z ultra.

When installing i got an error number 4.

Later i tried the windows installer, which worked but the dos windows told me to reboot back to android and right after this the second recovery went missing again (only cwm is present no matter if i press up or down)

What did i do wrong?

//Edit

I tried it again with the windows method and this time it stayed..don't know what i did wrong?

Everything is working now, i'm happy :D

//Edit 2:

Still, anybody got an idea why i'm getting the "Status 4" error when trying to install the recoveries via cwm?
[Sony Cross-Device General] [NUT]:
Without logs, I won't be able to say for certain what went wrong... sorry man :(
[Sony Cross-Device General] wooki:
Does the cyanogen supplied cwm provide any logs about the "status 4" error? if yes where can i find them?

I looked at all of these folders:

/cache/recovery <-- no logs there

/tmp/XZDualRecovery <-- the log in there doesn't have this status 4 error i get in the cyanogen cwm

/storage/sdcard1/XZDualRecovery <-- does not exist

/cache/XZDualRecovery <-- no status 4 error logs there
[Sony Cross-Device General] njsdante:
Waiting for Xperia ZR.

Thanks :)
[Sony Cross-Device General] revolution48:
Hey [NUT]

I have a little problem with it saying 'Toolbox!" underneath any command thats ran on my z1 when trying to install the latest XZDR i have tried reinstalling busybox and etc but it still says it any ideas?
[Sony Cross-Device General] iBuzman:
I can confirm this works on z ultra 4.3 290 thx [MENTION=4904057][NUT][/MENTION]

(2.7.57 flashed in recovery)
[Sony Cross-Device General] [NUT]:
Your Z Ultra now is in a bit of an identity crisis though ;) It now thinks it's a Z1 in recovery :D

2.7.57 for Z Ultra, ZL and Tablet Z will be skipped, because I'm implementing a new feature, which holds potential to fix the remount issues in that rom version for the Z1 and z ultra.
[Sony Cross-Device General] ChillyChan:
I'm using v2.7.43 on an Xperia Z Ultra and Philz doesn't see my external SD card (64 GB, FAT32). Can anyone confirm this please?
[Sony Cross-Device General] [NUT]:
That would be correct and a confirmed bug. The next BETA will have this fixed.

You can use the Z1 2.7.57 package in the mean time, TWRP has been fixed in that (but I forgot to fix philz/cwm).
[Sony Cross-Device General] ChillyChan:
Thanks a million! My 8 thanks are out for the day.
[Sony Cross-Device General] iBuzman:
Thinking it's a z1 won't pose any issues I hope? :)

My workaround for the remount issue is to run a script at boot

http://xdaforums.com/showthread.php?p=48653946

- looking forward to next beta with philz ext sd mount ;)

Thanks again.
[Sony Cross-Device General] RHBH:
I think your script only works on UB, am I right?
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] 2.7.59 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com and the DevDB thread and as soon as enough people report it to be working fine will it move in to the Q&A thread as a RELEASE version.

Version 2.7.59:

Added init.d support, it will create the init.d folder by default but to enable it set dr.enable.initd to true.

Fixed mounting external sd cards on the Z1 and ZU JB4.3 ROM's

Added custom ramdisk support. It will now be able to run a customized ramdisk to boot a ROM! By default this will be disabled. Set dr.insecure.ramdisk to true and make sure that ramdisk.stock.cpio.lzma has been put inside /system/bin to start using that.

When a file called ramdisk.tar or ramdisk.stock.cpio has been put inside /data/local/tmp it will substitute the ramdisk.stock.cpio.lzma and the script will know how to extract their contents. This has been created for those ROM's (Z1/ZU JB4.3) which do not have easy access to the system partition to aid in the development phase.

Moved the time_daemon to a script which will run in the recovery ramdisk to set the time. This prevents the Z1/ZU from rebooting after 40 seconds.

Implemented a revised remount-reboot script, which will open up the system and rootfs when running a stock kernel on an unlocked bootloader. It will know what kind of rom you run so it won't do anything it does not have to when running on a different phone or rom which does not have the same issues as the Z1 and Z Ultra on JB4.3.

Enjoy! :fingers-crossed:

I will be creating a thread in the Z1/ZU original android forums to kickstart the development of an insecure ramdisk to boot. The XZ and Z1 version installs a base version (almost stock kernel ramdisk) if you run a JB 4.3 ROM, which at this point does boot, without bootanimation and unfortunately bootloops.
[Sony Cross-Device General] RHBH:
Thank you so much [MENTION=4904057][NUT][/MENTION] , I'm running version .47 (the previous version), Can I flash this directly on recovery and reboot to update? or do I need remove the previous version as in OP, or the update zip is already with the latest version?
[Sony Cross-Device General] wooki:
Hello,

when trying to update your recovery through the old version (.47) i'm getting this error messages (using cwm).

What did go wrong? My device is a xperia z ultra!
[Sony Cross-Device General] cocchiararo:
I somehow (i think maybe using the update instead of the install zip when i had no recovery), and now i am on rooted 4.3 with no recovery.

Installer of .59 fails (reboots to system):

I think i read somewhere that you can't install a recovery on 4.3, you need to have it before being on that version, but i am unsure.
[Sony Cross-Device General] RHBH:
I got the same error, I flahed the full package: Z1-lockeddualrecovery2.7.59-BETA.zip and now is running the latest version.
[Sony Cross-Device General] wooki:
Really the Z1 one works on Ultra? No bugs/errors? Just flash via cwm?
[Sony Cross-Device General] RHBH:
I don't know if the Z1 version will work on ZU.

Try this one: ZU-lockeddualrecovery2.7.59-BETA.zip
[Sony Cross-Device General] wooki:
I'm getting the error with exact this zip file

Sent with my Xiaomi MI2 with Tapatalk Pro
[Sony Cross-Device General] RHBH:
And with this one? ZU-lockeddualrecovery-BETA.update.zip

Also, collect the logs from the recovery and send to [NUT] as he posted on OP.
[Sony Cross-Device General] [NUT]:
The windows and Linux installers will fail both on the JB4.3 roms for the Z1 and Z Ultra... Until we find a way to break up the blockade sony threw up there on locked bootloaders, these will never work.
[Sony Cross-Device General] wooki:
Same error here!

I've already posted the logs a few posts back (when you first replied to my post)

http://xdaforums.com/showpost.php?p=48699162&postcount=894
[Sony Cross-Device General] [NUT]:
I have a hunch what the cause could be... I'm on my way home now, I'll have a look if my hunch has some merit to it...
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] 2.7.60 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com and the DevDB thread and as soon as enough people report it to be working fine will it move in to the Q&A thread as a RELEASE version.

Version 2.7.60:

Corrected a mistake in the flashable packages, if an insecure ramdisk was not present inside the zip, it would fail the installation :eek: :silly:

Improved the insecure ramdisk implementation, now dr.ramdisk.location will contain the path/to/filename.ext to make it easier to use any space you like for testing.
[Sony Cross-Device General] iBuzman:
Thx. Does this beta release have the cwm and philz ext sd card mount fix (sry if is has already been asked and answered with a prior beta)
[Sony Cross-Device General] [NUT]:
.59 had that already :p

I'm writing changelogs for you people to check what I've changed you know :p
[Sony Cross-Device General] iBuzman:
Ta.. Sry, yes I should pay more attention to changelog :thumbup:
[Sony Cross-Device General] RHBH:
[MENTION=4904057][NUT][/MENTION]

I was checking my XZDR.prop and there is not space between dr.enable.initd and dr.insecure.ramdisk

dr.default.recovery=cwm
dr.vanilla.cwm=false
dr.enable.initd=falsedr.insecure.ramdisk=false

Can this mess things up?

Also I think ADB Sideload using TWRP isn't working (I'll confirm this later).
[Sony Cross-Device General] cocchiararo:
I used adb sideload with. 59 today, have to check on. 60

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] [NUT]:
Yes, it can... but not really: it's not how it's supposed to be anyway... I'll fix that in the next version. You can correct it by hand though:)
[Sony Cross-Device General] DIXES:
I used a 64G microSD card exFAT FS with Xperia Z1.

In TWRP, the sdcard is reading fine but it can't be used for creating backups.

Is this a bug or exFAT FS support limit? Thanks.
[Sony Cross-Device General] [NUT]:
Do you perhaps have a second card you could test with?

It should be working fine...
[Sony Cross-Device General] RHBH:
Hm, I also have a 64GB formatted in exFAT and is working normal.
[Sony Cross-Device General] wooki:
Uhm this is strange, no matter what i successfully flash (windows installer or direct via cwm) i'm not getting anything other than cwm! Even pressing up or down during boot only opens cwm!

Inside /cache/XZDualRecovery/XZDR.prop i changed the default recovery to twrp but still getting cwm after rebooting to recovery, why?