Monday, March 22, 2010

iPhone Stuck On Apple Logo or iTunes logo

Check out the Video below to see what I mean. Both iphoene and ipod are almost identical to iTunes. So what works for one works for other. Sometimes when jailbreaking an iPhone or after installing a jailbreak app, your iPhone will get stuck on reboot, or will hang on the Apple logo. This problem happened to me before and it was kind of a nightmare. In order to get your iPhone back on track, you will have to put it in DFU mode (Device Firmware Update mode). This will help you restore your iPhone without loading the OS first. Putting you iPhone into DFU mode should be used as a last resort if your iPhone is either stuck on the Apple logo or keeps rebooting.
1. Connect your iPhone to iTunes.
2. Hold the Home button and the Power button at the same time for 10 seconds.
3. After exactly 10 seconds, release the Power button but keep holding the Home button for 10 seconds or until iTunes pops up a message saying that it has detected an iPhone in recovery mode. At this point, click OK, then click “Restore” in iTunes.
Note that it often takes several attempts to get your iPhone in DFU mode.
Check out this video for a detailed explanation







.

Sunday, March 21, 2010

Can ping can not browse

It was Thanksgiving and I went to my adviser's place. He had a Toshiba laptop with a weird error. None of the browsers could connect to internet. However, if you ping any website using command prompt you do get replies. That means the laptop connects to the internet but not through a browser. I tried various things such as disabling Symantec antivirus, even disabling firewall and trying to run browser as an administrator but to no avail. Finally, before giving up I wanted to try the virgin OS, it was XP in this case. So I downloaded
Norton removal tool from their website. After that I uninstalled Norton antivirus and then ran this tool to remove the residues. It asked for a restart and Voila. Everything was working fine. The browsers connected to internet without any problem.
The issue was with Norton for sure. But what was the issue? The thing is that laptop these days come with a pre-installed version of Norton. If you uninstall that one and install a new version it might conflict with earlier version and cause weird issues in your OS. You need to run Norton Removal tool once you uninstall their product. In short, Norton Sucks. I don't recommend a product which needs a special removal tool. If I were Symantec I would bundle this tool in the un-installation package. Anyways, I hope this will come handy.

If you liked this post please comment below. It makes us happy to see that we could help someone. Moreover, it makes google think we are important and this way we can reach more and more people.

iPhone can not connect to home wifi

Two days ago my iphone was working fine but today it has stopped connecting to my home wi-fi. I am entering the password perfectly but it says "can't connect to network nirvana". I do not have an internet connection or data plan with my carrier. Therefore, I am pretty much dependent on my home wifi for my iphone's net needs.

You get up in the morning and check your emails on your iphone. That is a good start of the day. But my days were no longer going to be good. It took me two days to figure out the solution.  Keep reading for the solution.

You have many options and all of them will succeed. First and unliked one is to connect your phone to iTunes and upgrade it to a new firmware. This will work but if your iPhone is jailbroken and you upgrade to 3.1.3 you can no more jailbreak it. So forget this option.


The other my recommended solution to this problem is to go to Iphone->Settings->General->Reset->Reset All settings. This should work for you. Sometimes resetting the network only settings work too. But if that doesn't work for you try resetting all settings. Once your iphone reboots you can connect to your home phone normally.

If even this doesn't work then you need to check if your iPhone is under warranty or not. If it is under warranty make an appointment with Genius Bar. They will replace your phone with a new iPhone.

Comment if you found this post helpful.

Saturday, March 13, 2010

Microsoft office on mac - toolbars won't show

This is an icky problem. It can get you mad if you are new to Mac. Well, I would say welcome to the world of Mac. If you are having this problem I am going to tell you a solution you will use forever. 

This is not a bug or something like that. It is just the way Mac "windows" behave. The toolbar isn't shown automatically even if you set view->toolbar->(your toolbars). 


The reason is that the space where those toolbars appear is capsulated. All you need to do is to click on the capsular button on the top right side of you Mac Office applications such as Microsoft Word, Excel or powerpoint. 

Just about any program for Mac OS can present the same problem. thanks to a virtually unidentified feature from Apple. Click the capsular button at the right end of a document window's Title Bar to turn  off the "Minimize the Drawer/Toolbars" settings. The capsular button is that little white thingy where you see min/max/close buttons in Microsoft Windows. Hope this helps. If it helped you please comment and digg this post.

Tuesday, March 9, 2010

Implicit Declaration of function in C - Segmentation fault

This warning is very common in C programs. Usually we can neglect it but it can cost you dear if you have it without notice. I learned it the hard way that warnings should be debugged from a code. I now always compile my programs with -Wall flag to see each and every warning.

There are two main reasons for this warning.
1) Header file not included
    Try writing a program that uses malloc function and do not include stdlib.h in your code. You will see this warning. The solution is simple, just add
#include <stdlib.h >
in your code and you are good to go.

2) Prototype mismatch
This one is a tricky one. I remember when I was working on my research project I had a bunch of these errors for the functions I created myself. I knew there was nothing else needed as those were my functions. Moreover, I had the prototypes there at the top. The issue was that these functions were declared in a different file called util.c, that file resided at the same path though. I had a different way of writing prototypes and declarations. For example look at this function:

void *myfunc(para1, para2)
int  para1;
char *para2;
{

body

}
This is a valid way of writing a function and it is fine to use a prototype like:
extern void *myfunc();
at the top of this file. However, if this function is declared in some other file then this will cause you a warning. Instead of explaining the details I would say just change the prototype to something like this:
extern void *myfunc(int para1, int para2);
and you will see why your program was throwing segmentation faults.

Sunday, March 7, 2010

Blue Screen of death on Windows PC

"Blue Screen of Death" is a very common problem on Windows PC? That name might be a bit over dramatic, but it has become well known through the years of the Windows operating system. All of a sudden while you were working your screen disappears and a blue one pops up in its place with a cryptic message saying windows has encounter an error and must shut down. Then it gives a lot of numbers in the form of hexadecimal bits and tells that it is dumping to memory. Sometimes this happens when you restart your pc.

This could be because of a bad driver that you installed knowingly or unknowingly. Usually, the Lan Card, Modem or Gaming cards. If you know what you installed recently try uninstalling that driver. If you installed a new hardware just detach it and it should be fine. If that does not fix this it means your OS has been corrupted by that system/card/driver. Try restarting your pc and it might work if you are lucky. But if that was the case you would not be reading this post.

A quick option is to open your computer, take your RAM out and wipe it with alcohol/spirit, usually Petrol, After Shave or nail polish remover will do this job.

If this doesn't work or you are unsure of how to open your pc you need to either repair windows or reinstall it. Make sure you back up your data such as pics and documents etc before doing any of these two operations.

If reinstalling fixes this issue you are good to go. restore all file from our backup source and be happy. If nothing has fixed it yet you need to see a hardware guy.