yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] maverick6664:
Rooting D6616 failed

Hi,

I failed to root my D6116. I tried with supersu in vain. And I tried firmware D6616_23.1.C.0.385_R15C_US T-Mobile_1286-4514.ftf also, in vain.

Adjusting for SuperSU!
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

=============================================
Step1 : Waiting for Device.
=============================================

Succes

=============================================
Device and firmware information:
=============================================
Device model is D6616
Firmware is 23.1.C.0.399
Android version is 5.0.2

=============================================
Step2 : Sending the recovery files.
=============================================

1 KB/s (31 bytes in 0.029s)
1925 KB/s (18170 bytes in 0.009s)
277 KB/s (501 bytes in 0.001s)
3755 KB/s (12812 bytes in 0.003s)
6105 KB/s (65965 bytes in 0.010s)
2004 KB/s (3159 bytes in 0.001s)
5412 KB/s (29204 bytes in 0.005s)
434 KB/s (699 bytes in 0.001s)
4687 KB/s (34473 bytes in 0.007s)
716 KB/s (1202 bytes in 0.001s)
6823 KB/s (96956 bytes in 0.013s)
7612 KB/s (870760 bytes in 0.111s)
7733 KB/s (3415700 bytes in 0.431s)
7542 KB/s (2420099 bytes in 0.313s)
3642 KB/s (14346 bytes in 0.003s)

=============================================
Step3 : Setup of dual recovery.
=============================================

Look at your device and grant supersu access!
/system/bin/sh: su: not found
Press enter to continue AFTER granting root access.

/system/bin/sh: /system/xbin/su: not found

=============================================
Installation FAILED!

Please copy and paste the contents of
this window/screen to the DevDB thread.
=============================================

As you see, I'm running XZdualrecovery on Linux. What's wrong??

:confused:

EDIT: Finally rooted with KingRoot (windows version.) Now I'm replace this with supersu.
[Sony Cross-Device General] maverick6664:
Self reply!!

My bad!!

It has turned out that I forgot to turn "Allow mock locations" on before I ran XZdualrecovery. Now twrp is in my D6616. Indeed it works with D6616 as advertised!! Sorry for misinformation!!!

Cheers and thanks NUT!! You are a jewel!!
[Sony Cross-Device General] Radnanum:
Already use "search" but no one say about X Compact (Kugo) at 2019 :crying:

Someone know how to root with Locked Bootloader for X Compact?
[Sony Cross-Device General] casouzaj:
AFAIK, since the Xperia Z3+ was released, with the implementation of dm-verity, it's not possible to have root privileges if one keeps its bootloader locked. The old Z3 and Z3 Compact models were the last ones to allow it. Nevertheless, the modifications were, then, done on the system partition.
[Sony Cross-Device General] Radnanum:
If i unlock bootloader, it has any side effect?

I remember it when still use Z3 a few year ago, if phone UB it affect to camera perfomance.
[Sony Cross-Device General] casouzaj:
If your device happens to have a marshmallow ROM, you'd have the chance to make a backup of its TA partition (which contains the DRM keys), because the process of unlocking its bootloader wipes that partition for good. With that backup, it would be possible to prepare the stock kernel including your phone's DRM keys, and by ooting it through Magisk, it' would be highly probable to trick its system as if the bootloader was locked.
[Sony Cross-Device General] :
deleted not relevant
[Sony Cross-Device General] psuryatej:
Hello, I am trying to create XZDualRecovery for Sony Xperia Z3 D6653 with Marshmallow 6.0.1 build number 23.5.A.1.291. The file is not available, hence I opted to upload kernel.sin and the process keeps failing.

Can anyone help please? Thanks in advance.

Please refer to the error below.

Unpacking the uploaded kernel...

Copying base packages...

