[Verizon Samsung Galaxy S III] mjb32803:
I think I solved the issue; got past my error and am building now.

There is a disconnect between the instructions provided @ https://wiki.lineageos.org/devices/d2vzw/build

which states:

"Now ensure your Galaxy S III (Verizon) is connected to your computer via the USB cable, with ADB and root enabled, and that you are in the ~/android/lineage/device/samsung/d2vzw folder. Then run the extract-files.sh script:

./extract-files.sh

The blobs should be pulled into the ~/android/lineage/vendor/samsung folder. "

and the instruction in the thread https://xdaforums.com/chef-central/android/how-to-build-lineageos-14-1-t3551484

which states:

"Now ensure your device is connected to your computer via the USB cable, with ADB and root enabled, and that you are in the ~/android/system/device/your_device/codename folder. Then run the extract-files.sh script:

Code:

$ ./extract-files.sh

The blobs should be pulled into the ~/android/system/vendor/your_device folder. If you see “command not found” errors, adb may need to be placed in ~/bin."

I followed the latter instructions, and tried to build, but got the same error, that some proprietary blob files were missing.

Traced through the results of running ./extract-files.sh

"bakermj@Asus-Z170A:~/android/system/device/samsung/d2vzw$ ./extract-files.sh

Cleaning output directory (./../msm8960-common/../../../vendor/samsung/msm8960-common/proprietary)..

Extracting 20 files in ./../msm8960-common/proprietary-files.txt from adb:

/system/etc/firmware/a225_pfp.fw: 1 fi...ulled. 0.0 MB/s (1156 bytes in 0.045s)

/system/etc/firmware/a225_pm4.fw: 1 fi...ulled. 0.2 MB/s (9220 bytes in 0.047s)

/system/etc/firmware/a225p5_pm4.fw: 1 ...ulled. 0.2 MB/s (9220 bytes in 0.046s)

/system/etc/firmware/vidc_1080p.fw: 1 ...ed. 11.8 MB/s (605396 bytes in 0.049s)

/system/vendor/lib/egl/eglsubAndroid.s...lled. 0.8 MB/s (38128 bytes in 0.048s)

/system/vendor/lib/egl/libEGL_adreno.s...led. 9.0 MB/s (153724 bytes in 0.016s)

/system/vendor/lib/egl/libGLESv1_CM_ad...led. 8.8 MB/s (202132 bytes in 0.022s)

/system/vendor/lib/egl/libGLESv2S3D_ad...lled. 6.4 MB/s (66756 bytes in 0.010s)

/system/vendor/lib/egl/libGLESv2_adren...ed. 8.1 MB/s (1009216 bytes in 0.119s)

/system/vendor/lib/egl/libq3dtools_adr...ed. 10.6 MB/s (554616 bytes in 0.050s)

/system/vendor/lib/libC2D2.so: 1 file pulled. 0.2 MB/s (9336 bytes in 0.046s)

/system/vendor/lib/libCB.so: 1 file pulled. 6.6 MB/s (216364 bytes in 0.031s)

/system/vendor/lib/libOpenCL.so: 1 fil...lled. 7.1 MB/s (50404 bytes in 0.007s)

/system/vendor/lib/libOpenVG.so: 1 fil...led. 4.0 MB/s (242900 bytes in 0.057s)

/system/vendor/lib/libadreno_utils.so:...ulled. 0.1 MB/s (5252 bytes in 0.045s)

/system/vendor/lib/libc2d2_z180.so: 1 ...lled. 5.9 MB/s (58800 bytes in 0.010s)

/system/vendor/lib/libgsl.so: 1 file pulled. 1.3 MB/s (63060 bytes in 0.048s)

/system/vendor/lib/libsc-a2xx.so: 1 fi...d. 15.1 MB/s (1555644 bytes in 0.098s)

/system/vendor/lib/libuiblur.so: 1 fil...lled. 5.3 MB/s (29980 bytes in 0.005s)

- /system/vendor/lib/mediadrm/libwvdrmengine.so .. + (keeping pinned file with hash 8d8f13b2b20db3fdeeca94fa03063d0bf5597718)

Cleaning output directory (./../msm8960-common/../../../vendor/samsung/d2-common/proprietary)..

Extracting 92 files in ./../msm8960-common/../d2-common/proprietary-files.txt from adb:

/system/bin/ds_fmc_appd: 1 file pulled. 5.5 MB/s (58776 bytes in 0.010s)

/system/bin/efsks: 1 file pulled. 0.3 MB/s (12108 bytes in 0.046s)

/system/bin/irsc_util: 1 file pulled. 0.1 MB/s (5284 bytes in 0.044s)

adb: error: remote object '/system/bin/ks' does not exist

adb: error: remote object '/system/bin/ks' does not exist

/system/bin/mm-qcamera-daemon: 1 file ...ed. 11.5 MB/s (474396 bytes in 0.039s)

/system/bin/mpdecision: 1 file pulled. 4.6 MB/s (47416 bytes in 0.010s)

adb: error: remote object '/system/bin/qcks' does not exist

adb: error: remote object '/system/bin/qcks' does not exist

/system/bin/qmiproxy: 1 file pulled. 2.8 MB/s (166944 bytes in 0.056s)

/system/bin/qmuxd: 1 file pulled. 5.8 MB/s (60184 bytes in 0.010s)

/system/bin/radish: 1 file pulled. 0.6 MB/s (30024 bytes in 0.049s)

adb: error: remote object '/system/bin/rild' does not exist

adb: error: remote object '/system/bin/rild' does not exist

/system/bin/rmt_storage: 1 file pulled. 3.6 MB/s (27836 bytes in 0.007s)

/system/cameradata/SlimISP_BH.bin: 1 f...led. 5.0 MB/s (377056 bytes in 0.071s)

/system/cameradata/SlimISP_GC.bin: 1 f...led. 5.0 MB/s (373220 bytes in 0.071s)

/system/cameradata/SlimISP_GD.bin: 1 f...ed. 10.9 MB/s (373104 bytes in 0.033s)

/system/cameradata/SlimISP_GE.bin: 1 f...ed. 11.0 MB/s (369852 bytes in 0.032s)

/system/cameradata/SlimISP_GH.bin: 1 f...led. 5.1 MB/s (377056 bytes in 0.071s)

/system/cameradata/SlimISP_GK.bin: 1 f...ed. 11.3 MB/s (374784 bytes in 0.032s)

/system/cameradata/SlimISP_JH.bin: 1 f...ed. 11.4 MB/s (377056 bytes in 0.031s)

/system/cameradata/SlimISP_PH.bin: 1 f...led. 5.3 MB/s (377056 bytes in 0.068s)

/system/cameradata/SlimISP_WH.bin: 1 f...led. 5.2 MB/s (377056 bytes in 0.069s)

/system/cameradata/SlimISP_ZC.bin: 1 f...ed. 11.9 MB/s (368772 bytes in 0.029s)

/system/cameradata/SlimISP_ZD.bin: 1 f...ed. 11.8 MB/s (379936 bytes in 0.031s)

/system/cameradata/SlimISP_ZE.bin: 1 f...led. 5.2 MB/s (365416 bytes in 0.068s)

/system/cameradata/SlimISP_ZH.bin: 1 f...ed. 12.0 MB/s (384576 bytes in 0.031s)

/system/cameradata/SlimISP_ZK.bin: 1 f...ed. 12.0 MB/s (378496 bytes in 0.030s)

/system/cameradata/SlimISP_ZM.bin: 1 f...ed. 11.4 MB/s (386272 bytes in 0.032s)

/system/cameradata/datapattern_420sp.y...led. 5.7 MB/s (460800 bytes in 0.077s)

/system/cameradata/datapattern_front_4...led. 4.3 MB/s (259200 bytes in 0.058s)

/system/etc/sec_config: 1 file pulled. 0.1 MB/s (5282 bytes in 0.045s)

/system/etc/wifi/bcmdhd_apsta.bin_b2: ...ed. 10.9 MB/s (313941 bytes in 0.028s)

/system/etc/wifi/bcmdhd_mfg.bin_b2: 1 ...ed. 12.0 MB/s (432155 bytes in 0.034s)

/system/etc/wifi/bcmdhd_p2p.bin_b2: 1 ...ed. 11.6 MB/s (345227 bytes in 0.028s)

/system/etc/wifi/bcmdhd_sta.bin_b2: 1 ...ed. 11.0 MB/s (347258 bytes in 0.030s)

/system/etc/wifi/nvram_mfg.txt: 1 file...ulled. 0.1 MB/s (2732 bytes in 0.046s)

/system/etc/wifi/nvram_mfg.txt_semcosh...ulled. 0.1 MB/s (2757 bytes in 0.044s)

/system/etc/wifi/nvram_mfg.txt_murata:...ulled. 0.0 MB/s (2070 bytes in 0.044s)

/system/etc/wifi/nvram_mfg.txt_murata_...ulled. 0.0 MB/s (2070 bytes in 0.045s)

/system/etc/wifi/nvram_net.txt: 1 file...ulled. 0.1 MB/s (2748 bytes in 0.046s)

/system/etc/wifi/nvram_net.txt_semcosh...ulled. 0.1 MB/s (2760 bytes in 0.045s)

/system/etc/wifi/nvram_net.txt_murata:...ulled. 0.0 MB/s (2083 bytes in 0.047s)

/system/etc/wifi/nvram_net.txt_murata_...ulled. 0.0 MB/s (2083 bytes in 0.043s)

/system/lib/hw/camera.vendor.msm8960.s...led. 9.0 MB/s (202752 bytes in 0.022s)

/system/lib/hw/sensors.msm8960.so: 1 f...lled. 4.7 MB/s (30476 bytes in 0.006s)

/system/lib/libacdbloader.so: 1 file pulled. 0.5 MB/s (25648 bytes in 0.048s)

/system/lib/libakmd.so: 1 file pulled. 1.4 MB/s (70065 bytes in 0.048s)

/system/lib/libaudcal.so: 1 file pulled. 14.3 MB/s (1571080 bytes in 0.105s)

/system/lib/libchromatix_s5k6a3yx_defa...lled. 1.2 MB/s (59496 bytes in 0.048s)

/system/lib/libchromatix_s5k6a3yx_prev...lled. 6.2 MB/s (59496 bytes in 0.009s)

/system/lib/libchromatix_s5k6a3yx_smar...lled. 6.0 MB/s (59496 bytes in 0.009s)

/system/lib/libchromatix_s5k6a3yx_vt.s...lled. 6.1 MB/s (59496 bytes in 0.009s)

/system/lib/libchromatix_s5k6a3yx_vt_h...lled. 6.3 MB/s (59496 bytes in 0.009s)

/system/lib/libcsd-client.so: 1 file pulled. 5.5 MB/s (50396 bytes in 0.009s)

/system/lib/libgemini.so: 1 file pulled. 3.5 MB/s (26720 bytes in 0.007s)

/system/lib/libimage-jpeg-enc-omx-comp...lled. 0.4 MB/s (21640 bytes in 0.046s)

/system/lib/libinvensense_hal.so: 1 fi...lled. 4.9 MB/s (46724 bytes in 0.009s)

/system/lib/libloc_api_v02.so: 1 file ...led. 7.6 MB/s (100376 bytes in 0.013s)

/system/lib/libmllite.so: 1 file pulled. 4.3 MB/s (295059 bytes in 0.065s)

/system/lib/libmlplatform.so: 1 file pulled. 0.4 MB/s (17299 bytes in 0.046s)

/system/lib/libmmcamera_faceproc.so: 1...d. 13.6 MB/s (1101888 bytes in 0.077s)

/system/lib/libmmcamera_frameproc.so: ...lled. 9.0 MB/s (83364 bytes in 0.009s)

/system/lib/libmmcamera_statsproc30.so...lled. 1.4 MB/s (71368 bytes in 0.048s)

/system/lib/libmmjpeg.so: 1 file pulled. 9.2 MB/s (213820 bytes in 0.022s)

/system/lib/libmmstillomx.so: 1 file pulled. 0.1 MB/s (5228 bytes in 0.043s)

/system/lib/libmplmpu.so: 1 file pulled. 10.4 MB/s (265093 bytes in 0.024s)

/system/lib/liboemcamera.so: 1 file pu...ed. 10.2 MB/s (515596 bytes in 0.048s)

/system/lib/libreference-ril.so: 1 fil...lled. 4.0 MB/s (29876 bytes in 0.007s)

/system/lib/libsecnativefeature.so: 1 ...lled. 0.3 MB/s (13412 bytes in 0.043s)

/system/lib/libsecril-client.so: 1 fil...lled. 0.3 MB/s (17464 bytes in 0.048s)

/system/lib/libvdis.so: 1 file pulled. 3.8 MB/s (22136 bytes in 0.006s)

/system/lib/libxml.so: 1 file pulled. 4.3 MB/s (25792 bytes in 0.006s)

/system/lib/libyamaha.so: 1 file pulled. 1.7 MB/s (89756 bytes in 0.052s)

/system/vendor/firmware/bcm4334.hcd: 1...lled. 2.8 MB/s (51951 bytes in 0.018s)

/system/vendor/firmware/bcm4334_murata...lled. 5.8 MB/s (51951 bytes in 0.008s)

/system/vendor/firmware/bcm4334_semcos...lled. 8.8 MB/s (51951 bytes in 0.006s)

/system/vendor/lib/libconfigdb.so: 1 f...lled. 0.3 MB/s (13420 bytes in 0.045s)

/system/vendor/lib/libdiag.so: 1 file ...lled. 6.1 MB/s (60352 bytes in 0.009s)

/system/vendor/lib/libdsutils.so: 1 fi...lled. 4.1 MB/s (38052 bytes in 0.009s)

/system/vendor/lib/libgeofence.so: 1 f...lled. 3.9 MB/s (34080 bytes in 0.008s)

/system/vendor/lib/libidl.so: 1 file pulled. 0.2 MB/s (9224 bytes in 0.050s)

/system/vendor/lib/libizat_core.so: 1 ...lled. 4.1 MB/s (29900 bytes in 0.007s)

/system/vendor/lib/liblbs_core.so: 1 f...lled. 4.3 MB/s (25752 bytes in 0.006s)

/system/vendor/lib/liblocationservice....lled. 0.4 MB/s (17712 bytes in 0.046s)

/system/vendor/lib/libqcci_legacy.so: ...ulled. 0.2 MB/s (9316 bytes in 0.046s)

/system/vendor/lib/libqmi.so: 1 file p...led. 9.1 MB/s (132360 bytes in 0.014s)

/system/vendor/lib/libqmi_cci.so: 1 fi...lled. 4.2 MB/s (29900 bytes in 0.007s)

/system/vendor/lib/libqmi_client_qmux....lled. 3.2 MB/s (25768 bytes in 0.008s)

/system/vendor/lib/libqmi_common_so.so...ulled. 0.1 MB/s (5136 bytes in 0.044s)

/system/vendor/lib/libqmi_csi.so: 1 fi...lled. 0.4 MB/s (17600 bytes in 0.046s)

/system/vendor/lib/libqmi_encdec.so: 1...lled. 0.3 MB/s (13268 bytes in 0.044s)

/system/vendor/lib/libqmiservices.so: 1...ulled. 7.3 MB/s (80272 bytes in 0.010s)

/system/vendor/lib/libril-qcril-hook-oem... pulled. 0.1 MB/s (5076 bytes in 0.046s)

Cleaning output directory (./../msm8960-common/../../../vendor/samsung/d2vzw/proprietary)..

Extracting 2 files in ./../msm8960-common/../d2vzw/proprietary-files.txt from adb:

/system/lib/libril.so: 1 file pulled. 5.2 MB/s (53660 bytes in 0.010s)

/system/lib/libsec-ril.so: 1 file pulled. 16.2 MB/s (2586596 bytes in 0.152s)

bakermj@Asus-Z170A:~/android/system/device/samsung/d2vzw$

Scanning through, I see a few files that the script is looking to copy (KS, QCKS, RILD), are on the phone in /system/bin but for some reason aren't copying.

I then went here https://github.com/TheMuppets/proprietary_vendor_samsung/tree/lineage-15.1/d2-common/proprietary/bin

and downloaded the missing files, and put them in ~/android/system/vendor/samsung/d2-common/proprietary/bin

In hindsight I probably should have manually copied them off /system/bin/... on the phone... not sure why the adb copy didn't work in the script.

Restarted the build, and its been chugging along. Should know something in about 20 minutes.

---------- Post added at 06:17 PM ---------- Previous post was at 06:12 PM ----------

Build was successful.

While flashing ZIP, I got an "ERROR: 7"

Wiped DATA, reflashed, rebooted.

Images of the results here: https://photos.app.goo.gl/Ad36AUNKafOElj8P2

I will now work on getting around the ERROR: 7 so I can flash over existing Lineage and not loose data.