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

Custom keys at the start of process, not before each PIN #168

Open
Krukosz opened this issue Nov 30, 2024 · 1 comment
Open

Custom keys at the start of process, not before each PIN #168

Krukosz opened this issue Nov 30, 2024 · 1 comment
Assignees

Comments

@Krukosz
Copy link

Krukosz commented Nov 30, 2024

Describe the bug

I have a problem with Mi A1 with Nougat. I created custom config, but I want to skip "KEYS_BEFORE_EACH_PIN" before first try after phone wake. Proper combination of keys is:

  1. send awake keys to phone (done with variable KEYS_BEFORE_STARTING) - in this case enter tab tab space
  2. type first combination: 1234
  3. send keys KEYS_AFTER_EACH_PIN (enter)
  4. if there's a cooldown, phone will turn off screen
    a. if screen is turned off (cooldown) - I want to send KEYS_BEFORE_STARTING
    b. is there's no cooldown - send KEYS_BEFORE_EACH_PIN,

Second question - If I start not from first PIN, will KEYS_BEFORE_STARTING be executed?

Does this combination could be done with your script, or I have to modify script?

@urbanadventurer
Copy link
Owner

Hi Krukosz,

Thanks for sharing your research into brute-forcing the M1 A1 with Nougat.

You could use SEND_KEYS_DISMISS_POPUPS_AT_COOLDOWN_END to send "enter tab tab space". This will only happen during a cooldown period.

@urbanadventurer urbanadventurer self-assigned this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants