dajaz27 Posted November 17, 2011 Share Posted November 17, 2011 To a smartphone and run this script from the server. @echo off Echo Pushing temproot files... adb wait-for-device adb push Common/psneuter /data/local adb push Common/sqlite3 /data/local adb push Shift/hboot_eng.nb0 /data/local adb push Common/busybox /data/local adb shell chmod 755 /data/local/busybox adb shell chmod 755 /data/local/psneuter adb shell chmod 755 /data/local/sqlite3 Echo Executing temproot... adb shell /data/local/psneuter ping -n 3 127.0.0.1 >NUL Echo Setting S-OFF... adb shell /data/local/busybox dd if=/data/local/hboot_eng.nb0 of=/dev/block/mmcblk0p18 adb shell /data/local/busybox dd if=/dev/block/mmcblk0p18 of=/data/local/hboot_check.nb0 Echo Check that MD5 sums match... Echo 60ec1006e6ec2e8acb370d6aad35b17e adb shell /data/local/busybox md5sum /data/local/hboot_check.nb0 pause Echo Modifying filesystem for Boost Mobile... adb push Shift/com.android.phone_preferences_boost.xml /data/data/com.android.phone/shared_prefs/com.android.phone_preferences.xml adb shell chmod 660 /data/data/com.android.phone/shared_prefs/com.android.phone_preferences.xml adb shell chown radio.radio /data/data/com.android.phone/shared_prefs/com.android.phone_preferences.xml adb shell /data/local/sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "UPDATE carriers SET mmsc='http://mm.myboostmobile.com' WHERE name='Production';" adb push Shift/http_proxy /data/data/com.google.android.epst adb push Shift/rtsp_proxy /data/data/com.google.android.epst adb shell chmod 644 /data/data/com.google.android.epst/http_proxy adb shell chmod 644 /data/data/com.google.android.epst/rtsp_proxy adb shell chown app_54.app_54 /data/data/com.google.android.epst/http_proxy adb shell chown app_54.app_54 /data/data/com.google.android.epst/rtsp_proxy adb shell pm disable com.coremobility.app.vnotes adb install apks/voicemailnotifier.apk adb shell rm /data/local/psneuter adb shell rm /data/local/sqlite3 adb shell rm /data/local/busybox adb shell rm /data/local/hboot_eng.nb0 adb shell rm /data/local/hboot_check.nb0 Echo Talking to Radio... adb shell stop ril-daemon adb shell "echo -e 'AT\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C8290100\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C841746477616F70\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C827550030303030303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C8050D17F60101E0000000\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C805391DF60101E0000000\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C80545E05E0101E0000000\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C8052AE05E010200000000\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C805321DF6010200000000\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C80508E05E010200000000\r' > /dev/smd0" adb shell "echo -e 'AT+HTC_DM=C80552E05E010401200000\r' > /dev/smd0" Echo Done, ready for programming... Quote Link to comment Share on other sites More sharing options...
trq Posted November 17, 2011 Share Posted November 17, 2011 Awesome! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.