How can I extract NON-HLOS.bin from my Motorola Moto G xt1032? I want to extract that file in order to restore my wi-fi on another Motorola Moto G

How can I do that ?
From a root shell/terminal:

dd if=/dev/block/platform/*/by-name/modem of=/sdcard/NON-HLOS.bin


On some devices it might be radio instead of modem and you can, of course, place it somewhere other than /sdcard.

Note also that it will typically be padded with zeroes on the end &mdash; for example, the NON-HLOS.bin I flashed was 57.1 MB but when I retrieve it with the above method the resulting file is 64 MB (with it being identical apart from the padding).