z杂项
//系统原来的settings
//系统签名 说明 javaapk.com_lockScreen_sliding.apk:要签名的apk名字 lockScreen.apk:签名后生成的apk的名字
账号登陆
编译及push
<------------------------------------------------------framework---改完重启----adb reboot-------------------------------------------------------------->
-------------------------通知栏USB的广播---------------------------------------
-----------
1,SDK路径:C:\Program Files (x86)\Android\android-sdk
2,exit 退出shell环境
3,make后system.img位置 :Z:\myandroid\out\target\product\evk_6sl_eink\system.img
4,查找 grep "adb _active" -r 递归查找字符串
//系统原来的settings
adb push Z:\Settings.apk system/priv-app/
//系统签名 说明 javaapk.com_lockScreen_sliding.apk:要签名的apk名字 lockScreen.apk:签名后生成的apk的名字
1,复制Z:\myandroid\device\fsl\common\security下的platform.pk8和platform.x509.pem到某个文件夹下名称假如M文件夹
2,复制你要签名的apk到M文件夹下
3,自带的签名工具signapk.jar:由......\android_project\out/host\linux-x86\framework/中找到,复制放到M文件夹下
4,执行命令 java -jar signapk.jar platform.x509.pem platform.pk8 javaapk.com_lockScreen_sliding.apk lockScreen.apk
5,lockScreen.apk就是签名后的apk,可以安装到设备上了
6,adb push F:\eclipse导出的apk\META-INF\lockScreen.apk system/priv-app/
7,logcat -s lockScreen
//删除系统app
1,adb remount
2.adb root
3.adb shell
4.rm -rf system\priv-app\lock.apk
账号登陆
1,devel
2,user:test
3, pass:test123456
编译及push
1, 在myandroid 下执行 . ./build/envsetup
2, lunch 选择17
3, 进入 package/apps/Setting/
4, mm (改变资源文件用mm -B)编译
5,adb root
6, adb remount
7,adb push Z:\myandroid\out\target\product\evk_6sl_eink\system\priv-app\Settings.apk system/priv-app/
<------------------------------------------------------framework---改完重启----adb reboot-------------------------------------------------------------->
-----------------------------systemUI------------------------
修改状态栏背景,时钟数字颜色
1,systemUI 位置:Z:\myandroid\frameworks\base\packages\SystemUI
2,adb push Z:\myandroid\out\target\product\evk_6sl_eink\system\priv-app\SystemUI.apk system/priv-app/(windows下)
adb push out/target/product/evk_6sl_eink/system/priv-app/SystemUI.apk system/priv-app/(linux下)
-------------------------通知栏USB的广播---------------------------------------
位置:Z:\myandroid\frameworks\base\core\res\res\values-zh-rCN
1,在Z:\myandroid\frameworks\base\core\res\下编译生成framework-res.apk
2,adb push Z:\myandroid\out\target\product\evk_6sl_eink\system\framework\framework-res.apk /system/framework/
-----------