yashsingh1/xdaforums huggingface dataset:
[ONE General] anagramgenius:
Nope. But make sure you take nandroid backup if something goes wrong.
[ONE General] vj218:
Thank you. I got it running now.
[ONE General] sergiemiyagi:
I seemed to have wiped my entire OPO including the stock rom and therefore cannot factory reset it. I can however put it in recovery.

The PC unfortunately does not recognize my phone as storage anymore and therefore I cannot transfer the zip.

PS. There is currently no OS on the phone and when restarted, the Android logo just keeps loading

Help ;(
[ONE General] Spannaa:
Is your bootloader unlocked?

If it is, read the first post of this thread.
[ONE General] sergiemiyagi:
It is unlocked. I will try this however when I try download the 64GB version in chrome, It downloads towards the end and then cancels with the message saying 'Failed - No file'. Anybody else experience this? I am going to try and download it vivaldi quick.

Or is there any other stock roms that can be installed this way?

Appreciate all the help :)
[ONE General] Spannaa:
It downloaded OK for me but if it still fails for you, grab the fastboot images from the first post of this thread.
[ONE General] tojblok:
Can I do this without a computer? I am on sultans rom and it's so bad, there always a problem...
[ONE General] Spannaa:
No, you need a computer to use fastboot.
[ONE General] Matwillshak:
"filesmap" file ?

Hello !

There is a file named "filesmap" in the original fastboot zip.

This file does not appear in the fastboot zip we can download in this thread...

What is this file ?
[ONE General] Spannaa:
Did you download the original fastboot zip and open the file?

If you had, you'd have found that it just lists the firmware images along with their paths on the device ;)
[ONE General] kishore1998:
This is a great thread! Thanks for the image files, I couldn't find any which I could flash one by one using fastboot after CM 13.
[ONE General] gd6noob:
Why does your file name for the 64GB says CM13.1 but on CM website, the latest is 13.0
[ONE General] Spannaa:
Are you confusing CyanogenMod and Cyanogen?

The latest on the Cyanogen support site is cm-13.1.2-ZNH2KAS3P0

The latest in post #1 is a couple of versions out of date.

