[SOLVED] Need help! Lost IMEI and signal - Moto G5 Questions & Answers

Hi People, I'm a Moto G5 (XT1676) user. After unlocking bootloader, rooting, flashing ROMs, etc. I "broke" my phone and now mi IMEIs are 0 and lost my phone signal.
I've been reading posts of older versions (Moto G1, G3) that people seem to fix this problem by flashing oher phone's back up of fsc, hob and dhob partitions. The problem is that in my Moto G5 only fsc partition appears.
I'm not expert and don't understand too much , I'm just asking for your help please, my phone turned into a tablet .
Do anyone of you guys know what partition do I have to fix in this phone?
Can you upload a back up of those partitions for me please?
Flashing those partitions on other versions of the phone seem to fix signal problem leaving IMEI = 0, I just need my signal back.
Something that I don't know if is relevant is that when I messed up flashing things, reading posts around internet I used some commands that I think modified "persist" and "misc" partitions.
Can anyone upload those just in case too?
Sorry if something is wrong, english is not my native language.
Please help me!
EDIT!!:
I've managed to revive my phone restoring someone's persist backup from twrp, "Backup & Restore partitions" doesn't work. The file I used to fix this problem is in this link: https://mega.nz/#!Yd82hSZZ!vdmbqAG0bQhNyR5g95KOrZjVvBw2QDrirpOwhD96gPc
The only file i needed was the persist backup in that .rar
It's no my partition, I've found it around internet, searching everywhere, but it worked.
Thanks for all the people that tried to help me!
IMEI stayed 0 but my mobile signal is back!!
How to restore that partition?:
1-Install TWRP.
2-Go into Backup and make a backup of any partition there. This will create a partition folder inside TWRP folder.
3-Copy the persist backup I've shared into that backup folder.
4-Boot into twrp, restore and select persist.
5-Restore.
6-Flash stock rom again for your device.
I hope that this help anyone in the same situation. This works for Moto G5 Plus too from what I've been reading.
It would be nice if people comment their results so we can help others.
Attention!: This doesn't fix IMEI, it stays 0 but mobile signal is back.
Good Luck and thanks!

flash stock rom via fastboot
never play around with partitions unless you know what you are doing - simply typing in commands without knowing their meaning will likely muck up your device
find your stock rom firmware via the power of google
Open a command/terminal prompt where you have fastboot (if you have added fastboot to the environmental settings you can run it from any location)
The commands you will likely need are
Code:
fastboot flash partition gpt.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk0
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I have included fastboot in the link below - You will also need to download and install the moto usb drivers if you have not already done so
Platform-tools Download

TheFixItMan said:
flash stock rom via fastboot
never play around with partitions unless you know what you are doing - simply typing in commands without knowing their meaning will likely muck up your device
find your stock rom firmware via the power of google
Open a command/terminal prompt where you have fastboot (if you have added fastboot to the environmental settings you can run it from any location)
The commands you will likely need are
Code:
fastboot flash partition gpt.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk0
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I have included fastboot in the link below - You will also need to download and install the moto usb drivers if you have not already done so
Platform-tools Download
Click to expand...
Click to collapse
I've already tried flashing stock rom but the problem is still there, I've also tried some custom roms too without success.
I know is my fault, I touched where I didn't have to.
I don't know what else to try, I think flashing other's back up partitions is my last shot.
I don't know if you are a Moto G5 user, but if you are, can you share those partitions to me?
Thanks for your reply.

Your gonna need an EFS / QCN backup. Do you know how to set the modem to diagnostic mode?

SvenRL said:
Your gonna need an EFS / QCN backup. Do you know how to set the modem to diagnostic mode?
Click to expand...
Click to collapse
From what I've been reading Moto G doesn't have a EFS partition, I've found in other forums that Moto G4 series have that data in "Persist" partition, and that partition is the one i've been touching..
That's why I'm asking if someone can backup that partition and share to me.
There is an app that does the job "Partitions Backup & Restore", I think you need root to use it.
I need that Persist backup just to try fix my phone, if you have Moto G5, can you help me with that?
Yes I know how to set it into diagnostic mode. (I've been trying apps and programs that in that mode fix qualcomm devices without success).
Thanks for your reply!

Can someone please help me with a "persist" partition backup please? I really need help.

Hi Jerito. Sorry to take a few days to reply to your PM. Been away.
Not sure i can help with this one as am not knowledgeable about copying particular partitions.
About the most comprehensive rebuild i have ever done was what i posted about doing it file by file and if i was in your situation, well, thats what i'd try.
Can you somehow extract the partition you are after out of a ROM??

I'll do you a qcn backup, wait till early hours of Monday morning. I'm curious cause i have the same issue with my lenovo P2, no persist partition, but I think the persist partition is created from the fsg partition

astmacca said:
Hi Jerito. Sorry to take a few days to reply to your PM. Been away.
Not sure i can help with this one as am not knowledgeable about copying particular partitions.
About the most comprehensive rebuild i have ever done was what i posted about doing it file by file and if i was in your situation, well, thats what i'd try.
Can you somehow extract the partition you are after out of a ROM??
Click to expand...
Click to collapse
No problem, the best way I've found of doing a back up of that partition is through the app I've mentioned "Partition Backup and Restore", I will watch your post!
SvenRL said:
I'll do you a qcn backup, wait till early hours of Monday morning. I'm curious cause i have the same issue with my lenovo P2, no persist partition, but I think the persist partition is created from the fsg partition
Click to expand...
Click to collapse
Ok, I'll be waiting, thanks both!

Related

Stock rom

Can anyone pls tell me where I can download stock rom for (lenovo) p2 preferable in zip format . And is there any unbricking tutorial .
I want this too...? if anyone can help...
I have found the stock ROM, I bricked my device in the rooting process, and am unable to flash the complete stock image, because the device reports "unable to flash bootloader on unlocked device"
itsjustbilly said:
I have found the stock ROM, I bricked my device in the rooting process, and am unable to flash the complete stock image, because the device reports "unable to flash bootloader on unlocked device"
Click to expand...
Click to collapse
Hi, because you should not flash bootloader.
you can try those 2 solutions:
the fast one, it should work. The flashall command flash every.img files he find in the fastboot directory. So try to remove the bootlader.img and execute the flashall command.
the manual one (longer one):
Put only the recovery.img, boot.img, and the system.img files ( you should have something like 13 , named "systemchunk0/12.img") in your fastboot directory and flash with fastboot ( the command is always the same: fastboot flash recovery recovery.img, fastboot flash boot boot.img, and for every single part of system.img you should flash like "fastboot flash systemchunk0(until 12).img " so you flash flash 13 times the system with avery 13 parts .
Sorry for my english i hope you solved that
itsjustbilly said:
I have found the stock ROM, I bricked my device in the rooting process, and am unable to flash the complete stock image, because the device reports "unable to flash bootloader on unlocked device"
Click to expand...
Click to collapse
Then share it no
I'll post links when I get to my computer, but they're not Cwm flash able zips, they are fast boot files that you flash from DOS on a pc
---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------
aleleo87 said:
Hi, because you should not flash bootloader.
you can try those 2 solutions:
the fast one, it should work. The flashall command flash every.img files he find in the fastboot directory. So try to remove the bootlader.img and execute the flashall command.
the manual one (longer one):
Put only the recovery.img, boot.img, and the system.img files ( you should have something like 13 , named "systemchunk0/12.img") in your fastboot directory and flash with fastboot ( the command is always the same: fastboot flash recovery recovery.img, fastboot flash boot boot.img, and for every single part of system.img you should flash like "fastboot flash systemchunk0(until 12).img " so you flash flash 13 times the system with avery 13 parts .
Sorry for my english i hope you solved that
Click to expand...
Click to collapse
I did try this, but I still have no signal because the modem file is part of the bootloader, and no modem means no mobile signal
itsjustbilly said:
I'll post links when I get to my computer, but they're not Cwm flash able zips, they are fast boot files that you flash from DOS on a pc
---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------
I did try this, but I still have no signal because the modem file is part of the bootloader, and no modem means no mobile signal
Click to expand...
Click to collapse
Ah ok i didnt understand that you have this modem issue. I don't kno how to help you...you phone is bricked so you can test few solutions without more risks .
before flash the original recovery , boot and system by fastboot, you can try to install TWRP again and flash only the bootloader from TWRP (should support .zip and .img files). Then you turn the phone in fastboot mode and flash other stuff .
Taken from post 4 of the TWRP page on lenovo P2 forum
smaranramesh said:
Then share it no
Click to expand...
Click to collapse
Factory Images & Systemless Mode
Q: I messed up help me?!
So you screwed up and didn't follow Rule Number One in the IT-Handbook?
Which is: Always create a backup before working on a system?
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:
If you want to flash back the stock image. Simply run:
Code:
Code:
fastboot flashall
You can also replace all partitions if required.
itsjustbilly said:
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Click to expand...
Click to collapse
Thanks, I was on P2a42_S038...TMO (T-Mobile, checking OTA update = you are using latest software) flashed this P2a42_S048_ and got OTA info to download latest ROM P2a42_S062_170117_ROW (103MB) :good:
veimus said:
Thanks, I was on P2a42_S038...TMO (T-Mobile, checking OTA update = you are using latest software) flashed this P2a42_S048_ and got OTA info to download latest ROM P2a42_S062_170117_ROW (103MB) :good:
Click to expand...
Click to collapse
Witaj. Mozesz napisać jak wgrałeś czysty soft do Lenovo p2. Tez mam rom z t.mobile a nigdzie nie ma poradnika jak wgrać czysty soft.Pozdrawiam
itsjustbilly said:
Taken from post 4 of the TWRP page on lenovo P2 forum
Factory Images & Systemless Mode
Q: I messed up help me?!
So you screwed up and didn't follow Rule Number One in the IT-Handbook?
Which is: Always create a backup before working on a system?
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:
If you want to flash back the stock image. Simply run:
Code:
Code:
fastboot flashall
You can also replace all partitions if required.
Click to expand...
Click to collapse
Is there an alternative download link? What is Mega? I want to avoid these third party download utility if I can...
I put the following into a BAT file and placed it into ADB / Fastboot directory:
Code:
fastboot flash partition gpt_both0.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 system systemchunk0.img
fastboot flash system systemchunk1.img
fastboot flash system systemchunk2.img
fastboot flash system systemchunk3.img
fastboot flash system systemchunk4.img
fastboot flash system systemchunk5.img
fastboot flash system systemchunk6.img
fastboot flash system systemchunk7.img
fastboot flash system systemchunk8.img
fastboot flash system systemchunk9.img
fastboot flash system systemchunk10.img
fastboot flash system systemchunk11.img
fastboot flash system systemchunk12.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
pause
Extract all the files listed in the BAT file or simply extract the entire archive to ADB / Fastboot and launch the BAT file.
Does this work?? @Undesirable
the above post
Oh yeah, it unbricked me and put me back to stock so I could get OTA updates for Nougat. You need the archive posted earlier in the thread though.
@Undesirable Nice and elegant solution man! Typing all this stuff was so annoying.
For those who need an alternative download source, I offer this magnet link:
Code:
magnet:?xt=urn:btih:ef05ea3af4da8a0cbb137c10621942f3ae16d46f&dn=P2a42_S048_161111_ROW_fastboot.7z
It's slow unless lots of people help to seed it.
Is it possible to flash this firmware 2a42_S048_161111_ROW_fastboot.7z on the P2c72 with firmware build number: V3.5_1652_5.1342.1_ST_p2c72 ???
I bought this phone 4GB Ram/64GB from china, but I want to put the international firmware on it.
Thanks!
itsjustbilly said:
Taken from post 4 of the TWRP page on lenovo P2 forum
Factory Images & Systemless Mode
Q: I messed up help me?!
So you screwed up and didn't follow Rule Number One in the IT-Handbook?
Which is: Always create a backup before working on a system?
Download the Factory State Images. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:
If you want to flash back the stock image. Simply run:
Code:
Code:
fastboot flashall
You can also replace all partitions if required.
Click to expand...
Click to collapse
how can I replace my data partition? It's not getting formatted due to an encryption error
If fastboot erase userdata doesn't work, then use TWRP to change user data file system to EXT4 then change it back to F2FS again.
Need help...
I flashed back the stock ROM (due to encryption error in custom 7.0 ROM) using fastboot commands, but my SIGNAL WON'T WORK after I started d phone . I've tried reflashing the stock firmware (and also custom ROMs) but my phone won't detect the signal. "About phone" settings show unknown baseband and IMEI... how to get it back
---------- Post added at 08:58 AM ---------- Previous post was at 08:06 AM ----------
I've flashed 'ROW' variant of stock ROM. Is there a different version for Indian variant?

IMEI 0 - What happened to me, share yours and let's find a solution.

I decided to write a new topic on this matter because there are still a lot of people like me with this problem.
My IMEI is shown as 0.
I've bought my phone at FastShop a non-carrier retailer. It is a XT1635-02 RETBR Dual-Sim.
On the process of loosing my IMEI, I was trying to get rid of the root I've installed before. I flashed a Cyanogen, got some problems with mobile data and decided to flash back to stock. When flashing back to stock I wanted a clean install, so I erased everything (EFS partition and every other tickable option) with the Chinese TWRP, the process gave me an error but I think it corrupted the data on EFS. (On the process of trying to fix this I've learned a lot of things I didn't knew and now I realize the kind of mistake I made...)
On "fastboot getvar imei" I can see my correct IMEI.
But dialing *#*#4636#*#* on phone info my IMEI is 0, also on Config>About both IMEI shown 0.
I've tried flashing the full stock ROM many times, even tried flashing different ROMS like LATAM, IUSMXLA, and others. Now I'm with the correct ROM running (RETBR).
I know that there are many people suffering from the same problem anything that could fix that anyway I would try.
I think you lost your IMEI forever.
DO NOT USE Chinese TWRP.
So basically all these reports of people getting their imei being 0 is them actually just wiping efs out of carelessness, got it. Not to be a jack*** but seriously...I always double check what I'm erasing. There's no recoveries, you've erased a unique identifier to the hardware. The manufacturer doesn't keep track of this.
DroneDoom said:
So basically all these reports of people getting their imei being 0 is them actually just wiping efs out of carelessness, got it. Not to be a jack*** but seriously...I always double check what I'm erasing. There's no recoveries, you've erased a unique identifier to the hardware. The manufacturer doesn't keep track of this.
Click to expand...
Click to collapse
That's my impression. I haven't seen anyone report categorically that they lost imei but absolutely did not wipe efs.
I think that when a signed firmware be available to download and install, the MZP will be able to regenerate the IMEI. Snapdragon have the capabilities to do it, but with an untrusted firmware, must "hide" it.
It is easy to get the IMEI back. Just restore the backup you did before wipe. Noone except you has the data on efs partition.
tag68 said:
It is easy to get the IMEI back. Just restore the backup you did before wipe. Noone except you has the data on efs partition.
Click to expand...
Click to collapse
This would require that people don't jump the gun and flash/wipe before making a backup.
A problem that shouldn't exist, but does.
I think you're SOL, dude.
rfameli said:
I decided to write a new topic on this matter because there are still a lot of people like me with this problem.
My IMEI is shown as 0.
I've bought my phone at FastShop a non-carrier retailer. It is a XT1635-02 RETBR Dual-Sim.
On the process of loosing my IMEI, I was trying to get rid of the root I've installed before. I flashed a Cyanogen, got some problems with mobile data and decided to flash back to stock. When flashing back to stock I wanted a clean install, so I erased everything (EFS partition and every other tickable option) with the Chinese TWRP, the process gave me an error but I think it corrupted the data on EFS. (On the process of trying to fix this I've learned a lot of things I didn't knew and now I realize the kind of mistake I made...)
On "fastboot getvar imei" I can see my correct IMEI.
But dialing *#*#4636#*#* on phone info my IMEI is 0, also on Config>About both IMEI shown 0.
I've tried flashing the full stock ROM many times, even tried flashing different ROMS like LATAM, IUSMXLA, and others. Now I'm with the correct ROM running (RETBR).
I know that there are many people suffering from the same problem anything that could fix that anyway I would try.
Click to expand...
Click to collapse
DISCLAIMER
Do it at your own risk.
SUMMARY
1. Reflashed back to stock Marshmallow
2. Sideloaded Nougat OTA right after (that is before booting into the freshly restored system)
-----------------------------------------------------------------------------------------------------------------
My IMEI became zero after trying to implement on Lineage OS a dual SIM mod originally intended for the stock ROM. "fastboot getvar imei" also displayed my correct IMEI. I eventually solved the issue purely out of trial by flashing the full stock (Marshmallow), and the nougat OTA right after that, as follows:
fastboot getvar max-sparse-size
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 erase modemst1
fastboot erase modemst2
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 (repeat up to 10)
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot recovery
*recovery > adb sideload*
adb sideload nougat_ota.zip
WARNING
For downgrading, skip:
********************************
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
*******************************************
Proceeding otherwise will brick the device.
Just to clarify, I didn't made any backup before wiping my EFS.
I'm not used to go wiping everything, but I've already used the wipe function of the TWRP ticking all buttons and nothing was messed up.
Later I found that the Chinese TWRP give us the option to wipe our EFS.
I'm not blaming anyone but myself, I'm not that careless most of the times, I didn't had much knowledge as I do have now after all I've read and tried.
I have seen trough last months many people with problems on their IMEI, some problems was solved (flashing the ROM again), but the ones that continues looking for a solution probably have the same backstory as me.
VR25 said:
DISCLAIMER
Do it at your own risk.
SUMMARY
1. Reflashed back to stock Marshmallow
2. Sideloaded Nougat OTA right after (that is before booting into the freshly restored system)
-----------------------------------------------------------------------------------------------------------------
My IMEI became zero after trying to implement on Lineage OS a dual SIM mod originally intended for the stock ROM. "fastboot getvar imei" also displayed my correct IMEI. I eventually solved the issue purely out of trial by flashing the full stock (Marshmallow), and the nougat OTA right after that, as follows:
fastboot getvar max-sparse-size
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 erase modemst1
fastboot erase modemst2
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 (repeat up to 10)
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot recovery
*recovery > adb sideload*
adb sideload nougat_ota.zip
WARNING
For downgrading, skip:
********************************
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
*******************************************
Proceeding otherwise will brick the device.
Click to expand...
Click to collapse
I'll surely try that since you had the same problem and fixed, I have nothing to loose.
But I already flashed the stock ROM and updated to Nougat, but since I didn't actually sideloaded it I'll try again when I get home.
I m cool with it
as long as phone function is working
no data, coz data plan not activate
Welcome to the club. I wiped my /efs, lost my IMEI and had to pay £120 for a motherboard replacement. Now I've got a backup for my /efs partition, and never use the Chinese TWRP, but I learned an expensive lesson.
Really_Rekt said:
Welcome to the club. I wiped my /efs, lost my IMEI and had to pay £120 for a motherboard replacement. Now I've got a backup for my /efs partition, and never use the Chinese TWRP, but I learned an expensive lesson.
Click to expand...
Click to collapse
How did you back it up? With that chinese twrp?
rfameli said:
I decided to write a new topic on this matter because there are still a lot of people like me with this problem.
My IMEI is shown as 0.
I've bought my phone at FastShop a non-carrier retailer. It is a XT1635-02 RETBR Dual-Sim.
On the process of loosing my IMEI, I was trying to get rid of the root I've installed before. I flashed a Cyanogen, got some problems with mobile data and decided to flash back to stock. When flashing back to stock I wanted a clean install, so I erased everything (EFS partition and every other tickable option) with the Chinese TWRP, the process gave me an error but I think it corrupted the data on EFS. (On the process of trying to fix this I've learned a lot of things I didn't knew and now I realize the kind of mistake I made...)
On "fastboot getvar imei" I can see my correct IMEI.
But dialing *#*#4636#*#* on phone info my IMEI is 0, also on Config>About both IMEI shown 0.
I've tried flashing the full stock ROM many times, even tried flashing different ROMS like LATAM, IUSMXLA, and others. Now I'm with the correct ROM running (RETBR).
I know that there are many people suffering from the same problem anything that could fix that anyway I would try.
Click to expand...
Click to collapse
Tambien me he cansado de buscar, pero he visto un caso similar con un OnePlus One, el mismo tenia el problema IMEI 0 y lo soluciono por medio de la PC y unos driver, el titulo del post "REPARAR EL IMEI de nuestro ONEPLUS ONE tras perder el EFS" sin backup! link: forums .oneplus .net/threads/tutorial-reparar-el-imei-de-nuestro-oneplus-one-tras-perder-el-efs.264420/
chequealo
yeah. that was the only time i used it.
I was running my phone as a gaming tablet since I've lost my IMEI, connecting only trough wi-fi. I was running android MM 6.0.1 with december patch.
I've tried flashing Stock ROM RETBR version MPSN24.104-44-7, but it was not allowing me to install the OTAs giving an error by the end of the procedure.
I cleaned the system again and flashed the Stock ROM RETBR version MPSN24.104-44-10 and was able to sideload all the OTAs without any error.
Now my MZP is on Nougat latest available version but my problem was no fixed as I tought.
I really don't think I or the other ones that lost their IMEI like me (wiping EFS without having a backup) will be able to restore our lost IMEI.
I'm giving one last try, I'll buy a SIM from a brazilian carrier that doesn't seems to block IMEI, I don't know if this only apply for blacklisted IMEI's, but I'll try it with my IMEI 0.
The said carrier is "Oi".
I think you can pay Lenovo to replace the motherboard. You're probably better off doing that IMO.
IncendiaryPyro said:
I think you can pay Lenovo to replace the motherboard. You're probably better off doing that IMO.
Click to expand...
Click to collapse
The only problem is that the replacement of the motherboard cost almost the same as a brand new phone here on Brazil.
I thought I'd bricked mine. Rooted, then attempted to reflash back to stock, and had IMEI 0. Flashed CM and still IMEI 0. Did not take a backup of anything because I've been rooting around inside Androids since 2009 and never managed to fully brick a device.
I got it back by following these instructions. It works. I'm using it right now. All may not be lost.
Critically: some things need fastboot, and some things need mfastboot. Also, the order of re-flashing matters. Read the thread.

P2 (UK) on 3 - Going from 3 to stock rom

Hello all,
I'm a bit confused about the process of taking my current '3' ROM and changing it to the official Lenovo Rom.
I have downloaded the lenovo drivers (installed and ok) phone is in debug mode.
I have downloaded the stock rom from here: https://forum.xda-developers.com/lenovo-p2/development/7-0-lenovo-p2a42-stock-nougat-update-t3581517 and have adb / fastboot.
I know I have to use the volume rocker and powerbutton to get into the boot mode but I don't know the commands for adb or fastboot. I have changed the name of the rom to 'update'
Can someone please advise me on the commands I am meant to enter to get this onto my phone please?
Thanks in advance,
Cue
Copy all the code below, paste it to a new text file on your PC and save it as All Files instead of .txt and name it a fastboot.bat. Place the fastboot.bat in the adb/fastboot directory, also place the unpacked rom in the same path. Run it as admin. Profit.
Code:
fastboot flash partition gpt_both0.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 system systemchunk0.img
fastboot flash system systemchunk1.img
fastboot flash system systemchunk2.img
fastboot flash system systemchunk3.img
fastboot flash system systemchunk4.img
fastboot flash system systemchunk5.img
fastboot flash system systemchunk6.img
fastboot flash system systemchunk7.img
fastboot flash system systemchunk8.img
fastboot flash system systemchunk9.img
fastboot flash system systemchunk10.img
fastboot flash system systemchunk11.img
fastboot flash system systemchunk12.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo pause
Hi, op here.
Firstly, thank you for responding! Your instructions seem very clear. When i had a look at the contents of the ROM (in zip) i couldn't see any of the systemchunk files you mention, are they hidden deep somewhere?
Regards,
Cue.
If your phone is stock the Rom can be updated without fastboot or a PC.
All the instructions are in that thread.
Huh. Surely just boot into recovery and install the update.zip? No need to have it connected to pc.
Hello all,
Yep. I un-encrypted the sd card copied the zip onto it and booted up that way. Very easy. Now running stock directly from Lenovo which I am very happy about! It also pushed the new 78mb update as well.
Thank you for all your input.
same way i did it too theirs no need to do it through fastboot method just like the other people i did it through the built in recovery by renaming the Nougat rom to update.zip works fine and you will get another update ota straight after t obring it right up to date.
Sounds like you guys have this sorted :highfive:
Just for completeness, can somebody upload the original 3 rom? It just helps out the person who thinks they have a hardware issue and may need to return the phone to 3.
If you try and return your phone and it doesn't have the original 3 rom, your chances of a good outcome are obviously less as you have tampered with the phone etc.
The warranty is with Lenovo Not three.
Doubt there'd be an issue as the bootloader will still be locked and it's an official Lenovo Firmware.
Since flashing nougat and a factory wipe my VOLTE is now working.
I did the same flashed nougat and volte is working but only shows up some times not as much as I'd like is their any way to get volte to work more often. In my bedroom where the signal is weak I don't get the volte symbol at all.
philje123 said:
The warranty is with Lenovo Not three.
Doubt there'd be an issue as the bootloader will still be locked and it's an official Lenovo Firmware.
Since flashing nougat and a factory wipe my VOLTE is now working.
Click to expand...
Click to collapse
How you enabled VoLte on nougat? You are on stock rom or branded?
I'm on stock unbranded.
VOLTE settings now show up in phone menu and it just works. I had to factory reset though as initially it didn't work after flashing nougat.

Question About IMEI and Reflashing Stock ROM

I have an xt1710-01 which I am trying to return to stock ROM after trying out Lineage. Did not create a backup of EFS partition because I am an idiot. On Lineage, my IMEI appears just fine and I get cell service, though it isn't super great if I'm being honest. When I attempt to reflash stock, my IMEI shows as 0. Is it possible for me to still return my phone to stock ROM? I have tried manual fastboot method as well as a script called RSD Lite to no avail.
CompostKicker said:
I have an xt1710-01 which I am trying to return to stock ROM after trying out Lineage. Did not create a backup of EFS partition because I am an idiot. On Lineage, my IMEI appears just fine and I get cell service, though it isn't super great if I'm being honest. When I attempt to reflash stock, my IMEI shows as 0. Is it possible for me to still return my phone to stock ROM? I have tried manual fastboot method as well as a script called RSD Lite to no avail.
Click to expand...
Click to collapse
Hey man, have you have any success on this?
CompostKicker said:
I have an xt1710-01 which I am trying to return to stock ROM after trying out Lineage. Did not create a backup of EFS partition because I am an idiot. On Lineage, my IMEI appears just fine and I get cell service, though it isn't super great if I'm being honest. When I attempt to reflash stock, my IMEI shows as 0. Is it possible for me to still return my phone to stock ROM? I have tried manual fastboot method as well as a script called RSD Lite to no avail.
Click to expand...
Click to collapse
ogabriel said:
Hey man, have you have any success on this?
Click to expand...
Click to collapse
Yes and no. I was able to get a backup of the EFS partition from the LineageOS 15.1 ROM, which does restore cell service. However, it does not provide 4G LTE. I can get LTE on LineageOS, but when I reflash stock and then restore the EFS partition, it only gets me 3G connectivity. So far, the only way that I have been able to get LTE is to flash LineageOS, then run this:
Code:
fastboot erase modemst1 && fastboot erase modemst2
Apparently, those are cache files for something that has an effect on connectivity, though I don't know specifically what. Unfortunately, I must remain on LineageOS in order to keep the LTE. If I try erasing the modem caches on stock, it wipes all connectivity and returns me to IMEI 0. Downsides to this are bluetooth calls don't work at all, GPS navigation doesn't work, absolutely no torch (even with a third party app) and battery life is poo.
I am still looking in to this, including compiling my own ROM from source. Really, this whole ordeal has taught me two very important things:
1) Always make a complete backup of everything.​2) Don't buy a phone that has no developer support on XDA. Honestly, this is the biggest one right here. Its revolting how little support there is for this device.​I will update this thread as I get new information on potential fixes.
Thank you compostkicker ..would apprentice if you post the solution if you find one..I am also going through a ditto condition
ogabriel said:
Hey man, have you have any success on this?
Click to expand...
Click to collapse
I'm facing the same here. My problems started after the "erase modemst" command. After that I never was able to use my LTE connection again. I was able to use at least a H+ connection after I flashed a stock rom WITHOUT wiping nor formating data from a Lineage install. But, still no LTE. =/
I'm afraid this is caused by wrong modem driver w/ the downloaded stock rom. Don't know if there's a different driver for the Brazillian device.
CompostKicker said:
Yes and no. I was able to get a backup of the EFS partition from the LineageOS 15.1 ROM, which does restore cell service. However, it does not provide 4G LTE. I can get LTE on LineageOS, but when I reflash stock and then restore the EFS partition, it only gets me 3G connectivity. So far, the only way that I have been able to get LTE is to flash LineageOS, then run this:
Code:
fastboot erase modemst1 && fastboot erase modemst2
Apparently, those are cache files for something that has an effect on connectivity, though I don't know specifically what. Unfortunately, I must remain on LineageOS in order to keep the LTE. If I try erasing the modem caches on stock, it wipes all connectivity and returns me to IMEI 0. Downsides to this are bluetooth calls don't work at all, GPS navigation doesn't work, absolutely no torch (even with a third party app) and battery life is poo.
I am still looking in to this, including compiling my own ROM from source. Really, this whole ordeal has taught me two very important things:
1) Always make a complete backup of everything.​2) Don't buy a phone that has no developer support on XDA. Honestly, this is the biggest one right here. Its revolting how little support there is for this device.​I will update this thread as I get new information on potential fixes.
Click to expand...
Click to collapse
YEEEEEEESSS I FIXED IT!!! HAHAHAHAHA
I followed what you said installing Lineage OS and did the "erase modemst" command. After that, I formated data using TWRP and flashed a stock rom but I skipped "erase modemst" command. And now my LTE is working on the stock rom. OMG!!!! \o/
So...
1. Flash Lineage OS 15.1
2. Restart in Bootloader and run the fastboot code [fastboot erase modemst1 && fastboot erase modemst2]
3. Restart the system.
4. Restart and use TWRP to FORMAT data.
5. Flash the stock rom using Fastboot and the following commands:
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 modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot reboot
DON'T RUN THE MODEM ERASE CODE AGAIN!!!
This steps will fix the issue!
varun.katoch said:
Thank you compostkicker ..would apprentice if you post the solution if you find one..I am also going through a ditto condition
Click to expand...
Click to collapse
Sorry to leave you hanging, I stopped getting alerts on this thread for some reason. I am on shift until tomorrow and away from my computer, and it is a lot to type for a phone, but as soon as I am able I will type out the exact steps I used to fix the LTE issue, for both LineageOS and stock ROM.
Rodrigo Fernandes said:
YEEEEEEESSS I FIXED IT!!! HAHAHAHAHA
I followed what you said installing Lineage OS and did the "erase modemst" command. After that, I formated data using TWRP and flashed a stock rom but I skipped "erase modemst" command. And now my LTE is working on the stock rom. OMG!!!! \o/
So...
1. Flash Lineage OS 15.1
2. Restart in Bootloader and run the fastboot code [fastboot erase modemst1 && fastboot erase modemst2]
3. Restart the system.
4. Restart and use TWRP to FORMAT data.
5. Flash the stock rom using Fastboot and the following commands:
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 modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot reboot
DON'T RUN THE MODEM ERASE CODE AGAIN!!!
This steps will fix the issue!
Click to expand...
Click to collapse
Thank you bro, can you say which model you have and which retail firmware have you chosen for flashing via fastboot?
HTCDevil said:
Thank you bro, can you say which model you have and which retail firmware have you chosen for flashing via fastboot?
Click to expand...
Click to collapse
Moto Z2 Play - XT1710-07 and the retail firmware was NPSS26.118-19-1-6. Still working ok yet.
CHECK THIS LINK IF YOU WANT YOUR VOLTE TO WORK :
100% working
https://forum.xda-developers.com/newthread.php?do=postthread&f=6506
Rodrigo Fernandes said:
Moto Z2 Play - XT1710-07 and the retail firmware was NPSS26.118-19-1-6. Still working ok yet.
Click to expand...
Click to collapse
Without erasing modem1st and 2st, is it right?
HTCDevil said:
Without erasing modem1st and 2st, is it right?
Click to expand...
Click to collapse
That's right! But only after you follow the step 2. Otherwise it won't work.
Rodrigo Fernandes said:
That's right! But only after you follow the step 2. Otherwise it won't work.
Click to expand...
Click to collapse
I would like to pass from ZUI (on xt1710-08) to a retail one without flashing Lineage before. So, if the problem is about modem i should not erase them, so I would leave those present on the initial version unchanged
So, my situation is : signal is ok lte\4g bit IMEI is 0. I think i understand i must flash stock lineage rom with this commands, then backup efs (i've already had It), so flash stock nougat and restore efs and i should have IMEI. Is It correct?
Inviato dal mio Moto Z2 Play utilizzando Tapatalk
Rodrigo Fernandes said:
YEEEEEEESSS I FIXED IT!!! HAHAHAHAHA
I followed what you said installing Lineage OS and did the "erase modemst" command. After that, I formated data using TWRP and flashed a stock rom but I skipped "erase modemst" command. And now my LTE is working on the stock rom. OMG!!!! \o/
So...
1. Flash Lineage OS 15.1
2. Restart in Bootloader and run the fastboot code [fastboot erase modemst1 && fastboot erase modemst2]
3. Restart the system.
4. Restart and use TWRP to FORMAT data.
5. Flash the stock rom using Fastboot and the following commands:
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 modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot reboot
DON'T RUN THE MODEM ERASE CODE AGAIN!!!
This steps will fix the issue!
Click to expand...
Click to collapse
Hey, I just flashed 9 on my XT1710-8 and lost singal. do you think this trick works in my case? (havent tried yet cause didnt want to format my device!)
CompostKicker said:
I have an xt1710-01 which I am trying to return to stock ROM after trying out Lineage. Did not create a backup of EFS partition because I am an idiot. On Lineage, my IMEI appears just fine and I get cell service, though it isn't super great if I'm being honest. When I attempt to reflash stock, my IMEI shows as 0. Is it possible for me to still return my phone to stock ROM? I have tried manual fastboot method as well as a script called RSD Lite to no avail.
Click to expand...
Click to collapse
Try Moto lenovo smart asistant to rescue your device @CompostKicker
kevoroid said:
Hey, I just flashed 9 on my XT1710-8 and lost singal. do you think this trick works in my case? (havent tried yet cause didnt want to format my device!)
Click to expand...
Click to collapse
I can't guarantee you can fix it using my step-by-step because I did it for the XT1710-07 model. Maybe you'll have to adapt the solution to yours.
Rodrigo Fernandes said:
I can't guarantee you can fix it using my step-by-step because I did it for the XT1710-07 model. Maybe you'll have to adapt the solution to yours.
Click to expand...
Click to collapse
I fixed it by flashing the original -08's Oreo ROM (Chinese ROM) and then reflashing Pie without doing the "erase modemst1.." steps.
moto z2 play imei repair
Hello everyone . i have moto z2 play xt1710-6 with stock rom. i wanna change my imei coz of lost signal. i tried many softs but i was not ablet to change it. i went to some techical shops , they used sigma and miracle , they couldnt as well. overall , how may i change its imei ? are there any way ?

Finger print, 4G and loud speaker no longer works

Hello guys I've been trying out some different ROMs. Also tried the Oreo soak test but I'm now back on pixel experience but my finger print reader 4G and loud speaker is no longer working. It didn't work on aosp extended also.
How can I fix this please? I need 4G mainly...
Please help!
Thanks in advance.
junglebungle said:
Hello guys I've been trying out some different ROMs. Also tried the Oreo soak test but I'm now back on pixel experience but my finger print reader 4G and loud speaker is no longer working. It didn't work on aosp extended also.
How can I fix this please? I need 4G mainly...
Please help!
Thanks in advance.
Click to expand...
Click to collapse
Try flashing stock rom if you get 4g,speaker... Then try to come back to rom
riyan65 said:
Try flashing stock rom if you get 4g,speaker... Then try to come back to rom
Click to expand...
Click to collapse
Thanks for the reply. What is the stock ROM where can I find it? Is it safe to flash the older ROM?
junglebungle said:
Thanks for the reply. What is the stock ROM where can I find it? Is it safe to flash the older ROM?
Click to expand...
Click to collapse
The rom which came with your device is called stock rom. You can find it here
https://www.google.co.in/amp/s/foru...l-stock-moto-g5-cedric-firmware-t3733897/amp/
You can flash the old rom but you should not flash gpt and bootloader. If you flash bootloader and gpt your device will get hard bricked. So I suggest you to don't flash gpt and bootloader if you're having old stock rom. If you having latest stock rom then you can flash bootloader and gpt.
riyan65 said:
The rom which came with your device is called stock rom. You can find it here
https://www.google.co.in/amp/s/foru...l-stock-moto-g5-cedric-firmware-t3733897/amp/
You can flash the old rom but you should not flash gpt and bootloader. If you flash bootloader and gpt your device will get hard bricked. So I suggest you to don't flash gpt and bootloader if you're having old stock rom. If you having latest stock rom then you can flash bootloader and gpt.
Click to expand...
Click to collapse
Thanks I will try it, I am going to try it, I am from the UK so this link you give me is universal ROM and will work?
junglebungle said:
Thanks I will try it, I am going to try it, I am from the UK so this link you give me is universal ROM and will work?
Click to expand...
Click to collapse
It doesn't matter which country you live. All are same just different in receiving update time.
riyan65 said:
It doesn't matter which country you live. All are same just different in receiving update time.
Click to expand...
Click to collapse
Ok great, so because I am on the latest Pixel Experience ROM I just do the following commands to flash the november 2017 stock rom:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin - NO
fastboot flash bootloader bootloader.img - NO
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Right?
junglebungle said:
Ok great, so because I am on the latest Pixel Experience ROM I just do the following commands to flash:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin - NO
fastboot flash bootloader bootloader.img - NO
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Right?
Click to expand...
Click to collapse
Yes, right
riyan65 said:
Yes, right
Click to expand...
Click to collapse
Thanks for the help! I'll report back to see if 4G is working, does this fix the finger print reader too?
junglebungle said:
Thanks for the help! I'll report back to see if 4G is working, does this fix the finger print reader too?
Click to expand...
Click to collapse
When you flash stock rom there is possibility of losing imei. So take a backup of efs, if it efs didn't work then there a forum about how to recover imei with 4g. Wait for few minutes I send the link of the thread
---------- Post added at 02:30 PM ---------- Previous post was at 02:27 PM ----------
riyan65 said:
When you flash stock rom there is possibility of losing imei. So take a backup of efs, if it efs didn't work then there a forum about how to recover imei with 4g. Wait for few minutes I send the link of the thread
Click to expand...
Click to collapse
Here is the link
https://forum.xda-developers.com/g5/help/solution-0-imei-stock-t3801860
---------- Post added at 02:31 PM ---------- Previous post was at 02:30 PM ----------
junglebungle said:
Thanks for the help! I'll report back to see if 4G is working, does this fix the finger print reader too?
Click to expand...
Click to collapse
Here is the link
https://forum.xda-developers.com/g5/help/solution-0-imei-stock-t3801860
---------- Post added at 02:40 PM ---------- Previous post was at 02:31 PM ----------
junglebungle said:
Thanks for the help! I'll report back to see if 4G is working, does this fix the finger print reader too?
Click to expand...
Click to collapse
Hey, I have forgotten to say that you can get 4g in Pixel rom also. But I don't know if it going to fix loudspeaker and finger scanner. The thread I have send you the link it is present there.
riyan65 said:
When you flash stock rom there is possibility of losing imei. So take a backup of efs, if it efs didn't work then there a forum about how to recover imei with 4g. Wait for few minutes I send the link of the thread
---------- Post added at 02:30 PM ---------- Previous post was at 02:27 PM ----------
Here is the link
https://forum.xda-developers.com/g5/help/solution-0-imei-stock-t3801860
---------- Post added at 02:31 PM ---------- Previous post was at 02:30 PM ----------
Here is the link
https://forum.xda-developers.com/g5/help/solution-0-imei-stock-t3801860
---------- Post added at 02:40 PM ---------- Previous post was at 02:31 PM ----------
Hey, I have forgotten to say that you can get 4g in Pixel rom also. But I don't know if it going to fix loudspeaker and finger scanner. The thread I have send you the link it is present there.
Click to expand...
Click to collapse
Ok I flashed the original stock ROM and I ended up getting 0 IMEI and no network. I followed your guide :
It seem like many of are not getting imei after doing this also.let me explain you in a clear way
Step1:-run on a custom rom such as lineage,aosp...
(Note:-if you have 4g/LTE in custom rom then skip step2)
Step2:-turn off your phone and get into bootloader and run the following commands
Fastboot erase modemst1
Fastboot erase modemst2
Step3:-make a back up of efs in Twrp 64x bits(save the efs in external memory so it will not get erased) and erase data,cache only
Step4:-now flash 32xbits Twrp then
Step5:-flash stock rom using following commands
fastboot oem fb_mode_set
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.o
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 modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot reboot
fastboot oem fb_mode_clear
Step6:-now reboot your phone
Step7:-you will get the Imei and 4g/LTE
Step8:-don't use OTA, use adb you can download updates from here
https://drive.google.com/drive/mobil...Py?usp=sharing
Step9:-reboot to stock recovery and select apply update from adb
Step10:-run the following command to apply update
Adb sideload filename.zip
Step11:-In may security patch you may lose imei
Step12:-now install Twrp 64x bits and restore efs from it which you have make it before
Step13:-reboot your device.done
Now you will get the Imei,4g/LTE and latest update.
Let me know if it works for you.
--------------
This didn't work though, I have been messing around and finally got IMEI and 3G back again by reinstalling pixel experience ROM. But 4G doesn't even come up anymore when I select it in the Android network option, It just stays 3G when i select 4G, before it would say 4G with a X through it at the top of the home screen.
I have some questions, why do you need to flash 32bit TWRP because after you use the commands to flash stock it wipes thw TWRP anyway? also where can I get the 32bit as I can only find 64bit version.
Is that the reason why I got 0 IMEI because I didn't use 32 bit TWRP?
Finger print and loud speaker is now working but I REALLY need 4G back, please tell me how I can accomplish this?
I backed up my EFS AFTER I used the following commands:
fastboot erase modemst1
fastboot erase modemst2
But all that did was remove my IMEI.
I am lost how to get 4G back
Restoring EFS does nothing....
Thanks
junglebungle said:
Ok I flashed the original stock ROM and I ended up getting 0 IMEI and no network. I followed your guide :
It seem like many of are not getting imei after doing this also.let me explain you in a clear way
Step1:-run on a custom rom such as lineage,aosp...
(Note:-if you have 4g/LTE in custom rom then skip step2)
Step2:-turn off your phone and get into bootloader and run the following commands
Fastboot erase modemst1
Fastboot erase modemst2
Step3:-make a back up of efs in Twrp 64x bits(save the efs in external memory so it will not get erased) and erase data,cache only
Step4:-now flash 32xbits Twrp then
Step5:-flash stock rom using following commands
fastboot oem fb_mode_set
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.o
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 modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot reboot
fastboot oem fb_mode_clear
Step6:-now reboot your phone
Step7:-you will get the Imei and 4g/LTE
Step8:-don't use OTA, use adb you can download updates from here
https://drive.google.com/drive/mobil...Py?usp=sharing
Step9:-reboot to stock recovery and select apply update from adb
Step10:-run the following command to apply update
Adb sideload filename.zip
Step11:-In may security patch you may lose imei
Step12:-now install Twrp 64x bits and restore efs from it which you have make it before
Step13:-reboot your device.done
Now you will get the Imei,4g/LTE and latest update.
Let me know if it works for you.
--------------
This didn't work though, I have been messing around and finally got IMEI and 3G back again by reinstalling pixel experience ROM. But 4G doesn't even come up anymore when I select it in the Android network option, It just stays 3G when i select 4G, before it would say 4G with a X through it at the top of the home screen.
I have some questions, why do you need to flash 32bit TWRP because after you use the commands to flash stock it wipes thw TWRP anyway? also where can I get the 32bit as I can only find 64bit version.
Is that the reason why I got 0 IMEI because I didn't use 32 bit TWRP?
Finger print and loud speaker is now working but I REALLY need 4G back, please tell me how I can accomplish this?
I backed up my EFS AFTER I used the following commands:
fastboot erase modemst1
fastboot erase modemst2
But all that did was remove my IMEI.
I am lost how to get 4G back
Restoring EFS does nothing....
Thanks
Click to expand...
Click to collapse
Now your in which rom stock or custom??? If you're on custom rom just use this command's
fastboot erase modemst1
fastboot erase modemst2
If you are in stock you need to go back to custom check if 4g is there if not use the above command and then come to stock without using this codes
fastboot erase modemst1
fastboot erase modemst2
And gpt, bootloader.
riyan65 said:
Now your in which rom stock or custom??? If you're on custom rom just use this command's
fastboot erase modemst1
fastboot erase modemst2
If you are in stock you need to go back to custom check if 4g is there if not use the above command and then come to stock without using this codes
fastboot erase modemst1
fastboot erase modemst2
And gpt, bootloader.
Click to expand...
Click to collapse
I am on pixel again, if I go back to stock it gives me 0 IMEI, and I don't want to risk it as I don't have the internet at home right now I am tethered via my phone. I did these commands
fastboot erase modemst1
fastboot erase modemst2
Before and it wiped my IMEI.
What do you mean "and gpt, bootloader" they need flashing too? for which ROM? I am so confused.
Why is 32bits TWRP needed?
I tried stock rom and the oreo rom and both gave me 0 IMEI but I am not sure what I did to get it working on pixel, I flashed pixel in TWRP and booted the phone and the IMEI and 3G was working again, but no 4G.
riyan65 said:
Now your in which rom stock or custom??? If you're on custom rom just use this command's
fastboot erase modemst1
fastboot erase modemst2
If you are in stock you need to go back to custom check if 4g is there if not use the above command and then come to stock without using this codes
fastboot erase modemst1
fastboot erase modemst2
And gpt, bootloader.
Click to expand...
Click to collapse
Any update? this is really stressing me out
even two guys in this thread: https://forum.xda-developers.com/g5/help/solution-0-imei-stock-t3801860/
Said that getting 4g back wasn't possible? and the post before my one that guy had issues too. I hear there is no fix to get 4G back....
junglebungle said:
I am on pixel again, if I go back to stock it gives me 0 IMEI, and I don't want to risk it as I don't have the internet at home right now I am tethered via my phone. I did these commands
fastboot erase modemst1
fastboot erase modemst2
Before and it wiped my IMEI.
What do you mean "and gpt, bootloader" they need flashing too? for which ROM? I am so confused.
Why is 32bits TWRP needed?
I tried stock rom and the oreo rom and both gave me 0 IMEI but I am not sure what I did to get it working on pixel, I flashed pixel in TWRP and booted the phone and the IMEI and 3G was working again, but no 4G.
Click to expand...
Click to collapse
If you on custom rom just use this command's in Pixel or other roms it don't wipe imei.
fastboot erase modemst1
fastboot erase modemst2
riyan65 said:
If you on custom rom just use this command's in Pixel or other roms it don't wipe imei.
fastboot erase modemst1
fastboot erase modemst2
Click to expand...
Click to collapse
I am on Pixel rom with 3G only, no 4G, I just used those commands and rebooted the phone, it wiped my IMEI and gave me no signal..... so that doesn't work....
I then had to install stock rom again (without the above codes and gpt/bootloader it didn't give me imei stilI) So I wipe data, reinstall pixel custom rom and still no imei or 3g, I then installed Oreo soak test with all the commands (including fastboot erase modemst1/2 and gpt/bootloader) then flash pixel again to get my 3g back... I think I am doomed and 4g doesn't work anymore, many people are saying the same thing. Even on this guys video: https://www.youtube.com/watch?v=XmKg84IXEbo
I also can't restore my EFS file as when I try to it says some error about a partition?
Apprently the only way to fix it is install official android 8.0 that guy said? is this true?
riyan65 said:
If you on custom rom just use this command's in Pixel or other roms it don't wipe imei.
fastboot erase modemst1
fastboot erase modemst2
Click to expand...
Click to collapse
Hey man sorry to bug you but did you have any thing else I can try? it's driving me mad
junglebungle said:
Hey man sorry to bug you but did you have any thing else I can try? it's driving me mad
Click to expand...
Click to collapse
Hey did you try any rom of 32bit with 32 bit twrp.
riyan65 said:
Hey did you try any rom of 32bit with 32 bit twrp.
Click to expand...
Click to collapse
Not sure, I did use 32bit twrp for something I can't remember what though, it wasn't stock rom as I used the commands to flash stock rom.
Also tried this: https://forum.xda-developers.com/g5/how-to/how-to-recovery-4g-moto-g5-t3787208
But that didn't work either, using the erase modem commands just wipes my IMEI. I tried this on Pixel rom though not the DotOS, surely that doesn't make any difference?
junglebungle said:
Not sure, I did use 32bit twrp for something I can't remember what though, it wasn't stock rom as I used the commands to flash stock rom.
Also tried this: https://forum.xda-developers.com/g5/how-to/how-to-recovery-4g-moto-g5-t3787208
But that didn't work either, using the erase modem commands just wipes my IMEI. I tried this on Pixel rom though not the DotOS, surely that doesn't make any difference?
Click to expand...
Click to collapse
Try this commands on AOSP/lineage rom.

Categories

Resources