adb push 一个交差编译的bash到/system/bin下,然后运行如下脚本: #!/system/bin/bash start=1 end=5000000 while [ $start -lt $end ]; do #echo $start #start=$(/system/bin/expr $start + 1) echo "50000" > /sys/class/timed_output/vibrator/enable let start=$start+1 done