I want to extract that file in order to restore my wi-fi on another Motorola Moto G

How can I do that ?

  • This appears to be an XY problem. Explain to us your original problem. – Firelord Mar 19 '16 at 17:35
  • I'm sure that it is the missing file. – Clippy Mar 20 '16 at 11:03

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 — 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).

  • Thanks, is it normal that from a file explorer like solid explorer, the file size is 0b ? – Clippy Mar 20 '16 at 11:02
  • 1
    @Clippy No, I wouldn't think so, but I haven't used that app. – Matthew Read Mar 20 '16 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.