[Desire HD Android Development] andyx1985:
Hey all,

These are some tweaks I have pulled from around the web and tested on the inspire 4g running CM7. This should work fine for the Desire HD and this is also posted in the inspire 4g dev forum http://xdaforums.com/showthread.php?t=1401209

[This does require root access]

I have reached 6.5mbps download with these settings and 1mbps up ( i think i can tweak it further to get higher). It also seems to improve battery life quite a bit. With moderate to heavy use i pull in 8hrs (heavy use) to 12-16 hours (light to moderate use)

It also seems to enhance the UI speed and fluidity of the movement.

1st) make a nand backup of your rom of course and you will want ES file explorer (or anything that can browse root).

2nd) open up ES file explorer (or any root browser) (for es file explorer make sure you hit menu and go to settings and at the bottom select root explorer and set mount file system for this to work.)

3rd) Navigate to the root of your phone and go to system locate build.prop and copy to your sd card. (on es file explorer hit star select the phone icon and then select system. scroll to bottom to see build prop.)

4th) connect your phone to your pc/laptop and mount as usb drive and copy the build.prop to your pc/laptop.

5th) open up build.prop with wordpad (not notepad)

6th) very important you follow this completely. copy whats below and past it to the bottom of your build.prop file. NOW FOR EACH ITEM BELOW MAKE SURE YOU PLACE A # NEXT THE SAME NAMED ITEM ABOVE IN YOUR ORIGINAL AREA OF THE PROP FILE! The reason why is because # comments out (meaning excludes the system from executing that but is still readable by you and allows you to go back to default easily by deleting the mods and removing the # from the above original area of the prop file)

The one i have highlighted in red supposedly makes the phone call quality better. I havent done much testing it sounds mostly the same. Up to you if you want to include it or not.

#

#Tweaked settings below - originals commented out above

#

#Power save tweaks

ro.ril.disable.power.collapse=0 ---- enables a power savings mode (do not have more details yet)

wifi.supplicant_scan_interval=180 ----sets wifi scan interval in seconds. This sets it to scan for new wifi networks every 3 minutes. Does not effect a known connection.

pm.sleep_mode=1 ----enables a hibernation mode when phone screen is off

ro.mot.eri.losalert.delay=1000

#Hardware Acceleration Tweaks

Debug.performance.tuning=1

video.accelerate.hw=1

debug.sf.hw=1

#voice quality tweak?

ro.ril.enable.amr.wideband=1

#Data Speed Tweaks

ro.ril.enable.dtm=1 ---- Must be supported by network - AT&T supports this. Allows downloading and talking at the same time.

ro.ril.gprsclass=34 ---- gprs (edge) speed settings

ro.ril.hsdpa.category=28 ---- HSPA+ Download speed settings by category. Cat 28 is the highest

ro.ril.hsupa.category=7 ---- HSPA+ Upload speed settings by category. Cat 9 is highest, 7 seems to work just fine tho

ro.ril.hsxpa=5 ---- setting to enable hspa+ for the upload and download

#buffer tweaks

net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960

net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.hsdpa=4096,87380,256960,4096,16 384,256960

net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

ro.ril.hep=1

ro.ril.def.agps.feature=1

7th) now save the build.prop file (your text editor may say something about losing formatting and converting to text when you save. IGNORE IT.) Also please make sure its saved a build.prop and NOT a build.prop.txt (windows will show you the extension if you have hide common extensions turned off)

8th)now that we have a properly saved build.prop (not build.prop.txt!) copy it back to your phone anywhere just make sure you can find it.

9th) unmount the phone as a usb drive, open up es file explorer (or whatever your using to browse root and files) navigate to root of your phone and go to system and delete the build.prop there. Go back to the sd card and copy the build.prop and then go back to system again on root and place the build.prop there.

10th) reboot twice ( i did it three times to make sure) run speed test a couple of times to get average of new download speeds. Also get used to the more fluid movement of your phone.

note: this was not tested with modified apn settings. If you have modified apn settings i do not know how that will affect download speeds.

note2: if running cyanogenmod 7 i suggest increasing vm heap size to 48m and locking home app in memory. (if your running a home screen that allows you to lock it via the home screen app like launcher pro disable it in launcher pro and only enable this feature in cm7 options.

Note3: previously i was able to get up to 3mbps upload consistently and one of these tweaks is not allowing that. I am on a limited data plan 2gb and will have to test speed settings next month to see if i can figure out which settings will enable the higher upload speeds. For now these settings are sufficient.

Note4: For the most accurate battery life i recommend downloading "battery calibration" from the market and charging to 100% then using it to wipe your battery stats file. Then drain your battery down to 0%. To the point where the phone turns off; making it so the batter is completely dead. Then charge it back up to 100% and you'll have the most accurate battery stats. This wont increase your battery life but it will make it so that your battery percentage reflects accurately what your actual current charge remaining is on your phone.

Note5: I havent tested this on any other rom than Cyanogenmod 7 so let me know if it works for you and on what rom with what kernel. The speed settings should work on any rom.

Note6: I also reccommend using Tiamat kernel with CM7 and using the smartass governor which is better for battery life. http://tiamat-dev.com/tiamat_msm7230/

Credit where credit is due, i found these build.prop tweaks from various places on the internet and tested them on my phone to see which ones work. So to whomever discovered the various build.prop settings thank you. Thanks A User for pointing out some of the tweaks being network specific.