Default problems changing dpi on stock S5 and changing hardware buttons

Ive used all of the available apps for changing dpi (texdroider, dpichanger and one other), but the Screen Info app shows that my dpi has stayed the same. How can i change the dpi manually? I dont even think the app settings xposed app even works when i try to change the dpi of individual apps.

A̶l̶s̶o̶,̶ ̶w̶h̶a̶t̶ ̶a̶p̶p̶,̶ ̶x̶p̶o̶s̶e̶d̶ ̶a̶p̶p̶,̶ ̶o̶r̶ ̶b̶u̶i̶l̶d̶.̶p̶r̶o̶p̶ ̶t̶h̶a̶t̶ ̶i̶ ̶c̶a̶n̶ ̶e̶d̶i̶t̶ ̶m̶a̶n̶u̶a̶l̶l̶y̶ ̶c̶a̶n̶ ̶i̶ ̶u̶s̶e̶ ̶t̶o̶ ̶c̶h̶a̶n̶g̶e̶ ̶h̶a̶r̶d̶w̶a̶r̶e̶ ̶b̶u̶t̶t̶o̶n̶s̶?̶ ̶I̶ ̶w̶a̶n̶t̶ ̶t̶o̶ ̶s̶w̶a̶p̶ ̶t̶h̶e̶ ̶a̶p̶p̶ ̶s̶w̶i̶t̶c̶h̶e̶r̶ ̶w̶i̶t̶h̶ ̶i̶t̶s̶ ̶l̶o̶n̶g̶ ̶p̶r̶e̶s̶s̶,̶ ̶ ̶t̶h̶e̶ ̶r̶i̶g̶h̶t̶-̶c̶l̶i̶c̶k̶ ̶(̶s̶e̶t̶t̶i̶n̶g̶s̶?̶)̶ ̶b̶u̶t̶t̶o̶n̶.̶

edit: just figured out you can use gravitybox (although its not officially supported) to swap hardware buttons. I think if you make changes to things that only present in the 4.4 Touchwiz rom and avoid the things that are not in the TW rom like rom tiles in CM and AOSP roms, then you'll be fine.