As you may already be aware, rumor has it that Google is planning to redefine the overall UI look and feel in Android. Not too long ago, we talked about Quantum Paper, the rumored unified UI that may define Google products across all platforms. These changes may be unveiled very soon, as Google is gearing up for its I/O event next week.
If you are eager to achieve a similar effect to this rumored UI paradigm in your application, there are ways to make your own apps more Quantum Paper-like. In order to show developers how to easily achieve this, XDA Senior Member krishneelg3 outlined the process. The tools that you need, in addition to basic coding knowledge, are an Android IDE like Eclipse or Android Studio and a good image editor to edit the graphics.
Krishneelg3 explains all this in detail, with regards to what needs to be changed to apply this new UI. The developer was also kind enough to provide a package with resources, which will help you out in smooth transition into a Quantum Paper-like UI. To complete the process, some changes in various XML files are needed, but everything is served on a metaphorical silver platter.
If you are an app developer and want to change the look of your projects to be up-to-date with the newest Android UI concepts, head over to the guide thread to learn more about Quantum Paper transformation.
June 13, 2014 By: Tomek Kondrat
When you first came to XDA Developers, the world of Android modification was likely very new to you. Custom ROMs, kernels, recoveries were all more than likely previously unknown. Compounding matters, these things pieces of development work often have different installation procedures, depending on target device.
If you are just beginning your Android journey and happen to own a Sony Xperia device, you might be interested in a guide by XDA Senior Member cy56. This guide is very newbie friendly, and it explains the process of backing up, wiping, and flashing everything for the first time.
The guide is thoroughly detailed, and contains specific sections for Xperia devices since the kernel flashing on these devices is not done through fastboot. Keep in mind that every firmware version and device are a little bit different. However, the guide begins with CM10 and ends on KitKat-based ROMs.
If you are an Xperia user and want to start the journey towards custom ROM and other tweaks, make your way to the guide thread to get started.
Kernel development is undoubtedly one of the most popular and important types of development here on XDA. There are literally thousands of kernel projects available on this site, spread across almost every supported device forum. Creating something original definitely isn’t easy, but given the Linux kernel’s open source nature, it’s easy to learn and incorporate external features into your own builds.
If you ever wondered how to make your favorite kernel even better, you are in the right place to learn! XDA Forum Member srsdani created yet another great video tutorial. This time, srsdani shows viewers how to play with kernel and add some things like CPU governors and I/O schedulers.
There is also a short video explaining how to use the make menuconfig option, which is very useful if you want to add some new features to existing kernel source. After following the steps shown in these videos, you should get ready to flash your new kernel image with the newly added functions. Then once you’ve gotten the hang of things, you can try with other features.
If you are eager to learn some of the basics regarding kernel development such as adding governors and schedulers, visit the original thread.
Not too long time ago, we compared Linaro and GCC to see whether changing your compiler could result in better performance. The process of compiling a kernel with Linaro and other toolchains is similar to using GCC by itself. However, it requires a bit of knowledge and preparation, and this is where guides and tutorials come in.
If you prefer to learn in video form, you should definitely check out the video guide series by XDA Forum Member srsdani. This series of eight movies guides you through all the issues you may face while installing a Linux distro on a VM, configuring it, and of course, building a kernel with Linaro.
The process will take you couple of hours, so this guide will be a perfect companion on your journey to Android development. The guide also contains a few tricks that can be used to extract the kernel config, or dump a boot.img, making the video tutorial even more interesting.
You can find the videos in the original thread. So if you are keen to learn new things related to kernel development, head over there and give it a try.
The path to becoming a great Android developer is not straightforward. To make an application or modify an existing one, you need to know Java. To write a good application, you need to know all of the language’s nuances. Much of this information is available in resources found here on XDA. Applications written in Java use listeners, small functions that launch an activity when you press a certain part of the screen.
XDA Senior Member mohamedrashad wrote a useful guide to help new coders understand listeners better and learn how to use them. The guide explains how to define a button in Java, initialize it, and add a listener to launch the activity. You will also learn how to add Checkboxes and Radio buttons, and how to use them in groups. This is naturally just a small part of the Java language, but it can undoubtedly be useful for many—both newcomers just beginning their journey in Java an experienced coders looking for a refresher.
To learn more about depths of Java programming and how to use listeners in your app, head over to the guide thread.
May 27, 2014 By: Tomek Kondrat
Building ROMs from source is becoming increasingly popular. While most who decide to build their own ROM do so to learn something new, some share their builds with community. However, ROMs are not always created from scratch. Some features are taken from open source projects that have their code publicly available on a Git.
Big projects with many contributors use the web-based software review tool Gerrit. Using Gerrit is a bit different than Git, and we covered a great guide some time ago. This tool can also be used to cherry-pick single commits, and a simple guide by XDA Senior Member jabza will show newcomers how to do this.
Jabza’s guide shows new developers how to use terminal to get one commit and resolve errors afterwards. Jabza uses ParanoidAndroid’s Halo as an example, but his instructions can be applied to any other open source project. With just few steps, you will be able to add some useful features to your ROM.
If you’re a new developer and you want to learn how to cherry pick useful features from other projects, make your way to the guide thread and give it a shot.
We’ve all seen that little empty box before. You know, the one that signifies a missing or unsupported font on your current device. This might not be quite so common for those of you out there with English as a first language, but for others with less commonly used native languages, this can be a frequent and frustrating issue. This problem seems to be quite an issue for many Windows Phone 7.x users including XDA Forum Member adeen-s. But rather than sit back and deal with the problem, adeen-s took this as an opportunity to post a simple and useful guide that shows you how to shoehorn these unsupported fonts onto your WP device.
The process itself is pretty simple, but does require a fully unlocked device and applications such as WP7 root tools and WMDC to add the font files directly to your device. Ironically, many of the font files can be found in the fonts directory of your desktop copy of Windows. You’ll then need to make a few tweaks to the registry before being able to reboot and start viewing sites and documents that aren’t full of little empty boxes.
Check out the forum thread for the full set of instructions.
Boot animations are one of the first things that you see after turning on your device. They are in fact just a set of images in the specified PNG format, but they make a ROM seem unique. Sometimes, they are even our favorite part of a particular project. If you are an intermediate Android power user, it’s relatively easy for you to create a boot animation, but you need to have the right tools to do it without editing files manually. It’s a long process and why to choose the manual way when there are plenty of more optimized methods?
One such tool is Bootanimation Factory by XDA Recognized Developer despotovski01. To make using it even easier, XDA Senior Member jackeagle wrote a guide showing new users how to use this Windows-only tool. The guide is full of pictures so that you won’t get lost creating even a very long boot animation. By following this guide, you will learn which tools are the best for you to create your own, which will proudly be displayed every time you run your favorite ROM.
You can learn more by visiting the guide thread.
XDA is full of various source-built, AOSP-derived ROMs. If you are trying to build one of them for yourself, it doesn’t really matter whether it’s Omni, CyanogenMod, AOKP, Slim, or any other ROM—the build instructions are pretty much the same.
In order to build Android on your own, you need to know three commands to start the environment, launch your device, and start a build by typing make. However, Android’s developers prepared more than these three commands. With various commands you can easily compile a single application, framework, or kernel, as well as perform many other tasks. If you are interested to learn more about build process, you should spend some time reading a comprehensive guide written by XDA Senior Member v_superuser.
In this guide, v_superuser explains various commands used in Android build process. Some commands are rarely used, but they’re still good to know just in case. The guide also explains the make process graphically, so you will finally understand how Linux or OS X processes files to build a shiny system.img.
Explaining make is not all that this guide has to offer. Through reading it, you will learn how to speed up your build using Ccache, which combined with handy scripts will make a build process nothing but pleasure. This guide contains most of the definitions that wikis and Google have to offer, and they are gathered together so you don’t have to browse the Internet to find every single command. Everything is here in one place.
If you are beginning your journey with Android or just want to learn more about this amazing OS, don’t hesitate to visit the guide thread for a great resource of information.
A few weeks back, we talked about a mod that allows users to stylize their status bars by adding customizable color gradients. While capable of delivering quite a unique and interesting look, this modification was purely for aesthetic purposes. Now, we’re here to present yet another status bar tweak, but this one’s more than just cosmetic.
If you’ve ever wanted to monitor your device’s CPU state from the status bar, you can now do so. This tweak, just like the previous stats bar gradient modification, comes courtesy of XDA Recognized Themer mariozawa. Just like the previous modification, this is essentially a DIY project rather than a simple application. In addition to installing the supplied APK, you need to decompile your SystemUI.apk file and replace some smali code.
Once all of the instructions are followed, you end up with a customizable CPU info area in the left hand portion of your status bar. This shows both clock speed and governor, though either can be disabled.
To get started, head over to the guide thread and get cracking.
May 7, 2014 By: Tomek Kondrat
As we all know by now, Android 4.4.2 removed the previously easy access to App Ops activity. When asked, Google stated that this was for internal development use only, and was never meant to see the light of day on consumer devices. Despite this, App Opps still exists in most source-built custom ROMs such as SlimKat.
Having access to App Ops is one thing, but knowing how to use it effectively is another altogether. If you don’t know how to use App Ops effectively, you may want to take a look at a video tutorial by XDA Senior Member Kapiljhajhria. With this guide, you will learn how to deny specific permissions for a particular app, prevent an app from creating wakelocks, and monitor your device to see what permissions are in use. Kapiljhajhria made two videos, where he explains how to use Privacy Guard properly. And if you’re not a fan of learning via video, a small PowerPoint version will be released soon as well.
Used properly, App Ops is a great tool, and one that is still available thanks to source-built ROM development. If you’ve ever wanted to learn how to use it more effectively, head over to the guide thread,
May 6, 2014 By: Will Verduzco
Although they aren’t quite the most important aspect of a ROM, Easter Eggs have become somewhat of a staple in Android. Back in January, we talked about adding the Jelly Bean Easter Egg to a Gingerbread or ICS ROM. And then one month later, we talked a little bit about the evolution of Easter Eggs in Android. Now thanks to a simple guide by XDA Senior Member MuSaddiq, anyone can add KitKat’s Easter Egg to their own Android 2.3+ ROM.
In order to add in this Easter Egg, you’re going to have to first obtain the framework.jar file from your ROM. You then decompile the JAR file and replace some smali with code provided by Musaddiq. Then, you just have to recompile framework.jar, push it back to the device with the appropriate permissions, and install a particular app with the Easter Egg called by the smali code. After that, simply launch your device settings and tap the Android version number like your life depended on it.
Obviously adding the KitKat Easter Egg to your non-KitKat ROM won’t magically give it any additional features. However, it’s still cool for the novelty factory, especially if your device lacks a daily driver-capable KitKat ROM. Make your way over to the guide thread to get started.
Porting a new version of Android to an older device is a complicated process. The situation is much easier when the OEM decides to share the device tree with all necessary dependencies. But the vast majority of the time, the aftermarket developer needs to create this configuration from scratch or modify an existing tree from a similar device. Making a tree is one thing, but finding the appropriate library files to make it boot and work fully is another.
Sometimes, when a device boots up, logcat indicates that some .so libs are missing. To find out which are missing, you can use a guide created by XDA Forum Member tuxboy. This guide demonstrates how to use tools available in the Android NDK to find out which files need to be added to meet the dependencies of the executable file or library. The process is very straightforward and doesn’t require any special tools except the toolchain available in the Android source code. To make use of this method, you need Linux, Mac OS X, or any other *nix OS.
You can learn more by visiting the guide thread, so head over there if you are trying to port a ROM or find dependencies for a ported version of Android.