Hi, thanks for the updated but I still facing pin/lock pattern issue. I used last updated zip. I think is Redmi Note 7 security.
I am currently using encrypted mode and pin works normally.
Haha, I love the QA methods. No one complained, so it's stable. ?Since nobody complained of any bugs with the 10.20 zip, it's now the new stable - OP updated
Are you setting the pin during initial setup? Try going through initial setup without setting any security and then setting it after everythings setup.
Another thing is that even when you wipe data, the old pin can be left behind causing problems. In twrp, go to /data/system and delete the locksettings.db file and then try setting a new pin or whatever again
I considered it stable but since I try to make it as universal as possible, I wait for use feedback in case they l there device has different results. Not ideal, but works okayish :/Haha, I love the QA methods. No one complained, so it's stable. ?
Oh it was more of an internal joke, I work for an international multi-million dollar organisation that deals with QA in the same manner.I considered it stable but since I try to make it as universal as possible, I wait for use feedback in case they l there device has different results. Not ideal, but works okayish :/
Hi, thank you so much for the effort you put to help me to find a solution and... yes I have already tried this method before. Put the PIN after setup then go to TWRP, Advanced -File Manager- data/system/ and delete db files and when I setup a new PIN/Patter is still failing. I gave up and I think is my device model. If another user has a Redmi Note 7 and could give us feedback would be great.Since nobody complained of any bugs with the 10.20 zip, it's now the new stable - OP updated
Are you setting the pin during initial setup? Try going through initial setup without setting any security and then setting it after everythings setup.
Another thing is that even when you wipe data, the old pin can be left behind causing problems. In twrp, go to /data/system and delete the locksettings.db file and then try setting a new pin or whatever again
Yo, so I'm not really sure what's going here on but a user on my guide for the g6 play here https://xdaforums.com/g6-play/how-to/guide-t3929928/page38 seems to be having issues getting magisk v20 with the latest 10.20.2019 build going, they have the xt1922-7 model as i do but they are running Android 8 though. I'm using the latest updated firmware for our models android 9 but I used the 8.18.2019 disabler because when I reflashed the newest firmware update the 10.20.2019 disabler wasn't out at that time and everything is working fine now issues for me , I'll be reflashing my phone later to try the 10.20.2019 disabler to see if it works out and let you know if it works, will try to get logs also
In the OP it says: "flash all of your stuff, then FLASH THIS ZIP LAST". I would recommend rom, gapps, magisk, (zip of migrate? Idk what this is), and finally this dm verity disabler.In what order should I flash the dm verity zip?
For example I flash rom, magisk, dm verity, gapps, zip of migrate?
Is this order ok?
Migrate is an application used to restore apps after a reset, such as Titanium.In the OP it says: "flash all of your stuff, then FLASH THIS ZIP LAST". I would recommend rom, gapps, magisk, (zip of migrate? Idk what this is), and finally this dm verity disabler.
Yes, every time you flash an update, you need to flash this zip again. Flashing an update restores the fstab files and your boot img and such.Migrate is an application used to restore apps after a reset, such as Titanium.
But I need the DM verity zip to flash it every time I update my Rom?
(when I update my Rom I don't do a clean install I only do Wipe Cache and Devilk).
Or should I flash it only when I change ROM then after a clean installation?
(wipe data and System)?
Inviato dal mio MI 8 utilizzando Tapatalk
Hi all!
For the past couple of months, I've been looking into making a more universal solution to disable dm-verity and forceencrypt. Needing to take different zips, modify them for different devices, and then cross your fingers when you switch between custom and stock roms simply wasn't good enough for me. After lots of searching around, failed attempts, and some guidance by @Xennet, @osm0sis, and @nathanchance (thank you all for your help), I finally got a working solution. Ironically, it was under my nose the whole time.
@topjohnwu figured much of this out a while ago with his magiskboot binary - just modify the fstabs. Magiskboot only works for fstabs in the ramdisk though and dm-verity and forceencrypt are only disabled under certain conditions (when you create a .magisk file with the variables set to false and place it in the proper location). So I made an installker with AK3 by @osm0sis and used a combination of sed patches by @jcadduono in addition to others I found for fstabs not in the ramdisk, modified magiskboot with some extra entries I found need to be removed on some devices, and added some stuff of my own like the creation of .magisk and .supersu files in the right location with the proper contents.
The end result: a zip that will remove dm-verity and/or forceencrypt from all fstabs on your device
It can also remove disk quota if you choose. This may be needed if you have an older twrp and/or want to downgrade to Nougat. More info here: https://source.android.com/devices/storage/faster-stats
Instructions:
The name of the zip determines what's DISABLED. Here are the current options:
- Add 'verity' to zipname to disable dm_verity (zipname already has this so remove this if you want to keep it enabled)
- Add 'fec' or 'forceencrypt' to zipname to disable forceencrypt (zipname already has this so remove these if you want to keep it enabled)
- Add 'quota' to zipname to disable disc quota
If you're currently encrypted:
- BACKUP YOUR INTERNAL STORAGE TO YOUR PC
- Format data (this is NOT the same as Wipe data) (In TWRP: Wipe -> Format Data)
- Reboot back into recovery
- Follow the directions below for when you're not encrypted
If you're not encrypted: flash all of your stuff, then FLASH THIS ZIP LAST
Troubleshooting:
- Take a recovery log after flashing this zip (thanks to @aIecxs for the imgs):
- If the zip isn't patching any fstabs that it should be, then it's possible that the previous zip(s) didn't unmount system and/or vendor properly. Either unmount them in twrp, or just reboot back into recovery and flash this zip again
Compatibility: Any android device
Source: https://github.com/Zackptg5/Disable_Dm-Verity_ForceEncrypt
Download
While you are in TWRP, you have root privileges.Hi, would like to ask.
Do I need to be rooted for this to work?
Flashed this in TWRP after fresh stock rom installation. Thanks for reply!
It's better to mention someone rather than quote the OP. No, you don't need root, just TWRPHi, would like to ask.
Do I need to be rooted for this to work?
Flashed this in TWRP after fresh stock rom installation. Thanks for reply!