FORUMS
Remove All Ads from XDA

[REFERENCE] How to compile an Android kernel

13,732 posts
Thanks Meter: 50,790
 
By nathanchance, Recognized Developer / Recognized Contributor on 26th June 2017, 05:38 AM
Post Reply Email Thread
21st December 2017, 02:33 AM |#121  
Senior Member
Flag Dinajpur
Thanks Meter: 228
 
More
Thanks you soo much sir for help us kernel things......i halped alot from you,will write a kernel for my devices, i will take ur help if i'm mistaken some steps😝
Helped alot sir
The Following User Says Thank You to Nurujjamanpollob For This Useful Post: [ View ] Gift Nurujjamanpollob Ad-Free
23rd December 2017, 01:23 AM |#122  
zainifame's Avatar
Senior Member
Flag Bandar Lampung
Thanks Meter: 130
 
More
Sorry, does anyone know how to extract kernel tarball contain linux permission and symlink file or folder on internal/local android storage? I've extracted kernel from lenovo oss but I've problem with loosing actual permission and symlink from compressed kernel oem provide, thanks

Sent from my Redmi 3S using XDA Labs
30th December 2017, 06:24 AM |#123  
nikkali25's Avatar
Senior Member
philippines
Thanks Meter: 299
 
More
What is the difference of this two

arm-eabi-4.8
And
arm-linux-androideabi-4.9


Because icant fjnd arm-eabi-4.9
30th December 2017, 07:48 AM |#124  
kevintm78's Avatar
Senior Member
Flag Bluegrass State
Thanks Meter: 2,324
 
Donate to Me
More
Quote:
Originally Posted by nikkali25

What is the difference of this two

arm-eabi-4.8
And
arm-linux-androideabi-4.9


Because icant fjnd arm-eabi-4.9

This is the one I used for arm-eabi-4.9.
30th December 2017, 08:11 AM |#125  
nikkali25's Avatar
Senior Member
philippines
Thanks Meter: 299
 
More
Quote:
Originally Posted by kevintm78

This is the one I used for arm-eabi-4.9.

Thanks
5th January 2018, 05:16 AM |#126  
Ani96's Avatar
Senior Member
Flag KOLKATA
Thanks Meter: 98
 
Donate to Me
More
How can I under-volt my kernel . ? Where I can find that script in kernel source? Thanks. .in adv
5th January 2018, 05:23 AM |#127  
Uzephi's Avatar
Recognized Contributor
Flag Phoenix
Thanks Meter: 1,852
 
More
Quote:
Originally Posted by Ani96

How can I under-volt my kernel . ? Where I can find that script in kernel source? Thanks. .in adv

That really depends. Also if you have to ask, you probably shouldn't attempt it.

E.G. my device's dtsi for voltages and clocks are at " arch/arm/boot/dts/qcom/msm8998-v2.dtsi" If you don't have a pixel 2, 2 XL, OP5 or Z2 force, do not edit that file, it'd be useless. Each chipset uses a different dtsi file.
The Following User Says Thank You to Uzephi For This Useful Post: [ View ] Gift Uzephi Ad-Free
7th January 2018, 01:30 PM |#128  
NepoRood's Avatar
Forum Moderator
Flag Bugtussle
Thanks Meter: 3,607
 
Donate to Me
More
Awesome, built my first "stand alone" kernel! And it Boots! Woot, Woot!
The Following User Says Thank You to NepoRood For This Useful Post: [ View ] Gift NepoRood Ad-Free
7th January 2018, 11:01 PM |#129  
hightech316's Avatar
Senior Member
Thanks Meter: 192
 
Donate to Me
More
Great write up!

I've followed the steps and attempted to compile for galaxy j7 exynos 7580 kernel.

Ran into some errors, ended up getting past them to only another! Now I understand why you must have patience!

The latest error is,

Quote:

error loading plugin: /dev-a7000/j7dev/techOS/Kernel/uberTC64/bin/../libexec/gcc/aarch64-linux-android/4.9.4/liblto_plugin.so: file too short
collect2: error: ld returned 1 exit status
/dev-a7000/j7dev/techOS/Kernel/arch/arm64/kernel/vdso/Makefile:27: recipe for target 'arch/arm64/kernel/vdso/vdso.so.dbg' failed
make[2]: *** [arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
scripts/Makefile.build:455: recipe for target 'arch/arm64/kernel/vdso' failed
make[1]: *** [arch/arm64/kernel/vdso] Error 2
Makefile:841: recipe for target 'arch/arm64/kernel' failed
make: *** [arch/arm64/kernel] Error 2
make: *** Waiting for unfinished jobs....

Which seems like an issues with my toolchain?

Quote:

Error 1
scripts/Makefile.build:455: recipe for target 'arch/arm64/kernel/vdso' failed

I'm sure Ill get past by going through defconfig and checking vdso?

Thanks for this reference, it was very helpful .
8th January 2018, 01:27 PM |#130  
Ani96's Avatar
Senior Member
Flag KOLKATA
Thanks Meter: 98
 
Donate to Me
More
How I can add TTL target patch in my kernel? Thanks
11th January 2018, 12:03 AM |#131  
metalmouth's Avatar
Member
Flag Lucena City
Thanks Meter: 22
 
More
i was expecting using my device config it will compile flawlessly out of the box but it always stop at the "drivers" part lol
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes