yashsingh1/xdaforums huggingface dataset:
[ONE Q&A, Help & Troubleshooting] Luc777:
i did it up to fastboot devices but i got a device not unlocked cannot flash or erase error

i did not root my phone at all

tried to google "one plus one device not unlocked" but nothing similar came up

only root tutorials mostly

how do i resolve this error?

sorry for the spoon feeding bro

edit: saw your reply to baka bro's

now waiting for device after entering fastboot erase persist

for a good 5min or so

cant proceed with the final command
[ONE Q&A, Help & Troubleshooting] fc528e:
First off, thanks for all the work on this folks! Got my phone working again, though for how long I'm not sure. I was having reboots once or twice a day, then it got up to 5 or so, and after 2 months it finally got stuck in a boot loop. I haven't had a reboot since I followed these steps!

ANother question: I was reading that reboots may be the cause of the partition becoming corrupt. Sorry if I missed this in 43 pages of posts, but does this seem to be a permanent fix?

Thanks again!
[ONE Q&A, Help & Troubleshooting] Negan:
See post 470
[ONE Q&A, Help & Troubleshooting] Negan:
Flash the latest cm nightlies for a permanent fix
[ONE Q&A, Help & Troubleshooting] Luc777:
yap saw it and edited my post

now the cmd is still stuck at waiting for device
[ONE Q&A, Help & Troubleshooting] Negan:
If it says waiting in device this means you're not in fastboot
[ONE Q&A, Help & Troubleshooting] Luc777:
jus checked my phone

its ready to be set up now after either the erase persist command or the unlock command

just that all data has been wiped

hopefully no more such incidents again

no idea what did i even do to encounter the bug

recreating and recustomizing is such a chore

and a very very big thanks to all who helped me out especially mark

u just saved another guy across the globe

im really grateful for the help rendered
[ONE Q&A, Help & Troubleshooting] LonelyJourney:
HELP!!!!!!

I have read and re-read everything. The issue is that my device isn't being seen. It says "waiting on device" or no device found. I have installed every driver I can find, SDK's, ADB and such. Everything is ready to go except my phone isn't being seen by my computer. I cannot flash anything either because my phone won't stay booted up long enough for me to drop the flash into my phone to attempt to flash. I get in fastboot and my phone just isn't visible. Please help.
[ONE Q&A, Help & Troubleshooting] Negan:
Show me a screen shot of command window after entering commands
[ONE Q&A, Help & Troubleshooting] A_Dumas:
I ran into the same problem as LonelyJourney. Attached is a pdf of the screen shot of my cmd window. I dont know how to embed an image.
[ONE Q&A, Help & Troubleshooting] Negan:
Take a pic and upload it or save to a .text file please!

Why did you send me a pdf?
[ONE Q&A, Help & Troubleshooting] LonelyJourney:
Help please...

I managed to root and get the phone recognized or seen but now it gets stuck on the boot screen. Just stays there.. please help me.
[ONE Q&A, Help & Troubleshooting] Negan:
Need more info. What did you do? Please do not be vague. With proper info I can help you.
[ONE Q&A, Help & Troubleshooting] screamingskull:
Thankyou. Appreciate your efforts.my OPO started wörking

Thankyöu
[ONE Q&A, Help & Troubleshooting] DragonGamerist:
CM11s Version

Does my CM11s version have to be on 30O or can it be on 33R?
[ONE Q&A, Help & Troubleshooting] Negan:
it can be whatever version you want
[ONE Q&A, Help & Troubleshooting] hunter0389:
Edit: Nevermind. Found the file.
[ONE Q&A, Help & Troubleshooting] T3kB0i:
this worked for me!
[ONE Q&A, Help & Troubleshooting] hunter0389:
Flashed persist.img fixed the Audio FX FC for. Thank you so much for this!!!!!
[ONE Q&A, Help & Troubleshooting] frogger55:
Thanks OP - saved my Bacon ;)
[ONE Q&A, Help & Troubleshooting] aryehzev:
I was on 38R and I decided to move back to nightlies, so I flashed the latest nightly and gapps with twrp and I got a bootloop, so I rebooted back into twrp to see whats wrong, and I tried doing a factory reset, but I got "unable to mount data"... and I tried running that command the the original post in the twrp terminal ultiple times but it didn't help.... what should I do? and also is my sd partition lost?

EDIT: I reflashed cm11 nightly via otg and all is back to normal.

but all the bugs on this device are starting to piss me off.
[ONE Q&A, Help & Troubleshooting] Vonnegut:
That's a good thing, since the latest nightly comes with the fix.

That means the lateast commit --> https://github.com/CyanogenMod/andr...mmit/e7d388fcb097d21fa923fa2df12246e7433c1a02 works just fine. It actually rebuilds the corrupted filesystem.
[ONE Q&A, Help & Troubleshooting] sien1996:
Dude, thank you so so much man. This got me out of my problem of no signal (corrupted efs) and my constant rebooting. Really thank you! Saved me!! :D :D:D:D

Thank you.

Merci beaucoup.

Gracias.

Xie xie.

Thanks for that zip, saved my phone man :)
[ONE Q&A, Help & Troubleshooting] Blinker69:
Sorry but I can't find the package you have prepared to download. Where are they?

I am really noob on this. And I have no idea to do, but I really needs my phone.

This is the video of my phone

https://www.youtube.com/watch?v=Rnz5JNSN_Jc
[ONE Q&A, Help & Troubleshooting] rbrandser:
https://www.androidfilehost.com/?fid=23622183712472374

Calm down, read read and read.
[ONE Q&A, Help & Troubleshooting] Blinker69:
Really thanks men!

I have a question...

In the post say:

EXTRACT ZIP

IF YOU HAVEN'T INSTALLED ADB/FASTBOOT DRIVERS RUN THE adb-setup- 1.3.exe FILE TO INSTALL ADB SYSTEM WIDE

IF YOU ALREADY HAVE ADB INSTALLED SKIP THAT STEP

OPEN A CMD WINDOW WHEREVER YOU HAVE THESE FILES EXTRACTED

Here... what I have to do? I have to put the ONEPLUS ONE conected to the pc and do it, with the fastboot option? can anyone explain me the steps easily?

Thanks all!

TYPE THE FOLLOWING COMMANDS IN YOUR CMD WINDOW:

fastboot erase persist

fastboot flash persist persist.img

now reboot and check if all is working. If you have no O.S. installed then you will need to flash something to get back up in running: see below

Note that this will wipe your device 100% so if anything is on your phone back it up to your PC!
[ONE Q&A, Help & Troubleshooting] Negan:
What part is unclear when I tell you what to type? And what progress have you made?
[ONE Q&A, Help & Troubleshooting] Blinker69:
Thanks about your time!

I'm a little noob sorry.

Now I knew that I have to do with the OPO plugged in fastboot mode.

I have done, but... It says that I have no unlocked the device...

What I should do?

I'm just now trying to unlock via One Plus One Toolbox, It should unlock it?

https://www.youtube.com/watch?v=5O2e_R_TbVg

http://xdaforums.com/oneplus-one/development/toolbox-oneplus-one-toolbox-t2808987

EDIT:

I HAVE DONE IT! I HAVE UNLOCKED VIA TOOLBBOX AND USED UR METHOD WITH THE CMD AND PERSIST.

THANKSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

I LOVE U MEN!
[ONE Q&A, Help & Troubleshooting] rspkt:
This post saved my device. Somehow it ended up getting stuck in the bootloop as well as EVERYTHING getting wiped clean including my sdcard. Not good. Just glad this was able to fix the problem. No issues since. Thank you very, very, very much.
[ONE Q&A, Help & Troubleshooting] pu3cyg:
My OPO mysteriously lost its IMEI after I switched SIM card, managed to restore using "Part 2" of this guide. Thanks!
[ONE Q&A, Help & Troubleshooting] haven80:
I post my adventure with this issue.

Yesterday when i was out of home i decided to flash last Franco kernel v.27.

After flashing i was stucked in bootloop.

Tryed to restore an old Nandroid backup.

Phone booted but no WIfi No BLuetooth and date to 1970.

I have tried to flash persist.img . NO WAY. Wifi works but no SIGNAL DATA and NO IMEI.

so i decided to follow this GUIDE.

NO WAY. Still Wifi And BLuetooth but upon reboot not working again.

flashed stock cm11s 38r flashed Color OS.... NO WAY.

now i flashed again Stock CM11 S. Got WIfi and bluetooth and NO DATA SIGNAL. upon reboot WIFI and BLuetooth not working.

SO i decided to erase modemst1 and modemst2

fastboot erase modemst1

fastboot erase modemst2

NOW IT WORK.

I have wifi bluetooth and in setting my IMEI and IMEI SV are BACK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

So if all fail after the guide and color os ecc ecc... try to flash stock again and erase modemst1 and modemst2... it works for me!
[ONE Q&A, Help & Troubleshooting] S M G:
[MENTION=5098295]markbencze[/MENTION] [MENTION=5427631]Vonnegut[/MENTION]

How does one use the .zip you created? Do i flash it through recovery ? do i need root ?

Also, lets say i dont want to use the persist.img from ColorOS but i have lost my own persist.img, can i make a backup of another OPO running CM11S' persist.img and flash it to my OPO ?
[ONE Q&A, Help & Troubleshooting] Negan:
It is flashed from custom recovery. No root needed.

I do not see any advantage to trying to make your own as it wouldn't be any better than the current flashable zip.

Trying to reinvent the wheel is how people get into trouble out here so keep that in mind.
[ONE Q&A, Help & Troubleshooting] Vonnegut:
I had the chance to compare my persist+the colorOS+3 other persist from 3 different users.

There's little difference among them. Only the ColorOS persist lacks of a specific folder containing unknown stuffs.

For me, the easiest way to face about every possible situation is the old good backup.

This zip will create a folder in the internal storage containing the dump of all the blocks but those that are available with the official CM .zip http://www.mediafire.com/download/5r4ljo4vwpt0642/My_backup.zip

This zip will dump the persist and create a flashable zip for restoring it http://www.mediafire.com/download/p1yxkutnqusthvy/Persist_Backup.zip
[ONE Q&A, Help & Troubleshooting] rbrandser:
This post was just awesome, it made me smile :D the caps lock part was the best. Hehe.

Sorry for the off topic.

It is good to see that people find this tread and that there is a 100% success rate. OP here has helped a loot of people.
[ONE Q&A, Help & Troubleshooting] tjpthomas:
THANK YOU!! :p
[ONE Q&A, Help & Troubleshooting] igomezu:
Well, I've been 16 days unable to use my mobile, no WiFi, no mobile data signal, no IMEI, no bluetooth...and somebody told me about this thread. Well, I'm with 38R as magically I had some wifi fo some time and I received it by OTA a week ago. I followed all the steps you wrote erasing and flashing the persist...BUT it did not work. No signal at all...I still have a unusable 1+1....I don't know what to do any more

---------- Post added at 08:27 PM ---------- Previous post was at 07:56 PM ----------

3 weeks without being able to use my phone...followed all the steps in this thread...di not work...and then I found your comment !!! I erased modemst1 and modemst2 and IT WORKED !!! I was finally able to have my phone back !! Grazie mille !!
[ONE Q&A, Help & Troubleshooting] jacobthebluesman:
Okey, there is one thing that seems strange to me. When I type "fastboot erase persist" it just says "waiting for device". Since I can't boot up my device because it keep rebooting, how can I make it recognize the device?
[ONE Q&A, Help & Troubleshooting] haven80:
I'm glad it worked. It should be posted on the first page. When nothing works erasing modemst1 & 2 via fastboot seems to work!!!

I was desperate. It was My last try before the destruction of my One :)

Di nulla!!
[ONE Q&A, Help & Troubleshooting] epicnoob66:
Fastboot mode...
[ONE Q&A, Help & Troubleshooting] jacobthebluesman:
And how do I access fastboot mode?
[ONE Q&A, Help & Troubleshooting] igomezu:
I was really desperate too !! I have so many open tickets with no reply at all from OnePlus, and I also opened a dispute in PayPal...and what you di worked !!! You are awesome !!! Forza Italia !!
[ONE Q&A, Help & Troubleshooting] jacobthebluesman:
By holding down the power button and volume UP.
[ONE Q&A, Help & Troubleshooting] hunter0389:
Hold down the power button until the phone is completely shut down.

Make sure the phone is disconnected from the computer

Hold down the power button and volume up button at the same time until the "fastboot Logo/Icon" comes up

Connect the phone to the computer.

Launch CMD, type:

Fastboot Devices

If it recognizes your device, then type:

Fastboot erase persist

Fastboot flash persist persist.img

Fastboot reboot
[ONE Q&A, Help & Troubleshooting] igomezu:
Well, this what I received from the Cyanogen developers when I told them my isdues were fixed by erasing modemst1 and modemst2: "the steps you took are very not recommended per a few of the devs here. While it appears to have fixed your issues, erasing those partitions is far more likely to mess things up than do any good." So now I am worried I would need those partitions and my phone will break some time in the future...What do you think? I have signal now
[ONE Q&A, Help & Troubleshooting] Negan:
I'd say you're fine.
[ONE Q&A, Help & Troubleshooting] haven80:
Those commands made my paperweight phone in a fully fuctional smartphone.

They should write a more valid solution instead. .....
[ONE Q&A, Help & Troubleshooting] Vonnegut:
Igo, by chance, do you have the TWRP installed? Which version? Did you backup and then restore the EFS too?

Siamo in tanti qua...
[ONE Q&A, Help & Troubleshooting] igomezu:
No TWRP installed, no EFS backup and restore...just erased the folders as haven80 mentioned and it worked. For sure it could seem radical but I was unable to use my mobile for 3 weeks and I needed something new to try and this works fine so far
[ONE Q&A, Help & Troubleshooting] LeffreyJi:
Erase and Flash persist.img Every Time

Hey, first off I'd just like to thank you for your erase-flash persist solution, it worked for me! The "make_ext4fs /dev/block/mmcblk0p15" didn't seem to do the trick but that doesn't matter.

The issue I have is that I get into a boot loop every time I reboot my phone. I've tried going into TWRP recovery then clicking reboot into system but that didn't do anything.

After erasing and flashing persist.img again, it would work but I don't want to have to do this every time. Do you have any ideas?

Information about my phone:

-38R

-Stock kernel

-Stock rom

-Rooted

-TWRP Recovery
[ONE Q&A, Help & Troubleshooting] itzhouze:
Thank you

Thank you so much!!!! I've bricked my OPO and don't now for hours what to do. searched so mandy forums and flashes so many things with fastboot.. nothing worked.

The persist erase worked now finally!!

Thanks for making my day ! :))))
[ONE Q&A, Help & Troubleshooting] Negan:
Glad to hear the good news
[ONE Q&A, Help & Troubleshooting] boyspy86:
I just use this command :

fastboot erase persist

fastboot flash persist persist.img

fastboot erase reserve4

fastboot flash reserve4 reserve4.img

Then i reboot my phone. And it worked!!! Thank's man :good:
[ONE Q&A, Help & Troubleshooting] jmahr1127:
HELP???

Hi,

First off, I am totally new to all of this. I don't know what recovery or fastboot or adb is, and I've never even run command line before. My phone is not "rooted", I've been using it stock for the past two months. All of a sudden today it freezes and restarts and enters a "bootloop?"(Is that the right word to use here?). What do I do? Does this wipe all of the data on my phone? Is there any method that does not wipe this data? If I do this, will I still get OTA updates? Does this root the phone? What is recovery, and do I have to be in it to run this .zip? What is a twrp? If this works, can this work: http://www.androidpolice.com/2014/1...den-death-bug-results-neverending-boot-loops/ ? Because it promises no data loss and actually linked me to this page. If that can work, how do I do it? The author kind of assumes I know how to do all of this stuff already (and I don't). Can someone please help?

So far, I have tried:

I installed a one-step ADB and fastboot installer (still don't know what those two things are). I opened command line from the folder after a google search about how to do that and tried to type in "adb shell", which was from a comment on that android police post. I then put the device in "Cyanogen Recovery" by holding power and volume down, and went into "apply update" then "Apply from ADB" becomes that was the only way to get the phone to connect to my computer (Windows 8.1, surface pro 3). It didn't work, said the device isn't recognized. There was a picture guide about installing the driver in the installer, so I used it and now Device Manager knows my device is under "Android Device" and is called "Android ADB Interface". When I try running ADP shell though, it just says "error: closed". I don't know what to do from this point. I would so, so appreciate it if there is a way to allow my phone to function again without losing all of my data. There isn't any way for me to back it up at this point.

Thank you so much in advance!

Jordan
[ONE Q&A, Help & Troubleshooting] Coug76:
#by hung r
[ONE Q&A, Help & Troubleshooting] shupey:
fixed my phone! A million thankyous
[ONE Q&A, Help & Troubleshooting] rfsb:
It doesn't worked for me! :(

Non of the steps!

The only way to reboot my opo is from twrp, wipe data and cache and reboot system, but everytime i do this i have to configure my options! So if i do something (install update, or any changes) that requires a reboot, i turn down to the same thing (bootloops)! Then i'm back to the begining (twrp, wipe cache and data and configure my options).

I'm tired of this!:crying:

---------- Post added at 10:56 AM ---------- Previous post was at 10:33 AM ----------

In step 4, you use preserve.img or persist.img?
[ONE Q&A, Help & Troubleshooting] Negan:
OK you need to take the time to read the instructions in my op. What you're doing will not work because you to not have a custom recovery. So try my method and if you get stuck respond back with your issue, and what you tried, etc
[ONE Q&A, Help & Troubleshooting] Negan:
What have you tried so far?
[ONE Q&A, Help & Troubleshooting] jmahr1127:
Ok, so there's no way to save my data or fix this phone without resetting it?

Also the OP doesn't mention what mode I should have my phone in when I run the commands from the adb folder. Cyanogen Recovery?

Thanks!

Jordan
[ONE Q&A, Help & Troubleshooting] rfsb:
Almost everything!

Unlock Bootloader and installed twrp.

flash r33 and tried these commands.

flash r38 and tried these commands.

factory reset, tried these commands and then flash r33 and r38.

Tried the part 2 in twpr (advance > terminal command > select)

Tried to flash Calkulins_OPO_ROM_v1.3 (after flashing choose "reboot system" and the phone only do the bootloops)

Tried the latest franco kernel over r38

It stays allways the same. :(
[ONE Q&A, Help & Troubleshooting] Negan:
Did you try the fastboot commands?
[ONE Q&A, Help & Troubleshooting] rfsb:
Yes i did, before flashing r33 and r38 and tried after flashing r33 and r38 too.
[ONE Q&A, Help & Troubleshooting] Negan:
You could try

fastboot erase modemst1

Fastboot erase modemst2

fastboot reboot

Might work
[ONE Q&A, Help & Troubleshooting] cannibalwombat:
Bootloop, can't get your fix to work

Hi markbencze

This looks like a really good solution that works for many people, but I just can't seem to get it to work for my bootlooping OPO.

So I've extracted the main zip, plugged in my OPO in fastboot mode, opened a command window in the folder I've extracted everything in and run the first command you mention, but all I get is:

< waiting for device >

Nothing else happens. What am I doing wrong?
[ONE Q&A, Help & Troubleshooting] Vonnegut:
That message means that the ADB drivers haven't been correctly installed.
[ONE Q&A, Help & Troubleshooting] cannibalwombat:
I have definitely run the adb setup in full, everything installed successfully and I got the "all done!" message at the end.
[ONE Q&A, Help & Troubleshooting] Vonnegut:
Check the device manager under control panel --> Hardware&sounds

Plug-in the OPO...if you don't see a device named Android Interface, then you have to install'em manually.
[ONE Q&A, Help & Troubleshooting] cannibalwombat:
Thanks, but I already checked that. There is a device there called 'Android' but it does say in the properties:

"The drivers for this device are not installed. (Code 28)

There is no driver selected for the device information set or element."

And when it's in fastboot mode and I plug it in, Windows makes those 3 fast sounds which usually mean that a device isn't recognised or something.

If this means that the drivers aren't installed, how do I install them manually?

Thanks for your help. You can probably tell that I'm a novice.
[ONE Q&A, Help & Troubleshooting] Negan:
Show me a pic of your command window please
[ONE Q&A, Help & Troubleshooting] cannibalwombat:
I can't imbed images until I've had ten posts, but I've attached it.
[ONE Q&A, Help & Troubleshooting] cannibalwombat:
Hang on, I've just tried it on another machine, repeated the process and got a different result. Here's another shot.
[ONE Q&A, Help & Troubleshooting] Negan:
You need to unlock your boot loader.

Type:

fastboot oem unlock (will wipe your phone unfortunately)

Then try the commands
[ONE Q&A, Help & Troubleshooting] jmahr1127:
Hi, sorry for double posting, but does "will wipe your phone unfortunately" mean that it will wipe just the operating system or everything on the internal SD card (pictures*) as well? If it wipes everything, is there any way to backup the device data to a computer before doing this?

Thank you very much for all of your help,

Jordan
[ONE Q&A, Help & Troubleshooting] dflombana:
Please help

first of all, sorry for my lousy english, for the last 4 hpurs i try about everything

flash 33r

flash 38r stock using this guide http://xdaforums.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541 after that my cellphone boot over and over

i try this method but on cmd window apperas this, i have a OPO 16Gb

Microsoft Windows [Versión 6.3.9600]

(c) 2013 Microsoft Corporation. Todos los derechos reservados.

C:\Users\User>fastboot erase persist

erasing 'persist'...

OKAY [ 0.019s]

finished. total time: 0.019s

C:\Users\User>fastboot flash persist persist.img

error: cannot open 'persist.img'

C:\Users\User>

please somebody help me i bought this phone yesterday.....:crying::crying::crying::crying::crying:

Edit: afetr one more hour i used the second method using TWRP and IT WORKS..... thank u very much and God Bless you......... Greetings From Colombia
[ONE Q&A, Help & Troubleshooting] cannibalwombat:
Woot, that did the trick! OPO back up and running again.

Thanks so much for your help.
[ONE Q&A, Help & Troubleshooting] Negan:
Unfortunately you cannot. Collateral damage. Best make your peace with it now and start over. If you had previously unlocked it and had twrp you could transfer to USB otg. However you cannot flash twrp with a locked bootloader
[ONE Q&A, Help & Troubleshooting] Negan:
Glad you got it. Fyi the reason you got the error saying cannot open persist.IMG is because you didn't open s command window in the root folder of where the persist.IMG was kept.
[ONE Q&A, Help & Troubleshooting] sghimire:
Try this:

https://forums.oneplus.net/threads/audiofx-issue-fixed.156003/
[ONE Q&A, Help & Troubleshooting] jmahr1127:
Hi,

I just completed the process and all seems well. Thank you so much for all of your help--even though I've lost two months worth of memories, at least I have a phone to use again. Staring at the setup process is such a bittersweet feeling.

Again though, thank you so much for all of the work you've put in to fix other people's phones. I sincerely admire you.

In the future, is there anything I can do to prevent this from happening again?

Thank you again!

Jordan
[ONE Q&A, Help & Troubleshooting] supervg3:
Worked perfectly on my phone! Thank you very much. I had a random reboot and then the reboot loop. I wish I would have found this post before trying some other methods. I ended up losing a lot of data, oh well.
[ONE Q&A, Help & Troubleshooting] rfsb:
I wiped everything and flashed r38 original.

To try that commands do i need to do the persist.img first?