Reduce OS size and Boot Time

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

Reduce OS size and Boot Time

256 Views
Akash-Thorat-123
Contributor I

i have sync and build the android 13 for "imx8 quad x plus" bord.
after build successfully i have check the size of OS as following : 

--------------------------------------------------------------------------------------
#!/bin/bash

# Navigate to the directory
cd /home/lenovo/AOSP/android_build/out/target/product/mek_8q

# Calculate the total size of all .img files
total_size=$(du -ch *.img | grep total | awk '{print $1}')

echo "Total size of the OS: $total_size"
--------------------------------------------------------------------------------------

it gives the output "Total size of the OS: 2.2GB"

now i want to reduce the size of OS and the the boot time how to do it ?

0 Kudos
Reply
1 Reply

232 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

For boot time and OS size , you can refer 8.9 Boot time tuning and 8.9.4 How to build system.img with squashfs files system type in this guide.

https://www.nxp.com/docs/en/user-guide/Android_Auto_User's_Guide.pdf

 

 

0 Kudos
Reply