[HELP] Need EFS backup for cid: HTC__38 mid: 0PK711000 - One (M9+) General

I lost efs partition accidently. Forgot to move backup from phone to PC, it got formatted from phone while flashing rom. My phone doesn't show IMEI, MID, even in bootloader. Also camera and headphone jack not working. No cellular network. I googled for similar issues, this happens if phone lost efs partition, it is recoverable if bootloader mode shows correct IMEI and MID, which is not the case with me. Only way out is to flash efs from other M9+ phone.
Following command can be used to create image of EFS partition.
dd if=/dev/block/mmcblk0p3 of=/storage/ext_sd/efs.img bs=4096.
I would restore efs.img and change IMEI with my phone's original one. If you want, you can change IMEI to any random number using from fastboot mode before taking backup using following command.
fastboot oem writeimei <any_random_number>
Please provide me image of EFS partition.

Related

Need hboot.zip for India

Accidently erased efs partition, also lost efs backup somehow. Please help me with hboot.zip for India region.
Can someone give me efs backup / image please?, Change IMEI to any random from fastboot command if want to avoid sharing IMEI.

[LINKS] Asus Zenfone 2 or Laser RAW/SERVICE FIRMWARE ZIP

As promised, the RAW or SERVICE FIRMWARE FOR ZE550KL
DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY DAMAGE/HARM IF YOU FLASHED ANY FIRMWARES FROM THESE LINKS/POST BELOW.
BACKUP YOUR PHONE BEFORE FLASHING ANY FIRMWARE, EVEN IF THE FIRMWARE IS FROM ASUS!!!
BACKUP SCRIPT (PARTITION DUMP UNLOCK) is here:
http://forum.xda-developers.com/zen...de-unlock-bootloader-asus-unlock-app-t3405850
Changes from Android OS revisions, especially concerning encryption, efs, modems, wifi, gps could render corruption in partitions leading to phone failure. Backup always and do it often.
Note that this firmware is different from the usual firmware by Asus. It is used for servicing the phone, it restores ALL partition from factory EXCEPT for IMEI, S/NO, Mac address etc. Google account lock is ACTIVE in this firmware.
The firmware is used by Asus Flash Tool to restore your phone partitions. If by any chance, the restore is not successful using the tool, just unzip the file and flash manually (flashall_AFT.cmd)
You need this firmware if your partitions are totally corrupted (example if you cannot go into fastboot mode). Most of the time, bricked phones can be restored by flashing Asus stock recovery (recovery.img), then stock asus firmware. If that doesn't solve the bricking, then you will need the raw/service firmware.
The links are rare, hard to find, download before it is gone.
[firmware27]WW_ZE550KL_1.17.40.123 ... 04185904-secured-releaseAFT_QC.zip
https://drive.google.com/file/d/0B43Ue6xY9MmdOGxXZ2RRQUJrOWs/view
[firmware27]CSCimage_WW-ZE550KL-ZE600KL-1.21.2.230-fac-eng-20151116-signedAFT_QC.zip
https://drive.google.com/file/d/0B43Ue6xY9MmdY1E3ZGlIaEVOVjA/view
WW_ZE550KL_21.40.1220.1794_rel_user-20160722041335-secured-releaseAFT
cannot find the link anymore, could be from some gsm/russian forums
ORIGINAL SOURCE: got raw/service firmware for other zenfones as well
https://firmware27.blogspot.my/p/update-raw-firmware-asus.html
https://firmware27.blogspot.my/2014/12/file-raw-asus-zenfone.html
@pokipokipxorn
Can you restore the Imei?
I used the fastboot erase modemst1 and modemst2 command and lost my IMEI.
asus phones r crappy, no one ever shared the qcn files on the internet.
u can still recover the imei!!!! do not erase anything anymore!!! coz modemst1 modemst2 backup is stored on fsg & a few other files
backup everything now! using qpst, efs professional etc,
install stock recovery, downgrade to lowest asus stock rom, install as new.
http://gsmsociety.com/showthread.php?t=4329
backup script here
http://forum.xda-developers.com/zen...de-unlock-bootloader-asus-unlock-app-t3405850
WW_ZE550KL_21.40.1220.2179_rel_user-20170803162728-secured-releaseAFT this Firmware link
Firmware:- https://cloud.mail.ru/public/J94j/PKn2RWbwX
Tool:- https://cloud.mail.ru/public/ASP8/Md2VwfBX3

[XT1642][Baseband:EMEA][Channel:RETEU (Retail Europe)][dd images]

Hello everyone,
These are XT1642 Baseband EMEA Channel Retail Europe dd images.All 48 "by-name" partitions, including modem, modemst1 and modemst2.
I was unfortunately going by my own, trying to restore IMEI code and modem functionality of my first XT1642. I bought a typical phone and made dd images of all partitions.
I then engaged into trying to change IMEI code of my failed set. The best try was done by EFS_Professional_2.1.80_BETA, which I downloaded here from XDA, but I got the error NV_ERR_BAD_SECURITY_MODE.
I then resorted to flashing the dd images. Thinking out of focus as I did (I should have tested only modem images: modem, modemst1,modemst2 and fsg) I flashed images one by one in TWRP, until I felt something went wrong (sure it had to), so I rebooted to find I locked myself out at bootloader.
Bootloader says "oem_locked" and yet fails to boot in any mode: recovery, reset or other.
So this is the inevitable end: I was supposed to leave the phone set dead until a toolbox or a hardware hack come out, since I already tried at repair shops and non exist for Athene.
Now to the juicy parts: I promised myself I post these dd images, not just for modem issues, but for anyone wishing to manipulate XT1642 EMEA RETEU. Maybe these could just help.
The images are taken off MPJ24.23-4.
dd images: Google Drive and MediaFire
EFS Professional 2.1.80 Beta: Google Drive and MediaFire
"Manipulating" the IEMI is illegal.
And wrong because it will hurt another person's phone too, that has that IEMI.
SoNic67 said:
"Manipulating" the IEMI is illegal.
And wrong because it will hurt another person's phone too, that has that IEMI.
Click to expand...
Click to collapse
The partitions described don't contain an IMEI. I guess there is no problem here.

No signal / radio is off for XT1562 (I messed it up with QPST - Need QCN files)

Hello everybody, I am from Argentina
As I told in the title, my phone has no signal and the radio is always off. I can see my imei at phone info.
-Cannot turn radio on, at *#*#4636#*#* menu.
-I have tried to restore stock roms from github.com/motoxplay/stock, but it's the same.
-I have erase modem1/2, and reflash proper NON-HLOS.bin and fsg.mbn partitions with no luck
I search a lot and I didn't find any clue in how to repair it, I continue without phone
I think I need a QCN backup file to restore the qualcomm settings to stock.
Anyone can share something I can try?
Can anyone share a QCN backup (remember to erase your imei info)?
Deleted

Ruined my modem partition... Please help

i downloaded factory image of 7.12.29 oreo
i used flash_factory.bat
it reflashed partitioning
apparently it had a command "fastboot flash modem_a NON-HLOS.bin"
the NON-HLOS.bin file does not exist in images folder nor in any fastboot rom
now i dont have any connectivity... signal.. wifi etc..
can anybody provide NON-HLOS.bin file for the A1
Hello,
Inside the fastboot ROM file "tissot_images_7.12.19_20171219.0000.00_7.1_d39fa89aaf.tgz" (Nougat 7.1.2) ... in the file "flash_all_lock_crc.bat" for example, these lines appear:
fastboot %* flash modem_a %~dp0images\modem.img || @ECHO "Flash modem_a error" && exit /B 1
fastboot %* flash modem_b %~dp0images\modem.img || @ECHO "Flash modem_b error" && exit /B 1
It seems that the file is called "modem.img", not "NON-HLOS.bin".
May be?
Regards!
PS: Sorry for my English!
i managed to flash all images from fast boot to partitions manually step by step
except something called fsg and persist partitions
which i managed to flash through twrp using dd command via terminal
now it boots but i dont have imei number "says imei number unknown"
and it reboots after less than a minute
i read something about qcn file restore and editing from another mi A1
and that i can edit it to put my imei numbers back
anybody please provide a valid qcn number and how can i restore it
m.hashem said:
i managed to flash all images from fast boot to partitions manually step by step
except something called fsg and persist partitions
which i managed to flash through twrp using dd command via terminal
now it boots but i dont have imei number "says imei number unknown"
and it reboots after less than a minute
i read something about qcn file restore and editing from another mi A1
and that i can edit it to put my imei numbers back
anybody please provide a valid qcn number and how can i restore it
Click to expand...
Click to collapse
if it is under warranty just brick your phone and give it to service centre they will flash it and give you back
m.hashem said:
i downloaded factory image of 7.12.29 oreo
i used flash_factory.bat
it reflashed partitioning
apparently it had a command "fastboot flash modem_a NON-HLOS.bin"
the NON-HLOS.bin file does not exist in images folder nor in any fastboot rom
now i dont have any connectivity... signal.. wifi etc..
can anybody provide NON-HLOS.bin file for the A1
Click to expand...
Click to collapse
i have same problem last night
then i reflash 7.12.19 using miflash 2016.08.30.0
my imei normal again
Wow! The file NON-HLOS.bin is the modem for other Xiaomi phone. May be you use a batch file (flash_factory.bat) for other phone, not Mi A1. Please use Mi Flash with right rom.
this is method not working
bangir said:
i have same problem last night
then i reflash 7.12.19 using miflash 2016.08.30.0
my imei normal again
Click to expand...
Click to collapse
this is method not working
gautamaurya said:
this is method not working
Click to expand...
Click to collapse
What happens if you try to re-flash your modem with the flash_all or flash_all_except_storage scripts from here: https://forum.xda-developers.com/mi-a1/how-to/ota-official-fastboot-image-n2g47h-7-12-t3728929 ?
Can you please report, if it works and if should not work, please attach the terminal/ shell outpout of the failed flashing attempt here.
modemst1 and modemst2
hey ... i managed to flash the fastboot rom via miflash via hsusb 9008 mode through miflash tool (run as administrator)
the remainig problem is 2 partitions modemst1 and modemst2
which are dev/block/mmcblk0p14 & 15 respectively
can somebody please send me a backup of modemst1 and modemst2
it's doable via twrp
fastboot boot twrp3.1.1.1.img
advanced
terminal
dd if=/dev/block/mmcblk0p14 of=/sdcard/modemst1.img
dd if=/dev/block/mmcblk0p15 of=/sdcard/modemst2.img
i'll flash them back and edit the imei numbers via hex after qcn backup
thanks everybody
m.hashem said:
hey ... i managed to flash the fastboot rom via miflash via hsusb 9008 mode through miflash tool (run as administrator)
the remainig problem is 2 partitions modemst1 and modemst2
which are dev/block/mmcblk0p14 & 15 respectively
can somebody please send me a backup of modemst1 and modemst2
it's doable via twrp
fastboot boot twrp3.1.1.1.img
advanced
terminal
dd if=/dev/block/mmcblk0p14 of=/sdcard/modemst1.img
dd if=/dev/block/mmcblk0p15 of=/sdcard/modemst2.img
i'll flash them back and edit the imei numbers via hex after qcn backup
thanks everybody
Click to expand...
Click to collapse
I have done some digging in order to assist you to get this fixed. I think I have 2 very hot leads (untested as I don't have any issues with my IMEI):
1. http://www.androidbrick.com/ultimat...agon-xiaomi-mi5-imei-and-baseband-repair-fix/ & http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/
2. https://androidmtk.com/use-qualcomm-smartphone-write-imei-tool (looks almost to easy, but worth a try?)
Please report your feedback here
hey bro how to the editting modem1st.img
m.hashem said:
i downloaded factory image of 7.12.29 oreo
i used flash_factory.bat
it reflashed partitioning
now i dont have any connectivity... signal.. wifi etc..
Click to expand...
Click to collapse
Hello!
I made the same mistake. Is there a way to solve this problem?
m.hashem said:
i downloaded factory image of 7.12.29 oreo
i used flash_factory.bat
it reflashed partitioning
apparently it had a command "fastboot flash modem_a NON-HLOS.bin"
the NON-HLOS.bin file does not exist in images folder nor in any fastboot rom
now i dont have any connectivity... signal.. wifi etc..
can anybody provide NON-HLOS.bin file for the A1
Click to expand...
Click to collapse
Same problem here. Phone doesn't work correctly now. Boots, freezes and reboots. :crying:
persist image problem
https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
try ghis to restore persist img from twrp see if it fixes the freeze and reboot problem
also download the persist.img from the guide not from a fastboot rom... it should be 32 mb in size
i actually bricked my phone via doing fastboot flash partition partition-both-gpt.bin from fastboot folder then fastvoot reboot.... warning this bricks the phone completely... theres no bootloader now... i gave it to service center... ill take my chances for replacement
m.hashem said:
https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
try ghis to restore persist img from twrp see if it fixes the freeze and reboot problem
also download the persist.img from the guide not from a fastboot rom... it should be 32 mb in size
i actually bricked my phone via doing fastboot flash partition partition-both-gpt.bin from fastboot folder then fastvoot reboot.... warning this bricks the phone completely... theres no bootloader now... i gave it to service center... ill take my chances for replacement
Click to expand...
Click to collapse
thank you very much broo my device is fixed freezee and reboots problem
Ok. But what is the persist partition? Someone tried already? Doesn't want to brick my phone completely.
how to the editting qcn file beacuse my imei 0 null please help me editting brother
m.hashem said:
https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/
try ghis to restore persist img from twrp see if it fixes the freeze and reboot problem
also download the persist.img from the guide not from a fastboot rom... it should be 32 mb in size
i actually bricked my phone via doing fastboot flash partition partition-both-gpt.bin from fastboot folder then fastvoot reboot.... warning this bricks the phone completely... theres no bootloader now... i gave it to service center... ill take my chances for replacement
Click to expand...
Click to collapse
The freeze and reboot problem is fixed. Thanks. Still one problem. IMEI1 is 0 and IMEI2 is null. Anyone has an idea?
Nordland_ua said:
Hello!
I made the same mistake. Is there a way to solve this problem?
Click to expand...
Click to collapse
Me tooo
Sent from my Mi A1 using Tapatalk
https://www.androidfilehost.com/?fid=673956719939818468
Replace the IMEi with UR Own IMEI . if not it's illegal to use this QCN
Password : testnreport
if you don't know how to change IMEI Using hex editor , try my method . DO NOT use QCN to restore .
(hex and imei provided in order for u to find n replace)
i lost my imei n spent me about 6days n 8 hours per day to find a way to fix it .
actually it's easy to fix the problem .
My own method
1. download the older rom (7.8.23) Link
2. Use flash_all.bat
3.reboot into fastboot mode , erase modemst1 and modemst2 .
fastboot erase modemst1
fastboot erase modemst2
4. reboot
5. go to phone , enter *#*#717717#*#*
6.got to settings enable USB Debugging (ADB)
7. disconnect your phone n connect it back
8.Use WriteDualIMEI(W+G_eMMC) Remember run as administrator , enter your IMEI .
9.if success , go to phone enter *#*#717717#*#* to disable the diag port
10. reboot
Done .

Categories

Resources