[Q]What Linux OS for developing Android? - XPERIA X8 Q&A, Help & Troubleshooting

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.

Related

can i install Ubuntu and run it on my windows desktop??

i wanted to kno if i could run ubuntu on my windows pc?? i dont need to use it rite now but i would like to learn how to use it in case i ever need it... thanks
evo401 said:
i wanted to kno if i could run ubuntu on my windows pc?? i dont need to use it rite now but i would like to learn how to use it in case i ever need it... thanks
Click to expand...
Click to collapse
Yes you can you can either dual boot windows and linux or run it in a virtual machine or you can use a special installer that essentially allows you to install linux like any other windows application and uninstall it when you want to get rid of it.
I assume you want to get into android development maybe compile android from source. I'd recommend ubuntu and until the kinks are worked out I'd go with ubuntu 11.10 which you can get here:
http://releases.ubuntu.com/11.10/
Information on dual booting windows and linux:
http://www.linuxbsdos.com/2011/10/27/dual-boot-ubuntu-11-10-windows-7-on-a-pc-with-2-hard-drives/2/
https://help.ubuntu.com/community/WindowsDualBoot
Running linux in a virtual machine:
https://www.virtualbox.org
Install linux using special installer (wubi):
http://releases.ubuntu.com/11.10/wubi.exe
Hope this helps you if you need any help feel free to ask or if you want some guides on developing android on linux (compiling from source, kernels, etc.) I can help with that to
Sent from my SCH-I535 using xda premium
sweet!!!! good looking out bro!! just what i was looking for :good:
evo401 said:
sweet!!!! good looking out bro!! just what i was looking for :good:
Click to expand...
Click to collapse
Always glad to help let me know like I said if you want some guides on compiling linux on android and suff like that ... oh what the heck here are some guides:
Official Google guide to building Android from source on Linux
Official Google guide to building Android Kernel from source on Linux
Build Cyanogenmod from Source
How to use Github for Android Development
Basic commands for Linux and Android
Moved to Off-topic.
The easiest way to install Ubuntu is to use Wubi. It lets you install Ubuntu like a regular application in Windows.
- Download Wubi
- Choose Ubuntu in the list
- Click install
- It'll download and install Ubuntu for you
- Reboot and choose Ubuntu at boot
- You're done.
If you want to remove Ubuntu from your computer, you simply boot into Windows and uninstall it like a regular application If you decide to permanently keep it i recommend you install it by itself on a separate partition. That way it'll run better. But if you just plan to try it and you're not planning on running some heavy stuff (games etc.), then Wubi will do it just fine.

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

Port Ubuntu Touch

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

[Q]Can We Install different OS

Hi,
In my mind two question raised now.
1. Can We install windows OS to our Android.
2. Can We install Linux or Backtrack OS to out Android.
Please suggest your view
You can do it, but it's pointless. We have windows 95 (themes and apps section), but you can't run new windows versions because of the hardware. As far as I know, nobody got linux for our phone (except for android itself lol), but it should be possible.
Open source ...
All possible ....
just need Developer.
​
ast00 said:
You can do it, but it's pointless. We have windows 95 (themes and apps section), but you can't run new windows versions because of the hardware. As far as I know, nobody got linux for our phone (except for android itself lol), but it should be possible.
Click to expand...
Click to collapse
O Thanks, I heard Backtrack OS can able to run in Android.
ZaXpired said:
Open source ...
All possible ....
just need Developer.
​
Click to expand...
Click to collapse
What you saying is Right.
Only Ubuntu 9.04 was ported to our device you can search in forums
ZaXpired said:
Open source ...
All possible ....
just need Developer.
​
Click to expand...
Click to collapse
Uhm..* cough *... *cough* Our device is the first thing to think.

[Q] Htc HD7, Android to Linux (Ubuntu)

I Don't have any knowledge about rooting phones, but I was thinking: If I can put android on my HD7, well is it possible to install Linux (Ubuntu) on android? :laugh:
You can't do that
gamemanx said:
I Don't have any knowledge about rooting phones, but I was thinking: If I can put android on my HD7, well is it possible to install Linux (Ubuntu) on android? :laugh:
Click to expand...
Click to collapse
Not only you can't install Android on this phone http://forum.xda-developers.com/images/icons/icon13.gif but no phone is powerful enough to run a desktop OS like Ubuntu.
Half true, half FAIL!!
Azraelsrl said:
Not only you can't install Android on this phone http://forum.xda-developers.com/images/icons/icon13.gif but no phone is powerful enough to run a desktop OS like Ubuntu.
Click to expand...
Click to collapse
No android on ANY WP device...
Windows 8 RT running the ALMIGHTY HD2, ask Cotulla...:highfive:
Why not Ubuntu on the HD2? Yes the HD2 CAN run this...
BTW, I hate that distro, is one of the most segregationist and elitist distro ever known...
Ubuntu is the Apartheid of linux distros... only ubuntu is the "linux for humans" as for the rest of us, I guess, we are Extraterrestrials to them
:good:
faustolg said:
No android on ANY WP device...
Windows 8 RT running the ALMIGHTY HD2, ask Cotulla...:highfive:
Why not Ubuntu on the HD2? Yes the HD2 CAN run this...
BTW, I hate that distro, is one of the most segregationist and elitist distro ever known...
Ubuntu is the Apartheid of linux distros... only ubuntu is the "linux for humans" as for the rest of us, I guess, we are Extraterrestrials to them
Click to expand...
Click to collapse
yes you are right

Categories

Resources