Recovery Password-Protected - Nexus One General

Can a dev make a recovery password protected?...so if somebody loose the phone nobody can flash a rom...that's possible?
Sent from my Nexus One using XDA App

What happens if you forget your password ?

xManMythLegend said:
What happens if you forget your password ?
Click to expand...
Click to collapse
Don't do that.

The dev can set it thru the google account ...same way if you forget the password or pattern to unlock your phone...you just put your google email and password and is unlock...that's a good suggestions ...
Sent from my Nexus One using XDA App

Unlock the bootloader and anything like that would be worthless.

If someone knows how to flash a rom then chances are they can re-flash a different, non password protected recovery. Sounds redundant unfortunately.

Rusty! said:
Unlock the bootloader and anything like that would be worthless.
Click to expand...
Click to collapse
This.
.......

That's the point ...make a password protected app or recovery or add that option when using superuser privileges....something...so nobody that isnt you,can flash a new rom or recovery thru any method without the correct password...and of course without unlocking the bootloader...I don't why somebody mention the bootloader when I havent ...
Sent from my Nexus One using XDA App

rreyes0416 said:
That's the point ...make a password protected app or recovery or add that option when using superuser privileges....something...so nobody that isnt you,can flash a new rom or recovery thru any method without the correct password...and of course without unlocking the bootloader...I don't why somebody mention the bootloader when I havent ...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
What they are trying to say is that it doesn't matter what kind of password protection or whatever else you put on your device. All someone who has gotten a hold of your phone has to do is unlock the bootloader, and they can flash whatever they want...

Related

One click root

So I can't root my nexus s I don't know why I have had all the great androids since day one but this baby wont budge. Will any of those one.click apps work never tried one?
Sent from my Nexus S using XDA App
dskyers said:
So I can't root my nexus s I don't know why I have had all the great androids since day one but this baby wont budge. Will any of those one.click apps work never tried one?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
There's no one click method I know of for the Nexus S.
What do you mean you can't root & it won't budge? This phone is about as easy they come (without some one click app): http://forum.xda-developers.com/showthread.php?t=931865
Install the android sdk on your computer.
Put the su.zip file on your sdcard partition of the phone.
Put the phone in fastboot mode.
Fastboot flash the recovery.
Select recovery.
Select install zip from sdcard.
Flash it.
Reboot.
You're done.
If your computer doesn't recognize the phone while it's in the bootloader, you gotta install the google Nexus S drivers or the one from PDAnet. That was where I got stuck at 1st when I tried rooting. Fastboot couldn't find my phone because I had the generic windows drivers.
Also if you have PDANet on, turn it off before putting your phone in fastboot mode.
Actually there is a one click method...brb with it
http://www.theandroidsoul.com/easy-one-click-root-for-nexus-s-full-guide/
Or search superboot nexus s
Here on xda
Either will work PC or mac.
Sent from my Nexus S using XDA App
vapor311 said:
Actually there is a one click method...brb with it
http://www.theandroidsoul.com/easy-one-click-root-for-nexus-s-full-guide/
Or search superboot nexus s
Here on xda
Either will work PC or mac.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Interesting. So the steps on the referenced one-click method you posted are:
1) put your phone in fastboot
2) do the fastboot oem unlock command manually.
3) run a batch file that contains two lines (fastboot-windows.exe flash boot boot.superboot.img & fastboot-windows.exe reboot).
I guess that's easier than putting your phone in fastboot directly and typing in a command to flash clockwork, then selecting a zip file to install from clockwork, but not much.
The drawbacks here are of course that it's superboot, and that it requires you to unlock the bootloader. I guess it's useful if you're really noob, but it only saves you typing one command.
The noob part is very true. However I prefer my bootloader unlocked anyhow.
Sent from my Nexus S using XDA App
vapor311 said:
The noob part is very true. However I prefer my bootloader unlocked anyhow.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Why do you prefer it unlocked?
I like the unlocked lock! No seriously custom roms etc.
Sent from my Nexus S using XDA App
main reason i think there is no one click root is because its so simple to do on this phone
vapor311 said:
I like the unlocked lock! No seriously custom roms etc.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
You do not need an unlocked bootloader (currently) to use custom roms, or to root, or to flash clockwork recovery, etc...
On day one that wasn't a known entity.
Sent from my Nexus S using XDA App
vapor311 said:
On day one that wasn't a known entity.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Of course, but since you contradicted my statement earlier that one disadvantage to the posted method here was that it had you unlock the bootloader by replying that you like having yours unlocked, I was trying to pin down if there was an advantage to unlocking the bootloader that had been discovered that I hadn't heard yet.
There's indication on git for our phone that the next update includes a change to the bootloader being able to use the fastboot boot command while locked. Unknown what that will actually do in terms of just fastboot flashing clockwork to apply root and custom roms.
I c wut u did there. I'm not sure how the update is going to affect things ATM. I keep it unlocked for "in case sh*t" happens. Never know what an update will bring in changes to rom management.
Sent from my Nexus S using XDA App

Password entry while in stock recovery O_o

So i was checking out the Sprint GSII today in the sprint store and it had a screen lock password on it so i figured some punk put a password on there. I proceeded to go into the stock recovery to do a data wipe and get rid of the screen lock too check out the phone. I navigated too the wipe function, confirmed it then... IT ASKED ME TO ENTER IN THE PASSWORD WHILE IN RECOVERY! The a keyboard came up and everything IN RECOVERY
This must mean you can run apks while in recovery? Can someone confirm the same thing on other GS2 versions by creating a screen lock password and trying to wipe cache or data on the stock recovery?
Maybe other devices can do this too, but ive NEVER noticed it. Does this make GUI's for recoveries possible with touch enabled to eliminate volume button abuse? If someone can figure out how sammy is doing it, that is. Because as far as i know, running an apk in recovery just flat out isn't possible.
^ Teamwin stole my idea, which I am perfectly okay with
If you have an screen lock password set then you need to enter it when using the recovery option.
Sent from my GT-I9100 using XDA App
so let me get you right here.... you went in to the sprint store and tried to hack the display model??? only to be asked for a password....
scottishlad80 said:
If you have an screen lock password set then you need to enter it when using the recovery option.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Yes, but this is the first time a phone has ever done that too me. How is a ime.apk running while in recovery?
[email protected] said:
so let me get you right here.... you went in to the sprint store and tried to hack the display model??? only to be asked for a password....
Click to expand...
Click to collapse
In so many words, yep.
My S2 does it so did my galaxy s. Samsung have designed it that way.
Sent from my GT-I9100 using XDA App
I've only ever had HTC phones til this nexus, HTC phones don't do it
Why hasn't a dev ever picked up the idea for a recovery GUI if you can run have touch enabled in recovery?
I tried to put password on my device, the international galaxy s2
., went to the recovery without any verification passwords?
By the I'm using custom kernal
Sent from my GT-I9100 using Tapatalk
I think it's good if your phone has a password and it was stolen, then the thief can't just wipe the phone, but if you ever forget that shyt, stresssss
drreality said:
I tried to put password on my device, the international galaxy s2
., went to the recovery without any verification passwords?
By the I'm using custom kernal
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
You have a custom recovery, I'm assuming so it wouldn't have a lock.
Even if the thief couldn't wipe it from recovery, Odin would anyways. So I think its sorta pointless.
Igotsanevo4g said:
You have a custom recovery, I'm assuming so it wouldn't have a lock.
Even if the thief couldn't wipe it from recovery, Odin would anyways. So I think its sorta pointless.
Click to expand...
Click to collapse
Even flashing a wipe firmware with repartition will not get rid of the password prompt.
Igotsanevo4g said:
You have a custom recovery, I'm assuming so it wouldn't have a lock.
Even if the thief couldn't wipe it from recovery, Odin would anyways. So I think its sorta pointless.
Click to expand...
Click to collapse
could be, im on ninphetamin latest
drreality said:
I tried to put password on my device, the international galaxy s2
., went to the recovery without any verification passwords?
By the I'm using custom kernal
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Use the pin unlock screen and set a unlock pin. After try to flash a new firmware or wipe the device from recovery.
Intratech said:
Even flashing a wipe firmware with repartition will not get rid of the password prompt.
Click to expand...
Click to collapse
Wow. Samsung security ain't no joke
Igotsanevo4g said:
Wow. Samsung security ain't no joke
Click to expand...
Click to collapse
They did say enterprise class.
Intratech said:
Use the pin unlock screen and set a unlock pin. After try to flash a new firmware or wipe the device from recovery.
Click to expand...
Click to collapse
Ive done so m8, still no luck
I entered a pin ----> recovery---->install zip from sdcard----> a new kernel is installed without any verification
drreality said:
Ive done so m8, still no luck
I entered a pin ----> recovery---->install zip from sdcard----> a new kernel is installed without any verification
Click to expand...
Click to collapse
Dude you're using a custom recovery. It only works with the stock one.
Would be nice if the PIN is only needed power on, then it would be a nice security feature. But having to enter it everytime I use the phone is kinda annoying.
Of course, i use pattern lock if anything. Less annoying.
But the main point im trying to make, is that if a keyboard can run, why cant there be touch enabled GUIs for recovery?
drreality said:
Ive done so m8, still no luck
I entered a pin ----> recovery---->install zip from sdcard----> a new kernel is installed without any verification
Click to expand...
Click to collapse
Kernel is not a firmware.
Pattern lock work too?
Sent from my GT-I9100 using XDA App

