My bootloader is unlocked and Twrp is installed. I flashed CM13 but was having issues with root so I ran "adb shell reboot disemmcwp" that made Adaway work but Titanium backup still would not uninstall system apps. Twrp says it can't dycrypt data and I am unable to move my TWRP backup off the device. I've formatted everything. I don't entirely understand the encryption, if I need encryption? Should I be having errors in Twrp or be able to mount system? I don't know if I did something wrong and what to do to fix it? I was hoping to figure this out before reflashing cm13.
mod please move to questions, sry
Not sure if this will fix your problem but I had the encryption issue when I flashed CM. When I set up my pin I unknowingly chose ask for pin when starting device. So TWRP asked for a password to decrypt. My pin did work in TWRP. I fixed it in the security settings. Does TWRP ask for a password?
Fixed it. I had choose a pin setting up CM. The fix for me was to hit cancel in Twrp when it asked for a pinand then format the data.
Hi,
Finally I made update to Oreo on my phone. Of course I had same problem as rest of us with force encryption. I could mount data partition only once, after data format. After reboot, phone encrypts data and I couldn't mount it. After few hours of reading ant testing I found working solution.
1. Unlock Bootloader
2. Flash Eliminater74 TWRP - V3.2.3 For H870 and boot to recovery
3. FORMAT data (option where You have to type "yes") and then reboot back to recovery. Check if data partition is visible. If yes go to step 4
4. Flash Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
5. Flash Magisk17.1
Now after every reboot, data partition is correctly mounted and has no encryption. Tested only on H870 v20C. I also didn't test Backup & Recovery options, only installed couple of zip.
Hope this temporary solution will help until someone implement option to turn off force encryption in TWRP or some kernel.
Chamelleon said:
Hi,
Finally I made update to Oreo on my phone. Of course I had same problem as rest of us with force encryption. I could mount data partition only once, after data format. After reboot, phone encrypts data and I couldn't mount it. After few hours of reading ant testing I found working solution.
1. Unlock Bootloader
2. Flash Eliminater74 TWRP - V3.2.3 For H870 and boot to recovery
3. FORMAT data (option where You have to type "yes") and then reboot back to recovery. Check if data partition is visible. If yes go to step 4
4. Flash Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
5. Flash Magisk17.1
Now after every reboot, data partition is correctly mounted and has no encryption. Tested only on H870 v20C. I also didn't test Backup & Recovery options, only installed couple of zip.
Hope this temporary solution will help until someone implement option to turn off force encryption in TWRP or some kernel.
Click to expand...
Click to collapse
I saw that dm-verity deal also and wondered how it would work on the h872 running oreo. I'm guessing it would but I'd have to go into that thread and read over the info again.
Sent from my LG-H872 using Tapatalk
It might be working. Yesterday checked backup and it seems to be working l.
Very good! I have done! Thank you very much!
isn't formatting data enough?
Is there a way to decrypt Data partition on Vince(Redmi 5 plus). Because as I remember before updating to MIUI10 decrypting the Data partition was an ease (by formatting it), but now I can't do the same after updating to MIUI10 and switching to custom ROM.
In orange fox u can format the data partition.
joke19 said:
In orange fox u can format the data partition.
Click to expand...
Click to collapse
So do in TWRP, but after rebooting i get it encrypted again. What i want is i get the data partition always decrypted without the need to format whenever i want to flash something
kibing said:
So do in TWRP, but after rebooting i get it encrypted again. What i want is i get the data partition always decrypted without the need to format whenever i want to flash something
Click to expand...
Click to collapse
Sorry, English is not my language. But after I gone away from miui to a customer rom, I format my data partition after I backup my apps. That's is all. At the beginning before u set ur account and all (or was that somewhere in middle), my phone asked me to crypt my phone. Sorry I had never this problem. Simple how-to by every build and I tested many roms.
joke19 said:
Sorry, English is not my language. But after I gone away from miui to a customer rom, I format my data partition after I backup my apps. That's is all. At the beginning before u set ur account and all (or was that somewhere in middle), my phone asked me to crypt my phone. Sorry I had never this problem. Simple how-to by every build and I tested many roms.
Click to expand...
Click to collapse
I never get the part "phone ask me to crypt..."
but i think i'll try the latest Orange Fox Recovery, hopefully it can solve my problem..
So hello, I'll come right to the point.
I have a rooted Galaxy S7 and it's working good but I want to make a backup of my /data so I can format the data partition from TWRP, as it's encrypted and I can't turn it off (I can disable secure boot but even if I restart the device it doesn't show the option to decrypt the data partition) (cdn.discordapp.com/attachments/301383158509600780/633697401802194955/Screenshot_20191015-180241_Settings.jpg).
Sry for discord, couldn't find anything else to upload from mobile :/
I have rooted with Magisk v.20 and everything else is working really good so I dont want to loose my setup and redo it.
Also how do I update the firmware without removing Magisk? What partition do I need to exclude?
i have two huge problems like i mention in thread title. Whenever i restore my TWRP backup it gives error and says "Extractfork 255 error" and nothing in internet solved my issue.
My other and biggest problem is phone info says "encrypted" how to disable force encrypt?
Not even a single answer??
You can only disable force encrypt by flashing "patch no fde" file available on most rom threads.
But you will have to format data which will wipe your whole phone and flash the file before rebooting.
The reason your getting the other error is most likely twrp can't decrypt your data seeing as force encrypt is enabled.
And don't expect an answer, nobody here on xda is entitled to get questions answered. Alot of this information could have been accessed online if you just researched yourself instead of waiting over a week for a reply. It's not hard to type into a search engine
You haven't provided much information. Which TWRP version, what are you trying to restore, which steps have you tried and failed, what do you see in the TWRP logs etc. We do not have a crystal ball to guess the answers.
To decrypt the data, flash verity disabler and format data partition from TWRP. https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Edit: garylawwd was a bit faster in reply
garylawwd said:
You can only disable force encrypt by flashing "patch no fde" file available on most rom threads.
But you will have to format data which will wipe your whole phone and flash the file before rebooting.
The reason your getting the other error is most likely twrp can't decrypt your data seeing as force encrypt is enabled.
And don't expect an answer, nobody here on xda is entitled to get questions answered. Alot of this information could have been accessed online if you just researched yourself instead of waiting over a week for a reply. It's not hard to type into a search engine
Click to expand...
Click to collapse
Of course i did search of course i didnt sit and wait for a response but as you can clearly see i flashed no fde patch even though it say succesfull but it always getting encrypted by itself again. Thanks for reply by the way
_mysiak_ said:
You haven't provided much information. Which TWRP version, what are you trying to restore, which steps have you tried and failed, what do you see in the TWRP logs etc. We do not have a crystal ball to guess the answers.
To decrypt the data, flash verity disabler and format data partition from TWRP. https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Edit: garylawwd was a bit faster in reply
Click to expand...
Click to collapse
Correct me if im wrong but we have just 1 really working twrp and its 3.3.1.2 by Nikesh and im using it. I was really thinking its very simple question. i didnt get why it looks like so complicated ) i tried to restore my nandroid backup and all of sections are succesfull exept /data partition. when it comes to /data partition it gives "extracttark error 255 ". Im still confused why you didnt get my question
sasukeob said:
Of course i did search of course i didnt sit and wait for a response but as you can clearly see i flashed no fde patch even though it say succesfull but it always getting encrypted by itself again. Thanks for reply by the way
Click to expand...
Click to collapse
What you mean that you flashed patch no fde because no where have you mentioned that you had flashed anything. You won't be able to restore the backup now because your data is encrypted and this twrp can't restore encrypted data.
You need to format data and then flash patch no fde like both of us already said. Then you can make a backup that you can restore later. You can't do anything about your encrypted data now
sasukeob said:
Correct me if im wrong but we have just 1 really working twrp and its 3.3.1.2 by Nikesh and im using it. I was really thinking its very simple question. i didnt get why it looks like so complicated ) i tried to restore my nandroid backup and all of sections are succesfull exept /data partition. when it comes to /data partition it gives "extracttark error 255 ". Im still confused why you didnt get my question
Click to expand...
Click to collapse
You are right, the answer to your question is very simple and obvious, I don't get why do you find it so complicated that you must ask here in such a nice manner.
---------- Post added at 07:18 PM ---------- Previous post was at 07:10 PM ----------
garylawwd said:
What you mean that you flashed patch no fde because no where have you mentioned that you had flashed anything. You won't be able to restore the backup now because your data is encrypted and this twrp can't restore encrypted data.
You need to format data and then flash patch no fde like both of us already said. Then you can make a backup that you can restore later. You can't do anything about your encrypted data now
Click to expand...
Click to collapse
From what I read, once you enter the correct password in TWRP and it can read data correctly, backup of /data is unencrypted. After the restore, data gets encrypted by system upon the first boot. This can be verified easily with Titanium backup app, which can read and use TWRP backups. At least that's the theory, but I'm too lazy to verify it
If you perform data backup with incorrect password (or TWRP doesn't support decryption), then your backup remains encrypted and is useless as you said.
_mysiak_ said:
You are right, the answer to your question is very simple and obvious, I don't get why do you find it so complicated that you must ask here in such a nice manner.
---------- Post added at 07:18 PM ---------- Previous post was at 07:10 PM ----------
From what I read, once you enter the correct password in TWRP and it can read data correctly, backup of /data is unencrypted. After the restore, data gets encrypted by system upon the first boot. This can be verified easily with Titanium backup app, which can read and use TWRP backups. At least that's the theory, but I'm too lazy to verify it
If you perform data backup with incorrect password (or TWRP doesn't support decryption), then your backup remains encrypted and is useless as you said.
Click to expand...
Click to collapse
Ya I apologise this twrp does in fact support data decryption it must have been the older version that didn't support it.
Without twrp logs I doubt there is anything we can do.
But like you suggested it may very well be a password error..but we will never know :silly:
i dont understand what im doing wrong. I installed havocos flashed no fde patch. i tried 3 times installed rom and tried. still encrypted
_mysiak_ said:
You haven't provided much information. Which TWRP version, what are you trying to restore, which steps have you tried and failed, what do you see in the TWRP logs etc. We do not have a crystal ball to guess the answers.
To decrypt the data, flash verity disabler and format data partition from TWRP. https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Edit: garylawwd was a bit faster in reply
Click to expand...
Click to collapse
gary thanks for reply but i flashed it and it caused bootloop
sasukeob said:
gary thanks for reply but i flashed it and it caused bootloop
Click to expand...
Click to collapse
Tell us what actions exactly did you do, step by step, in chronological order.
_mysiak_ said:
Tell us what actions exactly did you do, step by step, in chronological order.
Click to expand...
Click to collapse
Ok. I have twrp 3.3.2.0 by nikesh installed. i format data and wipe dalvik cache and data. and i tried to restore my twrp backup. It restoring good but when it comes to restoring /data partition. it gives "Extracttrakfork Error 255" in red characters. I format data flashed nofde.zip but device encrypts itself again. So i tried to instal HavocOs and flash gapps and flash nofde patch. Havocos install succesfull but gapps flash gives error " Unmounting /vendor update process ended with error 25" :/
i flashed Orangefox recovery problem is still same :/
sasukeob said:
Ok. I have twrp 3.3.2.0 by nikesh installed. i format data and wipe dalvik cache and data. and i tried to restore my twrp backup. It restoring good but when it comes to restoring /data partition. it gives "Extracttrakfork Error 255" in red characters. I format data flashed nofde.zip but device encrypts itself again. So i tried to instal HavocOs and flash gapps and flash nofde patch. Havocos install succesfull but gapps flash gives error " Unmounting /vendor update process ended with error 25" :/
i flashed Orangefox recovery problem is still same :/
Click to expand...
Click to collapse
Oh boy, you're doing too many things at once First of all, what do you want to achieve? Restore stock data? Install custom ROM? Just fooling around?
Data restore -
Are you sure that your data backup is decrypted and functional? Try to restore data from nandroid backup in Titanium backup or simply open the twrp backup files (they are tar archives) and check if you see individual files or just garbage.
You mentioned that you tried "everything", but you haven't mentioned this workaround https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
Provide full twrp.log after failed restore.
Data encryption -
Have you followed steps described here? https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Provide full twrp.log after zip installation.
Custom ROM -
Find support in the specific ROM topic (and provide twrp.log after failed installation).
_mysiak_ said:
Oh boy, you're doing too many things at once First of all, what do you want to achieve? Restore stock data? Install custom ROM? Just fooling around?
Data restore -
Are you sure that your data backup is decrypted and functional? Try to restore data from nandroid backup in Titanium backup or simply open the twrp backup files (they are tar archives) and check if you see individual files or just garbage.
You mentioned that you tried "everything", but you haven't mentioned this workaround https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
Provide full twrp.log after failed restore.
Data encryption -
Have you followed steps described here? https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Provide full twrp.log after zip installation.
Custom ROM -
Find support in the specific ROM topic (and provide twrp.log after failed installation).
Click to expand...
Click to collapse
I dont know how i did but after 1 month of try and fail im not quite sure but it seems i succeed now @_mysiak_ I really appreciate bc you spend time for replying my thread. Thank you so much man When you need help about anything just pm me i will try to help you bc you spend your time for me
my only problem is dm-verity now i guess. i dont know how to solve it but i will try