yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] Mobfigurz:
Thanks GregBradley, but I just found it under emulated something or other, a deeper search revealed the folder, in the path you just mentioned also.
[Xperia Z1 Original Android Development] jorel000:
Z1 Being Registered as "Togari"

I tested this method for installing recovery. It works, however, when I tried to install a custom ROM (OmniRom), I can't since the device is being registered as "togari" or as a Xperia Z Ultra. Any thoughts on how to fix this?

Thanks
[Xperia Z1 Original Android Development] gregbradley:
Please ask in that thread. This thread is for dual recovery. Problems with installing something from a different thread needs to be asked there.
[Xperia Z1 Original Android Development] jorel000:
I played with the install scripts for that ROM and the problem points to the recovery registering the device as a Z Ultra. I checked the install scripts for the dual recovery but I guess the logical place to check would be in the .lzma files for the CWM or TWRP recoveries respectively. So I was wondering if any of you have already solved the problem since this was a direct port for the Z Ultra?
[Xperia Z1 Original Android Development] gregbradley:
Can you post your build.prop?

Also, that run is for unlocked bootloader so just install doomkernel and use recovery in that.
[Xperia Z1 Original Android Development] jorel000:
Dunno how much my build.prop will help but sure. I changed the extension to .txt since the xda uploader doesn't seem to accept .prop files.

Thanks.
[Xperia Z1 Original Android Development] gregbradley:
I thought there was something that had changed there.

I am aware that you are now asking for help in this issue in two separate original dev threads. I have given you my suggestion above and since this recovery states it is still in beta I suggest you continue asking for help in the other thread.
[Xperia Z1 Original Android Development] jorel000:
Noted. Thanks for the advice.
[Xperia Z1 Original Android Development] [NUT]:
If you have time to burn, can be meticulous in testing and have quite some experience in flashing/restoring your phone and want to help me by testing my future XZDualRecovery releases, send me a PM with your Google hangouts handle/Gmail address.

[MENTION=3843529]gregbradly[/MENTION] has been doing an amazing job at testing sofar but this has been limited to the Z1 build. I would like to expand my test team a bit for both the Z1 and have one for the ZU.
[Xperia Z1 Original Android Development] [NUT]:
[XZDualRecovery] 2.7.41 BETA released!

:victory: Yay! :victory:

The time has finally come, I've found the perfect solution to the issues haunting the Z1 and Z Ultra recoveries...

So I'm proud to announce the release of the FIRST TRUE BETA of XZDualRecovery with official support for the Z Ultra and Z1, 2.7.41!

Please do test and report any problems you might find in THAT thread!

A HUGE thank you to [MENTION=3843529]gregbradley[/MENTION] for letting me destroy his ROM on more then one occasion to make it work in the end, your help was invaluable!
[Xperia Z1 Original Android Development] gregbradley:
[MENTION=4904057][NUT][/MENTION] No worries, :) It keeps a flashoholic happy. Well done.
[Xperia Z1 Original Android Development] gaboh24:
successfully installed on my z1 but won't boot to cwm and twrp...pressing volume up and volume down nothing happens.

the only solution i got is the old file and it works 100%! i can boot now in cwm and twrp...BTW keep developing this.more power for you guys! :D
[Xperia Z1 Original Android Development] gregbradley:
Try the installer again, or now you have an old version installed grab the 2.7.41.beta.zip and flash that in recovery. It will do the same thing, please report back in the original XZDualRecovery thread
[Xperia Z1 Original Android Development] 8geek:
How do you get this XZDRec removed? (Other than flashing brand new FTF)

I believe it's causing my OTA updates failures. Just want to try some possible workarounds.
[Xperia Z1 Original Android Development] [NUT]:
Are you referring to mine or the packages in this thread?

If these, download the windows installer again, there is a remove option in there.

If mine, you can find the removal guide in my XZDualRecovery thread.
[Xperia Z1 Original Android Development] [NUT]:
[MENTION=2784807]DooMLoRD[/MENTION], [MENTION=1346722]Bin4ry[/MENTION], [MENTION=617884]Koush[/MENTION]

On the newly released 4.3 kernel, the 'fixed' Z1 LB recoveries started crashing again after 40 seconds... swap only the kernel to reproduce...

device dmesg after boot: http://puu.sh/5QctA.txt

unfortunately, no last_kmsg :(
[Xperia Z1 Original Android Development] Desperanto86:
I use twpr from monx rom and all fine. no 40 sec reboots
[Xperia Z1 Original Android Development] shahulvm:
NUT was mentioning on 4.3 kernel...while you are using monx rom, you are using 4.2 kernel.
[Xperia Z1 Original Android Development] Desperanto86:
*facepalm* I've created 4.3 rom with integrated root and twpr from monx rom for recovery...and I have new rom 4.3 with 4.3 stock kernel and baseband and monx recovery and bad root! And I have NO reboots in recovery on locked bl
[Xperia Z1 Original Android Development] [NUT]:
Can you attach/send/share the recovery ramdisk and chargemon script please? I want to see what the differences are...
[Xperia Z1 Original Android Development] lzyllp:
I make a fix for lockbootloader root.

This fix support init.d and use it disable sony_ric in bootup,U can help me test it in lockbootloader 4.3？
[Xperia Z1 Original Android Development] Desperanto86:
And LB supports init.d?
[Xperia Z1 Original Android Development] lzyllp:
I add some files and script to system get ini.d work in LB rom.U need flash via recovery
[Xperia Z1 Original Android Development] Desperanto86:
send me. I'll test after 2 hours
[Xperia Z1 Original Android Development] lzyllp:
Deleted.

confirm it not work.
[Xperia Z1 Original Android Development] Desperanto86:
waiting of booting phone...so looong :(

upd: root explorer crashes when I press R/W button

I have supersu, but in doesn't work at all
[Xperia Z1 Original Android Development] aeron16:
All hopes on you!
[Xperia Z1 Original Android Development] lzyllp:
Seem it work,because if it not work the root explorer even not crash it just not response.

It normally.It also crash from me in get root in unlock bootloader fist time.

U need uninstall it.

And reinstall the root explorer 3.1.5

U can try xposed xperia version.install and activate it.If it say done the root mount work fine.If it say failure this fix not work.
[Xperia Z1 Original Android Development] Desperanto86:
titanium backup can't see root...before your script he saw it normal
[Xperia Z1 Original Android Development] lzyllp:
Test xposed xperia version and let me know.
[Xperia Z1 Original Android Development] Desperanto86:
no one apps can't see root :( like full stock rom without root

PS: restoring 4.2.2
[Xperia Z1 Original Android Development] lzyllp:
U use superSU 185 or 186 in 4.3?
[Xperia Z1 Original Android Development] Desperanto86:
1.86
[Xperia Z1 Original Android Development] cgomezparra:
It's Root Working Or Not?

Hey lzyllp, I'm confused right now, cause in the other thread CappyT says that in LB the new root method is not working, so with your files is possible to root the new firmware 4.3????

Thanks.....
[Xperia Z1 Original Android Development] Jacob_Bentzen:
Nice thank you :)
[Xperia Z1 Original Android Development] delewer:
I don't know if it's relevant

See in CWM cpio

- The default.prop is not for Z1, but for Z ultra, so, a lot of config don't match

For example, product.model in init.rc (line 35)

write /sys/class/android_usb/android0/iProduct ${ro.product.model}

but "ro.product.model" is "C833" (for Z1 is "C6903")

May be a reason for ADB issues ?? Don't know, not tested.

- In "init.qcom.factory.sh", you have a lot of bad init

For example :

chown system.system /sys/class/leds/red/device/brightness

For Z1, it's :

chown system.system /sys/class/leds/led:rgb_red/brightness

In the recovery.fstab, you have the "mmcblk0p14" for "boot", but i don't see (and i don't know what is it), the mmcblk0p16

but the mmcblk0p16 is in "remap.sh", so, i don't know if it's missing for stuff..

Continue research to found modem crash.
[Xperia Z1 Original Android Development] [NUT]:
You are correct about the init parts, we where working on it and discovered it rebooted while in recovery, DooMLoRD wanted to unlock his device to start work on the Z1 version of his doomkernel, so we decided to request the help of others. I'm not in possession of a Z1, so I'm unable to troubleshoot the problems myself but it's nowhere near finished yet, we do realize that :)

If you can revise the init files to include the Z1's specific parts and settings and attach them here i will update the recovery ramdisks in the dev-release with them to allow testing.

ANYONE can help out here: I

need

your input and help to make it work, I do not own the Z1!
[Xperia Z1 Original Android Development] krabappel2548:
Taking init files from Z1 will have the samebug I think. For ZU I took ZU init files etc and there also is the 40sec reboot bug.. But we can always try. I'll see what I can do tonight, I'll get behind my pc again to look into the recovery

