1.Download Hostname.sh to your device. 2.Use a text editor to change the Driod-Bionic in the script to whatever you want. [no spaces] 3.Use Script Manager to run the script. 4.The script output will tell you if the command has completed successfully.
ROTATIONAL=`ls -d /sys/block/*`; for g in $ROTATIONAL do echo 0 > $g/queue/rotational; done; echo "DONE"
echo "Releasing CPU HALT" killall com.android.vending killall com.cooliris.media
sleep 15 echo "Releasing CPU HALT" killall com.android.vending killall com.cooliris.media
#!/system/bin/sh #change devName to whatever you want. devName=Leo-HD2-TEST #random variables devHostPath=$(which hostname) devGetPath=$(which getprop) devSetPath=$(which setprop)
if [ "$($devGetPath net.hostname)" = "$devName" ] then echo "Device hostname does not need to be changed." else echo "Device hostname is being changed to $devName." if [ "$devHostPath" != "which hostname" ] then $devHostPath $devName fi $devSetPath net.hostname $devName if [ "$($devGetPath net.hostname)" != "$devName" ] then echo "Device hostname has not been changed." else echo "Device hostname has been successfully changed." fi fi
#Boost swap release over time renice 10 `ps | grep kprefetchd | cut -d " " -f7`
if [ -e /sys/block/mmcblk0 ] then while [ ! -e /mnt/sdcard/phonePrioritizer/script.txt ] do sleep 15 echo "Waiting For SDCARD to be Mounted and file /sdcard/phonePrioritizer/script.txt to be located" done echo "Found SDCARD and /sdcard/phonePrioritizer/script.txt file" fi