Compile Your Own Kernel - XDA Forums
Compile Your Own Kernel - XDA Forums
say99
Senior Member
Feb 4, 2016 #1
COMPILE IT YOURSELF
Hey everyone, you might be knowing me well
Code:
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 1/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
sudo apt-get update
openjdk-8-jre-headless : http://packages.ubuntu.com/vivid/openjdk-8-jre-headless
openjdk-8-jre : http://packages.ubuntu.com/vivid/openjdk-8-jre
openjdk-8-jdk : http://packages.ubuntu.com/vivid/openjdk-8-jdk
Log in
Code:
New posts Manufacturers What's new Search forums Members
sudo apt-get update
Code:
Code:
export ARCH=x86_64
export CCOMPILE=$CROSS_COMPILE
Code:
#I keep changing my toolchains, you can put this line in bash.rc if you dont want to change your toolchain
lets COMPILE
cd where ever you cloned your sources
Code:
make cyanogenmod_zenfone2_defconfig
Code:
make x86_64_moor_defconfig
Code:
make menuconfig
Code:
./buildzf2
#this will produce a flashable zip for all variants and I consider you all to study up the script
Code:
make -j4
copy your bzImage image in boot folder, delete zImage and rename bzImage to zImage
if you open ramdisk you will notice that the link to charger is broken (I had this problem)
type :
Code:
./make_boot
all thanks to @TheSSJ , changing name and all : no I wont tell you, explore the world
Adding features???
there are numerous guides on adding features to the kernel google them out and start contributing and make our
zenny grow more
dreckneck, Raj.S, Axl_Mas and 20 others
kjinx01
Senior Member
Feb 4, 2016 #2
dimitrakhs1
TheSSJ
Senior Member
Feb 4, 2016 #3
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 4/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
3
Aceofzeroz
say99
Senior Member
Feb 4, 2016 #4
TheSSJ said:
nazagan
Nyks45
Senior Member
Feb 4, 2016 #5
great work
Aceofzeroz
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 5/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
Ntrasme
N Senior Member
Feb 8, 2016 #6
Hey, I tried compiling AEL Kernel from source. I already fixed an error in the configuration file that was hardcoded as
Fried's home folder, but I can't find the source of my problem.
The compilation stops after "LD drivers/built-in.o and arch/x86/boot/bzImage Does not exist". There aren't any obvious
errors, any help?
say99
Senior Member
Feb 8, 2016 #7
if you tell us the exact error that will be something like this make error[1] : blah blah
Ntrasme
Ntrasme
N Senior Member
Feb 8, 2016 #8
say99 said:
if you tell us the exact error that will be something like this make error[1] : blah blah
Is there a parameter I can enter to make the compilation more verbose? I didn't get a compilation error, but apparently
the script did not find "bzImage" in the folder. It ended exactly the way I told you. I'm trying it again, maybe it was a
one time thing...
---------- Post added at 09:18 PM ---------- Previous post was at 09:12 PM ----------
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 6/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
Actually, I think I found the error :
say99
Senior Member
Feb 8, 2016 #9
that's really weird, I don't actually remember any changes made to firmware folder, you can use my make file from
firmware folder and try it out
Ntrasme
N Senior Member
say99 said:
that's really weird, I don't actually remember any changes made to firmware folder, you can use my make file from firmware
folder and try it out
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 7/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
say99
Senior Member
Ntrasme said:
Ntrasme
say99
Senior Member
Ntrasme said:
no worries bro, I am home now, will see what all need to be done ASAP
Ntrasme
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 8/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
harpreet.s
H Senior Member
Ntrasme said:
Is there a parameter I can enter to make the compilation more verbose? I didn't get a compilation error, but apparently the
script did not find "bzImage" in the folder. It ended exactly the way I told you. I'm trying it again, maybe it was a one time
thing...
---------- Post added at 09:18 PM ---------- Previous post was at 09:12 PM ----------
say99
Senior Member
harpreet.s said:
Ntrasme and harpreet.s
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 9/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
p
~cyandrew
Senior Member
Sir, will this method work for compiling an alps kernel ? My device is Lenovo A536 and it uses alps as source, which
came with my ROM source
say99
Senior Member
~cyandrew said:
Sir, will this method work for compiling an alps kernel ? My device is Lenovo A536 and it uses alps as source, which came
with my ROM source
set up your toolchain for mediatek i.e. arm if I am right, you get the correct toolchain on hyper-linaro toolchain repo,
and setting up correct path will work for sure
Ntrasme
N
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 10/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
N Senior Member
say99 said:
harpreet.s
H Senior Member
Ntrasme said:
Ntrasme
say99
Senior Member
harpreet.s said:
harpreet.s
harpreet.s
Senior Member
H
say99 said:
Thank you bro , it worked.. successfully booted .. I had left hope after so much effort ... thanks 4 ur support through PM
and this guide..
Share:
Similar threads
[Guide][Lollipop] How to Compile Your own ROM's for the Zenfone 2 Z00A/Z008
Niropa
· Sep 19, 2015
Replies
91 Views
25K kjinx01 replied Oct 7, 2016
【android m 6.0】everything you want about it. Comments, suggestion and expectations.
livewire168
· Nov 17, 2015
Replies
162 Views
39K smokinjoe2122 replied Jan 23, 2016
say99
23
COMPILE IT YOURSELF
Hey everyone, you might be knowing me well
say99
2
harpreet.s said:
kjinx01
1
Excellent work.. And I really appreciate ur nature for helping noobs..
Feb 4, 2016 View
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 13/15
2022/6/28 12:21 Compile your own kernel | XDA Forums
1 TheSSJ
clan crate
1 C
nutcasev1.5 said:
NE W POSTS
How To Guide [TUTORIAL] How To Unlock & Root Tab A7 Lite T220/T225, & Install LSPosed, Magisk,
Mods
Latest: nirogu325
· A moment ago
Samsung Galaxy Tab A7 Lite
General [MIUI Updates Tracker] Redmi Note 9 4G / Redmi 9T / Redmi 9 Power (lime)
Latest: yshalsager
· 1 minute ago
Redmi 9 Power / 9T
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to
make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Crafted by Audentio
Receive the freshest Android & development news right in your inbox!
your@email
XDA - Dark
https://forum.xda-developers.com/t/compile-your-own-kernel.3307932/ 15/15