Linux on Pixel C : Running ubuntu xenial in a LXC container (27 september) - Pixel C Original Android Development

Hi guys,
Today i wanted to share with you some of my work to run linux on the pixel C.
First of all i'm not responsible for anything, so try this but i can't guarantee that it works for you and that you won't break your tablet (even though normally it should work ).
Secondly this thread is for people who know how to use correctly adb, fastboot and linux console, instructions are not very detailed here, so if you're stuck try a bit to search, you will learn a lot !
So first what is LXC ?
LXC (Linux Containers) is an operating-system-level virtualization method for running multiple isolated Linux systems (containers) on a control host using a single Linux kernel. (wikipedia)
We are gonna use this technology to run ubuntu on Pixel C (we will even be able to access to the GPU drivers in the future, i'm currently working on it)
So first, we need a special kernel where cgroups are activated.
Please download and flash my modified stock kernel for nrd90r :
https://drive.google.com/file/d/0BzWwMqZZvtXSZjNzdDB6MVBqd0E/view?usp=sharing
Code:
fastboot flash boot boot.img
Try to see if you can run su in the tablet, otherwise you will have to install supersu.
Now, install busybox so that we have some tools to help us a bit : https://play.google.com/store/apps/details?id=ru.meefik.busybox&hl=fr
Download now lxc compiled with PIE support for Pixel C and the ubuntu rootfs (here is a 32bit version, 64bit is also working fine on my tablet ) :
https://drive.google.com/open?id=0BzWwMqZZvtXSTnJBbS1LbGo0MUE
send it to the pixel C :
Code:
adb push lxc.tar.gz /sdcard/
Now extract the archive in /data
Code:
adb shell
su
tar xvzf /sdcard/lxc.tar.gz -C /data/
Now run ubuntu and enjoy ! :highfive:
Code:
# open a terminal as root on the tablet
# execute :
/data/lxc/startSystem
If everything goes well, you will see ubuntu booting
Welcome to Ubuntu 16.04 LTS!
Set hostname to <u3>.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Swap.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Reached target Encrypted Volumes.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on udev Kernel Socket.
...
user : ubuntu
password :ubuntu
Internet will work out of box if your tablet has a net access, you can install, remove things using apt
What is going on for this project :
I'm currently trying to use the GPU drivers using libhybris so that in the future we can run wayland on pixel C and have a fully working linux environnement ! (KDE, gnome)
see here for KDE, we need to port this : http://blog.bshah.in/2016/05/02/plasma-mobile-new-base-system/
I need help for this (because it's difficult). For this, we will have to patch bionic so that we can use libhybris. All the devs can contribute here )
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
paypal.me/MathieuTournier

Reserved
For people that just want to use lxc alone building there own images, here is a lxc version with PIE support enabled :
https://drive.google.com/file/d/0BzWwMqZZvtXSQVR1dGFhZFRyeVU/view?usp=sharing

works perfekt, thanks

Whenever you get around to posting the 6.X kernel, I'd be happy to help test this on Dirty Unicorns 10.3 stable. I've wanted a non-virtualized Ubuntu install on my Pixel C for a while so I can use it to replace my laptop for research, and an LXC seems like a great way to make that happen.
Thanks for taking the time to work on this!

Great work, thank you! It works as described on preview 4. It would be awesome to see a full Linux desktop on the Pixel C. I'd be glad to test - if there's a way back

after flash boot.img the tablet is not boot. i am use last update .

I'm looking forward to using this on my Pixel C once there is a graphical environment.
While you are working on the GPU, is it possible to install XServer/Gnome/etc along with a VNC server and connect to it via a VNC client on Android? If so, could you quickly explain how to do it with this?

Yo OP, wouldn't it be better to use Arch Linux for this project? You know, considering the better documentation for Arch, and bigger cooperation of the community?
Great attempt though, if I get a Pixel C as planned I would like to test this!
---------- Post added at 09:09 AM ---------- Previous post was at 09:06 AM ----------
@Samt434 forgot to quote you lol.

Hi guys, sorry for the late answer. I will update everything so that LXC can run on the lastest android version soon !
There is a great anoucement coming Stay tuned !

Samt434 said:
Hi guys, sorry for the late answer. I will update everything so that LXC can run on the lastest android version soon !
There is a great anoucement coming Stay tuned !
Click to expand...
Click to collapse
Yeah, can't wait.

How does this compare to Linux Deploy? I've got Ubuntu running with Linux Deploy using the android XSDL X server for display and it runs pretty well.

Is google now giving us similar tools?
https://cloud.google.com/compute/docs/containers/vm-image/
I don't know a damn thing about programming but if this if someone figures a way for me put Chrome OS on my Pixel C I'll pick it up.

as a massive linux fan & a Pixel C owner, i'm watching this project closely. Love to hear what's coming in a look ahead. Personally, my preference would be to be able to install a linux OS natively as a sole OS (any live ARM version) but anything that can be done to un-androidify the Pixel C would be awesome.

@DollarUsername : lxc permits for exemple to run systemd correctly, so your distribution is fully running with this solution

New update, new kernel based on stocked for NRD90R (note that this kernel doesn't include dm verity)
And i have a surprise : https://youtu.be/4B8unHrbZK4
Weston and XWayland are now running well on Pixel C ! (using the DRM framebuffer)
I can't say when i will publish it, it still need some more time (there are still some stability issues...), and i have a lot of other things ongoing.
But i will publish it soon
Thanks a lot for your support !

Samt434 said:
New update, new kernel based on stocked for NRD90R (note that this kernel doesn't include dm verity)
And i have a surprise : https://youtu.be/4B8unHrbZK4
Weston and XWayland are now running well on Pixel C ! (using the DRM framebuffer)
I can't say when i will publish it, it still need some more time (there are still some stability issues...), and i have a lot of other things ongoing.
But i will publish it soon
Thanks a lot for your support !
Click to expand...
Click to collapse
Thanks for your work!
The Youtube link is private.

ArangeLTX said:
Thanks for your work!
The Youtube link is private.
Click to expand...
Click to collapse
It's uploading, I can't afford the fiber man
It's available now !

Is it possible to start Linux from the terminal after the initial setup with adb?
Is there a tutorial to setup Wayland or is it ready to go. I would love to use my Pixel C for Java development with eclipse. Would this be possible or would it be a pain in the a**?

TheBready said:
Is it possible to start Linux from the terminal after the initial setup with adb?
Click to expand...
Click to collapse
Yes
"Is there a tutorial to setup Wayland or is it ready to go. I would love to use my Pixel C for Java development with eclipse. Would this be possible or would it be a pain in the a**? "
Yes it would be possible and would even run well !
About Wayland and weston, there is no tutorial and it's not ready to go currently (the demo is not currently based on LXC). The demo is from my lastest developpments, it requires still some dev before being published. But i hope to publish it soon :highfive:

First off, just wanted to say you are a god, keep up the good work. I've wanted linux on my pixel c since I bought it. I was going to install it via the instructions in your first post but I'm a little confused as to whether it has GUI or not? I understand it's Ubuntu Xenial but some of your notes make it seem like it doesn't have a GUI yet? Is this the case?

Related

[Guide] Building your own ICS ROM on 64-bit Windows 7

Please note that this is a guide to how to setup an environment to create your own ROM, and to build a test AOSP ICS Rom that will work on an emulator. While it is possible to do all this in 32-bit Win 7, you will find it much (!) easier in 64-bit Win 7. The intention is to allow all the folks who have said they'd like to work on a ROM to get their feet wet. If you complete all the steps in this guide you will have a Vanilla ICS Rom that works in the Android Emulator. You would still need to modify the kernel for the Tegra and add the special radio and other drivers before porting to the Streak.
Of course you can skip step 4 if you are willing to either dual-boot Ubuntu, or go into Ubuntu full time. However I figure a lot of folks on here are still on Windows for one reason or another.
1) Make sure that the ROM for your Windows 7 computer is set to allow Virtualization. If you have a Core i7 this will be the default. Otherwise you will need to make sure to set it manually through the Setup that should come up before BOOT.
2) Download VirtualBox 4.1.8
DL Link here for VB:
http://download.virtualbox.org/virtualbox/4.1.8/VirtualBox-4.1.8-75467-Win.exe
DL Link here for VB Extensions (necessary for USB, shared folders, etc):
http://download.virtualbox.org/virt...alBox_Extension_Pack-4.1.8-75467.vbox-extpack
3) Download Ubuntu 11.04 64-bit
DL Link here:
http://www.ubuntu.com/download/ubuntu/download
Make sure (!) to select the 64-bit version before clicking download
4) Install VirtualBox and Ubuntu:
Install and Setup Guide:
http://www.sevenforums.com/tutorial...ndows-7-virtual-machine-using-virtualbox.html
(Note that some of the images from this guide are from an earlier version of Ubuntu)
I personally recommend that as long as you have at least a Quad Core that you give your VB machine Two Cores and Two Gigs of RAM. For the HD size of your Virtual HD remember that the Android Source Code is almost 16 Gigs. For speed and other purposes I suggest creating a fixed size 80 Gig (or larger) Virtual HD. While this can be on an external drive, if you have room on an internal drive that will also improve performance.
5) Install the Toolchain (Android Build Environment):
http://mjanja.co.ke/2011/11/building-android-4-0-on-ubuntu-11-10/
The first three steps will take between 1-2 hours. Step 4 will take an hour or so as well. Step 5 takes multiple hours due to the size of the Android repo source library. Plan accordingly
Hope this helps!
Looks good, but its way easier to use a direct Ubuntu installation, dude.
So far as i can see, you can use the sdk on 32-bit, too.
Mind everyone he said this was for AN EMULATOR
giveen said:
Mind everyone he said this was for AN EMULATOR
Click to expand...
Click to collapse
And that it still requires tuning for the Tegra chip and the custom radios. This is not a new ROM, rather it is what you would need to do to setup an environment to create a ROM.Just saw so many folks saying they would like to help, that it seemed to make sense to show them how to get started. If anyone has gone through this and is ready to take that next step, this would be a good place to let folks know.
exebreez said:
Looks good, but its way easier to use a direct Ubuntu installation, dude.
So far as i can see, you can use the sdk on 32-bit, too.
Click to expand...
Click to collapse
Support on 32-bit is "experimental" according to Google. As for a direct install, that'sonly true if you are ready to convert to Linux or dual boot. On a fast machine having the VM is actually pretty quick, and allows you to mess up without impacting everything else.
It's a tuto to creat a ROM for a smartphone or a computer?
Samoht59 said:
It's a tuto to creat a ROM for a smartphone or a computer?
Click to expand...
Click to collapse
This is more of a guide on how to build an environment were you can begin to build android.
How to Compile Skia Rendering Engine to a rom. (for Indic Support)
rahulsby said:
How to Compile Skia Rendering Engine to a rom. (for Indic Support)
Click to expand...
Click to collapse
Missing a link?

[DEV]Chroot-Linux on Xperia Devices Locked/Unlocked Bootloaders(Debian,Ubuntu,BT5up)

Hi,
I have just bought a new Xperia Pro and Here is My first Contribution.Hope you guys like it.
I have tested it personally on the Unoffical MIUI port for PRO.But it should work on other Kernels and Xperia Devices as well.
I am posting a few Screens for you guys and as you can see lxde is already pre-installed for you guys.
Feel Free to comment
Disclaimer:-
I am Not responsible if anything Happens to your Phone.You do it at your own Risk and Responsibilty,
If you Screw Up then dont Blame Me.
I am not responsible for Anything.
What is chroot?
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.
Things required:-
1)Terminal
2)Root
3)Sdcard with atleast 2GB of free space
4)A Brain
Please Consider Donating to add to my late night coffee and Books Fund.
Link:-
https://www.dropbox.com/s/4k1f5l9jxy2nr9n/debian.7z
Mirror:-
http://www.4shared.com/archive/uNEXsuNS/debian.html?refurl=d1url
Note:
Please read the ReadMe.txt file attached to this post first for instructions.
A special request to all those who are donatinglease send me a P.M so that i know who you guys are.
Donators:-
None So Far
Thank you.
Posting Ubuntu over Here
Remember to Read the Read Me File First.
Link:-
https://www.dropbox.com/s/z7ekya7u7zo19p8/ubuntu.7z
Mirror:
http://www.4shared.com/archive/Qv0u_lWN/ubuntu.html
Mirror:
http://min.us/mZVpflpS5
Posting Back Track 5 Linux
Remember to Read the Read Me
Back Track linux Temp mirror(From My O2x Thread)
https://www.dropbox.com/s/ccf7lhfazl7li7u/btl.7z
Mirror:-
http://www.4shared.com/archive/EoGkvPD9/btl.html?refurl=d1url
NOTElease Download the file btl attached to this post and extract it on your computer and copy the btl file within and paste it in the btl directory downloaded from the above hosts replacing the old one.Now the chroot should run.
added a new Script and deleted the old one.Please use that now.I tested it personally on Stock and it is working perfectly.
As soon as it boots it asks if you wanna start VNC server?Press N and then follow the readme file.
Incase of any probs please let me know
and another
One More
Final Reserve
Nice Run..! First..
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
xperiap said:
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
Click to expand...
Click to collapse
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Riyal said:
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Click to expand...
Click to collapse
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
manasgirdhar said:
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
Click to expand...
Click to collapse
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Riyal said:
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Click to expand...
Click to collapse
Already Did.Will upload it sometime Later today or tomorrow.
Debian and Ubuntu both have lxde pre-installed.
Edit:-BT5 UP.
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Riyal said:
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Click to expand...
Click to collapse
THANKS for the link...Meego wont chroot..tried it on the optimus a few months ago and failed..problem with zephyr..will give it a go later.fedora I had as well..but the thing is ...Does anyone except me even use these here????
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
In theory yes its possible.but changes will have to be made to the arm kernel to chroot.when u type uname in terminal the output inside the chroot is different than the android kernel.but I think native booting will be better than chrooting..not being interested is just odd....its so much fun having linux on the go
manasgirdhar said:
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Click to expand...
Click to collapse
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
ameer1234567890 said:
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
Click to expand...
Click to collapse
Thanks for the advice.added to first post...not good with explanations
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
Actually I know I am going to say something Off-Topic
1) People on XDA are now the people who have got a smartphone just because they can afford one and wanna make their phone look "kewl" than the others with the same device
2) People do dumb things like cross flashing kernels.. They dont even read carefully what the OP says..
3) Running linux on a phone would be the best thing.. specially on an xperia pro where you get a harware keyboard..
I would like all noobs to see this - http://forum.xda-developers.com/showpost.php?p=16682226&postcount=2441
and this - http://forum.xda-developers.com/showpost.php?p=15826094&postcount=45

[ROM] [ICS] [AOKP] DroidNix ~ Native Linux Applications ~ No Chroot

I have build AOKP ICS for the P4-WiFi and have edited the ram-disk in order to include the core Linux files, and I am currently working on installing Lua, Perl, and Hamachi, and making a CWM flash-able zip.
I will not hold your hand! This is not this hard.
This is not perfect, it may need some tinkering with to make it work!
If this bricks your tablet, I am not responsible, but I will attempt to help you fix it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~Installation Instructions~~~~~~~~~~
Download everything in the http://goo.gl/h3aDy folder.
Restore it with a CWM backup.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~Changelog~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0.0.1-Alpha
Initial build with basic Ubuntu-ARMEL files and LSB-Core installed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~WIP~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-CWM Flashable ZIP
-Hamachi (Files.Hamachi.Cc mirror down. LogMeIn notified, awaiting solution.)
-Lua
-Perl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*RESERVED*
Sorry about complicated installation instructions, I am working on simplifying them.
Hi man.
please tell us what is this exactly?is it an Ubuntu OS or sort of?
Question:in the "/downloads/" directory there's a build named "Latest-Build-EXPERIMENTAL.zip ".is it a flashable zip?
The only difference between Ubuntu or any other distribution are the repositories and the name. This was made of Ubuntu Lucid and the zip doesn't work yet.
interesting... keep it up!
Thanks, I want to get Hamachi working but the place they had the working build is gone.
Has anyone gotten it to work yet?
I've a GT-P7500 and will try it...Hate ADSL speed...
I don't n to be needly or pushy or anything, but can the OP, or anyone running the ROM, make a video showing the Native Linux app capability? I know it would have to be compiled for ARM and It's been hard finding ARM apps for Ubuntu, for example, but you can show me something cool then I'll love you all forever.
Does this have any package management included? How is this better than using chroot? In my experience for the things I want to do chroot is not bad other than the fact that I want an external keyboard (to program in emacs), but if this is faster somehow that could be nice. But I'd rather have the package repositories of Ubuntu over speed personally.
Waiting anxiously for a vid or a better explanation of it's use...Keep it man!!!
Perhaps if you compress it I can download...it's sooo big and my internet speed is 0.7mbps
It is better than chroot because it does not require a lot of the core Linux capabilities to run in two instances as in a chroot, so it is approximately twice as fast, and I am working on a package management app, but I cannot just use the Ubuntu repositories because I have to rebuild the applications for the specific hardware, but I am working on a package management app, but I am just learning Java.
GazaIan said:
I don't n to be needly or pushy or anything, but can the OP, or anyone running the ROM, make a video showing the Native Linux app capability? I know it would have to be compiled for ARM and It's been hard finding ARM apps for Ubuntu, for example, but you can show me something cool then I'll love you all forever.
Click to expand...
Click to collapse
I would right now, but I just got back from camp and my tablet is at my mother's house. I will have a video up in a couple of days.

[QPAIR/LOA] - LinuxonAndroid GPad support

This will be used to detail how to get LinuxonAndroid running on the GPad and the process of QPair support to bring new and interesting features to the project as a whole.
Step 1 - Install Linux on the tablet
We shall start by using the standard Complete Linux Installer to install and run Linux with the GUI pumped over VNC (Frame buffer method coming soon!), this method works on most devices and is the most universal but as the project develops in the coming weeks a better method for the GPad will be developed.
Anyway on with installing!
Root
First things first you will need to root your tablet, currently my tablet is running Stock V50020d with root.
The below will most likely work on other ROMs as long as you have root it should work!
(A custom ROM may be developed for further features.. watch this space)
Download
Now we have root you will need to download the below:
Complete Linux Installer
Terminal Emulator
VNC View (I recommend PocketCloud)
Finally download A Linux .img file from our source forge site HERE, I recommend and will be using Ubuntu 13.10 Small ext4. Once downloaded extract the .zip file and copy the .img to your devices memory (internal memory or sdcard).
XDA:DevDB Information
LinuxonAndroid - GPad, Device Specific App for the LG G Pad 8.3
Contributors
zacthespack
Version Information
Status: Testing
Created 2014-11-01
Last Updated 2014-11-12
Let me understand, you want to port QPair to linux that will run on the G pad?
Disclaimer: I'm also in the challange but the idea of running linux on the tablet is really interesting.
yoavst said:
Let me understand, you want to port QPair to linux that will run on the G pad?
Disclaimer: I'm also in the challange but the idea of running linux on the tablet is really interesting.
Click to expand...
Click to collapse
I guess @zacthespack wants to use linuxonandroid on tab and sync stuff with a third party such as keyboard, etc using QPair.
Another Disclaimer here Good luck to everyone!
SferaDev said:
I guess @zacthespack wants to use linuxonandroid on tab and sync stuff with a third party such as keyboard, etc using QPair.
Another Disclaimer here Good luck to everyone!
Click to expand...
Click to collapse
Bingo!
With linuxonandroid running on the tablet we could then use QPair to allow the user to have a phone (or another tablet..?) as the mouse/keyboard for Linux
posted first steps in OP to start getting LoA running on the tablet.
Everything is running very well, I shall finish the guide shortly to get LoA running but really the app install guide will work perfectly.
Next step I will be releasing a special Ubuntu 14.10 image which will be the supported image for QPair features and other changes for the GPad.
it say I need a loopable kernel which I didn't find for stock LG rom...
yoavst said:
it say I need a loopable kernel which I didn't find for stock LG rom...
Click to expand...
Click to collapse
Stock LG kernel does have loop support so you should have no issue here, if you are having another issue getting linux to start let me know, shall be updated the OP in the next few days
As you know voting is now live so please do vote for the project!
http://forum.xda-developers.com/dev...-voting/xda-lg-contest-voting-thread-t2978598
Howdy, cool project. Couple of questions. I'm looking for a reason to install Linux on my tablet, but also understand that I can remotely view my home system with vnc. So what would be the benefit?
Is there more control using Linux to Linux?
Does this mean I could open into my home system, make changes to my kernel, compile, and upload to a server from my tablet?? Late night insomnia while in the mountains would be awesome. I would have to tether my tablet to my phone for WiFi, and run through Linux? This sounds pretty awesome.
Tell me the reasons it won't work.
Pretty awesome OP. Thanks!
Cant log in ubuntu
Can somebody tell me why im not able to boot?im running lollipop with red kernel and before i was running kitkat and still the same.Im my g2 there is no problem but on tab doesn work.I download complete linux installer,busybox,terminal and vnc and i never get the @root.i trh also a differend image but nothing.Any help will be appreciate

Arch Linux running natively on Pixel C

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=0BzWwMqZZvtXSTDhZWTA0RUhrTjg
- 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=0BzWwMqZZvtXScUsyYXBwaXpoRm8
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
Reserved
Download links are now available
Great work Samt434!!!!
Finally a desktop linux distro for our beloved pixel c.
:Q______
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!
Arch linux domining the world! <3
GREAT JOB!!!
clixer said:
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!
Click to expand...
Click to collapse
From the video I can see he runs "alarm" (Arch Linux Arm)
I'm not a Pixel C owner, but as an Arch Linux user, i find this news great
Does bluetooth works?
If they can get ubuntu running natively I'm in
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
This is great
I wish someone could port it for HP Slate 21
@Samt434 interesting, can you go into more detail about how you built the data partition image?
@Samt434 , hi Archlinux friend
Really good job
I have a similar project for Xperia S with working GPU acceleration. Maybe we can share some stuff. I already pushed some package like libhybris into AUR.
https://forum.xda-developers.com/xp...om-archlinux-phone-gnu-linux-android-t3398769
H0lmEd said:
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
Click to expand...
Click to collapse
Yes I will share more details soon !
The current state is not usable yet, but I know it's possible to run a mainline kernel on this device (thanks to Nvidia guys ). There is still a lot of work to do and I am very busy too with other projects I hope my work will give ideas to some Linux kernel developpers so that they can help us to have mainline kernel running on Pixel C more quickly.
Not sure the hybris approach can work here as Pixel C is using nouveau and tegra DRM + Nvidia blob for GPU acceleration.
I will share some code soon so that people can contribute.
Pixel C has great hardware, and we are approaching to run something on it that will be able to benefit of all its capabilities.
Beware that I cannot garranty any improvements as I'm doing this on my free time,
Stay stunned !
Samt434
Bray90820 said:
If they can get ubuntu running natively I'm in
Click to expand...
Click to collapse
Well.... I supposed if we run something like Ubuntu's netinstaller initrd http://ports.ubuntu.com/dists/zesty...urrent/images/netboot/ubuntu-installer/arm64/ on boot.img then we can install it and run it natively with some few more manual modification to boot.img, I've done these on raspberry pi and it worked perfectly well
Just as long as you don't delete all the partition, install / to /system
Teltarif.de a German website about telecommunication published an article: Pixel C: Richtiges Linux statt Android
Guys i have some good news about this project,
I could finally boot and run Arch on a mainline kernel (4.9) on the pixel C. (Yeah !)
Unfortunatly, DRM is not initialising correctly yet... so no display yet with the 4.9 kernel...
[ 3.622872] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.629493] [drm] No driver support for vblank timestamp query.
[ 3.635453] drm drm: failed to allocate buffer of size 18432000
[ 3.641375] drm drm: failed to set initial configuration: -12
It seems there is still some work to do to initialise the display correctly,
but I think we will have soon Arch with GPU accelerated UI soon
Samt434
Thanks for your efforts and the time you dedicate to this! I've been dreaming with something like this since I decided to buy this tablet! Keep it up!
Samt434 said:
Guys i have some good news about this project,
I could finally boot and run Arch on a mainline kernel (4.9) on the pixel C. (Yeah !)
Unfortunatly, DRM is not initialising correctly yet... so no display yet with the 4.9 kernel...
[ 3.622872] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.629493] [drm] No driver support for vblank timestamp query.
[ 3.635453] drm drm: failed to allocate buffer of size 18432000
[ 3.641375] drm drm: failed to set initial configuration: -12
It seems there is still some work to do to initialise the display correctly,
but I think we will have soon Arch with GPU accelerated UI soon
Samt434
Click to expand...
Click to collapse
Can you provide more instructions on how did you compiled the kernel?

Categories

Resources