This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan
<p>This post is a continuation of the post on debugging a <a href="https://paul.kinlan.me/debugging-web-pages-on-the-nokia-8110-with-kaios/">KaiOS device with Web IDE</a>, but instead of using macOS, you can now use Chrome OS (m75) with Crostini.</p>
<figure><img src="https://paul.kinlan.me/images/2019-04-15-debugging-web-pages-on-the-nokia-8110-with-kaios-using-chrome-os-1.jpeg"></figure>
<p>I'm cribbing from the <a href="https://developer.kaiostech.com/environment-setup">KaiOS Environment Setup</a> which is a good start, but not enough for getting going with Chrome OS and Crostini. Below is the rough guide that I followed.</p>
<p>Make sure that you are using at least Chrome OS m75 (currently dev channel as of April 15th), then:</p>
<ol>
<li>Ensure that you have Crostini USB support enabled - <a href="chrome://flags/#crostini-usb-support">chrome://flags/#crostini-usb-support</a></li>
<li>Open up the terminal in crostini</li>
<li><code>sudo apt-get install usbutils udev</code> - You need to make sure that you have the USB tools installed.</li>
<li><code>lsusb</code> - You should now see your connected device, if this doesn't work there might be another issue.</li>
<li><code>sudo apt-get install --no-install-recommends autoconf2.13 bison bzip2 ccache curl flex gawk gcc g++ g++-multilib git lib32ncurses5-dev lib32z1-dev libgconf2-dev libgl1-mesa-dev libx11-dev make zip lzop libxml2-utils openjdk-8-jdk nodejs unzip python</code></li>
<li><code>sudo apt install android-tools-adb android-tools-fastboot</code></li>
<li>I am not sure I needed it, but I also ran <code>wget -S -O - https://raw.githubusercontent.com/cm-b2g/B2G/1230463/tools/51-android.rules | sudo tee >/dev/null /etc/udev/rules.d/51-android.rules; sudo udevadm control --reload-rules</code></li>
<li><code>sudo chmod a+r /etc/udev/rules.d/51-android.rules</code> and then added the device vendor ID to the file.</li>
</ol>
<p>If all the above is done, you should then be able to <code>adb devices</code> and get your list of connected devices.</p>
This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan