OK! 100% success ! no more hangs after sleep. Wakes up immediately.
On my HP Elite x2 1012 G1 I have in SSDT3 H_EC !!
I have updated my BIOS to version 1.24.
There is updated patch for battery for DSDT (Thanks RehabMan).
Maybe Jhax01 missed this in his guide for OS X on HP Elite x2 1012 G1 or maybe my config is different and I have H_EC.
I had to convert every DSDT and SSDT H_EC -> EC and as done before EC0->EC. (my smbios is MacBook9,1, don't have a USBX, system in IOReg showed EC0). I missed H_EC... Now I am fine, it is EC.
Updated drivers for VoodooI2C ver 2.0.1. Touch Screen works 100% after wake. Sometimes after wake there is a problem with side button for volume control and keyboard key for volume and trapped -> not responding, I have to detach the keyboard and connect again to work. Only sometimes. I think some problem with keyboard and mouse kext, and Elan driver problem. Have to test other kexts. No problem.
To install new voodooI2C read carefully instruction on download page. Sometimes You have to attach patch for DSDT and GPIO. In my case was not necessary. 100% works. New drivers are amazing. 3 fingers and touch are very sensitive. On screen keyboard reacts as on iPad !!! PERFECT. Double Click on icon is better !! You can set double tap speed in prefs and voodooi2c respects that.
And now voodooI2C works with UPDD from TouchBase !!!
Need version 6 of UPDD drivers. Follow instructions on voodooI2C section UPDD. You have to create virtual controller.
After that You have to run in background a bridge between I2C and UPDD.
I attach few files. One of them is my automator application to run I2C-UPDD bridge. Put that app in Application folder. Add to login items in prefs to start at login.
And I upload here my new app. Remake of TouchBarServer. It is not finished yet. Copy to App folder. Also install KeyUp in Application folder. I added my own keys to touchbar. In center is Apple touchbar. To left is a key to hide touchbar (not implemented yet), on screen keyboard toggle button, cmd-q key and cmd-h key. On right side will be simulator of double left click of mouse and one right click (not implemented yet).
Put Dock to side and enjoy my app