How to reduce boot time in embedded android os.?
Asked Answered
O

1

6

Initially android os was booting in 28 secs. Already I have reduced it to 19 secs removing boot-delay,boot animation and disabling preloading of classes. I want to boot os within 10 secs. Please suggest me some tips kernel level or u-boot level to achieve this. Thanks in advance.

Opinion answered 26/8, 2015 at 6:14 Comment(5)
You could move all drivers not needed at startup to modules (.ko files ) and install them with insmodNore
@Nore How to remove modules from the android firmware?Begone
@Charitha That does not seems reduce boot time significantly.Opinion
@KeshavaKumar Have you reduced the Boot time? If yes how?Begone
@CharithaRatnayake No.. Unfortunately I did not continue with that project :(Opinion
M
3

(i) Start by measuring the bootup time to profile and analyze the delay causing areas

  • use Bootchart for Android
  • Kernel prints in Message loggers (Printk)

... check this out http://embien.com/blog/android-boot-time-optimization-tools-analysis/

(ii) Typical delay causing areas are likely to be -

  • Bootloader Init
  • Kernel init
  • Zygote class preloading ** you have addressed this already ?
  • Package Scanning
  • Starting Services

Check this http://processors.wiki.ti.com/index.php/Android_Boot_Time_Optimization#U-boot

Maisiemaison answered 26/8, 2015 at 23:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.