yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] aidy.lucas:
+1 for m2 support, would be great now we are getting 5.1 update

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Sony Cross-Device General] McBane87:
Theoretically yes. You have to do the Steps which the Installer (install.bat or install.sh) is doing manually.

But it would be to much to explain this step by step....
[Sony Cross-Device General] rob420p:
Thank u wouldn't have know of any really good reference.I bricked my last z1s doing it lol
[Sony Cross-Device General] RyTekk:
5.1.1 is out and I wonder does NUT recovery can run or not, does it disable sony_ric? Anyone tried?
[Sony Cross-Device General] rob420p:
From what I read way back on the thread the newest version of xdr defeats ric
[Sony Cross-Device General] RyTekk:
ON 5.1.1?
[Sony Cross-Device General] hispanico957:
I try on 5.1.1 on my Z3C and lost recovery....:eek:

Hispa
[Sony Cross-Device General] Huey85:
Did you try this with a prerooted 5.1.1?

Sent from my SM-G920I
[Sony Cross-Device General] Pandemic:
I making at the moment a pre-rooted zip for Z3c ^^
[Sony Cross-Device General] hispanico957:
Yes of course....

Hispa
[Sony Cross-Device General] [NUT]:
What kind of root access do you still have after installing? full or semi root?

What happens in detail? Can you try to install it once more? Can you attach the logs?

Without these details me or McBane87 won't be able to fix any of your issues...
[Sony Cross-Device General] hispanico957:
Ok right this is log

Hispa
[Sony Cross-Device General] EricCartmanez:
recovery and root seem to be working fine here :) z3 D6603 nordic combined 23.4.A.0.546 installed supersu and recovery with prf
[Sony Cross-Device General] [NUT]:
Can you try to install again using the installer, copy and paste the CMD window contents to a text file and attach it here and also attach the preparation.log?

edit:

and please also answer the questions from my other post...
[Sony Cross-Device General] Sebi673:
XZDR on 5.1.1 @ Z3?

Now PRF-ing NCB 5.1.1 .546 for Xperia Z3 with xzdr 2.8.21. I'll flash it asap. Hopefully everything will go smooth.

Will update after 5.1.1 boot has finished. :D

UPDATE

Seamless update, XZDR working perfectly on 5.1.1. Error on NFC firmware update but it seems to be working. Xposed is the only one giving headaches - seraj's xperia module seems to be the culprit.
[Sony Cross-Device General] Dolphin Trainer:
Pre-rooted 5.11 working fine here on SGP612.. (Z3TC). No issues at all with 2.8.21.
[Sony Cross-Device General] hispanico957:
Here is log

Hispa
[Sony Cross-Device General] [NUT]:
Then my response is as simple as your information sharing:

these are logs from 5.0.2.

How did you install 5.1.1? Do you have root at all?

Without any answer to my questions, this will be the last helpful post from me.
[Sony Cross-Device General] russel5:
Prerooted firmware with last DR_2.8.21 works perfect on z3c .546

But i used my own compiled busybox (as always) and my own compiled recoveries (as always)

Thanks [MENTION=4904057][NUT][/MENTION]
[Sony Cross-Device General] hispanico957:
...uhmm understand. I use PRF Creator, pheraps this is a problem

Hispanico
[Sony Cross-Device General] FcukBloat:
no problems here at all with 5.1.1... used PRF creator v0.8 and included root and DRecovery v2.8.21 and superSU 2.46.. root works, I have R/W for system, and can enter TWRP :o :good: ;)

ps. when creating the FW via flashtool, i did NOT delete FWinfo file and did NOT include the two ta files
[Sony Cross-Device General] diragono:
I have the Xperia z1s, I ran the installer, it did its' thing and then stated it was complete, phone rebooted but it rebooted normally back to the system. And now, I can't get into recovery at all. I've tried holding power+vol up/down when led comes on, tried tapping up or down when led comes on, I even issued a reboot recovery command in adb and it simply did a normal reboot.

Any idea what has happened? I'm 5.0.2 rooted with supersu

edit: Although my antivirus never showed an error, it did catch a part of the extraction, after disabling it and re-downloading it installed fine and went straight to recovery
[Sony Cross-Device General] rob420p:
My bad not sure on 5.1
[Sony Cross-Device General] bogdan wst:
I just want to let you know that v 2.8.21 installer for Z1 compact (.270, locked bootloader, rooted with "supersu" by replacing "Kingroot") does not work. After running the "install.bat", the program gets stuck for ever at "waiting for device". Drivers are installed, USB Debugging enabled, antivirus program off ...

Is there anything we can do?

sent from c6903
[Sony Cross-Device General] :No-Frost::
Nut, I've installed 5.1.1 using the Australian rom on the D6653.

I've created a zip file and included your recovery and Super. Only problem so far, is that the app NDR utils, doesn't show the recoveries.

Also, when I flashed the rom, I couldn't boot to recovery at first, so I I used the installer. It seems the recovery got installed, but I couldn't boot to recovery and the folders where created on the external SD. Furthermore, the app still didn't showed the recovery, so I went ahead, removed the SD, installed recovery again and then I was able to boot to it.

Unfortunately, the app is still not showing the recoveries, but I can boot to TWRP at leat.

The message I have is "Unable to read XZDR.prop"

Regards mate.
[Sony Cross-Device General] caqo71:
I guess that you create the zip with prfcreator, if so, did you wiped your phone before flashing?.

PS: Wenaaaaaaaa cauro. :highfive:
[Sony Cross-Device General] [NUT]:
https://play.google.com/store/apps/details?id=nextapp.sdfix
[Sony Cross-Device General] :No-Frost::
Indeed ?

Así fue ?

Thanks! Wasn't sure if that would work. Will check in a bit ?

[EDIT]

Used the app but I still see the message "Unable to read XZDR.prop"... I've installed the recovery again from flasher and installer and no luck :(
[Sony Cross-Device General] McBane87:
Are you able to view the file manually from shell?

What is the output of:

ls -l /sdcard1/

and

ls -l /sdcard1/XZDualRecovery/

---------- Post added at 03:43 PM ---------- Previous post was at 03:40 PM ----------

Has to be something with your drivers. Did you tried to connect manually via "adb shell"?

What is "adb devices" saying?
[Sony Cross-Device General] jianwei87:
I boot into recovery mode and accidentally remove/wipe everything and now I'm stop at SONY boot screen, what can I do?
[Sony Cross-Device General] McBane87:
You will need to flash a completely new system with the help of Flashtool and FTF-File.

Or, if you have unlocked bootloader, find yourself a kernel which has a custom recovery included. Flash this kernel with fastboot. Then boot into recovery and flash "Prerooted Flashable".
[Sony Cross-Device General] jianwei87:
How can I flash a completely new system with Flashtool? I did download the FTF file and flashed into via flashtool, but it still stop at SONY boot screen.
[Sony Cross-Device General] Xcited android user:
You can use the Sony companion program which you can download from Sony website. There is an option repair your xperia follow the steps and it flashes the newest firmware.

Much easier and noob friendly than flashtool .

Edit: I think flashtool only works on unlocked bootloader.
[Sony Cross-Device General] McBane87:
"Lightning Sign" -> Flashmode -> Choose corrct FTF on the left -> clikc Flash -> wait until flashtool is saying to connect device -> connect (completly powerd off) device while holding down Vol- button (you will see green led) -> Flashtool will start flashing

Howto power off device if removing battery isn't an option:

Hold down Power and Vol+ at the same time. Wait until device will Vibrate 3 times.

(1 Vibration = Reset/Reboot)

(3 Vibrations = Power Off)

---------- Post added at 04:04 PM ---------- Previous post was at 04:03 PM ----------

