Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reduce boot time in embedded android os.?

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.

like image 203
Kumara Avatar asked Aug 26 '15 06:08

Kumara


People also ask

How to optimize boot time for Android devices?

Android Boot Time Optimization Techniques Depending on the usages of the device, different strategies such as removing unused services, hibernation and standby mode may be followed to reduce the boot time. English | Markets Networks Media Streaming Retail Travel & Hospitality Public Sector Solutions COVID Safety Solution Next Generation Hotspot

Why does my Android device take so long to boot?

With every new release, Google introduces new features in Android some of those features impacts the boot time of Android devices. Android devices typically take 20 seconds to about a minute to boot. Longer boot time can have a negative impact on user experience.

How can I reduce the boot time?

Depending on the usages of the device, different strategies may be followed to reduce the boot time. Here are three popular approaches for doing the same: Remove unused services Hibernation Standby mode The first boot optimization technique involves removing the services/applicationsthat are not needed for the target use case of the device.

What is boot optimization and how to do it?

The first boot optimization technique involves removing the services/applications that are not needed for the target use case of the device. For example, a gaming console may not need location services, or a smart toy without a screen may not need UI related services.


1 Answers

(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

like image 72
Abhi Avatar answered Sep 21 '22 16:09

Abhi