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:
- Ensure that you have Crostini USB support enabled - chrome://flags/#crostini-usb-support
- Open up the terminal in crostini
-
sudo apt-get install usbutils udev
- You need to make sure that you have the USB tools installed. -
lsusb
- You should now see your connected device, if this doesn’t work there might be another issue. 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
sudo apt install android-tools-adb android-tools-fastboot
- 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
-
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.
Top comments (1)
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
oradb devices
it's not there anymore. Any ideas why?Some comments may only be visible to logged-in visitors. Sign in to view all comments.