Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo su > clean.sh
- echo mount -o remount,rw /dev/block/mmcblk0p25 /system >> clean.sh
- echo rm /sdcard/modules/*.ko >> clean.sh
- echo rm /system/lib/modules/*.ko >> clean.sh
- echo sync >> clean.sh
- echo exit >> clean.sh
- echo exit >> clean.sh
- echo exit >> clean.sh
- echo su > insmodules.sh
- echo mount -o remount,rw /dev/block/mmcblk0p25 /system >> insmodules.sh
- echo cp /sdcard/modules/*.ko /system/lib/modules/ >> insmodules.sh
- echo sync >> insmodules.sh
- echo exit >> insmodules.sh
- echo exit >> insmodules.sh
- adb shell < clean.sh
- adb push modules /sdcard/modules
- adb shell < insmodules.sh
- adb reboot bootloader
- fastboot flash zimage zImage
- fastboot reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement