yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] katinatez:
Don't worry, you could use fastboot commands to flash over other recoveries. That is why I put link into kernel sources omni calls one plus find7op.

Just woke up let me drink coffee & have breakfast and I will compile bacon recovery ( it won't say find7op)
[ONE Android Development] katinatez:
Updated again still same features f2fs,efs, usb-otg. And identity changed back to A0001. The newest commits are in here don't know why recovery did not change #.

This is flashable zip file.

Removed f2fs was not working update coming
[ONE Android Development] störte:
Flashed it again. Strangely it say 2.8.0

Did something went wrong?

Gesendet von meinem A0001 mit Tapatalk
[ONE Android Development] katinatez:
I am running this build too, but have not tested. As previous post all the mtp commits are in there but recovery # did not change. Will look at it again tonight.

I also noticed when phone goes to sleep in recovery. I long press power button and swipe screen to wake up recovery, just an observation.

Test everything
[ONE Android Development] alesfot73:
Confirm 2.8.0.0
[ONE Android Development] jahrule:
Is there a stock 2.8.0.1 flashable zip?
[ONE Android Development] MrMarkEdward:
View attachment twrp_2.8.0.1-bacon.zip
[ONE Android Development] SchmilK:
When wiping before rom install i get "Mkfs.f2fs is not found, using rm -f instead."
[ONE Android Development] störte:
Just had a fc when starting to backup to otg. Anybody else had that ?

On internal it is working.

One more thing

When i go to change filesystem there is no F2FS or has it another name ?
[ONE Android Development] katinatez:
Recovery log, helps better.

---------- Post added at 12:27 PM ---------- Previous post was at 12:26 PM ----------

Just tested backing up to USB no problem here.
[ONE Android Development] störte:
Found out what the problem is. Somehow i have only read rights on the otg. I think my virtual linux lock me out. cant unlock anymore. Sorry for confusion
[ONE Android Development] katinatez:
Sorry about that I believe the newest commits broke the f2fs; will revert.

f2fs: update to latest version 3.4.y

f2fs: update to latest version 3.4.y [20140903] …
[ONE Android Development] anmar21:
Hi,

I'm a little bit lost. Where can I find the latest 2.8.0.1 with efs backup? Is it safe to flash on top of the official one?

Thanks!
[ONE Android Development] katinatez:
I will post it when I fix f2fs.
[ONE Android Development] katinatez:
Well it's like 2am my time and have to get up at 7am. But the unofficial 2.8.0.1 is done. It really is the 2.8.0.1!! Touch screen issues fixed and f2fs is fixed and also added ability to backup recovery also. Will post in the afternoon.
[ONE Android Development] laulau42400:
Cool, thank you.

?

OnePlus one et Tapaltak
[ONE Android Development] Natakranta:
Thanks! These are the kind of news I like to read waiting for me 1+1 :)

Reading the efs horror stories chills my blood. Backing it up is the first thing I'm going to do after unlocking bootloader and flashing TWRP.

IIRC your 2.8.0.1 version supports efs backup. Then the efs backup is restorable in your TWRP only?

On Nexus 5 I did the efs backup using attached zip source - link in OP. It was even before TWRP introduced efs backup. It does the backup and generates a recovery flashable zip with it. Pretty convenient. I'm not skilled enough to understand it's build and how the scripts inside work but I bet you do ;)

Would you consider taking a look and making such zip for 1+1?
[ONE Android Development] Calkulin:
Also, did you fix EFS restore? As it was messed up on 2.8.0.0 but worked fine on 2.7.1.0 tho
[ONE Android Development] katinatez:
EFS restore is cross compatible with my Philz recovery and TWRP, in Philz go change backup mode to TWRP then you can restore the EFS. Read the main thread in Philz recovery for more details.

You could follow last nights entire EFS discussion which starts here for more clarity.

http://xdaforums.com/showpost.php?p=55499975&postcount=269
[ONE Android Development] katinatez:
Here is the unofficial 2.8.0.1 same features as before. F2FS is fixed but cannot test myself since I dont run F2FS, just added this feature since it's gaining popularity. All F2FS users test and report back.

Enjoy :D

Updated recovery further down
[ONE Android Development] jbejaranogarcia:
Thank you buddy! [emoji106]
[ONE Android Development] Poesini:
I can confirm F2FS works 100%
[ONE Android Development] katinatez:
Thank you for reporting back.
[ONE Android Development] dlhxr:
A small bug on efs restore. I can't restore efs partition if i don't backup first in the same session.

Here's the log.

[RESTORE STARTED]

Restore folder: '/data/media/0/TWRP/BACKUPS/892f8cca/3&4G'

Skipping MD5 check based on user setting.

Calculating restore details...

I:InfoManager file '/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st1.info' not found.

I:Restore file system is: 'emmc'.

I:InfoManager file '/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st2.info' not found.

E:Unable to find file system (first period).

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

Here's the successful log and it seems restoring modem_st2 twice

[RESTORE STARTED]

Restore folder: '/data/media/0/TWRP/BACKUPS/892f8cca/3&4G'

Skipping MD5 check based on user setting.

Calculating restore details...

I:InfoManager file '/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st1.info' not found.

I:Restore file system is: 'emmc'.

I:InfoManager file '/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st2.info' not found.

I:Restore file system is: 'emmc'.

I:InfoManager file '/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st2.info' not found.

I:Restore file system is: 'emmc'.

Restoring 2 partitions...

Total restore size is 4MB

I:Restore filename is: modem_st1.emmc.win

I:Restore file system is: 'emmc'.

Restoring modem_st1...

I:Restore command: 'dd bs=4096 if='/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st1.emmc.win' of=/dev/block/mmcblk0p10'

384+0 records in

384+0 records out

1572864 bytes (1.5MB) copied, 0.097572 seconds, 15.4MB/s

I:dd bs=4096 if='/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st1.emmc.win' of=/dev/block/mmcblk0p10 process ended with RC=0

I:Restore filename is: modem_st2.emmc.win

I:Restore file system is: 'emmc'.

Restoring modem_st2...

I:Restore command: 'dd bs=4096 if='/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st2.emmc.win' of=/dev/block/mmcblk0p11'

384+0 records in

384+0 records out

1572864 bytes (1.5MB) copied, 0.105083 seconds, 14.3MB/s

I:dd bs=4096 if='/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st2.emmc.win' of=/dev/block/mmcblk0p11 process ended with RC=0

[modem_st1 done (1 seconds)]

I:Restore filename is: modem_st2.emmc.win

I:Restore file system is: 'emmc'.

Restoring modem_st2...

I:Restore command: 'dd bs=4096 if='/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st2.emmc.win' of=/dev/block/mmcblk0p11'

384+0 records in

384+0 records out

1572864 bytes (1.5MB) copied, 0.061824 seconds, 24.3MB/s

I:dd bs=4096 if='/data/media/0/TWRP/BACKUPS/892f8cca/3&4G/modem_st2.emmc.win' of=/dev/block/mmcblk0p11 process ended with RC=0

[modem_st2 done (0 seconds)]
[ONE Android Development] katinatez:
It looks like its restoring modem_st2 twice but it's not. Hear is the code with the efs magic. Modem_st1 backup restored then calling modem_st2 but restoring modem_st2

subpartition

of modem_st1.

/modem_st1 emmc /dev/block/platform/msm_sdcc.1/by-name/modemst1 flags=backup=1;display=EFS
/modem_st2 emmc /dev/block/platform/msm_sdcc.1/by-name/modemst2 flags=backup=1;subpartitionof=/modem_st1

On another note I just found Gummy device tree for bacon and the Gummy team have included efs and usb-otg by default, look here. Scroll all the way down to this rootdir/etc/twrp.fstab

https://github.com/TEAM-Gummy/device_oneplus_bacon/compare/SlimRoms:kk4.4...kk4.4-find7

So does this restore your confidence in this twrp build?
[ONE Android Development] dlhxr:
Thank you for your explaination, but it's not the problem about restoring twice.

Here's the problem.

I reboot to the recovery and then backup efs and then restore efs, all things are fine.

If I reboot to the recovery and then restore efs I backuped before, the recovery crushes.

That's what I mean "I can't restore efs partition if i don't backup first in the same session."

Edit:

In the 2.7.0.1 unofficial twrp, when I restore the efs, it shows efs on screen.

But in 2.8.0.1, it shows modemst1 & modemst2 on screen.

I don't know whether it is related to the problem
[ONE Android Development] katinatez:
Ok I will look into it. Everything else work? Besides I forgot to set this flag for encryption

BOARD_VOLD_CRYPTFS_MIGRATE := true

this has to do with changing the the location of encryption footer. So I will release another update in a couple of days.
[ONE Android Development] 9600pro87:
Hi! With this version no problems at all with any rom installation and backup?

Thanks :)
[ONE Android Development] MrMarkEdward:
read everything after the post you quoted then you will have your answer.
[ONE Android Development] playya:
I like how you did that make 'em do the research he should of done in the first place
[ONE Android Development] 9600pro87:
Yes you absolutly right but i've read some guys have problems with recovery higher 2.7.1.0 :)
[ONE Android Development] tdamocles:
I'm Also having the problem of the efs not restoring on the lastest build.
[ONE Android Development] katinatez:
Have not forgot about everyone here. I believe I fixed efs restore, only test done is I back upped efs power down phone and start up phone into recovery and restore of efs was successful. Encryption should be working but cannot test since I don't use encryption. Adding a theme on next one (just button images I like) since it's unofficial.

Family weekend so I will release probably on Monday until then I will be using recovery and testing.

Have a great weekend.
[ONE Android Development] katinatez:
Updated recovery, fixed efs, new theme. Family is asleep so I put it together for everyone. I need someone to mount f2fs file, test encryption and give me feed back.

Enjoy :D
[ONE Android Development] LookedPath:
Thanks for your amazing work mate.

The only thing that bothers me about TWRP is that it takes ages to boot, it took less on my old LG Optimus Black.

Is there something you can do about it?

As soon as Sabermodded Slim gets updated I'll try to flash with F2FS with the latest version.
[ONE Android Development] dlhxr:
EFS Restore works fine. I don't have f2fs system or encrypted data, so I can't test that~
[ONE Android Development] LookedPath:
I just tried it but it's not mounting anything so f2fs is not working.
[ONE Android Development] katinatez:
Easy fix, but leaving out of town so everyone will have to wait, everyone like the theme?
[ONE Android Development] crisgen:
Sincerely? I love how you've themed the recovery. [emoji106]
[ONE Android Development] crisgen:
Delete for duplicate
[ONE Android Development] crisgen:
Deletet for duplicate
[ONE Android Development] crisgen:
Delete for insane duplicate... Lol
[ONE Android Development] Setting.Out:
+1 twrp is sexy with that theme.. ;)
[ONE Android Development] kecinzer:
Any updates about fixed F2FS?
[ONE Android Development] katinatez:
Considering dropping f2fs support because if I add it. The recovery.img will become much larger which in turn will cause a much longer boot time. So I am going backwards in boot time instead of going forward and reducing the boot time.

Don't get me wrong I can do it but then I don't want anyone complaining about long boot time. Will work on f2fs support one more night.

Now is the time for everyone to voice their opinion on f2fs support. Drop it? Or keep it but with long boot time?
[ONE Android Development] MrMarkEdward:
IMO it doesnt matter either way. I put it this way as long as it boots to recovery I dont care if it takes a lil longer to boot into recovery. Thats my opinion.
[ONE Android Development] Setting.Out:
+1 stable, bug free and helpful options.. A few seconds of time is a distant 4th request.. :)
[ONE Android Development] tdamocles:
Who cares how long it takes to boot. ..I say add f2fs. Even though I don't use it. Why settle?
[ONE Android Development] SchmilK:
Use this for f2fs

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

[MOD] MultiROM v28d

Its up to date, can be updated via Multirom manager app on play store, AMD let's you have multi ROM boot if you want. :)

I've been using it with f2fs for a few weeks and have 7 ROMs modded and booting.
[ONE Android Development] kecinzer:
[MENTION=674332]SchmilK[/MENTION]

I don't use multiple ROMs.

[MENTION=3814731]katinatez[/MENTION]

Personaly I don't use F2FS, I just want to give it one more shot. But from my experiencies on OPO, F2FS isn't faster and casuses troubles.

Otherwise I realy love your recovery, Features like MTP, USB OTG is just awesome.
[ONE Android Development] katinatez:
OK here is the updated 2.8.0.1 with fixed f2fs mount and read. The recovery will take time to boot the recovery.img is 14.1 mb. I will continue to shorten the boot time and keep all features but for now I am done. If you appreciate the time I've spent on fixing this recovery, the least you can do is hit the Thanks.

Enjoy :D

Taking a break from XDA
[ONE Android Development] Setting.Out:
Themed too?
[ONE Android Development] katinatez:
Yes themed, I'm keeping the theme.
[ONE Android Development] Jarheadflip:
Can i just open zip and take the image and fastboot flash? Thanks in advance
[ONE Android Development] katinatez:
Yes
[ONE Android Development] katinatez:
Updated & Smaller TWRP

As promised shorten the image down to 13.5mb kept all the features, boots a few seconds faster and added this commit.

https://github.com/omnirom/android_kernel_oppo_msm8974/commit/77baa0b0a8a78e63b62242140c25b754e7079771

Enjoy :D
[ONE Android Development] kecinzer:
Will you be able to make recovery with same features for FLO (Nexus 7 2013 Wifi) if I give you source for kernel with F2FS support?

BTW. How you doing support of mounting ext4/f2fs partition automaticaly? I just looking into your RAMDISK and Can't found it :(.
[ONE Android Development] dlhxr:
I find that in 2.8, twrp doesn't prevent recovery reflashing automatically. After I install some rom with recovery reflash function, the recovery would return to stock one when booing the system. The phenomenon only exist on twrp 2.8.0.x, but twrp 2.7.x don't have this problem.

Could you add the function (preventing recovery reflashing) back? I don't know whether I expressed clearly. Sorry for my English~
[ONE Android Development] fiz:ik:
Don't forget to update the thread title! :) Good work mate :good:
[ONE Android Development] katinatez:
I will not support devices I do not own, I own Nexus 7 2012 WiFi. There are many good tutorials on building recoveries. By default the recovery supports ext4, I only added the f2fs commits to my build; I sent you by pm earlier this week, so that's how it supports ext4 and f2fs. You will not find it in the ramdisk it's built into the kernel.

I do not have this problem, recovery returning to a different recovery. I believe it's your settings Developers Options/Update CM Recovery/unchecked

It's not my thread, I am building personal twrp recoveries and just sharing.
[ONE Android Development] geowolf1000:
Did any use encryption with latest?

Will affect ota 's? If i encrypt?
[ONE Android Development] katinatez:
Test and report
[ONE Android Development] mkclove:
Anyone get e:/ unable to stat... messages in the recovery, it does not affect flashing.

It just references one of my installed app's directory.

Sent from my OnePlusOne
[ONE Android Development] dlhxr:
Yes, cm 11s has the settings not to returning to a different recovery. Some other rom don't have this setting and they just rewrite your recovery automatically...Such as Color OS and MIUI. The solution is to delete or rename /system/recovery-from-boot.p and /system/etc/install-recovery.sh. The function I describe is done automatically by TWRP 2.7.x and I don't know the reason why TWRP 2.8.x remove the function.

I just made a flashable zip to realize the renaming process, but it would be better that TWRP could do this automatically.
[ONE Android Development] katinatez:
If you find out where & what lines of code to delete I will update recovery again.
[ONE Android Development] kecinzer:
[MENTION=3814731]katinatez[/MENTION]

In you latest version of recovery, charging in recovery dosn't work.
[ONE Android Development] Schrotty35:
Can not restore my backups with latest version. I see succesfull but whene i reboot i see only the One logo. And i can not mount System, i think this is the probleme.

Edit: With TWRP 2.7.1.0 i can restore my backup.
[ONE Android Development] elrey311:
Is this twrp working? I have been messed up with a twrp that wasn't working correctly.
[ONE Android Development] gordon.shameway:
Where do i find the download for 2.8.0.1 ? I flashed the image provided in op with flashify, but i still have 2.7.0.1 Thanks in advance!
[ONE Android Development] elrey311:
On page #13 and post # 129.
[ONE Android Development] gordon.shameway:
Thanks my friend, i was blind i think!
[ONE Android Development] buzzqw:
i got lots of ghost touches with both official and unofficial (2.7 and 2.8) twrp

any fixes around ?

BHH
[ONE Android Development] MrMarkEdward:
Have not experienced any with 2.8.0.1
[ONE Android Development] gordon.shameway:
+1

Never had any problems
[ONE Android Development] fireforhire:
Where is the file?
[ONE Android Development] Heisenberg:
Keep reading...

Transmitted via Bacon
[ONE Android Development] MaxDeavy:
Would it possible to add multirom support?

That would be awesome because the Multirom TWRP dont have USB-OTG and MTP.
[ONE Android Development] Rycon33:
Love this themed version.?

Btw, if you only have time bro, hope you get the chance to look into the new 2.8.1.0?
[ONE Android Development] katinatez:
I am syncing sources now, if I update I will probably not include f2fs feature, the whole hype has kinda died out.
[ONE Android Development] Rycon33:
^^Nice, thank you as always.

Regarding f2fs, I didn't know anything about it personally, and didn't bother to look it up in search either, lol.
[ONE Android Development] kecinzer:
Please include F2FS. I'm using it personaly. But fact is, that on OPO is not faster then ext4 because of very fast flash memory.

But its very hard to do all backup and convert all system into ext4 again. May be I will wait for Lollipop with it.
[ONE Android Development] katinatez:
Well since you asked me, I will do it. On my weekend I will get it done. :D
[ONE Android Development] jcespi2005:
Many thanks mate ;)

May i ask if you can include all partitions on the backup section? except userdata of course... should be usefull to get a FULL backup, as the EFS Proffesional can do leting you select partitions you want...

Cheers
[ONE Android Development] P1nGu1n_:
Or at least the persist partition, as it can get randomly corrupted. :)
[ONE Android Development] Rycon33:
^^ For the persist partition(while it isn't included in here yet and we only need it one time anyway) , I used the script from here to backup my OPO's persist.img -> http://xdaforums.com/showpost.php?p=55689933&postcount=311

Thanks to that guy for his script.
[ONE Android Development] katinatez:
Unofficial TWRP 2.8.1.0

It's made, Go here to see custom boot splash and changelog:

Enjoy :D

http://xdaforums.com/showpost.php?p=56442020&postcount=499

But any questions about recovery will continue here

Download Link
[ONE Android Development] Rycon33:
^^ looking good?
[ONE Android Development] Cryofreezepie:
could you explain to me how this works, do i boot phone into recovery then use this to flash over im new to this rom flash and root stuff and i dont want to brick haha opo is to good..
[ONE Android Development] P1nGu1n_:
Indeed, if you already have a costum recovery, you can transfer the zip to your phone and flash it. In case you unlocked your bootloader but haven't got a custom recovery you can extract recovery.img and flash it using 'fastboot flash recovery recovery.img' followed by 'fastboot erase cache'

Sent from my phone, please forgive any tpyos.
[ONE Android Development] Cryofreezepie:
How would one get a custom recovery and how would one unlock bootloader safely?
[ONE Android Development] ChefChaudart:
Asking this kind of question make me thinks IT´S URGENT you start to read ... Read the many posts that exist around here in XDA.

After a while, if you still do not understand, come back and ask PRECISE questions.:cool:
[ONE Android Development] playya:
http://xdaforums.com/showthread.php?t=2788632

http://xdaforums.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471

This is how you find out about things in here - we like to read and read and read again just as previous post suggests.
[ONE Android Development] Cryofreezepie:
so my phone has a custom recovery and is unlocked now what do i do XD
[ONE Android Development] Mike:
You make a nandroid backup and start reading so you have a better understanding of the things you do to your device

Sent from my OnePlus One
[ONE Android Development] ChefChaudart:
Must be joking, yes :confused: Have a break ? a coffee ??

http://xdaforums.com/showthread.php?t=2788632
[ONE Android Development] dlhxr:
Thank you for your effort. I am now using your twrp 2.8.1.0.

I sync the cm source code and then want to build twrp myself.

But I only see 2.7 brunch in https://github.com/TeamWin/Team-Win-Recovery-Project

And I couldn't find any 2.8 source code.

Do I misunderstand something or the source code is not open to public?
[ONE Android Development] katinatez:
Read this entire thread, that's what I did.

http://xdaforums.com/showthread.php?t=1943625
[ONE Android Development] dlhxr:
So the source is in Omni recovery repository.

Thanks a lot!
[ONE Android Development] katinatez:
you need this device branch first, repo sync, and it will grab all the dependencies to build for bacon

https://github.com/omnirom/android_device_oppo_find7op/blob/android-4.4/omni.dependencies

you need this device branch to build for bacon, this will make the official twrp by Dees-Troy

https://github.com/Dees-Troy/android_device_oppo_bacon
[ONE Android Development] dlhxr:
Do you mean I don't have to sync all cm source codes to build twrp?

I only have to fetch the dependencies there?

I am a learner, and I can only repo init and repo sync.

Could you explain a little more in detail or push me some links to understand this.

For example, how to just repo sync the dependencies listed there?
[ONE Android Development] katinatez:
You sync omni source not cm

cd ~/android/omni

repo init -u https://github.com/omnirom/android.git -b android-4.4

http://docs.omnirom.org/Build_for_i9300#Install_and_Sync_the_Source_Code
[ONE Android Development] dlhxr:
I still wonder why we need the whole android source for building the recovery?

The whole android source is too large.....I still have some other android source so that my disk is almost full.

I can just clone kernel source to build the kernel. Can I just pull some twrp related repository to build twrp?