FORUMS
Remove All Ads from XDA

[FIX][8.1][Treble]Decryption Unsuccessful and TWRP Internal Storage 0MB

28 posts
Thanks Meter: 8
 
By AkmalWarrior, Junior Member on 18th July 2018, 02:20 PM
Post Reply Email Thread
As the tittle says, this is my current workaround for issues that happened after most people update their AOSP based ROMs after 3rd July 2018.

Decryption Unsuccessful

Q: Why does this happens ?
A: There's some weird issues with the latest AOSP based ROM that makes encrypted ext4 based data partition unable to be decrypted in both system and older version of TWRP if you're encrypted before (intentionally or unintentionally). This however doesn't apply to F2FS and unencrypted ext4 data partition.

Q: How do I solve this ?
A: There's 2 ways you can do to solve this issue.

The best way and the most recommended way is to repartition your data into F2FS. However it does require you to do a backup beforehand since this will wipe everything in your internal storage.

1. Backup your internal storage from TWRP (either to a SD card or PC via ABD)
2. Format it by going into TWRP and select Format and choose "wipe data"
3. Type "yes" and let the process end.
4. Flash your ROM and GApps.
5. Finish the setup without setting any screen lock so that it doesn't encrypt your data partition.

-Or-

The other way does is to install a custom kernel is made after 20 July 2018
List of kernel that can boot successfully without the need to wipe /data :
-Xenial b25x or newer
-Revolt EAS-R13
(Got kernel that works and doesn't show up here? TELL ME, I'll add it to my list for everyone's reference)

Link for the working TWRP that can detect Internal Storage :
Jairus' modded TWRP
https://androidfilehost.com/?fid=5862345805528049168
Or you can look up Orange Fox recovery
(link will be added soon)
The Following 4 Users Say Thank You to AkmalWarrior For This Useful Post: [ View ] Gift AkmalWarrior Ad-Free
 
 
19th July 2018, 04:55 AM |#2  
omarilzz's Avatar
Senior Member
Flag In your house!!
Thanks Meter: 602
 
Donate to Me
More
Good Stuff Also This Happened to me while i was using the Android P DP3 i tried twrp and redwolf and was the same i flashed the Orange Fox and it worked
24th July 2018, 11:58 PM |#3  
eko_epe's Avatar
Junior Member
Flag Sijunjung
Thanks Meter: 0
 
More
Does this twrp can flash both treble and non treble ROM?
25th July 2018, 02:45 AM |#4  
OP Junior Member
Flag Kuala Lumpur
Thanks Meter: 8
 
More
Quote:
Originally Posted by eko_epe

Does this twrp can flash both treble and non treble ROM?

Yes, it does
The Following User Says Thank You to AkmalWarrior For This Useful Post: [ View ] Gift AkmalWarrior Ad-Free
25th July 2018, 03:54 AM |#5  
eko_epe's Avatar
Junior Member
Flag Sijunjung
Thanks Meter: 0
 
More
Quote:
Originally Posted by AkmalWarrior

Yes, it does

Ok i'll try. Thanks
25th July 2018, 06:15 PM |#6  
DarthJabba9's Avatar
Senior Member
Flag Greater London
Thanks Meter: 2,122
 
More
As the OP said, OrangeFox TWRP Recovery (R6-Beta) can decrypt encrypted data partitions.
29th July 2018, 08:17 PM |#7  
Senior Member
Thanks Meter: 732
 
More
Quote:
Originally Posted by DarthJabba9

As the OP said, OrangeFox TWRP Recovery (R6-Beta) can decrypt encrypted data partitions.

TWRP and redwolf too (find on telegram)


EnvoyƩ de mon Redmi Note 4 en utilisant Tapatalk
1st August 2018, 01:34 PM |#8  
OP Junior Member
Flag Kuala Lumpur
Thanks Meter: 8
 
More
Quote:
Originally Posted by DarthJabba9

As the OP said, OrangeFox TWRP Recovery (R6-Beta) can decrypt encrypted data partitions.

*Only in recovery, not in boot. The only way to fix decryption unsuccessful on boot is to either repartition data to F2FS or flash a custom kernel that's made after 20 July. List on working kernels is on main thread.
1st August 2018, 07:21 PM |#9  
Senior Member
Flag kerala
Thanks Meter: 122
 
More
First I tried orange fox beta and it showed my internal storage
Then I flashed the RR endless
But the encryption was still there
Then I tried the twrp from this thread and flashed rom with latest xenial
And it worked no problem
Thank you
The Following User Says Thank You to antony felix For This Useful Post: [ View ] Gift antony felix Ad-Free
1st August 2018, 08:16 PM |#10  
Member
Thanks Meter: 9
 
More
How for steps come from nougat Rom up to Oreo, should i flash xenial kernel directly after the ROM flashed? i want flash Aicp Oreo currently i'm on Los14.1
1st August 2018, 10:12 PM |#11  
Senior Member
Flag kerala
Thanks Meter: 122
 
More
Quote:
Originally Posted by DarksTor

How for steps come from nougat Rom up to Oreo, should i flash xenial kernel directly after the ROM flashed? i want flash Aicp Oreo currently i'm on Los14.1

Sine you are using nougat i recommend to format data (wipes internal storage) so take a backup if you want
And I have also seen users reporting bugs about aicp oreo on telegram so try some other ROMs like resurrection remix,screwd,lineage os extended,aex ........

All oreo Roms are now treble
So use treble twrp
And treble magisk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes