Universal DM-Verity, ForceEncrypt, Disk Quota Disabler [UPDATED+HOW TO]

Updated Universal DM-Verity, ForceEncrypt, Disk Quota Disabler. 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:

  1. Add 'enfec' or en'forceencrypt' to zipname to keep forceencrypt enabled if present
  2. Add 'fec' or 'forceencrypt' to zipname to disable forceencrypt (zipname already has this so remove these if you want to keep it enabled)
  3. Add 'quota' to zipname to disable disc quota

Note that verity is always disabled - it has to be for any modifications with this mod

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

Some extra details for Slot devices:

  • Flash ROM
  • Flash TWRP Installer Zip
  • Reboot into TWRP
  • Flash everything else
  • Flash this zip


Only difference here is the twrp zip and the recovery reboot, main principle is the same - FLASH THIS ZIP LAST

Troubleshooting:
■ Take a recovery log after flashing this zip.
■ 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

Universal DM-Verity, ForceEncrypt, Disk Quota Disabler [UPDATED+HOW TO]

Compatibility: Any android device

Source: Click Here

Next Post Previous Post
No Comment
Add Comment
comment url