device changes for b2g

Change-Id: I3e4a9721a90f20f2025f34879ac6a761ef17dfe4