Support for custom framework from BAM Android Rom

I hope that is everything to get this to work.