It's possible to enable WLAN / Xorg / Sound on nexus 4.
WLAN:
(to /lib | /system)
bltpwb.zip
Xorg:
(problem with offset - 24).
Precompiled lib for Ubuntu: (It's possible to create DIFF later)
libfbdevhw.so.zip
(/usr/lib/xorg/modules)
Because it was created for Ubuntu, you should copy (or create symlink)
/lib/ld-musl-armhf.so.1 -> /lib/ld-linux-armhf.so.3
Also you should disable ABI check (As it was compiled for old Xorg version)
Section "ServerFlags"
Option "IgnoreABI" "True"
EndSection
Audio:
Works OOB with Pulseaudio. You'll need just to place some UCM files in /usr/share/alsa/ucm (card mb too)
UCM files:
usr.zip

Well done \o/ It would be nice if we could ship these improvements by default.
To do that, we would need to package it properly, which means compiling libfbdevhw from source for example. Would you like to look into that?
https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/fbdevhw/fbdevhw.c#n712
From the line 715 to 723 we need to remove fPtr offsets and replace them by the correct one.
It's important to set them after setting offsets in func fbdevhw.
@erhoof it should work with nexus 7 2013 as it is the same chipset. I have a working xorg/wlan but no sound...
Most helpful comment
https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/fbdevhw/fbdevhw.c#n712
From the line 715 to 723 we need to remove fPtr offsets and replace them by the correct one.
It's important to set them after setting offsets in func fbdevhw.