shell / adb

remount system

adb shell
su 
mount -o remount,rw /system

boot-recovery

adb shell
su
echo -n boot-recovery | busybox dd of=/dev/block/nandf count=1 conv=sync; sync; reboot

copy script.bin

adb shell
su
mkdir /mnt/sdcard/nanda
mount -t vfat /dev/block/nanda /mnt/sdcard/nanda/
cp /mnt/nanda/script.bin /mnt/sdcard/

push script.bin

adb shell
su
mkdir /sdcard/nanda
mount -t vfat /dev/block/nanda /sdcard/nanda
exit
exit
adb push script.bin /sdcard/nanda
adb push script0.bin /sdcard/nanda
adb shell
su
umount /sdcard/nanda

remount,rw /system

adb shell "mount -o remount,rw /system"
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License