yashsingh1/xdaforums huggingface dataset:
[ONE Q&A, Help & Troubleshooting] ssj5legend:
Will this work in my situation?

Hi,

Firstly, major thanks to you for helping out, kudos to you.

Only last night i started to have problems with my opo. I had Mahdi Rom installed and for some reason while i was tranferring a file from PC to phone through wifi it crashed and just went into a bootloop.

So i tried to reflash the ROM through TWRP so that didnt work it just kept rebooting. Then i tried to flash different roms, PA and Aokp none worked. So i thought of going back to stock and followed the guide to flash fastboot cm11s. Now i have the exact same problem so when i boot phone, at the language section stage the message for AudioFX not working keeps popping up and just cannot get rid of this.

Is my situation the same as others here or am i running out of luck with my phone. Please let me know. Cheers :)
[ONE Q&A, Help & Troubleshooting] Negan:
Yes you are in the right thread. Read the entire op and follow the directions and you'll be good to go
[ONE Q&A, Help & Troubleshooting] ssj5legend:
Thanks.

Thanks for the quick response. Will try this tonight when i get home from work. :good::)
[ONE Q&A, Help & Troubleshooting] Negan:
You bet man. Be sure to post results too!
[ONE Q&A, Help & Troubleshooting] Vonnegut:
Yeah.

Anyway i've just checked the OP. I tought you did simplify it quite a bit...

Ppl don't need to flash anything else than the persist.zip or run the command make_ext4fs /dev/block/mmcblk0p15 in the TWRP recovery.

I was very surprised to see that you still suggest to flash the reserve4 partition and the 33R fastboot zip.

The only thing that a crash+softreboot damages is the filesystem of the persist. So flashing the persist or rebuilding its filesystem is enough to fix the problem.

It's easy.

Want to fix the problem?

Flash the persist.img in fasboot mode

or

Flash the persist.zip

or

Enter the TWRP and format the persist partition with the command make_ext4fs /dev/block/mmcblk0p15
[ONE Q&A, Help & Troubleshooting] Negan:
Nah I just forgot to edit the op. I thought I did that yesterday. Updated it just now to simplify this. Thanks for the reminder man!
[ONE Q&A, Help & Troubleshooting] Beigoux:
Hi it's me again. So none of the above seem to work for me..

So i'm guessing i'm doing something wrong :P should the OPO be on, off, in reboot menu when it's connected to my computer?

Because my computer doesn't seem to give any response at all. I also read the new post on the androidpolice site as mentioned above, but i have no idea how to make it work.

Someone got some ideas? :P should i maybe try another computer or something?
[ONE Q&A, Help & Troubleshooting] Vonnegut:
Thanx to you!

Frankly speaking, we came to the conclusion that the culprit was the OS itself but we couldn't prove it without a crash-log or something else to support the thesis.

Now they told us that they knew about the problem and they still have no clue about what causes it...and i never heard about any official support by them about this issue.

If it wasn't for you, there would be dozens of OPOs still bootlooping and dozens of guys (who didn't make anything wrong) with a useless device.

---------- Post added at 07:01 PM ---------- Previous post was at 06:56 PM ----------

Flash this http://www.mediafire.com/download/77d5w7yyydkxp7e/Persist.zip with your custom recovery.
[ONE Q&A, Help & Troubleshooting] Beigoux:
Thank you,

but i don't know how to flash it onto my phone, because i can't get the phone to connect with my laptop.
[ONE Q&A, Help & Troubleshooting] Negan:
You need to install the adb/fastboot drivers if you have not yet done so
[ONE Q&A, Help & Troubleshooting] Beigoux:
Ok, so now finally something happened. I got a message on my computer and it connected.

But now when i enter the cmd and give the command ''fastboot erase persist'' (like mentioned in the guide) i get the following output:

FAILED: < remote: Device not unlocked cannot flash or erase >

so i guess my OPO doesn't have that option unlocked, so what now?

i have the drivers installed.

UPDATE: ok so i gave the command: '' fastboot oem unlock ''

and after that the ''fastboot erase persist'' and ''fastboot erase persist persist.img'' command worked, and now i got a kind of menu with different options and commands. When i try to flash the persist.zip by typing ''update persist.zip'' the output is:

'update is not recognised as intern or extern command or as batchfile' or 'error: failed to load: no such file or directory'. (translated from dutch)

So i was wondering, maybe i put the files in the wrong place?(on my computer)

anybody :P ?
[ONE Q&A, Help & Troubleshooting] -error:
Hello.

I have stock unrooted unlocked OPO that caught bootloop issue today. Is there a way to recover without wiping the device?

