[Q] How To Disable DM-Verity and ForceEncrypt Mate 10 Lite - Huawei Mate 10 Questions & Answers

Hello guys,
I know that i will get no answer for this but anyway...
First of all i want to get the data partition decrypted permanently.
editing fstab only cause bootloop nothing else.
twrp applies decryption as you know only in recovery mode.
some told fastboot -w but nothing changed.
factory reset to data not work also. device is still encrypted.
that is all i have tried. If you know anything else i am ready to try it.
I am using RNE-L01 C432 with stock oreo ROM

Flash this zip from twrp + format data

Hami_Do said:
Flash this zip from twrp + format data
Click to expand...
Click to collapse
I have also tried this but not with flashing the zip, extracted the fstab and replaced with original one and bootloop again sadly but i will flash this time :good:

orion1933 said:
I have also tried this but not with flashing the zip, extracted the fstab and replaced with original one and bootloop again sadly but i will flash this time :good:
Click to expand...
Click to collapse
Test
- open /vendor/etc/fstab.hi6250
- make a backup just in case
- find "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inlinedata,inlinexattr wait,check,fileencryption=aes-256-xts:aes-256-cts"
- remove ",fileencryption=aes-256-xts:aes-256-cts"
- factory reset via stock recovery
Vu cela ici @Honor7xDev

Chisetdel31260 said:
Test
- open /vendor/etc/fstab.hi6250
- make a backup just in case
- find "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inlinedata,inlinexattr wait,check,fileencryption=aes-256-xts:aes-256-cts"
- remove ",fileencryption=aes-256-xts:aes-256-cts"
- factory reset via stock recovery
Vu cela ici @Honor7xDev
Click to expand...
Click to collapse
Can i keep decryption after setting up a screen lock or adding fingerprint, do you have any information about it? Thank you by the way

i followed the steps but keep getting bootloop. and showing huawei erecovery. can anyone help me? why still got the huawei recovery? how to replace with twrp.

Related

[RECOVERY][ROOT] TWRP 3.0.2-1 for Samsung Galaxy SM-J710F

This is TWRP 3.0.2-1 ported from official SM-J700 to SM-J710 using stock kernel (zImage) from SM-J710FN, and it fortunately works (atleast to root this thing).
Disclaimer: Flashing this gon' trip knox & you lose your (device's) warranty.
Built from official SM-J700F recovery
Kernel & Device Tree from SM-J710F 6.0.1
No "SEANDROID ***" red warning
Flash via ODIN & enjoy
TWRP: https://www.androidfilehost.com/?fid=24533103863141296
Kernel: https://www.androidfilehost.com/?fid=24533103863141293 (Stock 6.0.1 with disabled dm-verity & encryption)
Note: As per my experiences, it is recommended to flash the Kernel, then recovery, then "FORMAT DATA" (not just wipe) to disable encryption. Otherwise, TWRP will not be able to mount /data.
I flashed this SuperSU in system-less mode & I was rooted with no (visible) issues. Anything else like backing up, I didn't try.
EDIT:
If you want to keep encryption, simply flash recovery & upload SuperSU package via sideload.
EDIT:
Recommended Installation Flow:
Flash TWRP via ODIN
Flash Kernel via ODIN
Reboot to Recovery (TWRP)
Wipe > Format Data > "yes"
Reboot to Recovery (TWRP)
Flash latest SuperSU zip (anything > 2.46)
@vaibhavpandeyvpz
OMG!! you did it :good:
Thank you soo much...
Edit
Cannot boot into recovery mode just gets stuck on Galaxy J7(6) logo?
Disable DM-Verity & Encryption
Prince Chandela said:
@vaibhavpandeyvpz
OMG!! you did it :good:
Thank you soo much...
Edit
Cannot boot into recovery mode just gets stuck on Galaxy J7(6) logo?
Click to expand...
Click to collapse
I, myself have recently met this issue just now. The /data encryption & dm-verity might be causing such issue. Please check updated download links in post to download extracted kernel image from 6.0.1 stock ROM with modifed ramdisk and slightly updated TWRP which now boots fine everytime I try to as of yet.
vaibhavpandeyvpz said:
I, myself have recently met this issue just now. The /data encryption & dm-verity might be causing such issue. Please check updated download links in post to download extracted kernel image from 6.0.1 stock ROM with modifed ramdisk and slightly updated TWRP which now boots fine everytime I try to as of yet.
Click to expand...
Click to collapse
This didn't work i was able to boot in recovery but i can't see files and folders in storage (OTG,Internal,External)
On top of this
DEVICE DOESN'T BOOT now stuck on boot animation
Prince Chandela said:
This didn't work i was able to boot in recovery but i can't see files and folders in storage (OTG,Internal,External)
On top of this
DEVICE DOESN'T BOOT now stuck on boot animation
Click to expand...
Click to collapse
When I was stuck at the bootloader logo, I rebooted to Download mode and did hit Cancel to restart normally.
EDIT:
If you want to restore original recovery, I can provide you with the stock image as well from SM-J710FN.
EDIT:
If you want to root but can't see your files within, you can always sideload.
vaibhavpandeyvpz said:
When I was stuck at the bootloader logo, I rebooted to Download mode and did hit Cancel to restart normally.
EDIT:
If you want to restore original recovery, I can provide you with the stock image as well from SM-J710FN.
EDIT:
If you want to root but can't see your files within, you can always sideload.
Click to expand...
Click to collapse
Please provide me stock recovery and kernel image.
EDIT
i no longer need them. the cause of boot loop was your kernel. I tried to sideload supersu zip but i still can't get rooted this is because twrp can't access /data partition and supersu requires that in system less root.
vaibhavpandeyvpz said:
This is TWRP 3.0.2-1 ported from official SM-J700 to SM-J710 using stock kernel (zImage) from SM-J700FN, and it fortunately works (atleast to root this thing).
Disclaimer: Flashing this gon' trip knox & you lose your (device's) warranty.
Built from official SM-J700F recovery
Kernel & Device Tree from stock 6.0.1 recovery
No "SEANDROID ***" red warning
Flash via ODIN & enjoy
TWRP: https://www.androidfilehost.com/?fid=24533103863141296
Kernel: https://www.androidfilehost.com/?fid=24533103863141293 (Stock 6.0.1 with disabled dm-verity & encryption)
Note: As per my experiences, it is recommended to flash the Kernel, then recovery, then "FORMAT DATA" (not just wipe) to disable encryption. Otherwise, TWRP will not be able to mount /data.
I flashed this SuperSU in system-less mode & I was rooted with no (visible) issues. Anything else like backing up, I didn't try.
EDIT:
If you want to keep encryption, simply flash recovery & upload SuperSU package via sideload.
Click to expand...
Click to collapse
why you don't use j710 kernel and dt image to build it to have fully working twrp ?
messi2050 said:
why you don't use j710 kernel and dt image to build it to have fully working twrp ?
Click to expand...
Click to collapse
It's already using the kernel from the new device, it was a typo. Edited OP.
Prince Chandela said:
Please provide me stock recovery and kernel image.
EDIT
i no longer need them. the cause of boot loop was your kernel. I tried to sideload supersu zip but i still can't get rooted this is because twrp can't access /data partition and supersu requires that in system less root.
Click to expand...
Click to collapse
TWRP cannot access the /data partition because it is encrypted. I did "FORMAT DATA", then rebooted to recovery via TWRP > Reboot > Recovery. Now the TWRP should be able to mount /data and you could install supersu.
vaibhavpandeyvpz said:
TWRP cannot access the /data partition because it is encrypted. I did "FORMAT DATA", then rebooted to recovery via TWRP > Reboot > Recovery. Now the TWRP should be able to mount /data and you could install supersu.
Click to expand...
Click to collapse
But this will wipe all my apps but I'm not using a screen lock nor i setup storage encryption. i don't wanna lose my apps.
Edit:
OP it's mentioned to sideload supersu and it will work with encryption but it didn't
Prince Chandela said:
But this will wipe all my apps but I'm not using a screen lock nor i setup storage encryption. i don't wanna lose my apps.
Click to expand...
Click to collapse
I do understand that it will wipe all the data over the phone. But as per my experiences with S7 & S7E, encryption is enabled by default on Android 6.0 MM. Unless you disable encryption & reformat data, TWRP won't be able to mount /data. The kernel image I posted does not encrypt the /data partition so that you would be able to mount it in TWRP. But after flashing kernel, a FORMAT DATA is required to flush previously encrypted /data. I am sorry, but this is how things seems to work with Android 6.0. Unless TWRP includes support for encrypted partitions, we need to wipe it fully to be able to access it.
vaibhavpandeyvpz said:
I do understand that it will wipe all the data over the phone. But as per my experiences with S7 & S7E, encryption is enabled by default on Android 6.0 MM. Unless you disable encryption & reformat data, TWRP won't be able to mount /data. The kernel image I posted does not encrypt the /data partition so that you would be able to mount it in TWRP. But after flashing kernel, a FORMAT DATA is required to flush previously encrypted /data. I am sorry, but this is how things seems to work with Android 6.0. Unless TWRP includes support for encrypted partitions, we need to wipe it fully to be able to access it.
Click to expand...
Click to collapse
Okay i understand :good:
Is there any way to backup apps with their data without root?
@vaibhavpandeyvpz
I tried to flash kernel then twrp and then wiping /data partition but twrp cannot wipe data partition?
How do I flash this to my device?
@vaibhavpandeyvpz
Any updates?
when iflash Twrp File Via Ordin its fail
ithink becuse secure download is enabled
or fap lock is on ?
help please
isee that massage in download mode (coustom binary(recovery) blocked by fap lock)
thelastbad said:
when iflash Twrp File Via Ordin its fail
ithink becuse secure download is enabled
or fap lock is on ?
help please
isee that massage in download mode (coustom binary(recovery) blocked by fap lock)
Click to expand...
Click to collapse
Table build number 7 times to enable developer option then goto developer option and enable OEM-Unlock
Also follow this thread for further process
Prince Chandela said:
Table build number 7 times to enable developer option then goto developer option and enable OEM-Unlock
Also follow this thread for further process
Click to expand...
Click to collapse
it works now irooted mm thank you ^_^
---------- Post added at 02:16 PM ---------- Previous post was at 02:03 PM ----------
thelastbad said:
it works now irooted mm thank you ^_^
Click to expand...
Click to collapse
are there is root hacks program or wifi hacks?
Is there a root for my j7 2016 sm-j710gn
Sent from my SM-J710GN using XDA-Developers mobile app
Anybody pls help me
I want to root sm-j710gn ,
I try sm-j710f twrp now stcuck logo

[MOD] Decrypt /data for emui 8

Needed:
Unlocked Honor7x on emui 8 and twrp
I have tested this and found it working.
All you need to do is copy data/hw_init to your external sd
Then format data in twrp and flash the zip attached to this thread
Reboot
If it boots to system, then it's done
If it boots to erecovery and asks you to wipe data, then wipe data and boot to twrp
Make a data backup, format data, restore the back up you just made
Copy back hw_init from external sd to data
Reboot
Your device will be decrypted
more detailed instructions will follow
Sudeep Duhoon said:
Needed:
Unlocked Honor7x on emui 8 and twrp
I have tested this and found it working.
All you need to do is copy data/hw_init to your external sd
Then format data in twrp and flash the zip attached to this thread
Reboot
If it boots to system, then it's done
If it boots to erecovery and asks you to wipe data, then wipe data and boot to twrp
Make a data backup, format data, restore the back up you just made
Copy back hw_init from external sd to data
Reboot
Your device will be decrypted
more detailed instructions will follow
Click to expand...
Click to collapse
I did similar. I made almost same edits to fstab file in boot.img( removed verity, and "filencrypt") flashed modded boot.img and formatted /data. Phone boots normal, and twrp has full access to /data. But a side effect is developer options menu force closes when try to open it. Do you know why?
mrmazak said:
I did similar. I made almost same edits to fstab file in boot.img( removed verity, and "filencrypt") flashed modded boot.img and formatted /data. Phone boots normal, and twrp has full access to /data. But a side effect is developer options menu force closes when try to open it. Do you know why?
Click to expand...
Click to collapse
Can you post that boot.img? Or for emui 8 ramdisk or kernel img whichever is needed for oreo, this mod doesnt work for me
iGamer77z7 said:
Can you post that boot.img?
Click to expand...
Click to collapse
this is for emui 5 , android 7
It gave the trouble of crashing the settings app. so I did not continue using it.
USE AT YOUR OWN RISK.
copy the folder "/data/hw_init" before continuing.
Better way to apply this , instead of formatting in twrp, just factory reset in stock recovery. This way you do not wipe out the hw_init folder.
once done factory reset in stock recovery, plug in usb cable and select reboot from recovery screen. then hold volume down. Thais will reboot to fastboot.
Then "fastboot flash boot boot-decrypt.img"
mrmazak said:
this is for emui 5 , android 7
It gave the trouble of crashing the settings app. so I did not continue using it.
USE AT YOUR OWN RISK.
copy the folder "/data/hw_init" before continuing.
Better way to apply this , instead of formatting in twrp, just factory reset in stock recovery. This way you do not wipe out the hw_init folder.
once done factory reset in stock recovery, plug in usb cable and select reboot from recovery screen. then hold volume down. Thais will reboot to fastboot.
Then "fastboot flash boot boot-decrypt.img"
Click to expand...
Click to collapse
sorry I realized my mistake and edited my post, I was looking for an emui 8 solution, I'll keep trying unless you have an edited ramdisk or kernel img, not sure which one does force encrypt. Edit: Honestly I'm not on EMUI 8 currently, I am in the process of flashing gsi treble and wanted to decrpyt while my data was wiped.
EDIT: Got it, fastboot -w and factory reset in stock recovery did the trick along with flashing the included zip file
iGamer77z7 said:
sorry I realized my mistake and edited my post, I was looking for an emui 8 solution, I'll keep trying unless you have an edited ramdisk or kernel img, not sure which one does force encrypt. Edit: Honestly I'm not on EMUI 8 currently, I am in the process of flashing gsi treble and wanted to decrpyt while my data was wiped.
EDIT: Got it, fastboot -w and factory reset in stock recovery did the trick along with flashing the included zip file
Click to expand...
Click to collapse
How to backup data partition... please tell?

Bricked my V10 C432

Hello,
i was on EMUI 9 with my BKL-L09 and decided to give the custom roms a new try.
So i backed up my recovery_ramdisk (it was rooted with magisk before) and then flashed twrp (version 3.2.3-3).
Now i went for Wipe>format data and gave it a try. Result: it was hanging after makefs->(..) done. So i done the whole procedure again but it was still hanging.
Now i can't get back into twrp, because only the twrp bootscreen is showing up. Even after restoring my recovery_ramdisk backup with fastboot i can't get back into erecovery Is there anything i can do?
Thanks.
Ok, i solved this by myself through downloading the full ota update, extracting everything and flashing new kernel, system and recovery from ota update contents.
Can you put the CMD lines to do it?
Thank you anyway. I think i have the same problem.
jesusdoar said:
Can you put the CMD lines to do it?
Thank you anyway. I think i have the same problem.
Click to expand...
Click to collapse
I don't have this smartphone anymore but i remember the following:
1. Download the Full OTA Zip (e.g. here: https://www.getdroidtips.com/huawei...-update-for-honor-view-10-download-available/
2. Use the Huawei Update Extractor to extract the partitions from the content in the zip file. (https://forum.xda-developers.com/showthread.php?t=2433454)
3. Flash the partitions over the existing ones on your V10 using fastboot "fastboot flash recovery_ramdisk recovery_ramdisk.img , ...) - these contents are inside the full ota package
Greetings
Did it work out for you?
You can also try to flash the original erecovery using fastboot und use the download option inside the Recovery App. This will reset all partitions back to default. But also all data is lost.
Brodelpiet said:
Did it work out for you?
You can also try to flash the original erecovery using fastboot und use the download option inside the Recovery App. This will reset all partitions back to default. But also all data is lost.
Click to expand...
Click to collapse
it works thank you, now the problem is that the erecovery doesn´t download the package to flash.
jesusdoar said:
it works thank you, now the problem is that the erecovery doesn´t download the package to flash.
Click to expand...
Click to collapse
Did you just flash the erecovery or also the normal recovery partition und Kernel from the zip? What kind of error do you get?
Brodelpiet said:
Did you just flash the erecovery or also the normal recovery partition und Kernel from the zip? What kind of error do you get?
Click to expand...
Click to collapse
Yeah i flashed the kernel and the recovery ramdisk. And now it boots into erecovery, but inside the erecovery, the option to download and install the last version of emui doesn´t work, it just shows an error that it can´t get the package info.
thanks for your attention.
greets

Lock Screen Password / Fingerprint / Pattern Not Working

So i just got a Realme 3 Pro on A.19 firmware, after getting into a softbrick managed to install TWRP with Magisk and disabled vbmeta verity. Also flashed red flashing systemui fix and Charlie_Decryption_by_Nitish.zip (not sure what its for). So the phone is rooted, recovery is working and everything works fine except when i try to set up a Fingerprint it wont work. Not just fingerprint, i set a 4 digit or 8 digit PIN code and at the lockscreen keep trying that PIN but it wont open. I have to kill the lockscreen files from recovery after that.
I can understand if the Fingerprint is broken after unlocking bootloader / rooting but atleast PIN / Pattern should work? Did i miss something?
@4j17h Help would be greatly appreciated
killerxda said:
@4j17h Help would be greatly appreciated
Click to expand...
Click to collapse
Why would you flash decryption zip? Now flash enable decryption zip & format data (not wipe) then you can use lockscreen again. Also never flash decryption zip.
4j17h said:
Why would you flash decryption zip? Now flash enable decryption zip & format data (not wipe) then you can use lockscreen again. Also never flash decryption zip.
Click to expand...
Click to collapse
I was following this guide to install TWRP and got the decryption zip from there
https://forum.xda-developers.com/realme-3-pro/how-to/guide-unlock-bootloader-install-twrp-t3938845
Please tell me where to get the enable decryption zip? Also what i understand is i have to completely format the phone again for this and reinstall all apps and my data?
killerxda said:
I was following this guide to install TWRP and got the decryption zip from there
https://forum.xda-developers.com/realme-3-pro/how-to/guide-unlock-bootloader-install-twrp-t3938845
Please tell me where to get the enable decryption zip? Also what i understand is i have to completely format the phone again for this and reinstall all apps and my data?
Click to expand...
Click to collapse
flash & format
4j17h said:
flash & format
Click to expand...
Click to collapse
Same Problem With realme 5 how to fix help me
Flashed encryption through orange fox recovery by still lockscreen not working...what to do..should I move to custom rom
I am facing the same problem.

Is there a custom rom for the HUAWEI P30 lite?

Hey guys,
I want to buy a new phone for around 200€, while searching for a good one my eyes fell on the HUAWEI P30 lite.
But I would like to use the phone for a longer time, so here's my question:
"Does anybody know if theres a working custom rom for the HUAWEI P30 lite?"
I've allready looked up on the webpages of DitryUnicorny, LineageOS, Pixel expirience,... also here I couldn't find a rom, or even a unofficial version,
so if anybody knows more about it, or knows a phone about 200 with "rom compatibility" let me know about it .
Thx
did yu find any custom rom for P30 Lite ?
only EMUI9.0 support custom roms
Check this https://forum.xda-developers.com/t/huawei-p30-lite-root.3954205/post-85181981
trying to keep ths device alive.
I want to get a working TWRP for this device, pbbly soon, if everything works I will try and get a custom ROM done as well.
blzbh said:
Check this https://forum.xda-developers.com/t/huawei-p30-lite-root.3954205/post-85181981
trying to keep ths device alive.
I want to get a working TWRP for this device, pbbly soon, if everything works I will try and get a custom ROM done as well.
Click to expand...
Click to collapse
hi at the other forum i read that you got root working on huawei p30 lite but i am having trouble getting it rooted. i have unloced bootloader and now i am stuck because when i download magisk i need boot.img to modify and get root. any help would be awesome
NacoRaco said:
hi at the other forum i read that you got root working on huawei p30 lite but i am having trouble getting it rooted. i have unloced bootloader and now i am stuck because when i download magisk i need boot.img to modify and get root. any help would be awesome
Click to expand...
Click to collapse
Hi there mate.. do you have TWRP running?
The only image that works is TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710).
You can flash that to recovery **make sure to disable password protection, face recognition or any other locking mechanism before doing so**
Then from TWRP install magisk zip using the install option
tnx for the replay. so the problem is that i found a post that that version of twrp should work and its supposed to be https://www.androidweblog.com/huawei-p30-lite-root-install-twrp-recovery/ but their linked twrp doesn't work and it just redirects you to illegal copy of JNews and you cant download it. If you have an url to the twrp than that would be awesome. but i did get twrp but i think it was for Huawei Y9 and everything was encrypted and it couldn't mount a bunch of stuff so it couldn't install magisk but i did successfully install lineage os but all files were encrypted so it wasn't usable. Tnx again for all the help and your time.
blzbh said:
Hi there mate.. do you have TWRP running?
The only image that works is TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710).
You can flash that to recovery **make sure to disable password protection, face recognition or any other locking mechanism before doing so**
Then from TWRP install magisk zip using the install option
Click to expand...
Click to collapse
thank you for your time above i wrote my problem
That should be the one.. Y9 Uses twrp 3.2.1.0 for Kirin 710... If You have troubles with encryption you can reformat the data partition .. that worked for me... or factory reset and without running initial setup boot TWRP... there are a few tips around the forum for this..
blzbh said:
That should be the one.. Y9 Uses twrp 3.2.1.0 for Kirin 710... If You have troubles with encryption you can reformat the data partition .. that worked for me... or factory reset and without running initial setup boot TWRP... there are a few tips around the forum for this..
Click to expand...
Click to collapse
So i installed twrp and i tried to format data and factory reset and delete data partition and i install twrp and when i get to the setup screen phone gives warning your phone is rooted but there is no magisk and if i install app it says its N/A. all the data is decrypted on the phone and i have no idea how to enable root. when i flash magisk it says failed to mount /cust, /product, /system, /vendor, /version, /odm. and if i go to twrp again data is encrypted and i didn't set any lock up on setup. Thank you for all your help. you can add me on discord Naco_Raco#3100
NacoRaco said:
So i installed twrp and i tried to format data and factory reset and delete data partition and i install twrp and when i get to the setup screen phone gives warning your phone is rooted but there is no magisk and if i install app it says its N/A. all the data is decrypted on the phone and i have no idea how to enable root. when i flash magisk it says failed to mount /cust, /product, /system, /vendor, /version, /odm. and if i go to twrp again data is encrypted and i didn't set any lock up on setup. Thank you for all your help. you can add me on discord Naco_Raco#3100
Click to expand...
Click to collapse
Have you cleared the dalvik cache??
Please try that first, then in twrp shell run: mount -o remount,rw <partition>
Just change partition to the actual name in the errors.. /system /product etc...
Then flash magisk.
Usually at this point if you get the data partition re-encrypted you can re format the partition to get access again...
blzbh said:
Have you cleared the dalvik cache??
Please try that first, then in twrp shell run: mount -o remount,rw <partition>
Just change partition to the actual name in the errors.. /system /product etc...
Then flash magisk.
Usually at this point if you get the data partition re-encrypted you can re format the partition to get access again...
Click to expand...
Click to collapse
unfortunately it did not work. I filmed it again and posted on YouTube and it might help you find a problem. P.S before i filmed the video i cleared delvik and cache after installing magisk and it still didn't work. If you still have that twrp that worked for you could you send it over and i can try with that file?

Categories

Resources