{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ever wanted to compile/build an android kernel ? But don't want to learn all the commands ? Then here comes a tool for you "Kernel Buildinator". Now, no need to learn any commands. This tool is focused on automating as much part as possible of Kernel compiling process, from setting up build environment and downloading required packages to making a flash-able kernel zip. This Script can be used by both NOOB's and PRO's I hope you will like my work.
What features this tool provide ?
⦿ Automated Build Environment Setup
⦿ Automated CCACHE Configuration
⦿ Cloning Kernel Source & Toolchains
⦿ Compiling The Kernel (OFC )
⦿ Making A Flashable Kernel Zip
How's this different from other kernel building scripts ?
As far as i know, to use those scripts we need to manually download kernel source and toolchains and some of the scripts doesn't work for everyone because they are made by devs for their personal use. I might be wrong though.
Instructions to use :-
1. Clone the script from Github
2. Give execution permission to all scripts inside Kernel_Buildinator using "chmod +x" (Only if required)
3. Start the script using bash "setup.sh"
4. Fill all the asked questions
5. Sit Back and see the compilation happening
Note: Only "setup.sh" should be used to start the process or you might break something
FAQ:-
Q. What is a kernel ?
=> This might help you: KERNEL
Q. Does this support Clang ?
=> Yes, it does support Clang and can be selected while on the setup screen
Q. I am getting errors, what to do ?
=> If the error is related to the script then please let me know and i will try to fix it. But if it is related to kernel source then you have to solve it yourself as this tool/script is only intended to build/compile the kernel.
Source Code:https://github.com/SiddharthBharadwaj/Kernel_Buildinator
I would like to thank :
@osm0sis for Anykernel
@rebenok90x for https://github.com/rebenok90x/kernel-builder
@dhruvcburman for helping in debugging
Sorry if i forgot someone !!!
Liked My Work ? Want to support via donating ? Then just donate me a build server or You can Donate via :
PayPal: https://www.paypal.me/SiddharthBharadwajYT
UPI(Only for Indian Users): [email protected]
Reserved
Noice
Related
I'm using MIUI rom for my Nexus S. I have tested Netarchy kernel, the most complete of his genre, but it give me stability issues.
I want take the default android kernel and add some non-invasive features like overclock, bln, etc. wich let's MIUI run stable.
My problem is that i don't know how i can edit a kernel. Unpack .img files, decompile and recompile them.
Anyone can help me with a small introduction?
Thanks a lot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
dario3040 said:
Click to expand...
Click to collapse
seems like a reasonable request :S
I have to laugh?
fede91it said:
I'm using MIUI rom for my Nexus S. I have tested Netarchy kernel, the most complete of his genre, but it give me stability issues.
I want take the default android kernel and add some non-invasive features like overclock, bln, etc. wich let's MIUI run stable.
My problem is that i don't know how i can edit a kernel. Unpack .img files, decompile and recompile them.
Anyone can help me with a small introduction?
Thanks a lot.
Click to expand...
Click to collapse
first of all, wrong section..even though it is about "development"...still a question
anyways, there is no way to "edit a kernel" they have to be built from source. changes need to be made before you compile it.
there are many threads here on xda with tutorials -search >compile kernel<
a simple way to start is seach >mkbootimg< normally this would be compiled from source as well but there are a few threads that people have posted tutorials of the ins and outs and have packages for download.
basically with that you can "split" a boot.img separating the ramdisk (specific to the rom) and the kernel...then merge "your" miui ramdisk with a working (or built for other rom) kernel
You can start here:
http://forum.xda-developers.com/showthread.php?t=1039854
Moved to Q&A.
So I'm currently coding a One click AIO rom cooker for ALL OFFICIAL CM supported devices (if it's on the CyanogenMod Downloads page, it'll be included).
Pretty much all you have to do is:
1) Download the folder from my github (link will eventually be included in the thread)
2) select your device
3) Select your version of CM (CM7, CM9 or CM10). IF IT IS SUPPORTED OFFICIALLY (a one click compile CM10 for a HTC Wildfire is outside my coding knowledge and patience level)
4) Set Options (Name your mod, Compile a custom kernel or use stock, copy the rom to your SD card and reboot to recovery, etc)
5) hit go!
It will:
Set up your Linux install (should work for Ubuntu and Debian)
Download the CM Source
Download the required files for your specific device (provided it can be found in the CM repository)
Build the rom
If selected compile Kernel and then recompile including the new Kernel
Copy the rom to an easy folder for you to send to your SD card (or have it do it for you)
Should be easy to update, just repo sync, then recompile (I think)
Easy debugging. All errors are automatically logged to a easy to find file.
What does everyone think of this? I'm aiming to have it released around Christmas, At least a beta version (may not support all devices out of the box, but I will keep working to add more (I need to test each and every device to make sure the cooker works). This will be released under some open source license (currently researching)
Here's a screenshot of what I have working so far (not much but it's a start). It's based on the layout of Android Kitchen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Info:
~ This project was originally started by me a long time ago, its been in different locations as different things, and its been written in many different styles.
~ So what is it? Well its a bash script/scripts/project/modular-project (this is how fragmented it is ) that were working on to be an all in one shell based application, currently we have a tonne of features in it and alot in our minds but we just need to get it down in the script.
~ So why post about it here if its still super alpha and not even 100% working!? Well cause we need developer help, anyone who wants can pm me or post here and ill add you with read access to our repo's , from there on you can create pull requests and help us refactor and clean up code.
~ Currently the project maintainers consist of me and @DeicPro , theres also @luca020400 who's contributed to cleaning up alot of the code. So we would love anybodys help! Even if you cant be on github constantly creating pull requests, at least pm me and ask to join the "dev" group since we can chill + it looks super cool to have a busy project
Source:
https://github.com/HybridMod
Setup:
~ This is the setup guide, you can either use the google repo tool guide and setup and use via that way, however you wont be able to do anything via git that way... The recommended way is below.
Recommended way:
Code:
mkdir -p ~/Scripts/HybridMod/
Code:
cd ~/Scripts/HybridMod/
Code:
git clone https://github.com/HybridMod/roomservice
Code:
cd roomservice
Code:
./repo_sync.sh
Now the repo_sync.sh will take care of cloning all the necessary scripts and etc...
Additional Notes:
Anyways thanks for the help if you do help, and enjoy!
banner-credits: idk , found on the google imgs, plis dont sue me ;-;
FAQ
Q: Do penguins have knees?
A: http://bfy.tw/LLo
reserved ^^
I think I'm really close to building the kernel for the P9 Lite, but now I am stuck at the Hisilicon driver.
[edit] Compilation succesful! People, feel free to use this updated version of the kernel source and do whatever you want with it. It's been carefully upgraded as you can see in commit history.
( initially I forgot to include $ make ARCH=arm64 O=../out merge_hi6250_defconfig , doh, RTFM)
Edited source code at my repository https://github.com/twicejr/HUAWEI-P9-Lite_OpenSource
( Props to paulobrien for the idea and great tutorial on P9 http://forum.xda-developers.com/p9/development/how-to-build-kernel-huawei-p9-t3373617 )
I've copied the p9 kernel config, because I didn't know how to do it from the p9 lite kernel image.
I've used paulobrien's code to see how I would proceed... all I did was copy the p9 kernel config, and put it on top of the source code from Huawei:
http://download-c.huawei.com/downlo...oadId=80203&version=318922&siteCode=worldwide
Then I have applied all the linux kernel patches for 3.10 from https://www.kernel.org/pub/linux/kernel/v3.x/
- it included manually patching lots of files because they failed in automatic patching
Maybe someone else with more experience can use my source code, fork it or take it over from me :angel:
I'd love to help and learn more too. I am a linux webdeveloper, willing to learn more about c, etc.
The main goal for me would be to provide a better kernel and eventually integrate more features, like undervolting
https://www.dropbox.com/s/xce4l3uuzmcbf0u/boot.img?dl=1 Download boot image here !
It will work on the P9 Lite only. My device is a VNS-L31 , but the kernel source is universal. I suppose VNS-L21 will work as well.
Please backup your boot image first ( I used flashify)!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks, that's great!
Hello
If we flash this kernel we Will lose root??
@twicejr 3.10.103 upstream is out
Link?
BadWolfYe said:
Link?
Click to expand...
Click to collapse
https://lkml.org/lkml/2016/8/31/782
Hello,
Build: VNS L31C432B151
Emui: 4.1.1
Android: 6.O
I need a custom kernel to flash around, can there anyone help me ?
Most of all for the most current version 151 .
That would be very nice.
hello! can you please take a look if you can add Multirom support to the kernel? @Meticulus already booted cm13 on p9 lite and it would be nice if we could dual boot emui with the cm build... thanks!
How was it? Something specifically improved after installation?
With Google releasing monthly patches (which I believe is a good thing!), it's become a bit of a chore to install updates, especially so if, like me, you have a modified device stopping you installing OTA updates.
I wanted to do something to make it a bit quicker, so I made Nexus Flash! I guess you can think of it as minimal ADB & Fastboot packaged with a GUI.
I've decided I don't like the GUI layout, and I'm pretty sure most will agree, so I've already started working a new layout, bug fixes, and adding some extra features which I'm sure some may find helpful like an update manager (so you don't have to go to Github every time there's a new version), another example is a way to boot an image file too, for instance, Chainfire's CF-Auto-Root.
Currently, there isn't much validation of user input, so please only use it as intended for now. It shouldn't break your device if you don't use it correctly since ADB has built in measures to validate files to some degree at least.
However, I have to say, this program is provided without ANY warranty or guarantee. Using this program is at your own risk. I have tested this on my own Nexus 5X and it works perfectly.
The source code is released under the GNU GPL (General Public Licence) and can be found on Github.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Prerequisites for Windows:
You'll need the .Net framework 4.5.2 installed (Windows 10 already has this).
Prerequisites for Android device:
Your device must have an unlocked bootloader.
You must have USB debugging enabled.
You'll also need the Android ADB USB drivers installed too.
Guides can be easily found by searching for them, there's plenty of them around!
Links:
Binary - Github releases
Source code - Github
Issues or feature suggestions - please direct them to Github (preferred). Or simply create a comment on this thread.
Release notes
Version 1.0.0
Initial release!
I've had to delay writing the new update for this (because life gets in the way), but I promise I will get an update out ASAP!