How to build a custom kernel for EMUI 9/9.1? - Huawei P20 Lite Questions & Answers

Hi ,
I've seen that there aren't custom kernels for EMUI 9/9.1, so it would be nice to build once.
I'm not expert at building kernels, so a detailed guide would be fine:highfive:.
Huge thanks to who will try to illustrate me how do it!
Cheers!

Related

Little clearing about ROM names

Hi,
Can someone make clear to me as a noobie what are the differences between "cores" of the ROMs?
I see there are most favourite ones like "XWLP9" and "AOKP" - what are the differences between them? I see AOKP has more updates from kernel and maybe some other things in addons? Besides XWLP9 seems to me more stable but I only observe rom peoples comments and replys so can someone tell me which ROM core I should be focused on when choosing ROM? Some advices, experiences what you have with them - ADVANTAGES and DISADVANTAGES maybe or something ... I see there are roms like these two from what I want to choose:
http://forum.xda-developers.com/showthread.php?t=1436817
http://forum.xda-developers.com/showthread.php?t=1513150
Thank you for all your advices ...
Drahy said:
Hi,
Can someone make clear to me as a noobie what are the differences between "cores" of the ROMs?
I see there are most favourite ones like "XWLP9" and "AOKP" - what are the differences between them? I see AOKP has more updates from kernel and maybe some other things in addons? Besides XWLP9 seems to me more stable but I only observe rom peoples comments and replys so can someone tell me which ROM core I should be focused on when choosing ROM? Some advices, experiences what you have with them - ADVANTAGES and DISADVANTAGES maybe or something ... I see there are roms like these two from what I want to choose:
http://forum.xda-developers.com/showthread.php?t=1436817
http://forum.xda-developers.com/showthread.php?t=1513150
Thank you for all your advices ...
Click to expand...
Click to collapse
Google is your friend.
XWLP9 is the latest stock/official ROM version from Samsung for the SGS2 (GT-I9100).
So, these kind of ROMs are based on Samsung stock ROMs ... with some customizations (e.g. rooted, some removed bloatware, some custom themes/mods, etc.).
The other kind of custom ROMs have AOSP (Android open source project) or ASKP (Android open kang project).
So, they are either on pure Google Android OS or Linux. Usually there is a team of developers who share their parts/versions in binaries and as source code.
The kernel is kind of "core" of the firmware.
Every ROM contains its own kernel, as this is a basic part of the firmware ... and the phone can't work without it.
You can also flash other (custom) kernels on a ROM.
But not every kernel is compatible with every ROM.
OK thank you I read about these two a lot i needed some experienced opinion and clearing it up for me.
What I basically needed was opinions about these two versions from experienced users. If non oficial and trully open made ROM is better and in what ways or is it better to stay on oficial ones etc. This is what i wanted most from this thread ...

How to build rom

I know Its pretty dumb to ask after seeing a lot of tutorial here, But I really can't understand! My Device is a huawei ascend y300. I have lots of custom rom on various forums. So I wanna built one myself! One of the developer built cm 11 from source and he is rolling out nightly on a daily basis. My interest is to build the cm11 too on my own computer based on his device specific changes he has done. and he has done a lots of changes for our device. Also if I can make any other rom from its source based of his work like mokee rom, or slimbeam etc. ANy help is appriciated. thnk you

Android Lollipop 5.0 ROM on Low and Mid End Devices

I have an idea. My idea is a Custom ROM for Mid end and Low end devices based on Android Lollipop 5.0 but I cannot Port Roms. I Need You. I Need People who can Port Roms.
First I think that the Rom Must have very many stable Performance tweaks because the Rom should be Runs speedy like a SlimRom.
The kernel are a normal custom Kernel with dualboot options. I am still working on a Kernel what Runs with no lags, no bugs and it Runs very speedy and who can works on unlimited systems (dualboot,quadboot,...).
I have Not many ideas, please give me ideas who can idealized.
We can be a large and a good Team :highfive: .
Sorry for my Bad english.
Thanks from Germany
P.S Android Lollipop have Google Not bring it out but When it bring it out then We can porting the rom. We Need many ideas. Please share that on all people who can porting Roms or have many ideas
For kernel build you can ask airidosas252
he made one for kitkat an another for jellybean.
kalel29 said:
For kernel build you can ask airidosas252
he made one for kitkat an another for jellybean.
Click to expand...
Click to collapse
Thank you very much for this tip he Must only answer it
i Need people who can Port roms please share this project

Help needed for Custom Tool chain Troubleshooting !!!

Hi Dear Community,
I'm just a Noob but learning, Pardon me if the question is silly.
I'm trying to Build ROM using UBER toolchain/Hyper Toolchain.
What will be the possible issues on your opinions?
Suppose if I could use CAF sources & Uber toolchain to Build Resurrection Remix Rom,
Is it possible? If yes, what might be the possible issues ?
I'm just curious about how the Experienced devs here think of the topic.
@yuweng , @crpalmer , @BadDaemon , @gopinaidu77 , @jsbeyond
& Also I apologize for tagging if disturbed.
Cheers! :angel:
Doesn't wanna sound rude, just GTS :laugh: but first, learn how to build the ROMs first, toolchains are advance stuff, AFAIK as of now, non works on N, not to mentioned a totally different build system like Soong, Blueprint, Ninja, Kati and Go on N...
Friedrich Nietzsche said:
He who would learn to fly one day must first learn to stand and walk and run and climb and dance; one cannot fly into flying.
Click to expand...
Click to collapse
There are toolchains for kernels, ROMs & latest addition is LLVM/ Clang, below are some custom ROMs with built-in custom Toolchains...
Cardinal-AOSP, you'll need flags like this & this, latest version is not always the best, if it doesn't boot or boots but with alot of FCs then switch to another one...
Tipsy, an Eg. here, Validus, another Eg. here & after you have successfully building it then you can move on to add-in custom toolchains to any custom ROMs, here are few worth reading... :good:
Good Luck...

Q: How to build the custom rom from scratch for joyeuse?

Hi folks,
I have a question. For many years I have been using many custom roms for many android devices (sony, samsung, xiaomi, motorola... with cyanogenmod, lineageos, aospextended, havocos etc etc...). I am the guy who likes tesing any of custom roms which appear in the forums.
For a long time I had a question in my mind: "How the hack the people prepare and build these custom roms, I want to be not only the user, but want to have the skills to build it my own"
Now I have joyeuse and I would like to try to build some custom rom by myself. Do you have any hints, tips, tutorials or howtos, where should I start with learning?
Thanks in advance
Have not done it myself.
But there are many tutorials on xda on how to setup your build environment.
Search on words combinations like: guide, build, compile, ubuntu, windows, ...
Or have a look into the different forum groups.
example:
https://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
...
success!
thanks, but this is kinda outdated
Thanks for help, but I see this is 5 years old tutorial, so many changes have changed on android / miui design
Of course I googled it but not found anything pretty new and explanatory...w
kheno said:
Have not done it myself.
But there are many tutorials on xda on how to setup your build environment.
Search on words combinations like: guide, build, compile, ubuntu, windows, ...
Or have a look into the different forum groups.
example:
https://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
...
success!
Click to expand...
Click to collapse
jackup.pavlicek said:
Thanks for help, but I see this is 5 years old tutorial, so many changes have changed on android / miui design
Of course I googled it but not found anything pretty new and explanatory...w
Click to expand...
Click to collapse
i made a guide years ago. the overall process hasnt really changed just device specific files for the roms
https://forum.xda-developers.com/zenfone2/general/guide-how-to-compile-roms-zenfone-2-t3205312
so you'd ignore anything of the sources i linked for the zenfone and instead replace them with our devices sources. because we are so early on and things keep changing id suggest waiting till we have a proper recovery and are able to build from lineage from scratch.
also small differences in build dependencies like using the latest version of java and what not

Categories

Resources