Revert "Revert "DeviceUtils:  add some commonly used helper functions from kk44""

Breaks buiild, can work around // clean up but we need it for now

This reverts commit ee4f71b70b50211c6fcea24161c93aa41f3b64fe.