[Q] cooking my 1st rom - Android Q&A, Help & Troubleshooting

hey guys
i m planning to cook my own rom and i need some help here.
i m planning to build my custom rom based on CM and aokp
i wanted to know about this : it has gappas, i have to edit only base rom right? i dont have to touch gapps if i dont want to theme it ? am i correct?
and i just started learning it , so i m using kitchen
thanks for your time

Yes that is correct. The UI framework that android uses is in the base ROM or system. Gapps just contains the assortment of Google applications that cannot be added into major ROMs directly due to licensing issues (since CM/AOKP source is GPL and Google apps are proprietary). This is why CM/AOKP provide gapps but do not bake into their ROMs from the get go.
Hope I helped!

Think u can make gapps native to your own rom...I've been doing this from far now and never had any problems...the thing is CM can't include them,you're not cm...anyway you can theme as much as you like them,but will have to make your own zip path for users...it's not as difficult as it sounds, you can even take meta-inf from original path and just compile and sign it
Sent from my MB860 using XDA

Related

[Q] can we make our own roms???HOW???

I Am INTERESTEd IN MAKING roms for defy...i just dunno d procedure
how to make custom.zip and update.zip which can be flash only in custom recovery???
how to edit apk files and tools needed to make it work.???
PLZZ help me out guys....seriously want to build roms for defy....
me too! i was a symbian cooker and now I would make my own rom for defy...but I don't know what tool to use
im not a developer myself but from what i understand, for our phone we can make 2 kinds of roms:
-aosp (android open source project) like cm7, miui and its variants. For this you need to know how to code, compile and debug the android os.
-roms based off stock roms like ms2 ginger etc. For this type you dont have as much flexibly as aosp roms as you dont have source code and this is more or less like cooked roms on wm or symbian.
As for guides on how to get started go over to the main android section in xda. They are a good number of guides if you search properly
http://forum.xda-developers.com/showthread.php?t=1441844
double thread...

Rom-making the begining

Hi all! I am very interested in such theme, as making rom for my device. I'm sure there are people who can give me link or advices where I can get info about it, download different sources of different android versions, articles about someone's practice of rom making and so on. Thank you for help.
I use dsixda kitchen (http://forum.xda-developers.com/showthread.php?t=633246) to make my own custom roms. I also managed to port a rom from Nexus One to HTC HD2 with it (all was working except WIFI).
You can also look at freeyourandroid.com, there are very good tutorials to learn how to make a custom rom.
if your making themed rom and your rom based on cm7 then yo can use this
persist.sys.themeId=
persist.sys.themePackageName=
build.prop tweak if you just copy and paste this line on end of build.prop and add name of your theme that for your rom example
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
but make sure this theme on system/app folder if not then it will not work
and if you are thinking to port rom on your device then you can find many guide to port roms on xda and google
u should read:
[Tutorial][How To]Make your Own Custom ROM ~~ By NeroYoung ~~ (Work In Progress)

[Q] Compiling AOSP

Hello,
So my brother bough a chinese smartphone. Many chinese apps where preinstalled and I have been able to remove them, so you wouldn't notice it is a chinese device. However it would be neat if this phone would have proper AOSP.
The current ROM is almost AOSP, minor modifications have been done. This made me curious, would one be able to compile AOSP from source, and use the original kernel (if compatible)? Is a kernel extractable from a ROM to be used in another? Do you need the sources from the manufacturer in order to succesfully build AOSP?
Please note I'm not trying to do this, I'm just curious if it could be done. I have done a fair amount of research but most of the tutorials are about compiling kernels, something I DON'T want to do.
_Roysten said:
Hello,
So my brother bough a chinese smartphone. Many chinese apps where preinstalled and I have been able to remove them, so you wouldn't notice it is a chinese device. However it would be neat if this phone would have proper AOSP.
The current ROM is almost AOSP, minor modifications have been done. This made me curious, would one be able to compile AOSP from source, and use the original kernel (if compatible)? Is a kernel extractable from a ROM to be used in another? Do you need the sources from the manufacturer in order to succesfully build AOSP?
Please note I'm not trying to do this, I'm just curious if it could be done. I have done a fair amount of research but most of the tutorials are about compiling kernels, something I DON'T want to do.
Click to expand...
Click to collapse
It is definitely possible, but will take many hours of work of you want to achieve a stable daily driver state. Usually the kernel will need modifications to make it work with the AOSP ROM.
Sent from my SGH-T999 using Tapatalk 2
Say the rom uses a kernel that works with AOSP, can one build the Android OS using the already compiled kernel from the device?

[GUIDE] Using SuperR's Kitchen to create a Google Pixel style ROM from CM14.1

As a fan of Stock Android, I thought I would create a Pixel style custom ROM using SuperR's kitchen - adding in all the Google services and apps and removing any unwanted or duplicate CM functionality - and document the process as I go on my Blog.
The tutorial provides a step by step guide to creating the ROM, on a base of Ubuntu 16.04. In my case I was producing a ROM for the Xiaomi Redmi Note 3 Pro, but the process will be the same for any phone with a CM14.1 build. Indeed, with only minor alternations is is suitable for any modern version of Cyanogenmod.
Feel free to look over it and perhaps give it a try. All feedback welcomed!
Building a Google Pixel style ROM for Kenzo using SuperR's Kitchen
I was looking for a guide on how to build a custom ROM for my Pixel and found this.
Sad that it's just a guide to build a non-Pixel ROM to look like a Pixel.
But wanted to give you a bump and say thanks for sharing your work with the community. :good:
CZ Eddie said:
I was looking for a guide on how to build a custom ROM for my Pixel and found this.
Sad that it's just a guide to build a non-Pixel ROM to look like a Pixel.
But wanted to give you a bump and say thanks for sharing your work with the community. :good:
Click to expand...
Click to collapse
Well !! instead of extracting whole system using this kitchen, u can flash Gapps aroma on the current ROM and remove un necessary apps directly during the installation .
I was saying this because I used the tool to build pixel based ROM but what we did is the exact replica as above . it was like decompile system.ext4.dat file .. Adding Gapps to system and a little debloat .later repack everything to zip and flash .
But , this tool is really wonderful , great work . u can extract any ROM . even u can make flashable zip of stock ROM using this tool if u have some knowledge in decompiling .img files .cheers .and thanks to the dev
Sent from my KIW-L22 using Tapatalk

Can we port some features of one Rom to other Rom

Is it possible to port some particular feautres of any given Rom to another Rom(say Stock android rom) keeping all the properties of the Rom remain same.
Explanation:
Let us say we need some features of a MIUI and some other features of EMUI, Is it possible to add those features from those roms to the original Stock rom or Some other Roms of the mobile.
Also Is it possible to make the Rom of some other mobile (which has similar specs that of my mobile ) to work on my mobile..
Actually I am just a noobie & newbie to the field of porting Roms, I had these doubts stuck up in my mind from long time.
Some people extract the APKs from specific ROMs (for instance, I managed to get MIUI's Ambient Doze working on a different ROM) and install them on other ROMs.
However, that isn't always the case because some mods have been built into system APKs such as the SystemUI apk.

Categories

Resources