yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] codeworkx:
They way how the passwords are being stored is different between <= 8.0 and 8.1. When jumping between 8.0 and 8.1 a full data format seems to be required.

Copy the backup to your computer before formating or use usb otg.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
I never formatted, /data (incl. /sdcard) survived from OOS > Omni > LOS > OOS.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] codeworkx:
Then create a bug report on twrp.me after you've verified the problem on an official build.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
That may take a while. The current official TWRP build is from 12/28/2017 and it can't read both 8.0/8.1 encryption.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Ippolito1971:
Since our display res is 2160 x 1080 what did you use?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] ysco:
Hello mate,

I attached three twrp themes that work on 5t.

Credits to the developers for these themes.

Regards ysco..
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Ippolito1971:
Thank you for taking the time to do that!! Much appreciated!!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] ysco:
Your welcome mate :svetius:

Regards ysco..
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] preference:
This TWRP has been the most stable and reliable recovery for me, I've tried them all. Still have not run into issues flashing anything.

On another note, Wish there was a nougat based Android stock rom, Oreo has been a really **** experience for me. I just want a nougat rom that is 100 percent compatible with substratum. If anyone has a suggestion please hit me up with a reply.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] devil188:
Still not able to decrypt any data in recovery, even with the universal one. What do I have to format to 'start from scratch'? Only userdata? Kinda bugs me that every time I want to flash something I have to remove all the security measures.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
You have to re-format /data from the stock recovery. Guide here with links:

[How To] Revert to 100% stock OOS from Oreo 8.1 | Restore factory encryption
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mrcigi:
Format data, then Flash back to stock, let it re-encrypt. Then stay encrypted and you can flash between roms without removing "security measures"
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] AnnonZerp:
Can I use this version with nougat as well?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] codeworkx:
Might work but will maybe fail because of old firmware
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bikeaholics:
What did I wrong when I am not able to make a backuo because the partition could not mounted? I camera from oos b1 flashed your universal, did a Backup and it worked. The flashed omni, gapps, magisk. Them wanted to flash lineage and wanted to do a backup the the error is shown. Thanks a lot

Gesendet von meinem ONEPLUS A5010 mit Tapatalk
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] free-sidux:
How do you do that? You copy the data to a USB-C-Drive, and then? How to mount the Drive on TWRP?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
I use TWRP by codeworkz and mounts usb drive automatically when it is plugged in. I even backup my phone to the USB drive
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] chas123:
I got the same 255 error trying to restore. Log attached.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] aj38584:
You can flash this recovery over another via app name "flashify" ..it is working flawlessly..
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
You can also flash recovery IN recovery without a 3rd party app.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Cheesethief:
Which version of TWRP would you guys recommend then using with Nougat? Have been using Universal with 8.0/8.1, but I want to go back to a rooted stock nougat rom for a while.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Jamie_oppo:
I need some help.

Im on ob1. I created a backup and with system image not system.

I flash some roms with no variety zip etc and they booted. Only way for them to boot was with that zip and I decided to restore my backup.

the firmware was the exact same (ob1)

The restore worked perfectly.

But I cannot decypt data anymore?

I've used the same universal twrp to backup and flash all these roms with no problems. Also when I did the backup I removed my pin.

I have a 3x3 pin but when I boot into twrp. It asks for a pw. So I changed my pattern to a password and typed it in twrp. Error , then it asks do u want to make mods or keep system read only.

I know format data will probably work but I don't want to format data. Can yous help?

Edit: when I remove the pin after restore I'm able to decypt data. weird. So after restore I'm not able to decryot with a pin?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
Yes, this is a known problem. The only way I know to fix it is to re-format data with factory encryption using a stock recovery, which probably won't be worth it to you. As you say, removing lockscreen protection before entering TWRP works fine.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Jamie_oppo:
That's annoying. So nothing else will work, flashing dm verity or formatting data in twrp doesn't even work that's going piss me off.

I think I'll go through this big process when the official oreo comes out as we need a clean flash anyway.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] zanderzone:
Hey guys, need some help

I cannot seem to boot into recovery after I boot into system. I know I need to boot into recovery atleast once right after flashing and I am doing it, however, as soon as I boot into system, default recovery takes over. Can anybody help ?

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery "C:\Users\ULTRABOOK 840 G1\Downloads\twrp-3.2.1-0-universal-codeworkx-dumpling"

target reported max download size of 536870912 bytes

sending 'recovery' (25256 KB)...

OKAY [ 0.588s]

writing 'recovery'...

OKAY [ 0.238s]

finished. total time: 0.831s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot "C:\Users\ULTRABOOK 840 G1\Downloads\twrp-3.2.1-0-universal-codeworkx-dumpling"

downloading 'boot.img'...

OKAY [ 0.588s]

booting...

OKAY [ 0.015s]

finished. total time: 0.608s

Phones boots into TWRP fine. At this time I can repeatedly reboot phone into TWRP from TWRP reboot menu, however, as soon as boot into system and then try to reboot into recovery, default recovery take over
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
I've seen several users report that they've tried formatting /data in TWRP with no effect. My understanding is that it's because the issue has to do with encryption key storage, not encryption of the partition itself. So yes, waiting might be your best bet.

Then again, TWRP might be updated to handle OOS's method of encryption key storage.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
Are you running stock OOS unrooted? It will always flash back to stock recovery on boot.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] zanderzone:
Yes, I am running stock OOS Oero Beta without root. I have been able to get TWRP working with this before. Today I wanted to re-flash a kernel hence dirty flashed the ROM and since then not been able to use the recovery. What are my options?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] gwolfu:
flash Magisk on top

recovery won't get overwritten then
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] zanderzone:
Awesome, much thanks. This should be somewhere in the FAQs. Worked
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mad-murdock:
Don't mix up not being able to mount /data with not being able to flash files. If you cannot mount /data there are 3 workarounds I know of to flash files anyways. Most flashable .zip files do not need access to /data to successfully flash anyways.

Use a OTG Cable and a USB stick for your backups and files to flash. Has added advantage of keeping your internal storage free

copy files to flash with a root enabled file browser to /cache. you can always access /cache without issues. just remember to delete files after flashing.

there is always adb sideload. while it requires a computer to send the files via sideload to your android system, it is a fallback that always works.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] kanekz:
I am in a situation where I wiped internal data and no rom on the phone. I am trying to move files from my pc to internal storage on the phone while connected in TWRP, but it wont work. Can i still adb sideload a stock zip? What are the commands?

I tried with this command and got: adb push (name of fie).zip /sdcard/ob1.zip

error: device not found
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] eljefe27:
Download op's recovery and use https://xdaforums.com/oneplus-5t/development/tool-tool-one-driversunlocktwrpfactory-t3706840 to flash it
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] kanekz:
I have Codeworkx TWRP on my phone, but i cannot paste files onto internal storage or even use ADB command to sideload.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] eljefe27:
Try reflashing it
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
Format /data with stock recovery, then boot TWRP and try to push & flash the ROM.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] FBI Surveillance Van #23R:
I'm getting my 5T tomorrow and I want to flash a custom rom, I won't be staying on stock.

My intention is to do the following:

1)Unlock bootloader

2)Flash Oreo beta 2

3)Flash THIS recovery

4)Boot into recovery and wipe /system, /data, /cache & ART

5)Flash ROM

6)Flash GApps

7)Flash Magisk

8)Flash Kernel

9)Reboot

Did I get the procedure wrong?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
I do magisk after the kernel. Might have magisk issues if done the way you listed above.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] FBI Surveillance Van #23R:
I do the same but I saw some people saying they were flashing kernel after magisk and I thought well, ok. xD Guess I'll flash first kernel then magisk, it's the best imo.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Nosferatu.:
I'm currently on Blu_spark's TWRP. Just go into his recovery, flash the universal codeworx TWRP, and reboot recovery correct? By universal this will work for OOS and AOSP based ROMs whether 8.0 or 8.1?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mad-murdock:
Your /data partition might be in a limbo state. Try mounting it under mounts. Does it work? If not, try formating with twrp. Wipe->advanced->format (or similar - just out of the top of my head). You can encrypt it again later when all is done.

About sideload, on PC it is "adb sideload file.zip" while in recovery you have to be in sideload mode. I think its under advanced. File will be flashed without storing on your device. Internally its copied to /tmp, flashed and deleted.

You can always adb push to /cache or /tmp and flash from there if /data makes trouble. But I would resolve the trouble first. You CAN do what the doctor said (lol, nice phrasing), but you also can do what I said above.

For encryption later: Install everything to your liking, including setup of a PIN and fingerprint, once you are done go to settings->security&location->encryption&credentials->encrypt phone. It requires a charger to be connected and your battery above 90%.

Hope this clears all your questions

Since Magisk does changes to the kernel (thats how it is systemless - its all done and included via kernel or more correct /boot partition without changes to /system partition), I agree with kernel first.

Not knowing what ROM you flash, you should reboot to system and do the first time setup after flashing gapps. Then reboot to recovery, flash kernel, reboot to system. Then reboot to recovery, flash magisk, reboot to system. From my experiences flashing magisk with the ROM creates an unbootable system. So reboot in between. Same goes for kernel, without testing, I would reboot once to be sure.

Yes, it is universal. Even though the doctor found a case with OOS where even this recovery fails decryption, its the best we have and for most cases it works.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Nosferatu.:
I'm only changing because the OB 2 beta every post that is successful has this twrp and those on Blu spark have a boot loop.

As long as I remove encryption before booting into recovery (eg pin and fingerprints) it's a non issue then yes?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] FBI Surveillance Van #23R:
:eek: That seems weird. I never had such problems on the Nexus 4, Nexus 5 and Nexus 6. Why is that though with 5T? It almost resembles a Nexus. Got any more info and/or personal thoughts on this matter?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] musicman5844:
Device will not recognize otg cable to flash drive ,,, pc to device good ,, pc to device in twrp is also good any ideas codeworks recovery aicp rom one plus 5t
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] daudikava:
My device can recognise flash via OTG when in TWRP, I am using the universal version by cordworkx. But in the ROM itself while using the phone I cant read OTG device
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] musicman5844:
Mine want read it either on rom
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mad-murdock:
Works for me. Both in TWRP and in ROM. Make sure you mount usb-storage under mount menu option. If it does not work, check if its formated right on a PC - or get a better OTG cable :)

This is not nexus 4 times anymore. We got safetynet for example. In the old days, root solutions did not have to hide and do dirty tricks. I mean, magisk installs programs - i.e. su - that you can call from system WITHOUT modifying system. That alone is an achievement. If you really want to know, read the magisk install script in the flashable .zip file. I read it a long time ago and it was very educating.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MultiCulti:
guys ... strange thing here ...

i tried today few different rom´s and all was good (always was flashing no verity) ... but now it happens, i can´t flash gapps aroma anymore?! ()was working the whole day till now)

everytime i finish the setting in aroma and go further to flash, the twrp reboots and keeps hanging!? but i can flash everything else, just not gapps?!

anyone any idea?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Dazzel:
It worked fine for me. Flashed this recovery with latest OOS nougat installation, made an backup and afterwards flashed the oreo beta which worked also.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mad-murdock:
Did you try flashing something reasonable? Like gapps nano? There are really many reasons to use nano gapps and install all the rest as user-apps. Especially with a 64GB (or 128GB) /data partition.

Anyways, question remains, did you try flashing a normal gapps package? Since it might be gapps - or aroma itself. Daily build - little tested. Perfect basis for disasters.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] MultiCulti:
hoi ...

yum ... i don't know how it hapend, cause i didnt change anything ... but the gapps condig file was the issue!

I know about using gapps nano/pico ... but i ever used aroma cause i nearly use all the google stuff! :silly:
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] deangoku:
oos beta1 > omni 8.1 > oos beta2, and then I can't decrpyt data anymore, keep telling me password is wrong, I'm pretty sure I enter the right one.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
This is a known issue having to do with the storage of encryption keys. For now you'll have to remove your PIN/password before entering recovery when on OOS. It shouldn't be a problem with ROMs like Omni, Lineage, etc.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] deangoku:
but I can decrypt data before I flash omni 8.1 on oss beta1, is there any solution to make it work again on oos beta2?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] Helhound0:
I'm asking because I'm curious.

How is this and Blue_spark TWRP different?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
You can restore factory encryption.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] bdwilk:
Tired of saying it yet? I commend you sir.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mNiosu:
Hello all,

I read all the comments in the thread but I don't understend why I'm getting the next error when I'm trying to back-up data partition:

failed to lookup tar policy for '/data/system_ce/999' - 'c6ff6447da0c6f92'
I:Error adding file '/data/system_ce/999' to '/data/media/0/TWRP/BACKUPS/972c4804/2018-01-24--10-06-16_Audax_OP5T_O_v10/data.ext4.win003'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/972c4804/2018-01-24--10-06-16_Audax_OP5T_O_v10/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.

I'm on "AUDAX OP5T O v1.0" based on Oreo beta2 with "New Kernel 1.14-O" kernel flashed over. The ROM has root access with Magisk.

The steps I took to get to this point:

1. unlocked the bootloader

2. flashed TWRP "twrp-3.2.1-0-oreo-8.0-codeworkx-dumpling"

3. flashed ROM

4. flashed kernel

5. later flashed TWRP "twrp-3.2.1-0-universal-codeworkx-dumpling"

I disabled all security before backup. Backing up all other partitions (tried some separate back-ups), including EFS, BOOT and system image works fine; only the back-up for data returns the error above .

What am I missing here?

Thanks in advance!
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] aj38584:
Successfully upgraded to oreo thanks..but i lost recovery ..so do i need to reflash it through twrp?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
I'm curious... were you backing up to internal storage or to USB OTG?

Edit: I think it has something to do with either parallel apps or multiple users
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
OOS will always restore stock recovery unless rooted.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] amilcarmonteiro:
Good night, I have some doubts, I'm in oos beta 8.0 beta, and with universal twrp, can I flash the omni? I have the encrypted 5t.

I read that with the encryption I can have problems installing encrypted bluid, is it true? regards
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] aj38584:
I hv its bootloader unlocked ..so don't u think it would be fine to flash through fastboot.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mNiosu:
On internal storage. Should I make backups on an external one?

I think is about parallel apps also as the "999" folder is related to it from what I found.

The question is, is the backup good to restore from or should I disable parallel apps before backup?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] ryand274:
I've also been having issues backing up data with the same error code, shall I disable parallel apps? Is that the issue?
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] amilcarmonteiro:
I have OOS beta 2. How do I decrypt op5t through twrp 3.2.1 universal? Thanks
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] lollyjay:
I think that you need to delete the 999 folder before you make backup
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] tikizondo94:
Wipe, format data, reboot to recovery, flash OOS OB2, root, etc, then flash no_verity v2 LAST. Should be good to go.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
Between OOS, Omni and Lineage, yes. If coming from a ROM that the developers has turned off encryption (AICP, DU, Phoenix), you'll have problems.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] cubandanger05:
What do you mean Phoenix has encryption turned off? I'm encrypted on Phoenix, and able to flash OMNI over Phoenix, and back to Phoenix by restoring a backup without issues.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] the Doctor:
You are correct. I was thinking of another ROM. But you get the idea.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] imGlox:
Hey.

I flashed codeworkx' TWRP from normal TWRP recovery, how can I check that I do indeed have codeworkx' twrp? as the recovery screen looks the same as before.
[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mad-murdock:
It's easy. You enabled parallel apps in OOS. Once activated, a user with the userid 999 is created. Current TWRP cannot backup a /data partition under these circumstances. Google for "OOS TWRP paralell apps 999" and you should find the command to fix this. Just deleting the directory wont really fix the issue, you gotta delete the user.

Sure you can flash TWRP via fastboot. Once you boot OOS, it will still replace recovery with stock version. AFAIK only way to disable this is install magisk on OOS.

They look the same. Its just a rebuild with modified init scripts and userland. You sure know which one you are running - also there is no reason for swapping both.

There might be a difference checking logs after startup. Who knows.
[OnePlus 5T  Questions & Answers] dravingnrv:
Hello, i have a op5t since yesterday and i have a problem with the sound. I hear a noise like a processor sound or similar at the back of the phone. The sound is not loud but i want to know if It is normal. Thanks and sorry for my English.

Enviado desde mi ONEPLUS A5010 mediante Tapatalk
[OnePlus 5T  Questions & Answers] azsl1326:
Not on my phone. Recommend getting an RMA.
[General Questions and Answers] Praks93:
Hello everyone.

Are there other browsers like Samsung Internet that allow for the status bar to be hidden while browsing?

Thank you for the help :)