yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] _DarkKnight_:
I have installed the current version. Twrp is waiting for 30-60 seconds on the opening screen and then it opens. I did not find a solution to the problem
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] uaiclout:
Change lockscreen password (on fingerprint it's called backup password or sth like this) - im not 100% sure but I thought this works

Edit

http://xdaforums.com/oneplus-3t/development/recovery-twrp-oneplus-3t-t3507308/post69852609

I think he said that this worked
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
[MENTION=5672995]jcadduono[/MENTION] another thing I noticed is, while transfer from phone (f2fs) to computer was pretty fast, transfer back from computer to phone (ext4) is terribly slow. i get about 200kb/s. Judging from gnome transfer statistics, it seems like it takes a long time for each file. I yet have to get to the big files (aka TWRP backup), but is it possible that each file created generates an overhead of nearly 1 second?

edit1: might also be an issue with my mtp implementation. I use gvfs-mtp 1.30.3-1 and libmtp 1.1.12-1. since i trust gnome and arch linux is usually pretty up to date, i doubt this is it, but wanted to leave this here.

edit2: as expected, big files transfer extremly fast. so each file generates a lot of overhead.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] uaiclout:
Same here - big files are very fast

I've finished in about 45min (12gb)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
I tried this. I actually have another lock-screen-password than the password for decrypting data. so thats not it.

---------- Post added at 02:04 PM ---------- Previous post was at 02:03 PM ----------

what rom are you running and where are the log files for the dev to look into this?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] tfae:
OK, it seems that my device keeps encrypted.

And I keep with the f2fs on data partition.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] uaiclout:
I also tried it (a moment ago):

I changed my lockscreen password and rebooted system - it asked for password - I entered my new one and it did boot successfully

After that I rebooted to TWRP - entered my new password - failed - entered my old password - failed

Reboot to system did work again

I'll try again and later on PC I'll look for logs

Edit

OOS 4.0.1

TWRP 3.0.3-1

Edit 2:

I changed back to my old password and TWRP was able to decrypt
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Seems the mtp implementation is buggy: I'm on gentoo, not arch, but also libmtp-1.1.12. The direction linux-box -> phone was always (used that first with libmtp-0.9.something) slow. Just crosschecked with my sisters win10-pc: not really fast (about 1,3MB/s) but 6 times faster then on linux.

My workaround: since I use 5GHz ac wifi (have done that for a long time with n wifi also), I use rsync on devices shell to transfer files from and to my linux box. Average on oneplus3t is about 8MB/s for downloads and about 3.5MB/s on uploads.

There are some graphical frontends for rsync on playstore - I prefer cli, YMMV.

If you are a cli enthusiast, but use a rom without rsync on board (like oos), I've attached cm-14.1 rsync. Just unzip place it in /system/xbin (remount /system rw, use root enabled browser or from twrp), change peemissions to 0755 and havw fun.

BTW: you can tunnel rsync via ssh (if you are on the road, and want to access your linux-box's files), or you can script it, and trigger with tasker, if your home wlan is availeble... You can add --partial to continue interrupted transfers.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
thanks, thats a brilliant idea. and yes, cli enthusiast of course.

---------- Post added at 03:00 PM ---------- Previous post was at 02:56 PM ----------

thats very odd and might be an issue in TWRP indeed. thanks for the heads up - i refrain from changing the password for now. This might also explain the issues some people reported here.

still, i tried to change the encryption password through changing lockscreen password on a wiped system and didnt succeed. maybe because the old lockscreen password (none) didnt match the current encryption password.

didnt think me changing from f2fs to ext4 raises so many questions here. worked btw, on ext4, no issues so far.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] knpk13:
The lockscreen password is unfortunately tied to the decryption password. However, some custom ROMs like halogenOS (not available for this device yet) claim to offer the option to choose a decryption key separate from the lockscreen password.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] uaiclout:
I changed back to my old password and TWRP was able to decrypt

Logs will follow within next 2h

Btw:

There is an option when changing lockscreen password "ask for password on boot"

Maybe changing password and say "no don't ask" - reboot - change password and say "yes ask" will solve your little "problem"
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] keiner99:
i flashed the newest TWRP v3.0.3-1 but evertime when i flash a zip (Gapps or aptx drivers for example) i have to reconfigure the phone, it's starts with language selection and so on.. is there a solution for this problem?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] hvashar:
+1, facing the same issue.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Crazy32:
same problem here... not solved yet :crying:

---------- Post added at 03:51 PM ---------- Previous post was at 03:38 PM ----------

the problem is, somebody said "use the newest twrp version" but i have the problem with the newest version. and i´m not alone with this problem.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Nobody can "see" automagically what's going on on your device. It woupd be helpfull, if you provide recovery.log (from directly after flashing a zip) as well as a logcat from first boot to system.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
what rom are you using? and can you provide logs with

adb pull /tmp/recovery.log
adb exec-out dmesg > dmesg.log

(as in the signature of OP)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] uaiclout:
I pulled following logs after entering my new password followed by my old password

qseecomd doesn't do anything - I breaked after 10 min

[MENTION=5672995]jcadduono[/MENTION] looks like a bug on TWRP 3.0.3-1

After changing lockscreen password TWRP isn't able to decrypt

After changing password back twrp does decrypt correctly

(/data ext4)

(OOS 4.0.2)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jcadduono:
Not something I can fix in TWRP unfortunately, your only option is to complain to OnePlus.

Update: actually, according to your log you just didn't read the first post and there's nothing wrong. You simply just didn't flash the zip to change TWRP to Ext4 decryption.

This should not have anything to do with your password, it's simply that you can't decrypt ext4 /data when using f2fs decrypt enabled TWRP.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] xclub_101:
Used 3.0.3-1 on stock 4.0.2 (encrypted with password) and it worked perfectly installing SR3-SuperSU-v2.79-SR3-20170114223742.zip, and for the moment I did not even install TWRP itself, I just run it manually when I want it as "fastboot boot twrp-3.0.3-1-oneplus3t.img" :)

Thank you very much!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] keiner99:
i installed official RR 7.1.1 from 12. January, after this aptx and it was like a "fresh installation"

attached the recovery and dmesg logs
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jcadduono:
theres nothing about installing anything anywhere in these logs, zero visible issues
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] keiner99:
what log would help then? do you know the issue?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nadejo:
guys. im highly confused.

i have oneplus3t and want to use official rr rom.

currently im on all stock. 4.0.2

after removing my lockscreen password, gesture, fingerprint or whatever and enabling oem unlock in devoptions.

1.can i simply unlock bootloader (and automaticaly change the encrypted data(stock is f2fs i guess) to decrypted f2fs) durring the unlock process?

2.after this can i simply flash latest twrp and official rr + latest gapps.

or is there some mindmelting hacking process required?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] kgiorgionek:
Sorry guys but I can't understand why i need to reflash every time the recovery or i have screen black. I tried twrp-3.0.3-1-f2fs-backport-oneplus3t with no luck...help please

Inviato dal mio ONEPLUS A3000 utilizzando Tapatalk
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] _nKo_:
The same here. I tried it but it doesn't solve my problem. The only way I have to enter recovery is via adb
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] rgb2017:
Edit: problem solved. Used unbricking tool.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jcadduono:
see post #1 and #2 of this thread...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] zige:
Also same and i have seen many reports for same issue on rom threads. Only way boot to recovery is with fastboot boot twrp.img .
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nishant.gaidhani:
RR ROM and enter in TWRP factory reset ROM

I've tried multiple things and also updated the TWRP to latest but this is what happening.

1. Install TWRP from fastboot and boot into it.

2. Install Stock ROM 4.0.1

