Flash Nexus 7 (2012) from Linux

## Connect to Nexus 7
1. Enable USB debugging from Android OS
2. In linux install adb and fastboot

dnf install android-tools -y

## Start adb

su - root
adb kill-server
adb start-server
adb devices

## Boot to bootloader and unlock system

adb reboot bootloader
fastboot oem unlock

## Flash custom recovery

fastboot flash recovery twrp-3.1.1-0-tilapia.img
fastboot reboot

## Flash cm11 and install gapps
From Linux:

adb push cm-11-20140916-SNAPSHOT-M10-tilapia.zip /sdcard/
adb push open_gapps-arm-4.4-nano-20171024.zip /sdcard/

From twrp recovery:
wipe cache+dalvik+data
flash cm-11…zip and open_gapps…zip
reboot

## Download ROM
https://archive.org/download/cmarchive_snapshots
http://web.archive.org/web/20161224224317/https://download.cyanogenmod.org/?device=tilapia
https://developers.google.com/android/ota

## Download Gapps
http://web.archive.org/web/20161224200142/https://wiki.cyanogenmod.org/w/Google_Apps
https://github.com/opengapps/arm/releases

## Download TWRP Custom Recovery
https://twrp.me/asus/asusnexus720123g.html
https://eu.dl.twrp.me/tilapia/

Leave a Reply