Changing what will written in the recovery mode - General Questions and Answers

I want to erase the possibility to do a reset from the recovery mode. how do i change what will be written there (i locked the "settings" with app lock so reset from inside the device is blocked)

0527164842 said:
I want to erase the possibility to do a reset from the recovery mode. how do i change what will be written there (i locked the "settings" with app lock so reset from inside the device is blocked)
Click to expand...
Click to collapse
any answer ?

Related

[Q] lost pin can't factory reset

Hi all,
I've got a problem. I used tasker with secure settings to set my pin. Secure settings was enabled as device admin. Now tasker set a bogus pin. I can't get into my phone and I can't factory reset through stock recovery. This just does a soft reboot. What to do?
Presumably there is a safety in the fastboot menu. Try to do the factory reset by doing this:
Go into recovery while factory reset is selected. Press 10 - 15 s the volume up button and then the power button while holding the volume up button. Then release both keys.
Or you go to fastboot menu (Holding Vol- and Power when off) and open the fastboot/adb console on your PC and type the following:
Code:
fastboot -w
This will wipe your device to factory default without any question, so be careful!
difusio said:
Hi all,
I've got a problem. I used tasker with secure settings to set my pin. Secure settings was enabled as device admin. Now tasker set a bogus pin. I can't get into my phone and I can't factory reset through stock recovery. This just does a soft reboot. What to do?
Click to expand...
Click to collapse
Try flash a custom recovery and the factory reset it

Forgot my unlock PIN

Hello, I have a
Nexus 5, bootloader unlocked on kitkat 4.4
I somehow forgot my new 4 digit unlock PIN i put right before I went to sleep.
I can't connect to my phone with the USB, doesn't show any files. Neither it has usb debbuging on.
I've entered PIN over 500 times but i still dont have "Forgot PIN/Password/Pascode" button.
I CAN'T , in no possible way wipe my data because the items i have there are crucial for me.
If there is nothing I can do then ill go hang myself.
Thanks
If your bootloader is unlocked you can flash a custom recovery, then pull your data from there using adb.
If your data is so crucial, maybe next time the best thing to do is keep backups and/or don't solely keep it on a mobile device.
Elluel said:
If your bootloader is unlocked you can flash a custom recovery, then pull your data from there using adb.
If your data is so crucial, maybe next time the best thing to do is keep backups and/or don't solely keep it on a mobile device.
Click to expand...
Click to collapse
i don't have usb debbuging on.
Smexhy said:
i don't have usb debbuging on.
Click to expand...
Click to collapse
USB Debugging is completely irrelevant. It is ONLY used for adb while in Android. NOT fastboot while in the bootloader or adb while in recovery.
Elluel said:
USB Debugging is completely irrelevant. It is ONLY used for adb while in Android. NOT fastboot while in the bootloader or adb while in recovery.
Click to expand...
Click to collapse
can i pull using the method you suggested the GOOGLE KEEP with it's content?
If i flash a recovery, will i be able to flash back to stock with no recovery for warranty purposes?
Smexhy said:
can i pull using the method you suggested the GOOGLE KEEP with it's content?
Click to expand...
Click to collapse
In a custom recovery you have access to the entire /system and /data partitions once you simply mount them.
1. Boot into the bootloader
2. Flash a custom recovery using fastboot
3. Boot into recovery
From there on you can either use adb pull to retrieve files in your Internal Storage, pull app data if you know how, or remove the set lockscreen PIN/whatever itself.
---------- Post added at 20:50 ---------- Previous post was at 20:46 ----------
Smexhy said:
If i flash a recovery, will i be able to flash back to stock with no recovery for warranty purposes?
Click to expand...
Click to collapse
You won't flash to "no recovery". There is a stock recovery (you can only really wipe data/cache from it hence the need for a custom one).
Technically you voided warranty when you unlocked the bootloader and triggered it's tamper flag, but it is easy to reset and relock after you finish doing whatever you want to do and reflash factory images.
Elluel said:
In a custom recovery you have access to the entire /system and /data partitions once you simply mount them.
1. Boot into the bootloader
2. Flash a custom recovery using fastboot
3. Boot into recovery
From there on you can either use adb pull to retrieve files in your Internal Storage, pull app data if you know how, or remove the set lockscreen PIN/whatever itself.
---------- Post added at 20:50 ---------- Previous post was at 20:46 ----------
You won't flash to "no recovery". There is a stock recovery (you can only really wipe data/cache from it hence the need for a custom one).
Technically you voided warranty when you unlocked the bootloader and triggered it's tamper flag, but it is easy to reset and relock after you finish doing whatever you want to do and reflash factory images.
Click to expand...
Click to collapse
Ok, thanks for helping me. I feel much calmer now
Ok, i've got into the recovery. How do i erase the lock pin?
Nevermind, used this link to solve the problem
http://www.androidfanclub.net/2014/03/reset-android-pattern-lock-password-without-erasing-data.html
I'm not certain of any conditions that you need to have fulfilled in the past but try this. On any computer go to https://www.google.com/android/devicemanager login using the Google account that is used for the device and you should be able to see your device. Click on "Lock" and you get:
New lock screen
Your current lock screen will be replaced with a password lock. Don't use your Google account password.
New Password
Confirm password
Recovery message (optional)
That gets sent to the N5 as the new lock screen and hopefully problem solved.

Recover lost phone?

I have
UNLOCKED BL
INSTALLED TWRP
FLASHED CUSTOM ROM
Is it possible to disable Factory Reset from TWRP. So that no body can reset my phone & flash ROM & use my phone.
How to track the phone if someone use the phone?
ANYWAY TO GET BACK?
itsmedRb said:
I have
UNLOCKED BL
INSTALLED TWRP
FLASHED CUSTOM ROM
Is it possible to disable Factory Reset from TWRP. So that no body can reset my phone & flash ROM & use my phone.
How to track the phone if someone use the phone?
ANYWAY TO GET BACK?
Click to expand...
Click to collapse
In TWRP you can set a password lock on the recovery screen. This should prevent anyone from accessing the factory reset option from the recovery menu.
As it relates to tracking, Google device manager can be used for that.
Freewander10 said:
In TWRP you can set a password lock on the recovery screen. This should prevent anyone from accessing the factory reset option from the recovery menu.
As it relates to tracking, Google device manager can be used for that.
Click to expand...
Click to collapse
How to set password lock in TWRP recovery.
itsmedRb said:
How to set password lock in TWRP recovery.
Click to expand...
Click to collapse
Follow the instructions given here
I've not gotten the chance to test it out yet. So be careful
Freewander10 said:
Follow the instructions given here
I've not gotten the chance to test it out yet. So be careful
Click to expand...
Click to collapse
what about fastboot. If someone tried in fastboot mode?
itsmedRb said:
what about fastboot. If someone tried in fastboot mode?
Click to expand...
Click to collapse
I really don't know much about fastboot.
But maybe you can add a password and try fastboot to unlock it.
itsmedRb said:
what about fastboot. If someone tried in fastboot mode?
Click to expand...
Click to collapse
You can turn usb debugging off then password protect your settings apk, that will prevent anyone from turning usb debugging back on, this will prevent them flashing it because fastboot won't recognize the device.
I will warn you though. If you go through all of this to prevent anyone from flashing your phone and then your phone randomly softbricks, you'll have to flash the device to fix it, with all the things you're doing to prevent flashing, you wouldn't be able to connect to PC to fix the device. You'll get your own foot caught in your own trap. Be warned.
Sent from my SM-S903VL using Tapatalk

Unlocking bootloader without USB debugging

Hi everyone,
I have bought a Nexus 5 for like 3 months, then one day suddenly, it started rebooting infinitely, I did a factory reset but it didn't solve the problem, so I tried as suggested to hit the power button against a corner, but unfortunately that made the button unresponsive, so I took it to a shop repair and they changed the button, and now I'm back to the bootloop problem, but the weird part is, when i enter the recovery mode what ever button combination i try (hold power button + press volume up etc ..), it will simply reboot the system, even if I don't press any command it will reboot after around 5 seconds of showing "no command" with the dead android guy.
I downloaded Nexus Root Toolkit to perform a Bootloader unlock, it displays the unlock screen on my phone, but after i select Yes, I have to enable USB debugging, which i can't do because the system simply starts to bootlooping.
PS : My bootlooping doesn't get stuck on the Google logo or the colored dots, it will freeze just before showing the colored dots (or after showing 2 of them) then it will restart.
Any idea ? Thanks in advance
If I recall correctly, USB debugging should not be required to unlock the bootloader as you are using fastboot commands to unlock the bootloader rather than ADB commands.
audit13 said:
If I recall correctly, USB debugging should not be required to unlock the bootloader as you are using fastboot commands to unlock the bootloader rather than ADB commands.
Click to expand...
Click to collapse
Awesome, that was fast lol, thank you so much, I'm able now to flash it, I'll let you know how it goes
audit13 said:
If I recall correctly, USB debugging should not be required to unlock the bootloader as you are using fastboot commands to unlock the bootloader rather than ADB commands.
Click to expand...
Click to collapse
It's still restarting after the flash, any idea ?
If it is restarting on its own in recovery or fastboot mode, there could still be an issue with the power button or the contacts on the power button.
audit13 said:
If it is restarting on its own in recovery or fastboot mode, there could still be an issue with the power button or the contacts on the power button.
Click to expand...
Click to collapse
Thank you, I will take it back to the repair shop.
Edit: I just found out actually that the previous flash was not a failure, here is the logs :
C:\Users\hp\Desktop\tools\platform-tools>fastboot flash recovery
target reported max download size of 1073741824 bytes
sending 'recovery' (12521 KB)...
OKAY [ 0.616s]
writing 'recovery'...
FAILED (remote: flash write failure)
finished. total time: 0.798s
Click to expand...
Click to collapse
I ran the command as an administrator
audit13 said:
If I recall correctly, USB debugging should not be required to unlock the bootloader as you are using fastboot commands to unlock the bootloader rather than ADB commands.
Click to expand...
Click to collapse
Do fastboot commands work when USB debugging is disabled?
anuragm13 said:
Do fastboot commands work when USB debugging is disabled?
Click to expand...
Click to collapse
They should. By enabling debugging in the os, it allows you to run ADB commands.
audit13 said:
They should. By enabling debugging in the os, it allows you to run ADB commands.
Click to expand...
Click to collapse
If i encrypt my device (secure startup), i.e. , it asks for password or pin to start android in the middle of the boot animation..
So will accessing the recovery mode and fastboot mode would also require the password?
i.e. will my fastboot and recovery partitions would be encrypted/protected with the password?
Btw, does xda require captcha verification everytime i reply?
anuragm13 said:
If i encrypt my device (secure startup), i.e. , it asks for password or pin to start android in the middle of the boot animation..
So will accessing the recovery mode and fastboot mode would also require the password?
i.e. will my fastboot and recovery partitions would be encrypted/protected with the password?
Click to expand...
Click to collapse
Accessing your /data partition from recovery will require your encryption password.
But you'll be able to run the recovery without providing a password and decrypting /data, your data will be inaccessible.
Fastboot mode won't be password-protected.
The bootloader, recovery, system and all other partitions but /data will be unencrypted.
No XDA, does not require captcha when I log in.
Are you using an VPN or smart DNS?
audit13 said:
No XDA, does not require captcha when I log in.
Are you using an VPN or smart DNS?
Click to expand...
Click to collapse
Its fixed.
I wasn't using any vpn.
After posting 4-5 times now it doesn't require captcha verification.
How do you all get notified if someone quoted you? Do you keep checking the threads or what?
I signed up for email notifications.
audit13 said:
I signed up for email notifications.
Click to expand...
Click to collapse
Ok
Bro, its the power button! Its a common problem for our lovely nexus5. Its like stucked, so after 5-12sec it turns off, and because it is still pressing, it turns on again.
again and again...
do u thinkn i can escape frm recovery loop if I power of my device (by making it 0% )
do u thinkn i can escape frm recovery loop if I power of my device (by making it 0% battrey)
i stuck in it very badly !!
havennt even unlocked the bootloader to flash other ! n I'm not getting whats ur solution is so tell me
pls help..i cant unlocl my bootloader..
when i flash error says"flash is not allowed in lock state"
I think you must try -wipe all data -factory reset.

No "Wipe data/factory reset" option in recovery mode

Why there is no "Wipe data/factory reset" option in recovery mode of some Android phones? For example, I got Nokia 3.4 phone recently. When I boot into recovery mode, there are only 3 options to select.
Reboot system now
Enter fastboot
Poweroff
I'm just curious, if this is a new security thing or what? If so, how do I reset or wipe data/cache without login into phone?
Select "Enter fastboot" to wipe data / cache
jwoegerbauer said:
Select "Enter fastboot" to wipe data / cache
Click to expand...
Click to collapse
There is no wipe data/cache option in fasboot mode either. I also tried using fastboot CLI to wipe data, but still has no luck. It says "Erase not allowed in locked devices".
Then unlock the bootloader.
jwoegerbauer said:
Then unlock the bootloader.
Click to expand...
Click to collapse
How do I unlock the bootloader without login in to device?
By means of Fastboot
Code:
fastboot flashing unlock ( or: fastboot oem unlock )
Deleted member 1890170 said:
By means of Fastboot
Code:
fastboot flashing unlock ( or: fastboot oem unlock )
Click to expand...
Click to collapse
That means nothing if you, 1. Can't enable USB debugging, and 2. Are unable to enable OEM unlock option in developers settings. I have run across this issue as well and haven't found a solution. I have only seen it in Nokia phones. My next step into trying too figure this out is to see if I can find a factory ROM image or combination file to install via adb
user404404 said:
Why there is no "Wipe data/factory reset" option in recovery mode of some Android phones? For example, I got Nokia 3.4 phone recently. When I boot into recovery mode, there are only 3 options to select.
Reboot system now
Enter fastboot
Poweroff
I'm just curious, if this is a new security thing or what? If so, how do I reset or wipe data/cache without login into phone?
Click to expand...
Click to collapse
did you find any solution? PLz..

Categories

Resources