I don't take any responsibility for bricked or destroyed hardware. Also, some actions described here may void your warranty. You have been warned!
All information here is related to 2012 version of Google Nexus 7 manufactured by ASUS and how to do various things with, or to, it from GNU/Linux. 99% of information here can be found on intranets. These are, pretty much, personal notes. Respect to all those people for all work they've done!
Speaking of which, here are some links:
Detailed information about hardware can be found at wiki. I see no reason to duplicate this information.
I didn't put this under How to for couple reasons - it would be lost there and unlocked boot loader is building block for pretty much everything.
Unlocking boot loader will wipe all your data. Therefore, you're advised to backup your data before proceeding further.
fastboot. Look for
adt-bundle-linux-x86_64. Note, however, despite it's 2013, “compat” libs are still required by 64bit version(what a shame!). This is covered by installing
ia32-libson Ubuntu. I don't know about other distros.
# ./adb devices
List of devices attached 015d46d948101e11 device
# ./adb reboot-bootloaderor, I guess, this would do too: power off Nexus 7, hold simultaneously buttons Volume Down, Home and Power
# ./fastboot oem unlock
# ./adb devices
# ./adb reboot-bootloader
# ./fastboot devices- if it doesn't list your Nexus 7, you can't continue
# ./fastboot flash recovery <path_to_image>
# ./fastboot erase cache
# ./adb pull <remote_file> <local_file>- highly recommended for later use, resp. restore
# ./adb push <path_to_SuperSU> /sdcard/
choose zip from sdcardand locate SuperSU
I've been using go-mtpfs to transfer files between 'droid and Linux.