iPhone 4 and weird solutions to common problems

I recently bought an used iPhone 4 off ebay, got it for a killer price and in great condition. Last time when i had bought an iPhone 3GS, it took almost 2 months before i could get my hands on it, but this time i was lucky i got the phone in approx 3 weeks. So the first thing i had to do was get it IMEI unlocked so that i can use any GSM sim with it, a.k.a Factory Unlocked phone. But my excitement was for a very short while i realized the first problem with the phone:

home button not responding
Yuck, what’s the use of an iPhone when the most important button is not working. I was frustrated and i was feeling a bit cheated since the seller hadn’t mentioned the same in the listing. Maybe the damage occurred in transit because the packaging was poor. Anyways, from the moment i got hold of this iPhone 4, i was in search for a solution to this problem. After all possible options found in different forums and thread, the conclusion in my case was, that i will have to replace the iPhone 4 home button flex cable. Disappointing, but no choice left. I ordered the required part also. But i was in for some real surprise that fine day when i accidentally dropped the iPhone on the floor. The distance wasn’t too much for the iPhone to travel in the air since it slipped off my hand when i was having lunch. I would say approx less than 2 feets. I was ready for another shock, i started thinking which part i will have to order this time, but after i picked up the phone, i found everything intact. I was relieved but voila, the home button started working on it’s own. No more misses and each and every time i clicked, the home button responded. That fall did something which bought everything in place. What can i say, i found one of the most weirdest solution to this problem. I will not recommend this to anyone, so if you wish to try this, it’s at your own risk, please don’t hold me responsible for any damage please. So now i know every time my home button stops working, i just need to throw the phone on the floor, accidentally though ๐Ÿ™‚

earpiece stopped working
A day before i posted this, the earpiece stopped working. I didn’t realize this initially but then after i received couple of calls, all i heard was pin drop silence from the other end. I knew i was in for another trouble. I thought this time i will have to replace the earpiece. So yet another search began and once again i found one of the most weirdest solution to this problem, this time it’s an official solution that i found. All i had to do was blow hard enough inside the phone using the space left open by the dock connector below the home button. And voila, the earpiece started working.

My imagination has stopped working now. What an unexpected an unbelievable world of products this is. I have been lucky in both the cases since so far i didn’t had to change any of the parts of the phone. I enjoy dissembling iPhones. I already have 3 iPhones with me in the dissembled form. Who knows what in store for me next. I am just so eager to dissemble this one. At the same time i pray otherwise ๐Ÿ™‚

Just can’t stop laughing ?

Even you won’t be able to control your laughter. This is what the Font Book on Mac OS Snow Leopard version shows if youย select Devanagari MT font. Apple, please have some mercy on us! ๐Ÿ˜€ Thankfully they changed this message from Mac OS Lion onwards! ๐Ÿ˜‰

Upgrade/Replace the Hard Disk of Macbook Air 1,1 (1st Gen) to an SSD

I have been using the original Macbook Air 1st Generation 1,1 Laptop for quite some time now and like many others i was also wondering what can be done to speed up this beauty. The only component which can be upgraded easily is the hard disk and that’s what i started searching for. This laptop comes with Samsung 1.8” 80 GB PATA Hard Disk by default and replacing it with another HDD makes no sense at all. So after searching on the net, i found out that people are using third party SSD’s which are specifically designed for this model and they are getting very good performance after this upgrade. So i started my bit of research to find out which one to buy. The one which i shortlisted was KingSpec. The reason was simple, it’s the cheapest SSD available for this model. I bought a 128 GB KingSpec SSD for 130$ off eBay. The other alternative no doubt was OWC, but it was expensive, for a 60 GB SSD, i will have to shell out 159$. The reviews were very strong for OWC as compared to KingSpec but for me VALUE FOR MONEY was more important because no matter how fast the SSD is, the legacy PATA connector required for connecting the SSD to the Mac would limit it’s capability unfortunately.

After receiving the SSD, it was time to open the MBA and all thanks to ifixit, it was just a matter of 15-20 mins of investment, my MBA was all set to boot with a brand new SSD for the first time.

The setup was done using an USB installer for Lion which i had prepared. All the steps required like formatting the disk, creating partitions went on smoothly. There was no noticeable performance difference when installing Lion. I thought it will complete in a breeze, but it took the usual 30 mins approx to get the system ready. So the first reaction was that there is no difference in performance after upgrading to this SSD. Even there is no major difference in the boot time in my case.

But yes, there is a significant performance improvement no doubt. Before upgrading to this SSD, i was running Snow Leopard on this Mac because Lion was struggling like anything. But now i am running Lion after upgrading to this SSD and the performance is much better as compared to what it was before. I am able to smoothly run Lion now which i wasn’t able to before. Applications load quickly and honestly speaking i am very satisfied with KingSpec.

I ran xbench to find out the real story. Have a look at the difference between the read/write operations of the old Samsung 80 HDD vs the KingSpec 128 GB SSD.

 

All in all, a 50% boost in the overall IO operations and what else can i say, i am quite happy with the change.

A Long Strange Trip To Java

What can I say about this title, the book describes it better. I talk about this book in all my Core Java sessions. There is no book on Java except this one which shares with us the real history of Java Programming Language (Please correct me if I am wrong). The name of this book is Java Handbook by Patrick Naughton. It was released way back in 1996 and never revised again. Patrick is one of those apart from James Gosling who is responsible for Java. He in the Epilogue of this book describes all the stages through which Oak went through with and why it didn’t survive. I believe every Java developer should read this book and the Epilogue atleast. I was mesmerized when I read it again and I am sure I am going to read it again and again. Go grab your copy now!

And even there is an online uncensored version of the same available. If you just search for “A Long Strange Trip To Java”, you will find the same. Enjoy reading!

