Reduce OS size and Boot Time

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Reduce OS size and Boot Time

345件の閲覧回数
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 件の賞賛
返信
1 返信

321件の閲覧回数
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 件の賞賛
返信