FORUMS
Remove All Ads from XDA

[APK,IMG,DAT,BR] One click decompile/compile - Windows Shell Integration

205 posts
Thanks Meter: 173
 
Post Reply Email Thread
Quote:

This tool is a part of ADK software, thread can be found here (For summary read Introduction part below). Read Instructions at the end on how to install this.

main
Snapshot
Quote:

1

2

3

Introduction
Quote:

This Utility adds option to right click decompile, compile options for some extensions (like apk, img, dat, br, file_context.bin, payload.bin) so that you don't have to open any kind of kitchen again and again move files there and select options to unpack. See screenshots above you will get an idea about what is it..
Also it's not a separate tool it is a part of ADK. Read Installation and download instructions from below and check 2nd post for usage instructions.
And yes the main part since ADK kitchen is not completely free it works for only 7 days as a trial after that you will have to use demo version which has certain feature disabled. Not to worry this utility will work fine but there will be a pop-up notifying to buy license.

What is ADK?
Well if I've to say, ADK (Android Development Kit) is a complete Windows based GUI application which allows you to edit Android apk files, ROM zips, boot or recovery images, Android Firmware and also to create TWRP/CWM flashable recovery zips easily. It's like a complete Android Kitchen with lots of mods, patches, scripts, templates, rich text editor, etc. like an IDE. For more info visit official thread here.

Features
Quote:

Well here you go,,,

  • Unpack/Repack APK (including smali), IMG, DAT, BR files.
  • Generate Java Source for APK.
  • View APK Info like App name, Package, permissions, icon, etc.
  • Import App as dependency for system apk.
  • Support Android 9.0 ROM.
  • Supported lists are: System, Vendor img, dat, br and Recovery or Boot images)
Suggest me what to add more..

Changelog and Known Issues
Quote:

Changelog as per release 1.1.0.0 (17th January 2019)

*Added: Option to unpack Payload.bin
*Added: Option to convert file_contexts.bin to file_context
*Added: Support for Android 9.0 images.
*Updated: APK decompiling so as to create project for ADK.


Known Bugs

* Unpack option is not showing for .IMG file (on Win8.1 and lower).
Current Fix:- Open CMD and type "contexts d path-to-img" (without quotes).

Downloads & Instructions
Quote:

To use these feature you must have ADK to be installed. So read steps below (noob friendly) in order to get it. If you want to know what is ADK read Introduction Part above.

Step 1: Install ADK


Grab a latest release of the software from above link.
1


Step 2: Extract the ZIP and install setup.exe as we normally do.

Do not install the software in C:\Program Files or Program Files (x86) folder.
2


Step 3: Launch ADK from desktop shortcut and go to Help > Plugins & Patches.

Keep your internet connection ON to do this steps.
2


Step 4: Search for ADK Context [Script] and install it.

First click on Download option then after click on Install it. Installation will be like normal setup file.
2


Step 5: Once installed you can close ADK and use the plugin.

The Following 9 Users Say Thank You to [email protected] For This Useful Post: [ View ] Gift [email protected] Ad-Free
 
 
3rd January 2019, 06:43 PM |#2  
KP@2016's Avatar
OP Senior Member
Flag Dombivali
Thanks Meter: 173
 
Donate to Me
More
Reserved
The Following 3 Users Say Thank You to [email protected] For This Useful Post: [ View ] Gift [email protected] Ad-Free
4th January 2019, 10:39 AM |#3  
Senior Member
Thanks Meter: 212
 
More
Nice tool (y) keep up the good work!

Sent from my Redmi 4X using Tapatalk
The Following User Says Thank You to EnerJon For This Useful Post: [ View ] Gift EnerJon Ad-Free
10th January 2019, 03:13 PM |#4  
can we then recompile say a vendor img after using this tool to unpack?
10th January 2019, 03:43 PM |#5  
KP@2016's Avatar
OP Senior Member
Flag Dombivali
Thanks Meter: 173
 
Donate to Me
More
Quote:
Originally Posted by Xdevillived666

can we then recompile say a vendor img after using this tool to unpack?

Yes why not! Just right click on the unpack folder created by the tool and select Encode APK,IMG,DAT,BR option from there
The Following User Says Thank You to [email protected] For This Useful Post: [ View ] Gift [email protected] Ad-Free
20th January 2019, 08:54 AM |#6  
KP@2016's Avatar
OP Senior Member
Flag Dombivali
Thanks Meter: 173
 
Donate to Me
More
Tool has been updated. To download it open ADK it will notify you which plug-in needs to be updated!
1st March 2019, 10:29 PM |#7  
Luffy.d's Avatar
Senior Member
Thanks Meter: 750
 
More
Quote:
Originally Posted by [email protected]

Yes why not! Just right click on the unpack folder created by the tool and select Encode APK,IMG,DAT,BR option from there

Can't repack vendor either with ADK or shell.
ADK says cant find context for system/apps probabby its cant find selinux perms in file_contexts as its vendors its should not need that
And with Shell method can't say log are not getting create
Please looks and thanks for your work
2nd March 2019, 04:42 AM |#8  
KP@2016's Avatar
OP Senior Member
Flag Dombivali
Thanks Meter: 173
 
Donate to Me
More
Quote:
Originally Posted by Luffy.d

Can't repack vendor either with ADK or shell.
ADK says cant find context for system/apps probabby its cant find selinux perms in file_contexts as its vendors its should not need that
And with Shell method can't say log are not getting create
Please looks and thanks for your work

Vendor needs file_context especially plat_file_context it maybe missing something. I will look into it soon as currently I'm working on new project. So this might take a little while, but for sure I'll fix this.
The Following 2 Users Say Thank You to [email protected] For This Useful Post: [ View ] Gift [email protected] Ad-Free
2nd March 2019, 05:51 PM |#9  
Luffy.d's Avatar
Senior Member
Thanks Meter: 750
 
More
Quote:
Originally Posted by [email protected]

Vendor needs file_context especially plat_file_context it maybe missing something. I will look into it soon as currently I'm working on new project. So this might take a little while, but for sure I'll fix this.

Thank you and no hurry
and here the exact error
error: build_directory_structure: cannot lookup security context for /system/app
2nd March 2019, 09:46 PM |#10  
Senior Member
Thanks Meter: 465
 
More
Wow nice.
This can decompile framework-res.apk ans systemui.apk without errors anf uknown folders? Means java problem?

Good work, thank you.

Wysłane z mojego SM-G930F przy użyciu Tapatalka
3rd March 2019, 04:14 AM |#11  
KP@2016's Avatar
OP Senior Member
Flag Dombivali
Thanks Meter: 173
 
Donate to Me
More
Quote:
Originally Posted by Luffy.d

Thank you and no hurry
and here the exact error
error: build_directory_structure: cannot lookup security context for /system/app

I'll contact you once I will look up in this issue and fix it.
Post Reply Subscribe to Thread

Tags
adk, one click decode encode, one click rom kitchen, rom kitchen, windows right click context integration

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes