MHA-L29C432B373 and TWRP - Huawei Mate 9 Questions & Answers

I flashed this firmware yesterday, could any of you who have flashed this and have TWRP check if it skips PIN input in TWRP and automatically decrypts?
Just wondering if it's just my phone or a big security issue.
I use TWRP by pretorian80 which is the only, besides zxz0O0's, that can decrypt FBE.
I also flashed blackball's TWRP, which doesn't decrypt, and I can still view internal SD
I did not decrypt (Format Data) and fileencryption flag is still there in fstab.

ante0 said:
I flashed this firmware yesterday, could any of you who have flashed this and have TWRP check if it skips PIN input in TWRP and automatically decrypts?
Just wondering if it's just my phone or a big security issue.
I use TWRP by pretorian80 which is the only, besides zxz0O0's, that can decrypt FBE.
I also flashed blackball's TWRP, which doesn't decrypt, and I can still view internal SD
I did not decrypt (Format Data) and fileencryption flag is still there in fstab.
Click to expand...
Click to collapse
help I'm in the recovery stock, but it does not let me wipe, it just does not progress please help me, I need to make the wipe data factory reset so I can start my phone, my version is L09 c432 oreo
Excuse me for doing it this way, it's a way to get your attention, I really need help from you.....:llorando:

mataflakitas said:
help I'm in the recovery stock, but it does not let me wipe, it just does not progress please help me, I need to make the wipe data factory reset so I can start my phone, my version is L09 c432 oreo
Excuse me for doing it this way, it's a way to get your attention, I really need help from you.....:llorando:
Click to expand...
Click to collapse
See if you can get it to Low-Level wipe, but it needs to bootloop a few times for that to start.

ante0 said:
See if you can get it to Low-Level wipe, but it needs to bootloop a few times for that to start.
Click to expand...
Click to collapse
I had to make a return to nougat, with the developer's guide firedence in the German forum, thank you anyway
ante0 ...

Related

[Working] Removing Encryption In Twrp Recovery

Hello Guys,
We have Only 1 Twrp Recovery. And u guys Might be Pissed that it has Encryption. But the Encryption Problem Is Not in the Twrp, it is due to ROM.
Guide to Remove Encryption
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
F.A.Q'S
1. This Method Removes All Ur Files Which are there in Your Internal Storage.
2. I wont be responsible For the Bricks u Do For Your Device
Do Give a Thanks If U Like My Work
Reserved
ChalapathiRevanth said:
Reserved
Click to expand...
Click to collapse
pls can you tell me what this settings look like after decryption
Nothing Related to Settings
SkaboXD said:
pls can you tell me what this settings look like after decryption
Click to expand...
Click to collapse
That's a Twrp Decryption which we find in Almost All Mtk Devices Running MM, Nougat, Oreo.
Don't Worry, nothing is related to Ur settings/security
ChalapathiRevanth said:
That's a Twrp Decryption which we find in Almost All Mtk Devices Running MM, Nougat, Oreo.
Don't Worry, nothing is related to Ur settings/security
Click to expand...
Click to collapse
no,no,no i know that, i just want to know did encryption setting changed to decrypted.
What do we get with this method?
I would like to see if we can remove the system ones, and gain some performance on that.
Sent from my TA-1032 using Tapatalk
Did not Get you!
SkaboXD said:
no,no,no i know that, i just want to know did encryption setting changed to decrypted.
Click to expand...
Click to collapse
PM Me
Nothing Related To Performance!
Nikola Jovanovic said:
What do we get with this method?
I would like to see if we can remove the system ones, and gain some performance on that.
Sent from my TA-1032 using Tapatalk
Click to expand...
Click to collapse
This Is nothing related to performance, it just removes encryption in Twrp Recovery. So we can see the Internal Storage in Twrp Recovery.
If u Want to Get Performance, Remove the ****ty Apps, which are present with System App Remover!
I can confirm that this method works, i didn't know that it was that simple.
Quick question, fellas;
Mine tarp is ported from P9. Is this is the only one recovery around for our device?
What about full tarp backup and format /system and /data? Is there any chance for brick? I've rooted with Magical, but because of the encryption (I cannot see internal memory and /data) I doesn't flash any modules. Thanks for the future info!
MoHuToP said:
Quick question, fellas;
Mine tarp is ported from P9. Is this is the only one recovery around for our device?
What about full tarp backup and format /system and /data? Is there any chance for brick? I've rooted with Magical, but because of the encryption (I cannot see internal memory and /data) I doesn't flash any modules. Thanks for the future info!
Click to expand...
Click to collapse
yeah, that is only recovery that works, you can brick device if you wipe /system. You should wipe /system only when you are doing full wipe (flashing new ROM). You can wipe /data but it will remove existing non-system apps. I never did twrp backup so you can try.
Does the twrp encryption removal survive ota updates and oreo beta update?
Device Specific Comments
MoHuToP said:
Quick question, fellas;
Mine tarp is ported from P9. Is this is the only one recovery around for our device?
What about full tarp backup and format /system and /data? Is there any chance for brick? I've rooted with Magical, but because of the encryption (I cannot see internal memory and /data) I doesn't flash any modules. Thanks for the future info!
Click to expand...
Click to collapse
However Only Device Specific Comments, SkaboXD
I hope This Guy Solved Your Problem
redweaver said:
Does the twrp encryption removal survive ota updates and oreo beta update?
Click to expand...
Click to collapse
I don't think so because every .nb0 file that i flashed have encryption enabled. But after flashing new rom, you can immediately factory reset when you boot to rom to prevent losing data.
---------- Post added at 08:27 PM ---------- Previous post was at 08:25 PM ----------
@MoHuToP
ok, i tried full twrp backup, but it stops on system image backup, it stoped around 60%. Backup have 11.5 GB (really huge isn't it).
DELETED
Ok, this method worked on Nougat with SuperSU because SuperSU patched fstab and file contexts successfully. It doesn't work on Oreo because Oreo now have plat_file_contexts and non_plat_file contexts. SuperSU needs to be updated to patch these files succesufully or we need to manually patch it so we can remove encryption.
Just to update this guide: This works only on Nougat. You need to have installed twrp and unlocked bootloader. Magisk doesn't work with this method because it doesn't patch fstab and file contents file so you need to uninstall it by going to Magisk app and clicking uninstall. After that go to TWRP, flash unSu > stock boot.img. You can flash Magisk after that with removed encryption.
Steps:
1. Flash SuperSU 2.79 stable with TWRP
2. Reboot your phone to system.
3. Reboot to TWRP again.
4. Choose Wipe > Swipe to Factory reset
5. Choose Wipe > Advanced > Internal Storage
Now you wiped Data, Cache, Dalvik cache and Internal Storage.
Your phone will have removed encryption now.
If you want Magisk, just flash unSu script > stock boot.img > Magisk
If you update your phone, it will encrypt your phone again so you need to repeat steps again.
I have redmi note 5 mec7s and i instal global stable 9.5.13.0
now phone booting to mesage "encrypting don't reboot your phone" and goes to mi recovery and bootloop
if a make wipe then again booting to mesage "encrypting don't reboot your phone" and goes to mi recovery
how that i remove encrypting from adb or fastboot ?
xabaras666 said:
I have redmi note 5 mec7s and i instal global stable 9.5.13.0
now phone booting to mesage "encrypting don't reboot your phone" and goes to mi recovery and bootloop
if a make wipe then again booting to mesage "encrypting don't reboot your phone" and goes to mi recovery
how that i remove encrypting from adb or fastboot ?
Click to expand...
Click to collapse
This is only for the NOKIA 3 - if you have tried this on a different device there could be the possibility of Bricking it, let's hope not.
I suggest going to your own device forum for assistance.
I have reformatted and factory resetted many times but the issue keeps coming back after I boot into system. To clarify, my steps were to reformat inside the wipe section, boot into recovery and check to see there's no encryption, and then boot back to system to install magisk with the manager app. I have tried adding a factory reset to that process, but that won't work either. My TWRP is 3.2.1-0 and I will try to update it and see if it works. Also, sorry if I reply slow.

TWRP encryption problem

After i wanted to install Android P, i got a bootloop. so i wanted to go to twrp but now my files are encrypted and twrp is not asking for a pin or pattern so i can't decrypt my internal storage files.
Now the biggest problem is that i just came back from a family weekend and i made a lot of pictures, witch i can't acces now, and i really want them back.
Now i can't install a new os or anything ...
Can someone please help me! i'm really despirate
(sorry for my bad english)
Try downgrading twrp , night get it to ask for pin
downgrading is never the answer. In fact, that will cause this problem to happen. Now i must ask, are you temp booting twrp or is twrp installed to phone.
I got this when I temp booted the mtp enabled twrp the other day, although it still asked for my passcode and said description was successful. When I rebooted the installed (official) twrp it all came back....
MrSteelX said:
downgrading is never the answer. In fact, that will cause this problem to happen. Now i must ask, are you temp booting twrp or is twrp installed to phone.
Click to expand...
Click to collapse
Now i am booting from temp twrp, before that i got the latest twrp installed
Bringing this back up... Did booting from temp twrp work? Ran into the same issue.
Temp boot and use the usb c to pull ur data from the device to a computer. After that you can wipe and start over. Unbricking guide available in the help section
Having the same issue. If I boot using fastboot TWRP I'm able to decrypt data. I did that and flashed stock OOS and the same TWRP version (BluSpark) that was used in the fastboot. But the folders are still encrypted. It's weird how a fastboot can decrypt it but a regular recovery boot can't. Is there any alternatives available?
I'm in the process of backing up my data before I officially bite the bullet.
spartan268 said:
Having the same issue. If I boot using fastboot TWRP I'm able to decrypt data. I did that and flashed stock OOS and the same TWRP version (BluSpark) that was used in the fastboot. But the folders are still encrypted. It's weird how a fastboot can decrypt it but a regular recovery boot can't. Is there any alternatives available?
I'm in the process of backing up my data before I officially bite the bullet.
Click to expand...
Click to collapse
Only way i know to get rid of this by removing the encryption on the data is to Format the Internal Storage !
Totone56 said:
Only way i know to get rid of this by removing the encryption on the data is to Format the Internal Storage !
Click to expand...
Click to collapse
That's what I did in the end. I just backed up my media through fastboot TWRP beforehand. Beats having to use the download tool at least
spartan268 said:
That's what I did in the end. I just backed up my media through fastboot TWRP beforehand. Beats having to use the download tool at least
Click to expand...
Click to collapse
Probably the best way indeed. I think i'm gonna start disabling forced encryption to stop these kind of problems.
Totone56 said:
Probably the best way indeed. I think i'm gonna start disabling forced encryption to stop these kind of problems.
Click to expand...
Click to collapse
How to do it? I tried with zero luck
starche_old said:
How to do it? I tried with zero luck
Click to expand...
Click to collapse
I haven't tried yet, don't know for now !

Bootloop + Encrypted Data

So I wanted to try out LOS 16. I made a full TB backup and a Nandroid backup on TWRP. I flashed Open Beta 2 for the firmware and booted. Everything was fine, but OB 2 is not my thing so I went like planned and booted into TWRP to wipe and flash LOS. This was when it went downhill: TWRP no longer prompts me for a password and all my files are encrypted.
Even so I flashed LOS and it boot just fine but all my files are no longer there.
I will try to avoid a full wipe down. It's painful af, and since i got the 6 it's the second or third time that I'm at this point. I don't get it.
At this point all i want is to decrypt my data and restore my nandroid. Does anyone know how to achieve this?
Thanks in advance
quimbexa said:
So I wanted to try out LOS 16. I made a full TB backup and a Nandroid backup on TWRP. I flashed Open Beta 2 for the firmware and booted. Everything was fine, but OB 2 is not my thing so I went like planned and booted into TWRP to wipe and flash LOS. This was when it went downhill: TWRP no longer prompts me for a password and all my files are encrypted.
Even so I flashed LOS and it boot just fine but all my files are no longer there.
I will try to avoid a full wipe down. It's painful af, and since i got the 6 it's the second or third time that I'm at this point. I don't get it.
At this point all i want is to decrypt my data and restore my nandroid. Does anyone know how to achieve this?
Thanks in advance
Click to expand...
Click to collapse
if all you did was temp boot twrp on pie, temp boot twrp can not decrypt data. You have to flash twrp to phone then reboot to twrp. Second, twrp can not restore backups of stock roms. Third, to go back to any oreo rom will require a format data to fix.
MrSteelX said:
if all you did was temp boot twrp on pie, temp boot twrp can not decrypt data. You have to flash twrp to phone then reboot to twrp. Second, twrp can not restore backups of stock roms. Third, to go back to any oreo rom will require a format data to fix.
Click to expand...
Click to collapse
I'm pretty sure temp TWRP can decrypt data. I do it all the time. Regarding the restore, I wouldn't know, haven't tried yet but I think it would work, had I been able to decrypt it. Whatever. Full wipe it is.
quimbexa said:
I'm pretty sure temp TWRP can decrypt data. I do it all the time. Regarding the restore, I wouldn't know, haven't tried yet but I think it would work, had I been able to decrypt it. Whatever. Full wipe it is.
Click to expand...
Click to collapse
I know for 100% that it can't on temp boot for pie. it is a learning experience on this phone.
MrSteelX said:
I know for 100% that it can't on temp boot for pie.
Click to expand...
Click to collapse
I'm on Oreo mate.
quimbexa said:
I'm on Oreo mate.
Click to expand...
Click to collapse
after reading your first post, you are on pie.
MrSteelX said:
after reading your first post, you are on pie.
Click to expand...
Click to collapse
The backup I made was of Oreo. And on Pie it did temp boot, but was unable to decrypt and restore. Too bad.
I restored the phone using a fastboot stock ROM, but now I get strange signal drops followed by the phone locking itself
quimbexa said:
The backup I made was of Oreo. And on Pie it did temp boot, but was unable to decrypt and restore. Too bad
Click to expand...
Click to collapse
by flashing pie, your phone is on pie UNTIL you flash oreo rom.
MrSteelX said:
by flashing pie, your phone is on pie UNTIL you flash oreo rom.
Click to expand...
Click to collapse
So your suggestion would be to flash Oreo over Pie, boot (if it managed to boot), setup a new pattern, then TWRP and decrypt from there?
https://forums.oneplus.com/threads/...vice-tree-kernel-source-for-oneplus-6.833612/ this is how to fix this mess you are in.
or you could reflash beta 2 to access your data right now.
MrSteelX said:
if all you did was temp boot twrp on pie, temp boot twrp can not decrypt data. You have to flash twrp to phone then reboot to twrp. Second, twrp can not restore backups of stock roms. Third, to go back to any oreo rom will require a format data to fix.
Click to expand...
Click to collapse
twrp can not restore backups of stock roms? that's the first time I'm reading that... do you know the reason for that?
MJFox78 said:
twrp can not restore backups of stock roms? that's the first time I'm reading that... do you know the reason for that?
Click to expand...
Click to collapse
it's because of the encryption used on oneplus6. We can make backups with twrp, it just fails on the restore part.
MrSteelX said:
it's because of the encryption used on oneplus6. We can make backups with twrp, it just fails on the restore part.
Click to expand...
Click to collapse
so if I decrypt the device restoring will work?
MJFox78 said:
so if I decrypt the device restoring will work?
Click to expand...
Click to collapse
only if backup is decrypted aswell
MrSteelX said:
only if backup is decrypted aswell
Click to expand...
Click to collapse
makes sense... thanks!
MJFox78 said:
makes sense... thanks!
Click to expand...
Click to collapse
I can get TWRP backups to work just fine on stock OOS, but I follow a weird process.
1. Store backup on something other than the phone (I got a USB OTG SD card reader/writer - I use a 128GB SD card to hold my stuff)
2. Use a fastboot rom to flash the same rom as the backup was made on. They are in this thread https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
3. After flashing the fastboot rom start up the phone and go through the whole setup process (I don't know why but it doesn't work when I don't do this)
4. Install TWRP. Instructions can be found in this thread https://forum.xda-developers.com/oneplus-6/how-to/guide-how-to-install-official-twrp-t3801558 don't just boot TWRP, actually install TWRP (it might work if you just boot TWRP, I never tried it so I can't make any claims that it works)
5. Move your backup back to the phone and restore it in TWRP.
I have done this probably 100 times by now and it ALWAYS works. It is just how funky the encryption is on the OP6 that makes us go through hell to do something this simple. Try this.

Flash Stock to Decrypted Device

So I don't want to screw something up. I have decrypted my device to be able to more easily test other ROMs
Using an OTG and USB stick to make things easier ,, how do I flash Stock OOS back to a decrypted system and leave it decrypted ??
Thanks for the spoon feeding!
jcrompton said:
So I don't want to screw something up. I have decrypted my device to be able to more easily test other ROMs
Using an OTG and USB stick to make things easier ,, how do I flash Stock OOS back to a decrypted system and leave it decrypted ??
Thanks for the spoon feeding!
Click to expand...
Click to collapse
Flash stock like you did your ROMs. flash that DM varity at the end. Don't restore a stock backup if you didn't make it decrypted. Once you backup stock decrypted you can restore it anytime you want.
I've always started out on stock decrypted and then back that up. Then fish my ROMs you May have to reformat again so you can do it. I'm not to sure. If it's a different security patch you May have problems
mac796 said:
Flash stock like you did your ROMs. flash that DM varity at the end. Don't restore a stock backup if you didn't make it decrypted. Once you backup stock decrypted you can restore it anytime you want.
I've always started out on stock decrypted and then back that up. Then fish my ROMs you May have to reformat again so you can do it. I'm not to sure. If it's a different security patch you May have problems
Click to expand...
Click to collapse
Thanks!
So just flash the "full stock zip" that is posted with the ota ones?
jcrompton said:
Thanks!
So just flash the "full stock zip" that is posted with the ota ones?
Click to expand...
Click to collapse
Yes full zip. I would try it without a reformat first, just a factory reset in TWRP, and if it doesn't boot, then you know you will need to do the full format in TWRP. But I don't think you will. I hope not.
mac796 said:
Yes full zip. I would try it without a reformat first, just a factory reset in TWRP, and if it doesn't boot, then you know you will need to do the full format in TWRP. But I don't think you will. I hope not.
Click to expand...
Click to collapse
Man what a pain in the butt ... I tried over and over again and found no way to maintain decryption when going back to stock. ..... my device wouldn’t boot . I formatted data several times and that didn’t help ... still wouldn’t boot.
I may give up since I was able to flash encrypted
But if you have suggestions and the exact steps you take I might try again
Thanks
jcrompton said:
Man what a pain in the butt ... I tried over and over again and found no way to maintain decryption when going back to stock. ..... my device wouldn’t boot . I formatted data several times and that didn’t help ... still wouldn’t boot.
I may give up since I was able to flash encrypted
But if you have suggestions and the exact steps you take I might try again
Thanks
Click to expand...
Click to collapse
All I did was boot TWRP go to wipe, then format data
Then flash full os ZIP ,TWRP,DM varity all at same time
Then reboot recovery flash DM varity , magisk
Reboot to system. Then I backup this one decrypted, keep a copy on a flash drive
I haven't Flashed the new 9.5.11 yet. Maybe They changed something now that we can't run decrypted I'll let you know when I update.
jcrompton said:
Man what a pain in the butt ... I tried over and over again and found no way to maintain decryption when going back to stock. ..... my device wouldn’t boot . I formatted data several times and that didn’t help ... still wouldn’t boot.
I may give up since I was able to flash encrypted
But if you have suggestions and the exact steps you take I might try again
Thanks
Click to expand...
Click to collapse
Ok I just dirty flashed 9.5.11 and kept decryption. I didn't have to reformat because I was already unencrypted, but I followed the same way I shared with u.
mac796 said:
Ok I just dirty flashed 9.5.11 and kept decryption. I didn't have to reformat because I was already unencrypted, but I followed the same way I shared with u.
Click to expand...
Click to collapse
Sorry for the slight OT
Can you run an androbench and post the results please, curious to see if decrypting affects write read performance
Can someone link DM verity please ?

Problems with TWRP

I was running OOS 9.3.5 on my GM1917 and using version 3.3.1-2 of TWRP. Everything worked flawlessly. But since updating Oxygen OS to 10.0.2 I can't get anything to mount in TWRP (not working on any newer version of TWRP either). It also no longer asks for my pin to decrypt the data and reads as 0mb on the internal storage. I've already tried the usual formatting data and switching from ext4 to ext2 and back, and this also always leads back to 0mb. Is there something different with the data encryption on OOS 10? Or have I just flashed something wrong. I really need TWRP (or any recovery for that matter) because I really don't want to have to factory reset every time an update rolls around. I'm new to this so bear with me. If anyone could point me in the right direction, I'd highly appreciate it!
jwbritt01 said:
I was running OOS 9.3.5 on my GM1917 and using version 3.3.1-2 of TWRP. Everything worked flawlessly. But since updating Oxygen OS to 10.0.2 I can't get anything to mount in TWRP (not working on any newer version of TWRP either). It also no longer asks for my pin to decrypt the data and reads as 0mb on the internal storage. I've already tried the usual formatting data and switching from ext4 to ext2 and back, and this also always leads back to 0mb. Is there something different with the data encryption on OOS 10? Or have I just flashed something wrong. I really need TWRP (or any recovery for that matter) because I really don't want to have to factory reset every time an update rolls around. I'm new to this so bear with me. If anyone could point me in the right direction, I'd highly appreciate it!
Click to expand...
Click to collapse
Try to change your slot. Means if you are on a change to b or b to a from twrp reboot section
rohitg347 said:
Try to change your slot. Means if you are on a change to b or b to a from twrp reboot section
Click to expand...
Click to collapse
This was initial thought too, but TWRP won't allow me to switch slots because it is "unable to mount storage"
Since you moved over to Android 10 , use the latest TWRP, fastboot flash it, or flash it as a module in Magisk.
The older versions of TWRP do not work well with Android 10.
@soka said:
Since you moved over to Android 10 , use the latest TWRP, fastboot flash it, or flash it as a module in Magisk.
The older versions of TWRP do not work well with Android 10.
Click to expand...
Click to collapse
Also tried this with no luck, but thanks anyway
jwbritt01 said:
I was running OOS 9.3.5 on my GM1917 and using version 3.3.1-2 of TWRP. Everything worked flawlessly. But since updating Oxygen OS to 10.0.2 I can't get anything to mount in TWRP (not working on any newer version of TWRP either). It also no longer asks for my pin to decrypt the data and reads as 0mb on the internal storage. I've already tried the usual formatting data and switching from ext4 to ext2 and back, and this also always leads back to 0mb. Is there something different with the data encryption on OOS 10? Or have I just flashed something wrong. I really need TWRP (or any recovery for that matter) because I really don't want to have to factory reset every time an update rolls around. I'm new to this so bear with me. If anyone could point me in the right direction, I'd highly appreciate it!
Click to expand...
Click to collapse
Use version -70.
https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3932943
hallo dare said:
Use version -70.
https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3932943
Click to expand...
Click to collapse
Is this really the solution? Flashing this TWRP will make the storage mount and decrypt the device every time the recovery starts?
jwbritt01 said:
Is this really the solution? Flashing this TWRP will make the storage mount and decrypt the device every time the recovery starts?
Click to expand...
Click to collapse
Never had an issue using this version on android 10
jwbritt01 said:
Is this really the solution? Flashing this TWRP will make the storage mount and decrypt the device every time the recovery starts?
Click to expand...
Click to collapse
Did the -70 version worked for you?
jwbritt01 said:
This was initial thought too, but TWRP won't allow me to switch slots because it is "unable to mount storage"
Click to expand...
Click to collapse
Hi, have you tried to use the fastboot command to change slot? I had the same problem after I tried to flash the latest beta without flashing magisk and twrp after, luckily the other slot was working .
Change slot via fastboot and then restart to recovery.
The command should be "fastboot --set-active=b" (or a, depeding on which slot is working)

Categories

Resources