How i restore the imei of moto x4 - Moto X4 Questions & Answers

When installing a custom rom it was deleted and now it does not detect Wi-Fi or sim card, I already tried to install the backup and return to rom stock and none was working

Read this thread: https://forum.xda-developers.com/moto-x4/how-to/android-one-xt1900-1-wifi-sim-stock-t3941837/

DGALVANM said:
When installing a custom rom it was deleted and now it does not detect Wi-Fi or sim card, I already tried to install the backup and return to rom stock and none was working
Click to expand...
Click to collapse
Try flashing this from stock firmware
Code]
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
[/Code]
Sent from my PH-1 using XDA Labs

Related

[Q] How to update modem?

Hi, can anyone tell me how to update the modem to the latest version?
I'm on pure edition 1095 unlocked, twrp, custom 511 rom. I've searched all over and cannot find a clear guide on how to do it.
Thank you in advance!
PainfulLover said:
Hi, can anyone tell me how to update the modem to the latest version?
I'm on pure edition 1095 unlocked, twrp, custom 511 rom. I've searched all over and cannot find a clear guide on how to do it.
Thank you in advance!
Click to expand...
Click to collapse
Download the full firmware of the 5.1 Pure edition then extract the files
NON-HLOS.bin and FSH.mbn the go to fast boot and type:
mfastboot erase modemst1 mfastboot erase modemst2 mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn mfastboot reboot
Done. You have the last modem of the 5.1 pure edition.
Now you've confused me because I found different code and steps on moto website and xda
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
PainfulLover said:
Now you've confused me because I found different code and steps on moto website and xda
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Click to expand...
Click to collapse
Is the same just different order. The erase command don't erase the NON-HLOS.bin but the stats and configuration or the modem.
Flashing before of after the new modem over the old makes no difference unless you don't erase modemst1 and st2.
mfastboot is the "same" fast boot just a command special designed to Motorola devices.
I followed the instructions and got unknown baseband and blank imei. I restored the efs from backup and got the imei back, the baseband version is newer. I thought the efs restore would change it back to the original?
PainfulLover said:
I followed the instructions and got unknown baseband and blank imei. I restored the efs from backup and got the imei back, the baseband version is newer. I thought the efs restore would change it back to the original?
Click to expand...
Click to collapse
ok, maybe is because the 5.1.1 custom you are using is not compatible with the modem you are trying to flash. And it is "normal" if you lose signal and IMEI after, that happened to me when I flashed the 5.0 modem over a 4.4.4, the solution is simple, just flash back your original modem and your IMEI/baseband will be restored.

GPS doesn't work-TWPR not wipe/restore cache and others partition

How to fix this? what file I should flash in fastboot or recovery?
Maps and others apps not recognize mi GPS
2-When I wipe cache partition or restore, twrp says error
(3.0...)
I have a moto x xt1058 with rom epsilon project (flashed over 5.1 stock) *When I flashed stock 5.1 with fastboot, fastboot give some errors.
sorry for my bad english
As to the GPS, clearing the modem using fastboot worked for me.
fastboot erase modemst1
fastboot erase modemst2
You might need to your device's stock NON-HLOS.bin as modem before issuing these commands. Download your device's latest stock firmware, extract the requisite file and flash it with the following command.
fastboot flash modem NON-HLOS.bin
I do not know how to help you with issue number two. Maybe just try flashing the official TWRP image again.

'No Sim Card/No Signal' after flashing Stock ROM - (IMEI IS NOT GONE)

First, I rooted my device, then i flashed 'TWRP-r20' recovery and flashed 'Lineage OS 15.1 - 20180422 - UNOFFICIAL - sanders'.
Everything was working fine except i couldn't CALL to anyone, So i flashed 'PixelExperience_sanders-8.1.0-OFFICIAL' and everything was same as "Lineage OS", NO INCOMING OR OUTGOING CALL,
I was getting 'Call Ended' Error.
So i decided to flash ORIGINAL ROM via fastboot.
When i booted up the rom there's no signal, after completing setup, i checked it wasn't detecting any Sim Card.
Now i have Original ROM with 'NO SIM CARD' error.
And I tried to Search Network 'Manually' and 'Automatically', both didnt work.
What to do now?
Keyur Sureliya said:
First, I rooted my device, then i flashed 'TWRP-r20' recovery and flashed 'Lineage OS 15.1 - 20180422 - UNOFFICIAL - sanders'.
Everything was working fine except i couldn't CALL to anyone, So i flashed 'PixelExperience_sanders-8.1.0-OFFICIAL' and everything was same as "Lineage OS", NO INCOMING OR OUTGOING CALL,
I was getting 'Call Ended' Error.
So i decided to flash ORIGINAL ROM via fastboot.
When i booted up the rom there's no signal, after completing setup, i checked it wasn't detecting any Sim Card.
Now i have Original ROM with 'NO SIM CARD' error.
And I tried to Search Network 'Manually' and 'Automatically', both didnt work.
What to do now?
Click to expand...
Click to collapse
Is your network Volte?
Did you took backup after installing TWRP, if you have backup of efs and persist, most likely you'll get back your Volte on restoring.
I have the same issue but i find solution
Step by step:
1. Flash TWRP.
2. Flash Pixel Experience rom if we haven't flashed yet.
3. Turn on phone with flashed rom to obtain network signal
4. Here we will get the IMEI and only have 3g signal, so we need to restart the phone in bootloader mode and type in fastboot "fastboot erase modemst1" and "fastboot erase modemst2", and reboot again
5.turn off and into recovery, go to buckup and Select only EFS and save in your sd card
6.flash rom stock,and turn on your phone
7.turn off and get into recovery,restore your buckup
8.reboot
Sent from my Moto G5S Plus using XDA Labs
Keyur Sureliya said:
First, I rooted my device, then i flashed 'TWRP-r20' recovery and flashed 'Lineage OS 15.1 - 20180422 - UNOFFICIAL - sanders'.
Everything was working fine except i couldn't CALL to anyone, So i flashed 'PixelExperience_sanders-8.1.0-OFFICIAL' and everything was same as "Lineage OS", NO INCOMING OR OUTGOING CALL,
I was getting 'Call Ended' Error.
So i decided to flash ORIGINAL ROM via fastboot.
When i booted up the rom there's no signal, after completing setup, i checked it wasn't detecting any Sim Card.
Now i have Original ROM with 'NO SIM CARD' error.
And I tried to Search Network 'Manually' and 'Automatically', both didnt work.
What to do now?
Click to expand...
Click to collapse
As it is not potter but sanders i can't refer my posts because it is for potter.
But i can help.
Telegram me :
http://t.me/i_am_geekofia
diegomartinezlovey said:
I have the same issue but i find solution
Step by step:
1. Flash TWRP.
2. Flash Pixel Experience rom if we haven't flashed yet.
3. Turn on phone with flashed rom to obtain network signal
4. Here we will get the IMEI and only have 3g signal, so we need to restart the phone in bootloader mode and type in fastboot "fastboot erase modemst1" and "fastboot erase modemst2", and reboot again
5.turn off and into recovery, go to buckup and Select only EFS and save in your sd card
6.flash rom stock,and turn on your phone
7.turn off and get into recovery,restore your buckup
8.reboot
Click to expand...
Click to collapse
Thank you, it worked, but now i can't call or receive call, and network is reconnecting every few mins. And another new problem I'm facing is now Battery is draining too fast!
GEEKOFIA said:
As it is not potter but sanders i can't refer my posts because it is for potter.
But i can help.
Telegram me :
http://t.me/i_am_geekofia
Click to expand...
Click to collapse
"No username found." Is there any other username of yours in telegram?
Keyur Sureliya said:
"No username found." Is there any other username of yours in telegram?
Click to expand...
Click to collapse
my bad i changed it to https://t.me/Rage_Demon.
join group here https://t.me/geekofia.
Keyur Sureliya said:
First, I rooted my device, then i flashed 'TWRP-r20' recovery and flashed 'Lineage OS 15.1 - 20180422 - UNOFFICIAL - sanders'.
Everything was working fine except i couldn't CALL to anyone, So i flashed 'PixelExperience_sanders-8.1.0-OFFICIAL' and everything was same as "Lineage OS", NO INCOMING OR OUTGOING CALL,
I was getting 'Call Ended' Error.
So i decided to flash ORIGINAL ROM via fastboot.
When i booted up the rom there's no signal, after completing setup, i checked it wasn't detecting any Sim Card.
Now i have Original ROM with 'NO SIM CARD' error.
And I tried to Search Network 'Manually' and 'Automatically', both didnt work.
What to do now?
Click to expand...
Click to collapse
New Discoveries:
Problem of "Unable of Call OR Receive Call AND SMS" is ONLY IN JIO SIM CARD, I tried Airtel SIM and Its working fine, BUT Network is getting Disconnected frequently on its own EVERY FEW MINS.
The Problem of Not be able to CALL OR SMS is because now "Enhanced 4G LTE" option is GONE in Stock ROM.
My phone was not detecting the sim card after I flashed a bad radio (NON-HLOS.bin) from the wrong stock rom.
You need to be careful when flashing stock roms to make sure you have the right model and region.
Here's what I did, I hope it helps:
First find out the correct model, mine is XT1805 (Europe, dual sim)
Download the correct stock firmware for your region and model. I can't post links but ALL regions available in "https://mirrors.lolinet.com/firmware/moto/sanders/official/"
Once you have the correct stock rom, extract "NON-HLOS.bin" and "fsg.mbn"
Flash using fastboot:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
This got me back to the sim card being detected. I still don't have cell network on stock rom, but at least the sim is detected again
coldhx said:
My phone was not detecting the sim card after I flashed a bad radio (NON-HLOS.bin) from the wrong stock rom.
You need to be careful when flashing stock roms to make sure you have the right model and region.
Here's what I did, I hope it helps:
First find out the correct model, mine is XT1805 (Europe, dual sim)
Download the correct stock firmware for your region and model. I can't post links but ALL regions available in "https://mirrors.lolinet.com/firmware/moto/sanders/official/"
Once you have the correct stock rom, extract "NON-HLOS.bin" and "fsg.mbn"
Flash using fastboot:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
This got me back to the sim card being detected. I still don't have cell network on stock rom, but at least the sim is detected again
Click to expand...
Click to collapse
did you get signal now ??
Yo tuve el mismo problema y mi solicion fue instalar todas las actualizaciones de sistema, cada vez que instalo una nueva ROM tengo que instalar todas las actualizaciones de sistema para tener de nuevo conección con mi simcard
I have the same problem "no sim inserted". I don't want to install any other ROMs, just want the signal back. Please help if anyone has the fix.
Purple_Panda said:
I have the same problem "no sim inserted". I don't want to install any other ROMs, just want the signal back. Please help if anyone has the fix.
Click to expand...
Click to collapse
Hope this can help https://forum.xda-developers.com/g5-plus/how-to/fixed-flash-stock-firmware-moto-g5-plus-t3763606
This happened to me after going back to Tmo from Retus.
coldhx said:
My phone was not detecting the sim card after I flashed a bad radio (NON-HLOS.bin) from the wrong stock rom.
You need to be careful when flashing stock roms to make sure you have the right model and region.
Here's what I did, I hope it helps:
First find out the correct model, mine is XT1805 (Europe, dual sim)
Download the correct stock firmware for your region and model. I can't post links but ALL regions available in "https://mirrors.lolinet.com/firmware/moto/sanders/official/"
Once you have the correct stock rom, extract "NON-HLOS.bin" and "fsg.mbn"
Flash using fastboot:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
This got me back to the sim card being detected. I still don't have cell network on stock rom, but at least the sim is detected again
Click to expand...
Click to collapse
Thank you. Those little adb commands worked like magic for me
coldhx said:
My phone was not detecting the sim card after I flashed a bad radio (NON-HLOS.bin) from the wrong stock rom.
You need to be careful when flashing stock roms to make sure you have the right model and region.
Here's what I did, I hope it helps:
First find out the correct model, mine is XT1805 (Europe, dual sim)
Download the correct stock firmware for your region and model. I can't post links but ALL regions available in "https://mirrors.lolinet.com/firmware/moto/sanders/official/"
Once you have the correct stock rom, extract "NON-HLOS.bin" and "fsg.mbn"
Flash using fastboot:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
This got me back to the sim card being detected. I still don't have cell network on stock rom, but at least the sim is detected again
Click to expand...
Click to collapse
same problem here, this logo after installing the Havoc OS, someone found a solution, performed the procedures that passed but the same problem continues
---------- Post added at 04:50 PM ---------- Previous post was at 03:59 PM ----------
coldhx said:
My phone was not detecting the sim card after I flashed a bad radio (NON-HLOS.bin) from the wrong stock rom.
You need to be careful when flashing stock roms to make sure you have the right model and region.
Here's what I did, I hope it helps:
First find out the correct model, mine is XT1805 (Europe, dual sim)
Download the correct stock firmware for your region and model. I can't post links but ALL regions available in "https://mirrors.lolinet.com/firmware/moto/sanders/official/"
Once you have the correct stock rom, extract "NON-HLOS.bin" and "fsg.mbn"
Flash using fastboot:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
This got me back to the sim card being detected. I still don't have cell network on stock rom, but at least the sim is detected again
Click to expand...
Click to collapse
same problem here, this logo after installing the Havoc OS, someone found a solution, performed the procedures that passed but the same problem continues
hello please help i have a moto g5s i downgrade to 7.1.1 follow this tutorial, imei and baseband OK, but no signal, i tried with different flashes, and not work, when i return to 8.1 rom signal ok, but touchscreen dont work...
diegomartinezlovey said:
I have the same issue but i find solution
Step by step:
1. Flash TWRP.
2. Flash Pixel Experience rom if we haven't flashed yet.
3. Turn on phone with flashed rom to obtain network signal
4. Here we will get the IMEI and only have 3g signal, so we need to restart the phone in bootloader mode and type in fastboot "fastboot erase modemst1" and "fastboot erase modemst2", and reboot again
5.turn off and into recovery, go to buckup and Select only EFS and save in your sd card
6.flash rom stock,and turn on your phone
7.turn off and get into recovery,restore your buckup
8.reboot
Sent from my Moto G5S Plus using XDA Labs
Click to expand...
Click to collapse
erasing 'modemst1'...
FAILED (remote: Error: This image isn't allow download
)
Problem solved .. i flashed stock august 19 using codes
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash oem oem.img
fastboot erase DDR
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
fastboot reboot
then after first boot again flash this coades
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot reboot
baseband and imei showing
Keyur Sureliya said:
First, I rooted my device, then i flashed 'TWRP-r20' recovery and flashed 'Lineage OS 15.1 - 20180422 - UNOFFICIAL - sanders'.
Everything was working fine except i couldn't CALL to anyone, So i flashed 'PixelExperience_sanders-8.1.0-OFFICIAL' and everything was same as "Lineage OS", NO INCOMING OR OUTGOING CALL,
I was getting 'Call Ended' Error.
So i decided to flash ORIGINAL ROM via fastboot.
When i booted up the rom there's no signal, after completing setup, i checked it wasn't detecting any Sim Card.
Now i have Original ROM with 'NO SIM CARD' error.
And I tried to Search Network 'Manually' and 'Automatically', both didnt work.
What to do now?
Click to expand...
Click to collapse
Same here :/

LOOSING IMEI AND BASEBAND VERSION / SIM showing NO SERVICE

Whenever I try flashing a custom ROM i either loose my IMEI numbers and baseband version or simply get a NO SERVICE. The most recent custom rom i tried was Pixel Experience android 10, for this ROM i had my IMEI numbers and baseband version but got a "no service" - it did however detect my service provider.
Also when i flash the stock ROM back i don't get data(imei and baseband) immediately, i have to perform 2 OTA updates to get them.
So here's what i tried, flashed stock ROM did the 2 OTA updates to get my SIM to work and took a TWRP backup of EFS. Then flashed custom ROM and restored EFS but still didn't get the SIM working
I also took an entire backup of the stock ROM but when i try restoring it i get an error " Extract tar fork 255" in TWRP - now i believe this has to do with the fact tht i'm unable to flash TWRP recovery when on stock ROM (i keep getting a "no command" when i boot to recovery like this) but instead i have to directly boot into twrp every time - fastboot boot twrp.img and when i do it this way TWRP asks for a decrypt(?) password for which i press cancel.. which leads me to believe the backing up doesn't work properly because of this.
Any idea of to fix any of this?
Try to flash validus rom then back to stock.
While flashing stock skip
fastboot erase modemst1
fastboot erase modemst2
Then flash whatever you want.
And also in twrp try to repair data partition. Decrypt message could be bad disk sign.
I faced this issue, can't get 4G signal and speaking myself "how can validus rom solve this problem, nah just another silly solution"
But it solved!
flashe stock (august19 ROM) using codes
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash oem oem.img
fastboot erase DDR
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
fastboot reboot
then after first boot again flash this coades
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot reboot
baseband and imei showing
sushiada said:
Whenever I try flashing a custom ROM i either loose my IMEI numbers and baseband version or simply get a NO SERVICE. The most recent custom rom i tried was Pixel Experience android 10, for this ROM i had my IMEI numbers and baseband version but got a "no service" - it did however detect my service provider.
Also when i flash the stock ROM back i don't get data(imei and baseband) immediately, i have to perform 2 OTA updates to get them.
So here's what i tried, flashed stock ROM did the 2 OTA updates to get my SIM to work and took a TWRP backup of EFS. Then flashed custom ROM and restored EFS but still didn't get the SIM working
I also took an entire backup of the stock ROM but when i try restoring it i get an error " Extract tar fork 255" in TWRP - now i believe this has to do with the fact tht i'm unable to flash TWRP recovery when on stock ROM (i keep getting a "no command" when i boot to recovery like this) but instead i have to directly boot into twrp every time - fastboot boot twrp.img and when i do it this way TWRP asks for a decrypt(?) password for which i press cancel.. which leads me to believe the backing up doesn't work properly because of this.
Any idea of to fix any of this?
Click to expand...
Click to collapse
lynxrz said:
Try to flash validus rom then back to stock.
While flashing stock skip
fastboot erase modemst1
fastboot erase modemst2
Then flash whatever you want.
And also in twrp try to repair data partition. Decrypt message could be bad disk sign.
I faced this issue, can't get 4G signal and speaking myself "how can validus rom solve this problem, nah just another silly solution"
But it solved!
Click to expand...
Click to collapse
which version can you share the link of Which version orpost link or download link
[email protected]!vam said:
which version can you share the link of Which version orpost link or download link
Click to expand...
Click to collapse
Trying it out on a Moto G5s plus. Validus to stock to dot OS. Let's see if it brings back the baseband and IMEI. Fingers crossed
Editidn’t work

IMEI and network is there But Network Stuck on 2g

Tried erasing modem 1 & 2 then it show no service cause IMEI is erased Currently on pixel os android 11 but stuck with 2g,earlier when i was on stock and flashed octiva os at that time 4g was working but when i flashed stock rom again then imei lost and stuck on 2g thou I was able to recover IMEI but network stuck on 2g
[email protected]!vam said:
Tried erasing modem 1 & 2 then it show no service cause IMEI is erased Currently on pixel os android 11 but stuck with 2g,earlier when i was on stock and flashed octiva os at that time 4g was working but when i flashed stock rom again then imei lost and stuck on 2g thou I was able to recover IMEI but network stuck on 2g
Click to expand...
Click to collapse
Could be missing APN settings, search for your carriers apn settings
try flashing the radio like this.
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
sd_shadow said:
Could be missing APN settings, search for your carriers apn settings
try flashing the radio like this.
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Click to expand...
Click to collapse
When I erase modem it shows no service but haven't tried this whole code will try it but which one to flash stock files or rom files ? Currently on Pixel os Android 11
[email protected]!vam said:
When I erase modem it shows no service but haven't tried this whole code will try it but which one to flash stock files or rom files ? Currently on Pixel os Android 11
Click to expand...
Click to collapse
Stock
sd_shadow said:
Stock
Click to expand...
Click to collapse
Tried this, Executed the above code on Pixel experience ,But now it shows no Service
[email protected]!vam said:
Tried this, Executed the above code on Pixel experience ,But now it shows no Service
Click to expand...
Click to collapse
Thanks for the help,now it happened to be I flashed octiva os and then that command and it solved my problem, so can you help to get back to stock without losing imei or 4g
sd_shadow said:
Could be missing APN settings, search for your carriers apn settings
try flashing the radio like this.
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Click to expand...
Click to collapse
Thank you for that. I was stuck on 3G with the ROM Moto Experience+ after a battle to solve the lost of IMEI e another battle to install TWRP. With everything solved, the phone was stuck on 3G and thanks to your solution I was able to connect on LTE again.

Categories

Resources