yashsingh1/xdaforums huggingface dataset:
[ONE Q&A, Help & Troubleshooting] HubblyJubbly:
So I went through the exact same thing and got the exact same email from support.

Unfortunately when I tried to apply the fix it did not resolve my issue. So I went back to the drawing board and was able to fix this once and for all using the following steps (using this as a reference http s: //forums.oneplus.net/threads/corrupt-efs.247670/)

1) using TWRP run the following from the terminal make_ext4fs /dev/block/mmcblk0p15

2) I then flashed the ROM to use Color OS (I used version 246 ColorOS_246_mod.zip)

- This restored my wifi and mobile network (Rejoice!!!!)

- only problem is I didn't want to be stuck using color os and when I tried to flash back to CM11-44S the instructions I got from OnePlus support wouldn't work. It looked like the Persist partition (is that a thing?) was corrupted and I'd have to run 'make_ext4fs /dev/block/mmcblk0p15' to get it back every time I tried to flash.

3) So going back to TWRP I downloaded the ltest CM12 bacon nightly (also google apps) and used TWRP to flash to this version.

- Now I had lolipop running with wifi and mobile but I don't want an unstable release on my primary phone plus I know the battery life is champ at CM11-44S SOOOOOO

4) I went back to the original download I received from support and ran it again and this time it worked. I'm back at 44S (Rejoice again!!!!!)

Lessons learned:

- I did not corrupt my EFS by trying to flash without a backup. It got corrupted without me doing anything other than updating the 05Q

- I will now have a backup of my EFS stored off the device and I will make sure to take backups before I do any more OTA updates.
[ONE Q&A, Help & Troubleshooting] VitaliyUvakin:
Just to clear things up for me a little... You had same issue as me, no IMEI number and no LTE, right? As of right now I tried so many different things so many times in dozens different orders I don't even recall. But I do have working baseband (no LTE), working Bluetooth and WiFi. If you can confirm your steps restored your IMEI number I will jump on it ASAP
[ONE Q&A, Help & Troubleshooting] HubblyJubbly:
That is correct. First I lost my IMEI but still maintained my wifi. In the process of trying to fix that I lost my wifi too. I don't think I had any mobile connectivity but definitely not lte.

These steps are what finally worked for me. I've got the sandstone 64 GB international version.

Do you know how your efs got corrupted? I have no idea what happened to mine. I didn't try rooting, flashing or anything. I took the 05q update and it seemed to be working fine. Then out off the blue it rebootted and my mobile connection was gone. I saw someone else mentioned Spotify abs I use Spotify a lot. What about you? Do you know what happened to yours?
[ONE Q&A, Help & Troubleshooting] VitaliyUvakin:
Pretty much the same. I was running lollipop builds for a while with no issues, then restored my stock not rooted 44s nandroid, where good as well, then got ota and that's where all mess started.
[ONE Q&A, Help & Troubleshooting] VitaliyUvakin:
Yea, no dice. Repeated all the steps, still same results. No IMEI, no LTE.
[ONE Q&A, Help & Troubleshooting] HubblyJubbly:
I'm sorry to hear that. I tried so many things before it finally worked, there must have been something else I did along the way that caused it to click. I can't think of anything specific but if I do I'll run it by you. Good luck.
[ONE Q&A, Help & Troubleshooting] nick.joshi:
guys help

i am currently in the situation where i dont have any imei and unknown baseband tried everything flashing again to stock through flashboot, then trying color os then reverting.

any help will be appreciated.

and guys pls reply fast
[ONE Q&A, Help & Troubleshooting] VitaliyUvakin:
Per OnePlus One tech support that should fix it. Download, unzip, read .pdf.

https://s3.amazonaws.com/oneplussupp...IX-Windows.zip

Did not work for me, nether worked flashing to Color OS. I contacted tech support once again, they tried to do their magic via remote access without any success.

On a positive note they issued RMA, I've send my old one to Hong Kong and now waiting for replacement device.
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
[MENTION=5098295]markbencze[/MENTION] Dude OP, remember me?

I was one of the early guys who corrupted his IMEI back in September 2014, and you created this. I tried everything you described, and we gave up and you guys told me to just RMA or stick to the new one I bought.

When did you come up with the erase technique? I erased both modemst1 and modemst2 and my old OPO is totally back in business. Previously, I'd get WiFi upon initial boot, but it'd die after a reboot, but now it seems to persist. I stuck my SIM card in and VOILA. LTE.

HOLY CRAP!!!!(!&#@(#&$@(#$&#@ The feeling of unbricking a phone that was 6 months gone that I thought was dead forever.

Oh well, 2 OPOs isn't really THAT useful for me anyway, but the thing is I will be using my "bricked" OPO as a semi-permanent sleep tracker. This is cool though.
[ONE Q&A, Help & Troubleshooting] countvampy:
Modem Issue

I did nothing with my phone, was running it on stock (was busy since I got it in Dec) :(

One fine morning a couple of days ago, my phone decided not to catch signals. The only reason could be 05Q because that's what has happened lately to my phone.

I have IMEI, Sr # etc. I've flashed stock, flashed Color, flashed CM12 and a whole lot of corresponding Modem bins. But humpty dumpty cannot be put back again.

All help is appreciated. Has anybody gotten this lately?
[ONE Q&A, Help & Troubleshooting] Negan:
Have you tried all steps in the op? Flashing modems may or may not be the answer? The main issue of this thread was corrupt persist partition. Some people have had a different problem where they had to erase their modemst1 etc. Both issues are very similar and hard to tell the difference based on similar symptoms.

I have not tried the new update, nor will I go back to KitKat. I'm running cm 12 nightlies so I can keep working on my themes.
[ONE Q&A, Help & Troubleshooting] countvampy:
Nah dude, following the guide get me to no IMEI and no Wifi. :)

I have been to CM12 NIGHTLY also, does not bring back Radio.
[ONE Q&A, Help & Troubleshooting] Negan:
Well if you've tried everything here and no luck you should RMA. There's only so many things to try. I feel for ya
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
Did you try a fastboot erase for modemst1 and modemst2? That's the absolute last resort, which I did, and it fixed my 6 months bricked OPO.
[ONE Q&A, Help & Troubleshooting] countvampy:
Thanks dude for your time. (:

I lose IMEI if I erase modesmst files in fastboot. Then get them back if I fastboot flash a stock image. But no radio.

4636 gets me to the testing menu but I cannot change anything there. It doesn't even let me change bands.

Anyway, got an automated response with the famous bat file zip from support Lets play. ;)
[ONE Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
I flashed a Lollipop nightly after I did fastboot flash erase modemst1 and modemst2, and I got everything back.

I tried every other fix out there and nothing worked, but perhaps something worse has happened to your phone? Maybe you should erase the persist partition as well.
[ONE Q&A, Help & Troubleshooting] n J o y:
E: Unable to mount ' /data'

E: Unable to mount ' /cache'

E: Unable to mount storage.

E: Unable to mount /data/media during GUI start up.

and in fastboot trying to flash userdata (or anything)--> "FAILED (remote: failed to erase partition)".

The phone works only in fastboot or recovery, also with otg.

I think that OPO needs a script to recreate the partition in storage (?)
[ONE Q&A, Help & Troubleshooting] Negan:
Post the full cmd window clearly. How do you expect us to help when you give half the info?
[ONE Q&A, Help & Troubleshooting] n J o y:
I'm trying to flash a stock rom with fastboot but every cmd says "FAILED (remote: failed to erase partition)".
[ONE Q&A, Help & Troubleshooting] Negan:
Ok well if you're just here trying to flash stock for a reason unrelated to what this thread is for I suggest you find a different thread. This thread is for a specific problem only. If you're trying to flash stock due to the corrupt issue then as I previously aske, post the enitre log. Use the hide tags if it's a big log please
[ONE Q&A, Help & Troubleshooting] rg90:
I erased and flashed persist like the instructions. Unfortunately still bootloop. I can use the phone for a couple of seconds and then it just hangs and reboots. Sometimes it will not boot anymore. I even tried to flash 30O, did not work, also tried the last stock image same story.

What options do I have:(
[ONE Q&A, Help & Troubleshooting] Negan:
So what were you doing prior to your issue? Need more details to help you
[ONE Q&A, Help & Troubleshooting] rg90:
Before I flashed and used Lollipop roms, eg CM12 and Paranoid Android. The trouble came out of nowhere running a CM12 nightly, then I decided to go back to stock and flashed latest factory image from https://cyngn.com/support which did not resolve the issue.
[ONE Q&A, Help & Troubleshooting] Negan:
Did you try absolutely everything in the op? There's a few different things to try in there
[ONE Q&A, Help & Troubleshooting] rg90:
I assume Part 2 in the op is only for people who have no baseband or a corrupt efs?
[ONE Q&A, Help & Troubleshooting] Negan:
Yes that's correct. So you're just in a bootloop?
[ONE Q&A, Help & Troubleshooting] rg90:
Correct, only the bootloop. I erased persist and flashed it a couple of times now, followed by flashing different factory images.

Edit:

Just red this line in op, I guess I'm looking in the wrong place. Thanks for your support.
[ONE Q&A, Help & Troubleshooting] jitin02:
trieed all steps of op and also tried coloros trick but still no luck :(

i dont have imei , baseband, no wifi, no signals. i also tried flashing stock 30o, 44s, 55q.

guys please help . i also read in opo warranty policy that phone with lost imei no is also not covered in warranty ( https://oneplus.net/privacy-and-legal 0 :( is it true??
[ONE Q&A, Help & Troubleshooting] randy6644:
Don't know what i did wrong. I restored the backup and then my signal was gone with tons of reboot. then i stumbled on this. And i didn't backup any data in my SD and now they're gone. My bad.

But aftere flashing the 30O, I erase that persist thing then reflashed it. Still no luck
[ONE Q&A, Help & Troubleshooting] elrey311:
Try this: fastboot erase modemst1

Fastboot erase modemst2
[ONE Q&A, Help & Troubleshooting] randy6644:
will give a shot. Bu dont know why it's needed.to erase these two.

I did, no luck.

and when flashing back to color os , the system reboot crazily, whenever you touch the status bar or try to swipe down the pulldown panel , it freezes. The same thing is none of them gave me my imei, baseband and cellular data back.
[ONE Q&A, Help & Troubleshooting] randy6644:
I got them back! wow! Great! I do it differently. I flashed back and forth, it didn't work at all. I was on the edge of giving up. Then with my last try, i managed to bring it back to life. For those who failed, you can try this . It doesn't hurt and you have nothing to lose right. Go to fastboot and type these two commands. Thanks to [MENTION=5891484]elrey311[/MENTION] for giving me this hint.

fastboot erase modemst1

Fastboot erase modemst2

After erasing them, what you need to do is to flash a CM12 nightly. I brought my back this way. Don't know if has anything to do with my previous roms. I've running custom lollipop for a long time. I flashed cm11s and color os with no success to regain my imei and signal. But this worked for me, at least.
[ONE Q&A, Help & Troubleshooting] Negan:
Glad you're up and running again. Those two commands were in the op fyi
[ONE Q&A, Help & Troubleshooting] randy6644:
yes, i knew. i tried that didnt work out the first time. when i got mentioned i did it again and wasnt paid off. but after i did that and flahsed cm12 it worked again. thanks to the op and everyone helped with this. including CM, though it broke my nexus6 real dead
[ONE Q&A, Help & Troubleshooting] mozn:
THANK YOU very much! This worked for me. i recommend :good:
[ONE Q&A, Help & Troubleshooting] randy6644:
glad that it helped you.
[ONE Q&A, Help & Troubleshooting] rombdeta:
I tried all methods, delete modemst1 and modemst2. Flash coloros manually, write imei with QPST (With this method regained imei but no signal and information is provided "radio off" and I can not find networks manually. I tried almost everything and can not get anything, just wi-fi. Someone having a backup of efs ?? or qcn?? , if you do not want to share the imei, blur the line 550, i need a backup of a running device., I will not clone or anything, I just need to repair my data qcn as there are 6468 and only have 5 lines with values.
[ONE Q&A, Help & Troubleshooting] Negan:
You're in the wrong thread. Please find elsewhere to discuss your issue.
[ONE Q&A, Help & Troubleshooting] puneet0009:
You just saved my life, thank you.
[ONE Q&A, Help & Troubleshooting] SohalTang:
Hi, I've got a Samsung Galaxy S4 i337M. Does anyone know how to place it in fastboot mode? I keep ending up in download or recovery
[ONE Q&A, Help & Troubleshooting] Negan:
You are in the wrong section. This is for OnePlus.

Your device doesn't have fastboot. It has download mode only!

But to do so power off your device and hold the home button, volume down(or vol up - I forget which one) and while holding those two, push and hold the power button
[ONE Q&A, Help & Troubleshooting] kushXmaster:
Volume down for download mode and volume up for recovery. Also need to hold home button if physical home button is there on Samsung. ;)
[ONE Q&A, Help & Troubleshooting] RyujinSan:
Okay, I tried everything what this thread said, and still the One plus keeps on rebooting. (To be more specific, it keeps hanging on the "Cyanogenmod" thingy, then leaves for a few seconds and then comes back).

I did the fastboot erase persist, then I try to do the fastboot flash persist persist.img but then I get this "error cannot open 'persist.img'

*Do note: I have no clue about ANYTHING that's going on. I rebooted my phone because it got stuck somehow on a site.*

Any solutions?

*Edit* It only stays at the startscreen now... We've put up a ticket for a return so... If we can fix it before that, that'd be awesome.
[ONE Q&A, Help & Troubleshooting] pk-air:
Solved!

Hello Everyone! I had same issue! No baseband, no cell nothing worked basically. Non of the steps worked for me but this steps worked:

fastboot erase modemst1

fastboot erase modemst2

fastboot erase persist

Then flashed Oxygen OS and everything came back to normal and I'm back online!!! Now enjoying my new custom ROM. Hope it works for someone else!
[ONE Q&A, Help & Troubleshooting] HubblyJubbly:
I had almost the exact same experience. After flashing colorOS I got everything back. That being said, there have to be other factors at play because I posted my success and others tried the exact same steps as me without getting their radio back.

I must've tried a hundred different permutations... So anything could've been a contributing factor. My advice, if you are willing and able, is to keep at it.
[ONE Q&A, Help & Troubleshooting] Negan:
would be interested in knowing what you were doing prior to this happening. Also if you could upload a clear video showing this might be helpful
[ONE Q&A, Help & Troubleshooting] lokesh.3440:
which color OS version did you flashed ? I also have the same issue

---------- Post added at 03:15 PM ---------- Previous post was at 02:59 PM ----------

Thanks a ton buddy. Your steps fixed my IMEI and other issues
[ONE Q&A, Help & Troubleshooting] pk-air:
I'm glad I could help! Enjoy buddy! Dont brake your phone anymore lol ;):p:D
[ONE Q&A, Help & Troubleshooting] HubblyJubbly:
You can see the steps I took http://xdaforums.com/oneplus-one/help/fix-brickloop-audio-fx-fc-efs-corrupt-t2879061/post58864018

But as I mentioned I tried so many things it's hard to say if this is what actually did it. Someone tried after I posted and was not successful.
[ONE Q&A, Help & Troubleshooting] knedge:
Can confirm that a mix and match solution worked for me as well. Thanks to members who suggested the solution:

I will post what worked for me after 6 hours of head banging and equal amount of searching the forums:

Problem: After flashing a 12.1 Rom, my IMEI suddenly vanished! No network, even wifi refused to toggle on after a few reboots. Bluetooth was on.

I had Android SDK tool installed on my PC

I had no EFS backup saved anywhere!!

I just had nandroid backups that I save prior to every new rom-flash

Solution that worked for me:

1. Flash latest modded TWRP recovery using fastboot or recovery

2. Switch off phone and restart in fastboot mode

3. Go to your folder:... \android-sdk\platform-tools on your PC and open a command window from there

4. Run these 3 commands:

fastboot erase modemst1

fastboot erase modemst2

fastboot erase persist

5. Reboot into modded TWRP recovery

6. Restore your latest nandroid backup. While restoring choose all options from the restore window, including "modem_st1" and "persist"

7. Reboot

Hope this method work for other people splitting their hair off over corrupted EFS.
[ONE Q&A, Help & Troubleshooting] knedge:
There seems to be something inherently wrong with the latest CM updates.

The EFS partitition/ Persist partition is getting corrupted whenever I am flashing new ROM with the latest framework.

Experienced developers may like to look into this issue.
[ONE Q&A, Help & Troubleshooting] Negan:
You say "new ROM with latest framework". Elaborate on this a little. What did you flash. You gotta give some valid details
[ONE Q&A, Help & Troubleshooting] knedge:
I was on Resurrection Remix_LP Rom 5.4.4.

Flashed Quantum-OS[v1.0.1-MAY 24]. Rom booted fine but lost cell signal and wifi shortly. Checked IMEI post reboot- blank.

Restored IMEI and restored a nandroid. Worked fine.

Flashed Resurrection Remix_LP Rom 5.4.5- lost IMEI again.

Both Roms required the latest CM 12.1 framework dated 15.05

Hope that clarifies.
[ONE Q&A, Help & Troubleshooting] Negan:
I'm confused when you say they required the latest fw? If you're saying you had to flash something first that's a red flag right there
[ONE Q&A, Help & Troubleshooting] juliusedward:
Thanks for this. I have tried everything as per first post but failed until I erased modemst*.

Thanks a lot. And thanks to the OP too :good::)
[ONE Q&A, Help & Troubleshooting] rootmaster96:
I cannot even get into fastboot. I'm on the OS itself (build 44s), but when I select bootloader from advanced reboot menu, it just reboots normally. Same goes for recovery. I tried with vol down and power, but it did nothing.
[ONE Q&A, Help & Troubleshooting] Negan:
Use adb commands if you can't dobit manually

In cmd or terminal "adb reboot bootloader"
[ONE Q&A, Help & Troubleshooting] rootmaster96:
I got it, thx

---------- Post added at 07:08 PM ---------- Previous post was at 07:00 PM ----------

Wait, does the persist file work for COS12? Or just for 30O?
[ONE Q&A, Help & Troubleshooting] nameishenry:
Double Checking

I have had a random bootloop issue that started two weeks ago, and have seen this as a solution to recovering media files etc.

Before I 'jump the gun' so to speak, can I clarify that the 'ONEPLUS_ONE_Nightmare_fix.zip' and the method you posted will (hopefully) work for Cyanogenmod 12S?

Furthermore, I noticed where you wrote

and I know I haven't caused any issues from flashing, I just wanted to make sure it was fine with my current OS.
[ONE Q&A, Help & Troubleshooting] Ajaykumar21066:
Stuck with oxygen OS

First of all, THANKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKSSSSSSSSSSS

So i had this issues for unknown baseband, i erased modems, flashed oxygen OS , got signal back, all good.

Now if i flash any new rom , i get the same problem - Unknown baseband -no Signal

And i get signals when i flash Oxygen OS, so basically i am stuck with oxygen OS.

Any suggestion how can i change my ROM... Thanks once again
[ONE Q&A, Help & Troubleshooting] rootmaster96:
Try backing up EFS on Oxygen, and then restoring it after you flash a different ROM.
[ONE Q&A, Help & Troubleshooting] mhamzaqayyum:
Hi,

I found this thread and tried all of the steps. I read through as many success stories as I could, but still no luck. Non of the persist flashing techniques or erasing the modem st1 and st2 have worked for me. I still have my IMEI, but no cellular signals. I do have Wifi and Bluetooth though. If any of you have any ideas on how to fix this, please, please, please reply.

I'm kind of desperate right now... :(
[ONE Q&A, Help & Troubleshooting] Negan:
You do not have the same issue. Sounds like an APN issue to me
[ONE Q&A, Help & Troubleshooting] Domaaagoj:
AudioFX not working

Guys, i flashed viper4andoid and when i opened it i went to install driver and i select option super sound quality idk something like that and app just freezes and after 10 secs it says dat stopped workink. It asked me for root accet and i granted it, than i just uinstalled the app and now my AudioFX app wont start it says dat it sto/ped working :( seems like i messed up drivers or ? Can i get back to stock sound driver ? Im on CM12 5.0.2 lollipop
[ONE Q&A, Help & Troubleshooting] Negan:
This is not the thread you're looking for. I presume you read the thread title and nothing more. Please post in the Q&A section.
[ONE Q&A, Help & Troubleshooting] gb155:
Hey I was wondering if someone can help me out please.

I have just flashed Color OS and get the error

nv partition invalid and phone shuts down

How can I fix this please?
[ONE Q&A, Help & Troubleshooting] unibangalore:
I'm stuck with No IMEI/Baseband unknown, Corrupt EFS and need help. I followed your instructions till flash-all.bat. but still my baseband and IMEI are showing unknown.

I thought of following Part2 but now I don't have TWRP , I'm back to CM recovery. Please advice.​
[ONE Q&A, Help & Troubleshooting] unibangalore:
Thanks to you & [MENTION=5098295]markbencze[/MENTION] finally I'm back in business but cellular network is dropping every now and then.. Shall I go back to CM12 ?
[ONE Q&A, Help & Troubleshooting] krod518:
Please forgive me if this has been answered. Trying to fix my girlfriend OPO that is stuck bootlooping. I have downloaded all the necessary files, put it in to fastboot mode and plugged it in. Once I type fastboot oem unlock it gives me the following response:

C:\Users\Piotr\Desktop\ONEPLUS_ONE_Nightmare_fix>fastboot oem unlock

'fastboot' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\Piotr\Desktop\ONEPLUS_ONE_Nightmare_fix>

I ran the adb setup as well and it did say it was successful.

Thank you in advance.

Sorry I'm a novice when it comes to this stuff.
[ONE Q&A, Help & Troubleshooting] unibangalore:
When it didn't work for me, This is what I did ..Search for AndroidSDKSlim in google download and extract it. Look for fastboot.exe, AdbWinApi.dll and AdbWinUsbApi.dll copy them in your C:\Users\Piotr\Desktop\ONEPLUS_ONE_Nightmare_fix .

or

Update your system environment Path to search for fastboot.exe to where you have extracted AndroidSDKSlim .
[ONE Q&A, Help & Troubleshooting] therohanchawla:
Looks like a Windows issue....Just download Wug's bacon root tool kill..... Use that to flash back to stock you'll be golden....
[ONE Q&A, Help & Troubleshooting] newtonovic:
fastboot erase modemst1

fastboot erase modemst2

Those two commands solved my problem after 3 days of doing all sorts. Thank you very much.
[ONE Q&A, Help & Troubleshooting] Negan:
Glad your issue is fixed. Please note that there is no need to quote the entire op. No one wants to scroll through that
[ONE Q&A, Help & Troubleshooting] newtonovic:
I did not realize I did that. I apologize.
[ONE Q&A, Help & Troubleshooting] Mostra:
i did all that steps but the oneplus one now not turn on , black screan and cant go ti fastboot mode or recovery ....?