Keep in mind that uname -a gives your running kernel version, while pacman -Q gives you the currently installed kernel. Obviously if you haven't rebooted since the last kernel update, you're not running what pacman -Q says.
The fourth number (.6 in this case) is the patch number of the bug/security fixes for that version of the kernel, and the -2 is the package version, so pacman -Q kernel26 is the best way to see which version you have installed.
uname -a will only return the ma.jor.minor version numbers, and excludes the other information because that information isn't compiled into the kernel. Using only the ma.jor.minor version numbers in the kernel means patches can be applied to fix bugs/security issues without causing issues with modules and other software that requires specific kernel versions.
Kernel 2.6.38.6-2 is the latest kernel in the repositories, provided that your mirrors are up-to-date. dentrasi provided a newer image in another comment.
If you haven't, read Getting Started and familiarize yourself with the basic functionality of the website (AUR, bug tracker, etc.) before proceeding with your installation.
Many of my past issues with building anything Android-related have been caused by the Arch rolling release system being updated too well. I've often been forced to roll a few packages back to get things moving. Keep in mind that Android is developed on specific versions of software, and that newer versions may not play nice with the code.
However, I have compiled the kernel using the Android NDK with no issues whatsoever. I don't know why that package is flagged as outdated, because it doesn't appear to be. Ignore that.
Once you get the SDK and NDK installed properly, you should be able to compile the kernel from source with something like
make ARCH=arm CROSS_COMPILE=/path/to/android-ndk/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-
I have never tried building the entire operating system, however. From my experience with the Hero, I know HTC has some interesting quirks with their hardware. Beware of that if you're trying to throw stock Android on there, and make sure you're using the Sprint EVO kernel source and not the stock AOSP kernel source unless you really know what you're doing.
I might try to tinker around with this some soon, myself, because the Optimus S I just grabbed is ripe for some proper hacking.
EDIT: I probably forgot some details here. If you have any trouble, let me know.
EDIT2: A bit of digging finds that Gingerbread is 64-bit only. That thread also details some software versions needed for compiling that beast.
Thanks for reminding us of this. There was a lengthy paper released recently that examined this flaw in Archlinux and many other distributions. I don't think I bookmarked it.
Check the pacman-dev mailing list. There are a few related posts on there from the past month.
In response to the last comment on that bug--without cluttering the bug tracker with unproductive chatter--the "more people would use it if..." argument for a FLOSS project with volunteer developers is a nonstarter.
Keep in mind that
uname -agives your running kernel version, whilepacman -Qgives you the currently installed kernel. Obviously if you haven't rebooted since the last kernel update, you're not running whatpacman -Qsays.The fourth number (.6 in this case) is the patch number of the bug/security fixes for that version of the kernel, and the -2 is the package version, so
pacman -Q kernel26is the best way to see which version you have installed.uname -awill only return the ma.jor.minor version numbers, and excludes the other information because that information isn't compiled into the kernel. Using only the ma.jor.minor version numbers in the kernel means patches can be applied to fix bugs/security issues without causing issues with modules and other software that requires specific kernel versions.Kernel 2.6.38.6-2 is the latest kernel in the repositories, provided that your mirrors are up-to-date. dentrasi provided a newer image in another comment.
If you haven't, read Getting Started and familiarize yourself with the basic functionality of the website (AUR, bug tracker, etc.) before proceeding with your installation.
EDIT: Now with 42% less flame.
Many of my past issues with building anything Android-related have been caused by the Arch rolling release system being updated too well. I've often been forced to roll a few packages back to get things moving. Keep in mind that Android is developed on specific versions of software, and that newer versions may not play nice with the code.
However, I have compiled the kernel using the Android NDK with no issues whatsoever. I don't know why that package is flagged as outdated, because it doesn't appear to be. Ignore that.
Once you get the SDK and NDK installed properly, you should be able to compile the kernel from source with something like make ARCH=arm CROSS_COMPILE=/path/to/android-ndk/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-
I have never tried building the entire operating system, however. From my experience with the Hero, I know HTC has some interesting quirks with their hardware. Beware of that if you're trying to throw stock Android on there, and make sure you're using the Sprint EVO kernel source and not the stock AOSP kernel source unless you really know what you're doing.
I might try to tinker around with this some soon, myself, because the Optimus S I just grabbed is ripe for some proper hacking.
EDIT: I probably forgot some details here. If you have any trouble, let me know.
EDIT2: A bit of digging finds that Gingerbread is 64-bit only. That thread also details some software versions needed for compiling that beast.
That's the old patchset. I linked the new patchset already in another thread here.
Thanks for reminding us of this. There was a lengthy paper released recently that examined this flaw in Archlinux and many other distributions. I don't think I bookmarked it.
Check the pacman-dev mailing list. There are a few related posts on there from the past month.
In response to the last comment on that bug--without cluttering the bug tracker with unproductive chatter--the "more people would use it if..." argument for a FLOSS project with volunteer developers is a nonstarter.
"Talk is cheap. Show me the code." - Linus Torvalds
EDIT: For clarification, the pacman-dev link above is a link to the most recent patchset.
There is a link on the front page to check the latest updates.
There is either an issue somewhere, or none of your installed packages have been updated for a few days. The first step is to update your mirror list.
Also, check your mirrors against the Archlinux.de mirror status list and remove the ones that have an unacceptably high delay.
RTFM, of course.
Ah, yes. This is what I get for commenting while half asleep.
Looks like phrakture took care of things.
Yep.
EDIT: Do you want to add that comment to the bug itself, and request closing the bug?
End of this list.
Back to top