[Samsung Galaxy S7 Edge Themes, Apps, and Mods] lucaoldb:
Warning: for deodexed roms only – if you are running an odex rom, you previously have to delete the full content of /system/priv-app/SystemUI/ folder

Here is a small tutorial for those who want to use touchwiz nougat roms with on screen keys aka navbar and want to see the keys both when the navbar background is dark or white.

Actually, it is my own design in pixel style to get visible keys in any condition., you can find a screenshot here https://xdaforums.com/s7-edge/themes/navbar-s7-edge-nougat-t3572377/page2

Not a great work, just some files in .pio format to be replaced into systemUI.apk….

Well, tbh, I just edited the original .png files from pixel, added a black contour and renamed them as .pio, but I see that everybody is keeping their own knowledge quie secret nowadays lol

First of all, you obviously have got to add

qemu.hw.mainkeys = 0

to you build.prop

Then you might go to /system/usr/kelayout/

and edit

Generic.kl

by commenting key 158 BACK which turns into # key 158 BACK

and key 254 APP_SWITCH wich will become # key 254 APP_SWITCH

These comments will disable back and recents hardware keys, while it is strongly advisable to let the home key fully functional.

You might disable button lights as well, but this feature is implemented in most roms and you can even find an app in the play store (it can be made even through software, but it’d be a waste of time).

Now you can take the systemUI.apk alleged to this post and replace with it to the current one inside /system/priv-app/SystemUI/

You have to set the correct permissions, of course, and reboot,

This file should work for any touchwiz nougat rom.

It is a generic deodexed file and systemUI.apk has been the same since the first release (according to the changelogs I have seen so far).

If your rom has got a modded systemUI with its own features, you will loose them, so I also attach a zip which includes the modded .pio files. You can add them inside systemUI.apk even without using apktool, you just have to:

- rename systemUI.apk as systemUI.zip;

- open the zip, go to /res//drawable/xxhdpi-v4

- overwrite the existing files with the one I supplied;

- rename back systemUI.zip to systemUI.apk

and then you can use your new systemUI with my files.

Now you might see that the touchwiz launcher is a mess and there is a huge room between the dock and the workspace… Well, the matter is that, once you activate the navbar, the launcher detects the wrong dpi… I tried to mod it, but I wasn’t able to fix it. So a couple of days ago I found an easy work-around.

It has got a caveat: it breaks Samsung pay and Android Pay or at least ot should. I am not sure, because I don’t use such services. I posted that workaround in Echoerom forum, but I haven’t had yet any feedback, so just try.

Here is the workaround:

- open the terminal;

- type su

- type wm density 500 && reboot

Once you reboot, the launcher will be ok.

To revert;

- open terminal

- type su

- type wm size reset && reboot

I also attach a modded pixel launcher (to be place in /system/app) which works better than the touchwiz one and doesn’t need any modification to wm density

.

Credits:

- an xda guy who some time ago posted somewhere a tutorial about wm density… Please gimme the link, if you find it

- people from Echoerom forum and Kyri the most since they let me tinker with my phone after a long time

Link for systemUI.apk https://db.tt/0YWejenIoC

Link for .pio files https://db.tt/VCwNum3KAE

Link for modded pixel launcher https://db.tt/aHfUj0vYVW