[PORT] [ADVANCED] Slackware 14.0 ARM - Other TouchPad Development

Slackware 14.0
http://www.slackware.com/
YouTube video: http://www.youtube.com/watch?v=U1fJ1dl4idg
Vitals
(untested) Bluetooth
Touchscreen
Audio
XFCE 4 Desktop and xdm login
On-screen Keyboard
Fits in < 2GB
Firefox
Contains Ninja Swag
Installation
STEP 1: Simply concatenate the three files in the correct order.
Linux/Mac OS X:
Code:
cat HPTPSlackware14test1.tar.gz.* > HPTPSlackware14test1.tar.gz
Windows:
Code:
copy HPTPSlackware14test1.tar.gz.1+HPTPSlackware14test1.tar.gz.2+HPTPSlackware14test1.tar.gz.3 HPTPSlackware14test1.tar.gz
STEP 2: Transfer the created file (without the numeric extension) to your TouchPad and install with SmackMe2.
Downloads
Tarchive part 1 (200MiB): http://www.mediafire.com/?cn3qzx0s4mp5qqv
Tarchive part 2 (200MiB): http://www.mediafire.com/?adpl358rjruxl3h
Tarchive part 3 (84.22MiB): http://www.mediafire.com/?d7muykgdxogod79
Non-kexec (aka uImage) kernel is in the works, but low priority. The kexec kernel is included in the SmackMe post.

dude your rocking my tp lol nice job man
castrwilliam said:
Slackware 14.0
http://www.slackware.com/
Vitals
(untested) Bluetooth
Touchscreen
Audio
XFCE 4 Desktop and xdm login
On-screen Keyboard
Fits in < 2GB
Firefox
Contains Ninja Swag
Installation
STEP 1: Simply concatenate the three files in the correct order.
Linux/Mac OS X:
Code:
cat HPTPSlackware14test1.tar.gz.* > HPTPSlackware14test1.tar.gz
Windows:
Code:
copy HPTPSlackware14test1.tar.gz.1+HPTPSlackware14test1.tar.gz.2+HPTPSlackware14test1.tar.gz.3 HPTPSlackware14test1.tar.gz
STEP 2: Transfer the created file (without the numeric extension) to your TouchPad and install with SmackMe2.
Downloads
Tarchive part 1 (200MiB): http://www.mediafire.com/?cn3qzx0s4mp5qqv
Tarchive part 2 (200MiB): http://www.mediafire.com/?adpl358rjruxl3h
Tarchive part 3 (84.22MiB): http://www.mediafire.com/?d7muykgdxogod79
Non-kexec (aka uImage) kernel is in the works, but low priority. The kexec kernel is included in the SmackMe post.
Click to expand...
Click to collapse
you got me all fired up about my tp just when im thinking is time for new tablet
Rock on

Awesome....awesome....awesome!!!
One note....Im on Windoze 8, copy file1+file2...did not work for me, I had to use the copy /b file1+file2....
Thanks!

+1 this to Google+ and liked your video on. YouTube.
Sent from my Nexus 10 using xda app-developers app

I've combined the files together and posted them for everyone to download as one file here:
https://mega.co.nz/#!wsBFyYjJ!cs6WUgegQopdYPlnaldX-i_5Fthc467IAWv_cVq_UQY

Next awesomesauce port is Fedora 17. Learning systemd init language so I can make the necessary scripts.

Which OS runs better on the touchpad. Ubuntu or Shockware?

rock on dude you on a roll en fuego lol
castrwilliam said:
Next awesomesauce port is Fedora 17. Learning systemd init language so I can make the necessary scripts.
Click to expand...
Click to collapse
rock on

mdleal said:
Which OS runs better on the touchpad. Ubuntu or Shockware?
Click to expand...
Click to collapse
I hate to say this, but Ubuntu 13.04 alpha1 has both my ports outclassed at the moment.
That said, my Slackware port is meant for advanced users to hack on, not necessarily as a finished product like my 12.10 is.
You won't find things like setbrightness, battery and tsrotate.

can i install any package such az web server - libreoofice , ... ?

castrwilliam said:
Next awesomesauce port is Fedora 17. Learning systemd init language so I can make the necessary scripts.
Click to expand...
Click to collapse
Does the development of this project is stopped.
Can u provide some build and how to documentation.
Actually does it work in chroot environment or some other way .....
Please explain...

Pratik Raj said:
Does the development of this project is stopped.
Can u provide some build and how to documentation.
Actually does it work in chroot environment or some other way .....
Please explain...
Click to expand...
Click to collapse
The last post was 4 years ago. I think you can safely assume it's dead.

Related

MetaSploit on Galaxy Tab

Since we have the ability to install the full ARM-based distribution of Ubuntu Linux (in a "chroot", similar concept to a Virtual Machine), I think we may have the ability to install MetaSploit on the Galaxy Tab.
Can anyone provide any pointers on how to get started with this kind of effort? The instructions to install full Ubuntu Linux in a chroot are at http://forum.xda-developers.com/showthread.php?t=836022&page=4
From within this Ubuntu Linux environment we can "apt-get install" just about anything from the ARM-architecture based Ubuntu Linux repositories using the Terminal Emulator. This means we could probably "apt-get install" most of the MetaSploit components, if they are available in ARM-architecture form.
Any thoughts on this are much welcomed. Thank you.
This should be no problem, it has been done on other devices, for pieces that are not already in package form you'll have to find and compile source....a good hint for the packages you'll want to look for a guide on how to install it on a Nokia N900
What has this got to do with Android development??
This should be in Genera section.
hey dude, i've been looking to port this for awhile without success, i can't understand how the guys at rapid7 did the port for IOS and not for Android... I've read that the key is to get ruby working on Android so far there is jruby i believe that isn't fully functional yet...
I heart your name atheist
Sent from my SCH-I800 using XDA App
I found a link to an article which seems to explain how to do this...
http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
We should try this on the Tab.
Update:
I got MetaSploit working on the Tab! I needed to follow the instructions mostly from http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
I did have to install ruby ("apt-get install ruby" at the command line) and Ruby Gems (search for the exact apt-get name) inside the chroot'd Ubuntu environment though.
I was able to enlarge the 2 GB Ubuntu image to almost 4 GB using the instructions posted on the blog shown above which provided plenty of space to install MetaSploit and other InfoSec tools.
The next goal is to get BackTrack 5 (ARM) running.
http://www.androidng.com/install-backtrack-5-linux-on-android-phone
Any input is welcome.
mail_e60 said:
I found a link to an article which seems to explain how to do this...
http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
We should try this on the Tab.
Click to expand...
Click to collapse

[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?

[ROM][DEV] Ubuntu Touch For B&N Nook Tablet

DISCLAIMER: You should know by now that anything you do can and probably does void warranties, can and may brick your devices, etc etc yada yada.... This is my first ever attempt at a port, second ROM to ever build. The base for this is CM10.1 maintained by the official devs for the B&N Nook Tablet (acclaim), so complete props to everyone who has gone looney to get us here. This port isn't very usable and as such is no daily driver by any means.
I will try to explain the details of building as best as I can remember to anyone who wants to know. I had to comment out certain lines here and there and add my changes below them. Being new to this all, I have yet to set up a git for the sources. I just wanted to get this up as I haven't seen anyone else post this for Nook Tablet. From what I know, this should work for the 8g and 16g as this is based off the Official CM10.1 for us. Again, your risk, there are plenty of ways to unbrick this device and plenty of guides.
Discussion thread:
[ROM][DISCUSSION] Ubuntu Touch B&N Nook Tablet
For those of you just wanting to take it for a spin:
(name change as I am building using two different sets of repos, one with only a local branch based off the cm repos, and my own that I will push updates to)
Download Device Specific Build:
Build 5: ut-cm-20130610-acclaim.zip - 35.72 MB
Older Builds:
(The following builds screen displays stop working for newer Ubuntu fs builds)
Build 4: ubuntu_touch-20130529-acclaim.zip - 35.54 MB
Build 3: ubuntu_touch-20130524-acclaim.zip - 34.94 MB
Build 2: ubuntu_touch-20130513-acclaim.zip - 34.90 MB
Build 1: ubuntu_touch-20130511-acclaim.zip - 34.90 MB
Download Ubuntu FS File:
Saucy is the new Raring
http://cdimage.ubuntu.com/ubuntu-touch-preview/
Installation:
1) put both files on your sdcard by your method of choice
2) go into recovery
3) format data/factory reset <-- NOTE: If you want to save data, new builds should backup stuff, not sure what all though.
4) format system to ensure clean install
5) flash Custom build and flash Ubuntu fs file
6) reboot and pray it works.
After boot up notes:
- May have to push power button to get initial display.
-To get a chroot shell from your computer's terminal:
Code:
$ adb root
$ adb shell
$ ubuntu_chroot shell
- Keyboard does not currently work on Home screens. In Raring I would restart ubuntu-session. I do not see it in Saucy. 2013-06-15: playing around and starting the 'killprocs' service, keyboard worked afterwards.
Code:
[email protected]:/# service killprocs start
- Wifi seems to need a reboot to work correctly currently
- Added a script to change the display size.. If you do not like it or want to mess around with it, you can adjust the display through the chroot by editing the acclaim.conf file. After editing, reboot.
Code:
/etc/ubuntu-session.d/acclaim.conf
Build notes!
Build 5:
- Updated ubuntu sources, resulting display seems fixed for newer builds! (circa June 1st or maybe a little sooner)
- Honestly not sure atm if build 4 has it, but added a script to auto fix the display size (adds acclaim.conf for you), Saucy images seem to not require a reboot, Raring images do (or an ubuntu-session restart).
Build 4:
- Using wpa_supplicant 8 instead of 8_TI
Build 3:
- Wifi works with some terminal junk!
Build 2:
- Videos stopped working for some reason, need to debug.
- Apps no longer force close
- Wifi still down
Build 1:
- It boots
- Display works
- Sound Works
- Videos Work
- No wifi
- All apps force close after a couple of seconds
- No rotation
I'm new to all this git stuff, but figured I'd try it out:
https://github.com/dejello/android_device_bn_acclaim
https://github.com/dejello/android_kernel_bn_acclaim
I will be adding a wiki or readme on the device repo that shows dependencies and other edits needed to build your very own.
-dejello
Build 2! and some pics...
THIS POST IS NO LONGER REQUIRED, but kept for informational purposes
Updated - Build 3 now up!
Wifi seems to be working with some terminal junk. I followed this page as a reference after figuring out the wlan module wasn't being loaded: http://www.omappedia.com/wiki/Mac80211_based_open_source_architecture#Procedure_to_build_WLAN_and_test_on_Ubuntu_FS
NOTE: The module is apparently being unloaded after a while, possibly to do with going to sleep, not sure atm. If you have installed the terminal core app you can get back online without plugging back in..
I did the following commands and checked the browser and I was online!
Code:
[email protected]:/ # adb shell
[email protected]:/ # ubuntu_chroot shell
[email protected]:/# sudo mount -t proc proc /proc
[email protected]:/# lsmod
[I]Module Size Used by
wl12xx 189125 0
mac80211 384303 1 wl12xx
pvrsrvkm_sgx540_120 336017 34
cfg80211 181275 2 mac80211,wl12xx
compat 2718 0 [/I]
Notice: It did not show wl12xx_sdio - which has wlan0.
Code:
[email protected]:/# insmod /system/lib/modules/wl12xx_sdio.ko
[email protected]let:/# tail -3 /var/log/kern.log
[I]May 25 23:23:09 ubuntu-phablet kernel: [ 377.563903] wl12xx_set_power: 1
May 25 23:23:10 ubuntu-phablet kernel: [ 377.900939] wl12xx_set_power: 0
May 25 23:23:10 ubuntu-phablet kernel: [ 377.911682] wl12xx: loaded[/I]
[email protected]:/# ifconfig wlan0 up
[email protected]:/# tail -3 /var/log/kern.log
[I]May 25 23:25:04 ubuntu-phablet kernel: [ 492.360870] wl12xx_set_power: 1
May 25 23:25:05 ubuntu-phablet kernel: [ 492.839141] wl12xx: firmware booted (Rev 6.3.10.0.133)
May 25 23:25:05 ubuntu-phablet kernel: [ 492.864288] ADDRCONF(NETDEV_UP): wlan0: link is not ready[/I]
[email protected]:/# iwconfig wlan0 essid "tinyguest"
[email protected]:/# dhclient wlan0
[email protected]:/# ip addr
[I]......
7: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 58:67:1a:53:b1:bd brd ff:ff:ff:ff:ff:ff
inet 192.168.2.13/24 brd 192.168.2.255 scope global wlan0
inet6 fe80::5a67:1aff:fe53:b1bd/64 scope link
valid_lft forever preferred_lft forever[/I]
Note: "tinyguest" is my test guest network with no security atm, insert the SSID of your network. I have not tested yet to see if this will work with security on.
Not sure how stable everything is, but hey, it's a dev preview so
UPDATE: I just had a realization.... After insmoding wl12xx_sdio.ko and bring the wlan0 up, I simply restarted the network manager service and now the gui shows up! I do need to check my wpa_supplicant file as I had been playing with it. <-- Fine unedited. I am also running a new minidroid build compiled using wpa_supplicant 8 vs wpa_supplicant 8_TI that I have yet to upload. I will need to see if this has any effect. I was having an issue compiling the TI version and was getting annoyed trying to figure it out New commands are as follows:
Code:
[email protected]:/ # adb shell
[email protected]:/ # ubuntu_chroot shell
[email protected]:/# insmod /system/lib/modules/wl12xx_sdio.ko
[STRIKE][email protected]:/# ifconfig wlan0 up[/STRIKE] <-- DIdn't even up it this past time, seems that restarting the network-manager service up's it.
[email protected]:/# service network-manager restart
Will be updating this post and adding a pic..
Doing great . Keep up. And why not tranfering it to nt dev thread?
Στάλθηκε από το Barnes & Noble Nook Tablet μου χρησιμοποιώντας Tapatalk 2
demetris_I said:
Doing great . Keep up. And why not tranfering it to nt dev thread?
Στάλθηκε από το Barnes & Noble Nook Tablet μου χρησιμοποιώντας Tapatalk 2
Click to expand...
Click to collapse
Thanks nothing in comparison to what you've been up to lately though. I probably should see about getting this thread moved over shouldn't I....
I'm really excited, I hope your project takes off in a big way
I admit to confusion, though - you say the base of this is the great work done on cm10.1 nightlies by the devs here, so is this actually ubuntu touch, or a skin over android? I'm not being critical, just looking to understand.
Thanks!
tmoulder said:
I'm really excited, I hope your project takes off in a big way
I admit to confusion, though - you say the base of this is the great work done on cm10.1 nightlies by the devs here, so is this actually ubuntu touch, or a skin over android? I'm not being critical, just looking to understand.
Thanks!
Click to expand...
Click to collapse
Sorry for the late reply, yes, currently Ubuntu Touch is running in a chroot on a mini build of android.
Other notes, today I started trying to figure out what exactly breaks the display on the newer ubuntu fs images.
dmesg shows ubuntu-session terminating with: "terminated with status 139". I still have an image from May 24th that works, and upon updating libplatform-api1-hybris or ubuntu-platform-implmentation-android (both of which will install the other) the display breaks with ubuntu-session terminating with: "terminated with status 127" or depending on what I've done ocassionally some other error.
More searching to follow....
UPDATE: see Build 5 notes, I hadn't fully updated my ubuntu sources apparently Display seems to work now!
PS - the git stuff isn't current atm, but the edits should still work. the wiki dealio needs work.
dejello said:
Sorry for the late reply, yes, currently Ubuntu Touch is running in a chroot on a mini build of android.
Other notes, today I started trying to figure out what exactly breaks the display on the newer ubuntu fs images.
dmesg shows ubuntu-session terminating with: "terminated with status 139". I still have an image from May 24th that works, and upon updating libplatform-api1-hybris or ubuntu-platform-implmentation-android (both of which will install the other) the display breaks with ubuntu-session terminating with: "terminated with status 127" or depending on what I've done ocassionally some other error.
More searching to follow....
UPDATE: see Build 5 notes, I hadn't fully updated my ubuntu sources apparently Display seems to work now!
PS - the git stuff isn't current atm, but the edits should still work. the wiki dealio needs work.
Click to expand...
Click to collapse
You say build 5 should fix the display not showing? I tried it and the "Current" Saucy phablet image and got nothing.
I'm about to try the Raring image and see if it works...
ajbiz11 said:
You say build 5 should fix the display not showing? I tried it and the "Current" Saucy phablet image and got nothing.
I'm about to try the Raring image and see if it works...
Click to expand...
Click to collapse
Nope...Saucy bootloops...I don't know how to get a logcat through fastboot, will look it up...
there was a period recently where they were breaking things alot with changes... I have a working version I can upload, but if they update hybris and/or the platform-api again it'll break until i update the build.
Sent from my SCH-I510 using xda app-developers app
Nook HD?
Great work! Any idea if you might get around to making a similar build for the Nook HD/HD+?
iCello said:
Great work! Any idea if you might get around to making a similar build for the Nook HD/HD+?
Click to expand...
Click to collapse
That is in my plans as I just got the HD+, not sure just yet as to when.. I need to pm verygreen or someone else and see what all I need to build cm10.1 first as I am missing something. Once I get a working build I will work on Ubuntu.
Sent from my SCH-I510 using xda app-developers app
dejello said:
That is in my plans as I just got the HD+, not sure just yet as to when.. I need to pm verygreen or someone else and see what all I need to build cm10.1 first as I am missing something. Once I get a working build I will work on Ubuntu.
Sent from my SCH-I510 using xda app-developers app
Click to expand...
Click to collapse
Alright, sounds good!
iCello said:
Alright, sounds good!
Click to expand...
Click to collapse
Ok, seems I just wasn't paying attention.. Replaced the boot image in the zip with the apparent non-sdcard version >.> CM10.1 booted so I will work on a build in a bit. For the moment though the tv is calling me
Are you planning non starting a new thread for ubuntu on the HD+?
Sent from my Nook HD+ using Tapatalk 2
Not sure atm.. If not I will update the title of this one
Sent from my SCH-I510 using xda app-developers app
So... if the Ubuntu will be available for HD+, changing a pair of things would make it for HD, is it correct?
Thank you!
dejello said:
That is in my plans as I just got the HD+, not sure just yet as to when.. I need to pm verygreen or someone else and see what all I need to build cm10.1 first as I am missing something. Once I get a working build I will work on Ubuntu.
Sent from my SCH-I510 using xda app-developers app
Click to expand...
Click to collapse
I would love this on my Nook HD (not HD+), I have ubuntu installed on all of my systems and love it over windows.
Sent from my Nook HD using XDA Premium HD app
Once I get working builds again (with the new stuff they've added for booting) I will build one for the HD for which I will need testers as I do not have an HD. Honestly did not really work on it today as I am really tired. Looks like I managed to get that one build in before they added this stuff.
dejello said:
Once I get working builds again (with the new stuff they've added for booting) I will build one for the HD for which I will need testers as I do not have an HD. Honestly did not really work on it today as I am really tired. Looks like I managed to get that one build in before they added this stuff.
Click to expand...
Click to collapse
I'll gladly test a build for Nook HD
Sent from my Nook HD using XDA Premium HD app

How To Android Development Part 1 (Setting Things up)

How to Android Development
Part 1 Setting Things Up ​Hi All,
I Fetched this Guide from @Anik_khan original post on XDA on ROM Building ,Kernel Compilation and All
So I Made this Post to Make you Learn How to
Build ROM ,Kernels more Simpler and Noob Friendly Way
First of All This Guide is Mostly Targeted to Android One (sprout) Devices Can Be Used for Any Other Device with some Edits :silly:
1)Requirements
i)A Ubuntu 14.04 or greater Distro 64 Bit Installed on PC or you can also use a Virtual Machine
*If you don't know what is Ubuntu Linux or Anything Else LOL Mate Step Back Do your Homework and Come Back Again*
ii)2GB or More RAM Minimum
iii)100GB+ HDD Space Available (1GB or More if you just want to Build Kernels)
iv) A Stable and Good Speed Broadband Connection with Unlimited Data (coz you are going to Download ‘n’ GB files)
v)Patience :v:angel:
2)Setting Up Build Environment
@akhilnarang had Created a Script to Setup the Environment Automatically
So Just Type this Command on Terminal I edited those Scripts with Manual Changes
Code:
sudo apt-get install git-core
git clone git://github.com/akhilnarang/scripts
cd scripts
. build-environment-setup.sh
This Step will Install all the Required Packages
Congrats
YOUR BUILD ENVIRONMENT IS NOW SETUP
Now Move forward to Part 2 (Making your First Kernel )
*in editing*
@chiranjit_1998 update your repo, script is old, I've updated mine
Yup ,I'll Do that Thanks
Part 2 to banade bhai
Sent from my HM 1SW using Tapatalk

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

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?

Categories

Resources