Building android from source - General Questions and Answers

Dear all,
I was wondering, if I build Android from the AOSP source (and build in all the kernels etc. so it works on my LG G4), will all the security patches be applied by Google, or will I have to do it manually?
Thanks for your help (I'm new to building custom roms)

Related

[Q] Where to find Kernel Source for CyanogenMod 9 v4.0.3 v2.1?

Good Evening,
I am modifing the kernel source (the wifi part specifically) working on a CM7 system and I want to migrate to CM9 because of the improvements on the system and kernel.
I know I can get the CM9 source code from CyanogenMod Github repo, but the kernel comes pre-compiled. So my question is:
Where I can find the "official" kernel source code that comes with CyanogenMod 9 v4.0.3 v2.1?​
KalimochoAz's samsung-kernel-crespo repo has been last updated 2 months ago, so I guess the kernel updates must be somewhere else.
Thank you in advance,
Renzo

[Q] Are Cyanogen devices tree compatible with AOSP ?

Hi all,
I've a question for you guys.
I've a SG3 (i9300), I'd like to know if using the cyanogen device tree for my device (located here) is possible to build AOSP source code.
if yes, then it looks like that would be possible to compile Lollipop AOSP for my device.. am I right ?
Thank you very much.
Cyanogen IS AOSP... Lol. Its AOSP with added features. If that's not an Android 5.0 lollipop kernel source, then it won't boot out of the box. Your best bet would be to get some Android 4.4 kernel source and do ramdisk edits and what not needed to get an Android 5.0 ROM booting. Alternatively, if your device is CM supported, I know they were talking about releasing CM12 soon, you could just hold out to see if your device is supported. Outside of CM, many custom ROMs (AOKP, Pacman, etc.) Take it upon themselves to release ROMs as well. Example: PACman had a 4.4 custom ROM out and in circulation, even before cyanogenmod, so u never know!
mingolianbeef said:
Cyanogen IS AOSP... Lol. Its AOSP with added features. If that's not an Android 5.0 lollipop kernel source, then it won't boot out of the box. Your best bet would be to get some Android 4.4 kernel source and do ramdisk edits and what not needed to get an Android 5.0 ROM booting. Alternatively, if your device is CM supported, I know they were talking about releasing CM12 soon, you could just hold out to see if your device is supported. Outside of CM, many custom ROMs (AOKP, Pacman, etc.) Take it upon themselves to release ROMs as well. Example: PACman had a 4.4 custom ROM out and in circulation, even before cyanogenmod, so u never know!
Click to expand...
Click to collapse
Hello, thanks for your answer.
I'd like to know this only for learning purpose, I'm not going to compile the AOSP
What I don't understand, is why adding the device tree to the lollipop AOSP is not sufficient to boot out of the box, can you please explain this in details ? Many thanks.

[aosp project][custom rom developement]

Hi guys!I want to become an android developer and I know about the AOSP project,but I have not found based of android versions.I want worker on ICS ROM for galaxy pocket(GT-S5300)or cyanogenmod 9,but on a "pure"ROM,without any modification,like nexus android version,for worked on it and optimize for any devices.
1)How I can optimized an android version like Nexus devices for a specific device?
2)Where I can download the necessary for a ROM or a ROM to be optimized?
Thanks
Simply start by downloading cori's source and aosp android of your choice, then edit & merge things from source to aosp then compile.

[Q] possible to recompile Franco's r63?

Hi,
I'm on OmniROM 4.4.4 with Franco r63.
I want to apply this patch: https://github.com/pelya/android-keyboard-gadget
but I can't seem to find any way to download the r63 release source.
I should mention that I'm new to compiling android kernels (but I have compiled regular linux kernels back to 2.0.x versions)
Thanks.

[Q] Building first ROM from AOSP non Nexus, a couple of questions

Hi all,
I want to build my first rom. I'm a software developer (Java and Web), but my Linux knowledge is somewhat intermediate.
I have a Moto G4 Plus laying around. Here's what I have done so far:
1. Downloaded the AOSP source from Google for android-7.0.0_r15 (Nougat)
2. Found the Kernel Source for the Moto G4 Plus (Nougat)
I'm stuck at adding the device's kernel source to the AOSP source. How do I combine the two?
Here's the link for the kernel source: https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-NPJS25.93-14-10
I've tried looking this up online but the results are very limited.
As far as I understand this kernel source provides everything I need to make the ROM compatible with my device, right?
Could someone point me to the right direction?
Much appreciated.

Categories

Resources