zoukankan      html  css  js  c++  java
  • dtv_driver.ko

            替换dtv_driver.ko .步骤:
            shell@android:/ # get_rootfs.sh                                                
            grep -w boot /proc/partinfo | grep -o part.. |grep -o '[1-9]*[0-9]$'
            cat /dev/block/mmcblk0p5 > /cache/out/boot.img
            split_bootimg /cache/out/boot.img
            gunzip -dc /cache/out/boot.img-ramdisk.gz | cpio -i
            27166 blocks
            Extracting rootfs into 
            ===>  /cache/out/rootfs
            Update rootfs by 
            ===> update_rootfs.sh
     
           shell@android:/ # 
           shell@android:/ # cd /cache/out/rootfs/                                        
           shell@android:/cache/out/rootfs # rm -rf dtv_driver.ko       
                      
           shell@android:/cache/out/rootfs # cp /usbdisk/dtv_driver.ko .                                       <
           shell@android:/cache/out/rootfs # sync      
           shell@android:/cache/out/rootfs # update_rootfs.sh                             
           grep -w boot /proc/partinfo | grep -o part.. |grep -o '[1-9]*[0-9]$'
           mkbootfs /cache/out/rootfs | gzip > /cache/out/new-boot.img-ramdisk.gz
     
     
           mkbootimg  --kernel /cache/out/boot.img-kernel  --ramdisk /cache/out/new-boot.img-ramdisk.gz --output /cache/out/new-boot.img
          dd of=/dev/block/mmcblk0p5 bs=1M if=/cache/out/new-boot.img
          8+1 records in
          8+1 records out
          9060352 bytes (8.6MB) copied, 0.539586 seconds, 16.0MB/s
          shell@android:/cache/out/rootfs #
     
          重启
  • 相关阅读:
    自定义Spark Partitioner提升es-hadoop Bulk效率
    golang channel本质——共享内存
    STM 软件事务内存——本质是为提高并发,通过事务来管理内存的读写访问以避免锁的使用
    elasticsearch 自定义_id
    JS弄ASP.NET(C#)在页GridView信息选择行
    pdf转换为word小工具,挺好
    Cocos2d-x场景功能描述的生命周期
    数据收集程序一般建筑(C++ ACE达到)
    IOS上传文件开发
    thinkphp达到UploadFile.class.php图片上传功能
  • 原文地址:https://www.cnblogs.com/jary-wang/p/3905698.html
Copyright © 2011-2022 走看看