I tried to sideload Persist.zip to no avail. All I got is `E: footer is wrong' and `E: signature verification failed' messages.

Heck, I even tried to throw in dirty updater-script hack that would just format /persist but was unable to sign .zip correctly with jarsigner and got same messages.
[ONE Q&A, Help & Troubleshooting] ssj5legend:
Victorious!

YESSS!! :D

Got it to work! First attempt success. All i did was the following

fastboot erase persist

fastboot flash persist persist.img

now reboot and check if all is working... And all is working. Awesome! Thanks a trillion man!
[ONE Q&A, Help & Troubleshooting] Negan:
Dude you entered the commands wrong. You need to be careful or you will cause further damage. Don't be trying to reinvent the wheel with new commands. Copy and paste verbatim what's in the op and you'll be fine
[ONE Q&A, Help & Troubleshooting] Negan:
Well if your boot loader is unlocked you can do it all from fast boot and you won't lose data. However if its not unlocked I have bad news for you about your data.

There is a method for unlocking it without wiping but I do not know if it works. You can try to search for it [timmaaas thread likely has the link] and try it
[ONE Q&A, Help & Troubleshooting] Beigoux:
ok, so the first one gives a positive output, but the second is saying: 'error: cannot open persist.img'
[ONE Q&A, Help & Troubleshooting] Negan:
Screen shot please.
[ONE Q&A, Help & Troubleshooting] Beigoux:
View attachment 2971360
[ONE Q&A, Help & Troubleshooting] Negan:
Ok your problem is that you didn't open a command window where your files are. Navigate to my zip you extracted Hold shift+control and right click, open command window here. Try again and then smile cause it worked!
[ONE Q&A, Help & Troubleshooting] Beigoux:
it worked! Thanks so much!!! i'm restarting it now.. so far so good.

i really couldn't thank you enough ;)!
[ONE Q&A, Help & Troubleshooting] dobi3:
This fixed my OPO also went back to TWRP 2.7.1.0. was using

TWRP 2.8.0.1 :D Thanks so much
[ONE Q&A, Help & Troubleshooting] -error:
I tried unlocking bootloader with shell script that manages lock/tampered bits directly in bootloader partition. But .zip file that contains script is also unsuitable for sideloading. I think that stock recovery only loads .zips that are signed with CM key.

So I had nothing better to do other then unlocking bootloader with fastboot loosing all my data.

Shame on Steve Kondik for such low quality product cm11s has become. Two wipes for daily driver device is acceptable for open source community built firmware but not for commercial product.
[ONE Q&A, Help & Troubleshooting] parmafran:
Thanks mate. This worked for me! BTW I was also on twrp when it happened. Though reading the full thread I suspect that is not the issue... Are we any closer to knowing the true cause?
[ONE Q&A, Help & Troubleshooting] caballero73es:
Thanks a lot markbencze

Your fix rescue my OnePlus One from a bootlooping hell! :good::laugh:
[ONE Q&A, Help & Troubleshooting] Vonnegut:
Marc, in case you missed it --> https://github.com/cristianomatos/a...mmit/e7d388fcb097d21fa923fa2df12246e7433c1a02

Matos cherrypicked a commit from Ricardo Cerqueira.

Can't believe they didn't add a check for the persist before...

Anyway, that should fix the problem...
[ONE Q&A, Help & Troubleshooting] Negan:
that's perfect!!! glad to see that, good find! Soon this thread will be no longer needed. Although I've enjoyed helping people here!
[ONE Q&A, Help & Troubleshooting] Vonnegut:
Well, ppl using 38R + stock kernel won't get the update for a while (i guess)...that means you'll be still in business :p
[ONE Q&A, Help & Troubleshooting] Negan:
I'm cherry picking that commit for Jedi!
[ONE Q&A, Help & Troubleshooting] :
It's merged in today's cm nightly http://review.cyanogenmod.org/#/c/74669/ :)
[ONE Q&A, Help & Troubleshooting] joseka22:
thank you SO MUCH!!! worked for me!!
[ONE Q&A, Help & Troubleshooting] gpx300:
Is there anything one without a rooted opo could do who´s phone got stuck in a bootloop?

Mine is rebooting after 2 seconds and the VOLUP+PWR Fastboot Mode only shows a logo and freezes.

No root, no TWRP, last patch OTA couple of days ago.

Thanks for your help.
[ONE Q&A, Help & Troubleshooting] Negan:
That is what fastboot looks like. Unfortunately you will need to unlock your bootloader to get access to flash the persist.IMG. doing so will wipe your device. So make your peace with that sad fact and then proceed. Wish I had better news but this is a nasty bug and currently the only way to fix
[ONE Q&A, Help & Troubleshooting] gpx300:
"So make your peace with that sad fact and then proceed"

I would love to but i cant do anything because the phone reboots the second it comes up, so there is no way to copy anything anywhere.

Do i miss anything?
[ONE Q&A, Help & Troubleshooting] warunamail:
pls help

Do we need to enable usb debugging in the phone to do this? If it is non rooted and in stock can we follow this guide.

pls let me know.
[ONE Q&A, Help & Troubleshooting] Negan:
I believe its enabled by default. You do not need root to do this but you to need to be boot loader unlocked
[ONE Q&A, Help & Troubleshooting] Negan:
You need to do this all in fastboot. The phone will not reboot while in fastboot
[ONE Q&A, Help & Troubleshooting] warunamail:
Thanks a lot for the reply. I'm trying to help my friend to solve this issue.

Even its reboot we can go to fastboot using the command?

When I connect the phone to pc? on or off?
[ONE Q&A, Help & Troubleshooting] mhmtlcn:
OPO stuck in Reboot Loop

Hello,

It seems like a common problem and I read a lot of post. But I am not a programmer and not a techie or expert.

I just received my phone 2 days ago. I didn't even use it one whole day. It shut itself down today and when I tried to turn it on. It started to reboot itself constantly. Phone keeps rebooting. I get a short vibrate, then the 1+ and powered by android logo come up for a few second, followed by the cyanogen logo. Then, it goes to my home screen with a 'loading widget' sign and repeats the sequence. It just stays couple of seconds on and it can't connect wifi or GSM operator.

I tried holding down power and vol+ or - and rebooted the system that way yet it still continues. It's been super frustrating.

Someone send me the link of this thread. Am I at the right place?

I tried to steps at the first page of this thread. When I enter "fastboot erase persist" to the cmd page, I just see "waiting for device". I think it is not working.

And to be honest, that was my first cmd page experience in my life :)

I m looking forward to your help. Or do you recommend me to send the phone back?

Thank you in advance!
[ONE Q&A, Help & Troubleshooting] Negan:
Boot into fastboot mode, connect to PC and run commands. However if your friend has twrp go to step 2 in my op and run the terminal command
[ONE Q&A, Help & Troubleshooting] Negan:
No dude you don't need to send the phone back. This is an easy fix. You need to run the adb- setup.exe to install the adb drivers before anything. Once installed reboot to fastboot , connect to PC and type "fastboot devices" if there's as output with a serial number, you're ready to rock
[ONE Q&A, Help & Troubleshooting] elrey311:
I was just wondering if this will work with Philz recovery. make_ext4fs /dev/block/mmcblk0p15
[ONE Q&A, Help & Troubleshooting] Negan:
Is there a terminal command option in Philz? I don't recall seeing one?
[ONE Q&A, Help & Troubleshooting] elrey311:
I think there is. I just don't know how to find it. It is in aroma file manager, but I don't know how to get it open. Anyway it is in there somewhere.
[ONE Q&A, Help & Troubleshooting] Negan:
Why not just use twrp if you're struggling ? Can you not flash it ?
[ONE Q&A, Help & Troubleshooting] elrey311:
Yeah I can flash twrp. I was just wondering if there was another option besides twrp, because not everybody runs twrp. I like twrp, but I'm just a little scared of it.
[ONE Q&A, Help & Troubleshooting] Negan:
We now know you have nothing to fear.

Twrp isn't the problem
[ONE Q&A, Help & Troubleshooting] elrey311:
Thanks for the info and the work that you have put into this helping so many people.

Thank You
[ONE Q&A, Help & Troubleshooting] mhmtlcn:
I got some response after I update android adb driver at device manager. It seems I can connect the device. After "fastboot devices" cmd, I got "s1352b..... fastboot"

I tried the next step you said. I enter "fastboot erase persist" but I got "FAILED <remore: Device not unlocked cannot flash or erase> finished" answer. It seems in need to unlock smth at first. What should I do now?

---------- Post added at 10:32 AM ---------- Previous post was at 09:45 AM ----------

It seems I solved the problem.

I flashed persist

I flashed reserve4

I did flash-all.bat

Phone is working and it is not at bootloop anymore. Did I do anything unneccessary or wrong? Do I need to do anything? Do I need to do "Part 2" at the first post???

I lost all my apps and data but it is not a big deal because I just receive phone 2 days ago. But to be honest, I m still planing to send it back after this bad experience. First time in my life, one my phone had broken.

But I learnt a lot of things from this thread which I didn't need before.

THANK YOU for you help and great information!!
[ONE Q&A, Help & Troubleshooting] Negan:
You're good now man. No need to do anything else.

Might as well enjoy it man. They won't likely accept RMA on it since its fixed
[ONE Q&A, Help & Troubleshooting] mhmtlcn:
I can return the phone in 14 days. I was planing to return it not a replacement.

If it cause any other problem in a couple of days, that will be my plan. Because this solutions are way over then my knowledge.

Can I update phone normally after that? Do I need to do smth special? Is 30O which I flash is a stock version?

Thank you for your help.
[ONE Q&A, Help & Troubleshooting] epicnoob66:
Thank you! Persist.IMG saved my device.

This was the second time my data partition got corrupted, and the first for efs. I was a bit scared...
[ONE Q&A, Help & Troubleshooting] mhmtlcn:
Just flashing Persist.img enough?? I also flash 2 other files:confused::(:(
[ONE Q&A, Help & Troubleshooting] Negan:
Yes all that is needed is persist
[ONE Q&A, Help & Troubleshooting] NJGSII:
Same here. Phone was working fine this morning and boom it crashed while downloading something. Thought, nbd held down power to restart and boom no wifi, data, loss function of the home capacitive key, and the device kept rebooting. Did a clean flash of 38R and the phone kept rebooting. I searched allover the internet for an hour when I should had taken a quick look in the help section. Erased and reflash just the persist.img like it said and now everything is good to go.

Thanks, especially since you came up with this even though you didn't have the issue yourself.
[ONE Q&A, Help & Troubleshooting] Vonnegut:
I understand you felt scared but believe me that was caused by a bug that will be fixed with the next OTA.

If you are running a custom ROM, the bug will be fixed with the next release.
[ONE Q&A, Help & Troubleshooting] Negan:
Yep and we're compiling a new jedi build right now which will have the fix too
[ONE Q&A, Help & Troubleshooting] kiaxda:
I just want to thank you! after 10 hours of trying everthing. your solution helped me.

My OPO was stucked on boot logo, when I it was charging.

I did it this way, maybe helps someone:

1- Download last version of fastboot image from : cyngn.com/products/oneplusone

2- fastboot CWM recovery and choose wipe everything for new ROM. this way we've got a clean phone and we can make everything from first step.

3- use fastboot mode and following this procedure androidheadlines.com/2014/07/android-flash-oneplus-one-stock-cyanogenmod-11s.html

4- finally , using preserve.image and fastboot it.

Thats all!

Everything works as a charm.
[ONE Q&A, Help & Troubleshooting] gregg0829:
I am curious how do you know this? Do you know when the next ota is scheduled???
[ONE Q&A, Help & Troubleshooting] Negan:
Because it's been commited on their git. He's talking about the nightly builds not 11s.

11s isn't open source
[ONE Q&A, Help & Troubleshooting] Luc777:
my phone is currently in the state of the bootloop

i did not do anything to the phone such as flashing new firmware etc

will the method work if my phone is not rooted?

i tried to plug into pc but the A001 folder is empty

sorry for the noob questions as im not really good with tech

thank you guys for the help and time
[ONE Q&A, Help & Troubleshooting] myih:
First, many thanks to Mark. You save my phone. Use the method part1, my phone can boot finally.

Second, I try the method of part2 first. I type “make_ext4fs /dev/block/mmcblk0p15” in cmd. But my computer show “make_ext4fs” is not a command…. I don’t know how to use” make_ext4fs /dev/block/mmcblk0p15”. Method 2 is an easy way to solve this problem, but maybe it need somebody to explain how to use this method.
[ONE Q&A, Help & Troubleshooting] safikmomin:
thanks man it worked for me
[ONE Q&A, Help & Troubleshooting] arkheen:
Thanks..its work for me..:good: :good:
[ONE Q&A, Help & Troubleshooting] Negan:
You first have to unlock your bootloader via fastboot command"fastboot oem unlock" the. You need to flash the persist.IMG and reboot and you're good to go. Carefully read the instructions and you'll be ok
[ONE Q&A, Help & Troubleshooting] Negan:
That command is done in twrps terminal command option. Be sure to read the op a bit more thoroughly and you will be just fine
[ONE Q&A, Help & Troubleshooting] Luc777:
thanks for the reply

i tried going into fastboot by holding down both power and vol down buttons

i saw the head and its stuck there

and for the instructions everything is done on the pc with my phone plugged in?

move everything to the a0001 folder and follow instructions?

once again i apologize for the trouble
[ONE Q&A, Help & Troubleshooting] :
It's supposed to be like that, it should say the text 'fastboot mode' or something along those line forget the exact words.

No not the a0001 folder, but the folder called "platform-tools", then place persist.img in that folder and flash.

You can get the platform tools from here:

http://d-h.st/08w

then you would have to open up command prompt do "cd PATH"

where PATH is the folder location of whever you extractred platform-tools too, and then do fastboot devices and it should say a device/numbers indicating the phone is connected. Then follow the instructions on flashing persist.img
[ONE Q&A, Help & Troubleshooting] myih:
I found the terminal command option in TWRP. But I don't know how to use TWRP terminal command. Do I need to connect my phone to PC, or just type the commank in my phone? Could you post a screen shot? Thanks.
[ONE Q&A, Help & Troubleshooting] Luc777:
wow...thats alot of information to digest...

am i right to say the platform tools folder has to be placed inside the phone's directory?

have not done any customizing or flashing before so all these terms are new to me

hopefully i will understand when i try out the steps physically when im done with work

thanks for the detailed explanation

really appreciate it
[ONE Q&A, Help & Troubleshooting] Baka88:
Bleh I don't understand any of this...

I recently got the phone and have had it for a week or so and it started the bootloop. All I did was stream a Youtube video, then my phone froze. I did a hard reboot and then it's stuck at the reboot screen, it'll ask what language I want then freeze, then reboot again.

So I'm a complete newb at this stuff.

I tried following the steps but whenever I type in the command "fastboot erase persist" into the command prompt it just says "waiting for device". Am I on the right screen? It says "Cyanogen Recovery" on the top.

OK I don't know what I did but I got to the "Fastboot Mode" screen.

I tried the steps and now it's saying that "Device not unlocked cannot flash or erase"

Am I screwed?
[ONE Q&A, Help & Troubleshooting] mhmtlcn:
How can I know that I am using a custom ROM?

I flashed persist

I flashed reserve4

I did flash-all.bat ( I guess i installed 30O version

As I can see, persist was enough. I want to know that did I smth wrong with doing other steps?
[ONE Q&A, Help & Troubleshooting] Negan:
No you don't need to be plugged in. Just go to terminal command and hit the select button and enter the command and then once its done reboot and you're good to go
[ONE Q&A, Help & Troubleshooting] Negan:
OK i can see how his post is confusing you. So here's all you need to do. Download the lite package (which I assume you have done) and extract it to your desktop. Then run the adb-setup.exe to install the adb drivers.

Then put your phone into fastboot mode and plug it in to your PC.

Once you have done that go back to the folder with the persist.img and hold shift and control as and right click. Then select open command window here. Then type "fastboot devices". You should get an output with some serial number. If you do then simply type "fastboot erase persist" and hit enter. Then type"fastboot flash persist persist.img"

That should tell you it worked. Then type "fastboot reboot" and you're done
[ONE Q&A, Help & Troubleshooting] psychowood:
The persist.img in the zip does not seem to be the same in OP, what are the differences?

33554432 bytes, Oct 5 19:36, md5 38def7f7a4cdb29f1318c2b32d66297c <- persist.img in Persist.zip
4346040 bytes, Sep 16 12:02, md5 7800fb3768c5a5f310c3b6bc443e4f72 <- persist.img in NEVER_SETTLE_lite_fix.zip
[ONE Q&A, Help & Troubleshooting] Negan:
OK do you need to unlock your boot loader first which will wipe your device. Simply type "fastboot oem unlock" then try the persist commands. That's it
[ONE Q&A, Help & Troubleshooting] Negan:
You're not using a rom based on your first question!

If your phone is working now hen no you didn't do anything wrong
[ONE Q&A, Help & Troubleshooting] Negan:
Don't worry about it. Either route you choose will work
[ONE Q&A, Help & Troubleshooting] Vonnegut:
They are the very same persist but with a big difference.

The persist.img coming with the colorOS is packed, so it can only be flashed in fastboot mode.

So i installed it on my OPO and took a dump of the whole partition and i got a persist.img which is both flashable via recovery and in fastboot mode.

Since that's an EXT4 partition you can even check what it contains mounting it with Linux Reader.

Hope i answered you question!
[ONE Q&A, Help & Troubleshooting] psychowood:
I asked just out of curiosity, I had already flashed (succesfully, thanks!) the recovery one :)
[ONE Q&A, Help & Troubleshooting] LonelyJourney:
HELP!!!!!!

I am a bit of a noob and my phone is stuck in a bootloop , I updated to 38r. I have tried everything, my phone keeps rebooting. I have downloaded this and I cannot get the computer to recognize my phone. I booted the phone into fastboot mode and the system just can't see my phone. I have installed all of the drivers and still nothing. Please help this is my only phone. I have the toolkit and it can't my phone either. Phone just won't show.