How to build cm with custom kernel - Xiaomi Redmi Note 3 Questions & Answers

Hey all,
I am trying to learn a bit about building android. I want to build CM but with a custom kernel (radon by umang).
I used the tutorial that is in the cm page for kenzo, and all is fine.
However, I want to build it with radon kernel.
I understand I have to create a local manifest, and specify the device tree,vendor and kernel and sync it such as in this guide
: http://forum.xda-developers.com/che...evelopment-t2814763/post54118804#post54118804
However, trying different things, I just keep running into different errors, could someone help me to specify the local manifest properly? If there is any mistake in my thinking, I am just trying to learn, so if i am looking at it wrong please guide me in the right direction.

Related

[Q] How to do the "ninjamerging"

Hey, I really need help to realize some things about compiling rom from source.
I already read many posts about "how to", but none talks about it ... I already have the environment ready, I have done all the sync, however I want to compile android L. As we all know many kernels and device tree are still kk. I wonder how do I make the transition between kk for lollipop.
I have two manifests already sync : android-5.0.0_r2 from AOSP and android-5.0 from OMNI. Also have the device tree and kernel for my phone at kk.
Anyone knows how to do this "merging" ?

[Q] Compiling CM7 - How to and prerequisites

Hello,
first of all, sorry if I mislook another similar thread, but even Google didn't find anything, I'm going to ask maybe simple question:
How to compile a CM7 ROM from source?
The reason why I want to compile it on my own is that bieltv has stopped developing, as well as compiling completed ROM. As he stated it on his blog (http://bieltv3.blogspot.cz/), user will have to compile it on his own. I've decided to do that, unless there is already compiled ROM.
Another reason why I'm asking is that I've found lots of threads about compiling it, but all of them were for different devices, my intension is to get a how to specifically for S5830i.
I'm aware about having a Linux box for that, for that reason, I have a Linux server to do it.
I want to just compile it, no other modifications.
Thanks in advance.

[QUESTION] How do you make custom ROM?

Hi,
I wanted to ask this in other subforum, but this is my first post and I don't have permission there. Do you have a guide to recommend for creating custom roms?
I know a lot about Linux, I can compile kernels, patch, I know C a little. I programmed couple of Android apps, in Java and Go, so I guess I have some basic knowledge.
What do you guys do, with what source do you start? Is it a stock android source but you modify kernel and modules or you need first to find exact source for that phone?
For example, I own a Lenovo A560, and would like to try build custom rom for it. What would be the first steps?
Thanks,
Milan

Resources/tutorials on how to port custom (eg. franco) kernel to a new device?

Hi all!
I've been looking for resources or tutorials on how to port a custom kernel like franco kernel to a currently not supported device, but seem to not be able to find any.
I'm a programmer myself, although I'm not very familiar with C, I think I'm still comfortable to make some non-drastic changes to the code. I've never worked on kernels or OS before, but it's going to be fun to learn new things. Since my goal is just to port an existing kernel, I think it's not going to be too hard in comparison to adding new features to the kernel.
I currently have a phone with already released OEM kernel source code, and would like to start with porting a custom kernel to it.
Thanks in advance to anyone who can point me to the right direction!

Working on/building more than one custom ROM

I wanted to learn about some best practices about working on more than one Custom ROM (for the same device), I already have a working LineageOS build environment for my device (kebab).
I want to get to see how building an other ROM differs from the LineageOS building process, if a ROM has any sketchy Google requirements I don't like, and how functional a ROM is when building it with the device trees and kernel sources provided by LineageOS. Don't worry, I don't want to create buggy binaries of 10 different ROMS, post them on XDA and abandon them after two days. I just want to get more experience and try to build other ROM's myself, and to see what modification are required for a ROM port.
Is it possible copying some source code from my working LineageOS building environment so that repo doesn't have to re-download everything?
Is it okay to use the same ccache for both ROM's, so that I don't to re-compile binaries these both ROM's share? (As of my understanding, ccache keeps my build times lower when re-building a ROM, is that right?)
Any other tips about managing multiple building environments are appreciated! Thanks!

Categories

Resources