Skip to content

Instantly share code, notes, and snippets.

@matthamil
Created September 12, 2022 15:35
Show Gist options
  • Save matthamil/cfbf1a587283e34ae2591c2a7c8eccfb to your computer and use it in GitHub Desktop.
Save matthamil/cfbf1a587283e34ae2591c2a7c8eccfb to your computer and use it in GitHub Desktop.
Resync android emulator time with current time
#!/usr/bin/env bash
adb -e shell su root date `date +"%m%d%H%M%y"`
# or if you want an alias for your .zshrc or .bashrc
# unfucktime() {
# adb -e shell su root date `date +"%m%d%H%M%y"`
# }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment