Port Ubuntu Touch - Ubuntu Touch Ports to Android

Hi guys,
If you're, like me, greatly excited to get Ubuntu Touch onto your phone, and/or tablet, here is a guide to port it!
It helps you get started on a port:
https://wiki.ubuntu.com/Touch/Porting
Also:
This is not a thread for eta:s for your device port. Nor is it a thread to ask for a port. Both of which you'll have to go to each device's own forum.
This is a thread for discuss ports, get help on them and to share experiences.
For Ubuntu Touch specific questions, see other threads.
FAQ:
Can you port device X?; Ask in your device X's forum. Or even better, try it yourself! It's not that hard, actually. See link above.
Does Ubuntu Touch run Android Apps?; No.
Will it?; Maybe. If anyone cares to actually make it work.
Do I need to have X; run Y; or do Z?; Check the Port guide! https://wiki.ubuntu.com/Touch/Porting
Sent from my GT-I9300 using xda app-developers app

Everyone with a nexus needs to install Ubuntu and then show everyone they know how in it's current state it is unusable except as a test device for apps.

Sv: Port Ubuntu Touch
Markk29 said:
Everyone with a nexus needs to install Ubuntu and then show everyone they know how in it's current state it is unusable except as a test device for apps.
Click to expand...
Click to collapse
Well, it is a dev release for developers and Ubuntu enthusiasts, so they probably already run Ubuntu. And if not, it's a 20 min install.
And porting it is still a large project by itself, so it'll go nicely hand in hand until the stable release of Touch, I think.
Sent from my Transformer using xda app-developers app

coming soon https://plus.google.com/u/0/107265043789873157543/posts/hAE1grem6hj

Kalashnikitty said:
coming soon https://plus.google.com/u/0/107265043789873157543/posts/hAE1grem6hj
Click to expand...
Click to collapse
is that S3 , in the pic if i am not wrong?
Porting posted:
https://wiki.ubuntu.com/Touch/Porting

S3 already has it: http://www.omgubuntu.co.uk/2013/02/ubuntu-phone-up-running-on-samsung-galaxy-s3

Just been reading through the process and if seems relatively straightforward to port so I can't wait to see what comes out of this

can i ask a question?what mean ubuntu is based on cm10.1?by which meaning?ubuntu i quess it will be an OS by itshelf.why based on cm10.1?

termagazis said:
can i ask a question?what mean ubuntu is based on cm10.1?by which meaning?ubuntu i quess it will be an OS by itshelf.why based on cm10.1?
Click to expand...
Click to collapse
Because some of the Android components are reused. Read here: https://wiki.ubuntu.com/Touch/Porting#General

Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.

Actually pending when canonical gets to compile drivers for particular phones which incidentally is probably going to be for only their oem devices, they use the cm base.
Essentially just the drivers and hal layer.
Its not based on CM. It takes advantage of CM base. Its direct ubuntu.
And from what iv seen you can forget about lag. The alpha is awesome compared with android alphas
Sent from my GT-N7000 using xda premium

edy_3dz said:
Because some of the Android components are reused. Read here: https://wiki.ubuntu.com/Touch/Porting#General
Click to expand...
Click to collapse
yes i have read this but my english isnt perfect so i maybe didnt understant something.so because ubuntu and android are based in Linux kernel,they taking some stuff "ready" for more easyness.something like that?

Phones need drivers like your PC does and a kernel which acts as interaface between the hardware and the operating system.
Everyphone uses its own vendor supplied kernel with some modifaction and their own graphics driver. So they use the low-level stuff that already exists for Ubuntu.
You can't just make one "OS" for a smartphone that just works on all devices it has to be ported to the specific hardware (kernel and driver).

blackout23 said:
Phones need drivers like your PC does and a kernel which acts as interaface between the hardware and the operating system.
Everyphone uses its own vendor supplied kernel with some modifaction and their own graphics driver. So they use the low-level stuff that already exists for Ubuntu.
You can't just make one "OS" for a smartphone that just works on all devices it has to be ported to the specific hardware (kernel and driver).
Click to expand...
Click to collapse
thats what i mean.so they took the allready existing stuff from cm10.1 because it will work with ubuntu (or with some small changes) because both OS are based on Linux kernel.i understand right?

fromanbr said:
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Click to expand...
Click to collapse
Ubuntu is a distro or distribution which is a OS Linux isn't a OS it's a kernel (the underlying framework kinda like the glue)
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​

TingTingin said:
Ubuntu is a distro or distribution which is a OS Linux isn't a OS it's a kernel (the underlying framework kinda like the glue)
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
Click to expand...
Click to collapse
Wikipedia says Linux is an unix like OS, but the main component is the Linux Kernel. Android only uses the Linux Kernel and not so much the GNU system tools which make it unix like, that is why people generally don't refer to android as a Linux distro.

BukaKing said:
Wikipedia says Linux is an unix like OS, but the main component is the Linux Kernel.
Click to expand...
Click to collapse
But saying it like that makes it sound like u can use this as a Mac OS or Windows replacement which I think is what he was asking
Android only uses the Linux Kernel and not so much the GNU system tools which make it unix like, that is why people generally don't refer to android as a Linux distro.
Click to expand...
Click to collapse
I never said android was a Linux distro
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​

TingTingin said:
But saying it like that makes it sound like u can use this as a Mac OS or Windows replacement which I think is what he was asking
I never said android was a Linux distro
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
Click to expand...
Click to collapse
You didn't say android was a Linux distro but he did, I was just adding to the conversation.
I think I may understand what you're thinking though. Mac and Windows are not open source and you cant build your own version, so they are not as comparable in that sense, they are binary distributions. But you can build your own Linux configured the way you want outside of any distro, a distro is just a packaged version of Linux with additional packages and configurations.

Had angie tried to pull the source code? It's ridiculously slow on my end. About 15gb at 9 to 152kbs... I guess every dev in the world is trying to pull it...Lol...too bad there's no way to speed it up
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

fromanbr said:
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Click to expand...
Click to collapse
Actually, Linux is a clone of the UNIX kernel. Ubuntu is an operating system (or Linux distribution) with a Linux kernel. Android could be considered a Linux distribution as well, even though it's mostly Java stacks on top of a Linux kernel.
Sent from my Galaxy Nexus using Tapatalk 2

Related

[Q] Installing Linux on Android

I have installed Ubuntu on my android phone by following the nexusonehacks.net guide. All is working well. The reason I am creating this thread is because in nexusonehacks.net guide he mentions that he got his ubuntu.img from some guys at the xda forums.
I am wanting to get an ARM img of mint linux (LXDE version) and while I have spent countless hours trying to figure out how to install mint linux with an ARM emulator it appears to be above my linux knowledge.
I know that mint linux is based on ubuntu and should have the latest linux kernel and therefor has ARM support built in already, so that is not a problem, no need to compile a kernel with support for ARM.
Basically I am just looking for someone who is running an ARM emulator or has an ARM based laptop to install mint linux (LXDE version) and do a disk dump of the HDD into an image file I can then use to replace the ubuntu.img file I am currently using on my phone.
If this would be a simple task for someone to do and upload the image, I would be most appreciative.
It would be best if I could have the dev who provided the original ubuntu.img file to nexusonehacks.net do the dd of mint linux as I am sure he knows all of the details of how to do a proper dd for use on an android phone. If anyone can point me in the direction of that particular dev, that would be great, thanks!
Buddy of mine was working on gentoo for his N900, which is an ARM proc. Ubuntu has an emulator for that, he said that it seems only ubuntu does, but you run a virtual machine with an ARM emulator. Thing is that I'm not sure if a standard ARM emulator would work too well, the chip on the N1 has some extra stuff on it apparently
It sounds to me complicated because Linux Mint is not distributed for ARM...
Take Debian
I know I did not helped, I just gived my advice on how to get Linux on Android phones: get debian which is available for tons of architectures, including ARM, natively.
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Getting debian and LXDE running on the N1 is pretty easy to do. There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
jairuncaloth said:
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Click to expand...
Click to collapse
I guess you were talking about Ubuntu, not Debian?
jairuncaloth said:
Getting debian and LXDE running on the N1 is pretty easy to do.
Click to expand...
Click to collapse
Very easy: Debian is available for ARM:
[alpha][amd64][arm][armel][hppa][i386][ia64][mips][mipsel][powerpc][sparc][s390][source][multi-arch]
jairuncaloth said:
There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
Click to expand...
Click to collapse
I would love to see that.
Well this pretty much answers my question. Thank you very much. At least I have ubuntu running on it, I will be happy with that.
Sent from my Incredible.

[Q]What Linux OS for developing Android?

Hello, my question is what is the best Linux OS to develop android for our lovely x8
According to the grapevine Google is using Ubuntu amd64 for Android development.
i use linux mint as my main OS. it works for me. especially for when im using android SDK and NDK in terminal. but you can use ubuntu. but i dont like ubuntu
I have used Ubuntu before as my main os, it was running quite well so I'll try with it, thanks.
Can't we just develop Android using windows??
azyar said:
Can't we just develop Android using windows??
Click to expand...
Click to collapse
Yeah, what's the difference?
azyar said:
Can't we just develop Android using windows??
Click to expand...
Click to collapse
Chris95X8 said:
Yeah, what's the difference?
Click to expand...
Click to collapse
Well... I think the question of the thread was:
[Q]What Linux OS for developing Android?
The question was NOT:
[Q]What Linux OS for developing Android Apps?
Like it or not, but you need a Linux system to get the stunt of Android compilation done. While I'm sure that you can edit the source of Android in Notepad++ in Windows as well I don't think you can compile Android directly in Windows.
Normal application development can be done in Windows, Linux or OS X - the SDK/NDK is available for all three of them.

Linux

I can't wait for Ubuntu for Android to come out. What kind of solutions are there for running Linux on Android now? I know you can just ssh or something similar, but...
swiggins said:
I can't wait for Ubuntu for Android to come out. What kind of solutions are there for running Linux on Android now? I know you can just ssh or something similar, but...
Click to expand...
Click to collapse
See my project, I am looking for testers on the note so that would be great

Linux instead Android

Hi, I would like to run linux instead android, -WOLF- from 4pda.ru have done this with his samsung galaxy spica and I would like to do the same for our OB.Here is origina thread on 4pda.ru but it is all in russan.I tried to make a kernel with frambuffer console and sdcard as root directory but it failed.So anyone who can cook kernels please help.Then, when kernel is done we will try to run linux(ubuntu, andstrom, etc.).
Thank u!
Here is angstroms LFS for abstract smarphone and people wich port it to their devices
suleymanovemil8 said:
Hi, I would like to run linux instead android, -WOLF- from 4pda.ru have done this with his samsung galaxy spica and I would like to do the same for our OB.Here is origina thread on 4pda.ru but it is all in russan.I tried to make a kernel with frambuffer console and sdcard as root directory but it failed.So anyone who can cook kernels please help.Then, when kernel is done we will try to run linux(ubuntu, andstrom, etc.).
Thank u!
Click to expand...
Click to collapse
I had installed successfully UBUNTU with VNC but result was not one can use daily so removed in one hour, though good for experiment.
And our OB processor is not enough powerful you can throw Linux. Minimum requirement for UBUNTU is dual core processor.
Search UBUNTU on mobile, or UBUNTU;s official site.
cant we run win 95 ?
pkb_always4u said:
I had installed successfully UBUNTU with VNC but result was not one can use daily so removed in one hour, though good for experiment.
And our OB processor is not enough powerful you can throw Linux. Minimum requirement for UBUNTU is dual core processor.
Search UBUNTU on mobile, or UBUNTU;s official site.
Click to expand...
Click to collapse
I don't mean linux on androi, I mean installing linux instead of android and I'd like to use Angstrom and if galaxy spica and gio can run it our OB will do it !And it doesn't requires prosessors clock and a lot of ram because there is no android, it runs along as native os.And i know about ubuntu for mobile, it runs on android and it is like a linux on android.
BeBeLKhaN said:
cant we run win 95 ?
Click to expand...
Click to collapse
No.We can run linux because we can take android's linux kernel.Android is very low weight linux.
First we need just enable framebuffer console in kernel, this will help us with starting linux ::
suleymanovemil8 said:
Hi, I would like to run linux instead android, -WOLF- from 4pda.ru have done this with his samsung galaxy spica and I would like to do the same for our OB.Here is origina thread on 4pda.ru but it is all in russan.I tried to make a kernel with frambuffer console and sdcard as root directory but it failed.So anyone who can cook kernels please help.Then, when kernel is done we will try to run linux(ubuntu, andstrom, etc.).
Thank u!
Click to expand...
Click to collapse
Android is based on Linux, so what do you expect by running Linux on OB?
I don't have time to do that, so I'll just wait and see your progress then...
What will you choose? Computer with linux dis. or with android?I think with linux.
BeBeLKhaN said:
cant we run win 95 ?
Click to expand...
Click to collapse
)) you made my day )) EPIC answer )
WTF
suleymanovemil8 said:
What will you choose? Computer with linux dis. or with android?I think with linux.
Click to expand...
Click to collapse
I do using my computer with Ubuntu Linux OS, not Android.
Your quest above are,
suleymanovemil8 said:
... I would like to do the same for our OB.
Click to expand...
Click to collapse
So, you are talking about OS on computer, or mobile device?!
redy2006, please help with kernel, i'm gonna get craizy with this kernel...
In the past I had a chinese android device which had 3 options of booting: Android, Linux(I think ubuntu) and Windows CE.
It's really very nice to run linux because it looks like a real pc
ohadz said:
In the past I had a chinese android device which had 3 options of booting: Android, Linux(I think ubuntu) and Windows CE.
It's really very nice to run linux because it looks like a real pc
Click to expand...
Click to collapse
Whe off ics will release i will take it's new kernel 3.xx, but i neeeed help with kernel.
redy2006 said:
I do using my computer with Ubuntu Linux OS, not Android.
Your quest above are,
So, you are talking about OS on computer, or mobile device?!
Click to expand...
Click to collapse
mobile device, well i think this will make our device more poerfulll, we could use the programs wich are not ported on any android device, and do many more!
This belongs in general.
BeBeLKhaN said:
cant we run win 95 ?
Click to expand...
Click to collapse
Yes, we can.
https://www.youtube.com/watch?v=JWkqMmtSJRE&feature=youtube_gdata_player
Sent from my P-970 using xda app-developers app
wessyh0 said:
Yes, we can.
https://www.youtube.com/watch?v=JWkqMmtSJRE&feature=youtube_gdata_player
Sent from my P-970 using xda app-developers app
Click to expand...
Click to collapse
I was launched with apk i foger it two weeks ago windows 95.It booted 30 sec.mouse control was very hard and i couldnt access sd files.Than I delete win95 image and application.
Win 95 can run alongside android but if u want to make it your native os u must work alot to port it.And in this thread i don't mean runing any os with android i mean runnning linux dis. instead of android.
Any question about "4pda.ru" here: http://onlinecontent.ru/viewtopic.php?f=2&t=2&sid=09bc3461206b22af1e5f924e0fc2900c

Ubuntu Touch?

Would the 7 plus survive an attempt to flash ubuntu touch gsi rom, or must the kernel be adapted? In general I think the latter, but having my fingers crossed..
If you flash it, do share the results here.
n00bDroid said:
Would the 7 plus survive an attempt to flash ubuntu touch gsi rom, or must the kernel be adapted? In general I think the latter, but having my fingers crossed..
Click to expand...
Click to collapse
Is Ubuntu touch the same as Ubuntu for PC?
2gg1 said:
Is Ubuntu touch the same as Ubuntu for PC?
Click to expand...
Click to collapse
Yes, more or less. It's an os made out of ubuntu solely for mobile devices. But unfortunately there are few supported devices. I'm hoping the gsi rom will be a gamechanger for UT.
https://devices.ubuntu-touch.io/
https://www.xda-developers.com/ubpo...-any-project-treble-supported-android-device/
"This part is a little bit complicated, as there is no way to patch the existing boot image of your Android device on-the-fly as of yet. You can either build halium-boot from source or compile a standalone modified version of your stock kernel by manually applying the appropriate patches on top of the kernel source."
https://forum.xda-developers.com/pr...development/gsi-ubuntu-touch-ubports-t4110581
n00bDroid said:
Yes, more or less. It's an os made out of ubuntu solely for mobile devices. But unfortunately there are few supported devices. I'm hoping the gsi rom will be a gamechanger for UT.
https://devices.ubuntu-touch.io/
https://www.xda-developers.com/ubpo...-any-project-treble-supported-android-device/
"This part is a little bit complicated, as there is no way to patch the existing boot image of your Android device on-the-fly as of yet. You can either build halium-boot from source or compile a standalone modified version of your stock kernel by manually applying the appropriate patches on top of the kernel source."
https://forum.xda-developers.com/pr...development/gsi-ubuntu-touch-ubports-t4110581
Click to expand...
Click to collapse
I really don't know much about it but there are methods with using termux to get Ubuntu. Look on yt
2gg1 said:
I really don't know much about it but there are methods with using termux to get Ubuntu. Look on yt
Click to expand...
Click to collapse
I had a look. It seems to be a virtual Linux running on the phone, that you can view from your android phone using vnc. Need to have a keyboard and prefferably a mouse. Also, not a Linux Phone, but Linux on a phone. But it's cool that it's doable

Categories

Resources