yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] the_rooter:
You have to install the full zip not ota zip
[OnePlus 3 & 3T Cross Device Development] appatekker:
Thank you.. It took 5 minutes to get into recovery(f2fs FS).

I dirty flashed the ExROM with OSS4.0.2. Working fine. No issues so far. :good::good::good:
[OnePlus 3 & 3T Cross Device Development] Antsu:
If I saw right, you're an op3 user, so there's no 3.1.0-1 version for it, because there's no need to. It doesn't have the same bug that op3t users had.
[OnePlus 3 & 3T Cross Device Development] wHiTeWoLf007:
Thank you bro. You helped me sort things out. Now I'm convinced.

Between the file system is ext4.

I'm gonna download the official 3.1.0 and flash RR ROM Nougat. ;)
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Sounds good. Let me know how it goes!
[OnePlus 3 & 3T Cross Device Development] wHiTeWoLf007:
Will do. But before proceeding one more thing. The ROM page says it has ElementalX kernel inbuilt. So if I flash the TWRP and swipe to allow modifications, and flash the new ROM before booting in, would I need to flash the SuperSU or Magisk? I saw somewhere that the stock kernel has got something to do with the issue.
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
I'm not sure what issue you're talking about, but the kernel should not affect TWRP. It impacts the ROM's performance and that's it. Recovery is separate from your system (two different partitions).

What I usually do is to flash TWRP, swipe, Magisk, reboot into OOS, boot into recovery again, clean wipe, and then install the ROM. I recommend you do the same until you a hang of what to do and what not to do and then experiment with flashing ROMs. It gets easier I promise ;)
[OnePlus 3 & 3T Cross Device Development] wHiTeWoLf007:
Okay. I'll make sure I do that. Between I was talking about the DM verity issue. No worries. I have the FreedomOS zip file too. Maybe I'll give that a try before trying CM. ;)
[OnePlus 3 & 3T Cross Device Development] gigeaky:
Ugh can anyone help me with this? It's been like this for a while now... My phone is encrypted, ext4, was running Freedomos based on 4.1.0 tried to restore a nand backup, got stuck on boot logo, so i decided to go for a clean install but now i can't enter recovery
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Cool. Good luck!
[OnePlus 3 & 3T Cross Device Development] Durrz:
Oops. My bad. No wonder I can't see it on the official site. Thanks man! Will shift to the official version
[OnePlus 3 & 3T Cross Device Development] Darkstar991:
That is not correct, i have the oneplus 3 and i had twrp 3.0.4.1 and LOS installed than i have flashed twrp 3.1.0.0 and than all my data was wiped!
[OnePlus 3 & 3T Cross Device Development] :
+1 it was for me the same!
[OnePlus 3 & 3T Cross Device Development] Durrz:
Better stay away then. Thanks [MENTION=2044343]accuphase[/MENTION] and [MENTION=4889513]Darkstar991[/MENTION]
[OnePlus 3 & 3T Cross Device Development] Darkstar991:
yes better you stay on the old twrp 3.0.4.1
[OnePlus 3 & 3T Cross Device Development] Antsu:
Ok, that's bad. Did you make sure it wasn't a fstab problem? I have data partition on ext4 and I updated from 3.0.4.1 to 3.1.0.0 without problems. Oh well, maybe it's best to recommend eng.stks latest recovery to people who still are on 3.0.4.1 and are going to update...
[OnePlus 3 & 3T Cross Device Development] snippem:
Same here on oos 4.1 flashed TWRP 3.1.0 over the one from eng.tk decryption successful after that reboot.

Formatted so no decryption installed oos 4.1 and so on rebooted to TWRP so far everything is great.

Rebooted and all the installed apps are gone.

So back to v24 of eng.tk installed everything and everything works again.

Unfortunately I don't have logs but onething is certain there is something wrong with 3.1.0 for the OnePlus 3.
[OnePlus 3 & 3T Cross Device Development] adwaitatre:
Hey guys does data backup include obb also and how to backup settings of phone.
[OnePlus 3 & 3T Cross Device Development] hristcroixqwerty:
Oh I thought you were still talking about partial ota..

Sorry for asking too many question ? thanks! I'll flash 4.1.0. full zip now
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
It has been said many and many times...

For op3t official twrp 3.1.0.1 is fine.

For op3 the official TWRP is a mess, either you stay with 3.0.4.1 either you use eng.stk 3.1.0.

As this thread seems unmaintained it will be an endless repetition of same questions and answers.
[OnePlus 3 & 3T Cross Device Development] toddvarg:
Why don't people read OP, nothing has changed there.
[OnePlus 3 & 3T Cross Device Development] AdroitAdorKhan:
[MENTION=8165423]rock_ansari66[/MENTION] Dekh eida...Root-Recovery!
[OnePlus 3 & 3T Cross Device Development] wHiTeWoLf007:
I flashed FreedomOS TWRP 3.0.4-1 and is working great. Thanks for your help bro. :laugh:
[OnePlus 3 & 3T Cross Device Development] snippem:
When TWRP releases a official one on their site and do not mention that there are bugs. You can expect people to install it so yeah maybe mention that in the op.
[OnePlus 3 & 3T Cross Device Development] toddvarg:
It's true, It would have been a good thing to mention the bugs and warn people not to update, but in all fairness he didn't tell anybody to go ahead either. From what I read in the tread, a lot of people where very eager to update. Maybe to eager, I can't judge that. I my self have updated to 3.1.0-1 (OP3T), without a hiccup, but I had no encrypt on it. I do have a lot of respect for many of the developer and the work they put into it, and it might have been a good reason for he's lack of communication when it comes to update or not.
[OnePlus 3 & 3T Cross Device Development] dahuu:
Hello everybody, now it happened to me.

"encryption unsuccessful" at boot.

What I did, before I got stucked: I dirty flashed latest OxygenOS to get rid of SU.

After that, the phone didn't come up.

TWRP won't decrypt data either stock recovery does.

If I try to decrypt with the password: "default_password" (read it somewhere) twrp mount an empty sdcard...

I have important files on sdcard so the last thing I want to do is a full wipe.

I'll attach the mentioned files in the first post.
[OnePlus 3 & 3T Cross Device Development] omkarroxx:
I am getting error 255 while restoring data partition of a 3.2.8 nandroid backup.

Restoring Data(excl. storage)...
extractTarFork() process ended with ERROR: 255

More details on my thread: https://xdaforums.com/oneplus-3/help/restoring-contacts-nandroid-backup-t3579865

Any help on this? I really need to get into it.
[OnePlus 3 & 3T Cross Device Development] tfae:
For the ones still debating about this:

I'm using TWRP 3.1.0-1 on an encrypted 64 GB 3T with /data formatted on F2FS with no issues.
[OnePlus 3 & 3T Cross Device Development] Pumpino:
Is that the case even for those not using F2FS or encryption?

Has there been any acknowledgement from TWRP devs that 3.1.0 is broken for the OP3?
[OnePlus 3 & 3T Cross Device Development] Flint2:
With wich ROM?

Twrp uses /system libs to decrypt, the wipe issue happened with previous twrp version 3.1.0 and lineage derivatives roms.

I don't know why TWRP released fix only for 3T

Maybe is time for the OP or another TWRP developer to clarify
[OnePlus 3 & 3T Cross Device Development] tfae:
I'm now using Resurrection Remix 7.1.1 but I switch to OOS 4.1.0 now and then with no problems.
[OnePlus 3 & 3T Cross Device Development] mumapizza:
I am on latest twrp 3.1. with ext4 everything and have no problems, dirty flashed and clean flashed many times no issues ?
[OnePlus 3 & 3T Cross Device Development] :
Which rom, which device (3 or 3t)?
[OnePlus 3 & 3T Cross Device Development] Maynard100:
Hi,

First of all, I would like to give special thanks to OP jcadduono for providing a simple and clear instructions to disable dm-verity. Also thanks to other folks who are willing to help others in need.

However, I have a few doubts that require your advice regarding the dm-verity.

1) Whenever you need to perform adb sideload for factory stock image because of encryption error (which happens to me after clean/dirty flashing custom ROM), is it advisable to flash OxygenOS 4.0.3 instead OxygenOS 4.0.2. Is it true that the higher version 4.0.3 have a different encryption level which have a high chance of encryption error?

2) Is fastboot format userdata required to remove encryption? Are the steps below correct?

adb reboot bootloader

fastboot format userdata

select recovery (or do you fastboot reboot)

The system will ask you if you want to allow system modification

flash no verity opt zip or flash supersu

Is formatting system or other partition required? If other partitions need to be formatted, then there maybe an additional steps to flash stock image.

Is there another steps to remove encryption?

3) I understand that for compatibility reason, it is required to change data filesystem to EXT4. Is it required to change system & other partition to EXT4 also?

4) Is backup restore using TIBU still advisable from my other device OP2?

This is because my whatsapp & viber are working after restoring from TIBU, but encountered app force close after I update these 2 apps from playstore.

I may have to find another way to restore my whatsapp data.

Thank you and have a nice day everyone.
[OnePlus 3 & 3T Cross Device Development] mumapizza:
3T nvertigo rom
[OnePlus 3 & 3T Cross Device Development] azsde:
Hello,

I am having issues with the lastest TWRP (3.1.0-1), it takes forever to boot up. How can I fix this ?
[OnePlus 3 & 3T Cross Device Development] Uumas:
Switch to ext4
[OnePlus 3 & 3T Cross Device Development] azsde:
Is it going to format my whole /data partition ?
[OnePlus 3 & 3T Cross Device Development] RagingHarry:
Yes all data will be wiped inclusive the internal storage.

So make backups to a pc or usb-otg first.
[OnePlus 3 & 3T Cross Device Development] azsde:
Stupid question, if I do a full backup, copy the backup to my computer, convert my partitions to ext4, is restoring the backup going to format my partitions back to f2fs ?
[OnePlus 3 & 3T Cross Device Development] RagingHarry:
If you are rooted then it easier to backup your apps with Titanium Backup or an app like that.

And after switching to ext4 copy those files and of course all photo's and other stuff you want to keep back to the op3 then there is no risk formatting back to f2fs, since I never tried restoring from a f2fs data backup in twrp to ext4 I can't advise you about that.
[OnePlus 3 & 3T Cross Device Development] BartLuke94:
Hi guys, sorry for the question, i'll receive my 3T tomorrow, i was reading the OP and i read this:

I have to follow this step also if i'm going to immediatly flash a custom rom after the TWRP? Usually in my old phones the root was included into the rom.

Thank you :)
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Yes, you need to follow this step or dm-verity will fail. After a reboot. You can go back into recovery and flash your custom Rom.
[OnePlus 3 & 3T Cross Device Development] BartLuke94:
Ok thank you!

So, just to confirm:

1)Flash TWRP

2)Flash SuperSU zip and reboot

3)Enter again into TWRP and flash the rom?
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Yes. After it fully boots up. The dm-verity shouldn't be an issue after that because most custom ROMs have it disabled in the kernel as well as disabling forced encryption.
[OnePlus 3 & 3T Cross Device Development] Dharani_V:
Flashed the Full zip OOS 4.1.1 using TWRP ! Stuck at Patching system image unconditionally :/ can anyone help ?
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Hmm, what version of twrp are you using?
[OnePlus 3 & 3T Cross Device Development] Dharani_V:
the one on the first post 3.0.4-1
[OnePlus 3 & 3T Cross Device Development] w0nder:
Download the Rom Zip again maybe you have a broken file. I had the same error on the last update, can't boot back into system because of that issue.

Here is what i have done.

-Boot into twrp

-connect the device to PC via mtp

-exchange the Rom zip with the new downloaded one

-disconnect phone

-wipe cache and dalvik

-install full rom

-install custom kernel if u want

-wipe cache and dalvik again

-boot into system

That works for me last time without loosing any data
[OnePlus 3 & 3T Cross Device Development] Maynard100:
I have a question re this EXT4.

Do you need to flash - no verity opt zip again after changing the data format to EXT4?

Is this applicable to data partition only?

How about system & other partition?

This is because EXT4 is a pre-requisite for a few custom ROMs,

Many thanks.
[OnePlus 3 & 3T Cross Device Development] purplepenguin:
I know this thread is not maintained, though I didn't see the story as to why - seems like it'd be useful for everyone for updates in the OP.

Anyway, so I updated to the 3.1.0-1, it did encrypted my data again. I thought that was fixed? I was on ext4 on every partition prior to that. Had a TWRP backup ready in case something went wrong. "default_password" "password" "Default_Password" "default password" didn't work to access my stuff. Hit cancel eventually, went to Advanced Wipe and wiped just Data. It set my data partition back to F2FS by itself.

It wound up wiping EVERY partition including Internal Storage (!!) Fortunately I could just MTP the stuff I needed to flash back on, but... All of my photos, etc, are gone...

Anyone know what I did wrong here? I had no password on the phone AT ALL prior to this, nothing encrypted. Was just trying to update Recovery.
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
As long as no official TWRP Dev read this thread it'll happen again and again.

It seems that even the 3.1.0-1 op3t version is buggy too.

So people use only eng.stk own build, available in OP in bluespark kernel thread.
[OnePlus 3 & 3T Cross Device Development] 954wrecker:
Not sure what happened I updated TWRP to 3.1.0-1 from a really old december version 3.0.2 ish. CM13 EXT4 unencrypted and never been on Nougat or had any problems with TWRP before, during, or after the update.
[OnePlus 3 & 3T Cross Device Development] uaiclout:
I use 3.0.4-1 from OP on this thread - I'm encrypted and on ext4 - everything does work
[OnePlus 3 & 3T Cross Device Development] foxsprout:
In 2.8.x.x until 3.0.0-x, when F2FS is still new, there's a settings about 'rm - rf' and that determines whether you actually wipe a partition using EXT4 or F2FS (it was my case with Note 4). Fortunately, OP3/T comes with F2FS as default and I think the official TWRP for these devices are actually optimized for such partition (F2FS on storage only) with that thought in mind.

Maybe that is one consideration as to why changing file system is actually a hassle in ANY device (did once with Note 4), and there are just other TWRP version outside of official ones (to accommodate different needs, such as different file system). Not to mention other hassle is encryption and F2FS drivers.

Now, I don't exactly know what happened but I think what I just explained probably has a relation to your (and several others) case. I want to give a little advice, since OP hasn't changed but the maintainer is actually still active in XDA (tho not replying to threads), don't update to 3.1.0-x unless you expect any issue. 3.0.4-1 still works in OOS 4.1.1. There's a saying, 'if it ain't broke, it don't need fixing'.
[OnePlus 3 & 3T Cross Device Development] silvagroup:
Recently updated to Nougat based ROM. Tried w/twrp3.0.2-1 got error 7 searched found that this twrp was supposed to be the way to go.

Switched to this twrp was able to install ROM, but now dm-verity on boot is disabled, mtp doesn't work hangs and files get corrupted, and almost any operation I do while flashing anything get Unable to mount errors.

Do solve all these should I update tp official twrp 3.1.* Any help solving these would be greatly appreciated.
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Do you have a ok or 3 T? I personally use blu sparks latest twrp from his kernel thread. But the latest official should help.
[OnePlus 3 & 3T Cross Device Development] silvagroup:
I have OP3. Will try latest official then thank you.
[OnePlus 3 & 3T Cross Device Development] :
Take 3.0.4-1 as mentioned​ in op! Not 3.1.0-0!!
[OnePlus 3 & 3T Cross Device Development] xpissio:
I'm using 3.1.0-1 since it's release, I changed many ROMs and did a lots of wipes, zero problems! [emoji2] (3T of course)

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 & 3T Cross Device Development] nadejo:
and you're using f2fs ?
[OnePlus 3 & 3T Cross Device Development] xpissio:
Yes! [emoji2]

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 & 3T Cross Device Development] nadejo:
i think its not an official twrp you are talking about.

and did you also try non oos roms?
[OnePlus 3 & 3T Cross Device Development] xpissio:
Yes, it is. Why should I lie?

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 & 3T Cross Device Development] nadejo:
if you also installed non oos based roms with that kernel. i might be wrong

sry didnt know you ment official
[OnePlus 3 & 3T Cross Device Development] xpissio:
I installed LaOS, AICP, DU, Discovery, FreedomOS and others. But never a custom kernel, that's true.

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 & 3T Cross Device Development] nadejo:
good to know that it works! looks like it finally got fixed :)

for the oneplus3t at least. the lateat version for oneplus3 still got issues :/
[OnePlus 3 & 3T Cross Device Development] Flint2:
I'm in similar situation, flashing RR ROM (Lineage OS based),opengapps, ElementalX custom kernel, Magisk, and TeamBlack Theme ready gapps.

OnePlus 3T Gunmetal 128GB, f2fs encrypted, twrp oficial 3.1.0.1 installed with official app from PlayStore
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
It means you don't have the right version of firmware+modem. Every ROM before flashing check the installed firmware. Update yours. Nothing to do with TWRP.
[OnePlus 3 & 3T Cross Device Development] raj7749:
I dont think its applicable with /data confirming with supersu, not sure how magisk does it..
[OnePlus 3 & 3T Cross Device Development] samstheman42:
I keep getting an "error 255" when trying to create a backup. What is the cause/solution to that specific error? Happened on the older 3.0.4-1 version as well as the new 3.1.0-1 version.

Any help greatly appreciated.
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
I'm getting backups of roughly 8-10GB when I run a full backup, and I've got the option to compress backups selected. I was used to backups of around 1-2GB on my Nexus 5......is this expected, or is something going wrong with my TWRP install or something? I did a search for 'compress' in this forum, didn't find anything related to this issue, my apologies if I missed something.
[OnePlus 3 & 3T Cross Device Development] samstheman42:
On my 3t my backups are routinely in the 10-12gb size range.

Back to my error 255 issue, here's a copy from the recovery log describing the issue:

Sent by means of the Electric Internet
[OnePlus 3 & 3T Cross Device Development] 954wrecker:
Under storage and apps how many gb's is yours? 8 or 9? Mines at ~3gb and my backups are ~4gb regular size not compressed.
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
One is 7.9GB, other is 8. I'm not sure what the issue is.... It's not like it's a huge deal, not running out of space, but it's the principle of the thing.
[OnePlus 3 & 3T Cross Device Development] 954wrecker:
Do you have 6 or 7 gigs of apps installed?
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
6.88GB of apps, according to DiskUsage app.
[OnePlus 3 & 3T Cross Device Development] 954wrecker:
Thats why the backups are 8gb
[OnePlus 3 & 3T Cross Device Development] samstheman42:
Figured out my issue with the Backups erroring out. Somehow TWRP was "finding" a non-existent folder ("addon.d") and was freaking out that it wasn't there when it tried to back it up. I had to mount /system, use the built in terminal emulator within TWRP, change to the /system directory, and then "rm addon.d" to delete the folder, THEN start the backup.

Sent by means of the Electric Internet
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
Ah, so then the compressed backup sizes are ok/as they should be. Thanks!
[OnePlus 3 & 3T Cross Device Development] kamikaze2112:
I apologize if this has been answered already in this thread, I'm tired of TWRP booting so slowly, so I want to switch my Data partition to EXT4.

I don't want to wipe my phone, what I was thinking was to back up the data partition in TWRP, then format/change from F2FS to EXT4, and then restore from backup. Anyone know if I'd run in to any issues doing that? I'm assuming the backup just copies the data, and not the partition type, right?
[OnePlus 3 & 3T Cross Device Development] Mr.Crucial:
That will only backup your data but the internal storage will not be backed up. So copy your important files and pics before converting to ext4
[OnePlus 3 & 3T Cross Device Development] kamikaze2112:
Good to know. Thanks ;)
[OnePlus 3 & 3T Cross Device Development] anup807:
Is it safe to install twrp ver. 3.1.0.0 from the official website? I'm on latest stock OOS release.
[OnePlus 3 & 3T Cross Device Development] samstheman42:
There is a 3.1.0-1, use that.

Sent by means of the Electric Internet
[OnePlus 3 & 3T Cross Device Development] Mar-cel:
Link ?
[OnePlus 3 & 3T Cross Device Development] soder:
What not go to twrp url and get it?

https://eu.dl.twrp.me/oneplus3t/

/Söder
[OnePlus 3 & 3T Cross Device Development] Mar-cel:
I mean for OP3. I don't have a 3T ?
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
I wasn't around for a while. Why do people give different recommendations for 3 and 3t? And why is there https://eu.dl.twrp.me/oneplus3/ and https://eu.dl.twrp.me/oneplus3t/? Aren't builds unified anymore? OP still states, builds are unified. (Yes, I used thread search, but didn't find anything specific on that topic)

Or are builds still unified, but 3.1.0-1 has a issue for 3 which it has not for 3t?

It's (size of your system)+(size of your data aka installed apps)-(size you save due to compression).

So if you run a custom rom without gapps and little to no apps installed, you will have less than 1GB. If you run OOS, you have 1.5GB alone for system. And then all your apps with their data add up. Installed Hearthstone? Your backup will be about 1.5GB bigger for that alone. Asphalt? The same.

If you really need to save space with your backups, backup your BIG apps - mostly games - with Titanium, delete them, THEN do the backup in TWRP, reboot and restore your big apps.

addon.d might contain important files. I would suggest to flash your rom again after the backup. Still doesn't explain though why this caused an error. Should't imho.

- Boot to TWRP

- Backup your ROM

- Copy all your sdcard/Internal Storage to a PC - use the fast method linked in my signature to save lots of time

- Format to ext4 (wipe->advanced wipe->repair or change fs->change fs ... something like this, hard to remember exact wording)

- Connect your PC again and copy back all your data

- Restore ROM (either all of it or only data partition)

- Reboot and be happy
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Basically, when the new version of TWRP came out (3.1.0) it was a complete sh**storm. A good number of people that flashed it got their ROMs and internal storage completely wiped. Some people were successful. Eventually a fix was put out for the 3T (3.1.0-1) but not the 3 which I guess means, at the time of writing, that the 3 and 3T are effectively divided when it comes to TWRP. Since I haven't heard many reports about the same issue on the 3, I assume that 3.1.0 works fine for them or they are just using 3.4.0-1 which is what I recommend people to stay on since there was a post recently of someone claiming that 3.1.0 is still a mess.

Also, the OP hasn't changed because the maintainer as far as I know hasn't been seen even before the release of 3.1.0, so we don't know what is happening.