[Android Software/Hacking General [Developers Only]] vanillaflavor:
**I TAKE NO RESPONSIBILITY FOR WHATEVER HAPPENS TO YOUR CHROMEBOOK.**

Follow this guide at your own risk

First, I would like to say that I have no built anything myself. All the work shown here has been compiled from the internet.

Second, I am no expert at this kind of thing but I have tried out everything myself and this is what has worked for me with Acer C7. ADB and fastboot work without any problems on my computer.

Third, this can actually go beyond just ADB and fastboot. You can develop with minimal restraints, but I will only be covering how to install ADB and fastboot.

Finally, I would appreciate if someone familiar with all of this would tell me what I can cut out/add as this was done by a trial and error process so I’m not entirely too sure what is necessary and what is not, or if there is an easier way of going about things.

This is a guide for anyone who wants to be able to run ADB and fastboot on their chromebook. Just note that it may take a lot of memory (it took around 4-5 GB for me), so you may want to install it on an SD card.

WARNING!

In order to run crouton and install Ubuntu you will have to go into developer mode which will wipe your device.

Instructions can be found here: http://www.chromium.org/chromium-os/poking-around-your-chrome-os-device

You can work with virtual terminal 2 or crosh shell. I recommend using a crosh shell because it’d be easier to look back here for info.

Files you’ll need (Choose according to 32 or 64 bit)

Crouton- http://goo.gl/fd3zc (Official site: https://github.com/dnschneid/crouton)

Android SDK- http://dl.google.com/android/adt/adt-bundle-linux-x86-20131030.zip OR http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20131030.zip (Official Site: https://developer.android.com/sdk/index.html?hl=sk )

JDK- http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-i586.tar.gz or http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz

I will not go over the actual installation of crouton as that can be found here: https://github.com/dnschneid/crouton

I used precise and xfce:

-e ~/Downloads/crouton -t xfce

Okay now that you have crouton installed and running, let’s get to work. First comes the installation of JDK. Download the version of JDK for your bit version and extract it. Go over to Ubuntu (using the command:

sudo startxfce4

) and using terminal emulator move it over to /usr/lib/jvm with the code

sudo mv jdk1.7.0_51 /usr/lib/jvm/

Using the file manager go to /home/<USERNAME> and open the .bashrc file using gedit text editor and add this code at the end, DO NOT OVERWRITE ANYTHING

PATH=${PATH}:/usr/lib/jvm/jdk1.7.0_51/bin
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_51

Wit that, you are done with installing JDK.

Moving onto the actual Android SDK, first download it.

Extract it and move the SDK into /local/usr

Assuming that the file is in your Downloads directory, use the commands:

sudo mv adt-bundle-linux-x86-20130219 /usr/local/

Next you’ll make a symlink to make typing commands easier:

sudo ln -s /usr/local/adt-bundle-linux-x86-20130219/ /usr/local/adt

Then go back to the bashrc file and add this code at the end once again, DO NOT OVERWRITE ANYTHING:

PATH=/usr/local/adt/sdk/platform-tools:/usr/local/adt/sdk/tools:/usr/lib/jvm/jdk1.7.0_15/bin:/usr/local/gradle-1.4/bin:$PATH
ANDROID_HOME=/usr/local/adt/sdk

Save and close the file, and run the command “. ~/.profile” in terminal.

Run the code and answer with y:

sudo apt-get install ubuntu-standard
sudo apt-get install ubuntu-desktop
sudo apt-get install synaptic
sudo apt-get install ia32-libs
sudo apt-get update

This might take some time and when that finishes type in

android

If you get permission denied run the command:

chmod u+x android

This should launch the Android SDK Manager. Check the tools section and install. When this is done, you should have ADB up and running.

Check using the command:

adb version

or just by typing adb

if you get list of commands you can run, congratulations ADB has been installed successfully!

Now check fastboot by typing fastboot. Once again if you get a list of commands for fastboot, congratulations you're done!

You now have ADB and fastboot on your Chromebook!

You can PM me and I will try to help if you have questions, or reply to this post.

Enjoy! :good: