Installed a SSH server and used Linux's grep command to find all instances of the 787 string. Besides 787 appearing randomly in binaries, pictures I found it exists in a shell script in /system/etc/init.qcom.post_boot.sh.
Well what do you know:
[email protected]:/system/etc # grep...