To get bond you normally will need to do a motion for custody re-determination and that must be a written motion submitted to the Immigration Judge. The IJ then sets a date (usually 7-10 days after the submission of the motion. Please be advised that there is sometimes circumstances where ICE releases people but that is rare. The normal way to get bond is through a scheduled bond hearing before the IJ and a competent attorney should be consulted. Do not confuse bond with parole. Consult a competent AILA attorney who handles detention issues.
No attorney-client relationship is created or implied by this communication in any way. Consult a competent immigration attorney preferably one who is a member of the American Immigration Lawyers Association (AILA).
It is first up to ICE to deceide whether and on what terms they would release him from custody. Only if ICE refueses to release your friend, must he request a bond hearing before an Immigration Judge.