yashsingh1/xdaforums huggingface dataset:
[Sony Xperia Z Ultra] najoor:
TWRP recovery has an option that allows you to save a log of the installation process. please save that log on your SD card and attach it here so I can look at it and see what is going wrong with your installation. also let me know what version of Android you are starting from.
[Sony Xperia Z Ultra] bearaczek:
I am starting form Android 5.0.2. The log I will prepare and attach it here. I have saved the log on the SD card but I don't which one is that which is interesting for us :(
[Sony Xperia Z Ultra] Fatzenbolt:
darn it im already on 5.1.1 with closed bootloader. How can I downgrade without opening?
[Sony Xperia Z Ultra] najoor:
Read the second part of http://xdaforums.com/showpost.php?p=62936808&postcount=22 It basically requires flashing a kitkat ftf and rooting it and following the OP.
[Sony Xperia Z Ultra] hassanmahmood:
I have 4.4.4 rooted with recovery installed.

I am on a 6806.

I have an FTF for the 6806. Can I use the 5.1.1 system.zip on a 6806? And then just flash the FTF excluding system?
[Sony Xperia Z Ultra] jaime4272:
I want to thank you for your guide. I finally manage to get it to work and I think that king root was my problem. so I did go back to 4.4.4 and root with out king root and install SuperSU and ZU-dual recovery then it worked. now I'm root with dual recovery on android 5.1.1 + xposed, gravitybox, etc
[Sony Xperia Z Ultra] hassanmahmood:
SIMLOCK checked or unchecked?
[Sony Xperia Z Ultra] xb91:
A different region rom ?

So ... can i use the "C6833_Customized+CE1_14.6.A.0.368.ftf" instead of "C6833_14.6.A.0.368_No_System.ftf" and just uncheck System when flashing with Flashtool ?
[Sony Xperia Z Ultra] najoor:
If by "uncheck" you mean exclude, the answer is yes.
[Sony Xperia Z Ultra] says888says:
Would like to downgrade to Kitkat 14.4.A.0.108 and get root with 5.1 . Could someone show where i can download Kitkat 14.4.A.0.108 firmware ?

Many thanks
[Sony Xperia Z Ultra] tnthd2:
Xperifirm still shows it available. Google would give you this one: techbeasts.com/2015/04/18/root-xperia-z-ultra-c6802-c6833-c6806-14-5-a-0-242-5-0-2-lollipop-firmware/.

---------- Post added at 11:05 PM ---------- Previous post was at 10:57 PM ----------

OP, why the complicated two steps for upgrading to rooted 5.1.1? Why not just build one prerooted flashable zip using PRFcreator?
[Sony Xperia Z Ultra] najoor:
Because prerooted flashable zip files do not properly flash all partitions in all circumstances.
[Sony Xperia Z Ultra] tnthd2:
Sounds reasonable. But a zip does not flash, so it's probably some bugs of the recovery, most likely some older versions, whereas newer recovery versions seem to work.
[Sony Xperia Z Ultra] bearaczek:
What way of rooting did you use to root Android 4.4.4 bacause i used this method Everything About Root and Unlocking (4.4.4)[13/11/2014] but after rooting I wasn't able to install 5.1.1system.zip
[Sony Xperia Z Ultra] says888says:
Thanks Will try to root again
[Sony Xperia Z Ultra] hassanmahmood:
I'm on rooted 5.1.1 now, but there seems to be problems with the Album app.

When you open a photo, it goes black after a couple of seconds.

Anyone else have the same issue?
[Sony Xperia Z Ultra] tnthd2:
Just download the latest NUT's dualrecovery installer (from the Beta Testing directory) version 2.8.22, and run the install.bat. It'll give you both root and recovery in one simple step.
[Sony Xperia Z Ultra] xb91:
Looking good :)

Followed the steps and installed the pre-rooted Android 5.1.1. Everything is working perfectly.

Thanks :)
[Sony Xperia Z Ultra] speculatrix:
Unfortunately I already upgraded to 5.1.1 stock and lost custom recovery, but I have unlocked bootloader. Is there a way to install the custom recovery without downgrading to KitKat?

thanks
[Sony Xperia Z Ultra] jaime4272:
I don't think so unless you are rooted
[Sony Xperia Z Ultra] speculatrix:
Ok, I reverted to 4.4.4, used NUT's dual recovery to root, install super user and recovery, then did the upgrade dance listed in the first post.

The first time I got boot loop, so I repeated flashing the system file from recovery and then flashing the no-system FTF using FlashTool, and everything went perfectly.

I was thus able to use Titanium Backup Root in restore mode to get back the apps whose configuration I really care about.

So I made a donation to NUT for his hard work. Please other people consider it. If we all make modest donations it needn't be a burden to any one person but give a good reward to him and motivate him to keep up the good work!
[Sony Xperia Z Ultra] Griprhowe:
Sony Xperia z Ultra C6806 US version

Hey Sounds great, can you direct me to the link to download the C8606 US Version please Sir..? Awesome Job thanks in advance...
[Sony Xperia Z Ultra] Griprhowe:
Sony Xperia z Ultra C6806 US version

Hello,

I hope all is well. First of all thanks for all your help and support in the quest for the ultimate ROOT.

Here is my situation:

1. I am able to successfully downgrade to KitKat (4.4.4) and root using Easy Root Tool and installed SuperSu. Verified with Root Checker.

2. Ran ZU-lockeddualrecovery2.8.21-RELEASE.installer to install dual recovery. It installed. Restarted the phone but did not boot to recovery the first time. I noticed that it did install NDR Utilities.

2. I am able to boot into TWRP Recovery with no problem.

3. Since I couldn't find a prerooted C6806 14.6.A.0.368, I used PRF Creator v1.0 to make one using XperFirm and Flashtools.

All good up to now.

4. When trying to flash the Prerooted flashable zip the process aborts and does not finish. TWRP will not install the zip even after several attempts. I cant tell whether the zip Created by PRF is the problem. Or if the problem is with Recovery.

Any Suggestions???
[Sony Xperia Z Ultra] tnthd2:
There seems to be some bugs in older version of dualrecovery. Try to use version 2.8.22-Release from the Beta directory. It flashes my self-built prerooted zip just fine.
[Sony Xperia Z Ultra] Griprhowe:
I tried that as well. It does the same thing.
[Sony Xperia Z Ultra] tnthd2:
Did you use the installer for ver. 2.8.22 while on KK 4.4.4? (I did it without even using EasyRoot or installing SuperSU.) If yes, last resort I can think of is to follow the instruction in the OP.
[Sony Xperia Z Ultra] mingkee:
I will make a much easier guide which has 5.1.x installed out of the box, or updated to 5.1.x and lost root and NO recovery.
[Sony Xperia Z Ultra] _A.T.Omix_:
Successfully upgraded but, I don't like how big the icons are, is there a way to change that?
[Sony Xperia Z Ultra] tnthd2:
You can experiment with editing the build.prop file or use a different home manager.
[Sony Xperia Z Ultra] _A.T.Omix_:
I found the way to go back to the old icon size.

Long tap on the home screen then go in home screen settings, there you can change the icons size.
[Sony Xperia Z Ultra] tnthd2:
Oh yes, read and forgot about that since I've been using Nova for a long time.
[Sony Xperia Z Ultra] stewwmann:
Success on 6806! Awesome, thanks!!!Came from 5.0.2 rooted.
[Sony Xperia Z Ultra] tonydd:
Never mind, downgraded using flash tool
[Sony Xperia Z Ultra] E90 Commie:
I have been playing around with .368 now since I decided to have a "stock" period for a while (before it is time for Marshmallow...) and there is one thing that should be mentioned in the first post in every thread about root on this stock ROM:

SELinux Mode Changer and SELinux Permissive is necessary for every kind of r/w access to /system. The result otherwise is similar to "partial root" - i.e. working SuperSU but absolutely NO r/w access to /system.

It seems to be impossible to have SELinux Enforcing with r/w system access on .368.
[Sony Xperia Z Ultra] rockky:
So frustrating ?!

