Android源码开发
TheDaybreak
专注Android系统开发
展开
-
常用的cp, mv, mkdir等Linux命令在Android中的实现
常用的cp, mv, mkdir等Linux命令,在Android下是如何实现的呢今天查验了一番,以cp为例,看下命令所在路径:kona:/system/bin # which cp显示如下/sytem/bin/cp我再次使用下面命令查看kona:/system/bin # ls -al /system/bin/cp显示如下:lrwxr-xr-x 1 root shell 6 2009-01-01 00:00 /system/bin/cp -> toybox同样的,查看mv和原创 2022-01-29 17:40:34 · 4635 阅读 · 0 评论 -
Android源码级开发-入门篇-下载源码
可以参考http://source.android.com/source/downloading.html一、安装Repo1. Make sure you have a bin/ directory in your home directory and that it is included in your path:在主目录下创建bin目录,并将此目录包含进你的环境变量中原创 2015-03-31 23:59:45 · 650 阅读 · 0 评论 -
异步转同步导致CPU空转优化
异步转同步导致CPU空转优化在获取APP缓存时,有如下系统API:/*** Retrieve the size information for a package.* Since this may take a little while, the result will* be posted back to the given observer. The calling context原创 2016-11-28 23:02:58 · 1081 阅读 · 0 评论 -
从Android源码生成系统签名文件platform.jks
penssl pkcs8 -inform DER -nocrypt -in platform.pk8 -out platform.pemopenssl pkcs12 -export -in platform.x509.pem -out platform.p12 -inkey platform.pem -password pass:android -name keykeytool -import...原创 2019-08-22 11:08:39 · 1187 阅读 · 0 评论