I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error:

Installing update...
mount: failed to mount /dev/block/platform/msm.sdcc.1/by-name/system at /system: Invalid argument
Verifying current system...
"/system/app/Drive.apk" has unexpected contents.
E: Error in /tmp/update.zip
(Status 7)
Installation aborted.

How I did it:

I placed OTA file in sdk platform-tools folder. Then I opened up a command prompt and typed in "adb sideload 5a0f7a47588c268c239e58cf568823c6637c5af1.signed-razor-LRX21P-from-KTU84P.5a0f7a47.zip and I got that error.

What did I do wrong?

  • It seems to think you've modified your original ROM. Are you rooted? Did you uninstall or disable the Google Drive app? Dec 3, 2014 at 14:51
  • What do you mean by disable the Google Drive app? @eldarerathis Dec 3, 2014 at 23:15

2 Answers 2


The app's file has been modified in some way, changed or removed. Look up your build number in settings and search for it on Google. Hopefully you'll find a zip with .img files in it. If you've got the correct img files, reflash system.img and you're able to flash the ota.


this means that recovery doesn't recognize the google drive apk inside the update package. most ROMs don't come with google drive pre-installed, so i assume you're trying to use a factory image, which needs to be decompressed and flashed via fastboot. factory images cannot be installed via recovery.

first, you'll need the android SDK. here is a link to get that: http://developer.android.com/sdk/index.html

next, you'll need to unlock the bootloader. power down your nexus 7 and then hold power + volume down until it boots into fastboot mode. now connect your nexus 7 to your computer via USB, open a command terminal and type "fastboot devices" and hit enter. if your computer recognizes the device, the terminal will output the serial number and fastboot.

the next step will wipe all data off of the device. if that's ok, continue.

now, type in "fastboot oem unlock" and hit enter. the device will prompt you to confirm the bootloader unlock. follow the instructions on the nexus 7 to unlock the bootloader. when finished, the terminal will display a success message. after this is complete, type "fastboot reboot-bootloader" and hit enter to refresh the bootloader.

now, move the image zip to the platform-tools folder of the android sdk and unpack the factory image on your computer using whatever zip tool you have available. there is a second zip file inside the pacakage, be sure to unzip that also. then, in terminal, navigate to the unzipped factory image folder and type "./flash-all.sh" (OSX/Linux) or "flash-all.bat" (Windows) depending on your computer's operating system.

let it do it's thing and the device should boot into the OS when it's done.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .