Patches to fix compilation and to get somefeatures works for many devices.