Compiling Android versions and kernel to Tattoo - Click Android Development

Anyone knows where can I find informations about to compile CyanogenMod and kernel for Tattoo from source or other packages already configured for Tattoo? I want to help working in camera and FM development. I have a little experience in Linux, beagleboard and arm7 (lpc2368) programming, maybe I can help, but at first I need to learn the basics to help the working in camera and FM drivers. Sorry about my bad english. I have a lot o time disponible to help.

Take a look at CyanogenMod Wiki: http://www.cyanogenmod.com/wiki-page

I cannot find informations about the compilation process in HTC Tattoo. Can I use the process of wildfire as example?

The procedure is basically the same for all phones. You will need a vendor specific config for the Tattoo though. You can use mine from git if you want.
https://github.com/arco/

Thanks. I will try to compile your repository for learning. I need to download the android sdk for compile or just the 3 sources?

Follow the instructions in the CM wiki, and you will get the whole build environment, everything that's needed to compile. You will also need to download my files, either as a zip from github, or use git to clone it. And then put it in where the other phone vendor configs are - device/htc for HTC phones. Just poke around a bit and you'll understand it eventually. Takes a while to get familiar with how things work, what is where etc, so don't expect to master it in one day.

@arco: a little question, can I compile a rom and use your kernel without recompile it? I have a celeron processor and need 1 hr and half to compile a kernel

francians said:
@arco: a little question, can I compile a rom and use your kernel without recompile it? I have a celeron processor and need 1 hr and half to compile a kernel
Click to expand...
Click to collapse
If you need one hour for kernel, Cyanogen will take 1 day. But yes, arco has kernel precompiled in his git

1,5 hours to compile the kernel? Takes about 5 minutes for me, and building the whole CM sources takes about 0,5 hours. I have an i5 [email protected], using 3 cores in an 64-bit Ubuntu Virtualbox environment.

There is any book about the android porting? I'm really confused about all the process necessary to work with the files. I never used git before, as I understanded it download just the modificated files right?

arco68 said:
1,5 hours to compile the kernel? Takes about 5 minutes for me, and building the whole CM sources takes about 0,5 hours. I have an i5 [email protected], using 3 cores in an 64-bit Ubuntu Virtualbox environment.
Click to expand...
Click to collapse
OT:
I have ubuntu 10.10 @ EEEPc Celeron 1000 (single core)

Related

[Q] How to set up O2X kernel/rom build environment?

For a few days now I've been trying to set up a build environment to compile (for starters) the stock kernel on my own.
I'm using Ubuntu 11.10 x64 and have tried to build an ARM EABI capable GCC using
vorkChain script
Linaro GCC
without success. Everytime the compilation process aborts with either libstdc++ missing ('/bin/bash: line 3: cd: arm-eabi/libstdc++-v3: No such file or directory') or some error with the strip command.
I'm now trying to get running with the sourcery toolchain but I'm unsure if that's the right direction or if it's just compiling a Tegra2-compatible but not optimized code.
How did you set up your build-environment for the LG-P990 kernel/ROM development?
Hello!
Did you read this guide!?!
http://forum.xda-developers.com/showthread.php?t=1104523
Did you follow this thread!?!
http://forum.xda-developers.com/showthread.php?t=1118091&page=4
Thanks for the hints. I had a look at both but unfortunately they are targeted at CM7 builds which have a specific and defined environment/structure, use loads of scripts to set up all requirements and would require me to download several GBs (~20GB?) just to begin working. Furthermore the guides require me to flash CM7 on my phone as at one step they extract propietary stuff from the phone to have a successful build. That's not exactly what I'm looking for.
What I'm looking for is a description on how to set up the compiler (+dependencies) environment which allows me just to build the official kernel on my own. I tried to get some hints out of the CM scripts but with no luck. All my searches in the forum also have been not successful.
Maybe someone more experienced than me can give me some info or hints on topics which could help me with my search?
Hello!
Well, I am not an expert in kernel-build myself but there where discussions in the ironkrnL threat and some people managed to build kernels from the devs github their (i.e. vodonka)...
Beginning somewhere here…
http://forum.xda-developers.com/showthread.php?t=1359307&page=33
And I found this…
http://www.mydroidworld.com/forums/...-how-compile-cyanogen-gingerbread-source.html
The HowTo from Cyanogen is for Debian and Red Hat…
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
…but it doesn’t say much about compiler setup itself anyway.
The best thing might be asking one of the people building kernel-Kangs frequently like rusty, temasek or koboltzz.
Medizinman I think you still don't understand, you keep giving links for cyanogen kernel!!
There is no way to compile stock kernel with cyanogen environment.....
Kosi you should ask for Spica and Koboltz in dev section they build stock kernels.
Hello!
Oh sorry, I overlooked this... ...of course he can't build a "stock kernel" from Cm7-source...my fault/mistake.
...forget what I wrote...
Yes, asking one of the "stock-kernel-devs" on xda like Spica (hp kernel for stock), Koboltz, Imperticus(NeoBlaze kernel) or dr4go (fps kernel) might be a good idea indeed...
Medizinmann said:
Hello!
Oh sorry, I overlooked this... ...of course he can't build a "stock kernel" from Cm7-source...my fault/mistake.
...forget what I wrote...
Yes, asking one of the "stock-kernel-devs" on xda like Spica (hp kernel for stock), Koboltz, Imperticus(NeoBlaze kernel) or dr4go (fps kernel) might be a good idea indeed...
Click to expand...
Click to collapse
Hi all,
Does any one have compiled kowalski kernel from sources (github(dot)com/pengus77/lge-kernel-star) ?
I have been using Linaro toolchain 4.6.2 to compile it, and it build ok. However, I can not boot using the generated zImage - it always stucks in the LG logo.
Can you give me some pointers concerning the compilation flags and/or environment?
Thanks!

[Guides] My Dev Resources

Hey guys, I've seen some people that are interested in learning how to develop for Android, so I thought I 'd share my Android Dev Resources bookmarks folder with all of you It's grown significantly since I last showed it to you guys in my CM9-Woot thread.
How to port ROM's to the Desire S (Similar to our phone)
Init.d Script guide
Modding ICS
Build.prop tweaks
ICS style settings mod
Porting Android
Chef Central XDA
GreenROM Project
Android App Development Tutorial
How to port cm7,9,10
How to properly de/recompile APK's
Remap search button to recent apps
Google Android Training
Marakana tech tv (Android tutorials)
CPU Governors explained
Jellybean porting
How to- Compiling from source
How to make you're own custom ROM
How to compile CM10
Compile JB on ubuntu
Build.prop mod- Project Butter
Github.com
XDA Android software and hacking
Building your first kernel
Compile ICS on Ubuntu
CyanogenMod wiki- Compile CM9
Hopefully this inspires more people to learn how to develop for our phone
ZaySk said:
Hey guys, I've seen some people that are interested in learning how to develop for Android, so I thought I 'd share my Android Dev Resources bookmarks folder with all of you It's grown significantly since I last showed it to you guys in my CM9-Woot thread.
How to port ROM's to the Desire S (Similar to our phone)
Init.d Script guide
Modding ICS
Build.prop tweaks
ICS style settings mod
Porting Android
Chef Central XDA
GreenROM Project
Android App Development Tutorial
How to port cm7,9,10
How to properly de/recompile APK's
Remap search button to recent apps
Google Android Training
Marakana tech tv (Android tutorials)
CPU Governors explained
Jellybean porting
How to- Compiling from source
How to make you're own custom ROM
How to compile CM10
Compile JB on ubuntu
Build.prop mod- Project Butter
Github.com
XDA Android software and hacking
Building your first kernel
Compile ICS on Ubuntu
CyanogenMod wiki- Compile CM9
Hopefully this inspires more people to learn how to develop for our phone
Click to expand...
Click to collapse
thanks for that mate if anything i wanna try build a kernal from the htc source so that we can get your cm9 port or kaijuras fully working
naathaanb96 said:
thanks for that mate if anything i wanna try build a kernal from the htc source so that we can get your cm9 port or kaijuras fully working
Click to expand...
Click to collapse
Meh, don't bother with my CM9 port, the code for that build is ancient in technological terms. I'll be compiling CM10 or AOKP JB for you guys next month when my bandwidth meter restarts. I waster a LOT of bandwidth trying to sync the CM10 code and having it run into a fatal error at the end. Such a piss off.
ZaySk said:
Meh, don't bother with my CM9 port, the code for that build is ancient in technological terms. I'll be compiling CM10 or AOKP JB for you guys next month when my bandwidth meter restarts. I waster a LOT of bandwidth trying to sync the CM10 code and having it run into a fatal error at the end. Such a piss off.
Click to expand...
Click to collapse
stuff making my own rom haha ill use kaijuras as the base. just downloading and installing ubuntu 64bit now so i should "HOPEFULLY" have a kernal compiled by the end of today from htc source. which hopefully fixes camera and everything
naathaanb96 said:
stuff making my own rom haha ill use kaijuras as the base. just downloading and installing ubuntu 64bit now so i should "HOPEFULLY" have a kernal compiled by the end of today from htc source. which hopefully fixes camera and everything
Click to expand...
Click to collapse
Let me know how ubunto is as an OS. As I've thought about dual booting with ubunto or OSX. Just haven't had the time yet .....
Sent from my HTC Incredible S using Tapatalk 2
vizzy said:
Let me know how ubunto is as an OS. As I've thought about dual booting with ubunto or OSX. Just haven't had the time yet .....
Sent from my HTC Incredible S using Tapatalk 2
Click to expand...
Click to collapse
should be up and running in about 30 mins
vizzy said:
Let me know how ubunto is as an OS. As I've thought about dual booting with ubunto or OSX. Just haven't had the time yet .....
Sent from my HTC Incredible S using Tapatalk 2
Click to expand...
Click to collapse
I like Ubuntu a lot. I've only used 11.10, and 12.04 but I personally prefer 11.10 due to the fact that 12.04 is "only experimentally supported for compiling ROM's and not guarenteed to work". I also find 11.10 to be significantly more stable and smooth than 12.04, but it could be because of my older computer and processor.
If you're good with technology and computers (Which you most likely are since you're on XDA) then you should have no problem learning how to use Ubuntu. There are a little bit more quirks in Ubuntu than in Windows, and the problems typically have to be fixed in the Terminal, but it's not that bad. I personally enjoy using Ubuntu, I found it to be very easy to learn how to use. (But I'm a major nerd )
Edit: If you want to know anything else about Ubuntu, let me know and I'll fire up my VM.
ZaySk said:
I like Ubuntu a lot. I've only used 11.10, and 12.04 but I personally prefer 11.10 due to the fact that 12.04 is "only experimentally supported for compiling ROM's and not guarenteed to work". I also find 11.10 to be significantly more stable and smooth than 12.04, but it could be because of my older computer and processor.
If you're good with technology and computers (Which you most likely are since you're on XDA) then you should have no problem learning how to use Ubuntu. There are a little bit more quirks in Ubuntu than in Windows, and the problems typically have to be fixed in the Terminal, but it's not that bad. I personally enjoy using Ubuntu, I found it to be very easy to learn how to use. (But I'm a major nerd )
Click to expand...
Click to collapse
8 mins left on my download
Thank you for your hardwork!
By the way, which one did you tried from the above links?
I have gone thru some of the links, some does not work with
sense?
vinboy3 said:
Thank you for your hardwork!
By the way, which one did you tried from the above links?
I have gone thru some of the links, some does not work with
sense?
Click to expand...
Click to collapse
My pleasure I've read them all, and tried out a majority of them myself. Some work, some don't but they all teach you valuable lessons and are worth reading. Not all of them are for Sense ROM's, only some of them are. I also really want to compile CM10 which is why I also have a lot of AOSP links. Some are also app tutorials, I'm also trying to learn how to write apps.
That's an impressive list, thanks for sharing.

