yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
Technically the PIN at startup does not decrypt anything. It's just a way to secure the access to TWRP (which is logical, what is the point of being encrypted if your data can be accessed through recovery...)

The decrypt key is randomly generated by the Rom and unknown from you and us (and that's precisely what makes it robust, nobody knows it). But if you set a master boot PIN code it will generate a new decrypt key. That's why there can be issues if you change your Rom without managing the PIN code from inside the Rom, especially since there are different versions of the encryption libs among the roms.

I guess issues and questions about this will never end anyway.....
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
oh, then I misunderstood your original post. did you switch your rom recently? if your rom uses old crypto libs, they cannot access an 4.0.x formated and encrypted partition. remember when there were 2 versions of twrp, one for 3.5.x roms and one for 4.0.x roms and either of them couldnt decrypt the other ones partition? imagine that, but not for twrp, but for the rom.

then again you say, you can decrypt in TWRP, which pulls the crypto libs from the rom. either way, you probably end up backing all data up to your pc, reformatting and restoring.
[OnePlus 3 & 3T Cross Device Development] Xennet:
Just do the reboot command

Or manually switch of and reboot to twrp
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
I think you should read some general articles about recovery, root and so on to have at least since clear ideas about what you are really doing when you flash a recovery, a Rom, a kernel... Or you'll have potential issues to come.

If you don't change your Rom it will not end with a custom rom, so no trouble with camera. Recovery <> Rom....
[OnePlus 3 & 3T Cross Device Development] Souf0:
Hi,

first of all, thanks for your reply.

When I try to update the stock rom, it appears an error:

archive does not contain 'android-info.txt'

archive does not contain 'android-product.txt'

error: update package has no android-info.txt or android-product.txt

I can't do it because these two files are missing.

Regards
[OnePlus 3 & 3T Cross Device Development] kessaras:
Re-download it then from somewhere else.

Stock rom has everything needed to be flashed in fastboot and I have test it many times when I want to fully clean my phone with fastboot.
[OnePlus 3 & 3T Cross Device Development] Woody:
Any reason why I wouldn't be able to mount my OTG card reader? It's this model below* and just a simple 64gb card. In the TWRP file manager I can't navigate to it either through mnt or data/. When I go into Mount, it is listed but at 0b. Just curious if I'm missing something like format, size restriction or something else.

DU 2-10 Official

ElementalX latest

TWRP 3041

SanDisk Ultra SDXC 64gb Pretty sure card is formatted to exfat or whatever it came standard out of package

http://www.meenova.com/st/p/dash_g3c.html
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
My 64GB USB OTG works fine on both OS and Recovery

Try FAT32 file system.
[OnePlus 3 & 3T Cross Device Development] Souf0:
Finally I got it. I flash the original recovery from one plus website, and flashed with fastboot. Then, I can update since settings-> update (in android).

Thanks for all.

Regards

Enviado desde mi dispositivo móvil, perdona la brevedad.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
OT:

Well, at least our custom rom is reported to have stock-like camera since we moved to 7.1.1 blobs of beta 3. I am not a big camera user and can only rely on what other users post, bu maybe give it a try.

---------- Post added at 12:17 PM ---------- Previous post was at 12:15 PM ----------

You cannot use system->update when you did modifications to your system. Once you are rooted or did other modifications to your /system partition, you have to install the full zip in twrp. If you use the system update process, you end up being stuck in TWRP. No matter what reboot option you choose, you stay in TWRP. You have to enter misc_wipe in TWRP terminal to get out of it. Flashing stock recovery of course also helps, since it does the same.
[OnePlus 3 & 3T Cross Device Development] Jaizu:
thanks for the "WHY AM I STUCK ON THE TWRP SPLASH SCREEN FOR 8 HOURS?", waited antoher 8 hours and that fixed it /s

But really, thanks for the explained post!
[OnePlus 3 & 3T Cross Device Development] 1+3_FA:
For those who interested:

dirty flash actually ROM you use solved that problem.
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
Just tried to make a backup of my OOS Beta 11 build before flashing Beta 12 over it, got the same error. I just retried a new backup, working fine so far about 5mins into the backup whereas it was failing/delivering that error code within a minute previously. I'm not sure what the missing link was; there's a suggestion above to dirty flash/re-dirty flash the ROM to clear things up, you might try that and see if it works.
[OnePlus 3 & 3T Cross Device Development] 1+3_FA:
:good:
[OnePlus 3 & 3T Cross Device Development] Joshmccullough:
Man, that's what I get for reading multiple threads at once...... [emoji13]
[OnePlus 3 & 3T Cross Device Development] luisangel89:
Does anyone know why when I restored my backup official OOS 7.0 when I entered my screen pin it said it was invalid? The pin after a reboot works except the pin to unlock the screen which they are the same.
[OnePlus 3 & 3T Cross Device Development] :
In TWRP delete data/system/locksettings.db.

Reboot.
[OnePlus 3 & 3T Cross Device Development] luisangel89:
Is this a one time thing or is it after every flash or restore? Thank you
[OnePlus 3 & 3T Cross Device Development] Mr.Crucial:
Once
[OnePlus 3 & 3T Cross Device Development] Egor Gunko:
I can't flash stock OOS ROM on OP3T, it says 'This ROM is for Oneplus 3T and your device is Oneplus 3'(or something like this, I can't remember exactly)

Is there any fix? :3
[OnePlus 3 & 3T Cross Device Development] veroby:
Installed the latest twrp on my 3t but when i boot into it i get a message requiring a password. Im able to continue on past the password request without putting one in. Once in i have an error message saying unable to mount. Therefore cannot wipe cache or nothing. Strange because it worked ok initially. Any ideas welcomed and thx in advance.
[OnePlus 3 & 3T Cross Device Development] veroby:
Have you the correct recovery for the 3t.
[OnePlus 3 & 3T Cross Device Development] rootSU:
I am having a very big problem right now. Problem is described here: https://xdaforums.com/oneplus-3/help/urgent-corrupt-data-warning-extract-t3569012

In short, my data shows it's corrupt, pattern doesn't work, and twrp can't read any data due to it being encrypted. How can i recover my /sdcard/ data?
[OnePlus 3 & 3T Cross Device Development] Egor Gunko:
man it's unified
[OnePlus 3 & 3T Cross Device Development] veroby:
Since you are trying to flash a stock rom maybe flash stock recovery.
[OnePlus 3 & 3T Cross Device Development] d3xtr0:
Is efs backup and restore safe with this recovery? :)

Thanks for your work!!!!

Edit: on op3T. Thanks
[OnePlus 3 & 3T Cross Device Development] the_rooter:
you can flash the files directly from oneplus via twrp.
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Yes a restore should work fine whenever needed. Just make sure you use the same twrp version upon backup and restore.
[OnePlus 3 & 3T Cross Device Development] d3xtr0:
Well I asked that because that was what brick my efs partition on lg g3 :(

That's why I asked. Anyone had to test it? Thanks
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
You can take a precautionary measure to safeguard yourself against this by taking a couple of minutes to back up your modemst files.

Open up Terminal Emulator on your phone

Once it's open you'll be greeted with a command line prompt, in which you can enter text commands, the first thing you need to do is enable root access by entering this line (press the enter key on your on-screen keyboard after each command to issue it):

su

If this is the first time you've used Terminal Emulator a Superuser or SuperSU popup will appear, make sure you grant root access.

Now enter these two commands:

dd if=/dev/block/sdf1 of=/sdcard/modemst1.bin bs=512

dd if=/dev/block/sdf2 of=/sdcard/modemst2.bin bs=512

This will place two files (modemst1.bin & modemst2.bin) on your internal storage. Make sure you copy them to your PC and other Clouds immediately so that you have a backup there to use if you need to restore it in future.

That's it !! Incase you ever need to restore Nanroid or EFS Backups, see the next post.

Restoring an EFS Backup:

If by chance you end up with a corrupt EFS partition all you need to do is flash the files back to your device using fastboot.

Boot into fastboot mode (power + volume up) and connect your phone to your PC via usb cable.

Keep modemst1.bin and modemst2.bin (backed up earlier) on your desktop and open command window there.

These fastboot commands will restore the files:

fastboot flash modemst1 modemst1.bin

fastboot flash modemst2 modemst2.bin

Reboot your device.

fastboot reboot

Now disconnect phone from PC, your IMEI should be back.
[OnePlus 3 & 3T Cross Device Development] pratyush28:
I had taken efs bakup using terminal method while i was on 3.5.3. Do i need to update this backup or will it work with all roms after i restore it?
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Well the latest twrp is self sufficient so I doubt if you gonna ever need however yes you need to update your backup as the firmwares have changed a number of times 3.5.3 - 3.5.4 - 4.0 - 4.0.1 - 4.0.2 - 4.0.3

Just take it again on the latest 4.0.3 FW and whenever you restore it has to be on the same FW to avoid conflicts.
[OnePlus 3 & 3T Cross Device Development] Primokorn:
A backup at 101%... should be a bug :)

Unofficial RR ROM.
[OnePlus 3 & 3T Cross Device Development] mad-murdock:
Try default_password

---------- Post added at 11:29 PM ---------- Previous post was at 11:26 PM ----------

Your f2fs partition is broken. There is no way to get your data back. Format.

Just because I am curious and didn't hear about broken f2fs for a while: which roms, kernels and recoveries have you flashed in the last few weeks?

It is possible though, the error is very old and it just took a while until it got that broken.

---------- Post added at 11:31 PM ---------- Previous post was at 11:29 PM ----------

Why? There shouldn't be the described error in the first place.

---------- Post added at 11:31 PM ---------- Previous post was at 11:31 PM ----------

Can you be more specific? If you want help, supply us with more than "something like this"

---------- Post added at 11:34 PM ---------- Previous post was at 11:31 PM ----------

Nice catch. Best go to IRC and tell there.
[OnePlus 3 & 3T Cross Device Development] Egor Gunko:
Well the problem is that TWRP specifies my OP3T as OP3 but it's unified build
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
Twrp specifies nothing...

The model identification when you flash is done by the build.prop file provided by your installed ROM. You should search in this direction.
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Does anyone has an issue on Beta 3, all of a sudden twrp is unable to mount system
[OnePlus 3 & 3T Cross Device Development] human_yan:
I flashed 3.0.4-1 through 3.0.4-0, it can not boot to recovery. Now I am trying to flash back to 3.0.4.0.
[OnePlus 3 & 3T Cross Device Development] ivano949:
I had the same on OOs 4.0.2 after a restore. Dirty flashed full Rom and SuperSU and all came back ok

Tapastalking
[OnePlus 3 & 3T Cross Device Development] Egor Gunko:
Yeah, I know TWRP doesn't specifies nothing, just wrote it wrong, sorry

I mean if I flash ROMS specially made for OP3T I got error saying 'This ROM is for Oneplus 3T, your device is Oneplus 3'

So I can't flash any nougat ROM made exactly for OP3T
[OnePlus 3 & 3T Cross Device Development] kessaras:
what are you talking about ?

go into fastboot and fix it. its only you that has this problem at a worldwide range.

fastboot erase recovery
fastboot flash recovery <recovery.img>
[OnePlus 3 & 3T Cross Device Development] Striatum_bdr:
Check your build.prop and fix it eventually
[OnePlus 3 & 3T Cross Device Development] yooouuri:
When i boot into recovery, it take ages when the recovery menu popups...

TWRP just hangs on the logo for like 30 seconds...

Somebody else?
[OnePlus 3 & 3T Cross Device Development] :
Are you using f2fs formatted data partition? Read op, "known issue" paragraph
[OnePlus 3 & 3T Cross Device Development] Uqbar:
I unlocked the phone.

I went to bootloader mode.

I installed TWRP 3.0.4-1.

I powered the phone off.

I powered it on with VOL-+POWER and then asked for recovery.

I let the device boot (with the usual 5 seconds delay)

It's stuk with black screen and the white notification led on.

Any hint?
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Flash twrp again from fastboot and reboot directly into recovery

After flash just press Vol rocker to select recovery and hit power button to confirm selection
[OnePlus 3 & 3T Cross Device Development] Uqbar:
That actually worked just fine!

Thanks.

---------- Post added at 12:29 AM ---------- Previous post was at 12:22 AM ----------

I see a possible bug in this version (3.0.4-1).

I select "Reversed navbar layout (I prefer back on right).

Then if I go to " Time zone" and hist "Set Time Zone", or if I go to "Language" ad hit "Set Language" (so I basically confirm my settings),

the "Reversed navbar layout" setting gets disabled.
[OnePlus 3 & 3T Cross Device Development] human_yan:
Thanks! I fixed it. ADB flashed back to 3.0.4. Was using TWRP 3.0.4 to flash 3.0.4-1 img to recovery.
[OnePlus 3 & 3T Cross Device Development] yooouuri:
No i am not using f2fs
[OnePlus 3 & 3T Cross Device Development] betahaedar:
Guys, does it mean that every custom ROM for OP3 out there supports a kernel that has dm-verity disabled? Thank you.
[OnePlus 3 & 3T Cross Device Development] Uqbar:
twrp-3.0.4-1 cannot unencrypt the partition encrypted by LineageOS weekly 20170309.

Before my last night bricking and unbricking (and total wiping), I was on 20170302 with the very same TWRP.

Useless to say that TWRP was able to unencrypt.

Is this a LOS problem, TWRP's or is it just me?
[OnePlus 3 & 3T Cross Device Development] Midomad:
Official TWRP 3.1.0-0 Released.
[OnePlus 3 & 3T Cross Device Development] maddler:
Was just giving 3.1.0 a try. Did anyone managed to backup to PC?

When I try it just says "Now unlock your device and confirm the backup operation..." and exists.
[OnePlus 3 & 3T Cross Device Development] cucumbersmell:
3.1.0 issues:

1. Wiped my current ROM

2. Not able to navigate in TWRP.

3. Wifi not working?
[OnePlus 3 & 3T Cross Device Development] Midomad:
[emoji33]

Seriously?
[OnePlus 3 & 3T Cross Device Development] cucumbersmell:
I had moved my TWRP image into it's own folder before flashing it. The TWRP images I had in it appear to have been deleted automatically. After signing back in, I deleted that folder using Root Explorer and am able to navigate now. (Up A Level) is back!

I did use Flashify to go back to 3.0.4-1 until I'm near my PC and will fastboot flash the new TWRP.
[OnePlus 3 & 3T Cross Device Development] joaoennes:
You did something wrong...

All good here!
[OnePlus 3 & 3T Cross Device Development] cucumbersmell:
I flashed the TWRP image in TWRP. That was all. I'll try flashing with the Official TWRP app.
[OnePlus 3 & 3T Cross Device Development] brandonhatty:
I flashed new image via twrp app. Made backup. Wiped. Only some files remain. My folder containing all my ROMs etc... Are now wiped. Folder remains but content gone. Restored backup and all data and apps gone. Restore of system worked but puts you at setup as if you just clean flashed. I'm by no means an expert but ****s wacked with official 3.1
[OnePlus 3 & 3T Cross Device Development] cucumbersmell:
Files are disappearing on me, also. This is after flashing with the Official TWRP app. Will stick with 3.0.4-1 for now.
[OnePlus 3 & 3T Cross Device Development] knpk13:
[MENTION=5672995]jcadduono[/MENTION] TWRP 3.1.0-0 does not seem to read my preference for sRGB mode unlike the previous TWRP builds. And boot time is actually seems to be longer than before? Also some people are reporting issues with the latest build; so is it stable or not? I haven't experienced any filesystem corruption. Stock F2FS but unencrypted.
[OnePlus 3 & 3T Cross Device Development] imreezm:
Wrong post
[OnePlus 3 & 3T Cross Device Development] 64ashg:
OnePlus 3t users, in the TWRP website, we have a different device page than the 3, ie search for the device page for 3t. Download 3.1 from there, and flash manually, used twrp 3.0.4-1, fastboot is also solid. Everything seems to be working fine here, stock stable oos+ fk+ f2fs data+ encrypted.
[OnePlus 3 & 3T Cross Device Development] kessaras:
new 3.1.0 has merged your changes from your beta and its safe enough ?
[OnePlus 3 & 3T Cross Device Development] turbo1781:
No wipe here. Installed with Fastboot
[OnePlus 3 & 3T Cross Device Development] droidextra:
Are you using 3T? How did you flash it? And did you lose any data while flashing the new version? What do you suggest everyone does before flashing the new version?

Sorry for so many questions :p
[OnePlus 3 & 3T Cross Device Development] tdamocles:
After flashing 3.1 twrp it wiped all content in my internal sdcard and factory reset the current rom.. I couldn't even boot into recovery. I had to flash back to the -1 version of twrp to restore a backup.
[OnePlus 3 & 3T Cross Device Development] the_rooter:
When you downloaded the twrp 3.1.0 from the official download did u download it from one plus 3 link?
[OnePlus 3 & 3T Cross Device Development] ivanich:
Actually 3.1.0 is mess, dropped all data from op3, just curious these morons testing it before release?
[OnePlus 3 & 3T Cross Device Development] Schrotty35:
What is new on 3.1.x?
[OnePlus 3 & 3T Cross Device Development] tdamocles:
On twrp website under 3t device.
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi,

search and found ;)

-> https://www.xda-developers.com/twrp...-support-for-adb-backup-ab-ota-zips-and-more/

@+
[OnePlus 3 & 3T Cross Device Development] the_rooter:
That's not the answer to my question. I am betting those that are having issues are downloading the OnePlus 3 version and not the oneplus 3t. The 3.0.4-1 was unified but there are people on here are claiming no issues with installing.
[OnePlus 3 & 3T Cross Device Development] novas78:
Read this https://www.xda-developers.com/twrp...-support-for-adb-backup-ab-ota-zips-and-more/
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
TWRP v3.1.0 Change-log

vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition’s vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)

adb backup to stream a backup directly to or from your PC, see documentation here: https://github.com/omnirom/android_bootable_recovery/commit/ce8f83c48d200106ff61ad530c863b15c16949d9 (bigbiff)

tweak MTP startup routines (mdmower)

support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)

support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)

better indicate to users that internal storage is not backed up (Dees_Troy)

improve automatic determination of TW_THEME (mdmower)

minimal getcap and setcap support (_that)

try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)

shut off backlight with power key (mdmower)

timeout during FDE decrypt (Dees_Troy and nkk71)

support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)

boot slot support (Dees_Troy)

TWRP app install prompt during reboot (Dees_Troy)

support for AB OTA zips (Dees_Troy)

support new Android 7.x log command (Dees_Troy)

update recovery sources to AOSP 7.1 (Dees_Troy)

numerous bugfixes and improvements by too many people to mention
[OnePlus 3 & 3T Cross Device Development] tdamocles:
I downloaded for 3t....directly from the website and it does not work for me.
[OnePlus 3 & 3T Cross Device Development] SeverusSnape:
Can i use the new official TWRP 3.1.0-0 with my OP3 ?

