yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] uresh.kuruhuri:
Can I flash these using TWRP 3.1.0.0?

Hi,

I am having OnePlus 3 on OxygenOS v3.2.8 and TWRP 3.1.0.0 with SuperSU.

Following the below statement from OP:

can I download the full zip as mentioned below for OxygenOS v4.0.3 and flash it using TWRP 3.1.0.0?

I assume 3.1.0.0 already contains the fixes from TWRP 3.0.4-1.

Can somebody throw light on this.

Thanks.
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Of course you can. It's one of the main features of TWRP after all. Wouldn't make sense if the latest version of TWRP couldn't flash a ROM.
[OnePlus 3 & 3T Cross Device Development] gilsol:
Deleted
[OnePlus 3 & 3T Cross Device Development] uresh.kuruhuri:
Thank you for your reply.

What you said was right but I was skeptical because of the TWRP 3.0.4-1 and it's compatibility with Nougat.

Anyway, I gave a shot before seeing your reply though and it worked fine although I see the dm-verity warning while booting.

replied using Tapatalk
[OnePlus 3 & 3T Cross Device Development] :
Brother,

If I'm not wrong, 3.1.0-1 & 3.0.4-1 are stable and working good. But before flashing any source based custom rom please flash Beta 3 firmware available in the Lineage Os page here - https://xdaforums.com/showpost.php?p=69535222&postcount=3.

Kindly read the details given over there as well before flashing anything to avoid any confusion.

Regards

SuperDroid-BOND
[OnePlus 3 & 3T Cross Device Development] uresh.kuruhuri:
OOS v4.0.8 installed through TWRP 3.1.0.0 - Working pretty stable

I did try the OOS v4.0.8 and not the v4.1.0 yet.

I installed v4.0.8 directly over v3.2.8 after factory reset using TWRP v3.1.0.0.

Regarding dm-verity, I think OnePlus introduced some restriction on it in the Nougat ones and not sure since which version of Nougat. However, am pretty happy with the stock ROM with SuperSU on it. It's working pretty stable so far.

For the sake of sharing the experience: few apps that were imported from Titanium Backup (backed up on OOS v3.2.8) misbehaved a little. e.g. Skype, Whatsapp, FlashFire and couple others. All I did was uninstall those apps and restarted the phone and reinstalled from PlayStore and now they are working fine.
[OnePlus 3 & 3T Cross Device Development] BubooBear:
Hello, I am trying to restore a backup file that has RR rom on it android version 7.1.1. I am currently on twrp 3.0.4-0. When i restore my backup, my phone just gets stuck on the bootlogo (Oneplus logo). Please help me!
[OnePlus 3 & 3T Cross Device Development] the_rooter:
supersu and magistik still works
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
I know they still work in terms of rooting. I meant do they still work in preventing the whole "dm-verity -your phone is modified message.
[OnePlus 3 & 3T Cross Device Development] the_rooter:
That's why I answered I am on 4.1.0 and I flashed majistik and no dm verity
[OnePlus 3 & 3T Cross Device Development] the_rooter:
It doesn't remove the message . In order to keep away from it or of I already have it for me I had to start fresh with complete stock, flash TWRP then immediately flash either SuperSU or majistik to make sure it stays away. Now from my understanding if the rom already doesn't come with with the two u need to flash one of them or the DM verity zip each time I u flash a new rom
[OnePlus 3 & 3T Cross Device Development] jdssyy:
Hi guys, I already got my OP3T yesterday. I wanted to root it so I follow the instructions from the OP, but after flashing twrp (the recommended version) , instead of navigating searching for RECOVERY option in the phone and selecting it, I ve typed "fastboot boot twrp.img". I am now in an endless twrp splash screen. Sorry guys, my fault. I acted like an idiot!

What can I do? Thanks in advance!....
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Weird. Actually before typing out "fastboot boot twrp.img" was the instructions. It was changed like a month or two ago, so there shouldn't be a problem. Did you try and flash 3.0.4-1? If you did, you could try and upgrade to 3.1.0.-1 and see if that works.

https://dl.twrp.me/oneplus3t/
[OnePlus 3 & 3T Cross Device Development] jdssyy:
Thank you for your quick response. Ive tried to flash 3.0.4-1 again, now doing it right (as your instructions). Found recovery mode in the menu and then flashing superSU. It worked like a charm. Thanks for your quick support:good:
[OnePlus 3 & 3T Cross Device Development] BubooBear:
Guys please help me. After doing a nandroid restore, my phone doesnt want to go past oneplus bootlogo. What should i do?
[OnePlus 3 & 3T Cross Device Development] kessaras:
you did a nandroid backup to do what ?

what did you update exactly ? you must be at the same exactly recovery to restore it successfully. Or at least thats what i have read
[OnePlus 3 & 3T Cross Device Development] BubooBear:
Nvm. I solved it by flashing my efs. Thanks
[OnePlus 3 & 3T Cross Device Development] bdorr1105:
Did you flash the latest firmware first? That makes a difference as one is for Android 7.0 and the new 3.1 is for 7.1.1...I flashed the newest one, have zero issues and I am running on the latest Freedom OS
[OnePlus 3 & 3T Cross Device Development] jdssyy:
I was first on 7.1.1 when I flashed 3.0.4-1. Maybe that was the reason for the freezing. Now I'm on 7.0?? I did a factory reset. But Now I realize I have to upgrade firmware. I will do a research, I guess the firmware has to be modified because of rooting (or clean install from oneplus website) ? Do you know how to do it? Thanks for pointing this out!!!
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
The firmware only has to be manually updated when you flash custom roms. Firmware should not affect TWRP.
[OnePlus 3 & 3T Cross Device Development] jdssyy:
So. How do you recommend I update firmware from 7.0 to 7.1.1? I will lose root I guess..
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
I think you're confusing OS version with firmware version .

Currently, the most recent firmware version is 4.1.0 and the OS is 7.1.1.

Updating OS is done by flashing an updated ROM.

Updating firmware is done by flashing the zip file containing the update.
[OnePlus 3 & 3T Cross Device Development] jdssyy:
Ok. Thanks. To upgrade to OS 7.1.1, Can I do it just flashing through Twrp or it applies only to custom roms?
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
You have to flash a custom ROM that has been upgraded to 7.1.1 in TWRP.
[OnePlus 3 & 3T Cross Device Development] the_rooter:
No. U need adb fastboot, and put device into bootloader mode. Type both of them in.
[OnePlus 3 & 3T Cross Device Development] tfae:
Using 3.0.4-0 and no issues found for now.

I can even do nandroid backups of the stock ROM without removing the PIN/fingerprints now. TWRP restores the backup flawlessly.

I'm trying now RR and so far so good. Still need to do a RR nandroid backup and return to stock to see if it works as expected.
[OnePlus 3 & 3T Cross Device Development] venomus001:
somethings is wrong with the nethunter server so please make a mirror i had the failed to decrypt situation this morning using the latest official build 3..0.3-1 i ll give this a try and report back as soon as i can download it

Update: everyting is working so far with 3.0.4 TWRP i even did a factory reset it takes a longer time booting i ll try to flash mods on Octos Rom and report back

Final Update: no problems with data partition so far i can backup restore wipe all partitions flash roms mods ... u should spread the word and make it official.

thanks :good:
[OnePlus 3 & 3T Cross Device Development] bcs2112:
Could someone confirm please the md5 sum of twrp-3.0.4-0-oneplus3.img? (paranoia, i know :) )

80a9f9fcdef1c8c71cbc3d3b176b69a3
[OnePlus 3 & 3T Cross Device Development] Vanilla Pudding:
It is.
[OnePlus 3 & 3T Cross Device Development] djsubterrain:
[MENTION=5672995]jcadduono[/MENTION] I'm getting the error message below when attempting to backup a rom, using the 3.0.4 build, I'm not sure if I had flashed the rom using this version (Will probably try clean flash later) would that cause it?

FYI I also flashed the unofficial RR on top of the official and cleared both caches but the rom seems to work ok.
[OnePlus 3 & 3T Cross Device Development] jcadduono:
no logs it never happened
[OnePlus 3 & 3T Cross Device Development] fbf2201:
Had the same with last OOS 3.x. I was wondering whether it was because I had the later withdrawn r27 blu.spark Kernel installed. It used some newer f2fs code that is not compatible with older versions.

At the end I made everything new, before updating to 4.0.2 and I was lucky that I had a 2 weeks old backup.

Edit:

Oh, I've just seen that it's you system partition.

But for me it happens with data partition. Since system is not f2fs, its maybe rather something different.
[OnePlus 3 & 3T Cross Device Development] mkl23:
I'm not able to decrypt the data after flashing the 3.0.4 version. Anybody faced the same issue?
[OnePlus 3 & 3T Cross Device Development] Renosh:
Try booting the OS and changing the password/pin and then boot into TWRP again see if it works then
[OnePlus 3 & 3T Cross Device Development] OP3TDE:
So, as this was not (clearly) answered till now; is it compatible with 6.x (Marshmallow)?

What I want to do:

I'am still on twrp 3.0.2-0 and want to update to 3.0.4-0.

Still run sultan first version from december 13th.

The phone is encrypted and has a pin to enter to start.

What is the best way to update?
[OnePlus 3 & 3T Cross Device Development] no.one.writeme:
Hi all,

I am looking for a honest opinion about f2fs vs ext4. I have my OP3T unencrypted. Does f2fs worth the hassle over ext4?

I was thinking of flashing twrp 3.0.4-0 and backup my data partition and them format to ext4 and do a restore.

What are your most honest opinion? ( I am a newbie to OP3T since I came from the line of nexus devices ).

BTW I am with OOS-4.0.2.

Thanks,

Best regards.
[OnePlus 3 & 3T Cross Device Development] RagingHarry:
Ext4 is more reliable, less compatibilty issues.

F2fs is a bit faster at some stuff, way slower at copying lots of data back to your device, op3 experience.
[OnePlus 3 & 3T Cross Device Development] Doc Sniper:
F2FS is only faster in writing, but EXT4 is faster in reading. The difference is not noticeable in every day use.

EXT4 has only one on disk format, F2FS has two or maybe more.

So you can choose, stable or ..... ;)
[OnePlus 3 & 3T Cross Device Development] Lownita:
You would have to backup data and sdcard when reformatting, it's technically the same partition. I don't think the hype around f2fs is justified. Just read what's written about it in OP of this thread. Still prone to problems with recovery and compatability issues, less read speed.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Depends.

The current issues arise from different ROMs using different f2fs versions, which are not fully compatible to each other. On top of that, different ROMs use different crypto libraries, which again are not compatible to each other.

So if you just use OOS 4.x and dont intend to try other ROMs, you should be fine with f2fs and TWRP 3.0.3-1 or later. If you want to try other, different ROMs, ext4 is the better choice. Also have latest TWRP in that case.

The easy answer - as seen above - is f2fs is unstable. Yet I think my point is more valid. If you only use OOS - or only one Custom ROM -, you most likely wont have any issues with f2fs. If you intend to switch between ROMs, ext4 is the safe way.
[OnePlus 3 & 3T Cross Device Development] soder:
Does the stock OOS ROM work with what ever format on the data partition? Can I make the switch and OOS 4.0.2 works as it should?

/Söder
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Yes, you can. I switched to ext4 while using OOS 4.0.2, since I didnt understand the full issue back then. No problems whatsoever. No noticeable difference in performance or battery.
[OnePlus 3 & 3T Cross Device Development] elchmartin:
Thanks, 3.0.4.0 does the magic to let me decrypt my data partition again.

Good job!
[OnePlus 3 & 3T Cross Device Development] jcadduono:
i like your avatar

<--- here comes the big 5K

thanks [MENTION=3358582]Ashtrix[/MENTION]
[OnePlus 3 & 3T Cross Device Development] jdssyy:
Thank you very much for your help. It was very useful! I will do it!..
[OnePlus 3 & 3T Cross Device Development] StressFull:
deleted - wrong forum.
[OnePlus 3 & 3T Cross Device Development] Uumas:
Using 11.6 with no problems.
[OnePlus 3 & 3T Cross Device Development] uresh.kuruhuri:
To upgrade to OS 7.1.1 or Oxygen OS v4.0.3 you can safely use twrp.

I recently did install OOS v4.0.3 using twrp v3.1.0.0. Before installing, please be sure to do a factory reset if it is a major update, I mean from previous Android version to a new version e.g. Marshmallow to Nougat.

replied using Tapatalk
[OnePlus 3 & 3T Cross Device Development] Maynard100:
Hi,

I just got my OP3T just now and the OOS version is 3.5.1.

I came from OP2 and I'm excited to root this immediately.

Can I follow the OP steps or I need to perform OTA?

Is there a minimum OOS version required?

Many thanks.
[OnePlus 3 & 3T Cross Device Development] Flint2:
For staying on OOS, better to do OTA first, then unlock and install TWRP.

If you install first TWRP you need to download and flash full zip of OOS

For custom ROM proceed with OP.

I prefer to skip swipe to modify system and install Magisk for systemless root.
[OnePlus 3 & 3T Cross Device Development] Maynard100:
Thanks for your reply but I don't like to stay in OOS. I would definitely flash my fav custom ROM.

I would appreciate advice on my queries below.

1) I'm just worried that OOS 3.5.1 is not compatible with TWRP 3.0.4-1. I am also worried about DM verity errors.

2) Is "fastboot format userdata" required for flashing custom ROM?

Thanks
[OnePlus 3 & 3T Cross Device Development] aR_ChRiS:
1. Update to the latest OOS first, as the latest custom roms all use the firmware from them. After flashing the latest firmware, flash TWRP, then either flash the dm-verity disabler from OP or flash SuperSU.

2. Just perform a full wipe (wipe system, cache, ART cache and data but not internal storage) from TWRP, then flash your rom+gapps+root.
[OnePlus 3 & 3T Cross Device Development] jdssyy:
Thanks for the information. I guess I don't need to root again or install again twrp since OS 7.1.1 doesn't contain a stock recovery within it. It's that correct? I come from HTC and Samsung and that's why I am not that sure..

---------- Post added at 10:12 PM ---------- Previous post was at 09:43 PM ----------

Never mind, I've found the appropriate thread to solve my issue. Thanks again for your information and help! [emoji1]
[OnePlus 3 & 3T Cross Device Development] marius2du:
Hi

I am using twrp-3.0.2 on xperia z5 device. From my backup, I performed a data and system restore and now the phone boots very slowly (aprox 4 mins). What is the reason of this slow restart ?

Thank you
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
You are in the Oneplus 3 and 3T thread. You should ask your question in the appropriate TWRP thread for your phone. We do not support the Xperia Z5 here.
[OnePlus 3 & 3T Cross Device Development] storm_me:
hi,

for custom rom's and for nougat rom's we should use twrp 3.0.4-1 or official twrp-3.1.0-1 ??

i'm still with android 6 and with twrp 3.0.3.1..

thanks
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Use 3.1.0-1 and backup all your stuff beforehand. Just in case.
[OnePlus 3 & 3T Cross Device Development] wHiTeWoLf007:
First thing, I'm a bit scared to try the TWRP given in the OP link coz it's said version 3.0.3 has some issues with Nougat and I'm worried if that holds true for 3.0.4-1 too coz it's not official. Besides, I still haven't totally understood the dm-verity thing. I understand that TWRP will ask if I wish to allow system modifications, but I'm confused. Will I get an option to skip that part(ie, not allow system modifications) and proceed with rooting using SuperSU and end up safe?

Last time I tried a TWRP with CM 14.1, I ended up with my phone being stuck in a black screen lol. So I'm a bit wary of doing these things again without getting a clear picture of everything. So basically my question is, will it be possible to skip the dm-verity thing and proceed with flashing a custom ROM and rooting the phone without any issue?

On a side note, my bootloader is already unlocked. Thanks for any kind of help. :)
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
3.0.3 has issues not 3.1.0-1 like I said. 3.0.4-1 is an official beta with no bugs you could say. It's another very viable option if you wanted to go that route. You can skip allowing modifications, but I don't know one person who does it. Just swipe to allow and flash SuperSU (although I recommend a popular alternative called Magisk. Open source and better IMO). You'll be safe. If you previously got a black screen, you probably screwed up somewhere. Just follow the instructions and you should be OK.

If you're unsure, list the steps you're going to take and I'll review it.
[OnePlus 3 & 3T Cross Device Development] appatekker:
Hi,

I'm on rooted stock OSS 4.0.2

And I'm using twrp 3.0.4 flashed via official twrp app.

My recovery is stuck with twrp logo itself. I can't move on to the next screen.

I try flashed 3.0.2, 3.03. On both of them also I'm having the same problem.

Any suggestions.?
[OnePlus 3 & 3T Cross Device Development] timobayl:
Have you the default filesystem f2fs or ext4?

How long did you wait?

Wait about 30 minutes. With f2fs it can take a very long time to boot in twrp.
[OnePlus 3 & 3T Cross Device Development] hristcroixqwerty:
Hi guys, I hope someone can help me here :)

So yesterday I received my OP3T. I updated it on 4.1.0 OOS then decided to root my phone, below is the detailed steps I did :

1. Enable USB debugging, OEM unlocking and advance reboot.

2. Boot my phone to fastboot, verify on CMD if detect (OK) then unlock my bootloader.

3. After unlocking, phone restart BUT I STOP IT ON CONTINUING TO BOOT ON OS, instead i choose to boot to fastboot again >_<

4. Flash TWRP, boot on TWRP then ask for permission modify system, i just swiped it and forgot not check the "do not display on the next restart".

4. Flash no-verity-opt-encrypt zip and supersu then reboot. Then I got bootloop.

5. I booted to TWRP to flash the flashable full OTA (latest). I did success here.

So here are my questions :

1. Do I need to repeat the whole steps? Unlock OEM, Flash again TWRP and no-verity-opt-encrypt zip and SU?

2. On the first page it was mentioned that the partial OTA can be only flashed on stock recovery, Im in TWRP now, how can I access the stock recovery? Do I need to flashed it again? Everytime I access recovery via advance reboot and power + down volume it goes to TWRP.

3. SInce im in 4.0.3 OOS now, what should I do first, flash 4.1.0 OTA or repeat the steps on unlock OEM, etc etc., then flashe 4.1.0 OTA? Or I still can receive the OTA update via VPN?

Sorry for the veeerry long post, and thanks!!
[OnePlus 3 & 3T Cross Device Development] the_rooter:
3.1.0-1 doesn't have the issues it's 3.1.0 that has all the issues. I have been using the latest 3.1.0-1 with stock, LOS, WITH f2fs, and Ext4 with no issues. And decrypted. The phone being factory resetting​ was only on the 3.1.0.

Others users have been staying this as well and doing this as well for the test.

---------- Post added at 09:55 PM ---------- Previous post was at 09:51 PM ----------

Once unlocked it's unlocked. Now when ever u install stock roms if not already included u need to flash either the DM verity zip, SuperSU, or majistik after u flash ROM to avoid the error , and with TWRP installed u can't accept otas but u can flash the zips via TWRP but u still need to flash the zips or SuperSU to avoid the DM verity issue

---------- Post added at 09:56 PM ---------- Previous post was at 09:55 PM ----------

30 minutes it's way too much. I had my phone filled with like a gig left and still only took 15 minutes with f2fs. To avoid the wait switching to Ext4 is better
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
You misinterpreted what I was saying. In the first message of our conversation, whitewolf asked if 3.0.4-1 or 3.1.0-1 should be used. I then told them to use 3.1.0-1 as my response. They then (at the top of this page if you wanna check it out to get a better understanding) responded by saying that they heard that 3.0.3 was buggy with Nougat (and some other worries, but I'm just focusing on the main focus of this convo). I responded in the first sentence of my last and final post with him that

"3.0.3 has issues not 3.1.0-1 like I said."

As in "3.0.3 has issues [with Nougat]" in response to his 3.0.3 Nougat worries. The next half of the sentence was "...not 3.1.0-1 like I said." As in 3.1.0-1 is not affected by the Nougat bugs like I said previously in our conversation.

If you're confused at all, then just read the convo between whitewolf and I. Just know that I'm not some random noob coming into XDA with no clue as to how this all works, giving advice to random people, and screwing up their devices.

I've been using 3.1.0-1 since the day it came out. In fact, I was the first one to ever mention the existence of 3.1.0-1 in this thread, so don't think I need to be told what is and what isn't working with TWRP.
[OnePlus 3 & 3T Cross Device Development] wHiTeWoLf007:
Thank you for the help. Last time I ended up in black screen coz it was the CM14 with some bug which you might be aware of. It corrupted my recovery partition and it was a bit annoying and somehow I got back my stock ROM after performing a factory reset in stock recovery.

Now about the steps I should be doing.. At the moment I'm running on stock recovery. So I gotta download that TWRP 3.0.4-1 and flash it via fastboot. Then after booting into recovery I should swipe to allow modifications and afterwards flash SuperSU or magisk (downloaded from your provided link) and then I should be fine booting up?

Between, do I need to bother about my file system being ext4 or f2fs?

Edit: I couldn't find a link for TWRP 3.0.1-1 in this forum. Could you provide me the link?
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Your steps look good.

In terms of ext4 or f2fs, if you have a lot of your storage used up, go with ext4. If you don't use a lot like me, stay with f2fs. I don't notice a huge delay with f2fs, but I have a lot of storage still unused, so pick your poison. If you're unsure, go with ext4. Just backup your stuff cause it'll be wiped after switching file systems.

I'll list the latest TWRPs for the 3 and 3T since I don't think you ever told me what phone you have:

Latest TWRP for 3: https://dl.twrp.me/oneplus3/twrp-3.1.0-0-oneplus3.img.html

Latest TWRP for 3T: https://dl.twrp.me/oneplus3t/twrp-3.1.0-1-oneplus3t.img.html
[OnePlus 3 & 3T Cross Device Development] wHiTeWoLf007:
I have used up a lot of space so I think I better not think about changing the file system. And the default one is ext4 right?

I have a OnePlus 3. So that means there's no 3.1.0-1 right? So what do you think? Should I use the 3.1.0 or 3.0.4-1?
[OnePlus 3 & 3T Cross Device Development] Just Passing By:
Oof. Not gonna lie, you threw me in for a loop. I'm not as well versed in the 3 as the 3T as I don't own a 3. If you're currently on Nougat though, I think you're on f2fs. Here's an app that will tell you. Just open it up and click the data partition and look for either f2fs or ext4 and you'll know.

Correct there is no 3.1.0-1 for the 3. The only reason why the 3T has it is because of this really bad bug that appeared for the 3T users where after it was flashed, everything was wiped from their phone. We lost a lot of good soldiers that day ??. I'd just go for the 3.1.0.
[OnePlus 3 & 3T Cross Device Development] hristcroixqwerty:
Thanks for answering!

But Im lost on the part where u said that about TWRP. So having TWRP, I can't update via OTA, but I can flashed the OTA zip along with SuperSU and DM verity zip? via TWRP? But as mentioned by OP I can't install OTA zip thru TWRP.

Anyway, I flashed a stock recovery but when I access the "flash via internal storage", it does nothing, I selected it, press power button, it just vibrates.