[Q]how to compile from source

I apologize for my bad English I am Italian and use google translate
I need a guide on how to compile Android from source
(the ParanoidAndroid for accuracy)
which linux distro to use?
which packages to install?
which commands to use?
I have a lot of time free
and a core i5 cpu
I think that to compile Android from source
but I need a guide
then I ask you developers, you can post a guide
----------------------------------------------------------------------------------------
write from my pc using win8 e programming a websites
bomdia said:
I apologize for my bad English I am Italian and use google translate
I need a guide on how to compile Android from source
(the ParanoidAndroid for accuracy)
which linux distro to use?
which packages to install?
which commands to use?
I have a lot of time free
and a core i5 cpu
I think that to compile Android from source
but I need a guide
then I ask you developers, you can post a guide
----------------------------------------------------------------------------------------
write from my pc using win8 e programming a websites
Click to expand...
Click to collapse
Well, you need a lot of work to get a working build, as i currently compile CM9 for SXL.
Recommended distros: Ubuntu 12.04 Precise / Linux Mint 13 Maya with Cinnamon interface to have the best linux experience << The best linux distro i ever used
Packages: Well, you need to check the Paranoid site to download the repo for ICS or JB variant of source-code.
Commands: Lots of commands, there are tutorials online. Example >> here
After this, you will need the device tree for SXL, i have one that is deprecated (not updated for some time), it does not work the variant uploaded here, but i will upload it.
You will need the vendor files, i also have the files but as the build of CM9 don't work, i haven't upload them anywhere untill i can get an at least experimental build that boots
Link for android device tree for sxl by me here
There is a lot of work and there aren't any specific guides on how to do this, you need to join communities and be a pain on the ass for them untill you learn how to do this.
I hope this helps anyways
Lexmazter said:
Well, you need a lot of work to get a working build, as i currently compile CM9 for SXL.
Recommended distros: Ubuntu 12.04 Precise / Linux Mint 13 Maya with Cinnamon interface to have the best linux experience << The best linux distro i ever used
Packages: Well, you need to check the Paranoid site to download the repo for ICS or JB variant of source-code.
Commands: Lots of commands, there are tutorials online. Example >> here
After this, you will need the device tree for SXL, i have one that is deprecated (not updated for some time), it does not work the variant uploaded here, but i will upload it.
You will need the vendor files, i also have the files but as the build of CM9 don't work, i haven't upload them anywhere untill i can get an at least experimental build that boots
Link for android device tree for sxl by me here
There is a lot of work and there aren't any specific guides on how to do this, you need to join communities and be a pain on the ass for them untill you learn how to do this.
I hope this helps anyways
Click to expand...
Click to collapse
thanks a lot I think I start tomorrow I'm a little tired
Hi just so you know you won't be able to compile Paranoid Android for ICS from source as it was never released.
If you can get JB to work then you will not only be a hero but also be able to use Paranoid Android source
I have a problem I can not download the sources of the paranoid in any way
help (or build the sources normal Android?)
Did you follow a guide how to set up the environment in linux? Or Mac.. the way you can download sources is git clone and then the git link. There are many guides on doing that part. Also when I download source it times out in a 4 mb/s connection and I need to use a better connecyion
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
anders3408 said:
Did you follow a guide how to set up the environment in linux? Or Mac.. the way you can download sources is git clone and then the git link. There are many guides on doing that part. Also when I download source it times out in a 4 mb/s connection and I need to use a better connecyion
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Click to expand...
Click to collapse
aa ok but the guide I was reading did not say that it was necessary to clone each of the sources piece by piece, but he said to use a single link.
I have linux mint 14 with cinnamon (from the 13 consigliatami lextmazter I do not work)
both in Italy and in spite of my connection is approximately 16 mb / s (88% above the national average)
Post link to guide.
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
bomdia said:
aa ok but the guide I was reading did not say that it was necessary to clone each of the sources piece by piece, but he said to use a single link.
I have linux mint 14 with cinnamon (from the 13 consigliatami lextmazter I do not work)
both in Italy and in spite of my connection is approximately 16 mb / s (88% above the national average)
Click to expand...
Click to collapse
I do not recommend Linux Mint 14 as it is new edition, based on new Ubuntu version 12.10 if i remember good, don't know for sure, that's why, on Ubuntu 12.04 building is supported, even though on some guides it is said that on 12.04 it is experimental, well, it was, now it should be stable.
Also, if you want to port things like Paranoid or PAC you should start with AOSP or CM9 or AOKP, to put it short, versions that have guides and source codes on their sites. In my opinion CM is the best thing to start with, that's why i started CM9, after that you can easily port every 4.0.4 AOSP based ROM.
The same thing applies to JB, if you can port or build AOSP or CM10, you can port every JB AOSP based ROM very easily following only a few basic steps, that's how things work in this hood
Off-topic: I was a little distracted from building/testing/devving because of the school affairs, but today i will resume my work on CM9, if things work well, i will have a bootable build this very evening.
same as lexmazter, sound correct. the hard part is build CM9 rom, rest is pretty easy.
Lexmazter, i am about to try take a ramdisk from cm9 primou and make changes in every lines and see if i can get it to work with runnymede. if it does we will have a working aosp bootimg. i have compiled a zimage from source and it works with wifi and bt and so on in sense rom, also zimage works with cm9 with wifi.
lexmazter, can you please take a bencmark test with antutu 3.0.1, the new one, and post screenshot of the score and wich rom you are in ? they have made the test much diffrend so score is diffrend in 3.0.1 than older , so i have nothing to compare it to
anders3408 said:
same as lexmazter, sound correct. the hard part is build CM9 rom, rest is pretty easy.
Lexmazter, i am about to try take a ramdisk from cm9 primou and make changes in every lines and see if i can get it to work with runnymede. if it does we will have a working aosp bootimg. i have compiled a zimage from source and it works with wifi and bt and so on in sense rom, also zimage works with cm9 with wifi.
lexmazter, can you please take a bencmark test with antutu 3.0.1, the new one, and post screenshot of the score and wich rom you are in ? they have made the test much diffrend so score is diffrend in 3.0.1 than older , so i have nothing to compare it to
Click to expand...
Click to collapse
5941 no OC with LTX Kernel v0.7 and Sense 3.0 by fshami, also, i think i found the right ramdisk for now for CM9, it solved the dalvik-permissions, now i still need to boot the build, still trying to figure what is wrong here and why it hangs after Android is upgrading... >> Starting applications.
I can work more on my device now as i have a cheap second phone to use if for calls and sms.
so then I decided, when I start buildare the source of AOSP Android 4.2 jellybean I think it's easier for me to start.
I had to use because the new mint old man crashed always
bomdia said:
so then I decided, when I start buildare the source of AOSP Android 4.2 jellybean I think it's easier for me to start.
I had to use because the new mint old man crashed always
Click to expand...
Click to collapse
As a recommandation, i would recommend building AOSP 4.0.4, it is easier to start and has more chances of working, after that, you have the experience and the headstart to work on 4.1 and only after that on 4.2.
Just start with baby-steps, it is easier and increases the chances of success.
Lexmazter said:
As a recommandation, i would recommend building AOSP 4.0.4, it is easier to start and has more chances of working, after that, you have the experience and the headstart to work on 4.1 and only after that on 4.2.
Just start with baby-steps, it is easier and increases the chances of success.
Click to expand...
Click to collapse
ahh ok then I try to go with 4.1 if I can not then step 4.0.4
bomdia said:
ahh ok then I try to go with 4.1 if I can not then step 4.0.4
Click to expand...
Click to collapse
Well, i recommend this because i'm still building 4.0.4 and i haven't successfully booted a build, so that's why i say this, because if you get the 4.0.4, in short terms, all you need to change for 4.1 is the graphics driver, but for 4.2 i don't know for sure, too new for me and i'm still trying to get 4.0.4 to air
then my kernel is not so bad 5838 with sense 4.1 v. 1.5.1 and still missing some improvments
which ramdisk are you using, zimage from stock rom should get it to boot, but the ramdisk as you know need to be changed to cm9. when you compile from source it should also make a ramdisk that will fits the rom, i think it is best to check what the diffrence in the new ramdisk and the old one with VM errors and then fix them, perhaps it will boot then ? one specific compiled by you ? post a logcat in your cm9, had also some bootloop in my cm9 port but got it booting.
anders3408 said:
then my kernel is not so bad 5838 with sense 4.1 v. 1.5.1 and still missing some improvments
which ramdisk are you using, zimage from stock rom should get it to boot, but the ramdisk as you know need to be changed to cm9. when you compile from source it should also make a ramdisk that will fits the rom, i think it is best to check what the diffrence in the new ramdisk and the old one with VM errors and then fix them, perhaps it will boot then ? one specific compiled by you ? post a logcat in your cm9, had also some bootloop in my cm9 port but got it booting.
Click to expand...
Click to collapse
just enter the irc channel, will talk more there, no need to spam the forum with this.
The boothanging is because of the audio, the ramdisk is good, i use the LTX v0.7 zImage and ramdisk from stock edited to fit the build.
Also, the ramdisk is not made with the build, maybe if you compile the kernel with the rom, and for this you need to put the kernel online and othe things, and because of proxy, i can't and won't do that. For more details, like i said, find me on the irc.
link here
you say that jelly beans to need a new kernel? because sifting through the Internet I found this: https://developer.qualcomm.com/mobile-development/mobile-technologies/gaming-graphics-optimization-adreno/tools-and-resources there are also drivers for jelly bean of adreno 2xx
bomdia said:
you say that jelly beans to need a new kernel? because sifting through the Internet I found this: https://developer.qualcomm.com/mobile-development/mobile-technologies/gaming-graphics-optimization-adreno/tools-and-resources there are also drivers for jelly bean of adreno 2xx
Click to expand...
Click to collapse
yeah, those are the drivers
But they do not require a new kernel
Lexmazter said:
yeah, those are the drivers
But they do not require a new kernel
Click to expand...
Click to collapse
but I need or I do not need?

[Q] Working with source codes in Windows?

Hello!
I can work with source codes on windows?
Use wubi, fast and simple
Sent from my Nexus 4
WUBI
I tryed this, but isn't work.
WUBI? FAIL!!!
You will never set up a build environment using wubi.
Install linux properly if you want to code. If you can't setup linux then you are doomed. It's easier to install than windows.
You need case sensitive filesystem to work with android source (the ntfs not good for this work). If you too lazy to make a linux partion or use virtualbox for a linux install, better if you not want to play with the source...
Sent from my E15i using xda app-developers app
virtualbox uses too much resource imo. better if op makes a linux partition if he wants windows on his system. just an observation.
Just because i don't doesn't mean i can't.
Source Code
Ok! I install the Linux mint!
ssk73 said:
Ok! I install the Linux mint!
Click to expand...
Click to collapse
u should probably go with linux ubuntu 12.04 LTS
its working good for me
Ubuntu
My pc is very bad, and don't start the ubuntu. Error: Bad graphics (or similar)
CtrlAltDelIrl said:
WUBI? FAIL!!!
You will never set up a build environment using wubi.
Install linux properly if you want to code. If you can't setup linux then you are doomed. It's easier to install than windows.
Click to expand...
Click to collapse
linux is better than windows , especially on coding ~
Ubuntu is the best!
But if you have bad PC you can't start developing.
I have 1GB of RAM memory and 1,6Ghz Atom and i can't build properly.
I have to use buildbox server
Please donate me! The X8 is...old mobile. I want to buy new telephone (Sony Xperia J/U or Samsung Galaxy Nexus/SII)
Click to expand...
Click to collapse
How about you donate a phone to a real dev. You've got balls little boy.
You can't code, you can't install linux but you want us to donate you a phone!!
Go out and play - come back when you grow up.
kovacslaszlo13 said:
Ubuntu is the best!
But if you have bad PC you can't start developing.
I have 1GB of RAM memory and 1,6Ghz Atom and i can't build properly.
I have to use buildbox server
Click to expand...
Click to collapse
Mine is intel pentium3 700Mhz with 1GB ram... awful
Sent from my E15i using xda premium
syahazu said:
Mine is intel pentium3 700Mhz with 1GB ram... awful
Sent from my E15i using xda premium
Click to expand...
Click to collapse
And build is work or not?Or just slow?
For me it's unusable
CtrlAltDelIrl said:
Quote:
Please donate me! The X8 is...old mobile. I want to buy new telephone (Sony Xperia J/U or Samsung Galaxy Nexus/SII)
How about you donate a phone to a real dev. You've got balls little boy.
You can't code, you can't install linux but you want us to donate you a phone!!
Go out and play - come back when you grow up.
Click to expand...
Click to collapse
Bro you say big truth!
kovacslaszlo13 said:
And build is work or not?Or just slow?
For me it's unusable
Click to expand...
Click to collapse
The kernel compiling working without any problem, just need extreme big patience on a 700MHz p3 machine (and on 1,6GHz atom too, looks like the atom is two times faster if we see the clocks, but the reality... due the sh!t design and the in-order execution pipelines the old p3 sometime faster than the atom... )
The rom compiling is another business, for compile gb need at least 1,5-2 gb ram, for 4.0+ you need at least 3+ gb ram to prevent lot of compiling errors due the low ram.
And while the kernel compiling not need any special packages, just an arm compiler (now checked, the latest codesourcery 4.7.2 runs on ubuntu 8, fedora 6, and lot of old distro), the rom compiling need lot of packages what require newer disto (I can suggest use at least ubuntu 10+/debian 6+/suse 10+/fedora 15+)
pilu1978 said:
The kernel compiling working without any problem, just need extreme big patience on a 700MHz p3 machine (and on 1,6GHz atom too, looks like the atom is two times faster if we see the clocks, but the reality... due the sh!t design and the in-order execution pipelines the old p3 sometime faster than the atom... )
The rom compiling is another business, for compile gb need at least 1,5-2 gb ram, for 4.0+ you need at least 3+ gb ram to prevent lot of compiling errors due the low ram.
And while the kernel compiling not need any special packages, just an arm compiler (now checked, the latest codesourcery 4.7.2 runs on ubuntu 8, fedora 6, and lot of old distro), the rom compiling need lot of packages what require newer disto (I can suggest use at least ubuntu 10+/debian 6+/suse 10+/fedora 15+)
Click to expand...
Click to collapse
You are good in kernel compileing?
Because i want to learn it!
And i can use good buildmachine with ssh
I started with debian 2.1 near 15 years ago, so I have few linux experience...
Sent from my E15i using xda app-developers app
kovacslaszlo13 said:
You are good in kernel compileing?
Because i want to learn it!
And i can use good buildmachine with ssh
Click to expand...
Click to collapse
iirc, pilu is a programmer (am i right?). and he's worked on some projects in the past. if you get him to teach you, you're a lucky man.
you can also alsk sgt.meow or ferneoh for tips.
Just because i don't doesn't mean i can't.
cascabel said:
iirc, pilu is a programmer (am i right?). and he's worked on some projects in the past. if you get him to teach you, you're a lucky man.
you can also alsk sgt.meow or ferneoh for tips.
Just because i don't doesn't mean i can't.
Click to expand...
Click to collapse
Sorry i'm new in X8 forums (i have SK17i) so i just see that he is hungarian :victory:
But i don't know anything
Sorry again for my question
@cascabel: you are right. But my target platform is x86 and windows, not arm and android. Now my 99% of arm/android works related to my new toy: a dragonboard s4 plus developer board...
Sent from my E15i using xda app-developers app

