Google Chromebook Pixel LTE

From Gentoo Wiki
Jump to: navigation, search

Warning

Warning
This document describes how I installed Gentoo on google's chromebook pixel LTE. These were very dangerous steps that could cause serious damage. I strongly advise against using any of these steps.

I take no responsibility if someone uses this information.


Any views presented are my own and not representative of any company or organization.

Hardware disadvantages

Glossy screen. Very hard to do any serious work on. And when working on dark background (e.g. console), I have a mirror instead of a display. :-(

No ethernet socket. This forced me to buy a USB dongle network card and makes the machine more bulky and not as light, mobile, and portable as advertised. Also external ethernet card probably uses slightly more energy than a built-in would. The case (not including screen) is around 2 mm thicker than ethernet plug, so they could have included a plug. There was also a lot of space left inside the case. I hope maybe they will have it in next version.

SIM card slot didn't open. This was a suprisingly low-quality mechanism. I couldn't open it with a pin. There is no manual even on google page how to do it. After trying for a few days, with pins of various sizes, I gave up, only to find out later when I opened the case that the mechanism was damaged by my trials.

I've read somewhere that it should be possible to use SIM cards from other providers by executing something like 'modem_set_carrier Generic UMTS' (don't remember exactly). However, when I run this command, I got an error message saying that my modem doesn't allow changing the carrier. :-(

No user manual of any kind (e.g. explaining how to enter BIOS, how to replace SIM card).

Nothing is upgradeable, mSATA SSD drives don't work in the LTE modem slot. It's the same mSATA socket, but only for the modem.

Battery is built-in. So no, I cannot have an extra battery when traveling. And as soon as battery ages and it only holds for half an hour, I'll have to buy a new laptop instead of just a new battery. That's very nice planned obsolescence by google.

The SSD is SanDisk SSD i100 64 GB ATA-9 (61057 MiB). Small and not too good quality. And soldered-in, can't be replaced if it fails. And cannot be upgraded to something more robust or larger. And when some other component fails, there's no way to move it to another machine to retrieve the data.

Not fanless and noisy. Sometimes when running dd I could clearly hear some very high-pitched noise (not coming from the fan). At room temperature of around 22 degrees Celsius, the fans start several seconds after running any nontrivial task, i.e. any task that doesn't sleep most of the time. Also, the case gets very hot compared to other machines I've used. All of these thermal issues may have something to do with unnecessary fact that google wanted to make the laptop look beautiful, so they've decided only to have very narrow slit for ventilation. I would rather prefer ugly laptop with big ventilating holes with better thermal/cooling characteristics.

Very strange keyboard lacking many useful keys, e.g. PAGE_UP, PAGE_DOWN for console scrolling, DELETE, HOME, END, CAPS_LOCK, etc.

No way to control keyboard light - it's always on, draining precious battery when not needed.

The laptop has a fatal bug - when battery runs out to zero, my Gentoo installation is erased. It's some kind of security measure. After full discharge any non-signed OS is erased. And I need to install Gentoo again from scratch. Needles to say this is a show-stopper.

A related problem is that the DC power plug does not sit firmly in the laptop's power socket. It lacks some kind of "click" to hold it in place. It can easily slide out without notice a couple of millimeters, at which point the power no longer reaches the laptop.

Very little rubber on the bottom means the laptop slides on the wooden desk all the time. If at least one of four small rubbers doesn't touch the desk directly, I have to use both hands to open and close the lid.

Every time I boot I have to go through the scary 'OS verification is OFF - press space to reenable' screen. If I do, I guess my whole Gentoo installation will be wasted. Instead, a hidden combination Ctrl + L must be pressed in order to boot. So I have to be very careful each time I boot not to do what I'm told and not allow anybody else to boot the laptop, as they would probably just press space as they are told to and erase my Gentoo installation.

This also means that I cannot e.g. reboot the machine remotely, as it will not boot without pressing Ctrl + L.

I haven't found any way to set 'power on after power failure'.

All of that makes this machine almost useless as a remote server of any kind.

I haven't found any way of entering and setting up the BIOS.

When using powersave or conservative governor, the CPU frequency only falls to ~0.9 GHz. As I spend most time editing text, 0.1 GHz would be enough. :-(

Only 4 ports, including only 2 USB 2.0.

The price was very high. It included a lot of crapware: 1 TB google drive, 12 GoGo Internet sessions, US verizon LTE SIM card. This crapware has many disadvantages: probably increased the price, will probably not work with GNU/Linux, doesn't allow users to choose their prefered service providers, etc.

The WIFI and bluetooth hardware cannot be removed or turned off by any hardware switch. So if one works at a physics laboratory, airplane cockpit, or in a hospital, where the rules forbid any RF emitters, it's impossible to take it to work.

Completely useless 'light bar' (set of colorful LEDs), which just uses precious energy.

Very square edges mean it's not very comfortable resting my hands against them e.g. when operating the touchpad.

Slightly outdated CPU. Macs are updating to newest CPU with each new release from Intel, but pixel is left with older CPU.

Only US plug included with the AC/DC power adapter. The plug is actually removable, I guess so they can ship it with UK plug in UK, EU plug in EU, etc. But since the plug costs nothing, they should give me all the plugs so I can just use it when traveling instead of having to search for power plug adapters. Especially in such an expensive product.

After owning it for ~2 years I can say that it boots well only ~ 33% of times (tried with all 3.* kernels released in last 2 years). Sometimes a completely black screen appears (but keyboard light stays on). Sometimes kernel stops with a stack trace. Sometimes it boots, but with keyboard disabled (both in X login and with no X in plain text console login). In all these cases only hard poweroff helps (hold power key for ~ 8s). Usually I need to start it 1-4 times before it boots well with keyboard enabled.

Security- and freedom-minded people emerge the kernel with 'deblob' use flag on, in order to remove all closed-sourced firmware and other binary blobs. However, Pixel's touchpad and touchscreen do not work with such a kernel.

Hardware advantages

Touchscreen.

Intel GPU. For now Intel has the best open source driver support, so it's least problematic.

I can run Gentoo on it without reflashing or resoldering anything and without fighting any BIOS-OS DRM/cryptography. It wasn't easy, but possible.

It's possible to open the case and remove the provided verizon SIM card and LTE modem.

I removed LTE modem because I don't need it. I was worried that it could be set up for some google+nsa spying. Also if it isn't there, it won't use precious energy. And won't emit that energy needlessly into my body.

Large screen resolution. However, after buying it, now I can see that the text is still much, much more readable on my old matte 1920x1200 screen than on glossy 2560x1700 screen due to all the glare, reflections, and the mirror effect.

No 'windows key', making CTRL and ALT larger and easier to use.

AC/DC transformer works also in Europe (but see the disadvantages - the plug is US only, so power plug converter is needed).

Hardware summary

Many more disadvantages than advantages.

So why did I buy it if it's so bad? Mostly due to 2560x1700 screen resolution. I cannot stand the low 1920x1200 resolution and I wanted to put my money where my mouth is and in this way vote for and contribute to the increase of screen resolutions. Also because I have only seen 'The Century of the Self' after I bought it. I got caught in the net of consumerism. It was shiny and looked nice. But this shinyness is inversely proportional to usability. Sure, if there's no ports and no ventilation, it will look nicer. Only after I bought it did I realize how much I need these ports (especially ethernet) and ventilation. And how impossible it is to do any work on the glossy screen.

All in all I give it a very generous 1 star (out of 5).

Software installation

I followed advices to start the dev mode and boot from USB:

I had problems starting dev-mode, because nothing happened when I pressed Ctrl + D. However, after shutting down 7-8 times, finally it worked. Note: I tried with different time delays after seeing the recovery screen. When it worked, I pressed it after around 3 seconds. And I could see whether it worked or not, because a confirmation dialog was displayed.

I didn't need to use google acount. I could use the crossystem command from guest acount, when in dev mode.

However, in order to use the guest account, I had to set up the chrome OS, select keyboard, language, etc. I could only do it after connecting to wireless network. That's right, I need to connect to WIFI network before being able to install another OS. WTF? Probably some google+nsa spying takes place, so I used public wifi access point for this, so that they don't know my location. I haven't tested whether maybe it would work with my wifi router after disconnecting it from the Internet (so the laptop get wifi connection but cannot send the spy data to google/nsa).

Also, during the chrome os setup in dev mode there was some small gray link named something like "advanced security" (I don't recall exact name). After clicking it, it displayed the Trusted Platform Module password, which I remembered, as it could be useful some day.

Anyway the goal was to execute the following before I could boot from USB:

shell
sudo bash
crossystem dev_boot_usb=1

Kernel

Enabled the following in the kernel:

KERNEL
Device Drivers  --->
  [*] Network device support  --->
    [*]   Wireless LAN  --->
      <*>   Atheros Wireless Cards  --->
        <*>   Atheros 802.11n wireless cards support
  Input device support  --->
    [*]   Touchscreens  --->
      <*>   Atmel mXT I2C Touchscreen 
  [*] Platform support for Chrome hardware  --->
    <*>   Chrome OS Laptop

/etc/portage/make.conf

I added -march=native to the CFLAGS.

Also, to get the touchpad and touchscreen working I did:

FILE /etc/portage/make.conf
INPUT_DEVICES="evdev synaptics"

The situation with the graphics driver is very confusing. The only driver in current kernel is i915. However, the official Gentoo Intel wiki article states that Ivy Bridge uses i965 driver. I couldn't find i965 neither in the kernel, nor as any package. What's even more confusing is that mesa package allows all three options for VIDEO_CARDS: intel, i915 and i965. But xorg-drivers only has one: intel. Not knowing what I should do, I have enabled all three:

FILE /etc/portage/make.conf
VIDEO_CARDS="intel i915 i965"