yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] kessaras:
[MENTION=5672995]jcadduono[/MENTION], Thank you very much. Also thank you for all the trouble to make a flashable OTA for us.

Everything works great here

---------- Post added at 06:30 ---------- Previous post was at 06:26 ----------

Personally i don't really understand what's the problem.

You didn't follow the OP instructions , so you have errors. Boot into bootloader mode and this time follow the OP instructions.

Also it sais for encrypted ext4 flash another file too. Instructions are very good.
[OnePlus 3 & 3T Cross Device Development] kcajith:
Ok got it..by flashing full 4.0.2 ROM, will it wipe my data, Apps?.. I just want to update on top of 4.0.1 oxygen OS. Can you pls clarify?
[OnePlus 3 & 3T Cross Device Development] Uumas:
It will not wipe your data. And don't flash 3.0.3. 3.0.4 is the version that works with nougat.
[OnePlus 3 & 3T Cross Device Development] Zarancar:
Hi everybody, can I flash this dm-verity and forced encryption disabler.zip on TWRP 3.0.4 without problems for disable this annoying message about dm-verity or I need something else?
[OnePlus 3 & 3T Cross Device Development] Uumas:
In fastboot: fastboot oem enable_dm_verity
[OnePlus 3 & 3T Cross Device Development] Zarancar:
Without risk?
[OnePlus 3 & 3T Cross Device Development] Uumas:
Should be fully safe. Haven't tried it by myself, but it should work.
[OnePlus 3 & 3T Cross Device Development] Zarancar:
OK , thank you so much for your answers and your help.
[OnePlus 3 & 3T Cross Device Development] 1+3_FA:
Yeah, I tried to update TWRP, thats it. But it ended with a deletet recovery :D

So I pushed 3.0.4 twrp file via fastboot. Now everything works.
[OnePlus 3 & 3T Cross Device Development] kcajith:
Thanks mad-murdock & Uumas!!!..I was able to successfully update TWRP from 3.0.3.1-beta to 3.0.4 and also the OS from 4.0.1 to 4.0.2. All data intact. Only extra thing i flashed SuperSU 2.7.9 once again after ROM update. The key thing is to install FULL rom and not a partial update as in first post...You guys are doing great with a timely support.
[OnePlus 3 & 3T Cross Device Development] Joloxx9:
Can I flash 3.0.4 over 3.0.3 using flashfire?
[OnePlus 3 & 3T Cross Device Development] :
Why not using 3.0.3 to flash directly 3.0.4 (TWRP internal). It's easy
[OnePlus 3 & 3T Cross Device Development] Joloxx9:
Well, last time when I did it that way I couldn't enter twrp
[OnePlus 3 & 3T Cross Device Development] kessaras:
because they hate reading the OP and follow its instructions. if you read carefully all those posts here, 90% of the posts are to report problems because they didn't follow the op and then they keep not reading it
[OnePlus 3 & 3T Cross Device Development] kessaras:
and how did you fix it ? you flashed the same twrp with flashfire and you were able to boot to it ?

no offence. im just saying that reading the op and posts #2,3,4,~~ around the op, would save people fom all the trouble.

Besides imagine that guy who spent his hours in front of his pc to make the op , when people don't follow it :p
[OnePlus 3 & 3T Cross Device Development] ho0o0o11111:
I have problem with 3.0.3 for latest nougat rom based on LOS (no problem before with CAF rom) that the data partition's size is incorrect every time I boot to recovery (force to reset every time. I think this is the problem described in OP). So I tried to update to 3.0.4.

I followed the instruction stated in OP and in point 11,

"Without exiting TWRP, transfer the SuperSU zip to your device over MTP* and flash it using [Install] in TWRP."

I can't transfer file to phone over MTP.

My PC can connect to phone, but nothing shown inside, and if I drag files to copy, it just prompts me error, can't copy.

Any help pls?

Thanks.
[OnePlus 3 & 3T Cross Device Development] Joloxx9:
I have used fastboot command.

No offence but I have just asked is it possible or not. I think its better to ask then try and break something, if you dont know you do not have to respond.
[OnePlus 3 & 3T Cross Device Development] kessaras:
for linux you can :

sudo adb push <path to the file> /sdcard/

opening adb and fastboot as superuser worked for me, but that's only if the adb devices command can see your phone. Try also use different usb port.

i hope that works on windows too.

---------- Post added at 19:53 ---------- Previous post was at 19:50 ----------

ok then.

yea it's possible. i test flashfire and its 100% working.

It emulates adb sideload.

even if you go flash wrong xposed module for another sdk, it won't force flash it, it will fail like it should, since it checks for sdk version.

edit: adding, it also emulates fastboot flash commands and back up.
[OnePlus 3 & 3T Cross Device Development] tfae:
[MENTION=5672995]jcadduono[/MENTION] why don't you release 3.0.4-0 officially?

It is working better than the current official version and I think everyone should be using this one instead 3.0.3 even if 3.0.4-o has some bugs. All of the previous have bugs too, so…
[OnePlus 3 & 3T Cross Device Development] the_rooter:
Maybe because 3.0.4 hasn't been officially released by [MENTION=702506]Dees_Troy the main developer.
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
Apologies if this has been asked already, I did a search and didn't find an answer.....

I've been using the modified TWRP image for OP3 beta/community builds, but I'd like to play around with custom ROMs again. Do I have to keep using the modified TWRP or can I flash the latest version and have it work fine between community and standard builds/ROMs?
[OnePlus 3 & 3T Cross Device Development] the_rooter:
Whenever u flash a recovery it completely resets the recovery only.
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
I guess I meant: for a while, those who were on Community/Beta builds had to use a modified version of TWRP in order to backup/flash/etc without problems. There was something about the firmware that OnePlus used that was different than the standard versions of Oxygen OS.

Does this version/new version of TWRP work without problems for both Beta/Community Build users as well as regular Oxygen OS users?
[OnePlus 3 & 3T Cross Device Development] the_rooter:
idk i dont see why there would be though? maybe others can answer, but i dont see why there would be an issue. official version and the modified version of twrp both do the same thing. I mean idk. but my answer still would be i dont see an issue.
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
In true flashaholic style, I just went ahead and flashed this new TWRP, we'll see how it flies. Backed up just fine, I'll have to play around and see if I can flash other ROMs and restore without a problem but at least my phone didn't blow up or anything so there can't be too big of an issue with it :)
[OnePlus 3 & 3T Cross Device Development] DroidJay123:
Which TWRP version to install...

Would like to install TWRP and also eventually root but want to confirm the correct TWRP I should flash based on my device specifics. I have read about so many different TWRP versions and official vs unofficial ones that I want to be sure I have the one that will give me the least issues based on my current configuration...

OxygenOS: 4.0.2

The rest of my device details are attached. From what I have read it sounds like to avoid dm-verity issues that I need to use the unofficial TWRP 3.0.4 or the Bluspark version? I am not clear on which version of TWRP and the last thing I want to do is screw up the device.

Thanks all!
[OnePlus 3 & 3T Cross Device Development] the_rooter:
Flash the one in the op.
[OnePlus 3 & 3T Cross Device Development] MeltdownSpectre:
What would happen if one used the official TWRP 3.0.3 build on a Nougat based ROM?

I found 3.0.4 to be a tad buggy, see my experience here.

Don't know if I used the wrong recovery, or flashed something wrong, but that happened.

3.0.3 seemed far more stable and didn't give me any weird issues.
[OnePlus 3 & 3T Cross Device Development] jcadduono:
Or you could just read known issues
[OnePlus 3 & 3T Cross Device Development] MeltdownSpectre:
First time it happened, I went back, and did read known issues. Then I disabled it, and it was still happening, hence my post.

Then, I thought I messed something up, so I re-flashed the recovery, fixed the option, and it still kept happening. So I flashed 3.0.3-0 and it seems to be okay with Nougat, why isn't it recommended?

Aside from that, the ROM itself refused to boot as well, which was a bit weird.
[OnePlus 3 & 3T Cross Device Development] luisangel89:
So just to make sure each time I flash a ROM I have to flash the DM verity zip?
[OnePlus 3 & 3T Cross Device Development] mohmd.nagy:
Official TWRP 3.0.3-0 takes long time to start, almost 4 minutes to start TWRP
[OnePlus 3 & 3T Cross Device Development] ivano949:
Read the Known issue: it's because of the f2fs /data partition

Only if it's a Rom that enforce criptation and you want to stay decrypted

Tapastalking
[OnePlus 3 & 3T Cross Device Development] soder:
Is it also for dirty flashing such a ROM?

/Söder
[OnePlus 3 & 3T Cross Device Development] Inflection:
Why are you using the official when OP says to use 3.0.4 for now? You'll run into no issues on the unofficial and booting TWRP might be faster (it doesn't take that long for me on F2FS, but I only have 20GB of storage used).
[OnePlus 3 & 3T Cross Device Development] kessaras:
Yeah TWRP may still have bugs. I don't know.

3 days ago I flashed TWRP in my new OnePlus 3t with 3.0.4 and I root it and I don't have any bugs yet.

Besides if you think you have bugs , you can restore original recovery again.

The dev here has done a great job don't worry.

Then use the fastboot command to disable and enable dm
[OnePlus 3 & 3T Cross Device Development] LazerH:
Im sorry for asking this, but i cant find the file i need to flash when im changing from f2fs to ext4
[OnePlus 3 & 3T Cross Device Development] the_rooter:
It's literally on the first post.
[OnePlus 3 & 3T Cross Device Development] LazerH:
i know its supposed to be there, but i read the original post now 10 times in 30 minutes and am not able to find it.

Could u just please quickly quote it
[OnePlus 3 & 3T Cross Device Development] Primokorn:
Mirror until OP is fixed (or until we have more information): https://webcloud.zaclys.com/index.php/s/uLHWOcM0O9BYxP1/download
[OnePlus 3 & 3T Cross Device Development] vl.xl:
you again? LOL.. thanks for the laugh

also here https://build.nethunter.com/android-tools/twrp-data-fstype-swap/
[OnePlus 3 & 3T Cross Device Development] Lownita:
Really after reading the op, I'm about to stay on ext4. F2fs seems to not be worth the hassle.
[OnePlus 3 & 3T Cross Device Development] TorchaOne:
Never ever even thought going to f2fs. But 3.0.4 is a much slower to boot up with ext4 than 3.0.2-1 was. No biggie thou (as I am not doing anymore daily flashing or multiple daily flashing :))
[OnePlus 3 & 3T Cross Device Development] djsubterrain:
Very helpful answer, well done you. *sigh*
[OnePlus 3 & 3T Cross Device Development] zige:
Yup i have same for couple weeks already. Dev has asked logs from twrp but never answered me when i asked how to get them without booting recovery... If you find out something, please let me know :)
[OnePlus 3 & 3T Cross Device Development] Bjarne73:
Well, if people just read the first post or already answered questions in the thread all these threads on Xda would be a lot easier to catch up with. But when people even cant read posts one page back these threads grows enormous and people stop answering questions asked over and over and over again.
[OnePlus 3 & 3T Cross Device Development] Midomad:
It's unified now as you can see in the op3t twrp thread.
[OnePlus 3 & 3T Cross Device Development] erickrealz:
Hi guys! I've flashed TWRP and I'm currently on Ressurection Remix Rom. Now, when I try to boot to recovery, the phone brings up the stock recovery instead of TWRP. However, I could access TWRP via the OnePlus 3T Toolkit, but I'd want to access TWRP via my phone too. Anyone got a solution?
[OnePlus 3 & 3T Cross Device Development] :
Try flash twrp again via flashify?
[OnePlus 3 & 3T Cross Device Development] 200:
Works flawlessly on OOS 4.0.2 f2fs
[OnePlus 3 & 3T Cross Device Development] Despernal:
Thanks

This worked perfect to decrypt my phone in recovery I been having to use a older version of the modified (23) for awhile now.

Running FOS 2.2 ext4
[OnePlus 3 & 3T Cross Device Development] alesimula:
[MENTION=6411851]BitOBSessiOn[/MENTION] you know what to do :D
[OnePlus 3 & 3T Cross Device Development] Primokorn:
Can we post logs for ealier versions or 3.0.4-0 is the only unofficial official vesion?

Actually I'm on Tugapower rom (OP3T / ext4) and while rebooting into TWRP I wasn't able to decrypt my data (my PIN was correct despite the error message...).

After pressing the Power button for a hard reboot I had the following message:

Vol down + power to return into TWRP where I hit the cancel button then reboot system. I didn't have the 'Decryption unsuccessful' again...

Can I send logs with 3.0.3-1 or do I have to upgrade first?
[OnePlus 3 & 3T Cross Device Development] Antsu:
Maybe better to upgrade since the 3.0.4-0 is the targeted version. And it's decryption should work on ext4 out of the box. At least for me it worked.

The 3.0.3-1 version, I think, doesn't have multimount (or whatever it's called when it's able to mount and decrypt both f2fs and ext4), so with that version you'd need to flash fstab swap zip, which was earlier posted by OP (and removed since it won't be needed with 3.0.4-0).
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
Reminds me of incompatibilities with firmware, which firmware do you use? Impossibility to reboot in recovery was the common symptom of inconsistencies between twrp (unmodified ones at this time) and 3.5.x and 4.0 firmware (or the contrary, modified twrp incompatible with 3.2.x firmware)
[OnePlus 3 & 3T Cross Device Development] BitOBSessiOn:
Yes, I know... :p In fact, I've been playing with latest code, and produced this, totally, totally experimental and w.i.p..... (for instance, power button does not turn on again screen... you must use vol buttons...)

EDIT: BTW, about slow TWRP booting, I've been checking that using performance governor instead interative in init.recovery.qcom.rc we can speed up, it's not the perfect solution but it helps... (from 60s to 30s approx.). I guess that this can also affect to other intensive tasks.
[OnePlus 3 & 3T Cross Device Development] Lownita:
Is the slow booting on f2fs also a problem with unofficial bluspark TWRP?
[OnePlus 3 & 3T Cross Device Development] balahu:
No. Bluspark .28 twrp, all ok, fast
[OnePlus 3 & 3T Cross Device Development] xT-g-K:
I had awfully slow booting, but I now don't think I can boot any TWRP at all at this rate. It's taking so long. All on F2FS have this issue.
[OnePlus 3 & 3T Cross Device Development] Renosh:
Check the OP this is mentioned, it takes forever to load, length of time depends on how much data you have. It took me about 5 mins, just stick to ext4 and avoid the annoyance
[OnePlus 3 & 3T Cross Device Development] xT-g-K:
This won't boot for me, I have F2FS, coming from stock 4.0.2, hangs on the splash screen and has been for at least 5 minutes as of posting.

---------- Post added at 06:30 PM ---------- Previous post was at 06:25 PM ----------

I did a clean install, I wiped my phone before this (I messed up updating from 4.0.1 to 4.0.2)
[OnePlus 3 & 3T Cross Device Development] reef2009:
Two questions:

1. Could someone please upload a mirror for TWRP v3.0.4? They are all broken.

2. I'm I right the twrp-data-fstype-swap-5.1.zip only enables ext4 support in stockOS. And I need to convert/format the user data partition to ext4 first? (Read update-binary for more info)
[OnePlus 3 & 3T Cross Device Development] jcadduono:
1. the mirror is not broken, please update your web browser to something newer than 2014 (the site requires EC+TLS+AES128 or higher)

2. don't need to flash this, i originally advised users to if they were using ext4 encrypted but it is no longer needed, and the bug that showed up was actually unrelated to ext4 so i updated the warning on the first post and removed the zip link - the zip is still on build.nethunter.com/android-tools if you need it for another/older twrp. the zip is ONLY for enabling decryption of ext4 in twrp 3.0.3 or older and nothing else.
[OnePlus 3 & 3T Cross Device Development] reef2009:
Thnx, tapatalk build in browser (Android default I suppose) doesn't support this I think. When opening in chome it works. Thanks!
[OnePlus 3 & 3T Cross Device Development] jcadduono:
alright which of you nutcases are up for testing https://build.nethunter.com/twrp/oneplus/twrp-3.0.4-1-oneplus3.img

changes from 3.0.4-0:

- attempt to fix crash when trying to reboot (triggered by empty data partition, ex. missing /data/app)

- merge CAF tag LA.UM.5.5.r1-02800-8x96.0 (there were many changes, a dmesg would be nice to share with me, possible it may not boot)

right, so, nothing big - but it seemed many people were running into issues rebooting after wiping data, please let me know if this is fixed!
[OnePlus 3 & 3T Cross Device Development] nitinvaid:
this is same for the one plus 3T? right
[OnePlus 3 & 3T Cross Device Development] knpk13:
Yes, as mentioned in the OP. It works for me.
[OnePlus 3 & 3T Cross Device Development] nitinvaid:
Flashed The New Recovery But Its Still Taking Long Time To Go into Recovery Its Still freezing at TWRP logo
[OnePlus 3 & 3T Cross Device Development] knpk13:
Dude again.. read the OP. TWRP takes a while to boot up with F2FS because of something related to lstat() taking a while.
[OnePlus 3 & 3T Cross Device Development] nitinvaid:
i have not read the OP sorry My Bad

is It Safe To Convert The Partition To EXT4 and whats the best way to convert it becouse i read it most of the time after converting you are getting less storage space
[OnePlus 3 & 3T Cross Device Development] Primokorn:
Many users have switched to ext4 without any issues. Backup your data then use the 'change file system' tool from TWRP. Only /data has to be changed to ext4.
[OnePlus 3 & 3T Cross Device Development] skeeter123:
Clarify a wee bit....

1) Backup /data via TWRP ?

2) Change file system in TWRP

3) Then, restore backed up data that was just backed up all without exiting TWRP?

4) Reboot....profffit...?

If one were to restore a TWRP backup that was done before the change to ext4, to the system that now has /data as ext4, will it work?

Just want to be sure before making the switch...

Thanks!
[OnePlus 3 & 3T Cross Device Development] Primokorn:
1. TWRP backup of /data (TWRP 3.0.4-0 BTW)

2. Backup all your user data (pictures, videos, apps...) to your PC

3. Format to ext4 (Wipe > Advanced wipe > Select 'data' > Repair or Change fs > Change fs > ext4)

4. Copy back your data

5. Restore your nandroid backup of /data

6. Reboot

Once you have formated your /data partition you can restore an old backup (made while you were on f2fs).
[OnePlus 3 & 3T Cross Device Development] cultofluna:
Is it necessary to change the filesystem also for cache?..
[OnePlus 3 & 3T Cross Device Development] nitinvaid:
i have just formatted my storage in twrp and changed it to EXT4 and to me also its showing 50GB free of 53.6:confused:

what i did is formated it via twrp and press yes after pressing yes i have flashed a zip file "twrp-data-fstype-swap-5.1.zip"

what i did wrong?
[OnePlus 3 & 3T Cross Device Development] Primokorn:
Not sure but mine is ext4. I guess it's better to have everything in ext4.

https://xdaforums.com/showpost.php?p=70912728&postcount=385
[OnePlus 3 & 3T Cross Device Development] nitinvaid:
Well I Managed To change the partition to EXT4 flashed the new rom also with full wipe everything set up i have copied some files to my devices like the files and folder of device it was like 10GB but i can not see it in device nor it TWRP nor in File managet when i check my storage its showing 10GB used by Other
[OnePlus 3 & 3T Cross Device Development] clintonbugz:
im currently on AOSIP 7.1.1 decrypted

If i switch to OOS N will it encrypt my data??
[OnePlus 3 & 3T Cross Device Development] Giocarro:
As far as I know the answer is yes.

The best solution in my opinion is to install FreedomOS, which is based on OOS but doesn't force encryption.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
use 3.0.4.1. It is official as official can be, its just not on twrp.me yet, since 3.0.4 isnt officially released yet. We on oneplus have it though, since we urgently need a feature of it.
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
Did you put your files in /data/media/0 ? If they are in /data/media that's normal you can't see them as the default user is using /0 subfolder.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
deleted (that moment you realize, you are 4 away from the current post end)
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi, twrp 3.0.4.1 si out ;)
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
its probably in /data/media instead of /data/media/0. /data/media/0 didn't exist after formating.

you cannot move it in your system, even with a root enabled explorer. you can move it though in twrp.

this should work:

adb shell mv /data/media/* /data/media/0/

It will thrown an error about 0 not being able to move, but thats intended. I honestly don't know any other way. And I ran into the same.

[MENTION=5672995]jcadduono[/MENTION], if after formating there is no /data/media/0/, shoudn't it be created instead of linking /sdcard to /data/media?

---------- Post added at 05:11 PM ---------- Previous post was at 05:04 PM ----------

why would anyone do that? Are you aware, without encryption you have no protection of your data? If you are on a locked phone, fine, go for it, dont use encryption. But on an unlocked phone? I call it insane.

TL;DR: No encryption on unlocked phone is insane.
[OnePlus 3 & 3T Cross Device Development] clintonbugz:
Well I have a real bad experience with encryption so...
[OnePlus 3 & 3T Cross Device Development] viveknaudiyal:
I am using modified twrp 3.0.2-28 by eng.stk

Using aosip rom and on f2fs partition. If i upgrade to 3.0.4-1 will I have any data loss
[OnePlus 3 & 3T Cross Device Development] xpissio:
Is the 3.0.4-1 unified for 3 and 3T?
[OnePlus 3 & 3T Cross Device Development] Giocarro:
[MENTION=3044422]mad-murdock[/MENTION], I guess it all boils down to what an individual has inside his phone. If I were to lose mine right now I wouldn't lose anything important or sensitive at all. I'd just change my Google account password and that's it.

Encryption? No, thanks!
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Well, the only disadvantage encryption has is, it can be slightly more complicated to set it up. (Even though since latest TWRP builds it really isn't)

But after all it's your device. If you can live with it that someone could remove your screen lock, access/modify your phone and restore your screen lock password sure it's your choice.
[OnePlus 3 & 3T Cross Device Development] DroidJay123:
Looking for clarification on a couple things.

First... After flashing TWRP(3.0.4 or 3.0.4-1) via fastboot do I immediately reboot into recovery? Then from what I have read, if you swipe right to allow system modifications you must also immediately flash latest SU or else the system won't boot? In other words if you don't plan on flashing SU right away, what steps are to be taken to be sure the system can still boot?

Second... Is the dm-verity message more of just an extra step during boot or does it literally prevent system from booting?

My OP3 is my daily driver and I can't afford a bricked phone but want it have a custom recovery and have root. I have OOS 4.0.2 currently with stock recovery.
[OnePlus 3 & 3T Cross Device Development] Uumas:
Flash the dm-verity disabler zip if you don't flash SuperSU. The warning is just an extra step.