Couldn't find anything else on this, but can't image I will be the only one (although in the xtrestothread there was another user facing the same issue) experiencing this...
After flashing 5.1.1 (Xtrestolite) on my S6 I noticed an annoying thing. When changing my dpi to 480 (and also 520) and applying a theme I got a message after rotating my phone to landscape mode (for example in the browser or camera app.
A dialog appeared with the title "Keyboard cover attached" and the message "Unable to apply downloaded themes while the keyboard cover is attached. The default theme will be applied". Pressing ok applies the default samsung theme and the only other option is to rotate the phone back to portrait after which the dialog disappears.
The issue seems to be with the ThemeCenter.apk in the /system/priv-app/ThemeCenter folder, I'll check if I can patch it somehow but in the meantime I have a dirty workaround... after applying the theme you want just rename the 'ThemeCenter.apk' to something like 'ThemeCenter.apk.mod'. Reboot the phone and you can rotate the phone as you wish without getting the msg and the stock theme being applied.
Only downside is you can not apply other themes while having it renamed (read disabled). Going to Themes in settings gives a crash, but at least the theme sticks now. If you wish to change the theme again, just rename the apk back to normal and reboot. Most likely the default theme will be applied again but you can now change it (and after changing, same procedure... rename and reboot).
For me this is good enough as I just want the material theme, so not too much hassle. Hopefully it will be of use to others as well.
After flashing 5.1.1 (Xtrestolite) on my S6 I noticed an annoying thing. When changing my dpi to 480 (and also 520) and applying a theme I got a message after rotating my phone to landscape mode (for example in the browser or camera app.
A dialog appeared with the title "Keyboard cover attached" and the message "Unable to apply downloaded themes while the keyboard cover is attached. The default theme will be applied". Pressing ok applies the default samsung theme and the only other option is to rotate the phone back to portrait after which the dialog disappears.
The issue seems to be with the ThemeCenter.apk in the /system/priv-app/ThemeCenter folder, I'll check if I can patch it somehow but in the meantime I have a dirty workaround... after applying the theme you want just rename the 'ThemeCenter.apk' to something like 'ThemeCenter.apk.mod'. Reboot the phone and you can rotate the phone as you wish without getting the msg and the stock theme being applied.
Only downside is you can not apply other themes while having it renamed (read disabled). Going to Themes in settings gives a crash, but at least the theme sticks now. If you wish to change the theme again, just rename the apk back to normal and reboot. Most likely the default theme will be applied again but you can now change it (and after changing, same procedure... rename and reboot).
For me this is good enough as I just want the material theme, so not too much hassle. Hopefully it will be of use to others as well.
Last edited: