[Mac] Sideloading updates to a Nexus using ADBThis guide is meant for Users with little to no experience using ADB and want to sideload an update to the Nexus 5 using a Mac. If you have sideloaded an update before this may also serve as a refresher before applying the update manually. Although the process is essentially the same as a Windows PC, I believe having a Mac dedicated guide helpful to Users not comfortable following a guide written for another platform, such as Windows.
Before we get started, let's cover a few things that you should know:
- All commands entered into Terminal must be preceded with ./ (dot, forward slash).
- For clarification, brackets will be used to describe what you need to do. I will only use the brackets < > for the first part of the guide for informational purposes only. For example:
./adb<insert space>devices<press enter>
- The second post will include frequent questions and answers that have come up throughout the forum with regards to sideloading.
- This guide assumes you already have the Android SDK installed and have enabled USB Debugging. For reference, you can enable USB Debugging by opening System Settings > About Phone > tap “Build Number” seven (7) times. There will be a prompt which tells you how many more times to press it and will inform when the developer options are made available after the 7th tap. Enable USB Debugging by selecting the options.
- Files should be downloaded and kept as .zip files. Do not decompress the files as the resulting folder will not allow you update.
With that out of the way, let's run a quick check to make sure ADB recognizes our device. Now is the time to connect the device with USB and enable USB Debugging.
Open the Terminal application and "change directory" to the platform-tools folder.
The location of the platform-tools folder is where you saved the SDK during installation. Refer to the save location, or if necessary, open a finder window and open the platform-tools folder. Right click (control+click) any folder or file inside platform-tools and select "Get Info". In the pop-up window look under General and refer to "Where". Highlight the entire destination and copy it (it should end in /platform-tools).
In Terminal, type the following:
cd<insert space><paste/type platform-tools location>
Terminal should return the device that is connected as a series of numbers and letters. If nothing happens, you get an error or a directory not found error then go back and check that you have "cd" into the right directory.
Once the device is recognized we can start sideloading. On your Mac, download the update and "save-as" into the "platform-tools" folder of the SDK. As of 12-11-13, going from 4.4 to 4.4.2 can be downloaded here:
I'd suggest renaming it to something easier to handle, such as 4.4.2-update.zip, OTA1.zip, etc. Next, we want to reboot the device to the bootloader by typing the following into Terminal:
The next screen will say the following at the bottom:
Now send the package you want to apply to the device with "adb sideload <name of file>"...
./adb sideload 4.4.2-update.zip
A big thank you goes out to Jerry for his Update Your Nexus Tablet Guide and 2defmouze for the Nexus 4 Factory Restore Guide. Both were used as a reference for sideloading my first update to the Nexus 5.
Last edited by srkmagnus; 12-13-2013 at 08:37 PM.
- 12-14-2013, 08:03 PM #4
Re: [GUIDE][Mac]How-to Sideload updates using a Mac
Devices: Current: Nexus 5, Moto X, Galaxy Tab 2 (7.0); Retired: Galaxy S2 (Epic 4G Touch); Traded: Galaxy S3
When I let go of what I am, I become what I might be - Lao Tzu 'If we could change ourselves, the tendencies in the world would also change.' - Mahatma Gandhi
Community Guidelines and also here
- By deb1262 in forum Motorola Droid UltraReplies: 6Last Post: 03-07-2014, 07:43 AM
- By RealDogBoy in forum Google Nexus 5Replies: 12Last Post: 02-10-2014, 01:53 PM
- By DarksideDave69 in forum Google Nexus 7 Tablet (2012)Replies: 4Last Post: 01-25-2014, 01:39 AM
- By ChuckG73 in forum Google Nexus 5Replies: 3Last Post: 01-24-2014, 05:22 PM
- By David Chen Poh Seng in forum Samsung Galaxy S4Replies: 1Last Post: 01-24-2014, 02:58 PM