How to shorten Android4.4.2 start-up time for SABRE-SDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to shorten Android4.4.2 start-up time for SABRE-SDB

1,180 Views
yuuki
Senior Contributor II

Dear all,

 

Our customer runs Android4.4.2 on SABRE-SDB.

- Board:          SABRE-SDB (i.MX6Quad)
- OS:             Android4.4.2 (FSL BSP)
- Bootdevice:     SD card
- Display output: HDMI output

 

It will take very long time until Androir starts.

Please see "start-up time_bootlog.txt".

 

In this Log, it takes time very much on the following point.

 

<1>
425th  [    4.567159] Freeing init memory: 252K
426th  [   10.755696] init: starting 'servicemanager'

 

<2>
598th  [   13.367436] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
599th  [   19.061339] warning: `zygote' uses 32-bit capabilities (legacy support in use)

 

Is there how to shorten such processing time?


Best Regards,
Yuuki

Original Attachment has been moved to: start-up-time_bootlog.txt.zip

Labels (1)
0 Kudos
Reply
2 Replies

854 Views
SergioSolis
NXP Employee
NXP Employee

Well, you might be able to cut the most time on Zygote.

As you might already know, what Zygote does is to preload classes which are shared between applications thus reducing the memory usage and application launch time.

You can disable the pre-loading of classes, this will reduce booting time. Take in consideration that this will have an effect on the application load time and memory usage after boot time. You can easily cut 5 seconds here.

For more information about improving the android boot time, please take a look at this link:

Improving Android Boot Time Outline - eLinux.org


Best regards,
Sergio

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

854 Views
yuuki
Senior Contributor II

Dear Sergio-san,

Would you teach how to disable Zygote?

Best Regards,

Yuuki

0 Kudos
Reply