3GTurboCharger Installer Update 3 Test 11.Sh

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

#!/system/bin/sh # 3G TurboCharger created by zeppelinrox. cat > /sdcard/3GTurboCharger.txt <<EOF Safe? ro.ril.hsxpa=2 ro.ril.gprsclass=12 ro.ril.hep=1 ro.ril.hsdpa.category=8 ro.ril.enable.3g.prefix=1 ro.ril.htcmaskw1.

bitmask=4294967295 ro.ril.htcmaskw1=14449 ro.ril.hsupa.category=6 ro.ril.def.agps.mode=2 ro.ril.def.agps.feature=1 ro.ril.enable.sdr=1 ro.ril.enable.gea3=1 ro.ril.enable.fd.plmn.prefix=23402,23410,23411 ro.ril.disable.power.collapse=0 ro.ril.enable.a52=0 ro.ril.enable.a53=0 ro.ril.enable.dtm=0 Update 2 ro.ril.hsxpa=2 ro.ril.gprsclass=12 ro.ril.hep=1 ro.ril.hsdpa.category=28 ro.ril.enable.3g.prefix=1 ro.ril.htcmaskw1.bitmask=4294967295 ro.ril.htcmaskw1=14449 ro.ril.hsupa.category=9 ro.ril.def.agps.mode=2 ro.ril.def.agps.feature=1 ro.ril.enable.sdr=1 ro.ril.enable.gea3=1 ro.ril.enable.fd.plmn.prefix=23402,23410,23411 ro.ril.disable.power.collapse=0 ro.ril.enable.a52=0 ro.ril.enable.a53=1 ro.ril.enable.dtm=1 Update 3 test 8 ro.ril.hsxpa=3 ro.ril.gprsclass=32 ro.ril.hep=1 ro.ril.hsdpa.category=28 ro.ril.enable.3g.prefix=1 ro.ril.htcmaskw1.bitmask=4294967295 ro.ril.htcmaskw1=268449905 ro.ril.hsupa.category=9 ro.ril.def.agps.mode=2 ro.ril.def.agps.feature=1 ro.ril.enable.sdr=1 ro.ril.enable.gea3=1 ro.ril.enable.fd.plmn.prefix=23402,23410,23411 ro.ril.disable.power.collapse=0 ro.ril.enable.a52=0 ro.ril.enable.a53=1 ro.ril.enable.dtm=1

Experimental ro.ril.hsxpa=5 ro.ril.gprsclass=34 ro.ril.hep=1 ro.ril.hsdpa.category=28 ro.ril.enable.3g.prefix=1 ro.ril.htcmaskw1.bitmask=4294967295 ro.ril.htcmaskw1=268449905 ro.ril.hsupa.category=9 ro.ril.def.agps.mode=2 ro.ril.def.agps.feature=1 ro.ril.enable.sdr=1 ro.ril.enable.gea3=1 ro.ril.enable.fd.plmn.prefix=23402,23410,23411 ro.ril.disable.power.collapse=0 ro.ril.enable.a52=1 ro.ril.enable.a53=1 ro.ril.enable.dtm=1 EOF line================================================= speed=2 sleep="sleep $speed" clear echo " REMINDER: ONLY USE BUSYBOX v1.18.2 OR LOWER!!" echo "" echo $line echo "" $sleep echo " The 3G TurboCharger Installer by zeppelinrox" echo "" echo $line $sleep while : echo "" do echo $line $sleep echo "\\\\\\\\ 3 G T U R B O C H A R G E R - M E N U ////" echo " ==============================================" echo " 1. Fast!?" echo " 2. Faster!?" echo " 3. Fastest!?" echo " 4. Experimental 1!" echo " 5. Experimental 2! (nulled variable)" echo " 6. UnTurboCharger" echo " 7. REBOOT! (WARNING - There is NO Warning!)" echo " 8. Exit" echo "" echo " Your Mileage WILL Vary!" echo "" echo " View settings in /sdcard/3GTurboCharger.txt!" echo "" echo " Test all 4 to see which works best for you!" echo "" echo " The SpeedTest.Net app is highly recommended :)" echo "" echo -n " Please enter option [1 - 8]: " read turboopt echo "" $sleep

if [ "$turboopt" -ne 8 ] 2>/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;afiveth ree=0;dtm=0;; 2) echo " FASTER?" hsxpa=2;gprsclass=12;hsdpa=28;htcmaskw1=14449;hsupa=9;afivetwo=0;afivet hree=1;dtm=1;; 3) echo " FASTEST?" hsxpa=3;gprsclass=32;hsdpa=28;htcmaskw1=268449905;hsupa=9;afivetwo=0;af ivethree=1;dtm=1;; 4) echo " EXPERIMENTAL 1!" hsxpa=5;gprsclass=34;hsdpa=28;htcmaskw1=268449905;hsupa=9;afivetwo=1;af ivethree=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 BREA K 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=59 5108' /system/build.prop sed -i '5i\# http://forum.xda-developers.com/showthread.php?t=92 4440' /system/build.prop sed -i '6i\# http://forum.xda-developers.com/showpost.php?p=5123 531&postcount=46' /system/build.prop sed -i '7i\# http://www.nickshertzer.com/wordpress/?p=600' /syst em/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.p rop 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' /sys tem/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 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

You might also like