- GearHead Smart Touch Mini USB TouchPad Keyboard
- SanDisk 8 GB SDHC (I had a class 4, but a class 10 is recommended for faster performance)
- Airlink Wireless N 150 Ultra Mini-USB Adapter (AWLL5099)
- Monster High Speed HDMI cable
- Motorola USB Wall Charger with Micro USB Data Cable
- Blue transparent enclosure
Saturday, April 20, 2013
Firing up the Raspberry Pi
Thursday, April 14, 2011
Eclair to Froyo - Mission Accomplished!
However, once I got word of the Android 'Froyo' upgrade being available for the Galaxy S, I was impatient to get hold of it, mainly due to the tempting reviews of Froyo being pretty faster compared to Eclair and also the new feature set it provided.
I have a buddy (Sandu) who also got down a Galaxy S from UK, and one fine weekend, he did the Froyo upgrade like a breeze. Now that the guinea pig was through, I wanted to do this too (No disrespect bro! :) ).
But, when I tried to get on with it, I came across all sorts of obstacles, probably due to the Middle Eastern version of the device (I could be wrong here). Samsung Kies is the application that is 'supposed to' connect my mobile to the PC. But, despite how many Kies distributions I tried, I could never get my device connected to the machine. Perpetually the software was trying to recognize a device. Also, I heard from Sandu that the Android version, build number etc were different on his mobile. With a heavy heart of having to stick with Eclair for longer, I started my research on reasons for this and possible solutions.
Thanks to the power of Google, I managed to come across the second way of doing the upgrade using the simple flasher software - also release by Samsung called Odin. This looked like a very elegant way of doing it compared to Kies because i could use the downloaded firmware file and use it offline in contrast to Kies which performs a long download.
The tutorial by Neal Pradeep is what I referred to and this had the clear guidelines on how to perform the upgrade. If you are someone waiting to do the Froyo upgrade, do follow this tutorial. He also has many other Android tutorials which are really handy.
So, once I got hold of the pre-requisites specified in the guide, I backed up all my data (sms, call history, contacts etc) and applications using a neat backup tool called My Backup. Then I started to perform the upgrade step by step as specified with my fingers crossed becasue I had no idea if I was about to throw hundreds of dollars away.
It was a matter of less than 20 mins, and voila!!! My Galaxy S was upgraded to Froyo!
Few things I noticed when I did the upgrade:
- In my case, Odin connected my mobile on 2 ID:COM ports. This is ok. If this happens to you just continue.
- The PIT file we should download did not have the valid .pit extension. Add this manually in case you are not able to navigate to the file via Odin (should be trivial)
- Be patient once the phone gets restarted. The long first time boot up is really long! I had to wait for about 10 minutes.
- based on my experience, if it about flashing the phone, Odin seems to be a very elegant way of doing it.
| Previous | Current | |
|---|---|---|
| Firmware version | 2.1-update1 | 2.2.1 |
| Baseband version | i9000XXJF3 | I9000XXJPY |
| Kernel version | 2.6.29 umts_scm@S1-BUILD05 #2 | 2.6.32.9 root@SE-S608 #1 |
| Build number | ECLAIR | FROYO.XWJS7 |
Sunday, February 20, 2011
R.I.P Timmy

Saturday, January 22, 2011
QR Codes - Embrace!
Anyway getting back to the topic, seeing these 2D bar code around, I was enthusiastic to investigate more on them. Among the types like CM , PDF417, MaxiCode , DataGlyphs etc I was really interested in one category I have been seeing around quite often which encodes data in the form of squares.
This type I am talking about is officially known as QR Code (Quick Response). A code can store up to 4,296 alphanumeric characters of arbitrary text. Since it stores a bunch of characters, this text can be anything, ranging from a name, URL, contact information, or even a geeky way to represent of a short romantic poem! This has been mainly used in the Japanese automobile industry to track production line elements. But, today its utility has expanded to a broader scope and is being used to store different types of information in different domains - specially marketing.
Here’s my contact info in QR Code (basically ‘MY’ QR Code) :

As you would have already seen, my blog already has its own QR Code.
ZXing’s neat online utility to generate your own QR Code can be found at http://zxing.appspot.com/generator/
The google visualization API has all what you need to embed QR Codes in your web content. The chart API will show you all the options available. The following is the simplest form of getting what you need embedded.
<img src="http://chart.apis.google.com/chart?cht=qr&chs=WIDTHxHEIGHT&chl=YOUR DATA STRING" />
I already added the ‘QR Droid’ android app to my mobile and I am loving it already. This allows me to embed all sorts of info in QR Codes and also retrieve them pretty effectively.
Happy QR Coding!
Monday, July 19, 2010
Going LED!!!

This weekend was a rather industrious one for me since I was in a mood to fix stuff at home. It started off with fixing a damaged component of the car which would have cost over 15k LKR if went for a replacement. After this, I was eager to fix something else. Then I remembered that the fluorescent light based emergency lamps at home were giving trouble all the time, without serving the purpose. Their light was so dull and the emergency lamp was gradually becoming a decoration.
Then I thought, “hey, why not replace the dull tube with LEDs?!” Without a second thought, I got to work and formulated a quick and dirty plan. The lamp already has a chargeable 6V 4.5 Ah battery. So, my job is going to be really easy if I connect the LEDs properly without drawing out too much current from the battery and also without letting a high current flow through the LEDs which would bust them off instantly.
So, it was shopping time! Well, there’s nothing to exaggerate here. I simply bought 40 white LEDs, some circuit wire, soldering lead and a switch.
The light panel was the crucial element of the project. So, I took a thick cardboard and marked where the bulbs would go. My plan was to have two arrays of LEDs 20 on each array. 6V across two series LEDs seemed fine. Therefore, the entire light panel became a set of parallel connected two series LED units.
In this entire endeavor, I had an assistant who was very eager to help – my little sister :) . Since she also wanted to help, she was given the task of testing all LEDs to see whether they were working and she also helped to hold things in place while I soldered.
Once the light panel was made, I had to open up the lamp and make the connections to the power source. Since I had a rep to maintain, I needed to have something up and running before I left back to Colombo. So, my plan was to have the basic functionality up and running. Without any fancy stuff, I gave a direct connection to the battery and attached a new switch on the side of the lamp since the original switch was acting more like an insulator :P
And Voila!!! There’s my simply DIY project to make the emergency lamp LED powered!
This is not yet complete. I am yet to make the surface of the panel reflective and also need to run some tests to see if I can improve the power utilization. Let that be phase 2.
I know, this is not rocket science, but it was fun to get my hands on something ‘non-binary’ after a long time :)
Here are some snaps of the intermediate stages.




Monday, July 12, 2010
Watching a Java app die!


Friday, July 9, 2010
The UNnecessary intervention and our response...
Every Sri Lankan knows by now, or should know what this country went through over the last 30 years and how we got over that curse, despite the stereotype that the fallen villain has put on us saying that we remember something only for 2 weeks. When we are trying to remove the ‘developing country’ tag and move forward, it hurts the Western powers who were eyeing on SL’s bad times to hook in and take advantage of the extremely strategic location in the Indian Ocean. They would love it very much if we as a nation become a debtor to them eternally and cry and suck up for them to survive.
But when the ball starts rolling the other way, they panic. The UN is supposed to be an elite organization which is aimed at “facilitating cooperation in international law, international security, economic development, social progress, human rights, and the achieving of world peace” – at least that is what has been coined as its objectives. I agree that it has helped the member states significantly. But, again that is why it was created. How good the intentions might be, it seems to be in evil hands right now, and I have no hesitation is saying that the current secretary is tarnishing the UN’s reputation and obscuring our country’s rights as a nation.
The last few years in which the war came to an end thanks to the gallant efforts of the forces and associated leadership, it was visible in black and white how the so called saints tried to rejuvenate the terrorists who were falling day by day. There are so many atrocities taking place throughout the world by their own leading member countries, and yet they are ignored and these guys are chasing after our country with all sorts of awful charges. I need not go in to details.
So, how do we respond? At the end of the war, every one of us joined hands and hailed as one nation. It was a treat to see the national flag flying high in all corners of the country and how festivities took place in the island. A question is to be asked as to whether we still have that unity. The default answer would be ‘politicians are to be blamed’! I agree to a greater part of it. But, we are not idiots. We have brains to think and figure out who the bad guy is. When Mr. Ki-moon and his committee is trying to trample down our country, what are we doing? I know we all can’t go and declare war with those guys. But, at we should have a heart to backup the efforts taken by the government to defend us. Afterall, who has to go and face this in the end? It is not you and me. It is the government of the country who will be the interface. So, no matter whether you like the people in it or not, at a point like this everyone should ‘back em up’. Everyone can give their opinions on stages and thorough media. But, it is just a small set of people which has the ability and most importantly the spine to do something for it.
One person had the spine to walk up to the UN office and start a death fast. How realistic or not that might be, at least he had the guts to do it for the country. And it is extremely heartbreaking to see how he has become a joker on the face of many. Some guy who is excreting in cyberspace has even started a competition to predict the day that this person dies. Should we look at these and have a hearty laugh? Or should we condemn such treachery?
Think about it…
We have only one country and the choice of everyone matters...
Disclaimer : This is a generic thought of mine as someone who loves the country which has nurtured him up to now, and is not aimed at promoting the government, a person or anything like that :)