[MENTION=2258271]EddyOS[/MENTION] ;)
[ONE General] MChaves:
Thanks for much for this tool. For some reason my GF's OPO went Play Store crazy after installing Sultan's rom and couldnt download any app. This was my last resort :(
[ONE General] EddyOS:
I'll sort that out shortly, sorry!

:D
[ONE General] mehboobali1981:
unable to download the "ZNH2KAS254 64GB" file when it reaches to 95% network error sh

cant download the above file for 64GB when it comes to 95% it shows network error tried many times

have downloaded below file pls suggest

OnePlus One

OnePlus One help? Visit support

Version	Download	MD5 Checksum

Cyanogen OS 13.1.2 (6.0.1)	cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot-76d803f730.zip	79ba0f70c236fe64a6b9db8ec1e718d0

Cyanogen OS 13.1.2 (6.0.1)	cm-13.1.2-ZNH2KAS3P0-bacon-signed-8502142fdc.zip	a40ddd581f58fb1588ed19571d32fedf

Cyanogen OS 13.1.2 (6.0.1)	cm-13.1.2-ZNH2KAS3P0-bacon-boot-debuggable-ff0428d091.img	b0e74bdc5a02ae6bc69af22e4d899b58
[ONE General] Spannaa:
It's the fastboot one you want.

Just follow the manual flashing instructions in the first post.

And don't quote the whole post, it's unnecessary and clutters up the thread.
[ONE General] EddyOS:
FINALLY updated the OP with latest images from Cyngn. Any issues let me know

:D
[ONE General] vj218:
Hello, I am running COS 13.1.1 ZNH2KAS2X1 and noticed that there is an updated version which is the COS 13.1.2. I have a rooted OPO with TWRP recovery. I am assuming that I could flash the update via TWRP but I am unsure which file that is. Also what version of TWRP should accept the update?

Thanks.
[ONE General] Spannaa:
You can't flash fastboot zips via TWRP, you a extract them and fastboot flash the individual images.

To update, you need to flash the latest signed flashable zip via the latest version of TWRP.

There are threads in the general section that contain links to the files you need and full instructions.
[ONE General] thecycle:
Found a strange problem with the latest Cyanogen OS update, sometimes the phone won't boot after a restart and I have to enter recovery mode then reboot to get it working. I've isolated the issue down to the update itself as various other roms don't have this issue. I'm wondering if anyone else may have experienced this.
[ONE General] david72262:
I ran stock cos from June till yesterday never had any problem with it except for sounds once in a great while ( call and message ringtones)
[ONE General] krikz:
Same question here.. Someone please help.?
[ONE General] nothingtotalk:
HI i flashed it on my OPO, but after it reboots, Google Play Services keeps stopping, like every 1 to 2 seconds. Wifi also seem to be stuck at turning on :(

Any solutions?
[ONE General] :
Thank you so much bro!

Thank you so much @ EddyOS for helping me out! :D
[ONE General] benyben123:
Do you guys think this might solve my issue?

http://xdaforums.com/oneplus-one/help/q-t3488506

:(
[ONE General] krikz:
Did you try flashing the modem? I too had faced the same issue. Just flash everything inside this zip file, and that should hopefully solve it. Chill out and relax. This is not an issue with your phone :)
[ONE General] nir_oz:
Please excuse me if this question was asked before, do i need to backup my photos and internal data?

Will my phone be back day one with nothing on it?
[ONE General] david72262:
Yes
[ONE General] nir_oz:
Thanks!

I'm actually trying to avoid doing that.

All i need is to unroot my phone.

My company wants me to install AirWatch which can't work on a rooted phone.

Is there a way to flash a ROM with no root without losing all my stuff?

Is there any workaround this AirWatch? i'm using Android 7.1 ROM right now.
[ONE General] Spannaa:
Yep, just flash the latest Cyanogen signed, flashable zip.
[ONE General] nir_oz:
Using the TWRP?
[ONE General] Spannaa:
Yes
[ONE General] nir_oz:
Cool, thank you!

Do i need to flash GApp? Android 6.0
[ONE General] Spannaa:
No, Gapps are included in Cyanogen roms. It's CyanogenMod roms that need Gapps.
[ONE General] manitaggarwal:
Can this flashable zip be flashed over a nougat rom, i am testing.

Could you also please confirm that this is the one you are talking about.

cm-13.1.2-ZNH2KAS3P0-bacon-signed-8502142fdc.zip

This flash will remove my twrp and lock bootloader?

Will it just give me cynogen OS with twrp and bootloader unlocked?

And will I be able to use encryption on this signed flashable zip?

Thanks in advance.
[ONE General] Spannaa:
ZNH2KAS3P0 is the latest version.

Clean flashing it over another rom should be fine and it shouldn't remove TWRP or re-lock your bootloader.

Not sure about encryption as I've never used it.
[ONE General] Han-Droid:
Just out of curiosity...does this fix the Mic problem?
[ONE General] :
Wow everything back to stock. It was so easy!
[ONE General] dougunlocked:
for it to be a sticky

I thought to myself: "it is the last hope, I have to crack it". Why crack? because it is not as simple as it looks.

Disregard the explanation before "1. Download the factory image" and just dump the content of the rom package into the folder where adb.exe is.

Man it took me forever to figure that out, because I'm all for organizing my stuff/files, so it did not occur to me to just drop bunch of files on the other bunch of files. duh"
[ONE General] nanaya7:
Great!
[ONE General] vj218:
Hello, can I flash the lastest (cm-13.1.2-ZNH2KAS3P0-bacon-signed-8502142fdc.zip) coming from 13.1.1-ZNHNKAS2X1-bacon? Also what TWRP should I use to flash the latest (13.1.2)?
[ONE General] Spannaa:
This isn't really the right thread to ask in but yes & use the latest TWRP 3.0.2-2
[ONE General] vj218:
Thank you very much. I had a hard time finding the right thread to post my question. I'll try to be more patient next time :).
[ONE General] rHn7113:
I didn't understand what did you say...I have 64GB OPO...How to get back to CM 13 Stock..........I have unlocked bootloaders and latest TWRP installed
[ONE General] Spannaa:
Ignore that post and just follow the instructions in post #1 ;)
[ONE General] rHn7113:
Where's the flashable zip ROM???
[ONE General] Spannaa:
There isn't one - it's a fastboot zip.

Or are you asking in the wrong thread?

If so, the signed flashable zips are all here
[ONE General] rHn7113:
So How to flash it...Via PC Fastbpot mode or after extracting via TWRP???
[ONE General] Spannaa:
Signed fastboot zips - extract and flash from a PC via fastboot

Signed zips - flash via TWRP

The clue is in the file name ;)
[ONE General] rHn7113:
My PC sucks means I can't wtf
[ONE General] Spannaa:
So use a signed flashable zip then...
[ONE General] rHn7113:
Please can you tell me step by step...I will be your thankfull
[ONE General] Spannaa:
Try searching and reading a bit - I'm not about to clutter the forums with another guide on how to flash a rom zip!
[ONE General] Jaccob25:
Hi guys

I am on TugaPower ROM N9.0 and I want to go back to stock firmware and I will wait to official Nouget update.

I need to know if I can still use that .zip from the first post. And what about Kernel? I have 3.4.113-cyanogenmod tugapower@Mint18-G751JY kernel and I don't know if I must flash another one before I started to flash this stock via fastboot.

I'll be glad for any advice.

Thanks
[ONE General] Spannaa:
Everything is included in the fastboot zip - just follow the instructions carefully ;)
[ONE General] counterfeit187:
Just be aware that there may never be an official update to Nougat.
[ONE General] Jaccob25:
I know. But that ROM was much worse than last official Marshmallow. :) We will see.
[ONE General] cragger10:
How long should the "sending sparse 'system'" step take? It's been running for quite some time now.
[ONE General] Spannaa:
It usually takes a few minutes as there's a lot of data.

If it fails, try changing the command fastboot flash system system.img to fastboot flash -S 512M system system.img which should send the data in smaller chunks.
[ONE General] cragger10:
I've halted it after it was still sat after 1 hour on this. Just to be clear, I definitely have the bootloader unlocked, it's bizarre. I'm wondering if it is just coincidental that I've suffered a hardware failure - I'm running this after my screen wouldn't wake after I received a text under the latest nightly build. Either way, I'll be steering clear of unstable software in future. I'm hoping it isn't the end of the handset as I was enjoying using it.

I'll pop back home shortly and try the flash -s 512m method. Granted the system image is a large file, but it shouldn't take longer than an hour. I'll report back when I have a verdict.
[ONE General] Spannaa:
You're right - it should only take a few minutes to fastboot flash system.

The -S 512M method is really for users with not a lot of ram in their PC but it sometimes helps.
[ONE General] cragger10:
Very weird. I'll try flashing another recovery image and using a different ROM - as long as I can make and receive calls that's the main thing. What bad luck!!
[ONE General] FaberH:
Help!!

http://xdaforums.com/oneplus-one/help/oneplus-one-stuck-recovery-t3516815#post70089222

Thanks!
[ONE General] cragger10:
After rebooting my PC (I work in IT, of course I thought of doing this straight away), everything has flashed successfully. Now to leave my phone well alone.

Thanks for the support, chaps. Much appreciated. :)
[ONE General] Kerzouq:
when i start the fastboot-all.bat it just opend cmd and appears (waiting for devices), when i open another unrelated cmd and type: "adb devices" my device appears and says its on fastboot.. Sorry i'm pretty noob to this.. how can i resolve this?
[ONE General] counterfeit187:
Using the right command? Flash-all.bat not fastboot-all.bat
[ONE General] EddyOS:
Looks like this thread will not be continued after the collapse of Cyanogen but if anyone notices a final stock build let me know and I'll do one last repack :)
[ONE General] kuulbhaskar:
is the re locking necessary at last because i dont want to relock bootloader after flashing all ?
[ONE General] Spannaa:
No, relocking isn't necessary - in fact, if you do relock it, you may not be able to unlock it again if you need to.
[ONE General] rishi211292:
thanks !

