[T-Mobile Galaxy Note 4 Original Android Developmen] hsbadr:
You're welcome.

The new build fixes the mmap() issue, and fails at another step due to framebuffer and DRM graphics:

[COLOR="Red"]Starting the UI...open_overlay cannot open fb0: No such file or directory[/COLOR]
setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565
Skipping drm graphics -- not present in build tree
[COLOR="Red"]cannot open fb0: No such file or directory[/COLOR]

It also has brightness issue:

I:TW_BRIGHTNESS_PATH := /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.163/leds/lcd-backlight/brightness
[COLOR="Red"]I:Specified brightness file '/sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.163/leds/lcd-backlight/brightness' not found.
I:Find_File: Error opening '/sys/class/leds/lcd-backlight'
I:Unable to locate brightness file[/COLOR]

To fix the brightness, I use the following TWRP flag:

TW_BRIGHTNESS_PATH := "/sys/devices/fd900000.qcom\x2cmdss_mdp/qcom\x2cmdss_fb_primary.[B]175[/B]/leds/lcd-backlight/brightness"

Note that 'fb_primary.163' is changed to 'fb_primary.175' in 5.1.1+ kernels for the Note 4.

Recovery Log:

Starting TWRP 3.0.0-0 on Sat Jan 18 14:37:51 2014
(pid 286)
BOARD_HAS_NO_REAL_SDCARD := true
TW_NO_REBOOT_BOOTLOADER := true
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_HAS_DOWNLOAD_MODE := true
TW_INCLUDE_CRYPTO := true
I:TW_BRIGHTNESS_PATH := /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.163/leds/lcd-backlight/brightness
I:Specified brightness file '/sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.163/leds/lcd-backlight/brightness' not found.
I:Find_File: Error opening '/sys/class/leds/lcd-backlight'
I:Unable to locate brightness file
I:LANG: en
Starting the UI...open_overlay cannot open fb0: No such file or directory
setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565
Skipping drm graphics -- not present in build tree
cannot open fb0: No such file or directory
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...