yashsingh1/xdaforums huggingface dataset:
[ONE General] DGX_Goggles:
The fastboot images listed are for CM though. I have a Chinese OPO and the stock OS and recovery for this are both ColorOS, and in the past when I've tried to flash stock ColorOS and recoveries I've located on the internet, it hasn't worked out well. I'd like to make a copy of my own so that I don't have to worry about the source of my backups.
[ONE General] Heisenberg:
For /system:

dd if=/dev/block/mmcblk0p14 of=/sdcard/system.img bs=512

For /recovery:

dd if=/dev/block/mmcblk0p17 of=/sdcard/recovery.img bs=512

Transmitted via Bacon
[ONE General] DGX_Goggles:
Is there a way to do it without requiring superuser? Like something via fastboot?
[ONE General] ted77usa:
[MENTION=4153349]timmaaa[/MENTION]

Great guide Mate.... i hope I'm not to late to joint Bacon Party. ...... New Beginning
[ONE General] Spannaa:
It's never too late...

Welcome to bacon and the CM11 theme engine ;)
[ONE General] ted77usa:
[MENTION=2948558]Spannaa[/MENTION]

Good to you see in here too sir.... U are One of my Themer mentor.[emoji106]
[ONE General] Heisenberg:
You can't backup root partitions without having root.

Transmitted via Bacon
[ONE General] s8freak:
[MENTION=4153349]timmaaa[/MENTION] like an idiot I flashed the official 5.0 lollipop from Oneplus site and wiped root and my custom recovery.

I used your guide here as I did before. Bootloader is unlocked no problem but as I installed twrp using fastboot as per guide and rebooted it kicks me into stock recovery. My question is might something have changed in the official 5.0 update that would cause any problems? Thank you in advance
[ONE General] Heisenberg:
I haven't messed around with that official OnePlus release so it's a bit hard to comment, but how is it flashed? Is it a ROM zip? Fastboot images?

Transmitted via Bacon
[ONE General] s8freak:
ROM zip I followed the instruction and flashed gapps booted fine.
[ONE General] Heisenberg:
Is there a setting in Developer Options like "update CM recovery" or something like that? That could be what's causing the problem.

Transmitted via Bacon
[ONE General] s8freak:
I didn't see it but let me recheck

Edit: negative nothing that looks like that.
[ONE General] shrikantk:
Why is my OPO rebooting continiously ? Can u help pls

Hi

Thanks for providing a detailed guide. I have followed it to last word and installed everything. I find that the phone is now in a "Infinite loop" of rebooting . What did i do ? did i mess up some thing.? How can i fix this. Pls guide.

Thanks

Shrikant
[ONE General] Heisenberg:
Please be more specific, exactly which sections have you followed? What was the last thing you did to the device?

Transmitted via Bacon
[ONE General] eddy4823:
I flashed TWRP but it still boots in Cyanogen recovery always. Why ?
[ONE General] CBpbxEcmecmBeH:
Uncheck update CM recovery in developer options?
[ONE General] Jusnice:
I as well am having problems with twrp sticking. Not sure what's going on. I flashed twrp with update cm recovery checked and unchecked and twrp still didn't stick. It is possible that when we flash an OFFICIAL stock rom that it locks the bootloader? I'm jus going to unlock it again and start from scratch.
[ONE General] Heisenberg:
Did you follow the instructions and uncheck the "update CM recovery" option in Developer Options?

Transmitted via Bacon
[ONE General] Heisenberg:
There's no point in trying it with the "update CM recovery" option checked, not sure why you're doing that, it's kinda like trying to walk through a closed door. You check your bootloader status with this command:

fastboot oem device-info

Transmitted via Bacon
[ONE General] eddy4823:
that was EXACTLY the issue. Thanks. I didn't know that there was this option in dev options. Thanks again.
[ONE General] Heisenberg:
I do mention that in the instructions.

Transmitted via Bacon
[ONE General] eddy4823:
Yes, but I just read the codes at first sight and they were the same as Nexus 4. So I thought that there's nothing I need to do extra. :). Thanks anyways.
[ONE General] Heisenberg:
Well, that's why it pays to read instructions properly lol, glad you're all good now though.

Transmitted via Bacon
[ONE General] Jusnice:
Yes i figured that but i tried anyway. I finally got around to get on the pc and got twrp to flash properly. Not sure why it didnt work a couple of days ago though but thats what i get for multitasking my ps4 with my opo. Last time i do that lol. Thanks for the device info, saved me from wiping.
[ONE General] a.mccaskell:
flash color os to cm11s

hi timmaaa,

I have just received a new one plus one from china with color os installed, I want to change to cm11s. I know nothing about flashing phones etc. I know a little about pc and can get the command promt going etc and so I think I could do it with proper guidance. your guide here seems to be the best dummy friendly guide I have read in the past 3 days.

can you guid me through the process to change from color os to cm11s?

I don't want to do anything other than replace the os with one that is supposed for a dummy from the uk
[ONE General] Heisenberg:
Just follow the two links in the introduction to install adb/fastboot (via the Android SDK) and the PC drivers for your phone, then follow sections 1, 2, 3, and 8 of the guide.

Transmitted via Bacon
[ONE General] Aayush_goel:
device freeze

yesterday i got my device and i was copying files over it , updated all the google apps including google play services.

after copying got over , i restarted my device and the screen got black and it froze as it is . i had to restart it by pressing the power button for some time .

when it booted up , just to make sure everything was ok , i again restarted , same thing it froze. then instead of restart i did poweroff , it worked and after that restart also started working ,

what could be the issue????
[ONE General] Heisenberg:
It's too hard to say, there's a myriad of reasons why a device might do that.

Transmitted via Bacon
[ONE General] Aayush_goel:
any proven reason???

i am on 44s
[ONE General] Heisenberg:
I have no idea why it's happening, sorry.

Transmitted via Bacon
[ONE General] Aayush_goel:
i really hope its not hardware
[ONE General] a.mccaskell:
color os to cm11s

hi timmaaa,

thanks for your reply, i got an eamil from the dealer in china and they say that there is a bug in in cm that means it cannot recognise 64gb rom.

have you or anybody else seen this?

they also pointed me to a link https :// cyanogenmod dot org which looks like the official cm flash site.

(forgive the above i cant post outside links)

whats your thoughts?
[ONE General] Heisenberg:
I have no idea what you're talking about, if you're referring to a previous post you need to quote it.
[ONE General] a.mccaskell:
sorry, my bad. im new in here.

---------- Post added at 10:52 AM ---------- Previous post was at 10:44 AM ----------

this is the previous thread i was referring to

once again

very sorry

---------- Post added at 11:00 AM ---------- Previous post was at 10:52 AM ----------

and this is what started it
[ONE General] Heisenberg:
Ok, I'm following you now. I think the dealer probably doesn't know what he's talking about. Plenty of people have swapped from ColorOS to CM11S without any problems. If for any reason you do end up with wonky storage you can just flash the appropriate userdata image from the fastboot images to fix it.

Transmitted via Bacon
[ONE General] jnraj:
Error flashing from CM11S to CM12

Got this error assert failed: oppo.verify_trust zone etc attaching a pic View attachment 3129971.
[ONE General] Heisenberg:
I've never seen that error before so I'm not sure what's going on there. Did you perform a full wipe before flashing?

Actually, go here:

http://xdaforums.com/showthread.php?t=3010899

Looks like others are having the same problem.

Transmitted via Bacon
[ONE General] Spannaa:
Have you enabled encryption?

Sent via Bacon...
[ONE General] jnraj:
was successful with a previous nightly. Thanks :)
[ONE General] rustamg:
one plus rooted but device did not wipe

I had installed android lollipop on my one plus but wanted to return to kitkat . so i flashed the device and installed kitkat but i made a mistake of not rooting the device again and installed all apps and media . now i have followed the steps till " how to root by installing SU " but in no step did my device wipe the installed apps and all . But the rooting worked . is this ok ??
[ONE General] azpatterson3:
That's how I ended up rooting mine. I've had no problems. Root checker verifies and apps that require root access have no problems. Should be good to go. Adb gave me trouble after fastboot unlock and twrp install so rooted just on the phone.
[ONE General] Heisenberg:
You're confusing rooting the device with unlocking the bootloader. You only need to unlock the bootloader once, and it stays unlocked unless you lock it again manually. Changing ROMs does not lock your bootloader. Your stuff wasn't wiped because the wipe occurs during the unlocking of the bootloader, this didn't happen because your bootloader is already unlocked.

Rooting the device is entirely different, root just gives you access to partitions on the phone that you normally wouldn't have access to. You lose root every time you wipe the system partition (before/during a ROM flash), but most ROMs are pre-rooted so as soon as you boot up after flashing your ROM you should have root again.

You really should know all this if you're modifying your phone. I'd strongly suggest that you do some research and educate yourself a bit better before messing with your phone any more, without actually knowing what you're doing it's only a matter of time before something bad happens.

Transmitted via Bacon
[ONE General] Biggspeed:
Son's CM11 recovery bootlooped OPO

Hi,

Can anyone tell me why my son's phone bootloops into CM11 recovery? I cannot get it into Fastboot/bootloader via ADB or any OPO toolkit. I even went through the process of installing colorOS and all that did was loop into colorOS recovery.. basically it will only boot into recovery no matter which ROM is installed.

Help please.
[ONE General] Heisenberg:
You're already posting about this in another thread, please don't make duplicate posts, it's against the rules.
[ONE General] Biggspeed:
Wasn't getting a response.. Mods can delete then..
[ONE General] Heisenberg:
It had only been three hours since posting in the other thread that you posted in here. Everyone has lives outside of XDA, maybe a bit more patience is in order.

Transmitted via Bacon
[ONE General] Biggspeed:
Yes they do and so do I. Trolling forums looking for answers and help is not part of it. But thanks for being you. Have a son that doesn't make a lot of money and who needs his phone ASAP for work. I only have a limited time to attempt a repair.. My bad for waiting just 3 measly hours to get a response from you stating that I double posted and that is not allowed. Thanks again. Quick release the ban hammer.
[ONE General] Heisenberg:
The rules are the rules for a reason, I'm not going to argue with you about it. I was merely informing you of something, and giving a reason as to why I wasn't replying in this thread. There's no need for the attitude. Good luck fixing your son's phone.

Transmitted via Bacon
[ONE General] lokesh.3440:
Is it possible to relock boot loader ?
[ONE General] Heisenberg:
Yep.

fastboot oem lock

Be warned though, many people who have relocked their bootloader haven't been able to unlock it again. Why do you want to?
[ONE General] eko3484:
Thank you so much for making this tread :) A huge help

Sent from my OnePlus One
[ONE General] TexZen:
:p

This x1000.

Once unlocked, leave it that way.
[ONE General] tetakpatak:
[MENTION=4153349]timmaaa[/MENTION] great thread mate :) I was just wondering the command for kernel flashing in the first post, shouldn't it be:

fastboot flash [b]boot[/b] boot.img

tetakpatalked from Nexus 7 flo
[ONE General] Heisenberg:
Yes, it absolutely should be! Sorry, and thanks for bringing it to my attention. All fixed now. [emoji106]

Transmitted via Bacon
[ONE General] tetakpatak:
Cool. Please don't appologice, mate :) it is really so nice of you for helping people here.

BTW, I'm really glad to be now new member of the OPO family. I own OPO since 3 days (it is present for my wife for her i9000 is dying), fantastic device. Its stock CM11 is cool, it has so many features (even DT2wake and DT2sleep on status bar) so I didn't even install Xposed frameworks yet. Just few dark UI apps by the TBO team, now it is nearly like SlimKat.

tetakpatalked from P5110
[ONE General] :
This is a Q&A thread as well, correct?

Is there a story as to why the One is codenamed "BACON"? Coming from the Nexus line being named after fish, bacon seems strange but delicious.
[ONE General] Heisenberg:
No idea why they named it Bacon, other than bacon being awesome.
[ONE General] lokesh.3440:
Hi [MENTION=5051515]tetakpatak[/MENTION]....Nice to see you here. We met very often in Galaxy tab 2 thread. I also got one plus one last week, Its an awesome device. I hope your intuitive ideas and expertise will make this community advancing further.

:laugh::laugh::laugh:
[ONE General] ahighfield:
Think it was related to BLT, with Bacon being first... Not sure what would come after Tomato... LOL!

Sent from my OnePlus One

---------- Post added at 01:15 PM ---------- Previous post was at 01:10 PM ----------

Thought I would post here first before starting a thread. I couldn't find anything by search.

Last week, my OPO started forgetting my saved home Wi-Fi passwords so I have to re enter it every time it reconnects... Very frustrating!

I am on 44S not rooted. I run Tasker to switch Wi-Fi on and off when not home etc but that has never caused a problem in the past when reconnecting.

Just wondering if anyone seen a thread on that or experienced it before also...

Sent from my OnePlus One
[ONE General] Heisenberg:
I think I might have seen threads discussing this in the q&a section, it'd take some searching though. Have you tried disabling Tasker to see if that's the culprit?

Transmitted via Bacon
[ONE General] tetakpatak:
But... but I am a vegetarian :(

tetakpatalked from Nexus 7 flo
[ONE General] miguepereira77:
It's a sandwich! Isn't? Bacon+Lettuce+Tomato
[ONE General] Heisenberg:
Well, you're missing out then [emoji13]

Seriously though, it's just a codename, the official name for the device is A0001 so maybe think of it as that instead.

Transmitted via Bacon
[ONE General] ahighfield:
You'll love the Lettuce and Tomato then, LOL!

Sent from my OnePlus One

---------- Post added at 07:44 AM ---------- Previous post was at 07:42 AM ----------

Thanks timmaaa, I'll try that, it obviously shouldn't be, but I can't think of anything else at this point.

Sent from my OnePlus One
[ONE General] gil80:
Can't flash the ZIP

Hi,

I'm getting

fastboot update -w /Users/gillevy/Downloads/mobile/OnePlus\ One/cm-11.0-XNPH44S-bacon-signed-fastboot.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...:
Baseband Version.....:
Serial Number........: 5e3c4eb3
--------------------------------------------
checking product...
OKAY [ 0.003s]
sending 'boot' (5580 KB)...
OKAY [ 0.192s]
writing 'boot'...
OKAY [ 0.104s]
sending 'recovery' (7512 KB)...
OKAY [ 0.242s]
writing 'recovery'...
OKAY [ 0.138s]
erasing 'system'...
OKAY [ 0.354s]
sending 'system' (801257 KB)...
FAILED (remote: data too large)
finished. total time: 1.149s

please help

Edit:

Never mind. I hard bricked the device. Can't get into bootloader anymore.... :/ there goes my phone.
[ONE General] Heisenberg:
How did you install adb/fastboot? That error usually occurs due to an outdated version.

Transmitted via Bacon
[ONE General] gil80:
It was already installed on my mac.

but if you see the edit for my post, it doesn't matter anymore. the device is hard bricked.

Cant get into bootloader anymore
[ONE General] Heisenberg:
How did you brick it?

Transmitted via Bacon
[ONE General] gil80:
I did adb reboot-bootloader and that was it
[ONE General] Heisenberg:
After a failed flash? Whoops.

Try this:

http://xdaforums.com/showthread.php?t=2991851

Transmitted via Bacon
[ONE General] gil80:
Thanks mate.

I'm just trying this: http://xdaforums.com/showpost.php?p=55024864&postcount=136 but I think since I'm using Win8.1, the color OS driver installation fails (though it seems to be completed) I also disabled driver signature to no avail. As the dude mentions in his thread, it works on Win2003, but I have no idea where to get a VM of 2003. I'll go over the link you sent.

I'm a bit newbie in these things. I didn't know the adb reboot will brick it, though it makes sense. I just didn't expect a flash failure due to file size...

---------- Post added at 05:02 AM ---------- Previous post was at 04:30 AM ----------

I can't make this work.

It keeps failing after flashing just one file...

I think it's dead for good....
[ONE General] Heisenberg:
The problem with rebooting after a failed flash is that the reboot actually applies any changes you just made, so if the change you just made was an incomplete flash you've just applied corrupt/incomplete partitions. If you keep the phone in fastboot mode after a failed flash the changes haven't actually been told to activate by the bootloader, so you can just flash again and fix the incomplete previous flash. That's just some info for next time.

Anyway, don't give up too easily, ask for some help from the dev of the brick recovery tool I linked you to, quite a few people have nearly given up only to have it succeed after some troubleshooting and perseverance. We all start somewhere, this is tough but keep trying, and the silver lining (if you care to see it that way) is that you're gaining some very valuable knowledge and experience out of this.

Transmitted via Bacon
[ONE General] gil80:
Thanks for the support.

I think I might have made it work... still waiting to see..

If the issue was having old fastboot version, then where can I get a new one for mac?

currently running 1.0.31

Using step 8 in OP, instead of flashing the ZIP file, can I just flash the .img / bin files one by one ?
[ONE General] Heisenberg:
Go to this page:

http://developer.android.com/sdk/index.html

Scroll down to the downloads section near the bottom and grab the SDK Tools Only for Mac OS X. That's the best way to ensure that you have the latest version installed. Here's a pretty good tutorial on how to get it all working:

http://9to5google.com/2014/12/02/how-to-install-adb-tools-windows-mac-linux/

Yes, you can just flash the files one by one.

Transmitted via Bacon
[ONE General] mike3run:
I was able to do so no problem just saying
[ONE General] Heisenberg:
Yeah, many people have been able to, but many people haven't too, hence the warning.

Transmitted via Bacon
[ONE General] tetakpatak:
If nothing helps, send your OPO to China for repair. I'm sure they will replace your MB for reasonable price and your phone will be new again.

tetakpatalked from N7100
[ONE General] tetakpatak:
Hi, mate!

Nice to see you here again! :) with end of KitKat I am actually now out of development contribution... I'm not such a big fan of Lollipop and Google's new philosophy which is IMHO going ever more away of Linux and shareware.

But I am big fan of OPO and will enjoy it now as average user :D
[ONE General] Nik2468:
Hello. I had problems with the OTAs (I was still on 38R), so I tried using the One Plus tool to restore the factory image. It got stuck on "erasing reserved4" (at the beginning of the script, without flashing anything) so I tought I might aswell flash 05Q manually. I had no problems flashing kernel, recovery (TWRP), ecc until I got to system.img. The prompt got stuck on "writing system". It's not sending any data, just trying to write. It's been 15+ minutes now, should I just wait or stop try to flash again?
[ONE General] Heisenberg:
It definitely shouldn't take that long. How did you install adb/fastboot? What cable are you using?
[ONE General] Nik2468:
It definitely was a fastboot issue. Recovery was ok, so after a few tries I just used the flashable zips 33R->38R->44S->05Q. TWRP had no problem flashing them and now the phone is working.
[ONE General] vikashboss:
hi

i tried for backing up EFS Partition. i did those steps written in the guide but i am not able to find that files modelst1 and modelst2 in my opo (64gb). i search in my opo internal storage but i could n't find it ,would you please tell me where are these files located in the internal storage
[ONE General] CBpbxEcmecmBeH:
Just follow the instructions in the "terminal" picture. The files are in /dev/block/ which is apparent from the latter.
[ONE General] Heisenberg:
They would be at the root level of your storage.

PS. Please don't quote the whole OP of a thread on XDA, it's a huge no-no.

Transmitted via Bacon
[ONE General] tetakpatak:
Hey mate, please edit your post and erase the huge quote of the OP.

Alternatively, you can use PhilZ recovery to create backup of your efs1 and efs2 under "advanced backup"

tetakpatalked from Nexus 7 flo
[ONE General] ketut.kumajaya:
As I said to [MENTION=5153662]Android-Andi[/MENTION], I joined "the elite club of bacon self builder" today, cm-12.0. How are you?

Thanks [MENTION=4153349]timmaaa[/MENTION] for this guide, very useful for a new OPO owner as me :good:
[ONE General] droidriz:
[MENTION=4153349]timmaaa[/MENTION]

why are we not using official twrp?

actually i also flashed techarta's twrp but some thread says unofficia twrp leads to loss of efs partition
[ONE General] Spannaa:
That IS the official TWRP!

Click the "Download the newest .img file here" link on the OnePlus One page on the TWRP website and see for yourself ;)
[ONE General] droidriz:
heheh i am so sorry i sometime act like m noob since its new device for me so being too conscious:p:D:o
[ONE General] tetakpatak:
Wow, Ketut is also here! :) Cool, we meet again in OPO threads! Yes, great from [MENTION=4153349]timmaaa[/MENTION] for he has created this thread.

Hey, I've just received my own OPO, I couldn't resist after my wife got het OPO some weeks ago

tetakpatalked from N7100
[ONE General] ketut.kumajaya:
And, after unlock the bootloader, I found a way to root OPO but keep the official stock recovery.

1. Reboot into boot loader mode

2. Temporary boot TWRP recovery: "fastboot boot twrp-recovery.img"

3. Flash SuperSU flashable zip in TWRP

4. Reboot

So, switch to TWRP recovery to root is not a must. Congratulations for your brand new OPO device :laugh:
[ONE General] Heisenberg:
That's ok if all you want to do is root the stock ROM, but for anything else you need a custom recovery. Plus, there's no actual benefit to keeping the stock recovery.

Transmitted via Bacon
[ONE General] asim.sidz:
Thanks man!

I had been constantly banging my head on different threads but was unable to return to the stock ROM. Followed the section 8 and it worked like charm! Thanks a lot, [MENTION=4153349]timmaaa[/MENTION].. You saved my ass because it wasn't my 1+1. :D
[ONE General] tetakpatak:
[MENTION=4021423]ketut.kumajaya[/MENTION] ....exactly, but if you flash custom recovery with fastboot, mind to do something before: settings/developer options/uncheck "update CM recovery", otherwise it won't get overwritten

:D

EDIT: since OTA to xxxx50x, "fastboot boot recovery.img" isn't working anymore. Probably new bootloader in fw update. Modding system apps has caused lost of root, SuperSU couldn't be flashed anymore. Stock CM11 removed now, back to old good SlimKat :D

tetakpatalked from N7100