yashsingh1/xdaforums huggingface dataset:
[ONE General] :
Ya ... I told her the same, that's the reason I unlocked my device the moment I bought it back in 2013, there's couple of apps to recover certain types of files, for me, I was just testing one app and it works flawless for pictures (unless the data blocks already was overwritten). anyway, thanks to both of you for your time.
[ONE General] sam razzy:
hey friends, I'm not new here But i would be very happy if you help me out with my doubts. Is the opo is void warranty if i unlock and root the phone???
[ONE General] elgias:
My OnePlus One isn't showing up in the list when I run

adb devices

. It just shows "List of devices attached" and nothing else. How do I fix this?
[ONE General] kas_27_es:
I don't think so, I think you can find the answer in the faq of the official page.
[ONE General] Art Vanderlay:
Make sure usb debugging is enabled and you checked off the rsa fingerprint on the device. If it still doesn't work check your drivers, they might be the culprit.
[ONE General] fire_fist_ace:
Hi guys, last time i was here was sometime during the OPO launch when i unlocked/rooted it and haven't touched it since so i'm abit rusty on this.

I avoided updating to CM12 for many months, up till yesterday when i thought I'd update to fix a bluetooth pairing bug (Wouldn't let me pair to bluetooth speaker). It fixed the bug, but i hate everything else about it and want to go back to CM11.

I did make a TWRP backup just before i updated, can i just restore that or do i have to go through the whole clean install process?
[ONE General] Heisenberg:
You'll need to wipe data and your caches.
[ONE General] Spannaa:
As the firmware changed between CM11 & CM12, you'll need more than just your nandroid.

The best way to revert is to use the fastboot zip for the exact version you were using when you took your nandroid.

Fastboot flash all images except recovery & userdata and then restore your nandroid.

Tapatalked via OnePlus 2
[ONE General] fire_fist_ace:
Thanks. Where can i find these image files? or better yet, a guide to do all this, for some reason the search function on the forums keeps giving me an error
[ONE General] Spannaa:
You can get the image files from the Signed fastboot zips here.

There's a full guide here (Credit [MENTION=4153349]Heisenberg[/MENTION])
[ONE General] fire_fist_ace:
Cheers mate :)

Actually before i go ahead with that, is there any CM12 Roms that sorta emulate CM11? What i miss most is the multiple lock screen pages where you could put widgets, as well as the Kitkat notifications bar layout. And for some reason, cell network keeps dropping out on me on this build, YNG1TAS17L
[ONE General] Spannaa:
Personally, I didn't like either official rom and always used the CM12 nightlies on my OPO.
[ONE General] Alok G:
Unable to Flash Recovery

Hi There,

My OPO is on CM 12.1.

I am unable to flash recovery, was trying to flash twrp-2.8.6.0-bacon.img. The error message in CMD is: error: cannot load ' openrecovery-twrp-2.8.6.0-bacon.img'

Please help.
[ONE General] Spannaa:
Assuming you have the twrp image in the same folder as fastboot.exe and there are no typos, what is the full output in the cmd window?

Tapatalked via OnePlus 2
[ONE General] Alok G:
I tried renaming the file to recovery.img and was able to install TWRP Recovery. Had some issues installing 2.8.6.0 but now have successfully installed 2.8.7.0.

Thank You
[ONE General] Spannaa:
Great.

You should be aware though that 2.8.7.0 has issues flashing firmware though. 2.8.6.0 doesn't have a problem with these.

Tapatalked via OnePlus 2
[ONE General] Alok G:
I did see that but 2.8.6.0 was not getting installed and so downloaded 2.8.7.0 and installed it.

Now have installed sultanxda's CM12.1 ROM. :) A first ROM installation successfully done.
[ONE General] qug:
This was very helpful, thank you!
[ONE General] Anilu7:
I was told that rooting a OnePlus One doesn't void the warrantee but double check with other members or the OnePlus One website as I'm new to this. :)
[ONE General] askpcguy:
Look for the OPO toolbox it has a whole guide for getting adb and the one plus one to work.
[ONE General] rachit011:
No, it won't for Oneplus devices

---------- Post added at 09:33 AM ---------- Previous post was at 09:32 AM ----------

Make sure adb over network option is checked in developers option
[ONE General] Alok G:
I have TWRP Manager installed on my OPO. I tried to replace 2.8.7 with 2.8.6 using the app and it showed that it was successful.

Now when I try to boot into Recovery I am unable to do so. Please do guide how to boot into TWRP Recovery.
[ONE General] Spannaa:
Don't use TWRP manager - it tells you how to flash and boot into TWRP in the first post of this thread!
[ONE General] Alok G:
Uninstalled TWRP Manager. Now i downloaded TWRP 2.8.6.0 using the link in Section 2. Then I reflashed TWRP 2.8.6.0 but when I try to boot into recovery it does not boot into recovery. I followed the steps where it is mentioned to flash the recovery and re start the phone manually, then boot into recovery:

"Flash your custom recovery again, but after flashing don't do a normal reboot. After the flash has succeeded disconnect the usb cable, then power down the phone by holding the power button down, once it's powered off use the power + volume down button combo to boot directly into recovery. This first forced reboot into recovery somehow subverts what was keeping it from staying flashed and all subsequent normal reboots into recovery will boot into the custom recovery of your choice."

But it is not booting into TWRP Recovery.
[ONE General] Spannaa:
What is it booting into - stock recovery?

fastboot flash recovery twrp-2.8.6.0-bacon.img

Don't fastboot format cache

Don't fastboot reboot

Power down the phone by holding the power button down.

Use the power + volume down button combo to boot directly into recovery.

From TWRP, reboot system.
[ONE General] Alok G:
I tried the above steps 4-5 times but it is rebooting into the system. Root is intact.

I am on Unofficial CyanogenMod 12.1 with CAF 3.4.0 kernel (sultanxda).
[ONE General] molson24:
Anyone know any solution to stabilize phone connection.

My phone jumps around from 1 bar to 4 bars very randomly.

Tried to factory re-install everything and still the same, but when I use Lollipop, it does seem to stabilize a bit better in terms of the connection.

Any suggestions would be greatly appreciated.
[ONE General] kali0ne:
[Q]

hey. quick question if annyone know a guide to

Root the One on stock android 5.0.2 whit OxygenOS 1.0.0. ?

I got my oneplus one last week and i can onley find guides for ree root if u had root and uppgraded to android 5.x and oxygenOS.

Thanks for anny help

sent from my Kali0ne plus one
[ONE General] Art Vanderlay:
I'm not much of an O2 user but you just need to flash supersu from twrp :good:

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

Try flashing a different modem, you might have better luck with another one or the oxygenos one.
[ONE General] fire_fist_ace:
Just abit of a follow up, I tried following the steps in that guide you linked, I downloaded the latest CM11 firmware from the guide, and when i flashed them in fastboot, all the steps came up okay, but when i reboot the phone, first thing i notice is the startup logo is still from Lollipop, and it keeps looping at this. How can i fix this?

And just to verify, should i have used the fastboot images from the link you gave here , or the firmware images provided in the guide below:
[ONE General] Spannaa:
Not sure what went wrong then - fastboot flashing everything in the zip should just work.

When you say 'the startup logo is still from Lollipop', do you mean the static image or the boot animation?

The static image is from logo.bin and the bootanimation is from system.img

The firmware in the guide should be the same as in the fastboot zip since that's where it's taken from.
[ONE General] fire_fist_ace:
I mean the boot animation that has different colored dots swirling around, eventually spelling out 'Android', before i updated to CM12 it used to be a spinning CM logo. In this case, the dots keep swirling endlessly until I manually reboot the phone. I can boot into recovery and bootloader just fine, just wont boot into the phone.

Maybe I'll try it again and see how it goes.
[ONE General] Spannaa:
Sounds like you have a cm12 theme installed still.

Tapatalked via OnePlus 2
[ONE General] fire_fist_ace:
Yea i thought so too, no idea why. I tried it again, and once more with the firmware files from the fastboot zip. I even tried both CM11 firmware from the guide, same results.

Any idea how to fix this? Could this be due to the fact that i was on the very first CM12 build? As soon as i updated it i regretted it so i didn't even accept the next OTA update.
[ONE General] Spannaa:
I doubt it's due to you using the first cm12 build.

I can't really help fixing this as I never used CM11S & CMOS12 because the CyanogenMod nighties were so much better.

Maybe try using the last CM12 Snapshot...

Tapatalked via OnePlus 2
[ONE General] Anilu7:
Noob question - can't you just change it in Themes?
[ONE General] Spannaa:
Not if the phone won't boot.

He could boot into TWRP though and use the TWRP file manager to delete the theme from \data\app
[ONE General] Alok G:
Recovery 2.8.7.0

