FORUMS
Remove All Ads from XDA

[TOOL] Honor 6 Kernel Toolbox

8,429 posts
Thanks Meter: 57,466
 
By codeworkx, Senior Recognized Developer on 23rd January 2015, 08:41 PM
Post Reply Email Thread
To make our lifes a little bit easier, i've created a "toolbox" for linux which allows you to easily brew custom kernels.
It includes kernel sources (fixed to build properly), arm-eabi-4.7 toolchain, a stock ramdisk, mkbootimg and a handy script which does the dirty job for you.

Please make sure that bash, git, repo, cpio and gzip packages are installed on your system!

How to get it?
Code:
mkdir h60
cd h60
repo init -u https://github.com/codeworkx/h60.git -b kk
repo sync
Usage:
Code:
./build.sh bootimage l04    ->    creates boot.img for the specified variant.
./build.sh kernel       ->    builds just the zImage
./build.sh unpack boot.img  ->    unpacks boot/recovery images
./build.sh clean        ->    runs mrproper
Let it rain custom kernels!
Have fun!
The Following 25 Users Say Thank You to codeworkx For This Useful Post: [ View ]
 
 
24th January 2015, 11:42 AM |#2  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Update:
  • fixed some problems
  • added colored output
  • added unpack function
  • added support for l02, l04, l12
The Following 7 Users Say Thank You to codeworkx For This Useful Post: [ View ]
25th January 2015, 02:41 PM |#3  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Update:
  • updated to latest available B310 sources
The Following 7 Users Say Thank You to codeworkx For This Useful Post: [ View ]
25th January 2015, 07:28 PM |#4  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Update:
  • added L04 ramdisk
The Following 6 Users Say Thank You to codeworkx For This Useful Post: [ View ]
13th February 2015, 12:00 PM |#5  
Steve Giordano's Avatar
Senior Member
Flag Palermo
Thanks Meter: 100
 
More
Thumbs up
Hi @codeworkx
Can you build a stock kernel for h60-l04 with add only doubletap2wake and sweep2wake ?
Many users would like this.
Thanks and sorry for my bad english!
The Following 3 Users Say Thank You to Steve Giordano For This Useful Post: [ View ] Gift Steve Giordano Ad-Free
13th February 2015, 11:12 PM |#6  
Inpain's Avatar
Senior Member
Flag Kuwait
Thanks Meter: 109
 
More
Quote:
Originally Posted by Steve Giordano

Hi @codeworkx
Can you build a stock kernel for h60-l04 with add only doubletap2wake and sweep2wake ?
Many users would like this.
Thanks and sorry for my bad english!


Omg yes! That would be awesome to have
14th February 2015, 04:09 PM |#7  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by Steve Giordano

Hi @codeworkx
Can you build a stock kernel for h60-l04 with add only doubletap2wake and sweep2wake ?
Many users would like this.
Thanks and sorry for my bad english!

Probably but don't have time.

Sent from my Nexus 5 using XDA Free mobile app
The Following 2 Users Say Thank You to codeworkx For This Useful Post: [ View ]
16th February 2015, 10:43 AM |#8  
Steve Giordano's Avatar
Senior Member
Flag Palermo
Thanks Meter: 100
 
More
Hi @codeworkx i have this error:
Code:
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
drivers/built-in.o: In function `store_config':
/home/stefano/Scrivania/h60_kernel_toolbox-master/kernel/drivers/huawei/ext_modem/viacbp82d/spi/rnic_adapter.c:102: undefined reference to `RNIC_ConfigRmnetStatus'
make: *** [vmlinux] Errore 1
~/Scrivania/h60_kernel_toolbox-master
Failed to build zImage!

[email protected]:~/Scrivania/h60_kernel_toolbox-master$
Why?
16th February 2015, 11:08 AM |#9  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Happens when the modem driver fails to build. Did the python script fail? You have to use python2.

Sent from my Nexus 5 using XDA Free mobile app
The Following 2 Users Say Thank You to codeworkx For This Useful Post: [ View ]
23rd February 2015, 03:42 PM |#10  
TheTigerDeveloper's Avatar
Member
Flag Lecce
Thanks Meter: 26
 
More
so with this tool i can edit/create kernel for my Honor 6?
The Following User Says Thank You to TheTigerDeveloper For This Useful Post: [ View ] Gift TheTigerDeveloper Ad-Free
23rd February 2015, 04:11 PM |#11  
codeworkx's Avatar
OP Senior Recognized Developer
Flag Bad Neustadt
Thanks Meter: 57,466
 
Donate to Me
More
Quote:
Originally Posted by TheTigerDeveloper

so with this tool i can edit/create kernel for my Honor 6?

Sure

Sent from my Nexus 5 using XDA Free mobile app
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