December 20, 2013 By: eagleeyetom
Most XDA users know how to root their devices, flash a recovery, and perform all the necessary steps to be a happy custom ROM user. But the world isn’t perfect, and there are still members who are not tech savvy enough to do everything on their own. After all, allowing less advanced users to use custom ROMs was one of main driving forces behind projects such as CyanogenMod Installer and CASUAL.
By design, CyanogenMod Installer is quite limited, as it only allows users to flash the newest version of CyanogenMod. XDA Senior Member ssrij created an open source tool similar to the above projects called CustomDroid.
CustomDroid can unlock the bootloader on selected devices, flash a custom recovery, and of course flash a custom ROM. It’s unable to root the device and flash the custom kernel, but the developer is working hard to add these features. The list of currently supported device maybe isn’t the longest, but you can find Nexus 4, Nexus 7, Nexus 10, Galaxy Nexus, Nexus S, Nexus One and HTC One support so far. Currently only GSM variants are supported and the HTC One support needs some additional work, but everything is nicely written in the original thread. This project is still in alpha stage, and with some help it can become a great flashing tool for new XDA community members.
More information about this project ;can be found in the development thread. If you own one of the above devices and use Windows, try this tool and send some feedback to the developer.
Android is an operating system that uses a lot of programming languages. The most common languages are Java (or Android Java if you prefer), C, XML, Bash, as well as a few more. Android applications can be decompiled by APKTool and a few similar tools, and their output is Smali. I know that many of you will disagree with me, but Smali is quite complicated language—much more than Java.
There are two tools that can convert Smali back to Java: Dex2Jar and JAD. They are pretty hard to use, though, and need some experience to use them properly. Luckily, XDA Recognized Developer broodplank1337 created a simple bash script, that does all the work for us. This script can get all necessary dependencies, as well as get the Java code straight from APK. It works on Linux only, but I’m quite sure that can be used on non UNIX-like systems like Windows with Cygwin. The developer recommends that you put the file in ~/bin and make it executable. Further instructions are available in the thread.
Sometimes scripts can make life a lot easier. If you are interested in the project, make your way to the original thread to get more information and learn how to convert assembler code into Java.
Note: Tools like this should be used for educational purposes. “Borrowing” code from applications (paid or free) is unethical and should not take place. They are closed source for a reason. Keep that in mind.
December 2, 2013 By: eagleeyetom
Home screen customization is quite important to many users. Most of us like to keep our screens aesthetic. And from time to time, we want to share the look with our friends in real life or here on XDA.
Unfortunately some ROMs don’t offer screenshot functionality, so the Android-SDK must be used. It’s very inconvenient to download a big package just to make a few screenshots via ddms. XDA Senior Moderator and Recognized Developer Diamondback created a Windows tool, named Advanced Screenshot Creator (ASC), to ease the process of creating screenshots. In addition to its main feature of creating an image of the visible portion of the screen via a custom ADB implementation, ASC can automatically save all screenshots to a user-specified folder and let you manage the already taken screenshots.
The Advanced Screenshot Creator was originally a part of Virtuous Ten Studio, a powerful IDE for reverse engineering on Android. ASC is the second feature, which was released as a standalone application after Advanced Logcat Viewer. There are still more to follow.
If you a Windows user and looking for an advanced utility to manage screenshots, head over to the original thread and give Advanced Screenshot Creator or Virtuous Ten Studio a try.
December 2, 2013 By: eagleeyetom
Logcat is a powerful diagnostic tool designed to help developers with debugging errors in their applications. Without it, fixing most of applications would be significantly more difficult. However, it appears that logcat is not the only diagnostic tool available to app developers.
Now, there is an alternative tool ported by XDA Senior Member alireza7991. STrace is a debugging utility to monitor a program’s system calls or signals it receives. Unlike logcat, Strace can be used to monitor a single application, so it’s much easier to find abnormal behavior. This tool can then be used to find causes for crashes or anomalies.
Using STrace is really simple. All you need to do is to push the bin file to /system/bin/ on your device and set the correct permissions with chmod. Then, you can run it from terminal emulator or ADB shell.
If you are interested in a new piece of debugging software, make your way to the utility thread and learn more about STrace.
About a year ago, we covered a tool by XDA Recognized Developer lyriquidperfection that allows users to create, modify, and analyze Samsung PIT (Partition Information Tables ) files. For those who aren’t familiar with PIT files, they contain all of the relevant information for each partition such as partition id, partition name, flash filename, block size, block range, partition description, and more.
Some time ago, XDA Recognized Developer Benjamin Dobell created a Java-based library for Samsung PIT files, as part of the Heimdall project. Then to further development, Benjamin relinquished copyright over to XDA Senior Recognized Developer AdamOutler, who relicensed the project under GPL, with source available over on GitHub.
Now, Adam has released an online PIT analysis tool and associated library that allows you to obtain a human-readable analysis of a PIT file easily, either through his online web-app, or directly on your local computer with a provided library. What makes Adam’s tool unique is that thanks to work by Adam, Recognized Developer Ralekdev, and Senior Recognized Developer Rebellos, the tool can identify every part of the PIT file. As stated by Adam:
I’m happy to announce that we have 100% identification of all parts of the PIT files as they stand today. We are no longer working on identifying variables thanks to Ralekdev, Rebellos and Benjamin’s work. We can read, and write and integrate PIT files into our Java Applications.
Make your way over to the original thread to learn more!
November 29, 2013 By: Conan Troutman
Well over a year ago now, we brought you news of a tool that solved the problem of users not being able to distribute themes for paid apps. Remote Theme Injector did exactly as its name suggests and “injects” the necessary themed elements into an APK, thereby allowing themers to make their work on paid apps available without distributing warez. The tool was often updated by its developer, XDA Senior Moderator and Recognized Developer Diamondback, whose name you might recognise from another project, Virtuous Ten Studio.
The Remote Theme Injector has since been incorporated into VTS, adding yet another useful feature into an already incredibly versatile piece of software for a variety of Android projects. VTS itself is essentially an IDE and a whole lot more, aimed at everyone from ROM developers to smali gurus, and now themers. It is capable of not only decompiling, modifying, and recompiling applications, but also modifying the m10 files that are a major component of HTC’s Sense UI, as well as the unpacking/repacking of boot images. That’s barely scratching the surface of what VTS is capable of, and I highly recommend checking out the VTS home page and XDA forum thread for more information.
The updated RTI bundled with VTS takes advantage of these features, and now allows for smali modifications to be included as part of the application themes. For a perfect example of just what is possible with RTI, check out the most recent batch of TapaTalk Pro/Free themes by XDA Recognized Developer and Themer Whiskey103. Whether you have the compulsive desire to ensure that all your installed apps maintain a strict theme or just fancy giving TapaTalk a quick makeover, this is definitely something worth looking into.
Storage space isn’t quite as much of a problem nowadays compared to before. Phones and tablets are being pushed out the door with some comfortable internal memory specs such as up to 64 GB. This is even more true if you insert a sizeable MicroSD card on expandable devices. That said, not all OEMs include external storage or large caches of internal storage, so some owners who enjoy a considerable music library or movie collection continue to be bothered by the ‘low internal storage’ notification.
Although not a miraculous instant fix for those suffering such woes, XDA Senior Member divinemamgai‘s Cassini may alleviate the situation to a certain degree. A PC-based tool, Cassini minimizes the size of the apps you have installed by compressing the app’s image files. This results in less space used up by apps, and more space for your photos, music, and movies. According to divinemamgai, all system apps except for LatinIME.apk will work with Cassini, while some apps from the Play store will be compatible such as ZPlayer, Textra, and Solid Explorer.
Before installation, a brief setup process is required, including running Java 7, creating a new system variable, and editing your path—nothing complicated. With this, you’ll be able to install the tool and be on your way.
If you would like to give Cassini a go, check out the utility thread for more information and download.
Getting a new phone can be likened to a ritual in many ways. After ripping apart the delivery packaging and bubble wrap, delicately removing the sticky tape, opening the phone’s box, finally holding the glorious new device in your hand, and then feeling the slight jolt of vibration when you turn it on for the first time, you come to realize that there’s still quite a long way to go before it’s ready.
So rather than sitting at the PC for the next couple of hours researching the individual steps for the more commonly accessed actions, you may want to check out XDA Senior Member stillthisguy‘s Moto X Toolkit. With this PC-based tool, Moto X owners are able to perform an extensive list of some of the more common actions. Actions include but are not limited to:
If you’ve just received your brand new Moto X and want a tool that streamlines the setup process, check out stillthisguy’s Moto X Toolkit in its original thread for more information and download.
November 15, 2013 By: eagleeyetom
Every Android user has encountered application or game crashes at some point. However, finding the cause of these crashes is a different story. Android offers its own logging system called logcat, which uses ADB to fetch all necessary information for developers to analyze and fix the problem.
It’s easy enough to install the android-sdk and execute the standard adb logcat command, but the output can be somewhat hard to decipher. XDA Recognized Developer Diamondback wrote a handy Windows tool to ease the process of working with logcats.
The application is easy to use and offers important features like log highlighting, dynamic filtering , exporting to text files, and uploading them to pastebin. It can also help you analyze other users’ logcats by importing them from text files.
The Advanced Logcat Viewer was originally a part of Virtuous Ten Studio, a fully featured IDE for everything related to reverse engineering on Android. However, in an effort to lower the complexity of VTS, Diamondback decided to publish certain parts of VTS as standalone versions as well. According to the developer, ALV is only the very first of these breakout features, and there are a few more to follow.
November 13, 2013 By: TK
The Google Nexus 5 was just released a few weeks ago, packing Android 4.4 Kit Kat. The Nexus 7 (2013) was released not that long ago, and officially received KitKat earlier today. KitKat brings a nice new feature that allows you to record the screen on your device. Previously, this required (paid) third party apps. And even then, many faced compatibility issues with certain SoCs and ROMs.
The new feature has one major down side, though. You must be connected to your PC to start the process. However, XDA Senior Member prsterero brings us a user-friendly PC interface that simplifies the process and allows you to control the screen recording functionality from your Windows-based computer. It also allows you to backup your media content and TWRP backups to your desktop PC. It does not (and is not intended to) unlock, root, or modify your device, but there are plenty of toolkits available for that already.
Head over to the utility thread for the details.
November 4, 2013 By: Will Verduzco
If you’re one of the lucky few to already have your grubby little paws on the recently released Google Nexus 5, you are probably the envy of all of your Android-loving comrades. But do you know what would make them even more jelly? Rooting your Nexus 5 and adding a little bit of customization.
We recently covered XDA Elite Recognized Developer Chainfire‘s CF-Auto-Root for the Nexus 5. CF-Auto-Root is essentially the easiest way to get from fresh-out-the-box to rooted stock. However, for those looking to do a little bit more device modification than simply rooting, XDA Senior Member ricky310711 created a small toolkit that does all of the basic operations for you.
The toolkit allows you to unlock the bootloader, root the device, install TWRP, modify your build.prop, backup your device, and flash and wipe various partitions. Now, it is important to keep in mind that since this is a Nexus device, you have full access to all of the fastboot commands such as fastboot oem unlock and fastboot flash. Thus, customization is already a breeze on the device when you do it manually.
Make your way over to the utility thread to get started. Then to really get started with device modification, head over to the Nexus 5 Original Android Development section and try out a new custom kernel.
November 3, 2013 By: egzthunder1
Probably one of the toughest jobs for anyone trying to get a product into users’ / customers’ hands is the eternal balancing act between trying to be productive, reaching as many people as humanly possible, and not having to deploy an eternity of small/medium/large tweaks to target other markets. Languages are by far the best possible example of this important part of product development. Not everyone around the world speaks the language that the developer is comfortable with, and as a result, many people are left without the possibility of testing a potentially good app or tweak.
While there are people out there, particularly on XDA, who will gladly help out with translations to different languages, a faster solution may be preferable. To that end, XDA Forum Member BalcanGSM brings us an application developed by Artfulbits called Android Localizer.
Android Localizer essentially acts similar to how Google Translate does in browsers—by automatically translating the text of a particular page. Similarly, the program automatically translates parts of the decompiled APK that you would like to translate into other languages. It is simple and rather quick to use, and the translations are quite “spot on,” as it uses Google Translate.
Needless to say, the APK needs to be decompiled prior to running this tool. The tool is small and it runs on a Windows environment, starting from XP and up. So if you were waiting for your favorite dev to translate your favorite games into Amharic, now is your chance to be proactive and learn a thing or two about compiling and decompiling APKs, as well as getting your language skills going. Please leave any and all feedback on the thread so that you can share your experiences with the app. Finally, remember to ask permission of the developer if you are planning on distributing the translated APK.
You can read more information in the original thread.
October 20, 2013 By: Will Verduzco
As our mobile devices grow faster and faster with each passing generation, more people opt for the convenience and ease of customization of deodexed ROMs rather than the (theoretical) speed advantages of odexed ROMs. While we aren’t here to debate the merits of either stance, some people still prefer to use Odexed ROMs. That said, those wishing to learn more about the pros and cons of each should visit XDA Recognized Contributor philos64 excellent information thread.
What do you do once you’ve determined that you want to Odex your ROM and you are away from your computer? XDA Senior Member MatrixDJ96 created a simple recovery-flashable script that does this for you from the comfort of your device. The tool does one thing, and it does it well: odex your device’s ROM.
To get started, visit original thread and give this a whirl in any custom recovery. Just remember to please make a full nandroid backup before you get started. This is useful both if something goes wrong, as well as if you decide you wish to revert to your ROM’s previous state.