yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] cahuanabellini:
Well, I was on stock 7.0 and downgraded to 6.0 to install flyme os, then I went back to 7.0 and I didn't have fingerprint and signal, then I tried all the solutions that were posted before in this thread and nothing worked, then I tried yours and when I use adb push, write the code and press enter nothing happens, the console just freezes, and when I do it manually on twrp (file manager) it doesn't work :(

Sorry for my bad english
[Moto G4 Plus Questions & Answers] kur0g4ne:
Do you have the right drivers in the computer that your'e using?, have you ever tried in another computer?, which version of ADB are you using?, also knowing the version (or variant) of TWRP might be useful to know.
[Moto G4 Plus Questions & Answers] Tengakallan:
It is sad that Motorola don't have a firmware flashing tool like odin from samsung ,fastboot flashing methed destroyed my network ,now using my Motorola g4 plus as a 5.5 inch wifi tab .

This will be my last motorola (lenova)product. They are not providing specific stock images for fastboot flashing in their website
[Moto G4 Plus Questions & Answers] joaopaulo_:
I use adb driver 1.4.3, use lastest twrp. And when i use "adb push" it freeze and not working. Any sugestion to make this work?
[Moto G4 Plus Questions & Answers] Tengakallan:
I entered code in adb but it shows' no such a file or directory,

Anyone help me...

Edit :I did it now no more DFLT FSG in baseband version.But baseband shows latam cust(I think it is Latin American version)

Now I am downloading another firmware for my xt1643 Indian unit.
[Moto G4 Plus Questions & Answers] joaopaulo_:
What version of twrp you use? And adb drivers version?
[Moto G4 Plus Questions & Answers] Tengakallan:
Twrp 3.1.1.0 ,and https://xdaforums.com/showthread.php?t=2588979

---------- Post added at 01:34 PM ---------- Previous post was at 01:29 PM ----------

I used 'hw .IMG from this thread but when i installed

Firmware for my device xt1643 (indian ) baseband showing latin American baseband and still no network for me .I tried other firmwares but my baseband is still showing LATAM CUST (Latin American).
[Moto G4 Plus Questions & Answers] joaopaulo_:
My freeze at "adb push", and I don't kown what have to do to make this works. My hw partition is corrupted and this is only way to fix.
[Moto G4 Plus Questions & Answers] Tengakallan:
My Mobile is xt1643 Indian version , please help me

I did it with hw.img file from your post and flashed

1643 firmware for my device but no network

In about phone section my baseband shows LAT AM CUST I tried with other firmware for my 1643 but result is same please help me
[Moto G4 Plus Questions & Answers] goutham9696:
Hi . thank you so much :) . i got my fingerprint settings and the two IEMI numbers back . :) But still my both networks show NO SERVICE . :( Can you help me to fix this??? i just followed the exact steps u mentioned. My mobile is XT1643 Indian Version.
[Moto G4 Plus Questions & Answers] Tengakallan:
What is your baseband version showing in

About phone in setting
[Moto G4 Plus Questions & Answers] goutham9696:
Baseband version : Athene_LATAM_DSDS_CUST
[Moto G4 Plus Questions & Answers] Tengakallan:
Mine is also showing like that but no DSDS.

I think we both have same issue .I think we need

Correct hw.img for fixing Indian version . I tried with other firmware for my device xt1643 ,but result is same ,in all firmware ,my baseband version shows same

'Athene LATAM CUST 'baseband.
[Moto G4 Plus Questions & Answers] goutham9696:
Yeah . But it is identifying the two ISPs . But the signal strength is 0 . Btw will there be any luck if we try to flash MM stock??
[Moto G4 Plus Questions & Answers] Tengakallan:
Type this code *#*#4636#*#* and check radio is on

Mine is always off .I tried with marshmallow stock firmware but still no luck.
[Moto G4 Plus Questions & Answers] goutham9696:
Yeah same . Radio is Off :(
[Moto G4 Plus Questions & Answers] goutham9696:
i tried with this hwXT1643_0s.img file mentioned in this post : https://xdaforums.com/showpost.php?p=74016404&postcount=144

and flashed the latest stock firmware.

Everything is working fine now :) Thanks to [MENTION=8274594]givitago[/MENTION]
[Moto G4 Plus Questions & Answers] Tengakallan:
What firmware you flashed give me link please...and how you flash it (method)
[Moto G4 Plus Questions & Answers] goutham9696:
i just downloaded and followed the steps given in this : https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

NOTE: Before doing this , boot into twrp and do advanced wipe.
[Moto G4 Plus Questions & Answers] Tengakallan:
I did that with hw.img file you mentioned and installed latest stock firmware you mentioned

But my device now become moto g4 with no fingerprint and network .my baseband now shows

DFLT FSG like before .

What is your bootloader version ?

Your bootloader is now unlocked or locked ?
[Moto G4 Plus Questions & Answers] goutham9696:
My bootloader version is B1.07 .. no I didn't lock the bootloader. It's unlocked only. Did u do a clean flash??
[Moto G4 Plus Questions & Answers] Tengakallan:
Same bootloader for me and I did a clean flash

But not worked for me .

Are you edited something in that hw.img file .?

---------- Post added at 09:09 AM ---------- Previous post was at 09:07 AM ----------

I think I lost all hopes in my device now .

Going to sell this in olx.
[Moto G4 Plus Questions & Answers] goutham9696:
No I didn't edit anything .
[Moto G4 Plus Questions & Answers] Tengakallan:
Actually I did it with hw.img posted long ago for xt1643 ,but result is my g4 plus become g4 with no fingerprint and network .
[Moto G4 Plus Questions & Answers] Tengakallan:
How to get my broken hw.img file for editing

Please ...
[Moto G4 Plus Questions & Answers] joaopaulo_:
adb shell

su

dd if=/dev/block/mmcblk0p43 of=/sdcard/hw.img

This make a backup of your hw partition on internal storage of you device.
[Moto G4 Plus Questions & Answers] Tengakallan:
I managed to get back my network with custom rom (xperience) and modem for uk version.

But I lost my volte service, anway thanks for all people who helped me :svetius:

Edit: volte now working with stock ROM and modem
[Moto G4 Plus Questions & Answers] DevilsReign:
My TWRP recovery always got stuck, I reduced the size or file replaced it even but no luck so far. It revert back to the corrupted one as soon as my phone restarts. The HW and other related partition and Block are also set to the wrong one. I don't know why but when i reduced the size of file of HW by removing Zeros from it just the text part it loads up but when i try to push full 8192k file it stucks. Anyone know why this is happening ?

the only hope is to get the boot loader and somehow fix the issue in it, Or else wait for the new bootloader update which i don't think going to happen at first place.
[Moto G4 Plus Questions & Answers] Niketan Gulekar:
So I have just a slightly different problem. I can't get my fingerprint sensor to working. But my phone has both sims working. Although the model name is changed to G4 in about. All this happened after I installed a system update mistakenly and then flashed the bootloader and gpt partition to get it working. So please can anyone give me steps for recovering my device. Thanks
[Moto G4 Plus Questions & Answers] teckgiik101:
link broken help please
[Moto G4 Plus Questions & Answers] Heyner_Gomez:
Help please, I think it's a baseband problem...

https://xdaforums.com/moto-g4-plus/help/help-problem-meid-imei-sim-2-t3749834
[Moto G4 Plus Questions & Answers] bonnyshroff:
I have the same problem.

Followed your procedure.

But not working for me.

My phone is even from INDIA and baseband changed to DFS or something.

PHONE DETAILS

MOTO G4 PLUS

HARDWARE Info -> SKU ===> XT1643

MODEL NUMBER => MOTO G4 (actually phone is Moto G4 PLUS)

while checking colleague's phone(same as mine), the baseband version is different.

My baseband version is ==> M8952_70030.25.03.62.02R DFLT_FSG

While it should be ==> M8952_70030.25.03.62.02R ATHENE_INDIA_DSDS_CUST

Other details seem normal.!

Steps I did.

Steps I did.

1) Unlocked bootloader, as it was locked by flashing stock ROM

2) Flashed TWRP Recovery Image.

3) Downloaded hw.img from the link you given.. (I rejected single sim file.)

4) Entered into TWRP.

Executed the following command

adb push hw.img /dev/block/mmcblk0p43

After this, the phone getting Rebooted but I pressed Volume down + power key to stop rebooting into OS.

5) Later I flashed the stock ROM from the link From HEre.

And this Pikachu doesn't want to evolve to Raichu.

(Still the same Baseband and same Phone Model Number (Still stays G4))

What wrong I did?
[Moto G4 Plus Questions & Answers] bonnyshroff:
Not Yet..

Happened same with me.
[Moto G4 Plus Questions & Answers] FAMondal:
zip file link not working

---------- Post added at 10:27 AM ---------- Previous post was at 10:22 AM ----------

link not working
[Moto G4 Plus Questions & Answers] FAMondal:
fingerprint promlem fixed but networkproblem not solved

how solved it please tell me
[Moto G4 Plus Questions & Answers] charuvilapauljohn:
where to find hw files

Where to find the hw image files

---------- Post added at 07:50 PM ---------- Previous post was at 07:34 PM ----------

The files are missing...can u sent different link
[Moto G4 Plus Questions & Answers] charuvilapauljohn:
link not found plzz helppp

The link provided is not valid....plzzzz help.....plzzz give me different link
[Moto G4 Plus Questions & Answers] ____Mdd:
He removed those file, may be because those files are including old modem and fsg..

Latest Modem.img and fsg.img is available in fastboot ROM, download latest April's patch from here : https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

And hw.img can be found in some posts from page 10, read all replies from page 10, there are repaired hw.img are posted..
[Moto G4 Plus Questions & Answers] charuvilapauljohn:
phone not rebooting after flashing hw.img

I have flashed fsg.img,modem.img,these both are successfull....but when i flashed hw.img the phone got hanged...and tcommand prompt got .Finally the error shows" adb:error: failed to copy hw.img to /dev/block/mmcblk0p43 could't read from device"

What to do plz helpp
[Moto G4 Plus Questions & Answers] LenAsh:
People - please stop quoting every single post - it takes up huge page real estate and is unnecessary. If you DO feel it is required, at least edit the salient part out, or hide it.

Thanks
[Moto G4 Plus Questions & Answers] charuvilapauljohn:
Hw.img file not working

he.img file not working in my motog4 plus.the twrp got struck while flashing this file. And the command cannot do any thing...what to do...please help me
[Moto G4 Plus Questions & Answers] kur0g4ne:
Check on earlier posts, I don't have this device anymore, but as far as I remember you can't "flash" the file AT ALL with any recovery, you have to either copy it to your SD card then move it and then replace it on the location using the filemanager under TWRP, or with the device conected to the pc and booted into TWRP make an "adb push <the file> <wherever the hw partition goes>"
[Moto G4 Plus Questions & Answers] charuvilapauljohn:
cany you explain in detail

Can u plz explain in detail.I cannot understand??
[Moto G4 Plus Questions & Answers] tk8320:
HEY nice to hear that it worked fr u but in my moto 4 plus XT1643 i am unable topush hw image it completes upto 100% but stuck in between after rebooting it jump back to faulty hw again help mee

---------- Post added at 04:40 AM ---------- Previous post was at 04:31 AM ----------

hey bro can u post/dev/block/platform/7824900.sdhci/by-name copy
[Moto G4 Plus Questions & Answers] charuvilapauljohn:
drive link not found

Google drive link for modem and hw file error....is there any other link
[Moto G4 Plus Questions & Answers] lCrD512:
Those images were obsolete so I removed them for good. Search around here and you might get new images maybe. I don't have this device now so never pulled newer images.
[Moto G4 Plus Questions & Answers] BrunoF.:
Hey, can you help me? I got this error while using the command in cmd

adb: error: target 'mmcblk0p1' is not a directory, you know how to solve?

---------- Post added at 07:04 AM ---------- Previous post was at 06:56 AM ----------

Hey, can you help me? I got this error while using the command in cmd

adb: error: target 'mmcblk0p1' is not a directory, you know how to solve?
[Moto G4 Plus Questions & Answers] echo92:
What commands are you using? Is your device rooted and with TWRP and is your device booted to recovery whilst using these commands?
[Moto G4 Plus Questions & Answers] BrunoF.:
Thank you! I have successfully fixed my cell phone, I'm very happy I did not need to buy another.
[Moto G4 Plus Questions & Answers] Kaejin:
FINALLY a solution!!!

---------- Post added at 07:40 AM ---------- Previous post was at 07:37 AM ----------

THANK YOU SOOO MUCH!!!! Worked on my XT1640 (brazil dual chip variant). Flashed first the HW file and then the last stock firmware. Baseband and signal are back too!!!
[Moto G4 Plus Questions & Answers] clonechill:
Please help

Whenever I flash these codes, I get the error:

adb: error: failed to copy 'modem.img' to '/dev/block/mmcblk0p1': couldn't creat
e file: Permission denied

C:\Program Files (x86)\Minimal ADB and Fastboot>adb push fsg.img /dev/block/mmcb
lk0p16
adb: error: failed to copy 'fsg.img' to '/dev/block/mmcblk0p16': couldn't create
file: Permission denied
[Moto G4 Plus Questions & Answers] clonechill:
Please help me

:crying:

I have an xt1642 (european variant with emea baseband) now the baseband is changed to M8952_70030.25.03.62.02R and both the sim cards are detected but I won't get network. The IMEI has changed to MEID when dialling *#06# and only SIM1 shows the old IMEI number the other SIM shows some weird alphanumeric code. No network is the problem. What do I do? I tried flashing images of hw, modem and fsg posted by [MENTION=7970352]echo92[/MENTION] but with no success.

as a final resort, how can I completely brick the phone and start installing everything from scratch? Please help me do something.
[Moto G4 Plus Questions & Answers] faisalkhan77:
Link is not Working plz help..
[Moto G4 Plus Questions & Answers] HeethJain21:
Try this method. It worked for me but I am not sure if it would work for other devices or not.

Edit: didnt add the link: https://xdaforums.com/showpost.php?p=78024403&postcount=11
[Moto G4 Plus Questions & Answers] Risky_05:
same issue.

please can you guide me by providing the exact steps and files.

please hep!!!!!
[Moto G4 Plus Questions & Answers] HeethJain21:
[MENTION=9626779]Ruan Carlos[/MENTION]

Here, follow this thread: [Guide] [XT16XX] [Solve] G4+ Baseband/Network/Volte issue, Lost 1 IMEI & fingerprint

There are files for all the variants available, links have been provided
[Moto G4 Plus Questions & Answers] Ruan Carlos:
Good afternoon! I have a motorola g4 plus (xt1640) Brazilian, when I put the baseband of Brazil it does not work, I tried several hw, and it did not work, if someone has hw to pass me to see.
[Moto G4 Plus Questions & Answers] Rushak Pachpande:
please send me a link for your edited hw file please:fingers-crossed:

---------- Post added at 09:34 PM ---------- Previous post was at 09:17 PM ----------

it cannot push hw file "E:\Minimal ADB and Fastboot\123456>adb push hw1.img /dev/block/mmcblk0p43

adb: error: failed to copy 'hw1.img' to '/dev/block/mmcblk0p43': couldn't read from device

hw1.img: 0 files pushed. 0.2 MB/s (8388608 bytes in 35.884s)"

this problem arises....

please help

:crying:
[Moto G4 Plus Questions & Answers] HeethJain21:
Follow this: https://xdaforums.com/moto-g4-plus/how-to/guide-g4-baseband-network-volte-issue-t3865608
[Moto G4 Plus Questions & Answers] Chaitanya 1998:
1. I ROOTED MY DEVICE EARLIER AND TRIED SOME THEMES IN MY MOTO G4 PLUS,

AFTER SOMETIME MY PHONE SOFT BRICKED HAS STARTED AND

TAKING TOO LONG OR STUCK IN BOOT LOGO OR BOOTLOADER UNLOCKED MESSAGE.

2. I THOUGHT TO RE-FLASH BUT MY DEVICE HAVNT FIXED, I WATCHED VIDEO TO HOW TO SOLVE BRICKED PHONE THEY SHOWED TO BLANKFLASH FIRST BUT THE BLANKFLASH.BAT FILE SHOWING <WAITING FOR DEVICES>.

3. THEN I SAW A VIDEO WHICH SAYS TO FORMATE PHONE AND removes EVERYTHING VIA TWRP

FROM PHONE AND FLASH AGAIN SO WEHN I FLASH IT AGAIN I CAME TO KNOW THAT THE BASEBAND VERSION IS CHANGED FROM

"ATHENE_INDIA_DSDS_CUST" TO "DFLT_FSG" AND 1 SIM IMEI IS 0 AND ON AND 2ND SIM

IS OF AND IMEI IS NOT SHOWING AND MY PHONE NAME IS CHANGED MOTO G4 PLUS TO MOTO G4.

I HAD TRIED SOME FILE SHARED IN XDA FORUM BUT IT DIDDNT WORKED FOR ME. PLEASE HELP ME TO FIX THIS ISSUE
[Moto G4 Plus Questions & Answers] ecordeiro:
I used some rom that ended up modifying the G4 XT1626 DTV Digital TV Dual Sim for some G4 Plus model. I still have the IMEIS running and with the correct numbers and with signal. However I noticed that the TV application disappeared, and the fingrprint option is appearing. I tried the original firmwares that match the XT1626 brazil and the application does not return, and the device information keeps informing as G4 Plus. What am I supposed to do? I don't have a backup.
[Moto G4 Plus Questions & Answers] rooban90:
Tried flashing most of the firmwares, still problem is not resolved.
[Moto G4 Plus Questions & Answers] pico hackr:
try this it worked fine for me before. and what does your about phone says moto g4 or moto g4 plus now. thing you flashed firm ware of moto g4 https://www.androidfilehost.com/?fid=24727334850396285
[Moto G4 Plus Questions & Answers] Soureen:
I don't have any backup :crying: what should I do ?
[Moto G4 Plus Questions & Answers] GeeteshKhatavkar:
Please upload you twrp backup if possible..thanks in advance
[Moto G4 Plus Questions & Answers] m.swastik:
My TWRP also has backup of my personal data, so cannot upload it. If we manage to fully solve this issue, I will do a factory reset and upload the backup. If I do a factory reset now, I will again loose signal.

---------- Post added at 01:10 PM ---------- Previous post was at 01:01 PM ----------

Did you also lost one IMEI and fingerprint sensor?
[Moto G4 Plus Questions & Answers] pico hackr:
usually fingerprint and imei gets lost if you flash wrong firmware , i think you flashed firmware of moto g4 with single sim. flash the firmware for your device you are good to go. i lost the whole firmware before while i tried to play with bootloaders . the firmware link i provided is the exact one for xt1643
[Moto G4 Plus Questions & Answers] m.swastik:
That was my first theory, and I already tried flashing 2-3 stock firmware all mentioning XT1643, but it didn't worked.

In fact, after flashing Nougat stock firmware for XT1643, I lost IMEI and fingerprint. I flashed the same MM firmware which was working earlier. But even after flashing earlier working firmware, I don't have IMEI and fingerprint.

I think both Moto G4 and G4 plus has common firmware and firmware has some script which copies files based on which device it detects.

Something went wrong during flashing on our devices, now our devices are being identified as single sim G4 variant and not G4 plus.

Million dollar question is how does firmware know our device model (or rather wrong model) because even bootloader detects our device as XT1643.
[Moto G4 Plus Questions & Answers] pico hackr:
in my experience i would say you have flashed firmware of single sim model of moto g4 , but wierd to see
[Moto G4 Plus Questions & Answers] GeeteshKhatavkar:
Can you make a new backup right now of all partitions except data and cache and upload it please ? That way your personal data wont be shared.
[Moto G4 Plus Questions & Answers] rooban90:
The same case happened with me as well. I previously flashed the same firmware mentioned which was working properly. But now it is not. As m.swastik quoted, firmware chooses the wrong model number when flashing. :(:confused::confused::confused::confused:
[Moto G4 Plus Questions & Answers] daverobinson88:
Can't you just revert back to stock using a fastboot restore? It fixes the bootloader and modem files. I understand lost data and all but trying to recover backups might not be enough if it's deeper than what recovery touches.
[Moto G4 Plus Questions & Answers] rooban90:
fastboot restore installs firmware as Moto g4 without fingerprint. No luck.
[Moto G4 Plus Questions & Answers] Soureen:
Is it possible to get back signal if anyone with a working G4 Plus makes a TWRP backup and shares with us ?

Beacause I don't have any backup and it could help a lot if I atleast got network working
[Moto G4 Plus Questions & Answers] Iqbal Ansari:
Not possible. As TWRP only back ups system and data. It does not backup modem.
[Moto G4 Plus Questions & Answers] lloco73:
Have you guys tried this?
[Moto G4 Plus Questions & Answers] benedictusg:
Well no. That is for falcon witch is the moto g and not moto g4 plus. Amazing collection though!

That post gives an idea of how a solution might look like.

It's allot of work. I don't even know how to do half of it. I could maybe learn some if there is a hint of where to start. Who else is on the help.

Is this a good solution?

Is there enough resources (as in files) out there yet to do such a thing?

How many are having this problem?

What has been done?
[Moto G4 Plus Questions & Answers] Soureen:
How about we try to contact the Dev who made it for the Moto G ?
[Moto G4 Plus Questions & Answers] lloco73:
Do you have this files on

Firmware/image/fingerprint.b00

Firmware/image/fingerprint.b01

Firmware/image/fingerprint.b02

Firmware/image/fingerprint.b03

Firmware/image/fingerprint.mdt

Firmware/image/fpctzappfingerprint.b00

Firmware/image/fpctzappfingerprint.b01

Firmware/image/fpctzappfingerprint.b02

Firmware/image/fpctzappfingerprint.b03

Firmware/image/fpctzappfingerprint.mdt

Enviado do meu Moto G4 Plus através de Tapatalk
[Moto G4 Plus Questions & Answers] lloco73:
Here is a backup made with flashfire of my G4 plus (XT1642, Baseband M8952_70004.04.03.32R) partitions (system, data, cache and sdcard excluded).

I'm with RR 5.8.0 rom, but with MM modem.

What's included

boot.lz4
boot.md5
cmnlib.lz4
cmnlib.md5
frp.lz4
frp.md5
fsg.lz4
fsg.md5
logo.lz4
logo.md5
misc.lz4
misc.md5
modem.lz4
modem.md5
modem1.lz4
modem1.md5
modem2.lz4
modem2.md5
oem.lz4
oem.md5
pbl.lz4
pbl.md5
pers.md5
pers.tlz4
sbl.lz4
sbl.md5
sblapp.lz4
sblapp.md5
sec.lz4
sec.md5
twrp.lst
twrp.zip
twrp-busybox
twrp-lz4c
utags.lz4
utags.md5

Try it at your own risk
[Moto G4 Plus Questions & Answers] Soureen:
I am on latest MM build rooted&with TWRP if I restore from this will I lose all my data ?

Also my device is XT-1643
[Moto G4 Plus Questions & Answers] lloco73:
You can try. Make a twrp backup first.

Download flashfire and try.

Do not reflash bootloader stuff, leave it has a last resort.

Remember, use it at your own risk.

Enviado do meu MotoG3 atravÃ©s de Tapatalk
[Moto G4 Plus Questions & Answers] Soureen:
Where should I place the file to restore it through the app ?
[Moto G4 Plus Questions & Answers] lloco73:
in internal memory create a FLASHFIRE/Backups folder and copy extracted folder to it
[Moto G4 Plus Questions & Answers] Soureen:
Did as you said but not being detected by app
[Moto G4 Plus Questions & Answers] lloco73:
On flashfire toich the + Ã­cone and select restore, there you should be able to select backup.
[Moto G4 Plus Questions & Answers] Soureen:
Done restoring doesn't work
[Moto G4 Plus Questions & Answers] lloco73:
You mean restore was not Done, or was done but still nothing changed.
[Moto G4 Plus Questions & Answers] Soureen:
Restore was done and nothing changed.
[Moto G4 Plus Questions & Answers] lloco73:
Are you certain? Did you select

Modem Firmware

Modem Firmware Data #1

Modem Firmware Data #2

Modem Firmware FSG

What is your baseband now?

If you flashes it correctly so the problem is on software side.

When you flashed firmware you flash it using fastboot command line or using RSD lite? I personally use RSD lite and til now no problems on my moto g3 and moto g4.

Enviado do meu Moto G4 Plus através de Tapatalk