yashsingh1/xdaforums huggingface dataset:
[ONE General] Thwiipp:
I had an issue recently, After the update to play services 6.1 a while ago (what i believe started my problems) I had constant (as in every 2 seconds) crashes of Google play services and gapps. I had to roll back services and play store to factory to get everything normal. Though afterwards a few programs were crashing a lot like dropbox and amazon music. In an attempt to fix that I uninstalled dropbox to reinstall and now i get errors trying to install. someone suggested using a file explorer to delete the remaining files, it gives me an error trying to do so. (i have root btw) I tried to wipe the cache in recovery and it fails and has this error in the log:

Updating partition details...
E:error opening '/data/data/com.google.android.gms/code_cache/secondary-dexes'
E:error: I/O error
E:error opening '/data/data/com.google.android.music/cache/play_common_main'
E:error: I/O error
E:error opening '/data/data/com.google.android.music/cache/play_common_images'
E:error: I/O error
E:error opening '/data/data/com.google.android.youtube/files'
E:error: I/O error
E:error opening '/data/data/com.getpebble.android/cache/keen/support'
E:error: I/O error
E:error opening '/data/data/com.dropbox.android/app_DropboxSyncCache/hizqkiq3952astb/2753465-notifications'
E:error: I/O error

I tried to do a factory reset, but things aren't quite right. When I boot i get the System UID's Inconsistent error. Looking at the log shows that those error posted in the code occurred during the reset. What is going on how do i fix this, some Google stuff works now, but some doesn't and crashed, such as gmail, it says i need the updated play services which i'm afraid to update anyway cause that's when play services starts to crash. Some suggested that I flash the fastboot images, and linked me here, so my question is do you think that this will work for me since i havent been able to clear any of those files due to the IO Errors? Thanks for any help you can give.
[ONE General] Miraries:
Flashing a ROM shouldn't be too risky. I recovered from all the errors I encountered. (but I'm not using commands posted in this thread again since they differ from the other, similar ones (this one contains fastboot reboot-bootloader, others don't), which I believe was what caused my opo to appear bricked)

But those errors look worrying... Last time my partitions got corrupt (that's what the thread was about) I fixed it with a solution I found here http://xdaforums.com/oneplus-one/help/wrong-kernel-black-screen-fastboot-adb-t2835696 Could be of help to you if you run into further issues.
[ONE General] enaybee:
Super quick and easy restoration services provided by [MENTION=2258271]EddyOS[/MENTION] ... lol

Thanks for the files and specially for the batch file. I need to go back to CM from ColorOS. Your files and guide came in handy. Thumbs up :good:
[ONE General] CAFO_:
I get the error

error: update package missing boot.img

when running the .bat

wat do ;_;
[ONE General] chrispysaid:
What am I doing wrong??

I bought this phone rooted running CM11 Nightlies. I wanted to flash back to the stock CM11S, and I've been having nothing but problems since. I'd love to use my new phone as it was out of the box, preferably running 44S rather than older firmwares though. I've tried manually running each command AND using the flash-all method, but I keep running into the same issue - whenever I try to flash the system.img I get an infuriating error. (see attachment)

Can anyone walk me through how to fix this situation? I've played around a bit with the OnePlus One Toolkit trying to get things in order, and no luck. I have the CM version, not the Chinese version. Any advice is welcome, especially the helpful kind. =D
[ONE General] jjjhschmidt:
That infuriating error is because your Android tools (fastboot, namely) is old. Go get a new one from the Android SDK.

I know.. I had this problem last night.. don't bother Googling for "new fastboot slim packages" because chances are high those are old too. Just go get the damn thing (and you get the newest adb too) and use that.

PS: Thanks to EddyOS with the script and process. Spent a few hours last night restoring my phone to the original Bacon after I had encrypted it and caused all sorts of Wifi issues. Had some problems with system.img, but downloading the latest Android SDK package fixed all that.
[ONE General] AJWizkid:
If I were to flash this, would I begin receiving the OTAs as well?

If i were to flash this, would ibegin receiving OTAs again?
[ONE General] EddyOS:
Yep, as it puts you back to 100% stock
[ONE General] AJWizkid:
Would I still be rooted?

One more question, sorry, would I still be rooted after doing this? Or would I need to root my device again?
[ONE General] jjjhschmidt:
CM wasn't rooted when you got it, so yes, you'd have to root it again. At least mine wasn't.... I had to root it in order to restore a Titanium Backup from a previous phone.
[ONE General] gerciolisz:
i am long term android user and i know sth about it but this thread was very helpful :) i preffer manual flashing every partition and it worked perfectly.

Thanks a lot:)
[ONE General] rusteh:
I must say that it was a bit of a hustle to flash my OPO back to stock and the most easiest method was this:

1. Get latest version of CM build from official website

2. Get OneToolkit for mac

3. Unpack to desktop and use the toolkit to Reflash to stock

4. Worked like a charm
[ONE General] icoolguy:
Thanks a Lot.

This guide saved my new years day. Installed the 1+ Community ROM which got me into an awkward situation. The wifi does now work in that and any attempt to flash TWRP was not working (no errors but still TWRP was not loading up). So I had to find a way to come out of it and this helped me to get back to 44S. Now am saved for the day :) :D
[ONE General] chrispysaid:
I bought it from someone off Craigslist, so yes. It was rooted. And it had CM11 Nightlies installed. I figured it out though, and got CM11S going again.
[ONE General] ninjawmb:
Do I need this file

I have noticed there is this file "cm-11.0-XNPH44S-bacon-boot-debuggable.img" to down load from the CM site, Do i need it? if so how do I install ie, the fastboot command

Thank you
[ONE General] Criton30:
with the first post, will the efs partition getting back?
[ONE General] toyota86:
[MENTION=2258271]EddyOS[/MENTION], why do we need to reboot back to bootloader after flashing every img?
[ONE General] Drizzy_The_Sailor:
Ill still get OTAs right?
[ONE General] apatal:
That's just for safety. You may opt to not to do that, or delete that from the .sh or .bat file.

Yes, just make sure you flash stock recovery before applying OTA. Not sure if it will work for custom recoveries.
[ONE General] EddyOS:
As mentioned, it's just how I prefer to do things as it leads to fewer mistakes :)
[ONE General] h3lll:
I have an issue regarding being on 44s and random reboots. Factory reset doesn't solve it. i am wondering if this guide will help solve my problem?
[ONE General] eddy4823:
I wiped everything from TWRP. Now I am stuck. I flashed TWRP again now and I can successfully boot into it. How to flash the ROM ? ADB Sideload isnt detecting devices in TWRP, but stock CM recovery can detect device at "fastboot devices" command.
[ONE General] counterfeit187:
This isn't a ROM to flash in twrp or any other recovery.
[ONE General] marhensa:
is there any way to flash all this image, but keep the internal storage intact?

i mean, without wiping /data/media/ partition

i have no problem with backup all my files into PC,

but when i put all those files back to phone, the date modified is f*cked up, you know, MTP sucks.

so i'm avoiding internal memory wiping if that's possible.
[ONE General] apatal:
2 ways I can think of:

(1) flash all images in the zip file EXCEPT userdata, although last time I tried this, my OPO refused to boot up, so I had to resort to flashing everything and wiping my device. Good thing I had everything backed up on my PC. So before trying anything, even if restoring from PC is just for emergency, make sure to back up anyway.

(2) download calkulin's rooted stock zip and it should flash like any custom ROM but will give you the stock 44s. You can even flash superSU and use that if you do not want to use the built-in superuser, just like I do.

Hope this helps. :)
[ONE General] marhensa:
thank you for the heads up.

i'll find that cakulin's build.

thank you very much.

---

Transmited via Bacon 1+
[ONE General] Chikko:
i need your help guys...yesterday i flashed an official CM12 nightly, but today i came back to stock with calkulin 44s zip. But something is wrong (over 11S ) because if i activate dispaly options like double tap to wake etc, when i wake up the display,it doesn't. I tried more and more time to repeat all, but nothing change. So the idea is to return stock. I am a fasboot noob, so i decided to use this method, but i want to know if, after flash, i lose all my data or not,if i lose recovery and root. Many thanks.

Ps: if you have another solution i hear you.
[ONE General] apatal:
When you flashed Calkulin's stock rooted ROM, did you also flash the "extras" zip? Because that file has the appropriate firmware for the ROM. You see you updated to a new firmware too when you flashed the nightly. Hope this helps.
[ONE General] Chikko:
extras zip? where can i find it?

edit: figured otu
[ONE General] Srikar_NBK:
Stuck in Fastboot - Softbrick

