开机动画以及升级包制作.ppt
AmlogicConfidential-DoNotCopyAmlogicConfidential-DoNotCopy晶晨半导体(上海)有限公司开机动画制作和替换演讲内容升级包制作开机图片制作和替换开机图片的制作和替换Androidinitlogo-greenrobot-sourceimageonarunningsystemis/initlogo.rle.bak(and/initlogo.rlesymlink)
???-sourceimageintheprojectsourceisdevice/amlogic/$TARGET_PRODUCT/initlogo*.rle[.bak]
???-Tocreateanewinitlogo.rle:
???????-InstallImageMagick
????????????????#sudoapt-getinstallimagemagick
??????-MakesureAndroidsourceisbuiltandrgb2565hosttoolisbuilt:
????????????????$ls$ANDROID_BUILD_TOP/out/host/linux-x86/bin/rgb2565
????????????out/host/linux-x86/bin/rgb2565
???????-Createanimage(logo.png)withdimensionsmatchingyourscreen(ex:iffb0is800x480,imageshouldbe800x480)
???????-Convert:
????????????$convert-depth8logo.pngrgb:logo.raw
???????????????$rgb2565-rlelogo.rawinitlogo.rle
???-Todisable,removethefiles/initlogo.rle.bakand/initlogo.rleandtheirreferencesin/init.rc 使用PS制作一张320*480的图片,保存时选“保存为Web所用格式”,然后在弹开的窗口上,“预设”项选择“PNG-24”,保存为android_logo.png开机动画制作和替换Androidbootanimation-androidwithalightmovinglefttoright
???-sourceisinframeworks/base/cmds/bootanimation
???-codecheckstoseeifaZIPfileofstillimagesandanimationdescriptionisavailablein/data/local/bootanimation.zipor/system/media/bootanimation.zip.?
???-IfthisZIPfileisavailable,itwillbeplayed.?Ifnot,theandroidbootanimationwillbedisplayed.
???-Todisable,removethebootanimationservicefrom/init.rc升级包的制作在rootfs下:../build/envsetup.shlunchb01ref-engcdout/target/product/b01refmkdirtemp/SYSTEM将相关文件拷贝到temp/SYSTEM里面,通常是app、etc、framework../../../../build/tools/releasetools/aml_update_packertemp/patch.zipAmlogicConfidential-DoNotCopyAmlogicConfidential-DoNotCopy