Root without unlocking bootloader? - ONE Q&A, Help & Troubleshooting

Is there any way to root the Oneplus without unlocking the bootloader and wiping the device?

Just unlock the bootloader and root. You're making it too difficult for yourself, the whole point of the bootloader being locked is to prevent changes being made to the system.
Its like saying, you're going to break your windows to get into your house when you can just unlock the door.
Just unlock the bootloader and flash supersu for root.

stone1269 said:
Is there any way to root the Oneplus without unlocking the bootloader and wiping the device?
Click to expand...
Click to collapse
yes, just run fastboot boot recovery.img and flash the superuser zip there. dont listen to people that say "just unlock bootloader!" because you dont need to and it sets a tamper flag which can be used against you if you try to warranty.
---------- Post added at 05:27 PM ---------- Previous post was at 05:23 PM ----------
zephiK said:
Its like saying, you're going to break your windows to get into your house when you can just unlock the door.
Click to expand...
Click to collapse
thats a terrible analogy. thats like saying "ill bulldoze this whole wall and then ill never need to unlock my door!"

zephiK said:
Just unlock the bootloader and root. You're making it too difficult for yourself, the whole point of the bootloader being locked is to prevent changes being made to the system.
Its like saying, you're going to break your windows to get into your house when you can just unlock the door.
Just unlock the bootloader and flash supersu for root.
Click to expand...
Click to collapse
I want to avoid unlocking the bootloader simply because I have everything set up on the phone the way I like, and do not want to wipe it. I know I should have rooted it before installing anything, but nothing I can do about that now....

The Jack of Clubs said:
yes, just run fastboot boot recovery.img and flash the superuser zip there. dont listen to people that say "just unlock bootloader!" because you dont need to and it sets a tamper flag which can be used against you if you try to warranty.
Click to expand...
Click to collapse
---------- Post added at 05:27 PM ---------- Previous post was at 05:23 PM ----------
Thanks for the suggestion! I will give it a try.

The Jack of Clubs said:
yes, just run fastboot boot recovery.img and flash the superuser zip there. dont listen to people that say "just unlock bootloader!" because you dont need to and it sets a tamper flag which can be used against you if you try to warranty."
Click to expand...
Click to collapse
I'm a bit lost here....
To root the phone with locked bootloader, man has to have an "exploit"...which is not discovered (yet) for OPO.
And now you are saying that the exploit and hence an unlocked bootloader is not needed and we can just push SuperSU into system via adb....
Please elaborate how it's possible?????

RalphLauren said:
I'm a bit lost here....
To root the phone with locked bootloader, man has to have an "exploit"...which is not discovered (yet) for OPO.
And now you are saying that the exploit and hence an unlocked bootloader is not needed and we can just push SuperSU into system via adb....
Please elaborate how it's possible?????
Click to expand...
Click to collapse
What he said. The OPO does not need a "exploit" to root the phone with a locked bootloader because you can unlock it simply by typing a command.
You can't flash SuperSU without having access to a custom recovery such as TWRP/CWR which requires a unlocked bootloader.

zephiK said:
What he said. The OPO does not need a "exploit" to root the phone with a locked bootloader because you can unlock it simply by typing a command.
Click to expand...
Click to collapse
I think you mixing the things up.... I'm NOT talking that a man needs to have an exploit in order to unlock bootloader.
I'm wondering if OPO system (or better to say CM) designed in a such way that it can be indeed rooted without exploit and with still locked bootloader by simply pushing SuperSU.
That what I want to hear from @The Jack of Clubs.
zephiK said:
You can't flash SuperSU without having access to a custom recovery such as TWRP/CWR which requires a unlocked bootloader.
Click to expand...
Click to collapse
Of course you can by simply booting into whatever recovery in adb. I do not need a custom recovery and never install it.

RalphLauren said:
I think you mixing the things up.... I'm NOT talking that a man needs to have an exploit in order to unlock bootloader.
I'm wondering if OPO system (or better to say CM) designed in a such way that it can be indeed rooted without exploit and with still locked bootloader by simply pushing SuperSU.
That what I want to hear from @The Jack of Clubs.
Of course you can by simply booting into whatever recovery in adb. I do not need a custom recovery and never install it.
Click to expand...
Click to collapse
No you cannot root the phone without a exploit with a locked bootloader. If that was the case, then the OPO would not be Google certified for Google Apps.
Still need a unlocked bootloader.

zephiK said:
No you cannot root the phone without a exploit with a locked bootloader. If that was the case, then the OPO would not be Google certified for Google Apps.
Still need a unlocked bootloader.
Click to expand...
Click to collapse
That's exactly what I was reading and thinking for years.
But somehow, @The Jack of Clubs got probably a different idea (referring to his post #3 : "yes, just run fastboot boot recovery.img and flash the superuser zip there. dont listen to people that say "just unlock bootloader!" because you dont need to and it sets a tamper flag which can be used against you if you try to warranty.")
That's why I got so exited and anxious to hear some explanation and elaboration from him!

You do not need to unlock the bootloader to root. The locked bootloader only protects the kernel and recovery partitions. Do not run "fastboot oem unlock" and do not run "fastboot flash recovery recovery.img". Instead just run "fastboot boot recovery.img" and flash the supersu zip from there. I've done this already. I know because I'm writing this on my rooted and bootloader locked oneplus.
Sent from my One using XDA Premium 4 mobile app

The Jack of Clubs said:
You do not need to unlock the bootloader to root. The locked bootloader only protects the kernel and recovery partitions. Do not run "fastboot oem unlock" and do not run "fastboot flash recovery recovery.img". Instead just run "fastboot boot recovery.img" and flash the supersu zip from there. I've done this already. I know because I'm writing this on my rooted and bootloader locked oneplus.
Sent from my One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thank you very much for some enlightening
I know about the recovery trick, always was doing this way and never bother with the custom one.
But the information about the rooting in a such way comes to the big surprise!
Well in this case I just hope it's not a flaw in CM build and it will stay this way and won't be fixed in next OTAs

The Jack of Clubs said:
You do not need to unlock the bootloader to root. The locked bootloader only protects the kernel and recovery partitions. Do not run "fastboot oem unlock" and do not run "fastboot flash recovery recovery.img". Instead just run "fastboot boot recovery.img" and flash the supersu zip from there. I've done this already. I know because I'm writing this on my rooted and bootloader locked oneplus.
Sent from my One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I did this... It works. Installed SuperSU using this method, I"m running Titanium Backup Pro, which requires root.

having read and write access in an alternate environment and being able to load a kernel in untrusted space kind of negates the point of the locked bootloader. which is why on something like a nexus 5, you have to unlock to root. its a security measure to block alternative access and destroying data when tampered. the international/cyanogenmod version of the phone may be running a different version of the bootloader that is on the chinese/coloros phone. you do see a cyanogenmod logo when booting into fastboot. so cyanogen may have an alternative fastboot that gives you access like this so you can mod you phone.
as far as root goes, theres two parts, the su binary which has to be copied to the system partition, and the app that gives root permissions to apps (a sudo app). you can install supersu from the playstore https://play.google.com/store/apps/details?id=eu.chainfire.supersu&hl=en but it doesnt do anything without the su binary. so when you are in recovery, which gives you full write access to the system partition, you flash the superuser zip, which copies the su binary to the system partition.

The Jack of Clubs said:
yes, just run fastboot boot recovery.img and flash the superuser zip there. dont listen to people that say "just unlock bootloader!" because you dont need to and it sets a tamper flag which can be used against you if you try to warranty.
Click to expand...
Click to collapse
I can confirm that this method definitely works. My Oneplus is rooted, I never had to unlock the bootloader and my data is safe. Thank you!

I really think that this thread has to go to the General from Q&A and has become sticky.
Also these findings has to be communicated to @Chromium in order to enhance his Guide

This method works, I can confirm also.
Fastboot boot recovery.img
then install the su.zip file
MAKE SURE YOU BACKUP WHILE YOU ARE IN TWRP!!

The Jack of Clubs said:
You do not need to unlock the bootloader to root. The locked bootloader only protects the kernel and recovery partitions. Do not run "fastboot oem unlock" and do not run "fastboot flash recovery recovery.img". Instead just run "fastboot boot recovery.img" and flash the supersu zip from there. I've done this already. I know because I'm writing this on my rooted and bootloader locked oneplus.
Sent from my One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Works perfectly. Thanks!

Can you explain little more for a dummie @The Jack of Clubs
Thanks

Isn't that we are able to lock the bootloader on OPO after we unlocked it ?

Related

[Q]clockworkmod flash and zips

Just to confirm one thing before i go smoke my NS's warranty away. If i nand backup the current stock rom and then flash the custom roms...i can always easily flash back to stock rom no?
Yes it is pretty easy to restore to your current build from a backup
Also, there are threads with stock images for the different models of the Nexus S here on XDA detailing how to go back to stock if that's something you choose to do so later
jackslim said:
Yes it is pretty easy to restore to your current build from a backup
Also, there are threads with stock images for the different models of the Nexus S here on XDA detailing how to go back to stock if that's something you choose to do so later
Click to expand...
Click to collapse
but wouldn't just recovering to backup takes to stock rom? and i believe the root can be deleted right? so that if i plan to send back the phone, i can do that...i'm only flashing roms over the weekend so that i can see if the wifi problem is fixed with different kernels...
I can't get my router to be shown in the network list and other networks have poor wifi signals :/ i'm really worried...
Yes recovering from your backup will return you to a rooted stock, and you can remove root by deleting su from /system/xbin/
can you direct me to clockworkmod apk? since i don't want to flash the .img
The recovery image isn't an .apk file, you are going to have to flash the .img from fastboot to get clockwork recovery installed.
jackslim said:
The recovery image isn't an .apk file, you are going to have to flash the .img from fastboot to get clockwork recovery installed.
Click to expand...
Click to collapse
yes i know it's not an apk but i believe, clockwork can be installed as apk and then rebooted into the clockwork recovery through the application as my motorola defy...
i don't want to flash the .img file or i won't be able to remove it if i had to...
You can flash a recovery image from ROM Manger which will install a custom reocovery
**However**
ROM Manager needs root access to install a recovery image, so therefor you need to install root permission, which in turn requires a custom recovery to flash the zip file to install the necessary file.
So... flashing the recovery image from fastboot is a necessary step in rooting on this phone
so apps like z4root and universal root don't work for nexus s?
I'm honestly not sure what exploits work with the Nexus S personally, feel free to browse through the guides that are stickied
In my opinion if you already had the intention of unlocking the bootloader, then you'll already have fastboot setup and you will already be in the bootloader so it's just one additional command to type to get your recovery image installed, pretty easy
Since the Nexus S comes with a bootloader that can be unlocked I don't think anyone would look for an expoit that works specifically for this phone because, but exploits that were built for other phones may work on this one, again you would have to browse around to see, I'm not sure about this
my main purpose is to have an option to revert back the phone to its orignal state...unlocking bootloader would be permanent no? also if i flash clockwork, that would be permanent or is there an easy way (excluding ADB) to delete clockwork ?
shad0wboss said:
so apps like z4root and universal root don't work for nexus s?
Click to expand...
Click to collapse
This phone has an unlockable bootloader. You don't need exploits like that. Just follow the directions on this forum for your specific model and you will be fine. Everything you will do can be reversed. So don't worry.
Sent from my Nexus S 4G using xda premium
Rem3Dy said:
This phone has an unlockable bootloader. You don't need exploits like that. Just follow the directions on this forum for your specific model and you will be fine. Everything you will do can be reversed. So don't worry.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
read my previous post...unlocking bootloader will be permanent thus messing up with my warranty.
You can lock the bootloader on this phone, just use the following command in fastboot
fastboot oem lock
You would have to flash over the original recovery image from fastboot before relocking the bootloader
This phone can be returned to complete stock fairly easily, if you were to find all stock images for your particular model of the Nexus S you could completely return it to stock from fastboot with a few easy commands
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
Just look through root/unroot guides and find the images for your model, you will need to do this to at least get the recovery image for when you decide to return to stock
jackslim said:
You can lock the bootloader on this phone, just use the following command in fastboot
fastboot oem lock
You would have to flash over the original recovery image from fastboot before relocking the bootloader
This phone can be returned to complete stock fairly easily, if you were to find all stock images for your particular model of the Nexus S you could completely return it to stock from fastboot with a few easy commands
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
Just look through root/unroot guides and find the images for your model, you will need to do this to at least get the recovery image for when you decide to return to stock
Click to expand...
Click to collapse
sorry i'm not with you here...so you're suggesting me to unlock my bootloader, flash rom? so for these purposes i won't have to install root? so how can i backup my current rom?
haha also i can't install ADB drivers :/ although i can access the phone memory lol
Yes, if you want to install custom ROM's then you should unlock your bootloader and install a custom recovery, these are both reversible.
To help getting adb/fastboot drivers you can get PDAnet from:
http://junefabrics.com/android/index.php
Setting up PDAnet usually fixes the driver problem, you can uninstall it once it's done
I think you should read through an root/unroot guide pertaining to your model, sounds like that would answer a lot of concerns and doubts
But mainly since you are concerned about your warranty, unlocking the bootloader and rooting your phone is completely reversible.
shad0wboss said:
read my previous post...unlocking bootloader will be permanent thus messing up with my warranty.
Click to expand...
Click to collapse
I don't think you get it. Nexus S is a development phone and comes with a factory built-in unlocker. This means you do NOT void your warranty when unlocking or rooting.
It is however recommended that you return to stock and lock the bootloader before returning the phone for any warranty needs because most idiots at sprint stores or service centers don't know any better even though the rules clearly tell them they must service the Nexus S even if rooted.
Now, to answer your question, when you restore back to stock and close bootloader the phone is indistinguishable from factory settings and data. So no, the bootloader unlocking is NOT permanent.
On a side note, you will have to use the Samsung exe to restore your phone to factory settings along with locking the bootloader if you want the original recovery. But I think there is an img of the original available somewhere.
Also, to replace the recovery you MUST use adb. There is a one click to do that but all it does is do all the steps you would do manually and still needs all drivers installed.
Sent from my Nexus S 4G
obsanity said:
I don't think you get it. Nexus S is a development phone and comes with a factory built-in unlocker. This means you do NOT void your warranty when unlocking or rooting.
Click to expand...
Click to collapse
It clearly states while unlocking your bootloader that by doing so your warranty is voided.
While Sprint's policy is to in fact service unlocked/rooted phones this is not the case for all carrier's.
Returning or attempting to return a phone that is unlocked can very well have you turned away since your warranty is voided in many cases, especially depending on the carrier of the phone.
jackslim said:
It clearly states while unlocking your bootloader that by doing so your warranty is voided.
While Sprint's policy is to in fact service unlocked/rooted phones this is not the case for all carrier's.
Returning or attempting to return a phone that is unlocked can very well have you turned away since your warranty is voided in many cases, especially depending on the carrier of the phone.
Click to expand...
Click to collapse
When I unlocked my phone the first time I had NO such disclaimer. This was something added later with an update. Therefore I did not void my warranty and anyone else can argue the same.
Sent from my Nexus S 4G
obsanity said:
When I unlocked my phone the first time I had NO such disclaimer. This was something added later with an update. Therefore I did not void my warranty and anyone else can argue the same.
Click to expand...
Click to collapse
I'm pretty sure that the screen has always had the warranty information on it after you type "fastboot oem unlock" in fastboot and then you have to acknowledge the unlock on the phone. It was part of the original Nexus One unlock screen and I'm sure part of the unlock on Nexus S. Especially if you're on the NS4G which came out months after the original NS. I know I had to acknowledge it when I unlocked mine. It only makes sense that if you willingly unlock your device and flash something you shouldn't in example a radio for a different model and brick your device the manufacturer isn't responsible for your mistake.

[Q] about root

are the modaco's rooting method still viable ? I'm seeing people saying it not work.
and can we root without having to flash other recovery, just using the default one (fastboot).
Nope, no rooting methods without unlocking bootloader yet. Most reliable method is to use custom recovery to root, and also some other fastboot (which will need unlocked bootloader)
hemanthmahesh said:
Nope, no rooting methods without unlocking bootloader yet. Most reliable method is to use custom recovery to root, and also some other fastboot (which will need unlocked bootloader)
Click to expand...
Click to collapse
root with unlocking bootloader is fine, my question is can we root without flashing other recovery (eg. cwm) ?
Recovery is not working in Moto g sometimes.. It's a known issue.. So better flash cwm to avoid bricking
Sent from my XT1033 using XDA Premium 4 mobile app
padhu1989 said:
Recovery is not working in Moto g sometimes.. It's a known issue.. So better flash cwm to avoid bricking
Sent from my XT1033 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
oh thank you for the info, then I root with cwm :good:
Stock recovery is pretty useless now, I hardly have any idea what it can even be used for other than those ota updates. Do you not want to move away from stock recovery cause you might not install firmware updates? You can install alternate recovery just for rooting and revert back to stock if you really want to.
hemanthmahesh said:
Stock recovery is pretty useless now, I hardly have any idea what it can even be used for other than those ota updates. Do you not want to move away from stock recovery cause you might not install firmware updates? You can install alternate recovery just for rooting and revert back to stock if you really want to.
Click to expand...
Click to collapse
I just being careful if not how to send warranty
Well, if you are unlocking the bootloader, you won't be able to claim warranty anyway.
hemanthmahesh said:
Well, if you are unlocking the bootloader, you won't be able to claim warranty anyway.
Click to expand...
Click to collapse
oh yeah forgot about that, but what if after root, I lock back the bootloader ?
is the root still there ?
To lock bootloader you have flash your stock firmware, which in a way would be a complete reset, so no root left. Also, whatever you do after with the phone, once you request the unlock code from the moto website, they will consider your phone unlocked, hence no warranty. You can relock to try your luck and they just might not care if you are lucky.
Be very careful with locking bootloader though, locking your bootloader in a wrong way (wrong firmware, not flashing all files, downgrading) will create a big mess. In my opinion, stay away from locking bootloader!
hemanthmahesh said:
To lock bootloader you have flash your stock firmware, which in a way would be a complete reset, so no root left. Also, whatever you do after with the phone, once you request the unlock code from the moto website, they will consider your phone unlocked, hence no warranty. You can relock to try your luck and they just might not care if you are lucky.
Be very careful with locking bootloader though, locking your bootloader in a wrong way (wrong firmware, not flashing all files, downgrading) will create a big mess. In my opinion, stay away from locking bootloader!
Click to expand...
Click to collapse
thank you man, btw can you help me with rooting by flashing cwm ?
You need working adb and fastboot drivers.
Download here:
http://www.mymotocast.com/download/MDM?platform=windows (drivers)
https://docs.google.com/file/d/0B1S0LCuXCnnmSWh6NGJmSE1BUWc (minimal adb and fastboot files)
http://forum.xda-developers.com/showthread.php?t=2563599 (cwm download)
Guide:
1. http://forum.xda-developers.com/showpost.php?p=47705438&postcount=6 (For unlocking bootloader)
2. After unlocking (which will be equal to a complete reset, no files left in your "sd card"), boot into fastboot mode again and use this command:
fastboot flash recovery recovery-clockwork-6.0.4.7-falcon.img (or whatever is the name of recovery image file)
or use this tool:
http://forum.xda-developers.com/showthread.php?t=2635706
You can also use that too to push supersu to sd card or manually place it. Reboot to recovery (adb reboot recovery) and flash that zip file.
hemanthmahesh said:
You need working adb and fastboot drivers.
Download here:
http://www.mymotocast.com/download/MDM?platform=windows (drivers)
https://docs.google.com/file/d/0B1S0LCuXCnnmSWh6NGJmSE1BUWc (minimal adb and fastboot files)
http://forum.xda-developers.com/showthread.php?t=2563599 (cwm download)
Guide:
1. http://forum.xda-developers.com/showpost.php?p=47705438&postcount=6 (For unlocking bootloader)
2. After unlocking (which will be equal to a complete reset, no files left in your "sd card"), boot into fastboot mode again and use this command:
fastboot flash recovery recovery-clockwork-6.0.4.7-falcon.img (or whatever is the name of recovery image file)
or use this tool:
http://forum.xda-developers.com/showthread.php?t=2635706
You can also use that too to push supersu to sd card or manually place it. Reboot to recovery (adb reboot recovery) and flash that zip file.
Click to expand...
Click to collapse
thanks man, seriously million of thanks

BootUnlocker for Nexus Devices worth it?

Hi guys, I found this program "I'm root" my question is, I'd like to close the boot-loader jut for security reasons, but now I've set up everything as I wanted so I don't want to delete everything again.
Can I use this program it seem to be really good.
"BootUnlocker for Nexus Devices"
https://play.google.com/store/apps/details?id=net.segv11.bootunlocker
Waiting for answers.
Yes. I use this to lock and unlock my bootloader once rooted. It doesn't wipe anything.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yes. I use this to lock and unlock my bootloader once rooted. It doesn't wipe anything.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
WOW perfect then I'll do it. Like this if I lose my phone no one will be able to steal anything. (Steal I say xD, they can't do that much. but you know what I mean.)
If you have a custom recovery they can. So make sure you have a stock recovery
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yes. I use this to lock and unlock my bootloader once rooted. It doesn't wipe anything.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can I lock the bootloader using this app with a custom recovery installed so that when I need to install updates to the rom or flash something I wouldn't need to flash/boot Philz again after unlocking?
Or do I need to flash the stock recovery before locking with this app??
vin4yak said:
Can I lock the bootloader using this app with a custom recovery installed so that when I need to install updates to the rom or flash something I wouldn't need to flash/boot Philz again after unlocking?
Or do I need to flash the stock recovery before locking with this app??
Click to expand...
Click to collapse
As long as you're rooted it'll work with a custom recovery or stock. Edit, just be careful if you do a lot of messing around on your phone. You may be locked when you wish you weren't
Sent from my Nexus 5
jd1639 said:
As long as you're rooted it'll work with a custom recovery or stock. Edit, just be careful if you do a lot of messing around on your phone. You may be locked when you wish you weren't
Sent from my Nexus 5
Click to expand...
Click to collapse
Yes, I get that.. If I end up in a bootloop I would need to use fastboot which will erase all my data.. That's what you're warning me about, right?
To tell you the truth, I'm actually worried about this eMMC failure thing as I have a 1 year LG warranty (not google's). I have seen a few threads where they weren't able to relock their bootloaders before sending it in as the eMMC's write function was screwed up. If I send my device in with a unlocked bootloader, warranty will go down the drain for sure. LG is very strict regarding this matter.
May be I'm thinking too much but my friend had faced similar issues with his HTC One and he had to shell out half the price of the phone to get the mobo replaced even though he had warranty
vin4yak said:
Yes, I get that.. If I end up in a bootloop I would need to use fastboot which will erase all my data.. That's what you're warning me about, right?
To tell you the truth, I'm actually worried about this eMMC failure thing as I have a 1 year LG warranty (not google's). I have seen a few threads where they weren't able to relock their bootloaders before sending it in as the eMMC's write function was screwed up. If I send my device in with a unlocked bootloader, warranty will go down the drain for sure. LG is very strict regarding this matter.
May be I'm thinking too much but my friend had faced similar issues with his HTC One and he had to shell out half the price of the phone to get the mobo replaced even though he had warranty
Click to expand...
Click to collapse
I'm guessing that if your emmc failed you wouldn't be able to lock using this app. Boot it is an easy way to keep it locked until you need to unlock. It is a good app and it's been on my phone for months. But I usually keep it unlocked
Sent from my Nexus 5
rootSU said:
If you have a custom recovery they can. So make sure you have a stock recovery
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So if I have a custom recovery I can!!!! and then you said make sure you have a stock recovery...
What I have to have, stock or custom?
When you say custom you mean, -hammerhead or clockwork- right?
Thanks.
you can have a custom recovery and use that app to lock and unlock your bootloader, just as you can have a custom recovery and lock/unlock your bootloader with the fastboot command.. fastboot oem lock(fastboot oem unlock).
jd1639 said:
I'm guessing that if your emmc failed you wouldn't be able to lock using this app. Boot it is an easy way to keep it locked until you need to unlock. It is a good app and it's been on my phone for months. But I usually keep it unlocked
Sent from my Nexus 5
Click to expand...
Click to collapse
That's why I was thinking to after flashing what I want to, I would lock the bootloader with the app so suppose one fine day my eMMC gets fried, I wouldn't be in trouble as it will be locked.
If I want to flash anything, unlock with the app, flash via recovery, reboot and then lock the bootloader again! Does sound good, right??
LOL, now I'm surely thinking too much
ivan333 said:
So if I have a custom recovery I can!!!! and then you said make sure you have a stock recovery...
What I have to have, stock or custom?
When you say custom you mean, -hammerhead or clockwork- right?
Thanks.
Click to expand...
Click to collapse
Rootsu was referring to the ability to hack onto your phone not the bootunlocker app. Bootunlocker will work if you're rooted and it doesn't matter if you have stock or a custom recovery
Sent from my Nexus 5
vin4yak said:
That's why I was thinking to after flashing what I want to, I would lock the bootloader with the app so suppose one fine day my eMMC gets fried, I wouldn't be in trouble as it will be locked.
If I want to flash anything, unlock with the app, flash via recovery, reboot and then lock the bootloader again! Does sound good, right??
LOL, now I'm sure thinking too much
Click to expand...
Click to collapse
then you dont need the app. after you unlock your bootloader and root it, just boot into your bootloader after and lock it.
simms22 said:
then you dont need the app. after you unlock your bootloader and root it, just boot into your bootloader after and lock it.
Click to expand...
Click to collapse
But then, when I need to flash a nightly or any mod, I would need to unlock the bootloader via fastboot to access the custom recovery which will wipe everyhting, right? If I have the app, I can simply unlock it without wiping.
Or should I just use fastboot boot on a locked bootloader to flash any mod/nightly??
vin4yak said:
That's why I was thinking to after flashing what I want to, I would lock the bootloader with the app so suppose one fine day my eMMC gets fried, I wouldn't be in trouble as it will be locked.
If I want to flash anything, unlock with the app, flash via recovery, reboot and then lock the bootloader again! Does sound good, right??
LOL, now I'm surely thinking too much
Click to expand...
Click to collapse
Yep, that would work
Sent from my Nexus 5
simms22 said:
then you dont need the app. after you unlock your bootloader and root it, just boot into your bootloader after and lock it.
Click to expand...
Click to collapse
But that will swap (WIPE sorry) all your phone... that's what I don't want. (Sorry maybe I misunderstood something but later I'll read it again and carefully.)
vin4yak said:
But then, when I need to flash a nightly or any mod, I would need to unlock the bootloader via fastboot to access the custom recovery which will wipe everyhting, right? If I have the app, I can simply unlock it without wiping.
Or should I just use fastboot boot on a locked bootloader to flash any mod/nightly??
Click to expand...
Click to collapse
no, wont wipe everything. just that first time.
simms22 said:
no, wont wipe everything. just that first time.
Click to expand...
Click to collapse
Are you sure? If you oem lock and then oem unlock I think it wipes it each time.
Sent from my Nexus 5
simms22 said:
no, wont wipe everything. just that first time.
Click to expand...
Click to collapse
Wooaaahh?! Thanks for the clarification... Just curious though, why does it not wipe everything when I unlock it the 2nd time? is it because the tamper flag is set to "true"? How does the bootloader determine that it's being unlocked the second time?
Thanks a lot!
vin4yak said:
Wooaaahh?! Thanks for the clarification... Just curious though, why does it not wipe everything when I unlock it the 2nd time? is it because the tamper flag is set to "true"? How does the bootloader determine that it's being unlocked the second time?
Thanks a lot!
Click to expand...
Click to collapse
As an fyi, I locked with bootunlocker once and then messed up by device where I had to use fastboot commands. It does wipe if you have to fastboot unlock the device again
Sent from my Nexus 5

[Q] Trying to root on 33R to no avail

Hello,
trying to get root by unlocking the bootloader first (using preload recovery TWRP lastest + tamper bit mod) but I keep getting this error:
booting...
FAILED (remote: Device not unlocked cannot boot)
finished. total time: 0.406s
So I can't preload the custom recovery, is there any way of rooting on this oneplus firmware without wiping the whole device?
Any help would be much appreciated..
Edit: This isn't a reroot, this is first time root/unlock
Did you type fastboot oem unlock?
Your bootloader is locked and needs to be unlocked.
If fastboot oem unlock does not unlock it, then you need to fastboot boot into recovery.
Flash tamper, unlock, and then afterwords, adb sideload SuperSU.
zephiK said:
Did you type fastboot oem unlock?
Your bootloader is locked and needs to be unlocked.
If fastboot oem unlock does not unlock it, then you need to fastboot boot into recovery.
Flash tamper, unlock, and then afterwords, adb sideload SuperSU.
Click to expand...
Click to collapse
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
therightperson_630 said:
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
Click to expand...
Click to collapse
Yeah, I'm in the same boat as you. Unfortunately after all my reading, it seems impossible as CM did it as a preventative measure to secure your data.
I'm going to do a back up of everything and then a reflash to 25R where battery life was best, then unlock and reboot.
therightperson_630 said:
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
Click to expand...
Click to collapse
Well thats the whole point, the OnePlus One is a very developer friendly phone indeed. Thats why you get the "keys" to unlock the phone with a simple command instead of using a exploit to flash a custom recovery.
On 25R bootloader, it was possible but as of now there isn't a way to root without unlocking the bootloader. You can read the thread here, http://forum.xda-developers.com/oneplus-one/help/root-unlocking-bootloader-t2820628
This is why when people just now get a phone that has the ability to fastboot oem unlock, I suggest them to unlock their bootloaders as the first thing to do.
Backup all of your data and move forward. Best of luck.
therightperson_630 said:
Umm thanks, I could have, but I really don't want to wipe everything, I got everything set up how I want with lots of data..I was looking for a way *without* wiping everything.. fastboot oem unlock will be my last resort tbh.
I thought with such a developer friendly phone there might be a way to overcome this problem
Click to expand...
Click to collapse
if you truly want to restore everything there are apps that will zip up all your data and you can flash in one session after wiping your phone. If you are reloading the exact same software it should not be an issue. check google and playstore for such apps like app2zip
app2zip requires root, which I can't get if I've not unlocked the bootloader, which means wiping everything...app2zip won't help here but thanks for the suggestion
therightperson_630 said:
app2zip requires root, which I can't get if I've not unlocked the bootloader, which means wiping everything...app2zip won't help here but thanks for the suggestion
Click to expand...
Click to collapse
oh yea my bad I forgot about the root part. I usually root right away so my bad..
Sorry, but the only way is to unlock the bootloader. You could use Helium backup, also some Apps themselves have great backup functionality.
Yep. Gotta unlock it. No idea why people don't just do that in the first place.
Transmitted via Bacon
timmaaa said:
Yep. Gotta unlock it. No idea why people don't just do that in the first place.
Transmitted via Bacon
Click to expand...
Click to collapse
Because most people set up their phone before getting stuck into rooting and the like. Just as I did. I think locking the bootloader is good in theory, but the average user wouldn't know how to brick their phone even if the bootloader was already unlocked, so why do it?
therightperson_630 said:
Because most people set up their phone before getting stuck into rooting and the like. Just as I did. I think locking the bootloader is good in theory, but the average user wouldn't know how to brick their phone even if the bootloader was already unlocked, so why do it?
Click to expand...
Click to collapse
The difference between having a locked and unlocked bootloader is simply flashing custom recoveries or radios/etc. Theres no harm in doing leaving your bootloader unlocked.
The bootloader has to be locked out of the box, I believe its one of the criterias needed to be fulfilled in order to be approved for Google Apps (Play Store,etc). Also, it doesn't make sense to have a bootloader unlocked for average users.
Just unlock the bootloader and learn from your lesson.... either that or stick with stock ROM without root. Yeah it'll set you back because you'll have to redo your phone apps/settings but on the bright side you won't have to do it again because ur bootloader is already unlocked.
You need your bootloader unlocked to obtain root. See http://forum.xda-developers.com/showthread.php?t=2788632 on instructions on how to do so if you're unfamiliar. After once its unlocked, fastboot flash a custom recovery and flash supersu.
Trust me I'm familiar...had none of this trouble on the G1. Out of 5 android devices this is the second time I've had to unlock the bootloader...and the average user doesn't even know what a bootloader is, so not sure they'd be able to mess about with the radios.
therightperson_630 said:
Trust me I'm familiar...had none of this trouble on the G1. Out of 5 android devices this is the second time I've had to unlock the bootloader...and the average user doesn't even know what a bootloader is, so not sure they'd be able to mess about with the radios.
Click to expand...
Click to collapse
Thats because the G1 had a locked bootloader and the only way to flash a custom recovery was to gain a exploit to push a custom recovery. For the OnePlus/Nexus/HTC, we don't need a exploit because we have the ability to unlock our bootloaders. Think of it as Apple's iOS, in order to gain jailbreak you need a exploit to jailbreak your phone which can take a long time for it to happen. Whereas, on Nexus/OnePlus/HTC, we can simply just obtain access to do changes to the phone without having to wait for a exploit.
You keep mentioning average user but a average user wouldn't be attempting to obtain root access for their phone. The average user would just be using his/her phone as a phone and not tinkering with the deeper innings of the Operating System and if the average user wants to tinker with the deeper innings then they should really do their research and learn. There are a lot of good guides on XDA.
Couldn't agree more. There is no need for any exploit with this phone because you've been handed the keys.
Transmitted via Bacon
therightperson_630 said:
Hello,
trying to get root by unlocking the bootloader first (using preload recovery TWRP lastest + tamper bit mod) but I keep getting this error:
booting...
FAILED (remote: Device not unlocked cannot boot)
finished. total time: 0.406s
So I can't preload the custom recovery, is there any way of rooting on this oneplus firmware without wiping the whole device?
Any help would be much appreciated..
Edit: This isn't a reroot, this is first time root/unlock
Click to expand...
Click to collapse
have you considered the exploit devised in the following thread?:
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
ondoy1943 said:
have you considered the exploit devised in the following thread?:
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
Click to expand...
Click to collapse
That doesn't allow you to root while having a unlocked bootloader. It just changes the bits on whether or not your device has been tampered.
But then again,
This mod will allow you to unlock the bootloader without wiping the userdata as oppose to fastboot oem unlock command.
Click to expand...
Click to collapse
A little off topic but I unlock my boot loader and root as soon as I get the phone so I don't have to loose anything.
zephiK said:
That doesn't allow you to root while having a unlocked bootloader. It just changes the bits on whether or not your device has been tampered.
Click to expand...
Click to collapse
that's what you think, but in my case i was able to unlock the bootloader using the mod, hence rooting was a matter of course. the casual "fastboot oem unlock" command was not effective with my device. so.....
edit: then again, i unlocked the bootloader and rooted my phone while it was still at 30O firmware. i have no idea if the 33R firmware's bootloader is different from that of the 30O or not, that will render the mod ineffective.
It's fine, problem solved, went through the gruelling task of trying to back everything up without root = 40gb of stuff..
Already tried the tamper bit mod...it was stated in the first post (tamper bit mod) and the command screenshot was one of the steps when trying to boot the recovery, it still wouldn't boot because the bootloader wasn't unlocked..so, useless in my case.
Still lost some stuff but I got most of it back. I didn't have this problem on my xperia SP when unlocking the bootloader..if I remember correctly you could root, get recovery and custom rom all without unlocking bootloader. Unlocking the bootloader didn't erase the internal sd either..sure it might have been through an exploit rather than the proper way, but tbh I think I'd rather have that.
I'm not liking this "you've been given the keys" analogy...It's more like you've already settled into your new house and you're given the keys to unlock the front door when you're already inside...it's hassle more than anything.

Relock bootloader

Can I relock bootloader, and flash completely stock if I need?
Yes but at this moment don't, BC if something goes wrong u have no way of fixing it unless u call oneplus and wait for them to give u a remote session, don't be scared to have ur bootloader unlocked
suzook said:
Can I relock bootloader, and flash completely stock if I need?
Click to expand...
Click to collapse
Someone else will have to verify as my OP6 is still shipping but..
YES, OnePlus 6 should still be able to go complete back to stock as it always has.
The same procedure as the 3, 3T, 5, 5T will likely follow:
if you flash a complete stock rom such as (this is a OP6 stock rom): androidfilehost.com/?fid=674106145207488340
then while booted into fastboot mode: fastboot oem lock
This is a standard procedure for OnePlus devices and I'll test it out once I get mine.
The rom i linked to is the stock rom, an OP moderator linked to it.
And the fastboot command is just a standard command. So unless they decide to screw their main audience this time around, :good:.
---------- Post added at 01:02 AM ---------- Previous post was at 01:00 AM ----------
Bradl79 said:
Yes but at this moment don't, BC if something goes wrong u have no way of fixing it unless u call oneplus and wait for them to give u a remote session, don't be scared to have ur bootloader unlocked
Click to expand...
Click to collapse
Why do you state this?
OP has already shared a link to a stock rom. And the lock/unlock bootloader command is a standard for their devices.
effmsee said:
Someone else will have to verify as my OP6 is still shipping but..
YES, OnePlus 6 should still be able to go complete back to stock as it always has.
The same procedure as the 3, 3T, 5, 5T will likely follow:
if you flash a complete stock rom such as (this is a OP6 stock rom): androidfilehost.com/?fid=674106145207488340
then while booted into fastboot mode: fastboot oem lock
This is a standard procedure for OnePlus devices and I'll test it out once I get mine.
The rom i linked to is the stock rom, an OP moderator linked to it.
And the fastboot command is just a standard command. So unless they decide to screw their main audience this time around, :good:.
---------- Post added at 01:02 AM ---------- Previous post was at 01:00 AM ----------
Why do you state this?
OP has already shared a link to a stock rom. And the lock/unlock bootloader command is a standard for their devices.
Click to expand...
Click to collapse
just wait until u get it
don't believe u can sideload OS anymore, yes we do have a fastboot mode to restore but u will have to have ur bootloader unlocked, if u have ur bootloader locked there is not way to put on OS on there due to twrp is not mountable and u cannot side load, so its not like other OP devices
effmsee said:
Someone else will have to verify as my OP6 is still shipping but..
YES, OnePlus 6 should still be able to go complete back to stock as it always has.
The same procedure as the 3, 3T, 5, 5T will likely follow:
if you flash a complete stock rom such as (this is a OP6 stock rom): androidfilehost.com/?fid=674106145207488340
then while booted into fastboot mode: fastboot oem lock
This is a standard procedure for OnePlus devices and I'll test it out once I get mine.
The rom i linked to is the stock rom, an OP moderator linked to it.
And the fastboot command is just a standard command. So unless they decide to screw their main audience this time around, :good:.
---------- Post added at 01:02 AM ---------- Previous post was at 01:00 AM ----------
Why do you state this?
OP has already shared a link to a stock rom. And the lock/unlock bootloader command is a standard for their devices.
Click to expand...
Click to collapse
Things are missing in recovery. Im hoping they forgot vs take the feature out.
Bradl79 said:
just wait until u get it
don't believe u can sideload OS anymore, yes we do have a fastboot mode to restore but u will have to have ur bootloader unlocked, if u have ur bootloader locked there is not way to put on OS on there due to twrp is not mountable and u cannot side load, so its not like other OP devices
Click to expand...
Click to collapse
Obviously you have to have you bootloader unlocked.
What are you trying to say? I can't follow your sentence structure. Please use proper English structure... or remotely proper...
You're claiming that with the OnePlus 6 you can no longer sideload roms? What??? That would be a HUGE slap in the face to us.
I wouldn't believe what this guy is saying.
I'm not claiming I factually know that the OP6 can be unlocked through that method but it is highly likely it is. As said, I'm still waiting on the OP6. If OnePlus doesn't allow these things, re-locking bootloader and sideloading, they're FU***** all of us over and I'm sure would suffer major backlash from the user base.
---------- Post added at 02:21 AM ---------- Previous post was at 02:20 AM ----------
intruda119 said:
Things are missing in recovery. Im hoping they forgot vs take the feature out.
Click to expand...
Click to collapse
Ah, got it. That sucks. :'( Thanks!
effmsee said:
Obviously you have to have you bootloader unlocked.
What are you trying to say? I can't follow your sentence structure. Please use proper English structure... or remotely proper...
You're claiming that with the OnePlus 6 you can no longer sideload roms? What??? That would be a HUGE slap in the face to us.
I wouldn't believe what this guy is saying.
I'm not claiming I factually know that the OP6 can be unlocked through that method but it is highly likely it is. As said, I'm still waiting on the OP6. If OnePlus doesn't allow these things, re-locking bootloader and sideloading, they're FU***** all of us over and I'm sure would suffer major backlash from the user base.
---------- Post added at 02:21 AM ---------- Previous post was at 02:20 AM ----------
Ah, got it. That sucks. :'( Thanks!
Click to expand...
Click to collapse
if all else fails we do have an unbrick tool, but from what i have read, u can no longer sideload with ur bootloader locked and there is not install from internal storage from stock recovery
I learned the hard way. Soft brick in the first hour of ownership.i thought I really broke something until eventually a few others reported on it. B
Op I would wait
I just relocked my bootloader with no issues. I uninstalled magisk through magisk manager, reboot to completely remove, then factory reset, boot into fastboot and relock. No issues. Note I didn't use twrp. I was still on stock bootloader.
BoboBrazil said:
I just relocked my bootloader with no issues. I uninstalled magisk through magisk manager, reboot to completely remove, then factory reset, boot into fastboot and relock. No issues. Note I didn't use twrp. I was still on stock bootloader.
Click to expand...
Click to collapse
Certain I did something wrong. But I tried the same thing initially and would bootloop to recovery after factory reset. Wasn't a biggie learned about the new a/b system in the process
Somewhat related question:
If you relock the bootloader, does Widevine go back to L1?
One user reported no. Is it really a permanent change of the Widevine status to unlock it?
I might be able to deal with 480p netflix, but if I sell this phone someday it sucks for the next owner.
No worry just try mega unbrick guide used it to relock bootloader and flash stock hydrogen os it can recover your device from even hardbrick I tested it for safety it works like charm so I recommend you that
Can anyone who has unlocked and re-locked their bootloader check their Widevine status in DRM info?
I have relocked because netflix quality was to low on when unlocked. When i relocked i got the drm lvl 1 back so it works
noppoer2 said:
I have relocked because netflix quality was to low on when unlocked. When i relocked i got the drm lvl 1 back so it works
Click to expand...
Click to collapse
What's the procedure to re lock the bootloader and revert to stock recovery along with no root.
I unlocked the boot loader, installed TWRP and Magisk but would like to go back to stock. Any help will be appreciated
kailashnj said:
What's the procedure to re lock the bootloader and revert to stock recovery along with no root.
I unlocked the boot loader, installed TWRP and Magisk but would like to go back to stock. Any help will be appreciated
Click to expand...
Click to collapse
Reinstall your rom ( i believe 5.1.6 ) to get rid of TWRP & root
Factory reset
Then on fastboot " fastboot oem lock"
Data & internal storage will be wiped
Which means post following the steps origins bootloader will be locked and I will not get the warning again right at the start of the phone
All you can do is try but first make a Nandroid just in case this falls through
Hi, I want to lock my bootloader after recently unlocking it on my OP6 to install Oxygen OS as was originally on Hydrogen OS. If I use CMD and type fastboot oem lock, what are the risks of the phone going into a boot loop, and also, does the factory reset revert the phone back to Hydrogen OS? Cheers.
thealexwu said:
Hi, I want to lock my bootloader after recently unlocking it on my OP6 to install Oxygen OS as was originally on Hydrogen OS. If I use CMD and type fastboot oem lock, what are the risks of the phone going into a boot loop, and also, does the factory reset revert the phone back to Hydrogen OS? Cheers.
Click to expand...
Click to collapse
Lock as you unlocked in cmd by typing lock instead of unlock. It will make a wipe, so I recommend make backup before.

Categories

Resources