Chapter 7 sounds right for you based on what you posted.

Remember student loans can NOT be discharged in a bankruptcy.

Yes, you are correct a secured card will help you get a decent credit score in time.

Here is a link to one of the better secured cards. However do NOT apply for it until your bankruptcy is discharged;

http://www.orchardbank.com/