This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# facebook development key hash | |
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 | |
# facebook release key hash | |
keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore YOUR_RELEASE_KEY_PATH | openssl sha1 -binary | openssl base64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to create SSH key, you do this | |
# https://help.github.com/articles/generating-ssh-keys/ | |
# | |
# assuming, | |
# [email protected] is your personal email and | |
# [email protected] is your company email | |
# $ ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
# create another SSH key for specific company following the above command | |
$ ssh-keygen -t rsa -f -b 4096 ~/.ssh/id_rsa_symph -C "[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WARNING!!! | |
# flashing factory images using this method erases the user data | |
# including third-party apps installed | |
# make sure you have downloaded the Android SDK to perform adb & fastboot commands | |
$ adb reboot bootloader | |
# some devices may not have radio.img | |
$ fastboot flash bootloader bootloader.img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 |
NewerOlder