yashsingh1/xdaforums huggingface dataset:
[Sony Xperia Z Ultra] krugm0f0:
Thanks man, I got it working an hour before your post. Fell asleep while flashing new rom and gapps :D
[Sony Xperia Z Ultra] Obi-Wan:
The procedure always fail do terminate. unknown command remote
[Sony Xperia Z Ultra] LiMITZERO:
i just tried to fast boot twrp 3 in my z ultra and its seem flashed sucessfuly.. but i tried to boot up in recovery but my recovery was still old twrp version :eek:... no idead what was the problem....

btw my bootloader is unlocked and my rom is Scrubber 5.1.
[Sony Xperia Z Ultra] bavmouse:
i also have 2 twrp: 2.8.7.0 and 3.0.2-0.
[Sony Xperia Z Ultra] OmarKhalifa:
i have the same issue ..
[Sony Xperia Z Ultra] TheOfficialMrBlah:
Maybe you have the old bootloader

Have you ever flashed the last Sony stock (original .tft not prerooted or something else) via flashtool?

And maybe you have a build in recovery in the kernel?
[Sony Xperia Z Ultra] OmarKhalifa:
i will flash the latest firmware then i will try again .. i dont have to be rooted to flash the recovery right ?
[Sony Xperia Z Ultra] pTeronaut:
No, but the bootloader must be unlocked for it to boot into the recovery.

BTW, FTFs did not work for me, I had to downgrade to

KitKat, lock the Bootloader and let my phone auto update to .236 then unlock the bootloader for the recovery partition to be present & active.
[Sony Xperia Z Ultra] TheOfficialMrBlah:
Right only thing you need is a unlocked bootloader

If you have flashed the last Sony stock (.tft) via flashtool you have a recovery partition

Than you can follow the instructions

fastboot erase recovery

And

fastboot flash recovery twrp.img

(If you have a kernel with recovery build in, it might be, that you start this recovery first but when you go to reboot recovery in twrp it should boot the "real" recovery in the recovery partition)
[Sony Xperia Z Ultra] OmarKhalifa:
Thanks MAN IT WORKED ! :D can i Prevent ROMS from Replacing it ?
[Sony Xperia Z Ultra] TheOfficialMrBlah:
ROMs normally won't replace it

This was only with the recovery build in the kernel a problem

Or with the fotakernel recovery

But now you have a real recovery partition :)
[Sony Xperia Z Ultra] mjkopenga:
is it possible to install android 6 rom with no recovery update

well my recovery on this moment is "twrp 2.8.5.0" and i think this is a little bit bit to old, i have tried to use the twrp manager to update it but that app says i have already the latest twrp.

well i have still flacht noting because i think my phone will break. i want to install "AICP - 11.0 - MM 6.0.1_r43" or "Resurrection Remix Marshmallow" it that possible with this version of twrp. and i have a unlockt bootloader but i don't know how to update it or it what kind of version i'm now.

and i'm now running paranoid android 5.1.1

can someone help me i am a totaly noob :)
[Sony Xperia Z Ultra] TheOfficialMrBlah:
I hope I can help you :)

To get the new bootloader you have to flash the last original Sony released stock via flashtool

I'll make a step by step instructions:

1. Download flashtool

http://developer.sonymobile.com/services/flash-tool/how-to-download-and-install-the-flash-tool/

(There is a instruction you can follow to Install flashtool)

2. Download minimal adb and fast boot:

http://xdaforums.com/showthread.php?t=2317790

3. Install both

4. If you open Emma (flashtool from Sony) and if you have connected your phone in flashmode (press volume down and connect USB) the program shows your phone and you can select the last sony stock rom (I think it should 14.6.A.1.236)

It will be downloaded and flash automatically

5. Now you can connect your phone in fastboot mode (press volume up and connect USB)

6. Download twrp, put it in the folder where you have installed minimal adb and fastboot and then open minimal adb and fastboot

Type in the command line following commands

fastboot erase recovery

fastboot flash recovery twrp-3.0.2-0-togari.img

7. Now boot recovery (press and hold volume down and power at the same time)

and enjoy

:)
[Sony Xperia Z Ultra] mjkopenga:
there is a little problem in fastboot mode adb and emma don't see my phone. windows device manager says there are no drivers for "s1boot fastboot"

i have tried this thing: http://xdaforums.com/xperia-z/help/help-findiing-installin-s1boot-fastboot-t2218143

but that doesn't work to
[Sony Xperia Z Ultra] samarium:
Did some testing on various TWRP 3.0.2 on togari C6833.

I backed eveything up, then I loaded stock 14.6.A.1.236_SA.ftf and let it create recovery partition, since it is time to get that done, although it seems to be using FOTAKernel. I was already unlocked, and remained unlocked. Using fastboot boot, I booted a twrp and recovered my CM12.1 installation.

Tested TWRP 3.0.2 from Triflot (TF) and MusterMaxMueller (MM) from this thread and sharonlui (SL) from http://xdaforums.com/xperia-z-ultra/general/twrp-3-0-2-togari-t3358583.

Interestingly, sizes are 14, 15 & 11MB respectively, while the later 2 provide F2FS support.

I've been flashing them using dd if=file.img bs=2k of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel , and it seems by-name/recovery doesn't exist, and certainly when I copy data back out of FOTAKernel, it is the same as the flash image. I've also tried fastboot erase/flash, doesn't seem to make a difference.

Comparison:

Target partitions available for image flash, b=boot, r=recovery

TF=b MM=b SL=b+r

Key sequence: power+down volume = can get recovery to load

TF=MM=SL=yes

If do adb reboot recovery, or adb shell reboot recovery, or select reboot recovery from TWRP, does recovery actually boot? Failure seems to be a bootloop.

TF=MM=bootloop SL=yes

Seems there are some issues with the current TF & MM builds, or could be something specific to my device or install, but SL seems to be the better one for me to install at the moment. YMMV.
[Sony Xperia Z Ultra] mugoy:
I installed version 3.0.0 and enter recovery but touch screen not working

I am stuck at first screen which tells me Ready Only mode.

I tried volume buttons and also no result. When I click Power button, screen lock activates and touch screen not accepting any input.

Under normal use conditions touch screen works without any problem.

I also tried version 3.0.2 f2fs but no change.

Update: Broken touch screen was replaced. I guess touch driver might be different/incompatible?

Update 2: Luckily, OTG mouse worked and I am able to browse in TWRP 3.0.0 menu.
[Sony Xperia Z Ultra] teeve:
brick

:( tried to fastboot TWRP,but realised to late that i dont have new bootloader. Because cyanogenmod recovery installed w/marshmello rom.
[Sony Xperia Z Ultra] MusterMaxMueller:
do you know which panel/touchscreen you use? could you grep dmseg?

cause there should be only aou or sharp otherwise your screen is not oem. tough there is a patch in the kernel which was specially merged for fixing toch issues for none oem screens/digitziers.

you updated to newest sony stock lollipop first?

can you manualy mount other partitions (via command line or twrp)?

also mounting encrypted partitions seems to be broken. there is a fix. hopefully i will find some time to build new version with multirom support :)

---------- Post added at 08:49 PM ---------- Previous post was at 08:42 PM ----------

different compile size can have many reasons. e.g. different compiler, flags , device tree...

hmm recovery doesnt bootloop for me if i restart to recovery out of twrp. could someone else test too?

made some changes to fstab for twrp .

what do you exactly mean with:

you want to have recovery partition mounted/mountable when in twrp?
[Sony Xperia Z Ultra] mugoy:
- dmesg|grep -i panel

gets this in results:

somc_renesas_sharp_1080p_panel

Yes, I used flashtool by androxyde to flash 14.6.A.1.236.ftf

and then followed steps in this thread to install TWRP 3.0.2

and after that installed AICP - 11.0 - MM 6.0.1_r43. Touch issue continues there. After each restart, touch does not work first 4-5 minutes and then suddenly starts working by itself :confused:
[Sony Xperia Z Ultra] matthewtech770:
Hello Sir.:laugh: I'm using you're recovery on AICP ROM 5-29-2016 build I notice when I'm in recovery the clock is not in synchronized with the ROM clock I'm in USA daylight saving time eastern not really a big deal just thought I give notice :laugh:
[Sony Xperia Z Ultra] pbgapski:
I am on twrp 3.0.2-0 from this thread (TF) and latest cm 12.1 nightly:

reboot to recovery from twrp -> bootloop

reboot to recovery from cm -> bootloop

Now using SL:

reboot to recovery from twrp -> ok

reboot to recovery from cm -> ok
[Sony Xperia Z Ultra] samarium:
Sure I understand, just interesting that there was such a large difference, 40% given the smaller file as the baseline.

It is a bundled initrd + kernel IIRC so mounted/mountable doesn't make sense, which is probably what you are suggesting.

When I am in TWRP, select Install, select Image, select image file, then it presents me with options for partition into which to install the image. TF&MM TWRP only give boot partition as an option, SL also gives recovery (=FOTAKernel) partition, which is where I want to install TWRP when upgrading.

dd if=twrp.img of=/dev/block/bootdevice/by-name/FOTAKernel

also works, but nice to have the option in install image in TWRP, rather than have to use the TWRP terminal.

Now I have CM13 installed on my C6833 and it has bedded down a bit, I'll retest MM, since previous test was CM12.1.
[Sony Xperia Z Ultra] Triflot:
Uploaded a new build. Now has F2FS tools, various updates to the kernel/device sources from sonyxperiadev/omnirom, and a few adjustments listed below.

Hi, can you test the latest uploaded version? The kernel had a commit from developer kholk which may solve the issue.

You can hotboot a kernel with built-in TWRP, or just flash an older TWRP on top of your CM kernel, to do a backup of your ROM and get the new bootloader. Tried that?

Hi, the newly uploaded version has added the recovery as a target partition for image flash. Can you test if it works as it should? Thanks!

With this build of TWRP, reboot to recovery (both from recovery and a ROM) only works if you have a 3.10/AOSP kernel in your kernel partition. sharonliu's build works for CM 12.1 because it's built on a CM 12.1/Linux 3.4 kernel.

Sorry, not sure what to do about this!
[Sony Xperia Z Ultra] MusterMaxMueller:
hmm strange. sorry cant help you with that :(

---------- Post added at 05:25 PM ---------- Previous post was at 05:23 PM ----------

ahh now i get you :)

will be included in next build. just did one with multirom support so have to wait a bit :)

---------- Post added at 05:27 PM ---------- Previous post was at 05:25 PM ----------

new version with multirom support. oh yeah :)

f2fs support.

mounting encrypted partitions should work now but is not tested yet.

https://drive.google.com/open?id=0Bydasv21DQbFMzZndkdnLU9IWms

edit: ahh forgot you need kernel with hardboot kexec support. i patched my kernel but havent uploaded anything to git yet. so be patient please and give me a few days

---------- Post added at 05:36 PM ---------- Previous post was at 05:27 PM ----------

@Triflot:

you have old f2fs version in your github. update to newest:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable/+log/linux-3.10.y

otherwise you can loose data with f2fs!
[Sony Xperia Z Ultra] mugoy:
tried the latest one. still same, no touch, using OTG mouse for menu.

thanks anyway
[Sony Xperia Z Ultra] Triflot:
Thank you, uploaded an up-to-date build. :)

Thank you for your MultiROM build - I'll link it in the first post. Looking forward to sources. :good:
[Sony Xperia Z Ultra] MusterMaxMueller:
sure, but it wont work at the moment for most people cause they wont have kexec hardboot patched kernel.

its working fine if it is patched though :) as tested on my device
[Sony Xperia Z Ultra] teeve:
Hard brick.

Will try,later. No led when entering fastboot. No response when long pressing power button. Will pulling the back and disconnecting the battery help?
[Sony Xperia Z Ultra] MusterMaxMueller:
recovery cant mess with fastboot. as least not to my knowledge. you have adb/fastboot drivers installed on pc? see device manager on pc when device is connected.

dont think disconnecting battery will solve your issue. maybe try red reset button? or hold vol up + powerbtn for 30sec so device will shutdown if its still powered but screen is off.
[Sony Xperia Z Ultra] teeve:
Power button+volume up 30 seconds. Now I have red light blinking 3 times when powering on.
[Sony Xperia Z Ultra] samarium:
Now running CM13 with 3.10 kernel on ZU.

Tested latest TF build, can load images to both boot or recovery/FOTAKernel, and reboot recovery/system works. Thanks. And thanks for explaining why SL worked when I had CM12.1 installed, and TF & MM didn't.

Tested latest MM build. As stated, only boot partition for image flashing is available.. Boot recovery/system works. Will be more interested when can image flash into recovery/FOTAKernel too. Multirom looks interesting too.
[Sony Xperia Z Ultra] matthewtech770:
:confused:hello sorry for posting hear but do anyone know when the official CM12.1 nightlys will go official CM13 :confused::laugh:
[Sony Xperia Z Ultra] karancbem:
Would be really easy if had a zip flashable! ADB method does not seem to work for me and others. If there is any source please share!?
[Sony Xperia Z Ultra] fnldstntn:
Wow! Thank you so much for multirom. So i want to use Cm 12.1 as main rom, how can i make a kernel with kexec for latest build? Or can you help me with that?
[Sony Xperia Z Ultra] fnldstntn:
Kexec patched boot.img for Cm12.1 (boot img from RR 5.5.9)

Not flashable zip extract it and flash the img from the recovery.

Edit-The multirom doesnt work with this boot.img properly. Triad AICP 6.0.1 and RR 5.5.9 they did not boot as secondary rom.
[Sony Xperia Z Ultra] MusterMaxMueller:
you can cherry-pick from here:

https://github.com/Myself5/kernel/commits/aosp/LA.BF64.1.2.2_rb4.7
[Sony Xperia Z Ultra] hariganesh76:
unable to test boot this recovery using command

fastboot boot twrp-3.0.2-0-togari.img

I get stuck in the sony logo screen. Shouldn't it work and boot in to recovery?
[Sony Xperia Z Ultra] SUPERUSER:
It is not a kernel you cannot hot bot the recovery image this way.

Flash the image with command: "fastboot flash recovery recovery.img"
[Sony Xperia Z Ultra] Nivana:
Can anybody explain it in steps?

I am a newbie. Can anybody please mention the steps in point form? I have default Sony OS lollipop with default recovery.
[Sony Xperia Z Ultra] Nivana:
I have not flashed anything before on my z ultra. How can I flash this? I'm rooted.
[Sony Xperia Z Ultra] ch3mn3y:
You need to unlock bootloader.

Than use fastboot - fastboot flash recovery XXX.img

Sent using XT1562 - Resurrection Remix/Squid Kernel
[Sony Xperia Z Ultra] scoobydu:
[MENTION=5770258]MusterMaxMueller[/MENTION] thanks for multirom version. Which ROM do you have as your base rom?
[Sony Xperia Z Ultra] MusterMaxMueller:
self compiled slimsaber. havent shared yet. have to clean up repos first
[Sony Xperia Z Ultra] Pannam:
I installed the recovery but when i try to boot into recovery I go back to the old twrp v2 . ??
[Sony Xperia Z Ultra] jfd3220:
I have the same problem with my C6833. I flash twrp-3.0.2 with fastboot and it says it's OKAY and then when I boot into recovery I still have twrp-2.8.7.0. I have the latest stock firmware 14.6.A.1.236 and unlocked bootloader.

Edit: I got it working. I think that maybe I had installed a pre-rooted stock ROM. I went and flashed a stock FTF with flashtool and xperifirm and now I can boot into TWRP-3.0.2. Thanks!
[Sony Xperia Z Ultra] roshanpranoy101:
Can I flash it via rashr ?

Cm12.1 twrp
[Sony Xperia Z Ultra] HugeBrain:
installation was succesful but there is no working touchscreen in recovery, only hard buttons. in system touch is working.
[Sony Xperia Z Ultra] roshanpranoy101:
I flashed via rashr and it's all good, no issues.

C6802
[Sony Xperia Z Ultra] stukka2006:
https://twrp.me/site/update/2017/01/05/official-twrp-app.html

did somebody tried this official apk...?
[Sony Xperia Z Ultra] a12dhie:
Problem with Stock Based 5.1.1 ROM

