yashsingh1/xdaforums huggingface dataset:
[ONE General] NWKENT:
Oh..excuse me..I'm a former Motorola developer and FXZ is used.. FXZ is an acronym for Full XML Zip file..

I meant to use the term "firmware"..

If you have "no issues" then my help, you do not need..

sent by my: SandStone Black 1+1

(aka) OnePlus One, OPO (Device 2 of 2)
[ONE General] Criton30:
ok, no problem, but for future If I have error, than first is better to install for example the 05Q firmware and after that the rom?
[ONE General] skyguy126:
Don't quote me on it but to make this guide work for OxygenOS you just can't reboot into the bootloader while flashing. Because if you reboot after flashing part of the bootloader then one half will be oxygen and the other half will be cm11s and that combination leads to a hard brick.
[ONE General] jdfeos:
*** THIS APPARENTLY CANNOT BE USED TO REVERT FROM OXYGENOS, SO PLEASE DO NOT USE THIS GUIDE. SEEK ADVICE ELSEWHERE ***

PUT THIS IN RED....believe me!!
[ONE General] NWKENT:
I do stock ROM's only..let all the ones with time on their hands / collage young folks to do the custom stuff..

I will only advise on stock ROM's.

sent by my: SandStone Black 1+1

(aka) OnePlus One, OPO (Device 2 of 2)
[ONE General] rajatkumar6393:
Thanks for guide
[ONE General] balag59:
Hey even i have the same issue. .what did you do?

Thanks!

---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------

Hello,

i can't find in these file: mediafire.com/download/78r7kes21exsnbh/Calkulin's_Stock_OPO_XNPH05Q_ROM_v1.0.zip

a zip-Folder.

I can see in the file Calkulin's_Stock_OPO_XNPH05Q_ROM_v1.0.zip:

META-INF

system

boot.img

I can't find userdata_64G.img, system.img, recovery.img and cache.img.

Could use your help.Thanks!
[ONE General] kookie47:
use this link instead : builds.cyngn.com/factory/bacon/cm-11.0-XNPH05Q-bacon-signed-fastboot.zip
[ONE General] chdpiyush:
kindly help

i have twrp installed. i want to go back to stock. m getting following error. i have unlocked bootloader. kindly help me out
[ONE General] waterdaan:
Your fastboot version is too old

Update it and try again

By the way

If you flash recovery in fastboot you won't have twrp anymore, but stock recovery

You need to flash twrp in fastboot again
[ONE General] chdpiyush:
thanx for replying

can u guide me with updating of fastboot and how to return to stock. i m following this guide but end up that error. right now i have twrp and calkulin rom installed.

i want to return to stock rom which came out of the box
[ONE General] waterdaan:
I'd install this mini adb fastboot http://xdaforums.com/showthread.php?t=2317790

Download official from first page

fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot reboot

Don't

Fastboot flash recovery recovery.img if you want to keep twrp

Fastboot flash userdata if you want to keep your data
[ONE General] balag59:
I already downloaded from the official opo factory image page. .Thanks! and also next time onwards i would kindly ask you to check what links you post and not end up posting links with incomplete files.Thanks!:good:
[ONE General] chdpiyush:
thanks

thanks alot will check this method and let u know. i want everything stock. also stock recovery
[ONE General] kookie47:
a week back, the links were working as they should. i helped 7 of my friends return to CM11s with the same link. so its not my fault.

thanks
[ONE General] chdpiyush:
thanks alot it worked. now back to stock.
[ONE General] jitensetia:
Will this work for coming back to Stock from Blisspop ROM ?
[ONE General] NunoMoreira:
your

flash-all.bat

is bogus , never worked for me so I created one using only the commands from this guide and with a little eye candy customization (colour) use this one instead.

:p

you need to extract everything from the original rom.zip it means that:

NON-HLOS.bin

sbl1.mbn

sdi.mbn

emmc_appsboot.mbn

rpm.mbn

tz.mbn

logo.bin

static_nvbk.bin

system.img

userdata_64G.img

boot.img

recovery.img

cache.img

MUST be on extracted and present in the same folder as the bat!!
[ONE General] derekk75j:
is the method in 1st page able to revert from oxygen os?
[ONE General] ittakary:
NOT! Do not do that... It will hardbrick your OPO just I did with mine.

My OPO is now discovered by my PC as QHSUSB_BULK. NO ADB, NO fastboot, NO recovery, NO boot. :(

Can you help me with this?

I've googled it and there is a way to save the phone with flashing ColorOS, but it seemed to be VERY complicated. Any other suggestions?
[ONE General] benj!:
Worked fine for me
[ONE General] ittakary:
Hmm.. It's really really interesting. I mean I really cannot tell what makes the difference in this method if it bricks the phone or works like charm.

I could only heal my phone with this method. Installing ColorOS than after installing CM11S could save my phone from the hardbrick state :)
[ONE General] derekk75j:
did you brick your opo using this guide? Do you have an idea what's was wrong?

ps: The guide you've used to unbrick your opo helped me some times ago, it worked fine me too!
[ONE General] waterdaan:
If I understand it correctly the bootloader is actually these 3

sbl1 sbl1.mbn

aboot emmc_appsboot.mbn

rpm rpm.mbn

If you reboot in between flashing you'll brick your phone for sure

Flash manually or make your own flash_all.bat

http://xdaforums.com/showpost.php?p=60041929&postcount=413

---------- Post added at 11:05 PM ---------- Previous post was at 11:03 PM ----------

Your flash_all.bat will brick your phone if coming from oxygen!

You should take it down
[ONE General] derekk75j:
thanks, I understand. How did you take that info about partitions?
[ONE General] waterdaan:
http://xdaforums.com/general/paid-software/flashfire-t3075433
[ONE General] rjpa123:
Hi, EddyOS

Could you please weave your magic for CM12S.

Please and thank you.
[ONE General] :
Wanted to revert back to XNPH05Q and that is what I did. Thanks!
[ONE General] derekk75j:
I've downloaded 64gb zip from guide you linked,

this bricks my opo!! I verified, and md5sum of boot.img and one other file is different. Maybe this is the problem.

So, my problem is due to zip linked up, I didn't try the zip posted in 1st page.

PS: I restored my opo following this guide:

http://xdaforums.com/oneplus-one/general/guide-unbrick-oneplus-one-t3013732
[ONE General] anjath:
Any procedure to revert to stock 11s from 12s?
[ONE General] waterdaan:
Sorry to hear this

I changed my post, link
[ONE General] NunoMoreira:
I can asure you that the flash.bat I did will not brick your phone if you're not coming from oxygen os! I've tested it myself
[ONE General] bgibson72:
I used this successfully to revert from OxygenOS, so I'm not sure why someone told you it wouldn't work. You just have to perform a factory wipe first...
[ONE General] waterdaan:
That's correct

It will brick if flashing from oxygen, for the reason I mentioned
[ONE General] pxdx:
Oneplus One Stock 12.0-YNG1TAS0YL-bacon-signed-fastboot.zip

http://builds.cyngn.com/cyanogen-os.../cm-12.0-YNG1TAS0YL-bacon-signed-fastboot.zip
[ONE General] emam damon:
as far as i know this does not contain userdata_64G.img according to here:

https://forums.oneplus.net/threads/official-cos12-x-download-links-ota-factory.296778/
[ONE General] derekk75j:
yes, i had flashed from oxygen. Since I had seen that flashing boot.img had given me error from fastboot, i checked md5 sum

6abb970cf72716ad4edbbb840ed0b44f boot.img
3d43d4b6dff994a3225746b3934ae36e recovery.img
2abf9657fe57a8cceeba1634c432884d system.img

instead they should be (from the file fastboot.md5 inside the zip)

96a45b2061b39d01822771efec352aea boot.img
350799254b90c9baf4e35a8c5adb2702 recovery.img
27d714e7121b4ed2ca1eccd18a3c356b system.img

however, only boot.img gave me error, other partition flashed correctly.

And this was the problem

[MENTION=5507140]waterdaan[/MENTION]

Don't worry, I had already bricked my opo, and I knew what to do !

5 minutes and everything went ok :good:

Did you flash the zip in 1st page? me no, maybe this was the problem!
[ONE General] pxdx:
Yes, it does not wipe your Data..
[ONE General] sparcvx:
So following the directions as its mentioned by others will brick the OPO when coming from OxygenOS. Its happened because of the fastboot reboot-bootloader between each flash.

I was ok until -> fastboot flash rpm rpm.mbn and then the reboot after bricked the OPO. If you don't reboot the bootloader until the end it should work.

I was able to recover from the brick eventually, but that caused my NFC to not work until I flashed back to 30O and let it OTA to current.
[ONE General] emam damon:
[MENTION=2258271]EddyOS[/MENTION]

here is the right fastboot zip:

https://www.androidfilehost.com/?fid=95916177934555023

waiting for your build sir.thank you.
[ONE General] rtomakov:
After flashing (CM11 latest version for 64 GB device) tz image by instructions posted in post #1 , phone gone into Qualcomm BULK mode?

Phone is bricked !!!

OK, unbricked it with colourOS method and DallasZ qhsusb_bulk drivers (for bricked ZTE v9180).
[ONE General] mgrant50:
Kookie47's method (post 392) worked for me, using the commands, I was able to revert back to stock after installing Oxygen OS.

I downloaded the files from the cyngn.com/support site.

Thanks!!
[ONE General] :
If someone has issue with this thread, outside of a technical issue..... Then move along quietly and find a guide you do like.

Thanks,

Darth

Forum Moderator
[ONE General] flyhy224:
I am stuck!!! HELP!!!

I tried to get back to stock....

After started the

flash-all.bat

it gave me an error....

FAILED (remote: data too large)

finished. total time: 0.015s

After that my phone wont reboot...

its stuck in CyanogenMod Simple Recover <3e> KTU84P

How do I get my phone back? Some detailed help would be nice.

I am a noob and I just want to go back to stock and I found this guide...but I got stuck.
[ONE General] waterdaan:
Your version of fastboot is too old

Update it and try it again
[ONE General] Neroga:
Thank ya very much for this. Wouldn't let me download the first files in OP but I successfully got 22R to work and slowly updated to the latest 12s. Prior to downgrading, my NFC wouldn't work, my GPU would get stuck at 330MHz and up, as well have having horrible battery drain and wakeups. No matter what ROM/kernel combo I tried lol. Now everything is working better than when I purchased my One+ off of CL! You da man, brah.
[ONE General] calvinize:
Thank you very much for this guide! Got my phone into a bootloop and for some reason my computer is not detecting the adb, and I wasn't able to mount storage because I don't have an OTG cable. I had just formatted my internal storage so my ROMs are still not copied to my phone yet. Since my computer is not detecting the adb, basically I was only able to flash stuff through fastboot. Followed this tutorial and managed to boot my phone back up. Saved my life!

Is it weird or is it normal if my computer only detects adb when my device is on? (Not on recovery mode or something like that)
[ONE General] Structix:
Yes it's normal... You have to be in recovery mode or your device must be running to access it via adb.
[ONE General] calvinize:
Problem is, when I just finished clean wiping my phone, I can't access it via adb unless I boot the phone on and Enable USB Debugging in the settings. So if I don't have any ROM installed, I'll be stuck at recovery forever.
[ONE General] EddyOS:
What's the latest build now?

http://builds.cyngn.com/cyanogen-os...816218e8a/cm-12.0-YNG1TAS17L-bacon-signed.zip

or

http://builds.cyngn.com/cyanogen-os...263178b74/cm-12.0-YNG1TAS0YL-bacon-signed.zip
[ONE General] waterdaan:
S17L
[ONE General] EddyOS:
Cheers, updating OP in a bit
[ONE General] EddyOS:
OP updated with new CM12 builds
[ONE General] hughfollett:
Have you tester them? Or someone for you? Or you are somehow sure they work??

Inviato dal mio A0001 utilizzando Tapatalk
[ONE General] EddyOS:
No, but they're exactly the same as the previous ones that DO work, just with the updated files so there is no reason why they won't work (and fastboot flashing each image is pretty much the same every update anyway ;))
[ONE General] zer0lab.dev:
hey mate..

I tried it but I got error like in attachment..

I did everything as indicated :(

EDIT:

ok sorry, my error: I ha to also extract the other zip, while I thought it was to be left as zip file..

BTW, I can confirm that it works like a charm: 64 GB YNG1TAS17L coming from custom ROM with TRWP. I used flash-all.bat.. It works

thanks a lot mate! ;)
[ONE General] EddyOS:
Not a problem, glad to help!
[ONE General] mjprashanth:
Just hoping that this gives me a breather..

Please help me with the woes of CM12s

I have done all the updates with the OTA and recently received an update on my OPO for the yng1tas0yl and subsequently YNG1TAS17L. With these two my phone has not only started overheating but the battery life has taken a toll. I am unable to even get 6 hours.

The phone is Unrooted, Not unlocked and there have been no modifications. I have tried a clear cache partition and this has not helped.

Can you please let me know if the procedure would work in my case or if I have to do anything additional to go back to CM11s and preferably 38R as I have heard rave reviews of it..

Please help..
[ONE General] xavierpitz:
Phone hard bricked

Hello,

Yesterday I used this guide to downgrade my Oneplus one to the latest CM11 release after a failed OTA / ADB sideload & Fastboot update.

Today I saw that this guide has been updated with the new CM12 build. I had good hope to be to update my phone to CM12 this way but...

D:\Temp\cm-12.0-YNG1TAS17L-bacon-signed-fastboot_64GB>flash-all.bat

< waiting for device >

target reported max download size of 536870912 bytes

sending 'modem' (57361 KB)...

OKAY [ 1.798s]

writing 'modem'...

OKAY [ 0.756s]

finished. total time: 2.555s

rebooting into bootloader...

OKAY [ 0.004s]

finished. total time: 0.005s

target reported max download size of 536870912 bytes

sending 'sbl1' (273 KB)...

OKAY [ 0.011s]

writing 'sbl1'...

OKAY [ 0.010s]

finished. total time: 0.022s

rebooting into bootloader...

OKAY [ 0.005s]

finished. total time: 0.005s

< waiting for device > <<-- Freezed / hard bricked here

I only managed to completely hard brick it.
[ONE General] CBpbxEcmecmBeH:
maybe this is related http://xdaforums.com/showthread.php?p=60127708

look for unbrick instructons
[ONE General] xavierpitz:
I was able to hard-unbrick it with this.

http://xdaforums.com/oneplus-one/general/tool-oneplusrecovery-tool-v1-0-restore-t2991851

But my One came back with an even older CM11 to life.

I tried the Stock Restore again (to the latest CM12) and it hard bricked my phone again.

Hopefully I now know how to hard-unbrick it...
[ONE General] effry:
i hard-bricked in the same way... please OP remove the file and make a fixed version this is really dangerous
[ONE General] xavierpitz:
Hello Effry.

I managed to hard-unbrick it with the following procedure :

http://xdaforums.com/oneplus-one/general/tool-oneplusrecovery-tool-v1-0-restore-t2991851

Don't use the Chinese drivers referenced in the first post but those from Titokhan here :

http://xdaforums.com/showpost.php?p=58145465&postcount=48

But yes I agree with you something is wrong with the latest ZIP. YNG1TAS17L 64GB

I was able to un-softbrick my One with the previous one. XNPH05Q 64GB

This is why I gave this latest YNG1TAS17L a try.

I suspect something related to a trusted zone setting/data/something missing but I don't know what it is.

See my post here : OTA, sideload & fasboot updates to cm12 YNG1TAS17L fails
[ONE General] prince.raja:
I downgraded from YNG1TAS17L

to 05Q today by manually flashing with commands provided by OP in the first post.
[ONE General] EddyOS:
There's nothing to fix as it's the same files/process as any other factory image. Others have said it works fine so I'm guessing it's your phone/PC causing the brick
[ONE General] xavierpitz:
Well if if you say so...

I can only say that

I was using the same PC, the same phone, the same same procedure, the same batch script two days ago with the previous cm-11.0-XNPH05Q-bacon-signed-fastboot_64GB.zip

100% Stock release to go back to XNPH05Q after a soft brick due to a YNG1TAS17L OTA upgrade, and

I successfully un-softbricked it

!

This is why I gave the last release a shot because I was confident it will allow me to go to the YNG1TAS17L release and I managed to hard-brick my OPO by doing it.

My personal feeling is that this "release" is OK for a big majority of the OPOs. All of those that are able to make YNG1TAS17L work will probably be able to use this to stock restore to it.

But there is a problem with YNG1TAS17L for some OPOs :

- Trying to OTA/ADB Sideload results in a soft bricked phone.

