How can i put a boot password, or alternatively disable the recovery/download modes? - Android Software/Hacking General [Developers Only]

Is there any way to add a password when it boots? If no, then is there any way to disable the recovery/download mode?
How hard can it be to add a password? I was searching and apparently the problem is that the boot thing is read only and that we would have to make our own update.zip or w.e.
But why not just make a windows program that makes our own version of the clockword mod recovery update file. Just input one word (the password) and it'll make a slightly different update file or w.e
But even so since right now the boot password thing isn't developed yet (I would but i don't know how, same old story...), is there any way to just simply disable the boot menus?
I ask these things in case someone steals the phone and overrides all the security by flashing. if the modes are disabled and there's a simple screen lock or w.e then the theif can't do anything. can't enter the rom nor can he change it.
So is there any way now that I missed? if not how possible is it to develop something to make either things possible?

I have the same question. Isn't it ridiculous to have such an insecure phone? Is there still no solution?
Can you modify the bootloader in order to pw-protect download and recovery mode?

Related

[Q] Bypassing lock screen password by rooting

Hi all a friend dropped her Galaxy Note 10.1 into me yesterday to see if I could help retrieve her password. I tried entering the password wrong so many times to see if forgot password comes up but nothing. She obviously skipped registering with google. She has photos on it that she wants off it. I told her she would lose everything if I reset it and it might be her only option. Can I root it or install Cwm on it or some custom recovery to bypass the password or does it need USB debugging to be turned on which I very much doubt is turned on unless she hit it by mistake !! I came across these methods maybe method 3 might work ? Not sure.
Method 3 (new):
It’s a quite simple method than the other two. By using this method you can crack / unlock both, pattern lock as well as pin / password lock. But before you use this method, your device must have a custom recovery like CWM installed on it. Note that you may also require to root your device just in case if it doesn’t work by having CWM only (it’s a far rare case though). It should work with CWM Recovery alone.
So, lets get started: firstly download a Lockscreen bypass file from the link given below:
Pattern / Password Bypass for Android
Copy the downloaded zip file on your device’s internal / external memory by any means.
Now, boot into recovery mode on your phone / tab. Note that, each device has a different method (key combinations) to get into recovery mode. If you don’t know how to boot into recovery, you can Google it or ask us in comments below (include your device model along with the comment).
After getting into recovery, select install zip from sdcard followed by choose zip from sdcard. Navigate to the file you’ve just transferred on your phone. Hit Power button to select the file and confirm the installation by selecting ‘Yes – Install LockScreen_Security_bypass.zip’.
As soon as installation gets completed, select ‘reboot system now’ to restart the phone.
Once the phone gets rebooted, you’ll see that the pattern / password lock is still there. But don’t panic, just enter any pattern / password and it will get unlocked by itself.
Thanks to XDA Recognized Contributor dr.ketan for this awesome script. You can find his original thread here.
That’s it! You’ve successfully unlocked / cracked the pattern lock of your Android device. Do let us know if you face any difficulty while unlocking the pattern lock. We’ll be more than happy to help you out.
Nobody able to help me before I have to factory reset it any help would be appreciated :good:
Hi.
All the methods that I know of require USB-debugging to be on. Sorry
Jooztk said:
Hi.
All the methods that I know of require USB-debugging to be on. Sorry
Click to expand...
Click to collapse
No problem thanks for the reply. Looks like I'll have to reset it so.
If you can connect with adb from recovery you could snag the files from there. If your on stock recover it can be done but I'm not sure how. Cwm has the option to mount usb
Sent from my GT-I9505G using xda app-developers app

Acer Iconia One (B1-770) - How to reset to factory? (no recovery and forgot pin)

Hi All,
Doing a favour for a friend whose son keeps changing his pin on his tablet and has been changing it so often (to keep parents out no doubt) he has forgotten the pin and cannot get into the tablet.
His father doesn't really care to lose what's on the tablet as it's the kids own fault and has asked if I could restore it to factory.
In trying to do so i have encountered a litany of issues which i will describe below:
1. I have tried holding Volume Up + Power - This takes me to a screen that just says something to the effect of "Fastboot mode" and nothing else and it essentially just hangs there until batteries run out or I hit the reset pin.
2. I have tried flashing it over ADB using my laptop but also no luck as the device is "unauthorized" since I can't get in to the device with my laptop connected and hit the "authorize" button that comes up when you connect to an ADB interface.
This also means I cannot root the device and flash a recovery on to it.
3. They did not have a google account so restoring via the google account is also a no-go.
I'm not sure what other options there are but I find it very odd that there is no way to get around this. I do realize it's a form of security, but this is a legitimate scenario where one needs to flash the device and there is no way to do so. In any case, i know this is a hairy topic so just my .02, dont want to have a debate lol
Is there any way for me to reset this device to factory or at least flash some form of android os on this tablet?
Thanks to all who read and especially to those who assist!
Still no luck, any thoughts, anyone?
for the life of me I cannot put this device into recovery mode.... i've tried all combinations of buttons but at most it always goes into safemode.... i don't feel like there is recovery on this device even though that probably doesn't make sense.. i simply cannot get INTO revovery.
Has anyone been successful getting into recovery on this device model?
Have you tried on fastboot mode? fastboot -w

