yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] edoardotavecchio:
I can't turn /data and /cache to F2fs. I'm actually on latest uberstock build, latest jolla kernel build. Both of them fully support f2fs. I've done a full wipe (event returned to stock) due to some problems with encryption. I've flashed everything but in twrp I can't find the option for f2fs formatting no more. I can switch filesystem to ext4, fat, exfat and antother one (it was NTFS, i think). I don't even have the option of switching to f2fs. I'm on 3.0.2-3 twrp build. Could anyone help me?
[Nexus 5X Original Android Development] jcmm11:
Install the TWRP build that comes with Jolla.
[Nexus 5X Original Android Development] hilla_killa:
Well the last 2 official builds have efs bug and large backup restore bugs, so that may be a good start to straighten that out! Thats why we gotta use unofficial
[Nexus 5X Original Android Development] zurik:
The Jolla's version of TWRP its much better than official 3.0.2-3 ... I use the 3.0.3-0 and it works fine.
[Nexus 5X Original Android Development] alfick3:
I have a question about all this talk about Jolla's build of TWRP. It's a multi-rom TWRP, correct? Can it be used if I don't use multi-rom? I only use one ROM, PureNexus, and am currently using the unofficial 3023 TWRP.
[Nexus 5X Original Android Development] khanjui:
MultiROM is an additional option. You can use TWRP without any problem.
[Nexus 5X Original Android Development] nirogu325:
Yes. Same here. Just make sure not to have "Inject MultiROM after installation" checked when flashing.
[Nexus 5X Original Android Development] balkerman:
To be clear. Should I flash the Jolla recovery IMG via fastboot or via some other means?
[Nexus 5X Original Android Development] SlimSnoopOS:
Either flash the IMG through fastboot, Flashfire, or through TWRP's "install image" option to the recovery partition.
[Nexus 5X Original Android Development] VictorLapin:
Has anyone encountered TWRP error 255 while flashing January bullhead vendor image? Tried 3.0.2-0 and 3.0.2-3. Fastboot flashed fine.
[Nexus 5X Original Android Development] ulxerker:
nope, sideloading OTA via adb sideload worked fine with 3.0.2-3 here.
[Nexus 5X Original Android Development] Wakamatsu:
Maybe give Jolla's unofficial 3.0.3 a try? It's in his aroma kernel installer.
[Nexus 5X Original Android Development] VictorLapin:
Actually, disregard this... was a bad file transfer. I'll stick to 3.0.2-3 for the moment.
[Nexus 5X Original Android Development] drik05:
bro can you provide the dl link of 3.0.2-3 ? I tried the links on previous comments but idlekernel.com is not responding. Thanks.
[Nexus 5X Original Android Development] Tech_Savvy:
i just uploaded mine i had downloaded a while back...here you go, https://www.androidfilehost.com/?fid=745425885120698973
[Nexus 5X Original Android Development] drik05:
Thanks bro. Very much appreciated. :D

---------- Post added at 05:57 PM ---------- Previous post was at 05:54 PM ----------

btw, hav you tried restoring ur backup especially efs from this twrp ?
[Nexus 5X Original Android Development] Tech_Savvy:
yup it works flawless, idk why teamwin doesn't make it official or delete/fix the last 2 releases
[Nexus 5X Original Android Development] drik05:
Thanks again bro.Will update my twrp later. Im still using 3.0.2-0. :D
[Nexus 5X Original Android Development] hilla_killa:
Why are you guys restoring efs? In all my years of flashing **** not once have i corrupted my efs partition! What are you guys doing that requires efs restore?
[Nexus 5X Original Android Development] Tech_Savvy:
I tested it;) wit Motorola style i had to a couple times...when updating radio it required us to zero modem and modem2
[Nexus 5X Original Android Development] ndarkside93:
I'm not sure on the 5x but the nexus 5 would frequently corrupt it when updating cm 14.1 based ROMs.
[Nexus 5X Original Android Development] drik05:
I just want a fully working twrp. Just why i ask it. :D
[Nexus 5X Original Android Development] :
I'm not. lol. I've been using twrp 3.0.2.3 since it came out and I'm good. I don't mess with efs though.. :cowboy:
[Nexus 5X Original Android Development] LazerL0rd:
They should add file-based encryption and f2fs support to this. It'll be great then.
[Nexus 5X Original Android Development] khanjui:
For F2FS and updated TWRP, check this.
[Nexus 5X Original Android Development] LazerL0rd:
Ik that but I like the official as I can update it via the app.
[Nexus 5X Original Android Development] Tipkaros:
Jolla's twrp sometimes has an issue with some roms where it won't flash them returning an error saying how it can't flash an older build over a newer build (meanwhile everything is wiped, there is nothing on the phone).
[Nexus 5X Original Android Development] khanjui:
I never had any problems before, it's better to report that in jolla's thread.
[Nexus 5X Original Android Development] Wakamatsu:
It's the ROM update script checking the recovery build date. Don't know why some devs put that in there.

Edit - removed incorrect link
[Nexus 5X Original Android Development] Tipkaros:
You linked to hammerhead, no official build for us
[Nexus 5X Original Android Development] Wakamatsu:
Doh. I still have my old links bookmarked.
[Nexus 5X Original Android Development] nirogu325:
Yeah, you should edit your previous post as to avoid confusion.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] donignacio:
https://twrp.me/devices/lgnexus5x.html
[Nexus 5X Original Android Development] nirogu325:
You misunderstood his post. He meant no official 3.0.3.x build yet for us. The latest official build as of his and this post is 3.0.2-2.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] kevtrysmoddin:
Has there been abandoned for the 5x?
[Nexus 5X Original Android Development] nirogu325:
On the bullhead TWRP page it says: Support Status: Current.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] craigviar:
I don't suppose anyone has a copy of the 6p version of 302-3?
[Nexus 5X Original Android Development] ulxerker:
N5X

N6P
[Nexus 5X Original Android Development] LazerL0rd:
Could you add support for file-based encryption on our devices?
[Nexus 5X Original Android Development] tlwhitec:
what [MENTION=7836278]LazerL0rd[/MENTION] says :) (BTW, I've also submitted a new issue in TWRP's github https://github.com/TeamWin/Team-Win-Recovery-Project/issues/854)
[Nexus 5X Original Android Development] LazerL0rd:
Thanks man! The Pixel has this support and if I could mod to get this - I'd go back to stock ROM as Google are giving everyone Assistant soon, at least they are in their alpha build that got released. I'll just make a Magisk Module for Night Light and then I'm done.

What would be even better is if we could have "file-based encryption" on f2fs. Now THAT would be amazing. Since the filesystem does support it.. I'm guessing if we restore without "rm -rf" we could make it work?

---------- Post added at 09:11 PM ---------- Previous post was at 09:10 PM ----------

Oh and btw guys I've found a fix for a bug in newer builds - https://xdaforums.com/showthread.php?t=3554974
[Nexus 5X Original Android Development] drik05:
tnx
[Nexus 5X Original Android Development] khanjui:
Did you ever read the OP?
[Nexus 5X Original Android Development] drik05:
im sorry. im gonna delete mu inquiry. ?
[Nexus 5X Original Android Development] SlimSnoopOS:
Hey, thanks for the heads up about a new TWRP update though!
[Nexus 5X Original Android Development] drik05:
wc. i thought this thread is not updating, that's why i ask. ??
[Nexus 5X Original Android Development] SlimSnoopOS:
It's cool. I've noticed ever since my GSIII that Troy does silent updates for his TWRP threads. I usually go by whenever someone posts in the thread about an update lol
[Nexus 5X Original Android Development] tuhinxp04:
Is EFS backup/restore fixed in this new build...?
[Nexus 5X Original Android Development] rp158:
[MENTION=912474]Dees_Troy[/MENTION], didn't succeed in flashing img from recovery: confirmed as done, but reboot into recovery ended always in bootloader menu. Flash by fastboot worked fine. Thanks for update.
[Nexus 5X Original Android Development] fleischbanane:
Had no problem on my N5X but my N9 won't boot to TWRP after flashing it from recovery. Must try flashing it via fastboot today.
[Nexus 5X Original Android Development] nirogu325:
Flashing from recovery worked fine here.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] ulxerker:
same here.
[Nexus 5X Original Android Development] jcmm11:
Flashed via FlashFire, worked fine here
[Nexus 5X Original Android Development] zurik:
Flashing 3.1.0-0 over Jolla's 3.0.3-0 was successful! EFS restore bug is already fixed?
[Nexus 5X Original Android Development] nirogu325:
3.1.0 is bigger than 3.0.3 which had that fixed months ago. Hint: Yes.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Thanks for links. What is the signature file beside the img?
[Nexus 5X Original Android Development] t123yh:
Does it supports f2fs now?
[Nexus 5X Original Android Development] khanjui:
No.
[Nexus 5X Original Android Development] TKruzze:
Since it's not clearly documented, I thought I'd ask... Does the new ADB streaming backup also support the Vendor partition on our devices?
[Nexus 5X Original Android Development] ulxerker:
yes. when on homescreen in twrp simply issue "adb backup --twrp" in PC's command shell and a menu pops up with the partitions to back up. when finished, you'll have a backup file called backup.ab on your PC in adb's folder.
[Nexus 5X Original Android Development] daemon1666:
Hi all,

why TWRP don't support the f2fs ?

Thx
[Nexus 5X Original Android Development] ulxerker:
Because its not necessary, ext4 does the job.
[Nexus 5X Original Android Development] jcmm11:
You realize that's a horrible answer. Let's see

Root is not necessary

TWRP is not necessary

Ext4 is not necessary either, vfat can do the job (or ext 2, or 3 etc)

Custom kernels are not necessary

Custom ROMs are not necessary

Just because it's not necessary doesn't mean it's not desirable. Although personally I don't plan on using f2fs at this time (I see no serious upside to it) there are people who want to experiment with it. Their phone, let them do what they want. There's no technical reason that TWRP can't support f2fs, there's enough people that want it, so it was a valid question that deserves a better answer.

Of course the current solution lies in unofficial builds, but still.
[Nexus 5X Original Android Development] Mesmurized:
Agreed. I wouldn't mind giving it a test. But I can wait :)

Likely, it's on the wish list. If you've ever been a developer you know the drill. Three (or more) lists in decreasing order: bugs, important, desired
[Nexus 5X Original Android Development] daemon1666:
f2fs is a format created for flash memories. And, I think that it's interesting to test it...

Sorry for my bad english.
[Nexus 5X Original Android Development] crazyates:
Not sure if this is kosher or not, but jolla kernel has the ability to flash a TWRP that's based on 3.0.2-0 that has the newest builds for F2FS built in. Just be sure to verify that your kernel can support F2FS, as some do, and some don't. For example, I can vouch for both Jolla and Phasma working on F2FS, but ElementalX does not.

Edit: And yeah, I really like the idea of F2FS, a file system that's built from the ground up for flash devices. Any research I've done into it seems to imply that it's faster in almost any way. That said, it also seems to still be under development, and doesn't look to be 100% stable. Maybe 99.9%, but not perfect. I never had any issues when I was using it (besides TWRP taking forever to load), but you never know.

(btw, I switched back to Ext4 cuz I wanted to try ElementalX again, which meant I had to reformat).
[Nexus 5X Original Android Development] kcustom11:
FBE decrypt

Has anyone had any luck with FBE decrypt? Installed TWRP 3.1 but it still doesn't ask for my pin.
[Nexus 5X Original Android Development] Blueblob:
But can you flash something ? Maybe pin will be asked at this time

Envoyé de mon Nexus+5X en utilisant Tapatalk
[Nexus 5X Original Android Development] delisi:
I've found that it isn't compiled in to the Nexus 5x version. If you look in the TRWP log, it will have an error indicating that. I searched through the source code and it indicates that the code path was disabled.

I posted in the Google+ TWRP group asking if we could get a copy with it enabled, but I've unfortunately just heard silence. I briefly looked into compiling it myself, but that looks like it would take a lot of time to setup.
[Nexus 5X Original Android Development] nirogu325:
Unrelated to any file system since recovery lies outside of Android. I'm now using F2FS with Phasma kernel. It's just a tiny bit faster and I'd say that and not having to FSTRIM are the only two advantages. It's not a big deal for EXT4 users to be honest.
[Nexus 5X Original Android Development] Zauq:
External sdcard isn't accessible in twrp recovery. Tried "df" code in the terminal and the mmcblk1p1 isn't present while in recovery. Added "/dev/block/mmcblk1p1 in twrp.fstab but didn't help.

Any ideas???
[Nexus 5X Original Android Development] rp158:
[MENTION=5789938]Zauq[/MENTION]: why should access to external sdcard be useful for N5X?
[Nexus 5X Original Android Development] Zauq:
I have ported the N5X twrp to my device "Qiku Q Terra" which has only 16GB internal storage. Although, the ported built supports OTG without any issue.
[Nexus 5X Original Android Development] crazyates:
Lol. That's funny. If I swap the engine in my Subaru for an aftermarket engine, and then it blows up, I can't go complaining to Subaru that the engine died.

If you port a recovery made for one phone over to another, you can't really complain when the necessary features don't line up. This build of TWRP works on the phone it was intended for, and any modification/porting probably belongs in a different thread/subforum.
[Nexus 5X Original Android Development] Zauq:
Thanks for your help Bro. Just for the record, I was NOT complaining but asked for help.
[Nexus 5X Original Android Development] LazerL0rd:
Apperently Jolla's TWRP has it... but it gets stuck at the splash screen. (I checked by using AIK to replace with default theme - it IS NOT the theme I think)
[Nexus 5X Original Android Development] icrunchbanger:
Does anybody have issues with reboot in recovery. Every reboot system-bootloader-recovery leads to reboot to system?

While using terminal /reboot recovery/ leads to corect reboot.
[Nexus 5X Original Android Development] Argeddion:
All three work as intended on my device
[Nexus 5X Original Android Development] TERM1NATOR:
+1 for this issue reboot not functioning correctly on my device either.
[Nexus 5X Original Android Development] nirogu325:
Noticed TWRP 3.1.1-0 quietly sneaked on the 12th.
[Nexus 5X Original Android Development] dreamland2000:
I've just installed that latest version and found that the phone wouldn't boot so installed the previous version and the phone booted fine then. I'm running PN + Franco + Magisk.
[Nexus 5X Original Android Development] fleischbanane:
I also installed the new version without any problem. Running LOS 14.1 + Franco.
[Nexus 5X Original Android Development] dreamland2000:
Hmm maybe I'll try it again with a new download.
[Nexus 5X Original Android Development] zurik:
No problems from me... Used TWRP Official App with Purenexus and Stock Kernel with upstream patches
[Nexus 5X Original Android Development] kojak1989:
Where can i find official page with translations for TWRP image ?
[Nexus 5X Original Android Development] tuhinxp04:
Is there EFS backup/restore fixed in latest build..?
[Nexus 5X Original Android Development] zurik:
I think that is already fixed since 3.1.0-0
[Nexus 5X Original Android Development] divvykev:
New 3.1.1.0 has turned up. See twrp website
[Nexus 5X Original Android Development] zurik:
We know.
[Nexus 5X Original Android Development] nirogu325:
Check post #690.
[Nexus 5X Original Android Development] divvykev:
Hah. That was supposed to be in a PM. Now that's how you mess up. Need to focus when I'm messaging. Sorry guys. :rolleyes:
[Nexus 5X Original Android Development] razorloves:
There is another new 3.1.1-0 build. The first one was dated 12 May. The new one is dated 16 May.

This happened because the twrp build servers were having issues so, before all the builds were done they were canceled. The twrp guys set up a new build server and started all new builds. So, that's how some devices got 2 builds in the past few days.
[Nexus 5X Original Android Development] nirogu325:
Ok, cool.
[Nexus 5X Original Android Development] reas0n:
the issue started on Android O beta for me
[Nexus 5X Original Android Development] icrunchbanger:
I think the bug is fixed with latest update.
[Nexus 5X Original Android Development] reas0n:
After testing a little I realized, that's probably SuperSU issue. I clean flashed, installed TWRP without root and adb reboot commands are working fine.
[Nexus 5X Original Android Development] LazerL0rd:
When will FBE be supported...?
[Nexus 5X Original Android Development] pkelly517:
When it's ready.
[Nexus 5X Original Android Development] LazerL0rd:
It seems to be pretty ready. I haven't experienced any errors or issues with it, or heard of anyone else having some.
[Nexus 5X Original Android Development] Blueblob:
On ROM, on stock ?

Because last update didn't work with 5x

With PN, this setting is disabled

Envoyé de mon Nexus 5X en utilisant Tapatalk
[Nexus 5X Original Android Development] LazerL0rd:
Works on stock cleanly.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Where we can see changelog for 3.1.1.0?
[Nexus 5X Original Android Development] icrunchbanger:
https://twrp.me/site/update/2017/05/19/twrp-3.1.1-0-released.html
[Nexus 5X Original Android Development] az_r2d1:
DELETED
[Nexus 5X Original Android Development] aoh1996:
You're in Nexus 5X thread, not Nexus 6.

Отправлено с моего Nexus 5X через Tapatalk
[Nexus 5X Original Android Development] az_r2d1:
oops, my bad. Deleted.
[Nexus 5X Original Android Development] osm0sis:
Wow. No idea FBE wasn't supported in TWRP on bullhead yet.. I'll see who I can prod. :eek::p
[Nexus 5X Original Android Development] eak1080:
its still technically alpha on the nexus 5x... but im not gonna complain if it gets recovery support :)
[Nexus 5X Original Android Development] szale9001:
I know its hardly a guarantee at this point, but if you wouldn't mind adding a plug for angler too, that'd be swell... :p
[Nexus 5X Original Android Development] osm0sis:
Well, seems like it might have been perceived as poor timing on my part with AOSP 8.0 having just dropped, but I asked in #twrp on freenode:

I guess we'll see what happens when the bring-up for Oreo in TWRP is done.
[Nexus 5X Original Android Development] szale9001:
[MENTION=4544860]osm0sis[/MENTION], Haha. Fair enough. Well, in any event, thanks for giving it a go. Sounds like they're gonna have their hands full for a while....
[Nexus 5X Original Android Development] osm0sis:
Perhaps if [MENTION=2669141]gubacsek[/MENTION] has some time now that he's done fixing the hell out of TWRP for the Pixel he can bring a little of that FBE magic back to the N5X and N6P? :fingers-crossed::angel:
[Nexus 5X Original Android Development] gubacsek:
Hey! :D just reading this...

Well, I don't have a 5x, and I had a 6P, which went into bootloop (never ever any huawei again, ever.....) so I don't have a test device.

But I can try to remote control you :D what is the status ? where are you ?

I can't push my changes to any of the gerrits (omni, and twrp), but I'll send a (not so big) diff to [MENTION=912474]Dees_Troy[/MENTION], and anyone who wishes.

Or let me know where you are. Did you do anything, any progress ?
[Nexus 5X Original Android Development] osm0sis:
Other than asking Dees about it I haven't done anything. :p

I don't have the setup for ROM, kernel or recovery building, but I'd be open to plenty of blind testing since I've got everything unlocked. ;)

I'm sure we could dig up a few other volunteer homebrew devs who could add it to their ROM builds or something, what would you need?
[Nexus 5X Original Android Development] gubacsek:
I have sent the diff to Dees_Troy, so maybe he can integrate the changes I made officially in TWRP. There were more device specific changes...

I don't remember how it was on the 6p (or 5x). Do they have a recovery partition? It is not in the boot image like on the pixel, right?
[Nexus 5X Original Android Development] osm0sis:
Correct, recovery.img/partition is available to be modded for added scripts, etc. Right now TWRP boots with FBE or FDE but only FDE gets decrypted.
[Nexus 5X Original Android Development] gubacsek:
I'll see what I can do, but I'm on vacation, so I can't promise anything... It will take some time...

( I attached the changes in my pixel thread: https://xdaforums.com/showpost.php?p=73556586&postcount=106 )
[Nexus 5X Original Android Development] osm0sis:
Excellent! I'll tackle the ramdisk changes and see how far they get us. :cowboy:
[Nexus 5X Original Android Development] gubacsek:
There are some minor changes in the recovery binary...

But you'll see!
[Nexus 5X Original Android Development] gubacsek:
Just get the recovery binary from my build! :) It should be fine, not? Arm64...
[Nexus 5X Original Android Development] osm0sis:
Might be some more Pixel-specific stuff in the binary that could be bad, but it's worth a try. ;)
[Nexus 5X Original Android Development] osm0sis:
Yup, doesn't boot with the Pixel /sbin/recovery binary. Damn.
[Nexus 5X Original Android Development] gubacsek:
Doesn't boot, or recovery doesn't start?

ADB working? Logcat? /temp/recovery.log?
[Nexus 5X Original Android Development] osm0sis:
I'll need to recreate the image, since my second attempt with that binary didn't even work with just the ramdisk changes.. not sure what changed.
[Nexus 5X Original Android Development] osm0sis:
Thanks to the amazing work of chetgurevitch there's now a test build with FBE support!

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/854#issuecomment-326738803

Whew! Nice to have a working recovery! :)
[Nexus 5X Original Android Development] tlwhitec:
TWRP gurus, is this suitable for a "dash" release for 6P and 5X? ;)
[Nexus 5X Original Android Development] jcmm11:
Any chance of a version number bump so we can tell when this one is installed? Probably best to run it by Dees_Troy so that he can bump past it when an official build comes out.

By the way seems to work fine when you don't have FBE activated (still on a 7.1.2 based ROM. Still debating if I want to install stock Oreo. Maybe when Franco releases r46)
[Nexus 5X Original Android Development] osm0sis:
Dees is clearly bogged down with the Oreo bringup, and apparently the proper FBE support involved some external dependencies being updated with Oreo stuff so I don't think we'll see anything official for FBE here until after TWRP gets its official Oreo version bump.

As for the shown version number, not without recompiling, but I can edit the XMLs in the theme to add -FBE to the end of the version string if you'd like and upload later today.

Edit: Here you go! The changes only apply to the splash screen and the stock theme, but that should be enough to differentiate for now. :good:

Edit 2: Removed as a newer recovery was released.
[Nexus 5X Original Android Development] prateektyagi91:
Im not able to flash Oreo OTA files from google. Any help?
[Nexus 5X Original Android Development] osm0sis:
That is not new to Oreo. Use FlashFire, since you need stock recovery to pass some OTA checks.
[Nexus 5X Original Android Development] tom0769:
Ota updates have to be flashed by adb sideload.
[Nexus 5X Original Android Development] prateektyagi91:
Im talking about the complete OTA files that are available on google's website. I was able to flash them via TWRP until now but since Oreo's release Im not able to.
[Nexus 5X Original Android Development] tom0769:
Try adb sideload
[Nexus 5X Original Android Development] zurik:
adb sideload from stock recovery
[Nexus 5X Original Android Development] tom0769:
Or from twrp