HTC 10 decryption issue but not before - HTC 10 Questions & Answers

so I updated my HTC 10 US unlocked to 8.0.. unlocked bootloader, S-ON, twrp 3.3.1 and I was able to decrypt using format data and I installed lineageos 16 and confirmed decryption..later I wanted to try the viper rom. I ended up re flashing stock rom then recovery, and when I went to format data it didn't work. No matter what I try and what sequence...i read as of now tarp can't decrypt. But I've done it before. I even tried older versions of twrp including the one that supposedly fixes this. Any advice would be great thanks

Warwick555 said:
so I updated my HTC 10 US unlocked to 8.0.. unlocked bootloader, S-ON, twrp 3.3.1 and I was able to decrypt using format data and I installed lineageos 16 and confirmed decryption..later I wanted to try the viper rom. I ended up re flashing stock rom then recovery, and when I went to format data it didn't work. No matter what I try and what sequence...i read as of now tarp can't decrypt. But I've done it before. I even tried older versions of twrp including the one that supposedly fixes this. Any advice would be great thanks
Click to expand...
Click to collapse
Read something about Nougat users being able to use twrp 3.2.3 as work around, but not oreo. This from memory, but check CaptainThrowback on Github to be sure. I'd drop a link here but not sure if that's cool?

AiNt said:
Read something about Nougat users being able to use twrp 3.2.3 as work around, but not oreo. This from memory, but check CaptainThrowback on Github to be sure. I'd drop a link here but not sure if that's cool?
Click to expand...
Click to collapse
ok, thanks. i thought about going back to nougat and going with Viper until this gets fixed. i just need to find the RUU zip and not exe, or learn how to extract it on a linux ubuntu which im new at also

Related

[Need urgent help] Multiple issues on my Oneplus 3

I got my op3 phone loaded up with twrp version 3.0.2-1 but many errors occurred after I flashed this version.
Current problems on my phone right now:
-"The dm-verity is not started in enforcing mode" occurs every time I turn on the phone.
-Twrp won't read any of my files inside the "sdcard" folder wether it's just regular folder, .zip files, and even .img files.
-It also looks like only 1 version works of twrp works on my phone right now since any twrp versions after 3.1.0 causes the twrp program to froze and doesn't completely move past welcome screen of twrp.
I believe I had the same problem. Contact OnePlus on their support page. In a chat support window, tell the operater about your problem, and ask for an appointment with a level 2 technician. They should schedule you an appointment with a technician who should be able to wipe your phone no matter what state/condition it's in. They fixed my phone in a matter of minutes. But PLEASE, try to remember to be respectful and co-operative, it usually gets you better service no matter who you are dealing with.
For dm - verity problem, it's not a problem tough... Just a security breach as seen by Google.
BTW here is the fix...It's easy , follow the thread :
https://forum.xda-developers.com/oneplus-3/how-to/fix-easy-method-removing-dm-verity-t3544339
Can't comment on twrp as I'm on the 3.0.2-1, haven't tried 3.1. Hope it helps, Thanks!
Use TWRP 3.0.4-1. 3.0.2 can't decrypt internal storage, at least not on mine it couldn't.
Also if you have f2fs file system, TWRP takes a loooooong time to boot. Just wait, even though it seems hung. Takes several minutes. If you have ext4, it's quick. Use the app 'Diskinfo' to check
I had TWRP 3.1 and it would not do OTA of lineage, it would wipe the device when I tried and would not restore backed ROMs, stay away from TWRP 3.1. So, i went back to 3.0.4.1 via fastboot. My suggestion is flash the stock recovery from Oxygen 3.8 marshmallow (this can be found in the archived OnePlus 3 tool kit on XDA) and then sideload the stock marshmallow Oxygen 3.2.8 (download from OnePlus support page) and start all over.
mremghz said:
I had TWRP 3.1 and it would not do OTA of lineage, it would wipe the device when I tried and would not restore backed ROMs, stay away from TWRP 3.1. So, i went back to 3.0.4.1 via fastboot. My suggestion is flash the stock recovery from Oxygen 3.8 marshmallow (this can be found in the archived OnePlus 3 tool kit on XDA) and then sideload the stock marshmallow Oxygen 3.2.8 (download from OnePlus support page) and start all over.
Click to expand...
Click to collapse
That doesn't make sense..
The latest recovery works fine here, atleast the official one. If you are in F2fs and encrypted keep in mind it takes a long long time since F2fs is really bad at this.. Depending in how full your internal storage is it can take up to 10 minutesm
Twrp 3.0.4.1 or
3.1.0 x v.26 blu_spark.
To get OTA you need to be stock, only Oos official stuff.
I do have my oneplus 3 formatted as f2fs, but it is not encrypted. I don't know what happened to it when I tried to do an update with lineage os it basically factory reset the phone (and no I didn't wipe anything but the cache) and it would not install any zips from my internal sd card. I had to go back to fastboot and reflash TWRP 3.0.4.1 recovery. Then I wiped the device and reinstalled lineage, now it works perfectly fine.
They are lineage nighty OTA updates.

