Unlocking the device
Note:
Unlocking the bootloader on a Motorola device will
automatically wipe all device data.
- Make sure your computer has working fastboot and adb.
(Minimal ADB and Fastboot is sufficient - you will find it
on Google)
- Enable USB debugging on the device.
- Connect the device to the computer through USB.
- From a terminal on a computer, type the following to
boot the device into fastboot mode:
$ adb reboot bootloader
- Once the device is in fastboot mode, verify your PC
sees the device by typing fastboot devices
- If you don't see your device serial number, and
instead see "<waiting for device>", fastboot
is not configured properly on your machine. See
fastboot documentation for more info.
- If you see "no permissions fastboot", try
running fastboot as root.
- From the same terminal, type the following command to
obtain your bootloader unlock code:
$ fastboot oem get_unlock_data
- Visit the Motorola Bootloader Unlock
website and follow the instructions there to obtain
your unlock key.
- If the device doesn't automatically reboot, reboot it
from the menu. It should now be unlocked.
- Since the device resets completely, you will need to
re-enable USB debugging on the device to continue.
Installing recovery using
fastboot
See All About Recovery Images for
more information about custom recoveries and their
capabilities.
- Make sure your computer has working fastboot and adb.
(Minimal ADB and Fastboot is sufficient - you will find it
on Google)
- Download recovery -- visit TeamWin Recovery Project to obtain
the latest version of TWRP for your device.
- Connect the Moto G (1st Gen) to the computer via USB.
- Make sure the fastboot binary is in your PATH or that
you place the recovery image in the same directory as
fastboot.
- Open a terminal on your PC and reboot the device into
fastboot mode by typing
$ adb reboot bootloader
- or by using the hardware key combination for
your device while it is powered off (hold volume
down, press power button while still holding volume
down).
- Once the device is in fastboot mode, verify your PC
sees the device by typing
$ fastboot devices
- - If you don't see your device serial number,
and instead see "<waiting for device>",
fastboot is not configured properly on your
machine. See fastboot documentation for more
info.
- - If you see "no permissions fastboot", make
sure your UDEV rules are setup correctly.
- Flash recovery onto your device by entering the
following command:
$ fastboot flash recovery
your_recovery_image.img
- where the latter part is the filename of the
recovery image.
Once the flash completes successfully, reboot the device
with the bootloader combination (volume down, while pressing
power button). Choose recovery option using volume down button,
select it with volume up. Verify that the recovery software is
installed properly.
Installing Tesla OS from
recovery
- Make sure your computer has working adb. (Minimal ADB
and Fastboot is sufficient - you will find it on
Google)
- Download the Tesla OS package for your
device that you'd like to install to your computer.
-
Optional: Download 3rd party
applications packages, like Google
Apps which are necessary to download apps
from Google Play.
-
Note: Before installing GAPPS read the
Known
Issues page for condor you might choose a
different source.
- Copy the files to your SD Card.
- Boot to recovery mode, and connect the phone to your
computer through USB.
- Hold Volume Down & Power simultaneously. On
the next screen use Volume Down to scroll to
recovery and then use Volume Up to select.
- In TeamWinRecoveryProject, you can use the touchscreen
to navigate. Some recovery suites use hardware buttons for
navigation, in which case you navigate with the volume
keys.
- Optional (Recommended): Select backup and
restore to create a backup of your current ROM.
- Select wipe data/factory reset.
- You have another option for transferring and installing
the installation packages. The push and install method is
more commonly used:
- Make sure you know
the right paths to access your SD Card / internal
Storage
-
Open a command prompt (or Terminal on Mac and
Linux) and navigate to the directory holding
the package(s) you would like to install. On
the device, navigate to the mounts and storage
menu. If you see /storage/sdcard0 or /sdcard as
a mountable volume, go ahead and mount it. If
you do not see one of these partitions, then
instead mount the /data partition. Take note of
which volume you mounted. Now, push the
package(s) to your device (also, see tip
below):
- - If you mounted /storage/sdcard0,
then:
adb push update.zip
/storage/sdcard0/
- - If you mounted /sdcard or /data,
then:
adb push update.zip
/sdcard/
- where update.zip should be replaced with the
package filename.
- Go back to the main menu and select install zip. Choose
to install from the same directory where you pushed/saved
the package(s). If you are installing multiple packages,
install Tesla OS first and then (after successful
installation) install any subsequent packages on top of
it.
- Once installation has finished, return to the main menu
and select reboot system now. The device will now boot into
Tesla OS.
Download