Tuesday, 4 December 2012

Unlocking a Huawei E1750 3G Dongle

This technique may work for other models, but I only own the E1750 and worked perfectly for me.

First thing you need is a IMEI number. If like me if you don't have the original box or paperwork, it's not that difficult to find it on a Windows machine

  1. Install the drivers and the dongle onto a machine.
  2. Find the modem in device manager.
  3. If you look at the properties of the device, there should be a Diagnostics Tab (at least on Windows 7).
  4. Click on Query Modem. One of the values returned will be the IMEI number.
Now that you have that, go to this web site http://tools.texby.com/unlock-codes/huawei/?download-huawei-code-writer.
This should return two codes. First is the unlock code, which you need to unlock the modem.
If you wish to upgrade the firmware, you need the next code and download the latest firmware, drivers and generic dialler software from here http://huaweiunlocking.blogspot.co.uk/2012/02/huawei-e1750-unlock-update-firmware.html.

As an addition, if you want to change the way the dongle is presented every time it is plugged into a computer, follow these instructions http://www.androidtablets.net/forum/gome-flytouch-ii-accessories/4686-my-manual-huawei-usb-3g.html.

Tuesday, 14 August 2012

Expanding Strings And Environment Variables in PowerShell

I hadn't realised this was possible, but you can use environment variables in Powershell. I don't mean by doing something like this

$tempvar = $env:temp

Instead if you have a string which contains environment variables in the form of %temp% for example.

Read the this blog post to get the full lowdown.
http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2011/01/02/how-to-expand-strings-and-environment-variables-in-powershell.aspx

Monday, 25 June 2012

Installing Microsoft Windows Automated Installation Kit

When installing WAIK off a USB stick or hard disk, you may get an error “Please insert the disk: Windows Automation Installation Kit CD”

I found the perfect answer here: http://richardyoung.wordpress.com/2011/11/09/silent-install-of-the-waik-fails-with-error-please-insert-the-disk-windows-automation-installation-kit-cd/

Basically, get something like Orca (if you've never used it before, this article may help http://support.microsoft.com/kb/255905) and create a transform.

You need to change the values in the Media table. I changed everything that had a volume label "KB3AIK_EN" to "DEFAULT".

Then ran the command

msiexec /i WAIKX86.msi TRANSFORMS="waik.mst"

Change the msi to the relevant one (e.g. use waikx64.msi on a 64 bit platform) and put in the full path of the MST file.