Last active
August 29, 2015 14:04
-
-
Save mnjul/94fb8394aa2b728c3a6d to your computer and use it in GitHub Desktop.
Pull & Extract / Pack & Push omni.ja from/to FxOS phone
This file contains hidden or 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
adb pull /system/b2g/omni.ja | |
rm -rf omni.old | |
mv omni omni.old | |
mkdir omni | |
mv omni.ja omni | |
cd omni | |
unzip omni.ja | |
rm omni.ja | |
cd .. |
This file contains hidden or 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
mv omni.ja omni.ja.old | |
cd omni | |
zip -qr9XD omni.ja * | |
mv omni.ja .. | |
cd .. | |
adb shell stop b2g | |
adb remount | |
adb push omni.ja /system/b2g | |
adb shell start b2g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment