修改android 開機動畫

來源:互聯網
上載者:User

標籤:

查看命令 find –name filename  注意filename不要添加雙引號

1. 怎麼樣製作

 

 

2. 將檔案換到哪裡

   1. 編譯時間候的路徑

 

   2. 運行時候的路徑 :

         (1)、開機動畫檔案為:android 真機當中  /system/media/bootanimation.zip是一個標準的zip檔案,不過設定壓縮率時選擇儲存。

         (2) 編譯檔案路徑 pizza/device/rockchip/rk30sdk/hwapu/system/media/bootanimation.zip

        (3)編譯完成之後的路徑: pizza/out/target/product/rk30sdk/system/media/bootanimation.zip

    3. 手動測試

       1. 手動啟動的路徑: android 真機當中 /system/bin/bootanimation

最好上linux上進行打包

zip –r –X –Zstore ../bootanimation part*/*.png desc.txt

在 bootanimation檔案夾當中

進行輸入命令

zip –r –X –Zstore ../bootanimation part*/*.png desc.txt

-Zstore : 以儲存方式

../bootanimation :輸出檔案名 bootanimation.zip

part*/*.png : part1/xx.png ,part2/xx.png

desc.txt : 描述檔案

 

http://blog.sina.com.cn/s/blog_63f31f3401015r3b.html

把開機LOGO圖片儲存為bmp或者png格式:如linux.png;linux.bmp通過linux工具把圖片轉化為:ppm格式。替換:driver/video/logo/logo_linux_clut244.ppm

 

android/out/host/linux-x86/bin

android 第一張圖

initlogo.rle

編譯路徑:

          ./device/rockchip/rk30sdk/initlogo.rle

編譯工具:

ImageMagick-6.9.3-4-Q16-x64-static  windows版本

http://blog.csdn.net/sunrock/article/details/6258747

rgb2565 -rle <logo.raw> initlogo.rle  注意空隔

 

 

kernel  logo

find –name logo_linux_clut*.ppm

在pizza/kernel/driver/video/logo/logo_linux_clut224.ppm

  • #pngtopnm linuxlogo.png> linuxlogo.pnm  //產生ppm 
  • #pnmquant 224 linuxlogo.pnm > linuxlogo224.pnm//轉換成224顏色 
  • #pnmtoplainpnm linuxlogo224.pnm > logo_linux_clut224.ppm //轉換成ascii格式
  • 修改android 開機動畫

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.