###############################################  power on till android lock screen comes up##  get information :#               --- cat /proc/bootprof#               --- [kernel hacking]  --> show timing information on printks  #  note :  dont remove the battery , the nand will rescanning the file system  #  BootRom#  Small piece of code that is hardwired in the CPU ASIC which preload#  preload#  uboot#  kernel+BSP driver#  nand mount (ubifs, yaffs, exit4)#  zygote pre-load class (almost constant time)#  package scanning  (increased with more apk number)#       --- packageManagerService开机启动扫描,管理所有的apk#       --- 不单单是获取图标的,还要记录每个应用的activity的主图标,数目,名称,权限 ......#  apk init time  (depends on setup apk) #  boot animation is a cpu consuming task ################################################ how to reduce the boot time#  preload  (make sure processor clock rate is set max )#  uboot #           ---Enable hardware ECC#           ---Remove unnecessary modules from u-boot.#           ---make sure that RAM timing values are adjusted properly so as to#               achieve optimal RAM throughput.#           ---Turn on I-Cache##  kernel  #          --- disable log #          --- improve the NAND throughput and the RAM throughput#          --- 修改内核img的打包方式,无压缩内核启动时间比较快,缺点是占用多一点的空间#  android #          --- moving to UBIFS file system can significantly reduce the boot up time#          --- reduce  apk  (the best way)#          --- decrease file numbers and size (less size , less loading time)#          --- reduce/remove the android pre-loading classes (but the side effect is that when start a app will slow )#          --- reduce the animation  (low fps , low size picture)#          --- 启动systemserver的时候,减少我们的service启动项,剔除我们不需要的一些service#               在后台持续运行的守护进程,不断的去读取binder设备,看有没有访问系统service的请求。#          ---#######################################################

更多相关文章

  1. Android(安卓)P新特性:强制执行 FLAG_ACTIVITY_NEW_TASK 要求
  2. Android欢迎界面
  3. android开机启动代码
  4. android 创建快捷方式
  5. android 创建快捷图标demo
  6. Android(安卓)系统分析[1]
  7. Android内核开发:在源码树中添加新的app应用
  8. Android(安卓)P Launcher APP替换图标不随系统固定格式而改变
  9. Android在开机时自动启动一个应用程序

随机推荐

  1. Table API&SQL的基本概念及使用介绍
  2. date 命令修改时间
  3. 一次打印机端口错误引起不打印的处理过程
  4. echo 命令 sleep 命令
  5. 什么是Vue?Vue的工作原理是什么?
  6. 重定向输出
  7. 瘦肉精卷土重来,RPA为食品安全保驾护航
  8. web前端兼容性面试题汇总!
  9. 2017腾讯云峰会观后感
  10. 零基础入门 实战mpvue2.0多端小程序框架