Decrypting Data - Huawei Nova/Nova Plus Questions & Answers

OK, so I realized I cannot actually modify system with the Phh superuser. I need to get supersu on and I cannot do that unless I can access data in TWRP. Whenever I format it I end up soft bricked. Any suggestions?

We formated it and restored data from another search code through fastboot.
Now we have the full rom in another thread, so there should be all you need

Remember seeing the thread, but unable to find it now.

wangdaning said:
Remember seeing the thread, but unable to find it now.
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?t=3548956

I have a CAZ-AL10, nothing there for me. I formatted data and now bootlooped. update.app is not working either.

Used update.zip from here http://hwmt.ru/oth/HWFF/info/view.php and it worked.

Still can't manage to decrypt without bootloop. What format should I format it to?

My rear camera image is upside down after unbricking by flashing the stock ROM. any fix for it.
MLA-L12C636B130
CUSTC636D006

wangdaning said:
Still can't manage to decrypt without bootloop. What format should I format it to?
Click to expand...
Click to collapse
First, you need to root in TWRP. Reboot, and format the partition datŠ°
Manual
http://cn.club.vmall.com/thread-11043022-1-2.html.
http://club.huawei.com/thread-11043052-1-1.html

Related

Can't do anything with TWRP. Cannot mount /data and unable to find crypto footer.

Hey, so I rooted my Galaxy S7 edge exynos, and everything was great. However, when I boot into recovery, TWRP can't do anything. It can't backup, install images, nothing. It says my memory is 0mb, and if I try to backup it says "cannot mount /data and unable to find crypto footer". I can restart my phone to system and everything works perfectly. Is there a way to fix this? I'm using latest version of TWRP (3.0.2)
Thanks guys!
Byyz said:
Hey, so I rooted my Galaxy S7 edge exynos, and everything was great. However, when I boot into recovery, TWRP can't do anything. It can't backup, install images, nothing. It says my memory is 0mb, and if I try to backup it says "cannot mount /data and unable to find crypto footer". I can restart my phone to system and everything works perfectly. Is there a way to fix this? I'm using latest version of TWRP (3.0.2)
Thanks guys!
Click to expand...
Click to collapse
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Brava27 said:
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Click to expand...
Click to collapse
Is there no way around this at all? It's really a hassle having to reset my phone every time.
Is there at least a way to install xposed without formatting?
Thanks!
Byyz said:
Is there no way around this at all? It's really a hassle having to reset my phone every time.
Is there at least a way to install xposed without formatting?
Thanks!
Click to expand...
Click to collapse
You only do this once, use flashfire or titanium backup to backup your stuff.
did you flash this after TWRP?
"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."
https://idlekernel.com/fun-stuff-trust-me/no-verity-opt-encrypt.zip
same here !:<
Same problem a few days ago. Caused by secure startup or encrypt device obviously lol. Only fix for read/write on data/internal storage is factory reset in stock recovery. Unfortunately this was the only fix for my fussy G935F.
TWRP couldn't mount data to wipe anyway I tried and the only way to flash was through selecting extSD.
i dont have escription enabled though ._.
jgalvez21 said:
i dont have escription enabled though ._.
Click to expand...
Click to collapse
I find a solution, just go in wipe and format data , it will removes encryption on internal storage. if not works try a factory reset in stock recovery them try again, S7 is encrypted out of the box and Twrp can't read or mount data. Works for me in G935F.
how long does it take to format? i chose exfat and it's taking ages... am i doing something wrong?
Brava27 said:
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Click to expand...
Click to collapse
i unlocked a nexus 5 and got the same problem, formatted data, all seems good now
is there a way to save my data? my phone is oneplusone
if you use twrp to flash xposed, it'll still work. But your data is still encrypted.
Should I do anything else after the Formating data (install TWRP again, root again...)?
I remember that I did format data in my last phone and it completely deleted everything including OS, so now im little afraid.
Currently I can't do nothing in TWRP, not wipe and not backup...
Nitzans said:
Should I do anything else after the Formating data (install TWRP again, root again...)?
I remember that I did format data in my last phone and it completely deleted everything including OS, so now im little afraid.
Currently I can't do nothing in TWRP, not wipe and not backup...
Click to expand...
Click to collapse
Just format data and you will be able to use twrp.
fureedx said:
Just format data and you will be able to use twrp.
Click to expand...
Click to collapse
Thanks, it worked! Too bad that the only way to get this is by loosing all the data .
Hi all,
I followed instruction on installing TWRP and also have root. I also installed the no-verity-opt-encrypt.zip file, but I still can't access internal SD. It says 0mb. Also after installing the zip it similar stated 'unable to mount'.
When I try to format data it can't mount it.
am i missing a step??
ideas?
Thanks in advance...
PS: not sure if this is relevant, but it keep coming up with the same flash screen message: "keep system read only?"
I tick the box says don't display this, and swipe to allow modifications, but get this message every time.
The_Hammer said:
Hi all,
I followed instruction on installing TWRP and also have root. I also installed the no-verity-opt-encrypt.zip file, but I still can't access internal SD. It says 0mb. Also after installing the zip it similar stated 'unable to mount'.
When I try to format data it can't mount it.
am i missing a step??
ideas?
Thanks in advance...
PS: not sure if this is relevant, but it keep coming up with the same flash screen message: "keep system read only?"
I tick the box says don't display this, and swipe to allow modifications, but get this message every time.
Click to expand...
Click to collapse
You have to format the data after you installed twrp. And then you can flash supersu and no verity opt thingie.
Thanks for the reply... It wont let me format it. 'says can not mount'
I'm having the same issue here. Although I can root, I cannot wipe data, so no way to install a custom ROM

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

Can't find downloads in twrp

After doing the Tmo to international conversion, I downloaded a new rom and appropriate files. They show in ES File Explorer, but I am unable to locate them in TWRP. Anyone have this issue, I have to be missing something. Thanks in advance.
just put them in downloads and go there in twrp
Downloads folder literally doesn't exist in TWRP for me.
The whole file system looks different at / in TWRP than in ES explorer.
You need to mount sdcard/storage in TWRP
I have tried with no success. Under mount it won't even allow me to click the option to mount sd card. When I click sd card in the list I get a slew of folders with random character names (ie- ggDjkk7hFJJgGvV)
I have noticed in my oos system settings my phone shows encrypted. Could this be why? Is there a way to turn off encryption that I'm not seeing, if this is the cause?
Floridaplur said:
I have tried with no success. Under mount it won't even allow me to click the option to mount sd card. When I click sd card in the list I get a slew of folders with random character names (ie- ggDjkk7hFJJgGvV)
Click to expand...
Click to collapse
That means it's still encrypted. What version of TWRP are you using? My guess is you are using the wrong TWRP. You can try booting back into OOS and removing your PIN / Password / fingerprints.
Otherwise you may have to boot back into OOS, backup your data, and format the data partition. Reboot to recovery again, then transfer whatever you need to TWRP, flash, and it will re-encrypt on the next boot. Again though, make sure you have the correct TWRP first before you go through all this trouble.
I am using bluespark TWRP that was in the guide to Tmo intl conversion.
Floridaplur said:
I am using bluespark TWRP that was in the guide to Tmo intl conversion.
Click to expand...
Click to collapse
have u tried the other twrp builds that may be more up to date?
Floridaplur said:
I am using bluespark TWRP that was in the guide to Tmo intl conversion.
Click to expand...
Click to collapse
Yes, that one will give you the issue. The encryption did not seem to be working in it.
You should use the latest version of this recovery to resolve your issue: [RECOVERY][3.3.0-2][fajita]Official/Unofficial TWRP recovery for OnePlus 6T (Stable)
So after updating to twrp 3.2.2, I was successfully able to clean install havok and have everything working. What I have noticed though, is that after booting into the rom, it is encrypted again.
The first go I realized I had the wrong gapps, so I downloaded the correct one, and rebooted to recovery. At this point it was encrypted and I couldn't see downloads again. I decided to do a data and cache wipe and installed everything via adb sideload and it went perfectly. I guess this phone just wants me to only load roms when I have my laptop with me. Either way, I'm up and running. I miss how easy things we're back in the HTC Evo days.

Rooting my X00_TD?

I have unlocked the boot-loader and also installed TWRP recovery on my X00_TD device which has 'Pie' as it's Stock ROM.
Now, I would like to know how to proceed to do rooting on this device.
Is it necessary to run decrypt zip file before we run 'magisk-v19.1' to root?
Please advise!
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Decrypt and then Magisk?
arko9699 said:
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Click to expand...
Click to collapse
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Kudla said:
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Click to expand...
Click to collapse
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Unable to Mount Storage?
arko9699 said:
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Click to expand...
Click to collapse
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Kudla said:
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Click to expand...
Click to collapse
Try to run decrypt.zip it should fix the problem. I used a OTG device since I didn't have a SD card. Unless you run decrypt.zip you cannot use the internal storage. So I would recommend running it despite my last statement.

file corruption.

hi, i have a sm-t510 with android 9, and im trying to install twrp but everytime i try i get some kind of wierd file corruption. all my files in sdcar are named with random numbers and letters and there is nothing in it. the tablet boot normaly, but i cant install anything or acces any of my normal file. is there anyway to fix that, or does anyone has a data back up i can use for that version XAC-T510XXU2ASK5. thank you.
cwarrow said:
hi, i have a sm-t510 with android 9, and im trying to install twrp but everytime i try i get some kind of wierd file corruption. all my files in sdcar are named with random numbers and letters and there is nothing in it. the tablet boot normaly, but i cant install anything or acces any of my normal file. is there anyway to fix that, or does anyone has a data back up i can use for that version XAC-T510XXU2ASK5. thank you.
Click to expand...
Click to collapse
Didn't read the instructions very carefully, now did you? The very FIRST thing you need to do when booting to TWRP is to FORMAT THE DATA PARTITION. Not wipe, but FORMAT. The data partition is encrypted and TWRP can't read it. That is why everything looks weird. Also, that is why you need to backup any pictures, downloads or anyting else you want to save because formating the partition will erase EVERYTHING and not just system stuff that wiping deletes.
lewmur said:
Didn't read the instructions very carefully, now did you? The very FIRST thing you need to do when booting to TWRP is to FORMAT THE DATA PARTITION. Not wipe, but FORMAT. The data partition is encrypted and TWRP can't read it. That is why everything looks weird. Also, that is why you need to backup any pictures, downloads or anyting else you want to save because formating the partition will erase EVERYTHING and not just system stuff that wiping deletes.
Click to expand...
Click to collapse
I have been rooting phones and tablet for the past 10 years its the first time it happens. Maybe its something new. Thanks for the info. But i already format the data and evwrything disapeared beside a file named twrp. And i cant reatore the data, cause i didnt have twrp to back them up. So if you have another sugestion, i am all ear
cwarrow said:
I have been rooting phones and tablet for the past 10 years its the first time it happens. Maybe its something new. Thanks for the info. But i already format the data and evwrything disapeared beside a file named twrp. And i cant reatore the data, cause i didnt have twrp to back them up. So if you have another sugestion, i am all ear
Click to expand...
Click to collapse
My post pointed out that formatting would erase everything and that you should backup prior to doing it. And there are several other methods of backing up data and apps besides TWRP. Yes, it leaves the data partition blank, but flashing a ROM and gapps will put the directories back. Of course, they will still be empty. If you used a Google Account, then that should have at least backed up your apps and some settings. When you setup a new ROM, it should let you restore them.
BTW, yes it was the first time it happened for most of us. Samsung keeps trying to improve "security" and adding encryption, by default, to the data partition is in all of their new tablets and phones.
lewmur said:
My post pointed out that formatting would erase everything and that you should backup prior to doing it. And there are several other methods of backing up data and apps besides TWRP. Yes, it leaves the data partition blank, but flashing a ROM and gapps will put the directories back. Of course, they will still be empty. If you used a Google Account, then that should have at least backed up your apps and some settings. When you setup a new ROM, it should let you restore them.
BTW, yes it was the first time it happened for most of us. Samsung keeps trying to improve "security" and adding encryption, by default, to the data partition is in all of their new tablets and phones.
Click to expand...
Click to collapse
my point is that i want to keep the stock rom, i was able to install a costum rom no problem after. but it doesnt work with the stock rom
cwarrow said:
my point is that i want to keep the stock rom, i was able to install a costum rom no problem after. but it doesnt work with the stock rom
Click to expand...
Click to collapse
You can't backup a stock ROM with TWRP because it can't handle the encryption. But you can use TWRP to root a stock ROM. In that case you just ignore the wierd internal data and put what you want to flash only on the external SD. IOW, if your reason for flashing TWRP is to use its backup function on a stock, don't bother, it won't work. But if your intent is to ROOT the stock ROM, then go ahead, but DON'T format data. Just put the files needed to root on the external SD and flash from there. You format the data partition in order to flash a custom ROM.
lewmur said:
You can't backup a stock ROM with TWRP because it can't handle the encryption. But you can use TWRP to root a stock ROM. In that case you just ignore the wierd internal data and put what you want to flash only on the external SD. IOW, if your reason for flashing TWRP is to use its backup function on a stock, don't bother, it won't work. But if your intent is to ROOT the stock ROM, then go ahead, but DON'T format data. Just put the files needed to root on the external SD and flash from there.
Click to expand...
Click to collapse
yeah but, i stil have the same problem though, i still cant use my tablette properly. i cant install new games and other app. but anyway i already rooted my stock firmware using magisk. but thanks anyway for the help
its just that i dont like the custom firware we have for it, and the stock firmware is slow af. but ill end up probably falshing a custom firmware anyway. have a good day.

Categories

Resources