[Q] Building Android 4.4.x custom upgrade - General Questions and Answers

Hi experts,
I'm new to building Android ROM. So please correct me if anything doesn't make sense
I have a device that's currently running Android 4.2.2 (Amlogic 8726-mx). I have all necessary source code including uboot, kernel, 4.2.2 source.
I have two questions
Can I use the existing kernel, uboot source code and merge with the Android 4.4.x source code from google?
If yes, is it just simply replacing the "system" folder and then run make command to build? If not, can anyone point me to the right direction?
Thank you all in advanced

Related

Please Help: Cyanogenmod for new device: I have compiled and build kernel from source

Hi Friends,
I am having Micromax A75, which is MT6573 having Armv6 running on 2.3.6 Android.
As this handset is not supported by Cyanogen, but i want to create a custom ROM for this handset.
I have downloded around 26GB of cyanigen source code repo and 600MB of kernel source.
I have build the kernel successfully. but i dont know what to do next.
1. From where to get running ramdisk? and to pack it with my zImage
2. After Step above, How to port cyanogenmod on my handset.
Please help me.
Thanks in Advance.

[Q] How to build any android version source code and flash on any device?

Firstly,apologies if this is not the right section.
We all know that android source code is available.So my question is how can I build the source code and install on any device?For example if I have an old device for which updates are not available.Can we just flash it with any android stock rom?Not talking about custom rom.
Can we take the source from github and just build and flash on our device?Because android is hardware independent? Like we can install ubuntu on any system?

[Q] Building stable rom with kernel sources

Hi, may I ask somebody experienced with ROM building, if it is possible to build fully functional and stable build from AOSP sources if i have kernel sources for my device from vendor?
Nigfire said:
Hi, may I ask somebody experienced with ROM building, if it is possible to build fully functional and stable build from AOSP sources if i have kernel sources for my device from vendor?
Click to expand...
Click to collapse
Hi, yes. I've compiled lollipop nexus4 from aosp in ubuntu 14.04.1 x64 in vmware.
I've downloaded the source, included the proprietary files, and compiled android, compiled with make and make otapackage to generate the zip.
After that i've rooted the device, installed twrp.
Finally, i've downloaded the source kernel and compiled to generate the .img. I've flashed this to the device with fastboot, and
yeeeeeeh perfect!!!
obviously, after this, i've downloaded the gapps and installed.
But, which version would you compile? And which device? All the sources are available and open source?
i wana make AOSP build for Huawei Ascend G6, I have only kernel sources from vendor... I suppose that kernel will work with any version of android or not?
Nigfire said:
i wana make AOSP build for Huawei Ascend G6, I have only kernel sources from vendor... I suppose that kernel will work with any version of android or not?
Click to expand...
Click to collapse
Ok, you have the sources, very good.
mmm, i'm not sure that every kernel + android combinations work perfectly together.
For example, on my nexus4 i've kernel 3.4 and lollipop. Now, if android lollipop requires some modules/functionalities/"other magic stuff" to work properly from the kernel, and you install kernel 2.x.x without this feature, probably you'll have problems.
I mean, i'm not sure, but is only a logic hypothesis.
You can solve this problem using the latest official version of android from Huawei and your compiled kernel from Huawei sources. If this works, try to update android to another version with a custom rom. It works? Perfect!, It not works? Damn, restore the backup and use another older android version
To build android/kernel you must transform into a researcher :laugh:

Build custom ROM mediatek with android one source

Hi,
I have a Wiko RAINBOW,
I want to build cm11 from android one source.
But I don't know how, I read I need to compile kernel first but how ?
I have linux with cm11 source code and sprout device,kernel,vendor source.
And I also have wiko (partial kernel) source from wiko geek.
But where I need to start ?
Thank you.
We need developer wanting to work.
The source code for kitkat certainly is complete. I did tests with jelly bean source code and this worked perfectly when I flash my rainbow.
KitKat 3.4.67 Source Code

[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