From charlesreid1

Transferring Files from Mac to Nexus 7

Download the Android File Transfer software, which enables Mac to know how to transfer files to/from the Nexus's Android operating system.

Link to the software: http://www.android.com/filetransfer/

Once you install it, you should be able to transfer files between Nexus and Mac.

Factory Reset

Using the Settings Menu

How to reset the Nexus 7 (2013) using the Settings menu (factory reset)

Once you’ve checked your backup, you can reset your Nexus 7 (2013) via the Settings menu. To do that:

  • Open Settings
  • Under Personal, tap on Backup & Reset
  • Under Personal Data, tap on Factory Data Reset
  • Tap on Reset Tablet
  • Enter your PIN, pattern or password if prompted
  • Tap Delete Everything
  • Reboot your Nexus


Some info

To reset to factory settings, download the factory image from Google: https://developers.google.com/android/images#razor

We have 2013 flo version of Nexus 7

This corresponds to version 5.1.1 or 6.0.1 on the Google factory images page

From this table: https://github.com/offensive-security/kali-nethunter/wiki#10-supported-devices-and-roms

Using nethunter LRT

The Kali Linux Nethunter installation/setup repo has some useful scripts, so we'll use it to factory reset:

git clone https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-lrt.git

Now we have the following contents in that folder:

$ cd kali-nethunter-lrt

$ ls
LICENSE
README.md
common.sh
kaliNethunter
oemUnlock.sh
stockImage
stockNexusFlash.sh
stockOpoFlash.sh
superSu
turtleme
twrpFlash.sh
twrpImage

If we were installing NetHunter, we would populate all the folders (stockImage, superSu, twrpImage, and kaliNethunter) with appropriate versions of things that we had downloaded. However, in this case we only populate the stockImage folder:

$ ls -R stockImage/ 
stockImage/:
razor-mob30x-factory-52684dff.zip

Enable developer mode on device

Enable developer options by going to Settings > About Tablet > scroll down to the very bottom to Build Number and tap it 7 times. This will unlock developer options. This is really dumb, but welcome to Android, where you will die of cleverness.

Unlock device:

./oemUnlock.sh

Flash back to stock image:

./stockNexusFlash.sh

Flags