DEV Community

loading...
Google Web Dev

Debugging Web Pages on the Nokia 8110 with KaiOS using Chrome OS

Paul Kinlan
Lead for Chrome Developer Relations at Google. Happy Shipper of lots of Cool things and proud of our team! :)
Originally published at paul.kinlan.me on ・2 min read

This post is a continuation of the post on debugging a KaiOS device with Web IDE, but instead of using macOS, you can now use Chrome OS (m75) with Crostini.

I’m cribbing from the KaiOS Environment Setup which is a good start, but not enough for getting going with Chrome OS and Crostini. Below is the rough guide that I followed.

Make sure that you are using at least Chrome OS m75 (currently dev channel as of April 15th), then:

  1. Ensure that you have Crostini USB support enabled - chrome://flags/#crostini-usb-support
  2. Open up the terminal in crostini
  3. sudo apt-get install usbutils udev - You need to make sure that you have the USB tools installed.
  4. lsusb - You should now see your connected device, if this doesn’t work there might be another issue.
  5. 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
  6. sudo apt install android-tools-adb android-tools-fastboot
  7. I am not sure I needed it, but I also ran 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
  8. sudo chmod a+r /etc/udev/rules.d/51-android.rules and then added the device vendor ID to the file.

If all the above is done, you should then be able to adb devices and get your list of connected devices.

Discussion (1)

Collapse
tombarr profile image
Thomas Barrasso

Nice article, I've gone through this setup with initial success, but now I'm not seeing the device (Nokia 8110) show up. When I plug it in, a notification shows and I select "Connect to Linux." Then when I run lsusb or adb devices it's not there anymore. Any ideas why?