yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] cesarp3791:
Hi everybody! Kind of a newbie question here, i read the forum but i have a few doubts...

Right now i'm using F2FS with OOS Open Beta 11 with custom kernel (clean flashed OB 11 through OnePlus recovery, and it formatted my data to F2FS), and i want to move back to EXT4, i have flashed TWRP latest version (3.0.4-1) already and it boots on recovery just fine.

The thing is: i remember a while ago around here i read something about having to flash a zip file if i were to change back to EXT4. But now i don't see it on the first page as before, does that means that i can format back to EXT4 with no problems on TWRP 3.0.4-1? Or must i find that zip somewhere around here?

Thanks in advance!
[OnePlus 3 & 3T Cross Device Development] DroidJay123:
So to confirm, once TWRP is up and running, swipe right to allow modifications regardless if you flash SU or dm-verity? In short, in what scenario/setup is it OK to take an OTA vs. when you need to download rom and flash manually? Taking the OTA is not that big a deal as we all are accustomed to flashing, etc.
[OnePlus 3 & 3T Cross Device Development] kessaras:
It doesn't harm to have it.

https://drive.google.com/file/d/0BwRlHU6dLDJQb2Z0QjhsRzFPS1k/view?usp=drivesdk

Just in case
[OnePlus 3 & 3T Cross Device Development] the_rooter:
Yes u can flash. I'm on it now
[OnePlus 3 & 3T Cross Device Development] cesarp3791:
Thanks! Will download just in case :good:
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Try this - it cannot do harm and might solve the issue: https://xdaforums.com/showpost.php?p=70564487&postcount=899

(wow, this took a while to find. It was actually in the old 3T thread - tags for future searches: /sdcard - chmod - chown - chcon )

Also try deleting in an file explorer running on the phone itself. If it works on phone but deleting on windows doesn't work, its windows. Solution: Format C:\

For older OOS updates, only users in Canada and Germany received the update notification the first few days. All the rest had to download and install via XDA or other sources, or use Opera VPN to fake their geo-ip.

Careful. Oneplus offers a different ROM for 3 and 3T. No idea what happens if you reverse them. Probably TWRP won't let you. Probably. Unified is only here on XDA, not from OnePlus. *points at his signature at the non-unified build*

THAT's an explaination! Thanks mate, it now makes sense - not as the FUD a few posts above yours.

No need to flash this anymore. Even for 3.0.4.0 it was just a workaround for another error. In the end, it didn't help that error. In 3.0.4-1 everything is hunky dory.

(In case you already flashed it, it doesn't do any harm, yet I would flash vanilla TWRP again - just in case there are more - yet undiscovered - errors)

If you make modifications and run OOS, flash dm-verity. It just changes the fstab of the boot kernel. Nothing more. If you want to know details, look into the patch.d/ directory in the zip.

The rest of your question - I am not so sure about. If you did modifications to your system partition, from root over things like pixel launcher or anti-theft protections, the checksum of your system partition changes and you cannot flash an OTA anymore. If you didn't do changes, you can still flash the OTA. Just check the part about wipe_misc from OP.

If you did do changes, just flash the full ROM. It ignores changes and checksums.
[OnePlus 3 & 3T Cross Device Development] DroidJay123:
Thanks for the explanation. It def helps understand things better. Now just to educate myself better and have a better understanding, if you don't swipe right to allow system modifications then you essentially can't flash various custom kernels, roms, etc? From what I am understanding, if you swipe right then you can't flash kernels, roms, etc while still not having SuperSU?

What's the preference out there... A owing system mods with no SuperSU or having SuperSU installed? Hard to know whether I really need supersu installed since I can do a lot of things without it as long as I have TWRP.
[OnePlus 3 & 3T Cross Device Development] bfm.95:
I'm on 4.0.2 rooted so I was on twrp then back to stock recovery just to flash the new update, I downloaded the update but when I wanted to flash it though stock recovery I got failed

Any ideas?
[OnePlus 3 & 3T Cross Device Development] MickyFoley:
[MENTION=7284683]bfm.95[/MENTION]: Just flash the full ROM via TWRP :).
[OnePlus 3 & 3T Cross Device Development] Anova's Origin:
Not sure if anyone else is experiencing this, but when I install the latest busybox on TWRP 3.0.4-1 on a OnePlus 3T, it seems to cause TWRP to be unable to mount to /system and /storage. When I try to flash something, the log always ends in "failed to mount /system, etc. Even if I restore a nandroid prior to installing busybox, the error still persists. I had to reformat the phone's partition and reflash the ROM to fix it. Has happened twice now. Otherwise, works perfectly without busybox.
[OnePlus 3 & 3T Cross Device Development] jcadduono:
Added OxygenOS 4.0.3 official full OTA update links to 2nd post. Sorry for the wait, didn't know it even happened till now!
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
All fine for me

3.0.4-1 on 3T

Just updated the kernel no problems
[OnePlus 3 & 3T Cross Device Development] keil.:
EDIT

Ok got it :

THX
[OnePlus 3 & 3T Cross Device Development] nihilista:
Link for 3t doesn't work!
[OnePlus 3 & 3T Cross Device Development] aadityarulez:
[MENTION=5672995]jcadduono[/MENTION] Getting this error when trying to backup partitions. Logs attached.
[OnePlus 3 & 3T Cross Device Development] djsubterrain:
I got the same after flashing new firmware.
[OnePlus 3 & 3T Cross Device Development] jcadduono:
fixed, very odd copypaste messed up and had oneplus3 hash suffix
[OnePlus 3 & 3T Cross Device Development] nihilista:
thx :good:

---------- Post added at 12:48 PM ---------- Previous post was at 12:42 PM ----------

I think its beecause of changes in the bootloader, RR isnt compatible yet, but maybe in the next releases it will be. I remember reading something about that in some thread.
[OnePlus 3 & 3T Cross Device Development] aydinbahadir88:
Gives error 7 in twrp for flash RR and Legend Rom

---------- Post added at 01:46 PM ---------- Previous post was at 12:51 PM ----------

With which file system do I have to format in twrp?

F2F2 or EXT4 ??
[OnePlus 3 & 3T Cross Device Development] nihilista:
I flashed upgrade to 4.03 10 minutes before, then did a backup, no errors here....but this time i'm using blu_spark twrp :) So seems thats a problem within 3.0.4-1 recovery...
[OnePlus 3 & 3T Cross Device Development] OdinTech:
Does flashing the version of TWRP the OP provided and then flashing SuperSU prevent me from receiving and installing the latest update of Oxygen OS from OnePlus? I always root my phones but if rooting means that i can't get updates then......... I don't know :(
[OnePlus 3 & 3T Cross Device Development] TNSMANI:
If you always root your phones, then you should by now know that it is not possible to install the OTA when the system is modified.

Your query gives the impression that you are saying that this version of TWRP is the culprit.
[OnePlus 3 & 3T Cross Device Development] OdinTech:
I will just clarify that i am not intending to paint this version of TWRP to be any sort of culprit, just wanted to know if flashing root will still allow me to receive OTA updates, but thanks for answering.

Will flashing the Stock recovery after flashing TWRP and then root allow me to receive and install OTA updates?
[OnePlus 3 & 3T Cross Device Development] TNSMANI:
Thanks for the clarification.

You will receive the OTA even if you are rooted and have TWRP. But either immediately after starting to download or after the installation fails due to the modifications to the system, the full zip will download. So receiving the OTA is not an issue.

But when you try to install either the OTA or the full zip, unless you are fully stock (ie you revert all the changes you made), the installation will fail.

Better to download the full zip, flash through TWRP and then flash SuperSU.
[OnePlus 3 & 3T Cross Device Development] OdinTech:
Alright cool, so oneplus releases their full zips for oxygen OS on some portal for manual flashing right? Thanks
[OnePlus 3 & 3T Cross Device Development] nihilista:
Just look at second post of this thread, there it is. Oneplus will release it to their homepage, too, but not yet.
[OnePlus 3 & 3T Cross Device Development] femiro:
Hey guys. Well it's taking forever to boot and i saw its a common problem cause i'm on F2FS. But i don't get the solution. Sorry if it's too noob but what should i do exactly? I have OP3 and I was on FreedomOS 2.3 with modded 3.0.3. v15.
[OnePlus 3 & 3T Cross Device Development] Schrotty35:
There is no f2fs problem whene you use latest twrp. Use search.
[OnePlus 3 & 3T Cross Device Development] femiro:
I read the OP and it said it takes forever to boot. Whatever, I rebooted and it was ok. Maybe just a random stuck.
[OnePlus 3 & 3T Cross Device Development] spaziomilano:
the link for download 3.0.4.1 don't work!?
[OnePlus 3 & 3T Cross Device Development] :
Working fine for me, just tried it
[OnePlus 3 & 3T Cross Device Development] Uumas:
Use some modern browser like chrome or firefox.
[OnePlus 3 & 3T Cross Device Development] spaziomilano:
Yes thanks,used Chrome and now he's installed ?

Envoyé de mon ONEPLUS A3000 en utilisant Tapatalk
[OnePlus 3 & 3T Cross Device Development] kessaras:
no its not a common problem.

its not a problem at all.

f2fs will take long to boot only the 1st time cause f2fs is caching everything. thats how f2fs works.

2nd + time will boot fast
[OnePlus 3 & 3T Cross Device Development] jcadduono:
what

nvm avatar explains it
[OnePlus 3 & 3T Cross Device Development] kessaras:
well , yeah, but this was not his case. he is just messing with the details. it just took him a little longer to boot and the next time it boot fast.

it was not the problem explained in the op :)

in a few words, op is right , its just not this case now.
[OnePlus 3 & 3T Cross Device Development] techack:
I'm using 3.0.4 -1 unreleased on my OP3T, flashed twrp using the unified toolkit, waited for around 40 mins but still couldn't boot into twrp.

I have arrpox 27GB/64GB left free and have 2-3 heavy games like NOVA 3,Asphalt 8 etc.

Pls help me guys, thanks..!!
[OnePlus 3 & 3T Cross Device Development] PWMx:
First I wast unable to decrypt, but 3.0.4-1 seems to work now.

Now I'm trying to flash ZeNiTy-RR and it fails with " assert failed: oppo.verify_trustzone("TZ.BF.4.0.1-83199") == "1" ".

Flashing 4.0.2 fw+modem didn't help.
[OnePlus 3 & 3T Cross Device Development] :
Flash 4.0.3 firmware
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi, read OP ;)

WHY AM I STUCK ON THE TWRP SPLASH SCREEN FOR 8 HOURS?

Be patient, wait another 8 hours.

Just kidding, try this while stuck on the loading screen:

adb shell wipe_misc; adb shell reboot recovery

Some devices might somehow get a flag set in misc that tells the bootloader to ignore the android boot image command line.

This results in the kernel not receiving the hardware name (qcom), which then confuses recovery and causes it to wait forever. FOREVER.

Personally, I'd have tried this after 15 minutes.
[OnePlus 3 & 3T Cross Device Development] PWMx:
OK - I was mistaken when assumed 4.0.3 present ...
[OnePlus 3 & 3T Cross Device Development] :
[emoji6]
[OnePlus 3 & 3T Cross Device Development] Hakim Farouk:
Noob question. Do I have to flash the DM verify disabler everytime I wanted to flash a ROM or just once after I just installed TWRP?
[OnePlus 3 & 3T Cross Device Development] Uumas:
Only if using OOS. And only once.
[OnePlus 3 & 3T Cross Device Development] Anova's Origin:
If you a flash a new OOS update that patches the firmware (like OOS 4.0.2 -> 4.0.3), wouldn't that trip dm-verity again?
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
That's not true. If you receive the full ROM OTA, it will work. That's where the full ROM .zip files you can download here originate from. But if you trigger flashing the ROM by the notification in your system, it will write instructions to misc partition and you will only start TWRP on reboot, no matter what reboot option you choose. To get rid of this, enter wipe_misc in TWRP terminal (or do via adb command, whatever floats your boat)

partital - aka small - OTAs cannot work, since they use the sparse image format and rely - and test - the checksum of the system partition. One bit modified, checksum changes, check fails, install aborts.

Note: To save download bandwidth, you can flash an older full ROM - i.e. 4.0.1 full and apply 4.0.2 OTA followed by 4.0.3 OTA followed by root and the like. Most users are not concerned about a 1,4GB download, but some might.

Thats simply not true. And also was the trigger for the joke, OP made about you. (Am I the only one who got that?)

Simply put, everytime you flash a OOS kernel. Fstab of OOS kernel contains those problematic mount options. Both "force encrypt" and "dm verity". (I guess(!) none of the custom kernels do so). So every time you flash a stock kernel, you gotta flash either no-verity-opt-encrypt-5.1.zip or superSU. Both do the same by removing those mount options from boot kernels /fstab. If you don't, your system partition is tested agains a checksum and if it doesnt match, something terrible happens (never run into this. guess it just wont boot. terrible enough.) (Iirc I even read there is a count of how many times /system got mounted rw, but I can't remember where. This might also trigger it)

If you want to know more, look into patch.d/ directory of no-verity-opt-encrypt-5.1.zip to see, what is removed from the kernel fstab.
[OnePlus 3 & 3T Cross Device Development] kessaras:
really ? then someone should inform half xda to not write crap because people read it and believe it.

first source is here. It was my first thread reading about f2fs some time ago.

Later i read other conversations in several threads with other phone of mine. Like my Lg optimus 4x which i formatted to f2fs and i saw i had a bigger cache size.

LG G4 followed.

if thats not true, someone should have written about that since a couple of years....

So , as far as the knowledge part because i'm not a full fledge dev , but more like a pc mechanic and rarely i'll develop something, i wanna know the disadvantages of f2fs.

Are there none , f2fs is perfect and we rarely use it because its "new" and we are scared of it ?
[OnePlus 3 & 3T Cross Device Development] the_rooter:
delete
[OnePlus 3 & 3T Cross Device Development] SourPower:
How can I check how my file system is setup?

I don't remember doing anything to swap off default to ext4?
[OnePlus 3 & 3T Cross Device Development] dusman13:
Diskinfo app

https://xdaforums.com/showthread.php?t=1806781

Послато са SM-N935F уз помоћ Тапатока
[OnePlus 3 & 3T Cross Device Development] kessaras:
the easiest way is

adb shell cat /proc/mounts

another way is in recovery

sgdisk --print /dev/block/dm-0 | tail -10
[OnePlus 3 & 3T Cross Device Development] Mr_Comple:
is there any possibility to lose my twrp if I perform a clean flash from 4.0.2 to 4.0.3 ? I'm using the latest version 3.0.4.1

I'll do the following clear dalvik, system data, cache, flash full 4.0.3 zip, supersu right after, reboot
[OnePlus 3 & 3T Cross Device Development] cultofluna:
Yes you gonna lose it if you wipe system...

But you can reflash the IMG before you boot to 4.0.3...
[OnePlus 3 & 3T Cross Device Development] the_rooter:
use the full zips that are inlcuded in the op. you can flash that and u wont lose twrp.
[OnePlus 3 & 3T Cross Device Development] Mr_Comple:
So if I clean flash the full 4.0.3( executing the same steps as above) from the op am I going to be ok?
[OnePlus 3 & 3T Cross Device Development] the_rooter:
Yes
[OnePlus 3 & 3T Cross Device Development] sartan:
Hello guys,

I installed 3.0.4.1 and the startup of twrp is super slow..

Any clue?

I'm on stock OB11.

Thank you.
[OnePlus 3 & 3T Cross Device Development] :
Mmmmm, that's discussed a couple of times already in this thread! Please search before posting. Thx

And btw what is "slow"?
[OnePlus 3 & 3T Cross Device Development] sartan:
EDIT: Found the answer.

Thank to all of you and sorry about the trouble.

S.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Reading this made me really angry. How can someone just be that superficial, just looking at userapps, not researching the slightest what it means and then in the same breath doing benchmarks. What a guy!

If you really want to read about f2fs, I suggest something like this: https://lwn.net/Articles/518988/.

To add to the other helpful answers, you cannot really lose your TWRP. You can always flash it again. Either with a PC or the TWRP app on your rooted system. So even if you "lose" your TWRP, its always there for you, waiting to be flashed again.
[OnePlus 3 & 3T Cross Device Development] ScratMan38:
To avoid losing TWRP when flashing the full ROM, proceed as follows :

- make sure you have TWRP img file on your phone memory

- go to TWRP

- flash full ROM zip, it will overwrite TWRP with stock recovery

- do not reboot, and flash TWRP using Install > Image, select the corresponding img file, and select to flash as recovery

- switch off the phone (in the home screen of recovery use Reboot > Power Off)

- boot phone to recovery by pressing Vol up + Power button, and use volume buttons to select to boot to recovery.

- flash what you need (SuperSU, kernel or whatever you want except the full ROM)

- reboot to system
[OnePlus 3 & 3T Cross Device Development] mohmd.nagy:
Used 3.0.4-1 and still same issue, takes long time to enter the recovery mode
[OnePlus 3 & 3T Cross Device Development] :
For me it takes ~20sec with 30GB used data (f2fs).
[OnePlus 3 & 3T Cross Device Development] nihilista:
Ansolutely normal....using blu_spark recovery and it feels a bit faster but not much. Needs ~25-30 sec here with ~70 GB used space.
[OnePlus 3 & 3T Cross Device Development] :
Yeah, that's my feeling too. I wouldn't name it slow as some people do it. I can live with it. But that's my personal view.
[OnePlus 3 & 3T Cross Device Development] AcmE85:
A direct comparison with blu_spark v16 TWRP showed no difference in speed on my op3 encrypted @f2fs.
[OnePlus 3 & 3T Cross Device Development] Lownita:
I think until this is solved, I'll stay on ext4. Don't see any benefit in converting to f2fs other than higher benchmark numbers.
[OnePlus 3 & 3T Cross Device Development] Mar-cel:
For what is the disable dm-verity force encryption zip?
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
It's not an issue. Its f2fs.

It depends on how many files you have and less on how much space is used. If you have thousands of small files, it takes ages.

while this sounds great, it wont work. To be more exact, it wont do anything. I just unpacked OOS 4.0.3 and its system image to be sure.

Recovery is not flashed during flashing the .zip file, but on booting the system. the recovery.img is not part of the zip file, but lives into the system image. If you read the installer script, you will see any reference to recovery missing.

And TWRP prevents stock recovery to be flashed on system boot. (I guess it deletes the recovery image or installer script? Anyone knows details?) - Anyway, you need to do exactly nothing to keep your precious recovery. Just flash the update.

Please, this is answered at least every 2 pages. Read before posting. Or use the search function.
[OnePlus 3 & 3T Cross Device Development] cultofluna:
[MENTION=3044422]mad-murdock[/MENTION] ...Have you any idea why when we make full wipe and then we flashing ROM and SuperSU we are losing twrp?.....

When I try this without wiping system and data everything goes well......

BTW...The tutorial from [MENTION=2135648]Scratman[/MENTION] 38 works well....
[OnePlus 3 & 3T Cross Device Development] Mr_Comple:
When you say just flash the update is the same thing as to clean flash the full zip? ?
[OnePlus 3 & 3T Cross Device Development] fbf2201:
It does work! That's how I do it all the time. I just don't off the phone but directly reboot into recovery from recovery after flashing it again.

I think stock recovery will be flashed together with the stock boot.img.

Once I wanted to revert to stock Kernel. After flashing the boot.img extracted from full OOS zip recovery was on stock as well.
[OnePlus 3 & 3T Cross Device Development] kessaras:
Do

adb shell cat /proc/mounts

Find the /data partition and tell me what you see. Is it ext4 or f2fs?
[OnePlus 3 & 3T Cross Device Development] Mr_Comple:
I decided to try my luck against the odds.<br />

I chose factory reset, then flashed full 4.0.3 , superSU and rebooted. Everything went fine. I'm rooted and twrp remained as should. Booted to twrp after the initial setup. I can't find any noticeable difference though. 4.0.3 security patch is still from December wtf? Is that hard to implement the security patches ? Should be their top priority<br />

<br />
[OnePlus 3 & 3T Cross Device Development] vuP22:
can I update from TWRP 3.0.2-1.28 to the latest 3.0.4.1 without any issues? (Oneplus3)
[OnePlus 3 & 3T Cross Device Development] djsubterrain:
Just make sure you're on the correct firmware first.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
How is TWRP connected to any version of firmware? Don't spread FUD about the trustzones.

Follow this:

1.) If you want to flash a 4.0.3 based rom, make sure that firmware 4.0.3 is installed.

2.) If you want to flash a 4.0.2 based rom, make sure that firmware 4.0.2 is installed.

3.) If you get an TZ error, you didn't follow steps 1 and 2

4.) Only very few roms come with firmware included. OOS of course. So flashing OOS full ROM also changes your firmware.

5.) If you want to flash TWRP, flash TWRP, because it doesn't care crap about firmware.

Note:

4.0.3 TZ Version: TZ=TZ.BF.4.0.1-83199

4.0.2 TZ Version: TZ=TZ.BF.4.0.1-76917

Don't want to say it, but: Told you so.

All this double-reboot-pray-to-god things to keep recovery alive or the claims, boot.img could flash recovery are wrong. At least with OOS 4.0.x - maybe it was different on older OOS versions.

Recovery is just flashed by booting the system. TWRP should prevent that before reboot.
[OnePlus 3 & 3T Cross Device Development] Mr_Comple:
You were right after all..!

(Gonna stalk you from now on hehe )
[OnePlus 3 & 3T Cross Device Development] ScratMan38:
I lost TWRP 3.0.3 when flashing OOS 4.0.2, two times. So maybe the recovery is not overwritten with each version of OOS, but it can be. And TWRP does not prevent this replacement.
[OnePlus 3 & 3T Cross Device Development] MickyFoley:
If you're unsure: Just flash TWRP after flashing OOS & reboot to TWRP again. Won't hurt. As long as you keep being in TWRP: No problem :).
[OnePlus 3 & 3T Cross Device Development] Rodeojones:
Just to be clear (as a Nexus user for years, some of this OnePlus 3T stuff is different), I'm on stock rooted OOS 4.0.2 with TWRP 3.0.4-0. In order to update to the latest OOS while maintaining root/TWRP I do the following?

Flash TWRP 3.0.4-1 (reboot recovery to ensure it updated)

Flash the full 1.4 GB update zip of OOS 4.0.3 found in the second post

Flash SuperSU to maintain root

Reboot and profit

Am I missing something?
[OnePlus 3 & 3T Cross Device Development] the_rooter:
thats it you got it.
[OnePlus 3 & 3T Cross Device Development] Rodeojones:
Thanks for the confirmation. Worked perfectly and I'm now updated while having kept SuperSU and TWRP.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
working flawlessly here. when i originally switched to this rom from another laos rom, i noticed the fingerprint worked way better than on the other rom. didnt see any change to this so far.

did you try this rom already or asking in preparation?
[OnePlus 3 & 3T Cross Device Development] Uumas:
Wrong thread?
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Lol, yes indeed. Thanks for notifying
[OnePlus 3 & 3T Cross Device Development] djsubterrain:
Not exactly sure what "FUD" is but try installing an earlier version of the firmware and using the present version of TWRP and see how far you get.