Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add another power option #358

Closed
upintheairsheep opened this issue Jan 15, 2022 · 8 comments
Closed

Add another power option #358

upintheairsheep opened this issue Jan 15, 2022 · 8 comments
Assignees
Labels
type:enhancement New feature or request

Comments

@upintheairsheep
Copy link
Contributor

Long press power button - adb shell input keyevent --longpress 26
Lock Screen - adb shell input keyevent 223
Wake up device - adb shell input keyevent 224

@upintheairsheep
Copy link
Contributor Author

Reboot to Odin/Download (only works on Samsung devices) - adb reboot download

@upintheairsheep
Copy link
Contributor Author

Factory mode (idk if it works try an emulator that has factory mode in the bootloader) - adb reboot factory

Put a warning because this is known to be a pain to exit

@yume-chan yume-chan added domain: binary-wrapper Programmatic wrapper around native Android executables. Low Priority type:enhancement New feature or request good first issue Good for newcomers labels Jan 15, 2022
@yume-chan
Copy link
Owner

yume-chan commented Jan 26, 2022

  • More key event injection: Merge into input #363
  • adb reboot downlaod: Shortcut added in bdae5d4
  • adb reboot factory: Doesn't work on all of my devices. Can't find any information online. Do you know which device supports it?

@yume-chan yume-chan added need more info and removed good first issue Good for newcomers labels Jan 26, 2022
@yume-chan yume-chan self-assigned this Jan 26, 2022
@upintheairsheep
Copy link
Contributor Author

  • More key event injection: Merge into Add support for pressing a key #363
  • adb reboot downlaod: Shortcut added in bdae5d4
  • adb reboot factory: Doesn't work on all of my devices. Can't find any information online. Do you know which device supports it?

There is a mode in bootloader called factory mode. I thought it worked but is to chicken to go to any danger mode. Make sure to put a warning before excecution of the reboot commands

@upintheairsheep
Copy link
Contributor Author

  • More key event injection: Merge into Add support for pressing a key #363
  • adb reboot downlaod: Shortcut added in bdae5d4
  • adb reboot factory: Doesn't work on all of my devices. Can't find any information online. Do you know which device supports it?

Long press power button/open power menu - adb shell input keyevent --longpress 26
Lock Screen - adb shell input keyevent 223
Wake up device - adb shell input keyevent 224

@yume-chan yume-chan mentioned this issue Jan 26, 2022
@yume-chan
Copy link
Owner

There is a mode in bootloader called factory mode.

Which device supports it?

@upintheairsheep
Copy link
Contributor Author

upintheairsheep commented Jan 26, 2022 via email

@upintheairsheep
Copy link
Contributor Author

Long press power button - adb shell input keyevent --longpress 26
Lock Screen - adb shell input keyevent 223
Wake up device - adb shell input keyevent 224

@yume-chan yume-chan removed need more info domain: binary-wrapper Programmatic wrapper around native Android executables. Low Priority labels Feb 4, 2022
Repository owner locked as resolved and limited conversation to collaborators Feb 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants