Skip to content

Instantly share code, notes, and snippets.

@frsela
Last active August 29, 2015 14:07
Show Gist options
  • Save frsela/8dd49d16ea429cf093d9 to your computer and use it in GitHub Desktop.
Save frsela/8dd49d16ea429cf093d9 to your computer and use it in GitHub Desktop.
Update OMNI.JA to the FFOS phone
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