Stuck on compile AOKP - Kindle Fire 2 Q&A, Help and Troubleshooting

I'm attempting to compile AOKP and I keep getting this error
Code:
Checking build tools versions...
build/core/base_rules.mk:171: *** hardware/ti/omap4xxx/domx/domx: MODULE.TARGET.SHARED_LIBRARIES.libdomx already defined by device/amazon/otter-common/domx/domx. Stop.
Side note when compiling from "lunch" I cannot get "aokp_otter2-userdebug" to work. Only when I use "full_otter2-userdebug"
Does it make a difference?
This is only the second time I have attempted a build. First one being CM10.1 after following Hashcodes guide in the CM10.1 thread.
Any help would be greatly appreciated.

okay solved both of those problems only to run into some more.
Problem 1:
Not being able to compile aokp_otter2-debug
Fix:
Added
Code:
PRODUCT_MAKEFILES := $(LOCAL_DIR)/aokp.mk
to the AndroidProducts.mk file
Problem 2:
Code:
Checking build tools versions...
build/core/base_rules.mk:171: *** hardware/ti/omap4xxx/domx/domx:
MODULE.TARGET.SHARED_LIBRARIES.libdomx already defined by device/amazon/otter-common/domx/domx. Stop.
Fix:
Changed /hardware/ti/omap4xxx/domx Android.mk to
Code:
ifeq ($(TI_CUSTOM_DOMX_PATH),)
include $(all-subdir-makefiles)
endif
now onto the new errors...but at least it started compiling

Okay on to the next error while compiling...
Code:
Export includes file: frameworks/native/opengl/libs/Android.mk -- out/target/product/otter2/obj/SHARED_LIBRARIES/libGLESv2_intermediates/export_includes
make: *** No rule to make target `out/target/product/otter2/obj/SHARED_LIBRARIES/libwpa_client_intermediates/export_includes', needed by `out/target/product/otter2/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/import_includes'. Stop.
It stops right there
I think I know where this originates but I don't know where to look to fix it
external/wpa_supplicant_8/wpa_supplicant/Android.mk
and i have looked over it the best that I could and compared it to the same file in CM10.1 and everything looks the same. But I can't seem to find an error...ohh well still looking

obsolete1 said:
Okay on to the next error while compiling...
Code:
Export includes file: frameworks/native/opengl/libs/Android.mk -- out/target/product/otter2/obj/SHARED_LIBRARIES/libGLESv2_intermediates/export_includes
make: *** No rule to make target `out/target/product/otter2/obj/SHARED_LIBRARIES/libwpa_client_intermediates/export_includes', needed by `out/target/product/otter2/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/import_includes'. Stop.
It stops right there
I think I know where this originates but I don't know where to look to fix it
external/wpa_supplicant_8/wpa_supplicant/Android.mk
and i have looked over it the best that I could and compared it to the same file in CM10.1 and everything looks the same. But I can't seem to find an error...ohh well still looking
Click to expand...
Click to collapse
Status of KF2 devs as of now....
Hashcode - Working on all 3 devices, very knowledgeable and experienced. Will most likely help on IRC if on, but hard to find an usually busy doing the work for all us happy consumers
Powerpoint45 - Usually busy, not often around to talk, but will post in the forums now and then and sometimes in IRC. He knows a bit about building ROMs, and probably would be of help to you, unfortunately, I'd say he's harder to contact than Hashcode.
FMKilo - IS NOT A DEV. That's what he says. He knows a bit around scripting and such, but like me, his kindle knowledge is mostly common sense and paying attention. Granted, he's usually on IRC, probably the easiest to get in contact with, and if you're not being super dumb, always willing to help. Even though he's not REALLY a dev, he could answer most questions that seem complex to most people, but are really simple things he already knows about.
idontwanttobeanoob - Don't know much about him really, but he's the only one besides PPT (powerpoint45) to start making a ROM, until you. You two might be able to help each other, and for anyone else reading this, feel free to help him with MIUI or possibly learn together.
ANNNNNNNNNND,
that's it.
If you're a dev, feel free to rage at me, but you've been much to quiet and I think I comb these boards well enough. So, you're not being ignored, but there just aren't many around this community yet. I think we should encourage more people getting their own things working and sharing with the rest though. Maybe some new people can learn a bit more and become known devs. Plus in this small community it'd be easier to get known for releasing a cool ROM (bonus points for naming it MooRom)

iytrix said:
If you're a dev, feel free to rage at me, but you've been much to quiet and I think I comb these boards well enough. So, you're not being ignored, but there just aren't many around this community yet. I think we should encourage more people getting their own things working and sharing with the rest though. Maybe some new people can learn a bit more and become known devs. Plus in this small community it'd be easier to get known for releasing a cool ROM (bonus points for naming it MooRom)
Click to expand...
Click to collapse
I'm not worried about being ignored...this is helping me through the process. I can see what I had to do/redo in case of system failure (unlikely but still I can read back). I just need to see if I can do this, its just something I've wanted to do and finally just dove in. Like I said the first time I attempted a build was just last week...and it was pretty much cut and paste code. So I tried something a little harder it may or may not pan out in the end. But thanks for posting on here letting me know that someone else is reading this other than me :good:

obsolete1 said:
I'm not worried about being ignored...this is helping me through the process. I can see what I had to do/redo in case of system failure (unlikely but still I can read back). I just need to see if I can do this, its just something I've wanted to do and finally just dove in. Like I said the first time I attempted a build was just last week...and it was pretty much cut and paste code. So I tried something a little harder it may or may not pan out in the end. But thanks for posting on here letting me know that someone else is reading this other than me :good:
Click to expand...
Click to collapse
Hey guys noticed the post and wanted to let you know im more then willing to help out, resources are a bit limited on my end(I've got a ****ty laptop) but im here alot even if it doesn't say I am cause I forget to log in. Ill re read through the current issues and when I get up tomorrow ill start researching and see if we can get this going for ya( btw the miui rom might have to wait till miui comes up with an update, due to some of the current errors that are build based)

well took care of that error.
missing the wpa_supplicant_8_to folder
on to the next compile...fingers crossed

Related

loking for a fully packed rom

it is not my intention to wast space or irritate people i have searche and searched 1. just to let you know i cant get the ppckitchen cause i got kicked out because of a misunderstanding with one of there (gods) 2. some of the kitchens here are cool but dont support gps and rev-a. so my question is can some one help me with this problem, am willing to donate for a custom rom or can some one help me find a fully packed rom,i have sprint service the only one i have ever found that is fully packed was nexvision's hulk rom, does anyone know of a rom like that and is available,please help, oh yeah i have searched and if you have somthing to say about searching at least tell me where to look with details instead of just telling me to do more searchin please, tha\nk you for any help just to let anyone thinking i want a free ride without out doing any work, that is not my intention i am very willing to learn and to be patient in the process i would just appreciate anyone refering me to certain info to keep in mind that i dont always understand the language and that just because there is a definition to certain terms and meaning's i dont always get the meaning so anyone giving me info please have patience with me on alot how things are explained, thank you
Personally, I use a "Clean" ROM to help with storage space and other reasons. Some ROMs have things you may not want or need, and apps are always updated, so no sense in having two of the same thing. Plus it gives you more room for customization.
pierre1321 said:
it is not my intention to wast space or irritate people i have searche and searched 1. just to let you know i cant get the ppckitchen cause i got kicked out because of a misunderstanding with one of there (gods)
Click to expand...
Click to collapse
lol - misunderstanding about what?
2. some of the kitchens here are cool but dont support gps and rev-a. so my question is can some one help me with this problem, am willing to donate for a custom rom or can some one help me find a fully packed rom,i have sprint service the only one i have ever found that is fully packed was nexvision's hulk rom, does anyone know of a rom like that and is available,please help, oh yeah i have searched and if you have somthing to say about searching at least tell me where to look with details instead of just telling me to do more searchin please, tha\nk you for any help
Click to expand...
Click to collapse
Nex's hulk rom is the only fully packed one that I know of. Since you've obviously found it, why are you looking for something else?
gguruusa said:
lol - misunderstanding about what?
Nex's hulk rom is the only fully packed one that I know of. Since you've obviously found it, why are you looking for something else?
Click to expand...
Click to collapse
r u being rude i only ask cause u say i obviously, my post states that i am not allowed into the kitchen 1. the only link to that rom is in the kitchen 2. before i got kicked out when i tried to link to it it was dead and that is why i am looking for somthing else and 3. i stated that i was looking for help not more questions and that is not intended to be rude i just mean if you cant help me with any info why r u replying to my thread, just curious
TheChampJT said:
Personally, I use a "Clean" ROM to help with storage space and other reasons. Some ROMs have things you may not want or need, and apps are always updated, so no sense in having two of the same thing. Plus it gives you more room for customization.
Click to expand...
Click to collapse
i would like to cook my own rom but i cant ever get anyone to give me details in lamens terms, im not slow its just that i see things in a physical form better than verbally or written and all i keep getting are links to the same info or when i give details on what i need help with they say that i dont tell them what i am looking for but some times they only read part of my thread or i dont know how to talk the language so i end up searching for custom roms, and i would start off with a clean one but it seems i can never remember the name of the apps or games that i want to put in them and the other thing is some people are able to pack in more stuff on there roms than others and they still run smooth and whe i add thing on a clean rom i can only get about a third or half of what they get in there roms before i run out of useable memory and to keep it running smooth
I tried cooking my own ROM, but in the end went to OMJ's ROM. I spent about 2 months trying to cook a ROM I liked and worked well. But, it is VERY time consuming, and you'll end up constantly flashing to fix something, add a tweak or 2, or add the newest package. Most of the "tutorials" for cooking can be vague, since there are far too many things involved, depending on what it is your planning to do. But, I would suggest finding one that fits you best and leaving it to the pro's. I'm not trying to say you can't do this, but the only real way to find your answers, is through simple trial & error.
well CHAMP can you lend me yer knowledge and lead me to a stable rom thats clean and maybe has touchflo and manilla2d and a good place to find the worlds biggest post for cab files so i can start my trial and error preferably with gps and rev-a,and i have heard of a mention somewhere about a manilla3d but havnt really been able to find any info on it maybe you could help even though i will continue to look myself, oh yeah a rom that still has a crap load of memory i think i saw one that had up to 160 or 170 of storage memory but cant remember where i saw it , thanks
my advice is to cook with vetvitos kitchen he has the some of the latest releases and has a simple kitchen to use that includes touchflo and manilla 2d and the thread is in this very section.
{SBR}_L3GION said:
my advice is to cook with vetvitos kitchen he has the some of the latest releases and has a simple kitchen to use that includes touchflo and manilla 2d and the thread is in this very section.
Click to expand...
Click to collapse
i did try his kitchen i kept on getting lots of errors in the part after you make the selections and it starts processing what i selected but i couldn't fix all of them so i left it alone
did you try nexvisions manilla rom. its packed and is very good. I know you had an issue with him in the irc chat but his roms are good and im sure it was just a misunderstanding. here is a link to his rom thread http://forum.ppcgeeks.com/showthread.php?t=31344
hope this helps.
Polargoat said:
did you try nexvisions manilla rom. its packed and is very good. I know you had an issue with him in the irc chat but his roms are good and im sure it was just a misunderstanding. here is a link to his rom thread http://forum.ppcgeeks.com/showthread.php?t=31344
hope this helps.
Click to expand...
Click to collapse
thanks but when i say ****d out i mean no matter what link i use the ppckitchen wont even load, wich means i am blocked unless i use a foreign computer, but thanks anyway, and yes i have posted in that thread and asked him to let me back in and there is no response at all
pierre1321 said:
r u being rude i only ask cause u say i obviously, my post states that i am not allowed into the kitchen 1. the only link to that rom is in the kitchen 2. before i got kicked out when i tried to link to it it was dead and that is why i am looking for somthing else and 3. i stated that i was looking for help not more questions and that is not intended to be rude i just mean if you cant help me with any info why r u replying to my thread, just curious
Click to expand...
Click to collapse
I was trying to help you. I don't know what the problem between you and Nex is, but if you don't state what happened, I sure can't help you there.
You don't need the kitchen to flash a ROM, so your reasoning is flawed. You did not state the link you found was dead...I naturally assumed you downloaded it and were now on a quest for similar feature packed roms.
Finally, like I said, there aren't any other ROMs like Nex's Hulk ROM. You can stop looking for something so packed - you won't find anything.
pierre1321 said:
thanks but when i say ****d out i mean no matter what link i use the ppckitchen wont even load, wich means i am blocked unless i use a foreign computer
Click to expand...
Click to collapse
I can't understand what you are trying to say. What do you mean when you say "no matter what link I use the ppckitchen wont even load". Use small words, go slow, and preferably use pictures.
ok im back from my vacation and have been diong som searching, can someone teach me how to make a fully packed rom and i mean packed and that will be stable and dont expect it to be super fast but atleast not slow or slugish anyone out there up to help me
LOL.
He has no idea what he is talking about. Nex ROM are just a *.nbh file.
He is trying to flash it with nothing other than the nbh file. Obviously it didnt work. LOL
Until he learn how to read what people tells him he wont get it.
gguruusa said:
I was trying to help you. I don't know what the problem between you and Nex is, but if you don't state what happened, I sure can't help you there.
You don't need the kitchen to flash a ROM, so your reasoning is flawed. You did not state the link you found was dead...I naturally assumed you downloaded it and were now on a quest for similar feature packed roms.
Finally, like I said, there aren't any other ROMs like Nex's Hulk ROM. You can stop looking for something so packed - you won't find anything.
Click to expand...
Click to collapse
Honestly no one is going tot take the time to teach you how to make a ROM, you're gonna have to learn yourself through trial and error or else you need to try a ROM that someone else has made...There are plenty of these out there fully packed as well as clean with a clean ROM you can dl your own programs all you want and do the things that you would like to do to the ROM...Full ROM's are pretty packed and you can still add all the things that you would like...But ROM cooking will have o be something that you need to learn on your own by reading tutorials such as reading this :http://forum.ppcgeeks.com/showthread.php?t=25529
this thread will teach you how to customize a ROM that is already built add/remove all thanks goes to " rstoyguy "
So give it a shot.
SL said:
LOL.
He has no idea what he is talking about. Nex ROM are just a *.nbh file.
He is trying to flash it with nothing other than the nbh file. Obviously it didnt work. LOL
Until he learn how to read what people tells him he wont get it.
Click to expand...
Click to collapse
i have know idea what you are talking about, because of course you cant flash a .nbh file by itself so yeah why would it work, and until i learn how to read what people tell me, well excuse me i didnt realize some people were born with this knowledge right out of the womb, i on the other hand am not so lucky so when im learning somthing new i have to ask people to have time and patience with me so that i can begin to understand and then learn to take some of these steps on my own, so if you have nothing positive to give i would appreciate it if you would let me continue my studies with someone who is willing to help
hooover said:
Honestly no one is going tot take the time to teach you how to make a ROM, you're gonna have to learn yourself through trial and error or else you need to try a ROM that someone else has made...There are plenty of these out there fully packed as well as clean with a clean ROM you can dl your own programs all you want and do the things that you would like to do to the ROM...Full ROM's are pretty packed and you can still add all the things that you would like...But ROM cooking will have o be something that you need to learn on your own by reading tutorials such as reading this :http://forum.ppcgeeks.com/showthread.php?t=25529
this thread will teach you how to customize a ROM that is already built add/remove all thanks goes to " rstoyguy "
So give it a shot.
Click to expand...
Click to collapse
yeah i have seen that and am still learning, but i may have stated myself wrong, cause after searching and asking alot i realize that time is very precious and little, i am just looking for someone to help me with steps involved in some of these processes cause alot of the tutorials can be kind of vauge and its not just me even some of the more advanced people have found this to be true also, they will sometimes just sometime jump to certain parts without saying how to get there or mention crtain things with out being more detailed and when i try to search to find out i cant find it, so i end up asking questions that people say that are out there and to search but alot of the time cant get someone to poiunt me into the right dirction except to where tutorials are and then say ive been there and then some one who knows what they are doing will post somthing and my need for help gets lost in the thread, but thank you for at least replying with somthing positive instead of trying to make me look like a tard
I think what they are trying to say is you need to spend more time reading and learning. In the mean time I would try out OMJ's rom as it has m2d, is fairly packed and is very stable imo.. but there are many other VERY good roms out there I just happen to prefer OMJ's for what I use my ppc for.
It takes a long time to learn all this stuff, I joined here on 2/26/08 and I only have two posts.. I joined ppcgeeks about the same time and I have about 100 posts.. I wish I could contribute more and help out but my schedule doesnt allow me to get too involved unfortunately. Although in that time (almost a YEAR) Ive learned how to build a rom with the ppckitchen kitchen and a ton of other stuff that I never knew you could do with a ppc..lol
It says you just joined in september and im not bashing you in anyway but heck flash one of the roms that one of these skilled chefs made and enjoy your phone for now while you take the time to learn..
Re-read your post again and you will realiase why you are such an idiot and no wonder nex and others just ignore you. You are nothing but arrogant and stupid. People give you advise and you just run right by without reading and then complain why people dont help you at ppcgeeks because you give the same kind of attitude you just give me. People keep teaching you how to flash his rom but you just keep ignoring them and complaining why it cannot be flashed instead of just listening. Learn to be humble. Learn to read and follow instructions. 'nuff said
pierre1321 said:
i have know idea what you are talking about, because of course you cant flash a .nbh file by itself so yeah why would it work, and until i learn how to read what people tell me, well excuse me i didnt realize some people were born with this knowledge right out of the womb, i on the other hand am not so lucky so when im learning somthing new i have to ask people to have time and patience with me so that i can begin to understand and then learn to take some of these steps on my own, so if you have nothing positive to give i would appreciate it if you would let me continue my studies with someone who is willing to help
Click to expand...
Click to collapse

Key Files Chart

A few changes:
Alright so first off after seeing that this actually got some response, I'm opening it up for other people to edit as well. Hopefully we can figure out a way to do this responsibly... But I figure a community effort on this is much more valuable (especially because my theming is a bit rusty)
Key Files Chart
I am also gonna start modelling this off of a Cyanogen build because those builds seem to be the most poplar now. Keep in mind that much of what works in one theme translates well to most others.
--------------------------------------------------------------------------------------------------------------------
Original Post:
Hey guys so here is what I've been working on.
(Use new Link Above)
Its pretty much a simple list of locations of files that are essential to theming and what they control. This is definitely meant to be simple and geared more towards beginners. I think the thing that was hardest thing for me to learn theming was finding out where specific files were. So hopefully this might help bring down the learning curve.
Plan is to keep on updating this as long as there is interest and questions that people raise. Most of this is from my, relatively, limited knowledge of theming so if anyone else wants to jump in on this, I would be more than happy to add you as a collaborator (thats right, YOU!).
Also, I have this written according to how I know Haykuro's Builds work (because thats the version I use). If things are similar enough to other builds, it shouldn't be too hard to compile a master list across all three 1.5 builds. Let me know. : )
what a great idea! I wish this would have been available to me when I started my first theme! good work
Haha thanks. I been lax bout it lately cuz it really doesnt seem to be catching on at all. Ill wait and see if anymore interest builds up before continuing to update.
Hi!
I would be interested in an update I have been wading through a ton of information, I want to make a theme myself and I have just finished setting everything up properly on my system. I have seen how many image files there are to sort through and the names would be a great help, and I think, a good idea for others too
RainCrow said:
Hey guys so here is what I've been working on.
http://spreadsheets.google.com/pub?key=r_ua-t_U23ci5_oxwQ4mGrg
Its pretty much a simple list of locations of files that are essential to theming and what they control. This is definitely meant to be simple and geared more towards beginners. I think the thing that was hardest thing for me to learn theming was finding out where specific files were. So hopefully this might help bring down the learning curve.
Plan is to keep on updating this as long as there is interest and questions that people raise. Most of this is from my, relatively, limited knowledge of theming so if anyone else wants to jump in on this, I would be more than happy to add you as a collaborator (thats right, YOU!).
Also, I have this written according to how I know Haykuro's Builds work (because thats the version I use). If things are similar enough to other builds, it shouldn't be too hard to compile a master list across all three 1.5 builds. Let me know. : )
Click to expand...
Click to collapse
This is great; although I am new to Android themes, I have extensive experience with BB themes, although that is the "apples to oranges" scenario. Plazmic of course does the grunt work in those, but I have written svg's for animation, hidden docks etc. Hopefully that will help me catch on at a faster rate compared to never having done that sort of thing. So any info you can pass along is much appreciated!- Chris aka riffman
TY
Awesome work. You just simplified SO much of what I was not looking forward to.
I would like an update as well. I am lost sometimes. lol
I'm good on what most of the .png files control, but if you could make one for the .xml files in framework-res.apk/res/layout that would be killer.
Haha wow. Five months later I'm seeing this thread actually got some feedback (And linked on the "Helpful Threads" sticky to boot). I was considering making the document an open project and just working on maintaining the structure if that sounds helpful to people because there are plenty of things that I would like to know as well (like .xmls)
EDIT: Alright I just changed it to open system so that anyone can edit it. I should probably also change the name off from Haykuro seeing as how hes out of the running now...