How do we build Resurrection Remix,CyanogenMod,Crdroid,AOSP,etc?

Hi developers, I'm a newbie for developing Android. Can i ask you all? How do you build and develop Resurrection Remix,CyanogenMod,Crdroid,AOSP,etc? I want to build and develop my own rom,please?:crying: Thanks.
Look on their tutorials...
Having a separate computer for doing builds is a huge difference. The amount of storage and RAM it takes to build these ROMs is large. I have tried to build from source many times on my laptop. Get a dedicated build machine with enough memory and storage to complete the builds.
Rezei said:
Look on their tutorials...
Click to expand...
Click to collapse
I have been working on building from source for over a year now. I have followed many different tutorials for repo and building. I still have had no luck. I have not given up yet. Every video I have watched makes it look easy, but it is not that easy. Just now I have had gnults_handshake TCP errors when repo is going on. It isn't all that easy to debug Linux commands when building a build environment.
So I finally built CM 11, 12.1, and CM 13 from source. It took one successful build to make the difference. Good stuff!
Can you point me at one of those tutorials?
Thanks
They are on this website. Have a look around.
You need a complete linux distro , you must done a dual-boot it's better , linux alone is fah , and go to see guides for terminal commands you should use , in dual-boot you must have at less 200 Gb for the distro and then you're done with fews hours and days of patience
Man, I follow this tutorial.
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763/page1
Abdullah Yusoff said:
Hi developers, I'm a newbie for developing Android. Can i ask you all? How do you build and develop Resurrection Remix,CyanogenMod,Crdroid,AOSP,etc? I want to build and develop my own rom,please?:crying: Thanks.
Click to expand...
Click to collapse
You'll need few requirement to go :
- Hardware
- 8GB RAM (more is better)
- minimum dual core CPU
- minimum 150Go storage
- Some knowledge :
- For that, I recommend you to read pages on Android Developers AOSP, looks other commits to understand how does a device tree (or hw, kernel, etc..) work, and be curious each thing you don't understand on in a device tree, check what is it (e.g.: you see "libIon", check what is "libIon")
Good luck!

Categories

Resources