Facing problem with SSD1306 OLED Display

After getting motivated by some youtube videos, i purchased an OLED display (0.96") from my local electronics market. The images are shown below.

I am using U8glib and uncommenting: U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_FAST); // Dev 0, Fast I2C / TWI

but unfortunately getting this as output. Can anyone suggest me something?

is there anyone who can help me out

somebody who can help me out?

Have you tried the AdaFruit library here. I seem to recall a thread about problems with some of these displays working on Arduino (here) so you might be unlucky.
Check it out and report back.

Hi, the resistor R4 at the back of the display, i removed it and put a 10k resistor . Its working now.

But not able to get any software to convert BMP images into hex.
any link?

sabby188:
Hi, the resistor R4 at the back of the display, i removed it and put a 10k resistor . Its working now.

That's great that you got it working, what made you think R4 would do the trick?