recovery partition was messed up by h2os !

i returned to stock & now can use any custom rom !

---------- Post added at 11:55 PM ---------- Previous post was at 11:55 PM ----------

NO !
[ONE General] Gawd:
I have one simple question. I've changed my /cache and /data partitions to f2fs. So if I flash these factory images, will these change back to ext4?

Edit: yes, flashing the factory images does wipe everything to ext4
[ONE General] Spannaa:
I'm not 100% sure but I think they'd revert to ext4.

As they'd be completely wiped though (including internal storage), it'd be an easy job to convert them back to f2fs again before installing stuff and restoring your personal files to internal storage.
[ONE General] DS-1:
Is there any connection between unlocking bootloader and no login of Cyanogenos account?

I unlocked bootloader to try LineageOS, then used this guide to come back to stock.

From that moment, I can't login anymore to CyanogenOS and so I can't use theme app and Live Caller ID... :(
[ONE General] Spannaa:
Unlocking your bootloader wouldn't affect logging in to your CyanogenOS account but, as the login page isn't available via the web, this may have something to do with it.
[ONE General] Gawd:
You will never be able to login again. CM (COS) is dead. It's LOS time now. :)

As [MENTION=2948558]Spannaa[/MENTION] said, it has nothing to do with anything you've done (whether unlocking the bootloader, or flashing X,Y,Z things). It's because COS (as a company) has shut down, and the team behind it found LOS (LineageOS).
[ONE General] DS-1:
Unfortunately now I can't find contacts using the dial numeric pad!!! :eek:
[ONE General] Uglamugla:
Hello everyone, i had issues in the past with gps and mic, i've sent it back under warranty and they send me with last COS 13.1-ZNH2KAS1KN. the exchange a few parts but nothing gps/mic related, at least i think so. But everything is running well, so i guess the problem was with drivers. There is anyway to backup my drivers or to flash everything back to the rom they applied? I want to try lineage, because of the new features, power consumption and safety patches (my cos is running the security patches from 1 june 2016).

Thanks in advance, kind regards.

Uglamugla
[ONE General] flat_jice:
first thank's for your help for install nethunter ......

if you look for install nethunter on one plus one :

flash lastest TWRP ,

flash : cm-12.1-YOG4PAS3JL-bacon-signed.zip , SuperSU.zip

boot on it

return on recovery , flash nethunter-oneplus1-lollipop-3.0.zip

and it work ,

about update ,lastest.apk ( nethunter updater not working for me ....)

you have to edit : sources.list

deb http://http.kali.org/kali kali-rolling main contrib non-free

deb-src http://http.kali.org/kali kali-rolling main contrib non-free

apt-get update && apt-get upgrade

from the Kali Terminal & having fun ....

i hope i will help some of you ....
[ONE General] slipnslider:
Can you downgrade from 7.1.1 to this version of stock? I have the latest TugaPower ROM on my phone but want to go back to stock.
[ONE General] Pratikmade:
Is TugaPower Rom not good?
[ONE General] RazerSharp:
Yes you can just flash it in fastboot though jgcaap marshmallow is better than stock
[ONE General] slipnslider:
No it's fine, I just want to return to stock. I'm having an issue where my OPO will randomly reboot. It isn't overheating or doing anything too crazy, it just reboots randomly. So I want to put stock back on it to see if it is the ROM or the phone itself.
[ONE General] mdjunaid007:
Update Security Patch Level

Hey, guys can any one give me the guide to update the latest security patch level on CM13.1.2 - ZNH2KAS3P0. It would be a great help..

Thanks
[ONE General] phermey:
Mighty kind of you to split up the newer files. Did this before a couple of times and had to go back to original and deal with all of the updates. Seriously.. thanks a ton for your work. Be well.

---------- Post added at 11:01 AM ---------- Previous post was at 10:53 AM ----------

I am hoping for the same. Nothing better than stock cyanogenos when it comes to smoothness on the opo. The problem is a factory reset doesn't always fix the jank that accrues. So necessary to start back over every year. Most think they can slap on a rom, but this inherently adds to the issues.
[ONE General] wuziq:
thanks EddyOS. everything went quickly and smoothly.
[ONE General] vicio907:
can i use this zip using bacon root toolkit 1.0.3 ?
[ONE General] Spannaa:
Probably not, I think you'd need to use the original fastboot zip.
[ONE General] vicio907:
worked
[ONE General] :
Thank you for the zip. It helped me return to stock. I was on Custom ROM since Cyanogen stopped update for OPO. But now there were few apps/games that needed to be CTS compatible and even locked bootloader. So, I returned back to stock and those apps/games started working again.
[ONE General] wil_younghusband:
might try this out. updated to LineageOS - all is good, silky smooth but for some reason i keep getting the google play store error 495 after updating my OPO to Nougat. never happened to me before back in CM /Marshmallow
[ONE General] blktiger:
Great work :)

Thank you EddyOS.

I just used your guide to return my OPO back to 100% stock and it worked perfect!!

I installed Ubuntu (UBports) and found it very sluggish and the screen was not responsive :(.

I was anticipating a MAJOR problem going back to Android but this was a walk in the park!

Anyway just wanted to thank you for this guide :) :good::good::good:
[ONE General] alidarkstone:
Hi,

I have bricked Oneplus One in Qloader BULK Mode. I cant unlock bootloader. How to unlock bootloader. I dont have any recovery just fastboot mode working.
[ONE General] margabro:
Thanks!!

Thanks a lot for this awesome post! It helped me come back from a custom rom to the original phone state.

Tip: It would be nice if you could add a script for Mac also! :)
[ONE General] EddyOS:
Updating images for the new 30O build, will be uploaded when ready :)

EDIT: All done!
[ONE General] zabih107:
Nice job on uploading new images fast. Thank you.
[ONE General] zabih107:
K go to into fastboot mode and plug phone to pc, then open command prompt in the folder where fastboot.exe is located, then in it type fastboot oem device-info. This will tell if the device is unlocked or not. If not then just type fastboot oem unlock, and it shall be unlocked.
[ONE General] erpejo96:
C:\Users\User\Desktop\android-sdk-windows\platform-tools>fastboot oem device-inf

o

...

(bootloader) Device tampered: true

(bootloader) Device unlocked: false

(bootloader) Charger screen enabled: false

OKAY [ 0.018s]

finished. total time: 0.020s

that's what I get, it's tampered but not unlocked, I'm getting crazy

EDIT: I ran the command "fastboot oem unlock" and that's what appears

C:\Users\User\Desktop\android-sdk-windows\platform-tools>fastboot oem unlock

...

OKAY [ 0.005s]

finished. total time: 0.007s

then the phone reboot into recovery
[ONE General] zabih107:
After u ran the fastboot oem unlock command did u ran the fastboot oem device-info again to see if unlocked now?
[ONE General] alex.inthi:
Mine is already Unlocked. Will it erase all the data on my OPO if I flashed this?
[ONE General] erpejo96:
since the device automatically reboot into recovery mode after running the unlocking command, I have to reboot my device into fastboot mode to run the "fastboot oem device-info", I did it and it shows the same thing as before the whole process:

C:\Users\User\Desktop\android-sdk-windows\platform-tools>fastboot oem unlock

...

OKAY [ 0.007s]

finished. total time: 0.009s

C:\Users\User\Desktop\android-sdk-windows\platform-tools>fastboot oem device-inf

o

< waiting for device >

...

(bootloader) Device tampered: true

(bootloader) Device unlocked: false

(bootloader) Charger screen enabled: false

OKAY [ 0.104s]

finished. total time: 0.107s

(it shows < waiting for device > message cause the device rebooted into recovery and it wasn't able to perform the fastboot commands, so I manually rebooted into fastboot and the the command got applied)
[ONE General] EddyOS:
It means you've not unlocked the bootloader. Unlock it and boot the device for it to complete. Then boot back into the bootloader and try again and it should work
[ONE General] erpejo96:
you confirmed my suspects, but the matter is, how explained above, that if I try to unlock the bootloader again by running the "fastboot oem unlock" command, it shows that (like it worked):

C:\Users\User\Desktop\android-sdk-windows\platform-tools>fastboot oem unlock

...

OKAY [ 0.007s]

finished. total time: 0.009s

but the device automatically reboot into TWRP recovery with no apparent reason, and I don't know why and how to solve that
[ONE General] thenew1:
same problem

my opo will not unlock. i always write unlocked my opo in adb but it do reboot always in twrp. and when i want back to STOCk, it says to me i have to unlock. please help me and look at the screenshot. sry for my english.

[IMG="will not unlock"]https://forums.oneplus.net/attachments/upload_2014-8-21_19-27-52-png.100477/[/IMG]
[ONE General] zabih107:
Which twrp u have and where ugot it from?
[ONE General] thenew1:
i have this. openrecovery-twrp-2.7.1.0-bacon.zip from this site. ----->
[ONE General] zabih107:
How about u guys try flashing the stock recovery from cyanogen into Ur phones then try unlocking in fastboot mode.
[ONE General] thenew1:
1. Where is the stock recovery from cyanogen?

2. should i flash it with twrp or with adb?
[ONE General] zabih107:
With adb of course. It's located in the zip file file u extracted into Ur fastboot.exe folder. I believe it's called recovery.img, the command for it is: fastboot flash recovery (name of recovery.img) without brackets.
[ONE General] thenew1:
SAme

i want to flash the stock recovery from cyanogenmod, but it cames the same message like the screenshot up. DEVICE NOT UNLOCKED
[ONE General] zabih107:
K i give up, someone else should help you
[ONE General] thenew1:
ADB

when i start ADB sideload in twrp and flash from my pc to opo. it will do 100 % the recovery img. BUT on my opo is written ADB SIDELOAD COMPLETE FAILED
[ONE General] fredfredfredfr:
Can someone explain how to do this. Explain like I don't know anything about adb/fastboot and command line.
[ONE General] Xalop:
I have TWRP on the phone. Does the process detailed in this thread remove TWRP as well?
[ONE General] dorian.m:
"fastboot flash recovery recovery.img" - yes, it does.
[ONE General] atrac88:
Great thread! Got me off of ColorOS and onto something more to my tastes.
[ONE General] benyben123:
Hi everyone.

My OPO's cell signal comes and goes. From nothing at all, to full service with LTE.

Can't continue like this.

Will flashing this work?

Please see album (Notice cell service):

https://imgur.com/a/PctdP

Thanks for the help!!!
[ONE General] laughingman420:
thank you for this awsome post but i have recently encountered a bizarre problem on my oneplus one, i was trying to get split screen on my exodus rom using xposed(and the files required ) but my phone went to boot loop so i cleard the cache dalvik but tht didnt solve the problem so i re installed the rom using TWRP recovery now all my phone does is ,when turned on it vibrates and shows oneplus one logo thn restarts then shows oneplus one logo again and turns off. this same thing happens when i used the packege provided in this thread too, yes i can still access cyeanogen recovery(probebly can access twrp too if i flash it in the phone) i dont know what seems to be the problem can any one help?
[ONE General] Krtin10:
I am currently on oxygen os 2.1.4 and I am not really satisfied with the os. I want to revert back to cm 13. Will this really help me to go back to cm 13?
[ONE General] DIFERSAN:
Me funciono, pero tuve que poner uno por uno, comando por comando. Con el instalador automático solo se reiniciaba.