Edit script.bin or script.fex for Android
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.
Reference:
1. [教程]如何修改script.bin/script.fex
At last,thanks for WindLand
没人玩android么? 醉月 发表于 2013-6-22 16:23 static/image/common/back.gif
没人玩android么?
做底层的会少一些吧。。。 醉月 发表于 2013-6-22 16:23 static/image/common/back.gif
没人玩android么?
最近开始学习android. 请问在Android怎样把script.bin添加到该系统镜象中。l:)
主要为了方便烧录系统镜象,请大虾提供修改方法,不胜感谢!!!
:(:) 我按这种设定就失败了,有线网卡的MAC依然会变,
不知道有没有其它的办法? freechinaren 发表于 2013-8-27 19:45 static/image/common/back.gif
请问在Android怎样把script.bin添加到该系统镜象中。l
主要为了方便烧录系统镜象,请大虾提供修改方法,不 ...
帖主提供的方法是已经把固件烧录到开发板里面了
如果你有固件,那么你可以通过windows软件:DragonFace.exe
选择高级设置,然后修改系统配置,这个文件就是sys_config1.fex文件烧录到系统自动变为script.bin文件 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.
android系统上如何操作这一步? 能详细介绍一下吗? 安卓上有git吗?git这个工具win/linux系统都有。
我遇到了script.bin错误导致启动不了
Starting kernel ...
aw_clkevt_init: sun7i_timer0_clockevent mult 6442450, max_delta_ns 170000, min_delta_ns 1000, cpumask 0xc045a80c, irq 54
不知道怎么去找官方的script.bin linux下也可以使用dragon,使用以下命令生成nand镜像
dragon image.cfg sys_partition.fex