ChromeOS is becoming more and more popular every day. Apple and Microsoft are surely watching its rise closely. But what makes ChromeOS so great? In my opinion, it’s mostly due to the combination of two things: price and simplicity.
The affordability aspect means this is a low barrier entry for people who don’t have a dedicated laptop machine. Its simplicity allows for the OS to serve as a minor backplane allowing the tasks you want to run to take preference. Combined, this makes ChromeOS a great machine to develop on. In this multi-part guide, I’ll focus on how to get a basic setup started to developing full-blown Android apps from ChromeOS (if your device supports it).
Enabling Developer Mode
Before we can get to the meat of the guide, we need to enable Developer Mode on ChromeOS. This will allow us to unlock the full potential of out ChromeOS device. Note that Developer Mode is not the same thing as Developer Channel.
Every device is different, and each has it’s own method of enabling Developer Mode. You can find the official instructions at https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices.
Generally, though, you enter Recovery mode by hold ESC and Refresh (F3) while pressing the power button. If done correctly, you should see a screen with a yellow exclamation point saying:
ChromeOS is missing or damaged. Please insert a recovery USB stick or SD card.
At this screen press Ctrl+D to begin switching to Developer Mode.
You will receive a prompt asking to remove OS verification. This is essentially what Developer mode. It allows full access to ChromeOS system.
To turn OS verification OFF, press ENTER. Your system will reboot and local data will be cleared.
From here we will press ENTER perform this operation.
Now the device will transition to Developer Mode. This may take a while. My Samsung ChromeBook Pro on battery took about 15 minutes to complete, so be patient. Once it’s done, you’ll be presented with new default boot screen. This is how you device will boot from now on.
OS verification is OFF Press SPACE to re-enable.
DO NOT PRESS SPACE. Pressing SPACE will revert your ChromeOS device to factory default. Every time your boot your device, you must press Ctrl+D to continue or wait 30 seconds and it’ll continue automatically. You might be asking why this exists. This is to avoid users unknowingly using a compromised device. There are ways to remove this screen, but doing so would require you to modify the motherboard BIOS and would likely void your warranty.
At this point, set up your device as usual with your user and password. Ignore any other developer or debugging options since you can choose those options at a later time.
Part 2 – Crosh and Nano development environment
Part 3 – Creating and modifying files from shell
Part 4 – Creating a web app with nodeJS and Caret
Part 5 – Android Development with React Native
Part 6 – Debugging with Android Runtime for Chrome
Leave a Reply