微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > L版本如何关闭默认加密

L版本如何关闭默认加密

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]
L版本手机默认加密,那如何关闭默认加密呢?
[SOLUTION]
关闭加密功能有两种情况:
1 How to disable default encryption in your own image
(1) Modify fstab.{ro.hardware} in ‘out’ folder
alps\out\target\product\[project]\root\ fstab.{ro.hardware}
Set the flag back to encryptable for /data


(2) Re-pack boot.img
make ramdisk-nodeps; make bootimage-nodpes
(3) Download the new boot.img by FlashTool
2 How to disable default encryption in your codebase
a) Modify fstab.{ro.hardware} in your codebase
device\mediatek\ [project]\ fstab.{ro.hardware}
If the project doesn’t have it own fstab.{ro.hardware} . Please create it
Modify device.mk to use the modified fstab.{ro.hardware} .


Set the flag back to encryptable for /data


b) Re-build boot.img
make bootimage
c) Download the new boot.img by flashtool

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top