I'll try to get adb working in Linux, then at least I can debug on my device
[Xperia Z1 Original Android Development] Shaky156:
Both caches l1 & l2 are dumped in memory which should be accessible, those dumps can maybe give more information on why the the system is rebooting
[Xperia Z1 Original Android Development] [NUT]:
That's half true, the kernel tries, but there is a comment on line 1907 of the dmesg:

<3>[ 49.448274] Ramdump(ramdump_smem): No consumers. Aborting..

So, there is nothing to catch the dumps...
[Xperia Z1 Original Android Development] Jacob_Bentzen:
How do I install?? :o
[Xperia Z1 Original Android Development] [NUT]:
Heh, I think DooMLoRD made an archive from all the files... it's easy enough:

Make sure you have installed the remount-reboot fix, otherwise your Z1 will reboot as soon as you try to do the following:

Extract ramdisk.*, chargemon and dualrecovery.sh to a folder on your sdcard or internal storage.

Take rootexplorer or ES file explorer and remount /system as RW (writable).

Go to /system/bin and rename chargemon to chargemon.stock

Then copy the files from sdcard/internal storage to /system/bin to install the recovery.

That should be it :)
[Xperia Z1 Original Android Development] Shaky156:
CONFIG_MSM_EBI_ERP=y

Switch off kernel panicing when error detected

CONFIG_L1_ERR_PANIC=n

See what happens, probably reboot my guess is, its a critical error since l1 cache cannot be recovered, its related to modem
[Xperia Z1 Original Android Development] [NUT]:
Eh, that would require a custom kernel... but with that the issue does not apply as the recoveries get started before the problem on locked bootloader devices gets created...
[Xperia Z1 Original Android Development] Shaky156:
For the issue to be resolved we need to first run a custom kernel, so can we unlock bootloader? Flash custom kernel? Then load this dual recovery? If so enable the l2 err reporting on port panic, since its a l2 port panic that way it should give us more info on the problem, or maybe not lol
[Xperia Z1 Original Android Development] [NUT]:
Well... That actually makes sense to me :D

/Over to [MENTION=4340984]krabappel2548[/MENTION] ;)
[Xperia Z1 Original Android Development] krabappel2548:
Well, I'm not sure what to do with that :D my knowledge isn't really about the cache stuff etc so..
[Xperia Z1 Original Android Development] [NUT]:
It's probably something [MENTION=2784807]DooMLoRD[/MENTION] can help you with, but from the looks of it it's a matter of building a stock kernel with those options set...
[Xperia Z1 Original Android Development] fer2503:
so there is any news about stable recovery for locked bootloader or any news about future firmware update that can fix the unlocked bootloader problems?
[Xperia Z1 Original Android Development] Desperanto86:
stupid question...when it will be release, you will know about from 1'st post...if you can't help just keep silence
[Xperia Z1 Original Android Development] monx®:
there is entries in ramdisk like this :

/sys/devices/virtual/hsicctl/hsicctl0/modem_wait

can we skip or extend delay etc? not sure if related. just a wild guess.
[Xperia Z1 Original Android Development] Bin4ry:
Forgot about this again. Will do some more research on the coming weekend, but really why spend too much time on locked bootloader? Normally unlock should be the way to go ;)

Gesendet von meinem C6903 mit Tapatalk 4
[Xperia Z1 Original Android Development] Desperanto86:
with unlocked boot we can't use camera :( sony still doesn't fix it
[Xperia Z1 Original Android Development] delewer:
Deleted
[Xperia Z1 Original Android Development] harfot:
You cannot use this recovery for ver. 4.3 as it's not possible for the moment to root locked bootloader in 4.3 (if you unlock you can use the recovery/kernel from this thread).
[Xperia Z1 Original Android Development] cgomezparra:
Thanks

I know i can't use this recovery, but the reason i ask this, is maybe lzyllp solve the problem with his files and modified the system to disable the SONY RIC Kernel in LB.
[Xperia Z1 Original Android Development] [NUT]:
I've figured out how to fix the 40 second bug for 4.3 AND still have a correct time and date set :D

Next version of XZDualRecovery will have it :)
[Xperia Z1 Original Android Development] Desperanto86:
thx for monx
[Xperia Z1 Original Android Development] [NUT]:
Actually, not really: he simply disabled the time daemon, I had it's function restored in the first Z1 beta...

It's not yet 100% done because I'm also trying to include a ric service disable function, which does not yet work correctly yet...
[Xperia Z1 Original Android Development] dlads:
Trying to install this recovery or well the dual recovery and i've now got no recovery at all.

