yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] FelipeFritschF:
Hello, just want to thank you for your efforts but it seems I might have no solution after all.

Just wanna report exactly on what happened to me: I had the Pie 64 bit rom ArrowOS but only one fingerprint was working, and I read that I needed to flash the Nougat modem again in order to fix it. So I did that and flashed it only with

fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot reboot

However after that I lost my IMEI and while my SIM was detected, I always got no signal emergency calls only. Anyway, I tried your IMEI=0 fix and while it did fix that, strangely my IMEIs changed not to the ones that came with the device (I don't know about you folks, but the Brazilian regulatory agency prints them in a little sticker which is below the phone's cover, regardless I had them written down anyway), but they were two totally different ones, although they looked fully valid. I still get no signal, though.

I've tried this method multiple times, including with the latest NPJS25.93-14-18 stock ROM, but same results. After reading this guide (actually made for the G5 Plus), I did notice that I had no dhob.bin.bak file though, so I'm guessing this is my problem: somehow the backup that the phone reverts to was deleted. I think I had a TWRP backup before the incident but it was in my device's storage and I was stupid enough to flash including the erase userdata command. I also had an Oreo custom rom backup - and you folks might have noticed that the TWRP backups include the persist partition, so I imagined I could try copying it back to my phone and restore only the persist partition in order to fix it, but unfortunately that backup was in a laptop's HD and that HD was unfortunately broken beyond repair just the day before.
[Moto G4 Plus Guides, News, & Discussion] clonechill:
[MENTION=6490709]Heeth21[/MENTION], After flashing the Indian modem, fsg and hw provided by you and according to your procedures, I can confirm that VoLTE now works on my European EMEA variant flawlessly! Thank you man! I owe you big time! BTW, this method seems to be portable to many other devices. I can see a lot of people with phones purchased outside India with no VoLTE. Worthy of a new thread man!
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Thanx for confirming. So this means that Jio VoLTE just needs Indian baseband to work and ignores the device model.

I'll update the OP mentioning that the devices bought outside India can run Jio VoLTE by changing baseband to Indian.
[Moto G4 Plus Guides, News, & Discussion] FelipeFritschF:
Just wanna mention I finally fixed my phone using your method. Thanks.

Weirdly enough, when I tried to flash the (latest) stock ROM using minimal ADB I still got a different IMEI and had no signal anyway, but now that I tried it using the TWRP flashable stock rom, it worked just fine, even with the different IMEI. Just wanna leave that here as a suggestion for anyone who's still having trouble. I also used the "tywinlannister7" TWRP version, which actually let me do a separate backup of the persist, firmware and OEM partitions. In that case, I made a complete backup of the stock rom with the fixed persist, wiped it, and then fully restored my Arrow OS custom ROM. When I booted it again it wasn't working, as I expected, but then I went back to TWRP and simply restored the persist firmware and OEM partitions of the stock ROM backup over my custom ROM, and then it was working just fine. Thanks for your help.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
That different IMEI number is your MEID number. It happens in some cases. If you check the IMEI with *#06#, you will see the MEID number and if you check IMEI in Settings > About Device > Status > IMEI Information, you will see correct IMEI.

This is usually fixed by flashing Stock ROM again via fastboot, and we didn't know if it would work with TWRP flashable Stock ROM or not,

thanx to you now we know this too :p.

I would highly recommend taking backup of all partitions so that you can restore them later if needed. You can check post #2 of this thread or open the thread from this link which does tells about taking backup as well as restoring the partitions: [Guide] [XT16XX] Moto G4/Plus Complete Partition Backup/Restore Zip/Script

Anyways since it worked, that's great!
[Moto G4 Plus Guides, News, & Discussion] FelipeFritschF:
I'm not sure. It looks similar to the IMEI number, sure, but when it's the same both when using *#06# and looking at the settings. When I use fastboot getvar all, it also shows this different number as the IMEI, but the MEID is empty. My second SIM slot doesn't seem to be working, either. I'll try flashing the Stock ROM through ADB also.
[Moto G4 Plus Guides, News, & Discussion] Grypa:
Heeth21,I wonna thank you so much for that method: it works! I have MotoG4 (from yesterday Moto G4+!). It's not normal phone: 4/64GB,lateat Athene (april),twrp official,root,status of bootloader:engeneering (I found somwhere on xda that this means: everything is unlocked?Is that right?),and on front glass it has written: motorola confidential property:not for sale and number.By the way: does anyone know what is that mean?

So,when I opened it I found to two sim slots.Software show only one sim,one EMEI. I go fallow your guide and now I have two fully working sim slots and two EMEI's and I am very happy!It shows me also fingerprint sensor which I don't have in my phone (motherboard in this phone is this same like in G4+ version with only one different that it has no place to plug fingerprint sensor on it)

I used fastboo and everything gone like you wrote in first post.Only one different was that I didn't use su command because terminal reply : su not found.

Flashing hw.img takes a longer time than other flashes. So take it time to flash (about one, two minutes).

I have also question: I have another phone Moto G4+ XT1642 dual sim and the problem is that it doesn't see any sim card: even I place sim into slot it shows me :slot is empty. I tried to clean the slots,to put sim with tape on it (from up) but nothing helped. Could it be the hardware problem or software? I tried also your methode on it but no result. Have you any idea what could it be?

Again thank you for help.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
I do not know about this thing.

not detecting sim card would usually mean a hardware issue. You tried this method which would mean that you have already flashing stock rom once through fastboot. If that didn't work, then I don't think anything else could help in this case except repairing the sim slot or getting the sim detected somehow by pushing the sim card into the sim slot a little.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Sorry for the late reply.

Did you flash stock rom via TWRP?? You will have to flash it via fastboot.

fastboot getvar all will always show one IMEI no matter what and will not show MEID number.

If your second sim slot isn't working then there might be a hardware issue mostly.
[Moto G4 Plus Guides, News, & Discussion] Grypa:
Heeth21, I have other problem with my second Moto G4+:there is latest Nougat (NPJS25.9314-18),bootloader unlocked via Motorola web site,TWRP 3.2.0.1 official and ElementalXI kernel flashed,SuperSU Free.The issue is that I can not flash hw.img after flashing modem and fsg images via TWRP terminal,I put the command: dd if=/sdcard/hw.img of=/dev/block/bootdevice/by-name/hw and there is no effect even after I wait a long time and TWRP can not reboot system (it stuck on command: reboot:system). Also when I try to get root acces for terminal it says : su not found. The same is when I try to do all of that using adb on my pc. Could you help me with that?Thanks.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Since you are using terminal/adb when the device is in TWRP, there is no need for "su" as root is already enabled by default in TWRP.

"After flashing hw.img, there is no efect". This has happened with few users and the reason is unknown as of now. I would suggest wait for fastboot flashable Official oreo as it should mostly fix this issue.
[Moto G4 Plus Guides, News, & Discussion] Fenric82:
Tengo un Moto G4 Plus NPJS25.93-14-18, hice todo los paso pero aun sigue sin funcionar. Mi dispositivo reconoce las redes móviles pero aun el IMEI de ambas ranuras están en 0. Ayuda!
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Follow this to fix IMEI 0: [Guide] [XT16XX] [Solve] Moto G4/Plus IMEI=0 issue
[Moto G4 Plus Guides, News, & Discussion] eat-food:
Is there a way to fix the second sim slot not being detected?

I was on OmniROM pie and then downgraded to stock nougat using this thread. Then I had IMEI=0 issue which was fixed using this thread.

The problem now is the second slim slot doesn't work now. :(

It is not even getting detected. Is there a solution for this?
[Moto G4 Plus Guides, News, & Discussion] regoloko:
brasil xt1626 problema

Hello I have a moto g4 xt1626 he is with the wrong baseband, but I can not make it back to Brazil, I can use the can of latam more then just get the internet 4g and the sms does not receive a connection, these files from brazil are not getting so those of latam gave : '( se algum br ver me ajuda kkk por favor
[Moto G4 Plus Guides, News, & Discussion] camiloguimaraes:
was officially updated by the OREO

Hello friends. I wonder if this process works with the bike g4 plus xt1640? Since mine was officially updated by the OREO on 03/18/2019, and after that the sim network does not work, it detects the number but binds. Every attempt to call asks to deactivate flight mode. And it is not active. Other points I noticed is that some Apps do not work, ex. Instagram. What can I do??? Can anybody help me???
[Moto G4 Plus Guides, News, & Discussion] camiloguimaraes:
I wonder if this procedure works with the OREO version? I will explain, after the exit of the OREO update, my cell phone stopped working the chip. It's already 12 days. Would you know a procedure?
[Moto G4 Plus Guides, News, & Discussion] tk8320:
I have same problem I tried so many ways I am on Oreo now but In my case efs and persist partition is missing but it shows imei on fastboot getvar imei
[Moto G4 Plus Guides, News, & Discussion] pabalsalomon:
Do I have to unistall the Pie Rom?

I don ´t understand. This is to solve the IMEI problem after flashing a Pie Rom, for example. But requisites are having Nougat Rom and Elemental X Kernel? Do I have to wipe or delete this rom and install stock rom? Will I be able to install Arrow at last or never? I have an Arrow OS in a XT1621 Dual Sim (maybe from Brazil or Mexico). I have 3G or H+ but no 4G signal. I remember that i had 4G but afer trying to go root and installing the kernel (to have the app FM Radio) i lost the 4G. I flashed the file IMEI=0_Fix_athene.zip but it was the same.

Thanks.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
That was the way earlier, but now since we have fastboot flashable stock oreo rom, just flashing it will fix the issue
[Moto G4 Plus Guides, News, & Discussion] fegama:
Does it have a vídeo tutorial ? I tried to do the steps but i dont get sucessful attempts ...
[Moto G4 Plus Guides, News, & Discussion] Takx:
Hello guys, I have a Moto G4 plus that got updated by OTA for Android 8.1.0, and now it doesn't have network (and I analyzed the eletronics of this, there is no short circuit or damage, just the baseband controller is not sending a signal on 1 pin output to the antena amplifier circuit).

If I understood it right, first I will have to root, twrp to stock rom (because motorola doesnt let me downgrade), do this process of sending new modem file (dual chip, brazilian version) and them updating to 8.1.0 (or just leave at 7.0), is that right? Just confirming the process before going all the work for it (will have to look out how to root, twrp, stock rom first) - if anyone have links, I would apreciate.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
I wouldn't recommend downgrading from Oreo to Nougat.

This method will work on Oreo, but you will have to use the Oreo modem files.

For Nougat, I personally tested all modem files for all the baseband i.e all the models.

I haven't upgraded to Oreo bootloader and won't upgrade as well until we get a working blank flash, so I couldn't test the modem files for Oreo and hence we still have Nougat modem files in this thread.

Unless someone is willing to test all the modem files for Oreo, this thread cannot be updated for Oreo.
[Moto G4 Plus Guides, News, & Discussion] Takx:
But is there someone that uploaded the Oreo modem files? And, to be able to flash just the modem, I still need root and twrp, right?

If I can't find the Oreo version of this, will have to downgrade to Nougat anyway if I want the modem working again.
[Moto G4 Plus Guides, News, & Discussion] Kaetokiha:
I tried this guide, but i couldn't change the baseband to the one i'm supposed to have (Brazilian baseband). The baseband that i have on the cellphone right now is M8952_80030.25.03.62R DFLT_FSG.

One thing i'd like to know is that when you flash in the 3 files (the ones linked in this thread), does the baseband version already changes (can you see the new baseband on the bootloader for example?) or you can only see if it changed once you flash the new rom?

I'm asking this because i'm trying to figure out where the process is going wrong, if it's while flashing the files or while flashing the rom.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Good question - I suspect the baseband changes after flashing the stock ROM, so the files are properly relinked and read by your firmware, generating the correct settings for your region.

Since you have DFLT_FSG, you could try this: https://xdaforums.com/showpost.php?p=79437813&postcount=14 Try using LATAM for Brazil modems when asked.
[Moto G4 Plus Guides, News, & Discussion] Kaetokiha:
Hey thanks for your answer. I did this and the baseband version didn't change. Since that thread is about the android 8.1 i flashed in the LinageOS 8.1 (which i had tried before too, but gave up for a reason that actually doesn't matter anymore) and now i can make and receive calls.

I'm not sure if it's 100%, but since it's working and i'm tired of messing with this, i'll keep using it like this.

Thanks.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
After flashing those 3 files, the baseband in the bootloader will not change until you flash the stock ROM via fastboot again.

Thank you [MENTION=7970352]echo92[/MENTION] for helping out with the baseband problems for Oreo!!!
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Well, I the last time when I was collecting Oreo modem files for all baseband for Nougat, I asked in the community for the modem files from users to which they agreed, and then tested all the modem files on my device.

I have tagged them in the last part of the OP for thanking them.

Since I haven't upgraded yet to Oreo firmware, I cannot test the modem files even if I collected new files from users, so unless somebody is willing to do it, there is another method posted just 2 posts above this post by [MENTION=7970352]echo92[/MENTION]. You can try that out.

.
[Moto G4 Plus Guides, News, & Discussion] Takx:
Hey,

Just tried the procedure and it worked!!! Now I'm back with network.

big thanks!
[Moto G4 Plus Guides, News, & Discussion] Kaetokiha:
Thanks for replying.

Although i can make calls without problem now, the baseband version still didn't change so if i try to flash another rom i may have some problems.

I also have a problem with the bootloader where when i plug in the usb cable it shows connect then it disconnect immediately (only in the bootloader mode). I can still flash roms like this, but a few things can't be done (i couldn't flash the 3 modem files of this thread through the bootloader for example) and this problem seem to be because i flashed Nougat rom 7.0 rom through the recovery mode (the rom was modificed to do that). So if i want to try fix that i 'ill have to flash other roms so i may also try to flash the modem files again.
[Moto G4 Plus Guides, News, & Discussion] Kaetokiha:
I want to give a small update on my cell situation. My cellphone baseband has been completely recovered now. After following the procedure that [MENTION=7970352]echo92[/MENTION] posted and flashed the LineageOS 8.1 rom and although i was able to make and receive calls, the baseband version as still wrong and the android was indicating as if there was no network even though even though it was working.

I decided to flash the stock 7.0 rom (cause the 8.1 performance was not good) and after flashing the 7.0 the baseband is now showing the correct version.

Thank you [MENTION=6490709]Heeth21[/MENTION] and [MENTION=7970352]echo92[/MENTION] for the help.
[Moto G4 Plus Guides, News, & Discussion] xdam04:
I resurrected my phone finally

I resurrected my phone finally Thank you guys all credits goes to its respective owner Thank you:)
[Moto G4 Plus Guides, News, & Discussion] Jasman singh:
i recently updated my g4 plus to oreo but my device says no network i officially updated it and my imei number is not 0 also the sound also became low after the update
[Moto G4 Plus Guides, News, & Discussion] shawgluz:
permission denied su :/
[Moto G4 Plus Guides, News, & Discussion] biestable:
please, i need the file for modem,hw,fsg (img) for LATAM (xt1641), i seach en the link but --> is offline not mirror found.

pd: thanks, and sorry for my english

edit: i fond the files in this post, https://xdaforums.com/moto-g4-plus/...olte-issue-t3865608/post78185518#post78185518
[Moto G4 Plus Guides, News, & Discussion] LuizFSan:
Plz, mirror to XT1640

I need to download the xt1640 files, can someone have a link? there's no mirror's and I need to download them

edit: I already found the link on the comment of biestable, just read the post he reply and you will see the link for google drive.
[Moto G4 Plus Guides, News, & Discussion] shivarajan666:
Does this work if i am on stock oreo ? I recently had imei 0 issue and now i was able to get imei on phone, but when i insert sim card my phone turns off.
[Moto G4 Plus Guides, News, & Discussion] HITKET:
Not working

I flashed all file on my moto g5 plus xt1643

With Oreo 8.1 .

But it is still showing no network
[Moto G4 Plus Guides, News, & Discussion] sanskar1:
i have the same issue

i have same issue of second imei get replaced by meid and no network (setting it shows both correct imei)

i have flashed all stop rom and done reset but it remains same.

when i flashed oreo 8.1 both imei's were showing correct in *#06# but there was no network.

but whenever is use

fastboot getvar imei

it only shows 1 imei

is my phone changed to single sim?

In settings model is showing g4 plus and i tried all methods and stock rom for moto g4 plus XT1643 but it is same

thanks in advance:good::good:
[Moto G4 Plus Guides, News, & Discussion] Rathnakumar30:
Please help with Moto G4 Play Harpia

I accidentally updated the files in this thread on moto g4 play (harpia) - XT1602. Now my radio is not turning on. It would be of great help if someone let me know how to revert back or if someone help me in providing the appropriate files for XT1602?

Thanks in advance.
[Moto G4 Plus Guides, News, & Discussion] Prabhat00:
Thanks [MENTION=6490709]Heeth21[/MENTION]

It worked for me also

I had the problem

unable to make calls because there is no network signal , while making call ,it's giving error- " turn off aeroplane mode to make calls"

But aeroplane mode is off already , also in service status it's showing - Radio off/ Data: Radio off

Finally problem solved by following these steps, Thanks alots
[Moto G4 Plus Guides, News, & Discussion] useremu88:
it didnt work. only fingerprint is working now (moto g4 changed to moto g4+)

i have moto g4+ xt1643 and flashed the stock rom before applying these indian region files. but still no luck.

any way to solve this? please i cant use calls feature.

edit: now it is working. i didnt flash the stock after all this. i think we have to flash it 2nd time to work correctly. i flashed oreo update and it is working perfect. thanks for your great work
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Is the problem resolved?

I have harpia with me so I can provide the modem files (steps should remain same mostly, though will confirm)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hey is the problem resolved?

I can help providing a G Drive link, if its needed

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

no idea, it might or might not work

i hope you have resolved your issue

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Is the problem resolved?

Can you provide more details?

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Is the problem resolved now?

This happens when either the device isn't rooted and/or superuser rights weren't given to the terminal app/command line

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Moto G4 Plus Guides, News, & Discussion] Rathnakumar30:
Hi Heeth Jain,

THe problem is not yet resolved and the modem files are still not available to me for harpia .Can you pls share it with me. Thanks in advance.

Regards,

Rathna kumar
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Okay, here are the files below.

My device details: XT1602 (2GB/16 GB model)

BUT

BUT

BUT

Before flashing, take backup of your current files with the following commands, which will store the backup in your /sdcard (Internal Storage)

Files being backed up:

Modem Files: modem, fsg, and hw

IMEI Related Files: modemst1, modemst2, persist

Commands for backup

dd if=/dev/block/bootdevice/by-name/modem of=/sdcard/modemOG.img
dd if=/dev/block/bootdevice/by-name/fsg of=/sdcard/fsgOG.img
dd if=/dev/block/bootdevice/by-name/hw of=/sdcard/hwOG.img

dd if=/dev/block/bootdevice/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/bootdevice/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

Now, follow the guide, the steps should remain the same.

If anything should go wrong, you can just restore your backup files and make things the way they currently are.

Since there is no record of whether somebody has done this earlier (assuming you are asking for help here), we have to take backup before hand.

ALSO, take other partitions backup before flashing as well (just in case)
[Moto G4 Plus Guides, News, & Discussion] vezdebest:
i have the same network error, IMEI is ok, but on xt1622 (i'm italian)

baseband shown is M8952_70030.25.03.62.02R and i'm on android 9 pie AOSiP custom ROM, sim works on other devices and network worked until i flashed this ROM

The files in the first post isn't for my device, what can i do?
[Moto G4 Plus Guides, News, & Discussion] zitronenmelissa:
Your baseband is old (Nougat). You need to flash stock Oreo rom before:

ATHENE_RETAIL_8.1.0_OPJ28.111-22-1_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

BUT:

backup EFS (twrp) AND persist.img before you do so !

dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

(twrp or adb shell)

then you can flash your rom again