Need Help learning Rom development and porting - G2 and Desire Z Q&A, Help & Troubleshooting

I am a beginner and very interested in developing for android. I have some basic knowledge of app development for android and knowledge of java and c.
I searched but couldn't find a good tutorial for rom development or porting.
Could anybody please suggest some resources from where I could learn rom development??
Thanks in advance.

Best advice I could give you is look at the source code. And brush up on your xml. Unless you have a specific question that's the best I can do.
Hope it helps!
Sent from my SCH-I520 using XDA App

Thor development said:
Best advice I could give you is look at the source code. And brush up on your xml. Unless you have a specific question that's the best I can do.
Hope it helps!
Sent from my SCH-I520 using XDA App
Click to expand...
Click to collapse
I'm interested in learning rom porting from a Device X to Device Y.
I have complied Android from source code and looked at the different folders and architecture but in absence of a good tutorial i wasn't able to build upon it.
I'm looking for resources which could help me in learning components of a basic android rom and how to build on it.
I read that prior to rom developing, it would be helpful if I would learn rom porting, that's why I'm looking for rom porting tutorials.
Thanks.

There was a pretty good web page that I can't find at the moment, but I dig these up:
http://forum.xda-developers.com/showthread.php?t=784121
http://forum.xda-developers.com/showthread.php?t=757817
I just deodexed my first roms tonight, so I think the next step is porting!

gee one said:
There was a pretty good web page that I can't find at the moment, but I dig these up:
http://forum.xda-developers.com/showthread.php?t=784121
http://forum.xda-developers.com/showthread.php?t=757817
I just deodexed my first roms tonight, so I think the next step is porting!
Click to expand...
Click to collapse
Yeah I also remember that page, and I bookmarked that page but recently when I tried to browse that page, it said that page is not available.
I deleted its link also.
Please let me know if you find any further resources.
I deodexed two shipped roms and repacked them using dsixda kitchen, but now of them went post boot screen after installation.
I tried using "adb logact" but it just showed "waiting for device".
I'm not able to figure out why did it happened.

ddms in the android-sdk is pretty good for figuring out what is going on. It basically gives you a streaming logcat as the device is running.
I had a bootloop with one rom because I only deodexed the framework, not the apps. Also don't forget about framework-res.apk in /system/framework.

This thread was a great compilation of rom development and porting resources :
http://forum.xda-developers.com/showpost.php?p=6738713&postcount=1
But it has been removed by the administrator.
There are a few more guides which I was able to search, these are :
http://forum.xda-developers.com/showthread.php?p=18463306
http://forum.xda-developers.com/showthread.php?t=1222746
http://forum.xda-developers.com/showthread.php?t=1076687
And this link has links to some other useful resources :
http://www.neopeek.com/viewtopic.php?f=24&t=6208
Please post other useful resources which you guys have, so that new developers interested to contribute to android community can learn.

Please help me making this post useful for those interested to learn about android rom development.
Paste all useful links which you can find in this thread.

Related

[ROM HELP] Need some help Cooking in the Kitchen

I created my ROM kitchen using the guide i found in the fourms. It was an easy and awesome guide.
I have been playing around in the "Kitchen" playing around with some ROMS and there is only so much a person can customize.
Basically im asking how can someone customize more then what is offered in the "Kitchen" made by XDA Developers
ROM Guide from XDA forums
I want to know how you DEV's put custom colors like Freak has in his ROM or OC a Kernal so i can package it into a ROM release, or Launcher bars and key locks...
Thanks
Here:
http://forum.xda-developers.com/forumdisplay.php?f=613&order=desc
Especially this:
http://forum.xda-developers.com/showthread.php?t=697938
And of course this:
http://forum.xda-developers.com/showthread.php?t=667298
elegantai said:
Here:
http://forum.xda-developers.com/forumdisplay.php?f=613&order=desc
Especially this:
http://forum.xda-developers.com/showthread.php?t=697938
And of course this:
http://forum.xda-developers.com/showthread.php?t=667298
Click to expand...
Click to collapse
Thanks,
This will keep my busy for a while

[Q] New to the whole Development