Got this refurbished Ultra.

Constant Kingo 'Root Failed!' on bootloader unlocked 6806 w/every attempt via computer. Believe I need recovery partition.?...I don't know.

?

Any leadership appreciated.
[Sony Xperia Z Ultra] najoor:
1- Kingroot/Kingo is cancer. Don't use it unless you have to: http://xdaforums.com/showpost.php?p=63108914&postcount=111

2- You need to flash a Kitkat 4.4.4 ftf (firmware 14.4.A.0.108) on your phone (ask if you don't know where to get this file from and how to flash it), then use ZU-lockeddualrecovery2.8.21-RELEASE.installer which installs the recovery and roots the phone at the same time (ask if you don't know where to get it and how to install it). This gives you rooted KitKat. No either stay on Kitkat or use a guid like the one you are currently reading this post on to install a rooted Lollipop.
[Sony Xperia Z Ultra] mingkee:
This one?

http://xdaforums.com/xperia-z-ultra/general/comprehensive-guide-rooting-5-1-x-t3219502

I used rollback method and run the process, and it just works fine.
[Sony Xperia Z Ultra] rockky:
👍👍👍👍👍👍👍👍

Thanks so much for this.

After a couple false starts root and recovery on 5.1.1! ExCellent!

Only problem is no write privileges for system files.

What's the best way to correct this?

Just run easyroot again?

Thanks
[Sony Xperia Z Ultra] najoor:
Sorry guys, I don't understand why you say there is no write access to to /system. Keep in mind that the system partition is almost always mounted as read-only, regardless of your root status. However, once you obtain root you (or your apps) can always mount /system as read-write. You can test it yourself like this:

Open an adb terminal from a PC and run the folllowing lines:

su
cd /system
cp build.prop b.p

At this point you will get an error because there is no RW access to /system. Then proceed to mount /system as RW:

mount -o rw,remount /system
cp build.prop b.p
ls

And you should see a file called b.p added to the files in /system. Then proceed to delete it:

rm b.p

Also, I don't see any reason to set SELinux to permissive but if you really insist, you can open an adb shell and run (as root) the following:

setenforce Permissive

When you are done playing with it set it back to Enforcing:

setenforce Enforcing

That is all there is to it.
[Sony Xperia Z Ultra] E90 Commie:
What happens on my device with SELinux Enforcing is:

1. Titanium Backup is granted root access but are unable to delete system apps.

2. Root Explorer is granted root access but is unable to mount /system as rw on selection.

3. Terminal in System Tuner Pro is unable to issue the mount rw command despite being granted root access.

All those issues are eliminated when SELinux is changed to Permissive. So yes, it seems like there is some kind of protection involved which make /system protected despite root when SELinux is set to Enforcing.

I did a search in different threads and it seems to be a common theme on stock ROMs with stock kernel.

This issue isn't present on ROMs with a different kernel such as the CM12.x based ones.
[Sony Xperia Z Ultra] rockky:
"SELinux is changed to Permissive" : for the uninformed: this is done via PC only? Or can be done on the device??

Thanks

Tim
[Sony Xperia Z Ultra] E90 Commie:
SELinux can be changed through the "SELinux Mode Changer" app.
[Sony Xperia Z Ultra] najoor:
Do you guys mind telling me why you want to change the SElinux enforcing mode? Of course you can do it once you obtain root but if your only reason is that some of your apps cannot mount the system as RW, then in my opinion you may be better off using other apps instead.

Selinux is there for a reason. It protects your OS and once the need for root is satisfied you should leave it alone. Permanently setting it to Permissive weakens your OS. And constantly switching between Enforcing and Permissive is a bad idea because disabling SELinux also disables the generation of contexts. The files that you create or modify will not get a SELinux context. If you then revert to SELinux enabled, SELinux will refuse to read those files and you will need to do a full file system relabel again.

As I demonstrated in my last post a simple mount command can give you write access to /system. If your apps can't get that access it's because they are not properly written to play nice with Sony stock kernel. If you are an advanced enough user who is confident enough to play with SELinux, then consider deleting the system apps manually. For backup purposes there is nandroid online backup, flashfire, twrp, etc with their companion recovery apps. File manager HD works well with the system partitions and terminal emulator app is the de facto standard for terminal command entry on Android so give them a try.
[Sony Xperia Z Ultra] MartyM76:
Wrong Phone Type Displayed When 5.1.1-system.zip Is Used On C6806

Hi guys. I can verify that the method here does work for the C6806, however here's the problem:

On my C6806, using this method my phone shows C6833! Is this caused by the 5.1.1-system.zip being built for C6833? Do I need a different system .zip file for my C6806, and is one available somewhere? I used stock 5.1.1 C6805 .ftf and excluded system in Flashtool when flashing.

I have been unsuccessful getting 5.1.1 rooted with my Z Ultra, and I've wasted a HUGE amount of time stuggling with this. (Using pre-rooted C6806 flashable .zip "C6806_Customized US_14.6.A.0.368.zip" in TWRP 2.8.22 causes the phone to fail to boot and gives a blinking red LED, so I am trying this).
[Sony Xperia Z Ultra] najoor:
To answer your question: yes you get the name displayed as 6833 because the zip is built for that phone.

If everything else works fine on your phone, then this is just a cosmetic thing so just leave it alone. With a rooted phone you will not be able to get OTA updates anyway so it doesn't matter what name is displayed. If it bothers you so much that you are losing sleep over it, replace your /system/build.prop with a build.prop file from a 6806 5.1.1 Rom and set its permissions to rw-r--r--.
[Sony Xperia Z Ultra] MartyM76:
Thanks for the help! However, where is build.prop found? I have not been able to locate this.
[Sony Xperia Z Ultra] najoor:
You can open the faulty prerooted C6806 zip file that you talked about earlier, or a C6806 ftf, with any unzip program and then look for a big system.sin or system.ext4 file. If it's in the sin format you can use flashtool to convert it to ext4. If it is in ext4 format you can mount it directly in Linux to see its contents, or if you are using Windows you can use tools like diskinternals Linux reader to open it and extract the build.prop file. Just make sure the ftf or zip file that you have is a 5.1.1 file.
[Sony Xperia Z Ultra] MartyM76:
Thank you. I was not able to find the option in Linux Reader so I used Ext2Explore (to extract EXT4) and then a diff utility for the C6833 vs. C6806 to compare.

In case anyone else needs to do the same, there are a few differences between the two concerning model numbers/types etc.
[Sony Xperia Z Ultra] X0LARIUM:
Download link for upgrade only:

Is this FTF rooted?
[Sony Xperia Z Ultra] najoor:
No
[Sony Xperia Z Ultra] X0LARIUM:
So how do I root? I am on 5.1.1. - 14.6.A.0.368...I made a mistake of rooting it through Kingo.

I'm can't get a recovery installed nor is the root proper...any help?
[Sony Xperia Z Ultra] najoor:
Please read the OP through to the end. As I said in the king root section, you need to downgrade to KitKat and root with towelroot.
[Sony Xperia Z Ultra] X0LARIUM:
Never mind. Got root and even installed TWRP... Thanks!
[Sony Xperia Z Ultra] NclWill:
I was wondering,

Can i just flash this directly from my 4.3 firmware on C6802 ?:confused:

Or i need to upgrade to 4.4 first?

and if it could work directly from my 4.3, should i just turn the phone off too?
[Sony Xperia Z Ultra] najoor:
You can do it straight from 4.3.

To answer you second question, turn the phone off.
[Sony Xperia Z Ultra] NclWill:
I did all the instructions,

it all goes fine, until i encounter a bootloop, restarted, running,

and now i realize my wifi wont turn on :crying:
[Sony Xperia Z Ultra] najoor:
I am sorry, but as I said in the OP this was designed for 6833. There was no guarantee that it would work for 6802.
[Zenfone 2 Laser Q&A, Help & Troubleshooting] hafeeeeeeeez:
any dev can help me to proceed further trying since 2 days to build cwm by watching youtube videos and xda forum we have kernel source of asus zenfone 2 laser ze550kl and boot.img and stock rom too

kernel download link http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550KL/ZE550KL_kernel_1_12_40_349.zip

stock rom link

http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550KL/UL-Z00L-WW-1.12.40.349-user.zip
[Zenfone 2 Laser Q&A, Help & Troubleshooting] rajlko:
Do you know how to pull stock recovery from rom, I am unable to find it.

we are trying at our end to build custom recovery but we do not have all things.
[Zenfone 2 Laser Q&A, Help & Troubleshooting] hafeeeeeeeez:
I also tried to fetch stock recovery may be its in system.dat.new unable to decompile it :(
[Zenfone 2 Laser Q&A, Help & Troubleshooting] rajlko:
it can be easily decompress by using a very simple tool

http://sourceforge.net/projects/ext2read/

I am unable find recovery image in this, seem asus has change pattern.
[Zenfone 2 Laser Q&A, Help & Troubleshooting] hafeeeeeeeez:
yes extracted but find only recovery-from-boot.p and other :( not stock recovery
[Zenfone 2 Laser Q&A, Help & Troubleshooting] hafeeeeeeeez:
lost hope from xda too :( even its snapdragon no one is coming to help
[Zenfone 2 Laser Q&A, Help & Troubleshooting] PushkaRR:
I qas also thinking to try cwm...but it seems

.thats just impossible for beginners like us....
[Zenfone 2 Laser Q&A, Help & Troubleshooting] 96DANGER96:
Latest s4 mini ha snapdragon 410, we can try to ask to s4 mini devs such as [MENTION=3261191]F4k[/MENTION] and [MENTION=3044346]arco68[/MENTION]
[Zenfone 2 Laser Q&A, Help & Troubleshooting] rajlko:
It s first time since using android, I am using my phone without root :(

unable to understand why no one have solution for this phone, it s near about 2 months passed phone was launch.

If XDA developer can not help in two months, then we have no hope :crying:
[Zenfone 2 Laser Q&A, Help & Troubleshooting] rajlko:
S4 mini plus have kitkat but laser has lollipop 5.0.2, samsung & asus has totally different bootloaders :)
[Zenfone 2 Laser Q&A, Help & Troubleshooting] Devc100:
stock recovery

I can provide you with stock recovery which is to be recovered from twrp recovery option.

N.B. Its for Z00LD version only.
[Moto G Q&A, Help & Troubleshooting] tapman:
Ok guys I'm stumped on this one. I got the OTA notification for 5.1 yesterday on my XT1034 and so I decided to preempt any issues I might have and just flash everything back to stock 5.0.2 in order to install the update.

I was able to flash everything fine then went to reboot, got the unlocked bootloader screen and...... nothing. It just stayed on the unlocked bootloader screen. I figured I did something wrong so I reset back to fastboot mode, tried again and sure enough I missed sparsechunk 3. So I tried again, restarted, and.... same thing.

OK then, reset again and reboot into recovery mode. It booted to the Motorola splash screen, ok this is different..... nope still not loading. Reset again and try flashing a custom recovery.

CWM, flashed ok, reset again, Moto splash

TWRP, flashed ok, reset, Moto splash

Philz, flashed, reset, splash

OK.. so I'm clearly doing something wrong. Did some research and tried:

- formatting the cache and userdata partitions

> cache formatted fine, userdata refused to format, not supported for filesystem type 'raw'

- tried flashing again without erasing the partitions

> flashed fine, no change in booting

- tried flashing back to 4.4.4

> flashed fine, no change in booting

- tried flashing all the custom recoveries with 4.4.4, no change

- I found a thread where someone else had a somewhat similar issue, and apparently resolved by unlocking their bootloader

> mines already unlocked, but sure it can't hurt, tried again, but nothing since it's already unlocked

I looked for anyone that had a stock 5.1 image other than the OTA, but couldn't find anything. I gave up on trying stock and looked at some custom roms, but all of them just start with, unlock your bootloader, load a custom recovery and flash the update zip file.

Soooo I'm stumped. I've tried just about everything I can think of. I made backups of everything so I'm not worried about the data I just want a working phone again. I refuse to accept that it's borked at this point since I can still get to fastboot.
[Moto G Q&A, Help & Troubleshooting] tapman:
OK so, no clue what changed, but I was finally able to boot into recovery, Philz

I wiped and reformatted everything and tried flashing 5.0.2 again

rebooted and it still hung on the bootloader unlocked screen

I'll try flashing Philz again and updating through there
[Moto G Q&A, Help & Troubleshooting] tapman:
Captains log, startdate much too late oh clock

I reflashed Philz and wiped everything again, then sidloaded CM 12.

I'm just thankful to have a working phone again so I'll go with this for now.
[Moto G Q&A, Help & Troubleshooting] moralesnery:
Have you tried installing the stock firmware again?

I'm having exactly the same problem, any recovery says it succeeded flashing but when i try to boot it, it goes to stock motorola recovery.
[Moto G Q&A, Help & Troubleshooting] moso11:
Sorry for being off-topic but what are requirements of receiving OTA?

Stock ROM, stock recovery and a locked or unlocked bootloader?
[Moto G Q&A, Help & Troubleshooting] tapman:
My experience is that you need to be unrooted, unmodified system partition and stock recovery

It's usually much easier to reflash a stock image and update than trying to unroot, uninstall, xposed tweaks, restore original build.prop settings, restore original hosts file, etc
[Moto G Q&A, Help & Troubleshooting] tapman:
I haven't tried reflashing the stock again over CM12, but I was able to find a link for stock 5.1 image, you can try going straight there skipping this whole pain.

Here's a link, you can also find it on the stock firmware sticky post that I can't seem to find anymore

https://www.androidfilehost.com/?fid=24052804347819474
[Moto G Q&A, Help & Troubleshooting] moralesnery:
Already tried to flash the full firmware again without luck, after rebooting the phone gets stuck at the Unlocked bootloader warning.

Thanks for the link.
[Moto G Q&A, Help & Troubleshooting] moso11:
Yeah, I'll reflash stock firmware.

Just wanna confirm about bootloader.
[Moto G Q&A, Help & Troubleshooting] tapman:
Yeah unlocking your bl doesn't affect ota's
[Moto G Q&A, Help & Troubleshooting] tapman:
I think at least in part what my issue was, was that the partition formatting got borked. If you can boot to a custom recovery you can wipe and reformat them. Then you should be able to reflash it normally.

I was just so tired of dealing with my phone at that point so I only tried once and gave up with stock, but I'm pretty sure that's what I need to do to fix it.
[JASJAR, XDA Exec, MDA Pro ROM Development] techx:
Hi, I'm a noob to flashing so pls don't flame me.

Have a question for KDSKAMAL,

Does your WM5 ROM have A2DP support? or which ROM has it?

TQ

Techx
[JASJAR, XDA Exec, MDA Pro ROM Development] kdskamal:
Yes, it does. Instead for such a small thing, you could have PMed me :)
[JASJAR, XDA Exec, MDA Pro ROM Development] davieshyland:
but then the rest of us wouldn`t know lol :D
[E 2015 Q&A, Help & Troubleshooting] nobreak1970:
Would someone be so kind as to make this happen?
[E 2015 Q&A, Help & Troubleshooting] Raiz:
Free mobile app??
[Android Q&A, Help & Troubleshooting] Bocaj76:
My computer is broke and I do not have access to another one. My tablet was rooted but it was reset and isn't rooted anymore, was wondering if there is a way to root it without a computer.
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] whitetimer:
Is it worth keeping knox intact ? and if its not so important, is it possible to root the Samsung S6 Edge+ 928I ?
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] cepheid46e2:
It is possible to root the G928i but not without tripping Knox. If you care about Samsung Pay or Android Pay don't root it. Otherwise I think Knox is pretty useless beyond maintaining a software warranty.
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] whitetimer:
Those things i'm not worried about and i've never used. Is there likely to be an engineering bootloader for the G928I do you know ?