hi!
I've got no experience of coding and if i'm honest i don't really like it! I've never written an app
What i'd like to do is build CM6 for the Nexus from Cyanogens Git Hub.
Is this something realistically possible for someone with no coding experience
I've not bothered researching yet as I wanted to know if I was actually going to be wasting my time!
Short answer is - not a chance.
Jack_R1 said:
Short answer is - not a chance.
Click to expand...
Click to collapse
How helpful...
Anyway, here's the CM wiki to build from source:
http://wiki.cyanogenmod.com/index.php/Building_from_source
RixKliq said:
How helpful...
Anyway, here's the CM wiki to build from source:
http://wiki.cyanogenmod.com/index.php/Building_from_source
Click to expand...
Click to collapse
You should read what you post first. Look, a quote:
"These instructions have only been tested for 4.2.10.1 on 25 DEC 2009. This information may be out-of-date.".
Do you think a 1/2 year and 2 versions old is still relevant?
Do you think that a code which is currently being written, sampled at some random point in time, will compile cleanly?
Do you think that this quote means something, from TODO section:
"TODO: Explain how to compile the rest of CyanogenMod"
Maybe this?
"TODO: Explain how to compile wlan.ko in order to enable wifi."
And more importantly, do you think a user who's asking for instructions to compile and hates programming, knows ANYTHING about Linux, which is required?
Thought so.
So, the short answer is - not a chance.
Who **** in your corn flakes?
The wiki worked for me before and when I was compiling last night...
Anyway, why not give them the information and let them decide if they want to pursue it the project or not.
Edit: From the bottom of the Wiki: This page was last modified on 26 June 2010, at 13:57.
Long story...
Anyways, I was stopped by "and if i'm honest i don't really like it" part, which said to me that any info besides a full comprehensive guide to installing VirtualBox, Debian on VB, and backing up the effort to compile something that might not compile and might not work, would go in vain.
But maybe you're right.
Related
I've spent the better part of 5 hours trying to come across information on ROM development.
My question is two part. What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
I have a feeling there's a lot I don't know. Perhaps the answer is in front of my face, but I've been looking for a long time and definitely have tried so please don't just say "use the search fuction" or "google it"
Devs normally don't like to share the info but there's a guide here:
http://ctso.me/2010/02/building-an-android-rom-–-part-1-5/
But the info is in other places to the google-android page might have some info to. You must be using a linux OS to actually build anything, windows is a no-go...
Quick and helpful, thanks!
Luckily I did just put the latest ubuntu on my laptop.
If anyone else wants to chime in with some helpful resources please do!
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
halfmonty said:
If some annoying little 14 year old made a hero rom, it can't be all that complicated.
Click to expand...
Click to collapse
He was just lying, he spammed various threads while talking about other devs.
Ace42 said:
He was just lying, he spammed various threads while talking about other devs.
Click to expand...
Click to collapse
first he's 14 then he's 12...next he'll be a spoiled 8 year old. you just watch.
I'm glad I checked this post. I was curious about ROM developing myself. Thanks for the post.
Is it me, or does that guy have more then one account...
At the risk of taking this further off topic... what guy?
But really my main concern is how to make a rom so, any other help from anyone would be good. Thanks!
Bump?
I'm sure somebody knows something
What resources are there available to learn about creating a rom from scratch or editing an existing (including making the update.zip and signing)
Click to expand...
Click to collapse
If you would like to compile android source code (create a rom from scratch) the best place to start would be:
http://forum.androidspin.com/showthread.php?t=2004
or
Chris Soyars' blog: http://ctso.me/2010/01/building-an-android-rom-part-1/
OpenEclair github readme: http://github.com/openeclair/android
Official AOSP Guide: http://source.android.com/download, http://source.android.com/download/using-repo, http://source.android.com/documentat...ding-for-dream
Instructions on creating and signing update.zip files can be in a few places herre on xda. Check the themes section I'm pretty sure I saw a few there.
Also, I assume the emulator is involved or at least could be. How do you create the system images that you need to create a custom avd from the zip's that you find roms in?
Click to expand...
Click to collapse
Install the rom on a handset & do a nandroid backup. It will produce the img files you will need for the AVD
Dude, you're awesome, thanks!
Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Man do yourself a favor a READ and search for awhile.... all you ever do is ask for handouts. Development is not easy. Its not just a matter of asking questions. You had 134 views of this page before I responded. That's 134 people that didn't wanna help you... if that doesn't say anything I dont know what will.
self proclaimed XDA resident prick
Jurellz said:
Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Click to expand...
Click to collapse
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
dastin1015 said:
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
Click to expand...
Click to collapse
Thanks for the positive feedback!
Hi,
some experienced dev can post here some instructions, hints, or anything that could be useful on how to build ICS from sources?
I'm not talking about anything you can find here:
- downloading sources http://source.android.com/source/downloading.html
- building sources http://source.android.com/source/building.html
I'm talking about lunch configurations, kernel to use, init script, proprietary files, etc... (I really can't find any guide for this kind of things.)
I never started a new build configuration, I only used "ready-to-build" solutions like CM, and I'm very interested to learn something new.
I think this is a good way to start to work on ICS for our device and share our findings to quicken the work of arcee.
M.
There are some great articles on "porting android". I guess you could start there, that's where I am
You may also want to check out the reading list from CyanogenMod:
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II_(AT&T):_Compile_CyanogenMod_(OS_X)
It contains two 1 hour long video introductions to porting.
thank you. that's exactly what i was searching for.
Apparently I was searching with the wrong keywords
buch85 said:
thank you. that's exactly what i was searching for.
Apparently I was searching with the wrong keywords
Click to expand...
Click to collapse
Yeah, I was searching for a year and only found those links yesterday
Hi there,
I'm looking for the source code of Corn Kernel, especially the version 7.0A.
I already tried to compile the kernel from Samsung with no success.
If by any chance the author can share his code this would be great for me.
Thanks
Might want to check with mtcarey here
http://forum.xda-developers.com/showthread.php?t=1294477
I don't believe they have enough posts to post in the development section, if I remember right it has to be 10
Oops, on the app didn't see post count. Could prolly send mtcarey a pm
mcduck2002 said:
Hi there,
I'm looking for the source code of Corn Kernel, especially the version 7.0A.
I already tried to compile the kernel from Samsung with no success.
If by any chance the author can share his code this would be great for me.
Thanks
Click to expand...
Click to collapse
Refer here. MtCarey explains how to compile KK4.
Actually according to GNU/GPL licencing, all source code must be made available to the public for anything built on or modified from software built with that licence and the licence must carry over.
basically if you build it from a GPL licenced source, you must provide your source for your changes/additions.
But im sure if you send the dev of the kernel in question, he would be happy to abide. (by xda rules he should).
sometimes with modifying kernels/roms of leak versions, and software for which source has not been provided to us, we are able to change 90% less, and are breaking GPL, but we dont really have a choice in the matter. well... we could just not mod it.. LOL.
prbassplayer said:
Refer here. MtCarey explains how to compile KK4.
Click to expand...
Click to collapse
he says in that, that there is much more to tweak to get it proper, but those are the 2 main things missing to get it to boot. not exactly a how-to compile guide.
Hi Guys,
In response to the quote below, I already tried to compile other kernel with some success. I managed to do that with HTC kernel by following the instructions. The explanation MtCarey gave is more like a hint or some info. Even though the info might be good enough for experienced kernel developer, I'm still not experienced enough.
All I'm asking weather the full source code with minimum modification can be contributed to the public so we all can have the benefit of it.
And of course! many thanks for MtCarey if he's willing to do that.
TRusselo said:
Actually according to GNU/GPL licencing, all source code must be made available to the public for anything built on or modified from software built with that licence and the licence must carry over.
basically if you build it from a GPL licenced source, you must provide your source for your changes/additions.
But im sure if you send the dev of the kernel in question, he would be happy to abide. (by xda rules he should).
sometimes with modifying kernels/roms of leak versions, and software for which source has not been provided to us, we are able to change 90% less, and are breaking GPL, but we dont really have a choice in the matter. well... we could just not mod it.. LOL.
he says in that, that there is much more to tweak to get it proper, but those are the 2 main things missing to get it to boot. not exactly a how-to compile guide.
Click to expand...
Click to collapse
mcduck2002 said:
Hi Guys,
All I'm asking weather the full source code with minimum modification can be contributed to the public so we all can have the benefit of it.
And of course! many thanks for MtCarey if he's willing to do that.
Click to expand...
Click to collapse
did you PM him? the un-modified stock kernel or unmodified corn kernel??...
and if you arent that experienced with it... why?? learning?? most of the kernel devs hang out in irc and talk and help kernel developing.. go make some friends.
Where can I get the information how to get to the irc?
TRusselo said:
did you PM him? the un-modified stock kernel or unmodified corn kernel??...
and if you arent that experienced with it... why?? learning?? most of the kernel devs hang out in irc and talk and help kernel developing.. go make some friends.
Click to expand...
Click to collapse
I posted in the main Android forum for help, but it's so busy there! I figured I may get some help in a more relevant device community. To avoid reposts, here is the original thread:
https://forum.xda-developers.com/android/help/help-build-source-failed-make-otapackage-t3831440
Big thanks to Psy_Man, I used his device tree and kernel to build.
If anyone wants to try my build it's here (use opengapps nano, stock seems to crash the setup wizard, probably because it removes webview). Everything seems to work but I have no clue how to fix anything so don't bother sending me logcats
https://drive.google.com/file/d/139H88lG-iDEK0C5AIsQn7l54eKnXq94s/view?usp=sharing
Inkypen said:
I posted in the main Android forum for help, but it's so busy there! I figured I may get some help in a more relevant device community. To avoid reposts, here is the original thread:
https://forum.xda-developers.com/android/help/help-build-source-failed-make-otapackage-t3831440
Big thanks to Psy_Man, I used his device tree and kernel to build.
If anyone wants to try my build it's here (use opengapps nano, stock seems to crash the setup wizard, probably because it removes webview). Everything seems to work but I have no clue how to fix anything so don't bother sending me logcats
https://drive.google.com/file/d/139H88lG-iDEK0C5AIsQn7l54eKnXq94s/view?usp=sharing
Click to expand...
Click to collapse
Maybe (very probably) I missed something but in your thread asking for help you say the problem is build doesn't complete, error at 99%, but then you do have a build that I think (from what some guys say in telegram) boots and all. So what do you need the help for exactly?
On the other hand I always found help posting my problems in the complete android rom development source to end thread, the one with like 900 pages and going....
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
you should post on development section, if you want to keep updating the ROM, many people will try your ROM and help to test it and maybe will help for the solutions too.
here : https://forum.xda-developers.com/mi-mix/development
albertoduqe said:
Maybe (very probably) I missed something but in your thread asking for help you say the problem is build doesn't complete, error at 99%, but then you do have a build that I think (from what some guys say in telegram) boots and all. So what do you need the help for exactly?
On the other hand I always found help posting my problems in the complete android rom development source to end thread, the one with like 900 pages and going....
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
Click to expand...
Click to collapse
I am a complete Linux noob, I have literally never used a compiler before in my life. Yes my build works and boots (which I am amazed at because it's my first try) but I need help in understanding why one way worked and the other way didn't. Thanks for the tip about the development guide
heindrix said:
you should post on development section, if you want to keep updating the ROM, many people will try your ROM and help to test it and maybe will help for the solutions too.
here : https://forum.xda-developers.com/mi-mix/development
Click to expand...
Click to collapse
I would post there, need to get my post count up first :laugh:
I made another test build after setting up my own github account, this time no compile errors at all, and I got an xxx-UNOFFICIAL.zip this time like I'm supposed to! Who knows why it didn't work the first time, but i'm (very) slowly getting the hang of this
Have made a build that works properly now, will make a dev page as soon as i'm allowed. if anyone wants to try it out it's here https://drive.google.com/open?id=1SQGaI4U0KeQQKJwq6EyRsa2VQph91oHA