September 11, 2013 By: Will Verduzco
If you’re a fan of the notification toggles found in XDA Senior Member lidroid‘s series of ROMs for various Samsung devices, you may be hesitant to switch to a different ROM or even a different device. After all, as we discussed earlier, notification toggles are quite useful, and having more of them is never a bad thing. Thankfully, XDA Senior Member Adi Aisiteru Reborn has created a guide showing you how to port the toggles over to various non-Samsung Android 4.0 Ice Cream Sandwich or Android 4.1 Jelly Bean ROM.
The guide first instructions you to decompile SystemUI.apk, and then it walks you through the values you will need to modify. Naturally, you need to know how to decompile and recompile APK files, but there’s a guide for that. You will also need some patience and a little bit of experience, as the guide doesn’t cover all of the basics involved in the process. However, if you’ve decompiled an APK and made some modifications before, you should be fine.
In addition to the 21 lidroid toggles, Adi Aisiteru Reborn has also added additional toggles made by Recognized Themer serajr.
we are going to port 21 Lidroid toggles :
( -Lock screen/screen-off action, -Reboot action, -Shutdown action, -Airplane mode, -Bluetoth, -Brightness, -GPS, -Flashlight, -Lockscreen, -MobileData, -Orientation, -ScreenTimeOut, -Sound, -Sync, -Wi-fi, -Wi-fi Hotspot, Battery info, Stay awake, USB Connection mode, USB Debugging, Network mode )
If you fancy creating and applying themes for your applications, you no doubt have become well acquainted with APKTool. The application, originally created by XDA Recognized Developer Brut.all has become a staple in application modification on Android. It enables the modification of app resources by allowing users to easily decompile and recompile applications.
We’ve recently featured a few tools aimed at streamlining the APKTool experience, as well as a few guides on the subject. However, sometimes a script with some optimized use-cases can useful as well. This is where XDA Senior Member dfkt_ and his script BatchAPKTool come in.
BatchAPKTool isn’t intended to take care of every need for every user. Rather, it’s intended to perform a limited subset of tasks extremely efficiently. These tasks include decompiling the application resources into a dedicated subfolder, deleting all files other than image resources, optimizing the images, compiling the NinePatch PNGs, rebooting to recovery, and performing various tasks such as pushing the newly themed app.
While BatchAPKTool isn’t a general purpose script geared at satisfying everyone’s needs, it is useful for those looking to perform certain types of application theming more efficiently. Head over to the original thread to get started.
A couple of months ago, we wrote about a tool that allows users to easily decompile and recompile APKs. Similar in functionality to the legendary APKTool (thread) by XDA Recognized Developer Brut.all, Android APKTool by XDA Forum Member Flextrick made the process extremely user friendly by adding a simple and easy-to-use GUI.
In the time since our last posting, Flextrick’s utility has been given a major overhaul in its upgrade to version 2. As before, it runs on Windows computers with Java and .Net framework installed. A temporary quirk, however, is that only the Windows 8 version of the app has been updated to version 2. The Windows 7 version is still on 1.2. Luckily, the Windows 8 version runs just fine on Windows 7, with the exception of a somewhat broken layout.
According to the developer, version 2 lands with a complete code rework, along with a folder structure for a better overview. Furthermore, modified files will appear in their own folder, and buttons were added to select between JAR and APK files. Finally, some additional UI changes were made, as well as other miscellaneous changes across the board.
If you’re looking to easily (and graphically) modify your APKs, head over to the original thread to get started.
June 23, 2013 By: Samantha
Using a command line interface is a daunting task for many novice developers and themers. So its unfortunate that one of the most popular tools for modding and theming, APKtool, requires such input. This is why we’ve featured some noteworthy guides on how to use APKtool for its many purposes, such as decompiling and recompiling APKs. However, if you are looking for a simpler, more efficient way to decompile and recompile APKs without command line, you may want to check out Android Apktool.
Developed by XDA Senior Member Flextrick, Android Apktool is a free program requiring Java that performs the simple function of decompiling and recompiling your APKs. It allows you to install your framework, decompile your APK of choice, and then recompile it with only a couple of clicks, streamlining and alleviating the process normally performed by APKtool. You’ll quickly be on your way after setting up the minimalist development environment outlined in the brief tutorial provided, as the rest of the process is quite self-explanatory. There’s also a log integrated into the tool that displays a history of activities convenient for the diagnosis of any errors that you may come across.
Coming in at a mere 2.81 MB, Android Apktool is certainly worth considering for decompiling and recompiling APKs. So if this has you interested, head over to the original thread for more information and download.
A few days ago, we covered a tool aimed at making it easier to use Baksmali/Smali, a disassembler/assembler for the Dex files used by the Dalvik Virtual Machine in Android. Another incredibly useful tool to have in your modification arsenal is APKTool, which was originally developed by XDA Recognized Developer Brut.all and is continued to this day by XDA Senior Member iBotPeaches.
While APKTool is incredibly powerful, it can also be intimidating to new themers and modders. Thanks to a guide created by XDA Recognized Contributor and Themer PulseDroid, though, this should no longer present much of an issue.
The introductory-level guide covers what files you need, your development environment, and how to actually use the tool to decompile and recompile. This is accomplished in four easy steps: installing framework, decompiling (and applying your modifications), recompiling, and inserting the new contents into the old APK to retain the old signature.
The guide steps are accompanied by copious screenshots and plenty of explanation. All in all, this incredibly easy-to-follow guide will get you on your way, regardless of how little experience you may have at the start.
Last month, we saw a new tool that made it painless to edit the contents of Classes.dex. If you were drawn in by that prospect but couldn’t quite get the pieces to work, I think you’ll appreciate following the example that XDA Recognized Themer/Contributor Rizal Lovins put together. He takes one step back to look at the bigger picture, giving a start-to-finish walkthrough for decompiling, editing, recompiling, and signing an APK file. The necessary tools are pretty much the same (Windows, Java, Android SDK, Apktool, and a text editor) so that you may pick up where you left off with your smali and Baksmali editing experiments.
To use Apktool to decompile an APK, you need to also have the support packages it uses (ie: framework-res.apk). After issuing a few commands, Apktool will spit out the files hidden within and it’s time to start editing. Rizal then goes on to show how to package everything back up and resign the edited app. Check out the original thread for full details.
The biggest benefit of publishing guides like this one is that the community can learn and improve upon them. XDA Recognized Themer Ibanez7 did just that. His thread, which mentions Rizal’s work as a reference, demonstrates how to use the same techniques to change the font color and edit the activity title bar of an app.