Friday, March 11, 2016

The Berg Kernel

Code:

# I am not responsible for anything that this code does to your device
# I've run it on my device at least once, but my device is NOT your device
# Don't blame me if your tablet becomes a cyborg, eats your cat, or destroys the world.
#      Or just stops booting.
#
# Don't forget that this voids your warranty. If you still have one.

I'm working on merging all the fixes for the linux kernel into Samsung's source code.
If you don't know how to build the kernel, this project is NOT for you. But have a recovery image anyway. Its the stock with only the kernel replaced, but that's so I have a stable development platform.
Features
* git history (mostly done via looking at the Makefile and copying everything over the source tree)
* Easier upgrades to newer minor releases (3.4.XX)

Installation
$ adb reboot download
$ heimdall flash --RECOVERY ${PATH_TO_RECOVERY_IMG}


Basic workflow:
# git merge v3.4.xx -- I'm doing it this way so that the changeset between builds is manageable (kind of).
# fix up compilation errors (show breaking) and then replace zImage in Samsung's recovery image. See if it boots into recovery.
# Reboot into regular mode, pull /proc/last_kmsg and check kernel version.

Notes:
Requires that gcc 4.6 is used
linux cannot be in the directory path (gets replaced with "1" by the graphics source code)
Doesn't work with repo. Sorry. I like gitlab better than github, even though I have accounts on both.

Changelog:
v3.4.10-samsung:
[new] Updated to v3.4.10 from v3.4.5 stock sources
[fixed] kernel/timeconst.pl (cherry-pick from android-3.4)

Downloads
Kernel source code: http://ift.tt/1XjdwKX
Device Tree (not dtb): http://ift.tt/1XjdySR -- mostly using this to keep track of mainlined kernel modules.

Recovery images: http://ift.tt/1XjdyST
FAQ
Quote:

Can I build with a GCC version other than 4.6? No
Can I have a directory called "linux" anywhere in the project path? No. One of the vendor modules replaces "linux" with "1".
Can I use the git repo in a local manifest? No. There's a bug in gitlab that prevents this. Hopefully its fixed soonish. For now, just use git clone.
Thanks To/Credits
Code:

* Samsung. Even though they are required to release the source upon request.
* The various Linux kernel contributors over the years
* Everyone else who has worked on this device (even if I haven't used their work)

XDA:DevDB Information
Vorpalblade Kernel Updating, Kernel for the Samsung Galaxy Tab 3 7.0

Contributors
vorpalblade77
Source Code: http://ift.tt/1XjdwKX

Kernel Special Features:

Version Information
Status: Testing
Current Stable Version: v3.4.5-samsung
Stable Release Date: 2015-12-09
Current Beta Version: v3.4.10-samsung
Beta Release Date: 2016-03-11

Created 2016-03-11
Last Updated 2016-03-11


from xda-developers http://ift.tt/1Xjdx1h
via IFTTT

No comments:

Post a Comment