How to Unlock the Huawei E220 HSDPA modem

Huawei e220 or Vodafone e220 is the HSDPA modem we usually get from Dialog Telecom or Mobitel GSM (probably from Airtel) when we purchase a mobile broadband connection. But usually it’s operator locked, so we can’t switch between networks when the current ISP starts treating us like dust, If you’ve read my previous post you know I have my reasons to unlock the Huawei e220 modem I got from Dialog Telecom. Here I’m gonna explain how I did that and I’ll try to be as simple as I can. But Feel free to ask for help if u need any.

e220

Disclaimer: I’m not responsible, nor will be held liable, for anything you do with the information I provide in this tutorial. Use it at your own risk.

Ok, since we are done with the traditional “Disclaimer” Lets see what you have to do.

First you’ll have to download the following tools.
e220 CardLock UnLocker
e220 Updater version 11.117.09.04.00
QC Mobile Analysis Tool
And a Hex editor. But if you do it correctly you can do it with an ordinary text editor too πŸ˜‰

Or you can download and extract this file. It contains all the tools we need for the job, including a lightweight portable hex editor πŸ™‚

Basically, Unlocking the e220 is simple as running the E220 CardLock Unlock tool and entering the unlock code and pressing the “Ok” button. But that’s when you “know” the unlock code.

unlock

So how do we find the unlock code for our modem? that’s where the other tools come in handy.

Plug your modem to the computer and run the E220 Updater. Wait till it detects your modem and then press the “Cancel” button. yes! Cancel it! This is just to make it easier for the “real tool” to identify the modem.

e220UpdateNow open the QC BQS Analyzer and click on Hardware forensics menu, select Use Com/USB Port
QCMob-1Now the “QC Com Diag” window should be open. Most of the time your modem and com port is automatically selected on the Serial Com port drop down list. If not you’ll have to select it manually. And then click on the “Send Cmd” button and wait till the message “Successfully sent command” appears on the bottom right.
QCMob-2

Now Select ” Read EFS” from the Diag Functions drop down menu and Click the “Lets go” button. When it asks, enter the file name e220.bin and save it. A message saying “Successfully read EFS” should appear.

QCMob-3

Now its time to do some hex reading πŸ™‚ Open the e220.bin file from your Hex Editor. And search for the ASCII string Sd, (including the comma) or Search for the for the Hex string 53 64 2c
After few random characters you’ll see a clean 8 digit code. Believe me, it’s easily recognizable and guess what! thats our Unlock code πŸ˜€

HexOnce you’ve found the unlock key all you have to do is enter it on the CardLock Unlock utility and click “OK” And your modem is… Unlocked!!! πŸ˜€

Hope this will be helpful. I’d absolutely love to know your views on this. Good luck with unlocking your modems πŸ™‚
-seejay

Why I unlocked my HSDPA modem (and why you should too)

As usual it’s old news to my twitter followers that I’ve unlocked my Huawei e220 HSDPA modem I bought with the Mobile Broadband connection from Dialog Telecom. It was operator locked and could only be used with Dialog. Well I must say that I loved mobile broadband. I absolutely loved the fact that I had internet access wherever I go. But unfortunately Dialog has been doing everything possible to ruin that amazing experience. When I got this connection they promised 3.6mbps but I’ve never ever experienced anything more than 1mbps with this. And sometimes the DNS servers get messed making the connection totally unusable.

“Well, they’ll improve the quality of the service eventually and we’ll have a good speed one day” that’s what I thought, but boy was I wrong.

Few weeks back I found that Dialog has officially “changed” the speed of the mobile broadband to 1mbps, It was changed on their web site too. But wait! Then what about the connection I purchased? what about the so called “very very fast” (hilarious! I know! but that’s how they advertised it :p) Internet connection which was supposed to be 3.6mbps???
What came to my mind for the first time was “WTF! who do they think we are? how do they expect to get away with this???” well answer is simple. They perfectly knew that there’s no way they can provide 3.6mbps speed but they LIED! why? why not? They are the *all mighty* Dialog Telecom, and we are just helpless customer fuckNuts.

“They’ve paid us already, So why bother, they can’t switch to any other provider since it’s operator locked” that’s probably what the people at dialog must be thinking.
Well Dialog, I’ve got news for you, Anything which can be locked can be unlocked, at least it’s true with the HSDPA modem you sold us πŸ˜› And thats exactly what I did πŸ˜› and now I own a fully functional Huawei e220 HSDPA modem πŸ˜€

The Unlock process was pretty easy and, NO I didn’t pay any money to any company to unlock it πŸ˜› I did it my self after a fair bit of Googling (Thanks to opendns we can still brows the web which is almost impossible if you are using Dialog’s crappy DNS servers πŸ˜› if you are still using them you should seriously try http://opendns.com you’re gonna luv me for suggesting it :P)

Anyway, the first question I got via twitter was “are you gonna switch to Airtel now?” My answer was “No!”

No, I won’t be switching away from Dialog right now. Why? Simply because I’ve agreed to use this connection for 6 months and I will act according to that. Then why did I unlock this? Simple, After 6 months I’m free to do anything, but they know that I can’t switch to any other network and use this modem so they DON’T CARE. But now, since I can switch between networks and still use the same modem, they know I will! and that’s what keep these money hungry companies like Dialog from screwing the customers. And thats exactly why we all should do it! That will teach them a lesson to treat their customers with some respect.

There are lot of places to find ways to unlock the HSDPA modems. And my next post which I’ll be writing tomorrow morning, will also be a how-to on unlocking Huawei e220 which is the most common HSDPA modem in Sri Lanka. Almost all my friends have this model so there’s a good chance you have the same. Let me know If you have any other model. I’ll always be happy to help.

Don’t get me wrong. I’m not paid by Airtel or any other company or individual to take down Dialog telecom(LOL!) And this is not just about Dialog. This is true with Mobitel or even with Airtel. My point is that the customer should always have the freedom to switch to a network which offers good quality service. And If they don’t offer that. We should fight for it! I just took the first step.

Using Huawei E220 HSDPA modem in GNU/Linux

If you’ve been following me on twitter you already know that I got a mobile broadband connection. But if you don’t know it yet, thats a good reason you should follow me on twitter. Anyways! the modem I got with my connection is the Huawei E220, And I’m very happy to say that it works perfectly fine under GNU/Linux. I was actually planning to write a blog post on that but was busy by some projects done with our local kde developer siraj πŸ™‚ (nothing related to KDE by the way)

Few days back I stumbled upon a blog which the blog owner has written a post on switching to GNU/Linux. One of his consernce was getting his Huawei e220 working on Linux. Well, of course its a piece of cake, but I could risk a new linux user steping away from linux because he had a small prob with his 3g modem πŸ˜› so wrote this comment on his blog to realize that I almost wrote a complete blog post on how to get it done. And decided that I should publish it on my blog so anyone else having problems with 3G connectivity on linux can solve them. so here goes my mini tutorial. Btw, I did some adjestments to it so it fits in.

*******************************

E220 works perfectly with wvdial on ubuntu Hardy Haron.
Here are the steps…
(1) Plug in the modem and run
sudo wvdialconf
(2) Then edit the wvdial.conf file…
sudo vim /etc/wvdial.conf Uncomment Username and Password lines in wvdial.conf and add the following to the end of the file “stupid mode = yes
(3) Save the wvdial.conf
(4) run wvdial to get connected πŸ™‚

If you are using ubuntu 8.10 then the Graphical Network Manager recognizes the modem and connects you within seconds.

I usually use kppp with my Slackware installation and it runs really well too. I prefer kppp over wvdial because it even logs the data usage of the modem.

*******************************
Thats all folks! if anyone needs help, I’m just a blog comment away, or just send me an @message on twitter and yes I’m the seejay on twitter.

~seejay~

Wanna learn GIMP??? (!!!)

Me too!!! πŸ˜€ We gotta develop this web site for our Internet Techs&Apps module for this semester and I’m suppose to design a nice header and a logo for the site. Well, the whole site actually. I’ll have to do all the coding but my other group members are doing a great job collecting required data drawing the layouts and stuff. That kinda stuff are the most difficult for me so I’m really REALLY thankful for them for not putting me in that hell.
But guess what! I suck at graphic designing πŸ˜› well, not exactly. I just didn’t have time (oh no! not the same old excuse again!) to spend for graphic designing. I’d say graphic designing is not my thing exactly. I haven’t done much of Photoshop on my windo$ days either… But now that I have to do something for our project I thought it’d be nice to give GIMP a try. Hope it’s gonna be easy coz I’m not addicted to evil propritery graphic designing tools such as… u know… photoshop (yep! i just said that! πŸ˜€ )
So I’m now hunting GIMP tutorials on the net and found these cool sites so far, which i’ll add to my scrap book to use anytime i want (err… scrapbook??? well, thats another post hee hee…)

gimp-tutorials.net
gimp.org tutorials
youtub GIMP tutorials
gimpguru.org
gimp-tutorials.com

ok! thats all folks! feel free to let me know if you know any cool sites with nice tutorials for GIMP, i’ll keep the Links section updated as i find more stuff.
~seejay~

Will this help???

OK! I’m not a blogger! seejay is not a blogger!! not anymore!!! :-S I can’t believe I didn’t blog from such a long time. And I can’t think of any excuses other than plain laziness. It’s not unfair to say my higher education is keeping me busy to some extend but I must admit I could’ve spend “some” time to blog. But apparently i haven’t spend anytime at all πŸ˜› . Is it because I don’t find blogging as interesting as the early days coz of all those microblogging platforms such as twitter? Or is it because I personally find the blogger ui NOT as cool or fun to use as the WordPress interface which i’ve been using in the past couple of months??? I dunno. But if latter is the case, this is gonna fix it…
Some of you might remember the “Performancing” extension for Firefox right? For those who were wondering what the heack i am talking, it “was” a cool Firefox addon which you can use to post to your blog. Once installed it gives a nice ttext editor like interface within the Firefox window which you can post to your blog with just a click of a button. It really helped me to improve my blog posting “frequency” by cutting the time used to log in to the site every time i post.
But Performancing is no more, Now they have changed the name(and improved the features of course..) to “ScribeFire“. Well, to be honest, this is old news, its been months if not ages since they’ve made the change. I had ScribeFire installed all the time and I used it to keep notes and stuff… Few minuits ago I came up with the idea of setting up scribefire to post to seejay.net and thats exactly what i did. Hope this will help me getting back my old blogger spirit…. This is the first post I’m posting with ScribeFire and will keep my fingers crossed to make me like this “not so new” way and become a real blogger again…

Get Atheros 5007eg working under GNU/Linux

The Wifi card in my new ASUS lappy was Atheros 5007eg and unlike intel’s wifi cards, Atheros doesn’t seems to be working “out of the box” in any Linux distributions 😦 But you can use MadWifi tools to get them working right??? well, thats what i thought until i tried madWifi, I’ve seen many success stories on the web which madWifi worked for Atheros 5006 cards but apparently 5007eg is relatively new and doesn’t seems to be working with madWifi “yet”
After typing sudo iwconfig in the Terminal here’s what i got…

lo no wireless extensions.

eth0 no wireless extensions.

So i decided to do it the other way. By using the windows driver with “ndiswrapper” and after few hours of hard work πŸ˜‰ i was able to get wifi up and running :D. And the first thing came to my mind was “I gotta blog about this so that no one else will have to waste their time finding ways to get Atheros 5007 working with linux” πŸ™‚

So, here i’ll describe how to get Atheros 5007eg working with Ubuntu. I’m also planning to write a post on how to get it working with Slackware as soon as i get some time to try. πŸ˜€ ok here’s what i did.

First go to system>>administration>>Restricted Drivers Manager, Disable HAL and then reboot.

Then you’ll have to install ndiswrapper from Synaptic. Here are the three packages you are gonna install.
ndisgtk
ndiswrapper-common
ndiswrapper-utils-1.9

After installing ndiswrapper you’ll need the windows driver of your wifi card in my case. I had the Atheros 5007eg driver in a DVD which came with my lappy and if you don’t have, you can get appropriate driver from the Atheros website. its http://www.atheros.cz/

Open the Terminal. Go to the folder where you got the windows driver(the .inf file) for your Atheros card and type
ndiswrapper -i xxx.inf (replace xxx with the name of the inf file)

Now we have to blacklist ath_pci for type gksu gedit /etc/modprobe.d/blacklist in the terminal

Add the following line to the end of the file.

blacklist ath_pci

Then type ndiswrapper -l to list the installed drivers if your driver is working you should see something like the following

net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)

Type these commands in the terminal one after other

sudo depmod -a

sudo modprobe ndiswrapper

sudo ndiswrapper -m

And type gksudo gedit /etc/modules
and add ndiswrapper to the end of the file and save it.

That’s all folks! πŸ˜€ now reboot the machine and you can check whether the wifi is working (of course it is!) by typing sudo iwconfig in the Terminal here’s what i get after the process.

lo no wireless extensions.

eth0 no wireless extensions.

ath0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Ok! Have fun! and feel free to let me know if you have any problems or any unclear steps in this post
~seejay~

Yippee! Got myself a new Lappy!

Since I’m reading for the BSc Honors in IT at SLIIT. I had no other option than moving to a boarding place near the campus. And after moving to the boarding place all i had was ma good ol’ thinkpad lappy which was not so cutting edge anymore πŸ˜› I had my desktop pc at home but moving the beast to the new place was too much trouble. so I had no choice but to use my IBM thinkpad for few weeks until i get myself a new lappy. I checked the local dealers for few models and quickly realized that I’m too broke to buy an IBM thinkpad which are IMO overpriced in SL. correct me if i’m wrong but I really don’t think those lenavo thinkpads got the same durability of the old IBM thinkpads. Any lenavo users there???

So i decided to go with another “well known for durability” brand, ASUS! yep! luckily they got a new series of Notebooks which are priced reasonably considering the quality of ASUS products. Not to mention there were HP and Acer laptops which were more cheaper but i didn’t fancy having anything other than ASUS since I was such an ASUS fanboy πŸ˜€
So I decided to buy the ASUS X51R series lappy which had a Core Duo 2.0Gz processor. And I was able to get a 7.5k discount from the Epsi guys (our local ASUS dealers) thanks to Suchetha πŸ™‚

The first thing I did just after coming back from Epsi was repartitioning the 120GB HDD removing the evil Proprietary OS from my precious lappy. when partitioning i created one big (90gigs) partition for the /home and 1gb for swap. Rest was used to create three more partitions. One for my primary distro and the other two for installing testing versions and betas.
So now i’m back on my old track and the only prob i have is the lack of time. Not because SLIIT stuff are keeping me busy (actually theres nothing much to do these days, maybe its because this is the first semester), but because i have a ton and few more kilos of stuff to do. As most of you guys have noticed, my blogs have been deserted during the past few months. I’d love to get back to the old schedule where i posted 10+ new articles per week, but i really don’t think i’ll have that much of free time in the upcoming years 😦 so i’ll try to post at least once a week. well, it’s better than nothing right??? πŸ˜€
~seejay~

Celebrating 500 million Firefox downloads

In honor of the 500 million download mark we’re celebrating by raising 500,000,000 grains of rice in one day to help feed the world’s poor. Since we have reached the milestone, it is time to flock to freerice.com and attempt to push the days total over 1/2 billion. This is just a foreshadow to where one day Firefox will be. Food for thought, uh, better yet, Food for Lives; if we reach 500 million grains of rice, that’s a direct contribution in feeding 25,000 people for one day! Donate now, http://freerice.com

1/2 Billion downloads

Start: 02/21/2008 – 05:00
End: 02/21/2008 – 23:59
Timezone: Etc/GMT

Join the celebration at http://www.spreadfirefox.com/node/1424

Finished moving to the new domain ;)

Finally its done! πŸ˜€ yep, I’ve finished moving all ma previous posts from the old blog to the new site. phew! now its time to add some widgets and give ma identity to the blog πŸ˜‰ well, I had this idea to move to my own domain from the wordpress.com and now its done. since this is a blogger hosted site i can edit the layout without paying more bucks so here I am with ma new style. hope you people will like it πŸ™‚ If you’ve ever read ma previous WP blog(s) you might know that I’m a big fan of Garland(Famous Drupal/WP theme). Well, I *did* find the blogger version of the Garland theme but then again I thought it would be nice to have a change πŸ˜€
OK enough for now, I’ll be back with some more boring news πŸ˜‰
~SeeJay~

PS: A Big thank goes to my friend Bud @ geekaholic.org for the great help with the new site πŸ˜‰