Unable to mount storage via TWRP

I recently flashed Resurrection Remix standard Nougat Edition with the latest version of open gapps, nothing else. I then proceeded to make a backup with TWRP as IMO its always good to have a backup at this fresh working condition. This is the issue going into TWRP and choosing backup and swiping to start the backup i get the error "unable to mount storage" and the backup fails.
I am able to access files via MTP with windows but for some reason TWRP isn't working.
I am afraid to do anything at the moment as without a means to backup or restore via backup i'm afraid of bricking my device. Since i've owned my 1+3 I've always just stayed stock with magisk but i thought hey why not have fun right so I decided to check out Resurrection Remix and I it but I don't like not being able to create backups or really even use TWRP. My first thought would to Re-Flash TWRP but as i said without some more knowledge I don't want to try anything.
Thank you in advance for reading my post and thank you a thousand times if you can help me out. If you need information or any sort of logs please ask.
lebeatnik said:
I recently flashed Resurrection Remix standard Nougat Edition with the latest version of open gapps, nothing else. I then proceeded to make a backup with TWRP as IMO its always good to have a backup at this fresh working condition. This is the issue going into TWRP and choosing backup and swiping to start the backup i get the error "unable to mount storage" and the backup fails.
I am able to access files via MTP with windows but for some reason TWRP isn't working.
I am afraid to do anything at the moment as without a means to backup or restore via backup i'm afraid of bricking my device. Since i've owned my 1+3 I've always just stayed stock with magisk but i thought hey why not have fun right so I decided to check out Resurrection Remix and I it but I don't like not being able to create backups or really even use TWRP. My first thought would to Re-Flash TWRP but as i said without some more knowledge I don't want to try anything.
Thank you in advance for reading my post and thank you a thousand times if you can help me out. If you need information or any sort of logs please ask.
Click to expand...
Click to collapse
I am tired of repeating this.
I think that you are on the official version of TWRP which is good if your ROM is OOS. But when shifting to custom ROMs, it is a good idea to flash eng.stk's TWRP.
The official TWRP will not work with custom ROMs.
The official TWRP will not work with custom ROMs.
???!!!
I'm with official twrp 3.1.1.2 , flashing custom ROMs and using them , till today, no problem. I think his data encrypted so twrp not showing storage.
I am on the official version of TWRP I have not read anywhere about that issue, so if I flash eng.stk's TWRP it should work? Sorry your tired of repeating it but it's not on the ROMs thread so idk where I would have gotten that info, but thanks
drmuruga said:
The official TWRP will not work with custom ROMs.
???!!!
I'm with official twrp 3.1.1.2 , flashing custom ROMs and using them , till today, no problem. I think his data encrypted so twrp not showing storage.
Click to expand...
Click to collapse
May be I shouldn't have been that categorical, but for many, the issue is there. Glad that it works for you.
---------- Post added at 05:27 PM ---------- Previous post was at 05:25 PM ----------
lebeatnik said:
I am on the official version of TWRP I have not read anywhere about that issue, so if I flash eng.stk's TWRP it should work? Sorry your tired of repeating it but it's not on the ROMs thread so idk where I would have gotten that info, but thanks
Click to expand...
Click to collapse
Why don't you try? You are not going to lose anything.
Also take into account the post above yours regarding encryption.
It worked, for some reason official TWRP would not unlock after I entered the encryption code, blue spark TWRP works, thanks, this is probably what I would have tried but it's nice to have gotten some info on the issue before I went flashing things Willie nillie
After you flash your files in TWRP, then select reboot, and reboot back into TWRP

Decrypting the phone and flashing new ROM

Last weekend, I decided to flash a new ROM since the one I have been using is no longer being developed. I flashed a LineageOS nightly build because I used to like Cyanogenmod and heard Lineage is a continuation. I do like the ROM overall, but for some reason it encrypted my phone during install. I did not want it to do this, it just did it without asking me (when I first got my phone, I remember I was having problems with it being encrypted, with my recovery and such).
Is there any way to reinstall LineageOS without it encrypting the phone? If not, how do I decrypt the phone again and get back to basically stock + root? I downloaded the most up-to-date stock 7.1.2 ROM from Google, and was going to just flash that, but it wouldn't let me in TWRP (said the zip was not valid). I also tried rolling back to an older backup (not LineageOS), but the phone never booted.
FYI - I use Linux Mint and have the latest adb/fastboot, and the latest TWRP for Nexus 5x.
Thank you if you can help.
cspctec said:
Last weekend, I decided to flash a new ROM since the one I have been using is no longer being developed. I flashed a LineageOS nightly build because I used to like Cyanogenmod and heard Lineage is a continuation. I do like the ROM overall, but for some reason it encrypted my phone during install. I did not want it to do this, it just did it without asking me (when I first got my phone, I remember I was having problems with it being encrypted, with my recovery and such).
Is there any way to reinstall LineageOS without it encrypting the phone? If not, how do I decrypt the phone again and get back to basically stock + root? I downloaded the most up-to-date stock 7.1.2 ROM from Google, and was going to just flash that, but it wouldn't let me in TWRP (said the zip was not valid). I also tried rolling back to an older backup (not LineageOS), but the phone never booted.
FYI - I use Linux Mint and have the latest adb/fastboot, and the latest TWRP for Nexus 5x.
Thank you if you can help.
Click to expand...
Click to collapse
If you want to flash stock rom you have to flash it via fastboot. The instruction is on the Google download side. But if I remember right you have to wipe everything so make a backup of important data.
If I format my "userdata" with fastboot to get rid of the encryption, do you know if it will delete my ROM backups? I think the encryption is why I'm having trouble going to another ROM from LineageOS. I REALLY wish the ROM would simply ask you before deciding to encrypt the phone. I have no reason to encrypt my phone, and I don't want it encrypted.

TWRP

I just got my 5t. It's unlocked, stock Oreo latest update. I am encrypted. The only thing I'm not sure of is which TWRP to install. Is one fof them for nougat?
Does it matter that I'm encrypted. I've been a fan of Dirty Unicorns for years and thinking about trying that first. Any help is really appreciated. Thanks
I don't think there is a dedicated 5T Dirty Unicorns thread on XDA. But I read it is an unencrypted ROM. Correct me someone if I am wrong. There is a Dirty Unicorns Google+ thread. People who have encrypted ROMs seem to use codeworkx or blu_spark TWRP. But for unencrypted ROM I hear official TWRP is fine.
However, since stock is encrypted, perhaps take codeworkx or blu_spark nandroid first.
And going from encrypted to unencrypted needs data reformat + factory reset.
Moreover, going back from unencrypted to encrypted can be tedious. In short, one not only needs to data reformat + factory reset, one needs to pass through stock recovery if I understand well. I find instructions somewhere in the official TWRP thread or elsewhere.
In short: going unencrypted is almost a one way street. But there always is a way back.
Dior DNA said:
I don't think there is a dedicated 5T Dirty Unicorns thread on XDA. But I read it is an unencrypted ROM. Correct me someone if I am wrong. There is a Dirty Unicorns Google+ thread. People who have encrypted ROMs seem to use codeworkx or blu_spark TWRP. But for unencrypted ROM I hear official TWRP is fine.
Click to expand...
Click to collapse
You're right. DU stopped posting on xda awhile back but think I saw a dumpling build online, however I'm not sure if it's nougat or Oreo...
I don't necessarily need encryption but is that the only issue? So if I want unencrypted, the official version will be fine? Does anyone know if I can decrypt with TWRP? (I'll probably have to format data but that's fine) Thanks
KLit75 said:
You're right. DU stopped posting on xda awhile back but think I saw a dumpling build online, however I'm not sure if it's nougat or Oreo...
I don't necessarily need encryption but is that the only issue? So if I want unencrypted, the official version will be fine? Does anyone know if I can decrypt with TWRP? (I'll probably have to format data but that's fine) Thanks
Click to expand...
Click to collapse
DU no doubt is 8.1 and YES you need to format data.
The other way back to encrypted seems the harder part.
Dior DNA said:
I don't think there is a dedicated 5T Dirty Unicorns thread on XDA. But I read it is an unencrypted ROM. Correct me someone if I am wrong. There is a Dirty Unicorns Google+ thread. People who have encrypted ROMs seem to use codeworkx or blu_spark TWRP. But for unencrypted ROM I hear official TWRP is fine.
However, since stock is encrypted, perhaps take codeworkx or blu_spark nandroid first.
And going from encrypted to unencrypted needs data reformat + factory reset.
Moreover, going back from unencrypted to encrypted can be tedious. In short, one not only needs to data reformat + factory reset, one needs to pass through stock recovery if I understand well. I find instructions somewhere in the official TWRP thread or elsewhere.
In short: going unencrypted is almost a one way street. But there always is a way back.
Click to expand...
Click to collapse
I now have codeworkx twrp, rooted with magisk. I gotta say I'm pretty impressed with stock but I KNOW I'm gonna want to flash a custom ROM soon and that's not a fast process when you're encrypted.
You said make a nandroid...have you ever restored just data from stock to a custom ROM? I may have but it's been awhile. I'm thinking I might have issues.
If I want to flash ROMs I'm going to need to format (better sooner than later) so from what I remember, I should:
1. Boot TWRP
2. Format data
3. Full wipe?
4. Adb push ROM, gapps, magisk
5. Flash all of them
I'm just hoping you or someone else can verify. I've got a lot of stuff to transfer over from my old phone but it makes no sense to do that now if I'm going to have to format. Thanks
UPDATE_
I got it. Running Dirty Unicorns now. It was a bit of an adventure. MTP would not work. Had to adb push the zip files. And then it booted back into TWRP asking to allow modifications. I don't remember any of my devices doing that but I swiped yes and the rom booted.
One thing...there was an immediate notification telling me to update TWRP. I'm using the latest codeworks one so not sure if I should update or even if an update will work since I'm not on an official build. Have you encountered anything like this?
KLit75 said:
I now have codeworkx twrp, rooted with magisk. I gotta say I'm pretty impressed with stock but I KNOW I'm gonna want to flash a custom ROM soon and that's not a fast process when you're encrypted.
You said make a nandroid...have you ever restored just data from stock to a custom ROM? I may have but it's been awhile. I'm thinking I might have issues.
If I want to flash ROMs I'm going to need to format (better sooner than later) so from what I remember, I should:
1. Boot TWRP
2. Format data
3. Full wipe?
4. Adb push ROM, gapps, magisk
5. Flash all of them
I'm just hoping you or someone else can verify. I've got a lot of stuff to transfer over from my old phone but it makes no sense to do that now if I'm going to have to format. Thanks
UPDATE_
I got it. Running Dirty Unicorns now. It was a bit of an adventure. MTP would not work. Had to adb push the zip files. And then it booted back into TWRP asking to allow modifications. I don't remember any of my devices doing that but I swiped yes and the rom booted.
One thing...there was an immediate notification telling me to update TWRP. I'm using the latest codeworks one so not sure if I should update or even if an update will work since I'm not on an official build. Have you encountered anything like this?
Click to expand...
Click to collapse
@KLit75
Stock is indeed good ROM. Many people use Beta which is equally good.
Some Custom ROMs do some do not support encryption. You may have to
read a bit in the ROM threads. Some TWRP are better for encryption as
well. Official TWRP perhaps catched up. You may may have to read a bit
in the TWRP threads.
When I went OOS 5.0.4 -> Custom (GZOSP) I had to format data and
become unencrypted.
I then reinstalled phone from scratch but had Titanium backup (for
accounts etc...) and also /data/media/0 backup (for some media).
So no: I never fully restored data from stock to a custom ROM. I did
restore some app data from Titanium backup though.
I have not restored encrypted TWRP stock backup either. I probably
never will, but I had asked around and read about it for all
certainty.
I believe one needs a special step which is to clean via stock
recovery and flash stock. Then one can perhaps restore whatever
encrypted TWRP backup. I hear different versions of ROMS may have
different encryption mechanisms. I am not authoritative on Android
encryption, read other threads.
You will need to search and ask if you want to go back to encrypted.
Perhaps it is easier than I tell here.
Note that I had backups (Titanium media TWRP) copied over to computer
for all certainty. I sometimes also work with OTG stick for copying in
both directions.
I think almost no experience is same for 2 people. That's why we all
tell slightly different stories. Trying to understand and master the
procedures is the challenge, and have many backups, and a way back.
No TWRP ever asked me to upgrade. I allow TWRP to make modifications.
My computer is Linux and I do not use MTP.
You can stay on codeworkx TWRP. Myself I did so but, eventually, since
I am unencrypted, I now am on official twrp-3.2.1-2-dumpling.
Recall also it is advised to always turn off lock screen Security
before taking a TWRP backup.
Good luck and enjoy your 5T.

Recovery

What kind of recovery is recovery-oneplus7t-3.4.2-10.0-b26.img? is it the chinese TWRP one?
altojd said:
What kind of recovery is recovery-oneplus7t-3.4.2-10.0-b26.img? is it the chinese TWRP one?
Click to expand...
Click to collapse
Yes
Where did you find it ?
Any idea why after flashing recovery-oneplus7t-3.4.2-10.0-b26.img (chinese twrp) being in recovery mode i don't see ANYTHING in sdcard?
altojd said:
Any idea why after flashing recovery-oneplus7t-3.4.2-10.0-b26.img (chinese twrp) being in recovery mode i don't see ANYTHING in sdcard?
Click to expand...
Click to collapse
Please could you pm the link to this recovery please l think flashing this recovery will format your data because it changes the file system which is why it works
a g bell said:
Please could you pm the link to this recovery please l think flashing this recovery will format your data because it changes the file system which is why it works
Click to expand...
Click to collapse
i found this recovery in msm extended telegram chat.
the installation did not format my data since i have all my apps working and i can see the entire internal storage when i connect the phone to pc.
I have this recovery on my device for a later time in case I decide to move away from OOS so I can't speak to experience...BUT:
My understanding is due to decryption/recovery on this device the chinese recovery will work BUT the limitations are that if you are on OOS currently you cannot decrypt storage, HENCE you will not see anything in TWRP (again that is my understanding). After backing up the device and wiping the data partition at minimum (most custom roms seem to require us to fastboot wipe our partitions from instructions ive read)... then we can use this version of recovery for custom roms.
I think the major difference between this one and the official version here is of course the unofficial nature of this twrp but also the chinese twrp will let you flash (not boot) the recovery image without issue so we can still USE OOS OR flash custom roms without things going...wrong?...I plan to wait until the A11 OOS upgrade before I make a decision. After learning about how 1P botched the recovery keys + partition issues with the A10 launch I think its just better to see how development goes AFTER the new year maybe
Hmm l was of the understanding that if you format using the chinese recovery all will work on oos will see what's what and report back as soon as l find it and flash it
So flashed Chinese twrp couldn't mount data until l formatted data using it then l could see everything in storage but it reverted after a reboot and would need formatting again to see storage also it seems much more functional that the mauronofrio twrp but the decryption issue is still an issue for me at least. It's ashame nobody is working on this to give us a better twrp.
a g bell said:
Hmm l was of the understanding that if you format using the chinese recovery all will work on oos will see what's what and report back as soon as l find it and flash it
So flashed Chinese twrp couldn't mount data until l formatted data using it then l could see everything in storage but it reverted after a reboot and would need formatting again to see storage also it seems much more functional that the mauronofrio twrp but the decryption issue is still an issue for me at least. It's ashame nobody is working on this to give us a better twrp.
Click to expand...
Click to collapse
What's "this"? And what do you mean nobody?
Check twrp gerrit and github and you'll see lots of progress. Fastbootd has been implemented, and dynamic partitions are pretty much handled now. Only significant thing would be decryption, but let's hope Android 11 fixes this as Google once again has changed things regarding to keystore.
Lossyx said:
What's "this"? And what do you mean nobody?
Check twrp gerrit and github and you'll see lots of progress. Fastbootd has been implemented, and dynamic partitions are pretty much handled now. Only significant thing would be decryption, but let's hope Android 11 fixes this as Google once again has changed things regarding to keystore.
Click to expand...
Click to collapse
Ok l stand corrected just wondering why mauronofrio hasn't released an update or updated his thread. So OnePlus have to implement changes to keystore with Android 11 so they might fix it ?

Categories

Resources