5s Plus stuck on fastboot. Can the volume button be disabled?

Hi, I dropped my phone in a puddle and, while it has dried out and seems to be working fine, the volume down button doesn't work anymore. That isn't a big deal, however, when I rebooted my phone I found that it thinks the button is depressed, so it keeps trying to start fastboot.
I'm not sure if there's any way to just bypass this and boot normally or not. If I press volume up I can boot into Mi-Recovery 3.0, which gives me the options of rebooting, wiping the data, or connecting with MiAssistant.
I'm reluctant to wipe my phone unless there's no other option. I have tried getting into it with MiAssistant, but I can't seem to get it to connect, and even if I could I wouldn't know what to do with it after that.
I thought if I couldn't bypass fastboot and start normally then perhaps I could change a file to disable volume down and flash the file either via fastboot or ADB.
Does anyone have any ideas? Either a way of getting around fastboot or a way to edit and flash the appropriate file to disable the volume down button? Or another option I haven't thought of...
As it remains I'm kind of screwed as my email and Steam both use 2-step verification through my phone, so until I get this fixed I won't be doing much else!
Thanks very much!
Maybe you could connect it to your PC and while in fastboot give a reboot command?
Is there any command to force normal reboot? I'm not sure.. adb reboot would probably send it to fastboot again..
star.seraph said:
Maybe you could connect it to your PC and while in fastboot give a reboot command?
Is there any command to force normal reboot? I'm not sure.. adb reboot would probably send it to fastboot again..
Click to expand...
Click to collapse
I've tried doing that using ADB, but it just reboots back to fastboot. I've tried various ADB commands but I've yet to find one that lets me bypass or disable the fastboot.
I think the best method would be some way to tell the phone that the volume down button doesn't exist. However, I don't know how to do that, nor do I have the file with which to edit the button or even know, for certain, which file to edit.
Any suggestions?
Options?
If this idea won't work, or if there's another (maybe easier) option that would work better, I would very much appreciate a nudge in the right direction! I don't mind doing the work, but I would greatly like to know if I'm cackling up the wrong tree.
Also, I was thinking I might get more eyeballs on the problem if I posted in the main Mi 5s or even Mi 5 forum but I wasn't sure if that would be considered against the rules... I believe the basic hardware is essentially the same, therefore the source of my problem should be the same. I think the main differences lie in the screen size. Maybe one or two other minor things.
But, thoughts on that or would it be against the rules?
Regardless, any help would be very much appreciated!!

Please help with the boot password on Realme 5i phone

Currently I have a device that is Realme 5i. and it is an problem is when start up, default default enter the password is true, but the machine can't activate, but enter recovery mode still get the password. so is there anything i can do to get the data in the machine (i need to get the image file stored in the machine). You can see the status in the attached video.
My device is not rooted nor has it done anything that can learn everything into the system.
thank you guys
baoluke said:
Currently I have a device that is Realme 5i. and it is an problem is when start up, default default enter the password is true, but the machine can't activate, but enter recovery mode still get the password. so is there anything i can do to get the data in the machine (i need to get the image file stored in the machine). You can see the status in the attached video.
My device is not rooted nor has it done anything that can learn everything into the system.
thank you guys
Click to expand...
Click to collapse
and you can not boot the device and remove the device password altogether ?
Fytdyh said:
and you can not boot the device and remove the device password altogether ?
Click to expand...
Click to collapse
that's right. Because if I do a hard reset, I will lose all the data on the device.
Please​

Might have bricked my phone (Alcatel Onetouch)

I rooted the phone to uninstal some bloatware, and of course I have uninstalled something I shouldn't have.
If think it was something with Lolipop in the name, which can sound pretty stupid since it's name of the OS, but the app (root uninstaller) told me it should be safe to remove...
Now either the phone doesn't start, or when it start the interface simply don't show up. I cee see the phone is running behind, If I press the power button I have the popup to restart or shut down the phone, and when I press the home button a google searsh interface appear, but I can't do anything else.
So I've been struggling all the afternoon to try to reset the firmware, I've installed QFIL, try to find the firmware, download some crap form internet that was useless since it was missing the prog_emmc_firehose file, which I've deducted should be prog_emmc_firehose_8916.mbn since the processor is a Snapdragon 410.
I found the file online, I setup the software, click on download, it load for some time... and then I have an error message (I put it on the attached image)
I have no idea what's the problem, if my files are somehow wrong or if the problem is elsewhere, since this model doesn't seem to be very popular I'm struggling to find anything. I think it's close the the Idol 3, but I don't know if both model are compatible.
I'm out of idea, if anyone can help I would greatly appreciate it.
Sylvine said:
I rooted the phone to uninstal some bloatware, and of course I have uninstalled something I shouldn't have.
If think it was something with Lolipop in the name, which can sound pretty stupid since it's name of the OS, but the app (root uninstaller) told me it should be safe to remove.
So I've been struggling all the afternoon to try to reset the firmware, I've installed QFIL, try to find the firmware, download some crap form internet that was useless since it was missing the prog_emmc_firehose file, which I've deducted should be prog_emmc_firehose_8916.mbn since the processor is a Snapdragon 410.
I found the file online, I setup the softwate, click on download, it load for some time... and then it says :
ERROR : function : sahara_rx_data: 276 Unable to read packet header. Only rea 0 bytes.
Download fails : Sahara Fail :QSaharaserver fail: Process fail
I have no idea what's the problem, if my files are somehow wrong or if the problem is elsewhere, since this model doesn't seem to be very popular I'm struggling to find anything. I think it's close the the Idol 3, but I don't know if both model are compatible.
I'm out of idea, if anyone can help I would greatly appreciate it.
Click to expand...
Click to collapse
Factory reset! By far the easiest option ( Maybe not actually... do you have any recovery installed? )
If you want to keep data you need to flash the full update image... It will re enable all the apps you disabled
Rstment ^m^ said:
Factory reset! By far the easiest option ( Maybe not actually... do you have any recovery installed? )
If you want to keep data you need to flash the full update image... It will re enable all the apps you disabled
Click to expand...
Click to collapse
If you're talking about pushing volume up + power and doing a factory reset, it's not fixing anything.
Or there's another method ?
Sylvine said:
If you're talking about pushing volume up + power and doing a factory reset, it's not fixing anything.
Or there's another method ?
Click to expand...
Click to collapse
There isn't , if you are android 5 once the app is uninstalled it's uninstalled permanently..> ( On newer android it's way harder to fully uninstall , so most apps just disable them )
To use QFIL I believe you need to enter EDL mode first? Look for some edl flashing guides , but if you can flash ANY custom recovery it's much easier that way
Rstment ^m^ said:
To use QFIL I believe you need to enter EDL mode first?
Click to expand...
Click to collapse
I think I am in EDL mode, otherwise QFIL wouldn't even start the procedure.
Just to be sure, I push both volume buttons down, then plug the cable.
Then I have a picture telling me I have to push volume up to enter Download mode, si I guess it's EDL ?
Look for some edl flashing guides , but if you can flash ANY custom recovery it's much easier that way
Click to expand...
Click to collapse
Are you saying I should be able to flash any custom recovery ?
Or that if I COULD it would be easier.
Frankly I have no idea what you're talking about, I'm totally in the dark here.
Sylvine said:
I think I am in EDL mode, otherwise QFIL wouldn't even start the procedure.
Just to be sure, I push both volume buttons down, then plug the cable.
Then I have a picture telling me I have to push volume up to enter Download mode, si I guess it's EDL ?
Are you saying I should be able to flash any custom recovery ?
Or that if I COULD it would be easier.
Frankly I have no idea what you're talking about, I'm totally in the dark here.
Click to expand...
Click to collapse
First I have limited knowledge about edl , but from what I know you can't enter edl with button combinations - download mode should not be edl... ( There are multiple ways of entering edl - You either need a special cable / Need to open phone , find test points and short them / issue correct fastboot comand for entering edl... I think it was something like fastboot reboot-edl )
And second, flashing system updates via custom recovery is usually a much simpler process than QFIL ( This is only a last resort option ! I'd use fastboot before trying qfil )
What you can do is find and download complete system update for your device , extract it and send me a screenshot. (If you can find a custom recovery for your device go ahead and flash it as well)
Sylvine said:
I rooted the phone to uninstal some bloatware, and of course I have uninstalled something I shouldn't have.
If think it was something with Lolipop in the name, which can sound pretty stupid since it's name of the OS, but the app (root uninstaller) told me it should be safe to remove...
Now either the phone doesn't start, or when it start the interface simply don't show up. I cee see the phone is running behind, If I press the power button I have the popup to restart or shut down the phone, and when I press the home button a google searsh interface appear, but I can't do anything else.
So I've been struggling all the afternoon to try to reset the firmware, I've installed QFIL, try to find the firmware, download some crap form internet that was useless since it was missing the prog_emmc_firehose file, which I've deducted should be prog_emmc_firehose_8916.mbn since the processor is a Snapdragon 410.
I found the file online, I setup the software, click on download, it load for some time... and then I have an error message (I put it on the attached image)
I have no idea what's the problem, if my files are somehow wrong or if the problem is elsewhere, since this model doesn't seem to be very popular I'm struggling to find anything. I think it's close the the Idol 3, but I don't know if both model are compatible.
I'm out of idea, if anyone can help I would greatly appreciate it.
Click to expand...
Click to collapse
Please provide the model name of the device.

Categories

Resources