FORUMS
Remove All Ads from XDA

[GUIDE][COMPLETE] Android ROM Development From Source To End

2,950 posts
Thanks Meter: 7,996
 
By jackeagle, Forum Moderator / Recognized Developer on 13th July 2014, 04:45 PM
Post Reply Email Thread
15th July 2014, 02:08 PM |#21  
Nelson George's Avatar
Senior Member
Flag Chennai
Thanks Meter: 31
 
More
Prompt again...
Quote:
Originally Posted by TechExhibeo

according to me yes you can use other linux OS but @jackeagle suggests you to use Ubuntu 13.10 as he used this version while making the guide

yes you are correct. but i have used ubuntu once, but i dont like that. so i installed arch on my lap.
and i know the procedures are not same in arch like editing repo, apt-get....etc...etc

anyway thank you for your reply
15th July 2014, 02:10 PM |#22  
xenon92's Avatar
Inactive Recognized Developer
Thanks Meter: 3,476
 
Donate to Me
More
Very extensive guide indeed.

------

Quote:
Originally Posted by jackeagle

Now it might give a small error at the end stating for Email id.
So just create a github account here
Then Run following in Terminal

Code:
git config --global user.email "[email protected]"
git config --global user.name "Your Name"

replace
"[email protected]" with your github email Id
replace
"Your Name" with github Username

You don't need a Github account to set email id and name in Git.
Git is an independent software used for source code management and version control. You can set any email id and any name in there. This configuration comes into play when you start making commits, pushing and using "Git".
The Following 6 Users Say Thank You to xenon92 For This Useful Post: [ View ] Gift xenon92 Ad-Free
15th July 2014, 02:24 PM |#23  
jackeagle's Avatar
OP Forum Moderator / Recognized Developer
Flag XDA
Thanks Meter: 7,996
 
Donate to Me
More
Thanks @xenon92 for Inspirational Words...
Yeah Thanks for pointing i mention that coz once they create the Rom for their Device it will be easy for them to put up their Device Tree for their Compiled Rom
15th July 2014, 05:26 PM |#24  
saurabh0291's Avatar
Senior Member
Flag Jodhpur
Thanks Meter: 267
 
More
Nice guide with screenshots is there any guide for kernel development too...
If not I'll wait for yours
15th July 2014, 05:29 PM |#25  
Junior Member
Flag minna,Nigeria
Thanks Meter: 0
 
More
great work
This is a great guide...why didn't you try building from android master branch?..what's your opinion on setting up cache that requires almost 50 yo 100GB?
Would you like to comment on the common errors likefetch errors during the syncing, wrong java versions, curl error and how to instantly write a java script on each error coming up....otherwise I will suggest newbies go the kitchen to cook first
15th July 2014, 05:32 PM |#26  
Nikhil's Avatar
Senior Member
Flag Ahmedabad
Thanks Meter: 2,121
 
Donate to Me
More
@jackeagle This is unlikely but how about a post with common build errors and their solutions? I recently encountered 2 problems and solved those. This would help new developers to solve errors.
15th July 2014, 05:35 PM |#27  
GreyCelt's Avatar
Senior Member
Flag Portland, Oregon
Thanks Meter: 117
 
More
This is awesome and gave me the inspiration to try to learn this stuff. I'm using Ubuntu right now on VM VirtualBox!

However, I keep running into this error when trying to install the packages after the JDK install.

The following packages have unmet dependencies:
build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


I tried the following commands as suggested and still got the above error:

sudo apt-get update

sudo apt-get upgrade


Any suggestions? Thanks again!!
15th July 2014, 05:40 PM |#28  
jackeagle's Avatar
OP Forum Moderator / Recognized Developer
Flag XDA
Thanks Meter: 7,996
 
Donate to Me
More
Quote:
Originally Posted by Nikhil

@jackeagle This is unlikely but how about a post with common build errors and their solutions? I recently encountered 2 problems and solved those. This would help new developers to solve errors.

@Nikhil yes i will add it too with a FAQ Soon...You can PM Me your Error and your Solution...Since This Guide is Still Work In Progress still lot of stuffs are there to be put forward I along with my Team will post it accordingly...
Thank you for suggestion
The Following User Says Thank You to jackeagle For This Useful Post: [ View ]
15th July 2014, 05:48 PM |#29  
jackeagle's Avatar
OP Forum Moderator / Recognized Developer
Flag XDA
Thanks Meter: 7,996
 
Donate to Me
More
Quote:
Originally Posted by GreyCelt

This is awesome and gave me the inspiration to try to learn this stuff. I'm using Ubuntu right now on VM VirtualBox!

However, I keep running into this error when trying to install the packages after the JDK install.

The following packages have unmet dependencies:
build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


I tried the following commands as suggested and still got the above error:

sudo apt-get update

sudo apt-get upgrade


Any suggestions? Thanks again!!

Use the following command and see if it worked to u let me know i will add to FAQ
Code:
sudo apt-get install build-essential libxslt1.1 libxslt1-dev libxml2 ruby-full mysql-server libmysqlclient-dev libmysql-ruby libssl-dev libopenssl-ruby libcurl4-openssl-dev imagemagick libmagickwand-dev git-core redis-server libffi-dev libffi-ruby rubygems libsqlite3-dev libpq-dev libreadline5 openjdk-7-jre nodejs libncurses5-dev openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libyaml-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config
The Following 2 Users Say Thank You to jackeagle For This Useful Post: [ View ]
15th July 2014, 05:49 PM |#30  
Recognized Contributor
Flag Mumbai
Thanks Meter: 2,885
 
Donate to Me
More
Quote:
Originally Posted by saurabh0291

Nice guide with screenshots is there any guide for kernel development too...
If not I'll wait for yours

thanx for the idea .. .wel try our best ..but cant promise..
The Following User Says Thank You to RVR For This Useful Post: [ View ] Gift RVR Ad-Free
15th July 2014, 06:21 PM |#31  
shree_tejas's Avatar
Senior Member
Thanks Meter: 294
 
More
I just went a Thank rampage.

The best guide i came across till now. All I've been doing till now was read but after this, I'm actually gonna build.

Quote:
Originally Posted by rutvikrvr

thanx for the idea .. .wel try our best ..but cant promise..

That would be an added bonus!
Post Reply Subscribe to Thread

Tags
development, rom guide

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes