yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] schaggo:
There are many "unofficial" TWRP for several devices. Unofficial simply means not coming from the TWRP team themselves but someone compiled (and shared) it him or herself.

F2FS is an alternative filesystem developed by Samsung. Some swear on it to be best, some deemed it unstable, prone to fail and - as you said yourself - it's not very widely supported. Many tools have to be specifically modified to support F2FS. Recommendation: Stay away from it and stay with what you have stock.

Official TWRP might backup EFS/Modem or maybe not, I don't know. At least it's not selectable as a separate item when pulling a backup in official TWRP for bacon. It is selectable in this custom build of TWRP though.
[ONE Android Development] navinthomas:
I know what unofficial means. It just that I wasn't aware of the existence of other unofficial TWRPs. I come from the OnePlus forums. There, only very few have even mentioned unofficial TWRPs (mostly cos TWRPs are not something non-flashaholic people rely on a daily basis) so you can understand why I was ignorant about that.

This is the first time I am even hearing about this file system. So yes, I intend to stay away from it.

I have heard about only two TWRPs -- the official one by des troy and the unofficial one by katinatez. I was told the official one doesn't take EFS backup and only the unofficial one does. So I backed up the modemst files using the commands in terminal.

Later I came across this thread in the OnePlus forums. That's when I started having doubts about whether the official one backs up the EFS.
[ONE Android Development] navinthomas:
Firmware backup

Is there anyway I could include the firmware also in my NANDroids? If not with NANDroid, is there any other way possible?

Some ROMs require some specific firmware to be flashed before installing, which means (I think) you can't switch back to the previous ROM using NANDroid alone..... making things a bit less seamless than what I like.

I asked the above question in the official TWRP thread. I was asked to check with one of the custom TWRPs, hence here.

I should get at least a flashable zip file of the firmware of the current ROM. Know any method guys?
[ONE Android Development] tiny4579:
[MENTION=3814731]katinatez[/MENTION],

If you're still on CM12 nightlies, can you try building TWRP with this? https://github.com/tiny4579/twrp_oneplus_bacon/commit/96cfb1030d78c641d0698e18de6642653cde5f0e and testing CM updater

I'm curious if it's even worth my time testing this out. CM12.1 nightlies are rolling out soon and I wanted to see if CMupdater works with this change to TWRP recovery. I have the recovery built and installed. I guess I'm feeling too lazy to nandroid and wipe to test this with CM12 nightlies.
[ONE Android Development] katinatez:
No flags have to be set for every partition which is desired to backup, example Persist partition is backable. Other way to make firmware backups is using fastboot commands thru terminal but there are other threads already giving instructions on how to do that.

I'm actually rolling with cm-12.1 but as a courtesy I could build you a private twrp, for testing.
[ONE Android Development] tiny4579:
Just tested with this commit on updating to the first nightly:

https://github.com/tiny4579/twrp_oneplus_bacon/commit/96cfb1030d78c641d0698e18de6642653cde5f0e

It works!!!
[ONE Android Development] Targzip:
Didn't know it was possible to backup 102% of files.

Also backup just got stuck and never finished. The problem came with the new version.
[ONE Android Development] fmc000:
[MENTION=3814731]katinatez[/MENTION] : please have a look at this post on OnePlus forums.
[ONE Android Development] letmeputdatipin:
Delete
[ONE Android Development] katinatez:
Since I roll with cm-12.1 was already considering updating my recoveries with cm-12.1 kernel. Thanks for heads up
[ONE Android Development] ketut.kumajaya:
[MENTION=3814731]katinatez[/MENTION] I found http://xdaforums.com/showthread.php?t=1943625 not working as expected, using cm-12.1 source tree. The build system ignore PRODUCT_COPY_FILES for twrp.fstab but change https://github.com/CyanogenMod/android_device_oneplus_bacon/blob/cm-12.0/BoardConfig.mk#L52 work. No changes needed outside bacon device source tree. Thanks for your modified twrp.fstab :good: Mind to tell me how correctly merge a theme inside TWRP source?
[ONE Android Development] hkjr:
Ketut - always a pleasure to see your name pop up in these forums... hope all is well....
[ONE Android Development] katinatez:
Your name looks familiar I think I've seen you in Philz recovery thread, glad to have you on the OnePlus thread.

Yes, it does not work. In fact that is the same commit or PRODUCT_COPY_FILES I used back a few builds ago that scared everyone away with the no "operating system message" This is how I fixed it here

https://github.com/katinatez/twrp_device_oneplus_bacon/commit/d09f5c26cd9a4af03cdd6fbfa2017074200c0e79

And the theme is only replacing png & jpg files, in fact I had not pushed this commit until just now take a look. Just cherry-pick this commit and add your own curtain.jpg

https://github.com/katinatez/android_bootable_recovery/commit/07f73c2dffbfae3a8c176ed6deddf742fb13b62f
[ONE Android Development] ketut.kumajaya:
Everything is good :good: Thank you. How are you?

And your name as well :) Thank you :good:

I found PRODUCT_COPY_FILES working in "brunch bacon" but not in "make recoveryimage". For successfully build TWRP inside cm-12.1 source tree, we have to adapt https://github.com/CyanogenMod/andr...mmit/a6ea0d0fcb04b2d00c03ea78385ab639e6faf94c

How about firmware backup? Displayed as " Firmware" for aboot, rpm, LOGO, dbi, tz, modem, oppostanvbk, and sbl1.
[ONE Android Development] davbarr:
Hey!

problem found with twrp 2.8.6.0:

Unable to wake screen with touchscreen. Only power button and vol up down work!

Do you have the same problem?
[ONE Android Development] ketut.kumajaya:
No, double tap to wake works. I'll upload my build later today.
[ONE Android Development] katinatez:
The Firmware listed in my build is actually modem. I left that commit in there Dees_Troy renamed modem to firmware, it's a WIP with the whole encryption for bacon device.

https://github.com/katinatez/twrp_device_oneplus_bacon/commit/e99f8308e3d3d88c9734b4b1009cd5d2ceec45b4

About the firmware backup I have considered making a custom twrp to backup all those partitions, but decided not to since many devs are making flashable zip files every couple of weeks of newer firmware. But it is possible to rename firmware back to modem then create a a backup partition named Firmware which will then backup all 8 partitions that make up the firmware.
[ONE Android Development] ketut.kumajaya:
Mind to try my materialized recovery http://goo.gl/N2i04W ? Keep your current version, just try my version using "fastboot boot twrp-2.8.6.0-bacon-materialised.img" command.
[ONE Android Development] dolbylogic:
Like the recovery. Its already materialized no necessity for extra steps, everything is integrated. Thanks [MENTION=4021423]ketut.kumajaya[/MENTION] Excellent work...
[ONE Android Development] ketut.kumajaya:
[MENTION=3814731]katinatez[/MENTION] My changes now available on github https://github.com/kumajaya?tab=repositories
[ONE Android Development] storm119:
Materialized recovery

[MENTION=4021423]ketut.kumajaya[/MENTION]

(OT sorry op) First of all thank you for dropping by at Oneplus One...as usual your kernel and works at samsung tab 3 are really appreciated. I remember to used your superb kernel's on my wife tab's which are running very well...again your woks always trusted by me...:good:

Back to the topic... i just wondering regardless your materialized recovery...are this flashable zip or need to extract and use fastboot command...?

TIA
[ONE Android Development] bombadier:
Flashable zip
[ONE Android Development] storm119:
[MENTION=2714876]bombadier[/MENTION]

Thank you for your confirmation... ;)

Edit: my goodness....another excellent work by ketut.kumajaya :good:
[ONE Android Development] fmc000:
Is this based on stock twrp or on katinatez version?
[ONE Android Development] ketut.kumajaya:
Thank you :good:

Based on the official source, EFS backup from katinatez, firmware backup from me, better looking recovery idea from katinatez :D You can check changes I have made on github.

Updated version available for download http://goo.gl/rqjprv
[ONE Android Development] Pradhan_89:
Updated version available for download http://goo.gl/rqjprv[/QUOTE] [MENTION=4021423]ketut.kumajaya[/MENTION]

Flashed. Looks very sweet. Thank you :)
[ONE Android Development] evenstarr:
I have the same issue when I go to swipe to install there is nothing to swipe
[ONE Android Development] :
A bit of cleaning done.

Nothing wrong with posting an issue, but disrespectful comments on cosmetics, or anything really.....are not necessary.

Please post respectfully, or not at all. And if you don't like something someone has created....move on quietly.

Thanks,

Darth

Forum Moderator
[ONE Android Development] NuLLV01D:
[MENTION=4021423]ketut.kumajaya[/MENTION]

Awesome Recovery My Friend! Neatly Materialized (I especially love the green!) and just the right lil additions! Much Appreciated!
[ONE Android Development] ketut.kumajaya:
Reported by one of OnePlus forum member but "Use alternative lock screen" works. It's strange since I can't reproduce the problem.
[ONE Android Development] katinatez:
I don't know why a moderator had to come in and clean up the thread, nor did I read any of the offending replies. As always be polite & courteous or move on with replies.

On another note I like when other developers come in and share ideas and I also like ketut.kumajaya new recovery. So I am formally announcing [MENTION=4021423]ketut.kumajaya[/MENTION] is going join me as project maintainer for the unofficial twrp. We are going to adopt the integrated materialize theme and I will update the op tonight to reflect that. So I'm asking all the users that have followed me in past recovery projects to show your support to ketut.kumajaya.

Thank you
[ONE Android Development] HaTrED_:
Nice! ;)
[ONE Android Development] dennis96411:
Awesome! Now I can delete the theme file.
[ONE Android Development] iloqin:
I've had no issues. Updated to this version, went to 5.0.2, 5.1, 5.1, back to 4.4.4, back to 5.1.1

=)
[ONE Android Development] storm119:
Nah!....this is are awesome news i ever heard since this past week.

katinatez + ketut.kumajaya = solid rock combination :D

hopefully you guys thinks of making a custom kernel in near future....just pressing my luck... ;)
[ONE Android Development] jasraja:
Hands down

Wow.. great news to read over the weekend... couldn't have been better than this.... really didn't wanted to see one more branch with few new features added and then keep switching... we are with you guyz.. keep the good work going :good:
[ONE Android Development] hkjr:
Looks great...
[ONE Android Development] dark13th:
The problem with slide to unlock is the following:

TWRP locks the screen, when it dims, not when it turns off. You can't unlock it without turning the screen off and then back on.
[ONE Android Development] ‬1‬:
+1. there's no swipe icon
[ONE Android Development] ketut.kumajaya:
New version ready for download http://goo.gl/rqjprv

Changelog: https://github.com/kumajaya/Team-Win-Recovery-Project/commits/cm-12.1

- Always use alternative lock screen

- Solid menu button on reset
[ONE Android Development] ketut.kumajaya:
Please try the updated version, let me know if you still experienced any issue.
[ONE Android Development] letmeputdatipin:
How do I restore a single partition, i.e. system only from a previous back up?
[ONE Android Development] schaggo:
[MENTION=4328385]letmeputdatipin[/MENTION] restore and select system only.
[ONE Android Development] letmeputdatipin:
Thanks! I haven't tried yet but usually when I restore I don't see an option to select anything individually other than my previous back up folder.
[ONE Android Development] gianton:
Great news! Latest build working great and looks even better!

Thanks for your hard work both of you guys!!
[ONE Android Development] jk8260:
Really nice work !!!
[ONE Android Development] geowolf1000:
I read at commits for decrypt support

Is it true? and which options should trigger for workable decrypt?
[ONE Android Development] fmc000:
A small feature request: is it possible to print in the splash screen the number of the release (near or unfer the word "Materialized" for example)?
[ONE Android Development] tekanina:
I've been having a problem flashing on latest twrp. Official and unofficial. Zip verification failed. On the latest firmware and cm12.1.
[ONE Android Development] Lakino:
Yes, me too. On unofficial, I am also getting zip verification failed errors.
[ONE Android Development] tekanina:
Yeah I can't flash anything, been this way since 2.8.6.0 dropped. Been using Philz which I can't stand. I also have the same problem on my 2013 moto x.
[ONE Android Development] Lakino:
I just flash without the setting checked. Is that bad? :what:
[ONE Android Development] jk8260:
Same here...
[ONE Android Development] tekanina:
What settings, did it work?

Edit: you mean check md5 sum?

Edit2: okay unchecked signature verification, and it works actually makes sense now that I think about cause only certain files would flash. For example zips that signed on the end like most gapps.
[ONE Android Development] Lakino:
yup, that's the one and it worked for me.
[ONE Android Development] ketut.kumajaya:
Sign your package with -w (whole files) switch, "java -jar signapk.jar -w testkey.x509.pem testkey.pk8 package.zip packaged-signed.zip"

Please check our discussion:

- http://review.cyanogenmod.org/#/c/81797/

- http://review.cyanogenmod.org/#/c/96225/
[ONE Android Development] ketut.kumajaya:
Slimmed down, merged better to TWRP source (as 1080x1920hq resolution). Holo dark?
[ONE Android Development] fireforhire:
I think that looks much better than green and white...
[ONE Android Development] happydad4130:
I second that
[ONE Android Development] dolbylogic:
I like it. It's gives us more options. Thanks for your work.
[ONE Android Development] mindwarp101:
recovery theme

I agree, halo dark looks much more classy than the current theme, good job on the recovery :)
[ONE Android Development] Lakino:
Green for the environment wasn't bad at all but it definitely was too bright on the menu screens. I don't think we need 100% brightness for when we flash. Most of us don't flash under bright sunlight but indoors. ;)

Thanks!
[ONE Android Development] Wisiwyg:
Yep, like the dark theme more better... er, most bestest. :)
[ONE Android Development] ketut.kumajaya:
A new dark version available for download http://goo.gl/rqjprv

Changes:

- https://github.com/kumajaya/Team-Win-Recovery-Project/commits/cm-12.1-dark

- https://github.com/kumajaya/android_device_oneplus_bacon/commits/cm-12.1-dark
[ONE Android Development] Geo411m:
Any word on aroma based installers not working correctly with latest TWRP?
[ONE Android Development] ketut.kumajaya:
Even Aroma Filemanager (using updated library) not working properly and no reply from amarullz yet http://xdaforums.com/showthread.php?t=1646108&page=107
[ONE Android Development] PlasmaPump:
How do you backup the firmware. It is not listed. Could it be the theme I use?
[ONE Android Development] katinatez:
Backup/Firmware
[ONE Android Development] qbanlinxx:
Update looks great, thanks for the hard work

Sent from my One+ 1
[ONE Android Development] HaTrED_:
probably it's hidden... Try to scroll up under selectable options in backup menu a bit and you should find it...
[ONE Android Development] Wisiwyg:
Ditto, really like the darker theme...

The backup function now has enough check box options for partition selection that you need to scroll up or down to see the firmware partition check box.
[ONE Android Development] kartikb:
Hi, is there any way to get AROMA working on twrp v2.8.6.0 recovery? I have been trying to install LP-GAPPS which uses AROMA but it just gets stuck.
[ONE Android Development] dennis96411:
It works for me. Are you using 2.00 Beta 1?
[ONE Android Development] kartikb:
I'm not sure what you mean by 2.00 Beta 1? I downloaded LP-GAPPS which uses AROMA to install the GAPPS that you want. I'm not sure what version of AROMA is being used in the zip file.
[ONE Android Development] schaggo:
Would you mind linking me to those Gapps? Thanks.
[ONE Android Development] kartikb:
Here you go:

http://xdaforums.com/android/general/gapps-lp-gapps-pa-gapps-aroma-installer-t3010798
[ONE Android Development] dennis96411:
Oh, I got it confused with the AROMA file manager. Sorry.
[ONE Android Development] kartikb:
Reverted back to TWRP 2.8.3.0 and it works fine on that but not on the later versions of the recovery. I wonder what got broken on the newer builds...
[ONE Android Development] ketut.kumajaya:
Materialised dark version build 4 available for download http://goo.gl/rqjprv, with the last 4 commits of https://github.com/kumajaya/Team-Win-Recovery-Project/commits/cm-12.1-dark Thank you very much [MENTION=2719389]z31s1g[/MENTION]
[ONE Android Development] PlasmaPump:
Hmm... Can't see it in your version, but it is there in the ketut.kumajaya version.
[ONE Android Development] AcmE85:
edit xD
[ONE Android Development] rockingondrums:
I tried to flash the zip version on my phone and not only was the theme not material (which I figured out later required 2.8.6.0.

X

), but the recovery was unable to backup data. I had to flash via fastboot.
[ONE Android Development] akash4357:
Is there any update of a new build?
[ONE Android Development] Spannaa:
Has official TWRP been updated since 2.8.6.0?

Sent via Bacon...
[ONE Android Development] schaggo:
Just checked, there is a "new" .1 release on twrp servers. Couldn't be bothered with the changelog though, only checked the download dir.
[ONE Android Development] Striatum_bdr:
Support for encryption in opo has been announced. So yes an update is in the air.
[ONE Android Development] xlollomanx:
Twrp 2.8.6.1 has been released in these minutes.

Sent from my Oneplus One
[ONE Android Development] LookedPath:
Yup, you are right.

For the others check out here.
[ONE Android Development] katinatez:
Come get your unofficial twrp v2.8.6.1 materialized , :D

Encryption

Update F2FS kernel commits

with Jaegeuk Kim repo

https://www.androidfilehost.com/?fid=23991606952606941
[ONE Android Development] pa.pn2:
flashed.but i dont see material design.am i missing something?
[ONE Android Development] just4u32:
Same.. Seems like the original design (as opposed to kat's other versions).

Also, what's new with that encryption thing?
[ONE Android Development] Spannaa:
Read this ;)
[ONE Android Development] g_Four:
Me too. Confirm.
[ONE Android Development] aravindhramachandran:
I can also confirm that it's looking like normal twrp and themes went missing.
[ONE Android Development] storm119:
Yup!...splash screen are stock but theme still materialised due i had installed theme by [MENTION=5400071]tiaoalvino[/MENTION] http://xdaforums.com/showpost.php?p=59760888&postcount=1636
[ONE Android Development] MacLaughlin:
I have a problem with every new twrp image. When I try to install a file I don't have the swipe to install line. It's just a half line and I don't have the option to flash. Anybody have a clue?
[ONE Android Development] Spannaa:
Do you have a TWRP theme (ui.zip) in the TWRP/theme folder on your internal storage?
[ONE Android Development] katinatez:
OK, it was late last night, the theme is there but I missed the materialized curtain. If that what everyone is referring too. It's an easy fix, will put another build out later today
[ONE Android Development] MacLaughlin:
Yup. Already noticed that. Just installed another theme and everything is working fine again.
[ONE Android Development] Spannaa:
Mmm...

Neither the curtain or the theme were there for me when I tried it earlier.

I upgraded from [MENTION=4021423]ketut.kumajaya[/MENTION]'s twrp-2.8.6.0.5-bacon-materialised if that matters.

Yep, the only time I've been unable to swipe it was down to me not updating the theme to match the new TWRP version.
[ONE Android Development] katinatez:
Everything back to materialized theme, curtain and all.

v2.8.6.1.1

https://www.androidfilehost.com/?fid=23991606952607112
[ONE Android Development] smint86:
Running great so far. Finally I'm going to test encryption tomorrow.
[ONE Android Development] Lakino:
How does one do that? Could you provide a link to instructions / write-up about testing this encryption? Thanks.

I've read a little about this qualcomm encryption but frankly I still don't understand what exactly this encryption encrypts.
[ONE Android Development] katinatez:
OK figured out what happened. When I compiled and tested v2.8.6.1 it booted into theme because I had a materialized theme in my theme folder with ui.zip

So v2.8.6.1 has the stock look and v2.8.6.1.1 is compiled with the dark theme.

I thought I was going crazy; have now deleted the ui.zip so does not happen again.
[ONE Android Development] Fvolfrine:
I'm curious too. Just moved to 2.8.6.1 because of the encryption for OnePlus. I don't see anywhere in TWRP where one can encrypt, so what am I missing. It is done in TWRP or elsewhere?
[ONE Android Development] Mayday_XL:
A nandroid backup takes with 2.8.6.0 about 100s and with 2.8.6.1 about 190s.

*** Mayday@O+O ***
[ONE Android Development] tobitege:
It is a feature your rom should have under Settings, Security, "Encrypt phone" (at least CM based roms).
[ONE Android Development] Fvolfrine:
Thanks. I thought there might be a different way, that the version you described is the software based encryption compared to a different Qualcomm based encryption.
[ONE Android Development] HaTrED_:
Noticed that too! Backups and restores seem to be slower but i need to test it again to confirm this "feelings"! :p

EDIT: Yap, it seems so! Side-by-side with 2.8.6.0.5, 2.8.6.1.1 is slower making backups or restores!
[ONE Android Development] track909:
[MENTION=3814731]katinatez[/MENTION]

I have a problem.

My rom backup has firmware inside.

When I restore my rom, TWRP 2.8.6.1.1 give me an error about firmware:

E:mkdosfs /dev/block/mmcblk0p1 process ended with ERROR=1

E:Unable to wipe '/firmware'
[ONE Android Development] katinatez:
I named the partitions by name in fstab. Will revert back to naming partitions by block name. That should fix that.

https://github.com/katinatez/android_device_oneplus_bacon/commit/d37a5b2445b4107a666a909fbd8b364337c00169

Edit: To save your backup go inside twrp/backups/todays backup and delete firmware file with a file explorer
[ONE Android Development] Lakino:
I experienced the same problem. Caused me so much trouble yesterday. Reverted back to an older TWRP version and thankfully also had another precious backup that was backup-ed by a precious version of TWRP that eventually worked to restore the firmware.
[ONE Android Development] burgi400:
Encryption key gone?

After flashing 2.8.6.1 decryption is working fine. But now my device is no longer asking for the decryption key. I start cm12.1 or twrp and it directly starts without asking for key. In CM the device is encrypted, if i reflash rwrp 2.8.6.0 recovery is no longer able to acces cache or data because it ie encrypted.

Any one an idea what has happened and how to fix it?
[ONE Android Development] katinatez:
https://github.com/omnirom/android_bootable_recovery/commit/44b7dd177d8851af24d8f418be5258093d8ee9e0
[ONE Android Development] fmc000:
Ugh, I see. May I ask you why?
[ONE Android Development] z31s1g:
That removes the option to use the flashify script (which was implemented in the theme as a means to flash image files before twrp started supporting image flashing natively).

The script was named flashify script because it did the same thing as the Flashify app (flashing images).

I believe fmc000 refers to the app, not the script.

The script was somewhat obsolete because twrp can flash images natively now.

But this doesn't explain why installing a kernel.zip with Flashify app doesn't work.
[ONE Android Development] fmc000:
Exactly

Especially as it's always worked for me (and, by the way, the latest Philz works too).
[ONE Android Development] jcespi2005:
Do you have an ETA for the fixed version?

Thanks