3. Install RR ROM and GAPPS

4. Reboot and complete setup

5. Reboot into TWRP and screen goes blank. In latest once I saw it booted in TWRP but next result is same.

6. Reboot back and you see ROM is factory reset and it starts into initial setup. Some applications FC

TWRP version used is 3.0.3.0 and later upgraded to 3.0.3.1

Looks like even if you just boot into TWRP, device factory resets and all apps are gone.. Some preinstalled apps FC
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] owngaurav:
Hi.. This is what I have... Factory reset OOS beta1... Wipe everything... Than fast boot n install Twrp rc1.. Root and wow..M rooted and now when I installed beta 2.. Everything is working good.Only problem I am unable to transfer filed between computer n mobile in recovery.. Help please
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] LampunVarjostin:
All,

Would it be possible to someone create a guide how to Root + TWRP your phone WITH Encrypted data and without loosing it and keeping it encrypted.

What passocode to put etc :)

Thanks all.

~LampunVarjostin
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cultofluna:
Read on the first post the section

" Why my screen turns black and twrp doesn't boot "

You will find there the solution ....

---------- Post added at 09:02 AM ---------- Previous post was at 08:41 AM ----------

Why are you using this twrp?..Does your ROM using the f2fs backport drivers?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] AndreiVolk:
Hi guys, i am now on OOS 4.0.2 and it seems all ok but after i flashed the rom + supersu 2.79 when i rebooted to system twrp said that i had no os installed. I swiped to reboot anyway and twrp frozen on that screen. Then i powered off and on the phone and it booted normaly. This happened other times to me like when i tried to flash OOS 3.5.4. Only when i flash OOS 4.0.1 this doesnt happen. I also noticed that when i flash supersu 2.79 after OOS 4.0.1 the flash operation shows more istructions while when i flash it after 3.5.4 or 4.0.2 it shows less instructions and finishes quicker. Any clue of what the problem could be ?

EDIT: I just installed titanium backup and i noticed i'm not rooted. Wierd :S

EDIT 2: I downloaded again supersu from op and i was going to try to flash it again but now i have stock recovery. This is the second time i lose recovery. It seems to happen when i get that no os installed screen and twrp freezes. Can someone tell me what i'm doing wrong ? I think is because supersu doesnt flash correctly but i don't know how to solve it :/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] _DarkKnight_:
I use FreedomOS. I was having the same problem with stock rom. How do I find the log file? I do not know much Sorry
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] harsh2193:
I flashed TWRP (3.0.3-0) on my OnePlus 3T and used it to update to OOS 4.0.1 and root (SuperSU) without any issues. Now if I try booting into TWRP it asks me for a password. Neither "default_password" or my pin work and it says "decrypting failed". Afterwards, I cannot access the sdcard within TWRP.

Updated to TWRP 3.0.3-1 via fastboot and still the same issue. The only change I have made on the phone (from stock) is unlock bootloader, flash TWRP (as stated in instructions of OP), upgrade to OOS 4.0.1 (without any issues) and root. I have not changed the filesystem.

Is there no way for me to just flash a file without decrypting (like I did before)?

EDIT: Fixed it. Apparently disabling the "Ask for PIN before booting up" option removes the password prompt in TWRP. Had me confused because despite it being disabled, I still keep getting asked by the system for my pin at boot.

EDIT 2: Updating screwed the whole thing up. Had to factory reset. Found out about this workaround (https://www.androidexplained.com/oneplus-3-fix-twrp-restore-unlock-bug/) if anyone wants to give it a go.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nadejo:
So if i understand this right. Any current cm/la based roms need the f2fs backport recovery in case we use f2fs on data partition. Am i right? And using oos based roms we need the official recovery.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cultofluna:
Install latest twrp ( 3.0.3.1 ) via fastboot and then flash SuperSU to root ...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] keiner99:
nobody else with the issue when you flash any zip that recovery does a factory reset like a fresh installation with the current rom? installed the newest twrp via fastboot again and same problem..

Any ideas what can i do to solve this issue?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] nadejo:
If you use f2fs on data and on non oxygen based roms allways use f2fs backport recovery.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] AndreiVolk:
It's what i did and it works but it sucks to lose twrp everytime i flash a rom.

In the attachment you can see how supersu flashed the second time and it worked. The first time i flashed it, when i lost the recovery, it didn't do that "boot image patcher" thing but it didn't give me any error either. Can anyone tell what's the difference between the two installation methods ?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] buatlo:
FYI,

Today I was installed 4.0.2 with twrp 3.0.3.1 beta 1 with result bootloop event I tried reflash.

Then I was updated twrp 3.0.3.1 rc 2 with result successful...
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cha0zine:
Maybe a stupid question but do I have to decrypt the phone before using TWRP or can I just keep my phone encrypted, unlock the bootloader and flash TWRP?

Thanks!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] AndreiVolk:
In the OP there is the link to the 3.0.3.1 stable. You can also get it via twrp app ;)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] B3501:
Does anyone else find that after restoring a ROM, the CPU usage runs constantly very high? The phone runs hot and battery drains like crazy. This is only after restoring a ROM and I don't even have any apps installed?!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] uaiclout:
Unlock bootloader will delete all your data so you won't be encryption after that

(But TWRP is able to handle encrypted phones)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] zige:
That solution wont help. I have tried with official twrp and with backport version but always black screen. This is driving me a crazy. Only thing which work is fastboot boot-command which will get me to recovery. Whats funnier, that guide should be for f2fs users but im using ext4 and still not working.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
If you read the thread you'll find you are not alone.

logs, please.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] buatlo:
Hi,

Is it latest updated?

Today I was tried to flash 4.0.2 running well... But when I had version 3.0.3.1 beta bootloop
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
From OP:

I'm confused: is official twrp-3.0.3-1 build with stable or backported f2fs?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] DDragonDD:
i flash last twrp -3.0.3.1 on OOS 4.0.2 (nothing changed-clean os) (unlocked bootloader) and after command twrp boot it stoped on twrp logo (i was waiting 20 minutes). Any ideas why?

EDIT:

ok after turn off phone and boot twrp again it is working with root. I hope that with any errors because of failed first twrp boot.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] harsh2193:
Has anyone tried this workaround?

https://www.androidexplained.com/oneplus-3-fix-twrp-restore-unlock-bug/
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] keiner99:
which logs? i've posted recovery and dmseg log allready

EDIT: i could solve the issue! works now fine with TWRP 3.0.3.1-f2fs-backport recovery :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Sorry, man. I've really not seen them. Will search now. Sorry.

I'm happy it's working now! (Surely, I would have screemed, when this had happend to me, when testing diffrent camera builds - about 20 to 25 zip flashes... 20 times first-time-installer...) ;)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cultofluna:
This twrp uses f2fs decryption...Did you try the zip to swap from f2fs to ext4?....It's on the first post.....
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] jcadduono:
This is fixed in TWRP 3.0.4, actually the reason it's happening is because of linux file capabilities.

Until Nougat, the only file that ever had capabilities set was /system/bin/run-as.

It seems that some services have gained a few capabilities mostly related to net now, so Dees_Troy had to add unix capability backup/restore to libtar.

I don't really have a solution until then other than to make an unofficial build with these untested, possible going to change fixes that could break restore of any backup made previous to it.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] AndreiVolk:
Of course i flashed it dude. I never booted directly in recovery without flashing it. I had a galaxy nexus for 4 years so i'm not new to modding. I guarantee u i flashed the recovery. My problem is that i lose it After i flash OxygenOS + supersu. As i said before, i noticed that when i flash supersu, sometimes it flashes in a certain way and does that "boot image patcher" thing (and when it does this it works) and sometimes it flashes without doing that "boot image patcher". In the second case i dont get any error during the flash operation but when i reboot into system twrp says "no os installed" and it freezes. Then i have to power of the phone and i when i turn it back on i am with stock recovery and OxygenOs without root.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
totally makes sense. thanks for clarifying.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] FishyFing:
Kernel sources have been released. I read somewhere that it helps you with making a fully stable version of TWRP.

https://github.com/OnePlusOSS/android_kernel_oneplus_msm8996/tree/oneplus/QC8996_N?files=1
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Midomad:
Let's see :)

Too mutch trouble with twrp for op3t compared to nexus device!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] joco1114:
Same problems. I cant start it manually (vol+ and power), cant start from bootloader menu, but working by fastboot command... Interesting: I got stock recovery.

Bootloader is open, twrp installed correctly.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] mad-murdock:
It's basically the same. Only complexity added is thanks to f2fs and hardware encryption. It's not that hard to comprehend honestly. Recovery took a while to be clear, but now it's very transparent and comprehendable by reading the entire first post.

Hardware got more complex, that's why, not because of TWRP or because of OnePlus
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
*lol* that one gave me a real good laugh...

So we can blame Mr. Moore... (can't stop laughing... so many pictures in my head: holding the PDP11 at my ear...)

You are so damn right, dude!
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Primokorn:
Exactly! Coming from a Nexus 5 there are several things to learn before modifying such a device.

BTW I've just received my OP3T and I have a few of questions:

• What is the 'right' moment to switch to ext4? I guess after installing TWRP and before installing a custom ROM.

• When do we have to flash the no-verity-opt-encrypt zip? I know it has to be done at step 10 but do we have to flash it later (while flashing a new rom, after a full stock ROM installation, after upgrading TWRP...)?

• Here are below my own instructions (using OOS 4.0.2 full stock atm). Did I miss something?

1. Follow the instructions from OP up to step 9.

2. Flash the no-verity-opt-encrypt zip (since I don't want SuperSU)

3. Nandroid backup of OOS 4.0.2

4. Wipe everything but internal storage

5. Switch to ext4 from TWRP

6. Flash a custom ROM + unSU + Magisk + microG unofficial installer

7. Reboot and install Magisk from Play Store

8. Open Magisk to install Phh's Superuser zip

9. Install Phh's Superuser apk

10. adb push my Nexus 5 TiBu backups to the OP3T

11. Restore my Nexus 5 user apps
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Looks good. Personally, I wouldn't restore user apps across devices. On the other hand, it does no harm to try - factory reset is your friend, if you run into issues with restored uswe-apps.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] HeXDeMoN:
Let's back up here , exactly what ROM are you flashing? Are you flashing full ROM or just partial OTA update? What's the file size of the ROM ? What SuperSU are you flashing?
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] AndreiVolk:
OOS 4.0.2 full rom, 1.4 Gb size, supersu 2.79

Inviato dal mio ONEPLUS A3003
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] Primokorn:
Yep but I have some apps that are using local data like Macrodroid (40+ macros to create), podcast and RSS feeds, reminders...

What about the no-verity-opt-encrypt zip? I think that's the last thing which is not clear in my mind :)
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] :
Can someone jump in, please? Since I've always used SuperSU, I've only read about no-verity-opt-encrypt.zip, but I belive you have to flash it after flashing the rom - but again: that's third hand knowledge.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] cha0zine:
So just to make sure, if I unlock bootloader the phone will be decrypted, right? After unlocking bootloader I flash TWRP and after that how can I get encrypted again?

Thanks for your patience.
[OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve] HeXDeMoN:
Flash full size stock ROM will replace your recovery, so that's normal to "lose" TWRP when you do that. I would suggest redownloading the full ROM in case you got a bad copy. Also make sure your using latest TWRP and SuperSU. Flash full ROM , install recovery, flash SuperSU and then you restart to system.