yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] ondrejvaroscak:
The third option is for older firmwares. Towelroot doesnt work on Lillipop.
[Sony Cross-Device General] Jackos:
Hey NUT, if I recall correctly the new Kingoroot doesn't send the IMEI.

I'll disassemble the current apk and see what it does exactly when I got some spare time.

Or maybe someone already did that?
[Sony Cross-Device General] harley1rocker:
My BL is unlocked. I'm rooted with kingroot. I tryd your recovery on a borrowd computer. It failed. I've tryd wolfdroids method of replacing kingroot with su. Failed. And it it says my sd is damaged now.

---------- Post added at 07:16 PM ---------- Previous post was at 07:12 PM ----------

What the hell is a FTF and how do I flash it? I've been flashing phones since the Epic4g touch. Tens of phones....I have know idea what your talking about
[Sony Cross-Device General] jdarski:
Dude, FTF flashing is basic knowledge when dealing with Sony phones and tablets. You shouldn't have even started without it. Read up about flashtool and xperifrm first...
[Sony Cross-Device General] harley1rocker:
Is it like Odin? And I did. I even started threads on it because I didn't know. I just kept getting confusing responses. I started were I started because that's were I was told to start. I found out my BL came unlocked so I rooted with kingroot (I was told to) big mistake.

IF I CAN GET RECOVERY. I'm good.

---------- Post added at 07:33 PM ---------- Previous post was at 07:32 PM ----------

I need to know how to remove kingroot. Still haven't gotten a straight answer on that. Flashtool?
[Sony Cross-Device General] jdarski:
Yep, flashtool. Make sure you wipe your system partition.
[Sony Cross-Device General] harley1rocker:
HOW do I wipe system partition? Is that incorporated into flash tool.??? And most importantly will using flashtool lock my bootloader?
[Sony Cross-Device General] casouzaj:
Have you already tried Supersu-me, from the Play Store? It's supposed to replace Kingroot by SuperSu.
[Sony Cross-Device General] [NUT]:
I was actually not talking about the apk, I am talking about the tool you use to root your device.

Okay, I will try to give you a short and easy run-down on how to do the stuff I said some time tomorrow.

I'll create a how-to thread on the subject and post a link to it here.

Be patient, I'll get you sorted.
[Sony Cross-Device General] Jackos:
You mean the windows application?
[Sony Cross-Device General] [NUT]:
Yes sir.

It's still sending IMEI to china, but this is a well known fact from a while back, maybe the very latest version doesn't, but I doubt it.
[Sony Cross-Device General] [NUT]:
[MENTION=4465781]harley1rocker[/MENTION]

[Knowledge Base] Introduction to the Sony (-Ericsson) Xperia Galaxy

It took me well over 3 hours to write it and find the links, info and details, I'm far from done, but this should be a good place to start.
[Sony Cross-Device General] fijasko:
pls delete, my bad
[Sony Cross-Device General] saulbrother:
hi

im just a "simple user" that needs help :)

i flashed the custom Sony bootloader "open devices" to my z1c

now i want to flash a "img" recovery file into the new recovery partitition with the command: "fastboot flash recovery"

what version of dualrecovery i must flash?

EDITED:

i found it :) there it is:

http://xdaforums.com/showpost.php?p=61519700&postcount=12

clean twrp 2.8.7 for the new "real recovery" introduced by sony, for unlocked bootloader devices

PS (just expressing my opinion)

i read that developers were complaining about sony devices didn't have a real recovery partition

but i don't get it: now that sony finally made the "real recovery partition", there is no development on recoveries to that partition

luckily we have that one developed (link i posted)
[Sony Cross-Device General] ondrejvaroscak:
I thing devs will be more active on recoveries as soon as the real recovery partition will be available on more phones, and mainly on the most popular (Z2/Z3).
[Sony Cross-Device General] saulbrother:
I think already is

Look at this:

http://developer.sonymobile.com/services/flash-tool/supported_phones/
[Sony Cross-Device General] dex87xda:
Hm this real recovery have separe partition?
[Sony Cross-Device General] saulbrother:
Yes

I just updated my CM12 and didn't lost the recovery, as usual. No need to reflash the recovery when we update a ROM
[Sony Cross-Device General] Rootk1t:
That's the same as tried and tested flashing recovery to FOTA partition. So what's the use of it?
[Sony Cross-Device General] saulbrother:
that's my question:

i'm not a developer, but i always read that they wanted that "real recovery partition"

i don't know but, i think that way we can flash the rom & kernel in recovery - no need to flash the kernel in fastboot

i dont know if FOTA partition is totally independent from other partitions

Read this:

http://xdaforums.com/crossdevice-dev/sony/noob-guide-to-sony-ericsson-xperia-t3209012

This part explains a little:

"But you just said Sony devices don't have a recovery partition, please... UN-confuse me!!

Yes, I did, and I'm right: there have been bright minds in the community who included a recovery in the boot image (the kernel partition) in the past and that way included a recovery on our Sony devices.

With the current 'open devices' policy from Sony, we now have:

-Recovery stored inside the system partition, which is meant for locked bootloader devices (closed devices) because they can not run custom kernels;

-Recovery stored in the boot image (for open devices);

-Recovery stored on the FOTA partition, but with a trigger from the regular boot image at boot (also for open devices);

-Recovery stored on the FOTA partition -renamed to recovery- together with an updated bootloader (for open devices, of course)."

Also read this:

http://xdaforums.com/showpost.php?p=63034561&postcount=48

But we need a pro developer to explain us this better :)
[Sony Cross-Device General] Yenkazu:
Nut already explain it, not very details, but it should clear enough :3

Think like this>

1. Locked bootloader= use FOTA partition to performed upgrade to whole system and kernel.

And I don't know how FOTA working, but it's should use some script (same as flashing from recovery), also all FOTA file will wiped after reboot.

2. Unlocked bootloader= use FOTA will not perform upgrade, since it's mismatch "something" (maybe someone can explain better for this).

3. Unlocked bootloader + modify partition(FOTA partition)= using FOTA partition as recovery file etc.

Simple, don't hurt your brain too much xD

So, it should like this>

1. FOTA partition only, no recovery (locked bootloader)

2. FOTA partition (broken/not usable), no recovery (unlocked bootloader)

3. No FOTA partition, embeded recovery (unlocked bootloader + modify)
[Sony Cross-Device General] juanpirulo:
Hi [MENTION=410007]Nut[/MENTION] i wonder if there is any option disable in twrp to prevent any error message when you flash a corrupted zip or system inside a zip. I ask you because i am making my own ROM and sometimes when i mess something in system.ext4 the zip install with no error message and i get stuck with bootloop and no recovery and i have to recovery my phone with flashtool. Cheers

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] [NUT]:
Eh, let me get your question straight: you want TWRP to generate an error and stop when flashing fails, correct?
[Sony Cross-Device General] juanpirulo:
Yes, that's correct. I think some times before twrp was doing that. Cheers

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] [NUT]:
If you use PRFCreator and not use the Legacy Mode, this is what happened to me too... but I think it's not TWRP's fault but the fault of the flashable package created by PRFC because it doesn't pass on the failure to TWRP.
[Sony Cross-Device General] juanpirulo:
I used legacy mode to modyfied system.ext4. I will ask in that thread about that. Cheers mate

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device General] VeEuzUKY:
I am first time Xperia owner after years of Samsung devices. I got a Z Ultra and absolutely love it. I had quite a difficult time to get the Bootloader unlocked but finally its done. Currently my I am on stock 5.02, that I want as soon as possible get rid of and flash with a custom CM ROM.

Since this is my first Xperia device and all procedures are very different form what I am used to with my previous phones, I want make sure I dont make any mistakes or screw things up.. Ive done it before, haha:)

Anyway I only see downloadable versions for locked bootloaders. Also, next I want to flash a custom CM based ROM and I see warnings (that I dont quite understand) regarding Unlocked Bootloader with CyanogenMod, AOSP and OmniRom that the kernel need be repack to replace the built in recovery with XZDualRecovery or things will either not work at all or require unexpected operating instructions. So I am extremely confused as what files to choose and what to do or to make a catastrophic mistake. And also I am not sure what method I should use:

- ZU-lockeddualrecovery2.8.21-RELEASE.flashable

- ZU-lockeddualrecovery2.8.21-RELEASE.installer

Thanks much for the advice on this:)
[Sony Cross-Device General] dex87xda:
What do legacy mode?
[Sony Cross-Device General] [NUT]:
Well, the short answer is quite simple: neither.

Before I explain it to ya, have a look here: [Knowledge Base] Introduction to the Sony (-Ericsson) Xperia Galaxy because that will teach you some basics when it comes to Sony devices. All things which are good to know and relevant to the question you have.

The packages you asked if they would be correct both install the recovery to the system partition. You should use the Kernel Builder to create a boot image for your device. It can repack any kernel (so far) for any ROM. This will allow you to wipe the system partition without losing recovery, something which the locked bootloader devices can not do.

[MENTION=3975929]zxz0O0[/MENTION] explained it in his thread. Since some version he switched to SIN flashing instead of repacking the ROM. The legacy mode reverts to the 'old' method.
[Sony Cross-Device General] Rootk1t:
[MENTION=4904057][NUT][/MENTION]

I noticed, recent 2.8.22 BETA is marked as RELEASE on your file host.

lockeddualrecovery2.8.22-RELEASE.flashable.zip

lockeddualrecovery2.8.22-RELEASE.installer.zip

I know RELEASE of 2.8.22 was not officially announced yet, but is it release or still beta? If it is release, why it is still in beta folder:confused:
[Sony Cross-Device General] VeEuzUKY:
I feel like the world's biggest idiot..

I have followed the instructions posted here RELIGIOUSLY as I know nothing about Xperia phones.. I just bought a Z Ultra that is my first (probably also my last because its driving me totally up a wall.. first thing I tried to do was unlock the Bootloader and that was the freaking nightmare from hell.. anyway it got done). Now for the next step, installing the recovery that seemed would be a breeze.. not..

I cant get the recovery installed via the BAT installer. Endless tries that never work and I only get error messages. The option I chose was number 3 because I dont have root.

Any ideas as to what my mistake is? Should I try Fastboot method via QickIMG (easiest for me since I clearly am a moron at all this)? This is supposed to go where.. system partition or boot partition? I dont understand anything anymore.

Years of flashing, rooting and cooking some custom ROMs for Samsungs and hardly a difficulty.. I buy an Xperia phone and I cant to ****!
[Sony Cross-Device General] zippy01:
You don't need this installer with an unlocked bootloader you need to flash a custom Kernel that includes recovery.

If you want to go down this route then you need to root your phone first but installing a kernel is by far the best option in your situation

Once you have a custom Kernel image in your fastboot folder you type fastboot flash boot boot.img providing your img is called boot.img
[Sony Cross-Device General] VeEuzUKY:
Why this installer doesnt work if everywhere on this thread the method is said to work for locked or unlocked bootloaders? Where this new piece of information comes from suddenly?

My state of confusion and awe at the complexity of all this rather complete. My last few Samsung devices, phones and tabs, I generally got root, recovery and a custom ROM in about 20 minutes. With this thing, it was 3 days just to get the ADB drivers installed and to recognize the phone for the bootloader to finally get unlocked. And now today, starts this amazing recovery installation adventure that I honestly thought would a no brainer. Xperias are definitely not for impatient people or the faint hearted, and super kudos to all the developers working on them because, its gotta be true love. The way Sony designs things around Android is truly mind-blowing..

Anyway, to the basics.. again, would the Fastboot method via QickIMG work (easiest for me since)? And it needs to go to system or boot partition?

As for the rooting option on this outlandish device now running stock 5.0.2, the readings I have done on the matter on XDA and other places, range from all sorts of contradictory information as to how to do it, to spectacular gymnastics of downgrading the stock rom to KK again,, then root there, then upgrade again to LP, then do a bunch of fixes.. I mean REALLY?..

Finally as for flashing a custom Kernel that includes recovery, 1) I do not have the first clue on how to do it, and 2) as soon as I have a working recovery I want immediately get rid of the Sony Stock ROM and get CM ROM inside. Then what? What's the point of the custom kernel that I assume will be immediatly obliterated?

Thanks for the help and guidance on this again very much!
[Sony Cross-Device General] zippy01:
Because you are not rooted. The none rooted method uses the towelroot method which is not available for lollipop. If you want to put cm on then use the cm Kernel which won't be obliterated. Yes there is methods around your situation ie going to kk and root and install recovery etc however as I said in your situation the easiest way is to just install a kernel.

Everyone's situation is different so the information is not contradictory it's just their situation. Mine for example is my bootloader is locked but that's my choice so I would have to downgrade etc in your case if you want to use this method with lollipop you would have to downgrade aswell
[Sony Cross-Device General] VeEuzUKY:
Thanks for your reply and I will follow your advice. But lets get this straight, how can I use a CM 12.1 Kernel which won't be obliterated, if I am currently on stock 5.02 with its own Sony whatever kernel? I really dont get it.

Anyway, you are busy man and I thank you for your time in replying to me. Since I dont have the first clue on how to build whatever necessary kernel/s, can you just point me to whatever threads or sources for reading I need to do to learn how to get it done? Ill do the learning and give it a try.

Thanks again:)
[Sony Cross-Device General] zippy01:
If you go to the official CyanogenMod website (if that's what you want) and download the correct rom for your phone you can then install the boot.img from inside the zip using fastboot. Then enter recovery and install the rom. The reason that with custom roms the kernel is not obliterated is because the kernel is flashed separately to the rom.

I personally don't like custom roms as I love the Sony UI but I also like to change it slightly. I do however know quite a lot about CyanogenMod and flashing roms can't tell you my background but I have been doing this sort of thing since 2010
[Sony Cross-Device General] [NUT]:
It's laziness to be honest. It is still on the BETA folder simply because I am waiting for people to report bugs on it since the last update. Because nobody is telling me they are successfully using it instead of 2.8.21 either, I'm a bit in limbo on the subject of promoting it to be the latest RELEASE version.

As I said, a LOT has changed, it's now debugged quite a bit, the chance is that it will work fine now AND that it will allow the use of a busybox updater app without breaking recovery or root... but nobody told me it does work OK and nobody said it did allow a busybox updater app to be used (which previously broke XZDR/root).

---------------------------

[MENTION=1270566]VeEuzUKY[/MENTION]

Follow this man's advice. If your goal is to install CM12, then use QuickIMG to flash the CM kernel first, then flash the ROM using the CM kernel's recovery.

No need to use XZDR as an intermediate step then.
[Sony Cross-Device General] jazzfrequency:
So..for unlocked BL, if i have for example (D6503_23.4.A.1.200_XZDRKernel2.8.21-RELEASE.flashable.zip) which was repacked with XZDR,

can i just extract the boot.img from the *.zip file and flash it with fastboot ?..am i correct ?

also..

a) Will have a newer kernel according to latest rom-version as stock with the benefit of recovery ?

b) will affect the performance of device (cpu, gpu) because the (stock) kernel will include the XZDualRecovery ?

Thanks !
[Sony Cross-Device General] artpra:
NUT,

used PRFTool 1.0 to combine Z2 23.4.A.1.232 with 2.8.22-RELEASE.flashable.zip and it failed: only one single vibration, no leds and reboot straight into the system.

Then used 2.8.21 installer over it and everything is working great.
[Sony Cross-Device General] nortynort:
Hi,

I'm getting a PIE error when trying to use installer from 2.8.21. So reading some posts on this thread above its maybe due to lollipop?

I read the advise about flashing CM kernel using boot.img. I just want to mention my end goal is not to flash any sort of new ROM at all. I just want to gain root access so I can use certain apps. Will flashing CM boot.img help me accomplish this?

Also functionally, is there any issues with using CM's kernal with Sony's official stock rom or will it break some functionality?

Thanks in advance

EDIT: So I checked the Sony website, then my phone. It looks like unlocking Bootloader is not allowed on my version of the phone? So flashing CM doesnt seem to be an option
[Sony Cross-Device General] ondrejvaroscak:
Tested release 2.8.22 with Xperia Z3 D6603 firmware version 23.4.A.1.200 and Busybox Pro (Stericsson). Everything works just flawlessly.
[Sony Cross-Device General] dex87xda:
2.8.22 as a daily driver? Stable?
[Sony Cross-Device General] zxz0O0:
For bootloader unlock you have to check service menu (dial *#*#7378423#*#* and navigate to Service Info => Configuration). It doesn't matter what Sony's website says.
[Sony Cross-Device General] [NUT]:
Yes, that's the way to flash it if you have no recovery handy.

a: yes;

b: no.

Hmm...

Unrooted installation does not work on lollipop.

Did you use the flashable or the installer?
[Sony Cross-Device General] :No-Frost::
[MENTION=4904057][NUT][/MENTION] I'm looking forward the *22 version (will install it in a bit).

Though I've noticed you haven´t provided a changelog yet...

I'm not actually asking for one but any hint on when it will be available?

Thanks mate :)
[Sony Cross-Device General] nortynort:
So did it the hard way in the end.

Downgraded to pre December KK.

Towelroot hanged on XZDualRecovery installer 2.8.21/22.

Used giefroot to root

Then used XZDualRecovery no problem

Flashed Prerooted ROM and everything seems great.

Thanks all.
[Sony Cross-Device General] bodomfan:
Where did you get the KK file please
[Sony Cross-Device General] ondrejvaroscak:
Forgot to mention... Flashable
[Sony Cross-Device General] Rootk1t:
It's working on Sony 5.1.1 ROMs. Especially mounting of /system/
[Sony Cross-Device General] nortynort:
Got it from here:

http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706

edit: forgot to mention this is for Z3C. But if there's a thread on xda for that, then I'm sure there's a similar thread here on xda if you are on another phone
[Sony Cross-Device General] mati865:
PRFCreator 1.0 + C6903_14.6.A.0.368_1276-4318_R2D + XZDualRecovery 2.8.22

No problems so far
[Sony Cross-Device General] Jackos:
Tested XZDualRecovery 2.8.22 on Z2 .232. Seems stable. I tried installing via recovery and normal install.
[Sony Cross-Device General] russel5:
[MENTION=4904057][NUT][/MENTION] same here.

Used PRF v1.1 z3c .232 and it failed after reboot. ^^

Sorry, not save the log, but i find the problem (read the log). Your "flashable" zip archive had empty folder .XZDualRecovery\bin\

With some update-binary when you flash zip, empty folder NOT created ot copied. Had same problems once with deodex zip archive and when replace update-binary not have any problem with empty folder.

Your script not have command to check or create this folder and busybox symlinks not worked (folder not exist) --> your script not work without busybox --> can't enter recovery. BUT when i create only this folder manualy ALL works like a charm, and i can access to recovery.

You need only add check "bin" folder exist or not. Thats all i think, but may be you find your way to fix this little problem with flashable zip archive. Glad to help you. ;)
[Sony Cross-Device General] mati865:
Found out if you don't install busybox (ex. Stericsson) XZDualRecovery 2.8.22 added to 5.1 FTF with PRFCreator 1.0 will not work.

Log is full of:

ln -sf /system/.XZDualRecovery/xbin/busybox /system/.XZDualRecovery/bin/[
ln: /system/.XZDualRecovery/bin/[: No such file or directory
...

After that there is error lzma: command not found.

Probably because directory /system/.XZDualRecovery/bin doesn't exist.

Unfortunately I don't have this log anymore.
[Sony Cross-Device General] [NUT]:
Thanks, that's a big help :good:

Thanks for confirming [MENTION=4688377]russel5[/MENTION]'s find.
[Sony Cross-Device General] [NUT]:
[MENTION=4688377]russel5[/MENTION], [MENTION=4793668]mati865[/MENTION] and anyone who has been testing too

I've updated the BETA folder packages again, this time it should make sure the bin directory exists. If for some reason it does not (got deleted maybe for some unknown reason) the chargemon script should restore it.
[Sony Cross-Device General] [NUT]:
Please don't stop reporting the use of 2.8.22 people, any report is a good report, I want to have input from any possible angle.

I would like to hear more from people using busybox updater apps if this version keeps working ok and that it still allows full root access to the device.

Once I have enough input I'll promote it to the next and truly last official 2.8 release version.
[Sony Cross-Device General] :
I'm having a problem with TWRP. with my Z2 D6503 - .232 (Lollipop 5.1.1)

TWRP reboots itself when trying to install from external SD card. PhilZ is OK

My card is a prehistoric 2 gb because the SanDisk Ultra suddenly became read only. I tried to reinstall the recovery (2.8.21) and still has the same problem. I attached preparation and old log.
[Sony Cross-Device General] russel5:
[MENTION=4904057][NUT][/MENTION] some feedback:

Seems now all works perfect, flashable zip works, installer zip works. If completely delete wp_mod.ko and backup in your folder, I still have rw access to system. Good work, bro.
[Sony Cross-Device General] [NUT]:
Are you able to install trouble free when using internal storage?
[Sony Cross-Device General] [NUT]:
Thanks for yet another depth analysis. I'm very grateful for all your testing mate :highfive:
[Sony Cross-Device General] Cookie Ninja:
[MENTION=4904057][NUT][/MENTION],

Houston, I think we have a problem. I deleted all the lzma, ric and chargemon (6 files) and renamed chargemon.stock to chargemon.

switched off and connected to PC just to see if charging worked (It did!)

Flashed 2.7.3 beta and saw all was ok. First boot forced to go to CWM (green light...Vol Up... purple light) and then screen transits from sony logo to balnk screen, No blue/cyan options displayed, no CWM icon logo, Nothing!!! (as last time). Had to do Pwr + Vol Up reset to go back and enter TWRP. Twrp was fine. The only difference from 2.6.3 stable was that it did'nt ask me to fix root in booting to system (faced this in 2.6.3 first boot to system)

Screenshot and last_log of recovery attached....
[Sony Cross-Device General] shoey63:
Did you touch any buttons while phone was automatically booting into CWM the first time?