Kernel compilation - Samsung Galaxy S7 Questions and Answers

Hey,
I have compiled kernel for Galaxy s7 Oreo. But here is problem because of all my compiled kernels for Oreo are too big.
Is there any possibility to compress kernel or boot.img before flash or another way to make kernel smaller?

Related

[Q] Update custom rom

Hi, i'm new at the forum and i'm customizing a cyanogenmod rom from source for Galaxy S4. To test new functionalities, i'm building each modified module with mm, but when i'd like to release a rom zip file, i have to rebuild the entire source. Does any one know if is there a way to just repackage the rom zip? (when i use brunch, it build every thing, it's not even differential).
Thanks.

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

Compiling Custom ROM with Prebuilt Kernel zImage

Hi,
:cryinglease tell me how to compile custom ROM with prebuilt kernel zImage without compiling the kernel from the source. I am compiling resurrection remix for Samsung Galaxy Grand (i9082).
Thanks in advance!!

custom kernel to aosp

Hello
I want to make a custon rom for my device, I have its kernel modified for my requirement, but I don't know how to add it to the aosp before building the OS.
Any help guys ?

Categories

Resources