Unpacking the kernel ramdisk...
.
./.htaccess
./images
./images/xperiabg.jpg
./images/Archive-icon.png
./images/Folder-icon.png
./images/quote_henry-ford-on-failure.png
./images/xdaLogo.png
./images/folder32.png
./images/404.jpg
./images/folder.png
./images/archive.png
./images/qr.php
./images/index.php
./images/icons
./images/icons/Music.png
./images/icons/Usb.png
./images/icons/Hdd.png
./images/icons/Pictures.png
./images/icons/GearFolder32.png
./images/icons/GearFolder.png
./images/icons/CD-Drive.png
./images/icons/Recycle-Bin-Empty.png
./images/icons/close.png
./images/icons/UpFolder32.png
./images/icons/Control-Panel.png
./images/icons/Web.png
./images/icons/UpFolder.png
./images/icons/Archive.png
./images/icons/Documents.png
./images/icons/Text-Documents.png
./images/icons/Recycle-Bin-Full.png
./images/icons/My-Computer.png
./images/icons/Folder.png
./images/icons/Movies.png
./js
./js/effects.js
./js/builder.js
./js/stats.js
./js/prototype.js
./js/dragdrop.js
./js/sound.js
./js/modalbox.js
./js/controls.js
./js/sha.js
./js/standard.js
./js/unittest.js
./js/contentloaded.js
./js/base64_encode.js
./js/scriptaculous.js
./js/event.simulate.js
./js/index.php
./js/slider.js
./css
./css/standard.css
./css/tmp.css
./css/mobile.css
./css/index.php
./.well-known
./errors
./errors/filenotfound.php
./errors/maxconexceeded.html
./favicon.ico
./diyguide
./diyguide/FTFwork_6.png
./diyguide/FTFwork_5.png
./diyguide/VMPlayer_5.png
./diyguide/BuildROM_3.png
./diyguide/BuildROM_2.png
./diyguide/FTFwork_3.png
./diyguide/FTFwork_1.png
./diyguide/FTFwork_4.png
./diyguide/BuildROM_1.png
./diyguide/VMPlayer_4.png
./diyguide/VMPlayer_2.png
./diyguide/VMPlayer_1.png
./diyguide/FTFwork_2.png
./diyguide/VMPlayer_3.png
./google56d7b2500344a81a.html
./index.php
Preparing the recovery ramdisks...

Unpacking the XZDualRecovery source package failed, exitting!
Repack failed! Please try again...
If the failure keeps creeping up, please report it.
[Sony Cross-Device General] didicola:
will it work on the latest cm10.2 4.3.1?

or just the single philz recovery?
[Sony Cross-Device General] [NUT]:
This package is not compatible with CM... Sorry, you can only use the single package.
[Sony Cross-Device General] Manarch101:
help

Anyone know why i can make twrp recovery work but not cwm all i get is a blank screen.
[Sony Cross-Device General] [NUT]:
Same issue happens on the XZ, don't know why yet...

I'll have to think of a way to debug the phones which do this...

Anyone else have this? For anyone not able to post in the dev thread, you can either post in the XZ q&a thread or PM me.

EDIT: whoops... Mixed up threads... :D

The above still applies but I thought I was answering in the z1 thread :rolleyes:
[Sony Cross-Device General] didicola:
doublepost
[Sony Cross-Device General] [NUT]:
Was it the downtime or am I seeing double? :what:
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] 2.7.20 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com 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.16 2.7.20:

Updated to the latest PhilZ Touch Recovery (v5.18.2 - cwm 6.0.4.4)

New feature: 'Vanilla' CWM! (6.0.4.4) If you run into problems with PhilZ Touch and want to make sure it was not the cause or you just don't like to use PhilZ Touch, you can now put a file called 'cwm' (without extension!) inside the XZDualRecovery folder in either /cache or on your external sdcard to make it boot to 'Vanilla' CWM. The default remains to boot to PhilZ Touch Recovery with a press of the Vol-UP button.

Now includes 3 recovery files. PhilZ touch moved to it's own.

New build kitchen to make it easier to support other devices, please do test and report if anything is wrong: It was a lot of work, so I might have goofed up somewhere... :fingers-crossed:

Switched to the CM 10.2 tree's for building my own recoveries (which gave me issues on TWRP).

This change officially makes it a TRI-recovery, but as CWM is the base for PhilZ Touch, I won't be renaming the package anytime soon :laugh:
[Sony Cross-Device General] Harryhatzi:
there is no install bat file in the XZ-lockeddualrecovery2.7.16-BETA.zip

where can we find it?
[Sony Cross-Device General] [NUT]:
For the windows installer you need to have XZ-lockeddualrecovery2.7.16-BETA.windows.zip, the one you have is the recovery flashable version.
[Sony Cross-Device General] silverbios:
hi

can you add the backup and create firmware features?
[Sony Cross-Device General] [NUT]:
Eh, in what exactly?

They all can do a backup and PhilZ can create an update.zip from your ROM...

Or am I misunderstanding your question/request?
[Sony Cross-Device General] silverbios:
ops sorry

now found clone to rom!

and

new version googd working on sx zl

ERROR:

unable to create brightness sys file!!?
[Sony Cross-Device General] ankabo:
Now I have 4 recoveries ;)

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] [NUT]:
Officially PhilZ has not been tested on the ZL, i'll ask Phil3759 to create one for your device too.

If it still does that in PhilZ Touch Recovery, please notify [MENTION=4666971]Phil3759[/MENTION] in his Xperia Z thread.

Eh, which is the fourth? :confused: Or do you also run a custom kernel? ;)
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] Version 2.7.21 BETA released!

BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com 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.21:

FINALLY fixed the exfat sdcard mount problems in TWRP, it will now mount any sdcard correctly :) (Thanks to [MENTION=4225567]delewer[/MENTION]: it was his work helping to debug XZDualRecovery for the Z1 which gave me the hint how to crack this!)

Finally :highfive: :victory:
[Sony Cross-Device General] ankabo:
Yes, a custom kernel is used here ;)

So I have Philz 6.0.3.7, 6.0.4.4 and two times TWRP 2.6.3.0

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] caqo71:
Love your work mate, thanks for updating it. :good:
[Sony Cross-Device General] nex_t:
I have XZ dual recovery, but i want to ask you how do i reboot into TWRP instead of CWM.

And i ask that because i made a Nandroid backup, wanted to save it on my PC too, but i can't find the location into the phone / sd card

I better work with TWRP.

Thank you
[Sony Cross-Device General] ankabo:
At boot, push the down button, than there is TWRP. With up you get into cwm.

I think, that cwm is backed up on the folder "clockworkmod".

Gesendet von meinem C6603 mit Tapatalk
[Sony Cross-Device General] poran123:
i tried to install the recovery from windows but it never goes to recovery mode why????
[Sony Cross-Device General] bonsai120:
Perhaps because of newest Firmware?

I have same problem. Is it compatible with newest 67 stock ROM?

Regards,

Bonsai
[Sony Cross-Device General] [NUT]:
Does it enter recovery during installation?

Yes, it's compatible :) (also, look at the previous question to poran123)
[Sony Cross-Device General] HSD-Pilot:
I'm using it without any issue on 67.

Wait for the green light during the Boot process and hit / hold vol.up.

The latest version doesn't boot into cwm by it's own, during the Installation.

Gesendet von meinem C6603 mit Tapatalk 2
[Sony Cross-Device General] [NUT]:
Heh, just noticed .. i was talking about the windows installer, you where too?
[Sony Cross-Device General] HSD-Pilot:
Yes, it doesn't boot into recovery to clean the files.

But no big Deal, really ;)

Gesendet von meinem C6603 mit Tapatalk 2
[Sony Cross-Device General] poran123:
no .. while installing phone reboots and never go to recovery\

While booting the green light comes and i press volume down and it goes to recovery mode but not touch.. have to navigate with volume up, down and power...
[Sony Cross-Device General] [NUT]:
Heh, i've just checked the install script... the only reason why it should not go to recovery is if your cache partition is broken...

If you look inside it, does it have a lost+found folder there?
[Sony Cross-Device General] [NUT]:
Doh, no, thanks to one of xda's newest members, who sent the contents of the command box in a PM, I now know what's wrong, I'll fix it ASAP.

-- EDIT --

Because the XDA app is acting funny... i had to do it this way...

Thanks [MENTION=3142565]McOlf[/MENTION] for the log, it helped a LOT :good:
[Sony Cross-Device General] [NUT]:
BETA Change log:

BETA releases will only appear on http://nut.xperia-files.com 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.22:

Getting lazy means mistakes can get caught up in the release versions... cutting and pasting code between projects not always works well! :p

General cleanup, removing files which where no longer needed...

Oh my... i totally forgot to add PhilZ Touch' new package to the installation routine... DOH! :eek:

Now also simplified the Linux installer, one install.sh, menu to choose app.

I hope I've ironed out just about everything which could have been wrong... at least in the installation packages... :fingers-crossed:
[Sony Cross-Device General] [NUT]:
[MENTION=3142565]McOlf[/MENTION] to the rescue! Again I goofed something up in the Windows installation package...

Will release a new version tonight, as soon as I get home...

:banghead:
[Sony Cross-Device General] kamalmawa:
I used the windows version and did not run into any problems.. :eek:
[Sony Cross-Device General] Tamirwig:
It's a self destruct! RUN FOR YOUR PRECIOUS LIVES!
[Sony Cross-Device General] [NUT]:
I know, it CAN work, but something is not working correctly all the time...

Shoot, he found out :eek:

:silly:
[Sony Cross-Device General] Manarch101:
even with the new recouvery file i can still not get into cwm is this a on going problem or does it not exsist in the file all i get is a blank screen with trying the volume up on start up i can get into twrp not a problem.
[Sony Cross-Device General] caqo71:
which is the last BETA version. there is a .23, .24, .25, and .26 on the download site. Can i use those recoveries? :confused:
[Sony Cross-Device General] Tamirwig:
Always the latest, in this case .26
[Sony Cross-Device General] [NUT]:
Tamirwig is actually right, but be aware that the unannounced beta releases might be experimental and could fail in any way. For now however .26 seems to be working just fine.

.23, .24 and .25 are broken in multiple ways, I'll remove them soon.
[Sony Cross-Device General] [NUT]:
I'm still trying to find a solution to this, it's a weird problem.
[Sony Cross-Device General] shoey63:
[MENTION=497467]Monarch101[/MENTION] try .26 beta
[Sony Cross-Device General] [NUT]:
[XZDualRecovery] Version 2.7.28 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.28:

Many, and I really do mean MANY, changes to the scripting, preparing it for use on every model Xperia I might want to support.

The main changes:

New gpio-keys detection system (volume keys event input), this one will never break sensors ever again!

Repeating code removed and put in a single function, makes it leaner!

Some model Xperia phones have chargemon fire so early that the ROM did not yet load /system/build.prop yet, so I made a getprop replacement to get the info I need.

ALL release packages now tell you which version you are installing. To check before install, see dr.prop for the version.

Code cleanup round 2

Finished removing unneeded files from the installation packages

Please DO test and let me know how it performs!

This version is basically a full Release Candidate for the RELEASE thread, I've finished all the modifications I wanted to do to consolidate the scripting and installers to be universal.

I've redesigned my build kitchen to chuck out versions for future supported models, AFAIK it should not change operation on the Xperia Z but it means that if it works OK, the final release version of this package will be used to create device specific packages. When all of these have been released and are working fine, I'll start implementing my next big step, which will consolidate all separate packages to one single installer again.
[Sony Cross-Device General] ykkfive:
just tried and it stopped with the sony logo displayed. still finding why but i can tell it stopped after the led turned purple (setled 255 0 255). will add more checkpoints later

btw, mine is z tablet
[Sony Cross-Device General] [NUT]:
You could also try vanilla CWM. Create a file 'cwm' inside the XZDualRecovery folder.

Keep me posted... I really am clueless why this issue hits some people... It's strange...
[Sony Cross-Device General] [NUT]:
You can put a file called 'donotrun' inside the XZDualRecovery folder on your external sdcard to stop XZDR from running.

You do mean the key check doesn't work for the TabZ? Do you have this problem getting in to both TWRP and CWM/PhilZ?

You can use the ECHOL function to log to the XZDR log, this will always work until, of course, the sdcard has been unmounted.

I'm currently compiling a version of TWRP for the Tablet Z for you and others to test... with a landscape alignment :)

-EDIT-

Tablet Z users, please download the attached file and replace recovery.twrp.cpio.lmza inside /system/bin with the one from this zip. Mind you: it is NOT flashable!

Please let me know if it works OK now :)
[Sony Cross-Device General] ykkfive:
It had nothing to do with the recovery chosen I believe since I tried to hard coded it but failed too and phI'll touch works with other dualrecovery. The get key worked as I put an extra set led line there

Thanks but no way to put anything to the device at that moment since every boot will be recovery and stopped there and adb wasn't available

No log at all. I remember u have a line something like stopped at stage 2 which should be printed and logged but no, nothing logged

Thanks, but actually I like Phil touch more :D
[Sony Cross-Device General] [NUT]:
Well... that's just it, I would like you to test TWRP anyway, to see if the issue you are reported has something to do with the CWM/PhilZ selection code... Please do test it.

Do you have an external SD card in your Tablet Z?
[Sony Cross-Device General] ykkfive:
yes, i do have extsd

well, i wont mind testing it if i have time. i am now trying to accomdate sony devices since i am using sammy from day 1 and i find that they r quite different, esp how ppl update/root sony devices. still investigating something like the 32 & 16 gb sdcard treatment as well as trying to see if custom kernels can be installed since my bl is locked by docomo
[Sony Cross-Device General] [NUT]:
Yah, they are quite different... welcome to the Sony side though :)

Don't try booting a custom kernel using the boot partition on a locked bootloader though... you will end up with a soft-brick (recoverable).

You might be able to abuse kexec addresses to bootstrap a custom kernel, some devs are working on that now :)
[Sony Cross-Device General] ykkfive:
yeah. i know the bl thing, but after i bought it!! :crying:

btw, i am still using note2 as my phone daily :D

anyway, have to sort out the home button first, it doesnt work suddendly......
[Sony Cross-Device General] N1k0la89:
Hi, i installed 2.7.28 beta after using 2.7.14 and i cant install any rom with this recovery, dunno why, i did full flash ftf .67 rooted and installed 2.7.28 and again cant install any flashable zip, getting some error which i didnt remember. Any1 else?
[Sony Cross-Device General] [NUT]:
If you want me to check why, gather the logs and attach them here...

The major question remains though... which recovery did you use?
[Sony Cross-Device General] N1k0la89:
I'm sorry but i must first learn how to make logs etc i'm noob. I used volume up/ cwm recovery, didnt try volume down becouse i dont use it. When i learn i little bit more i will post here things i notice about your work. Sorry for disturbance :)
[Sony Cross-Device General] [NUT]:
Don't apologize, I need more people like you to actually report problems... too little of that going on!

2.7.28 has been downloaded almost 500 times now, but nobody reports any problem if they encounter them... so: please DO report and disturb me :p

In the OP under the Error reporting: you will see the locations where to find the logs.

In 2.7.28 i saved you the trouble of looking for the peperation log, it will be copied to the XZDualRecovery directory... so copy /cache/recovery to that folder as well and zip it up and attach it here, that will make me a very happy camper :D
[Sony Cross-Device General] FateNozomi:
same here, 2.7.14 upgraded to 2.7.28 having problems, failed to flash and sometimes stuck at boot after flashing, unable to remount system partition after wiping. No logs though =/
[Sony Cross-Device General] [NUT]:
Is that in both CWM and in TWRP?

It will make a difference you see, vanilla CWM and PhilZ have been built against the CM 10.2 source tree, TWRP has not been changed, except for the change regarding exfat sdcards...
[Sony Cross-Device General] FateNozomi:
sorry forgot to mention, it was TWRP, not sure what's causing it....
[Sony Cross-Device General] [NUT]:
If you still have the old beta package you downloaded, you could try to replace the twrp cpio on your phone with the one from this package...

There is only the exfat fix between them... Can you test that?
[Sony Cross-Device General] kamalmawa:
anyone tried to do a backup and restore using CWM ? came up with an error while resotring system and restore process stopped..after that couldn't boot the phone and got stucked in Sony logo
[Sony Cross-Device General] FateNozomi:
Sorry NUT, I deleted it XD, I thought i could still find them on your page lol
[Sony Cross-Device General] [NUT]:
Heh, did a cleanup as it was getting a bit clogged... My files page needs a redesign too :D

I'm assuming you tried that on a XZ?

Did you use PhilZ or vanilla CWM? Do you have an exfat sdcard? Did you save the logs perhaps?
[Sony Cross-Device General] -=meinereeiner=-:
I tried a backup and restore with TWRP with exactly the same result! XZ stopped at the Sony logo and it isn't possible to boot into recovery again. :( On my sdcard there isn't any extFAT-partition.
[Sony Cross-Device General] [NUT]:
Could you try to use vanilla CWM and confirm the same issue there? Create a file called 'cwm' without extension inside the XZDualRecovery folder on your external sdcard.

Can you try to copy this twrp on to your devices in /system/bin and try to restore a backup again?

This version has the exFAT fix removed...

Please let me know if this improves it.
[Sony Cross-Device General] kamalmawa:
Yes XZ..Philz version. No it's not exfat.. sorry forgot to save logs.. will do now

I'm going start everything from the beginning..Because I had to reflash the firmware in order to boot the phone again..First I'm gonna Backup & Restore using TWRM.. then I'll try CWM

Update: TWRM restore failed. So probably it has nothing to do with Phlilz recovery. Phone won't boot because it happens after your system partition get formatted..reflashing my system partition using flashtool now

[MENTION=4904057][NUT][/MENTION] recovery logs from TWRP attached.. I noticed there are two forward slashes ("/system//app/" instead of "/system/app/") is it normal ?
[Sony Cross-Device General] [NUT]:
Please do remove the attachment now, i've seen the contents... but you forgot to remove your device serial from them :p

The path errors are trivial, these should not matter, the bit I'm worried about is that it says /system is a read only filesystem...