Okay, here’s a little background :
- We love Android (and maybe hate Apple), and HTC is a manufacturer with great device built.
- Here in Indonesia, data speed with GSM is usually horrible most of the time! And by means horrible I mean its fucking sluggish make you wanna throw your phone for fuck sake!
- So simply use CDMA then? Okay, but not that easy. Almost all Android CDMA devices out there are using inject system with no RUIM (SIM Card), so we need to manually inject our DN (phone number information) to our phone.
- HTC makes it happen by providing “Diag Mode” in their ROM so we can connect HTC phone to our PC and configure its inject parameters.
- Problem : Diag mode is only possible with phone running HTC’s own ROM (with HTC Sense interface)
Sense is good. You’ll see that HTC is really good at drawing cloud and rain (LOL), but there are bunch of other ROMs out there which is a lot faster and snappier than Sense ROM, they based on AOSP. One AOSP ROM that outstanding among others is MIUI. it’s clean, beautiful, fast and constantly updated. The down part of MIUI are maybe it’s made in chinese and it’s closed source.
So how to enter Diag mode on AOSP rom? here’s the catch:
- Install HTC Diag Driver on your PC (Windows OS) and make sure it recognize your HTC Phone.
- Enable USB Diagnostic on your HTC Phone. If You don’t understand step 1 and step 2 then forget it, you’re not ready for this yet.
- Install adb tool on your PC (just copy paste it to an easy accessed directory on your pc. i.e
- Enter the abd mode
c:adb> adb shell
- You need to alter the value of
enablefile located in your phone (
/sys/devices/virtual/usb_composite/diag/enable) file from 0 to 1. here’s how :
full path :
echo 1 > /sys/devices/virtual/usb_composite/diag/enable
you don’t have to remember that. You can enter each dir manually and if you forget the next dir you can simply command
lsto list directory and file available. After you reach the last dir (
/diag) then you can execute the
echo > 1 enablecommand.
- Voila, you enter HTC Diag mode on AOSP ROM.
No, you don’t need Android SDK, or JRE, etc, You just need this tool, about 500Kb in package. Google for it!
Now do what you have to do! cheers.
P.S : I’m not responsible for anything happen to your device. If you blame me, I will point finger and laugh at you.