Compile kernel - Android

Someone can tell me how compile kernel or do something using HTC Tattoo Kernel Source Code from here.
I need this to run on haret.exe.
Thanks for your help.
PS. Sorry my language

xarr said:
Someone can tell me how compile kernel or do something using HTC Tattoo Kernel Source Code from here.
I need this to run on haret.exe.
Thanks for your help.
PS. Sorry my language
Click to expand...
Click to collapse
I recommend that you read these -
http://forum.xda-developers.com/showthread.php?t=622916
http://blog.coralic.nl/2009/10/25/how-to-compile-the-htc-hero-kernel/
It's not that hard once you do it a time or two. (And then start using some scripts to save all of the typing.)

Related

Help to compile CM9!

Hi all! I'm trying to compile the CM9 for optimus one but I don't understand how to do it! I have already compiled the CM7 and there are successful but don't know where to put files and give commands with the sources of CM9! Can someone give me a hand?
What have you done/tried already?
I compiled the CM7 but I don't know how build the CM9! I don't know who commands give and where to put files
Can you help me?
Lupohirp has already started.to port cm9 to p500 there r still some bugs but it's getting there
Sent from my LG-P500 using xda premium
First sync cm9-source, instead of gingerbread you use ics.
Download device and vendorfiles from github.com/lupohirp.
Create following folders in device: lge and lge/thunderg (in time it will be p500 instead of thunderg)
Also download framework_base from his github and replace all files folder in framework/base in your working folder.
_Arjen_ said:
First sync cm9-source, instead of gingerbread you use ics.
Download device and vendorfiles from github.com/lupohirp.
Create following folders in device: lge and lge/thunderg (in time it will be p500 instead of thunderg)
Also download framework_base from his github and replace all files folder in framework/base in your working folder.
Click to expand...
Click to collapse
done!! And now?
markolino631 said:
done!! And now?
Click to expand...
Click to collapse
Now, Use your Brains.
ahhaah i have an error in the file AudioTrack.cpp when compile cm9! this is a error:
frameworks/base/media/libmedia/AudioTrack.cpp: In member function 'android::status_t android::AudioTrack::restoreTrack_l(android::audio_track_cblk_t*&, bool)':
frameworks/base/media/libmedia/AudioTrack.cpp:1206: error: 'clearAudioConfigCache' is not a member of 'android::AudioSystem'
make: *** [out/target/product/p990/obj/SHARED_LIBRARIES/libmedia_intermediates/AudioTrack.o] Errore 1
make: *** Attesa per i processi non terminati....
how to fix it?
how to fix this error? http://pastebin.com/m3D1vZQs
OMG, if you dont know how to solve compiler errors learn coding/bug fixing instead
of ask again and again for every **** error on a forum. Do you realy think someone want
to help you to learn programming??? i think no one will do so.
Compiling a rom from source code is not the right toy for bloody beginners, sorry if it
sounds to hard but this is the real life.
andy572 said:
OMG, if you dont know how to solve compiler errors learn coding/bug fixing instead
of ask again and again for every **** error on a forum. Do you realy think someone want
to help you to learn programming??? i think no one will do so.
Compiling a rom from source code is not the right toy for bloody beginners, sorry if it
sounds to hard but this is the real life.
Click to expand...
Click to collapse
bro just let him wait for the reply from someone and learn it the hard way...
why waste ur time????
maybe someone will help him but who knows...
look what I just asked one thing I did not ask that someone help me to solve the bugs! I just want to compile the rom! isn't that just because you are good you have the right to judge others.
markolino631 said:
look what I just asked one thing I did not ask that someone help me to solve the bugs! I just want to compile the rom! isn't that just because you are good you have the right to judge others.
Click to expand...
Click to collapse
i doesnt said a thing about the one is a bad programmer / another is better. i only
said that its sometimes better to learn things before get started with big projects
that can waste a lot of time. do what you want - its your time, not mine
so I have time to lose! However I managed to compile the cm7 for another phone! I'm having problems with only the cm9 and can't solve it!
Before you try to compile CM9, read Cyanogen's words of wisdom
perseus0807 said:
Before you try to compile CM9, read Cyanogen's words of wisdom
Click to expand...
Click to collapse
thats sooo true.
I read what is written and I understand that to compile the rom you need to develop but still do not know (I have only 15 years old)! However, I still try and just wondering if anyone can help me understand!
I can read code, but I can't code. Let me try to point you in a good direction, it has to do with the audio system.
Sent from my LG-VM670 using xda premium

[Q] Kernel Modifying