- Trying to Fastboot update is impossible because Fastboot update then complains about TrustedZone problems (don't ask me what it is but it may be the root of all pains for the cases like me)

- Trying to Stock Restore to it with the flash-all.bat script freezes in the middle of the update and results in a hard bricked OPO.
[ONE General] mjprashanth:
Revert from OTA YNG1TAS17L to XNPH44S

Please confirm if I can revert from OTA YNG1TAS17L to XNPH44S ? The boot loader is locked and the phone isn't rooted either. Can you please confirm if I can go back to XNPH44S with the procedure...Thanks in advance...
[ONE General] Mohdsultan:
Will i lose my internal storage if i use the script?

and is there a way i cannot lose the internal storage?
[ONE General] waterdaan:
Flashing userdata will wipe your data
[ONE General] Mohdsultan:
Ohh ok then i wont flash the userdata file.

Will i have problems if i dont flash it?
[ONE General] waterdaan:
No problem
[ONE General] Mohdsultan:
Thanks bro :D.
[ONE General] hughfollett:
Just to make everyone who reads this thread know that this is SAFE to use. You need to know how to use it. Flashing with the flashall script included only works if you are on the latest firmware (the one that ships with cm12.1 nightlies). If you flash the last 11S update using the flashall script on top of COS12/CM12/CM12.1 you'll brick your device. If you flash all the components without rebooting it'll work just fine. Be aware of what you do and don't just flash something for the sake of it

Inviato dal mio A0001 utilizzando Tapatalk
[ONE General] dlwd78:
This happened to me. I decided to go back to CM11S and ran the flash-all.sh script on top of factory CM12 and bricked. I used the OnePlusRecovery Tool successfully and after flashing custom recovery again I used this CM12 firmware (thanks [MENTION=1228651]fusionjack[/MENTION]) right before flashing a 5.02 ROM. No problems anymore.
[ONE General] andrebranquinho:
So [MENTION=4262240]hughfollett[/MENTION], Can I use this guide to revert from cos12 to cm11s, as long as i don't reboot between flashing? Or will it brick my device?
[ONE General] hughfollett:
You can use these factory images, but flash them manually without rebooting. I did it without any problem. Use the instructions in CM11S thread in Original Development (I think the ones in the OP are good too, just don't follow the reboot commands after each flash)

Inviato dal mio A0001 utilizzando Tapatalk
[ONE General] apitnauli:
Can't download this one YNG1TAS17L 64GB: https://www.hightail.com/download/bX...eDNubHhESjhUQw

md5: 3F1816D2A31D64BDB6FB37FD3AB47BA4
[ONE General] hughfollett:
So the official factory images are up here: https://cyngn.com/support but they seem a bit different from the ones that were on the servers before. [MENTION=2258271]EddyOS[/MENTION] could you have a look at them? I found a system.new.dat that wasn't present in the other images. TIA
[ONE General] waterdaan:
This is flashable in recovery,

Instead of fastboot
[ONE General] hughfollett:
have you tried flashing them? do they wipe storage too? also, is it flashable with the stock cm recovery?
[ONE General] waterdaan:
I haven't flashed it

Yes it'll wipe data, factory reset

from updater-script

format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "0", "/data");

And replace recovery

package_extract_file("recovery.img", "/dev/block/platform/msm_sdcc.1/by-name/recovery");
[ONE General] mirosaw2:
i think i bricked my phone !! ..

after flashing sbl1 phone is totally dead and can't be recognized by PC and i don't know why !!

phone was on ColorOS 4.3 and i'v been following the guide ..

what can i do now ??
[ONE General] chrismalla:
Yes, I bricked my phone too after flashing this. Luckily I managed to restore it by following the guide here: http://xdaforums.com/oneplus-one/general/guide-unbrick-oneplus-one-t3013732
[ONE General] mirosaw2:
thx for your help .. i managed to unbrick my phone by following your thread ..

after finished unbricking the phone i noticed that message "NV partition is invalid" but IMEI was there ..

then i flashed CM12S from this thread .. now i don't have IMEI ..

i also noticed that phone model is A1001 not A0001 ..

now what can i do to fix that problem ?

thx in advance.
[ONE General] chrismalla:
Follow the instructions in the following link, read under the eighth (number 8) subtitle (the subtitles are blue). Also read below subtitle number 10 about IMEI and EFS: http://xdaforums.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471

[MENTION=2258271]EddyOS[/MENTION] Before posting zips, you should ALWAYS make sure they work as expected. Please remove the links in the OP until you have fixed the problem, otherwise more people will have their OnePlus Ones bricked.
[ONE General] mirosaw2:
I've read that already .. but i don't have an EFS partition backup .. !

note that now i have OnePlus One A1001 model with A0001 CM12S !!

if i found the original A1001 unicom firmware as my phone .. that will fix my probelm .. ??

or now i'm stuck with an entertaiment device ?

thx again for the help
[ONE General] EddyOS:
Thanks. The new file is the new update layout which I don't know how to extract/flash so I'm afraid this could be the end of this guide :(
[ONE General] EddyOS:
The updates work fine, I've had confirmation earlier in this thread saying so. I no longer have an Android device, let alone an OPO, so cannot test anything but as someone has said it works the links will remain
[ONE General] waterdaan:
http://xdaforums.com/showpost.php?p=60668194&postcount=197
[ONE General] oopstairs:
I think the cause of people bricking their device is "fastboot reboot bootloader" command after every flash command in the .bat file. It's not necessary to reboot to bootloader after every flash command. I'm sorry bro but I agree with [MENTION=4595501]chrismalla[/MENTION]
[ONE General] chrismalla:
If I may: When people sees a fastboot image, they take for granted it doesn't matter from what previous software version you come from as the script just overwrites all partitions. You have not provided ANY warning either about it. I am telling you, the flash will work when coming from [some previous software version, probably the latest], but it will brick the device when coming from any other. I also thought that the previous software version didn't matter when flashing complete factory images via fastboot, but it turned out it very well does. So now that you know, please, at least provide a big red warning in the OP.

Yes exactly, that is the very problem, I don't know why. [MENTION=2258271]EddyOS[/MENTION] could remove the strings in the script that reboots the phone into fastboot mode after each flash. That would probably fix the brick issue for everyone. But as it is standard to reboot the phone after each flash it should have some sort of purpose. However, what that purpose is I have no idea. But I can confirm that flashing all the files in a row manually without reboots worked out perfectly anyway.