[Miscellaneous Android Development] T-Macgnolia:
I flashed your build on my device and within 30 minutes had the camera and GPS fixed. I know what your issue is because I pulled the blob files from your build to try and use with mine as I pulled all mine from a stock rom. The below is the output I hadwhen pulling the files which lead me to the fix for camera and GPS. But the camera is only partially fixed as it seems the camcorder makes the camera app crash. I have not pulled a logcat yet to see if I can find what causes the app to crash. I have a feeling it is more missing blob files that have yet been added to device/lge/g4stylus-common/proprietary-files.txt. But anyway the reason your camera is not working is you do not have system/lib/hw/camera.msm8916.so and GPS is not working cause you do not have system/priv-app/com.qualcomm.location/com.qualcomm.location.apk. I have attached a zipfile with both the files you need and pictures taken with the cm camera app I installed as well as screenshots of GPS working. I tested GPS with Google Maps and GPS Test app.

(trusty)tmacgnolia@localhost:~/xenon2/device/lge/h631$ ./extract-files.sh
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
118 KB/s (5568 bytes in 0.045s)
452 KB/s (38244 bytes in 0.082s)
5028 KB/s (2729196 bytes in 0.530s)
699 KB/s (62155 bytes in 0.086s)
151 KB/s (12961 bytes in 0.083s)
43 KB/s (3637 bytes in 0.081s)
2602 KB/s (377598 bytes in 0.141s)
28 KB/s (1325 bytes in 0.045s)
1181 KB/s (136166 bytes in 0.112s)
1520 KB/s (195572 bytes in 0.125s)
580 KB/s (51403 bytes in 0.086s)
117 KB/s (5172 bytes in 0.043s)
507 KB/s (43208 bytes in 0.083s)
160 KB/s (13416 bytes in 0.081s)
114 KB/s (9680 bytes in 0.082s)
1079 KB/s (103644 bytes in 0.093s)
255 KB/s (22708 bytes in 0.086s)
1415 KB/s (136544 bytes in 0.094s)
1590 KB/s (169308 bytes in 0.103s)
1589 KB/s (173464 bytes in 0.106s)
108 KB/s (9544 bytes in 0.085s)
1305 KB/s (129008 bytes in 0.096s)
111 KB/s (5164 bytes in 0.045s)
112 KB/s (9440 bytes in 0.082s)
remote object '/system/lib/hw/camera.msm8916.so' does not exist
remote object '/system/lib/hw/camera.msm8916.so' does not exist
5393 KB/s (10078856 bytes in 1.824s)
4280 KB/s (1864892 bytes in 0.425s)
669 KB/s (79140 bytes in 0.115s)
113 KB/s (10092 bytes in 0.087s)
765 KB/s (66800 bytes in 0.085s)
445 KB/s (37992 bytes in 0.083s)
4321 KB/s (1729788 bytes in 0.390s)
104 KB/s (9328 bytes in 0.087s)
254 KB/s (21576 bytes in 0.082s)
216 KB/s (18400 bytes in 0.082s)
646 KB/s (54396 bytes in 0.082s)
1064 KB/s (103528 bytes in 0.094s)
111 KB/s (9276 bytes in 0.081s)
355 KB/s (29800 bytes in 0.081s)
1850 KB/s (198632 bytes in 0.104s)
3291 KB/s (616620 bytes in 0.182s)
306 KB/s (25784 bytes in 0.082s)
500 KB/s (42088 bytes in 0.082s)
1823 KB/s (214368 bytes in 0.114s)
111 KB/s (9328 bytes in 0.081s)
2159 KB/s (250052 bytes in 0.113s)
1348 KB/s (128248 bytes in 0.092s)
513 KB/s (43112 bytes in 0.081s)
119 KB/s (5124 bytes in 0.041s)
4176 KB/s (1107940 bytes in 0.259s)
960 KB/s (91628 bytes in 0.093s)
410 KB/s (38224 bytes in 0.090s)
110 KB/s (9352 bytes in 0.082s)
1076 KB/s (104592 bytes in 0.094s)
106 KB/s (9352 bytes in 0.086s)
149 KB/s (12600 bytes in 0.082s)
102 KB/s (9052 bytes in 0.085s)
107 KB/s (9076 bytes in 0.082s)
107 KB/s (9076 bytes in 0.082s)
110 KB/s (9352 bytes in 0.082s)
181 KB/s (15380 bytes in 0.082s)
205 KB/s (17556 bytes in 0.083s)
159 KB/s (13512 bytes in 0.082s)
394 KB/s (34212 bytes in 0.084s)
3110 KB/s (522564 bytes in 0.164s)
1138 KB/s (116636 bytes in 0.100s)
1282 KB/s (140400 bytes in 0.106s)
526 KB/s (46184 bytes in 0.085s)
973 KB/s (99440 bytes in 0.099s)
153 KB/s (7612 bytes in 0.048s)
175 KB/s (7612 bytes in 0.042s)
153 KB/s (6652 bytes in 0.042s)
173 KB/s (7612 bytes in 0.042s)
165 KB/s (7612 bytes in 0.044s)
153 KB/s (6652 bytes in 0.042s)
172 KB/s (7612 bytes in 0.043s)
174 KB/s (7612 bytes in 0.042s)
173 KB/s (7612 bytes in 0.042s)
172 KB/s (7612 bytes in 0.043s)
152 KB/s (6652 bytes in 0.042s)
150 KB/s (6652 bytes in 0.043s)
173 KB/s (7612 bytes in 0.042s)
91 KB/s (7612 bytes in 0.081s)
152 KB/s (6652 bytes in 0.042s)
544 KB/s (47216 bytes in 0.084s)
326 KB/s (27600 bytes in 0.082s)
324 KB/s (27600 bytes in 0.082s)
312 KB/s (27600 bytes in 0.086s)
323 KB/s (27600 bytes in 0.083s)
536 KB/s (52176 bytes in 0.095s)
903 KB/s (88176 bytes in 0.095s)
550 KB/s (47216 bytes in 0.083s)
321 KB/s (27600 bytes in 0.083s)
325 KB/s (27600 bytes in 0.082s)
319 KB/s (27600 bytes in 0.084s)
321 KB/s (27600 bytes in 0.083s)
321 KB/s (27600 bytes in 0.083s)
607 KB/s (52176 bytes in 0.083s)
321 KB/s (27600 bytes in 0.083s)
325 KB/s (27600 bytes in 0.082s)
607 KB/s (52176 bytes in 0.083s)
551 KB/s (47216 bytes in 0.083s)
551 KB/s (47268 bytes in 0.083s)
320 KB/s (27652 bytes in 0.084s)
322 KB/s (27652 bytes in 0.083s)
322 KB/s (27652 bytes in 0.083s)
325 KB/s (27652 bytes in 0.082s)
323 KB/s (27600 bytes in 0.083s)
550 KB/s (47216 bytes in 0.083s)
324 KB/s (27600 bytes in 0.083s)
313 KB/s (27652 bytes in 0.086s)
320 KB/s (27600 bytes in 0.084s)
321 KB/s (27652 bytes in 0.083s)
302 KB/s (27600 bytes in 0.089s)
548 KB/s (47216 bytes in 0.084s)
324 KB/s (27600 bytes in 0.083s)
324 KB/s (27600 bytes in 0.082s)
324 KB/s (27600 bytes in 0.083s)
314 KB/s (27600 bytes in 0.085s)
190 KB/s (16128 bytes in 0.082s)
191 KB/s (16384 bytes in 0.083s)
193 KB/s (16384 bytes in 0.082s)
192 KB/s (16384 bytes in 0.083s)
114 KB/s (9600 bytes in 0.081s)
1160 KB/s (111864 bytes in 0.094s)
3 KB/s (180 bytes in 0.044s)
150 KB/s (6568 bytes in 0.042s)
235 KB/s (19924 bytes in 0.082s)
5 KB/s (240 bytes in 0.042s)
154 KB/s (6748 bytes in 0.042s)
4 KB/s (180 bytes in 0.041s)
150 KB/s (6568 bytes in 0.042s)
1450 KB/s (161588 bytes in 0.108s)
10 KB/s (964 bytes in 0.086s)
153 KB/s (6748 bytes in 0.043s)
352 KB/s (29864 bytes in 0.082s)
160 KB/s (13488 bytes in 0.082s)
112 KB/s (9396 bytes in 0.081s)
565 KB/s (50312 bytes in 0.086s)
208 KB/s (17496 bytes in 0.081s)
170 KB/s (14192 bytes in 0.081s)
111 KB/s (9396 bytes in 0.081s)
162 KB/s (13588 bytes in 0.081s)
158 KB/s (13452 bytes in 0.082s)
121 KB/s (5296 bytes in 0.042s)
119 KB/s (5144 bytes in 0.042s)
847 KB/s (70884 bytes in 0.081s)
639 KB/s (54508 bytes in 0.083s)
4784 KB/s (2467520 bytes in 0.503s)
3756 KB/s (1378024 bytes in 0.358s)
417 KB/s (38344 bytes in 0.089s)
1759 KB/s (198756 bytes in 0.110s)
2825 KB/s (435780 bytes in 0.150s)
612 KB/s (54736 bytes in 0.087s)
353 KB/s (30438 bytes in 0.084s)
26 KB/s (2187 bytes in 0.081s)
126 KB/s (5520 bytes in 0.042s)
17 KB/s (738 bytes in 0.041s)
9 KB/s (422 bytes in 0.043s)
39 KB/s (1678 bytes in 0.041s)
32 KB/s (1433 bytes in 0.042s)
80 KB/s (3470 bytes in 0.042s)
29 KB/s (1265 bytes in 0.041s)
310 KB/s (25904 bytes in 0.081s)
278 KB/s (23536 bytes in 0.082s)
1115 KB/s (107116 bytes in 0.093s)
477 KB/s (40292 bytes in 0.082s)
208 KB/s (17568 bytes in 0.082s)
1120 KB/s (106684 bytes in 0.092s)
remote object '/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk' does not exist
remote object '/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk' does not exist
795 KB/s (71392 bytes in 0.087s)
462 KB/s (38772 bytes in 0.081s)
458 KB/s (38272 bytes in 0.081s)
400 KB/s (34000 bytes in 0.082s)
568 KB/s (50388 bytes in 0.086s)
438 KB/s (38660 bytes in 0.086s)
1076 KB/s (112028 bytes in 0.101s)
465 KB/s (39856 bytes in 0.083s)
801 KB/s (77152 bytes in 0.094s)
105 KB/s (9352 bytes in 0.086s)
671 KB/s (58788 bytes in 0.085s)
616 KB/s (58792 bytes in 0.093s)
329 KB/s (29940 bytes in 0.088s)
1491 KB/s (161852 bytes in 0.105s)
1768 KB/s (206232 bytes in 0.113s)
4486 KB/s (1313284 bytes in 0.285s)
3184 KB/s (616120 bytes in 0.188s)
112 KB/s (9404 bytes in 0.081s)
110 KB/s (5232 bytes in 0.046s)
3489 KB/s (682536 bytes in 0.191s)
1015 KB/s (99732 bytes in 0.095s)
2268 KB/s (312904 bytes in 0.134s)
1812 KB/s (210908 bytes in 0.113s)
5428 KB/s (16203160 bytes in 2.915s)
704 KB/s (62652 bytes in 0.086s)
672 KB/s (58600 bytes in 0.085s)
1460 KB/s (165576 bytes in 0.110s)
634 KB/s (54516 bytes in 0.083s)
117 KB/s (5160 bytes in 0.043s)
5063 KB/s (4624012 bytes in 0.891s)
158 KB/s (13540 bytes in 0.083s)
25 KB/s (1156 bytes in 0.044s)
110 KB/s (9220 bytes in 0.081s)
1608 KB/s (177360 bytes in 0.107s)
1842 KB/s (197848 bytes in 0.104s)
62 KB/s (5176 bytes in 0.080s)
2325 KB/s (318360 bytes in 0.133s)
108 KB/s (5164 bytes in 0.046s)
257 KB/s (21612 bytes in 0.081s)
3441 KB/s (866260 bytes in 0.245s)
105 KB/s (9264 bytes in 0.085s)
463 KB/s (42132 bytes in 0.088s)
1012 KB/s (95468 bytes in 0.092s)
899 KB/s (87316 bytes in 0.094s)
123 KB/s (5312 bytes in 0.041s)
638 KB/s (53548 bytes in 0.081s)
121 KB/s (5224 bytes in 0.041s)
663 KB/s (67480 bytes in 0.099s)
1201 KB/s (124764 bytes in 0.101s)
96 KB/s (5080 bytes in 0.051s)
120 KB/s (5288 bytes in 0.042s)
778 KB/s (68584 bytes in 0.086s)
1791 KB/s (198160 bytes in 0.108s)
541 KB/s (46256 bytes in 0.083s)
111 KB/s (9228 bytes in 0.081s)
106 KB/s (9380 bytes in 0.085s)
561 KB/s (46244 bytes in 0.080s)
748 KB/s (62880 bytes in 0.082s)
356 KB/s (29904 bytes in 0.082s)
490 KB/s (42160 bytes in 0.083s)
121 KB/s (5140 bytes in 0.041s)
210 KB/s (17604 bytes in 0.081s)
158 KB/s (13272 bytes in 0.081s)
963 KB/s (92732 bytes in 0.094s)
1872 KB/s (218380 bytes in 0.113s)
121 KB/s (5172 bytes in 0.041s)
250 KB/s (21242 bytes in 0.082s)
94 KB/s (4449 bytes in 0.046s)
3 KB/s (159 bytes in 0.041s)
3 KB/s (159 bytes in 0.041s)
468 KB/s (40252 bytes in 0.083s)
617 KB/s (52974 bytes in 0.083s)
807 KB/s (67940 bytes in 0.082s)
408 KB/s (34332 bytes in 0.082s)
2793 KB/s (397908 bytes in 0.139s)
156 KB/s (13752 bytes in 0.085s)
121 KB/s (5176 bytes in 0.041s)
83 KB/s (3836 bytes in 0.044s)
260 KB/s (21836 bytes in 0.081s)
107 KB/s (9224 bytes in 0.084s)
109 KB/s (5128 bytes in 0.045s)
10 KB/s (436 bytes in 0.041s)
150 KB/s (6824 bytes in 0.044s)
154 KB/s (13064 bytes in 0.082s)
707 KB/s (61440 bytes in 0.084s)
5052 KB/s (3335468 bytes in 0.644s)
1 KB/s (52 bytes in 0.044s)
3372 KB/s (655360 bytes in 0.189s)
490 KB/s (44092 bytes in 0.087s)
166 KB/s (7260 bytes in 0.042s)
2292 KB/s (314832 bytes in 0.134s)
903 KB/s (88652 bytes in 0.095s)
396 KB/s (34124 bytes in 0.083s)
223 KB/s (18800 bytes in 0.082s)
264 KB/s (22684 bytes in 0.083s)
895 KB/s (81012 bytes in 0.088s)
138 KB/s (11728 bytes in 0.082s)
207 KB/s (17624 bytes in 0.083s)
158 KB/s (13436 bytes in 0.082s)
117 KB/s (5172 bytes in 0.043s)
119 KB/s (5244 bytes in 0.042s)
117 KB/s (5172 bytes in 0.043s)
120 KB/s (5244 bytes in 0.042s)
116 KB/s (5172 bytes in 0.043s)
674 KB/s (58724 bytes in 0.084s)
156 KB/s (13424 bytes in 0.083s)
110 KB/s (9292 bytes in 0.081s)
448 KB/s (38052 bytes in 0.082s)
480 KB/s (42192 bytes in 0.085s)
5149 KB/s (6381564 bytes in 1.210s)
104 KB/s (5084 bytes in 0.047s)
117 KB/s (5128 bytes in 0.042s)
300 KB/s (25796 bytes in 0.083s)
4 KB/s (212 bytes in 0.041s)
150 KB/s (6600 bytes in 0.042s)
3927 KB/s (976400 bytes in 0.242s)
120 KB/s (5568 bytes in 0.045s)
0 KB/s (32 bytes in 0.041s)
3903 KB/s (994288 bytes in 0.248s)
148 KB/s (6812 bytes in 0.044s)
(trusty)tmacgnolia@localhost:~/xenon2/device/lge/h631$

​