Installing hackintosh iATKOS v7 (Mac OS X leopard 10.5.8) on Dell Inspiron 1545 and my experience

Some month ago I was trying to install Hackintosh on my Dell Inspiron 1545. That was iDeneb DVD. I managed to install it in my laptop. But after installing from that DVD, I couldn’t boot into Mac. I was getting “boot error” message. In that time I was using windows 7 and didn’t know how to fix this issue. So my hackintosh exploration stopped.

Some days ago I managed another ISO of iATKOS v7 and burned it for testing for the second time. I found deviato’s tutorial from here and again installed it. While booting from the DVD I was getting some problems like kernel panic, it’s being hanged with some wired message. But again and again I was trying and finally able to see the installation window. Then I moved forward and opened the disk utility from the installation window. I created a 13GB partition for installing mac and formatted the drive in NTFS format before from GParted from my ubuntu 10.04 installation.

From the Mac disk utility I formatted my 13GB NTFS formatted drive in Mac OS Extended (Journaled) file system. Then I moved forward and installed the Mac OS X leopard successfully. After rebooting I got the same “boot error” message like my previous installation. Again I stopped here, I saw in some blogs to install patched grub2. As I don’t use windows in my laptop, I use ubuntu and the version is 10.04 (lucid lynx) and obviously I use grub2. My ubuntu grub was not there because I installed Mac and it removed my grub. So I booted into ubuntu with a flash USB drive (pen drive) and installed grub2 again to boot into my original installed ubuntu. Again rebooted and logged into my installed ubuntu and ran this command (sudo update-grub) to update my grub to see that if it finds the mac partition, it will be great. And I surprised to see that this update found the Mac installation and added an entry to my grub boot loader. I was really amazed at that time.

Again I rebooted and this time I found two entry in my grub: “Mac OS X (32 bit)” and another “Mac OS X(64 bit)”. Although the 64-bit link was not working, I entered into the 32-bit Mac. Some background works were working and debug message message was showing, but i got stuck at a message “still waiting for the rood device”. There was no way to escape from there, so i forcedly rebooted and changed my SATA configuration at the BIOS to “AHCI” mode from “ATA” mode and the trick worked. Then I was able to pass this weird error message and finally saw the welcome message and filled-up my information and voila!!! Got the Mac desktop finally :D

Now the issue first issue is to connect to internet. I use my nokia 3110c mobile as my EDGE modem. Then I went to “System Preferences => Network” and provided my phones vendor as NOKIA and filled up the APN. Finally it got connected with internet without any problem. :D

There was no sound and the graphics resolution was not showing correctly. I was getting 1024×768 resolution instead of 1366×768. To get the sound working, you need to install some kernel extension, they are said as kext extension. To install this kind of extensions, there is a utility named “Kext Helper“. I downloaded kext helper from here and the kernel extension from here (original from here). Opened the kext helper and dragged the extension to kext helper. Installed the helper by providing my password and rebooted. Yeaah, got the sound working, great!!! :D

I installed a kext extension “AppleIntelGMAX3100FB.kext”. My graphics adaptor is “Intel GM45 HD”. After installing that extension, I lost my graphics after restarting my pc. I found no way to remove that extension manually. I tried from my Ubuntu installation. But the file permission didn’t allow me to delete that extension. I am still searching to get my native resolution.

The next step to do some customization of my brand new Mac OS X :P
I downloaded and installed firefox, echofon (standalone twitter app for mac), adium (multi-protocol chat client), Coda (code editor), uTorrent (torrent client), a cracked version of TextMate (code editor) from torrent :P , VLC (media player, but failed to play video for graphics problem may be).

As a Bangladeshi and Bangla speaking people, I needed to fix the Bangla font problem as it is showing like a box and chinese character, I installed Solaimanlipi and Rupali font for Mac from ekushey.org. As I use Probhat keyboard for Bangla input, downloaded probhat layout from here.

After installing the font pack from ekushey.org, I still had problem with Bangla font’s. It still showing jibrish character like A-kar, O-kar, I-kar mismatch. Then I found some help from Nasim Vai. He said, “Restart immediately after font installation. this is a stupid bug in the font installer” and he gave me a improved version of SolaimanLipi font specially for Mac. Then I removed Solaimanlipi and Rupali font completely and installed the new font and restarted immediately ;) . After restarting everything went fine, no problem with Bangla font at all.

I am steel searching for my graphics resolution problem. I haven’t look for bluetooth and wireless solution yet. Hope to try it soon and will update the post :)

Print array elements recursively

Few minutes ago just got a tweet from phpfour (Emran Hasan) that his company is looking for PHP developers. I just visited the announcement page of their site and clicked the apply online button just for testing. There I saw an array written in PHP to solve it. It looked interesting to me and just wrote code for it. Here it is:

<?php
$array = array(
			array(141,151,161),
			2,
			3,
			array(101, 202, 303),
			"php",
			"5"
		);

/**
 * print array elements recursively
 *
 * @param array
 */
function recurse ($array)
{
	//statements
	foreach ($array as $key => $value)
	{
		# code...
		if( is_array( $value ) )
			recurse( $value );
		else
			echo $key . ' => ' . $value . '<br>';
	}
} // End recurse

recurse($array);

/*
output
0 => 141
1 => 151
2 => 161
1 => 2
2 => 3
0 => 101
1 => 202
2 => 303
4 => php
5 => 5
*/

It’s Fun :D

Tags: ,

WordPress Plugin: GAF affiliate widget

Hello there, another wp plugin from me ;) . I was thinking to be a Freelancer.com affiliate (previous GetAFreelancer) and  looking for some wordpress widget as I want to show the links in my blog sidebar. I found a plugin built by Masnun bro, but it gets related projects from freelancer.com according to your post and shows below of your post . So i thought, why i don’t I built one before anyone creates before me? :P . So here is the plugin screenshot:

gaf_widget

Widget setting screenshot

So i don’t need to describe what to do after installing the plugin, right? It’ll show the selected links to your sidebar like this:

Displaying links from freelancer.com

So why don’t you add this plugin to your blog and make some money? :D

punBB extension: Post Share

Showing links in every post

Hey folks, in a short time i’ve made some punbb extension. Here is another, it’s for sharing post. It inserts share button in every post, here is the screenshot:

You will find the configuration at Administration → Settings → Features

Administration Area

Enjoy :)

punBB extension: We miss you!

Just wrote a punBB plugin for Projanmo Forum and now sharing with the community. The plugin describes it’s uses. You will find the configuration at Administration → Settings → Features Here is the screenshot:

Download: We miss you

Requesting bug report :)

punBB extension: Login with ID

Just wrote an another punBB plugin for Projanmo Forum.

In normal uses, everyone sign’s in with username and password. But for a special purpose, i needed to login with user ID and password. Because, when the username is in a complex script language like Bangla and you want to login from the mobile and you don’t have Bangla writing system in your mobile, this feature comes in action.

This extension is written for mobile users actually. When you will visit the forum from mobile, you will be redirected to the login screen containing user ID and password.

Download: Login with ID

Enjoy!!! :D

Bangla date as a PHP class

I have worked with Bangla date a long time ago. The first initiative was to make a extension for forum engine punBB. After that, i made a javascript widget to display Bangla date in any site. The third initiative was to make a facebook application that shows current Bangla date to your facebook profile.

I always wanted to publish this as a PHP Class but never got that chance to do so. After a long time i worked with Bangla date today and finally created a PHP Class to use it anywhere by anyone. Sorry for the late.

Usage:

<?php
include_once 'class.banglaDate.php';
$bn_date = new BanglaDate(time());
$date = $bn_date->get_date();
?>

You will get an array of converted date in Bangla.

A few things needed to know. Bangla date counted or changes after the sun rise. That means, where English date changes at 12′O clock at the night, Bangla date changes at the morning after the sunrise.

Class Constructor:
This class constructor has 2 parameters. The first one in timestamp and the second one is the hour of changing the date. If you want to change the Bangla date like English at 12’0 clock at the night, you should use $bn_date = new BanglaDate(time(), 0). But if you want to change the date at 6′O clock at the morning, use as $bn_date = new BanglaDate(time(), 6). If you don’t pass the second parameter, the default value is 6. Use as you like.

After Creating the class object, you can set another date using set_time() like $bn_date->set_time(time(), 4);

Bangla Date class on PHPClasses.org

Grab your Google Buzz Status

Here’s how you can get your google buzz status with php. Just put your google username at the right place and do whatever you want.
We have used simpleXML to parse the google’s RSS feed for every user. :)

<?php
$user = "<username>";
$url = "http://buzz.googleapis.com/feeds/".$user."/public/posted";
$data = file_get_contents($url);
$xml = new SimpleXMLElement($data);

$status = $xml->entry[0]->summary;
$time = date('D j M Y g:i a', strtotime($xml->entry[0]->published));
echo "Status: $status <br />";
echo "Time: $time";
Tags: , , ,

We’ve won the “Best IT Innovation Award” from BASIS Softexpo

As a part of BASIS’s “IT Innovation Project”, 17 project was submitted for BASIS Softexpo 2010. Among of them, only 3 projects were selected. They were -

  • 1. Braille Board
  • 2. Bangla Text to Speech (TTS)
  • 3. Bangla OCR

Both, Braille Board and Bangla TTS was awarded for “Best IT Innovation Award”.

We are receiving award from Hon'ble State Minister, Ministry of Science and Information & Communication Technology

About Our Project:

Title: Design and Development of PC Controlled Dynamic Braille Board.

Project Description:
Braille is a primary medium of reading and writing for people who are blind or have low vision. Although blind or visually impaired individuals are able to access print materials by using audio books or listening to a personal reader and can write by dictating to someone, many find that they can access information more quickly and perform tasks that involve reading or writing more efficiently using Braille. Read the rest of this entry »

Tags: ,

Create your own twitter image signature

Many days ago i built two image signature as my forum signature. One of the signature shows the latest post from my blog and another shows my latest twitter update. I was inspired to do that signature by seeing Shiplu Vai’s signature. Originally he was using them and i copied the concept :D

Anyway, here is my latest blog post signature Blog Update Signature and here is my twitter signature Twitter image signature

I will show you the process to create your own twitter image signature like me.

1. At first we will get the latest twitter update by this

<?php
$username = "tareq_cse"; //Twitter Username
$url = "http://twitter.com/statuses/user_timeline/$username.json?count=1"; //json request url
$json = json_decode(file_get_contents($url));
$status = $json[0]->text; //get the status from array/object

2. Now we will get the time distance from now and the twitted time and will format it
Read the rest of this entry »