NOTE: The following is provided for reference, however we can neither offer support for accessing the file system nor for the process of deploying custom changes.
If wishing to access the Nexus tablet's file system, you may remove the tablet from the machine and connect to a Linux-based PC, following the process below.
Ensure that the tablet loses Wi-Fi network credentials as part of removing it from the machine. In order to be able to maintain a connection via screen to the tablet (below), the tablet will need to be on the chooseWifi screen. Otherwise, the tablet will move to the next stage of looking for machine components, and finding none, reboot itself, terminating the connection via screen.
If screen is not installed on your Linux machine, run:
sudo apt-get install -y screen
Unplug the tablet from the PC if it's already plugged in, then plug it back in. Run:
Note one of the last lines which should contain the device name (here,
cdc_acm 1-2:1.2: ttyACM0: USB ACM device
ttyACM0 with what was received above:
If you receive a 'permission denied' error, run these three commands, replacing 'username' with the username you're logged into the computer with, and 'ttyACM0' as above:
sudo adduser username dialout sudo chmod a+rw /dev/ttyACM0 sudo screen /dev/ttyACM0
When you see a blank screen with a blinking cursor, hit Enter. You'll see 'Sencha' in ASCII art.
Enter root as the username and the password. (Submit a support ticket to be provided this password.) You'll arrive at the tablet's bash prompt:
Output the current contents of the inittab:
Copy and paste this into a text editor, then delete the line for reaper.js. This script is what restarts the tablet upon not detecting components. After one connects the tablet to Wi-Fi, its non-detection of components while connected to the computer would trigger this script and cause the tablet to reboot.
By now, the tablet has rebooted. Log into it again with the `screen` command. Once at the prompt, run to make the filesystem writeable:
/bin/mount -o remount,rw /
Copy the edited inittab, then run:
cat > /etc/inittab
Paste the new inittab contents, and complete pasting with Ctrl + D.
Reboot the tablet by holding down its power button. Once back up and on the Wi-Fi screen, reconnect via screen and remount as writeable as above.
From here, you should be able to enter Wi-Fi network credentials with the tablet remaining on the 'maintenance required' screen.
Run the following to enable telnet, and to output the local IP address listed for
wlan0 in the results of the second command:
inetd ip addr show
Use FTP to connect to the tablet over the local network. Copy over any changed files to
/tmp, using binary mode in the FTP client. Using the screen connection, move changed files from
/tmp to the relevant path in
Power off tablet, reinsert into the machine, and test your changes.