FORUMS
Remove All Ads from XDA

Arch Linux running natively on Pixel C

39 posts
Thanks Meter: 113
 
By Samt434, Member on 8th April 2017, 02:19 PM
Post Reply Email Thread
Hi Guys, i'm there again,


https://www.youtube.com/watch?v=WQMGkCT9yy0&t=6s

On some free time, i could have run Archlinux natively on Pixel C,
Here are my instructions to play a bit with your device in order to have it working on your device too !

First some warnings :
- You have no warrantly it will work on your device, maybe it can break your device
- This is in a prealpha state, reserved for developpers :
- Wifi is not working, you will have to have an OTG adapter and an USB ethernet card in order to be connected
- GPU is not working (so yes the UI is very slow, consequence of the great resolution of the screen)
- DRM drivers of the google kernel are bugged as hell, for example the cursor won't be visible on the screen if you use an USB mouse.
- No sound

Working things :
- boot
- Touchscreen
- Display
- Gnome Desktop (but quite slow due to no harware acceleration)

How to make this work (Developpers only):
- Format your Data partition on your Pixel C in order to disable the default encryption of Data partition.

USE WITH CAUTION !
Code:
fastboot format userdata
- Install a stock kernel on your pixel C that disable forced data encryption, otherwise as soon as you will reboot to android, you will have to format your data partition again ! (you can flash superSu that will modify your stock kernel and will do that for you)
- Download the rootfs here : https://drive.google.com/open?id=0Bz...DhZWTA0RUhrTjg
- Untar the rootfs in your data partition in /data (so that the directories bin,etc... are in /data/Arch). You can use TWRP and a comandline for this (tar -xzpvf Arch.tar.gz )
- Download the kernel here : https://drive.google.com/open?id=0Bz...UsyYXBwaXpoRm8

Now enter fastboot mode and run :

Code:
fastboot boot boot_Data.img
if you want to flash it on your boot partition :

DO THIS WITH CAUTION !
Code:
fastboot flash boot boot_Data.img
Your Arch sytem will boot

user : alarm
password :alarm

Note that a sshd deamon is running and accessible on the network !

Good luck !

If you're happy of this work and you want to have more detailed instructions please pay me a beer ! Because developing for Pixel C is time consuming
http://paypal.me/MathieuTournier
The Following 37 Users Say Thank You to Samt434 For This Useful Post: [ View ] Gift Samt434 Ad-Free
 
 
9th April 2017, 11:13 AM |#3  
OP Member
Thanks Meter: 113
 
Donate to Me
More
Download links are now available
The Following 3 Users Say Thank You to Samt434 For This Useful Post: [ View ] Gift Samt434 Ad-Free
18th April 2017, 06:51 AM |#4  
Junior Member
Thanks Meter: 1
 
More
Great work Samt434!!!!
Finally a desktop linux distro for our beloved pixel c.
19th April 2017, 02:38 PM |#5  
Member
Thanks Meter: 15
 
More
:Q______
19th April 2017, 06:56 PM |#6  
Junior Member
Thanks Meter: 4
 
More
Wow, this is amazing! I'm interested in the modifications to 'stock' Arch you did to achieve this. Is it running a modified recent Arch kernel or what? Great work!
19th April 2017, 08:05 PM |#7  
Member
Flag Salvador, BA
Thanks Meter: 50
 
More
Arch linux domining the world! <3
GREAT JOB!!!
19th April 2017, 08:38 PM |#8  
Member
Thanks Meter: 15
 
More
Quote:
Originally Posted by clixer

Wow, this is amazing! I'm interested in the modifications to 'stock' Arch you did to achieve this. Is it running a modified recent Arch kernel or what? Great work!

From the video I can see he runs "alarm" (Arch Linux Arm)
19th April 2017, 08:51 PM |#9  
Ironmaniaco's Avatar
Member
Flag Bento Gonçalves
Thanks Meter: 28
 
More
I'm not a Pixel C owner, but as an Arch Linux user, i find this news great

Does bluetooth works?
19th April 2017, 09:37 PM |#10  
Senior Member
Thanks Meter: 18
 
More
If they can get ubuntu running natively I'm in
The Following User Says Thank You to Bray90820 For This Useful Post: [ View ] Gift Bray90820 Ad-Free
20th April 2017, 01:27 AM |#11  
Member
Thanks Meter: 23
 
More
Did you compile the kernel yourself? How did you figure out what modules to include? Do you have a (menu)config file you could share?

This is incredible, wondering how hard it is to repeat on other tablets/devices
Post Reply Subscribe to Thread

Tags
alpha, arch, linux, natively, pixel c

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes