add support for glacier/legacy devices

Needed for Glacier Camera to work
Credit:CM
Change-Id: I3b7001e682a6f7a845e62278fe2afa9ccf5552a4