Baseband and imei lost - OnePlus 5T Questions & Answers

Hi, my oneplus 5t suddenly lost the baseband information and imei, results show null baseband and unknown imei. I don't have twrp backup so is there any solution of this problem? Thanknyoubin advance

Try to flash modem "fastboot flash modem NON-HLOS.bin" (Non-hlos.bin you can get in the FullRom zip, path: Rom.zip/firmware update) or flash full firmware from here https://forum.xda-developers.com/showthread.php?t=3728665, finaly you can use unbrick tool. If this can not solve your problem, you will need to wtite your IMEI and MEID manualy (find instructions by google).

Just wanted to add my 2c to this:
Had the same problem (no mobile data, nor Wifi, no IMEI). Was able to locate an old TWRP backup and copy that to my phone via TWRP and restore JUST the EFS partition. After that, everything worked

Related

[permanent fix for imei problem] Needed nvram.bin file

I Accidentally chose format all option in SP flash tool, so to restore my imei permanently , i need nvram.bin file to restore it through SP Tool , i promise to change the imei to my original one. please help.:confused..:fingers-crossed:

Suggestions on deleted modem files and 'No Sim Card Inserted' issue!

Hi Guys!
This is my first ever thread, comment, post or anything of sort on XDA, but the problem is- while flashing the stock rom via fastboot method I happened to erase modest1 and modemst2 after the unsuccessful flash of NON-HLOS.bin file but my device booted normally to the home screen only to realise later that it is not detecting any simcard. Although I tried to flash NON-HLOS file later using fastboot but it said unable to flash bootloader file on the unlocked device, thereafter i tried many custom roms, infact all of them for p2 but the result is negative and I am getting the same feeling a guy should get when he has a mobile with no network! Can anyone suggest a way out or Shall i consider it an end!!??
harsh_xda said:
Hi Guys!
This is my first ever thread, comment, post or anything of sort on XDA, but the problem is- while flashing the stock rom via fastboot method I happened to erase modest1 and modemst2 after the unsuccessful flash of NON-HLOS.bin file but my device booted normally to the home screen only to realise later that it is not detecting any simcard. Although I tried to flash NON-HLOS file later using fastboot but it said unable to flash bootloader file on the unlocked device, thereafter i tried many custom roms, infact all of them for p2 but the result is negative and I am getting the same feeling a guy should get when he has a mobile with no network! Can anyone suggest a way out or Shall i consider it an end!!??
Click to expand...
Click to collapse
very sad ! didn't you make a full backup (nandroid backup) through TWRP ?? If so, then you should install twrp img again and restore the back up. please let me know. otherwise I'll give you my TWRP backed up modem file.
harsh_xda said:
Hi Guys!
This is my first ever thread, comment, post or anything of sort on XDA, but the problem is- while flashing the stock rom via fastboot method I happened to erase modest1 and modemst2 after the unsuccessful flash of NON-HLOS.bin file but my device booted normally to the home screen only to realise later that it is not detecting any simcard. Although I tried to flash NON-HLOS file later using fastboot but it said unable to flash bootloader file on the unlocked device, thereafter i tried many custom roms, infact all of them for p2 but the result is negative and I am getting the same feeling a guy should get when he has a mobile with no network! Can anyone suggest a way out or Shall i consider it an end!!??
Click to expand...
Click to collapse
My story:
I was originally on Nougat, unlock bootloader, install TWRP, erase SYSTEM/internal/cache, installed deodexed nougat -> no sim detected
Restored my full Nougat backup -> no change
Fastboot flash Nougat -> no change
Restored trough TWRP @nandakis4 full Nougat backup https://forum.xda-developers.com/showpost.php?p=71909467&postcount=340 -> sim working, internet workig, but i don't hear anything douring calls
I tried almost all custom rom -> internet and calls working, but the CPU behaved strangely
Installed STOCK Nougat in TWRP -> no simcard
At last i was on the latest RR 5.8.3, then i accidentally dirty flashed the STOCK deodexed MM -> everythings working fine with the deodexed MM rom
I hope it will help.
Found a fix!
Thank you guys @mishua0 and @viss77in for your kind concern but I found a fix later on the web. Actually I learnt that after erasing the modemst files it is recreated by the bootloader but due to some problem it was not able to recreate that. So I re-flashed the boot.img and deleted the modemst files once again. These were the commands that helped me(on Mac):
./fastboot flash boot boot.img
./fastboot erase modemst1
./fastboot erase modemst2
./fastboot flash fsg fsg.mbn
./fastboot reboot
I rechecked the commands it worked for the 2nd time too. So I came to the conclusion for the fix of 'No Sim Card Inserted' issue.
harsh_xda said:
Thank you guys @mishua0 and @viss77in for your kind concern but I found a fix later on the web. Actually I learnt that after erasing the modemst files it is recreated by the bootloader but due to some problem it was not able to recreate that. So I re-flashed the boot.img and deleted the modemst files once again. These were the commands that helped me(on Mac):
./fastboot flash boot boot.img
./fastboot erase modemst1
./fastboot erase modemst2
./fastboot flash fsg fsg.mbn
./fastboot reboot
I rechecked the commands it worked for the 2nd time too. So I came to the conclusion for the fix of 'No Sim Card Inserted' issue.
Click to expand...
Click to collapse
you are lucky that this trick worked for you but this didn't work for some users, they told that after a few second their radio signal disappeared continuously. Even they had to go to service center for repairing. I want to know if you still facing some of this kind of problem or not ....... hope yours is now in best condition ! thanks ......
harsh_xda said:
Thank you guys @mishua0 and @viss77in for your kind concern but I found a fix later on the web. Actually I learnt that after erasing the modemst files it is recreated by the bootloader but due to some problem it was not able to recreate that. So I re-flashed the boot.img and deleted the modemst files once again. These were the commands that helped me(on Mac):
./fastboot flash boot boot.img
./fastboot erase modemst1
./fastboot erase modemst2
./fastboot flash fsg fsg.mbn
./fastboot reboot
I rechecked the commands it worked for the 2nd time too. So I came to the conclusion for the fix of 'No Sim Card Inserted' issue.
Click to expand...
Click to collapse
I try debug my working version (i made full backup first), step by step flashed the following:
fastboot flash boot boot.img no "no sim card error", but i hear nothing during calls
fastboot erase modemst1 and
fastboot erase modemst2 nothing changed
fastboot flash fsg fsg.mbn "no simcard error"
After i restored my TWRP backup I thought everything would be fine, but i realize no sound comes from the phone when making a call (again )
Conclusion 1: Do not poke what works
Conclusion 2: The TWRP don't save/restore all (partition?) data
Vis77 said:
I try debug my working version (i made full backup first), step by step flashed the following:
fastboot flash boot boot.img no "no sim card error", but i hear nothing during calls
fastboot erase modemst1 and
fastboot erase modemst2 nothing changed
fastboot flash fsg fsg.mbn "no simcard error"
After i restored my TWRP backup I thought everything would be fine, but i realize no sound comes from the phone when making a call (again )
Conclusion 1: Do not poke what works
Conclusion 2: The TWRP don't save/restore all (partition?) data
Click to expand...
Click to collapse
I'm trying this as Im facing same issue (no voice during calls - no ear speaker or loud speaker)
Vis77 said:
My story:
I was originally on Nougat, unlock bootloader, install TWRP, erase SYSTEM/internal/cache, installed deodexed nougat -> no sim detected
Restored my full Nougat backup -> no change
Fastboot flash Nougat -> no change
Restored trough TWRP @nandakis4 full Nougat backup https://forum.xda-developers.com/showpost.php?p=71909467&postcount=340 -> sim working, internet workig, but i don't hear anything douring calls
I tried almost all custom rom -> internet and calls working, but the CPU behaved strangely
Installed STOCK Nougat in TWRP -> no simcard
At last i was on the latest RR 5.8.3, then i accidentally dirty flashed the STOCK deodexed MM -> everythings working fine with the deodexed MM rom
I hope it will help.
Click to expand...
Click to collapse
Hi, can you help me how to restore twrp backup (the link has a file like backup s233-2017-04-18--00-08-10.rar). When I try to restore from twrp it is not even showing this file.
Vis77 said:
My story:
I was originally on Nougat, unlock bootloader, install TWRP, erase SYSTEM/internal/cache, installed deodexed nougat -> no sim detected
Restored my full Nougat backup -> no change
Fastboot flash Nougat -> no change
Restored trough TWRP @nandakis4 full Nougat backup https://forum.xda-developers.com/showpost.php?p=71909467&postcount=340 -> sim working, internet workig, but i don't hear anything douring calls
I tried almost all custom rom -> internet and calls working, but the CPU behaved strangely
Installed STOCK Nougat in TWRP -> no simcard
At last i was on the latest RR 5.8.3, then i accidentally dirty flashed the STOCK deodexed MM -> everythings working fine with the deodexed MM rom
I hope it will help.
Click to expand...
Click to collapse
You really saved my day with TWRP backup.... if we screw up modem (bootloader unlocked) this is the only method that works.
Has anyone had any success flashing stock Nougat? I suppose @harsh_xda and @Vis77 flashed MM. Would be interesting to hear if it worked out flashing just system.img, thus leaving out bootloader (which contains modem). Since it's the same OS version, I think there's a chance.
Also, did anyone try restoring just the modem via TWRP? Please mention if it was erased or just restored (hence excluded from the flashing process).
Clearly, you should never erase the modem with an unlocked bootloader.
Did it work for you?
Can you please advise the steps followed.
I have a bricked device and unable to make or receive calls.
Thanks
PrasadD said:
You really saved my day with TWRP backup.... if we screw up modem (bootloader unlocked) this is the only method that works.
Click to expand...
Click to collapse
sisqin1 said:
Did it work for you?
Can you please advise the steps followed.
I have a bricked device and unable to make or receive calls.
Thanks
Click to expand...
Click to collapse
1. Downloaded the twrp backup files (some one shared the link as shown below):
".....Restored trough TWRP @nandakis4 full Nougat backup (https://forum.xda-developers.com/showpost.php?p=71909467&postcount=340)"
2. Restore this using TWRP. (After this calls will be blank even though it connects to network)
Note that you need to copy this backup folder to specific path like /TWRP/BACKUPS/ZY223VLMS9
Otherwise TWRP will not detect this backup.
3. Now download stock marshmallow firmware (that comes with fastboot, name is something like this: P2a42_S048_161111_ROW_fastboot.zip).
(you should easily find this on internet).
4. Extract the zip and copy the attached file (Yukle.exe) in to the folder. ( https://drive.google.com/drive/folders/0BxNr7DAO-62AQ1lzaXlWdmhxR1E?usp=sharing )
5. Run Yukle.exe from command line.
6. After this step SIM problem will be still there. At this point follow OTA updates (first 100 MB one) and then (1900 MB one).
Note that this a long process...it should take around 2-3 hours, so be patient and get your phone working.
7. After completing you will have working phone including calls.
Thank you i will try this and report back.. Was you boot loader unlocked or locked?
sisqin1 said:
Thank you i will try this and report back.. Was you boot loader unlocked or locked?
Click to expand...
Click to collapse
If bootloader is locked then we will not have these problems. (that means fastboot will flash full firmware without any issues. ).
My bootloader is unlocked, thats the reason for these issues.
I completed the process.. I see the name of the Network providers .. followed by No Service.
I try to make a call it says network not available.
Any advise?
PrasadD said:
1. Downloaded the twrp backup files (some one shared the link as shown below):
".....Restored trough TWRP @nandakis4 full Nougat backup (https://forum.xda-developers.com/showpost.php?p=71909467&postcount=340)"
2. Restore this using TWRP. (After this calls will be blank even though it connects to network)
Note that you need to copy this backup folder to specific path like /TWRP/BACKUPS/ZY223VLMS9
Otherwise TWRP will not detect this backup.
3. Now download stock marshmallow firmware (that comes with fastboot, name is something like this: P2a42_S048_161111_ROW_fastboot.zip).
(you should easily find this on internet).
4. Extract the zip and copy the attached file (Yukle.exe) in to the folder. ( https://drive.google.com/drive/folders/0BxNr7DAO-62AQ1lzaXlWdmhxR1E?usp=sharing )
5. Run Yukle.exe from command line.
6. After this step SIM problem will be still there. At this point follow OTA updates (first 100 MB one) and then (1900 MB one).
Note that this a long process...it should take around 2-3 hours, so be patient and get your phone working.
7. After completing you will have working phone including calls.
Click to expand...
Click to collapse
sisqin1 said:
I completed the process.. I see the name of the Network providers .. followed by No Service.
I try to make a call it says network not available.
Any advise?
Click to expand...
Click to collapse
Are you on Android.6 or Android.7 ?
If you are on Android.6 check the OTA and upgrade till you get Android.7
If you are already on Android.7 then try restoring the full TWRP backup again as mentioned in first step. After restart it should work.
By the way it is for P2a42, for other versions this process may not work.
Here is what i did .
I was on 7.0.
1) Restored the backup from TWRP.
2) downloaded the firmware file and used Yukle.exe. Downgraded to 6.0, still had the SIM issue.
3) Received OTA update around 109mb.. Updated
3) Received OTA update around 1900mb... Updated.
4) Restarted the phone. It shows the operators name but says no Service. Unable to make or receive a call.
any steps i am missing.
Yes i am using the Indian version that is P2a42
Thanks
PrasadD said:
Are you on Android.6 or Android.7 ?
If you are on Android.6 check the OTA and upgrade till you get Android.7
If you are already on Android.7 then try restoring the full TWRP backup again as mentioned in first step. After restart it should work.
By the way it is for P2a42, for other versions this process may not work.
Click to expand...
Click to collapse
sisqin1 said:
Here is what i did .
I was on 7.0.
1) Restored the backup from TWRP.
2) downloaded the firmware file and used Yukle.exe. Downgraded to 6.0, still had the SIM issue.
3) Received OTA update around 109mb.. Updated
3) Received OTA update around 1900mb... Updated.
4) Restarted the phone. It shows the operators name but says no Service. Unable to make or receive a call.
any steps i am missing.
Yes i am using the Indian version that is P2a42
Thanks
Click to expand...
Click to collapse
All the steps are right. Not sure what you are missing.
I will zip and share TWRP backup of MM firmware, try restoring and check.
Give me some time.
sisqin1 said:
Here is what i did .
I was on 7.0.
1) Restored the backup from TWRP.
2) downloaded the firmware file and used Yukle.exe. Downgraded to 6.0, still had the SIM issue.
3) Received OTA update around 109mb.. Updated
3) Received OTA update around 1900mb... Updated.
4) Restarted the phone. It shows the operators name but says no Service. Unable to make or receive a call.
any steps i am missing.
Yes i am using the Indian version that is P2a42
Thanks
Click to expand...
Click to collapse
Here is the link for Marshmallow TWRP backup:
https://drive.google.com/open?id=0B2FdRtvxaZwPWV9oeERFZmJub2M
Try the above, if not I will try to share Nougat backup tomorrow.
Thank you for uploading such a huge file.
I tried restoring from TWRP and when downgrading its getting stuck in bootloop and the baseband became unknown.
Can you please ipload the Noguat recovery i can try using that.
Thanks
PrasadD said:
Here is the link for Marshmallow TWRP backup:
https://drive.google.com/open?id=0B2FdRtvxaZwPWV9oeERFZmJub2M
Try the above, if not I will try to share Nougat backup tomorrow.
Click to expand...
Click to collapse

