[ Source ]
I modified this version for my own use, but maybe someone will find it useful. There are no settings, I've set everything for my own taste. There is only Pixel HDR+ button which toggles between Nexus 6 config (if OFF) and Pixel config (if ON). Black_level is set to manual by default, HDR parameters are set to medium.