亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2894 | 回復(fù): 0
打印 上一主題 下一主題

step by step modify android's ramdisk.img [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2008-06-12 15:43 |只看該作者 |倒序?yàn)g覽

Step by step to create/modify ramdisk.img
Benno's blog has an article to
change the ramdisk image
, I tried it and give more details here.
ramdisk.img
is included in the google android sdk, it exists in folder
$SDK_ROOT/tools/lib/images/ramdisk.img. The ramdisk.img included in the
google android sdk is a gzipped ramdisk.cpio file.
Here is the steps:
  • Upload the ramdisk.img to your linux machine
  • Change the ramdisk.img name to ramdisk.cpio.gz, and extract it by: #  gzip -d ramdisk.cpio.gz
  • Create a temporary folder, say tmp, copy ramdisk.cpio to tmp folder
  • Extract the ramdisk.cpio in the tmp folder with command: #  cpio -i -F ramdisk.cpio
  • Remove the ramdisk.cpio in the tmp folder, and make any changes you want to the extracted ramdisk.cpio in tmp folder
  • Recreate the ramdisk.cpio with command: # cpio -i -t -F ../ramdisk.cpio | cpio -o -H newc -O ../ramdisk_new.cpioSome notes:
  • I
    change ramdisk.img to ramdisk.cpio.gz, and unzip it. It is because I
    find the -z parameter is not supported with my cpio. I tried the latest
    cpio (2.9), it doesn't work too.
  • Check cpio version by # cpio --version. I'm using cpio version 2.4.
  • Find the latest cpio (v 2.9) on site:
    gnu cpio
  • Notice that in step 6, the command includes two O's. First o is lower-case, second is up-case.
  • Notice in step 6, please remain ramdisk.cpio in up folder of tmp folder. The command need it there.
    Blog Archive







                   
                   
                   

    本文來自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u1/35418/showart_973157.html
  • 您需要登錄后才可以回帖 登錄 | 注冊

    本版積分規(guī)則 發(fā)表回復(fù)

      

    北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年舉報(bào)專區(qū)
    中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
    感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP