yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] eskilde:
Which version of twrp and how do I decrypt, any special doing, never done that before ?

f2fs is the fastes file system for Android phones but is there any problems with it at the moment ?
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
I wrote this guide on the device release, should be self explanatory https://forums.oneplus.net/threads/...wrp-root-nandroid-efs-backup-and-more.475142/

I have been decrypted since the beginning and no issues till date. It's just a matter of personal choice as the difference in r/w is minimal.
[OnePlus 3 & 3T Cross Device Development] eskilde:
OK, but it is still confusing do i use twrp "twrp-3.0.3-x_blu_spark_v16-op3_op3t.img" or "twrp-3.0.4-1-oneplus3.img" or "twrp-3.0.3-1-oneplus3t.img" what is the difference ?
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Use the official one 3.0.4-1
[OnePlus 3 & 3T Cross Device Development] eskilde:
Thanks I'll give it a go.
[OnePlus 3 & 3T Cross Device Development] daddyodizzel:
A little assistance... .i was moving over from another rom to RR unified... Flashed the new TWRP... i misread like an idiot, and flash the DM-verity and forced encryption disabler zip, well... then dumb me erased everything... i hit format data... now... I've tried to ADB sideload rom... I cant ADB push, it gives me error:closed when liking the TMP directory. when I get to boot, it gives me the Encryption unsuccessful and only option to reset phone... no password is asked at TWRP.... just a little stuck... Any help would be greatly appreciated.
[OnePlus 3 & 3T Cross Device Development] kessaras:
Use in fastboot

fastboot erase userdata

And

fastboot -w update <stock rom>.zip

It will fix anything that you've done.

If the problem is in recovery then just do the same with recovery.
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
A usb otg would come handy. If you don't have one then you can transfer the rom file via mtp or adb push the rom file
[OnePlus 3 & 3T Cross Device Development] daddyodizzel:
I actually saw your post before I even did any of this... However in fastboot all I have is, Power off, restart bootloader, then recovery.
[OnePlus 3 & 3T Cross Device Development] kessaras:
That's not fastboot. That's a menu selection.

Bootloader is the mode where you use fastboot
[OnePlus 3 & 3T Cross Device Development] daddyodizzel:
Right, I've tried to push... I cant just push it to like TMP and flash... gives me error: closed, when i do the sideload, it looks like it flashes, then boots to encryption unsuccessful
[OnePlus 3 & 3T Cross Device Development] daddyodizzel:
Lol.... well then.... ugh... this is what happens when you go to locked s7 edge and forget things... point me out, if you dont mind?
[OnePlus 3 & 3T Cross Device Development] kessaras:
I don't understand what you need now.

Download stock rom.zip

Boot into bootloader

Use the commands above and whatever you did wrong will he fixed immediately.

Edit: the full rom not the ota
[OnePlus 3 & 3T Cross Device Development] daddyodizzel:
Yeah I'm sorry I forgot... yeah fastboot command prompt lol... what a day
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
As [MENTION=5461026]kessaras[/MENTION] said select the bootloader to go into fastboot mode, the device would reboot into fastboot/bootloader mode

There on you can try executing the commands, make sure the drivers are installed and device is recognized in fastboot
[OnePlus 3 & 3T Cross Device Development] daddyodizzel:
I did download the stock rom... However went with some instructions since had my old rom... sideloaded that one and it worked... Now my only question to you and I'll leave you alone, I am going to be moving to the Unified RR build... I want to get rid of the pin thing... I've disabled it for when OS boots, but want to remove it when I go into recovery. If that's possible.

EDIT: nevermind I got it... After all that mess that DM zip I guess worked lol... Thank you again, as well as [MENTION=5461026]kessaras[/MENTION]
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
If you use the latest TWRP 3.0.4-1 you should be ok as roms other than OOS do not force encrypt. If you've just lost your data you can do a few more commands and decrypt and stay decrypted

The choice is yours.
[OnePlus 3 & 3T Cross Device Development] daddyodizzel:
Thank you again!
[OnePlus 3 & 3T Cross Device Development] defi231:
just flashed trwp from step 1-9 ..but at step 9 twrp shows me nothing more..i just swiped right :/?

---------- Post added at 06:46 PM ---------- Previous post was at 06:07 PM ----------

installed new RoM, runs fine "CM13 build OP3" but how to stop/remove that counter after restarting the phone
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Why should he decrypt and format? I GUESS you refer to entering the password and accessing the data partition, but still, its a tad bad to understand. I hope you dont recomment unencrypting the data partition.

And format? Formating just happend when unlocking.
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
The user wanted to switch data to f2fs, so i recommended that. Personally i prefer staying decrypted. Just a matter of personal preference.

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

That's the secure boot screen confirming your device is unlocked. You have to bear with it for the time being.
[OnePlus 3 & 3T Cross Device Development] se7ensde:
is there any way to get rid of the device unlocked so its untrusted message that shows every boot after unlocking bootloader?
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
There is a thread for that, no more OT.

This thread is already a course for beginners don't extend its functions further.
[OnePlus 3 & 3T Cross Device Development] defi231:
would TWRP still work if you relock it? - sry the connection from bootloader to recovery is still unclear to me :silly:
[OnePlus 3 & 3T Cross Device Development] Flint2:
Stopped by to say thanks and comment on how is my setup, I've done:

Unlock bootloader

Flash TWRP

NOT enable system modification

Flash Magisk v 11.1

Now I have stock OOS 4.0.3, root hidden for selected corporate apps and games, and device passing Safetynet

Thanks!
[OnePlus 3 & 3T Cross Device Development] gr8techie:
guys, I have an issue with TWRP 3.0.4.1 (the latest). I tried flashing the latest Hydrogen OS on my OnePlus 3T A3003 and the flash completed successfully and even SuperSU got installed but when I tried using the TWRP file manager (under advanced) to access the system partition, it was blank. Also, when I tried rebooting the phone I got TWRP warning that "NO OS is installed". What is the cause? How to overcome this problem as I want to use Hydrogen OS. Please help me. Thanks.
[OnePlus 3 & 3T Cross Device Development] Uumas:
Why would you like to use Hydrogen OS anyway? To access /system in TWRP file manager, make sure you have system mounted in mount menu.
[OnePlus 3 & 3T Cross Device Development] gr8techie:
It was mounted already. Even then I can't access it. And, Hydrogen OS Beta based of 7.1.1 has been released now. Plus, I have heard it offers great battery too. So, yeah, wanna try that out. :)
[OnePlus 3 & 3T Cross Device Development] mauley:
Great battery life because it doesn't have Google services installed. Soon as you install them, that great battery life is reduced.
[OnePlus 3 & 3T Cross Device Development] samtab37:
With oos andoid 7.1.1 on oneplus 3t I lost twrp even if I had reinstalled it after flash the update file
[OnePlus 3 & 3T Cross Device Development] Midomad:
Could you please check if you're google playstore say uncertified?
[OnePlus 3 & 3T Cross Device Development] youknownothing:
Ok, so I'm stuck...

At first I would like to state that I've searched multiple threads for the past couple of hours and found no solution to my problem.

I've succesfully flashed latest TWRP 3.0.4-1, rebooted it (to make sure), made a backup and flashed newest Open Beta 12.

After the boot logo disappeared a screen stating 'Decryption Unsuccessful' appeared.

What should I do now? I know that I could just format /data, but then I would lose my backup with data.

TWRP says, obviously, that /data is encrypted. I do not know password.

MTP doesn't work at all and adb sideload lets me just install small files (like SuperSU), when trying to install FreedomOS back it says that *cannod read <name.zip>*.

Could you guys help me? Please, I can't lose that data. Thank you in advance :)
[OnePlus 3 & 3T Cross Device Development] Flint2:
Yes, is certified.

Edit: Just upgraded to Oxygen OS OpenBeta 3 (Android 7.1.1 // March 1 security patch level), and Root Hide working ok with SafetyNet.
[OnePlus 3 & 3T Cross Device Development] Midomad:
Cloud you please pm me with the right procedure you did?

I used magic and supersu but my google play store still show uncertified!
[OnePlus 3 & 3T Cross Device Development] Flint2:
Deleted
[OnePlus 3 & 3T Cross Device Development] Midomad:
Already did that with magisk,but i will retry!
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
Please discuss magisk and supersu stuff in appropriate threads. Enough OT in this thread which is already in top position of OT'ed ones...
[OnePlus 3 & 3T Cross Device Development] thomsch:
Hi. I cant seem to exit TWRP. Doesnt matter which zip I install always go to twrp screen. pls helpp
[OnePlus 3 & 3T Cross Device Development] doppelhelix:
Just to clarify: Does the 'Decryption unsuccessful' message appears in TWRP?

Can you boot up Oxygen? If so, go to Settings > Security > Screen lock > PIN Disable the Secure start-up and assign a PIN. TWRP should be able to decrypt your device.

Now you can enable Secure start-up again and TWRP should decrypt with your new PIN.

The reason is usually a change in the way how a new oos version stores passwords.
[OnePlus 3 & 3T Cross Device Development] cultofluna:
After installing the zip...Boot manually to your ROM with on-off and volume keys..
[OnePlus 3 & 3T Cross Device Development] youknownothing:
Thank you for your reply.

No, 'Decryption Unsuccessful' screen appears when I try to boot system. Boot logo appears, then changes to square (looks like everything goes is alright), but instead of wallpaper the screen emerges. This message states that decryption process has been interrupted and therefore decryption process failed. The only option (suggested by the announcement) is factory reset.

Thank you for all your help :)

---------- Post added at 09:16 ---------- Previous post was at 08:35 ----------

Does factory reset in an encrypted phone wipe also photos (internal storage)?
[OnePlus 3 & 3T Cross Device Development] youknownothing:
I've tried the quoted method. After TWRP reboots it quasi decrypts data, but it still cannot be mounted and has 0MB.

TWRP says: E: Cannot decrypt adopted storage because /data will not mount.

When starting adb sideload there are lots of "Failed to mount '/data' (I/O error)".

Is there any way I could transfer at least photos? I really can't lose them :(
[OnePlus 3 & 3T Cross Device Development] youknownothing:
Pushing form fastboot would not work, because all files are stored in /tmp folder that with every shutdown is cleared (because in fact it is stored in RAM). I've tried also pushing via adb, but result is still the same...
[OnePlus 3 & 3T Cross Device Development] kessaras:
https://xdaforums.com/showpost.php?p=71201374&postcount=722

use the full firmware not the ota. the ota won't fix it.
[OnePlus 3 & 3T Cross Device Development] johnniegtg:
I've successfully sideloaded twrp 3.0.4.1 but I'm still presented with password when booting to recovery. I have removed password in screen lock prior to boot. What I find strange is that when I reboot into system it wants my old pin! Is this normal? Wanting to flash latest LineageOS nightly but am unable.
[OnePlus 3 & 3T Cross Device Development] null0seven:
Password it's because F2FS data partition. At least it was on CM (Lineage).
[OnePlus 3 & 3T Cross Device Development] johnniegtg:
I've flashed half a dozen nightlies prior to this so don't see a reason why partition would change?
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
Try 'default_password' without quotes
[OnePlus 3 & 3T Cross Device Development] youknownothing:
In TWRP settings I've found 'Use rm -rf instead of formatting' option. Does that mean that I could factory reset my phone without losing data?
[OnePlus 3 & 3T Cross Device Development] Samsagax:
'rm -rf' is the UNIX command for 'force delete everything in sight'. So, no, you can't factory reset your phone without losing data.
[OnePlus 3 & 3T Cross Device Development] kessaras:
right . it also means that having that enabled, you can't format. If you press to format, it doesn't work. Instead it uses rm -rf.

That's for safety in case you format the partition to another format by mistake.

Let's say my /data is f2fs and i press format to ext4. That won't happen , it will just wipe the partition.
[OnePlus 3 & 3T Cross Device Development] ebautista:
dm verity zip disabler is not working on my op3 4.0.3+twrp and fastboot oem disable_dm_verity also says unknown command in fastboot. Can someone help me?
[OnePlus 3 & 3T Cross Device Development] imreezm:
Install 4.0.2, use fastboot command, install 4.0.3
[OnePlus 3 & 3T Cross Device Development] ebautista:
I will try that. I was thinking of the same thing also. Thanks man!
[OnePlus 3 & 3T Cross Device Development] Fihlvein:
That also won't work, no matter how I try. If somebody manages to meke it work, could you please describe how you did the upgrade to OB3, etc.
[OnePlus 3 & 3T Cross Device Development] 1+3_FA:
Error 255

I'm getting this error --> createTarFork() process ended with ERROR: 255 , when trying to make a backup on TWRP 3.0.4-1.

I'm on ZenityROM (LOS). Any idea what to do?

This is the first time I get this message, worked a thousand times to backup..Now this Error... :/
[OnePlus 3 & 3T Cross Device Development] Jongla:
I flashed OOS 4.0.3 with the blu sparks mod twrp 3.0.3.x without rooting.

it rebooted in the system just fine, but I lost twrp soI flashed it again through fastboot.

but then it is stuck on blu sparks splash screen.

then I flashed 3.0.4.1 from this thread,but it is also stuck on splash screen.

I tried the wipe misc command while on splash screen but it says the device is offline.

So do I need to try the wipe misc command while system booted up or there is something else I missed?
[OnePlus 3 & 3T Cross Device Development] Xennet:
Had t same issue...

Tried wipe misc command but it said syst offline

Just removed t usb cable and reconnected.. wipe misc command worked but stii t splash screen was der stuck

Then treied t other command adb reboot recovery

T phone rebooted and dis time twrp came and slash screen went away after a few seconds..
[OnePlus 3 & 3T Cross Device Development] Souf0:
Hi,

i've a problem installing twrp in my OP3T.

I had the stock rom with twrp 3.0.2-1, and supersu. The problem is that i updated the rom via OTA, and then, it was stuck with black screen and white led.

As I've the OEM unlocked, i tried to install the latest twrp with fastboot flash recovery ..., and it appears that works fine, because the command finished with a "OKAY", but no, I can't enter in twrp, it stuck in black screen and white led.

Anyone can help me?

Thanks

P.S.: Later, i read that I must install the new version in the twrp mode.
[OnePlus 3 & 3T Cross Device Development] veroby:
Was wondering before i go ahead and unlock, flash twrp and root. Is it possible to remain on your stock rom following the process of oem unlock and flashing twrp custom recovery. And also does this process avoid the camera issues mostly all the custom rom threads are having. Thx in advance.

Moral of the story is i want root but without the sacrifice of camera issues. Is this to much to ask? :)
[OnePlus 3 & 3T Cross Device Development] Jongla:
It is not working for me.

Still offline after reconnecting.

Any other pointer?
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
You may either stay with root access on stock ROM or install snapdragon / ported oos camera on custom roms.
[OnePlus 3 & 3T Cross Device Development] veroby:
Thanks, does this mean once i have flashed twrp and su will i be able to boot back into my stock rom. thx again

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

Seems even with the oos camera on custom roms theyre having all sorts of issues. 20-30 sec video limit and others.
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Yes you can flash the latest TWRP with Su works fine on the latest stage as well as beta. So you can maintain twrp with root access on stock ROM.

V5 works for me fine on custom roms.
[OnePlus 3 & 3T Cross Device Development] kessaras:
Download latest oos rom. The full firmware not the ota.

Enter bootloader mode and do:

fastboot erase userdata

fastboot -w update <stock rom>.zip

Flash twrp latest too

fastboot erase recovery

fastboot flash recovery <recovery.img>

Reboot and everything will be fine. And never update via internal ota if you have twrp. Download the ota from 2nd post here.
[OnePlus 3 & 3T Cross Device Development] tdamocles:
I am currently on rooted 4.0.2(f2fs file system) on a 3t with twrp 3.0.4.0. I have tried to install two different roms by full wiping system,data,cache and dalvik. If I try a dirty flash then I get and error 7- just for $hits and giggles.. I then install these roms(tipsy and rr) with gapps and supersu and then proceed to boot into the system but it kicks me back to twrp. Logs are attached. I had to rename as .zip for the upload.
[OnePlus 3 & 3T Cross Device Development] jcadduono:
the recovery logs won't do much since it is not a TWRP issue, you need pstore/ramoops (see the first post)

i'm 99% sure that it is a crypto key incompatibility issue. your encryption key was probably created on OOS 4.0.2, and your ROM probably uses crypto libraries/daemon from earlier, ex. OOS 3.5 which cannot understand the OOS 4.0.2 generated key.

you will need to do this:

adb pull /sdcard

this will copy your entire internal storage to the current directory on your pc. make sure it worked and everything is there.

then use the [Format Data] button on the wipe page, where you have to type yes.

this will wipe all encryption and data off the phone, so that is why we pulled /sdcard (contains TWRP backups, all your stuff)

you should then be able to boot up your new ROM. once it is booted up, you can transfer all your stuff back onto the phone.

you can also restore data backups if they are compatible with the rom.

*** if you cannot decrypt your data in TWRP anymore then you will need to flash the ROM that your data partition last worked on, then reboot TWRP so it can use the encryption libs from that ROM.
[OnePlus 3 & 3T Cross Device Development] tdamocles:
adb pull /sdcard command is telling me that the remote object /sdcard not file or directory. yes, it failed and now It can't access internal.
[OnePlus 3 & 3T Cross Device Development] jcadduono:
you have to mount your data partition first
[OnePlus 3 & 3T Cross Device Development] tdamocles:
Tried to format and it failed and now I can't access sdcard at all or otg.
[OnePlus 3 & 3T Cross Device Development] jcadduono:
Yeah sorry I don't believe you.
[OnePlus 3 & 3T Cross Device Development] tdamocles:
Can't believe I just got that kind of response.

You don't have to believe me but it gave me errors of not being able to decrypt and then when I booted back to twrp it asked me if I wanted to allow modifications and then I could not see my internal storage. I saw what I saw. Sorry if you didn't see it yourself. Did notice that the otg probably would have worked since the otg sdcard reader broke but.....the phone did not decrypt. Doesn't matter, starting from scratch.
[OnePlus 3 & 3T Cross Device Development] sjaak1234:
I'm a bit confused.

I just updated to android 7 and flashed the latest TWRP. However I am unable to decrypt, getting the invalid password option. Is this a "bug" within TWRP? Should I flash the unreleased 3.0.4.0 version listed in the opening post? I can select cancel and get into TWRP but mounting doesn't seem to work.

I don't want to root, I only want to be able to mount the system partition so I can flash my own hosts file. Now I'm back in Ad hell ><. Wished the TWRP made a mention of this issue, would have waited with updating if I knew I wouldn't be able to mount the system partition.
[OnePlus 3 & 3T Cross Device Development] dmcleod:
Download notwendig possible for 0.4 Version

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[OnePlus 3 & 3T Cross Device Development] jcadduono:
you're confusing me, I suggest you just read the first post and decide for yourself.

I added some bigger and more colorful text to it recently if that helps.

ps. there's also a "why is my password invalid" section!
[OnePlus 3 & 3T Cross Device Development] vl.xl:
Sorry for some more another n00b quesrion, was just browsing through recovery log in backup folder and was wondering about this

And my data filesystem is EXT4 as in screenshot.. is it like that because f2fs is default or I will have some problems latter when restoring?

Thanks and much appreciated?
[OnePlus 3 & 3T Cross Device Development] sjaak1234:
Changing my password/pin did not work. Removing password/pin obviously did work.

If I understand correctly you MUST flash the DM-verify and encryption disabler if you want to mount and change the system partition? So that means your phone is not encrypted anymore?

I don't want to root my phone because I have no need for it and if possible keep it as stock as possible. All I want to do is change the hosts file.
[OnePlus 3 & 3T Cross Device Development] Renosh:
I also asked this question in the other thread and based on the devs posts, it doesn't disable encryption unless you format data but it should disable dm verity if you follow the steps he outlined
[OnePlus 3 & 3T Cross Device Development] Primokorn:
If I set a PIN at startup, TWRP asks me a password to decrypt my data. However I don't have any PIN request at boot and I have this after the bootanimation:

There's something I didn't understand lol
[OnePlus 3 & 3T Cross Device Development] sjaak1234:
So if I understand correctly I can store the dm verify zip somewhere on my phone, boot into twrp, slide to allow modifications and then install the zip. The end result should be I can modify the system partition (while being able to boot afterwards) and encryption etc is still available?

Do you know what the .zip is effectively doing?

edit: In case something fails I assume I can just flash a new firmware to go back to a working state?
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
you can ALWAYS access your system partition. ALWAYS. you can flash your own hosts file without mounting data. and YES, you should always use latest TWRP, in this case 3.0.4.0.

All pretty basic stuff.

---------- Post added at 12:01 PM ---------- Previous post was at 11:56 AM ----------

your password is default_password, aka you are not really encrypted. read the discussion one page back. also upgrade to 3.0.4.0
[OnePlus 3 & 3T Cross Device Development] sjaak1234:
How can you write to the system partition without mounting it and thus having to swipe to the right in twrp to allow system modifications which in turn requires you to either root (which I don't want) or flash the dm-verify (which I rather not do because I don't know what it does)?

I have not been able to find any way to access the system parition without mounting it as writable in twrp. Not without root anyway.

Maybe a dumb question but if you could enlighten me :)
[OnePlus 3 & 3T Cross Device Development] Primokorn:
My password in TWRP is my PIN. No issue in TWRP. BUT when the phone boots I can't enter any PIN. I immediately have the above message...