Jailbreaking a 3G on 4.0.2

How can I accomplish this and keep it on the same software?? I haven't dealt with a 3G in a LONG time!

Any help would be appreciated!!
What firmwareis the phone on? are you on a Mac or Windows? do you want to just jailbreak or do you want to unlock too?
Just jailbreak, it's on 4.0.2 and I'll be using my iMac
Then I would suggest you go to iClarified - Apple News and Tutorials and in the tutorials, iPhone, Jailbreak look for the pwnage tool method for a 3G. You'll find links to the tool and firmware in the instructions. It will wipe the phone so make sure you do a sync and backup before you start.

Original thread: https://forums.imore.com/threads/jailbreaking-a-3g-on-4-0-2.208423/