Related
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)
Hi everyone, i just installed Ubuntu 11.10 on my netbook . Really interested in
building android from source. Like what people are doing in the ICS CM9
development thread. Please guide me on what to do next, i have no experiences on
using Ubuntu. I apologize in advanced for causing any troubles for you
guys.
PlasticPhone said:
Hi everyone, i just installed Ubuntu 11.10 on my netbook . Really interested in
building android from source. Like what people are doing in the ICS CM9
development thread. Please guide me on what to do next, i have no experiences on
using Ubuntu. I apologize in advanced for causing any troubles for you
guys.
Click to expand...
Click to collapse
Here are two great links to get you started
Link 1
Link 2
start by build yourself a kernel, and then work your way to a full build
PlasticPhone said:
Hi everyone, i just installed Ubuntu 11.10 on my netbook . Really interested in
building android from source. Like what people are doing in the ICS CM9
development thread. Please guide me on what to do next, i have no experiences on
using Ubuntu. I apologize in advanced for causing any troubles for you
guys.
Click to expand...
Click to collapse
Brave of you to try. I've been meaning to do that myself, but I believe you can only build in Linux. Alas, I don't have any knowledge of that OS. I only use win7. I know this might be a stupid question, but can one build in win7? hope? he devs releases a flashable zip soon... :'(
Tapatalkin' it from my rooted NookColor running CM7 MiRaGe [KANG] [7.2 RC] overclocked @ 1.2 GHz
les02jen17 said:
I believe you can only build in Linux.
Click to expand...
Click to collapse
Ubuntu is Linux. You can burn it to a CD and take it for a spin without changing your Win7 machine. Or, you can dual boot like I do. Give it a whirl!
To the OP: good for you!
les02jen17 said:
Brave of you to try. I've been meaning to do that myself, but I believe you can only build in Linux. Alas, I don't have any knowledge of that OS. I only use win7. I know this might be a stupid question, but can one build in win7? hope? he devs releases a flashable zip soon... :'(
Tapatalkin' it from my rooted NookColor running CM7 MiRaGe [KANG] [7.2 RC] overclocked @ 1.2 GHz
Click to expand...
Click to collapse
No Windows build support. You can just run Ubuntu in a virtual box without having to deal with a dual boot.
Sent from space
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.
Windows 8 RT is made for arm processor, Gnote have a arm processor right ?
So can we install Win8 ?
Phenom2 said:
Windows 8 RT is made for arm processor, Gnote have a arm processor right ?
So can we install Win8 ?
Click to expand...
Click to collapse
It's closed source so we have no way of programming the kernel or other points. Unless there's a leak of the source its impossible.
Sent from my GT-N7000 using xda premium
Ah, okay, thanks
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