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 and want to root 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 it’s possible to root Android Subsystem on Chromebook, but this method is only tested on Chrome OS versions 54-67.
And first, 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 to root Chromebook:
- A Chrome OS device that supports Android apps with storage space for a ~2 GB file in /usr/local. The device must be in Developer Mode. Also, the Chrome OS system partition needs to have been made writable, 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))
sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification
Instruction to grant root access in Chromebook:-
- Backup your android system image (in case you want to unroot)
- Launch up your Chrome OS shell and type
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/onescript/RootandSEpatch.sh | sudo sh
- Reboot your device.
- Now install Root checker and check whether you acquired root access.
This method isn’t different from the above one. The above code is a combination of the codes provided below. But some people might face issues with above code, so you can follow method 2.
You have to flash scripts in following order (01Root.sh>Reboot>02SEPatch.sh>Reboot).
- Backup your android system image (in case you want to unroot).
- Launch your Chrome OS shell and type
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/01Root.sh | sudo sh
- Now reboot your device and again open Chrome OS shell and type
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/02SEPatch.sh | sudo sh
- Now again reboot your device and done!!
After Chrome OS update all the changes made to rootfs will be reverted.
In case you want to unroot just manually restore your unrooted system image.
Also Read: Can I get virus by just visiting a website?
IMPORTANT NOTE: If you need to restore the original Android system image (for instance after a power wash, or if the script didn’t complete successfully), the easiest way to do this is to run the following command (then reboot) :
sudo mv /opt/google/containers/android/system.raw.img.bk /opt/google/containers/android/system.raw.img
Comment down below if you have any questions or problem, we will try to help you fix it!