Top of the List!

How can i forget this moment of surprise i was in for. Found my name on top of that list and what else can i say, i would on cloud nine that fine day ๐Ÿ™‚

Majrul Ansari

Java Language Version Code Names

I knew some but when i saw this list, i was surprised to find so many. Awesome!

http://192.9.162.55/j2se/codenames.html

The missing ones in that list,

Java 6 – Mustang

Java 7 – Dolphin

Java 8 – Project Coin or what?

 

Running Mac OS X Lion 10.7.x on ASUS X53SC Laptop

I recently bought this ASUS X53SC Laptop and the very first thing i wanted to do was install Mac on it. I am an Hacktint0sh user and i love it more than a real Mac. What i would like to share in this blog is how did i manage to get Lion running on this Laptop and what were the problems i faced.

1) “still waiting for root device” solution/fix which worked for me

I went for iAtkos L2 because my retail USB installer didn’t work for this very popular error “still waiting for root device”. All the common solutions i found on the forums, none of them helped me initially. But the surprise was, even iAtkos L2 also got stuck on the same error. That’s when i understood that even the retail USB installer would have worked if i am able to solve this error. So there was obviously something else which was causing this problem. AHCI was enabled by default in my BIOS as that was the most common solution found on the net so solve this error. One more solution given was to enable/disable Legacy USB support, but as we all know Laptop BIOS’es have all such options disabled.

Finally the solution which made the installer move forward was rd=disk1s1 -x -v

I was so happy when i saw the installation welcome screen. Big sigh of relief! The reason for disk1s1, because the internal Laptop hard disk was referred to as disk0. So somehow the installer started and i carried out the common steps required for setting up Lion. After the installation succeeded, it was time to boot from the internal hard disk. Since i had used iAtkos for installation, chameleon got installed by default in the same step. But once again i was greeted with the same “still waiting for root device” error. This time it was frustration when i saw it.

According to the install, i had Windows 7 already running on the first partition on my disk along with an extra 100 MB partition which windows creates. So that means I had installed Lion on the 3rd partition of my disk. So once again i tried the option which helped my external USB installer work, rd=disk0s3, but hard luck this time, it didn’t work.The only option which worked for me is no more working. ๐Ÿ™

After again scratching the head for some solution, i restarted the installation from the external USB and this time i selected additionally the AHCI option from the customize window in iAtkos and what can i say, it worked. I need to see what that option did, but most probably it’s the AHCI injector. Now i was able to complete the rest of the steps like providing personal details, username/password, timezone and others.

Apart from this i also remember, i had to use PciRoot=0 instead of PCIRootUID=0 or 1, but now it’s all mixed up, did the AHCI option from iAtkos solved my problem, or did this chameleon option solved my problem? I am going to try a fresh retail install very soon to confirm but for the time being, no more waiting..i am happy ๐Ÿ™‚

I will update this post with more information on the progress i made further.

02) 03-April-2012. Intel HD 3000 Artifacts and Mirroring Problem

Sometimes, it’s so difficult to make things work and especially when you don’t have the knowledge and that’s exactly what happened this time. My next task wasย to make the Graphics work smoothly. The device id of the HD Graphics is 116, so I thought myself lucky, but that wasn’t to be the case. Till date, I haven’t been able to solve the artifacts and the mirroring problem. Tried all possible options found across different forums, from kext editing to DSDT patching, nothing fixed it up for me. I think I need to live with it for some more time till someone finds a more concrete solution. Everytime I play the game of Chess, it hangs after 2 moves. Although all other features are working smoothly. So I believe, QE/CI is working but not 100% though.

In between I managed to install Mountain Lion Developer Preview 1 to see what’s new and yes I can confirm the artifacts are still there, but the game of Chess didn’t hang at all. So let’s hope artifacts also go away for ever very soon.

And for me mirroring is a must. After editing the connector table, extended display works without any problem but as soon as I select the mirroring option, it freezes with no further log, just a nice blue color screen. I found on one forum that mirroring is working over HDMI port, so that’s why I’ve ordered a HDMI Male – VGA Female adapter. Once it reaches, I will confirm if this is true. My main purpose of mirroring is to be able to connect to Projectors for my training sessions.

Edit: Didn’t work. The HDMI-VGA Female Adapter didn’t work for me.

03) 27-June-2012. Mountain Lion – No rope to climb further

I think i am able to convince enough that instead of investing 40k in buying this laptop, i should have rather added another 10k to buy a real mac. Till DP 2, i was able to install and run it on this laptop, but since DP 3 and DP 4, it’s otherwise. It simply freezes when it’s time to load the Graphics. The new AGPM has something to do with this, i am sure. Only if i boot in safe mode (-x) i am able to log into the system. So one more disappointment on the floors for me.

The whole journey is taking a U-turn and i don’t know what to do. Nothing is working smoothly on this i7 Quad Core Sandybridge hardware. As of now i reinstalled 10.7.3 on it just for the sake of it.

I sincerely miss my Lenovo B450 Laptop which was a 100% Mac compatible laptop. Miss you baby!

iPhone 2G Factory Unlocked. I was surprised!

I recently bought a used iPhone 2G from an online store. It had a cracked LCD so got it at a very good price. The most interesting part of this purchase was that after i restored the firmware to 3.1.3, the surprise was that it got unlocked automatically. I didn’t use any of the popularly used options for unlocking this phone. ๐Ÿ™‚

The only thing i don’t know is in which country was iPhone 2G launched as factory unlocked? Or how come i am so lucky that i have an unlocked one.

Even today, an iPhone 2G is far better than any other cheaper Android phones. If someone wants to buy an Android phone in the budget of 6-7k, i think an iPhone is always a better option. Android really sucks on lower end handsets which don’t provide quality hardware to run it as it’s full potential.