how do i flash just the modem file from the official firmware? - Moto G5 Plus Questions & Answers

i tried
fastboot flash modem non-hlos.bin
but there isnt a file by that name in the potter_NPN25.137-83.zip firmware.
should i grab another firmware or try something else?

Hmm, the firmwares should have that file included in them.
Have you extracted the stock ROM from the zip (should be about 2 GB) and copied it to the same folder as your ADB terminal?
You may wish to double check the filename case and if the file name is capitalised or not (e.g. non-hlos.bin may not be the same as NON-HLOS.bin in the file system).
Generally, if you wish to flash just the modem, provided you have all the files in your ADB directory, use the following commands:
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Ensure you're flashing the correct firmware/modem for your device - incorrect firmware/modems can cause you to lose network access/IMEIs.

Related

[Q] RSDLITE in windows 8 not working?

Hey I've seen lots of posts around XDA about Win8 and RSDLITE issues, I can do everything - fastboot, see SD Card on phone, EVERYTHING, but when I installed RSDLITE 6.1.4 onto my Win8 machine, it just won't recognise my Razr M (XT905).
Just trying to get the newly released firmware files for JB onto my razr...can you fastboot them or do you need to use RSDLITE on the XMLs?
HELP!!!
Just do it manually using command-line fastboot.
In your case full list will be:
fastboot flash partition gpt_main0.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash sbl2 sbl2.mbn
fastboot flash sbl3 sbl3.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash logo logo.bin
fastboot flash devtree device_tree.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cdrom cdrom
fastboot erase tombstones
fastboot erase cache
If you want to delete user data, add:
fastboot erase userdata
After that continue booting by typing:
fastboot continue
and you've done.
You can make simply bat-file and just copy these lines there to simplify the procedure.
i'm running windows 8 and have never had any issues with rsdlite.
i'd try running usbdeview as admin and remove all moto drivers and then plug in phone to let the drivers load again.
another thing to be aware of is rsdlite asks for network access on first start, so make sure you allow access.
Q9Nap said:
i'm running windows 8 and have never had any issues with rsdlite.
i'd try running usbdeview as admin and remove all moto drivers and then plug in phone to let the drivers load again.
another thing to be aware of is rsdlite asks for network access on first start, so make sure you allow access.
Click to expand...
Click to collapse
Thanks Osmatic, just noticed there's a flash_fastboot.bat file in the folder...here goes!!!
Edit: JELLY BEANS JELLY BEANS JELLY BEANS!

No Service after Flashing

I flashed TWRP and the Stock ROM from here - https://github.com/motoxplay/stock (https://github.com/motoxplay/stock/...1563_LUX_RETAIL_DS_6.0.1_MPD24.107-52.xml.zip) and it's showing No service after that.
I tried going to *#*#4636#*#* and it looks like radio is off. I've Moto X Play Dual Sim. Any ideas?
Check your IMEI.If it shows put your phone in fastboot mode and enter these commands.Use the files from stock rom
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
effingbadluck said:
Check your IMEI.If it shows put your phone in fastboot mode and enter these commands.Use the files from stock rom
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Click to expand...
Click to collapse
Thanks. The IMEI shows. I tried the steps you mentioned. No luck.
Probably I'm using the wrong ROM?

Unlock bootloader

I've been retrieving the EFS folder (modem.img, modemst1.img and modemst2.img) and I ended up losing my device, it is in bootloop!
I have the .img files, but I can not get through fastboot because it is blocked, how can I unlock or solve my problem?
I'll use the commands:
Fastboot flash modem modem.img
Fastboot flash modemst1 modemst1.img
Fastboot flash modemst2 modemst2.img
Help me please!

So I just wiped my phone without handling the FRP...

... and now I can't go past the select WiFi screen. What do I do? I know my google credentials and all and I just want to move ahead but I don't seem to have the ability to do so.
Okay, I'm gonna answer this myself since I figured it out.
Basically, I flashed the wrong ROM (it was a downgrade). Beside that, there was an issue of a mismatch between kernel and the radio, so modem files required a reflash.
Required commands:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin

[XT1068_RETAILDSDSALL] Modem Files[fsg.mbn | NON-HLOS.bin] For all models

Hey Guys ,
I saw some members requesting for modem files of moto g 2nd generation (2014)[xt1068] . So here you go !!
This modems files work with all the models of the phone , whether it is indian or brazilian as it is extracted from the stock rom for [xt1068_TITAN_RETAILDSDSALL] version . It works for all marshmallow and lollipop running devices . I do not know for other versions .
The below zip file contains the modem files:
fsg.mbn
NON-HLOS.bin
`
download the drivers here
download the adb,mfastboot files here
download the modem files here (extract in the same folder of mfastboot)
open the folder with both the extracted files and hold shift key with right click and select "open command window here". Now run the following commands
Code:
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
please not that i am not responsable for any bricks or bootloops
credits:@Gaurav_Sharma
Gaurav021201 said:
Hey Guys ,
I saw some members requesting for modem files of moto g 2nd generation (2014)[xt1068] . So here you go !!
This modems files work with all the models of the phone , whether it is indian or brazilian as it is extracted from the stock rom for [xt1068_TITAN_RETAILDSDSALL] version . It works for all marshmallow and lollipop running devices . I do not know for other versions .
The below zip file contains the modem files:
fsg.mbn
NON-HLOS.bin
`
open the folder with both the extracted files and hold shift key with right click and select "open command window here". Now run the following commands
Code:
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
please not that i am not responsable for any bricks or bootloops
credits:@Gaurav_Sharma
Click to expand...
Click to collapse
Can we install modem files using recovery? If yes, then how?
What is the need to erase userdata when flashing modem files?
samsung j250 have two modem partition non-hlos.bin and modem.bin
gencom said:
samsung j250 have two modem partition non-hlos.bin and modem.bin
Click to expand...
Click to collapse
this is for moto g 2nd gen, dont flash wrong modem files!

Categories

Resources