yashsingh1/xdaforums huggingface dataset:
[Sony Xperia Z Ultra] zost:
Few days ago I bought my C6833 with 4.22 firmware 14.1.B.1.510 and CDA 1276-1141_R7A. In the meantime

I am asked (by/through the phone system) to update to 14.2.A.0.290.

I wish to root my phone, unlock bootloader, backup TA, install CWM or TWRP, and finally to be able

to install/try some custom ROMs. As the informations I found here are confusing a bit, I kindly ask for some

clarifications:

1) Is it necessary to downgrade (or whatever) to .532 firmware?

2) Is it necessary to change CDA to C6833_1275-8026? What if I skip this?

3) Is it necessary/usefull to upgrade to .290 before any operation.

Any other hint/method is also welcome. Many thanks.
[Sony Xperia Z Ultra] hassanmahmood:
Follow this process: http://xdaforums.com/showthread.php?t=2612980

To answer your questions:

1) Since your phone is not yet unlocked - it is necessary.

2) Not in the process I've recommended

3) You can now upgrade to .136 which is even newer than .290.
[Sony Xperia Z Ultra] Coolpsi:
Here’s an update since my last post: Considering that I suspected, that along the way of the entire process that I above mentioned, something could have happened to the pc that I was using (e.g. drivers compatibility, etc.), I tried on a different computer, and, as I supposed the communications phone-pc was again OK. I then rooted the phone again and installed the dual recovery. The next step should be installing the PAC boot.img, but, right now I am a little bit afraid, because the all mess begun at that point… :-/ As you can imagine, at this point I am a little bit confused… What do you think my next step should be? Many many thanks!

---------- Post added at 03:52 PM ---------- Previous post was at 03:12 PM ----------

I hope you are as patient as I am confused... :-/ Since it seems that I have to update to android 4.3 to flash ROMs,I just thought if it is possible to do the update to .290 via OTA? I am asking that because I actually have the update notification on my phone, but, right now I don't dare to do anything "strange". Is it just me, or this kind of things are much easier on Samsung devices? In the last 4 years I have owned several Samsungs devices (Mega was the last one) and I have never run with so much trouble to get a phone the way I wanted it. Once again, thank you.
[Sony Xperia Z Ultra] SimplyCity:
Hi guys,

have a problem and a question for masters of XZU: I did root (downgrade from .290, root, recovery, flash back to .290) and everything was fine untill busy box installed... Recovery is gone, can not get into it. Green light does not show up. Phone sometimes boots normaly, sometimes has bootloops... Trying unistall BB, but at the end BB says that I can get bootloop after unistall, and it can not unistall itself... Can not find solution, but thinking about whole process again (with dongrading and so on)... Please tell me is there any way in this very situation to flash clean .290 and keep root withou downgrading? Or to bring recovery back somehow? XZU 6833, locked BL, stock kernel. Thank you VM!
[Sony Xperia Z Ultra] LordManhattan:
[MENTION=5713706]Coolpsi[/MENTION] When you flash a boot.img and boot the phone, the PAC logo pops up and the LED is yellow or something (i don't have my Ultra right now, so can't check), and when you press Vol Up, the LED should change to purple or something, and then you're in recovery. Feel free to press Vol Up several times if the LED doesn't change color.

I can't really see that you've done anything wrong so far, so your last step is to successfully boot into recovery after flashing boot.img. That's the only thing that's stopping you right now :p You can of course, try and flash the boot.img from CM10.2

And btw, you don't need to root and install recovery each time you fail. You can be on stock ROM, flash boot.img, boot into recovery and do your thing. Root, flash a ROM or whatever. I know your problem is that you can't boot into recovery after flashing boot.img, but try to remember it in the future :)

All this is normal. QuickIMG should detect your phone when it's in fastboot (blue LED), but it might not do that if it has issues with the drivers.

You can use PC Companion if you want to, but you'll lose root and you'll have to un-root and relock the bootloader before you use it, or it won't work.

- AOSP: Android Open Source Project. AOSP ROMs are ROMs that are based on stock Android, i.e CyanogenMod, GPe, SlimKat, PAC etc.

- Stock: Stock Sony ROMs like Monx, Dogg ROM (i.e ROMs with the Sony UI) that you flash in Recovery

- Stock FTF: These are usually untouched stock Sony ROMs that you flash using Flashtool

I'm in Norway, so i'm only an hour ahead of you. Why isn't Portugal in the same time zone as the rest of Europe? :p
[Sony Xperia Z Ultra] LordManhattan:
Is your bootloader locked or unlocked?
[Sony Xperia Z Ultra] blueether:
[MENTION=5713706]Coolpsi[/MENTION] , LordManhatton beat me to it ;)
[Sony Xperia Z Ultra] SimplyCity:
It is locked. I did write about it: "locked BL".

Wysłane z mojego C6833
[Sony Xperia Z Ultra] LordManhattan:
Woops, i somehow skipped that part :p So you're able to boot normally? Have you tried to flash recovery again with the Windows tool? If that works, just boot into recovery after you're done and restore or flash a ROM (and do not install BB again). If you can't install recovery again, then i guess you'll have to use Flashtool and start from scratch again, unless i'm forgetting something.

[MENTION=3534362]blueether[/MENTION] any ideas?
[Sony Xperia Z Ultra] SimplyCity:
:) I can boot normally. Flashing recovery with Windows does not solve the problem. It's like nothing happend... Durring flashing ADB wants to SU rights, and phone restarts itself. But thats all. No recovery at all... Ok. Flash from scratch means downgrade and so on?

Wysłane z mojego C6833
[Sony Xperia Z Ultra] Coolpsi:
Here I come again, I have just flashed the Pac boot.img again, and when I am in recovery and select "reboot system now" I get this message: "Root access possibly lost. Fix? This can not be undone" the options are "No" or "Yes - Fix root (/system/xbin/su). No matter what option I select, the phone still doesn't boot! So, right now I'm doing another NAND restore! :-/
[Sony Xperia Z Ultra] LordManhattan:
Hmm, that's strange. So it flashes recovery without any errors, and it asks for root on your Ultra, which means it's fully aware of your device, but why would it ask you to reboot after granting it root, if it failed? It should flash recovery, ask for root, then it'll reboot into recovery and that's that. Are you able to boot into TWRP? (Vol Down i nstead of Up when you boot)

Ooh, you're running the PAC boot.img, and that's not compatible with stock ROMs, so it won't boot if you reboot. You should've flashed the ROM you want to flash when you were in recovery, and not reboot. I should probably have said that, but now you know. Don't give up though, we're almost there :p

- Flash boot.img

- Boot into recovery

- Flash ROM

- Wipe data. This will delete everything (apps etc.)

- Reboot and you're done

If you want to restore and go back to the ROM you're currently on:

- Boot into recovery and restore

- Or if you get an error during restore, flash boot.img, boot into recovery and restore (but this shouldn't be necessary)
[Sony Xperia Z Ultra] Coolpsi:
Huuum! I see, but, confirm me something, yesterday "blueether" kindly mentioned that in order to flash ROMs I needed to have a 4.3 firmware installed, so I would have to do a upgrade... Considering that I am still runing the .532, if I try to flash "Slim-togari-4.4.2.build.2.6.RC2-UNOFFICIAL-20140205-1430" it will not work?
[Sony Xperia Z Ultra] SimplyCity:
Misanderstood, or I did not write exactly whats happend. Well, here it is: I can boot normaly. Every time without green light (thats the moment, when I would Vol up or down if I could). XZU fully starts up. Then I flash recovery (grants Su for ADB) with Win tool, then my XZU reboots. The way it supposed to using Win tool. But it not goes to recovery after first boot after that. Thats really strange, but it is true. I wouldn't waste your time if it could figurę it out myself... Yor help is realy great an needed. So, restart again, normal way, and again without sucess... No green light, no recovery. I did whole process 3 more times for now. No sucess at all... :( For now I realy do not know if I can boot to any recovery... I will try (without green light) and let you know. Thanks anyway

Wysłane z mojego C6833
[Sony Xperia Z Ultra] LordManhattan:
God damn it... You're right. You should be on rooted 290 before you flash a KitKat ROM.

Right, so:

- Update to 290 using Flashtool (that way you'll get the right baseband)

- Flash boot.img and flash a ROM or whatever you want. Remember to not reboot when you're still on the PAC boot.img.

Hmm, i'm still not sure what's going on. The Windows tool is pretty fail safe, so it's weird that it goes through with everything without giving any errors. Could you copy the output from ADB when you're trying it again, and paste it here?
[Sony Xperia Z Ultra] Coolpsi:
Ok, baby steps, :laugh: so, if I understand correctly, right now I most flash a .290 oficial Sony firmware, I think this one will do [STOCK ROM] [FTF] Xperia Z Ultra (C6833) 14.2.A.0.290 "Generic EU" (http://xdaforums.com/showthread.php?t=2453921). After having done that, I supose my phone will no longer be rooted, and will no longer have recovery and TWRP, is that correct? If so, should I root the phone first to flash the Pac boot.img? Regarding the recovery mode, even if I loose it through the .290 flash, as I think you told me before, when flashing the Pac boot.img it will aswell install the recovery mode again. I am correct? :confused:
[Sony Xperia Z Ultra] SimplyCity:
Yes, as follows:

Choose your root app to install or another option if wanted [1,2,3,4]?1

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

Step1 : Waiting for Device.

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

Succes

.

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

Step2 : Sending the recovery files.

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

0 KB/s (57 bytes in 1.000s)

4125 KB/s (264012 bytes in 0.062s)

8 KB/s (8276 bytes in 1.000s)

7 KB/s (7542 bytes in 1.000s)

5817 KB/s (657704 bytes in 0.110s)

6135 KB/s (2822413 bytes in 0.449s)

6561 KB/s (1581352 bytes in 0.235s)

7062 KB/s (735308 bytes in 0.101s)

2 KB/s (2310 bytes in 1.000s)

.

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

Step3 : Setup of dual recovery.

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

Look at your device and grant supersu access

Press any key to continue AFTER granting root access.

-rwxr-xr-x shell shell 657704 2013-08-06 09:34 busybox

Press any key to continue . . .

killing RIC, remount /system rw and temporarily disabling the RIC service...

mount: permission denied (are you root?)

mount: permission denied (are you root?)

mount: permission denied (are you root?)

copy recoveries to system.

cp: can't create '/system/bin/recovery.twrp.cpio.lzma': File exists

cp: can't create '/system/bin/recovery.cwm.cpio.lzma': File exists

Unable to chmod /system/bin/recovery.twrp.cpio.lzma: Read-only file system

Unable to chmod /system/bin/recovery.cwm.cpio.lzma: Read-only file system

rename stock chargemon

copy hacked chargemon to system.

cp: can't create '/system/bin/chargemon': File exists

Unable to chmod /system/bin/chargemon: Read-only file system

copy dualrecovery.sh to system.

cp: can't create '/system/bin/dualrecovery.sh': File exists

Unable to chmod /system/bin/dualrecovery.sh: Read-only file system

copy new busybox to system.

cp: can't create '/system/xbin/busybox': File exists

Unable to chmod /system/xbin/busybox: Read-only file system

make file for faster backup.

make sure first boot goes to recovery.

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

DEVICE WILL NOW REBOOT!

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

Now I see! Something's wrong... What do you think? Maybe I stop here and start over? From downgrade... ??? Or maybe there is solution for me? :)
[Sony Xperia Z Ultra] LordManhattan:
Your bootloader is unlocked, so just flash boot.img after you've updated to 290 (yes, the one you linked is a good one), and flash the ROM you want. The ROM you're going to flash will most certainly have recovery built in, so you don't have to do anything else after that. It'll be rooted too.

Ah yes, it looks like it can't write to system, so you might only have partial root. This wouldn't have been a problem if your bootloader was unlocked, but you'll have to re-root again. Use the one that's linked in the guide and use option 1 (the xperia one). Don't sweat if you can't get it to work on the first try. I had some trouble with it too, but it works.
[Sony Xperia Z Ultra] LordManhattan:
The boot.img contains recovery, so once you've flashed it, unplug it from your computer, turn your Ultra on, the PAC logo will show, hit Vol Up once (or a couple of times) until the LED changes color. You'll now be in recovery, so flash the ROM you want and you're done.

If you fail at booting into recovery, hold VOL UP and POWER for two seconds, and you'll feel three rapid vibrations. Turn it on and try again.
[Sony Xperia Z Ultra] SimplyCity:
:) Thanks for your help. After a few thoughts I decided to make whole process again: downgrade, root, recovery, upgrade. It took obout an hour (with tea brak :) ). Now I have fully rooted .290! Happy user!

ps. I thought myself: BusyBox could cause more damage then I could imagine, so it is better to buid everything from scratch

Thanks again!
[Sony Xperia Z Ultra] Coolpsi:
Hey! I am almost there, I was finally able to flash a ROM (Slim-togari-4.4.2.build.2.6.RC2-UNOFFICIAL-20140205-1430), but I have realized two things: I don't have a superuser application, I supposed I am rooted, but no superuser, should I flash, via recovery mode, a SuperSU zip file? The second problem is that the camera don't work... Would it be from the ROM? In that case, could I install the CM11 - Android 4.4 - FreeXperia Project, just like I did with this one? What I mean is, do I have to flash another boot.img, like suggested in the tutorial (http://xdaforums.com/showthread.php?t=2540652) before flashing that ROM?
[Sony Xperia Z Ultra] LordManhattan:
It should be rooted. Go into Settings and scroll down. See if the Superuser category is there. If it's not, download SuperSU and see if it can update binaries. If it can't, it means that you're strangely enough not rooted, so flash SuperSU in recovery and they'll be it.

Not sure if the camera not working is a bug or not, but you are free to flash CM11 if you want to, or even the GPe ROM which is rock solid. You don't have to flash boot.img since you're already on AOSP, so enjoy yourself.

Sent from my old Desire HD using Morse code
[Sony Xperia Z Ultra] blueether:
more or less what [MENTION=1197391]Lordman[/MENTION]hatton said...

In SlimKat Superuser is in advanced options in settings, no separate UI.

The camera works fine for me in Slim, but I am on a .136 base, so that might be the problem you have.

If you want to flash CM11 (or better yet GPe [in my opinion]) you can just flash the rom from the current recovery with a wipe of data partition and caches.
[Sony Xperia Z Ultra] Coolpsi:
"LordManhattan" and "Blueether", It seems that I finally nailed it! Needless to say, without your help, all of this would have been much more difficult, to say the least... For that, here's a sincere THANK YOU! Right now I have just installed the Google Edition ROM, and I think I will use it for a while. Despite all I have learned from you, I still have a few questions, I will organized them latter on, or in the next days. By the way, my name is Marco! :highfive:

PS: In the slim ROM, the camera was ok after a phone reboot.

---------- Post added at 10:25 AM ---------- Previous post was at 10:22 AM ----------

"Blueether" and "LordManhattan", It seems that I finally nailed it! Needless to say, without your help, all of this would have been much more difficult, to say the least... For that, here's a sincere THANK YOU! Right now I have just installed the Google Edition ROM, and I think I will use it for a while. Despite all I have learned from you, I still have a few questions, I will organized them latter on, or in the next days. By the way, my name is Marco! :highfive:

PS: In the slim ROM, the camera was ok after a phone reboot.
[Sony Xperia Z Ultra] Coolpsi:
Hello again "LordManhattan! I'm a getting a little bit tired... Pfuuuuuuu Now I am facing this problem when in Play Store updating or downloading new apps I get this message: "could not be downloaded due to an error. (920)". Note that in the first place I had this message "could not be downloaded due to an error. (403); the situation stayed the same after cleaning play store cache and factory reset (data, dalvik) via TWRP. I then decided to reflash the ROM (GPe). At the begining of the applications updates, everything was ok, but then arrived the .920 error! What should I do?!? :confused:

---------- Post added at 08:02 PM ---------- Previous post was at 07:49 PM ----------

It seems that I have found the solution in a "Skyline 23" post, I had 7 devices in my Google account and, apparently more than 5 devices result in that kind of error! Go figure! :eek:
[Sony Xperia Z Ultra] LordManhattan:
Well now i've heard about that too :p
[Sony Xperia Z Ultra] Coolpsi:
Wooow! You didn't know it! That's a first! ;) Ok, I have just realize that I need your help again - it seems that you are not getting rid of me anytime soon he he he -. Right now I would like you to explain me the way to do this:

1 - Going back to the latest Sony stock firmware (.136), having root and recovery mode. In this case, should I flash directly, via flashtool, the .136 firmware? If so, what about the root and the recovery?

2 - What if I want to try a custom ROM based on Sony official firmware, like Dogg ROM (http://xdaforums.com/showthread.php?t=2509411)? If I recall it right, I should flash it via recovery mode, but with a diferent boot.img (I have the "Pac" one), is that correct? If so, wich one should I use? Cheers! :good:
[Sony Xperia Z Ultra] LordManhattan:
I'm not on a computer right now, so we'll have to take the 136 thing a little later.

Yeah, you should be able to flash DoggROM by using the pac boot.img. Just remember to do a full wipe, or else you'll bootloop
[Sony Xperia Z Ultra] blueether:
As [MENTION=1197391]Lordman[/MENTION]hatton is too lazy I'll reply

Going back to Stock:

Flash the FTF from flashtool

Flash a recovery, [NUT]/jackie/ChillyChan any of them will do. See their threads for how to flash them. I generally use ChillyChan's one (http://xdaforums.com/showthread.php?t=2575909 ) and it's flashed with flashtool/QuickImg

Flash SuperSu from recovery http://download.chainfire.eu/supersu

Done

To flash a Stock based ROM Just flash from recovery after doing the above (you can skip the SuperSu step) - take note of any steps listed in the ROM
[Sony Xperia Z Ultra] Coolpsi:
Thank you "blueether", received loud and clear! :good: Cheers! :)

---------- Post added at 02:30 PM ---------- Previous post was at 02:25 PM ----------

No worries "LordManhattan", "Blueether" was kind enough to explain it to me! Thank you both! :highfive:
[Sony Xperia Z Ultra] zost:
I have C6833 with unlocked BL, firmware 14.1.B.1.532 (after downgrading). I tried to root it with with v32 and device type 2) , but unsuccesfully. Process always stops on "test display" screen.

Which version of Bin4ry tool and "device type" option to use? Other hints? Many thanks in advance.
[Sony Xperia Z Ultra] LordManhattan:
You should use option 0. Keep in mind that it might not work the first or second time, so just keep trying for a while. You can also easily root 290 and 136 since you have an unlocked bootloader.
[Sony Xperia Z Ultra] zost:
It worked!! Thank you very much, my device is rooted now.
[Sony Xperia Z Ultra] zost:
Thanks to you, my C6833 is rooted now, BL unlocked, on .532 fw (after downgrading).

Which CWM/TWRP/PhilzTouch to flash now and how to do that? And which firmware (custom or not) to flash, newer tnan .532, and how? Your advices are welcome.

Sorry if I'm boring.
[Sony Xperia Z Ultra] grenva:
update thread guide.

Sorry for the laziness factor (just being honest) but can the OP update the guide for the new .136 firmware, if it works with the guide as written. Thanks.

-newb

PS, (unrelated)(off topic),

Still no simple/easy way to make a Z ultra (c6806) into a replica GPE Z ultra, right?
[Sony Xperia Z Ultra] blueether:
just use the .290 instructions
[Sony Xperia Z Ultra] SimplyCity:
Hi there again. I am gona to flash .136 but have 2 questions:

1. I am in central europe and was wandering if I can flash .136 using method from dev section? I mean is there any differents between xxx.136.flashable.zip from that post and some specially designed for CE? Or maybe it does not matter? I am on .290 rooted and want to keep that funcionality :)

2. Is there any reason to not doing that? I mean maybe better to stay with .290 for now... What do you think?

Tapatalked from C6833
[Sony Xperia Z Ultra] paulotex:
Rooting .136 with locked bootloader

Since someone asked, here are some quick instructions to root for .136 with a locked bootloader. Based on this original guide. I had to do some modifications, though, and this is for a C6833, so YMMV. Here's what I did:

1. Flashed C6833_14.1.B.1.532_[NUT].ftf. Get it from NUT.

2. Rooted.

3. (Optional) Backup TA.

3. Installed ZU-lockeddualrecovery*.installer.zip. Get it from NUT.

4. Wiped Dalvik-Cache, System, Cache. This is important to avoid boot loops. Did not wipe Data nor Internal Storage.

5. Installed C6833_14.2.A.1.136.flashable.zip. Get it from NUT.

6. Flashed C6833_14.2.A.1.136_Stripped.ftf. Get it from NUT.

Note about step 4.: If I wipe data and internal storage, then Installing the flashable zip would fail, because some folders were missing. So if you get a boot loop, you can try to wipe everything (including data and internal storage), but then you should go back to 1., flashing with the .532.

Big thanks to jackie099, LordManhattan, NUT, DevShaft for the great tuts and tools!
[Sony Xperia Z Ultra] 510jungleboy:
I recently bought a Unlocked Ultra Z LTE C6806 directly from Sony. It's running the latest firmware .136. I want to root it. Do I use this step above ? Also , how do I know if i have a locked Bootloader?
[Sony Xperia Z Ultra] blueether:
more or less. The OP has all you need. ti see if you can unlock the BL open the dialler and enter *#*#7378423#*#* to access the service menu.
[Sony Xperia Z Ultra] 510jungleboy:
Rooting Status says Bootloader Unlocking Allowed: Yes

So what does that mean? Does it mean that the bootloader is already unlock?
[Sony Xperia Z Ultra] kramnod:
I'm using Xperia Z ultra and I've downgraded to .532 UK, it says success but when I install SperSU, it says "there is no SU binary installed, this is a problem" and then SuperSU just closes down...

Tried it also with HK .532

I used the root kit from http://xdaforums.com/showthread.php?t=2559009 its says success but its seems it did not install the binary or the root app, I'm sure I have the right driver since I was able to use the flashtool to downgrade....

I've got USB debugging and unknown sources checked

Need help, getting confused already, hehe
[Sony Xperia Z Ultra] jutley:
yawn yawn just pulled out my z ultra from my draw was gathering dust just done the whole chabang ready to install a GPE rom anytime soon yawn yawn put z ultra back in the draw and going to bed goodnight.
[Sony Xperia Z Ultra] LordManhattan:
Install this and try again.
[Sony Xperia Z Ultra] kramnod:
here is what I'm getting with rootkitZ

[/URL][/IMG]
[Sony Xperia Z Ultra] LordManhattan:
That is one tiny screenshot :p We'll need a bigger one.
[Sony Xperia Z Ultra] rickgillyon:
I decided to downgrade and get my root back. I'm successfully down to 532 and rooted, and I can get the OTA, but it always reboots to install, I see the recovery install start, then it reboots after a few seconds and once started up fully shows "Could not install new software version. Try again."

Tried a few times, always the same. Any ideas?
[Sony Xperia Z Ultra] techpal:
Do you have unlocked bootloader? if its then OTA wont install.