yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Flasher8:
Just wanted to confirm does the swap to f2fs will format my all data. ?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Mr.Crucial:
It will just change twrp format. Your data will remain intact
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] tjluvu:
i have a problem ... whenever i select the reboot to recovery option in the recovery reboot menu .... the phone reboots and gets stuck on the boot screen with the oneplus logo also the led indicator keeps turning colors from blue to skyblue .... the workaround i have to use is ... i have to press the volume keys while boot up and recovery from the options .. then it boots into the recovery...select
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] gro0vr:
Just a heads up.

I was on OOS MM, rooted, with all partitions ext4

Downloaded and flashed the IMG from the official TWRP app.

Then rebooted.

It wiped /data.

Had a backup, and restoring now.

Should have followed the instructions.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
This, official, uses android linux stable f2fs drivers from 2014, while the unofficial uses newer 4.10 backported f2fs drivers (if I've read correct from the threads).

Edit. If you want to use LineageOs with f2fs, the unofficial twrp from [MENTION=5091734]dianlujitao[/MENTION] is your go. Check the official LineageOs thread for further info.

Feel free to correct me, that was just checked with couple of minutes lookup.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jmtjr278:
i'm having a serious issue, guys. i flashed code blue unofficial v12 and now i am unable to flash any other recovery. i attempted to wipe data via fastboot with no luck, it fails every time. i also attempted to flash other recoveries including this official build via fastboot and it fails every time telling me the remote image is not a boot image. i wiped data via v12 twrp and not i just have a wiped phone and still not able to fastboot new official twrp. im very frusterated and the dev of the unofficial twrp is uninterested in helping find a soultion. he simply states its not his problem and discourages users from discussing/debugging the problem. any help would be greatly appreciated.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] abalam:
Fastboot:

erase recovery fastboot

Than flash recovery again
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Mr.Crucial:
Fastboot erase userdata

Fastboot erase recovery

Fastboot format user data

Fastboot flash recovery twrp.img

It will solve your problem
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
[MENTION=5672995]jcadduono[/MENTION] thanks for the swap zip. It's handy. Other thing: Is OOS using these older f2fs android linux stable drivers from 2014?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] abhibnl:
FFS really? That should not happen at all. Did it wipe the internal memory as well or just ROM data?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] HC4Life:
Sorry for the stupid question, but what's the use of no-verity-opt-encrypt zip file?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
I'm not sure if that's possible. Maybe the ext4 was the culprit? Twrp assumed data partition is on f2fs and was unable to mount it or see it --> no files shown

If he'd have placed the "twrp-data-fstype-swap-5.1.zip", that OP provided, to cache partition and flashed it and rebooted recovery, the data partition should have been accessible then?

---------- Post added at 05:42 PM ---------- Previous post was at 05:35 PM ----------

That is for example situation you flash stock oos 4.0.1. without root. It ensures that dm-verity screen doesn't appear and if you have unencrypted, the OOS won't force encrypt your storage.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] gro0vr:
It wiped just the ROM data. Everything else was left intact. Just had to set up the device again. Then restore from TB.

After flashing through the official app, I did a reboot to recovery, and it didn't present the swipe for modification option, just showed wiping data with ext4 and a couple of other things. Then rebooted to system. Happened very quickly.

No clue what caused it. I should have followed the instructions, my bad.

---------- Post added at 05:47 PM ---------- Previous post was at 05:43 PM ----------

I didn't follow the instructions. Downloaded the app for the first time. It gave me the option to flash as well. I thought it would reboot to recovery and flash the img. It did that in the app itself.

Learn something new everyday, I guess.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] ansaziz777:
Testing now
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
This would have happened if you followed the instructions as well.

Unfortunately, it's something that can happen VERY rarely.

It's because you've been using custom recoveries with /misc disabled up until now.

We just started adding it to TWRP to handle OTA updates for custom ROMs on Nougat.

Your data was wiped because at some point in your device's life, you triggered a factory reset. Probably somewhere in the ROM, and had a custom recovery installed that didn't read /misc. You might have just decided to reset manually, but this didn't clear the "recovery should factory reset" flag on the misc partition.

We added a flag to disable wiping from misc commands but it isn't active in 3.0.3, only 3.0.4 which isn't released yet. :(

To other users:

I'm going to add an official TWRP build with f2fs backport if you absolutely require it to the first post.

I do NOT recommend using it unless you're running one of the various ROMs that are using the f2fs backport drivers!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] gro0vr:
I did have to factory reset the device a couple of times due to some encryption issue with OOS 4.0, and didn't like the new Nougat update anyways, so went back to MM.

Thanks for explaining everything so nicely.

Will this happen again when I update recovery? If so, what do I do to ensure it doesn't?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
It should never happen again. It clears the recovery command flags on every TWRP boot after performing their actions.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] SeverusSnape:
I´m using OOS 4.0.1 with the unofficial TWRP from [MENTION=5091734]dianlujitao[/MENTION]. I´m on f2fs and it feels ok and smooth.

Can i stay on the unofficial one or should i change to the official one ?

Regards
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
You may now download the f2fs backport official TWRP build from the first page. See the WHY DOES... section.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Hey [MENTION=5672995]jcadduono[/MENTION], do you happen to know which version of f2fs drivers OnePlus uses?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] dev.meena:
Did you try to flash the version 11 again? I too flashed 12 but after hearing about the problem reverted to 12. I am waiting for somebody to confirm if flashing official version is fine.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
I downgraded from v12 to v11 and successfully flashed official twrp from v11. I'm on stock OOS 4.0.1 with data on f2fs.

Edit. Also, to remind, if you're on f2fs, the booting takes more time. For me it took even more than on v11. But it doesn't matter, it works.

I'm also planning to swithc to ext4. Then I'm free to switch roms without hassle.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] DLH007:
Where to get v3.0.3-1-rc2 ???
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Nezorflame:
Read the first post carefully. There's no built version of v3.0.3-1-rc2 as the official one is newer.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] DLH007:
But jcadduono wrote this
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
I deleted all the test builds so people would use official release and I wouldn't be stuck debugging different versions.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Worked for me.

When you say longer to boot, you mean recovery only, right?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] dinesh7208:
Hi guys so i've recently got OP3 which after i check its already on OS 4.0 , Nougat , encrypted , file system : f2fs

afaik from this thread i know there is issue with dm-verity & enryption problem on twrp

https://xdaforums.com/oneplus-3/how-to/guide-flashing-oos-v4-0-1-custom-rom-t3537757

my question is : will this recovery and the whole guide to root help me to root my phone easily - without issues ? ( i'm confused by the dm verity and encryption because its the problem that occur if we update from 3.2.8 to 4.0 but my OP3 already in 4.0 by OTA using VPN )
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Imotep95:
Someone might find this usefull..

Flashed new OOS 4.0.2 via twrp(wiped everything except Internal), rebooted to os, twrp was overwritten by stock oos recovery, wiped everything there, rebooted again to os, reflashed twrp, kept /system read-only, flashed SR2-SuperSU-v2.79-SR2-20170103215521.zip, rebooted to os, done. OOS 4.0.2+root without device-mapper-verity (dm-verity) bias.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
Should be fine to just flash OOS 4.0.2 full OTA followed up by SuperSU 2.79 SR3 or 2.79 stable (SR1 and SR2 actually have some issues you might not have noticed) and then boot up. This way you won't need to reflash TWRP at all.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
Yes, to recovery.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Aniruddha10:
Sorry if this is a silly question. If you are encrypted than will that zip just remove the dm verity error screen when booting?

Have another question also. OOS 4.0.2 has just been released. (Connection with Vpn to Germany if anyone needs to will work)

When I checked for updates only the ota file showed (30Mb). Usually when you have root it asks you to download full zip. Is it fine if I just install that ota? And will Twrp and root still be there?

Thanks a lot
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Aniruddha10:
Tried flashing just ota. Got error.

Now when checking in updates, it's asking me to download full update of 4.0.2. (1434Mb)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] VincentJoshuaET:
Maybe this is kind of unrelated but...

I currently have OOS 3.2.8 on my device, I downgraded to it so that I can get rid of the dm-verity warning. Before, I moved the full 4.0.1 OTA zip to the internal storage, and flashed the latest stock recovery that has the function of installing zip from internal storage (stock recovery on 3.2.8 only allows adb sideload), then installed the update and wiped everything. But the dm-verity warning showed up again so I rolled back to 3.2.8. Can someone tell me what's the proper way to update to 4.0.1/4.0.2 without getting that warning again? Thank you.

---------- Post added at 03:30 PM ---------- Previous post was at 03:26 PM ----------

What's the proper way to do this without getting the dm-verity warning (and still be able to flash incremental OTA updates)? Thank-you
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jmtjr278:
So, it seems freedom CE is running the backported drivers. That TWRP works great. All other versions just end in black screen for me. If I ever wanted to switch Roms or revert to stock how could I now that I am on a backported ROM? Simply flash and then flash non BP TWRP version?

Or perhaps this was caused because I converted to f2fs while using Blu TWRP v12 which had BP f2fs?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stilleh:
I´m hijacking this a bit (sorry)

I´m still on 3.8.2 aswell and I´m rooted and just installed the official TWRP from this thread. I´m encrypted and I have no real desire to change to f2fs at the moment (but if it happens it happens). I just want to get to 4.0.2 without issues. Earlier you had to flash stock recovery and adb sideload stuff to keep root, TWRP and whatnot...

As I understand it (and this is where my question comes in) all I have to do now is to;

* Download the full 4.0.2 zip from post 2

* Boot into recovery (this official one)

* A) Dirty flash (?) or B) factory reset and flash zip(?)

* Flash SU from first post (2.79 stable) before reboot?

* Reboot and profit?

Sorry if I step on toes or aggrevate people for asking, to them, obvious things...
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Red_Man 898:
Install stock recovery

Flash or update from OS

Install twrp by fastboot
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] :
How can I check if sdcardfs is working correctly when running the OnePlus 3 with latest LineageOS 14.1 and this twrp? Data and cache are f2fs formatted with former official twrp 3.0.2.1 Sommer last year.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Stefano187:
Hi all,

Sorry for asking...

I'm on OOS 4.0.1 rooted with Magisk and I've just updated modified .28 version of eng.stk TWRP with this latest official one.

I'd like to update to OOS 4.0.2 and root my device with Magisk again.

Can I flash both zips in recovery?

Or do I have to download the dm-verity zip too? If yes, which version?

I'm on data partition in f2fs formatted with my previous version of TWRP...

Thanks in advance for your time and sorry for bothering

Best regards

Stefano
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] abhibnl:
This is how it's intended to be. Only stock recovery can flash OTA if there is no modification done to system. We can only flash full ROM zip in TWRP or if you have the full zip from previous version, flash that + flash the OTA only zip of new version, it will work fine.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jocaboss:
Hi, I'm getting dm verity warning and I'm running new OOS 4.0.2 rooted and flashed by this twrp. I'm still unencrypted since a I've few problems with twrp in past. If i encrypt my device now the dm verity warning disappear and i can decrypt in twrp? I'm f2fs
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] abalam:
https://xdaforums.com/showthread.php?t=3530685
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Renosh:
Just wanted a confirmation, if I'm on stock OOS 4.0.2 not rooted with latest TWRP, if I flash the dm-verity disabler zip will it disable encryption? I'm interested in removing that warning and keeping encryption
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] ste22032:
I've flashed it, but the warning about the dm-verity not in enforcing mode is still there at every boot (OOS 4.0.2 also for me). Encryption is enabled though, but I haven't done a format data.

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] derdakkar:
Same here:

latest twrp, update to 4.0.2 via twrp, installed superSU via twrp

=> dm verity error (non enforcing)

any idea how to fix that without resetting/loosing userdata?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
I'm looking for people to start testing UNIFIED (EXPERIMENTAL) OnePlus 3/OnePlus 3T TWRP builds from the Nougat sources. There will be no separate f2fs builds as I am now using a modified version of f2fs backport with full compatibility with Android stable f2fs.

Please send me a message on Telegram or IRC (freenode.net)

jcadduono as always.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Ashtrix:
Thanks a lot Jcadduno for taking up this for the OP3 community.

Have a few doubts, I've read about your fs swap zip that enables the decryption support switching the Filesystems with recovery fstab, I myself never formatted to f2fs and not planning as well. But this case got me intimated, a person who flashed the .img it wiped the /data due to /misc disabled, So should I use the ext4 recovery

or

should I use the normal version + add the fs-swap zip

or

do anything else to switch from the current recovery of v22 (first modified recovery I guess for Community Beta builds, and their updated firmware versions ) safely without wiping /data? Also I'm decrypted, But I don't remember whether I did fastboot format Userdata after flashing ROM or did a factory wipe from the ROM, I think it's mostly the former case. Although its not like I want to do it now as everything is working great, but just want to be prepared enough.

Any guidance would be much grateful.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
if you try my test build, i disabled automatic wiping under any circumstances

use the zip
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Ashtrix:
Just tried the recovery worked fine, Got something to report, the load time is somewhat slow 5-6 secs vs the v22's 1 sec. Thanks.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
ready for public testing now: https://build.nethunter.com/test-builds/twrp/oneplus/twrp-3.0.3-1-unified-test5-oneplus3.img (updated to test5)

it should work fine on both f2fs variants! uses backport f2fs drivers with small modifications and optimizations to work correctly on 2014 f2fs

it also has the fix for backup/restore of system + capabilities

it should hopefully also mount ext4 encryption data without the need for the zip

please report with your findings!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] :
Works fine for me on OOS 4.0.2.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] DavidXanatos:
twrp-3.0.3-0-oneplus3.img crashes on my OP3 when trying to do a backup :(
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] niwia:
read the op in first page. he told not to try backing up
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Renosh:
I've flashed the test image and it worked perfectly. I'm on OOS 4.0.2, data on ext4 (didn't have to flash the zip).
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Antsu:
test5 version flashed. Stock OOS 4.0.2 and encrypted /data [ext4]. Twrp works as it should be. Now I'll try backup and restore... Ok, that works too. What about you guys on f2fs, is everything ok?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] chxei:
whats the difference between system and system image? should i backup both or one of them?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] DavidXanatos:
i see " System backups in Nougat have issues! Be warned! (Unix capabilities do not backup/restore, fixed in 3.0.4)"

so where to find 3.0.4 or isn't it out yet?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Der-Knuffi:
As we are currently on 3.0.3...

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
Can someone please contact me on Telegram or IRC for test kernel builds (not for TWRP, but for OOS4) - I need to get Kali NetHunter updated as well!

This will also help me test the stability of the kernel base used in TWRP, so I can fix any hiding bugs before releasing.

FYI the unified test5 is 3.0.4 for anyone wondering, we just don't tag them with 3.0.4 until release actually happens!

STILL LOOKING FOR PEOPLE TO TEST TWRP - ON UNIFIED-TEST7, NEED SIDELOAD AND DECRYPT FAIL LOGS
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] okgnew:
ext4 data decryption (with PIN entry) now works

ext4 data decryption (with PIN entry) now works without the need for the zip
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Crazy_Oni:
Twrp needs extreme long to load on my op3. Any Suggestions? Im on oos4.0.2 and rooted.

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] balahu:
First post :

...WHY DOES F2FS MAKE TWRP SO SLOW?

When TWRP boots up or wipes partitions and a few other scenarios, it checks each partition to see how much disk space is used. Ext4 handles disk usage calls quite efficiently and will finish this very fast. F2FS on the other hand is very slow when it comes to checking disk usage. We're unsure why this is. Every file on the F2FS formatted partition adds a little more time, and a device that is 30 GB full could take up to 10 minutes to boot TWRP!

I suggest switching your data partition to ext4 - all the f2fs hype is merely from benchmarks that don't actually represent real world use (ie. you're not writing thousands of files per second)

For someone who doesn't do lots of write access to their data partition, ext4 can actually be advantageous (it has faster access times and reads!)

..
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] HC4Life:
It happens to me too...i will try the last test version.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Crazy_Oni:
My bad.

Thank you for the superior explanation! ?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] tropicanapure:
How long does it take pls. I tried waiting for over 10 mins before holding down the power key. I am currently without twrp and root as a result :(
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Crazy_Oni:
Only a minute maybe.

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] jcadduono:
I have combined the OnePlus 3 and OnePlus 3T TWRP threads into a single thread for the unified build.

Please visit:

https://xdaforums.com/oneplus-3/development/recovery-official-twrp-oneplus-3-3t-t3543391

I apologize for the inconvenience.
[8525, TyTN, MDA Vario II, JasJam General] gnahc79:
edit: nevermind :)
[Google Pixel Questions & Answers] psrb191921:
Hi, I've built aosp for my pixel several times, I've used the lastest google's vendor files, everything is ok but the fingerprint sensor, it's just not working at all. Does it have something to do with gapps? (as I've not installed them, nn google stuff on my phone)?
[Moto X Q&A] Warren_Orange:
Hi.

I'm trying to use adb push when booted into TWRP and for some reason the phone is not being seen when I type adb devices.

I've installed the Motorola Drivers and a Android Tools rar package from these boards with adb and fastboot etc. inside it. My phone is seen when it is booted to Android but in TWRP it is not.

Do I need anything else installed?

Thanks.
[Galaxy A3, A5, A7, A8, A9 General] huseein A5:
Nothing
[Galaxy A3, A5, A7, A8, A9 General] huseein A5:
[MENTION=645600]vast[/MENTION]al come and close this thread please
[Xperia Z1 Compact Q&A, Help & Troubleshooting] sp462308:
In need of rom that supports volte (HD calling) and Sony 4 k camera , also I need best battery supports. Please help me soon missing vo lte feature badly missing.
[General Questions and Answers] SGJ3:
So, I finally got my phone (SM-J320FN) rooted, thanks to info and downloads on this forum.

But now I have some questions, to which I haven't found the answers to anywhere else on the web.

1. To root, I followed instructions that told me to switch-on OEM unlock and USB debugging. However, there was no mention about turning them off again after root. Should they be on, or off?

2. Part of my rooting process involved installing/flashing TWRP. I did read that TWRP can be removed after root. What are the advantages/disadvantages of leaving or removing?

3. Now my phone is rooted, what is the best app/way to prevent it becoming unrooted by updates?

That's all for now, thanks.
[General Questions and Answers] Ashwinrg:
It's better to let them on.

You can remove the TWRP recovery by flashing stock recovery. But TWRP can backup your whole android partitions (nandroid backup) that can restore your android if anything goes wrong.

TWRP can flash custom roms, mods, mount partitions, and many more. So, it's better to you have TWRP(custom recovery) installed.

If you are using SuperSU superuser app then in option you found OTA survival that prevent root from OTA updates.

I think you can't get OTA updates because you are rooted. If you get OTA updates and applied on rooted android then it chances of brick your android.