yashsingh1/xdaforums huggingface dataset:
[ONE General] misterjester:
Hi TImaaa, thanks for the tutorial

Hi Bro,

Thanks for the tutorial, but I seem to be doing something wrong and am having a few issues. After 3 days I am still stuck at step 1. So decided to ask.

I downloaded the SDK manager as well as the Android platform tools. But for some reason fastboot and ADB cannot seem to find my device on the computer at all. I have done a factory reset of the phone, got rid of all the data but still for some reason the Fastboot and ADB does not seem to recognize my One plus one. I even downloaded and installed the universal drivers from the link provided and its still not helping the cause, anything I am missing or I should be doing.

It just completes the task without errors, and without sjhowing any device ID. Now without this step its hard to go ahead, so am trying to figure this out. Can someone help.
[ONE General] Heisenberg:
Did you reboot your PC after installing the drivers? Can you please show a screenshot of an attempt on a fastboot command?
[ONE General] ILuvRice:
Just wanted to say thanks to OP. Thanks to step 8 and a couple of other threads, I was able to return to stock a one plus one 64GB I bought used from someone. I already typed a long winded post in another thread so I'll keep this short. XDA and the people who are here are awesome!
[ONE General] _Spectrum:
Thanks for the tutorials. Just got my new one plus one and going to unlock boot loader soon!
[ONE General] cron0s879D:
Is it possible execute all commands with only one step? :D

There are too much commands!
[ONE General] tetakpatak:
Please edit your post and remove such a big quote.

tetakpatalked from A0001 (OPO)
[ONE General] cron0s879D:
now is it well?
[ONE General] Spannaa:
You could write yourself a flash-all.bat file to automate it.

Sent via Bacon...
[ONE General] cron0s879D:
Sorry, how to it make a .bat file?

Is it possible save this text in a .bat file and execute it?

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 flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img

thank you another time!
[ONE General] Spannaa:
That should work - just add fastboot reboot after the last line.
[ONE General] cron0s879D:
ok! thank you! I will try it!
[ONE General] cron0s879D:
I try it but it doesn't works.

It's a pity
[ONE General] Spannaa:
I assume the the contents of the fastboot zip were extracted into the same directory as your fastboot.exe

What was the error message?
[ONE General] cron0s879D:
I've not get any message of error. I've execute the .bat and It do nothing. Only open cmd and close fastly.
[ONE General] Spannaa:
I edited my previous post to ask if you'd extracted the contents of the fastboot zip into the same directory as your fastboot.exe
[ONE General] cron0s879D:
I've added a first line with this:

cd Desktop/android-sdk-windows/platform-tools

I have the fastboot.exe in this directory. With this line it doesn't works.
[ONE General] Spannaa:
And does it work if the contents of the fastboot zip are also in that directory?

You could have flashed everything manually by now!
[ONE General] tetakpatak:
You have already wasted tripple amount of time here asking how to void entering fastboot commands than it would take time to do it one by one, LOL

:D

tetakpatalked from N7100
[ONE General] cron0s879D:
yes, the all contens are in the same directory. I think that is a problem that I need wait for do each operation. But I don't know the script language. Don't worry, I will do manually :laugh:

yes, it's true :laugh:
[ONE General] Saran Kumar:
Very very useful guide! Thanks for sharing!
[ONE General] anonymous_dude:
Stuck while flashing system.img

I did everything as per the guide. At one of the final steps, that is while flashing the system.img, the process is stuck. It's not showing FAILED or OKAY.

It's taking an unusually long amount of time.
[ONE General] Heisenberg:
It's still stuck?

Transmitted via Bacon
[ONE General] anonymous_dude:
Stuck at flashing system.img
[ONE General] krazyq:
What an amazing guide.

Just got my 2nd OPO (first one broke)

I've heard a lot of bad stuff about the latest OPO update so this time I thought I'll start the phone from scratch. Installed the fastboot image, followed your guide and it was really easy.

Thanks!
[ONE General] NWKENT:
Sir @ OP..

I have a simple, very basic, (adb.zip) without all the SDK bloatware to the computers hard drive (for Windows)..file size is 37mb..one would unzip to the computers root directory and that's it..looks like this >> c:\adb

Included is drivers for up to Windows 7 Pro..one just places the device files needed..recovery file, FXZ files (aka) system files such as (.img) in the adb directory and that's it..just run the needed commands in the cmd window..

With the folder named simple and in the root directory..saves time keyboarding..I will certainly share, if anyone can use it..I do all my flashing this way..simple, quick..if you wish to add the file to your guide..

sent by my: SandStone Black (#1) 1+1

"The FlagShip Killer"

"Praise Jah" YOU people.!
[ONE General] david72262:
Will these drivers work on windows 10?
[ONE General] ~MaX~:
how long should it take for system.img to flash?
[ONE General] Wayne_Kent:
Sir..haven't tested the drivers beyond Win 7Pro..somewhere there the post states "up to Win 7Pro"..BUT..a try certainly would probably be worthwhile..and probably will..if your device is recognized already by Win10 while device is on home screen/OS..

sent by my: SandStone Black (#2) 1+1

"The FlagShip Killer"

"Praise Jah" YOU people.!

---------- Post added at 08:51 PM ---------- Previous post was at 08:47 PM ----------

Approximately 3-4 minutes..never timed the process exactly..but less than 5 minutes, just guessing..watch the cmd screen..its a reasonable time..

sent by my: SandStone Black (#2) 1+1

"The FlagShip Killer"

"Praise Jah" YOU people.!
[ONE General] Heisenberg:
I use Android SDK because it's the proper way to do it. Using stripped down versions of adb/fastboot results in problems like being unable to flash certain images because the data is too large.

Transmitted via Bacon
[ONE General] NWKENT:
Never experienced the issue..coming from a lot more difficult devices (Motorola)..can flash anything the "proper" SDK can..but..that's OK..I will abort this thread and allow you to manage your thread in the way you see fit ..thanks for the tolerance..
[ONE General] Heisenberg:
It's cool, I've just helped countless people with the problem I described so my personal advice is to use the full SDK.

Transmitted via Bacon
[ONE General] Harsh0905:
CM12 to cm11s

I want to restore cm11s to my device. Can i use 'XNPH05Q Fastboot Image' to restore from cm12 ?(I forgot to do a nandroid backup)

and can I backup esf partition on cm12..?

CM12 has some of bugs i will flash cm12s on its release...... And will make sure for nandroid backup...

please reply..

Thankxx
[ONE General] Heisenberg:
Yes you can. And you can make a backup of your EFS partition no matter what ROM you're on.
[ONE General] seboj:
Here's my most recent flash:
[ONE General] gabrielrobert:
Back to Stock CM11S XNPH05Q. Yay! :victory::victory::victory:

So, I'll be able to get OTA updates from now on huh?
[ONE General] Heisenberg:
As long as you're on CM11S you should have no problems getting OTA updates.

Transmitted via Bacon
[ONE General] gabrielrobert:
This might be out of topic but, it could help people to get an idea of what CM12 Nightly is all about.

So, going from CM12 nightly back to CM11S, I noticed how smoother everything goes with CM12 Nightly.

Especially when playing HOC (Heroes Of Order & Chaos)

On CM12 Nightly, I can play 4 rounds of online multi-player. That's of course depends on the rounds itself, whether or not it was a fast win game, surrendered defeat etc. But even with all that, i still managed to play 4 rounds (sometimes more) without it stuttering.

But with CM11S, it stutters right in the middle of a second round.! It gets worse towards the end. Sometimes, I have to close the game and reload it back again. That would fix the problem but re-syncing everything takes too much time. Game even ended while you're waiting for it to sync everything back again.

I wanna get back to CM12 Nightly so bad lol. Should I wait for the OTA update or should I just flash CM12 Nightly and manually flash the official CM12 when it's out? Will I be able to do that?

Sorry for the essay. :o
[ONE General] Heisenberg:
If you're having a better experience on the nightlies then flash the nightlies. You can always flash the CM12S update manually when it arrives.

Transmitted via Bacon
[ONE General] Odroid71:
i'm realy frustrated with my Oneplus one with Stock

recovery and maybe anyone can help.

I can boot my Opo into fastboot, adb and QSHUSB_BULK mode,

but: in fastboot mode i cannot unlock the phone via Fastboot oem unlock,

the Script says Ok but after rebooting it's still locked

(tampered Bit=true Unlocked Bit=false)

in adb mode i can sideload an image but after choosing update

from internal storage i became the

Failed in the attachment

in QSHUSB_BULK mode ColorOS lists my phone but there is no

transfer of Data, the transfer starts and after a few seconds

the Phone does a reboot in charging mode
[ONE General] tetakpatak:
[MENTION=6509059]Odroid71[/MENTION] cache is broken. Did you erase it in bootloader mode? Which API version is your SDK?

tetakpatalked from Nexus 7 flo
[ONE General] Odroid71:
My adb version is 1.0.32 where can i see the api version? I became the Phone with Bootloop, no Idea whats on the Phone. Sorry but I´m new with Android and Android Sdk
[ONE General] Spannaa:
Open Android SDK Manager ;)
[ONE General] Odroid71:
Thats it, thanks, API 22 and 21 is currently installed
[ONE General] riahc3:
You should actually put that before explaining the unlocking process....(I already knew but)
[ONE General] bradm23:
Thanks for the great write up on how to push the latest ota using adb. I do have a few questions

Does the ota that we are pushing include the latest firmware, boot loader and radio also, or just the update software for cm11s?

Assuming that I am unlocked, rooted and running Franco r10, I will need to flash the modified script so that it will not fail?

Also, can philz recovery sideload the adb, or just twrp?
[ONE General] Heisenberg:
There's no way to check the bootloader version, and I can't remember what the previous radio version was but here's my radio version after both updates to compare to yours.

I'd flash the modified script just to be safe. I don't use Philz recovery, I only ever use TWRP so I'm not sure whether Philz has the capability of adb sideload.

Transmitted via Bacon
[ONE General] tee00max:
One quick questions that has my mind wondering is the material on the back of the Black Sandstone. Are there a bunch of users that are experiencing material wear on the back after awhile?
[ONE General] Heisenberg:
I've seen a couple of people report it, but nothing conclusive yet. It does feel like the kind of texture that has the potential to wear down a little though.

Transmitted via Bacon
[ONE General] bobcat333123:
After using this guide: http://xdaforums.com/showthread.php?t=2788632 , than using yours for OTA update guide,

1. will my installed apps stay intact?

2. if the answer is no,... can i restore them via Titanium Backup's backup?

3. can I do it only the way you described it, or can I download it via system update (on OPO)?

4. anything to be careful about in particular?

5. what problems can I expect?

6. if OnePlus releases any more patch revisions, will I have to always update them manually?

Hope that is not too much questions. I really am a newbie in Android world (was using Symbian before) so I have no clue what I'm doing, unless I do it step by step.

P.S.: I didn't tweak any system files.

Thank you for your time,

Alan
[ONE General] Heisenberg:
Exactly what state is your phone in after using the guide you linked to? I'm assuming you're unlocked and rooted because you mentioned Titanium Backup.

1. Your apps will remain after the OTA. You will lose root but just flash SuperSU again afterwards.

2. N/A

3. You can download it via the system update menu in your phone, that's actually the preferred method because it's automated. The OTA is being rolled out gradually though, so we have this method available for those who don't want to wait.

4. Always be careful when flashing anything in Android, read twice, flash once. Follow the instructions and you'll be fine though.

5. You shouldn't have any problems. If you have Xposed installed you should uninstall that first though because it can cause issues.

6. Refer to my answer for question 3, only if you want it before they actually roll it out to you.

Feel free to ask as many questions as you like, it's important to familiarise yourself with all this when you're new to it.

Transmitted via Bacon
[ONE General] bradm23:
Just confirming that side loading this will not erase internal data like app data and pics?

It looks like the modem is the same, however from other posts I've read it seems like there is a new boot loader.
[ONE General] Heisenberg:
No it absolutely won't touch your personal data.

Transmitted via Bacon
[ONE General] schwalbach:
Hey, can I root using your method on the regular recovery if I haven't installed TWRP?
[ONE General] bradm23:
Thanks for all your answers. It's very useful.and helpful.

I do however have one more question. If I just waited for the OTA, wouldn't it fail to install since I have a custom recovery and custom kernel? So at this point side loading is the only way?
[ONE General] thepktrckt:
FYI I wasn't able to sideload the update, kept failing at the adb command even though I could see the device. I just decided to move the .zip to my downloads folder and install it with TWRP. Ran the install and all has been fine since.
[ONE General] Heisenberg:
No, you must use a custom recovery.

Transmitted via Bacon
[ONE General] Heisenberg:
TWRP recovery can install OTA updates, as for the custom kernel yeah you'd probably run into trouble there.

Transmitted via Bacon
[ONE General] ioneng:
Thanks for the suggestion. What I did was unlocking the bootloader, installing twrp and then it just got stuck. Then I sideloaded 30O and now it's all good. Now only if they can fix the button light...
[ONE General] Heisenberg:
Although, both of the updates contain a boot.img so it'd most likely just overwrite your kernel.

Transmitted via Bacon
[ONE General] bradm23:
I am very confused. I pushed the newest OTA to my phone today and it appeared that It over wrote my customer recovery with the CM recovery. When I got home, I used my laptop to push the philz.img to my phone through fastboot. It installed and recovery booted and I was able to re-flash superSU.zip to re-root.

Now, every time I go into my recovery, it boots into the CM recovery vs Philz and for some reason I cannot get into my bootloader. When I reboot-> bootloader from my reboot screen, it brings me directly to fastboot vs the bootloader. Can someone please help me out. Why do I no longer have a bootloader and how can I get my recovery to stay?
[ONE General] 26.2man:
I just tried following your instructions for the 4.4.4 update. My phone is unlocked rooted and nothing more. I installed the adb program and when I go to the command prompt and enter adb devices it does not see my phone. What might I be doing worong?
[ONE General] Heisenberg:
Did you ever have a user accessible bootloader? I didn't think we had that on this device. In regards to your recovery, do you have the Update CM Recovery box unchecked in Developer Options?

Transmitted via Bacon
[ONE General] Heisenberg:
Do you have adb drivers installed on your PC?

Transmitted via Bacon
[ONE General] 26.2man:
Yes. My pc recognizes my phone when I plug it in but when its in recovery it does not.
[ONE General] Spannaa:
That assumes that users will just follow the instructions without reading them through first.

Oh, wait, some people might actually do this - good point :good:
[ONE General] Heisenberg:
As [MENTION=1032410]spanna[/MENTION] pointed out, anybody with half a brain reads a guide fully before beginning so moving the disclaimer is unnecessary. Plus, haven't had a single complaint before now.

Transmitted via Bacon
[ONE General] codeknight11:
Is it necessary to use the auto-backup script to backup also those files mentioned in OP or a backup of just the modemst files would suffice?
[ONE General] Heisenberg:
It's only really necessary to backup the modemst files.

Transmitted via Bacon
[ONE General] SahilMiddha:
step 1 problem

do i need to download android studio or just sdk installer...

sorry for the stupid question.. Trying this for the first time:confused:
[ONE General] Heisenberg:
As per the instructions in the OP, just the Android SDK.

Transmitted via Bacon
[ONE General] funkyirishman:
Hi

Tried doing the How To Backup & Restore Your EFS Partition and then connected the phone to PC and could not see the 2 files((modemst1.bin & modemst2.bin)) created in the root of my external storage. ? it ran exactly as image in first post but cannot locate files to copy??

update

Ok I can see it using root browser on the phone but cannot see it when I connect PC so obviously need something to view root on PC but what?

Thanks
[ONE General] :
Just move the files on your phone to a visible folder. Simple solution.
[ONE General] HubblyJubbly:
I've got cm11s stock but with twrp recovery (not rooted, but bootloader is unlocked).

Do I need to restore the stock recovery before I can take any OTA updates? Specifically 12s when it comes out?
[ONE General] Heisenberg:
No you don't.

Transmitted via Bacon
[ONE General] HubblyJubbly:
Thanks. And the same goes if it is rooted? I. E. If I root before I take the ota so I can do a full backup including my EFS partition?
[ONE General] Heisenberg:
Having root is fine, you lose root during an OTA so you just need to flash it again afterwards.

Transmitted via Bacon
[ONE General] Bridge Ric:
Hi this is Bridge from the earlier thread you helped out in.

I followed Section 8, but when i put phone into fastboot and plug into pc my pc doesnt detect it. Is it necessary?
[ONE General] Heisenberg:
Do you have adb/fastboot installed, as well as adb drivers?

Transmitted via Bacon
[ONE General] Bridge Ric:
http://gyazo.com/bfb831c0e78335bc145a27c446b737d5

Does this mean no?
[ONE General] :
You need the android toolkit to be able to run the commands. Read the guides more carefully please.
[ONE General] Heisenberg:
In the second paragraph of the first post in this guide you'll see links to the Android SDK and to universal drivers, those are what you need to download.
[ONE General] Bridge Ric:
I already have sdk files but cant find sdk manager..... (had downloaded it earlier for root i even went through all those steps in it)

Also i found this: https://oneplus.net/support/answer/how-do-i-perform-a-full-factory-reset if i do this (i have twrp) i'll have a clean start with OxygenOS?
[ONE General] :
You ALREADY have twrp installed?
[ONE General] Bridge Ric:
Yes, I do thats what im confused about

---------- Post added at 10:10 AM ---------- Previous post was at 10:02 AM ----------

Yes i do thats what im confused about
[ONE General] Heisenberg:
You don't know the background of this guy's issue. All we're trying to accomplish here is flashing the stock images to get his phone back on track.

Have you found the SDK Manager file yet? If you've previously unlocked your bootloader and flashed TWRP then you must have a working adb/fastboot environment on your PC already.

Transmitted via Bacon
[ONE General] Bridge Ric:
Havent found it......i emailed customer support with an in depth issue list and i got a reply telling me its all fine, please go to your nearest service centre and they'll flash it on for you
[ONE General] Heisenberg:
How did you unlock your bootloader and flash TWRP in the first place?

Transmitted via Bacon
[ONE General] Bridge Ric:
I don't know mate. I believe I somehow managed to lose my root partly while doing this stuff. Can you tell me what happens if I follow your guide from start? I don't even care about data at this point. Will it cripple my phone?
[ONE General] Heisenberg:
Root has nothing to do with adb/fastboot and unlocking your bootloader though. There's no point in starting from the beginning because your bootloader is already unlocked. Did you use a toolkit or something to unlock in the first place?

Transmitted via Bacon
[ONE General] Bridge Ric:
https://youtu.be/_cVJ-oKZ4g0 is what I used step by step.

C4etech OnePlus One safe root guide. I remember typing stuff about adb and fastboot but I don't know what happened now

---------- Post added at 04:04 AM ---------- Previous post was at 03:10 AM ----------

I DID IT! Followed a hunch and realized i wasnt opening command prompt in my folder and then downloaded factory image and flashed. Woop woop im such a noob. Btw is my root still there now or?
[ONE General] ken_alpha24:
Got franco kernel installed. Should I go back to stock kernel so that I won't mess up anything when OTA (Cm12s) comes out? I'm on cm11s.
[ONE General] Heisenberg:
Great news. You won't have root now, just flash TWRP again and then you can flash SuperSU to get root.

Transmitted via Bacon
[ONE General] Heisenberg:
Yes, you need to be on the stock kernel.

Transmitted via Bacon
[ONE General] Bridge Ric:
Will I get CM12S OTA update if I root it? I just want root at some point for the Color OS 50MP camera settings and Titanium Backup ain't bad
[ONE General] Heisenberg:
Yes, you'll still receive OTA's if you're rooted.

Transmitted via Bacon
[ONE General] inscythe:
To OP, you might want to include this:

http://builds.cyngn.com/cyanogen-os/bacon/12.0-YNG1TAS0YL-bacon/2263178b74/cm-12.0-YNG1TAS0YL-bacon-boot-debuggable.img

Found this by trying out their previous naming convention, and it turned out to be still valid :P

It's the insecure boot.img, needed if you want to have root ADB access under Lollipop.
[ONE General] BFH:
You may also want to include http://builds.cyngn.com/cyanogen-os.../cm-12.0-YNG1TAS0YL-bacon-signed-fastboot.zip and http://builds.cyngn.com/cyanogen-os...263178b74/cm-12.0-YNG1TAS0YL-bacon-signed.zip

The first seems to be the fastboot image containing the following:

NON-HLOS.bin cache.img flash-radio.sh rpm.mbn static_nvbk.bin userdata.img

android-info.txt emmc_appsboot.mbn logo.bin sbl1.mbn system.img

boot.img filesmap recovery.img sdi.mbn tz.mbn

The firmware script is as follows:

#!/bin/sh

fastboot flash aboot emmc_appsboot.mbn

fastboot flash LOGO logo.bin

fastboot flash modem NON-HLOS.bin

fastboot flash rpm rpm.mbn

fastboot flash sbl1 sbl1.mbn

fastboot flash dbi sdi.mbn

fastboot flash oppostanvbk static_nvbk.bin

fastboot flash tz tz.mbn

and there are block locations in filesmap.
[ONE General] Heisenberg:
Thanks, I already have a section for flashing flashing the stock images with fastboot, I just haven't updated it for the latest update yet. I'll be doing that in the next day.

Transmitted via Bacon