[Q] Android Platform Source Code - Android Q&A, Help & Troubleshooting

Hi. I've been thinking about how the phone/tablet manufacturers manage the android platform source code. In my case, I have a SE MK16a "Xperia Pro", for which SE only releases the Kernel source code, as most manufacturers do.
What I think, as most of the android platform is licensed under the Apache license, should the manufacturers release the platform modifications they make? For me, it would be interesting if I could rebuild some framework parts to customize my stock ROM, and I think that's one of the reasons Android is open source.
The reason to post this here is, I would like to know other people's opinion or experiences about this.
Thanks.

Please use the Q&A Forum for questions Thanks
Moving to Q&A

Related

[DEV] ROM sharing

I am posting to ask for the license of ROM(s) developed by all ROM guru.
I know from this forum that there are many people making customized ROM, either from stock or AOSP. As I have been getting the source thru AOSP and compiled a ROM for myself, I am planning to share the ROM.
However, if I really plan to include those customized MODs and/or kernels in my ROM, is it legal? Do I need to follow any rules or regulations when sharing my ROM?
I really learn a lot here. Thanks for all of your help
The code you take from AOSP is from the Android Open-Source Project and is under Apache 2 license.
It is quite similar to the GNU GPLv2, anyway it is Open-Source.
This part fo the source code, from AOSP, must be under Apache 2.
The changes your made should also be under Apache 2.
But technicaly your code can be under any license.
So, you can do what you want, just respect the Apache 2 license, and about Mods, give credits and respect any special author's instructions.
Codes are mainly OpenSource.

hero 2.1 source code

hi guys, did HTC ever release the source code for the 2.1 update?
No. htc are bell-ends and don't even release driver source code, let alone code for their "superior" gui. Hence why it takes a while to port newer versions of android to the hero. Developers have to implement loads of dirty hacks and backports using kernel binary blobs they manage to extract from the 2.1 upgrade.
TheReverend210 said:
No. htc are bell-ends and don't even release driver source code, let alone code for their "superior" gui. Hence why it takes a while to port newer versions of android to the hero. Developers have to implement loads of dirty hacks and backports using kernel binary blobs they manage to extract from the 2.1 upgrade.
Click to expand...
Click to collapse
well thats just bad news!!
but they did afaik release source code for the kernel for many of their phones didn't they, what i would like to know is what does this mean to developers, what can they do with the kernel source?
The kernel is just a modified linux kernel, which has been open source since the early 90's.
Developers can do quite a bit with the kernel, is is basically the bridge between hardware and software.
However, despite running Debian since Etch was the latest stable release, my knowledge of the linux kernel is limited, so you would have to ask a developer for specifics.
TheReverend210 said:
The kernel is just a modified linux kernel, which has been open source since the early 90's.
Developers can do quite a bit with the kernel, is is basically the bridge between hardware and software.
However, despite running Debian since Etch was the latest stable release, my knowledge of the linux kernel is limited, so you would have to ask a developer for specifics.
Click to expand...
Click to collapse
thanks for your help
info on webkit source please..
i was at HTC's Developer Center and i noticed that HTC released the "webkit source code" for several "Sense UI" models, including the HTC Droid Eris, which very much shares our beloved Hero's specs...
i was wondering is this webkit compatible with our GSM Hero, and why didn't HTC release the webkit source for the GSM version?
the reason i'm asking is because i want to take out libwebcore.so alone and patch it, and replace the one in Hero...

[Q] android platform development with other languages

is it possible to develop android platform (ROM) with C, C++ ?
as i read some where that for performance related coding are done in C, C++
and Google has selected java for development over c, C++ ?
is java is better than C, C++?
Hi swapk007,
it is possible to write in other languages too.
Problem with C/C++ is that those are native languages i.e. they are compiled to platform dependent code. So google choose dalvik a java based virtual machine to alow
development in a "compile once run everywhere" style to reach all the platforms for all those many android phone vendors wich use
differing processors.
Iphone has just one hardware so i think there its easy to use C. I think they use ObjectiveC there.
If you develop in c/c++ for android you have to crosscompile for an android with different processor.
There are script enviorments though wich will give u portability wich can be found on the market (sl4a for example).
To develop in c/c++ have a look here.
http://developer.android.com/videos/index.html#v=Oq05KqjXTvs
Here are some news about google activley supporting c++ on android.
http://www.xing.com/net/moderncpp/news-111939/google-android-nun-auch-mit-c-unterstutzung-22341437/
and
http://arstechnica.com/open-source/news/2009/06/android-goes-beyond-java-gains-native-cc-dev-kit.ars
Hope that helps you , if so please thank me in the forum.
Sent from my GT-I8150 using XDA App
thanx polifemo..
so that means i can develop android rom with NDK?
Maybe i don't get you right on this.
What do you mean by developing android rom ?
If you want to make ur custom rom which means taking android sources and build android from it,
it includes building linux kernel (wich is asm+c) , core system ( mainly c) dalvik engine (which is c++ i think) and dalvik runtime which is dalvik-java and jni-system libs glue stuff. There are frameworks for building all this and throw out ready to install roms called kitchens. Search this forum for those and tutoirial for your target device.
If you want to make a proggi in another language than java which runs on android look at my first reply .
So long ...
Sent from my GT-I8150 using XDA App
Here is a link to dsixda's kitchen thread.
http://forum.xda-developers.com/showthread.php?t=633246
Sent from my GT-I8150 using XDA App
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

[KERNEL] Official Viewpad 7 Kernel Source

For any Developer who needs the official Viewpad 7 Kernel Source
Here it is: http://www.viewsoniceurope.com/uk/s...ystem-and-upgrade/viewpad-7-kernel-source.htm
Hopefully we can get a dev to make so we can use updated flash and get to the point of something akin to gingerbread etc for this interesting little VPad7.
Anyone close to it or is it a dead cause?
I'm adding this here as I can't get access to the main dev forum - the ITE source should be licenced under the GPL. If Viewsonic are refusing to release it, violating the GPL licence, but have released earlier source, I can only see 2 reasons:
- The ITE source contains proprietry information, it is was never intended to be linked to GPL licenced code. By releasing the code Viewsonic would be in hot legal water.
- Viewsonic haven't understood previous requests: http://forum.xda-developers.com/showthread.php?t=1360160&page=2
Either way if devs still want the ITE driver kernel source I propose we let legal team at the FSF know of this issue and let them deal with it, unless the situation has changed (that I've not read about*)? That should put a rocket up Viewsonic's behind to get the issue sorted. The FSF shouldn't have a problem issuing notice on core kernel violations as I would imagine they deal with these sort of claims regularly.
* Also checking source now (I'm not a kernel dev so I don't know exactly what I'm looking for).
Hi!
i am following this thread since 2011.
tried all the roms published but i have the same problem because there is no ite-support
i would love to try an oc-kernel!
searching all around i have found a simiular device with ite-source code published
also a 7inch display and same cpu.
if anyone is interested and able to build a kernel i will tell him where to find the source
code.
Greetings
Frank

[Q] $$ Android 2.2 Based Product Development license Required or Not ???'‏

Hi
I am Developing Android 2.2 Based Product; I have some Questions Please reply
1. Since Android Open source how can I Get the OS 2.2
2. Legally can I use for my Product
3. Can Sell the Android Based Product all over the world?
Waiting for Your valuable reply?
Regards
Venkat

Categories

Resources