Note: I've tested on Moto Z and Moto Z Play with nothing wrong, but I'm not responsible for any damages happen to you phone after disabled force-encrypt.
After modified stock kernal of Chinese version, part of SIM function will be useless due to some unknow reasons, please wait someone for a solution:(
STEPS:
1. Unpack boot.img
2. Edit fstab.qcom under /ramdisk ,remove ",verify" in 9th line
3. Disable force-encrypt
edit 10th line, change "forceencrypt=" into "encryptable="
4. Flash it and clear DATA partition
Tip: Force-encrypt will be disabled only if you cleared DATA partition.
DOWNLOADS:
Too lazy to do those things? You can download modified stock kernal here:
( Kernal's version must match build's version, if you cann't find a matched one, try steps above. Click "下载" buttom to download)
Modified stock kernal with force-encrypt disabled for Moto Z
Modified stock kernal with force-encrypt disabled for Moto Z Play
After modified stock kernal of Chinese version, part of SIM function will be useless due to some unknow reasons, please wait someone for a solution:(
STEPS:
1. Unpack boot.img
2. Edit fstab.qcom under /ramdisk ,remove ",verify" in 9th line
Code:
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1,discard wait,verify
edit 10th line, change "forceencrypt=" into "encryptable="
Code:
<blockquote>/dev/block/bootdevice/by-name/userdata /data f2fs
rw,discard,nosuid,nodev,noatime,nodiratime,nobarrier,inline_xattr,inline_data
wait,check,formattable,encryptable=/dev/block/bootdevice/by-name/metadata
Tip: Force-encrypt will be disabled only if you cleared DATA partition.
Code:
fastboot flash boot renamed.img
Code:
fastboot -w
Too lazy to do those things? You can download modified stock kernal here:
( Kernal's version must match build's version, if you cann't find a matched one, try steps above. Click "下载" buttom to download)
Modified stock kernal with force-encrypt disabled for Moto Z
Modified stock kernal with force-encrypt disabled for Moto Z Play
from xda-developers http://ift.tt/2cTww7y
via IFTTT
No comments:
Post a Comment