fix device branding (credit to XDA user Silentwidow)