Installing Custom Recovery (Gen 2 Only)

From Exploitee.rs
Revision as of 00:15, 7 August 2013 by Zenofex (talk | contribs) (Created page with "== About == This custom recovery currently exploits a secure boot flaw in the second generation of Google TV devices to allow booting an unsigned kernel on the Google TV. Belo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

About

This custom recovery currently exploits a secure boot flaw in the second generation of Google TV devices to allow booting an unsigned kernel on the Google TV. Below we allow users to install a custom recovery on the Google TV which allows full read write access to the device as well as an automated process for installing updates (of which we do not check the signature.)

Devices

  • ASUS Cube
  • Hisense Pulse
  • NSZ-GS7/GS8

Warnings

  • This will definitely void your warranty, if you want to keep your warranty please do not do any of the steps in this guide.
  • This may brick your GTV. It shouldn't, but it still might!

Tools Needed

  • Linux Live CD or Linux Installed
  • A vulnerable Google TV device.
  • 1 USB Drive (to be formatted)

Pre-Setup

  1. Boot Linux (Live CD or Install)
  2. Download Custom Recovery Package for Device
  3. Unzip Custom Recovery Package

Custom Recovery Steps

  1. Format a drive NTFS, and mount it.
  2. cd to the drive, and issue one of the following commands:
    The major and minor hash for these commands is pulled from an "ls -l" on /dev/mtd or /dev/block/ for the recovery mtd.
    For the Sony NSZ-GS7/NSZ-GS8:
    mknod gtvhacker-recovery c 179 10
    For Cube and Pulse:
    mknod gtvhacker-recovery c 90 32
  3. Then, copy over our files for your specific box, to the root of your NTFS flash drive
    nandwrite
    flash_erase
    CustomRecovery-VENDOR-MODEL-GTVHACKER.bin
  4. Unmount the drive, and insert it into your Google TV.
  5. Connect via adb, and issue the shell command.
  6. To find out what USB drive you plugged in, issue this command:
    ls /mnt/media/
    cd /mnt/media/usb.LABEL (where label = the rest from above)
  7. Now, issue these commands:
    cp flash_erase /data/local/tmp
    cp nandwrite /data/local/tmp
    chmod 755 /data/local/tmp/flash_erase
    chmod 755 /data/local/tmp/nandwrite
    cd /data/local/tmp
  8. Finally, to install the recovery (where usb.LABEL is the name of your usb drive from above):
    ./flash_erase /mnt/media/usb.LABEL/gtvhacker-recovery 0 0
    ./nandwrite -p /mnt/media/usb.LABEL/gtvhacker-recovery /mnt/media/usb.LABEL/CustomRecovery-Asus-Cube-GTVHACKER.bin
  9. Issue an adb reboot, and you have a custom recovery.

Troubleshooting

  • You can get help from us or other users at:

GTVHacker Forums

GTVHacker Wiki

  • or you can chat with us on IRC at:

irc.freenode.net #gtvhacker

Freenode Webchat

(Someone may not be around right away to help, make sure to be willing to wait for a response)

Download

Custom Recovery: