【正文】
............................... ................................主系統(tǒng)文件 機器 啟動后的主要系統(tǒng)全部在這里! 定義 ROM就是這里的事兒 .............................. 相關(guān)刷機工具下載 (未完待續(xù) ....................中場休息 ....................) ( KB) ( KB) ( KB) 。s digest):libc/ [ Verify a 2048 bit RSA signature against an expected SHA1 hash. Use public key to decrypt the to get original SHA digest, then pare to digest of ] verifyManifest() [ Get manifest SHA1Digest from . Then do digest to . Compare them ] verifyArchive() [ verify all the files in with digest listed in ] find_update_script(): [ find METAINF//google/android/updatescript updater script ] handle_update_script(): [ read cmds from script file, and do parser, exec ] parseAmendScript(): [ call yyparse() to parse to mand ] exeCommandList(): exeCommand(): [ call mand hook function ] erase DATA/CACHE partition prompt_and_wait(): [ wait for user input: 1) reboot 2) 3) wipe data ] ui_key_xxx get ALT+x keys 1) do nothing 2) install_package(39。 // 未知用途 char recovery[1024]。 /cache/recovery/mand: recovery 命令,由主系統(tǒng)寫入。 recovery 模式 mand == 39。 升級中還涉及到包的數(shù)字簽名,簽名方式和普通 JAR 文件簽名差不錯。 我們再來了解一下 安卓系統(tǒng)內(nèi)文件名的含義 如圖 好了 ~大概了解了安卓系統(tǒng) 我們再來看看 HTC 有啥! 如圖 ..........................包含 手機 系統(tǒng)軟件版本信息 ..................................手機啟動時的必要系統(tǒng)與 類似,但有所區(qū)別(詳見 ) ...........(詳見 小白的狂想 ~) .................................無線協(xié)議 ................................ ..............................恢復(fù)時啟動的系統(tǒng),包含一些硬件底層的驅(qū)動 ~ Android 利用 Recovery 模式 ,進(jìn)行恢復(fù)出廠 設(shè)置 , OTA 升級, patch 升級及 firmware 升級。 一個 Andoid 的應(yīng)用程序可以利用應(yīng)用程序框架中的以下幾個部分: Activity (活動) Broadcast Intent Receiver (廣播意圖接收者) Service (服務(wù)) Content Provider (內(nèi)容提供者) ● 應(yīng)用程序( Application) Android 的應(yīng)用程序主要是用戶界面( User Interface)方面的,通常以 JAVA 程序編寫,其