How To Root A Chromebook

How To Root A Chromebook

Reading time1 min
#Technology#Linux#Security#ChromebookRooting#ChromeOS#Firmware

How to Root a Chromebook: Unlock Full Device Control Beyond Chrome OS Restrictions

Most Chromebook users settle for the sandboxed experience, content with Chrome OS’s simplicity and security. But if you’re a power user, developer, or just someone who wants more control over your device, rooting your Chromebook opens a whole new realm of possibilities. From running custom Linux distros to installing apps that are otherwise unsupported, rooting lets you break out of Chrome OS’s locked-down environment. This guide will walk you through the practical steps to root your Chromebook safely, with tips and examples to help you transform a limited machine into a versatile development platform.


Why Root Your Chromebook?

Chrome OS is designed for speed, security, and ease of use, but it comes with restrictions:

  • Limited access to the underlying Linux kernel.
  • Inability to install some native Linux applications or APKs.
  • Locked bootloader preventing custom firmware or OS installs.

Rooting removes these barriers by granting root (administrative) permissions on your device. Once rooted, you can:

  • Modify system files.
  • Install unsupported software.
  • Run custom Linux distributions such as Ubuntu or Arch Linux alongside or instead of Chrome OS.
  • Optimize system performance for your specific needs.

Note: Rooting also voids warranties and can expose your device to security risks if done improperly. Proceed with caution.


Prerequisites Before You Start

  1. Backup Your Data
    Rooting almost always involves wiping your device completely. Save any important files externally.

  2. Developer Mode Enabled
    Chromebooks restrict access to developer tools by default; you must enable Developer Mode to gain root access.

  3. Basic Command Line Knowledge
    Comfort with terminal commands will make this process smoother.

  4. A USB Drive (Optional)
    For recovery media or custom installations.


Step 1: Enable Developer Mode

Developer Mode allows root access and the ability to modify the system but disables some security features.

  1. Power off your Chromebook.
  2. Hold down ESC + Refresh (F3) buttons and press the Power button.
  3. When the recovery screen appears ("Chrome OS is missing or damaged"), press Ctrl + D.
  4. You'll see a prompt asking to turn on Developer Mode; press Enter.
  5. The device will reboot and begin transitioning into Developer Mode — this can take 10–15 minutes.
  6. When finished, you’ll boot into Developer Mode with some warnings displayed at startup.

Important: Each boot will show the warning screen; press Ctrl + D or wait 30 seconds to continue booting.


Step 2: Access Chrome Shell (crosh) & Get Root Permissions

Once in Developer Mode:

  1. Press Ctrl + Alt + T to open the Chrome shell (crosh).
  2. Type:
    shell
    
    This opens a full bash shell.
  3. To become root temporarily (some commands require this), type:
    sudo su
    

You’re now ready to make system-level changes!


Step 3: Backup Original System (Important Step)

Before modifying firmware or rooting deeper:

dd if=/dev/mmcblk0 of=/mnt/stateful_partition/backup.img bs=4M

(This creates an image backup on your persistent partition.)

You can later copy this file off for safekeeping using USB storage or network transfer.


Step 4: Download and Install Crouton (Optional - Run Linux Distro Alongside Chrome OS)

Crouton is a popular method that leverages chroot environments rather than full rooting — providing many benefits without voiding everything:

cd ~/Downloads
curl -O https://goo.gl/fd3zc
sudo sh ~/Downloads/crouton -t xfce

Use -t option for different desktops like xiwi, gnome, xfce. After installation:

sudo startxfce4

You’ll now run Ubuntu inside Chrome OS! While not true rooting of Chrome OS itself, it expands capability tremendously.


Step 5: Flash Custom Firmware (True Root / Full Control)

For advanced users seeking full control—custom firmware allows installing other OSes such as GalliumOS, Debian, Ubuntu:

  1. Use the firmware utility script by MrChromebox:
cd; curl -LO https://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh
  1. Choose “Install/Update Full ROM Firmware” option from the menu—this replaces Chromebook's write-protected BIOS with a custom one allowing legacy BIOS boot.

  2. After flashing custom firmware, you can create bootable USBs with Linux distros and install them directly without depending on Chrome OS at all.


Step 6: Root Access Inside Crostini (Linux Beta)

Chrome OS now supports running a lightweight Linux container called Crostini where root can be enabled without switching away from Chrome OS fully.

To enable root inside Crostini’s terminal:

sudo su -
passwd

Set a password and configure sudo privileges as needed.

While limited compared to flashing firmware yourself, this gives significant power while preserving Chrome OS stability.


Important Safety Tips & Warnings

  • Rooting disables verified boot—your system won’t verify integrity on startup anymore.

  • After rooting/custom firmware is installed, official ChromeOS updates may fail or brick your device.

  • Always keep recovery media ready (Chromebook recovery utility).

  • Be cautious about which commands/scripts you trust—malicious scripts can compromise rooted devices easily.

  • Know how to revert:

    To disable Developer Mode and return to stock settings:

    • Power off,
    • At startup screen hit spacebar,
    • Confirm recovery mode reset which wipes all data restoring factory state.

Wrapping Up

Rooting a Chromebook offers freedom far beyond what standard Chrome OS allows—from running robust Linux environments side-by-side with Chrome OS using Crouton, unlocking true administrative privileges for customization tweaks within Crostini containers, right up to installing custom firmware that lets you replace ChromeOS altogether!

Whether you're an enthusiast looking for lightweight *nix experimentation platform or a developer needing full control, rooting transforms your Chromebook from a constrained browser machine into an all-purpose computer ready for any challenge—with the trade-offs of added risk and complexity well worth it if done carefully.

Got questions about specific steps? Drop them in comments below!


Happy hacking!


Additional Resources: