Wednesday, September 21, 2011

How to unlock Huawei E153 Dialog or Mobitel modem

 Unlocking Huawei E153 HSDPA modem is a simple 3 step process. You can use any network once you follow these 3 steps.


  1. Download the Huawei firmware update manager from here Huawei E153 Firmware updater .
  2. Then plug the dongle into the computer and run the exe file. At some point in the process it will ask for the password. This is the password needed to flash the firmware and update the new firmware. 
  3. You can get your password from this link. http://tools.texby.com/unlock-codes/huawei/ . Just insert the IMEI number of your device.  If your IMEI number (Which is mentioned inside the dongle or you can find it from your invoice also. This is a 15 digit number) is 123456789012345, 
IMEI: 123456789012345
Unlock code for your IMEI number is 38563052 and flash code is 61539927

Password which you need to give to the software is 61539927. This is the flashing password. 
Once you give the password, then it will update the firmware and it will automatically install the new drivers. Then you can use any SIM card with this dongle.
Enjoy Hacking !!!!!!!!!!!!!!!!!!!!!!!!
More complete and advanced method is mentioned in this blog Unlock any Huawei Modem

Saturday, September 17, 2011

Different Frequency Bands used in different continents of the world.



Different Frequency Bands used in different continents of the world.

If you want to travel to different  continents of the world with your mobile phone, not only the mobile operator or SIM card matters, but also the capabilities of your mobile phone. You may sometimes want to go to USA ( say you are living in Srilanka). You will go to one of the mobile operators and ask for the roaming facility. First question they will ( should ) ask from you is that whether your phone is a dual band, tri band or quad band. All of a sudden you have got into a some kind of trouble because you don’t know about these frequency bands. This post will give you some idea about different frequency bands used in different countries.

Dual-band - A dual-band phone operates at both the 900 MHz and 1800 MHz spectrum. Dual-band works in Europe, Africa, Asia, Australia, New Zealand and much of South America. Normal 2G phones used in Srilanka like Nokia 1200, 3310 are included into this category.

In Europe two bands (900/1800 MHz) are used in the same country to improve coverage.

In America two bands (850/1900 MHz) are used in the same country to improve coverage.

Dual band phones are also used to enable roaming between different countries. For example, a cellphone with dual band 850/1800 MHz will work in both the United States (850 MHz) and India (1800 MHz).

Examples for Dual Band Phones: Nokia X6, 1800, 1280, N900

Tri-band - A tri-band phone operates on three frequency bands, 900 MHz, 1800 MHz and 1900 MHz, allowing you to use it in Europe, Africa, Asia, nearly all of North America, Australia and New Zealand

2G Triband phones are mobile phones that support the GSM 900/1800/1900 MHz bands commonly sold in Europe, Asia and Africa, (for example the LG KE820 is a triband mobile phone that is sold in Europe, but works in big cities of America but not so well in suburbs and rural areas).Or alternatively the 850/1800/1900 bands (commonly sold in the Americas). The Motorola V300 formerly carried by Rogers Wireless used a rare combination of 850/900/1900. A 2G Quad band (850/900/1800/1900) offers more coverage and is now quite common.

Examles for Tri-Band Phones: Nokia 5530, 6700, X3, C5

A 3G Quad band offers more coverage.

Quad-band - A quad-band phone allows you to roam almost anywhere globally. It covers the 850 Mhz, 900 MHz, 1800 MHz and 1900 MHz frequency ranges. Many countries in South America only have 850 MHz GSM service while both 1900 MHZ and 850 MHz GSM services are supported in the USA. 99% of all countries use the GSM standard. We believe eventually GSM will be the only cell phone standard in the world.

A quad-band mobile phone is used to designate a phone that can operate in the following GSM frequency bands:
• 850 MHz (U.S./Canada/Latin America/Brazil (Only the carrier Vivo))
• 900 MHz (Africa/Europe/Brazil/Africa/Australia/Asia (ex Japan and S. Korea))
• 1800 MHz (Africa/Europe/Australia/Asia/Brazil)
• 1900 MHz (U.S./Canada/Latin America)

Examles for Quad-Band Phones: Nokia E6, 5800, 5230, N8

සුවසේ ජීවත්වීම


බලාපොරොත්තු සහිත වීම යහපත් නමුත් බලාපොරොත්තු කඩ කර ගැනීම යහපත් නොවේ. පසු නොබැස ක්‍රියා කිරීම ඔබට අයත්ය. ප්‍රතිපලය දෙස බලමින් අහංකාර වීම හෝ කලකිරීම අපට උරුම දෙයක් නොවන්නේය. තමා කරන සියලු දෙයකින්ම ලැබෙන ජය පරාජය ක්‍රියාවට භාර කිරීම සුවසේ ජීවත්වීමට ඇති ප්‍රධාන මාර්ගයයි. ඉතා සියුම් ලෙස පරික්ෂා කර බැලු විට පරාජයෙහි මෙන්ම ජයෙහිද වටිනාකම ඇත්තේ ඒ සඳහා තමා පිළිපන් මාර්ගයෙහිය. ගන්නා ලද උත්සාහයෙහිය.

ප්‍රතිපලය දෙස ගිජු සිතින් බලන්නා තුල දියුණු වන්නේ බියගුළු කමත් නොසන්සුන් බවත්ය. මේවා සිතේ ධෛර්යයට වදින මාරක පහරවල්ය. සිතේ ප්‍රීතියට පහල වන බාධාය. නිර්භය බවත්, ස්ථිර ගතියත් ඇති තැන සැපය දියුණු වෙයි. ක්‍රියාත්මක වීමට රුකුල් දෙයි. "සියල්ල යහපතටය" යන උසස් වචනයේ නියම අදහස දන්නා තැනැත්තේ සුවසේ ජීවත් වන්නේය. 

Friday, September 16, 2011

DirectShow tutorial for windows mobile - Part II

Filter Graph Manager (FGM)

As you have seen in the first part of this tutorial (here) the atomic module of the direct show is a filter. Set of connected filters are used for processing a multimedia stream. This is called a filter graph. Most important feature of the DirectShow API is the Filter Graph Manager (FGM) which handles all the required operations for handling a filter graph.

If you are processing a multimedia stream with DirectShow, you don't need to look after each and every filter. FGM controls the flow of data through the filter graph. You only need to call high level API calls such as

  • Run - to move the data through the filter graph
  • Stop - to stop the data flow
FGM will take care about all the required operations with the filters. 

If the user want to handle the filters on his own, then user can use the "COM" interface to interact with filters. 

Another thing that FGM does is that passing the event notifications to the application, so that user application can respond to events such as
  • end of the stream
  • pause
  • stop
This process is done with the help of the Operating systems Message Queue. If end of the stream event is happened, OS will pass that message to the FGM. Then it will pass the relevant message to the application.

to be contd ...

DirectShow tutorial for windows mobile - Part I


As per the Microsft's definition
Microsoft® DirectShow® is an architecture for streaming media on the Microsoft Windows® platform. 

DirectShow provides for high-quality capture and playback of multimedia streams. It supports a wide variety of formats, including Advanced Systems Format (ASF), Motion Picture Experts Group (MPEG), Audio-Video Interleaved (AVI), MPEG Audio Layer-3 (MP3), and WAV sound files. It supports capture from digital and analog devices based on the Windows Driver Model (WDM) or Video for Windows. It automatically detects and uses video and audio acceleration hardware when available, but also supports systems without acceleration hardware.

The basic building block of the DirectShow API architecture is a filter. 
"Filter is a unit which performs a single operation on a multiledia stream."
examples for the filter are 
  1. Filter for read files
  2. Filter for decoding a particular media stream format, such as MPEG-1 video
  3. Filter for passing data to the graphics or sound card
filters are used to manage and manipulate data. these are used to perform actions such as parsing, decoding, formatting or rendering on a multimedia stream.

To perform a given task, we need to connect several filters such that output of one filter is an input for another filter.
"Set of connected filters is called a filter graph"

Solution for C++ linker error LNK2019: unresolved external symbol wmain referenced in function mainWCRTStartup

 If you are a programmer for WIN32 API, following error would have given you lots of headaches. When you are compiling a simple application with either one of the following functions as your main() function, this error can be occured.
  • WinMain
  • wWinMain
  • main
  • wmain
When you are compiling such a program with Visual Studio, you may get the following error.
error LNK2019: unresolved external symbol wmain referenced in function mainWCRTStartup  corelibc.lib

What this error reflects is that the wmain function cannot be found by the compiler. 
The CRT entrypoint for your application needs to match your "main" entrypoint.  Here is the mapping:

WinMain -> WinMainCRTStartup
wWinMain -> wWinMainCRTStartup
main -> mainACRTStartup
wmain -> mainWCRTStartup

The entrypoint is specified on the linker command line after the /ENTRY option.  Sometimes the linker can guess which is the right entrypoint to use, but I would never trust it and just always specify.

Go to the properties->Configuration Properties->Linker->Command Line->       
In the Additional options section, just add the following line

/ENTRY:"WinMainCRTStartup" ( If you are using WinMain )

Like that you can add the relevant option for matching main function you are using.

THAT'S IT !!!!!!!!!!!!!!!!

Thursday, September 15, 2011

Steve Jobs the complete turn around from zero to HERO

 Everyone today thinks of Jobs as the genius who gave us the iPod, MacBooks, the iTunes store, the iPhone, the iPad, and so on. Yes, he transformed personal computing and multimedia. But let’s not forget what else Jobs did.


Jobs (along with Steve Wozniak) brought us the Apple I and Apple II computers, early iterations of which sold in the mere hundreds and were complete failures. Not until the floppy disk was introduced and sufficient RAM added did the Apple II take off as a successful product.

Jobs was the architect of Lisa, introduced in the early 1980s. You remember Lisa, don’t you? Of course you don’t. But this computer — which cost tens of millions of dollars to develop — was another epic fail. Shortly after Lisa, Apple had a success with its Macintosh computer. But Jobs was out of a job by then, having been tossed aside thanks to the Lisa fiasco.

Jobs went on to found NeXT Computer, which was a big nothing-burger of a company. Its greatest success was that it was purchased by Apple — paving the way for the serial failure Jobs to return to his natural home. Jobs’s greatest successes were to come later — iPod, iTunes, iPhone, iPad, and more.

For those who were paying attention to the computer industry at the time, the unceremonious dismissal of Jobs from Apple (which was preceded a few years earlier by the departure of his friend and co-founder Steve Wozniak from day-to-day operations at the company) was something of a shock, and was taken by some as the sign of a sea change in Silicon Valley. The days of the geeks and the entrepenuers were over, it was said, and it was time for the businessmen to take control. The Dot-com boom in the 90s, combined with the fact that the new, more corporate leadership at Apple was largely letting the company sit still while Microsoft, Intel, and Dell had the field virtually to themselves, sort of put the lie to that. However, it wasn’t until Jobs returned to Apple and, borrowing an idea from the guys at Napster, came up with a revolutionary new way to sell and listen to music. And the rest was history.

Before that happened, though, Jobs had failed. He didn’t seek a government bailout. He didn’t whine and complain, He just moved on, and bided his time. The one thing that Schulz leaves out of his history is Jobs’ role at Pixar, which started as a company that Jobs purchased from George Lucas after he left Apple. That company revolutionized animation in the movies, and on television, and it probably wouldn’t have existed but for the failure of Lisa and Jobs’ departure from the company he founded.

Tuesday, September 13, 2011

All new Windows 8 has come

Microsoft's latest operating system Windows 8 has been unveiled. This operating system carries all the best features from Windows 7 and have improvements on top of that. Following video will give you the glimpse of an idea about Windows 8 which will be running on everything other than your rice cooker :)




Sunday, September 11, 2011

How media should act for a better society

With the introduction of the television to the srilankan community, it has affected it in many ways. First it was a great experience for people get information in both visual and audio forms. But with the time, It has caused many more problems than what it did for the well being of the society.

First of all it has just polluted the instincts about the life and the art if the people. If you take most of the tele dramas, films, advertisements, reality programs or even kids programs, they are just nuts. I mean there is nothing a person can take from those visual effects for the development of his life. Those things will only rooted the hidden temptations of people about sex, chatting, teen feelings and many more dull things which would not help people by any means. Showing a model for a soap or shampoo advertisement is very much acceptable. But when they are showing half nude model for a tuition class or academic institute is not good.

The worst thing is these tele dramas. They just killing everyone's time without giving any advice or reflection about the true life of people. They just shows the lives of dream girls and dreams cities, which will not be true forever. Some of the worst things that those tele dramas showing to the society are


  1. Love affairs of teenagers which are very well supported by these authors
  2. main roles without any core values of a human being 
  3. few cute models who showing there actual nature through very ordinary acts

Above are only few things these tele dramas are giving to the society. There are many more.

How should media act for a better society?

There are not much things to do by the rulers of these media organizations to guide the society to the better path.

  1. Think what would have happened to you if you have seen these things at your child age
  2. Think that your son or daughter is looking these tele dramas and advertisements
  3. Understand the responsibility of your job towards the society
  4. Finally, Remember that you will not take any money or property with you when you leave this world.

I hope that if the media rulers can adopt to above rules, then this society would be a better place to live tomorrow than today.