Making ROMS - T-Mobile LG G2x

How do you build custom roms from cm7/cm7/stock?
What knowledge does it require to make a custom rom?
What does an actual rom consist of?
What can rom makers actually change in the releases they base their rooms on?
I'd like to start making roms and I know some Linux command line but I don't know any programming so where can I start and is it difficult?
Thanks
Sent from my LG-P999 using XDA

Google is your best friend for that. Also depends if you really want to develope, or just kang/tweak.

Related

[Q] Hi, i'm a noob.

As the title says, i'm a noob.
I wanna make a such Custom ROM for my Xperia Active since... i tried GingerDX on my X8, i really wanted it to be on the newer Xperia's... so i was thinking of using something called CyanongenMod for this project...
Idk wat im gonna call this project but maybe Xperiabreak (Reference to Jailbreak)?
And i really wanna have permission to do this... even i don't a know a single chocolate balls.
So.. this is the question, how do i make a custom rom?
It involves a series of certain things, most importantly, an understanding of how android works and performs, you need an understanding of linux...computer programming languages like c++\c+ and Java
Than you have to learn how to build from source code ie..froyo, ICS, or even cyanogenmod...
There are serious developers who build from source than just noobs who take the work of someone else, throw a few scripts in, and call it making a new rom, but that is simply cooking a rom with uot kitchen...
Google is your friend, use your resources, learn about the inner workings of android, learn a language and start developing. Its all a trail and error process
Sent from my Optimus One using xda premium
Jrhodes85 said:
It involves a series of certain things, most importantly, an understanding of how android works and performs, you need an understanding of linux...computer programming languages like c++\c+ and Java
Than you have to learn how to build from source code ie..froyo, ICS, or even cyanogenmod...
There are serious developers who build from source than just noobs who take the work of someone else, throw a few scripts in, and call it making a new rom, but that is simply cooking a rom with uot kitchen...
Google is your friend, use your resources, learn about the inner workings of android, learn a language and start developing. Its all a trail and error process
Sent from my Optimus One using xda premium
Click to expand...
Click to collapse
OK, for the first: I know Linux, I've been using it too and i know it's commands..
for the second: ICS maybe or CyanogenMod... Mostly CM.
for the third: I gonna try build and compile it from source...

Hi :) T-Mobile gave me this phone for free.

Hi guys im new to XDA but not new to Android development i used to have Cricket service (which sucked) and signed with T-Mobile and got this phone for free After spending all week reading all these threads i can say im one of the lucky ones since i got the good chip and good screen and rooted my phone and im running Sysnthetic_Aospx great rom btw. Any other good roms that i should try? Anywho im rooted and this isnt another "which rom is better" im actually a developer and i want to get my hands dirty and try and compile kernels any guides out there for me to start compiling and building my kernel environment?
I know my way around developing roms and wanted to know what developers develop for this device im willing to give you guys a hand if u need it or just be a tester.
Btw my name is Mr. Iffy ill try to help when i can hopefully one of the devs can help me with an Ice cream kernel to develop for this device. If someone can also tell me what devs are here i only see like 4 of them Synthetic and elginsk8r and awesome and cnote. Thanks guys hopefully i can be more of help around here.
Welcome! It's great to have another dev among us. Unfortunately, we have lost many of our devs to other devices, but a few talented ones remain. Hopefully you and the remaining devs will be able to bring a fully functional ICS Sense ROM to our little community.
Again, welcome!
4Orr said:
Welcome! It's great to have another dev among us. Unfortunately, we have lost many of our devs to other devices, but a few talented ones remain. Hopefully you and the remaining devs will be able to bring a fully functional ICS Sense ROM to our little community.
Again, welcome!
Click to expand...
Click to collapse
Thanks, i hope so too i sent a private message to elgins8r and synthetic hopefully they can help me build a kernel.
Welcome to the party, what do you know about building kernels?
THEindian said:
Welcome to the party, what do you know about building kernels?
Click to expand...
Click to collapse
Nothing really but is willing to learn if u give me the terminal code to compile the kernel environment I know my way around
Sent from my ROOTIE TOOTIE FRESH 'N FRUITY GLACIER
Hey welcome, we have a developer among us!
You know how to compile and port ROMs?
Sent from my Streak7 Honeycomb using xda premium
Yes I know how to port, build cyanogen roms from source not ics yet that's still new to me but I want to learn to compile kernels and such
Mr. Iffy said:
Yes I know how to port, build cyanogen roms from source not ics yet that's still new to me but I want to learn to compile kernels and such
Click to expand...
Click to collapse
Kernels are difficult, i dont really know enoguh to teach you but there are plenty of guides. It tooks me 3 hours to compile 10% of a kernel and the process failed due to one of the files. We should collarborate.
THEindian said:
Kernels are difficult, i dont really know enoguh to teach you but there are plenty of guides. It tooks me 3 hours to compile 10% of a kernel and the process failed due to one of the files. We should collarborate.
Click to expand...
Click to collapse
Definitely can u post which guide u followed
Look forward to your work
Devs wise, there is a few, like the ones you listed. You also have my; Team Inferno an another team call AndroidInsomnia (killer miui builds).

[Q] What to know for rom development?

Android is a great OS, and flashing new roms is one of the best experiences when it comes to your device
I know how to root, flash roms, kernels, and radios, but I want to know more. I'd like to get into rom development, mainly from source code.
I do have experience with computer languages. I can build a nice website in Notepad using HTML. JavaScript is no problem either. I also dabbled in CSS.
What exactly should I know to eventually know the ins and outs of rom development? What languages, PC environments, etc?
KayxGee1 said:
Android is a great OS, and flashing new roms is one of the best experiences when it comes to your device
I know how to root, flash roms, kernels, and radios, but I want to know more. I'd like to get into rom development, mainly from source code.
I do have experience with computer languages. I can build a nice website in Notepad using HTML. JavaScript is no problem either. I also dabbled in CSS.
What exactly should I know to eventually know the ins and outs of rom development? What languages, PC environments, etc?
Click to expand...
Click to collapse
You will need a Linux distro to build rom source and most of it is in Java C+ and C++
Or u can just use dsixda's online kitchen. It the UOT kitchen
QuantumFoam said:
Or u can just use dsixda's online kitchen. It the UOT kitchen
Click to expand...
Click to collapse
He asked about learning Tom development and those are not even close
Sent for a corner cell in Arkham
zelendel said:
He asked about learning Tom development and those are not even close
Sent for a corner cell in Arkham
Click to expand...
Click to collapse
Yes. But he didn't ask about making a rom from source. He could take an existing rom, modify the ui and release it as his own version :
Oh well. Who am I to contradict a senior mod
QuantumFoam said:
Yes. But he didn't ask about making a rom from source. He could take an existing rom, modify the ui and release it as his own version :
Oh well. Who am I to contradict a senior mod
Click to expand...
Click to collapse
No he didn't but what you described is coming to an end very soon.
Sent for a corner cell in Arkham
zelendel said:
No he didn't but what you described is coming to an end very soon.
Sent for a corner cell in Arkham
Click to expand...
Click to collapse
Really? The ROM kitchens are closing?
QuantumFoam said:
Really? The ROM kitchens are closing?
Click to expand...
Click to collapse
No but posting roms done this way will be. Remember this is a development site. Focusing on real development
Sent for a corner cell in Arkham
zelendel said:
No but posting roms done this way will be. Remember this is a development site. Focusing on real development
Sent for a corner cell in Arkham
Click to expand...
Click to collapse
Well you're right.
I hope op got his answer
Hey, so the best way is to jump right into development. Go and download the official AOSP tree. This side will guide you:
http:
//source.android.com/source/downloading.html
So you need to be able to handle a linux machine, should know about java and c/c++, git and repo. Do not get frustrated it is really a lot of stuff that you will need on your way. But it is worth it.
I recommend that you start with stock AOSP as this is staight forward and should build stable. A google development device is a must have to verify your roms as those are official supported and as newbie you really do not want to start hacking/porting/steeling/manipulating device drivers to get things working .
If you passed this hurdles you can start to modify small parts of the system an so on...
Good luck and have fun
Much appreciation. Thanks have been given.
Sent from my iPad using Tapatalk HD

Port a rom

Guys,I want port this rom: http://forum.xda-developers.com/showthread.php?t=1763514. Is there a guide for do this? Thanks in advance!
Sent from my nexus s using xda app
Spidergio said:
Guys,I want port this rom: http://forum.xda-developers.com/showthread.php?t=1763514. Is there a guide for do this? Thanks in advance!
Sent from my nexus s using xda app
Click to expand...
Click to collapse
The OP in that thread says:
4. No ports based on my ROM zip file, manifest.xml will be updated regularly and feel free to compile from source
Start elsewhere, unless you want to learn to compile. Come back with a ROM you're allowed to port and post it here. Then we'll help you
same
trying to port a rom also still working on it
Porting can be easy or hard depending on many factors.
First of all, if the rom type the you are porting (AOSP, Sense, AOKP, CM7/9/10, Touchwiz, Motoblur, etc.) already has similarly typed ROMs for your device your life will be much easier as you will have a base to work with.
The general idea for an easy port is to use the boot.img, keylayout, modules, and many libs from a similar ROM that already exists for your device. Also, the build.prop and updater-script will need edited (updater-script for most, but not all, ROMs).
If you are on an HTC device and you go grab a Touchwiz ROM to port, you're most likely going to have a bad time. Start with something that exists in large quantities for your device. AOSP ROMs are usually a great place to start.
estallings15 said:
Porting can be easy or hard depending on many factors.
First of all, if the rom type the you are porting (AOSP, Sense, AOKP, CM7/9/10, Touchwiz, Motoblur, etc.) already has similarly typed ROMs for your device your life will be much easier as you will have a base to work with.
The general idea for an easy port is to use the boot.img, keylayout, modules, and many libs from a similar ROM that already exists for your device. Also, the build.prop and updater-script will need edited (updater-script for most, but not all, ROMs).
If you are on an HTC device and you go grab a Touchwiz ROM to port, you're most likely going to have a bad time. Start with something that exists in large quantities for your device. AOSP ROMs are usually a great place to start.
Click to expand...
Click to collapse
I am on a nexus s and now i want TO port the touchwiz5. Can anyone help me? I am a student! I'm inexperienced, but I want to try.. Thanks .
Sent from my nexus s using xda app

[Q] Porting a ROM for first time

I am wanting to try my hands at porting Sense ROMs for my Shift and was wondering what I should use as the base. I found a thread, http://forum.xda-developers.com/showthread.php?t=934313, that has the stock ROM from the Shift that has just been rooted and nothing else. Is this what I should use as the base for it and then find another Sense ROM, ideally 3.0 or above, and use it as the porting ROM? Thanks for any answers, I am hoping to become a help to those who are wanting to get into this field by not being afraid to ask these questions, because I myself would love to become a dev and figured porting would be the best jumping off point and then working my way into building whole custom ROMs.
This would be an updated base for Gingerbread Sense ROMS http://forum.xda-developers.com/showthread.php?t=1873472
To port Sense 3.6+ ICS is going to be some work. Porting Sense is more involved than just moving a few files and getting it to boot. It's honestly easier to use the dsixda kitchen to turn a system.img and boot.img into a ROM than it is to port. I've been messing with Android for a good year now and I've just learned to port aosp, and Def can't port Sense.
Sent from my miTouch-4G-Slide using Tapatalk 2
strapped365 said:
This would be an updated base for Gingerbread Sense ROMS http://forum.xda-developers.com/showthread.php?t=1873472
To port Sense 3.6+ ICS is going to be some work. Porting Sense is more involved than just moving a few files and getting it to boot. It's honestly easier to use the dsixda kitchen to turn a system.img and boot.img into a ROM than it is to port. I've been messing with Android for a good year now and I've just learned to port aosp, and Def can't port Sense.
Sent from my miTouch-4G-Slide using Tapatalk 2
Click to expand...
Click to collapse
So most of the "porting tutorials" I have seen out there are full of bs and not as easy as they make it out to be then lol. I have read through ones using dsixda kitchen, I will go that route, thanks for the advice and answer.
nateandjess07 said:
So most of the "porting tutorials" I have seen out there are full of bs and not as easy as they make it out to be then lol. I have read through ones using dsixda kitchen, I will go that route, thanks for the advice and answer.
Click to expand...
Click to collapse
In all honesty they were that easy, but with every new version of android comes new files, or renamed files ect.
Porting aosp is as easy as the guides, megaghost is who started teaching me how to port aosp, then a couple guides later I noticed that there were libs I never moved over from port to base.
Dsixda kitchen is just a tool for me, I use it to sign apks when I don't decompile them in android-utility also if I'm leaving the house and need something deodexed, or to simply cook an ota into a flashable.
Sent from my miTouch-4G-Slide using Tapatalk 2
But there is always something with AOSP ports that you have to go back and fix and that is not always easy... In fact it is sometimes mind numbingly difficult to get some stuff to work. Trial and error, and don't be afraid to ask questions if you get stuck.
Yes just post up. People in the Shift forum are more than willing to help each other out

Categories

Resources