March 25, 2014 By: eagleeyetom
The Sony Xperia Z2 is a flagship device that many end users and developers have been waiting for. A powerful CPU and many unique features make it one of the most interesting phones of the first half of 2014. The device will be soon available to buy in many countries and its development community surely will flourish like previous “Z” devices.
Developers working with Sony devices will be happy to know that a few days ago the GPL-mandated open source files were released for these devices. (Yes, that GPL. *cough* Micromax and MediaTek *cough*.) And thanks to the release, developers such as the FXP group will be able to release unofficial kernels and recoveries soon.
March 20, 2014 By: eagleeyetom
The Linux kernel is an absolutely brilliant piece of development work. Every Linux-based operating system uses it as the central unit responsible for process execution, and it serves as the interface between the hardware abstraction layer and your running processes.
Android sits atop the Linux kernel, but the ARM version usually lags behind a release or two when compared to the version used in desktop operating systems like Ubuntu and Arch. It now appears as if this situation will change, as commits available in AOSP repository on Github suggest that Google engineers are working hard on bringing the 3.14 kernel to Android.
This is rather surprising, considering that 3.14 is still not yet officially released, and it is currently only available as a release candidate. It appears that the Android kernel will finally match the revision on kernel.org. This move will reduce the mismatch between releases, and when these newest features are added to the Android kernel. It’s more than likely that we will see the newest kernel in one of the upcoming Nexus devices, which could be released at this year’s Google I/O or even sooner.
There is still some time left until the next generation of Google Nexus devices see the light of day. In the meanwhile, you can study and review the code by visiting the Android kernel Github repository.
[Big thanks to XDA Recognized Developer and Contributor varun.chitre15 for the tip!]
February 3, 2014 By: eagleeyetom
The Samsung Galaxy Gear is a somewhat unusual device. The smartwatch was originally designed for the Samsung Galaxy Note 3 and Galaxy S 4 flagships, and quickly became one of the most popular devices in its category. Despite this, it’s still up for debate whether the Galaxy Gear will ever become a commercially successful device. This doesn’t change the fact that development on XDA is quite fruitful, as we’ve already covered a custom ROM made by XDA Senior Member fOmey.
Those of you who use Sony devices may be familiar with XDA Recognized Developer lilstevie. If your memory’s a little rusty, he managed to release LittleKernel and a custom bootloader for several Sony devices some time ago. Recently, lilstevie decided to put his efforts into kernel development for the Galaxy Gear, and that’s how Triangulum kernel was born.
Triangulum is the first custom kernel for the Galaxy Gear, and it adds a few nice things like auto-rooting, init.d support, and most importantly, it unlocks the device’s second processor core. The kernel can be flashed with Odin, Heimdall, or with custom recovery made by fOmey.
If you own a Samsung Galaxy Gear and wish to unlock its full potential, you can find out more in the kernel thread.
Every Android kernel is made of few parts, which (depending on the OEM) contains a zImage created during kernel compilation and a ramdisk where some device-specific settings are stored. Sometimes, the ramdisk contains a recovery, logo, and so on.
If you’ve ever tried to work on a precompiled kernel, you’ve noticed that it can’t be extracted with a simple archive manager. Rather, you need some tools capable of unpacking and repacking the kernel as an IMG file. These tools can be easily built on Linux. And thanks to XDA Senior Member A.S._id, you can download them easily and compile your 0wn.
The current set of tools includes such binaries as: mkbootfs, simg2simg, make_ext4fs, mkbootimg, ext2simg, img2simg, simg2img, sgs4ext4fs, and unpackbootimg. Some of them were created by XDA Senior Recognized Developer Chainfire and the CyanogenMod team.
The compilation process is presented in the thread. It’s really simple, and needs just two commands. If you have problems executing them, don’t forget to set the correct permissions by setting the files as executable. After compilation, you end up with binaries that can be used in the kernel modification process.
Naturally, this tool works only on Linux machines. Having configured Github account is also recommended. You can learn more about those binaries by visiting the original thread.
December 19, 2013 By: eagleeyetom
The kernel is arguably the most important part of any ROM. A well written kernel makes the device rock stable, battery-friendly, and lag-free. That’s why we have so many greatly written kernels are available here at XDA. But having a good kernel is one thing, and squeezing the maximum performance out of it is another. And without experience and excessive knowledge, it’s sometimes difficult to modify even simple variables.
More than a year ago we informed you about Trickster MOD, a great tool designed to change various kernel settings. Unfortunately, many of functions available in Trickster MOD are available only in premium version of this app. XDA Senior Member xcesco89 created an alternative, fully free application to adjust some kernel values without messing around using adb shell or terminal emulator. With the tool, he made it’s possible to tweak your CPU and GPU, as well as set scheduler and many other variables. If you are planning to play with your kernel, an application like Kernel Tweaker Beta should be tucked away in your drawer.
You can get the newest version of this app and read more about its features in the development thread. We recommend that you exercise caution though, as setting improper values can damage your phone in some extreme situations.
August 10, 2013 By: Samantha
Greg Sony”. It’s a rather affectionate title that Sony’s been given for the past few months, particularly for their leading track record in GPL compliance as displayed on multiple occasions. So to make sure that they’re continuing their fairly extraordinary performance, they’ve just released the open source files for the recently announced Xperia Z Ultra and M.
Much in the spirit shown by Sony back with the Xperia Z, the company’s gone ahead to make sure developers can play with the workings behind both the yet-to-be-released Xperia M and the just released Xperia Z Ultra. It’s been iterated before, and it has to be done again, but nothing but commendation can be given to Sony Mobile for this.
The Xperia Z Ultra is Sony’s answer to the very successful Note series from Samsung, boasting a 6.4-inch display at 1080p resolution. Keeping it going is the 2.2GHz quad-core Snapdragon 800 processor, 2 GB of RAM, and a 3000 mAh battery. With a thickness, or thinness rather, of 6.5mm, it retains the attractive OmniBalance design we’ve seen featured in the 2013 Xperia family. This is also true for the Xperia M, a mid range device with quite a modest spec sheet. Yet despite its 1GHz dual-core Snapdragon processor and 1GB of RAM, it definitely still has enough horsepower to go about the uses of the average user.
So if you’re thinking of thinking about getting either of these devices, or curious about their “behind the scenes,” you can find the files for the Xperia Z Ultra and the Xperia M at their respective posts on Sony Developer’s Open Source Downloads site here and here.
August 6, 2013 By: Jimmy McGee
Par for the course at XDA is to customize our devices. This includes a custom theme or a custom ROM with different launchers, layouts, and color schemes. However, an important part of a device’s firmware and software package is the kernel. The kernel is like salt in a recipe for cookies. You don’t notice when it’s working fine. But when it’s not, you notice.
In today’s video, XDA Developer TV Producer Kevin talks about the unsung hero of Android. He gives a basic overview of what a kernel does. Then Kevin talks about a few custom kernels on XDA and what they can provide for you. So if you want to learn more about the kernel, check this video out.
We don’t usually cover individual custom kernels here on the Portal for the simple reason that thanks to the development community, there are so many great options available that we wouldn’t have time to cover anything else. However, every once in a while, a kernel developer brings so much awesome to the table that it would be downright rude of us not to sit down and stuff our faces until we are fat and happy. Devil Kernel by XDA Recognized Developer DerTeufel1980 definitely falls into that category.
This is no ordinary Note 2 kernel. It’s a Linux 3.0.80 kernel based on the sources of the popular Perseus kernel that many Note 2 owners will no doubt be familiar with. The crucial (but by no means only) difference though is that Devil (in conjunction with DerTeufel1980′s custom recovery) will allow you to dual boot your device by splitting the system partition and enabling you to have two different ROMs installed at the same time—even a combination of AOSP- and TouchWiz-based ROMs.
This does take a little bit of setting up and there are some things that you will certainly want to be aware of before diving into this, so as always make sure to read through the details thoroughly before just throwing things at your device to see what sticks. Once set up, this is an incredibly beneficial option for those of you (and indeed myself) who are torn between a stock or AOSP firmware for this device. And yes, for those of you with an N7105 or AT&T/T-Mobile variant, you’re not being left out . There is a version of the kernel and recovery for these devices too.
Check out the original development thread for more information.
May 3, 2013 By: Conan Troutman
Despite being an almost sickeningly desirable, ultra-specced, and feature laden beast of a device—so desirable in fact that this self confessed Samsung fanboy considered making it his next device—the HTC One isn’t without it’s little quirks. These are quirks that may just be enough to sway somebody from choosing it over a competitor. One of these is the somewhat baffling decision by HTC to offer only two capacitive buttons and opt for an on screen software menu button in the absence of the commonly seen, yet commonly missing, Android action bar overflow. This can result in an unfortunate amount of screen space being wasted in certain applications.
That however, is now avoidable thanks to a mod known as HTCLogoMenu, which has been incorporated into a custom kernel for the device by XDA Senior Member tbalden. The mod actually enables the HTC logo between the two capacitive buttons to act as a menu key and offer the user a much more familiar and intuitive hard key setup. The logo can also be assigned to other functions such as waking the device if that is something that you would prefer or even a combination of the two functions, all of which are selectable via the kernels AROMA installer.
This is well worth looking into if you’re finding yourself unable to adapt to the stock configuration of the device. You can find more in the original thread.
We’ve previously covered step-by-step guides on how to compile your own kernel from source. Simply compiling some readily available source code though is only half the battle. For there to be any benefit of compiling and flashing your own kernel, you’re going to need to make some modifications. Which particular changes you make is of course entirely up to you, and there are a huge number of improvements that can be made at kernel level to improve the performance of any given device. If you’re at the stage of having compiled your own kernel but are a little unsure of where to go from there, XDA-University has a guide which will be of interest to you.
The tutorial covers the process of adding CPU governors, I/O schedulers and the ability to overclock the device’s CPU to your kernel. These are among some of the more basic modifications that you can make, but they are also some of the most sought after by users. All the required steps are clearly outlined and backed up with easy to follow code examples that will have you modified and ready to compile in no time. You will of course need to be familiar with Github in order to document your changes and remain GPL compliant. If you need a refresher course, be sure to check out this excellent guide to becoming a Git wizard.
Be sure to head on over to XDA Univesity and check this one out if you want to take your own kernel to the next level, as this provides a great jumping off point for further more advanced developments.
Some devices just refuse to die, no matter how long they’ve been around. That said, a team of devoted developers has come together to bring the Linux kernel 3.0.8 to every 2011 Xperia device. The last official kernel release from Sony (Ericsson) for 2011 Xperia Devices was version 2.6.32.
XDA Recognized Developer nobodyAtall based this kernel on the ‘M7630AABBQMLZA404033I’ CAF tag, which is ‘the latest tagged release for this arch and is linux 3.0.8.’ The supported devices and the developer behind each one are as follows:
The kernel for each of the listed devices is available for download and testing from the kernel thread. The kernels for the Mini, Live with Walkman, Pro and Neo and Neo V are said to be bootable and usable, with near 100% functionality, while the rest are still at various stages of development (at the time of writing). More detailed status for each of these kernels can be found in the discussion thread.
April 11, 2013 By: Will Verduzco
OK. It’s no big secret. The HTC One is a great and exciting device. You’ve heard us talk about it—everything from the launch event and preliminary benchmarks to giving the device and its carrier variants a place on our forums. Now, we have kernel source for some One variants, which is great news for those looking to start development work for HTC’s latest flagship. And since the device was only recently launched, with many carrier variants still pending release, HTC has done a great job of keeping to their GPL requirements.
In addition to the One, HTC also saw fit to
release update kernel source for the Droid DNA to match an OTA that was released back in early February. In other words, the company is now GPL compliant with binaries released two months ago. The DNA, if you may recall, was released quite some time ago. Available since November of last year, it took nearly five months for the device to become GPL compliant. Better late than never, but we can’t help but think how much further along the development community would be for the device, had the GPL obligations been fulfilled earlier. In fact, we’ve even seen better from certain relatively obscure manufacturers.
Let’s just hope that in the future, the One that we’re waiting for isn’t an HTC device’s (up-to-date) kernel source code. Those looking to get in on the goods can find them in the links below.
Update: As pointed out by reader and “HTC Champion” Leigh, my previous statements were somewhat mistaken. Article text has been updated accordingly.
If your Android device has an unlocked bootloader, it’s undeniable the usefulness of having a custom kernel on your device. With no release of Linux Kernel version 3.4 from Samsung as of yet, it’s great to see developers on XDA all contributing to make this possible for a mid-range Samsung device, the Galaxy S Plus GT-i9001.
The mastermind behind this creation is XDA Senior Member educk, who rebased support for the i9001 on the 3.4 kernel baseline, ahead of a release from Samsung. The kernel is still in the alpha stage of development with improvements and features such as:
Standard functions of the i9001 such as the camera, Wi-Fi, 3G and calls are reported to still be working with no bugs and faults as of now.
Accepting contributions from the development community, educk has done and is doing a remarkable job with this project for the Android community. Make sure to head over to the original thread for more details and discussions.