[TOOL][WINDOWS] HAT- Hybrid APK Tool - Bringing New Era of Modding! - Miscellaneous Android Development

INTRODUCTION
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is HAT?​Well, HAT is short-form of Hybrid APK Tool. HAT makes decompiling/recompiling of all apk files easy as 1 2 3, HAT supports both apk's and jar files and is very easy to work with. HAT provides all features necessary for any modder/user.
Why use HAT?​Honestly, that's up to you. There are many tools out there but mostly fail at critical times but HAT can be a good bet.
FEATURES​
● Fast and light (Only 11 mb).
● High success rate while decompiling/recompiling.
● Special method of decompiling/recompiling jar files! Never seen before this method will never fail and you can easily edit any jar file (deodexed jar). HAT uses special method for the process.
● Avoid bootloops while editing framework-res.apk especially for SONY devices. HAT uses special method that avoids bootloops.
● Real time logging. Generate logs for every action.
● Choose your own version of apktool. Currently HAT comes with two versions of apktool (the folder is hidden due so to avoid any unwanted deletion of the folder, kindly enable the show hidden files option). To use your own version of apktool keep your apktool in "tools/apktool" folder
● Normal method of decompiling and recompiling of jar also present giving two methods to simultaneously work at jar files/
● Clear the junk files if too populated
HOW TO USE​
Simple just download the file and extract it in core C: drive. It should be C:HAT or it won't work
DOWNLOAD​
Here is the download link for the tool - DOWNLOAD HERE
FAQ
Q) I open HAT.exe and it shows a black screen and closes. Why?
Ans) Two possible reasons a) You have not extracted it in C: drive
b) You have space in your username eg Tech N You instead of TechNYou
Solution
a) Extract it in C and execute
b) Make a new account with no space in between
Q) I see errors related to java, what are they?
A) To work with apk's and jar's you must have JAVA installed on your machine. Install JAVA then proceed also if you have java installed make sure it has been defined in system path
Q) I have java still I face errors, why?
A) Reason is java not defined in system. Open cmd and type "java" and "javac" (without quotes) and press enter if you get error(s) like :"java" or "javac" is not an external or internal command define java in your PC. Search google on how to.
If you get some response on trying both commands it's an issue with tool. Please report here.
Q) Do I need anything else than java?
A) No you don't need anything else than java. Recommended latest version java
CREDITS​
@iBotPeaches for apktool
@JesusFreke for smali/baksmali
@Ticklefish for his awesome Tickle my android! Best tool so far!
@BDFreak for his AdvancedAPKTool
Me for creating this tool
XDA:DevDB Information
HAT - Hybrid APK Tool for Windows, Tool/Utility for all devices (see above for details)
Contributors
Tech N You, Tech N You
Version Information
Status: Stable
Current Stable Version: v1
Stable Release Date: 2015-03-31
Created 2015-03-30
Last Updated 2015-03-30

CHANGELOG​● v1 Initial Release​

Reserved.

Mirror needed for this awesome tool also.

Download link for H.A.T not working! Please post working one. Thanks

babydouggie said:
Download link for H.A.T not working! Please post working one. Thanks
Click to expand...
Click to collapse
babydouggie is correct and the Link is still not working anyone got a working link please ?

download link not working !!!

Related

[TOOL] AndroidControl v1.3.1 - control your Android

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi guys
I want to introduce you a multi-functional tool which makes your life with your Android device much easier.
There are so many tools which can do one helpful thing. But here are the most needed things ins one place:
Features:
Copy files from device to pc
Copy files from pc to device
Normal restart, reboot in bootloader and reboot in recovery
ADB kill- and start-server, Remount and shell
List all on the device installed packages and uninstall, enable and disable them (good against float ware)
Install apk from pc (internal storage OR SD card)
Fix permissions
Flash radio image
Flash recovery image
Flash zImage (Kernel) and kernel-modules
Flash boot image
Languages:
English
German
Requirements:
.NET Framework 3.5 (on your pc)
Drivers (HTC Sync)
USB Debugging turned on
Android Phone
S-Off if you want to use the flashing stuff
USB cable
Pictures:
I am not responsible if your device takes any damage.
(also attached)
Older versions:
Download v1.3
Download v1.2.1
Download v1.2
Download v1.1
Download v1.0
Notes:
You have some questions about the tool and need support? Or do you want to become a beta tester?
I am looking for people which can translate the tool to other languages
Join me on my freenode IRC channel #NickiB . Click here to join
Please post your noticed bugs, feedback or ideas what features I could add too.
Have fun!
Changelog
v1.3 2nd upload - 03.05.2011:
Some German translations fixed
v1.3 - 03.05.2011:
Multi language
- Added "Language" menu
- Added German translations
Added option under "Advanced" to fix permissions on the phone
v1.2.1 - 28.04.2011:
fixed bug where adb.exe and fastboot.exe were expected in c:/
v1.2 - 27.04.2011:
Menu "Advanced" added
Remount and Shell moved to "Advanced"
Menu "About" added
Moved Changelog to "About"
"About..." window added in "About"
Window is now smaller
Footer in General moved to "About..." window
Some ui changes
Some code changes
v1.1 - 25.04.2011:
Shell-button added
File -> Changelog added
some code optimizations
v1.0 - 24.04.2011:
Initial release
F.A.Q
Q: Which versions of .NET Framework do i have?"
A: Navigate with the Windows explorer to "%systemroot%\Microsoft.NET\Framework". There you can see some folders with the version of .NET Framework as their names.
Q: If I try to start the exe file i get this error: "Application failed to initialize (0x0000135)"
A: Your .NET Framework version is too old. Download version 3.5 here.
Q: If I try to start the exe file i get this error: "unable to find a version of the runtime to run this application"
A: That means that you have installed .NET Framework 4.0. But 4.0 hasn't include 3.5. Download version 3.5 here.
Nice. Will try it. Thanks for the great work!!!
Nice tool....
looks awesome!
It's perfect, thanks!!!
works also with non-rooted DHDs ?
Yes, but not all features. F.e. the flashing stuff.
yeah..nice tool
cool man
but i still want control my android full control with my pc hahah...
but this tool make easy
thx nickiberli
You're all welcome!
I hope it works for you as it works for me!
So please report bugs!
nice tool thanks
Interesting, will give it a try thanks!
good!
Hi,
I successfully updated my radio using your tool. Great work! Thx
download link doesn't work
Moskiller said:
download link doesn't work
Click to expand...
Click to collapse
Sure it works
Here for Rapidshare...
Neat so in essence,a windows only version of QtADB
Hm maybe, but i don't know QtADB ^^
There are always other programs
really nice tool help for saving time ... keep work hard
does it work for replace framework-res.apk ?
psuser said:
really nice tool help for saving time ... keep work hard
does it work for replace framework-res.apk ?
Click to expand...
Click to collapse
Yes that should work!
I just tested it and it worked well

Easy OTA Updates for SafeStrap enabled Devices

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Samsung Galaxy S5 ATT and Verizon Developers can now easily add OTA capabilities to your ROMs without the need for dedicated servers or hosting, no need to hack OEM code to point to your servers. This package and the following instructions will show you how easy it is to implement an OTA solution with minimal impact on system applications and firmware.
Click to expand...
Click to collapse
Code:
[B][U][COLOR="Red"]The download package includes all of the following:[/COLOR][/U][/B]
1. Original untouched eclipse source code from [URL="https://github.com/OTAUpdateCenter/ota-updater-2.0"][B][COLOR="Red"]HERE[/COLOR][/B][/URL]
2. Original modified decompiled source V2.0.5 apk
3. Modified decompiled source (My Modifications) V2.0.8 apk
4. Example "rom.ota.prop"
5. Required "ota.prop" (For SafeStrap support)
6. Text file containing links required to be posted in your OP
Code:
[B]Required tools for successful build[/B]
1. VTS (Virtuous Ten Studio) or (Apk MultiTool v1.1.0)
2. If working with the untouched Eclipse Source Eclipse Juno and the current version of Gradle
3. A text editor capable of Unix/Linux encoding (Notepad++ recomended)
4. A tool for comparing files (Winmerge is the tool I use)
5. A Dropbox account or other file sharing account that allows for Direct download links (No landing pages)
Posting Requirements
1. Included in the download package is a text file that includes all links "REQUIRED" to be visible in your OP.
2. You may NOT remove any copyright notices on the about page, neither the originating copyright nor mine.
3. You may NOT change the Open Source licensing file however you may ADD to this file.
4. You may NOT remove any contributors from the contrib.txt but you may ADD yourself to this list.
Click to expand...
Click to collapse
Instructions​
Code:
1. Download the zip package [URL="http://forum.xda-developers.com/devdb/project/?id=6764#downloads"]"Unity_OTA_Mod.zip"[/URL] and extract to a working folder.
2. Using your tool of choice either VTS or Apk MultiTool decompile both included apk files
3. Using Winmerge or other diffing tool compare the decompiled sources
4. you can easily see the changes between 2.0.5 and 2.0.8 pay close attention to the downloadsactivity.smali.
5. Once you have completed your changes/modifications recompile the APK.
6. Go [URL="https://www.otaupdatecenter.pro/"][B][COLOR="Green"]HERE[/COLOR][/B][/URL] and follow their instructions for setting up your ROM
7. Reboot your device to SS Recovery
8. Push your compiled APK to /system/app/OTA-Updater.apk
9. Push your "rom.ota.prop" and the included "ota.prop" to /system
10. Push "com.unityota.feature.xml" to /syste/etc/permissions/com.unityota.feature.xml
11. Wipe cache and dalvik-cache and reboot
12. Verify application opens and contains all of your modifications
13. Once you have an OTA file setup for your ROM [B][COLOR="Red"](see step #6)[/COLOR][/B] test the application for download and flash.
!!THANKS!!​
Code:
@hashcode - for SafeStrap Recovery
@geohot - for root
[URL="https://www.otaupdatecenter.pro/"]otaupdatecenter.pro[/URL] - for the original source and OTA environment
Google - For Android
Virtuous Developers for VTS
github for providing source code control and open source access
!!!Disclaimer!!!​
KoolKit ROMs and Unity Development are not responsible if you blow up your house, your dog eats your
homework, the zombie apacolypse, your wife/husband divorcing you or if your device turns into an unrecognizable
smoldering pile of plastic. by reading this you agree to take all responsibility for any damage you do to the
universe, your device, your marriage or your failing grades in school or college.
Click to expand...
Click to collapse
XDA:DevDB Information
OTA-Updater, Device Specific App for the Samsung Galaxy S 5
Contributors
cstayton, https://www.otaupdatecenter.pro/
Source Code: https://github.com/OTAUpdateCenter/ota-updater-2.0
Version Information
Status: Stable
Current Stable Version: 2.0.8
Stable Release Date: 2014-11-20
Created 2014-11-20
Last Updated 2014-11-20
Reserved
Reserved

[TOOL] APKTools Windows GUI Decompile/Recompile/ZipAlign/SignAPK

Hi everyone, I want to share a tool that I make it myself for easy to modify APKs (Because laziness so I don't want to type cmd :silly: ).
REQUIREMENTS :
1. Windows XP or above.
2. .NET 2.0 is installed (default on XP, Vista, 7)
2. JRE/JDK Installed.
3. An APK that you want to do something with it.
FEATURE:
1. Decompile APK.
2. Recompile APK.
3. Batch SignAPK (You can select or Drag multiple file).
4. Batch ZipAlign APK (You can select or Drag multiple file).
The inputboxes are Drag&Drop able.
CREDITS & BIG THANKS TO :
- viperneo for MetroFrameworkUI.
- brutall for apktool.
- Anyone that make signapk.
- The Android Opensource Project for zipalign.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download link in attachment
Hey SandPox, good job!
Hope that more people will find this useful post
wouldve been goog if igood juust drop my framwork app and priv app folders in and its find thee apks it would. so kind of batch. may as well put the new paging/alignign of the new -p .so files that can be done now with the zipalign tool. =
thanks for this tool... won't decompile everything with my device but still good tool
i am getting a finished with error code 1
when recompiling systemUI.apk
it decompiles but will not recompile
i am using the right framework-res file as well
Very usefull tool..
I use other tool, but sometimes have problem with recompile.
Now i know what i will use.
Thanks for all @SandPox
Can we decompile marshmallow, and recompile the marshmallow apks?
Marshmallow compatible? Is it just based on the apktool version that is installed?
Hi everyone, I want to share a tool that I make it myself for easy to modify APKs (Because laziness so I don't want to type cmd :silly: ).
REQUIREMENTS :
1. Windows XP or above.
2. .NET 2.0 is installed (default on XP, Vista, 7)
2. JRE/JDK Installed.
3. An APK that you want to do something with it.
FEATURE:
1. Decompile APK.
2. Recompile APK.
3. Batch SignAPK (You can select or Drag multiple file).
4. Batch ZipAlign APK (You can select or Drag multiple file).
The inputboxes are Drag&Drop able.
CREDITS & BIG THANKS TO :
- viperneo for MetroFrameworkUI.
- brutall for apktool.
- Anyone that make signapk.
- The Android Opensource Project for zipalign.
Download link in attachment
Nice Work
:good::good:

Baa's Android Kitchen - Auto Porting Tool for MT6580 Kernel 3.18.19

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Baa's Android Kitchen
Auto Porting Tool for MT6580 Kernel 3.18.19
Porting Method From Nana Iyke Quame
Download Link: drive.google.com/open?id=0BwNegVZnDr-QMVhNYktTUWhBSkU
Requirements:
Must have any text editor to edit build.prop and updater-script
How to use:
REMEMBER TO EXTRACT THE TOOL IN C:\ TO AVOID SCRIPT ERRORS.
1.Place the stock boot.img,system.img, and the rom you want to port to the dedicated folder.
2.Open the tool and select option 1. Wait for it to finish and then go back to the main menu.
3.After option 1 has finished gathering the needed files, select option 2, then select what type of porting method you want to apply.
AOSP BASIC - ports etc\firmware and mdbb only (Preferable if you just want to boot the rom then fix bugs later.)
AOSP FULL - ports bin, ports etc\firmware and mdbb, ports lib, ports vendor (Porting method with bug fixes applied, but can sometimes cause loop in some roms)
CM-BASED BASIC - ports etc\firmware and mdbb only (Preferable if you just want to boot the rom then fix bugs later.)
CM-BASED FULL - ports etc\firmware and mdbb and ports lib ((Porting method with bug fixes applied, but can sometimes cause loop in some roms)
3. After porting method is applied.Go back to the menu and select option 3, then manually edit the build.prop and updater script to your liking.
4. After you have finished editing, select the build option. After building, move the rom zip to your phone then flash
Note:
1.Make sure to place all files in their needed directories for script to successfully locate your files and proceed without errors
2.You have to manually edit build.prop and updater-script values based on your liking and needs.
3.Only use the delete all dependencies option after you have finished/ have flashed the ported rom because it will also delete the file you have finished building.
I hope you like my simple tool I have put many hours to make this
If you have something to add in this tool feel free to suggest and help.
I made it using Notepad++ for batch scripting and Quincy 2005 for C language codes
If you feel that I have helped you and you liked my tool feel free to donate, it will greatly help my studies Just inbox me, I dont have paypal atm still 17
Screenshots:
Proof: Lineage OS 13 Auto Ported with this tool
Special thanks to:
Nana Iyke Quame, droidpeepz, darkcyanidedevs, mt6580 development and porting, xda-developers, 4pda​
LOS 13 is Android 6? how i port LOS rom to Blu Vivo 5 Mini?

Guide to enable 24bit Audio on Xiaomi Redmi 5 [ROSY]

Hey everyone, in this guide I will show you how you can get 24bit audio processing on your beloved rosy.
Keep in mind that I WILL NOT provide a bunch of files for you to change within your root, because audio xml's changes a lot and its hard to keep track for me as to which files will work and which won't. So rather, I will provide a way for you to edit those files on your own.
Requirements:-
1. Rooted with Magisk
2. A File manager (ex. MiX) with root permission granted
3. Note Editor (You can use MiX note editor)
4. Terminal Emulator like Termux to test if the method worked or not
5. Some Common Sense
ROMs I tested this on:-
1. LOS by Pulkit
2.RevengeOS by Pratyakshm
3.PixelExperience
4.AOSP11 by Pulkit
This method should also work on:-
1. Any Android 10 based ROM
I cannot say about android 9 or the version's before that because i never tested them, however if someone is willing to do that, let me know in the post replies and make sure you follow the guide.
Before we start, MAKE SURE TO BACKUP YOUR OLD FILES IN CASE ANY PROBLEMS ARISES LIKE BOOTLOOP'S.
So the steps are as Follow:-
1. Open up MiX or any of the file manager that you have then head over to /vendor/etc .
2. In there, find "audio_policy_configuration.xml" .
3. Take backup of this file and then open "audio_policy_configuration.xml" .
4. Under <mixPort="primary output"> profile name would be written as "AUDIO_FORMAT_PCM_16_BIT" change this string to "AUDIO_FORMAT_PCM_24_BIT_PACKED" .
5. Follow the same process as given in Step 4 for <mixPort = "raw"> , <mixPort = "deepbuffer"> and <mixPort = "direct pcm"> .
6. Scroll down the section of <device_port> and replace the string shown above for <Wired_Headset>, <Wired_Headphones>,<BT_SCO>,<BT_SCO_Headset>,<Line>.
- - Refer to the Screenshot Attached below, That will be enough for you to understand it properly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
6.This step is only for people who also have the file audio_policy.conf in vendor/etc directory.
>> under primary > outputs , change format to "AUDIO_FORMAT_PCM_24_BIT_PACKED" for primary, raw & deep_buffer. [Screenshot attached below]
6. Save the file and put it back in /vendor/etc and give chmod 0644 [-rw-r--r--] .
7. Reboot your device.
- - At this point if your Phone doesn't boot, use TWRP to replace the new file [edited] with the Old one [unedited] file and message me on telegram @bancelhub so that I could look into the matter.
PROFIT!
How to check if it's working.
1. Open up termux with su.
2. Type "dumpsys media.audio_flinger"
3. AudioOut_D and AudioOut_1D should show "AUDIO_FORMAT_PCM_24_BIT_PACKED" as HAL Format. [Refer to Screenshots Attached]
Hope this guide was good enough, this was the first guide I wrote on xda. You might have noticed that I only explained how to do this on one device tree, Pulkit one's, since his dt is public I used it to show this experiment. You can try it on other ROM's based on other DT's but your procedure may vary, mildly. let me know your experience on telegram!
Happy Editing!
Awesome !!
Thanks for detailed guide :good:
Nice Guide ,Working

Categories

Resources