yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berta Paneslowski:
Where is the different? In twrp i only can wipe partitions, am i right?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] strongst:
No, you can format too. It's next to the advanced wipe. It will erase everything from /storage like photos and app data.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] d1n0x:
Formatting creates a new filesystem while wiping simply deletes the contents and skips /data/media (internal storage), unless you explicitly tick "internal storage" in which case it is also simply wiped without a new filesystem being created
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vdbhb59:
I was wondering how about Q TWRP? Actually the Shadow53 files and Nanolx files for Q are being run via script. Maybe you can create a Q TWRP.

Asking and suggesting here, hope people do not start trolling.. lol
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prabhjots:
I have recently flashed the latest TWRP after Oxygen OS latest stock update, it seems to take forever to get to the "enter password" screen and then seems to be stuck for 4-5 minutes on "Updating partition details". I have seen it has always taken so long when using TWRP. The stock recovery is almost instantaneous.

Anybody else face the same issue, and anything I can do to speed it up? Thanks in advance!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] irdev:
Hi guys.

Can I backup and restore using this twrp?

Is it matter encrypted or decrypt?, Oos or linage base?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] strongst:
Sure, you can backup and restore. But restoring backups across different roms isn't a good idea, just for information...

You should remove your pin/password before taking backups, that's recommended,so your backups are also not encrypted.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Bray90820:
I am experiencing an issue every time I boot into recovery it stays on the TWRP boot screen for roughy a minute an a half before it actually boots
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
The latest forcedecrypt recovery doesn't work for me no matter what I do. It flashes fine but when I try to boot into it I just get a blue light and my phone acts like its soft bricked, it only shows up as a port when connected to laptop.

Actually, as far as I remember this recovery never worked on my OP5. I always have had to use siankatabg_'s TWRP. Not sure what the issue is with my OP5 specifically. Below you can see an image of what the phone shows up as when the blue light is on.

Sent from my mata using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
Maybe because it requires your device to be on OOS 9.x firmware?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
Thanks for your reply mate, I realised it was because the crDroid linked to the dumpling img file and it cheeseburger.

Recovery works great, decrypts and everything just fine. Although I've not been able to flash noverity, the latest 6.1 gives me Error 1 when flashing. I'm honestly confused which noverity zip even works anymore, everyone says to get v3 but for some reason I can't find it.

Sent from my mata using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] strongst:
Hey mate, did you tried this no verity too http://www.mediafire.com/file/xtvp81p4jrv7rk2/xXx_No_Verity_4.0.zip/file?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
Hey man, season greetings!

Thanks for the link, sadly I didin't have too much time on the laptop tonight because I was using my mums so I couldn't find a working one within a certain time and I just gave up haha. Now the OP5 is all booted and working happily on crDroid 6, but it's also encrypted. ?

If I go back now and try the no verity zip that you linked I would have to format Internal Storage again... ?

Sent from my mata using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] strongst:
Thanks, wish you also happy christmas and great time with your family :good:

Good to hear it's working either way :highfive:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] str8str:
Is there any update on the way for q?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Scrluiz:
guys I am stuck at twrp decrypt data screen, my pin password is not working and at this moment don't have a PC to change for another twrp and it doesn't show a "cancel" option, so any thouguts? help meee!!!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berta Paneslowski:
Hi, is 'twrp-3.3.1-20190908-0-codeworkx-signed-forcedecrypt-cheeseburger.img' the latest TWRP from codeworkx for the oneplus 5?

Second question: Is it possible to flash the twrp from codeworkx (without PC) with TWRP App (or another App) from playstore?

Thanks for answers!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
1. Yes, it's the latest afaik...

2. You can flash it via TWRP, go to install - > select install image - > select the image and swipe to install ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berta Paneslowski:
Ok, thanks!

By the way, i have a strange problem: i am using TWRP 3.3.1.0 (dont know if codeworkx one) with latest OxygenOS, rooted. System runs fine, no problems. But if i boot into recovery with enabled 'Device Security', TWRP ask for a password (i never set a password). If i disable encryption, i have full access to twrp and can flash OS etc.

Any idea why cant access twrp with encryption?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
new universal version is up. should work for everything.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mcduffie2010:
Link isn't there yet!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Fenvarien:
It's here ;)

https://sourceforge.net/projects/ch...universal-codeworkx-cheeseburger.img/download
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
It is.

https://sourceforge.net/projects/ch...universal-codeworkx-cheeseburger.img/download
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] gialakias:
With otg support?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] codeworkx:
Try it ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] darkdragon88:
I have a few questions. I just did a 5.0.1 clean flash install (not coming from 5.0).

1. Did you dirty Flash?

2. Are you encrypted or decrypted

3. Any other special steps taken like removing pin or fingerprints? Or flashing no Verity after or magisk?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yzon81:
works finally :good::fingers-crossed:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Funk Wizard:
Many Thanks buddy, appreciate your support for the Oneplus Devices :highfive:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ulxerker:
Hi, I explained everything here.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reneftw:
So I guess we can update from 4.5.15 to 5.0.1 (unlocked, rooted, encrypted) the regular way (simply flash from twrp) with this recovery?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mcduffie2010:
I just flashed from 5.01 to the new Beta 3 with only wiping cache and dalvik...... I'm so glad and thankful.

Great work Codeworkx!!!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] tommy92tc:
I really hope, I'm trying now

Guys, anyone made it with no problems at all????
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RiceAndPeas:
I've flashed universal codeworks twrp , how am i suppose to know it's codeworks and not the standard twrp . Is is supposed to come up on the home screen or something ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] djsubterrain:
...because you flashed it? That's kind of a giveaway.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Bray90820:
How exactly did you fix this error I am getting the exact same error as you
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hadiyalkishan:
Yes but with format data.

Previously im on 4.5.15 with magisk and encrypted

1st i format data then installed oreo 5.0.1 full zip and Magisk 5.12.. Wipe cache and dalvik reboot and enjoying oreo with rooted magisk.. :cowboy:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] tommy92tc:
No way, I had to format all
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jeebuspwnz:
I flashed both the 8.0 and the universal version. Both work, however they are stuck in Chinese mode no matter what language I choose. Anyone else? I didn't have this issue with any other twrp variants
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
What does Device Security mean in this case?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berta Paneslowski:
I meant screen lock, sorry. Security & lock screen -> device Security -> screen lock.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
In my case I have to enter either a pin or a pattern or whatever I've set as security measure when I enter TWRP...I'm using a custom rom

Either TWRP isn't fully compatible with OOS's security means or there's another problem :confused:

Try setting a password/pin and give it another try...

Edit: If you activate screen lock you surely have to set a pin or a password or somethin like that...that's what TWRP wants you to enter afterwards when you boot to recovery.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berta Paneslowski:
I have never assigned a password, only pattern.

Yes, until a few months ago it was the same with me. But then i have installed lineageos and then back again to OOS. Since then i cant access twrp with encryption.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
Did you format before flashing OOS?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berta Paneslowski:
Full Wipe, but not format
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] KaszasM:
lol , so if u set pattern or any lock, twrp asking the same because otherwise can't decrypt your data.

this can be caused because of more things, fw, recovery, vendor, data, decryption "method" mismatch.(upgrade from o to pie could cause, if i remember well 1+changed something on encryption there.

so before u lose everything is time to backup(without any lock!!(encryption)) and wipe to get a clear fs without junk.

i wouldn't even restore that ,just in case
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
Correct, nothing else to be added :good:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Kondra007:
How can I skip TWRP and boot straight to my phone? I was going to uninstall magisk and then install OOS update, but TWRP (3.3.1-20190908-0-codeworkx) says "Password failed, please try again" and every time I want to just boot my phone it boots to TWRP no matter what.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
You won't be able to boot or do anything in TWRP unless you decrypt your data.

Use the same pin that you have on the lockscreen to decrypt in TWRP.

If you can't decrypt you're gonna have to full wipe, including internal storage.

Sent from my mata using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gruber008:
Can someone please help me, TWRP started to ask me to enter password to decrypt data and I can't boot anymore because it leads to TWRP every time.

I have pattern set-up and I've just casually entered TWRP to make kernel backup but this came up.

Asking some veterans like [MENTION=613506]strongst[/MENTION] who always has the answer for this, thank you all in advance.

Using latest version from Codeworkx on my OnePlus 5 running stock ROM (9.0.9).

I can't choose 'skip' or anything else, I can just enter my password and that's it.

Every reboot - like I said - leads me to TWRP (even though I didn't trigger it via home button and vol down)

I've tried 'password, 'default_password' and the trick from https://www.reddit.com/r/Nexus5/comments/2mskzu/twrp_is_asking_for_a_password/

Can flashing previous version of TWRP (twrp-3.3.1-0-20190713) via adb solve the issue maybe?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] :
Look at the very previous message in this thread
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gruber008:
I honestly don't know how this even happened or how to prevent it in the future.

I'll try this option mentioned here.

If this doesn't go well I guess I'll have to full wipe and re-flash OOS 9.0.9 and start all over again..

EDIT : I have made some progress by flashing mentioned TWRP via fastboot and now I'm enable to boot! But "only" issue left is that whenever I enter into TWRP I need to enter the password I really don't know and I don't have. :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Pokemetti2:
That is the dangerous aspect of forcedecrypt recoveries, which is why I still use the old build.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gruber008:
Yes, that's why I flashed previous version and made a successful boot.

After removing my screen pattern and entering the TWRP there were no issues (it didn't ask for the decryption password) but as soon as I put my screen pattern on it started asking for password.

If anyone knows any solution to this I'd be really grateful, in the meantime - I'll just remove my screen lock to flash stuff.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
There are no other solutions.

You either type in your pin/password to decrypt data in TWRP or remove it while booted before flashing anything.

Sent from my Essential Phone using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gruber008:
Hello once again, thanks for answering.

I'm just wondering if I can delete magisk/xposed modules via TWRP file manager if I encounter bootloop with this encryption issue?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
Hello, I think you're in luck my friend. Check out this thread:

https://xdaforums.com/apps/magisk/module-tool-magisk-manager-recovery-mode-t3693165

There's a guide written here if you need it:

https://magiskroot.net/uninstall-magisk-module-twrp/

Hope that helps. Remember, search is your friend. ;)

Sent from my Essential Phone using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gruber008:
I'm aware of this whole process of deleting modules via TWRP, my question was can I remove them even though my TWRP is encrypted with password (messed up my TWRP, like mentioned in last couple of posts), but I'll find that out some way. :)

But thanks anyway, I don't wanna spam this thread anymore, for the sake of the dev and others lol.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
How do you imagine that would work?

If you can't get into TWRP with decrypted data you cannot manipulate any of it. The files are just a bunch of gibberish, until decrypted with a password.

Sent from my Essential Phone using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gruber008:
Actually, I can, I just tried.

"Only" internal storage is encrypted, I can access and modify the folder with modules without any issue (its path is /data/adb/modules)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CamoGeko:
Ok great! ?

I've never had bothered with doing that kind of thing in TWRP as I try to keep my pin consistent and my personal phone is always decrypted. That way I don't have to bother with TWRP passwords. I see it as an inconvenience rather than a security feature.

Nobody will ever get close enough to my phone to take it from me lol, so I always advise everyone to go decrypted for easier flashing and modding.

Glad you managed to achieve what you wanted. :angel:

Sent from my Essential Phone using Thebear Blue XDA Labs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Gruber008:
Is that needed every time when switching from custom to stock, even if we flash no-verity?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
Due to my experience it's better to format when switching from one rom to another (very different) one.

In which special way no_verity is related to formatting?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Qnorsten:
I am trying to following the various tutorials for using openrecoveryscript to automate a twrp backup.

By creating the file /cache/recovery/openrecoveryscript

with the following content

decrypt mypin

backup SDBOM Backup-%DATE

But the recovery is stuck on the gui for inputing pin code, and I need to manually input my pincode or use adb twrp decrypt mypincode command to decrypt it.

After that the openrecoveryscript tries to run. From the scarse documentation available I expected it to be run as soon twrp boots up. I am not sure if this is a specifc error for this version of twrp (and should be reported here) or if it is an error in the offical twrp implementation and should be reportered there. The offical twrp for oneplus 5 won't decrypt properly so I couldn't test.

Some example tutorials

https://xdaforums.com/u/tasker-tips-tricks/guide-weekly-twrp-backups-t3332019

https://www.reddit.com/r/tasker/comments/2i95jr/how_to_automate_twrp_nandroid_backups_root/

https://www.reddit.com/r/tasker/comments/7dj8u5/nandroid_backup_automation_with_tasker_on/
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] robertogl:
TWRP with 'support' for parallel apps

So, in the last days I've worked on the TWRP sources to get the backup/restore processes work in case parallel apps (or multiple users) are enable on the phone (see the infamous error 255).

It is not possible, at the moment, to support parallel apps outside a full Android OS - like the TWRP that has limited functionality.

What I've got at the moment is a TWRP that is able to backup the data partition even if multiple users, or parallel apps, are enable. Encryption is supported.

However, the data of those users are not restored. So, here the notes about this release:

- parallel apps and secondary users data are LOST after a restore - no data are lost during the backup process of course,

- fingerprints are deleted after a restore - you will need to set them back manually from the Android settings,

