Learning ROM Development - Where to even begin?? - Google Pixel XL Questions & Answers

So I’ve been a member here since the Droid X days and I’ve learned a lot over the years with each device I’ve had but I never really looked into creating ROMs (I always wanted to learn but never got to it).
I know it’s going to be a learning process that takes some time but I’m looking for help on where I should start. Before anyone posts a whole bunch of random looks I’ll say right now that I am a complete beginner when it comes to this stuff. I’ve looked at a bunch on threads and it’s so overwhelming being completely new so I don’t know what’s relevant and what’s not.
From the research I’ve done today I learned about a program called Android Kitchen which from my understanding was used to create and compile ROMs. From what I found it looks like the original dev stopped updating it back in 2013. In the ChefCentral>Android forum it looks like someone else took over and maintains it for Linux. I also came across a variant there called “Assayyed_Kitchen”. Is this the same program just made by someone else? I don’t know you tell me? lol
I also plan to learn some Java in the coming months and Android App development. I don’t have a huge interest in making apps right now but who knows maybe I will down the road. I just figured learning Java can only help with learning to make ROMs? Do I even need to know any of it for this kind of stuff?
So basically I’m looking for some guidance on where to start as a complete beginner in learning ROM development. Even someone taking the time to type out a few basic steps explains what the whole process even involves from start to finish would help a lot. For example..
1. Download source
2. Open in this program and blah blah
3. Do your magic and customize this and that
4. Do some more magic and pack it back up and flash
Just understanding the steps would make a huge difference because then I know what to research and what to learn. Hoping this thread gets some good info in it and maybe at some point I can create a complete noob friendly guide in the OP to help others like me who don’t know where to begin. To anyone that takes the time to reply and help out.. THANK YOU!

aholeinthewor1d said:
So I’ve been a member here since the Droid X days and I’ve learned a lot over the years with each device I’ve had but I never really looked into creating ROMs (I always wanted to learn but never got to it).
I know it’s going to be a learning process that takes some time but I’m looking for help on where I should start. Before anyone posts a whole bunch of random looks I’ll say right now that I am a complete beginner when it comes to this stuff. I’ve looked at a bunch on threads and it’s so overwhelming being completely new so I don’t know what’s relevant and what’s not.
From the research I’ve done today I learned about a program called Android Kitchen which from my understanding was used to create and compile ROMs. From what I found it looks like the original dev stopped updating it back in 2013. In the ChefCentral>Android forum it looks like someone else took over and maintains it for Linux. I also came across a variant there called “Assayyed_Kitchen”. Is this the same program just made by someone else? I don’t know you tell me? lol
I also plan to learn some Java in the coming months and Android App development. I don’t have a huge interest in making apps right now but who knows maybe I will down the road. I just figured learning Java can only help with learning to make ROMs? Do I even need to know any of it for this kind of stuff?
So basically I’m looking for some guidance on where to start as a complete beginner in learning ROM development. Even someone taking the time to type out a few basic steps explains what the whole process even involves from start to finish would help a lot. For example..
1. Download source
2. Open in this program and blah blah
3. Do your magic and customize this and that
4. Do some more magic and pack it back up and flash
Just understanding the steps would make a huge difference because then I know what to research and what to learn. Hoping this thread gets some good info in it and maybe at some point I can create a complete noob friendly guide in the OP to help others like me who don’t know where to begin. To anyone that takes the time to reply and help out.. THANK YOU!
Click to expand...
Click to collapse
Here is my blog on the topic. I've also got some interesting* Android Security Research on there that acts as a good Segway into reverse engineering, etc.
The one I am linking is for 6.0.x, and I'll be updating it to 7.x soon, though, the only real difference is the branch you checkout (you should understand what this means after reading my guide), and you'll need to install OpenJDK8 instead of the linked 7 (as 7.x requires this).
http://odste.blogspot.com/2016/04/guide-to-compiling-android-on-ubuntu.html

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...

Android Rhodium wiki

I took the liberty to start a wiki for Android on the Rhodium. I dont know everything and this is my first attempt at something like this so please edit anything I screwed up
hey,
i have written a very basic greek guide here:
http://blog.megahz.org/2010/02/android-windows-mobile-pda-dual-boot.html
sd73ta said:
I took the liberty to start a wiki for Android on the Rhodium. I dont know everything and this is my first attempt at something like this so please edit anything I screwed up
Click to expand...
Click to collapse
Cool! Hey I had a spare few minutes at work so I updated and re-organized some things. Go through and check my re-wordings etc to make sure I'm not spreading lies!
I'm not technically geeky enough to help out with development so I figured this is the least I can do. If we keep up with this, it can be very useful. I know the devs are so busy tinkering with things that typing up documentation can be a chore.
Thanks for updating the wiki. I to am not geeky enough
Good idea to start one on XDA. If you need more stuff like FAQs and links for the XDA wiki page, there's the Android on HTC wiki here which has some of that kind of stuff. If you'd like, I'll try to help keep the XDA one maintained with current info whenever I update the one on Android on HTC
The more help the better. I did put a link to your site too
I agree, I know that other wiki was out there...but I think it's good to have it here at XDA.
The more hands on this, the more up to date it will be.
I wanted to chip in, but I don't want to speak for every TP2 owner out there, so I had this morsel of info:
My TP2 (a Tilt2, actually) does NOT need to be plugged in prior to booting Haret to gain charging capability. XDAndroid is able to use the charger no matter what. There's just no orange light.
I was able to verify that in Spare Parts. Not sure if it's JUST the Tilt2, or if it's every TP2 out there.
loving the wiki...thanks and keep up the great work
I added The Front Buttons Keymap layout to the Wiki juts in case people Would like to know
I just want to say thanks to everyone for helping with this. I think this has turned out really well its simple, straight forward and still very informative. Keep up the good work.
also Ive been adding peoples names as they contribute. If Ive added you and you wish to be removed please let me know.
Ive added the CDMA installation instructions to the wiki. If any one sees that i've screwed them up let me know and I'll correct it or feel free to correct it yourself. I do not have a cdma version of the TP2 so this is based on my quick research on the matter

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.

[Q] Adding phone functionality to "inactive phone rom"

Hey everyone, I have a couple of questions. First off as you can see from my post count I'm a lurker. I can remove/install ROMs, the basics, but never have I tried to add/remove apps or functions to one. So I've found a ROM I love, but it was designed with inactive phones in mind, to make them into second life usable music/video players. It has no phone functionality because of this. The one I'm interested in is by frickinjerms - Ubersonic - I hope I can modify others work for my personal use. Guess that should be a question too.
Would it be ok to add in phone functionality or would it be easier to find one with that already and just remove the fluff I don't want and add what I do?
As I understand it, I can just add it back in, but I'm unsure what files go back in. Is there a resource that outlines that anywhere, or can anyone throw me a bone?
Is it ok to modify the work of others for your personal use without asking, or should you seek approval first out of proper etiquette?
I've been searching through XDA and other sites looking for some basic beginners stuff for cooking up ROMs, but have only come across limited collections. I'm toying with dsixda's Android Kitchen right now, but would love to find other resources. So any pointers to learning resources would be great too.
Thanks!
For the last one, I personally believe that its not necessary to ask before modifying a rom thats for your personal use because only you will know about it anyway, and people do it all the time
You only need to ask for permission if you're reposting your personal version of someone elses rom
Sent from my PG06100
CNexus said:
For the last one, I personally believe that its not necessary to ask before modifying a rom thats for your personal use because only you will know about it anyway, and people do it all the time
You only need to ask for permission if you're reposting your personal version of someone elses rom
Sent from my PG06100
Click to expand...
Click to collapse
I figured that was likely the case I just wanted to clarify it for myself. I know people put in a lot of work on some of their ROMs and don't want to step on toes.
Thanks for the response.
You know you could use a rom that does have phone functionality. Just throwing that out there.
PlatinumPenguin said:
You know you could use a rom that does have phone functionality. Just throwing that out there.
Click to expand...
Click to collapse
Whats the point of flavors if you're forced to pick the one you don't like? Just throwing that out there.
I don't think my questions were unreasonable either. I'm not asking for someone to build me something, I'm asking for the fishing pole, not the fish.

Categories

Resources