Last active
August 29, 2015 14:02
-
-
Save rckclmbr/98eba72c755da650db5e to your computer and use it in GitHub Desktop.
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
# Download and extract the image | |
# This image can be any one of: | |
# https://developers.google.com/android/nexus/images | |
curl "https://dl.google.com/dl/android/aosp/occam-kot49h-factory-02e344de.tgz" | tar -xz | |
cd occam-kot49h | |
unzip image-occam-kot49h.zip | |
# Download simg2img.py, for creating a mountable image from system.img | |
curl -O "https://usefulshellscript.googlecode.com/svn/trunk/simg2img.py" | |
python simg2img.py system.img | |
mkdir sys | |
sudo mount -t ext4 -o loop tmp.img sys/ | |
# Push the mounted images to the android device | |
adb push sys/app/BrowserProviderProxy.apk /system/app/ | |
adb push sys/app/BrowserProviderProxy.odex /system/app/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment