[Q] Build Custom ROM using Android 2.3.xx - General Questions and Answers

Sorry if this has already been covered, I have seen a few posts that are close to what I am looking for.
I am looking at building my own ROM from the latest Cyanogenmod, or at least customising it so it contains my own apps.
Is there a good place to start with this build process and if I have to start with a basic build is it easy enough to have the update to the 2.3.xx builds that are released?
Thanks

What apps do you find?

I want to remove most of the ones that come with the cyanogenmod release and add my own into the build.
Also I am looking at trying to build my own apps that I want to test by incorporating into a ROM.
Hope that makes sense?

I also want to do the same but I want to start with my stock Rom and then edit it.

Stock rom is good
stock is perfect smooth and far

Related

[Q] ASOP Sidekick 4G ROM?

Am I the only one who is unhappy with the slim pickings of ROMs that are available for the SK4G?
Does anyone know anything about an ASOP ROM?
It's AOSP (Android Open Source Project) and you're not the only one not happy with the current SK4G options. I personally want MIUI or CM7, but seeing as we're currently stuck with Froyo, we'll have to see what the devs can cook up.
Sent from my SGH-T839 using XDA App
For future reference, questions go in the General forum, not the Development Forum.
As for AOSP or MIUI, I know that AyoTeddy and Revolution are currently working on separate MIUI roms, and for AOSP, I'm working on that, but not sure exactly what you want from AOSP that's different from what we have?
If you are unhappy with the selection of ROMS here, you are always welcome to make your own, android is open source for a reason.
sduvick said:
For future reference, questions go in the General forum, not the Development Forum.
As for AOSP or MIUI, I know that AyoTeddy and Revolution are currently working on separate MIUI roms, and for AOSP, I'm working on that, but not sure exactly what you want from AOSP that's different from what we have?
If you are unhappy with the selection of ROMS here, you are always welcome to make your own, android is open source for a reason.
Click to expand...
Click to collapse
If they want the real miui we will need some sort of aosp gingerbread to start with and a custom CM7 kernel or something.. Since we dont have either yet I guess we'll have to make the best out of what we have now like we have been. But those wanting a taste of miui may like what I have planned for my next release.
Sent from my SGH-T959 using XDA App
ayoteddy said:
If they want the real miui we will need some sort of aosp gingerbread to start with and a custom CM7 kernel or something.. Since we dont have either yet I guess we'll have to make the best out of what we have now like we have been. But those wanting a taste of miui may like what I have planned for my next release.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
And so anticipation had set in, i can't wait ayoteddy. im very excited. SMX was great, and SMGC was awesome, and now with this? whewwww. think i better go lay down, lol.
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Thank you for joining the Sidekick 4G section , & we welcome you but if you want you could pause the game's for the ROM if anything & Question 1 is a no & Question 2 no cause they have to be compiled with the 2.3 kernel .
- Said by Sduvick
jmpz said:
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Click to expand...
Click to collapse
Revolution, thanks for relaying my responses.
jmpz, I tried building the source before, but was unable to build it completely, but that was possibly because of some errors with my dependencies. The kernel compiles fine from source, you just need to pull initramfs, or you can get it from Dr. Honk's github.
Thank you for your answers.
So, can anyone enumerate the list of drivers which we should extract from kernel?
I can name these:
1) Keyboard
2) Mic
3) 2 speakers
4) buttons
5) front camera
6) rear camera
7) trackpoint
8) lcd
9) digitizer
10) 3.5 jack
Please correct me and add missing
If I understanding it rightly the key problem is getting proprietary drivers from the kernel. Right?
nope, the key problem is trying to build the system entirely, without any errors, which may be easier with someone following a stock designed build environment. I don't use Ubuntu which is what has the listed dependencies for every tutorial I can find. You can get the drivers out of Dr. Honk's voodoo kernel ramdisk here: http://forum.xda-developers.com/showthread.php?t=1145139
There shouldn't be any problems if you just set up a build environment following the directions in any of the tutorials, then add the platform from the samsung source.
I'm a linuxoid - so these tutorial are for me. Thank you for the link.
By the way, drivers are in Linux Kernel, so I don't think that I need to use Samsung Platform from the source. Instead I wanna use platform from AOSP or Cyanogen. Correct me if I'm wrong.
I think that grabbing drivers from kernel source from samsung would be enough to build the rom.
jmpz said:
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Click to expand...
Click to collapse
I 100% support your efforts. I want Cyanogen on the SK4G badly, but I'm not sure what kind of help a non-programmer like me could do, but do have some experience with flashing phones and such, so if there is anything you need let me know.
If you do get rolling heavily on this, I'd be willing to donate monetarily to your efforts.
If anyone can get CyanogenMod 7 on the Sidekick they would definetely get a donation from me. Id be thrilled. Glad to see its going to be worked on.
Sent from my Sidekick 4G using XDA Premium App!

[Q] Custom Rom

How Can I create an android 3.2.1 HONEYCOMB ROM for the transformer...
Thanks in advance
First, the HC source is not available, so you can't compile one from scratch like you can for gingerbread. ICS will be open source, so when that is released next month, you will be able to compile your own rom from source.
So in the meantime, at this point you have a few options remaining:
1) use the ASUS roms as a starting point and mod and theme them to your liking. There are several *prime* examples of this in the dev forum.
2) port a rom from another device, such as the xoom. I'm not 100% sure if this is possible, but since they share the same CPU, it will at least be a fun challenge.
I mean I want to add themes, apps, launchers and create custom ui and settings...
I wrote some things in this thread that might be helpful to you
http://forum.xda-developers.com/showthread.php?t=1324769
Good luck!
OK..
How Can I edit a custom rom...
Thanks in advance...

[Q] Creating a Custom ROM?

Hey everyone, So I was wondering how hard is it to create a custom Rom. Does it need coding experience to do it and how complex is it (plus any other general information). Plus if anyone is interested in making one let me know.
This is a general question, If you got nothing important to say, don't say it -_-
It depends what you really think a custom ROM is.
Some people take a stock ROM, add some apks and scripts and call it a custom ROM. To be clear, that is not a custom ROM.
That's not to say that all stock based ROMs are not custom. People with skills can recompile apks and add new functions. This van be quite difficult and also quite limited. Yes, for that - understanding the code is very useful.
The other option is to learn to compile AOSP ROMs. Its not custom, as it starts as Google aosp but learning to do that, you can then Learn to cherry-pick functions from other ROMs. This will help you learn how things work and is the method I would recommend. Google have full guides for building available on their android source website.
rootSU said:
It depends what you really think a custom ROM is.
Some people take a stock ROM, add some apks and scripts and call it a custom ROM. To be clear, that is not a custom ROM.
That's not to say that all stock based ROMs are not custom. People with skills can recompile apks and add new functions. This van be quite difficult and also quite limited. Yes, for that - understanding the code is very useful.
The other option is to learn to compile AOSP ROMs. Its not custom, as it starts as Google aosp but learning to do that, you can then Learn to cherry-pick functions from other ROMs. This will help you learn how things work and is the method I would recommend. Google have full guides for building available on their android source website.
Click to expand...
Click to collapse
Thanks for the useful reply, and that's the one I was thinking about, compiling features from multiple ROMs, I will have to check out Google for the tutorials then. Still anyone interested, let me know

best or most prefered rom nowdays?

Hey im still running Android 4.4.2 CleanRom and its been a while since ive been around. I feel a bit outdate and was wondering what i should upgrade to. Not looking to do nightly's as i do not have the time, just looking for something new and stable. Let me know what you think. Thanks.
-Cam
camf3xu said:
Hey im still running Android 4.4.2 CleanRom and its been a while since ive been around. I feel a bit outdate and was wondering what i should upgrade to. Not looking to do nightly's as i do not have the time, just looking for something new and stable. Let me know what you think. Thanks.
-Cam
Click to expand...
Click to collapse
Hi, here on xda we dont compare roms, sorry. its just taboo of the worst kind. Also please post questions in the question and answers portion of the forum, thanks and cheers.
I'll go ahead and reply with respect to the split between KitKat and Lollipop. You'll note a bunch of Lollipop-based ROMs appearing. Some have chosen to flash those, to be on the cutting edge. However, the Xposed Framework - one of the most useful customization tooks in the Android world - has not been updated to work with the "ART" (Android Run Time) and instead is only still compatible with Dalvik-based system. The developer of Xposed has indicated that he may work on updating XPosed at some point, but there is no firm commitment or timeline.
I personally will not be upgrading to Lollipop as I find that the tweaks made available by the Xposed Framework and the plethora of modules built for it, are simply too important me to lose by upgrading to what isn't all that radically different of an Android update.
But to each his own. Thought I'd give you a bit of the background.
P.S. Anything by Santod is quality work (NuSenseSix, UnSenseSix, etc). He really knows Android.
Nothing beats stock as far as stability. For newest, well, the newest official software is stock as well until VZW releases Lollipop.
Sacred cows make extra tasty steaks. That said, I'll make recommendations. I think Fluent is as reliable as the stock 4.4.4 and more so than some of the more radically tweaked 4.4.4 ROMs out there built from non-Verizon sources. NuSense is solid as well, but hasn't been updated in a while, is minimally modified, and is based on the oldest of the lollipop releases. if 4.4.4 is all you want, Clean ROM 3.0 was a solid runner for me.
If you can do your own mods then I would go with Lollipop as you don't need xposed if your looking for stable stick to 4.4.4 for now.. Make sure you upgrade your firmware before if you haven't as you r still on 4.4.2 ROM I'm taking a guess your haven't updated firmware.
Tigerstown said:
If you can do your own mods then I would go with Lollipop as you don't need xposed if your looking for stable stick to 4.4.4 for now.. Make sure you upgrade your firmware before if you haven't as you r still on 4.4.2 ROM I'm taking a guess your haven't updated firmware.
Click to expand...
Click to collapse
What do you mean by doing your own mods? Short of coding them, I'm not sure how one would go about getting Samsung Milk to work, or cleaning up the Notification menu, or a bunch of other things that just aren't commonly built into customized ROMs. If you do know of a way to get such things working in Lollipop, do let me know - I'd then be able to make the switch!
godhamba said:
What do you mean by doing your own mods? Short of coding them, I'm not sure how one would go about getting Samsung Milk to work, or cleaning up the Notification menu, or a bunch of other things that just aren't commonly built into customized ROMs. If you do know of a way to get such things working in Lollipop, do let me know - I'd then be able to make the switch!
Click to expand...
Click to collapse
I was just saying if you know how to decompile apks an make code changes an recompile your make your own mods.

What makes a ROM special ?

Hi,
Guys I want to know what makes a certain Rom special/better than others ?
I'm kind of new in this, the roms I've built right now are all built upon the stock Rom of my phone.
The only differences between my roms and the stock are ringtones, fonts, apps, boot animation, themes, wallpapers, etc like all the basic things.
I'm not finding this interesting, I wanna make something of my own.
How should I do this ? By using the Google source as a base in the kitchen ?
If its possible from where should I download this source code?
You guys must have figured out by now that I'm a noob
I'm not sure but I could be lost, so any help will be greatly appreciated
PS is there any internship thing here on xda, to which one could to apply and learn how to build a Rom from scratch/Google source.
PPS I'm tired of flashing my own phone every time i wanna test my build, is there a virtual box for flashing ROMS ? Like Genymotion but its for apps....
Thanks

Categories

Resources