[Kernel] Shield Portable Kernel Development [Incl. Guide]

twistedumbrella

Recognized Developer
Sep 3, 2007
8,943
9,383
0
abandonedcart.gitlab.io
Welcome to the first custom kernel for the KitKat Shield.​


This thread is for the development and building of the Shield Portable kernel.
This is not intended to download a build, post issues, and return when fixed.

Kernel Source:
https://github.com/StarKissed/starkissed-kernel-roth

Kernel Downloads:
https://goo.im/devs/playground/shieldroth

The kernel can be built using the commands below or the included script.

Code:
make tegra11_android_defconfig -j$CPU_JOB_NUM ARCH=arm CROSS_COMPILE=$TOOLCHAIN_PREFIX
make tegra114-roth.dtb -j$CPU_JOB_NUM ARCH=arm CROSS_COMPILE=$TOOLCHAIN_PREFIX
make -j$CPU_JOB_NUM ARCH=arm CROSS_COMPILE=$TOOLCHAIN_PREFIX
App & Donations:
StarKissed [SKU] on Google Play allows you to configure many of the options provided by this kernel. Issues or comments about the app can be posted at the XDA StarKissed app thread
Donations are not being collected through the forum. If you would like to donate, you may do so through StarKissed [SKU] on Google Play by using the donate options located in the top right (the green dollar bill guy).
 
Last edited:

bakageta

Senior Member
Jan 19, 2010
242
86
0
Quick question. Any chance you could update the usb ethernet drivers in this? Specifically, I'm suffering from this bug on an ASIX 88772 on the official kernel, and it seems their driver is rather out of date. Thanks, and keep up the good work!
 

bakageta

Senior Member
Jan 19, 2010
242
86
0
True enough, just thought I'd bring it up since it's a fairly easy fix. In the meantime, I threw together a stock kernel with an updated driver to get by. I had one problem after another with the latest official driver, but the good folks at LKML had already put some work in on v4.1.0 several years ago. Using drivers/net/usb/asix.c and usbnet.c from the 3.4.106 source built without problems.
 

bakageta

Senior Member
Jan 19, 2010
242
86
0
Slightly off-topic, but I'll ask you since you're the only other person I know building a shield kernel. I built nvidia's kernel, changing only the two drivers associated with my ethernet, but for some reason console mode has stopped working now. Have you ran into a similar problem? Plugging HDMI in pops up the selector, but clicking on console mode doesn't do anything - it just stays on the selector screen.
 

twistedumbrella

Recognized Developer
Sep 3, 2007
8,943
9,383
0
abandonedcart.gitlab.io
Slightly off-topic, but I'll ask you since you're the only other person I know building a shield kernel. I built nvidia's kernel, changing only the two drivers associated with my ethernet, but for some reason console mode has stopped working now. Have you ran into a similar problem? Plugging HDMI in pops up the selector, but clicking on console mode doesn't do anything - it just stays on the selector screen.

It shouldn't be related. You may need to check the proprietary drivers. I believe HDMI is one.
 

bakageta

Senior Member
Jan 19, 2010
242
86
0
Didn't bother to find out what the problem was, it just stuck around because I was doing dirty builds as I tested. Once I got a few other tweaks and had some time, I did a clean build and it resolved itself. Did you manage to get your kernel booting when building it by itself? I'm sure I'm doing something wrong there too, but I've been grudgingly building the entire device, since that at least works reliably.
 

DragonHunt3r

Senior Member
Aug 1, 2012
341
505
0
What is so special about this kernel compared to stock ? goodjob already btw, you're one of the few who actually have a kernel ;)
It's really sad how not much development is going on, it's such a good device :( there is only like 1 release at the original section :/
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone