Edited M7 device and kernel