I'm interested in developing a ROM for my HTC evo I thought i could tackle this project by just browsing the forum But it seems that I have a search overload to say the least, Are there any useful threads for developing ROM's as I said earlier I have looked I may have missed something of importance and any one with tips hints and or suggestions would be most appreciated.
Thanks in advanced
SinisterTensai-
find a base rom or deodexed stock rom! install android kitchen or a kitchen of your choice!
note: android kitchen runs on linux!
Trial and era like the rest of us have done!
anything you use that others have ask them for permission and give them props always when you post your work or anything for that matter! good luck its not easy!
Sent from my Full Android using XDA App
eVoKINGS said:
find a base rom or deodexed stock rom! install android kitchen or a kitchen of your choice!
note: android kitchen runs on linux!
Trial and era like the rest of us have done!
anything you use that others have ask them for permission and give them props always when you post your work or anything for that matter! good luck its not easy!
Sent from my Full Android using XDA App
Click to expand...
Click to collapse
I have a linux sandbox of some sorts I could install the OS I have had issues with kitchen's in the past
Trial and era is what I'm used too
and of course I will credit any one who has helped and or work(s) I have used
I suggest you start theming first
Sinistertensai said:
I have a linux sandbox of some sorts I could install the OS I have had issues with kitchen's in the past
Trial and era is what I'm used too
and of course I will credit any one who has helped and or work(s) I have used
Click to expand...
Click to collapse
Swyped from Eva running Myn's RLS4!

Unleash Linux power on S5360

Hello, I'm developer of linux software and I tested capabilites to get full Linux on our phone.
Sorry for posting in general, but i'm unable to post in development.
At the beginning - some theory:
1) We don't need to unleash Linux, because Android IS build on top of linux.
2) Availability of software depends on standard C library - in GNU/Linux it's glibc, in android - bionic.
So we need to port glibc, not linux.
We have following solutions:
-mount and chroot on top of android:
It's really simple: read here.
-build glibc and replace bionic-it's great idea, but may cause some Android problems.
read here.
-build a whole system: but then, we can't use gsm and android at all ,and it's extreemly hard.
Any questions? If sbd need any tutorials, i can help.
i thought you should contact mai77. he seems to be really interested in porting a linux on sgy. he even have made a thread about it. you may see the thread in development section.
Yes, I know. Unfortunately I have not enough posts to post there, but I really want to help him. I've an idea to develop "ready to run" archlinux images,easy to mount and run lxde. Is there anybody interrested?
Count me in just give me the
instructions
Sent from my GT-S5360 using xda premium
well...you only need another 8 post or you can directly pm him.
Lol, he can beat about the bush,to get 10 post.to post in dev,,
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
MichalBn said:
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
Click to expand...
Click to collapse
It really interresting count me in
Sent from my GT-S5360 using xda premium
count me in too...though i am not a dev...hehehe
OK, I've tested DebDroid, and i think that my work have no target-it's all already done. So happy using LinuxInstaller - I will rather help them than create it from scrath.

Building a rom

Are you here scrosler? I have been looking for help on how to build a rom for the months. I have pmed over a dozen developers and none would help. I would love some help. Even if it is only a point to a web site with detailed info. Like i said i got the kitchen installed was able to decompile an already complete rom and looked around and recompiled it but the whole updater script i know nothing about and what parts of the rom does what. I would love to make my own rom but have no idea where to go. I have checked out the android development section here on xda but honestly i need a little more beginner than i have seen. I guess the first step would be how to compile it correctly do it will run and how to do this do it will not brick my phone. Would really love any help i can get.
Sent from my SPH-L900 using xda app-developers app

[Q] modding the stock rom

Hi I was wondering if any of the devs out there can make a thread with a collection of modds for the stock rom. So we can do what we want without flashing a new rom. Or just flash the deodexed stock rom. Then add modds. It would be something like this: http://forum.xda-developers.com/showthread.php?t=2057732
That is how I got my note 2 setup the way I like it. I do want to learn how to do that kinda stuff myself but I am not ready for that yet. Just an Idea if not then I will just have to use one of the roms we have here.
What mod are you looking for?
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
I would gladly start adding things like that to my Resource guide, I'm just not pulling all the links of things and moving them cause it would take hours and hours, not to mention some of the mods out there are rom specific and will not work on just a deodexed version. If people were to test and confirm I'd start working on it for my Resource guide.
I agree
mt3g said:
I would gladly start adding things like that to my Resource guide, I'm just not pulling all the links of things and moving them cause it would take hours and hours, not to mention some of the mods out there are rom specific and will not work on just a deodexed version. If people were to test and confirm I'd start working on it for my Resource guide.
Click to expand...
Click to collapse
I currently would love to learn how to do kitchen mods. But nobody offered any tutorials on such matters for a Windows box. I know I know...Linux/Ubuntu is easier with source but I am not ready to learn all that crap. I think there is a Kitchen for Windows but have not found it out there just yet. If someone has a link...I would be grateful. THX
photolarry said:
I currently would love to learn how to do kitchen mods. But nobody offered any tutorials on such matters for a Windows box. I know I know...Linux/Ubuntu is easier with source but I am not ready to learn all that crap. I think there is a Kitchen for Windows but have not found it out there just yet. If someone has a link...I would be grateful. THX
Click to expand...
Click to collapse
Search for UOT kitchen.
Also check out morphology in the themes section.
Sent from my SGH-T999 using Tapatalk 2

Categories

Resources