kernel help - Ascend Mate 7 Q&A, Help & Troubleshooting

so i keep seeing some post this kernel source for the mate7. i have heard that its for kitkat and not LP, why does this matter? does the kernel change with every android version?

Related

[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:

[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.

[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.

Need Help from kernel developers.

I'm compiling new kernel to Color os from pmehra , but im stuck at hotplugs
I'm trying to add Alucard, Bricked and msm_limiter
but it gives errors like "Undefined expression,etc"
so can anyone help?
ps: The kernel is based off oxygen os original source and AOSP.

Kernel Source Needed

Anyone can give me the latest nougat(34.4.A.1.54) kernel source code? I couldn't find it anywhere. I want to build a kernel for the stock nougat with features and try to save idle battery.

Categories

Resources