[Q][DEV] What are you using to make the roms? [Software or whatnots]

I was curious to what you the Developers of the awesome stuff we have for the Epic are using? Are you using the SDK tools we get from Google to make new things? Or are you using some other stuff? I kind of want to make some stuff but I don't know how?
Can you tell me what you used or are using to get where you are now? How do you do it? Can you tell me where or something?
Anything would be helpful.
And please no random "I want to know this too" or arguing to whats better? That would be saved for another post/thread. I do apologize if this is a repeat thread. I didn't see it on the front. I think this should be though.
I'm not at my computer at home right now, I'll update it later all of the apk tools.
1) Version control - I use subversion
2) Diff tool - I use beyond compare
3) Zip tool - I use 7zip
4) Issue tracking - I use Google code
5) Text editor - gVIM
6) Graphics - Photoshop CS5
I am curious as well.
Plapczyn, do you know of any tutorials on developing ROMs for the Epic? Does it require a lot of coding?
Source.google.com
Read it follow instructions to get and compile code. That lets you build a rom from source code where you can alter the os. The only source code that is released for the Epic is 2.1 As of now. If you have specific problems with doing any thing in their directions pm me.
Sent from my SPH-D700 using Tapatalk
ryno502 said:
I am curious as well.
Plapczyn, do you know of any tutorials on developing ROMs for the Epic? Does it require a lot of coding?
Click to expand...
Click to collapse
There are lots and lots and lots of tutorials. Google is your friend.
It doesn't require much coding, but you can do plenty of coding if you want.
Will check it out, thanks.
I was just curious because I am not much of a programmer. XHTML, CSS, and Basic PHP is about my limit lol.
These might help...
http://forum.xda-developers.com/showthread.php?t=667298
ryno502 said:
I am curious as well.
Plapczyn, do you know of any tutorials on developing ROMs for the Epic? Does it require a lot of coding?
Click to expand...
Click to collapse
If you want to make roms, check out the Chef Central forum here on XDA. There are threads with a lot of info on how to do things. Also, you should check out what is going on the other Galaxy S forums. If you want to do dev stuff, you first need to figure out what you want to do, and then go from there. Making a rom (actually any development really, agnostic of device or system), is more about making and pulling in small incremental changes and testing them.
That's the best advice I can give you...is to always break things down into small incremental changes that can be tested in between. Use source control and CHECK IN your changes. This goes for simply swapping out pngs in apks, or doing kernel mods. That way, you always know where your latest working copy is and you what changes caused your system to break...which it inevitably will. Nobody codes things correctly the first time every time. We all have the urge to just make a whole bunch of changes at once and see if it works. The thought is that we don't have enough time to test everything in between. Trust me, you will spent 5 times more time fixing bugs by doing it this way, over just doing it right the first time.
thats good advice plapczyn, thank you. I will evaluate what I want to do and go from there. my #1 priority is app developement, to better my resume and help with my career, but I am interested is possibly experimenting in ROMs too.

Please don't kill me but ...

i know this don't sound professional and to be honest a litttle annoying but
i wanted to try this mod
http://forum.xda-developers.com/showthread.php?p=32385441
the BB10 lockscreen but i don't understand it's instructions
How to :
1) Apply patch(diff) with resources.
2) Compile.
3) Done
...? huh ? i don't get it ...any help ?
I think the patch method is for more experienced users. I don't understand it either. It seems like it might not matter though. As long as you are running a ROM with the T Mobile theme engine, it's going to be available through the Play Store soon. Just a heads up, rather than starting a new thread, wait a couple of days to see if the requests for more information in the original thread turn anything up. Someone might well be writing up a how-to guide, but that kind of thing takes time to do right. We just need to be respectful of the fact that the people who are able to provide that kind of information are doing so as a hobby. Good work takes time, so let a little time pass.
Edit: Seems like there's already a how-to link posted.
Sent from my Galaxy Nexus using xda premium
The patch is for people that compile their own roms from source.
good day.
there's tutorials on both subjects.
i would think most don't have the determination to get there.

[DISCUSSION][KERNEL]Making your own kernel...

This is a discussion and Q&A thread for the HOWTO posted here:
http://forum.xda-developers.com/showthread.php?p=34223427
Please don't reply to that other thread. Post here instead. If you post in that other thread, not only will your post be ignored and deleted, but the moderators will probably send you nasty PM's as well. (They hate when I spam them to delete posts.)
reserved
reserved..
page 2 added to the HOWTO
Thank you very much for this. My build enviroment is practically setup. Iv been compiling cm10..ect for my other device. I was able to do that by following guides like the one you're creating. :thumbup:
Kernel building here I come!!!
I've leaned alot from folks like you and I plan to keep learning:beer:
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
This is awesome Gary.
I've always been an Android Tweaker; I've enjoyed messing around with on my I9000m and playing around with kernels. I'm a fourth year computer engineering student and I really wanted to bridge the gap between being a power-user and being a developer.
When I was thinking about getting a new phone I decided whatever that phone was I wanted to develop on it.
So it's great that you're doing this, and I really appreciate the effort you've put into this project. Thanks a bunch and all the best in this endeavour!
Random thoughts (as related to this HOWTO)...
It might interest people to know that I don't type those posts online. I actually spend hours typing them offline in a plain ASCII editor (notepad if I'm on a Win7 machine), try to proofread them for making sense, and try to ensure that they'll make sense to most people who are technically inclined enough to want to do this type of thing. (Let's face it - non-geeks really have no interest in compiling their own kernel.)
These posts literally take hours for me to do. The first post took about 6 hours, and the second took about 4. I'm hoping as I move away from "communication" things and more into "technical" things, I'll be able to do those posts more quickly. However, the simple fact of life is that I'm NOT a teacher, so explaining things to other people is hard for me. Very hard. (That's probably why I get so irritated when people ignore instructions and/or explanations that I've taken pains to write; and then ask stupid questions.)
I also don't have a full "plan" together. While I'm typing one post, I usually have a good idea of what the following post will be discussing, but I really don't have a good "plan" beyond a very high level concept of the overall thing. I know (or think I know) what I'll need to eventually discuss, but as I'm typing one thing, I might suddenly realize that I'm going to have to back up and cover a topic I hadn't considered.
That usually opens another can of worms for me, as I long ago stopped thinking about some of these things... they just are there in my head, but when I stop to try and explain them, I realize I've forgotten how they got in my head to begin with. We all know that "4 plus 4 equals 8." However, when was the last time you asked yourself WHY 4+4=8. We know it to be true, but try to explain WHY it's true to someone who doesn't already know it. It's not as easy as it sounds (and I have young children to prove it.)
The next post I'm writing is on git and github. It will have the steps for setting up a github account, forking an existing kernel project, accessing github from a build machine, and getting the source from github to that build machine. It's not as easy to do this as I first thought it would be. The first question is "what is github?" The next question is "why?"
I think an important sidebar for that would be something reinforcing the whole "open" aspect of the linux kernel. That's a really important concept for this HOWTO... without open aspect, none of this would be possible. We wouldn't have the kernel source to compile, and we wouldn't have the wisdom and knowledge of so many people who've contributed to work from. It's also something I feel strongly about (which is amusing when you consider that I feed my family by working on closed source code.)
Perhaps I should post these random comments over the weeks it'll likely take for me to do this entire "HOWTO." Writing the HOWTO is forcing me to think about communicating development. Writing these random thoughts is making me think about how I think.
I'll end this post with a challenge: We know the sky is blue. Imagine trying to explain and document that to someone... who is colorblind.
Take care
Gary
posts 3 and 4 added to the main HOWTO thread. #3 is me preaching about open source and #4 gets you started with github/git and has you forking/cloning a copy of the kernel source.
By the way, while I appreciate those who want to press my "thanks" button, you might consider NOT pressing it for a post containing only the text of "reserved."
When I edit that "reserved" post to fill it in with something, you might not appreciate that your name is below the post thanking it.
In other words, if your name is JohnDoe and you "thank" a "reserved" post, and then I edit that post to contain the text "JohnDoe is an iDiot", you'll appear to have thanked me for calling you an idiot.
Hey gary, quick question for ya if you dont mind. In the second post of your how to thread, when we download the pre-builts you have us type this command
" cd
git clone https://android.googlesource.com/platform/prebuilt"
Im just a tad bit confused by the cd part. Are we supposed to be changing directories into something? Or can we do this from the home folder?
Thanks
Clint
Edit: went ahead and followed my gut instinct. Made a folder called n2k. Cd to that folder and then got pre builts. Hope I was correct on that lol.
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
cdshepherd said:
Im just a tad bit confused by the cd part. Are we supposed to be changing directories into something? Or can we do this from the home folder?
Click to expand...
Click to collapse
The "cd" command without any parameters changes directory into your "home" directory on the linux machine.
Then, running the git clone command would have created a subdirectory in your home directory called "prebuilt."
Later, we'll need to reference that directory to tell the "make" program where the toolchain is.
cdshepherd said:
Edit: went ahead and followed my gut instinct. Made a folder called n2k. Cd to that folder and then got pre builts. Hope I was correct on that lol.
Click to expand...
Click to collapse
It wasn't correct, but its certainly not the end of the world. You can either undo that step and do it again so that your system matches what the HOWTO will describe, or you can adjust the instructions in the HOWTO to match what you've done.
If you choose the former, the following steps should undo what you've done by completely wiping out that "n2k" folder:
Code:
cd
rm -rf n2k
At that point, you can redo the two commands for getting the prebuilt.
If you choose the latter option (to adjust the instructions), you'll want to look out for any strings in my HOWTO that start with $HOME/prebuilt and change them to "$HOME/n2k/prebuilt".
Take care
Gary
I've added the following test to the beginning of post #2:
A short note: There might be some confusion about the use of the "cd" command without any parameters found in a few places. These are intentional, and have the effect of "change to the user home directory." I often use these before creating a new directory to ensure I'm creating it in a "known" location.
Click to expand...
Click to collapse
That should help with any confusion about "cd".
Awesome. I just did the rm -rf n2k and started over. It didnt take very long. Thanks again:thumbup:
Im all caught up now:beer: excellent guide gary
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
I haven't seen any complaints about it, but I had a typo about 2/3rds of the way down in post #4. When pulling the kernel code from github to your PC, I mistakenly provided the command as
Code:
https://github.com/yourUserName/linux_kernel_sgh-i317.git
..when it should have been
Code:
git clone https://github.com/yourUserName/linux_kernel_sgh-i317.git
(I didn't have the "git clone" in the command.) That's been corrected. Oddly, I didn't have that error in notepad or I'd have noticed it when I walked through the steps myself. I guess it was a cut/paste error.
Yes, I do walk through the steps myself. I've even created an extra github account JUST to have a clean working space to ensure things work properly. (I hope the github folks don't mind.)
The next post should be coming up shortly and will actually compile the kernel for the first time.... for what it's worth.
garyd9 said:
I haven't seen any complaints about it, but I had a typo about 2/3rds of the way down in post #4. When pulling the kernel code from github to your PC, I mistakenly provided the command as
Code:
https://github.com/yourUserName/linux_kernel_sgh-i317.git
..when it should have been
Code:
git clone https://github.com/yourUserName/linux_kernel_sgh-i317.git
(I didn't have the "git clone" in the command.)
Click to expand...
Click to collapse
I was gonna say something but I didnt wanna. In the text above that you did say that we would be using the "clone" command and I have used git clone before so I knew what I was in for. Maybe next time I will say something lol
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
cdshepherd said:
I was gonna say something but I didnt wanna
Click to expand...
Click to collapse
Next time, SAY SOMETHING. (well, you don't have to say it.. but please at least type it.) If people don't point out to me when I'm wrong, I'll just keep assuming I'm perfect.
When they do point out what's wrong, I have to admit to being imperfect for at least the amount of time it takes me to fix the error.
Regarding git, have you considered linking people to
try.github.com
For a tutorial, or even just for your own benefit (if as you mentioned you're not too hot on git)
I'm not amazing at git but it looked interesting when I had a play.
pulser_g2 said:
Regarding git, have you considered linking people to
try.github.com
For a tutorial, or even just for your own benefit (if as you mentioned you're not too hot on git)
Click to expand...
Click to collapse
That does look interesting. I've added a link to it at the end of #4. I'll probably move it closer to the top of that post once I get "home from work" and can look at fitting it in better.
Thank you
Gary
thanks Gary, this is great! are you strictly interested in kernel development or would you consider writing other guides as well? or, would you be willing to offer less structured advice in return for others using it to write guides of their own?
a.vandelay said:
thanks Gary, this is great! are you strictly interested in kernel development or would you consider writing other guides as well? or, would you be willing to offer less structured advice in return for others using it to write guides of their own?
Click to expand...
Click to collapse
Actually, writing guides isn't something I ever planned on doing. For me, it's more about sharing information than writing guides. I'm more proficient at kernels, so I have more information to share about it.
As for offering advice on writing guides, I'm probably the last person on this Earth that would be qualified to offer that kind of advice. I'm a horrible teacher. In the case of the kernel stuff, I'm just kind of guessing my way though. I think I posted in this thread how difficult it was for me.
Take care
Gary
I haven't forgotten this... I just have to do my real paying job during the week, and the evenings this week have been chaotic: I have kids.

Categories

Resources