TWRP cant flash or wipe help plz - Samsung Galaxy S7 Edge Questions and Answers

Hello Guys
Today I was trying to flash a ROM but the recovery logs says unable to mount storage , I read that the stock rom [Make sure you have a not encrypted device and OEM unlock is enabled in developer settings!!]
It's unlocked but how to decrypt the device !

Twrp can't decrypt the phone, you need to wipe the phone and install some dm-verify patch, its all in the twrp thread.

Talal Aziz said:
Hello Guys
Today I was trying to flash a ROM but the recovery logs says unable to mount storage , I read that the stock rom [Make sure you have a not encrypted device and OEM unlock is enabled in developer settings!!]
It's unlocked but how to decrypt the device !
Click to expand...
Click to collapse
go in to twrp slide right to allow modification then format data not wipe this is most important the re boot recovery and then flash rom

strikerdj2011 said:
go in to twrp slide right to allow modification then format data not wipe this is most important the re boot recovery and then flash rom
Click to expand...
Click to collapse
Thank you, I had the same problem and this solved it for me.

Related

Trying to root but unsuccessfull

So I've installed TWRP properly I believe, when I try to flash supersu I get lots of errors on TWRP, what can I do? Also right now I'm in a bootloop please help
This is what I did, I did format data from TWRP so naturally I have no OS installed right now but I can't flash a ROM either since I keep getting Error 1 on TWRP. System partition will mount every now and then and then unmount
can you get screen shoot with other phone ? what is version of twrp you have now ? and phone locked or unlocked?
The problem is that I can't mount data
JohnPyn said:
The problem is that I can't mount data
Click to expand...
Click to collapse
ok its happen to me and i fix by my self
just lock your bootloader and it make factory reset by it self
then open and flash TWRP and make wipe or format data as you need try and tell me
Lock bootloader? It's possible to flash twrp with locked bootlaoder?
JohnPyn said:
Lock bootloader? It's possible to flash twrp with locked bootlaoder?
Click to expand...
Click to collapse
I think he has unlocked it after the factory reset.

restoring from TWRP

hello all
i have ZTE AXON 7 U model.
i did bootloader unloock and instaled TWRP 3041 and did this "Once you booted to TWRP , Tap Mount and Check "Mount, System as Read-only", this is very important".
now im on the A2017UV1.1.0B15_systemstock_by_DrakenFX.zip. all works great.
in twrp when i do backup and want to restore it i get this massage: " cannot restore system--mounted read only".
how can i backup and restore in the wright way?
ty all
le011 said:
hello all
i have ZTE AXON 7 U model.
i did bootloader unloock and instaled TWRP 3041 and did this "Once you booted to TWRP , Tap Mount and Check "Mount, System as Read-only", this is very important".
now im on the A2017UV1.1.0B15_systemstock_by_DrakenFX.zip. all works great.
in twrp when i do backup and want to restore it i get this massage: " cannot restore system--mounted read only".
how can i backup and restore in the wright way?
ty all
Click to expand...
Click to collapse
"Mount and Check "Mount, System as Read-only", this is very important".
What you have quoted is only to complete the installation Flash. Go ahead and uncheck 'Mount System Read-Only' for normal operation and you are ready to go!
amphi66 said:
"Mount and Check "Mount, System as Read-only", this is very important".
What you have quoted is only to complete the installation Flash. Go ahead and uncheck 'Mount System Read-Only' for normal operation and you are ready to go!
Click to expand...
Click to collapse
To for your replay.
When I unchecked the System read only and trying to restore the phone from the backup I made in Twrp the phone stucks after reboot on the screen that says the bootloader is unlocked and that's it.
le011 said:
To for your replay.
When I unchecked the System read only and trying to restore the phone from the backup I made in Twrp the phone stucks after reboot on the screen that says the bootloader is unlocked and that's it.
Click to expand...
Click to collapse
You should see that screen and the phone should continue to boot after 5 seconds.
To recap:
1. You stated all was fine in B15 after following the upgrade steps.
2. You made a TWRP backup (system, data & boot) of your new B15
3. When attempting to TWRP restore the B15 backup it could not as system was still mounted "read only"
4. You unchecked "read only" and then did the restore
5. Now system does not boot (hangs on bootloader unlocked warning screen)
If that is correct it sounds as if you have a bad or incomplete B15 backup or you are attempting to restore a B29 backup to a B15 bootstack.
amphi66 said:
You should see that screen and the phone should continue to boot after 5 seconds.
To recap:
1. You stated all was fine in B15 after following the upgrade steps.
2. You made a TWRP backup (system, data & boot) of your new B15
3. When attempting to TWRP restore the B15 backup it could not as system was still mounted "read only"
4. You unchecked "read only" and then did the restore
5. Now system does not boot (hangs on bootloader unlocked warning screen)
If that is correct it sounds as if you have a bad or incomplete B15 backup or you are attempting to restore a B29 backup to a B15 bootstack.
Click to expand...
Click to collapse
All correct.
After Im making backup, I'm wiping, and trying to restore the backup I just did.
No luck.
le011 said:
All correct.
After Im making backup, I'm wiping, and trying to restore the backup I just did.
No luck.
Click to expand...
Click to collapse
Confusing to me. How are you using phone after a bad restore?
What revision TWRP did you flash? Did you flash SU 2.79 after flashing ROM?
Perhaps someone w/ more knowledge can chime in, but sounds as if you are a candidate to begin again following the steps carefully
Goodluck
amphi66 said:
Confusing to me. How are you using phone after a bad restore?
What revision TWRP did you flash? Did you flash SU 2.79 after flashing ROM?
Perhaps someone w/ more knowledge can chime in, but sounds as if you are a candidate to begin again following the steps carefully
Goodluck
Click to expand...
Click to collapse
hi
i have TWRP version 3041.
after i'm trying to restore and wont succeeded , i flash the rom again. the rom im flashing is : A2017UV1.1.0B15_systemstock_by_DrakenFX.
then the phone boot up and work great.
im not flashing supersu because i dont want root.
le011 said:
hi
i have TWRP version 3041.
after i'm trying to restore and wont succeeded , i flash the rom again. the rom im flashing is : A2017UV1.1.0B15_systemstock_by_DrakenFX.
then the phone boot up and work great.
im not flashing supersu because i dont want root.
Click to expand...
Click to collapse
Interesting. How long are you waiting on the Bootloader unlocked warning screen?
Next time in TWRP look at the data partition and verify it is formatted as ext4 not f2fs. I might also download a different version of TWRP and reflash the IMG file from within TWRP. I reference @DrakenFX here as he may have the easy solution.
amphi66 said:
Interesting. How long are you waiting on the Bootloader unlocked warning screen?
Next time in TWRP look at the data partition and verify it is formatted as ext4 not f2fs. I might also download a different version of TWRP and reflash the IMG file from within TWRP. I reference @DrakenFX here as he may have the easy solution.
Click to expand...
Click to collapse
How i check in TWRP how the data partition formated?
I trayid the new version of TWRP 3100 and same thing.
after restoring the phone stuck on the Bootloader unlocked warning screen -last time i waited for 5 min before i
shut down whit power button.
le011 said:
hi
i have TWRP version 3041.
after i'm trying to restore and wont succeeded , i flash the rom again. the rom im flashing is : A2017UV1.1.0B15_systemstock_by_DrakenFX.
then the phone boot up and work great.
im not flashing supersu because i dont want root.
Click to expand...
Click to collapse
amphi66 said:
Interesting. How long are you waiting on the Bootloader unlocked warning screen?
Next time in TWRP look at the data partition and verify it is formatted as ext4 not f2fs. I might also download a different version of TWRP and reflash the IMG file from within TWRP. I reference @DrakenFX here as he may have the easy solution.
Click to expand...
Click to collapse
Easy fix, go back to TWRP,
* Wipe Data (if you are in different ROM a or version) - Dalvik- Cache
* Check MOUNT SYSTEM AS READ-ONLY
* Reflash B15 system
Happy reboot
If you Previously were using B15 , you may restore data only, other wise is a no go.
DrakenFX said:
Easy fix, go back to TWRP,
* Wipe Data - Dalvik- Cache
* Check MOUNT SYSTEM AS READ-ONLY
* Reflash B15 system
Happy rebokt
Click to expand...
Click to collapse
hi
i did that for 3 tomes ending whit the same result :
the rom working great after clean instal...restoring from TWRP....ending whit stuck phone.
le011 said:
How i check in TWRP how the data partition formated?
I trayid the new version of TWRP 3100 and same thing.
after restoring the phone stuck on the Bootloader unlocked warning screen -last time i waited for 5 min before i
shut down whit power button.
Click to expand...
Click to collapse
You may not have seen this on another thread with a similar issue:
"did find something else out. Under [TWRP] settings, if I enabled the "Use rm -rf instead of formatting", then I can restore successfully."
Goodluck
amphi66 said:
You may not have seen this on another thread with a similar issue:
"did find something else out. Under [TWRP] settings, if I enabled the "Use rm -rf instead of formatting", then I can restore successfully."
Goodluck
Click to expand...
Click to collapse
OK ty
i will try that and post if sucssed.

Xiaomi Redmi 3S Lineage 28May Issue

Hello.
So i've flashed Lineage 28May Build and this automaticly encrypt my device ...
I've read on the internet that if the device is encrypted the flash process is a bit diferent.
I've read about wipe data cache dalvik and system
wipe data cache dalvik system and internal storage
And flash adb ...
So, now i tried to go to TWRP and it just apears Mi Logo!
Not booting into any recovery (Stock or TWRP)
I've installed Miui.eu and the recovery is ok
I flash Lineage and i can't boot into recovery anymore ...
What to do?
Issues :
1 - Can't boot into TWRP
2 - What process is to flash a new Lineage Rom? ( I want to decrypt my device to flash more easily)
I really need help ...
I don't know if my bootloader is unlocked or locked right now, because i flashed too many roms ...
Need help !
metro20 said:
Hello.
So i've flashed Lineage 28May Build and this automaticly encrypt my device ...
I've read on the internet that if the device is encrypted the flash process is a bit diferent.
I've read about wipe data cache dalvik and system
wipe data cache dalvik system and internal storage
And flash adb ...
So, now i tried to go to TWRP and it just apears Mi Logo!
Not booting into any recovery (Stock or TWRP)
I've installed Miui.eu and the recovery is ok
I flash Lineage and i can't boot into recovery anymore ...
What to do?
Issues :
1 - Can't boot into TWRP
2 - What process is to flash a new Lineage Rom? ( I want to decrypt my device to flash more easily)
I really need help ...
I don't know if my bootloader is unlocked or locked right now, because i flashed too many roms ...
Need help !
Click to expand...
Click to collapse
1)Try to reflash twrp from fastboot mode.(if you can't do this, then your bootloader is locked. And no matter how many roms you install, bootloader, once unlocked remains unlocked, untill you lock purposefully).
2)In twrp wipe cache, dalvik, and if necessary data for clean installation.
3) Once any custom ROM is installed, while in mi logo , you cannot directly boot to twrp. You have to go to fastboot and from there boot to twrp.
4) First install only ROM. Once it gets installed turn it on. Once it successfully turns on, then you can install gapps ( this is not always necessary to be followed)
5) formatting data completely will decrypt your device. Just goto format data and type "yes". You need not goto advanced wipe.
arceuss said:
1)Try to reflash twrp from fastboot mode.(if you can't do this, then your bootloader is locked. And no matter how many roms you install, bootloader, once unlocked remains unlocked, untill you lock purposefully).
2)In twrp wipe cache, dalvik, and if necessary data for clean installation.
3) Once any custom ROM is installed, while in mi logo , you cannot directly boot to twrp. You have to go to fastboot and from there boot to twrp.
4) First install only ROM. Once it gets installed turn it on. Once it successfully turns on, then you can install gapps ( this is not always necessary to be followed)
5) formatting data completely will decrypt your device. Just goto format data and type "yes". You need not goto advanced wipe.
Click to expand...
Click to collapse
Hello again.
Now i can boot to recovery...
So, now i only need to wipe data cache Dalvik system and internal storage, right?
I tried to boot on twrp and it sais unable to mount storage , but then, twrp automaticly make a few changes and finnaly boot sucessfuly into twrp... Is it OK?
Thx for your support mate
Sent from my Redmi 3S using Tapatalk

Can't create a backup through TWRP.

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

When I wipe up in TWRP on this phone my data becomes encrypted

Hey XDA. I have a question, I just got this phone and I was wondering how to flash properly? On my old phone I would just wipe everything in twrp and flash a new ROM, but when I wipe in twrp on this phone all my files get encrypted including the ROM that I'm trying to flash on this OP6T, any help would be appreciated
TheTrueDarkMist said:
Hey XDA. I have a question, I just got this phone and I was wondering how to flash properly? On my old phone I would just wipe everything in twrp and flash a new ROM, but when I wipe in twrp on this phone all my files get encrypted including the ROM that I'm trying to flash on this OP6T, any help would be appreciated
Click to expand...
Click to collapse
Can't help you with the root but searching does help. Search a guy on YouTube name techibee he had a good video. But one plus has a backup so if you mess up one boot partition you have the other to correct easier. Basically a backup so your phone boots and not bricks
TheTrueDarkMist said:
Hey XDA. I have a question, I just got this phone and I was wondering how to flash properly? On my old phone I would just wipe everything in twrp and flash a new ROM, but when I wipe in twrp on this phone all my files get encrypted including the ROM that I'm trying to flash on this OP6T, any help would be appreciated
Click to expand...
Click to collapse
Boot on twrp
Flash ROM
Flash twrp installer
Reboot to twrp
Factory reset ( DON'T wipe system)
Flash magisk
Reboot to system

Categories

Resources