Hey guys,
Today I rooted my S7 Edge and flashed TWRP including dm-verity and force encryption disabler by following this thread.
But I cannot backup or do Advanced Wipe because of below error messages which I presume because Samsung have encrypted the data partition? Any idea how can I fix this?
[Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
Go to [Reboot] -> [Recovery].
Then you flash dm-verity and force encryption disabler again and if you want you can also flash root
nooby1411 said:
[Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
Go to [Reboot] -> [Recovery].
Then you flash dm-verity and force encryption disabler again and if you want you can also flash root
Click to expand...
Click to collapse
Thank you for the reply. So if I follow your instructions I will not be able to backup my phone right? I mean if I format my internal storage then I believe I have to flash a custom Rom?
Sent from Tapatalk
eozen81 said:
Thank you for the reply. So if I follow your instructions I will not be able to backup my phone right? I mean if I format my internal storage then I believe I have to flash a custom Rom?
Sent from Tapatalk
Click to expand...
Click to collapse
After this you will be able to make backups and it isn't necessary to flash a custom rom, but everything will get factory resetted so backup important files.
nooby1411 said:
After this you will be able to make backups and it isn't necessary to flash a custom rom, but everything will get factory resetted so backup important files.
Click to expand...
Click to collapse
My friend, you are my hero and made my day. I successfully backuped and flashed custom rom after I did what you advised. Much appreciate [emoji6]
Sent from my SM-G935F using Tapatalk
Related
I have replaced the framework files in the system... rebooted the phone and got many errors... can't even view anything in the phone.
Do I solve the problem by installing the bootloader and Modems XXUFNC9 by odin3?
Do I lose my files by installing this?
If this worked, would I be able to do a backup using recovery mode?
Thanks in advance
you can use your phone again after flashing stock firmware and wiping data & cache
you will lose any data
I dont recommend that you do a backup in this status because you missed the phone up
always do Nandroid backup when the phone is clean !
if you have a previous backup you can restore it
RubbaBand said:
you can use your phone again after flashing stock firmware and wiping data & cache
you will lose any data
I dont recommend that you do a backup in this status because you missed the phone up
always do Nandroid backup when the phone is clean !
if you have a previous backup you can restore it
Click to expand...
Click to collapse
so there's no way to restore my files?!
go to recovery then do a custom backup and choose data & cache (dont select any other option) and hit start backup
then after flashing & wiping flash a custom recovery and go to custom restore and choose data & cache
and hit start restore
your phone should work with previous apps
make sure to backup in SD CARD !
RubbaBand said:
go to recovery then do a custom backup and choose data & cache (dont select any other option) and hit start backup
then after flashing & wiping flash a custom recovery and go to custom restore and choose data & cache
and hit start restore
your phone ahould work with previous apps
make sure to backup in SD CARD !
Click to expand...
Click to collapse
Just to confirm.. this is the sequence u mean?,, please correct me if am wrong
1. back up
2- wipe data and cache
3- restore
yes like that but do a (custom backup)
not a normal or full backup !
RubbaBand said:
yes like that but do a (custom backup)
not a normal or full backup !
Click to expand...
Click to collapse
what do you mean by a custom back up?..how to do it?
the most thing I care about is my photos and videos... is it possible to just back up those?
after this i have to install omega rom to do the rest of the work...do u recommend this step?
follow my steps
go to recovery
go to backup and restore > custom backup to /storage/sdcard1
then select everything instead of the SYSTEM then start backup
after that wipe data & cache
then flash stock firmware via Odin
then wipe data & cache
then flash a custom recovery
then go backup and restore > restore from /storgae/sdcard1 and select the folde qnd hit start
everything should be ok
RubbaBand said:
follow my steps
go to recovery
go to backup and restore > custom backup to /storage/sdcard1
then select everything instead of the SYSTEM then start backup
after that wipe data & cache
then flash stock firmware via Odin
then wipe data & cache
then flash a custom recovery
then go backup and restore > restore from /storgae/sdcard1 and select the folde qnd hit start
everything should be ok
Click to expand...
Click to collapse
everything is clear now but the thing is I dont have the "custom backup" option. I'm using a CWM recovery..
download & flash touch philz Recovery
RubbaBand said:
download & flash touch philz Recovery
Click to expand...
Click to collapse
I can't use the phone to download it!!
i'm gonna flash it via odin... sorry for bothering
man, just one more thing,
do u know how do i delete old files in my sd card in order to backup the phone..cuz there's no enough space in the sd card : )
connect the SD Card to pc
or put it on another phone and manage it from there
RubbaBand said:
connect the SD Card to pc
or put on another phone and manage it from there
Click to expand...
Click to collapse
Oh Yeah, I'll connect it to another phone.
Thanks a lot for your time. I really appreciate your help
anytime bro im here to help you
Guys I am in need of help. I did not fully understand step 10 in TWRP installation guide and just skipped originally. I did notice I could not wipe anything but thought I would be fine so I just dirty flashed custom ROM assuming wipe would work afterwards and I can clean install after.
I am obviously stuck now with 0MB internal storage shown along with no access to phone since it says upon boot that verification has failed and that I need to reset my phone.
Now, I do have important photos/datas which are invaluable and thus do not want to lose... I did hear other guys restored their nandroid backup and were fine.
My question is, is there any way for me to access and back up my internal data somehow? I did hear something like flashing a stock firmware via Odin without the cache inside. Could someone confirm that this would work please? Would really appreciate a response. Thanks guys.
I did try this:
If you only want a bootable system partition or writable data in TWRP:
Download dm-verity and force encryption disabler.
Without exiting TWRP, transfer no-verity-opt-encrypt.zip to your device over MTP* and flash it using [Install] in TWRP.
But TWRP would not allow me to flash because it said it could not mount storage. I presume this is because I exited TWRP...
Please, any guidance would be much appreciated.
Do a wipe, system, data/ dalvic , and cache . Do NOT check internal storage and SD card...reflash your rom
Player04 said:
Do a wipe, system, data/ dalvic , and cache . Do NOT check internal storage and SD card...reflash your rom
Click to expand...
Click to collapse
Thanks for the reply but I cannot do that since the phone does not let me wipe from TWRP due to the encryption issues I believe.
jay_993 said:
Thanks for the reply but I cannot do that since the phone does not let me wipe from TWRP due to the encryption issues I believe.
Click to expand...
Click to collapse
Could this help:
"Only if you want internal storage or data to work in TWRP:
Go to [Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
Go to [Reboot] -> [Recovery]."
or
"If you only want a bootable system partition or writable data in TWRP:
Download the latest dm-verity and force encryption disabler zip.
Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP."
Source: http://forum.xda-developers.com/s7-edge/development/recovery-official-twrp-hero2lte-3-0-0-0-t3334084
FinKing said:
Could this help:
"Only if you want internal storage or data to work in TWRP:
Go to [Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
Go to [Reboot] -> [Recovery]."
or
"If you only want a bootable system partition or writable data in TWRP:
Download the latest dm-verity and force encryption disabler zip.
Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP."
Source: http://forum.xda-developers.com/s7-edge/development/recovery-official-twrp-hero2lte-3-0-0-0-t3334084
Click to expand...
Click to collapse
Thanks man. I am aware of this but have not done so which is my problem haha. Does anyone know of this set PIN before flashing stock rom on ODIN please? I obviously cannot since I cannot boot to system but I do not want to make assumptions like before, go ahead and cause myself more stress...
Hold up, have you flashed SuperSU? That should be the only thing stopping you from being able to boot up. After flashing TWRP and a custom rom you need to install SuperSU to be able to boot.
Either try to flash SuperSU using TWRP built in ADB or buy an external sd card and flash from there. You don't need to disable encryption and in fact, that zip you tried to use actually wipes your internal storage anyway so don't try it again.
Our MiA1 is fast, I know.. but can be faster (I think)
Does someone have an image with forced encryption disabled? December boot.img? I tried with "format data" option in twrp but I get bootloop and haven't tried with magisk
I also want boot image with forced encryption disabled.
Have you tried dm-no-verity.zip?
zeyaan said:
Have you tried dm-no-verity.zip?
Click to expand...
Click to collapse
No, I haven't tried that. I am running Oreo latest January patch rooted with Magisk.
Please guide me step by step:
how to disable forced encryption
Restore my Data with TWRP (I already have TWPR backup of Data).
Kindly also provide link of flashable zip.
I have tried the following steps to disable forced encryption with magisk but it didn't worked.
Factory Reset / Data wipe with TWRP
flashing of Magisk15.3.zip
Restoration of Data
Reboot
I think I can use latest zip from https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ but main issue is that I also want my Data back using TWRP. I don't want to backup and restore apps using Titanium Backup.
armujahid said:
No, I haven't tried that. I am running Oreo latest January patch rooted with Magisk.
Please guide me step by step:
how to disable forced encryption
Restore my Data with TWRP (I already have TWPR backup of Data).
Kindly also provide link of flashable zip.
I have tried the following steps to disable forced encryption with magisk but it didn't worked.
Factory Reset / Data wipe with TWRP
flashing of Magisk15.3.zip
Restoration of Data
Reboot
I think I can use latest zip from https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ but main issue is that I also want my Data back using TWRP. I don't want to backup and restore apps using Titanium Backup.
Click to expand...
Click to collapse
We gotta wait as the zips are device specific as per my understanding. Unless some builds it we have no option but wait.
Any news about this? I'm interested
I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
cyborgium said:
I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
Click to expand...
Click to collapse
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
spawnlives said:
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
Click to expand...
Click to collapse
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
cyborgium said:
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
Click to expand...
Click to collapse
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
spawnlives said:
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
Click to expand...
Click to collapse
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
cyborgium said:
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
Click to expand...
Click to collapse
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
spawnlives said:
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
Click to expand...
Click to collapse
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
spawnlives said:
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
Click to expand...
Click to collapse
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
cyborgium said:
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
Click to expand...
Click to collapse
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
spawnlives said:
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
Click to expand...
Click to collapse
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
cyborgium said:
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
Click to expand...
Click to collapse
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
spawnlives said:
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
Click to expand...
Click to collapse
I think that second thread you linked may have done the trick.
At first it didn't seem to help, but when I tried it again after reflashing everything, I am now able to mount /data.
I'm still in the dark as to why this happened and hasn't happened to anyone else other than the person who created that file, but either way, thank you very much for your help.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Try the modded twrp from nx thread
Hi All,
I need to remove the encryption on my G5 plus device. Can anybody please help? I have unlocked the bootloader and am rooted on the debloated stock as well.
Because of this, I am unable to flash certain Pie Roms. I have tried the below options:
Option - 1:
Go to wipe, advanced wipe, select partition DATA, change it to ext4....
Reboot to recovery
Format data
Option - 2:
1. Boot to Twrp Recovery
2. Do a Factory Reset, Internal Storage Wipe
3. Reboot to Recovery Again
4. Hurray We have Removed the Encryption
Both the above methods are not working. Please help
Shonilchi said:
Hi All,
I need to remove the encryption on my G5 plus device. Can anybody please help? I have unlocked the bootloader and am rooted on the debloated stock as well.
Because of this, I am unable to flash certain Pie Roms. I have tried the below options:
Option - 1:
Go to wipe, advanced wipe, select partition DATA, change it to ext4....
Reboot to recovery
Format data
Option - 2:
1. Boot to Twrp Recovery
2. Do a Factory Reset, Internal Storage Wipe
3. Reboot to Recovery Again
4. Hurray We have Removed the Encryption
Both the above methods are not working. Please help
Click to expand...
Click to collapse
Boot to twrp<wipe<format data<yes done. Now you're encryption should be removed. don't just format by sliding.there should be a option for format data then it ask type yes. Enter yes, then your done. encryption should be removed.
Easiest option flash magisk. I have faced this many times nothing works than i flash magisk it remove encryption.
sinchan_nohara said:
Easiest option flash magisk. I have faced this many times nothing works than i flash magisk it remove encryption.
Click to expand...
Click to collapse
Nope. I guess it doesn't work that way. Currently, I am on Debloated Stock ROM and have also flashed Magisk, but still am seeing that my phone is encrypted.
Shonilchi said:
Nope. I guess it doesn't work that way. Currently, I am on Debloated Stock ROM and have also flashed Magisk, but still am seeing that my phone is encrypted.
Click to expand...
Click to collapse
In my case it was important to not reboot between formatting data (back to F2FS with the "yes" option, not just slide) and flashing magisk. If that doesn't work for you you can try to flash a no-verity-force-encryption.zip, should be found in several flashing and rooting guides.