Hello there,

I recently got bootloop when installing Stock based ROM with TWRP 3.0.x , no problem with AOSP ROM though. Anyone having the same problem?

Thanks :)
[Sony Xperia Z Ultra] Ali Naqi:
I installed this

But the touchscreen doesn't work.

And when I reboot I lose the twrp.

I can flash it again but the same thing happens every time.

---------- Post added at 11:23 AM ---------- Previous post was at 11:18 AM ----------

Same problem
[Sony Xperia Z Ultra] Ali Naqi:
It allows screenshotting somehow.

Pls help.
[Sony Xperia Z Ultra] thristyclown:
[MENTION=5770258]MusterMaxMueller[/MENTION] I tried your MultiROM TWRP but it resulted in boot loop. I have CM 12.1 which is based on 3.4 kernel. Is this TWRP incompatible with it? I read somewhere in the thread that it was based on 3.10 kernel and hence incompatible. If I upgrade to 3.10 kernel based ROM, then will multirom allow me to run CM 12.1 with kernel 3.4 alongside?
[Sony Xperia Z Ultra] ronald_loulan:
Im using CM12.1 and plan to upgrade to Nougat.

So i flash twrp 3.0.2.0 but it bootloop.

Anyone having this issue??

Can anyone recommend TWRP >3.0 in order for me to flash Nougat rom without issue??
[Sony Xperia Z Ultra] skygunner:
Hi,

had problem flashing this on my C6833 5.1.1

adb devices gives:

List of devices attached

EP7335D1Y1 device

fastboot erase recovery gives

waiting for device

Tried adb reboot-bootloader

then

fastboot erase recovery it gives

erasing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 0.016s

Solved:

need to unlock the bootloader first using unlockbootloader sony mobile
[Sony Xperia Z Ultra] noobdoob:
Model: C6802

I tried multiple times to get the Recovery mode working with: twrp-3.0.2-0-togari.img but I never could get into the Recovery mode. I finally found this post: https://xdaforums.com/xperia-z-ultra/general/twrp-3-0-2-togari-t3358583 and after using sharonliu's image there, I was able to get into recovery.

Thanks!
[Sony Xperia Z Ultra] mac231us:
thanks do recall this thread now

how did you install the first or the 2nd method...
[Sony Xperia Z Ultra] noobdoob:
I used the second one "flash recovery"
[Sony Xperia Z Ultra] mac231us:
Ah..I suspect that is what made the difference... (Not the recovery img file as such)...good to know thanks
[Sony Xperia Z Ultra] vikram.mohal:
you should try given linked recovery. this is working perfect

https://www.androidfilehost.com/?fid=24415232478676273
[Sony Xperia Z Ultra] mbk.mbk:
U can use usb mouse over otg to sort out. Hope it helps in extensive times. I am not sure when recovery is used better use cwm.

Thx for this nice post though ?
[Sony Xperia Z Ultra] moses_dx:
I've been trying with 3.0.0 and 3.0.2 but they both fail me. I can get into recovery easily but I don't know if it get freezed or just doesn't recognize touch
[Sony Xperia Z Ultra] keyots:
hi! I've tried this on latest stock ROM but when I'm booting in Recovery mode, touch screen stops working. Any idea how to fix the touch screen issue in twrp?
[Sony Xperia Z Ultra] keyots:
Any chance you guys made it work? I'm still stuck with the awful stockrom because of this TWRP Touchscreen issue.. :(
[Sony Xperia Z Ultra] fowof:
There are several ways to boot into recovery. Among them, most reliable way for me is:

flash recovery image to recovery (FOTAKernel) partition

boot with key combination of POWER+VolDown

You should flash recovery image every time you flash a ROM, because that would overwrite your recovery.

This is same as wrriten by owner of this thread.

Appendix:

There are four (or five) boot patterns.

bootloader -+-- ( boot ) --+--> (1) boot kernel + ramdisk
| | | |
| | | +--> (*) boot kernel + ramdisk-recovery
| | |
| | | +---------> (2) boot kernel + FOTA ramdisk
| | | |
| +-- ( FOTAKernel ) -----> (3) FOTA kernel + FOTA ramdisk
|
+--------- ( RAM? ) -----> (4)

(1) normal boot
(2) recovery boot by rom's init ( Power->VolUp and so on )
(3) recovery boot by open boot loader ( Power + VolDown )
(4) boot with temporal boot image by 'fastboot boot <path to img>'

* (*) seems to be old one and replaced with (2).
* After flashing some ROMs, my device does not boot by (4) now.
[Android Q&A, Help & Troubleshooting] nolini kanto:
OP Junior Member2 posts Thanks: 0

hello everybody ...

my name is nolini kanto ii m from bangladesh..

i am clash of clan game player and too much addicted .

recently i have come to know that an application name call. Dummysprite.apk. is a good app for. clash of clan game. i have downlowd it and installed it on my Walpad 8b tablet phone but its not running because of screen resolution my tab resolution is 1024 x 768.

the application dummysprite apk. required 1024 x 720 resolution.

please help me to. use that apps. into my Android tab (walpad 8b) . :confused:
[Android Q&A, Help & Troubleshooting] arjaylzo:
If it helps, here is the LCD module interfaced on to the RK30 Fnf Tablet. I gives a very crisp and good display, only problem is, the missing 400 pixels or its Orientation.

[IMG="Here is how it looks."]http://forums.hackaday.com/download/file.php?id=863&sid=20f7c5f8dacaa9ddbeecf5be1251668c&mode=view[/IMG]
[Android Q&A, Help & Troubleshooting] arjaylzo:
Here are more images/results:

[IMG="1"]http://forums.hackaday.com/download/file.php?id=858&mode=view[/IMG]

[IMG="rotated via Apk"]http://forums.hackaday.com/download/file.php?id=856&mode=view[/IMG]

[IMG="How I managed to make the connection"]http://forums.hackaday.com/download/file.php?id=859&mode=view[/IMG]
[ONE Q&A, Help & Troubleshooting] GriechischerYoghurt:
So hello! I need some help here. A friend of a friend gave me this oneplus one for repair and at first it seemed easy cause i thought oh it's only a softbrick. There is a bootloop and I can access the original recovery and Fastboot. Now when I followed the unbricking guides I could not clean install CM12S because appereantly the bootloader is not unlocked but do I need to have an unlocked bootloader to install a clean signed version of CM12S?

I am trying to solve the issue with bacon root toolkit 1.0.3. I put the OPO into fastboot mode and click on "back to stock", select a signed fastboot version cm12.1s and my device is detected as a fastboot device. But now i get these weird error codes in command prompt

" FAILED (remote: Device not unlocked cannot flash or erase)" and then just another bootloop.

So I tried to unlock the bootloader with the command "fastboot oem unlock" and it does something but then when i check it with "fastboot oem device-info" it displays

"(bootloader) Device tampered: true

(bootloader) Device unlocked: false

(bootloader) Charger screen enabled: false

(bootloader) Display panel:

OKAY [ 0.007s]

finished. total time: 0.008s"

hmmm.. so it does not unlock the bootloader but what does device tampered mean?

How do i unlock the bootloader and ultimately unbrick this device?

any help would be greatly appreciated!
[ONE Q&A, Help & Troubleshooting] e1forall:
Hi

Trying to help.

Your device might be tampered as the "fastboot oem device-info" result shows.

Follow the steps and see if it helps (all commands below are to be entered without quotes)

1. Download latest cm13 nightly or the cm12.1-snapshot and extract the "boot.img" from it.

2. Connect the phone in fastboot mode and check connection by "fastboot devices."

3. Enter the command "fastboot flash recovery boot.img" (the one extracted above).

4. Then enter "fastboot format cache".

5. After the boot.img is flashed, enter "fastboot reboot" to reboot the phone and the let the phone boot fully to homescreen. If stuck on bootscreen( i assume rom is not tampered with) try entering stock recovery and clear cache and dalvik-cache.

6. Now again enter bootloader by reboot or using combo and check connection by "fastboot devices".

7. Now enter "fastboot oem unlock".

8. Now check "fastboot oem device-info".

It should be unlocked like:

(bootloader) Device tampered: true

(bootloader) Device unlocked: true

Please do reply if it helped.:)