Just starting to learn how to build ROMs from source using Ubuntu in VirtualBox, so bear with me, but is there a best version of Ubuntu to build ROMs? I've seen 14.04, 14.10, and 15.04 all thrown into the mix. Are they all more or less the same? Or is there a certain version better compatible with this type of stuff? Appreciate any help.
hawkstwelve said:
Just starting to learn how to build ROMs from source using Ubuntu in VirtualBox, so bear with me, but is there a best version of Ubuntu to build ROMs? I've seen 14.04, 14.10, and 15.04 all thrown into the mix. Are they all more or less the same? Or is there a certain version better compatible with this type of stuff? Appreciate any help.
Click to expand...
Click to collapse
More or less, they wont make a difference depending on what you're building. Generally, AOSP and CM will build fine on any, but if you plan to use custom toolchains, the 15.04 is your best option because of updated libraries.
I'm using Ubuntu 14.04 STL. I think the UI and functions are useful enough.
Decided to go with 14.04 and everything worked out great. Thanks for your help guys!
Related
I am new in XDA developer forum. I knew java and android at the immediate level. Now I'm interested in creating my own Android smartphone ROM. After searching in google, I see that there are a thing which is called "Default ROM" released by google. Base on this ROM, different companies created different ROM in their own style such as Sense, Motoblur, TouchWiz, etc.
So where could I download such a default ROM, and how could I begin with ROM developer. It is kind from my if anybody could give me a tutorial.
(Sorry if the question is exist in the forum, because I could not find it)
Thanks a lot.
Best regards,
me too, i have the same question, can someone help? thx
Your best bet is to have a look at compiling the aosp from source which you will need a Linux os for. The android sdk is a good place to start.
zelendel said:
Your best bet is to have a look at compiling the aosp from source which you will need a Linux os for. The android sdk is a good place to start.
Click to expand...
Click to collapse
Also are there no different way but Linux OS?
I still have the Android SDK, but do not know how to begin to custom a ROM via code.
Regards,
detno29 said:
Also are there no different way but Linux OS?
I still have the Android SDK, but do not know how to begin to custom a ROM via code.
Regards,
Click to expand...
Click to collapse
Yes to build android from Google's source you will have to have a Linux os. Either stand alone Linux or a version like ubuntu
zelendel said:
Yes to build android from Google's source you will have to have a Linux os. Either stand alone Linux or a version like ubuntu
Click to expand...
Click to collapse
In your experience, which linux os should i used. I m also a bit confuse because i did not have to much experience with linux...
detno29 said:
In your experience, which linux os should i used. I m also a bit confuse because i did not have to much experience with linux...
Click to expand...
Click to collapse
Me too, trying to learn. Just installed dual boot Ubuntu 10.1 to my comp and trying to figure it out. Big change coming from win7. Ubuntu 11 I couldn't figure out
Sent from my Desire HD using xda premium
One place you can start by checking and has a lot of good info is http://freeyourandroid.com/
I learned how to port from them although I still need to ask questions but it can get you started.
If you just want to get Ubunto going in a virtual machine for now and have NO IDEA take a look at this: http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/
Old release links but Ubunto will update itself
Currently, I think that 10.04 lucid is the "official" build platform for Android. Does anyone have any insight on if/when 12.04 will become the build platform? It seems a likely candidate because of the extra long 5 year support for both desktop and server.
The Android build is routinely tested in house on recent versions of Ubuntu LTS (10.04), but most distributions should have the required build tools available. Reports of successes or failures on other distributions are welcome.
Click to expand...
Click to collapse
http://source.android.com/source/initializing.html
Well it should work fine, I assume Google will update there Ubuntu now 12.04 is stable and LTS
Sent from my ice cream powered Nexus S
12.04 can be easiely used to build Android without any problems, I was using it already.
You can downgrade gcc and g++ to 4.4 and everything works like on 10.04, so no problems in latest version .
It's not really a question about compiling the code, but more about testing. Do you think that google will start testing the code against 12.04 with gcc 4.7 (or whatever is current) or just keep downgrading?
Building on Ubuntu 12.04 is currently only experimentally supported and is not guaranteed to work on branches other than master.
Click to expand...
Click to collapse
Also from source.android.com
I thought I read something from JQB about moving to 12.04, but I don't know if this is a trivial issue or if there are major roadblocks, like java, etc. I think that 10.04 is supported until 2013 desktop/2015 server, so it might not even be this summer.
Well, I can build Android (CM9) very well with a recent Debian system.
I think what it basically comes down to is the toolchain you use (i.e. the right version of gcc, g++, etc). If your distribution doesn't have packages for the versions you need, you can always build your own ;-)
Maybe I should ask "when will JBQ upgrade his desktop machine to 12.04?"
gee one said:
It's not really a question about compiling the code, but more about testing. Do you think that google will start testing the code against 12.04 with gcc 4.7 (or whatever is current) or just keep downgrading?
Click to expand...
Click to collapse
You do know that the x86/x64 toolchain in your system is not used by the android build system ? You can't use output of that on any of the currently supported android phones. check the /prebuilt directory for the cross compile toolchains used by android which should work fine on any linux system.
can anyone build a kernel which supports both http://forum.xda-developers.com/showthread.php?t=2226413 (ubuntu touch)and http://forum.xda-developers.com/showthread.php?t=2032900 (unofficial cm10.1 by shufuking for mdpi)as dual boot os for lww.....
Ubuntu OS hasn't even seen a day in here yet and you are asking for a hybrid kernel...
Devs are focusing on building a stable ubuntu first
And such kernel will be too hard to make becoz of complete different framework and installation of ubuntu.
predatOr said:
Ubuntu OS hasn't even seen a day in here yet and you are asking for a hybrid kernel...
Devs are focusing on building a stable ubuntu first
And such kernel will be too hard to make becoz of complete different framework and installation of ubuntu.
Click to expand...
Click to collapse
i kno but only ubuntu will be bore..i thought there are many intelligent devs so that i asked if someone might have interest to feel jb & ubuntu which will be way cool than pc..
So I want to compile Cyanogenmod myself. But all the time I'm trying to set up my ubuntu it's not working. And often the threads are out of date. So could you tell me what I'll need in order to compile roms ? Toutorials would be nice. Of course I'm running a 64bit Ubuntu 12.04. If I schould use another distro just tell me.
Thank you in advance.
Hi
My goal is to build Ubuntu Touch for the Ideos X5 U8800. So far, I have only had trouble finding and setting up the source for a cm-10.1 build. Finally, I gave up and built cm-11 using Blefish's device source tree. Everything works just fine.
So the question is: Can Ubuntu Touch be built using cm-11, or is cm-10.1 the only option at the moment?
Best regards,
aribk
They switched to Android 4.4 some time ago. Don't know why they haven't updated the wiki yet.
Some sources:
http://news.softpedia.com/news/Cano...-Touch-Based-on-Ubuntu-14-04-LTS-438400.shtml
https://www.mail-archive.com/[email protected]/msg06401.html
https://wiki.ubuntu.com/Touch/Porting (further down)
Ubuntu is based on CM? Thougt the only thing in common is parts of the kernel??
So, it will more or less be able to port ubuntu to other devices just by changing kernel and baseband?
reellamer said:
Ubuntu is based on CM? Thougt the only thing in common is parts of the kernel??
So, it will more or less be able to port ubuntu to other devices just by changing kernel and baseband?
Click to expand...
Click to collapse
Libhybris is being utilized by Ubuntu for Devices, Sailfish, Open webOS and others to form a base layer compatibility with Android hardware drivers (above and beyond just the baseband [radio]). This is what gets the ports to work with Android hardware... http://en.wikipedia.org/wiki/Hybris_(software)
The mainline efforts have focused on Nexus hardware and seem to have formed a consensus that CyanogenMod 10.x is the best jumping off point.