the easieist way is to defeat hanharr and the dogs, turn invisible in the cage thing go through the door up the ramp past the two guards go through the doors ahead, turn left once through and look left to see a door and a control panel click on it and say the open emergeny door this will release your jedi!
when you play as him turn invisible again and sneak through the guards to the fighting area again and wathch the cut scene! wala you've done it know you can goto the droid warehouse and use the T3M4 and go to the back of the last room the combination is 1st opion 3rd opion then 4th option i think!
go back through the room and defeat the 3 HK droids(easy) and goto the warehouse enterance door! watch the cutscene and it will take you to the droid fixing shop and there you can change the ebon hawks code using the code from the warehouse and you can select 2 other members fof the team to rescue the Jedi!
i hope this helps!
as for the original post just turn invisible and sneak past them, that what i did!