Last active
August 29, 2015 14:07
-
-
Save frsela/8dd49d16ea429cf093d9 to your computer and use it in GitHub Desktop.
Update OMNI.JA to the FFOS phone
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
if [ $# -eq 0 ]; then | |
echo "Indica carpeta dónde está el contenido para el omni.ja" | |
exit | |
fi | |
cd $1 | |
zip /tmp/omni.ja -r * | |
cd .. | |
adb shell stop b2g | |
adb remount | |
adb push /tmp/omni.ja /system/b2g/omni.ja | |
adb shell ls -l /system/b2g | |
adb shell start b2g | |
adb logcat -c | |
rm /tmp/omni.ja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment