Get to Bootloader without the power button - Nexus S Q&A, Help & Troubleshooting

Hi guys,
Is there a way to get to the bootloader without the power button? My power button is broken and I'd like to lock the phone before sending it back to samsung. Unfortunately I flashed the stock zip/recovery before realizing that I needed to be rooted to get to the bootloader through various apps. Now I seem to be in a situation where I cannot get to the bootloader to lock my phone using fastboot.
Any suggestions?

If you have the correct drivers installed and the android-sdk you can just do an 'adb reboot bootloader' in the command prompt. Then 'fastboot oem lock'. Without the quotes. You should have no issues unless your phone is off.

You could do that with some roms too

adb reboot bootloader

if you have a terminal emulator app installed..
su(press enter)
reboot bootloader(press enter)
or you can..
reboot recovery(press enter)

I would do what the top guy said and use adb off your computer to push it through.
You had to run adb to get the thing unlocked and rooted in the first place right (not being snotty, its just the only way i know of doing it)?
if you get into a jam just start poking at circuits with a paper clip until something fries lol then they will never know anyway.

Related

[Guide] Returning to Stock and/or Unbricking your device Updated for Android 4.3!!!

First of all, I am in no way responsible for anything you do to your tablet period.
I have seen a couple of people asking how to return the Nexus 7 to stock after it has been unlocked, rooted and so on, so I figured I would write a quick guide as its super easy to do. Also, please make sure you make a backup of anything you don't want to lose. This is important.
Before you begin, please make sure you have ADB and Fastboot drivers installed and working.
1) Download the factory image for the Nexus 7 at https://dl.google.com/dl/android/aosp/nakasi-jwr66v-factory-d341d356.tgz
2) Extract the factory image into the same directory as your ADB and Fastboot executibles (e.g. "\android-sdk\platform-tools")
3) Plug in your device. If you are booted into Android, open a command prompt to your ADB and Fastboot directory, then type
Code:
adb reboot bootloader
If your device is powered off, press and hold both volume keys and the power button simultaneously. After holding all three buttons for a couple of seconds, your bootloader should launch. This should reboot you into the bootloader.
4) Type
Code:
fastboot flash bootloader bootloader-grouper-4.23.img
5) Next type
Code:
fastboot reboot-bootloader
6) Now type
Code:
fastboot -w update image-nakasi-jwr66v.zip
7) Optional: If you would like to relock your bootloader for warranty or security purpouses, make sure you are in your bootloader screen again and type
Code:
fastboot oem lock
8) If your tablet hasn't already rebooted automatically, type
Code:
fastboot reboot
That should do it. You should now be on stock Android 4.3 and ready to send in your tablet for warranty purposes if you so desire.
Additionally, here is an instructional video courtesy of XDA user SladeNoctis.
Also, thank you to XDA user Shano56 for the formatting help on this post.
chris.wueste said:
First of all, I am in no way responsible for anything you do to your tablet period.
I have seen a couple of people asking how to return the Nexus 7 to stock after it has been unlocked, rooted and so on, so I figured I would write a quick guide as its super easy to do. Also, please make sure you make a backup of anything you don't want to lose. This is important.
1) Make sure you have your ADB and Fastboot drivers installed and working.
2) Download the factory image for the Nexus 7 here
3) Unzip the factory image into the same directory as your Adb and Fastboot drivers.
4) Plug in your device. With the device on the home screen, type "ADB reboot bootloader" or if your device is off, press and hold both volume keys and press the power button. After holding all three buttons for a couple of seconds, your bootloader should launch.
5) This should reboot you into the bootloader. Now type "fastboot flash bootloader bootloader-grouper-3.34.img"
6) Next type "fastboot reboot-bootloader"
7) Now type "fastboot -w update image-nakasi-jrn84d.zip"
8) Optional: If you would like to relock your bootloader for warranty purposes, make sure you are in your bootloader screen again and type "fastboot oem lock"
9) I don't remember if the tablet automatically reboots at this point but if it doesn't just type "fastboot reboot"
That should do it. You should now be on stock Android 4.1 and ready to send in your tablet for warranty purposes.
Additionally, here is an instructional video courtesy of XDA user SladeNoctis.
Click to expand...
Click to collapse
You should change the title to [Guide] How to return to Stock / Unbrick your Nexus 7
Helps out those getting bootloops or softbricks from geting root access in certain ways or messing with the build.prop
SladeNoctis said:
You should change the title to [Guide] How to return to Stock / Unbrick your Nexus 7
Helps out those getting bootloops or softbricks from geting root access in certain ways or messing with the build.prop
Click to expand...
Click to collapse
Not a bad idea. Done and done. Also, I have proofread it several times over to ensure it is correct but would you mind making sure that all of the commands were typed correctly. My eyes are going crosseyed over here.
Nice guide man, I changed the format a little to make it easier to read. Use it if you want, won't be offended if you don't.
First of all, I am in no way responsible for anything you do to your tablet period.
I have seen a couple of people asking how to return the Nexus 7 to stock after it has been unlocked, rooted and so on, so I figured I would write a quick guide as its super easy to do. Also, please make sure you make a backup of anything you don't want to lose. This is important.
Before you begin, please make sure you have ADB and Fastboot drivers installed and working.
1) Download the factory image for the Nexus 7 here
2) Extract the factory image into the same directory as your ADB and Fastboot executibles (e.g. "\android-sdk\platform-tools")
3) Plug in your device. If you are booted into Android, open a command prompt to your ADB and Fastboot directory, then type
Code:
adb reboot bootloader
If your device is powered off, press and hold both volume keys and the power button simultaneously. After holding all three buttons for a couple of seconds, your bootloader should launch. This should reboot you into the bootloader.
4) Type
Code:
fastboot flash bootloader bootloader-grouper-3.34.img
5) Next type
Code:
fastboot reboot-bootloader
6) Now type
Code:
fastboot -w update image-nakasi-jrn84d.zip
7) Optional: If you would like to relock your bootloader for warranty or security purpouses, make sure you are in your bootloader screen again and type
Code:
fastboot oem lock
8) If your tablet hasn't already rebooted automatically, type
Code:
fastboot reboot
That should do it. You should now be on stock Android 4.1 and ready to send in your tablet for warranty purposes if you so desire.
Additionally, here is an instructional video courtesy of XDA user SladeNoctis.
If you want to use it and are too lazy to quote my post - http://pastie.org/pastes/4279753/text
The commands look good to me however I've never used "fastboot -w update" so can't say for that
Shano56 said:
Nice guide man, I changed the format a little to make it easier to read. Use it if you want, won't be offended if you don't.
First of all, I am in no way responsible for anything you do to your tablet period.
I have seen a couple of people asking how to return the Nexus 7 to stock after it has been unlocked, rooted and so on, so I figured I would write a quick guide as its super easy to do. Also, please make sure you make a backup of anything you don't want to lose. This is important.
Before you begin, please make sure you have ADB and Fastboot drivers installed and working.
1) Download the factory image for the Nexus 7 here
2) Extract the factory image into the same directory as your ADB and Fastboot executibles (e.g. "\android-sdk\platform-tools")
3) Plug in your device. If you are booted into Android, open a command prompt to your ADB and Fastboot directory, then type
Code:
adb reboot bootloader
If your device is powered off, press and hold both volume keys and the power button simultaneously. After holding all three buttons for a couple of seconds, your bootloader should launch. This should reboot you into the bootloader.
4) Type
Code:
fastboot flash bootloader bootloader-grouper-3.34.img
5) Next type
Code:
fastboot reboot-bootloader
6) Now type
Code:
fastboot -w update image-nakasi-jrn84d.zip
7) Optional: If you would like to relock your bootloader for warranty or security purpouses, make sure you are in your bootloader screen again and type
Code:
fastboot oem lock
8) If your tablet hasn't already rebooted automatically, type
Code:
fastboot reboot
That should do it. You should now be on stock Android 4.1 and ready to send in your tablet for warranty purposes if you so desire.
Additionally, here is an instructional video courtesy of XDA user SladeNoctis.
If you want to use it and are too lazy to quote my post - http://pastie.org/pastes/4279753/text
The commands look good to me however I've never used "fastboot -w update" so can't say for that
Click to expand...
Click to collapse
I updated the OP with your edits in it. Thanks for the help. I quoted you at the bottom
omg thank you so much. u saved my device
jarjar124 said:
omg thank you so much. u saved my device
Click to expand...
Click to collapse
Very welcome
Assuming you have a nandroid, can you boot into the bootloader, and simply ADB reboot recovery? Or does that bug prevent you from even doing that?
chrisjm00 said:
Assuming you have a nandroid, can you boot into the bootloader, and simply ADB reboot recovery? Or does that bug prevent you from even doing that?
Click to expand...
Click to collapse
In some cases due to the CWM not being official it cause bootloops by going to recovery in the bootloader.
SladeNoctis said:
In some cases due to the CWM not being official it cause bootloops by going to recovery in the bootloader.
Click to expand...
Click to collapse
There's a CWM official out?
Sent from my Nexus 7 using Tapatalk 2
chrisjm00 said:
Assuming you have a nandroid, can you boot into the bootloader, and simply ADB reboot recovery? Or does that bug prevent you from even doing that?
Click to expand...
Click to collapse
Assuming you have already flashed CWM, then the command would actually be fastboot reboot recovery. Not sure what but you speak of.
Shano56 said:
There's a CWM official out?
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Yes. There sure is. If you have Rom Manager installed it can be flashed directly from there.
I dont think you can really hard brick this device anyways
I'm sitting here at the command prompt with it on "erasing userdata"
It's been a couple minutes and I'm freakin' out! How long is it supposed to take? Everything flashed correctly, if I start the device now will there be an issue?
EDIT: Nevermind, just rebooted from the bootloader in the tablet and it booted fine. I'll get the OTA to 4.1.1 and that should probably fix any outstanding little issues.
hard brick?
I am stuck at the Google logo with a padlock and I'm pretty sure I have a hard bricked tablet. fastboot doesn't see the tablet or my computer for that mater through dmesg.
I've rebooted it countless times with vol + and vol - pushed and any combo thereof. It will only turn off completely when the battery dies because holding down the power key for 10 secs just reboots it back to the Google logo in about 5 seconds. I guess at this point I'm just waiting for Google to give me a RMA for a refund and I'll move on unless someone has any other ideas?
chris.wueste said:
If your device is powered off, press and hold both volume keys and the power button simultaneously. After holding all three buttons for a couple of seconds, your bootloader should launch. This should reboot you into the bootloader.
Click to expand...
Click to collapse
Pressing and holding the Volume down + Power buttons works just fine to launch the bootloader (at least for me).
No need to press (and force) the entire volume rocker button at all.
nugalonious said:
I am stuck at the Google logo with a padlock and I'm pretty sure I have a hard bricked tablet. fastboot doesn't see the tablet or my computer for that mater through dmesg.
I've rebooted it countless times with vol + and vol - pushed and any combo thereof. It will only turn off completely when the battery dies because holding down the power key for 10 secs just reboots it back to the Google logo in about 5 seconds. I guess at this point I'm just waiting for Google to give me a RMA for a refund and I'll move on unless someone has any other ideas?
Click to expand...
Click to collapse
Try and press and hold just the power button for 30 seconds or so to re-boot the tablet and you should be fine and it should boot up just fine. From fastboot you cannot go into cwm recovery because of a bug.
I'm trying to return to stock but get this message in the window from the ADB command after flashing the stock ROM:
​FAILED (remote: (FileWriteFailed))
Anyone seen that before or have any ideas to fix?
I tried wiping cache/factory reset from CMW but no joy.
Thanks. Worked for me. I did get worried when i got (data transfer failure (too many links)) error when trying to flash the bootloader.
Turns out it was the USB port. I switched the ports and all was well.
But I followed the commands in side the flash-all.sh file
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader bootloader-grouper-3.34.img
fastboot reboot-bootloader
fastboot -w update image-nakasi-jrn84d.zip
---------- Post added at 02:16 PM ---------- Previous post was at 02:13 PM ----------
yeahthatsme said:
I'm trying to return to stock but get this message in the window from the ADB command after flashing the stock ROM:
​FAILED (remote: (FileWriteFailed))
Anyone seen that before or have any ideas to fix?
I tried wiping cache/factory reset from CMW but no joy.
Click to expand...
Click to collapse
Try the commands i posted above and see what happens
Nuts. I tried it on many USB ports and did your commands one by one. Ended up in the same spot. It happens when writing 'userdata'...

Any way to boot into bootloader mode without a functional vol down button?

So I got my phone stuck at the Google logo, but since my volume down button is busted due to a fall I can't get into bootloader or recovery using the traditional method of power +vol down. It there any known workaround for this dilemma?
Code:
su
reboot bootloader
...from any terminal emulator with root access.
If you're not rooted, not sure you can even do this via adb from a computer?
Code:
adb shell
reboot bootloader
Thanks for the tips, however, since the phone is stuck at the boot logo the adb command or fastboot don't work unfortunately
You may need to fix the button then. Otherwise you may be out of luck in your situation.

[Q] Issues flashing custom recovery

I just got this phone, and was told to unlock the bootloader and flash custom recovery as the first step, so I'm following this guide: forums.oneplus.net/threads/full-guide-setting-drivers-up-unlocking-bootloader-flashing-recovery-roms-kernels-rooting.291274/
I've been following it to a T and everything was working well. Once I got up to #3 and type in cmd "fastboot reboot" and it boots back to normal mode (so I can disable Cyanogen Recovery), typing "adb reboot bootloader" in cmd returns "error: device not found." If I'm in fastboot mode and enter "fastboot oem device-info" it returns true for tampered and unlocked so I know I have the bootloader unlocked. If I'm in normal mode, the phone shows up in device manager under portable devices. If I uninstall it, it disappears from the list. Once I unplug it and plug it back in, it pops back up in the same place, saying device installed correctly. If I try to update the drivers, most of the options from the Manufacturer list (see in the gifs from the guide) are gone, including the google ones.
How do I move from here? should I just wipe the whole thing and try again? What's the best way to do that? If I use the the USBDeview thing and remove the A0001 driver, will that allow me to put the android ADB Interface on the phone (Basically starting over)?
Thanks friends. Really excited to get going on Android!
threemor said:
I just got this phone, and was told to unlock the bootloader and flash custom recovery as the first step, so I'm following this guide: forums.oneplus.net/threads/full-guide-setting-drivers-up-unlocking-bootloader-flashing-recovery-roms-kernels-rooting.291274/
I've been following it to a T and everything was working well. Once I got up to #3 and type in cmd "fastboot reboot" and it boots back to normal mode (so I can disable Cyanogen Recovery), typing "adb reboot bootloader" in cmd returns "error: device not found." If I'm in fastboot mode and enter "fastboot oem device-info" it returns true for tampered and unlocked so I know I have the bootloader unlocked. If I'm in normal mode, the phone shows up in device manager under portable devices. If I uninstall it, it disappears from the list. Once I unplug it and plug it back in, it pops back up in the same place, saying device installed correctly. If I try to update the drivers, most of the options from the Manufacturer list (see in the gifs from the guide) are gone, including the google ones.
How do I move from here? should I just wipe the whole thing and try again? What's the best way to do that? If I use the the USBDeview thing and remove the A0001 driver, will that allow me to put the android ADB Interface on the phone (Basically starting over)?
Thanks friends. Really excited to get going on Android!
Click to expand...
Click to collapse
You probably don't have ADB enabled on your OPO, but you don't even need it for this. "adb reboot bootloader" is just a handy way of rebooting to fastboot without shutting down and holding the up volume button while turning it on. Once you get into fastboot by doing that, continue on as the guide says! (i.e. "fastboot flash recovery xxxx.img")

Phone wont go into bootloader. How to root + flash new recovery?

Hello. I can't get my phone rooted in any way.
I want to Root so I can use TWRP app to flash TWRP recovery .img, and after that I can boot into TWRP recovery and flash new ROM. Correct????
What I've tried so far. OppoTools 1.6.5 = One key root gets hard stuck on Oppo logo at start-up and then I have to flash Coloros ROM again from recovery. Also KingRoot says app not installed. On windows version of KingRoot it gets to some percentage and then it Fails.
I have downloaded "unlocked bootloader" Coloros from this forum that was mentioned before ( Dropbox link )
I have also tried two different ColorOs versions.
I have installed 15sec ADB installer.
I plug my phone into PC and run CMD.
I type adb devices into command prompt and it detects my R7 plus.
then I try to command " adb reboot bootloader "
Phone restarts normally and doesnt go to bootloader. Tell me if im stupid, but isn't Bootloader different than Recovery? Because I can get to recovery command "adb reboot recovery"
I tried some weird button combination Vol+ Vol- + Power and phone semibricked for awhile and PC didnt even react USB driver correctly and almost waved the white flag on this case.
I've enabled USB-debuggin and OEM unlock from devices dev-options.
When I to type command "fastboot oem unlock" on command prompt is says Waiting for device. Nothing pops-up on device and nothing happens.
So now Im stuck on situation that my phone doesnt launch into bootloader where presumably "fastboot oem unlock" would work?
If you have flashed the version of Color OS that has bootloader enabled, you should simply need to go into the settings, enable USB debugging and OEM unlocking, then shutdown the phone before holding the power and volume+ buttons and waiting the ADB bootloader screen. After that, just plug it into the computer and follow the guide on flashing twrp with ADB.

BMAX MaxPad_i11 Bootloader Unlock w/ Unisoc T618

All files can be downloaded from the iplay40 tread. MUST use iPlay40 fastboot version or else it will fail using commands.
Download install SpreadTrumTools-20200317.apk
run command -- adb shell getprop ro.serialno
Enter the serial you get from your tablet and HIT generate your own signature.bin file
run command --- adb reboot bootloader
In fastboot mode -
enter command -- fastboot flashing unlock_bootloader signature.bin
Press volume down to confirm bootloader unlocking, all user data will be erased.
wait til done -- success and enjoy
Note - can take up to 5-10 mins to unlock bootloader and earse user data, be patient
After adb reboot bootloader, mine reboots, says it's in fastboot mode and continuously vibrates, non stop. It won't accept the next steps after that.
Only way out is to keep the power button pressed until it reboots.
So can't unlock bootloader.

Categories

Resources