Regards
[OnePlus 3 & 3T Cross Device Development] deepongi:
v3.1.0.0 is fine.... no wiping issues or whatever... download the proper recovery for your oneplus...

regards.
[OnePlus 3 & 3T Cross Device Development] aymahalawa:
Have you flashed 3.1 through recovery ??

Also are you using op3 ?
[OnePlus 3 & 3T Cross Device Development] deepongi:
I've flash it via official twrp app, since I had it installed. Device is 3T.

Regards.
[OnePlus 3 & 3T Cross Device Development] Aldideos:
I installed it from twrp and wiped all my data!, 3T too.

Are you encrypted or not? I think it could be.
[OnePlus 3 & 3T Cross Device Development] Pumpino:
I installed 3.1 on my OP3 from 3.0.4. I was careful to select the recovery partition prior to flashing. When I selected reboot to recovery, it took me to the fastboot screen. I then performed a normal boot and flashed 3.1 within Flashify. It then booted into fastboot mode again.

I rebooted and used Flashify to flash 3.0.4, and everything is fine again.

I'm grateful for the work that's done, but as someone else asked, doesn't anyone even test these prior to uploading them? It's not good enough when it wipes people's data.
[OnePlus 3 & 3T Cross Device Development] veroby:
Quote:

Originally Posted by veroby

Installed the latest twrp on my 3t but when i boot into it i get a message requiring a password. Im able to continue on past the password request without putting one in. Once in i have an error message saying unable to mount. Therefore cannot wipe cache or nothing. Strange because it worked ok initially. Any ideas welcomed and thx in advance.

To which you suggest try default password.

As mentioned above i could continue past the password without putting one in. Strange in it self.

Problem was it wasnt functioning. I was unable to clear dalvik cache and possibly but not absolute sure, it may have been why i was unable to flash R Remix. There remains a question over having the correct firmware installed for that Rom. This is something i am trying to get my head around before i flash just anyones firmware. Why would youneed rom specific firmware. Asking for to much trust in my opinion.
[OnePlus 3 & 3T Cross Device Development] Ventigo:
I have a op3 installed the 3.1.0 version via the app and everything is fine no wipe or something like that
[OnePlus 3 & 3T Cross Device Development] 64ashg:
Works for me, use fastboot to flash it
[OnePlus 3 & 3T Cross Device Development] Ruppi64:
TWRP v3.1.0.0 is crap after boot in the recovery and reboot some app's are no longer installed, for example SD Maid.

After flashing on TWRP 3.0.4.1 it works again.
[OnePlus 3 & 3T Cross Device Development] AutomationLab:
Well done TWRP! Did a full wipe! Flashed with the official TWRP app.
[OnePlus 3 & 3T Cross Device Development] Midomad:
I confirm this,but just reinstalled the app again.

Other than that i don't see anything wrong!
[OnePlus 3 & 3T Cross Device Development] deepongi:
BTW, the issue with the lockscreen, after restoring a nandroid backup is gone.
[OnePlus 3 & 3T Cross Device Development] inkaine:
So, security settings (PIN, pattern, fingerprints) are finally restored correctly? Then it's time for me to flash TWRP again. :fingers-crossed: Thanks.
[OnePlus 3 & 3T Cross Device Development] SpasilliumNexus:
All of these issues being posted, and yet NO ONE who posted about said issues has provided any recovery log to look at, which takes two taps and a swipe to do. . .
[OnePlus 3 & 3T Cross Device Development] tdamocles:
I tried it again through the official TWRP app and it worked this time.

---------- Post added at 04:47 AM ---------- Previous post was at 04:40 AM ----------

My 3.1.x wouldn't boot to get a log? OK?
[OnePlus 3 & 3T Cross Device Development] Uqbar:
Wifi?

Since when TWRP can let you use wifi in recovery?