yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Android Development] mathorv:
[MENTION=6979267]nailyk[/MENTION]

TWRP 3.1.1 alpha 20170523 worked ok.

Temperature was from around 50*C to 60*C when TWRP checking md5 of a backup.

(Used screen timeout 15s and lowest brightness in TWRP)

Made full backup with no errors 340sec, no errors, md5 generation

Restored data 240 sec, no errors, md5 check

Also tried to change Cache and Data Filesystem form Ext4 to f2fs in TWRP with success.

https://xdaforums.com/showpost.php?p=72435316&postcount=1167

https://xdaforums.com/xperia-s/s-development/tutorial-migrate-filesystem-to-f2fs-ext4-t3004755

Regular users please don't ask for alphas this stuff may potentially cost you data loss and may break stuff.
[Xperia Z3 Android Development] tiliarou:
So for a Z3 dual, I can use this recovery but I will not be able to flash any zip ? I always need a PC and fastboot ?

For apps_log wipe, it's only included up to 3.0.2 but not in 3.1.x ? So for example, the 2016-07-16 is ok ?
[Xperia Z3 Android Development] pausyworld:
I am running now Android 7.1.2 (Your Lineago OS ROM) For xperia z3. But the recovery is 3.0 can i just flash this in twrp and then reboot whitout any problems?
[Xperia Z3 Android Development] MichaBit:
Not that I'm in a hurry, good friend Nailyk, but 4 Leo TWRP 3.1.1 I'll give you my bank account or a valuable share. ;) :laugh:
[Xperia Z3 Android Development] nailyk:
You could flash this recovery from existing recovery because a zip is provided. Flash it as any other zip.

I dont remember exactly which version but yes, not all allow you apps_log wiping.

However, for the new version (3.1.1) I plan to release two versions. One will allow rom updating through this apps_logs partition (not compatible with stock roms), the other wont allow custom rom upgrades but will be compatible with stock roms.

Send me a PM with your bank information number (I need to order some sh*ts on internet like a new d66x3) and you will get the twrp back.

I didnot release it because encryption get broken. Seems to be a bug on twrp side.

Yes sure, this is the recommended flash into 14.1 OP ;)
[Xperia Z3 Android Development] hzr34:
I am running Carbon ROM last nightly I tried many times install twrp but no solutions. Any body help me please?
[Xperia Z3 Android Development] nailyk:
Not with that amount of information.

Flash as provided into the OP. Also read your rom install instruction.

Tell what you done/tried with the output you get.
[Xperia Z3 Android Development] hzr34:
I am figuring out how to install recovery. Thanks. Also I think TWRP is updated to 3.1.1.0 is this any chance for using on z3. BTW i am carbon rom now.

Xperia Z3 cihazımdan Tapatalk kullanılarak gönderildi
[Xperia Z3 Android Development] nailyk:
I have no device anymore for now.

The 3.1.1 had encryption broken, that why it is not published yet. Am working with the twrp team to find the problem.
[Xperia Z3 Android Development] MichaBit:
I think, we all want TWRP 3.1.1-0, so lets help [MENTION=6979267]nailyk[/MENTION] to get a Leo again. :fingers-crossed:

PM to OP for Donate_adress pls. :cool:
[Xperia Z3 Android Development] hoan1999:
i use D6603 but locked bootloader, i rooted with giefroot and have TWRP v2.8.7.0, so i put that zip to sd card and flash it but it not work, not upgrade to v3.1.0 bro. Why ? plz help me
[Xperia Z3 Android Development] hoan1999:
sorry help me, i wipe system, data, .. and flash any rom but if i reboot device it will Black Screen. i cant see anything and then i need flash Stock Rom. my phone not allow unlock bootloader. :(
[Xperia Z3 Android Development] nailyk:
This recovery is for unlocked bootloaders.

You need to find a recovery compatible with your stock rom (mostly they are provided with the rom).
[Xperia Z3 Android Development] hoan1999:
so sorry, can you find for me Recovery for Locked Bootloader or Custom Rom work on it. i'm a noob :(
[Xperia Z3 Android Development] h-e-k:
Sdcard Handling

[MENTION=6979267]nailyk[/MENTION]:

First: Thanks a lot for this version of TWRP. :cool:

I have formatted the external sd card completely as internal memory on nougat (CarbonRom) and migrated all data. TWRP always stucks, when I access folder /external_sd or select memory location external sd, which only can be left by pressing buttons [power] and [volume up]. Otherwise only a folder TWRP from internal memory is visible/accessible to TWRP now.

Do you know, how to access the internal memory in this situation or where to post this behaviour as basis for a change request to TWRP (a: shall not stuck, b: make internal memory visible), I guess: it is a common problem?

Thanks in advance
[Xperia Z3 Android Development] nailyk:
Adopted storage use encryption. This is kind of not working right now, still need to fix this.

There is also a problem into twrp which prevent decryption working.

You should use an older version (afaict last working one was 3.0.2). On this version HW encrypt & adopted should works.
[Xperia Z3 Android Development] Synapse.:
Niceeee thanks
[Xperia Z3 Android Development] Tdg97:
So i used to have twrp installed on my D6603 and i always had this 6.0.1 MM roms based on stock, but then i installed this AIM ROM based on 7.1.2 and since that i dont have my recovery anymore, ir a try to access the normal way the led is already purple and the moment i hit the vol down button ir turns Yellow ir green and it reboots at the Sony logo again, this phone was a gift and it was already rooted si i dont know what to do, would this work for me?
[Xperia Z3 Android Development] nailyk:
Try up. Also if bootloader is upgraded, unplug the usb, shutdown the device, then vol down + power.
[Xperia Z3 Android Development] isssaputra:
Hey guys, is there anyone having trouble with twrp 3.1x because of the md5? It seems that i cant upgrade my TWRP to 3.1x because of the md5.

Please tell me how to fix it.
[Xperia Z3 Android Development] MichaBit:
Maybe to deactivate 'Zip Signature Verification' in Settings could help.
[Xperia Z3 Android Development] maniekb122:
mirrors

Hello, is there any mirrors to img version of this recovery (latest ver)? Androidfilehost says "no mirrors found".
[Xperia Z3 Android Development] nailyk:
It is a real problem. Thanks for reporting.

I dont have copy anymore and every new version I built are broken.

Will see what it is possible into the we.
[Xperia Z3 Android Development] nailyk:
mirror here, same md5sum.
[Xperia Z3 Android Development] Th3barca:
hi all

i have D6603 with different s1 bootloader (LA3.0_M_3)

is it ok to flash this recovery using fastboot flash recovery cmd

and i have another question i flashed AOSP 7.1.2 rom and i want to go back to stock rom

is that possible ?

thanks.
[Xperia Z3 Android Development] perobot:
It is almost impossible to install this continuous error of MD5. Both zip installable as install by ADB.:confused:
[Xperia Z3 Android Development] nailyk:
Not with this recovery, not stock compatible. Use the one provided into you rom thread.

What do you mean?

nailyk@nailyk :) % curl https://releases.nailyk.fr/twrp/twrp_z3_2017-03-16.img 2>/dev/null | md5sum /tmp
3f853b388621f60b57d6a56cbf91b8ed -
nailyk@nailyk :) % echo 3f853b388621f60b57d6a56cbf91b8ed /tmp
3f853b388621f60b57d6a56cbf91b8ed
[Xperia Z3 Android Development] Juuuuwi:
Can't make it work

What am I doing wrong?

I'm on a freshly flashed .291 and have an Unlocked Bootloader

I used fastboot on cmd and the code fastboot flash FOTAKernel twrp_z3_2017-03-16.img

It says OK and Finished but after using fastboot reboot there's still no TWRP

Why? I've been doing this for hours
[Xperia Z3 Android Development] nailyk:
Power off the device without usb cable,

press vol- & power at the same time until device vibrate.
[Xperia Z3 Android Development] Juuuuwi:
I'm sorry but of course I've already done this.
[Xperia Z3 Android Development] nailyk:
So your BL isnt upgraded. Flashing .291 need to be done with emma to get the 2nd one. Follow the instructions into thread 'build process explained'.

If you want install an AOSP based rom use the old way: flash kernel, volume rocker when light come up.
[Xperia Z3 Android Development] froschwelle:
FOTAKernel/recovery no mirrors found

Hi for FOTAKernel/recovery downloads it says "No mirrors found"!

Does anyone have an other download link or can somebody upload it again?
[Xperia Z3 Android Development] nailyk:
https://xdaforums.com/showpost.php?p=73018029&postcount=245
[Xperia Z3 Android Development] erikrecca:
Can I flash this recovery with fastboot of flashtool? Thank you
[Xperia Z3 Android Development] froschwelle:
Failed to flash system

Thanks alot!

Moreover I have trouble flashing roms with twrp. It says E1001: Failed to update system image.

Any ideas how to fix this? I tried to flash lineageos-14.1-20170509-nailyk-z3.zip
[Xperia Z3 Android Development] nailyk:
Not sure without the recovery log but you probably should flash the boot.img before.

If it still don't work reflash full stock with emma, flash boot, flash recovery, install again.

We use an upgraded ext4 fs version who can get into trouble with some old stocks.

Also you should install [MENTION=4550727]xkeita[/MENTION] rom, more up to date, more fixes.
[Xperia Z3 Android Development] MichaBit:
Could i use the 'TWRP 3.1.1 - 2017/06/09' from xkeita Linage on AiM-ROM? :confused:

If yes, should i flash the whole 'twrp-3.1.1-20170608-xkeita-z3.zip' or just exxtract the 'recovery.img'?

Something with Java, but for what is the 'META-INF' file exxactly? :confused:
[Xperia Z3 Android Development] nailyk:
Yes, both custom AOSP roms who support extract_elf_ramdisk.

Upto you to flash the [MENTION=4550727]xkeita[/MENTION] twrp: fastboot or zip.

Meta-files are needed to make the zip 'installable' into recovery.
[Xperia Z3 Android Development] Dobsgw:
What's the difference between your 3.1.0 here and the 3.1.1 on the LineageOS thread?

Do you plan to update to 3.1.1 here?
[Xperia Z3 Android Development] nailyk:
There is no HW encryption support on xkeita one as it is broken on twrp side. That's why I still didn't upgrade it.

AFAICT this is the only one who support it.

Are you asking for an ETA? Because delay +10days when asking for ETA :laugh:
[Xperia Z3 Android Development] Dobsgw:
Ahhh understood.

Nope. You know I'm direct with people here. I would specifically ask you for an ETA.

Just wondering in general if the newer version was something you thought was worth using.

Seems that 3.1.0 is actually better for us if using HW encryption

Thanks for the explanation!
[Xperia Z3 Android Development] MichaBit:
Its installed, Sir. :good: :good:

Encryption is not important to me, for bank robberies and drug trafficking I always take disposable mobile_phones to communicate. I prefer compression. ;)

---------- Post added at 12:47 AM ---------- Previous post was at 12:39 AM ----------

Here is what teamwin says:

https://www.xda-developers.com/twrp-3-1-1-is-out-brings-minor-fixes/
[Xperia Z3 Android Development] nailyk:
Yes I tried to talk about this issue to [MENTION=912474]Dees_Troy[/MENTION] but looks like he was focused on something else.

Also all the patches mentioned are included into that 3.10.

TBHO I don't see the goal of building the latest version who had some regress. But as am working on the encryption for 14.1 I could give another try.
[Xperia Z3 Android Development] nailyk:
Can you please confirm encryption is working with this?
[Xperia Z3 Android Development] MichaBit:
I'll have to Cancel it, cause it stops by 94 / 96%. :(

Last edge of 'working-bar' stays blinking.

After pushing Cancel it was frozen --> holding Power + Volume up.
[Xperia Z3 Android Development] nailyk:
So it decrypt fine but you cannot backup?

Have you keep the recovery.log?
[Xperia Z3 Android Development] MichaBit:
There is an decrypted backup available, Im just restoring.

Where is the recovery.log?

Restore ended with Error: 255.
[Xperia Z3 Android Development] nailyk:
/tmp/recovery.log or into advanced, copy log to sd.
[Xperia Z3 Android Development] MichaBit:
The restored system is not completed, i'll have to take the backup before.

Found this two logs, hoping they will help.
[Xperia Z3 Android Development] nailyk:
Sorry I meant after the failed backup/restore operation :)

I just backup then restor the single sim it worked fine

The dual is not able to decrypt.

Will take a look at this asap.

Thanks for your reports.
[Xperia Z3 Android Development] MichaBit:
I could do it again, no Prob, but how to take the right Log when device is frozen?

[Dont know other way than reboot.]
[Xperia Z3 Android Development] nailyk:
Ok didn't get this.

adb should still works. Please take /tmp/recovery.log and dmesg.

Thanks in advance.
[Xperia Z3 Android Development] MichaBit:
I did it again - no ERROR! :)

This time without !TrimArea !, I had forgotten the first run to remove it.

I took logs after backup 1,

After restore 2.

* Now it becomes confusing, then it was TWRP 3.1.0, maybe cause Fota or dunno really why. :eek:

So flashed yours from 23.7. again.

Backup + Restore with Encryption without !TrimArea! Log 3.

Please do not laugh, I am not a Grandmaster of the terminal:

Where is / tmp? I took the logs from exxtSD.

I opened SD and exxtSD in terminal, did 'ls', '/ tmp' and 'cd / tmp' - wrong way, isnt there.

Only for the next trial with !TrimArea! if it freezes again, ill need Terminal for logs. :cowboy:

*there is an upload problem - logs will follow
[Xperia Z3 Android Development] MichaBit:
:eek:
[Xperia Z3 Android Development] nailyk:
Ensure adb is working then

adb pull /tmp/recovery.log .
adb shell dmesg > dmesg

But if backup/restore works that's great :)
[Xperia Z3 Android Development] MichaBit:
It seems ive to compress the logs for upload. -log3-
[Xperia Z3 Android Development] MichaBit:
-log1-
[Xperia Z3 Android Development] MichaBit:
-log2- thats all 4 the moment
[Xperia Z3 Android Development] MichaBit:
CONGRATULATIONS - Test 4 passed! :good:

Haha happy monday, Sir - great joy. :D

Nailyks TWRP 3.1.1 2017.07.23 Backup + Restore with Compression and Encryption of all Partitions except Cache error free without freezing - lets get official. :highfive:

*attached logs 4
[Xperia Z3 Android Development] nailyk:
haha am totaly lost ;)

Does one of the logs report the backup/restore error?
[Xperia Z3 Android Development] MichaBit:
I'm afraid not, because the device was frozen, adb worked, but I did not know the right commands to pull the logs with adb on the first attempt. :cyclops:
[Xperia Z3 Android Development] MichaBit:
Are more testruns needed or could leo TWRP 3.1.1 go official now?
[Xperia Z3 Android Development] nailyk:
Thanks for reminder ;)

Need to test the new version :p

Also not official, omni is far to have official support right now
[Xperia Z3 Android Development] MichaBit:
Ohh Omni-ROM N 4 Z3 is my greatest Android_Dream. :eek:
[Xperia Z3 Android Development] MichaBit:
Some more Logs. :)
[Xperia Z3 Android Development] nailyk:
Thanks. Preparing the patch.
[Xperia Z3 Android Development] nailyk:
2017-07-30

Releases added. Should be able to decrypt single and dual on lineage 14.1.
[Xperia Z3 Android Development] MSTRoyal:
Link for 2017-7-30 leeds to a file named ***-23.zip?
[Xperia Z3 Android Development] nailyk:
Good catch ;) Should I rename thread and OP post?

Release was built on 23 but not time to test before.
[Xperia Z3 Android Development] winni91:
Yep, that's a little confusing.

I downloaded the file three times, the md5 always matches but I'm always getting the error message "zip verification failed" .

Any suggestions?
[Xperia Z3 Android Development] nailyk:
ok will change.

Untick 'zip signature verification'.
[Xperia Z3 Android Development] MichaBit:
Logs OMNI_instllation. :cowboy:
[Xperia Z3 Android Development] MichaBit:
Where is the Fail, whats wrong by reading out the s1 bootloader version? :confused:

# adb shell getprop ro.boot.s1boot
[Xperia Z3 Android Development] nailyk:
Error installing zip file '/external_sd/omni-7.1.2-20170730-leo-WEEKLY.zip'

Whats that zip?? It is not allowed as it was build by someone else!

AFAIK it only works into rom (twrp init don't provide it).

But you should be able to get it into cmdline:

cat /proc/cmdline.

Happy reading :p
[Xperia Z3 Android Development] MichaBit:
Oh sorry Sir, dizzying, i just wanted to compare u the Error7 i had before (aborted) and after installing,

in this case it was the better one, installation was bootable. :angel:

Yeah - got rid of L_Hero_17 bl: ...s1boot=1286-7314_S1_Boot_MSM8974AC_LA3.0_L_37 androidboot... :good: :highfive:
[Xperia Z3 Android Development] Archimect:
Is the single flashable ZIP useable with latest official ROM with unlocked bootloader?

EDIT: Guess not, nevermind
[Xperia Z3 Android Development] Kable1010:
I want to install Carbon rom and I flashed twrp 3.1.0 by twrp 3.0.2 but nothing change (still show version 3.0.2). my z3 unlocked bootloader. who can help me ? please.
[Xperia Z3 Android Development] nailyk:
Zip file is a "shortcut" to fastboot flash recovery. Should work from any recovery. (with disabled signature check)

Your are not booting it 'the new way'. You can:

Power down the device without usb, power+vol- if you have an upgraded bootloader.

Use volume rocker at light bringup (vol- & vol+ are bringing different recoveries!)

If still don"t work ask your rom maintainer how the FOTAKernel partition is booted and highlight me.

P.S.: sorry for late.
[Xperia Z3 Android Development] Dobsgw:
Hey is the current version 3.1.1?

I flashed over the xeita version and twrp still shows as 3.1.1 but logs aren't showing it's built from his PC now so I'm kind of assuming it's the correct one?

Shows Jenkins build.

Data decryption and backups all work fine either way.

Hoping I'm on this version :)
[Xperia Z3 Android Development] nailyk:
Yes should be good :)

I start again to tag twrp versions too.

Am currently fully reworking twrp trees (as side project of omnirom) for easiest official releases.

Also each version I tried earlier had (minors) bugs and it is still hard to catch both leo/z3/z3dual codenames, thats why there is not so much releases.
[Xperia Z3 Android Development] Kable1010:
Carbon Rom 7.1.2 need to upgrade bootloader ?
[Xperia Z3 Android Development] cmonty14:
Hi!

When I download the latest flashable zip from here, the filename is: twrp_z3_2017-07-23.zip

This filename does not really match to the release 2017-07-27 Single announced in the first post.

The md5 hash does match, though.

Question:

Is file "twrp_z3_2017-07-23.zip" the latest release?

THX
[Xperia Z3 Android Development] Dobsgw:
Yeah it is don't worry.

I think the priority has been the building of TWRP rather than the post.

That build was probably released on 27th but actually built on 23rd and then tested for a few days.
[Xperia Z3 Android Development] nailyk:
Good catch.

You are totally right. Mostly we build test, etc... then day is over, so I released as soon as I get enough time.

Not the first time someone report this so will try to change the release process, maybe release date into thread title and build date in download section.

Also some info 3 or 4 post earlier.
[Xperia Z3 Android Development] maxi16:
What is the different between the Single and Dual zips?

I'm little bit confusing and don't want to risk that i take the wrong zip.
[Xperia Z3 Android Development] nailyk:
One is for z3 single sim (D6603), the other for z3 dual sim (D6633)
[Xperia Z3 Android Development] Franco_Sposato:
News for gps fix?

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 Android Development] nailyk:
Do you use gps in twrp?
[Xperia Z3 Android Development] Franco_Sposato:
Twrp? What you mean?

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 Android Development] nailyk:
Thread title: [TWRP][Z3][UNOFFICIAL] twrp 3.1.0-0 for z3 [2017-07-27] so am wondering why you need gps fix?

Does twrp break it?
[Xperia Z3 Android Development] shoey63:
Look at the title. You are clearly in the wrong thread.

Edit: Ninjad by the OP ?
[Xperia Z3 Android Development] Franco_Sposato:
Uuuuu sorryyy yes wrong hahhaha

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 Android Development] nailyk:
*Release 2017-09-28*

New release, lots of changes!

This is built from omni trees (autonomous volunteer still needed for omni debugging ;)) and there is problems with device codename: expect 'error 7' while flashing some zips.

If that happens tell your rom maintainer to add 'leo' on the OTA_PACKAGE device list (should be ok for lineage).

This is a totally reworked twrp, encryption support still here.

Some pending fix on twrp are included.

Do not use adb backups, they are broken!

New sources are not hidden but not on temporary gerrits/gits. Pm if you need them before official releases.

Upgrade is not needed if the old one is working successfully for you.
[Xperia Z3 Android Development] nailyk:
2017-10-02 release

New release:

fix codename issue,

adb backup still not fixed.
[Xperia Z3 Android Development] santeria27:
Flashable zip for new release?
[Xperia Z3 Android Development] nailyk:
Not yet, I have some problems with the script to produce flashable zip. It need to be reworked for N tool chains. It is on the TO DO list ;)
[Xperia Z3 Android Development] santeria27:
Thx for info! I have use Rashr tool app and flash new release! And works fine ? THX for new twrp
[Xperia Z3 Android Development] nailyk:
Thanks for report.

Missing in changelog: twrp app is totally disabled.
[Xperia Z3 Android Development] santeria27:
Sry forgot to say use new omnirom build! Works fine and stable
[Xperia Z3 Android Development] maxi16:
Hey Guys i have the following problem if i want to flash the twrp_z3_2017-07-23.zip.

I become always the error "twrp error executing updater binary" if i want to flash the zip through my twrp. I use the the twrp 2.8.0 from monxDIFIED and the Carbon Rom 5.1 (Android 7.1.2). I have the D6603 Model.

So have somebody a idea what the error means and how i can solved it?
[Xperia Z3 Android Development] nailyk:
Provide /tmp/recovery.log.

Use the fastboot method, you wont have problem this way.
[Xperia Z3 Android Development] maxi16:
Yes it works now. Thank you
[Xperia Z3 Android Development] husky69:
Tried to install the 2017-10-02.img to FOTA, but I can't enter it - I keep getting pushed back to the SONY bootscreen.

Here's what I did:

downloaded file

checked MD5

put phone in fastboot mode

flashed it with 'fastboot flash FOTAKernel Downloads/twrp_leo_2017-10-02.img'

rebooted

tried entering recovery by pressing VolUp or VolDown during SONY bootscreen

Tried flashing it with 'fastboot flash recovery Downloads/twrp_leo_2017-10-02.img' as well - to no avail, same result

D6603, CarbonROM (AOSP based) 20170918

Did I do something wrong? Or any hints how to get it working?

EDIT: There's another TWRP for Z3 in this forum (which is 3.0), tried the way of flashing via dd, too, to " of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel" - no luck :(

Maybe the build is broken?
[Xperia Z3 Android Development] nailyk:
Process is the right one.

To boot trwrp this way your rom need to support it: push vol rocker while notification light comes on. Color should change when it is ok.

The other way is with the upgraded bootloader (flash >.200 with emma): turn off device without usb cable, keep vol-&power pressed until device vibrate.

I asked CR maintainer if the rom supports FOTAKernel extract. Will edit the post when I have the answer.
[Xperia Z3 Android Development] Dobsgw:
Carbon previously did work but I used it yesterday for navigation as my.offline maps were there and the latest build doesn't seem to allow booting to TWRP from ROM.

Had to do it manually with bootloader.
[Xperia Z3 Android Development] husky69:
I'm not fmailiar with "do it with the bootloader" - what does that mean? Via fastboot? Or do I need to upgrade the bootloader as nailyk mentioned?

Any hint on how to do that? What is emma???

OK, got it - but I'm a Linux guy. Is there any alternative usable on a Linux system?
[Xperia Z3 Android Development] jmpcarceles:
Changelog ver 28-09-2017 question

Hi guys,

In previous version 28-09-2017, one point says:

"adb backups are broken for now, don't use them!"

Does it means can't use "adb backup" command from PC?

But, instead can i use "adb pull" command, is it?

Thx
[Xperia Z3 Android Development] SALL666PL:
Can I install this TWRP on RR 5.8.3 ?