[Droid X Android Development] jrummy16:
I made a script to do all this for you with more options. If you find it useful I can make a quick app for it. I don't have a droidX and it's super late so I haven't run the script but pretty sure it will work. Will some brave soul test it out for me?

copy the contents below to a file:

adb push to system/xbin

adb shell chmod 0755 /system/xbin/the_script_name

adb shell the_script_name

#!/system/bin/sh
#
# setprops: sets various build properties for the DroidX
#
# Copyright (C) 2010 Jared Rummler (JRummy16)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

setpropsUsage()
{
$BB echo "Usage: setprops"
$BB echo ""
$BB echo "Prints a menu to set various build properties"
}

checkBusybox()
{
if cat /system/xbin/busybox > /dev/nul 2>&1; then
BB=/system/xbin/busybox
elif cat /system/bin/busybox > /dev/nul 2>&1; then
BB=/system/bin/busybox
else
echo "Error: Busybox not found!"
exit
fi
}

changePropValue()
{
OLD_VALUE=`$BB grep -i "$1" /system/build.prop | sed "s|$1||"`
$BB echo -n "Changing value of "`$BB echo $1 | sed 's|=||'`" from $OLD_VALUE to $2 ... "
$BB mkdir -p /data/local/tmp
$BB cp -f /system/build.prop /data/local/tmp
$BB sed -i -e "s|$1.*|$1$2|" /data/local/tmp/build.prop
if $BB [ `$BB grep -i "$1" /data/local/tmp/build.prop | $BB sed "s|$1||"` == $2 ]; then
$BB mv -f /data/local/tmp/build.prop /system/build.prop
$BB echo "done."
$BB echo ""
$BB echo "For changes to apply a reboot is required."
$BB echo -n "Would you like to reboot your device now? (y/n): "
read rebootChoice
case $rebootChoice in
y|Y|yes)
$BB echo "See you soon ... "
toolbox reboot
;;
*)
# Do nothing
;;
else
$BB echo "failed!"
fi
}

ringDelay()
{
case $ringDelayChoice in
1|2250)	changePropValue "ro.telephony.call_ring.delay=" 2250	;;
2|2000)	changePropValue "ro.telephony.call_ring.delay=" 2000	;;
3|1500)	changePropValue "ro.telephony.call_ring.delay=" 1500	;;
4|1000)	changePropValue "ro.telephony.call_ring.delay=" 1000	;;
5|750)	changePropValue "ro.telephony.call_ring.delay=" 750	;;
6|3000)	changePropValue "ro.telephony.call_ring.delay=" 3000	;;
7)	;;
*)	$BB echo "Error: Invalid option in $ringDelayChoice"	;;
esac
}

wifiScan()
{
case $wifiScanChoice in
1|30)	changePropValue "wifi.supplicant_scan_interval = " 30	;;
2|45)	changePropValue "wifi.supplicant_scan_interval = " 45	;;
3|60)	changePropValue "wifi.supplicant_scan_interval = " 60	;;
4|90)	changePropValue "wifi.supplicant_scan_interval = " 90	;;
5|120)	changePropValue "wifi.supplicant_scan_interval = " 120	;;
6|180)	changePropValue "wifi.supplicant_scan_interval = " 180	;;
7)	;;
*)	$BB echo "Error: Invalid option in $wifiScanChoice"	;;
esac
}

vmHeap()
{
case $heapSizeChoice in
1|12m)	changePropValue "dalvik.vm.heapsize=" 12m	;;
2|16m)	changePropValue "dalvik.vm.heapsize=" 16m	;;
3|24m)	changePropValue "dalvik.vm.heapsize=" 24m	;;
4|30m)	changePropValue "dalvik.vm.heapsize=" 30m	;;
5|32m)	changePropValue "dalvik.vm.heapsize=" 32m	;;
6)	;;
*)	$BB echo "Error: Invalid option in $heapSizeChoice"	;;
esac
}

# Enable better scrolling speed

maxEvents()
{
case $maxEventsChoice in
1|65)	changePropValue "windowsmgr.max_events_per_sec=" 65	;;
2|60)	changePropValue "windowsmgr.max_events_per_sec=" 60	;;	#default
3|55)	changePropValue "windowsmgr.max_events_per_sec=" 55	;;
4|50)	changePropValue "windowsmgr.max_events_per_sec=" 50	;;
5|45)	changePropValue "windowsmgr.max_events_per_sec=" 45	;;
6)	;;
*)	;;
esac
{

buttonLight()
{
case $buttonLightChoice in
1|off)	changePropValue "ro.mot.buttonlight.timeout=" 1	;;	#default
2|on|0)	changePropValue "ro.mot.buttonlight.timeout=" 0	;;	# hard key lights stay on while screen is on and not timeout
3)	;;
*)	$BB echo "Error: Invalid option in $buttonLight"	;;
esac
}

proximityDelay()
{
case $proximityDelayChoice in
1|450)	changePropValue "mot.proximity.delay=" 450	;;	#defualt
2|400)	changePropValue "mot.proximity.delay=" 400	;;	# BLACK SCREEN PHONE DELAY
3|350)	changePropValue "mot.proximity.delay=" 350	;;
4|300)	changePropValue "mot.proximity.delay=" 300	;;
5|250)	changePropValue "mot.proximity.delay=" 250	;;
6|200)	changePropValue "mot.proximity.delay=" 200	;;
7|150)	changePropValue "mot.proximity.delay=" 150	;;
8|100)	changePropValue "mot.proximity.delay=" 100	;;
9)	;;
*)	$BB echo "Error: Invalid option in $proximityDelayChoice"	;;
esac
}

marketHack()
{
case $marketHackChoice in
1|on)	changePropValue	"ro.build.fingerprint=" "verizon/shadow_vzw/cdma_shadow/shadow:2.2/VZW/23.15:user/ota-rel-keys,release-keys"	;;	# stock
2|off)	changePropValue "ro.build.fingerprint=" "verizon/voles/sholes/sholes:2.2/FRG01B/45394:user/release-keys"	;;
3)	;;
*)	$BB echo "Error: Invalid option in $marketHackChoice"	;;
esac
}

##==============
#= Main Script:
##==============

checkBusybox
$BB mount -o remount,rw -t yaffs2 `$BB grep " /system " "/proc/mounts" | $BB cut -d ' ' -f1` /system > /dev/nul 2>&1

case $1 in
""|-m|--menu)
$BB echo "----------------------------------"
$BB echo " 1 Change Dalvik VM Heap Size"
$BB echo " 2 Change Wifi Scan Interval"
$BB echo " 3 Change Call Ring Delay"
$BB echo " 4 Enable better scrolling speed"
$BB echo " 5 Enable hard key lights"
$BB echo " 6 Black screen phone delay"
$BB echo " 7 Market hack"
$BB echo " 8 Exit this menu"
$BB echo "----------------------------------"
$BB echo -n "Please choose a number: "
read setPropChoice
case $setPropChoice in
1)
$BB echo "----------------------------------"
$BB echo " Your current VM Heap Size is: `getprop dalvik.vm.heapsize`"
$BB echo " 1 Set VM Heap Size to 12m"
$BB echo " 2 Set VM Heap Size to 16m"
$BB echo " 3 Set VM Heap Size to 24m (defualt)"
$BB echo " 4 Set VM Heap Size to 32m"
$BB echo " 5 Exit this menu"
$BB echo "----------------------------------"
$BB echo -n "Please choose a number: "
read heapSizeChoice
vmHeap
;;
2)
$BB echo "---------------------------------------------"
$BB echo " Your current wifi scan interval is: `getprop wifi.supplicant_scan_interval`"
$BB echo " 1 Change wifi scan interval to 30 seconds"
$BB echo " 2 Change wifi scan interval to 45 seconds"
$BB echo " 3 Change wifi scan interval to 60 seconds"
$BB echo " 4 Change wifi scan interval to 90 seconds"
$BB echo " 5 Change wifi scan interval to 2 minutes"
$BB echo " 6 Change wifi scan interval to 3 minutes"
$BB echo " 7 Exit this menu"
$BB echo "---------------------------------------------"
$BB echo -n "Please choose a number: "
read wifiScanChoice
wifiScan
;;
3)
$BB echo "------------------------------"
$BB echo " 1 Reduce ring delay by 1/4"
$BB echo " 2 Reduce ring delay by 1/3"
$BB echo " 3 Reduce ring delay in half"
$BB echo " 4 Reduce ring delay by 2/3"
$BB echo " 5 Reduce ring delay by 3/4"
$BB echo " 6 Set to defualt delay time"
$BB echo " 7 Exit this menu"
$BB echo "------------------------------"
$BB echo -n "Please choose a number: "
read ringDelayChoice
ringDelay
;;
4)
$BB echo "---------------------------------------------------"
$BB echo " ** The lower the value the faster the scrolling speed **"
$BB echo " Your current events per second is: `getprop windowsmgr.max_events_per_sec`"
$BB echo ""
$BB echo " 1 Set max events per second to 65"
$BB echo " 2 Set max events per second to 60"
$BB echo " 3 Set max events per second to 55"
$BB echo " 4 Set max events per second to 50"
$BB echo " 5 Set max events per second to 45"
$BB echo "---------------------------------------------------"
$BB echo -n "Please choose a number: "
read maxEventsChoice
maxEvents
;;
5)
$BB echo "--------------------------------------------------------------"
$BB echo " Hard key lights are currently "$(if $BB [ `getprop ro.mot.buttonlight.timeout` -eq 0 ]; then echo on ; else echo off ; fi)" while the screen is on"
$BB echo ""
$BB echo " 1 Enable hard key lights to stay on while the screen is on"
$BB echo " 2 Disable hard key lights while the screen is on (default)"
$BB echo "--------------------------------------------------------------"
$BB echo -n "Please choose a number: "
read buttonLightChoice
buttonLight
;;
6)
$BB echo "---------------------------------------------"
$BB echo " ** The lower the value the shorter the delay **"
$BB echo " Your current value is: `getprop mot.proximity.delay`"
$BB echo ""
$BB echo " 1 Set proximity delay to 450"
$BB echo " 2 Set proximity delay to 400"
$BB echo " 3 Set proximity delay to 350"
$BB echo " 4 Set proximity delay to 300"
$BB echo " 5 Set proximity delay to 250"
$BB echo " 6 Set proximity delay to 200"
$BB echo " 7 Set proximity delay to 150"
$BB echo " 8 Set proximity delay to 100"
$BB echo "---------------------------------------------"
$BB echo -n "Please choose a number: "
read proximityDelayChoice
proximityDelay
;;
7)
$BB echo "--------------------------------------------------------------"
$BB echo "Disable market hack"
$BB echo "Enable market hack (use if some apps don't show in the market"
$BB echo "--------------------------------------------------------------"
$BB echo -n "Please choose a number: "
read marketHackChoice
marketHack
;;
8)
# Exit out
;;
*)
$BB echo "Error: Invalid option in $setPropChoice"
;;
esac

$0 # Loop through the options again.
;;
vmheap)
heapSizeChoice=$2
vmHeap
;;
wifiscan)
wifiScanChoice=$2
wifiScan
;;
ringdelay)
ringDelayChoice=$2
ringDelay
;;
maxevents)
maxEventsChoice=$2
maxEvents
;;
buttonlight)
buttonLightChoice=$2
buttonLight
;;
proximity)
proximityDelayChoice=$2
proximityDelay
;;
market)
marketHackChoice=$2
marketHack
;;
*)
setpropsUsage
;;
esac

$BB mount -o remount,ro -t yaffs2 `$BB grep " /system " "/proc/mounts" | $BB cut -d ' ' -f1` /system > /dev/nul 2>&1