How to root ChromeOS based Chromebook Laptops

chromeos

Recently I wrote a post about Google Chromebook laptops that whether you should buy it or not. So today’s post is for those users who already own a Google Chromebook.

So, as we all know that rooting is a thing that almost all advanced Android user loves, rooting a devices meaning granting a user to modify /system partition. Now its possible to root Android Subsystem on Chromebook, but this method is only tested on Chrome OS versions 54-67.

And first of all, all credit goes to developer of aroc project. nolirium developer of aroc project made it possible to root android subsystem present in Chromebooks which help chromebook user to run android application. Enough talks let move to the process

The prerequisites of running the scripts are:

  • A Chrome OS device that supports Android apps with storage space for a ~2GB file in /usr/local. The device must be in Developer Mode. Also, the Chrome OS system partition needs to have been made writeable, that is, rootfs verification needs to be disabled.
  • Rootfs verification can be disabled by running the following commands, and then rebooting;

sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partitions $(( $(rootdev -s | sed -r 's/.*(.)$/\1/') - 1))

Instruction to grant root access:-

Method 1:-

  • Backup your android system image (incase you want to unroot)
  • Launch up your ChromeOS shell and type

curl -Ls https://raw.githubusercontent.com/nolirium/aroc/onescript/RootandSEpatch.sh | sudo sh

  • Reboot your device.
  • Now install Rootchecker and check whether you acquired root access.

Method 2:-

This method isn’t different from above one, the only difference is the above code is combined code, but sometimes it doesn’t work so you need to executed both codes manually.

  • Backup your android system image (incase you want to unroot)
  • Launch your ChromeOS shell and type

curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/01Root.sh | sudo sh

  • Now reboot your device and again open ChromeOS shell and type

curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/02SEPatch.sh | sudo sh

  • Now again reboot your device and done!!

After ChromeOS update all the changes made to rootfs will be reverted.

Incase you want to unroot just manually restore your unrooted system image.

Leave a Reply

Your email address will not be published. Required fields are marked *