Hi. I dropped by OPO recently and had to replace the screen + digitizer myself. After doing it, i decided to wipe my phone and re-install Android again. I did a factory reset, flashed a custom rom, gapps and a kernel and i am not able to boot into the OS. When I reboot the device or power it on, I always end up in the Fastboot mode. I am able to get into recovery, but no matter what I flash, whenever I hit reboot into system after flashing, the phone goes back to Fastboot mode.

I already followed instructions from this thread . When in Fastboot mode, I'm able to flash stock images of 44S , but any reboot doesn't take me to Android, it keeps pushing me back to Fashboot. Flashed multiple TWRP versions, tried restoring to 44S through fastboot, but none of them work. Any restart takes the phone back to Fastboot. Any ideas on how this could be fixed?

1) When the issue the fastboot reboot or fastboot reboot bootloader, the phone shuts down, but doesn't restart by itself. I have to disconnect the usb cable, press the power button and it goes back to fastboot.

2) To test if my fastboot flashing was working, I did install a twrp recovery over stock recovery and I was able to boot into custom twrp recovery and flash the zip you had given. Even, MTP via twrp works fine and Im able to transfer files. Its only that the phone keeps going back into fastboot no matter what I flash as the main ROM

Any help is much appreciated.
[ONE General] GreggoryD502:
Does anyone have a zip of the 44s kernel to flash in twrp? I've looked in the repo and used Google but came up blank. Thanks
[ONE General] Diogo F.:
Yesterday I reset the phone by "wipe" and deleted the entire operating system without having backed up! :silly:

On this topic, in five minutes I recovered my phone!

Thank you very much! :cool:
[ONE General] waterdaan:
http://xdaforums.com/oneplus-one/general/official-cm11s-roms-ota-updates-t2906746
[ONE General] Kwisatz89:
Hello!

I just received this file from OPO support, inside there's everything you will need to restock your OPO (except bootloader) including fastboot adb driver and regular usb driver. Works with both 16Gb and 64Gb.

md5---> 87CA8BD6CA4270ED4F756C4A50891D13

https://drive.google.com/file/d/0B92ech2QsLOPWnhQT3dxd3FHVDQ/view?usp=sharing

Inside you have everything you need, including step to step instruction. Hope this will help someone
[ONE General] manjeet.imaniac:
why fastboot reboot-bootloader again and again?

Can't it be flashed at once and them reboot at last??

Thanks
[ONE General] apatal:
Again it's just a precaution. It is not necessary. In fact I made my own flash-all.bat file with no reboots until after it finished flashing everything
[ONE General] karthiksitian:
Revert to cm11s

Guys i am in latest nightly cm12..i have o revert to cm11s

i have downloaded the cm11sfastboot zip from official cynogen site

rebooting in to the fastboot mode and straight away flash all the images ..

is it enough right

no need of flashing cm11s_44_modem..

becoz everything will be in fastboot zip

everytime reboot bootlooder cmd is not required
[ONE General] Life Engineer:
Hello!

Excuse me for posting this in here but I hope anyone can help:

-I am running currently TWRP recovery

-CM12 unofficial builds

-OPO alpha modem (for lollipop i suppose)

-Of course rooted and everything

-Unlocked bootloader also

Now I am getting really tired of all the flashing and issues, wiping etc... I want to live like a normal guy without my ORD issues! (see signature)

I can't believe I'm saying this, but I want to return to completely stock!

All I need is root! Locked bootloader, stock recovery, stock modem, I don't care!

All I want it stock rooted to be able to take OTA updates!

How can I do that?

I remember the tool I downloaded to root/unlock bootloader etc... included such option but I don't know if that's safe to do now on lollipop!

Besides there's this app (here)that allows locking/unlocking bootloaders on the go without need for wipe etc...

xda link
[ONE General] xyz_1232005:
More clarity.

The file which I download from the hightail link is a zip file which when I unzip gives me some files+another zip file. Should I unzip this second zipfile too so that all the files are together in the same folder(adb folder in this case)?
[ONE General] MickyMax:
Thanks for this guide. Works just as expected.
[ONE General] xyz_1232005:
More Clarity.

The file which I download from the hightail link is a zip file which when I unzip gives me some files+another zip file. Should I unzip this second zipfile too so that all the files are together in the same folder(adb folder in this case)?
[ONE General] EddyOS:
Read the second sentence of part 3 ;)
[ONE General] Zgicc:
Hi, is this step necessary? Or is it only to be back 100% instead of 99%?
[ONE General] EddyOS:
For the warranty side of things, yes but it's up to you
[ONE General] Little Dragon:
thanks for the guide. i found an easier tutorial for my dumb self here (but everything is basically the same):

http://www.androidheadlines.com/2014/07/android-flash-oneplus-one-stock-cyanogenmod-11s.html
[ONE General] EddyOS:
Can someone let me know when the 05Q factory image is available? I'll keep an eye out but as I don't have an OPO any more I don't check every day :)
[ONE General] hunhool:
Can I just ask why did you sell it? Did you have any problem with it?
[ONE General] EddyOS:
Got bored, and Sky Go doesn't work on a rooted phone :)

If their new OS comes out without root at all by default I might look into getting another one one day
[ONE General] Crackass:
They are available now to download at:

http://builds.cyngn.com/factory/bacon/cm-11.0-XNPH05Q-bacon-signed-fastboot.zip
[ONE General] EddyOS:
Cool! Updates coming later today
[ONE General] EddyOS:
OP updated with new files :)
[ONE General] paidaki:
This is awesome thank you so much. A quick note though on the latest flash-all.bat for the 05Q update you forgot to change the following line :

fastboot -w update cm-11.0-XNPH05Q-bacon-signed-fastboot.zip
[ONE General] P1nGu1n_:
Thanks for the update, regularly use it to do a fresh installation. :)

I noticed it too, what [MENTION=4511289]paidaki[/MENTION] says. There's an old filename in flashall.bat

fastboot -w update cm-11.0-XNPH44S-bacon-signed-fastboot.zip should be changed to fastboot -w update cm-11.0-XNPH05Q-bacon-signed-fastboot.zip
[ONE General] EddyOS:
D'oh! I think I changed the 16GB file and not the 64GB one! I'll change it now :D

EDIT: Should be OK now :)
[ONE General] hunhool:
Thanks for your effort.

Bit off:what do you think about the upcoming OxygenOS?
[ONE General] EddyOS:
Interested to see what it's like. Potentially it could be good but it depends if it has too many mods. I would actually like to see 100% pure Android, with no mods, as an option for the OPO as I love Nexus devices but also like the OPO hardware

The big thing for me is that root isn't present at all by default. CM11S, although you can turn root off, still gets flagged by apps like Sky Go as rooted so they won't work. If Oxygen is not rooted at all 'out-the-box' - and you have to flash TWRP/SuperSU to get root access - then I'd be happy with that
[ONE General] FreakyDR:
Hi all!

I want to downgrade from 05q to 44s due to bluetooth problems after the update :( I'm fully stock no rooted ( :cyclops: ) and updated to 05q manually by flashing the incremental zip ith stock recovery. Can I downgrade to 44s the same way (flashing full 44s zip with the stock recovery)? or there is any other way to downgrade without unlocking the bootloader?

Thanks in advance.

P.S [MENTION=2258271]EddyOS[/MENTION] good to see you here at OPO forum after HTC sensation ;)
[ONE General] EddyOS:
Only way is to unlock the bootlaoder and flash the full ZIP
[ONE General] ashrafmansuri:
Will this void warranty?
[ONE General] EddyOS:
The opposite, it'll return the phone to stock so you can't tell if it's been unlocked ;)

Plus it uses the files CM/OPO make publicly available to return to stock
[ONE General] TheROMGuy:
Can I use this t go back to CM11s from CM12? With no problems?
[ONE General] xyz_1232005:
Yes
[ONE General] Mkkt Bkkt:
we don't need to flash that cm11s firmware thing ? like on cm12 bacon_firmware_update_2015_02-09.zip ?

i dont want to brick my oneplus one after using this guide :'(

ps: im using cm12 with ak kernel and slimsaber rom
[ONE General] strictlyphat:
i can't get this to work. I'm on a mac, have used dab and fast boot before, but for some reason i get through all steps until system.img, fast boot reports an error that the file is too large, how do i fix this!! i need to return this phone to stock..

and is it just me, or are all of your 64gb firmwares missing the system.img? I'm so darn confused right now

---------- Post added at 06:50 PM ---------- Previous post was at 06:13 PM ----------

I'm on same ROM. I can't flash system.IMG. is it because I'm.using a Mac? If I can't fix this I'm getting my note 4 back. This phone is oissing me ogg
[ONE General] xyz_1232005:
The zip file with this guide is not flashable, when you follow this guide you are flashing cm11s using fastboot and after the completion of this method you end up with stock firmware like the first day you purchased your phone. Please let me know if this clears your doubt.
[ONE General] EddyOS:
It usually means you're not using the latest version of fastboot. Update your files and try again
[ONE General] bad_tux:
Hello everyone.

I just gave can be a solution to a problem that I have met who seems to be recurring for those attempting the reset means their OnePlus from a PC fonctionant Linux and Ubuntu for me (debian testing and I it's really a big ......, nothing works and you always make hacking).

I had the message in the lines "" sending system "FAILED (too wide)", either by running the script provided or orders one by one.

In the case that one must unzip here "11.0-cm-XNPH44S-bacon-signed-fastboot_16GB", there is a zip file type "cm-11.0-XNPH44S-bacon-signed-fastboot.zip."

The files that are causing the error in this Zip.

Just copy every file include in this zip and paste them in the home folder here "11.0-cm-XNPH44S-bacon-signed-fastboot_16GB"

Here I hope so it will help the world.

Sorry for my English, I'm French and very bad English.
[ONE General] acervenky:
This thread should be pinned.

Just returned to stock.:good:

Regards,

acervenky,

XPT
[ONE General] sandeeppathak007:
Using your favourite file extraction program to extract the package to your Desktop (I use 7-ZIP). *** Remember, if you don't have adb/fastboot in your Path, extract the image into your adb/fastboot folder ***

For the above part when i extracted it to the folder (Desktop\android-sdk_r24-windows\android-sdk-windows\platform-tools) I see a folder named cm-11.0-XNPH44S-bacon-signed-fastboot_64GB which i think has all the files , now do i need to move all those files to the folder Desktop\android-sdk_r24-windows\android-sdk-windows\platform-tools

Please suggest
[ONE General] VitaliyUvakin:
Hi guys, there is an easier way to restore OnePlus to stock (44s). Download file, unzip it, read .pdf, follow instructions. You don't need to be rooted or Unlocked, just be able to get into fastboot. That link was provided by OnePlus One tech support. One thing to remember : it will wipe your phone clean and lock bootloader.

https://s3.amazonaws.com/oneplussupport/ONEPLUS+ONE-FIX-Windows.zip
[ONE General] Mildromeda:
Could I Keep cm12

Hello I'm looking to wipe my phone basically I was using multi-rom and twrp somewhere in the mix I lost about 10gb my storage says 54GB and only 21GB available and regardless of what I delete I still only get 10-15 back I guess what I'm asking of I do these steps could I possibly flash cm12 instead? Or possibly I don't need to do any of this at all is there anyway I could wipe my phone keeping cm12 as my main ROM? If so please point me in that direction it would be awesome thanks.
[ONE General] sandeeppathak007:
No matter which rom u flash u will get 54gb only rest is kept for system
[ONE General] steelecyrus:
Fixed my brick!

I LOVE YOU! I couldn't find any other site that mentioned this and I nearly gave up before I stumbled on this. I knew that random new file should've been flashed but I really wanted confirmation before sending files blindly.

+1+1
[ONE General] ILuvRice:
I just wanted to say thank you op for this thread and all the other great people on xda. Thanks to this guide and a couple of other threads I was able to bring a soft bricked 64GB One plus One back to stock. I just bought it yesterday used for 200 bucks from someone. I was excited to try this phone but the phone already had CM12 nightlies on it . I don't mean for that to be negative, I just want to run stock first to see what its all about and then flash on my own to learn device. I tried to use the stock tool someone posted from one plus one support but it wiped parts and gave multiple errors and wouldn't boot past CM blue guy. It was stuck. I was worried but kept my cool followed the great support from here and now running the latest CM11S. Also had to fastboot the persist.IMG because kept getting a bootloop. Sorry this is so long, just wanted to express my gratitude.
[ONE General] Mohdsultan:
I have a quick question , Will i lose my internal data like Images and Songs???

I am on cm12 nighties , Can anyone tell me how do i get it on O5Q??

I wanna go back to stock!!.

thanks guy's.........
[ONE General] apatal:
After wiping device (except) internal storage, flash everything except the userdata.img and that should leave your data on your phone.
[ONE General] Mohdsultan:
Ok but do I need to flash the frimware for cm11??

Damn this is confusing!