Is it possible for me to lock my bootloader?

Is it possible for me to lock my bootloader so I can go send my nexus 4 in for a replacement? My earpiece stopped working! When i dial I can't hear anything the other party can't hear me either! I'm freaking out
Sent from my Nexus 4 using xda app-developers app
yes its possible to lock your bootloader.
use search on how to do so (factory stock images nexus 4)
let me guess.... you used a toolkit?
I didn't I used fastboot method I don't trust toolkits
Sent from my Nexus 4 using xda app-developers app
Raphael17 said:
I didn't I used fastboot method I don't trust toolkits
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
If you didn't use fastboot then how did you have your bootloader unlocked in the first place?
I'm running stock rom with Franco kernel I want to go stock everything so I can send it in for a replacement
Sent from my Nexus 4 using xda app-developers app
Raphael17 said:
I'm running stock rom with Franco kernel I want to go stock everything so I can send it in for a replacement
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You're not answering my question. If you didn't use the fastboot method OR toolkit, then how did you unlock your bootloader in the first place? I'm asking this to know where you stand (e.g. drivers installed, fastboot environment set up).
It's either or. I already answered your question,
use search on how to do so (factory stock images nexus 4)
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2010312
That thread should help you return to stock.
zephiK said:
You're not answering my question. If you didn't use the fastboot method OR toolkit, then how did you unlock your bootloader in the first place? I'm asking this to know where you stand (e.g. drivers installed, fastboot environment set up).
It's either or. I already answered your question,
Click to expand...
Click to collapse
I think he didn't use punctuation/correct grammar, likely a non-native English speaker. It should have read: "I didn't use a toolkit because I don't trust them, I used the fastboot method."
zephiK said:
If you didn't use fastboot then how did you have your bootloader unlocked in the first place?
Click to expand...
Click to collapse
Raphael17 said:
I didn't I used fastboot method I don't trust toolkits
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I believe he missed a comma or 2, should read: I didn't (use a toolkit), I used fastboot method, I don't trust toolkits.
To answer the OP,
Code:
fastboot oem lock
Actually if you run the lock command, then unlock then lock again, the unlock code will wipe everything (internal mSD too) so you will be back at factory settings, assuming you had previously flashed a factory image.
smacksa said:
http://forum.xda-developers.com/showthread.php?t=2010312
That thread should help you return to stock.
I think he didn't use punctuation/correct grammar, likely a non-native English speaker. It should have read: "I didn't use a toolkit because I don't trust them, I used the fastboot method."
Click to expand...
Click to collapse
Or he was educated in the U.S. He is probably a college graduate. I'm from the U.S., by the way.
jakejm79 said:
I believe he missed a comma or 2, should read: I didn't (use a toolkit), I used fastboot method, I don't trust toolkits.
To answer the OP,
Code:
fastboot oem lock
Actually if you run the lock command, then unlock then lock again, the unlock code will wipe everything (internal mSD too) so you will be back at factory settings, assuming you had previously flashed a factory image.
Click to expand...
Click to collapse
Oh you're right on that. I was just checking on which "position" he was in. That makes more sense. Tiredness starting to kick in. Totally missed the "I" between didn't and used.
That forum post is the exact one I was referring to (just wanted him to google it out ) follow that guide and it will lead you to the right place. Don't just lock it and think your phone's good. You have to revert back to stock kernel as well which that forum thread will tell you how to do so.

Updating with unlocked bootloader

Hello im on stock 4.2.2 and im rooted with an unlocked bootloader. Will i have to relock it once the new 5.0 klp update comes out to get it or will it still work fine? I know theres still a while until the update but id like to be prepared
Depends, if you want the KLP version from google, you'll need to go back to stock and lock the bootloader.
However, there's a 99.99999999% chance someone here at XDA will have a KLP rom before google officially releases one for our N10s.
Ok thanks but can i keep it rooted or do i need to unroot aswell?
Sent from my Xperia Play (r800x)
OK so I heard some rumors about a jellybean update to 4.3 soon. I really don't want to lose all my data by flashing a stock image once it comes out. Is there a way to relock the boot loader without losing data? And if not is there a way to backup all my data and restore it afterwards. I tried using wugs toolkit to do this but the problem is it only backs up the main user and not the secondary ones. Any suggestions would be appreciated thank you.
Sent from my Xperia Play (r800x)
I believe unlocking/locking the boot loader will in fact wipe all data. So you'd have to manually handle the backup/restore if you don't want to lose the data.
I'd try something like TB to backup and restore. I usually start from scratch again as I've read restoring app data can cause issue under certain circumstances. YMMV...
cowabunga said:
I believe unlocking/locking the boot loader will in fact wipe all data. So you'd have to manually handle the backup/restore if you don't want to lose the data.
I'd try something like TB to backup and restore. I usually start from scratch again as I've read restoring app data can cause issue under certain circumstances. YMMV...
Click to expand...
Click to collapse
OK I guess I'll just do that but doesn't locking the boot loader wipe "sd card" data as well? So would I have to save my tb files to a CPU?
Sent from my Nexus 10 using xda app-developers appu
abdel12345 said:
OK I guess I'll just do that but doesn't locking the boot loader wipe "sd card" data as well? So would I have to save my tb files to a CPU?
Sent from my Nexus 10 using xda app-developers appu
Click to expand...
Click to collapse
If you are rooted, use nexus boot unlocker from the play store to lock the bootloader without losing data...
the_boo said:
If you are rooted, use nexus boot unlocker from the play store to lock the bootloader without losing data...
Click to expand...
Click to collapse
Awesome thanks man. This is like the fifth time you've helped me out to solve my problem exactly. You are awesome. Thanks again I really didn't want to delete all my name data and now I don't have to
Sent from my Nexus 10 using xda app-developers app
abdel12345 said:
Awesome thanks man. This is like the fifth time you've helped me out to solve my problem exactly. You are awesome. Thanks again I really didn't want to delete all my name data and now I don't have to
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Haha.. No problem.. Although, if you are on a custom ROM, I'm pretty sure you will have to flash a stock rom before you do the OTA... If you are on a custom ROM it will be better to wait for the devs to update it themselves...
the_boo said:
Haha.. No problem.. Although, if you are on a custom ROM, I'm pretty sure you will have to flash a stock rom before you do the OTA... If you are on a custom ROM it will be better to wait for the devs to update it themselves...
Click to expand...
Click to collapse
I'm on stock so I won't have to worry about that. Thanks
Sent from my Nexus 10 using xda app-developers app
What if you have unlocked boot loader, but not root - that will update won't it? Pretty sure thats how I did 4.2.1 to 4.2.2 if I am remembering correct....
bigmatty said:
What if you have unlocked boot loader, but not root - that will update won't it? Pretty sure thats how I did 4.2.1 to 4.2.2 if I am remembering correct....
Click to expand...
Click to collapse
I'm not sure so far all I've heard is that you have to lock the bootloader first... And I'd rather not take the risk. Anyway that app mentioned earlier locks and unlocks your boot loader with a click so its great
Sent from my Nexus 10 using xda app-developers app
hmm, from reading that apps description it gives me the impression a bootloader could be locked again w/out wiping - its just then when you would want to re-unlock that it would re-wipe.
right now Im unlocked but stock everything else. I think I will see what happens just trying the upgrade w/out relocking (again because Im pretty sure that's the same as the .2 I just did.)
if anyone can confirm any of this it would be welcomed
bigmatty said:
hmm, from reading that apps description it gives me the impression a bootloader could be locked again w/out wiping - its just then when you would want to re-unlock that it would re-wipe.
right now Im unlocked but stock everything else. I think I will see what happens just trying the upgrade w/out relocking (again because Im pretty sure that's the same as the .2 I just did.)
if anyone can confirm any of this it would be welcomed
Click to expand...
Click to collapse
The app says it does the locking and unlocking without wiping anything. I've already relocked mine and ill see if it worked once I turn on my tablet. (Ill check if the unlocked sign is still there)
Sent from my Xperia Play (r800x)
OK I treid the app and can confirm it works great
Sent from my Nexus 10 using xda app-developers app
abdel12345 said:
Hello im on stock 4.2.2 and im rooted with an unlocked bootloader. Will i have to relock it once the new 5.0 klp update comes out to get it or will it still work fine? I know theres still a while until the update but id like to be prepared
Click to expand...
Click to collapse
To get any Google OTA you do not need to re-lock the bootloader. You might need to flash the stock recovery prior to install the OTA.
At least this is what I did. Of course, to be safe I installed "Bootunlocker", "Voodo OTA Rootkeeper", and "SuperSU".
SuperSU gives permission to keep your phone root when you flash stock recovery.
After you re-install a custom recovery you need, prior to reboot, to wipe "Dalvik-Cache".
The long wait can start
@gunner1937 OK thanks. But where can I get stock recovery? Also I already have super su installed so do I need to do anything before flashing stock recovery or I just need to have supersu installed and then flash to keep root? Will flashing stock recovery wipe data? And are there any other steps I need to take. Please explain thanks
Sent from my Nexus 10 using xda app-developers app
abdel12345 said:
@gunner1937 OK thanks. But where can I get stock recovery? Also I already have super su installed so do I need to do anything before flashing stock recovery or I just need to have supersu installed and then flash to keep root? Will flashing stock recovery wipe data? And are there any other steps I need to take. Please explain thanks
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
To get stock recovery go to https://developers.google.com/android/nexus/images.
Download the factory image for Nexus 10 "mantaray".
Extract the files using, preferably,7-zip.
In the extract files select the file with extension.tar. Unzip with 7-zip.
Open file " mantaray-jdq39". Click on file "image-mantaray-jdq39.zip: this is where you will find all the img files including "recovery.img"
gunner1937 said:
To get stock recovery go to https://developers.google.com/android/nexus/images.
Download the factory image for Nexus 10 "mantaray".
Extract the files using, preferably,7-zip.
In the extract files select the file with extension.tar. Unzip with 7-zip.
Open file " mantaray-jdq39". Click on file "image-mantaray-jdq39.zip: this is where you will find all the img files including "recovery.img"
Click to expand...
Click to collapse
Ok thanks alot man Ill do this
Sent from my Xperia Play (r800x)

[q] nexus 4 backup

Hi
i stupidly dropped my nexus 4 on the floor and the screen completely smashed, the buttons work fine, but my phone is locked so whenever i connect to my laptop it wont backup my files.
Is there anyway i can backup my pictures and videos?
Any help or suggestions will be greatly appreciated, as i have some memoroable pictures stored on there?
Thanks
mr cazorla
Do you have USB debugging enabled? If so you can pull your picture folder via adb.
Sent from my Nexus 4 using xda app-developers app
NEXUS 4
morbe said:
do you have usb debugging enabled? If so you can pull your picture folder via adb.
Sent from my nexus 4 using xda app-developers app
Click to expand...
Click to collapse
hi
no its not enabled as my phone has not been rooted
phone doesn't need to be rooted to enable usb debugging.
CAZORLA said:
hi
no its not enabled as my phone has not been rooted
Click to expand...
Click to collapse
As goofball2k said, you don't need to root your device to enable USB debugging. In your case though, you can't enable it due to the broken screen.
When your screen is locked and you connect your phone to the pc, does it show the phone? If it does it will probably show no folders inside. Right?
What you need to do is unlock the bootloader, flash a custom recovery and then in the recovery you will be able to use adb pull command.
To do all that you can read efrant's guide (unlock bootloader, flash custom recovery) in this forum, or you can use a toolkit like this guy in your same situation: http://forum.xda-developers.com/showthread.php?t=2177440
I would recommend efrant's guide as it teaches you the basics on how to use adb and fastboot to flash anything you like.
Cheers
Sent from my Nexus 4 using xda app-developers app
Unlocking his bootloader will wipe the device though. He's SOL unless it's already unlocked.
DrFredPhD said:
Unlocking his bootloader will wipe the device though. He's SOL unless it's already unlocked.
Click to expand...
Click to collapse
True, but I think that with "boot unlocker" you can unlock the bootloader without wipe
Sent from my Nexus 4 using xda app-developers app
Another solution would be to make a backup image of the entire phone memory (see the bootloader unlock sticky thread), but he needs to set a password for the desktop backup first.
Morbe said:
True, but I think that with "boot unlocker" you can unlock the bootloader without wipe
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It needs root to work and he can't unlock his device to use an app even if he had root.

Categories

Resources