您好,登錄后才能下訂單哦!
前置條件:
1 android nexue 5 手機一部
2 android L最新rom包
android L rom下載地址
https://developers.google.com/fit/preview#flash_your_nexus_5_or_nexus_7
過程:
下載完成后解壓縮,這個包需要使用 fastboot工具,不是原來的zip卡刷包,好在里面的腳本文件
都已經(jīng)寫好了,如下圖:
連接好手機和電腦,筆者是在ubuntu下的進行刷機,以下是刷機過程
nexus 5 手機需要進入到fastboot的模式,進入方式 按下開機鍵+音量上下鍵(也就是要按下音量鍵中間的部分)
在手機的 fastboot模式,執(zhí)行下面的命令
root@ubuntu:~/Desktop/hammerhead-lpv81c# ls bootloader-hammerhead-hhz11k.img flash-base.sh flash-all.bat p_w_picpath-hammerhead-lpv81c.zip flash-all.sh radio-hammerhead-m8974a-2.0.50.2.08.img root@ubuntu:~/Desktop/hammerhead-lpv81c# ./flash-all.sh sending 'bootloader' (2508 KB)... OKAY [ 0.543s] writing 'bootloader'... OKAY [ 0.494s] finished. total time: 1.037s rebooting into bootloader... OKAY [ 0.040s] finished. total time: 0.040s sending 'radio' (45505 KB)... OKAY [ 6.213s] writing 'radio'... OKAY [ 3.118s] finished. total time: 9.332s rebooting into bootloader... OKAY [ 0.044s] finished. total time: 0.044s archive does not contain 'boot.sig' archive does not contain 'recovery.sig' archive does not contain 'system.sig' -------------------------------------------- Bootloader Version...: HHZ11k Baseband Version.....: M8974A-2.0.50.2.08 Serial Number........: 06ea489d00e2a439 -------------------------------------------- checking product... OKAY [ 0.101s] checking version-bootloader... OKAY [ 0.099s] checking version-baseband... OKAY [ 0.100s] sending 'boot' (8754 KB)... OKAY [ 1.420s] writing 'boot'... OKAY [ 0.754s] sending 'recovery' (9412 KB)... OKAY [ 1.516s] writing 'recovery'... OKAY [ 0.791s] erasing 'system'... OKAY [ 0.969s] sending 'system' (682924 KB)... OKAY [103.092s] writing 'system'... OKAY [ 46.568s] erasing 'userdata'... OKAY [ 8.677s] formatting 'userdata' partition... Creating filesystem with parameters: Size: 13725835264 Block size: 4096 Blocks per group: 32768 Inodes per group: 8144 Inode size: 256 Journal blocks: 32768 Label: Blocks: 3351034 Block groups: 103 Reserved block group size: 823 Created filesystem with 11/838832 inodes and 93654/3351034 blocks sending 'userdata' (137318 KB)... writing 'userdata'... OKAY [ 38.505s] erasing 'cache'... OKAY [ 0.613s] formatting 'cache' partition... Creating filesystem with parameters: Size: 734003200 Block size: 4096 Blocks per group: 32768 Inodes per group: 7472 Inode size: 256 Journal blocks: 2800 Label: Blocks: 179200 Block groups: 6 Reserved block group size: 47 Created filesystem with 11/44832 inodes and 5813/179200 blocks sending 'cache' (13348 KB)... writing 'cache'... OKAY [ 3.278s] rebooting... finished. total time: 207.000s root@ubuntu:~/Desktop/hammerhead-lpv81c#
注意:fastboot刷機界面很不友好,比如
fastboot -w update p_w_picpath-hammerhead-lpv81c.zip
這個命令執(zhí)行過程,沒有任何提示,并且時間很長,如果是初次刷機,有可能認為是刷機失敗了
需要耐心等待一會兒
開機體驗:
android L第一次開機速度奇慢,開機動畫出現(xiàn)以后,等了大概5分鐘,讓筆者甚至懷疑是不是刷錯
rom包了。在最后要放棄的時間,才出現(xiàn)了配置界面,發(fā)現(xiàn)rom包沒有問題,估計是art模式轉(zhuǎn)換的
時間太長了,但是好歹做個進度條提示,光一個開機動畫轉(zhuǎn)啊轉(zhuǎn),實在是讓人很難忍受。
免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。