Skip to content

Instantly share code, notes, and snippets.

@mahajanabhij
Last active August 29, 2015 14:02
Show Gist options
  • Save mahajanabhij/8c218d121c416e9c205b to your computer and use it in GitHub Desktop.
Save mahajanabhij/8c218d121c416e9c205b to your computer and use it in GitHub Desktop.
Ubuntu 14.04 Android 4.3.3 Sideload install factory image
$ sudo apt-get install android-tools-fastboot
$ sudo apt-get install android-tools-adb
Download Factory Image for your device from
https://developers.google.com/android/nexus/images
Enable USB debugging(www.youtube.com/watch?v=KWYFer-cxCU) on you device and connect it
Run:
$ ./adb devices
Choose YES to authorize your phone first time.
Make Sure Serial Number is displayed otherwise something is wrong.
$ ./adb reboot-bootloader
Phone restarts allowing you to install image through USB
$ ./fastboot devices
Displays serial number again
if it reads OEM LOCKED in RED (NOTE: WILL WIPE YOUR DATA do it anyway)
$ fastboot oem unlock
In the image downloaded look for and run but read my note below:
$ ./flash-all.sh
Enjoy 4.4.3!!
_Note: If you don't want your data wiped you need do have unlocked oem
$ gedit ./flash-all.sh
remove -w flag fastboot update -w image-hammerhead-ktu84m.zip_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment