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.
Related
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.
Hi there, I had a look at universal xoom boot at http://forum.xda-developers.com/showthread.php?t=1242241 and I think it works with the UK model of the Wifi only xoom.
I noticed that you have to unlock the bootloader which involves wiping the device. I don't want to do that as I have tons of stuff I want to keep and stuff I can't lose.
I was thinking could you flash it through recovery mode by using the adb command
Code:
adb reboot recovery
When it rebooted in recovery there were three options, apply update from SD card, factory reset/wipe and wipe cache. If I put the zip onto an SD card and applied update in recovery will it work? I mean the zip on the universal xoom root page that says to flash cwm.
Has anyone tried this and does it work?
Thanks for any guidance in advanced
Chris
Anyone know?
You have to unlock. this is why people recommend the day you get the Xoom unlock it, even if you don't plan to root.
Sent from my Galaxy Nexus
Thanks for replying .i don't see why that won't work though, but I can't risk trying it, I was hoping for someone who has tried it say if it has worked. Thanks anyway
cwilkinson1998 said:
Thanks for replying .i don't see why that won't work though, but I can't risk trying it, I was hoping for someone who has tried it say if it has worked. Thanks anyway
Click to expand...
Click to collapse
Don't think it'll work because the locked bootloader/recovery should verify that an update has been created and signed by motorola. If you unlock, your bootloader won't check such signatures if you flash through fastboot, and the modded recoverys will do just about whatever they want
However, there may be a way to root your xoom without unlocking, there are enough devices out there that cannot be unlocked at all and are still able to be rooted. As far as I know, no one has tried finding a security flaw in the xooms software so far, though, as it's easy as pie to just unlock the device
back up then unlock
bwcorvus said:
You have to unlock. this is why people recommend the day you get the Xoom unlock it, even if you don't plan to root.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
You have to do OEM unlock do back up to your SD card then adb reboot bootloader then fastboot OEM unlock then flash your recovery.img
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
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 ?
Hello guys
im looking to root my OPO, but i dont want to unlock the Bootloader or install a custom recovery, just want a method to root so i can install Xposed on the stock CM11S rom, is this actually possible?
Why not just unlock the bootloader? Your warranty isn't affected by it. You lose nothing by unlocking it, and you gain nothing by leaving it locked.
Transmitted via Bacon
Jaocagomez said:
Hello guys
im looking to root my OPO, but i dont want to unlock the Bootloader or install a custom recovery, just want a method to root so i can install Xposed on the stock CM11S rom, is this actually possible?
Click to expand...
Click to collapse
timmaaa said:
Why not just unlock the bootloader? Your warranty isn't affected by it. You lose nothing by unlocking it, and you gain nothing by leaving it locked.
Transmitted via Bacon
Click to expand...
Click to collapse
Like @timmaaa mentioned, you lose nothing when you unlock bootloader. Not only that, it is the recommended and futureproof approach to do so. Unlocking the bootloader wipes your phone completly clean. Suppose somewhere down the road you want to try different ROMs, you'd realize you cannot do so without losing your data. So you'r much better off unlocaking your bootlaoder right now.
But to answer your question, no. It is not possible at a simpler level. Unlocking the bootlaoder give you access to all the partitions on the phone. What you need access to specifically is the recovery partition so you could flash a custom recovery and install the SU binaries onto your system. through that recovery.
What others have said, unlock the bootloader there's no problem with leaving it unlocked.
You're given the key to unlock the bootloader using a command. Use it and make your life simple. It's like saying you have the key to your house but you want to get inside the house without unlocking the door. Just use the key and make it simple.
Sent from my One A0001 using Tapatalk
Jaocagomez said:
Hello guys
im looking to root my OPO, but i dont want to unlock the Bootloader or install a custom recovery, just want a method to root so i can install Xposed on the stock CM11S rom, is this actually possible?
Click to expand...
Click to collapse
Perhaps you felt like I did, worried that you are ruining your phone or your ota ability.
Unlocking the Bootloader is painless aside from having to reinstall all your programs. Everyone says it wipes the os, but what they don't tell you is that you don't have to dig around looking for the proper version to reinstall. You just type a code, and the phone reboots fresh like a factory reset, ready to go. And installing the custom recovery is easy, and it works perfectly with ota updates.
Sent via quantum entanglement, focused through my OnePlus One.