Made the mistake of flashing the baseband kernel package which the rom thread told me to but excluded the kernel and baseband and flashed the bloody boot bundle instead, now i've got no recovery, can't flash a recovery via recovery as i don't have one, tried to flash one using the bat file method but again it doesn't come up? Never had this issue before so i'm lost, i've made a thread in Q+A but thought i'd ask here as you appear to know your stuff and it looks like some of you have had an issue before yourselves.

Any ideas with this would be great.

My phones fine by the way, just missing the recovery, i'm on RomAur v4 which is a 4.3 rom, everything else is working besides RO/RW in system
[Xperia Z1 Original Android Development] dlads:
Flashed this from stock rooted and can't get to CWM?
[Xperia Z1 Original Android Development] TheCornInGrove:
+1 Got exactly the same problem hehe. Same Rom etc...

Cheers
[Xperia Z1 Original Android Development] dlads:
Shifted from this and went back to 534, re rooted and went up to Monx's 4.22 rom, slightly pissed off at EE for not allowing me to unlock the bootloader.
[Xperia Z1 Original Android Development] TheCornInGrove:
That's not what I wanted to hear... :p. Doesnt help anyway I think...
[Xperia Z1 Original Android Development] dlads:
No it isn't, I'm sorry i haven't got better news, but this sucks major ballsacks.

It doesn't help, it just sucks bumhole.
[Xperia Z1 Original Android Development] rohitrockon17:
Can u help with Xperia C as well

Hi DoomLord,

I know this is not the right thread, but wanted to check if you can help the Sony xperia C 2305 users with the Custom recovery as well since the BOOTLOADER is locked on this device as well.

I can provide you any relevant files for the same from my Xperia C. Please let me know, your help will be very much appreciated.

Thanks in Advance

RG:cowboy:
[Xperia Z1 Original Android Development] ckchan08:
uninstall dual recovery

Hi may I know how can I uninstall this dual recovery from my z1?
[Xperia Z1 Original Android Development] DESASTER75:
Good morning + a HNY to you all!

One short question:

Is there an flashable-version of THIS Dual-Recovery available, too, which can be flashed within Recovery, too?

Thx,

DES75
[Xperia Z1 Original Android Development] punkt:
delete
[Xperia Z1 Original Android Development] DylanNeil:
I have been trying to install this on rooted stock .534 but it appears only to install the TWRP portion and I need the CWM. Powering the phone with the volume up or down key pressed boots to TWRP. Has anybody encountered this before? Any suggestions?

Below is a copy of the installer log.

"CWM and TWRP Dual Recovery for Xperia Z locked bootloader"

"script created by krabappel2548, modified by [NUT]"

"Ported to Z1 by DooMLoRD"

=============================================

Step1 : Waiting for Device.

=============================================

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Succes

.

=============================================

Step2 : Sending the recovery files.

=============================================

rm failed for /data/local/tmp/recovery, No such file or directory

13 KB/s (57 bytes in 0.004s)

1868 KB/s (264012 bytes in 0.138s)

284 KB/s (8144 bytes in 0.028s)

490 KB/s (8037 bytes in 0.016s)

2414 KB/s (657704 bytes in 0.266s)

2523 KB/s (2844850 bytes in 1.101s)

2601 KB/s (735308 bytes in 0.276s)

17 KB/s (1367 bytes in 0.078s)

.

=============================================

Step3 : Setup of recovery.

=============================================

remount rw /system

remount rootfs rw

copy recoveries to system.

rename stock chargemon

copy ric

copy charger

copy hacked chargemon to system.

copy recovery.sh to system.

copy new busybox to system.

make sure firstboot goes to recovery.

=============================================

DEVICE WILL NOW REBOOT!

=============================================

Waiting for your device to reconnect.

After entering TWRP for the first time, reboot to system to complete this installer!
[Xperia Z1 Original Android Development] [NUT]:
Install the latest XZDualRecovery to get it working properly.
[Xperia Z1 Original Android Development] [NUT]:
[MENTION=2784807]DooMLoRD[/MENTION] can you close this thread? I'll be starting the XZDualRecovery Q&A thread soon.

For anyone looking for a working Z1 and Z Ultra recovery for locked bootloader devices, look here.
[Xperia Z1 Original Android Development] DooMLoRD:
Closing thread
[Xperia Z1 Original Android Development] [NUT]:
Hihi, I agree, but you already know the answer to that :p
[Xperia Z1 Original Android Development] jagdesh:
No please do work out a method on LB as well, there are lot of users who prefer to keep their warranty and also enjoy custom roms ...

Plus in lot of countries boot loader unlock is not even allowed...
[Xperia Z1 Original Android Development] lzyllp:
because camera broken in unlock bootloader
[Xperia Z1 Original Android Development] [NUT]:
Don't worry, we will :)

That bug will get fixed, for sure.
[Xperia Z1 Original Android Development] slonn:
Where can I find the files to extract? Sorry if it's a stupid question but I've been looking and can't locate them. I'd really like to make a complete back of the stock rom before trying to flash a custom. Thanks.
[Xperia Z1 Original Android Development] [NUT]:
Attached in the Downloads tab in the project bar?

But just hold your horses, if you you wish to flash a rom, the recoveries for locked bootloaders is not the way: that will certainly take way longer then 40 seconds ... creating a backup will also not work.
[Xperia Z1 Original Android Development] slonn:
Heh...I never even noticed that there was a downloads tab. Thanks for the heads-up on the 40 secs!
[Xperia Z1 Original Android Development] Shaky156:
Thats probably there to wait for the modem to setup clks/cfgs maybe increase the value as modem may not have enough time to setup, definitely cant skip. It seems l2 port error is due to attempting to access memory (memory protected)? Msm8974 has MPUs

Anyone attempted to obtains dumps? Ill try if i get some free time
[Xperia Z1 Original Android Development] fer2503:
i installed the recovery but: when i flash the mods all go fine,but when i reboot anything change as if nothing have been flashed. why?
[Xperia Z1 Original Android Development] gregbradley:
what are you flashing
[Xperia Z1 Original Android Development] fer2503:
pureXaudio v2 and drop down menu background mod
[Xperia Z1 Original Android Development] gregbradley:
Some people say that pureXaudio is a placebo edffect anyway, and the drop down background mod (By me) is untested on recovery (Thanks for letting me know).

Try doing it the manual way, any problems report them in that thread.
[Xperia Z1 Original Android Development] Shaky156:
And this in ramdisk is for??!

ervice security-check2 /sbin/security_boot_check recovery

class core

oneshot
[Xperia Z1 Original Android Development] [NUT]:
Oh i HATE not having the device i try to support... :crying:

Krabappel2548 is too busy at school and DooMLoRD is running around in France visiting everything he can :eek:

Normally I would never do this, because it's against my principles... but I hate letting down the xperia community like this :rolleyes:

Please donate to me to allow me to try and pick one up (maybe even second hand):

My cat is ill and she's going to get some costly surgery soon... so I'm not in the position to purchase one by myself :crying:
[Xperia Z1 Original Android Development] slonn:
One more question: is it only the chargemon and dualrecovery.sh files that need to be moved to /system/bin or will other files have to be added as well?
[Xperia Z1 Original Android Development] [NUT]:
No, you need to move busybox in to /system/xbin and the ramdisks to /system/bin as well.
[Xperia Z1 Original Android Development] delewer:
You need to mod busybox too
[Xperia Z1 Original Android Development] slonn:
Ok, I'm not entirely sure which files are referred to when you mention "the ramdisks".
[Xperia Z1 Original Android Development] [NUT]:
I'm talking about the cpio archives with CWM and TWRP... :)
[Xperia Z1 Original Android Development] Bin4ry:
Well first you won't get all customers with locked bootloader, for cm you need to run custom kernel too ;)

Second, the problem is not the crappy ramdisk in this version I n. I used my own good ramdisk, pretty same one as for locked bootloader. So the problem is definetly a problem of hooking into the charger and stopping the execution of the original ramdisk.

So all ppl researching errors in the recovery ramdisk can stop it and better think about services in the original ramdisk which need additional love go stop them ;)

But as I said, better unlock bootloader when unlockfix is there and use full range of customers. Also: just get non provider devices and you won't have problems with unlocking. It's easy as that, providers castrate your device Noone else. So if you are interested in customroms never get provider devices. :D

Regards

Gesendet von meinem C6903 mit Tapatalk 4
[Xperia Z1 Original Android Development] gregbradley:
Not all providers, Vodafone UK have provided me with 3 xperia T's and a Z1 all with bootloader unlock allowed: yes

But I do agree that if people want to unlock, then get a sim free phone.

Also, It would be good to continue with the locked bootloader for those that want to keep their sony warrenty but also want to flash stock based custom roms and other mods.

It would also help them keep backups of their rom etc.

Mind you, once that camera is fixed, my bootloader will be unlocked in seconds....