yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T Guides, News, & Discussion] c1ph4:
Hello again,

apart from a little bumpy start of our chat conversation I think you got my problem already (see quote part of my last post). :)

Here's what I did/tried last night:

did backup of my apps with "Titanium Backup", was on AICP 14 with Stable5.0.8 Firmware+Modem from here

just to be sure I also did a Nandroid backup afterwards with TWRP

I then wiped everything except internal storage (as always) through TWRP and installed "Skydragon" ROM from June the 13th

install was successful and I could boot into the ROM but recognised I had no SIM cards

I thought it must be because of an old phone firmware, thus searched for a current one

found this thread and installed this linked firmware through TWRP, this was also successful

after the reboot I was then greeted by "Skydragon" I should "factory reset my phone" which I so far declined

after I rebooted into TWRP again, my device isn't recognising my lock pattern (I use a simple pattern) for decryption and can't access TWRP anymore as well as decrypt my /data partition

And now I'm here and don't know what to do anymore. :-/

IIRC I can't go back to phone firmware 5.0.8 as well as update to 9.0.3 now without TWRP??

[Update I, 2:30PM]

With my current TWRP, not yet decrypted partition, plus the integrated sideload menu I managed to re-install firmware 5.0.8 when connected to my Linux box with this command:

adb sideload Stable5.0.8\ Firmware+Modem_OnePlus3T.zip

The problem with "Skydragon" requesting a factory reset and TWRP not recognising my pattern to decrypt /data stays the same. I don't think I was successful, was worth a try...
[OnePlus 3T Guides, News, & Discussion] :
[MENTION=4915713]c1ph4[/MENTION]:

If you upgrade the fw from 5.x.x to 9.x.x with an unlocked bootloader and encryption, you need to format and reencrypt data.

You can avoid refomarting/reencrypting by using the modded (aka 9.0.3 fw with bootloader and keymaster from 5.0.8).

Skydragon uses blobs from 5.0.4. No need to use 9.x.x fw. If you use 5.0.[4-8] with Skydragon and encounter any issues, they are not related to fw.

All of the above has been explained many times in the appropriate threads.

If you want to access your encrypted data partition again (including access userdata with twrp), flash anything with a 5.x.x bootloader and keymaster. In other words: flash 5.0.8 fw or modded 9.0.3 fw or OOS 5.0.8 to get your secured boot passphrase (in your case: pattern).

Don't mix lockscreen passphrase with secured boot passphrase - these two are completely different things.

Read, understand and think, before you flash anything the next time.

EDIT: if sideloading doesn't work (and I don't say it isn't, without recovery log and adb sideload output - how should I know?), use an otg mass storage device.
[OnePlus 3T Guides, News, & Discussion] c1ph4:
Good day [MENTION=4405529]nvertigo67[/MENTION],

thanks for being so patient with me. Since last night my nerves are lying blank.

I would choose this variant, if possible for me:

I already got the flashable zip on my PC. Now I'm facing the problem that I just am not successful when I want to flash it:

As I can't access TWRP through my pattern I choose "Cancel". Afterwards I swipe to "allow modifications" to alter system files. From here, I access "ADB sideload", swipe again and then did

adb sideload OnePlus3T_9.0.3-\(07-06-19\)-FIRMWARE-flashable.zip

through my Linux terminal. Both in my terminal and in TWRP I see status, in TWRP I also see "success". After reboot, I can't confirm if I got the 9.0.3 firmware, I just can confirm my unlocking fails again and "Skydragon" shows the same message to reset my phone.

My guess: I'm back to zero.

What you mention here:

I really didn't know that. As I came back to Custom ROMs from February and before that from November/December 2018, I really can't know the details. What you write makes sense to me though and I can confirm I got no problems with 5.0.8 _except_ no working SIM cards. This was the main reason I tried a current fw last night.

Yes, I would love to! But how? :) Maybe you know an alternative way to flash fw zip files to TWRP, highly appreciated! <3

Sorry for the misunderstanding: I _never_ meant lockscreen passphrase but _always_ secure boot passphrase. Sorry if I mixed that up somewhere!

Believe me: usually I _always_ do that, really. Problem was, the last night, I should have stopped, really. Maybe you know those phases. Plus, I don't know, I love the device but I never faced similar hard and difficult problems for any device I used in my Android past since the Pie release. I'm going crazy, this is not the first time it totally went armaggeddon when trying to update to a Android 9.x ROM. It's only my feeling, so please take it with a grain of salt. I'm also not so active in the scene nowadays and miss most topics as I was in my 20s.

If you could go into the details here, please? This sounds interesting to me. If you need the logs I try to deliver them. ADB sidelog says success, as mentioned above, here is my output:

Total xfer: 1.11x

How can I use the OTG mass storage device as I'm already connected with the device to my PC?

Thank you very much for trying to help me, you're my man and really a great help at the moment! :highfive::good:
[OnePlus 3T Guides, News, & Discussion] :
[MENTION=4915713]c1ph4[/MENTION]:

I gave you the history of the blobs repo for Skydeagon. As you can see, the last update is the update to 5.0.4 blobs:

https://gitlab.com/HolyDragonProjec...mmit/165029e322f12b7fd736f5f473c310dbedb07b10

So the native OnePlus bl8bs are from OOS 5.0.4.

otg mass storage device: i.e. usb stick woth usb-c male, or harddisk with usb-c, or any usb mass storage device with usb-c or usb-a/b with otg usb-c adapter. Connect to the usb port of your device and mount in twrp. Cange storage and manually flasfrom the mounted usb device.

Alternately you can (in twrp) adb push to /cache or /tmp and manually flash from there.

EDIT: the file you've downloaded is not a package with 5.0.8 bootloader and keymaster. As I've stated already: to use your userdata partition again you need to flash a package with 5.0.8 bootloader and keymaster.
[OnePlus 3T Guides, News, & Discussion] c1ph4:
Never mind: the firmware OOS 9.0.2 f***ed up my encrypted /data partition plus TWRP.

I don't know how it did that.

What I could do was flash other ROMs the way you described here:

From all ROMs I tested (AICP, Skydragon, Dirty Unicorns), the result stayed the same: TWRP not encryptable, ROM is saying "please factory reset" at boot.

In a hasty and despaired moment I did exactly that (need the device in my office on Monday already). Which resulted in an unlocked TWRP somehow. From there, I flashed my favourite ROM, AICP, again and set up everything and do still. I got months old backups of my apps via an external hard drive, at least. Same goes with my photos.

Recently (as I said I got issues with Android 9 since the end of 2018 for this device) I did a 50+ GB *.img image of my entire phone with adb pull. The last hope is to get this *.img file mounted and decrypted somehow. If you know how I can do that, let me know! All my data and my /data partition is inside that. Nothing should be lost forever. From what I found online so far, this isn't easy for this f2fs partition but you never know.

Well, what a weekend. :( I wished I was dead. :-/

But hey, that's an episode why we are doing this! Experimenting. Gaining knowledge through try and error. Growing.

I think Android got harder since several years (see dying ROMs like AOKP, DU, Paranoid or the problems the devs of "Titanium" and "Substratum" face). I don't think it's because of us devs and users. Or maybe: I'm just too old now for this s**t. :eek:
[OnePlus 3T Guides, News, & Discussion] MENINBLK001:
Hello all,

I tried to flash the 6/16 nightly for the OP3T.

It gave error 7 and said it required Modem Firmware 9.0.2.

I rebooted back into the system.

Came here and downloaded the 9.0.2 Modem Firmware.

I rebooted back into TWRP and flashed Firmware, nightly, OpenGApps, and then wiped Dalvick and cache.

After boot up my lock pin was not recognized.

Deleted the lockset.db file from TWRP and was then able to boot into System.

On System bootup, I get the message on my lock screen that Modem Hardware is NOT Available.
[OnePlus 3T Guides, News, & Discussion] iampine:
Thank you! Successfully upgraded from Oreo to Pie without deleting data :)
[OnePlus 3T Guides, News, & Discussion] brickedfirmware:
I unfortunately attempted to upgrade to LOS16 2019-06-18, and after getting the "FW too old" message, flashed the stock 9.0.3 FW instead of the modified one and now /data cannot be decrypted anymore. Is there anyway to recover from this? flashing/sideloading the modified FW linked in this thread, with or without reflashing the OTA zip does not help, and neither does flashing the previously installed LOS16 nightly version and the old 5.0.8 firmware. I'd like to avoid a factory reset if at all possible..
[OnePlus 3T Guides, News, & Discussion] sandeep_kumar:
try 9.0.2 firmware and report back to us.
[OnePlus 3T Guides, News, & Discussion] brickedfirmware:
unfortunately the same result - no decryption possible. is there some "more in-depth" way of flashing the firmware zip than with TWRP? e.g., fastboot or the like?
[OnePlus 3T Guides, News, & Discussion] Paschfire:
Unfortunately no. You'll need to perform a factory reset/reformate of internal storage to regain access into your device.

The /Data partition has become corrupted from flashing OOS 9.0.3 over a custom ROM, as the bootloader/key-master isn't compatible across 5.0.8>9.0.3 firmwares.

At this point a ful reset of the device is likely your only solution now.

You could try rolling back to OOS 5.0.8 to see if it will grant you access again.
[OnePlus 3T Guides, News, & Discussion] brickedfirmware:
yes, and it seems it actually destroys something irreversibly. which is very unfortunate, and would probably warrant some kind of warning before upgrading..

nope, same result. guess I have to restore from my last backup, which is unfortunately 2 months old..
[OnePlus 3T Guides, News, & Discussion] seanlano:
See this post: https://xdaforums.com/showpost.php?p=79209161&postcount=1477

Also discussed in this thread: https://xdaforums.com/oneplus-3/how-to/op3-flashable-firmware-modem-zips-t3816066/page10

I also just lost everything on my OP3T whilst trying to upgrade the firmware to 9.0.3.

BE CAREFUL!! TAKE A BACKUP!
[OnePlus 3T Guides, News, & Discussion] distante:
Using this for 9.0.3 we do not loss any data. Am I correct?
[OnePlus 3T Guides, News, & Discussion] Rootax:
I did that for 902.

For 903 it was time I start from clean.
[OnePlus 3T Guides, News, & Discussion] brmbjn:
after success flash 9.0.2

how about if i update from 9.0.2 to 9.0.3 by twrp ?
[OnePlus 3T Guides, News, & Discussion] Rootax:
If you did 508 to 902 with the 508 "firmware" trick, you must do the 508 firm trick again.
[OnePlus 3T Guides, News, & Discussion] brmbjn:
i am use op3T unlock bootloader and encrypted. how to flash 9.0.3 without data losing ?

give step by step please
[OnePlus 3T Guides, News, & Discussion] Rootax:
You're under 902 or 508 now ?
[OnePlus 3T Guides, News, & Discussion] brmbjn:
5.0.8 with stock recovery unlock bootloader and encrypted
[OnePlus 3T Guides, News, & Discussion] pitrus-:
It's actually quite easy. Backup everything now while you still can access your encrypted phone. Flash 9.0.3 firmware. Erase the now impossible to unlock userdata partition. Install latest LOS and then restore the data you manually backed up. Most effective way to backup is using adb push/pull as it doesn't go through the slower MTP path.

Skickat från min ONEPLUS A3003 via Tapatalk
[OnePlus 3T Guides, News, & Discussion] brmbjn:
backup using twrp. setting and chat for whatsapp telegram can backuo too ?
[OnePlus 3T Guides, News, & Discussion] pitrus-:
Backup /data partition using twrp and then use adb pull /sdcard in a command shell/powershell, just make sure to cd into an empty folder or mkdir a new one and cd into it. Then you have a backup of both data and userdata on your pc harddrive.

Skickat från min ONEPLUS A3003 via Tapatalk
[OnePlus 3T Guides, News, & Discussion] drive2droad:
OOS 9.0.4 for op3t has landed with some improvements & JUNE Patches .
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
I guess the OP will update this thread soon.

Meanwhile, for the impatient:

oneplus3t-904-flashable-firmware.zip

Edit: Link removed, use the OPs version, please ;)
[OnePlus 3T Guides, News, & Discussion] tfae:
Does it have the 5.0.8 keymaster or is it the unchanged firmware?
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
The firmware from the post before is the umodified 9.0.4 firmware.

If you are looking for 9.0.4 with 5.0.8 boot and keymaster:

oneplus3t-904+bl-km-508-flashable-firmware.zip

Edit: Link removed, see post #654 and #655
[OnePlus 3T Guides, News, & Discussion] tfae:
I was looking for the unmodified.

Thank you! :good:
[OnePlus 3T Guides, News, & Discussion] :
I've made a dedicated thread for the modded fw, to avoid hijacking this (unmodified) firmwware thread. Directions, support and always the latest modded fw is here: https://xdaforums.com/oneplus-3t/how-to/guide-cope-9-0-3-5-0-8-firmware-barrier-t3941164
[OnePlus 3T Guides, News, & Discussion] kamilmirza:
thread updated with OOS 9.0.4 Android 9.0 (30th June 2019)

OOS 9.0.4 - Android 9.0

keep sniperle's SCRIPT to remove lockscreen files in handy

tested on Havoc OS 2.6, unencrypted with unlocked bootloader

for modded firmware, please go HERE

props to [MENTION=4405529]nvertigo67[/MENTION] for his contributions
[OnePlus 3T Guides, News, & Discussion] abhaykelkar:
Can i flash this over 9.0.x firmware? Do you foresee any issues? I am also on havoc, unlocked but encrypted.
[OnePlus 3T Guides, News, & Discussion] qools:
Update encrypted my data

I updated from 5.0.8 to update the latest RR OS.

after update, it asks for a password to decrypt.

I have never encrypted my data. Is there a standard password it could have used?
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
default_password
[OnePlus 3T Guides, News, & Discussion] pitrus-:
As Oneplus changed keys in the 9.x.x firmware you will be unable to decrypt datapartition encrypted with 5.0.8 bootloader/keys. With some luck you can reflash 5.0.8 firmware and bootloader, make a full backup of phone, flash 9.x.x bootloader and firmware back, do a complete format of userdata, restore your backuped data and then re-encrypt with the 9.x.x firmware.

Or the short term fix which is to use the modofied firmware package that has the older 5.0.8 bootloader. This has been mentioned many times in this thread.
[OnePlus 3T Guides, News, & Discussion] qools:
Tried it, as well as my PIN but it wont work.

---------- Post added at 02:48 PM ---------- Previous post was at 02:46 PM ----------

Will try to revert back although I ve seen it didnt work for other users and I read somewhere that i will encrypt even more. I havent touched anything for the moment, hoping to find a fix.

---------- Post added at 03:14 PM ---------- Previous post was at 02:48 PM ----------

You seem to suggest that I have encrypted my phone, although this was never the case , exactly to avoid getting to situations like these.

How reverting back to 5.0.8 could decrypt if it was not encrypted in the first place? Do you have confirmation?
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
Modern phones have enforced encryption (with OOS) with the password set to: default_password

Even if you think you don't have encryption, the phone is still encrypted.

If your problem occurs because you have upgraded OOS or firmware from 5.x to 9.x, your data is lost.

No one has yet found a solution to recover the data afterwards.

Reformat the data partition and restore a backup that you hopefully created earlier.
[OnePlus 3T Guides, News, & Discussion] :
If you were using oos, your device is always encrypted, because oos is forcing encryption. oos always encrypts your data partition on the first boot it finds an unencrypted data partition - as long as you don't actively disable forced encryption BEFORE first boot after a format (not wipe) of data.

As long as you don't have set a secured boot passphrase actively, it's set to "default_passwprd". oos, oos recovery and twrp know that, and don't ask you - but the data partition is encrypted.

Flashing from 5.0.x to 9.0.x with encrypted data partition and unlocked bootloader gives you the issues you are expiriencing. If you look around in the threads in this forum, you'll find that your issues were absolutly expectable.
[OnePlus 3T Guides, News, & Discussion] Dirk:
I'm voting for the Oxford English to add that word to it's next Dictionary. It's awesome!
[OnePlus 3T Guides, News, & Discussion] qools:
I was not on OxygenOS but on Resurection Remix OS 04/06/19 build.

The latest update 21/06/19 requested the newer modem firmware 9.0.2 min. in order to install. Didnt think I would go through losing everything.

Unfortunately, my NAND backup were on my device and I am unable to recover them either.

Could it be possible to fix on future update? I mean is it perhaps safe to wait for a fix?

Are there any last desperate solution I haven't yet read about?

---------- Post added at 04:10 PM ---------- Previous post was at 04:05 PM ----------

Thanks for your reply.

I read the forum and found the same answer, although everyone is talking about experiencing this issue in Oxygen OS, which I never used.

So if I understand, you are saying OOS has encrypted my partition before I installed a custom ROM? and that custom ROM has been encrypted from day 1 ? :eek::crying:

How come default_password doesn´t work?
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
If you never formatted the data partition, then your data was encrypted (by OOS), no matter if you installed RR afterwards.

OnePlus is aware of the problem and hopefully will fix it ... or maybe not. Who knows.
[OnePlus 3T Guides, News, & Discussion] qools:
Actually, Oxygen OS requires to format entirely the device before installing a custom ROM.

So i remember doing a full format. Any chance the encryption might have disapear then?

It feels like installing the new 9.0.4 modem firmware has encrypted the partition out of nowhere based on OOS current bootlocks.
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
No, when I installed LOS for the first time (or was it CM?) I didn't format data, but stayed with the default encrypted f2fs data partition.

Maybe you did a wipe, not a real format ?!?

Anyway, your data (partition) is lost. Reformat it and learn for the future. ;)
[OnePlus 3T Guides, News, & Discussion] qools:
Pretty sure I did a full partition format, since I recall the partitioning was on different file format.

Anyway, how do I make sure it won't encrypt again after installing the modem firmware? Should I use the modded 9.0.4 firmware https://xdaforums.com/oneplus-3t/how-to/guide-cope-9-0-3-5-0-8-firmware-barrier-t3941164 ?

Doing a full format will be enough or do I need to install dm verity zip as well?

I'd like to make sure this time I wont have any encryption this time. Do you know how to verify after installing custom ROM?
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
- Flash the unmodified 9.0.4 firmware from the OP of this thread

- (Re)boot recovery (again)

- Format data (wipe isn't enough)

- Boot System (your RR)

After this you should have your data partition unencrypted and with ext4 file system.

Check in RR with: settings / security / encryption
[OnePlus 3T Guides, News, & Discussion] :
I would like to claim this for me, but sadly it was a dictionary site: https://dict.leo.org/englisch-deutsch/expectable
[OnePlus 3T Guides, News, & Discussion] Dirk:
That site seems dodgier than a Three-Pound Note.

'The 3 O'Clock Bus was later than expected'

'The Chef dropped a frozen Turkey on his foot with expectable results'

Apparently it IS a word:

https://www.quora.com/Is-expectable-a-word

Who knew? (Well, you did.)
[OnePlus 3T Guides, News, & Discussion] :
Oh, yes: German trains are often later then scheduled. But since nobody knows which train is actually late, late arrival is expectable for every train, but not expected for a specific train... Thanx for pointing out.

I should have used "expected" for decryption issues if a device with unlocked bl and encrypted data is updated from 5.0.x to 9.0.x.

[MENTION=3379129]qools[/MENTION] and [MENTION=3288532]sniperle[/MENTION]

For "formatting removes encryption": formating from twrp's wipe main page formats the partition and clears the encryption footer resulting in an unencrypted userdata partition. Formatting from the wipe's advanced page only formats the partition, without clearing the encryption footer resulting in a freshly formated and still encrypted userdata partition.
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
Thanks for explaining, but no real news for me, because this is EXPECTED behavior ;)
[OnePlus 3T Guides, News, & Discussion] :
Quite expectable... ;) Sorry for OT, but I havn't been able to let this pass by...
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
Very expectable comment ..... also sorry, I couldn't resist. ;) :D
[OnePlus 3T Guides, News, & Discussion] c1ph4:
IMHO this thread is The example never ever buy a OnePlus device again. o.O
[OnePlus 3T Guides, News, & Discussion] pitrus-:
Not that Samsung, Sony, Xiaomi or any other phonemaker is that much better, actually they're much worse according to my experiences [emoji12]

Skickat från min SM-T819 via Tapatalk
[OnePlus 3T Guides, News, & Discussion] Doc Sniper:
Please tell us, we can't wait to know, which phone will you buy next? :eek:
[OnePlus 3T Guides, News, & Discussion] jesrani:
I dirty flashed from 5.0.4 to 9.0.3 to 9.0.4. am happy but the have lot of battery drain due to Mobile Network Standby. I am already on Franco Kernel. How to solve this.

Yesterday after 12 hours and not much of use, battery was at 22% with Mobile Network Standby taking around 25%.

Should i clean install or install custom ROM?
[OnePlus 3T Guides, News, & Discussion] Paschfire:
Yes, backing up any important data and performing a clean flash is always the 1st suggested solution in try to solve such issues, especially after upgrading Android versions(Eg. 8.0 Oreo > 9.0 Pie)

I'm currently running OOS 9.0.4 + FKr48 on my 3T, coming from OOS 5.0.8 performing a factory-reset/full format of internal storage afterwards and have had no such battery drain issues.

Do note:

It can also take several full discharge/charge cycles before the OS settles after a clean installation as the system needs to collect user data, rebuild system cache.. etc. This can increase battery drain also causing sluggish performance.
[OnePlus 3T Guides, News, & Discussion] salvosp:
Hi,

currently my OP3t: Resurrection remix (May version), unlocked bootloader outdated TWRP, firmware 5.0.8 and decryption data.

i would get:

OOS 9.0.3 stock

unlocked bootloader

What is the procedure to follow?

Thanks,

Matteo
[OnePlus 3T Guides, News, & Discussion] :
One option: https://xdaforums.com/oneplus-3t/how-to/guide-cope-9-0-3-5-0-8-firmware-barrier-t3941164
[OnePlus 3T Guides, News, & Discussion] salvosp:
Thank you. But my op3t has not the data encrypted. I have to follow this guide also in this case?
[OnePlus 3T Guides, News, & Discussion] :
Read the OP of the thread I've linked:

You have to follow nothing. The thread is on option among others. Your decission.
[OnePlus 3T Guides, News, & Discussion] donnieb12:
I am on 9.0.3 with los and encryption. Can i flash this modem without encountering any problems?