Few definitions first:
We want to nuke the ChromeOS operating system and replace by a full linux system. We have to fight against all doors and locks and threats that Google left for us, so let's dive in. You don't need to have any user set up, the process below works from the "bootstrap" screen when you first power on the tablet.
First things first, you need to enter developer mode or everything else will fail. Doing so will erase the device's user data so make a backup first if you've already installed something on this device. The process is the following:
Volume +
, Volume -
and Power
at the same time and hold them for 10s. Power
button, the tablet will enter recovery screen (if not, power off and retry).Volume +
, Volume -
to navigate and Power
to confirm.Show debug info
button and validate itVolume +
, Volume -
at the same time and press Power
. I don't remember for how long you need to press it, but it should say Developer mode enabled
Boot from internal disk
and press Power
.Activate debug features
or something like thisBoot from internal disk
and click again the debug button on the main interface. It'll ask you to set the root password.You'll need to download a PostmarketOS image first, for example from here. You ever select the edge
or the stable
release version (24.12 at time of writing), then the device (google-trogdor
) then the linux frontend (I've chosen Plasma desktop here, since it's the best ;-)
Once the disk image is downloaded, check the checksum is correct (with sha256sum /path/to/downloaded/image/file.zip
) and compare with the published checksum on the website.
Don't worry here if you don't find the exact frontend you want, we'll bootstrap postmarketos from itself.
Flash the image to a USB drive (don't use a SD card reader, they are so slow). You can use your preferred method here (from plain old dd
to Raspberry Pi Imager.
The latter allows to flash using the compressed image, else you'll need to run xz --decompress /path/to/image.img.xz
first. In the latter, you'll choose "No filter", "Custom image" and your USB drive (not mounted).
Once the disk is prepared, you'll need to resize it via these command (in a terminal):
$ sudo e2fsck /dev/sdX3
[...]
$ sudo resize2fs /dev/sdX3
[...]
Replace X with the drive letter (if unsure, use lsblk
to find out). You need at least 8GB drive, a 16GB is even better.
On the device:
Boot from internal image
(yes, that one)Ctrl
+ Alt
+ ⟳
to open the main consolecrossystem dev_boot_usb=1 dev_boot_altfw=1
sync
poweroff
and wait until the device powers off (few sec)You can now select the Boot from external drive
in the menu, provided you've plugged your USB drive on the device.
It should load PostmarketOS.
user
and 147147
for the credentials.System
categorie)sudo apk add pmbootstrap
(type 147147
for the password)pmbootstrap init
Enter
)edge
or the last "stable" version (like v24.12
)147147
(this isn't the password of the final user but the current user password)google
as vendor (not qemu
)trogdor
as device codenameplasma-desktop
pmbootstrap install --disk=/dev/mmcblk1
y
for overwriting147147
for user password y
to Erase questionsync
at the promptpmbootstrap shutdown
and 147147
for the user password