This Repo will be archived at the 24th of Oct 2023

October 19, 2023 ยท View on GitHub

Due to the forced 2FA Mumbo Jumbo from GitHub,

this Repo has moved to GitLab

rootCROS

newbit @ xda-developers

A Script to...

  • root your Google Chrome OS Rammus, Samus and Atlas installed on a non Chromebook Device

Preconditions

  • Device is installed via sebanc - Brunch framework
  • User is logged in
  • Chrome OS developer shell is opened via ctrl+alt+t -> crosh> shell
  • sudo mount -o remount,rw / works
  • adb is up -> adb start-server

Usage

cd $PORTAGE_CONFIGROOT && sudo su
curl -LO https://raw.githubusercontent.com/newbit1/rootCROS/master/rootCROS.sh

[OPTIONS]
bash ./rootCROS.sh
reboot

[OPTIONS]:
export restore=true
unset restore
export DEBUG=true
unset DEBUG

Limitations

  • Only Magisk / su is installed and available
  • Magiskinit does NOT replace stock init -> doesn't work (yet)
    • Hence, Modules are not working as well
    • and everything else that is Magisk Mirror Mount related

Change Logs

[November 2021]

  • [rootCROS.sh] - Added Samus R91 (x86-only) and Atlas R93 support

[October 2021]

  • [rootCROS.sh] - Added squashfs-tools v4.4 from Brunch r90 stable 20210523
Internal Notes cd $HOME && sudo cp /media/fuse/crostini_6dbef25a0b67e29ada32b2b515c7e2335015d18e_termina_penguin/rootCROS/rootCROS.sh $HOME && bash ./rootCROS.sh && cd - \ cd $HOME && sudo curl -LO https://raw.githubusercontent.com/newbit1/rootCROS/master/rootCROS.sh && sudo chmod +x ./rootCROS.sh && bash ./rootCROS.sh && cd - \ cd $HOME/rootCROS && git add . && git commit -m "updates" && git push \ curl -v -H "Cache-Control: no-cache" https://raw.githubusercontent.com/newbit1/rootCROS/master/rootCROS.sh

Tested on

  • ChromeOS R91 Stable Samus + Brunch r93 stable 20211002
  • ChromeOS R93 Stable Atlas + Brunch r93 stable 20211002
  • ChromeOS R93 Stable Rammus + Brunch r93 stable 20211002
  • ChromeOS R90 Stable Rammus + Brunch r90 stable 20210523

Credits