yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
Hi,

I came from the oneplus 1 and I received the 3T just yesterday. Want to Root it..

In the Oneplus1, twrp, custom roms and everything works like a charm..

what's happening in this post?? Isn't this TWRP perfect fit for the 3T?? Why so many "errors"??

If i follow the page 1 steps i will not be able to unlock and get Root? i only want Root with twrp and custom rom's..

If i root the phone i can't have the stock rom with stock kernel? have to install another after rooting?? so many doubts....

and what's that dm_verity everyone is talking about??

Should i proceed rooting or should i wait a few days??

thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] marcel1337:
The world has not stopped turning, that is what happened :D

All what you want is working, Root with twrp and custom rom's. Just disable PW/Pattern before backup via TWRP ;)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
Marcel 1337,

What have you tryed to tell me? i should follow the page 1 steps tutorial with no problems?

and what do you mean with "Just disable PW/Pattern before backup via TWRP" ???? Are you saying to disable any password or pattern before trying to root? but in step 9, don't i need a password? i don't know the "stock" password..

thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] marcel1337:
Hi storm_me

I wanted to say that it is normal that there are some problems with new devices here and there. It's just a matter of time until all the problem will be fixed.

Oh sorry, the point 9 is new to me. I mean before creating a backup with TWRP, disable your PW / Pattern. If not, there may be problems with the restore. That is what i had with my backup.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
Hi,

So i should have a password before root and unlock right? if i want to make a backup i should disable it!? is that it??

i have 3.5.3. and that dm-verity and forced encryption disabler is to be installed or not?? just the SU? i don't understand that decrypt/encrypt thing that everyone is talking about..

@ oneplus forum they say we have to install dm-verity... "https://forums.oneplus.net/threads/guide-oneplus-3t-how-to-unlock-bootloader-flash-twrp-root-nandroid-efs-backup-and-more.475142/page-5".. because of boot loop.. but if we install superSU is it dm-verity necessary???

I just don't want to brick my phone and don't know what to do... :(

thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] kyron:
Does anyone have the zip file for the stock kernel? I tried to flash the one in the link that takes me to GitHub but it does not work.

Thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] marcel1337:
I have done these steps and did not need a password, it worked for me.

Point 9 did not came up and i had a fingerprint set.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
Marcel1337, thanks for all the help for start..

My biggest concern is that dm-verity thing and that encrypt/decrypt that everyone is talking..

do i need to flash that dm-verity after iinstall twrp or i just need superSU??

don't know if i try to root now or wait..

thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] marcel1337:
No problem ;)

If you root with SuperSu you don't need the dm-verity and forced encryption disabler zip. I also didn't flash it.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
Ok Marcel1317..

just one more thing..

after rooting witout that dm-verity, i am able to continue with OOS 3.5.3 but Rooted right?

also, i can make nandrois backup, install custom rom's / kernels that i wan't with no problem? right?

thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] marcel1337:
Yes i did it the same way and wait for the first customRoms.

nandroid backups and custom Roms, yes it works for me also, i am on RR now. Kernels i don't know, didn't try one.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
Ok Marcel, guess i'll try soon..

about the kernel's, you said you are with RR Rom.. the sultan..ized one? it says ir brings a kernel with it for what i understand.. but ok.. ir everything works fine, fine for me..

that dm-verity si still bugging my head but ok.. @ oneplus forum, they say we need to install it...

thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] lindahl85:
Anyone else that gets a 32GB device after decryption? I can´t get my 128GB not to shrink. Unbrick tool is really useful if it happens to you.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] marcel1337:
I had the same problem, with my OnePlus2 it was not.

I tried to find an explanation with google, I've found:

dm-verity – validates the data blocks contained in a file system against a list of cryptographic hash values, developed as part of the Chromium OS project[

source: Wikipedia

> The verity target provides transparent integrity checking of block devices
> using a cryptographic digest.
>
> dm-verity is meant to be setup as part of a verified boot path. This
> may be anything ranging from a boot using tboot or trustedgrub to just
> booting from a known-good device (like a USB drive or CD).
>
> dm-verity is part of ChromeOS's verified boot path. It is used to verify
> the integrity of the root filesystem on boot. The root filesystem is
> mounted on a dm-verity partition which transparently verifies each block
> with a bootloader verified hash passed into the kernel at boot.

souce: LWN.net

If anyone can explain exactly what it is, please write it here.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Michalko5896:
try formatting data

dm-verity should turn off when bootloader is unlocked, so I wouldn't be worried .
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] lindahl85:
I´ve been trying so much.

http://xdaforums.com/showpost.php?p=70071957&postcount=70
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Michalko5896:
Try formatting via twrp
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] lindahl85:
Tried that too.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
Marcel 1317 or anyone,

@ step 7 of the guide, when you do " fastboot boot twrp.img ", isn't supposed the phone to reboot? and go to recovery?

How do you complete the guide if the phone reboots?

thanks
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] casual_kikoo:
You have to enter this command while in fastboot mode. So, you

fastboot flash recovery twrp.img

then directly

fastboot boot twrp.img

this will make your phone boot using the .img passed in argument. in this case TWRP, and preventing the system to replace the new TWRP recovery by the stock one. So your phone shouldn't reboot into system but in recovery.

---------- Post added at 21:08 ---------- Previous post was at 21:04 ----------

Have you checked Android Open Source Project site ? https://source.android.com/security/verifiedboot/

If I understood right, dm-verity is a way to check either if a partition is intact or modified (by hash method). In our case (Android), the boot process checks with a hash method if system is modified or not.

(Feel free to correct me)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
Here, read this for more info:

https://www.xda-developers.com/a-look-at-marshmallow-root-verity-complications/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] someone0:
First, the dev who port TWRP to OP3T do not have OP3T.

Second OP screw up by shipping OP3T w/ OOS 3.5.1 instead of 3.5.3. A lot of people, me included, couldn't get into any custom recovery. Probably the first 5 pages are dealing with just that. Then you have to account for people who can't read and/or follow instruction. Then there is tweaking like F2FS vs ext4 partition.

---------- Post added at 09:32 PM ---------- Previous post was at 09:24 PM ----------

Why bother? I thought about doing FDE last week, then I figured. Screw it. I mean isn't Nougat coming soon, like this month soon? So things gonna get switch to FBE, right. So, I'm not gonna deal w/ the FDE and all the problem that goes along with it and its process. I'm just gonna look forward and have FBE and deal with that and the future problem instead. Not gonna try and have a headache for something that is just temporary.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] lindahl85:
FDE? FBE? I use both nougat and marshmallow.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] xanthrax:
[MENTION=2553042]someone0[/MENTION]

Post properly please , FDE/FBE... What are you talking about?

Sent from my Darkside of Oneplus 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
I'm pretty sure he's talking about the two different types of encryption, file based (FBE) and full disk (FDE). I thought they were optional on MM and N.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SourPower:
Quick questions, so it doesn't decrypt for me. I'm on 3.5.3 but what I've been doing is just disabling the pin and security before booting twrp, it doesn't ask me then.

I always re-enabled the same pin, do I need to change it from what I use all the time to be able to decrypt with security still on?

And what is the default pw for twrp just for future reference?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jcadduono:
the default password is... default_password

twrp tries that before putting up a password prompt

if your pin doesn't work, i dunno why that would be... try setting an actual password, see if password works, then go back to pin...either pin might start working, or the password will work while you have the pin, or nothing works and encryption is a nightmare
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Uqbar:
Would you please mention the current version number (3.0.2-0) in the OP title?

This would ease the readers. Just a hint.

Thanks a lot for your great work.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] SourPower:
so ive tried to change the original pin to something else and it didnt work. i also tried to change it from pin to password and that didnt decrypt either.. so its not a big deal for me but ill just set the security off when i need to get into recovery..

also going to ota to 3.5.4 so many something may fix too....
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] pratyush28:
Hey guys just got my 3T today it came with oos 3.5.3 by default and i havent set any password or pin ..can i flash twrp without password ? Has anyone tried without setting password or pin. Can anyone confirm this cos i wont want my brand new op3T to become a brick.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] imputazz:
Same problem :(
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] lindahl85:
This will fix it for you.

http://xdaforums.com/oneplus-3t/how-to/unbrick-unbrick-tutorial-oneplus-3t-t3515306#post70068373

My phone can´t be decrypted from fastboot command without shrinking to 32GB but it works to format data from the multirom version of twrp, then flash a new rom with gapps and the latest version of SU.

It start from post #42 in this thread

http://xdaforums.com/oneplus-3t/development/unofficial-multirom-v33-oneplus-3t-t3511160
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] someone0:
MM does not handle FBE. Although there are some project/apps can do some FBE in android previously, they usually work with limited functionality or required some sort of modules which needed to be compiled for each kernel. And thing usually get broken for each iteration of OS upgrade. While I have not have any experience with the Android N, I would hope it works better. But the most important is that it's official and it's the future to look forward to. I'm definitely not interested in working so hard to get FDE working, when FBE is right around the corner.

[source]
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] alvin182:
new twrp-3.0.3-0-oneplus3t.img	17.7M	2016-12-16 13:10:09 EST

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

changelog?:rolleyes:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
This is the change. :rolleyes:

https://www.xda-developers.com/team-win-releases-their-first-official-twrp-app-in-the-play-store/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] RohanAJoshi:
[MENTION=5672995]jcadduono[/MENTION] : is there any way you can support oneplus 3 ?

Cause currently no maintainer for trwp, left with old twrp which is not booting on latest roms.

We have modded twrp but encryption is not working.

Even with no password at all, twrp ask password and takes nothing.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] l0veysingh:
working like a charm dude ;) :) :D
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] tasar:
I see no changelog, only info for the new app ...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cultofluna:
3.0.3.0??
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] casual_kikoo:
This new version should contains a stripped down version of TWRP App. Check "TWRP Integration" in the article, should answer your question(s) ;) !
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Namolas:
Using the newest 3.0.3.0 I am unable to reboot recovery. When I select Reboot/Recovery ir reboots and hangs at the 1+ sign every time. I eventually have to hold the power and volume down button until it reboots and then select recovery to get back into recovery.

Tried several different times before and after wiping but it hangs every time. Reflashed 3.0.2.1 and the problem doesnt exist. Can anybody else confirm this?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
Are you talking about reboot to recovery from OS or from within TWRP 3.0.3.0?

Edit: Just tested both and I can confirm reboot fine with 3.0.3.0 running on OOS 3.5.4 although I do see a slightly long wait and the twrp flash screen say upto 60 seconds.

Sent from Funk Tuned 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] override182:
Yeah I do get the long TWRP splash screen. for few hrs I thought my recovery was dead so I kept on flashing TWRP. Then I realized it will go pass the splash for like 1minute. Still can survive it.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Namolas:
Reboot recovery from within TWRP 3.0.3.0. It never makes it to the TWRP splash screen. It just sits on the 1+ logo screen indefinitely. Thank you for checking. I'll keep playing and see if I can figure out whats going on on my device.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 954wrecker:
Encrypted it takes twice as long as decrypted to boot into TWRP. Probably the same for every version of TWRP on the 3T.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
Try flashing it again via fastboot or within TWRP flash as an image or may be erase recovery from fastboot and flash it over.

PS I flashed it via twrp app over the previous 3.0.2.0
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
gyus,

i'm at twrp for first time after flashed it.. have to flash supersu but can get windows to recognize phone to transfer file.. what should i do?

solved!!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
TWRP offers you MTP option to transfer any file and then flash it or you can use an USB OTG and flash the desired file.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] storm_me:
thanks funk wizard but mtp wasn't working...

rebooted and it didn't bootlooped.. transfered supersu and flashed it.. all ok till now..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
All well that ends well, enjoy your device [emoji4]

Sent from Funk Tuned 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
Read properly. You'll know what the change is. :rolleyes:

There's no reason to update, if that's your question. The recovery now just prompts you to install their new app. I'm sticking to the multirom TWRP since I use multirom.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Istvan_86:
Hello guys!!!

I unlock my BL and install latest TWRP 3.0.3.0 When I reach step 8 and after boot in TWRP it asks for trigger dm-verity I have doubts about what to do in step 10. I just want root on my stock rom with stock kernel. Currently I´m running ColorOS 3.5.3 just with unlocked BL and TWRP installed.

I just need to install Super Su after swipe right to allow modifications or I also must install dm-verity and forced encryption disabler zip after SuperSU in order to boot?

Thanks in advance.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
Reboot to TWRP

swipe right and enable modifications

Select your preferred Language, Tap Never show this screen on boot again, and Swipe allow modification.

Without leaving TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP and flash it or select it from internal as placed before and flash it (This will also allow you to use [Format Data] to completely disable your encryption if desired)

Go to Wipe section and tap Format Data, and type yes (If you want to mount internal storage).

Navigate to Install Zip and select SuperSu zip to root OnePlus 3T.

Swipe to install SuperSu and reboot your device

PS: Format data would erase everything so either MTP file SuperSU or use an OTG

Sent from Funk Tuned 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Istvan_86:
Hello Funk Wizard,

I have another post where other mate is helping me in Question section, and he says that because I´m rooting my ROM I can forget about dm-verity. I´m totally confussed about what I should do...

Sorry I´m a bit amateur in OP 3T scene...

Thanks in advance.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
Yes if you wish to root by flashing supersu you can ignore it as well however it gives you the edge to stay unencrypted with data on f2fs so I personally recommend flashing and formatting data in the beginning once and for all.

Sent from Funk Tuned 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Istvan_86:
So better flash the dm-verity and forget for ever? I don´t fully understand the difference between both methods and stay unencrypted and what is the real life difference in my daily use (install ROMs, try kernels etc)

Thanks again!!!!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
It's only one method, dm verity only comes into picture if you want to format data and stay unencrypted. Flashing it allows to [Format Data] to completely disable your encryption if desired.

This is optional if you are flashing supersu as it itself takes care of the dm verity bug/splash screen

If you are unaware of encryption/decryption I suggest you just flash the supersu and enjoy root access and a fully functional TWRP

Sent from Funk Tuned 3T
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Istvan_86:
Ok Funk Wizard!!!! I´m going to just flash the SuperSU. Really thanks!!!!!!!!!!!!!!!!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] skeeter123:
TWRP Load time now 04:30ish..

...fwiw....My TWRP load time is now approaching 5 minutes.....:(

76GB Free...two nandoids and about 2GB of video and pics in the device...

3T, O2 V 3.5.4, encrypted....

Going to delete local copies of vids to see if it drops back down to about a minute...

Update_1: No luv....removed all vids, jpgs and dngs.....still 4+ minutes to load TWRP...

thoughts...?

..
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
Its annoying i must say but mine is still better, takes about a minute on the splash screen, you can probably try flashing the recovery again, might work.

fastboot erase recovery

fastboot reboot

fastboot flash recovery (3.0.3.0)

Longpress Power to reboot and use volume key to navigate to recovery and boot in twrp

Might just do the trick
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 954wrecker:
Encrypted just takes 10X longer than Decrypted I've tried both and that's the difference. 2 seconds on the splash for me decrypted versus 20 seconds encrypted.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] skeeter123:
What's interesting (too me, anyway) is that even deleting a fairly large volume of files didn't bring the time down to what it once was.... I'm probably not understanding what's under the hood these days...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] 954wrecker:
The only solution is decryption, I understand you don't like it but it's the truth.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] skeeter123:
No. I get that part... the real question I have is why did it not resolve back to the 1-minute time it was before.... Does that make sense?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mtpx7:
I plan to use supersu and be decrypted, so do I have to wipe data before/after flashing supersu OR supersu will automatically take care of the verity and decryption?

Wysłane z mojego SM-N7505 przy użyciu Tapatalka
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
No no you don't wipe data, you FORMAT data. Then use a zip like SuperSU or a kernel that disables verity and forced encryption before you reboot into OOS. Other Roms don't force encryption, so you're fine there.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] vastac13:
Guys, I'm verifying the steps in order:

1. Flash TWRP via fastboot

2. Boot TWRP then swipe right

3. Flash dm-verity/encryption disabler via TWRP if I don't want to root and just boot straight to OOS

or

Flash SuperSU then wipe-->format data if I want to root and properly boot and not bootloop to OOS

4 Reboot to system

5 ???

6 Profit?

Let's say I want to flash a custom kernel maybe Franco's Kernel in one go. I will do that after number 3 right?

Just making sure all is well because the last time I touched custom recovery is when my Nexus 4 is still alive :D

Thanks to whoever answers or replies to me.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] castaway1:
can i use encryption disabler zip on SU rooted system?

i did use SU first (metod1) as i want make TiBu backup first..then use encryption disabler and format data so i never had to do it again but im not sure if its safe.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
First thing first: dm verity only comes into picture if you want to format data and stay unencrypted. Flashing it allows to [Format Data] to completely disable your encryption if desired.

This is optional, if you are flashing supersu, it itself takes care of the dm verity bug/splash screen

Now if you wish to use custom kernels like franco which i also recommend as the idle is better in custom kernels.

So all you need to do is first update to 3.5.4 there is a thread with instruction here

Once updated,

Flash TWRP

Falsh dm verity zip if you need to decrypt and stay decrypted followed by Format Data (Wipe > Format Data > Yes (If you want to mount internal storage).

Flash Super SU

Flash Kernel or other Mods

PS: Format data would erase everything so either MTP file SuperSU or use an OTG

All Done, you would be on 3.5.4 with Root access and you preferred custom kernel.

Yes you can but you need to format data as explained above which would help you stay unencrypted so do copy your data before you format.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] vastac13:
Thanks for clarification! I guess I should stay encrypted as its performance loss is so negligible, next to nothing.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Funk Wizard:
You can, however you may face the twrp unable to decrypt issue later on if you stay on OOS as its force encrypted on OOS, other CM ROMs are not force encrypted so should not be a problem.

TIP: If you factory reset from stock 2.0 recovery your data partition would be converted to f2fs so you can do so while still being encrypted.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] vastac13:
Wait, wait... How can I factory reset from stock 2.0 recovery? Do I need to flash the stock recovery from TWRP then reboot recovery? Then factory reset from there?

Let me just get it straight, I just want to have a stock OS but with custom kernel. Rooted is not my priority. Can I just flash Franco's kernel via stock recovery? Definitely not but I just want to ask. If no, how without running to issue with TWRP unable to decrypt but still in f2fs file system.

Thanks for bearing with me :eek: