yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
I have tested the new Chinese build of TWRP that was posted about yesterday. I have tested it and can confirm it's working for Oreo and handles encrypted data.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] burcinkarabacak:
hi everybody

i had a problem about backup. when i want to back up my system. i got an error failed to mount '/system' (structure needs cleaning)

how can i solve. i dont have early back up so i dont want wipe everything. please help me

thank you
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Uhh... Just go ahead and mount /system..... There is an obvious menu for this in TWRP
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] burcinkarabacak:
i cant select "system"
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Pepp671:
Hello all,

I have a small question regarding openrecoveryscript. I tried to use the decrypt command but it wouldn't work as I was still welcomed with a screen to provide my password. My openrecoveryscript looks like this:

decrypt 0000

Do you know if this is a problem with TWRP (I am currently on Blue TWRP) or if I am writing the command wrong?

Thanks a lot,

Florian
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] aydinbahadir88:
USB OTG works ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Yes
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
build today v13

log :

do not need to distinguish between the future whether to use Enable legacy properties for old

zips ps twrp automatically determine Brush or as simple as before!

see :

http://www.shuajizu.cn/forum.php?mod=viewthread&tid=18235&extra=page=1&mobile=2

link :

https://androidfilehost.com/?fid=745849072291690085
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] marko94:
Thanks.. best recovery for op5 :) you are dev or just sharing ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
just sharing bro :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] spysky:
I fixed that issue (structure needs cleaning) by dirty-flashing the installed rom, in my case it was OOS.

After being fixed, I was able to backup.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
Thanks, please keep us updated with new releases.

I second that ... very fast, stable and with a cool black theme!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] docnok63:
How do you get English to stick? I select English, hit OK, then when it finishes decrypting it automatically switches back to Chinese.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Huh? I never had to select any Language....it was all English out of the box after flashing and rebooting into recovery. Not sure why you are seeing different
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] smint86:
Is there a specific reason why the used TWRP version is 3.1.1-0 while latest official TWRP for cheeseburger is 3.1.1-1 (as seen here)?

You have to flash the whole zip via recovery not just flash the img inside the zip via fastboot. Made the same mistake first.

/edit: Nevermind. Getting the same problem with the chinese language showing up, too.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
issue on v3.1.1-1 can not mount the partition data completely

you only need to change the language setting in the options menu

adjust to your language

then you do not need to delete the twrp folder in internal storage

it will change the setting to default
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
you only need to re-select the English language after decrypting the data

because the default language on this twrp is china
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Ya, I really don't understand why people are having problems. I wonder if people were flashing the img recovery file (inside the .zip download). To get this TWRP, you just flash the .zip file as it was downloaded..... no extra extracting or anything. Then reboot to recovery and the recovery is updated (and in English).

Maybe all these people with problems are running decrypted....dunno. I'm encrypted and have not had an issue with this TWRP yet.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Same here I've been using it since 2 versions ago. Both encrypted and decrypted.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
first decrypting or re-encrypting the data will delete all existing data in the internal storage including twrp folder in the internal storage

the .twrps file in the twrp folder is deleted

that's why the language goes back to the default settings
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] burcinkarabacak:
Thank you my friend USB otg work now

ONEPLUS A5000 cihazımdan Tapatalk kullanılarak gönderildi
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] docnok63:
Thanks for the screenshots. Following those steps after decrypting completely fixed the problem and survives reboot.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] daxiaamu:
modby ibe, but who is ibe?? Any blog or website or twitter?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
A Chinese developer I'd say ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] morfances:
Only one question: what advantages does Chinese recovery have with respect to the blue spark I'm using?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] poincare:
Hey booii, where is this Chinese build of the new TWRP? Can you provide a URL?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
https://xdaforums.com/oneplus-5/development/twrp-oneplus-5-wip-t3626134/post74575053

Just go to the link. You flash it from TWRP using "install" since it is a flashable zip
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] poincare:
Thanks bro! I'll give it a try now!

Indeed it works with encrypted Oreo ROMs. Nice one, booiii!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Working on encryption for new oreo tags.

Changes for the next version so far include:

Linux upstream (Linux 4.4.100 or later)

Miscellaneous fixes

Clang 5 compiled kernel
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
New update

TWRP Version 3.1.1, Image version 100: Download here

Changelog:

Linux upstream (Linux 4.4.100)

Clang-compiled kernel (Android clang version 5.0.300080 (based on LLVM 5.0.300080))

Miscellaneous fixes

Pixel 2 XL encryption-related libs

Please test encryption on this.

Source available as always:

Device tree

Kernel tree
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] poincare:
Encryption doesn't seem to work on Oreo ROMs. Using this with Liquid Remix (latest) the directory listing on SDCARD is just letters and numbers. Just an FYI.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Matze060906:
Does this version fix the problem with no access to internal storage in twrp after flashing oreo roms?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Sadly, no. I have the ramdisk of the chinese TWRP extracted for further analysis. Hope to get it going soon.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] cosmic077:
Do I need to extract the twrp img file from the zip or directly flash the said zip.

Thanks
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Flash the zip using the install function in TWRP
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] poincare:
Bro, did you read my post right before yours? It answers your exact question. :eek:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Matze060906:
Of course, but this wasn't the problem I meant.

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Flash directly
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Please avoid distributing closed-source TWRPs from external sources on this thread.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] 3DSammy:
I tried this version on a rooted OOS 14.5.14 build but it is not decrypting internal storage. The system and recovery booted fine but I had to use Flashify to return to a previous TWRP before recovery would decrypt internal storage again. The TWRP decrypt dialogue did appear per usual and indicated successful decryption but that was not true. I had installed your new version when it was first posted but had not tried a backup until today.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] greatestandroidfan:
I second that ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] archer797:
From Advanced menu, under "Oneplus Tools", I used the "Remove Password" utility. The utility ran and removed the and removed the password. When I rebooted phone back to recovery, it asked me password to Decrypt the Data partition and I am not sure what the password is. I tried "default_password" and it does not work.

Please help.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mcduffie2010:
...I will try to help

Install this TWRP

https://xdaforums.com/oneplus-5/development/recovery-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723

Then use the twrp to delete these files and follow rest of the steps.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mcduffie2010:
If that ain't working ( I hope it does) you have to format your internal data. That means you lose all your music, photos and files.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
This TWRP does not have "Oneplus Tools"
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
So I'm having some trouble getting encryption to work on TWRP 3.2.1

It asks me for a password, however, I have a gesture and entering the numbers does not help.

TWRP says:

libc: Unable to set property "ro.crypto.state" to "encrypted": error code: 0xb
Synthetic password support not present in TWRP
E:This TWRP does not have synthetic password decrypt support
...
I:Decrypting FBE for user 0
Synthetic password support not present in TWRP
get_ce_key_directory_path 0: /data/misc/vold/user_keys/ce/0
Skipping non-key .Skipping non-key ..get_ce_key_paths adding: /data/misc/vold/user_keys/ce/0/current
Trying user CE key /data/misc/vold/user_keys/ce/0/currentFailed to read from /data/misc/vold/user_keys/ce/0/current/keymaster_key_blobFailed to find working ce key for user 0Couldn't read key for 0e4crypt_unlock_user_key returned fail
Unable to decrypt with default password.

As always, you can find the tree here: https://github.com/xdevs23/android_device_oneplus_cheeseburger-twrp

And here you can see how to build it: https://github.com/mintwrp-extended/readme#minimal-twrp-extended

If anyone has an idea, please let me know.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] street_samurai:
Have you seen this thread?

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

Might provide some answers.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Wow, thanks alot. How could I miss that... I'm bad in finding threads.

Going to try that out. If it works, I'm also going to attempt to make it work for both OOS and custom roms at the same time.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] street_samurai:
Glad I could help! Thanks for all your work for us and I'm sure a unified TWRP would be appreciated.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
New update

TWRP 3.2.1 for OnePlus 5 (not 5T): Download here

Thanks alot to [MENTION=3208754]codeworkx[/MENTION] for his efforts in getting FBE to work on 8.1 ROMs.

Changelog:

FBE changes by codeworkx

Upstream Linux 4.4.109

Flash Kernel by Nathan

Exclude TWRP app

Switched to my own variant of Minimal TWRP: https://github.com/mintwrp-extended/

Miscellaneous changes here and there

While this TWRP is now very similar to codeworkx', it's a completely different source base and is independent from him.

This variant is a bit more bleeding edge and contains changes that are not available in TWRP images built from the official repositories.

If you want ultimate stability, consider using his TWRP instead.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mittalanmol22:
Successfully dirty flashed ob4 over 5.0.1 and everything's working fine :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Froschface:
Facing the following problem:

> I was using the official version of OxygenOS, the latest stable pre-Oreo release. Encrypted.

> Used this threat's modified TWRP (3.2.1-0 - the 'unified' thing), which asked me - as it should - for my encryption password.

> Dirty flashed the newest stable 5.0.1 release (downloaded from the official website, not corrupted, checksum checks out)

> Flashed the newest Magisk

> Reboot

> Reboot unsuccessful, phone gets into a boot loop (which is kind of normal, I guess, and can happen when dirty flashing)

> I booted into TWRP in order to re-wipe Dalvik/cache

> I find that TWRP is not prompting me for my encryption password anymore.

> File storage is fully encrypted

I now face the problem that I cannot boot into the system to remove the lock, as the system will simply boot forever. Also, I cannot flash anything via TRWP, because my internal storage is encrypted. I can also not use my USB, since with this TWRP version I somehow cannot mount my USB (USB 2.0 / tried FAT32, exFAT, and NTFS).

I am not sure how to proceed from here... so maybe somebody can help me out?

Should I:

1) Flash an official TWRP version via ADB? To see whether it prompts me for the decryption?

2) Re-flash the ROM via ADB? To see whether it installs properly?

3) ... something else ...

4) ???

PS:

If somebody had a similar question and it has been answered before, I apologize. This thread has over 100 pages and a simple search did not show me any relevant results.

Edit:

So, I found that with

twrp decrypt MySecretPassword

you can manually start the decryption process.

However, TWRP now tells me my password is wrong. :eek:

So I guess it's all screwed up. I will wait for a response here and if nothing helps then I'll try to restore last month's nandroid backup via ADB.

Edit2:

I just trashed everything and made a clean install. Shame about this encryption bull****... causes more problems than it solves.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
First of all, wiping dalvik does absolutely nothing useful.

Encryption issues often arise because of doing the formatting process wrong or messing with the data.

If you are clean flashing, I recommend doing a full format and set the FBE marker. That can be done on Linux and macOS using fastboot --wipe-and-use-fbe (not on Windoze)

The way I do clean flashes is:

1. fastboot --wipe-and-use-fbe

2. Wipe System and Cache

3. Flash ROM (gapps if needed)

4. Reboot
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jmoricone:
Hello I am looking to upgrade my Oxygen OS to 5 (Android 8) and need to update my TWRP. and in my review came across 2 versions (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img) and (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img). Can anyone tell me what is the difference? I have the OnePlus 5 (8bg/128gb) version.

I want to make sure I use the correct version when upgrading, thanks.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mcduffie2010:
First there was cw8.0

That one didn't work on custom 8.1 Rom so codeworkx made an 8.1 version.

Later he made one foto the both of them and named it universal.

Universal is the one to grab

---------- Post added at 03:06 PM ---------- Previous post was at 03:05 PM ----------

If help is needed I'm always willing. Just send me a personal message.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djsubterrain:
I did try erasing then formatting the userdata and copying over the latest Magisk beta but build 17 is still showing nonsense folder names when I go to flash something
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hibby50:
Does anyone have a stock bootloader image i can flash to try and solve my problem?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DespairFactor:
Are you missing the qcom common repo?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Messing with bootloaders is dangerous, let's see if someone has an image.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DespairFactor:
If you give me time I can dd the device maybe
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djsubterrain:
OK, I'm finally rooted with the chinese version after formatting the data partition, flashed the beta v13 of Magisk and did a clean install, just restoring apps just now, so I should be able to try "fastboot boot" your version and then see if I can get logs.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Alright, waiting for your answer.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Yeah otherwise I could ask some of the testers.

By the way, great that you are here.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] br41n81:
The thing is, with your recovery i dont have adb working.

adb is working fine with the chinese one.

either i dont have permission to attach files or i don't know how to do it.

i have the chinese logs, trying to get the log from your recovery
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] DespairFactor:
Try this qcom common, not sure which you are using:P

https://github.com/TeamWin/android_device_qcom_common/commits/android-7.1
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dansou901:
You still have an OS installed, do you? Then just save the logs, reboot to OxygenOS and fetch the logs from there
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hibby50:
SMH after all that frustration I switched usb ports and it worked. Very odd, the device was detected and taking commands just not flashing
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] br41n81:
sorry but i can not attach files or dont know how

posted them on pastebin

ch_last_kmsg: https://pastebin.com/eU0K6W3M

ch_last_log: https://pastebin.com/LeR7qNCy

this one is from your last_log: https://pastebin.com/AChXSdt1

no last_kmsg because i deleted them in recovery to be sure to get the files from your recovery, but no new last_kmsg were created

---------- Post added at 01:39 AM ---------- Previous post was at 01:31 AM ----------

Just checked the log from your recovery

looks like this is the error:

I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Is encrypted, do decrypt page first
I:Switching packages (TWRP)
I:Set page: 'decrypt'
I:Set page: 'decrypt_pattern'
I:Set page: 'trydecrypt'
I:operation_start: 'Decrypt'
I:Decrypting FBE for user 0
password filename is '/data/system/gatekeeper.pattern.key'
failed to verify
...

at the beginning from your recovery there is no unlock pattern like the chinese one has
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
I didn't actually add the stuff for USB in general, so that's todo
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
That's exactly the one I am using, if I remember correctly. Need to update the dependencies file though.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] i_pk_pjers_i:
Very cool to see all of this work being done. Good job everyone involved with this!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xgerryx:
Version 18 has me up and running. Bootloader unlocked, Recovery stuck even after reboot, rooted with Magisk (after installing the newest app from the magisk thread), and restoring apps with Titanium now. In recovery, when in internal storage I am getting all of those jumbled up folder names but the OTG drive files were fine.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Interceptor777:
Do I have to format data if I want to install magisk, first OnePlus phone so just asking.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djsubterrain:
[MENTION=6584600]xdvs23[/MENTION] Here's the last log I got, I have the chinese version installed as recovery, booted to version 18
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Froschface:
Yeah... my information may be outdated. In the past (I am talking some years ago) I had issues with booting and those could be solve with wiping dalvik. But good to know that this is not the case anymore. Thanks!

The thing is I deliberately wanted to dirty flash since, apparently, updating from OOS4 to OOS5 should not have posed a problem. But yeah, in the end I needed to clean flash anyway.

Since I use windows, I ended up going with

fastboot -w

fastboot update <rom.zip>

I didn't know anything about FBE markers though... Just tried to read up on it. While I understand the difference between file-based-encryption and full-device-encryption I don't really understand why FDE in my case would be preferable? I hope I don't run into trouble in the long term for not having enabled it.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
Well, FBE is what new devices are shipping with while FDE is the way it was handled previously.

FBE is good as long as it works but as we have seen it is very sensitive to sudden OS changes and has caused alot of trouble.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jmoricone:
I also forgot to mention that I have the TWRP app and it gives you the option to download the update via the all and when I did the file name is (twrp-3.2.1-0-cheeseburger.img). Is this version better than the previous versions I noted? Furthermore the app allows me to directly flash? Is this the better option, rather than booting into existing TWRP and flashing update? Thanks
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] poincare:
A search of the thread was inconsistent, does this version of TWRP support custom ROMs with the Feb 5 security patch?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
I'll also curious about this
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] shadowstep:
No, it does not. At the moment, there is no TWRP version that can handle decryption of ROMs with the February security patch properly.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] PhoenixNLx:
anybody has installed latest open beta 7 with TWRP 3.2.1?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mipirakas:
You should use official or codeworkx twrp as those can handle android 8.1 decryption. I don't think this one has been updated to support it.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Giansi:
First of all thank You so much for your great work and for offering us.

About the restore issue, i can tell i tried to restore a DECRYPTED nandroid backup of Resurrection Remix Oreo using bluespark twrp and it ended in a bootloop (stuck on oneplus logo and after a few minutes reboot in TWRP instead of system).

Is your TWRP confirmed to work on restore if DECRYPTED like me?

I read that when switch in TWRP we should delete before TWRP Folder, is this correct?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] xdvs23:
TWRP will backup and restore fine on decrypted.

And no, you don't need to delete the TWRP folder.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Giansi:
Thanks will try and report.

Edit : YES i can confirm nandroid restore works fine if decrypted.

This is a very good new!

Thank you again sir for this. :good::victory:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] PowerOfDerp:
After flashing this I'm stuck at the boot screen. The animation cycles and nothing happens. I tried recieving the files through adb, but I get this error:

device unauthorized.

This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

I tried copying the file from twrp to a folder Ic an access on my computer, but I get:

cp "/tmp/recovery.log" "sdcard/,

c0u3m65j1zFak2b6HE9ZB" process ended with ERROR: 1

The dmwsg says I have no access

I flashed the stock recovery and I'm able to use the phone as usual now, but I'd like twrp so I can root it
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sting5566:
Don't you need root first before you can install twrp?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] PowerOfDerp:
Maybe, but I have flashed SuperSU and Magisk on my tablet with twrp to get roo access.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sting5566:
Let me take a step back and ask is your bootloader unlocked?