#!/system/bin/sh # 3G TurboCharger created by zeppelinrox. echo " REMINDER: ONLY USE BUSYBOX v1.18.2 OR LOWER!!" cat > /sdcard/3GTurboCharger.txt </dev/null; then mount -o remount,rw /system 2>/dev/null for m in /dev/block/mtdblock* do mount -o remount,rw $m /system 2>/dev/null done fi echo $line echo " \\\\\\\\ 3G TURBOCHARGER ////" echo " =======================" echo "" $sleep case $turboopt in 1) echo " FAST?" hsxpa=2;gprsclass=12;hsdpa=8;htcmaskw1=14449;hsupa=6;afivetwo=0;afivethree=0;dtm=0;; 2) echo " FASTER?" hsxpa=2;gprsclass=12;hsdpa=28;htcmaskw1=14449;hsupa=9;afivetwo=0;afivethree=1;dtm=1;; 3) echo " FASTEST?" hsxpa=3;gprsclass=32;hsdpa=28;htcmaskw1=268449905;hsupa=9;afivetwo=0;afivethree=1;dtm=1;; 4) echo " EXPERIMENTAL!" hsxpa=5;gprsclass=34;hsdpa=28;htcmaskw1=268449905;hsupa=9;afivetwo=1;afivethree=1;dtm=1;; 5) echo " EXPERIMENTAL 2!" hsxpa=;gprsclass=;hsdpa=;htcmaskw1=;hsupa=;afivetwo=;afivethree=;dtm=;; 6) echo " ======================" echo " //// UNTURBOCHARGER \\\\\\\\";; 7) echo " !!POOF!!" $sleep reboot;; 8) echo " Did you find this useful? Feedback is welcome!";; *) echo " Invalid entry... Please try again :)" sleep 2 echo " 1 <= Valid Option => 8 !!"; echo "" sleep 2 echo -n " Press Enter key to continue... ;) "; read enterKey echo "" turboopt=0;; esac echo $line echo "" $sleep if [ "$turboopt" -ge 1 ] && [ "$turboopt" -le 6 ]; then if [ "$turboopt" -ne 5 ]; then if [ ! -f "/system/build.prop.unsuper" ]; then echo " Backing up ORIGINAL build.prop..." cp -r /system/build.prop /system/build.prop.unsuper else echo " Leaving ORIGINAL build.prop backup intact..." fi echo "" $sleep fi sed -i '/TurboCharger/,/TurboCharged/d' /system/build.prop if [ "$turboopt" -ne 6 ]; then sed -i '1i\# 3G TurboCharger by zeppelinrox.' /system/build.prop sed -i '2i\# DO NOT DELETE COMMENTS. DELETING COMMENTS WILL BREAK UNINSTALL ROUTINE!' /system/build.prop sed -i '3i\# Homework... see links for resources used.' /system/build.prop sed -i '4i\# http://forum.xda-developers.com/showthread.php?t=595108' /system/build.prop sed -i '5i\# http://forum.xda-developers.com/showthread.php?t=924440' /system/build.prop sed -i '6i\# http://forum.xda-developers.com/showpost.php?p=5123531&postcount=46' /system/build.prop sed -i '7i\# http://www.nickshertzer.com/wordpress/?p=600' /system/build.prop sed -i '8i\ro.ril.hsxpa='$hsxpa /system/build.prop sed -i '9i\ro.ril.gprsclass='$gprsclass /system/build.prop sed -i '10i\ro.ril.hep=1' /system/build.prop sed -i '11i\ro.ril.hsdpa.category='$hsdpa /system/build.prop sed -i '12i\ro.ril.enable.3g.prefix=1' /system/build.prop sed -i '13i\ro.ril.htcmaskw1.bitmask=4294967295' /system/build.prop sed -i '14i\ro.ril.htcmaskw1='$htcmaskw1 /system/build.prop sed -i '15i\ro.ril.hsupa.category='$hsupa /system/build.prop sed -i '16i\ro.ril.def.agps.mode=2' /system/build.prop sed -i '17i\ro.ril.def.agps.feature=1' /system/build.prop sed -i '18i\ro.ril.enable.sdr=1' /system/build.prop sed -i '19i\ro.ril.enable.gea3=1' /system/build.prop sed -i '20i\ro.ril.enable.fd.plmn.prefix=23402,23410,23411' /system/build.prop sed -i '21i\ro.ril.disable.power.collapse=0' /system/build.prop sed -i '22i\ro.ril.enable.a52='$afivetwo /system/build.prop sed -i '23i\ro.ril.enable.a53='$afivethree /system/build.prop sed -i '24i\ro.ril.enable.dtm='$dtm /system/build.prop sed -i '25i\# To fix connection issues, change "enable.a53" and "enable.dtm" to be =0' /system/build.prop sed -i '26i\# End of 3G TurboCharged Entries' /system/build.prop echo " 3G TurboCharger settings installed..." else echo " UnTurboCharging Complete..." fi echo "" $sleep echo " ...Reboot required!" echo "" echo $line echo "" $sleep fi echo " The 3G TurboCharger Installer..." echo "" $sleep echo " ...by -=zeppelinrox=- @ XDA & Droid Forums" sleep 2 if [ "$turboopt" -eq 8 ]; then echo "" echo " Buh Bye :)" echo "" $sleep exit 0 fi chmod 644 /system/build.prop mount -o remount,ro /system 2>/dev/null for m in /dev/block/mtdblock* do mount -o remount,ro $m /system 2>/dev/null done done