So, I've learnt how to compile a kernel for my device. But that's it. All I have done is change the name of it. How do you modify it? Like, how do you add drivers and all the gory stuff. I want to dig in to the Android Kernel so that I can eventually know how to add drivers and use it so that I can plug and play using OTG.
That is one example, but I want to know what you can do with an Android Kernel and how to do it?
Help would be greatly appreciated.
Thanks in advance.
jamjame said:
So, I've learnt how to compile a kernel for my device. But that's it. All I have done is change the name of it. How do you modify it? Like, how do you add drivers and all the gory stuff. I want to dig in to the Android Kernel so that I can eventually know how to add drivers and use it so that I can plug and play using OTG.
That is one example, but I want to know what you can do with an Android Kernel and how to do it?
Help would be greatly appreciated.
Thanks in advance.
Click to expand...
Click to collapse
I would recommend taking a look at this guide for some basic things you could do:
forum.xda-developers.com/showthread.php?t=1748297
And these books:
http://www.amazon.com/gp/aw/d/0132396556
http://www.amazon.com/gp/aw/d/0596005903/ref=mp_bxgy_p_dp_y
Sent from my SCH-I535 using xda premium

[Q] Instructions

Hi.
I don't understand these instructions from anybody on xda. Can someone help me? Exactly how to compile wpa_supplicant?
Instructions from developer
I had a quick look on this..
In order to make the wifi load you need to compile wpa_supplicant.
To give you a hint on this take a look at this commit from stockwell http://is.gd/Q4VaMi and you'll also have to edit libhardware_legacy just like this http://is.gd/CNVDrz so it loads wlan.ko.
Click to expand...
Click to collapse
Thanks for help.
No one can't help me?
Why don't use compiled wpa_supplicant?
Anyway, you can compile it with CM sources

[Q] Help to compile

as may you know, our device is diferent, he is not open source, and @bieltv.3 and his team are making a great work, but i need to know
what sources i need to sinc, so guys, tell me what repos i need to write to compile it?
Luiz Guilherme Pereira said:
as may you know, our device is diferent, he is not open source, and @bieltv.3 and his team are making a great work, but i need to know
what sources i need to sinc, so guys, tell me what repos i need to write to compile it?
Click to expand...
Click to collapse
Go to Q&A for more answer.
And,
Better need change your mind and just look with Google and just write, "HOW TO COMPILE CM7/CM9 FROM SOURCES XDA
Wait and see, not hard to thinking. Good luck

Android kernel build error

I get this error when I run make command while compiling Android kernel. Please help me.
kurtulus145 said:
I get this error when I run make command while compiling Android kernel. Please help me.
Click to expand...
Click to collapse
Send a text file containing the entire log right from command execution or .sh file execution. Also which phone and processor are u developing on?
KingRaheel said:
Send a text file containing the entire log right from command execution or .sh file execution. Also which phone and processor are u developing on?
Click to expand...
Click to collapse
I upload on attachments.
Device: Asus Memopad 7 ME176CX
Processor: Intel Atom Z3745
kurtulus145 said:
I upload on attachments.
Device: Asus Memopad 7 ME176CX
Processor: Intel Atom Z3745
Click to expand...
Click to collapse
Did u try compiling again using a fresh copy of source? What exact changes did u make? Did u use menuconfig command? Is your source code on github? You should tell all this when u need help else we may not be able to help u out efficiently.
KingRaheel said:
Did u try compiling again using a fresh copy of source? What exact changes did u make? Did u use menuconfig command? Is your source code on github? You should tell all this when u need help else we may not be able to help u out efficiently.
Click to expand...
Click to collapse
No other source file is available. I have not made any changes to the source code. I have edited some things with menuconfig command. No source code in Github. I downloaded it from Asus's site.
kurtulus145 said:
No other source file is available. I have not made any changes to the source code. I have edited some things with menuconfig command. No source code in Github. I downloaded it from Asus's site.
Click to expand...
Click to collapse
What i meant by fresh copy is the downloaded kernel files from asus website which has no alterations done by youto it. Try compiling it without doing any changes using menuconfig or any other command and see if u get the zImage. If u do then use menuconfig and apply one change at a time,compile and see if it causes issues. From your log its clear that some change has caused instability to most of the kernel modules. Kernel building is not easy.
If u want attention of other developers then upload your source code on github and post link here. Can't assure attention but it may help:good:
KingRaheel said:
What i meant by fresh copy is the downloaded kernel files from asus website which has no alterations done by youto it. Try compiling it without doing any changes using menuconfig or any other command and see if u get the zImage. If u do then use menuconfig and apply one change at a time,compile and see if it causes issues. From your log its clear that some change has caused instability to most of the kernel modules. Kernel building is not easy.
If u want attention of other developers then upload your source code on github and post link here. Can't assure attention but it may help:good:
Click to expand...
Click to collapse
I tried the make command without making any changes with the menuconfig command. I got the same error again. I upload source code on GitHub.
I uploaded github.
Link:https://github.com/kurtulus145/k013_kernel
Help!!!

Categories

Resources