Question Need these files to restore my imei - Asus ROG Phone 6 / 6 Pro

My phone was bricked last night. I tried to fix it but somehow forgot to backup these files before flashing firmware so that the IMEI and fingerprint were lost...
It would be appreciated if you could give me these files to save my phone
persist.img
factory.img
modemst1
modemst2
asuskey4
fsg
fsgCA
fsc

Related

[DEB USERS][Need Help]Nexus 7 4G shows IMEI "0"

Hello,
So continuing my experiments on the nexus 7 2013 (deb version), I have come to the point of IMEI being read as "0". :crying:
I have tried qualcomm NV tools, efs professional, qpst, factory reset, full wipe and then factory reset, custom roms, full wipe and then flash custom roms and the list goes on...
I understand that the entire re-writing process would have been much easier if I had a backup of all the partitions but unfortunately my system went kaput leading to massive data loss (including the backups).
So here I am seeking help from the community : : :
1. Any knowledge or methods to restore the IMEI number on a Qualcomm/Nexus/Asus device.
2. Backups of partitions - the DEB versions - the FSG, MODEMST1, MODEMST2
- For backup of the above partitions use the file attached in TWRP.
- It will create backups of the partitions in the location /sdcard/
I don't want to lose this device; it is out of warranty; still strong and does the job for me. The only issue right now for me is the connectivity (no signal because of "0" IMEI).
Please help.
Thankyou.
jared.leto said:
Backups of partitions the DEB versions (other than the radio, recovery, system partitions)
I don't want to lose this device; it is out of warranty; still strong and does the job for me. The only issue right now for me is the connectivity (no signal because of "0" IMEI).
Please help. Thankyou.
Click to expand...
Click to collapse
I prepared backup and restore scripts for the fsg partition with IMEI number. Perhaps a DEB user will donate fsg partition for you. You will need:
p8-backup.zip and p8-restore.zip from the above link
TWRP recovery
USB OTG adapter + a flash drive or OTG flash drive
Then do:
boot TWRP
connect OTG FAT32-formatted drive with the ZIPs
in TWRP "install" the backup ZIP
Your fsg partition will be compressed with gzip and saved on the flash drive. It then can be restored in TWRP.
Incidentally, all DEB users should do a backup of fsg anyway.
Did it. Attached.
HEX Editors show it's empty. I don't remember erasing the fsg partition but I guess that has happened.
Thanku for helping.
k23m said:
I prepared backup and restore scripts for the fsg partition with IMEI number. Perhaps a DEB user will donate fsg partition for you. You will need:
p8-backup.zip and p8-restore.zip from the above link
TWRP recovery
USB OTG adapter + a flash drive or OTG flash drive
Then do:
boot TWRP
connect OTG FAT32-formatted drive with the ZIPs
in TWRP "install" the backup ZIP
Your fsg partition will be compressed with gzip and saved on the flash drive. It then can be restored in TWRP.
Incidentally, all DEB users should do a backup of fsg anyway.
Click to expand...
Click to collapse
jared.leto said:
Did it. Attached.
HEX Editors show it's empty. I don't remember erasing the fsg partition but I guess that has happened.
Thanku for helping.
Click to expand...
Click to collapse
It is empty indeed. My FLO fsg has lots of stuff including IMEI-like strings. Just try my fsg, link in pm.
@k23m
Please help.
Hi, friend, did you restore your Deb IMEI?
I successfully clone IMEI, we need to copy/restore this partitions for this:
M9kefs1 (/dev/bl**ock/mmcblk0p5)
M9kefs2 (/dev/bl**ock/mmcblk0p6)
M9kefs3 (/dev/bl**ock/mmcblk0p7).
TechnicsKuzya said:
I successfully clone IMEI, we need to copy/restore this partitions for this:
M9kefs1 (/dev/bl**ock/mmcblk0p5)
M9kefs2 (/dev/bl**ock/mmcblk0p6)
M9kefs3 (/dev/bl**ock/mmcblk0p7).
Click to expand...
Click to collapse
Thank you for this info. The attached script will backup m9kefs* partitions. In TWRP do 'install' and find the backup file in the root of internal storage - /sdcard/IMEI-backup.tgz
BTW, DEB users, please check this post.
.
imei 0
Hi, also such a problem, have imei 0 after marking up the memory. help fix, thanks

[SOLVED] Need help! Lost IMEI and signal

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!

NO signal, IMEI 0 after downgrade from 8.1 to 7.1

I restored my phone
from oreo 8.1 to 7.1
after restoring i lost my IMEI i.e 0 now, thats why my both sim has no signal now.
I'm from india & i downloaded RETAIL version to restore.
i read somewhere that skip flashing following files could prevent losing your IMEI but...
on the same time i was told this might HARDBRICK your phone.
fastboot flash NON-HLOS.bin modem (can skip this and thus would prevent loss of IMEI)
fastboot erase modemst1 (can skip this and thus would prevent loss of IMEI)
fastboot erase modemst2 (can skip this and thus would prevent loss of IMEI)
fastboot flash fsg fsg.mbn (can skip this and thus would prevent loss of IMEI)
fastboot erase userdata (can skip this and thus would prevent loss of your data (Internal storage)
fastboot reboot
so my question is,
Is it ok to skip the files mentioned in the recovery post?
below post contains the guide i used to downgrade.
https://forum.xda-developers.com/moto-z-play/how-to/guide-root-xposed-flashing-stock-rom-t3529637
The IMEI is still there but will only show if you go back to 8.x .
To reflash your phone look at
https://forum.xda-developers.com/mo...se-attempt-t3812530/post76991120#post76991120

REDMI NOTE 8 | unknown baseband

hi.
i create a qcn backup with Qfile . and then change imei & restored, then i see baseband is empty!
now my baseband is empty and i need to restore my backup qcn. when i want to restore QCN backup file , everthying in qfile is Ok but my phone bootloop for once and then going to Recovery (twrp).
and i had to restore efs in twrp to correction this problem! / i tried some version of qfile and qpst.
how can i repair my baseband?
_ other way like this : "fastboot erase modemst1 / fastboot erase modemst2 "
sometime work and fix baseband (just for once and after restart baseband is empty) & and sometime dont work,
please help me.

Question Is it possible to recover IMEI?

Hey, a month ago I unrooted my Moto e xt2052-1 and for got my sim card was in the phone when I flashed magisk patched boot.img now I can't receive text msgs and phone calls. Also my emei was deleted and would like to get it back to working order. Can someone please help me with this?
tiptop87 said:
Hey, a month ago I unrooted my Moto e xt2052-1 and for got my sim card was in the phone when I flashed magisk patched boot.img now I can't receive text msgs and phone calls. Also my emei was deleted and would like to get it back to working order. Can someone please help me with this?
Click to expand...
Click to collapse
Try flashing this from stock firmware
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
[Guide] Using Fastboot.exe with Motorola devices
Guide: Using Fastboot.exe with Motorola Devices If your device has its own section please post in that section. You can ping me with @sd_shadow MediaTek or Qualcomm Chip? Do I have a MediaTek Device? see post #26 Info: If you have a MediaTek...
forum.xda-developers.com

Categories

Resources