[Android General] roustabout:
This is revision 1.5. It works on both currently available HP firmware releases,

1.00.05 and 1.00.08. If you upgrade from '05 to '08 you will need to re-root.

Both releases are Android 4.2 - if there's a 4.3, the method will change.

At a high level, the steps are:

- OEM unlock your bootloader using the Shield naked drivers developed by 1wayjohnny

- boot your device using a CWM originally developed for the Transformer 701 by Drgravy

- on rebooting the CWM, it will offer to root your system. Do so.

- install SuperSU or another SU manager.

- Done.

Prerequisites:

- Willingness to wipe your Slate 8's user memory - this willl happen during the process of unlocking, and, not by accident.

- Android SDK tools from Google

- Java (IIRC, the SDK is looking for 32 bit Java 1.6)

- 1wayjonny's "Naked USB Driver" from the Shield forum on XDA http://xdaforums.com/showthread.php?t=2386956

- Drgravy's Clockwork 6.0.3.7 for the TF 701 available at http://xdaforums.com/showthread.php?t=2524401

- a microSD card and a copy of the update.zip file from HP's website, to attempt a recovery if you hose your device.

I: Preparing ADB on the PC

Download and install the SDK tools. You don't need every single thing the SDK manager offers to fetch; just the minimum to get functioning ADB support, which is the platform tools package.

Put the ADB command set into your PATH variable. In Windows, do this by using the system settings tool, Advanced... Environmental Variables.. System Variables. Scroll down until you see 'PATH" click the Edit button and append the path to the directory with the ADB.EXE and FASTBOOT.EXE files in it.

In win 7, that path is C:\Users\username\AppData\Local\Android\android-sdk\platform-tools\

Next, find the .android environment folder on your computer. In win7, it is

C:\Users\username\.android

You need to create a adb_usb.ini file here that contains the vendor ID string for your Slate.

The value is

0x03F0

Reboot your PC and be sure that from a command prompt, typing adb start-server results in

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

II Enabling ADB in Android

Go to your device and tap on the build number field 8 times (in System.. About Tablet)

That enables developer mode. In the new developer options menu that is now available, tick "enable USB debugging"

III Installing and Testing the Drivers to Talk to Your Device via ADB

Download and install the Naked driver.

Connect your Slate to your USB port. You should get an unknown device followed by a failure to install driver message. Right-click on the device and manually install the ADB composite driver from the Naked driver android_winusb.inf file, choosing the nvidia shield as your device. You will get a warning that the driver is unsigned.

Once the driver is installed, open a command prompt and type

adb devices

You should get

List of devices attached

CND34609YG device

IV Unlock the Bootloader

Now type

adb reboot-bootloader

Your device restarts. A screen shows up all black with white lettering; this screen is telling you your boot loader is locked

Go to device manager; you should have a new device without a driver.

Navigate to the Naked driver folder and manually install the driver from the android_apxusb.inf file.

(that is, not the file you installed the regular ADB driver using)

Install the Shield fastboot driver.

At the command prompt, type

fastboot -i 0x03F0 oem unlock

The display on your Slate should change, warning you that you're about to void the warranty and erase all data on your device.

Use the volume up and volume down key to navigate the menu that comes up on your slate and choose "unlock."

This will erase all data on your Slate, and reinstall existing /system apps. It will not remove /system apps you shouldn't have put there in the first place!

Let your device restart and rerun its setup routine.

V Rooting the device

Connect the USB cable to the fully booted device. Open a command prompt and navigate to the directory the Clockwork recovery is downloaded to.

type

adb reboot-bootloader

At the bootloader screen, use the volume down button to select "Fastboot Protocol" and press the power button once

Now, type

fastboot -i 0x03F0 boot recovery.img

The command prompt will tell you how long it took to download the recovery; the display will

tell you it is booting from the donwloaded image.

Give it a minute or two, and your device will boot into clockwork.

Choose reboot.

Clockwork will notice that you are not rooted, and offer to drop su into /system for you.

It will also offer to disable the onboard recovery system from updating. You probably don't want to do so until

- you've backed up the recovery partition

- you've decided to install Clockwork permanently.

V Reinstalling HP software using Clockwork

This is fairly simple to do. You need to have booted into Clockwork and to have a copy of one of the HP zip files that contains a full software update, available from HP.

Those HP files are flashable in clockwork with a little editing:

To get the recovery to install, I found I needed to edit the recovery script from HP a bit:

- unzip the recovery

- navigate to

\update\META-INF\com\google\android

Open the updater-script in a text editor

delete the first few lines:

assert(!less_than_int(1381289516, getprop("ro.build.date.utc")));

assert(getprop("ro.product.device") == "fig" ||

getprop("ro.build.product") == "fig");

assert(getprop("ro.product.name") == "kadota_w_a");

those values were not being retrieved and that stopped the update from flashing.

Save updater-script

Re-zip everything below \\update\

Verify that your zipfile is structured correctly, ie, at the top level you have

- meta-inf

- recovery

- system

- blob

- boot.img

You can then put your update.zip on an sdcard and navigate to it in Clockwork (only the volume up key works for navigation as of now) or get into the advanced menu in Clockwork and do an adb sideload.