The nandg recovery image is much the same as the boot image but will boot into recovery which is a minimal boot envoirnoment. You can connnect with adb but no shell access or shell commands.
# The partition size of the image in bytes
!du tablet/nandg.recovery.img
32772 tablet/nandg.recovery.img
# We can use file to find out what kind of image we have.
!file tablet/nandg.recovery.img
tablet/nandg.recovery.img: Android bootimg, kernel (0x40008000), ramdisk (0x41000000), page size: 2048, cmdline (console=ttyS0,115200 rw init=/init loglevel=4)
# We can unpack this type of image file using one of the tools from the android sdk
!tools/unpackbootimg -i tablet/nandg.recovery.img -o tablet/recovery
BOARD_KERNEL_CMDLINE console=ttyS0,115200 rw init=/init loglevel=4 BOARD_KERNEL_BASE 40000000 BOARD_PAGE_SIZE 2048
# And this is what we get from unpacking this image file
!ls -lgG tablet/recovery/
total 12958 drwxrwxrwx 1 4096 Mar 17 09:36 img-ramdisk -rwxrwxrwx 1 9 Mar 17 09:37 nandg.recovery.img-base -rwxrwxrwx 1 46 Mar 17 09:37 nandg.recovery.img-cmdline -rwxrwxrwx 1 5 Mar 17 09:37 nandg.recovery.img-pagesize -rwxrwxrwx 1 5623172 Mar 17 09:37 nandg.recovery.img-ramdisk.gz -rwxrwxrwx 1 7637412 Mar 17 09:37 nandg.recovery.img-zImage -rwxrwxrwx 1 66 Mar 16 13:57 README.md
%%bash
# Lets unpack the ramdisk file
cd tablet/recovery/img-ramdisk/
gunzip -c ../nandg.recovery.img-ramdisk.gz | cpio -i
27247 blocks
# And what we have here
!ls -lgG tablet/recovery/img-ramdisk/
total 12837 -rwxrwxrwx 1 425152 Mar 17 09:37 aw5306_ts.ko drwxrwxrwx 1 0 Mar 16 12:46 data -rwxrwxrwx 1 2779 Mar 17 09:37 default.prop drwxrwxrwx 1 0 Mar 16 12:46 dev -rwxrwxrwx 1 5513161 Mar 17 09:37 disp.ko drwxrwxrwx 1 0 Mar 17 09:37 etc -rwxrwxrwx 1 851 Mar 17 09:37 fstab.sun8i -rwxrwxrwx 1 360865 Mar 17 09:37 ft5x_ts.ko -rwxrwxrwx 1 515908 Mar 17 09:37 gslX680.ko -rwxrwxrwx 1 258952 Mar 17 09:37 gslX680new.ko -rwxrwxrwx 1 338644 Mar 17 09:37 gt818_ts.ko -rwxrwxrwx 1 137966 Mar 17 09:37 gt82x.ko -rwxrwxrwx 1 439901 Mar 17 09:37 gt9xxf_ts.ko -rwxrwxrwx 1 400708 Mar 17 09:37 gt9xx_ts.ko -rwxrwxrwx 1 113536 Mar 17 09:37 init -rwxrwxrwx 1 2457600 Mar 17 09:37 initlogo.rle -rwxrwxrwx 1 1514 Mar 17 09:37 init.rc -rwxrwxrwx 1 451089 Mar 17 09:37 lcd.ko -rwxrwxrwx 1 1453290 Mar 17 09:37 nand.ko drwxrwxrwx 1 0 Mar 16 12:46 proc -rwxrwxrwx 1 58 Mar 16 13:58 README.md drwxrwxrwx 1 240 Mar 17 09:37 res drwxrwxrwx 1 448 Mar 17 09:37 sbin -rwxrwxrwx 1 87947 Mar 17 09:37 sunxi-keyboard.ko -rwxrwxrwx 1 143408 Mar 17 09:37 sw-device.ko drwxrwxrwx 1 0 Mar 16 12:46 sys drwxrwxrwx 1 0 Mar 16 12:46 system drwxrwxrwx 1 0 Mar 16 12:46 tmp -rwxrwxrwx 1 272 Mar 17 09:37 ueventd.goldfish.rc -rwxrwxrwx 1 4024 Mar 17 09:37 ueventd.rc -rwxrwxrwx 1 995 Mar 17 09:37 ueventd.sun8i.rc