- the PIN is not restored. Example, if you back up a system with the PIN 1234, meaning that your backup archive contains a system secured with the 1234 PIN, and your current phone has the PIN 0000, after the restore the PIN will still be 0000. Technical stuff here, just trust me. No data are lost and the encryption will still work. Just change your PIN again.

Adding stuff to this release, I've created a new backup target that you can see on the TWRP backup screen: the 'Data Image' target. This is a full backup of the data partition, including parallel apps, secondary users, and personal data (photos, videos, etc). However, this means that the size of the backup will be 60GB or 120GB based on the model of your OnePlus 5. Due to this size, it is only possible to use it from adb. Enter the TWRP recovery and, from your pc:

adb backup --twrp data_image

This will create the 'backup.ab' file on your pc, including everything.

To restore it:

adb restore backup.ab

Note that I was not able to test this target, as the restore process requires a lot of hours on my 128GB OnePlus 5. It should work only if restored on the same phone it was created, do not try on different OnePlus 5 (the backup is encrypted and only the original phone can decrypt it). If someone is able to test it, it would be great.

You can find this TWRP on this MEGA link, sorry if I didn't create a new thread. I will if someone can confirm that this is working as expected also for them, and not only for me. I will also push the sources soon.

Of course, thank you [MENTION=3208754]codeworkx[/MENTION] for your amazing work!

PS I don't take any responsibility for lost data!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
[MENTION=613602]robertogl[/MENTION]

Please fix decrypt FBE device
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] robertogl:
Is this my recovery version?

TWRP supports FBE from a long time now. I don't have any problem with it.

The errors could actually means that you have a decrypted device. If that's the case, just use the stock TWRP and try to ignore the message: everything could just work.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jahidinbedod:
yeah I try use you're twrp

Just see this error log

my op5 running custom rom A10 decrypted data

---------- Post added at 07:53 AM ---------- Previous post was at 07:44 AM ----------

[MENTION=613602]robertogl[/MENTION]

This twrp work for running A10 decrypted data on cheeseburger

https://sourceforge.net/projects/poad42/files/twrp/twrp_cheeseburger-poad42_v1.1.img/download

source :

https://t.me/op5nitrogen/27805
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] robertogl:
Did you had the 255 error while doing a backup?

If you are not encrypted, you should be able to use any TWRP to do that.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] batjon:
Really late to the game here..

I'm stuck on android 7.1.1. I originally unlocked my bootloader and never rooted my phone but now no matter which method I use (OTA or TWRP) the installation of newer version of Android fails.

After googling recently I found someone suggesting this version of TWRP could do the trick.

The first post shows versions for android 8 and 9, can I use either of those or do I need a different version? Any help much appreciated.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] strongst:
Hello, please specify which version of Android do you want to install and if you can accept to wipe your complete device to update.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
Use latest build, it will work that way.

If you want to flash a newer Android version than yours you have to format, this will wipe everything...so backup the important stuff in advance.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] batjon:
Oh really. Hoped it wouldn't need a wipe.

I'll stick with what I have. Got a dodgy usb connection so transferring over usb would definitely keep failing. Got too much gold on there to wipe! ??

Thanks for your help guys
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] strongst:
You can't use 3.3.x twrp until your firmware is pie, which is not the case for him.

Good luck
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
I think latest build works for Android 8, 9 and 10...so it shouldn't be a problem.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
It seemed to me that he wanted to flash a newer respectively the latest android version, in that case he needed this hint^^
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] batjon:
It was just to update generally, not necessarily the most up to date version. I assumed I would be able to update via OTA/recovery version by version without a wipe of everything.

Currently on oxygen OS 4.5.14

Android version 7.1.1
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sc4r3Crow:
There are 2 options:

1. You stay with stock rom and hope for official updates provided by the manufacturer. In case of updates they should work without wiping anything manually.

2. Your phone won't be updated officially, otherwise you wouldn't be on Android 7.1.1 at this time...so in that case you will have to use a custom rom to get a newer Android. Switching from one version to another (7 to 8, 8 to 9, 7 to 9 etc.) requires a wipe in most cases due to differences regarding file management, partition handling etc.

My advise is: Don't be that lazy and backup your stuff to you PC, so you'll have an existing backup and, as nice side effect, also would be ready to flash another rom at any time...because you won't lose anything due to a stored backup.

Do you know what I mean?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Lara Otwell:
Can I flash this recovery Android 9.x version after I unlock bootloader?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] strongst:
Depending on which firmware/OxygenOS version you have, you must choose the correct recovery. 3.3.x for Android 9/pie