在android下修改script.bin
来源:互联网 发布:女朋友很强体验知乎 编辑:程序博客网 时间:2024/05/06 14:55
1,#adb shell
2,#cd dev/block && ls
### dmesg | grep gpio //打印出关于""gpio""字符的信息
3,如下:
4.#mkdir /mnt/mytemp
5.#busybox mount /dev/nanda /mnt/mytemp
7,-> Ctrl +c
8,-> adb pull /mnt/my/script.bin D:\ //复制到D:盘
6:如图:
1. You may need fex2bin and bin2fex:
git clone git://github.com/linux-sunxi/sunxi-tools.git
cd sunxi-tools
make
With the using of ls, you can find the fex2bin and bin2fex.
2. Copy the script.bin from Android.
$adb shell
$mkdir /mnt/tmp
$mount -t vfat /dev/block/nanda /mnt/tmp
(Attention it's different from Linux.)
$exit
$adb pull /mnt/tmp/script.bin
3.Convert the script.bin to script.fex.
$chmod 777 script.bin
$./bin2fex script.bin > ./script.fex
$gedit script.fex
Now, you can edit the script.fex.
Don't forget saving the file when you leave it.
4. Convert the script.fex to script.bin and push it back to the CB.
$./fex2bin script.fex > ./script.bin
$adb push script.bin /mnt/tmp
$adb shell
$umount /mnt/tmp
$reboot
It will restart the CB. The new script.bin will come into effect.
- 在android下修改script.bin
- 如何修改script.bin/script.fex
- 如何修改script.bin/script.fex
- sunxi-tools修改script.bin
- 在Android系统中修改Android.mk使其同时编译rgb2565和rgb2888(向out/host/linux-x86/bin/下新增加一个工具命令)
- 在Android系统中修改Android.mk使其同时编译rgb2565和rgb2888(向out/host/linux-x86/bin/下新增加一个工具命令)
- 在Android系统中修改Android.mk使其同时编译rgb2565和rgb2888(向out/host/linux-x86/bin/下新增加一个工具命令)
- 在Android系统中修改Android.mk使其同时编译rgb2565和rgb2888(向out/host/linux-x86/bin/下新增加一个工具命令)
- MTK 5.0 Android 修改logo.bin
- script.fex 与 script.bin文件转换
- 在Mac下Shell Script问题集
- [原创]在ubuntu12.04下build android kernel boot.bin无法开机解决办法
- Android项目在eclipse中无法打包apk文件[bin目录下没生成apk文件]
- android ICS 通过eclipse编译后在bin目录下没有APK的解决办法
- 在linux下怎么安装.bin文件
- 如何在 Linux 下执行 bin 文件
- 在MDK5下生成bin文件
- 在linux下怎么安装.bin文件
- Android LayoutInflater原理分析,带你一步步深入了解View(一)
- 【cocos2dx-3.0beta-制作flappybird】对不起,我的数学老师是体育老师兼职的—游戏中所用到的数字类封装
- 6个Java项目UML反向工程工具
- 如何让百度收录你的网站?
- 第三周作业
- 在android下修改script.bin
- SSL协议和几种常见加密算法
- css.study
- 第二章例题
- HTK安装
- C++error
- ROM、RAM、DRAM、SRAM、FLASH.....的区别
- Android中preference的使用(二)
- 一、springMVC+freemarker框架搭建