mi 6 imei and meid gone

i was playing the qpst tool and my imei and meid is gone, it seems like my qpst version is old to write imei to the mi6. but now i can not recover it to its original state. what should i do?
if i copy sdf and sde blocks back to the phone, will it fix it, or should i rewrite qcn file with the qpst tool (qcn file can also be corrupted because of the wrong version qpst tool).
i need to rewrite imei, meid to recover the phone. is there any other tool for it?
Bro, use QPST 460 ver. First dd modemst1, modemst2 and fsg partitions, restart the phone, then restore this xqcn: mega.nz/#!vQ1zyART!bXiW0JY1RGWRdHRZZGo4toUOSZiVqEJjMUdyrI8u97Q
magş said:
i was playing the qpst tool and my imei and meid is gone, it seems like my qpst version is old to write imei to the mi6. but now i can not recover it to its original state. what should i do?
if i copy sdf and sde blocks back to the phone, will it fix it, or should i rewrite qcn file with the qpst tool (qcn file can also be corrupted because of the wrong version qpst tool).
i need to rewrite imei, meid to recover the phone. is there any other tool for it?
Click to expand...
Click to collapse
Did you fix it?
Help
Hello does this solution work with such a small xqcn file ?
mekato said:
Bro, use QPST 460 ver. First dd modemst1, modemst2 and fsg partitions, restart the phone, then restore this xqcn: mega.nz/#!vQ1zyART!bXiW0JY1RGWRdHRZZGo4toUOSZiVqEJjMUdyrI8u97Q
Click to expand...
Click to collapse
Any solution ?
Hint* if you try to flash with Mi FLASH PRO tool in recovery mode it will read IMEI from the phone !!
So IMEI is still written on the phone but where and how to recover back ?!
Hi all !
So IMEI, Baseband unknown and MAC address is gone.
No any backup of it !
Have unlocked bootloader, twrp, xiaomieu rom and phone is rooted.
Following "web find" solutions when tried to backup or restore qcn with QPST (v. 2.7 474)
only getting:
"Memory backup failed"
"Disk error writing to file"
When tried to "dd if=/dev/zero of=/dev/block/sde 34 (sdf4, sdf5)
getting "no space left on device"
(no sense, only trying to wipe, not to write anything)
Also tried the same through terminal on twrp and getting same no space error !
Any idea why, or any other way to recover Imei ?
Thanks !!!!
Kiki.G said:
Hi all !
So IMEI, Baseband unknown and MAC address is gone.
No any backup of it !
Have unlocked bootloader, twrp, xiaomieu rom and phone is rooted.
Following "web find" solutions when tried to backup or restore qcn with QPST (v. 2.7 474)
only getting:
"Memory backup failed"
"Disk error writing to file"
When tried to "dd if=/dev/zero of=/dev/block/sde 34 (sdf4, sdf5)
getting "no space left on device"
(no sense, only trying to wipe, not to write anything)
Also tried the same through terminal on twrp and getting same no space error !
Any idea why, or any other way to recover Imei ?
Thanks !!!!
Click to expand...
Click to collapse
contact me to fix it: fb.me/HomXiaomiColombia

Some Important info about Imei 0, No 4G, imei not back after flashing 8.1 rom.

Hi friend,
I installed custom rom 8.1 with twrp 64 bits and it was working fine. then i installed stock rom with fastboot mode and lost my imei.
went back to 8.1 rom and got imei back. I had already taken back up of my stock rom previously. so I though I should try that may be I will get imei back on stock. tried that and got Imei back on stock. everything fne till now.
now I have no 4G and started to fix 4G. flashed some back up found on some form thought may b it will resolve the issue.
restarted and no 4g.
tried to flash stock again and lost imei again.
now tried to flash custom 8.1 still no imei.
went back to back ups still no imei.
tried everything still no imei.
I don't know what happen.
Now lets discuss and fix this issue once for all.
Found some important information about our issue:
Network Related Partitions
modemst1 and modemst2: These partitions appear to contain non-essentials/temporary network related data. Interestingly, they are erased when flashing a stock rom, meaning they are probably not crucial, possibly some kind of ‘baseband cache’?
modem: The modem partition contains modem/baseband related files. These files store store settings that allow the device to communicate with cell towers, such as the frequencies. This partitions is region, not device, specific. This partition is flashed as part of the stock firmware flash procedure, so it also is likely not unique (again ensure to get firmware for the right region).
fsg: This partition also contains files related to the modem firmware/baseband. These files store store settings that allow the device to communicate with cell towers, such as the frequencies. This partitions is region, not device, specific. This partition is flashed as part of the stock firmware flash procedure, so it likely contains non-unique data (but ensure to get firmware for the right region).
Maybe ‘fsg’ and ‘modem’ are related to the modemst1 and modemst2 partitions?
Important/Unique Partitions
pds: This partition likely contains important device specific data like the IMEI, Serial Number, etc. It is important to backup this partition when you get the chance, as people in other threads attribute the loss of the IMEI to this partition. This is not included in stock firmware, reinforcing the importance of backing up this partition.
persist: Apparently this partition contains files related to WiFi, Bluetooth, MAC addresses etc. Nevertheless, it is quite important and should be backed up if possible.
hob and dhob: The exact function is not known, but they appear to contain very important information relating to the modem and/or IMEI.
fsc: Appears to be empty. Although, this partition could sometimes store important IMEI related info. Not included in factory firmware and so best left alone.
IMEI backup/restore scripts (pds partition)
Requirements:
- Device has to be rooted, with USB debugging enabled.
- Motorola fastboot (see attachment).
- ADB installed, minimal or the full ADK.
You can search the forum to find how to meet these requirements or for the terms described in this post beginning here:
http://forum.xda-developers.com/show....php?t=2558638
Installation:
Extract imei_scripts.zip (attached) and copy the scripts "imei_backup.bat" and "imei_flash.bat" into the ADB root directory.
Extract mfastboot_only.zip (attached) and copy "mfastboot.exe" into the ADB root directory.
Description/How to use:
These are batch scripts and can be run by double-clicking them or opening a command window from the ADB root. Help is also contained in the scripts. They are run interactively and won't execute anything without the user selecting a choice.
"imei_backup.bat"
Use this script to backup and restore normally using ADB.
"imei_flash.bat"
Use this script to flash the partition as an alternative to the other method using mfastboot while in bootloader mode. The backup, "pds.img" must be located in the ADB directory for the script to run.
The backup is made on the sdcard and is named "pds.img". You'll want to store this elsewhere once backed up. Once done, that's it! You don't need to do anything more. The purpose is as a preventative in the event of the loss of your IMEI.
Run the scripts for additional options and help.
Sources/Interesting information:
https://forum.xda-developers.com/moto-g/general/motorola-moto-g-partitions-explained-t3418644
https://forum.xda-developers.com/showthread.php?t=2675326
DISCLAIMER: Every information is form internet and xda and I will not be responsible for any loss of data or corrupt phones or sd card. That is, use only at your own risk!
Thanks to eastdata for making scripts.
And Professor Gibbins for providing important info.
Good evening. I am from Brazil and I am exactly with this problem. Since I do not speak English (sorry for this) I translated it through Google, but everything was confusing. Does this procedure go back to working the 4G or just backs up earlier to avoid this problem in the future? (but once sorry for not understanding the text) thank you.
When my Cedric was still alive, I tried to update the bootloader and the baseband to the latest January version using fastboot. I didn't touch the current ROM (LineageOS 15.1 unofficial). I flashed the following files to their adequate partitions: adspso.bin, bootloader.img, fsg.mbn, NON-HLOS.bin, and oem.img. The device worked well and was updated perfectly. Then... my curiosity got the best of me. Since the fastboot ROM includes commands to erase the modemst partitions, I thought it would be good to perform that operation (despite everything working well, stupid me). THIS killed IMEI for me:
Code:
fastboot erase modemst1
fastboot erase modemst2
My attempts to recover from this situation led me to try to downgrade to the November update, which ended in a dead device after trying to flash the November full ROM using RSD-Lite. I hope my experience can serve as a warning for others.
"If it ain't broke, don't fix it."
But then again, I've made that mistake many times as well xD
Cedric imei
Do I have to erase modemst1 and. 2 to install backup

After successfully flashing QCN file

I hope somebody can help me.
After successfully flashing QCN file, with no errors at all in Qfil. I can see the Imei is on the phone now. My wifi and bluetooth works well. The phone see my simcard and asks for my pin. But there is no connectivity at all.
Somebody knows how to fix this?
I flashed persist file with fastboot and TWRP. But no luck.
I erased and flashed modem file in fastboot. But with no luck again.
What can i do more?
Is the qcn file that i flashed with my imei, Carrier locked maybe?
Hello
as some1 who has this kind of issue after doing a system update and tried many QCN, only one QCN worked for me and restored 1 Imei that belong to an LG phone the 2nd IMEI is blank but the SIM work with no issue.
I can send u the QCN file to try it
but before do a buckup to you QCN or EFS

Categories

Resources