Moto G4 Plus's Model changed to G4,lost one imei and finger print.

Tengakallan

Senior Member
Jun 19, 2014
263
53
58
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 .
 
Last edited by a moderator:

Tengakallan

Senior Member
Jun 19, 2014
263
53
58
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 :cowboy:
Edit: volte now working with stock ROM and modem
 
Last edited:

DevilsReign

Member
Oct 2, 2017
14
0
0
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.
 
Last edited by a moderator:
Jan 16, 2016
14
3
0
19
Pune
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
 

bonnyshroff

Member
Apr 7, 2017
33
7
0
SURAT
Hi! @mexifunk thanks for the file, It was very usefull I just "intelligently" made a merge between your file and the XT1643 (Indian) that is in some other post, Your file had zeros in some places that the XT1643 didn't, i just pasted that information and changed the necesary stuff according to our variant and left the information that wasn't zero from your file intact and it worked!!! signal and fingerprint, what I can't test is if this works for single sim variants because mine is dual.

Just enter to TWRP and do this from computer's console:

For Dual Sim:
Code:
adb push hw.img /dev/block/mmcblk0p43
<snipped>
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
Code:
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?
 
Last edited:

FAMondal

New member
Jun 28, 2018
2
0
0
zip file link not working


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

link not working
Assuming you have the same issue as mentioned in the OP, missing fp, imei, no network etc. You can try the following steps:

Note: If your device is rooted you can do this without rebooting to twrp (skip that particular step). Remember to give access to adb when prompted. If you are not rooted and also do not wish to flash custom recovery, you can temporarily boot through twrp for this purpose instead of flashing it using "fastboot boot twrp.img" without quotes.
  • Reboot to twrp (can skip this only if your device is rooted) > connect your device to PC > open cmd in the same directory i.e., where you have adb and those image files > type "adb devices" (without quotes) and hit enter to make sure your device is recognized via adb in recovery. It will show your device serial number probably. If not recognized check your adb setup, drivers etc. there are tons of guide here in xda for that.
  • If recognized, execute the following adb commands one by one:
Code:
adb push modem.img /dev/block/mmcblk0p1
adb push fsg.img /dev/block/mmcblk0p16
adb push hw.img /dev/block/mmcblk0p43
Hope this helps:fingers-crossed:
 
Last edited by a moderator:

FAMondal

New member
Jun 28, 2018
2
0
0
fingerprint promlem fixed but networkproblem not solved

how solved it please tell me
you are such a genius man after doing this my fingerprint is start working but i dont have the network i manullay search for the network but it gives me error that unable to search the network.... please do some thing for the network... you are such a g4 hero for me

---------- Post added at 07:41 PM ---------- Previous post was at 07:15 PM ----------


finally i fix my phone i flash my hw edited file using adb push my fingerprint and network is working...

thank you all who helped me in this issue special thanx to @givitago who edit my hw file. and lCrD512 who teach me how to do partition of.... this work for me :good::good::good::good::good::good:
 
Jun 27, 2018
24
1
0
where to find hw files

Perhaps the restore of the TWRP backup was unnecessary. I'd guess that it was the modem replacement that may have fixed the issue.

If it were me, I'd follow the instructions here, including re-downloading the fastboot files.

Stock Firmware Sept 01 Security Patch to the letter (not running the batch file but rather using the manual method.

I would leave out the unlocking/locking of the bootloader and also flash the HW file.

These are the lines you should run, one by one in order and from the dos command prompt. Ensure all the files including hwXT1643.img are in the fastboot folder.
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.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 modem NON-HLOS.bin
fastboot flash hw hwXT1643.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize 
fastboot erase clogo 
fastboot reboot

Where to find the hw image files

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

Assuming you have the same issue as mentioned in the OP, missing fp, imei, no network etc. You can try the following steps:

Note: If your device is rooted you can do this without rebooting to twrp (skip that particular step). Remember to give access to adb when prompted. If you are not rooted and also do not wish to flash custom recovery, you can temporarily boot through twrp for this purpose instead of flashing it using "fastboot boot twrp.img" without quotes.
  • Reboot to twrp (can skip this only if your device is rooted) > connect your device to PC > open cmd in the same directory i.e., where you have adb and those image files > type "adb devices" (without quotes) and hit enter to make sure your device is recognized via adb in recovery. It will show your device serial number probably. If not recognized check your adb setup, drivers etc. there are tons of guide here in xda for that.
  • If recognized, execute the following adb commands one by one:
Code:
adb push modem.img /dev/block/mmcblk0p1
adb push fsg.img /dev/block/mmcblk0p16
adb push hw.img /dev/block/mmcblk0p43
Hope this helps:fingers-crossed:


The files are missing...can u sent different link
 
Last edited by a moderator:
Jun 27, 2018
24
1
0
link not found plzz helppp

Assuming you have the same issue as mentioned in the OP, missing fp, imei, no network etc. You can try the following steps:

Note: If your device is rooted you can do this without rebooting to twrp (skip that particular step). Remember to give access to adb when prompted. If you are not rooted and also do not wish to flash custom recovery, you can temporarily boot through twrp for this purpose instead of flashing it using "fastboot boot twrp.img" without quotes.
  • Reboot to twrp (can skip this only if your device is rooted) > connect your device to PC > open cmd in the same directory i.e., where you have adb and those image files > type "adb devices" (without quotes) and hit enter to make sure your device is recognized via adb in recovery. It will show your device serial number probably. If not recognized check your adb setup, drivers etc. there are tons of guide here in xda for that.
  • If recognized, execute the following adb commands one by one:
Code:
adb push modem.img /dev/block/mmcblk0p1
adb push fsg.img /dev/block/mmcblk0p16
adb push hw.img /dev/block/mmcblk0p43
Hope this helps:fingers-crossed:
The link provided is not valid....plzzzz help.....plzzz give me different link
 
Last edited by a moderator:

____Mdd

Senior Member
Jul 26, 2016
721
330
63
24
The link provided is not valid....plzzzz help.....plzzz give me different link
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://forum.xda-developers.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..
 
Last edited:
Jun 27, 2018
24
1
0
phone not rebooting after flashing hw.img

Assuming you have the same issue as mentioned in the OP, missing fp, imei, no network etc. You can try the following steps:

Note: If your device is rooted you can do this without rebooting to twrp (skip that particular step). Remember to give access to adb when prompted. If you are not rooted and also do not wish to flash custom recovery, you can temporarily boot through twrp for this purpose instead of flashing it using "fastboot boot twrp.img" without quotes.
  • Reboot to twrp (can skip this only if your device is rooted) > connect your device to PC > open cmd in the same directory i.e., where you have adb and those image files > type "adb devices" (without quotes) and hit enter to make sure your device is recognized via adb in recovery. It will show your device serial number probably. If not recognized check your adb setup, drivers etc. there are tons of guide here in xda for that.
  • If recognized, execute the following adb commands one by one:
Code:
adb push modem.img /dev/block/mmcblk0p1
adb push fsg.img /dev/block/mmcblk0p16
adb push hw.img /dev/block/mmcblk0p43
Hope this helps:fingers-crossed:


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
 
Last edited by a moderator:
Jun 27, 2018
24
1
0
Hw.img file not working

Hi! @mexifunk thanks for the file, It was very usefull I just "intelligently" made a merge between your file and the XT1643 (Indian) that is in some other post, Your file had zeros in some places that the XT1643 didn't, i just pasted that information and changed the necesary stuff according to our variant and left the information that wasn't zero from your file intact and it worked!!! signal and fingerprint, what I can't test is if this works for single sim variants because mine is dual.

Just enter to TWRP and do this from computer's console:

For Dual Sim:
Code:
adb push hw.img /dev/block/mmcblk0p43
or (not tested)
Code:
adb push hwSingleSim.img /dev/block/mmcblk0p43
For single sim moto g4 plus


Reflash the latest firmware via fastboot and it might be done!
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
 

kur0g4ne

Member
Apr 2, 2017
27
8
0
Mexico City
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
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>"
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone