How to decrypt Resurrection Remix Nougat - OnePlus 2 Q&A, Help & Troubleshooting

I encrypted my OnePlus 2 running on Unofficial Resurrection Remix Latest build of 23rd July 2017. Ever since then I am not able to decrypt my device, the option in Settings-> Security-> Encryption is not clicking and just showing the status as Encrypted (SS attached).
Can someone guide me on how do I decrypt my device?
EDIT:
Got it decrypted.
Format data from Settings doesn't work. So here's what you can do.
Steps
1 - Backup your entire device (Apps+App Data+Internal Storage)
2 - Go to TWRP->Wipe->Format data->Yes (Type 'yes') & Done.
3 - Now reboot and then copy paste your internal storage.

The only way to decrypt is a full wipe

Lore96jr said:
The only way to decrypt is a full wipe
Click to expand...
Click to collapse
Wiping internal storage also?

Mehul.S said:
Wiping internal storage also?
Click to expand...
Click to collapse
Unfortunately, yes
You can backup anything to your pc, for apps use titanium

Lore96jr said:
Unfortunately, yes
You can backup anything to your pc, for apps use titanium
Click to expand...
Click to collapse
Yeah, I just got it decrypted. Updated the OP too on how-to. Thanks

Mehul.S said:
Yeah, I just got it decrypted. Updated the OP too on how-to. Thanks
Click to expand...
Click to collapse
You're welcome

Related

[trick] switching roms without loosing adopted sd data[mm]

Marshmallow had a new cool feature of adopted storage but all the flashoholics had trouble in changing roms because they have to format sd card every time they change roms .
I have a solution.
1:- while flashing rom wipe system dalvik cache and cache but dont wipe data .
2:- flash the rom and let it optimize apps .
3:- after optimizations most probably you will be in bootloop , simply boot into recovery and wipe data and reboot.
4:- your phone will optimize apps again and this time it will boot up and you can access sd card as adopted storage without need to format it again as internal.
This trick worked for me and should work for you guys too.
There's another method that is :-
1:- navigate to root folder
2:- copy all the files from data/misc/vold to somewhere in SD card
3:now boot to recovery wipe everything except SD card and flash new ROM .
4:- now using twrp's file manager move the files you from step 2 to the same folder I.e. data/misc/vold
5:-reboot
According to twrp dev, you can use this trick ' Note, if you factory reset and leave the key present in /data/misc/vold, then Android will still detect and use the adopted storage on the next boot.'
https://gerrit.omnirom.org/#/c/15921/
Thanks! Worked for me! :fingers-crossed:
PoseidonKing said:
Thanks! Worked for me! :fingers-crossed:
Click to expand...
Click to collapse
Dirty Flashing....and adopted sd card
If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?
[email protected] said:
If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?
Click to expand...
Click to collapse
It'll work, according to the trick mentioned here
[email protected] said:
If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?
Click to expand...
Click to collapse
Yup but most probably you will get boot loop if you have installed significant number of apps....so clean flash is advised......and use the trick mentioned
Sent from my Moto E using Tapatalk
Abhimanyu Shekhawat 121 said:
Yup but most probably you will get boot loop if you have installed significant number of apps....so clean flash is advised......and use the trick mentioned
Sent from my Moto E using Tapatalk
Click to expand...
Click to collapse
can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/showpost.php?p=66353859&postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard
booo159159 said:
can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/showpost.php?p=66353859&postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard
Click to expand...
Click to collapse
I don't know the exact reason but as long as you have only 10-15 apps you won't get bootloop .....I always get bootloop while dirty flashing updates
Sent from my Moto E using Tapatalk
will this also work on other phones? i have an i9505
k2828 said:
will this also work on other phones? i have an i9505
Click to expand...
Click to collapse
It will
Sent from my Moto E using Tapatalk
booo159159 said:
can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/showpost.php?p=66353859&postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard
Click to expand...
Click to collapse
Use latest RR.......RR not giving booloops on dirty flash
Sent from my Moto E using Tapatalk
Sorry for bringing up this old thread again, but I've an issue where I had to hard reset in order to get root on my Moto X Pure. I didn't think about whether or not I should make any backups of my sd or nand.
I thought I could just continue using the sd as adopted storage on my new ROM.
Anyways, when doing this trick do I leave the sd card inside?
ZoneBlaze said:
Sorry for bringing up this old thread again, but I've an issue where I had to hard reset in order to get root on my Moto X Pure. I didn't think about whether or not I should make any backups of my sd or nand.
I thought I could just continue using the sd as adopted storage on my new ROM.
Anyways, when doing this trick do I leave the sd card inside?
Click to expand...
Click to collapse
Yes SD card should be inside.
Sent from my Moto E using Tapatalk
well it works. you can also switch from cm13 to cm14.1, but the option migrate data, to migrate from internal to adopted is missing afterwards
please help , i can see the .key file in the vold folder but i don't know how to save it so that i can RE USE the adoptable storage AFTER FACTORY RESETTING my Phone.
PLEASE PLEASE help me out !
yaxir0 said:
please help , i can see the .key file in the vold folder but i don't know how to save it so that i can RE USE the adoptable storage AFTER FACTORY RESETTING my Phone.
PLEASE PLEASE help me out !
Click to expand...
Click to collapse
Just copy it to your SD card using file manager. Then when you flash ROM, go into twrp file manager and copy-paste it back to vold folder.
However, if you are on a nougat ROM then you don't need this entire trick at all! Just flash ROM without this trick. The .key will take care of itself automatically without any problem.
Vikrant Desai said:
Just copy it to your SD card using file manager. Then when you flash ROM, go into twrp file manager and copy-paste it back to vold folder.
However, if you are on a nougat ROM then you don't need this entire trick at all! Just flash ROM without this trick. The .key will take care of itself automatically without any problem.
Click to expand...
Click to collapse
thanks for you reply , Vikrant
my problem is , my SD card does NOT appear in TWRP fiile manager , since it was formatted as internal. my phone's stuck in boot animation. so i have no access to the phone's OS to retrieve my VERY precious data.
please help me out ... i would explain the issue in detail but i have already made a post here ;
https://www.reddit.com/r/linuxquestions/comments/62m1p6/decrypting_a_sd_card_on_ubuntu/
kindly take a look and suggest possible solutions.
Many thanks !
yaxir0 said:
thanks for you reply , Vikrant
my problem is , my SD card does NOT appear in TWRP fiile manager , since it was formatted as internal. my phone's stuck in boot animation. so i have no access to the phone's OS to retrieve my VERY precious data.
please help me out ... i would explain the issue in detail but i have already made a post here ;
https://www.reddit.com/r/linuxquestions/comments/62m1p6/decrypting_a_sd_card_on_ubuntu/
kindly take a look and suggest possible solutions.
Many thanks !
Click to expand...
Click to collapse
Well, in TWRP file manager, don't you see the option 'sdcard' ? Go to TWRP > Advanced > file manager > sdcard.
I'm also using SD as internal and flashing ROMs and stuff without using this trick (on nougat).
Vikrant Desai said:
Well, in TWRP file manager, don't you see the option 'sdcard' ? Go to TWRP > Advanced > file manager > sdcard.
I'm also using SD as internal and flashing ROMs and stuff without using this trick (on nougat).
Click to expand...
Click to collapse
i see. you're using Android 7.0 (Android N) ... i was using CM13 , Android 6.0 (Android MarshMellow) oh and infact , i downloaded the ROM from xda forums ...
here's the EXACT ROM that was running on my phone before disaster struck ;
https://forum.xda-developers.com/galaxy-mega/development/rom-aicp-11-0-mm-6-0-1-t3457130
i DID use the TWRP File Manager but i don't remember exploring that particular 'sdcard' folder . but do tell me , what did you see in your 'sdcard' folder in file manager ?

how can i check if my data partition is encrypted

Hey guys.
I want to update the device to rom based nougat and every rom instllation guide ask if the data partition is encrypted.
Im not sure waht it means... how can i check it?
Im on pure nexus rom 6.0.1
thanks.
Settings > Security, if Encrypt phone is greyed out, you're encrypted.
richfreestone said:
Settings > Security, if Encrypt phone is greyed out, you're encrypted.
Click to expand...
Click to collapse
so if i understand you my data partition is not encrypted right?
(i added photos)
thank you
Roy_Alter said:
so if i understand you my data partition is not encrypted right?
(i added photos)
thank you
Click to expand...
Click to collapse
Yes, you're not encrypted.

[G950F] No /data partition in TWRP after flashing oreo update

Hi,
ive just followed the flashable oreo TWRP thread in here to test out Oreo.
My device is S8 G950F
link -> https://forum.xda-developers.com/ga...1-10-flashable-oreo-twrp-dump-beta-2-t3703083
After that TWRP didnt recognized my data partition anymore...:crying::crying:
So i installed latest TWRP in Odin again (had 3.1.1 before 3.2.0.0 after) - didnt helped.
Ive done a full restore with odin after i downloaded the firmware via samfirm, this is the exact firmware number ive used:
G950FOXM1AQJ5_CL12401979_QB15459675_REV00_user_low_ship
Still no success
I also tried flashing supersu (2.82) and dm-verifity (v.6.0).
Any ideas?
Is it just the partition table in twrp that needs to be updated or some stupid thing i forgot?
Regards
create one !!
popmpopm said:
create one !!
Click to expand...
Click to collapse
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
popmpopm said:
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
Click to expand...
Click to collapse
Yup already figured it out 5 mins after I created this. Shame over me
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
eliazu said:
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
Click to expand...
Click to collapse
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Thargorsson said:
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Click to expand...
Click to collapse
How do i format if twrp can't access /data?
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
It's not format.
Go to wipe, advanced wipe, repair or change partitions ,select data, select change partition type, select f2fs slide to continue.
Then do the same with data and change back to ext4.
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
its not magic you have all option in twrp wipe
I have done this and it works but as soon as i reboot and go back to twrp it doesnt recongize /data am i doing something wrong
after so many tests I discovered that twrp can read and write data only if you flash last supersu beta, magisk and supersu official both doesn't work:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Does the resize option or file system option wipe internal storage?

SD Card empty in TWRP

Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?
ImEraaz said:
Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?
Click to expand...
Click to collapse
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...
ImEraaz said:
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...
Click to expand...
Click to collapse
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.
strongst said:
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.
Click to expand...
Click to collapse
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well
ImEraaz said:
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well
Click to expand...
Click to collapse
Yeah, from the that site it won't work too...
strongst said:
Yeah, from the that site it won't work too...
Click to expand...
Click to collapse
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference
ImEraaz said:
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference
Click to expand...
Click to collapse
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.
strongst said:
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.
Click to expand...
Click to collapse
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp
ImEraaz said:
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp
Click to expand...
Click to collapse
You need to format the storage within twrp
strongst said:
You need to format the storage within twrp
Click to expand...
Click to collapse
Already done, nothing change
ImEraaz said:
Already done, nothing change
Click to expand...
Click to collapse
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!
strongst said:
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!
Click to expand...
Click to collapse
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude
ImEraaz said:
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude
Click to expand...
Click to collapse
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.
strongst said:
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.
Click to expand...
Click to collapse
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password
ImEraaz said:
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password
Click to expand...
Click to collapse
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...
strongst said:
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...
Click to expand...
Click to collapse
Yeap i didn't know too, i followed all the steps.
I started from oos 5.0.4 without any pins or password, i wiped -> factory reset and installed lineageos & GApps ...
At least i can see my sdcard folder right now ^^
Guys, I do the first steps with TWRP, but I see my SD Card empty when I go to install. I don't know what to do.
I have Samsung Galaxy TAB E (SM-T561) and twrp_2.8.7.0_sm-t561
I Don't know what to do... I am stuck.
strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Where is this option? I can't find it...
hermeswol said:
Where is this option? I can't find it...
Click to expand...
Click to collapse
Ok, I found the solution.
Format and change file system of the SD card inside the twrp, after that mount it in PC, restore the files, and it will be ok.

Internal storage not working.

So I tried moving to Havoc 2.0, so I flashed the TWRP from @Oki and everything went nice and smooth installed Havoc, got internal problem error, but then when I was in the system I noticed that my internal storage is only 8GB so I checked in TWRP and yes the internal storage has only 400MB free and even TWRP can't do a thing with it the only thing that detects is the TREBLE PARTY.
Any idea how to fix this?
Mousman said:
So I tried moving to Havoc 2.0, so I flashed the TWRP from @Oki and everything went nice and smooth installed Havoc, got internal problem error, but then when I was in the system I noticed that my internal storage is only 8GB so I checked in TWRP and yes the internal storage has only 400MB free and even TWRP can't do a thing with it the only thing that detects is the TREBLE PARTY.
Any idea how to fix this?
Click to expand...
Click to collapse
Format data,reboot twrp.Format all partitions
Predatorhaze said:
Format data,reboot twrp.Format all partitions
Click to expand...
Click to collapse
Thanks, I totally missed the wipe of Internal Storage I wall all the time tapping the repair or change button.
Mousman said:
Thanks, I totally missed the wipe of Internal Storage I wall all the time tapping the repair or change button.
Click to expand...
Click to collapse
make sure the size is default before you flash the rom again
Predatorhaze said:
make sure the size is default before you flash the rom again
Click to expand...
Click to collapse
Checked and the size is OK now but the Internal problem is still there after reboot.
Mousman said:
Checked and the size is OK now but the Internal problem is still there after reboot.
Click to expand...
Click to collapse
Had the exact same problem when trying to install Axon 7. Sorry but I never found a solution so I went back to AEX V6 PIE. I hope you find a solution cuz this seemed to be a problem quite a few people have had especially with the Havoc ROM.

Categories

Resources