I tried updating the recovery to 2.8.6.0 multiple times but in vain. I have now installed http://xdaforums.com/oneplus-one/development/unofficial-twrp-2-8-3-0-t2981495 . Not sure if you can answer my query: Is this recovery fine to flash ROMs?
[ONE General] rachit011:
Yes, it's fine. Btw you can always use flashify app from play store to flash different recoveries and it works.
[ONE General] fire_fist_ace:
If I'm not mistaken that would be any apk that had "theme" in the name? I found about 5 that i recognized as themes i downloaded & tried that but it still bootloops on the CM12 animation. I even tried to flash the CM12 snapshot, didn't work, it still bootloops.

What else can i try? I thought about flashing the CM11 firmware then performing a TWRP restore of a backup that i had made before upgrading to CM12, but im worried i might brick it...
[ONE General] Spannaa:
If you've fastboot flashed everything from the correct CM11S fastboot zip except recovery & userdata and then restored your nandroid made previously on the same version, the CM OS12 boot animation shouldn't still be there...

Are you sure you fastboot flashed all of the necessary images?

Assuming you still have TWRP installed and your nandroid contains system & data:

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 system system.img

When you've fastboot flashed all of the images, boot directly into TWRP by holding the power button down until your phone is off, then hold down the power + volume down buttons until TWRP boots.

Once in TWRP, restore your nandroid and then reboot to system via TWRP.
[ONE General] fire_fist_ace:
Well i think i see the problem, comparing to the steps you just listed, the firmware zip only had 8 files to be flashed and the guide only lists 8 steps, with the missing components being the boot, cache and system images. Lemme give this a try then and I'll report how it goes.

Also, slight problem, how can the bootloader lock itself? After last failed flash attempt, bootloader was still unlocked (checked it to verify), powered down the phone, then right now, the 2nd flag says the bootloader is locked, and trying to unlock isnt working. Here is the cmd output:

<bootloader> Device tampered: True
<bootloader> Device unlocked: False
<bootloader> Charger screen enabled: False
OKAY [ 0.004s]
Finished. Total time: 0.005s
[ONE General] Spannaa:
You're not having much luck are you...

If the bootloader has re-locked and fastboot oem unlock doesn't unlock it, you'll probably need to use the OnePlusRecovery Tool which restores Stock CM11S.

I never had to use it when I had my OPO so, if you get stuck, ask in that thread.

Good luck ;)
[ONE General] JAYSTEBS:
THANKS!!

Thank you sir for taking the time to write this. Very useful guide and really assisted me in re-configuring my phone!! Kudos
[ONE General] Alok G:
Booting continuously

Here's what has happened:

1. The phone was on Sultan CM13.1. Recovery: Unofficial TWRP 2.8.7.0 by ketut.kumajaya.

2. I wanted to revert to Sultan CM12.1 as I was facing some touchscreen issues in 13.1.

3. Meanwhile i thought let me flash CM nightly and I installed CM recovery first and then downloaded the CM Nightly file.

4. Just checked if ROOT access was there and it was not.

4. Now when I try to boot the system it is stuck on the boot screen continuously.

5. It shows that bootloader is locked now!

6. I tried the steps in Index 1 however unable to unlock bootloader and restart the phone and it is stuck on the boot screen continuously.

7. I now want to return to stock and it shows that it failed as the device is not unlocked.

Help me with this issue.

I am trying now to unlock Bootloader and it boots into CM recovery first and then goes into continuous booting and does not boot into system.
[ONE General] Spannaa:
Read my post that's two above yours - if your fastboot oem device-info is the same and fastboot oem unlock doesn't work then the solution is the same.

In future, if you're not sure about what you're doing, don't do it until you are ;)
[ONE General] tamboli007:
Thanks for such a great guide :)
[ONE General] fire_fist_ace:
It seems my run of bad luck has yet to end... 2 of the 3 links on that post have no download links, and the other link keeps timing out... :crying:

Im trying to download the automated version here, I'll report back on how it goes.
[ONE General] Spannaa:
The OnePlus One back to stock reflashing tool won't work because it relies on fastboot to flash the images.

You need to use the tool I linked to. AndroidFileHost is usually the most reliable out of the three download hosts.

Tapatalked via OnePlus 2
[ONE General] fire_fist_ace:
So after a whole other bunch of problems and fiddling around with drivers, i finally got it working and I'm now back on CM11s :D Cheers for the help :good:

So now I'm back to the original problem I tried to fix by upgrading, from what I've read around, my current build XNPH05Q is when bluetooth pairing issues came up, and so this time I'd like to try downgrading to the previous build, XNPH44S. Do i just flash the firmware or maybe just the modem, or do i have to flash everything?
[ONE General] Spannaa:
So you didn't use the OnePlusRecovery Tool?

If you had, you'd have already been on XNPH44S!

To get from XNPH05Q to XNPH44S, fastboot flash all of the images in the XNPH44S fastboot zip.
[ONE General] goast:
OK so first off I'm very new to this phone, I see a whole lot of discussion about firmware but no clues as to what goes with what as far as version of android. I'm strictly talking about cm stuff for the moment. This is especially confusing for someone coming here straight to marshmallow has pretty Mich no info really exists that I could find even in o.p. for said ROMs. Tugapower had the only firmware that I saw.. Another question is could these firmware or lack of cause issues like random reboots? I've tried 3 or 4 cm ROMs and all gave me random reboots but I never flashed a different firmware than the tuga one.. So if anyone experienced with a good attitude would care to enlighten me some I'd greatly appreciate it. Pm and or hangouts is welcome I am goast912@gmail.com
[ONE General] goast:
Sorry for the double post
[ONE General] nikev215:
this whole guide is a bloody lifesaver, thank you so much
[ONE General] Art Vanderlay:
The firmware from 05/15 works fine on MM. It's just a bunch of partitions taken from a cm rom like NON-HLOS.bin, tz.mbn, logo.bin etc. You flash it once and then you can flash any roms corresponding to that firmware.

They're included only in official cm nightlies and stock (and oxygenos). If you're ever in doubt about what firmware you need you can flash an official cm nightly to get the firmware and just wipe and flash over it in one go.
[ONE General] drsiddique5700:
hi all I got my phone which has cyanogen os 12.1.1 YOG7DAS2K1 by default and my bootloader is still locked and not rooted yet.few points I have.as op suggested to have efs backup via terminal app but that require root so my question is which su zip version can root stock cyanogen os 12.1 lollipop 5.1.1?also I have another question is it good to have efs backup done in twrp?or only system boot and data is recommended?
[ONE General] Anghirrim:
Hi, supersu update 2.46 works just fine.

For the efs backup, I personally prefer to have the backup done like shown here in the OP. To my opinion, it's better as not TWRP version dependant. But that's just my preference. The most important is, whatever the backup option you choose, you must be able to copy it from your phone to your PC and save it!

---------- Post added at 11:08 AM ---------- Previous post was at 10:59 AM ----------

Hey, I guess I did when I firstly jumped in the OPO world, but once again, thanks for this tremendous thread.

I have a colleague of mine owning an OPO as well and she is interested in making a backup of her EFS, as well as flashing the latest OxygenOS 2.1.4 modem which seems to work better than the COS one with our carrier/region.

So, if not talking about root or rom flashing, is it possible to use fastboot to flash a firmware/modem files without unlocking the bootloader?

She is not interested in custom roms and has a crazy number of apps and customization on her stock COS 12.1. So if we can avoid wiping her data (which would be the consequence of a OEM unlock), that would be great.

And as it's not my phone, I will not try before knowing if possible or not.

Thanks,
[ONE General] Spannaa:
No, it's not possible - that's why it's recommended to unlock the bootloader as soon as you get the device, even if you don't intend rooting it.

Tapatalked via OnePlus 2
[ONE General] Anghirrim:
Yep I guessed so, thanks. She got her device at least one year before me and now just begins to see the interest in unlocking it as I am playing around with custom roms with the same phone than her.
[ONE General] drsiddique5700:
[MENTION=4153349]Heisenberg[/MENTION] i am running rooted stock cyanogen os 12.1 and tried backing up efs partition by using instructions as given in op but i can find modemst 1 and modemst 2 files in internel storage.already tried with different file managers but its not generating those files.while entering those commands in terminal emulator the code "dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512" as soon as i type modemst the first letters "dd" getting deleted automatically what could be the reason?
[ONE General] CBpbxEcmecmBeH:
screenshot?
[ONE General] drsiddique5700:
added screenshot and BTW I trued using one click tool via PC it shows modemst not found what could be the reason? btw I took nandroid backup via twrp 2.8.6.0 may be due to that ?
[ONE General] drsiddique5700:
screenshot added
[ONE General] Heisenberg:
It could be due to the ROM that you're running. Have you tried using adb instead of a terminal emulator?
[ONE General] drsiddique5700:
on adb its showing "dd" command not supported something like that.BTW I just wanna clear that nandroid backup which I took via twrp 2.8.6.0 is not responsible for that
[ONE General] CBpbxEcmecmBeH:
judging from the screen, the operation is completed successfully, so i don't know why the file manager doesn't show the files. Can you try to pull them on your computer via adb?
[ONE General] drsiddique5700:
u mean type same commands in adb window? if yes then it says 'dd' command is not supported something.also I tried a one click tool it detected my device also but its saying modemst not found
[ONE General] CBpbxEcmecmBeH:
the files are already created, imho.

so, command should be:

adb pull /sdcard/"nameOFmodem"
[ONE General] Abdul111111:
My phone lenovo a2010
[ONE General] drsiddique5700:
will try and report thanks a lot.but tell me taking nandroid via twrp didn't caused this failure of getting modemst files right?
[ONE General] drsiddique5700:
tried that but no luck it says remote object not found
[ONE General] Anghirrim:
No, your TWRP backups are stored in a dedicated TWRP folder within you internal storage. This, in no way can interfere with the command you type in terminal.

---------- Post added at 10:17 AM ---------- Previous post was at 10:15 AM ----------

If I am not mistaken you should use "adb shell" and not adb only.

This will let you run terminal commands onto your phone, but via adb.
[ONE General] drsiddique5700:
i mean to say is can twrp backup erase modemst files or corrupt efs in other words
[ONE General] Anghirrim:
As long as you can use your phone and did not loose your IMEI... Then your partitions are still here and healthy :)
[ONE General] drsiddique5700:
i am afraid of loosing imei on flashing other custom rom
[ONE General] Anghirrim:
Doing an EFS backup IS the first thing to do. Even if on a normal flashing process you have 99,999% no risk of corrupting the EFS, you'll cry when you'll be in the f***ed up unlucky 0,001%.

Did you try with "adb shell" ?
[ONE General] drsiddique5700:
thats why i am afraiding i took twrp 2.8.6.0 nandroid backup and in its backup log which is present in twrp folder i can see it backed up modemst 1 and modemst 2 but i am unable to backup using method posted on op.tried adb shell then that code it says permission denied.should i use adb shell to pull that modemst 1 file from sd card ??
[ONE General] Anghirrim:
For adb shell, did you approved the prompt that pops up on your phone screen?

You are supposed to have your phone rooted, and screen on when you are running it.
[ONE General] drsiddique5700:
tried adb shell dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512 still same permission denied
[ONE General] Anghirrim:
Ok, and do you:

- Have your phone rooted

- Grant adb access when prompted on your screen

- Have adb enabled in you developers option
[ONE General] drsiddique5700:
its rooted and there was no adb access prompted and adb enabled in dev options
[ONE General] Anghirrim:
Ok, can you disable and re-enable adb in developers option?

Then just check your adb status by typing "adb devices" in a console?
[ONE General] drsiddique5700:
done what next
[ONE General] Anghirrim:
What's the output in your console when you check "adb devices" ?
[ONE General] drsiddique5700:
serial number device
[ONE General] Anghirrim:
Good, and you were asked to grant adb access on your phone?

What now if you re-do all the "adb shell" stuff?

With and without "su"
[ONE General] drsiddique5700:
no pop up on phone btw i did not typed su where exactly i should write it?
[ONE General] Anghirrim:
Step 1: adb shell su

This will grant you root access on your phone

Step 2: adb shell dd ifyourcompletecommand
[ONE General] drsiddique5700:
after it get root access i cant type anything in that window lol
[ONE General] Anghirrim:
So, this means that you did your backup?
[ONE General] drsiddique5700:
i already took system data boot or (nandroid0 backup via twrp 2.8.6.0 official
[ONE General] Anghirrim:
Yep but did you try adb shell for your modemst partitions after getting root access using adb shell su?
[ONE General] drsiddique5700:
u mean pull command like this??adb pull /sdcard/"nameOFmodem"
[ONE General] Anghirrim:
No, the adb shell dd if of etc... To save modemst1 and 2
[ONE General] drsiddique5700:
yeah tried still same permission denied

---------- Post added at 01:13 PM ---------- Previous post was at 12:44 PM ----------

I really appreciate your help and suggestions and thanks a lot for that.but my little question still seems unanswered I tried all methods but still not able to get modemst 1 and 2 files in internal storage what could be the reason? either twrp backup which I took immediately after flashing twrp did something wrong to my modemst files/efs files or as op said earlier this could be due to the ROM I am using?