Hi there!
I would like to learn more about compiling/developing and maybe 'porting' roms.
I know there are a few threads out there that cover some of the basics, but I see most of them are quite old and I think they are outdated.
Can anyone link me some relevant information regarding:
-> Compiling a ROM?
-> Porting a ROM?
-> General information about the subject. (Video's, books, threads, guides ...)
I'd like to understand the general structure and how to break it down/understand the entire process. I also have the following question:
-> What's required to compile my own Lineage OS version for the ZUK Z2 for example?
-> What's required to port a ROM from one device to another. (I know similar specifications make it easier but I'd like to know whats the main difference and what to look for)
I have a healthy portion of knowledge regarding: C#, Java, Linux server management, Windows server management, bash, python and a few other languages. (I am a programmer)
Thanks in advance!
I hope there are some viable options out there.
If you cant use google compiling rom isnt for you...
Single_Core said:
Hi there!
I would like to learn more about compiling/developing and maybe 'porting' roms.
I know there are a few threads out there that cover some of the basics, but I see most of them are quite old and I think they are outdated.
Can anyone link me some relevant information regarding:
-> Compiling a ROM?
-> Porting a ROM?
-> General information about the subject. (Video's, books, threads, guides ...)
I'd like to understand the general structure and how to break it down/understand the entire process. I also have the following question:
-> What's required to compile my own Lineage OS version for the ZUK Z2 for example?
-> What's required to port a ROM from one device to another. (I know similar specifications make it easier but I'd like to know whats the main difference and what to look for)
I have a healthy portion of knowledge regarding: C#, Java, Linux server management, Windows server management, bash, python and a few other languages. (I am a programmer)
Thanks in advance!
I hope there are some viable options out there.
Click to expand...
Click to collapse
Check this-
https://wiki.lineageos.org/devices/bacon/build
Related
Hi, is anywhere guide for developing.. i want dev too but i dont know how
What you want to develop? Kernel? System? Both?
on which host (Win/Linux/Mac)?
i want to dev too
i want do dev both kernel and system on windows ... so any advices? and thank you in advance
(EX/OR)
i want to develop both but maybe ony system. because when i wil dev kernel, i will can brake my phone
and im on win exactly win7. but on Notebook i have linux.. so its Win or Lin
And im think it will be better with guide.. Later can be more developers and it is better because updates release frequently
It is possible to put together a build using windows, but for serious development work you will need a Linux system for compiling, building from an already developed base only requires a good text editor, ( not notepad), and 7zip really.
so i need only good text editor? and source data.. its all?
and what sam knowledge of C/+/++/# Java.. nothing?
C for kernel
java for system
linux for both
Develop on windows is quite painful and on mac there are some problem with libs.
The only good system for fast develop is linux. Use a virtual system and setup a simple virtual machine with linux.
Then follow the fresh froyo thread to compile the first time (a lot of time).
Hi Michga,
have you development knowledge in any environment?
Are you for the first time approaching software developing?
Obviously you need programming language knowledge if you want to develop software (every kind of software: applications, utilities, system tools, kernel and so on)
moreafter, if you mind developing operating system's module (kernel, drivers and so on) you need deep understanding of general operating systems mechanisms in addition to specific knowledge about the OS you are developing for.
If this is your first step in software developing, I can suggest you try little application first, then step to system programming...
As a software is made up of simple text, as Zenity said, what you need is AT LEAST a good text editor and this is correct if you plan to write or modify simple pieces of software but if you mind to develop something more, a software developing environment maybe a better choice.
More, have a look at http://developer.android.com/sdk/index.html where you can find the SDK toolkit for Android.
Sorry not being more helpful: I'm a software developer but don't develop for Android yet... (Time... Time... Time... )
See you
thanks for answers.. i think it is all i need..thanks
Hi all Desirian Guru,
I am not sure this is the right place to bring this stupid question, but if you, the operator, found it is wrong, please move to where it should be. I would like to create or develop, if I can, my own custom ROM for fun and share. Could anyone here kindly point me what steps I should take, what the prerequisites I should have.
Appreciate you guys so much if those tools are supported on my Ubuntu.
and on windows too!
Same sort of thread made before: http://forum.xda-developers.com/showthread.php?t=817699
Might help
Start here, if you are intending to build from the AOSP source:
http://source.android.com/porting/index.html
http://source.android.com/source/git-repo.html
Get the source code from here:
http://android.git.kernel.org/
There is an unofficial "vendor" from devoferreria for the htc bravo board here:
https://github.com/defer/android_device_htc_bravo
The cyanogenmod wiki has a load of excellent info on it, including compiling your kernel:
http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source
If you are looking to mod a SenseUI rom there are guides around here that explain how to change the framework. That is a different art ... use a wider forum search and you should find them.
TheGost1233, stOkes,
thanks for your advise.
You guys rock.
Hi
I am looking into starting out in developing Android Apps and modding the Source OS itself. I have had a little search round on here but given the fact it seems impossible to force the search to use the exact search its bringing up hundreds of non-sense results (had to use google to find the modded Google Currents apk on this site).
Anyway what I am interested to know is what environment dev's are using and is it possible to do it all in a Windows OS or is this not a good idea?
Any help very much appreciated with getting good setup from the start and all opinions welcome.
Thanks in advance
James
1. Wrong section - should be in General
2. You'd have seen stickied right at the top of the General section this thread - http://forum.xda-developers.com/showthread.php?t=1386615
1. seeing as this is about android development I think it is in the right section especially as I have posted the exact same question in the general Android Q&A (Not phone specific) area and not got a single reply.
2. I would have seen the sticky if the search function on this site was written by a coder that died after Jesus!
Thanks for the pointer though its exactly what I wanted - thank you
The Development forum here is pretty much exclusively for ROM/Kernels, anything else goes elsewhere. Not my rules but you'll get flamed so better just to use General/Q&A for anything not ROM-related
Ah I see - I didn't know - thanks for this and the link!
Much appreciated!
all the best
J
Generally the development forums are reserved for sharing your work with others. ROMs, kernels, scripts, etc.
If you're familiar with Linux it's usually easiest to do everything from there, however I do a lot of my work while booted in to Win7 and run Ubuntu through Virtual Box. I'm set up to dualboot with linux mint, but I'm so used to windows that it's usually more convenient. Cygwin is also a very helpful tool to use if you are using windows.
The Android Development & Hacking and Chef Central forums are also good places to look for information.
xHausx said:
Generally the development forums are reserved for sharing your work with others. ROMs, kernels, scripts, etc.
If you're familiar with Linux it's usually easiest to do everything from there, however I do a lot of my work while booted in to Win7 and run Ubuntu through Virtual Box. I'm set up to dualboot with linux mint, but I'm so used to windows that it's usually more convenient. Cygwin is also a very helpful tool to use if you are using windows.
The Android Development & Hacking and Chef Central forums are also good places to look for information.
Click to expand...
Click to collapse
I understand and hope I can do a bit of sharing in the future . What IDE are you using if you don't mind me asking?
jamesmcuk said:
I understand and hope I can do a bit of sharing in the future . What IDE are you using if you don't mind me asking?
Click to expand...
Click to collapse
I use Eclipse but just because that's what was suggested by google when you download the android sdk. I started to set up netbeans to try it out but never got around to using it
yeah I have eclipse and also read about it through google. Thanks for confirming this to be the best method, I shall give it a go.
Thanks very much for your help
J
if you want to develop android apps in java you install eclipse in windows. If you want to develop the kernel or roms in c++ you install ubuntu linux in a virtuak machine on windows.
Hey guys!
I just got my serranoltexx and am fairly happy. However, I really would like to try and get AOKP running. Could any devs point me in the direction of where to start, you know, just bootstrap me with some reading? I have a background in Linux and UNIX, have developed some networking stack API projects on windows and have written a ****load of bash, perl etc. scripts in the past. I've also worked on the Matroska container format. Compiling etc. pose no challanges for me. However, I have never fumbled around with Android and I have no idea what drivers and other components might be needed. And how to start finding out what's missing...
I do know how to bootstrap my source repository and sync it... and in theory also how to compile AOKP - for supported devices, that is. What I don't know is: how do I start resolving unmet dependencies, and, you know, generally port a rom to a new device?
Please don't post if you haven't even compiled your own ROM yet. More likely than not, you'd be wasting your time.
I've posted on xda-dev as well, not sure which is the more suitable forum, possibly this one... Link to the other thread:
http://forum.xda-developers.com/showthread.php?t=2501539
And please don't post me to this guide right here as it is only of limited help. As I said, I know how to do it in general... You know, this guide:
http://aokp.co/learn/so-you-want-to-build-aokp-jb-ubuntu-1204
I tried to build it, but many things are missing once i flashed the *.zip.
Maybe i messed up with sources and patches.
Tell us if you have success! :good:
Hi there!
I would like to learn more about compiling/developing and maybe 'porting' roms.
I know there are a few threads out there that cover some of the basics, but I see most of them are quite old and I think they are outdated.
Can anyone link me some relevant information regarding:
-> Compiling a ROM?
-> Porting a ROM?
-> General information about the subject. (Video's, books, threads, guides ...)
I'd like to understand the general structure and how to break it down/understand the entire process. I also have the following question:
-> What's required to compile my own Lineage OS version for the Lenovo P2 for example?
-> What's required to port a ROM from one device to another. (I know similar specifications make it easier but I'd like to know whats the main difference and what to look for)
I have a healthy portion of knowledge regarding: C#, Java, Linux server management, Windows server management, bash, python and a few other languages. (I am a programmer)
Thanks in advance!
I hope there are some viable options out there.
Everything available in YouTube for step by step guide