Also works on locked bootloader. Did it many times with locked bootloader....
[Sony Cross-Device General] Xcited android user:
Oh ok, because on Sony website it says for unlocked xperia devices.
[Sony Cross-Device General] McBane87:
Well, in the end it depends on what you would like to do with flashtool. If you only want to flash a completly untouched Stock-FTF File. Then a locked bootloader isn't a Problem.

BTW:

Manipulation FTF Files for newer Firmwares isn't possible. So FTF-Files are most likely untouched.

(FTF-Files packed from Xperi-Firm are also untouched.)
[Sony Cross-Device General] jianwei87:
I'm doing the exactly but I still stuck at bootscreen.
[Sony Cross-Device General] McBane87:
Which Device are you using and can you provide the link to your FTF-File?
[Sony Cross-Device General] jianwei87:
I'm using SOL26 and flashed D6653_Customized MY_1288-5510_23.4.A.0.546_R3C. I'm doing this perviously on 5.0.1.
[Sony Cross-Device General] McBane87:
To be sure I would suggest to use a SOL26 Version. Even if you did this before with this FTF.

Howto download and create your own FTF-File by the Help of XperiFirm and Flashtool:

http://www.xperiablog.net/2015/03/1...peria-lollipop-using-xperifirm-and-flashtool/

EDIT:

After you hopefully will be able to boot again. You can try to flash foreign Versions, by excluding PARTION, again.
[Sony Cross-Device General] Yenkazu:
Maybe it's related to "semi-rooted".

If Xperia Z1 Lollipop rooted used King Root, it's rooted, but only have R/W to system partition ONCE. After reboot, Sony RIC working and root access have lost, even SU binary still there.

Maybe he failed replace King User with SuperSU, so he need to reflash FTF again, since King Root will not working more than once.
[Sony Cross-Device General] McBane87:
"Waiting for Device" is at the very beginning of the installer. At this point the installer just want's to connect to device with the help of adb. And for ADB connection it doesn't matter if there is a working root or not. Problems concerning root will come later if they exist.
[Sony Cross-Device General] Yenkazu:
I don't know, but since rooted using King Root method, if root access not available, you can't pass that "Waiting for device" message from installer.

EDIT: If I'm not wrong, "Waiting for device" it's after entered any options number, right ?
[Sony Cross-Device General] djvita:
does the sony kernel support f2fs? i liked that file system in cyanoagenmod. im in stock right now, no option in TWRP
[Sony Cross-Device General] ondrejvaroscak:
No, it doesn't
[Sony Cross-Device General] chupes_on:
Please forgive me for the off-topic but since we are not supposed to be messing around with the busybox in order to keep the XZDualRecovery I was wondering if any of you can help me. I want to use the fsck because I've been having some problems with my micro SD card but I get the following message:

root@D5316:/ # /system/xbin/busybox fsck -C -r /dev/block/vold/179:65
/system/xbin/busybox fsck -C -r /dev/block/vold/179:65
fsck (busybox 1.23.2, 2015-06-19 15:42:40 CEST)
fsck: can't read '/etc/fstab': No such file or directory
fsck: fsck.auto: No such file or directory
root@D5316:/ #

I've been doing some research and I've found that "/etc/fstab" doesn't exist in Android, and I have found something called "fstab.qcom" but it seems to be something slightly different, because I sitill get the "fsck: fsck.auto: No such file or directory" with it.

Any suggestions will be aprreciated
[Sony Cross-Device General] Rootk1t:
Flashtool by Androxyde and Sony flashtool are totally different. Sony flashtool is for unlocked bootloader only.
[Sony Cross-Device General] McBane87:
Try to use fsck within TWRP. Inside the recoveries there will be a fstab file.
[Sony Cross-Device General] Xcited android user:
Ok, good to know ty :D
[Sony Cross-Device General] [NUT]:
Try to do this using recovery instead.
[Sony Cross-Device General] sebarkh:
I have a big problem: no way to enter the recovery on Z3 Compact Tablet SGP612. What may be wrong, that I'm doing?
[Sony Cross-Device General] McBane87:
More information please. At least described what happens. Led lights? Bootloop at which step? Etc.
[Sony Cross-Device General] sebarkh:
No, I have it flashed. (made a kernel with the Kernel Builder. Booting the device, holding the key (when green LED flashes) UP or DOWN or both, and nothing. Even I triedwith adb reboot recovery. No luck.
[Sony Cross-Device General] McBane87:
Well I don't know very much about the Kernels build with Kernel-Builder and their behaviour.

Are you able to boot Android? Did you tried repeatly pressing Vol+ or Vol- instead holding them down?
[Sony Cross-Device General] sebarkh:
Holding, pressing, touching, praying to them - of no awail. On 5.0.2 I could root the tablet to gain recovery and install recovery via installer - that way it worked.

But using kernel builder on 5.1.1 doesnt work so far...

Maybe some other idea how to root 5.1.1 fw?
[Sony Cross-Device General] bogdan wst:
I rooted an Z1C LB .270 with Kingroot and encountered the "waiting for device" problem while trying to install recovery with the installer. I solved it by installing the corect drivers by accesing "my computer/proprieties/ device manager/Sony Xperia Z1C /driver update.

I hope this helps you.

sent from c6903
[Sony Cross-Device General] McBane87:
You could try to use KingRoot and then later replace it with SuperSu.

-> Don't know how to do that, but it was mentioned couple of times here in this thread with 5.0.2. So maybe it will work with 5.1.1, too.

Or you could try to find another custom Kernel with a working recovery. Then enter this recovery, flash Update-SuperSU. XZDR and your Stock-Kernel again.

(You could even flash your old 5.0.2 XZDR-Kernel and enter straight to recovery)
[Sony Cross-Device General] sebarkh:
Kingroot doesnt work on 5.1.1 at all. On any device.
[Sony Cross-Device General] McBane87:
OK, then try second method by using your old XZDR-5.0.2 Kernel.
[Sony Cross-Device General] sebarkh:
Ok, getting the point, just thinking how to do it... Flash again the older fw, root it and flash recovery, enter recovery, flash the new fw (I'made one prerooted 5.1.1 using PRF Creator)..

You - maybe - are a genious! Lets try!
[Sony Cross-Device General] McBane87:
Or just cut some steps and flash only older xzdr-kernel with the help of fastboot:

(I assume you have unlocked bootloader)

fastboot flash boot yourkernel.img

Then enter recovery. Flash your PRF-Firmware.
[Sony Cross-Device General] sebarkh:
The problem is I dont have the older kernel...
[Sony Cross-Device General] McBane87:
Ah Ok. I thought you were using the older Kernel build with Kernel-Builder before.

You could also use the kernel of any custom rom for your device, because normally they all have recovery included.

But you have an unlocked bootloader?
[Sony Cross-Device General] sebarkh:
On 5.0.2 I used the Kingroot app - then used Dusalrecovery (mostly for fun, as I already had the root - and therewas not much to flash for this damned tablet), but I checked that the recovery worked.

---------- Post added at 07:20 PM ---------- Previous post was at 07:19 PM ----------

Yes unlocked. I thied some old custom kernel (the only one made in 2014 is available for the device!!!!) and i flashed 5.1.1 with it. But after reboot I had an issue with accessing internal SDCARD. I had no access to it. So flashed back...
[Sony Cross-Device General] McBane87:
You should only flash a custom kernel as a workaround to get into recovery.

Within recovery you need the flash the original kernel for 5.1.1 again. Normally this Kernel should be included in your PRF-Firmware, if you have ticked the option while building with prf-creater.
[Sony Cross-Device General] sebarkh:
Flashed CM12.1 for now. I'll give it a try... I have a recovery finally!!!! :)
[Sony Cross-Device General] chupes_on:
I tried that also with no luck. I seems that the file fstab have been replaced in android so the command fskc is no longer useful , insted I used /system/bin/fsck_msdos and it worked. Also I checked the microsd on my computer and now everything is fine.

Thank you.
[Sony Cross-Device General] istux:
Same problem here, it seems the kernel builder isn't working properly anymore :(
[Sony Cross-Device General] juniorhxcx:
Very thanks for work and frequency update
[Sony Cross-Device General] sebarkh:
Kernel builder not working anymore for Z3 Compact Tablet. You cant boot to a recovery...
[Sony Cross-Device General] istux:
Yeah, z3 compact as well :(
[Sony Cross-Device General] ernieg92:
An Accidental Recovery?

So, I'm not sure if I've done something 'wrong' or if it's unintended features or just not knowing what I'm doing (VERY possible), but I have two recoveries installed. One of them is the PhilZ and one is TWRP. I realize this is a 'dual recovery' but I do not recall installing the TWRP (is it automagically included?). I used option 3 of install.sh (from TabZ-lockeddualrecovery2.8.21-Release) to push 'XZDualRecovery' to my Sony Xperia Tab Z (SGP311). At the time, the bootloader was unlocked but running non-rooted Stock 5.0.2. So....

1. Sometimes when I boot to recovery I get Phil Z recovery, sometimes I get TWRP. Is there a way to determine which one I get?

2. Am I supposed to have both? Do I need both? Advantages/disadvantages of having both?

Thanks for any insight.
[Sony Cross-Device General] [NUT]:
I need a 5.1.1 updated device to debug the kernel builder for use on it. My 'latest' device I have is the Z2, so hang in there folks... I'll fix it asap.
[Sony Cross-Device General] McBane87:
- Ok, first of all. Unlocking bootloader to install XZDR isn't necessary. But is also doesn't matter if you hav unlocked bootloader.

- Actually there are 3 Recoveries. CWM, TWRP and PHILZ. All 3 can be loaded via NDR Utils. For loading TWRP or PHILZ at boottime there is another Option available: At boot when LED is flashing green, repeatly press VOl+ (PHILZ) or VOL- (TWRP). If LED then turns purple your choosen Recovery will be loaded.

- All this information is written in the first Post, which, at least, should be read from everyone.....
[Sony Cross-Device General] zlebors:
power+vol up didnt worked, I've tried.. busybox v0.9.6

will try dualrecovery later, running low on battery..

sorry for OOT, is there any app that I can do multiboot? stock ROM+custom ROM and I can choose either both everytime I turn on my ZL.

I have used safestrap before for my Bionic
[Sony Cross-Device General] [NUT]:
Hmm, thats strange... oh well, you have a reboot button i don't have, so that's no problem either way :)

Hmm... after installation busybox 1.20.2-jb should be installed on that location... if you execute just 'busybox' it will run the first one it finds. Executing 'which busybox' will return the path and executable it finds. If it is something else then /system/xbin/busybox then you have to execute '/system/xbin/busybox' to see that specific executable's version.

I'm not aware of any mod or app that allows for multiboot, sorry.
[Sony Cross-Device General] RoberM:
That is why i am telling, inside the zip, busybox is located in "/system/bin/", so it will be extracted in "/system/bin/" in the phone, not in "/system/xbin/" folder.

At least that is the case in the zip i downloaded from your website "lockeddualrecovery1.5.zip".

I will install v1.5 in about 4-5 hours and report back with all the info you requested.
[Sony Cross-Device General] [NUT]:
Hold back that attempt, I'll recheck the file contents to be absolutely sure before I let you try again... I actually already did, but I will do it again to make sure the files at home match the files on the website...
[Sony Cross-Device General] RoberM:
I was bored an tried flashing v1.5, as it is right now, from TWRP, and it failed, it gives some error almost at the end. Next I tried flashing 1.4 zip file, to see if it was a TWRP problem, but it worked fine, then tried 1.5 and it failed again.

Then booted the phone an installed manually v1.5 using ES file manager. CWM is not working, black screen, and TWRP is working. Everything just like before.

I have installed a terminal app and put the command you told me, and here it is the content of test file:

/dev/block/mmcblk1p1 1 1937 15554048 c Win95 FAT32 (LBA)

I think this would be solved if I repartition/reformat the sd from the phone, as this would change the signature and be accepted by your script, but there should be a lot of people out there with sd cards that have never been reformatted after purchase, so I will let it be as it is if you need a guinea pig.

Tomorrow I will try installing 1.5 from Windows installer script to see how it goes.

Cheers.
[Sony Cross-Device General] [NUT]:
[DUAL RECOVERY] Version 1.6 released

Change log:

Version 1.6:

As lzcat functionality is pretty important, the script will now test the available busybox(es) for support. If it fails it will abort the script. This means that at boot no vibration or green led will show and the phone will continue boot. It will however dump the info from the installed busybox binary in /system/xbin and/or /system/bin to the preperation.log inside /tmp/XZDualRecovery. If you find yourself in this situation, please send me that log!

Improved SDCard1 detection.

All files are now available for download at http://www.fun-industries.nl/xda/

[MENTION=4293754]RoberM[/MENTION], you where correct about busybox not being in the right place in 1.5 flashable... the online version differed from the one i had at home... :confused:
[Sony Cross-Device General] [NUT]:
I'm happy to have a willing guinea pig, please do leave it as it is... i need to perfect the detection to make it work, it should not require people to reformat their sdcard :)

Thanks for the thorough testing, much appreciated :highfive:

[EDIT]

Not posting in my thread again to relay this, but as i discovered a stupid mix of scripting lingo:

4 people need to re-download 1.6!!

The bug i fixed changes the dual recovery from completely failing to working just fine :eek:
[Sony Cross-Device General] [NUT]:
[MENTION=4293754]RoberM[/MENTION]

That's actually strange in more then one way... CWM boots up just fine for me, though I mostly update the files by hand... Maybe the CWM archive got corrupted somehow...

I am puzzled about the sdcard1 not mounting... I'll recheck my fix and hope to release a fixed update zip tonight...
[Sony Cross-Device General] RoberM:
Please read my edit, you posted while i was editing, new and important stuff there.

Thanks.

Edit: RE-edited my previous post with more info and logs.

PS1: i think it would be a good idea if you test both installers before release starting from as clean as possible system, instead of just updating by hand and releasing the installers ;)

PS2: By the next week, the dual recovery probably will be at v20.5 and still having about the same features, i think it would be a good idea adding a letter or another number to the version number, so new features will be distinguished from bugfixes, for example 1.6a, 1.6b, 1.6c... and so on would be bugfixes of 1.6. v1.7 would be new features, 1.7a would be bugfix of 1.7, etc... Just a suggestion. ;)
[Sony Cross-Device General] ludow:
Hi!

I have Cpasjuste's TWRP 2.4.3.x recovery installed via APK. It works fine and I can get to recovery.

I removed Cpasjuste's recovery and tried to install dual recovery via Win installer. No errors during install,

but I can't get to recovery.

So, any help is highly appreciated. How to get there?:confused:

P.S Any chance for updated TWRP 2.5.x APK, please.
[Sony Cross-Device General] RoberM:
[NUT] is doing a great job fixing the installer, so wait a little for an updated revision. For now I think you can fix your problem if you copy busybox from /system/xbin/ to /system/bin/ using any root allowed file manager.
[Sony Cross-Device General] Mitsuya Cider:
Recovery is not working even after copying the busybox.

Went from CWM recovery 6.0.2.8 for locked bootloaders to CWM 6.0.3.0 & TWRP 2.5.0.0 using method 2 ( lockeddualrecovery1.6.zip) on the thread and no luck...

How to fix?