yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] ForestCat:
I think you mentioned that this shares some common code. etc with Virtuous Ten Studio. When fetching apk's from the device, the lists returned by ADK vs VTS are totally different. Example from a Galaxy Note 4, stock 6.0.1:

VTS: SecContacts_M_OSup_Note_Legacy_USA.apk ( the actual filename from the phone)

ADK: com.android.contacts.apk

The res folders in the de-compiled projects are similar(but not identical), so I'm wondering:

a) Is there a way in ADK to browse the actual .apk on the device?

b) If not, how can I be sure what I'm looking at/downloading in the list of apps?

Thanks
[Android Software/Hacking General [Developers Only]] Tyakrish:
Does it have support for Android 10 ?
[Android Software/Hacking General [Developers Only]] KP@2016:
a. VTS is using old apktool version which does not suuport latest apis. Due to this the structure is different.

b. You need to figure out the manually. As of now i can tell if you know basic of android development you can easily figure out this structure.

Indeed yes
[Android Software/Hacking General [Developers Only]] Dark_Lion64:
I tried to mod a APK with multiple dex files, but it seems like DexPatcher only sees the first dex file and ignores the rest.

After searching a bit it seems that this is normal and that there is an official "extension" for multidex apks: https://github.com/DexPatcher/multidexlib2

Have you already added this to ADK and im just blind? If not, do you think you could add support for it? This would be really useful in my opinion.
[Android Software/Hacking General [Developers Only]] KP@2016:
I'll let you know when I implement this on ADK!
[Android Software/Hacking General [Developers Only]] n0j0e:
Beware:

https://www.virustotal.com/gui/file...22fee8432bafbb6586fc09b20e6cfbf4d30/detection

28/70 detects a Virus in the plugin folder > contexts.exe.exe !
[Android Software/Hacking General [Developers Only]] netcrk:
ADK Caching Project very slow, no done :( ? KP@2016 help me, tnx
[Android Software/Hacking General [Developers Only]] KP@2016:
What's not working! It depends basically on your PC performance! :(
[Android Software/Hacking General [Developers Only]] KP@2016:
It's not a virus, it does nothing to your system! It's an installer created from inno setup. Try to make your one and see!
[Android Software/Hacking General [Developers Only]] netcrk:
I fixed the error, due to java or python setup. I delete setting them and the program works normally. Thanks for the great show

How the two apk compare function works ?, I don't see it working
[Android Software/Hacking General [Developers Only]] netcrk:
When i compare 2 apk files get error:

File "androguard\core\bytecodes\apk.pyc", line 134, in __init__

File "zipfile.pyc", line 714, in __init__

File "zipfile.pyc", line 748, in _GetContents

File "zipfile.pyc", line 807, in _RealGetContents

File "zipfile.pyc", line 373, in _decodeExtra

struct.error: unpack requires a string argument of length 4
[Android Software/Hacking General [Developers Only]] KP@2016:
Might be problem with apk file. Try to decompile the apks individually see if that works?
[Android Software/Hacking General [Developers Only]] netcrk:
apks decompile normally, works fine

I try compare 2 apk, get error

Generating InfoTraceback (most recent call last):

File "androsim.py", line 153, in <module>

File "androsim.py", line 137, in main

File "androsim.py", line 50, in check_one_file

File "androguard\core\bytecodes\apk.pyc", line 134, in __init__

File "zipfile.pyc", line 714, in __init__

File "zipfile.pyc", line 748, in _GetContents

File "zipfile.pyc", line 807, in _RealGetContents

File "zipfile.pyc", line 373, in _decodeExtra

struct.error: unpack requires a string argument of length 4
[Android Software/Hacking General [Developers Only]] KP@2016:
Can't say anything yet, can you send apk file so that I can check!
[Android Software/Hacking General [Developers Only]] netcrk:
Plz try : https://drive.google.com/open?id=1dc_wQ_h24YzCrYm8q1SWIak_5jhFMghQ
[Android Software/Hacking General [Developers Only]] KP@2016:
I checked your files, seems like there is the problem with androguard tool supplied with the tool specially for this app. I tried with some other apps and they worked fine.

Fix: Well for now their is no fix because I can't just migrate androguard tool in ADK due to lot of dependency issues.

What you can do: You can visit https://github.com/androguard/androguard and use one of their official tool to compare apks
[Android Software/Hacking General [Developers Only]] netcrk:
Thanks for answering.

If possible Please check the find in files function, look in custom forlder they do not work :D
[Android Software/Hacking General [Developers Only]] hahmad78:
i am using adk for deodexing lg v30 pie rom. i dont know, but it fails for everything.

i tried to extract sstem.img, it failed here too.

i have attached log files. kindly check where i am doing wrong
[Android Software/Hacking General [Developers Only]] KZekai:
Are there any free IMG/BR packing/unpacking tools as an alternative to the paid ADK?
[Android Software/Hacking General [Developers Only]] KP@2016:
A new update for ADK has been released with some bug fixes and small changes, read changelog here. To install this update, open the ADK and click on the update notification.

ADK full features are free for 7 days and even if the trial finishes, you can still use ADK for basic purposes like creating or building projects, and stuff. Check this features which will be removed after the trial period is over.

This new update should fix the issue you are facing.
[Android Software/Hacking General [Developers Only]] netcrk:
1. Exit or Close app very slowly, plz fix. tnx

2. Error create project in folder Documents, if i create project at desktop then it's work
[Android Software/Hacking General [Developers Only]] iBreakStuff:
I'm trying to use ADK to rebuild a Vendor.img from an OEM Nvidia Shield ROM. I want to unpack it and remove some problem apks then repack.

Using the image unpacker tool for "System.img" unpacks fine but I can't get it to repack. The parameters don't seem to be met for an actual system image. I can't unpack it using the userdata/vendor.img option because it crashes ImgExtractor.exe

Is what I'm trying to do even possible or am I trying to take a shortcut and do something ADK wasn't designed for?
[Android Software/Hacking General [Developers Only]] KZekai:
Yeah, I need a few of these for APK repacking and vendor boot image editing and they are paid ones, which is why I'm asking if there are free alternatives.

Basically all I need is:

- edit BR/IMG images

- unpack/disassemble/repack APKs
[Android Software/Hacking General [Developers Only]] KP@2016:
I think ADK does not support your Nvidia Shield images, that's why at most you can decompile it but for compiling,... I don't think it's possible!!
[Android Software/Hacking General [Developers Only]] iBreakStuff:
Thank you for replying about this.

BTW for anyone running an older Windows system like me; I'm on Win 7 64bit. I was getting an "ADK keeps closing error". This was due to an mscorlib.dll issue. Turns out Microsoft .NET framework needed to be updated to version 4.5.

Microsoft Download Center
[Android Software/Hacking General [Developers Only]] Mr_Kat:
Bhai Free mein doge ?

pleeeeeaase:crying::crying:
[Android Software/Hacking General [Developers Only]] mordantly:
Is there a debloat option besides manually removing apks and such?
[Android Software/Hacking General [Developers Only]] Dark_Lion64:
Hey, so it seems this is not getting updates anymore, which is sad to see, I really liked it :/

Do you have plans to make ADK free with the full features, or remove the "one PC only" restriction from the license?

Would be really great, as I like to reinstall my system so it doesn't get to bloated
[Android Software/Hacking General [Developers Only]] Koncrete:
If you email him he usually responds pretty quickly with a new key if you send him your info
[Android Software/Hacking General [Developers Only]] ivexsa:
Hi, I'm trying to modify a rockchip px5 RK3368 rom. the format is update.zip. I manage to unpack, but not repack. I get this message in out put:

========= Rebuild Started : xevi_rom3 =========

Block Installer (.img)

Vendor: Building vendor.img...

error: ext4_allocate_best_fit_partial: failed to allocate 309 blocks, out of space?

Failed to create image C:\UsersersavierDocumentsK Projects (xevi_rom3)\vendor.img, removing it

System: Building system.img...

error: ext4_allocate_best_fit_partial: failed to allocate 1388 blocks, out of space?

Failed to create image C:\UsersersavierDocuments Projects (xevi_rom3)\Solution (xevi_rom3)\system.img, removing it

Error : Could not repack!

Building: ROM zip...

Build -> C:\Xevi_rom3.zip Projects\xevi_rom3Build\xevi_rom3.zip

========= Build: 1 succeeded, 0 failed =========

Completed in 00:06.10

Please can someone help me, I'm new to this stuff and I want to learn.

thanks

Translated with www.DeepL.com/Translator (free version)
[Android Software/Hacking General [Developers Only]] JIJOK:
It was my carzy window's fault, working like great
[Android Software/Hacking General [Developers Only]] KP@2016:
Glad to here! :)
[Android Software/Hacking General [Developers Only]] arvs47:
not able to repack system folder

hello i unpacked the system.new.dat using your tool but after the modification , i cannot repack the system folder back to system,new,dat
[Android Software/Hacking General [Developers Only]] KP@2016:
Why you can't repack? Any log or error you wanna tell to me!
[Android Software/Hacking General [Developers Only]] arvs47:
Repacking Image Folder..

No Boot.img Found.. Kindly Browse for Boot.img..

'C:\Users\' is not recognized as an internal or external command,

operable program or batch file.

No Stats Found.. Please Browse for Original System.img..

Android Image Kitchen - UnpackImg Script

by osm0sis @ xda-developers

Supplied image: boot.img

Setting up work folders . . .

Error : Process Could not Complete..

=========== Extraction Failed ===========

Completed in 00:34.16

there is no .img apart from boot image , after extracting dat file i got only the folder ,no system .img
[Android Software/Hacking General [Developers Only]] KP@2016:
Okay I would fix this in next update till then try to remove the spaces in boot image path!

If it says no stats.txt file found. Then see in the unpack folder or in the containing directory for stats.txt file. If not browse for the system.img file created by the ADK or your original one would also be fine.

Well, in next release I will try to change the workaround a bit to make a more simple, till then have a nice day!
[Android Software/Hacking General [Developers Only]] arvs47:
there is no system.img only sytem folder when i extracted the system.new.dat
[Android Software/Hacking General [Developers Only]] KP@2016:
So if you cannot find your system.img then browse for the original system.img from your stock ROM or from firmware for a time being
[Android Software/Hacking General [Developers Only]] arvs47:
no system.img also , it has a system.new.dat file and if we look into the oreo 8.1 that is system.new.dat.br , we need another br decompiler to work with it
[Android Software/Hacking General [Developers Only]] KP@2016:
Yes to decompile .br file we definitely need a new way! But still there is a workaround you can try. It's actually very simple (later on I will add the new compiler)

1. In the directory of system folder (where all your contents are extracted), create a stats_size.txt file.

2. In that file write the "size on disk" of system.new.dat in bytes (it should be like 250017361 -- something like that) don't put any bytes or MB there just add the numbers.

Finally you have something like this

--+ system (folder)

--+ apps (folder)

--+ bla bla..

--+ stats_size.txt (file)

3. Once done run the compiler again it should work.
[Android Software/Hacking General [Developers Only]] Terraalpha:
KP@2016

If I click on the icon the program will not open.

Python 2.7 is installed.

What am I doing wrong?

Win 7 64bit
[Android Software/Hacking General [Developers Only]] KP@2016:
What error do you get when opening any sign of something wierd. Can you attach any snaps regarding this issues?
[Android Software/Hacking General [Developers Only]] Terraalpha:
No error is displayed, no window is opened.

I click on the icon and the program will not start
[Android Software/Hacking General [Developers Only]] KP@2016:
Is Java, ADB, Dot net framework greater than 4.5 installed? If not do it then try.
[Android Software/Hacking General [Developers Only]] Terraalpha:
Java 8 Update 141 (Build 1.8.0_141-b15) is installed.

.net framework 4.7.2 is installed.

ADB is installed.

The program does not start.
[Android Software/Hacking General [Developers Only]] KP@2016:
Strange I have tested on Win7 64 bit on another computers but it didn't gave such problem. If you could possibly give more information of the error somehow, it would be much helpful.
[Android Software/Hacking General [Developers Only]] Terraalpha:
If I click on the icon something is going on in the background.

But it does not open a window.

After a short time, the process is ended.

No error is displayed.

Maybe Python is installed incorrectly?

Python is installed in Path.
[Android Software/Hacking General [Developers Only]] KP@2016:
Well I don't think that's an issue because python is an optional download. It means even it is not installed ADK will run properly (only reason to install this is suppose in future I updated some binaries but not cygwin due to some reasons, it will then use python in order to run them).

I think there is something wrong with your PC, check what's going on! Use Windows debugger to debug it and pass me the log if possible!
[Android Software/Hacking General [Developers Only]] Fiisk:
[MENTION=7424515]KP@2016[/MENTION] I ran into problem when using Android image tool, when i was extracting system.img file pulled from s7 edge oreo firmware, it wasnt extracted properly i.e it only extracted the app folder not the entire system.img file.

Btw great job!!
[Android Software/Hacking General [Developers Only]] KP@2016:
Well some tools are old in ADK needed to be updated. It's final version to extract system.img .dat like files are up to Android 6.0. So if your img is above that it won't extract it properly.

BTW this stuff has been updated in new release, which is yet to be release. Check second post for more details. Once everything gets completed I will release the new update :D
[Android Software/Hacking General [Developers Only]] Qusserel:
very interesting information
[Android Software/Hacking General [Developers Only]] nalas:
Sounds amazing , wow. Thx

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] petexd:
Why no linux version? After all android is linux based.
[Android Software/Hacking General [Developers Only]] KP@2016:
Well that's easy! Unlike Linux, Windows applications are easy to write and run and is used by billions of people.

Even if we say user want Linux version of this IDE, what are the odds that they are only running Linux on their machine. Except few all does dual boot Windows + Linux. So by user + time + complexity of code making applications are easier,useful and resourceful.:angel:

Anyway that's the answer to your question but if you want to run this IDE on Linux you have to install wine + mono. Remember some features will get disabled ;)
[Android Software/Hacking General [Developers Only]] letschky:
Thank you!
[Android Software/Hacking General [Developers Only]] diehard2013:
I was initially confused because it wasn't clear this is q Windows only app...
[Android Software/Hacking General [Developers Only]] KP@2016:
Well I will add this info to main post
[Android Software/Hacking General [Developers Only]] KP@2016:
Update Info

New update version 1.0.4.4 has been released, Check OP.
[Android Software/Hacking General [Developers Only]] prith:
does it support extracting signed system.img??
[Android Software/Hacking General [Developers Only]] KP@2016:
I still don't think so cause Lenovo OEMs did add that security feature '-signed'. So can't really tell.

Also can you submit a recovery or boot signed image from your firmware so I can run some test and add this feature to ADK. It would be really helpful.
[Android Software/Hacking General [Developers Only]] prith:
try this..its a tecno camon rom..signed images...boot i could unlock with Fbwintools but not the system image .http://www.mediafire.com/file/za05a0rgj18wgtz/Tecno_Camon_I_MT6737T_IN5.zip
[Android Software/Hacking General [Developers Only]] KP@2016:
Update to version 1.0.4.6 has been released. Open ADK and download the update over the air.

This also adds ability to convert signed images to unsigned. Thanks to havotek forums.
[Android Software/Hacking General [Developers Only]] prith:
GReat!! will try it out
[Android Software/Hacking General [Developers Only]] KP@2016:
Your img is still not unpacking. I used latest FBwintools it doesn't work on these images. So I don't think it can unpack it.
[Android Software/Hacking General [Developers Only]] Ham1do:
Deleted
[Android Software/Hacking General [Developers Only]] kgr:
I'm unable to enter the Java JDK & platform-tools locations.

When I browse to C:\Program Files\Java\jdk-11.0.1\bin it says wrong JDK path... but java.exe is located in there.

When I browse to the location of my platform-tools and press ok, it doesn't actually put it in there.
[Android Software/Hacking General [Developers Only]] KP@2016:
Don't go till bin folder. Set it to jdk-**

for eg: C:\Program Files\Java\jdk-11.0.1
[Android Software/Hacking General [Developers Only]] kgr:
Thanks man. Same error when I do that folder.
[Android Software/Hacking General [Developers Only]] KP@2016:
It's because you are using lower Java version use minimum 1.5.

You are getting error because from Java 1.5 jre is built in within jdk (all in one setup) so ADK is getting error finding jre folder within jdk which is supposed to have but since you are using lowest version of Java its not there.

To fix: Either you upgrade Java to 1.8 or just leave the field blank in settings in ADK. As long as Java is in your PATH and ADK is not popping some error message like Java is not found or installed you are good to go.
[Android Software/Hacking General [Developers Only]] kgr:
I guess I'll leave it blank then - I'm not sure I understand the versions you mentioned. In that folder path, I have jdk-11.0.1 & jre1.8.0_192.
[Android Software/Hacking General [Developers Only]] KP@2016:
Well in that case I'll just modify the work around.
[Android Software/Hacking General [Developers Only]] Xdevillived666:
Howd you fix it? I have same problem
[Android Software/Hacking General [Developers Only]] KP@2016:
Hey, the latest version 1.0.4.8 can unpack and repack signed images. Check the new update, I've tested it with your images and it works.
[Android Software/Hacking General [Developers Only]] nalas:
Hello , thx for Your work :) KP

I have a two problems....

1. aftre install new update I got the error (Exeption Occured!) (Kitchen works but I think this error is bcose no package are loaded from Internet) - if I download from Your website - all is good no errors after run ADK - maybe this is only on my PC...

2. Noob question :( .... where I ahve to copy framwework-res.apk for good compiling and decompiling app? Ive tried copy to /susers/user/documents/ADK Projects/ - no works for me and I always got a "W: Could not find sources "

W: Could not find sources

brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [C:\Users\nala-\AppData\Local\Temp\brut_util_Jar_10521349149445610382.tmp, p, --forced-package-id, 1, --, etc.

Failed -> Solution (frame) Project.

... or maybe this is antyvir problem? have to be turned off?

What I doing wrong ?

Thx for help :)
[Android Software/Hacking General [Developers Only]] KP@2016:
1. If you got exception when launching ADK and then again after closing ADK, nothing to worry as it's closing some process which sometimes require admin rights. It's not a big deal.

If this is not the case submit your tools\log.log file to me.

2. As you launch the ADK it tells you how to install Framework-res.apk. You have to open Tools > Import dependencies then connect device and pull framework and install it.

Here is the guide (not maintained properly) https://androdevkit.wordpress.com/2018/01/05/importing-dependencies/
[Android Software/Hacking General [Developers Only]] KP@2016:
Which app you are trying to decompile. If it's a system app then you probably need to import other dependencies like system-ui.apk and service.jar (if deodexed)
[Android Software/Hacking General [Developers Only]] nalas:
Hi, thx for info - I will try :) big thanks

Regards

I've tried with dependencies with framework-res.apk systemui.apk and services.jar and still the same error... i try to decompile framework-res.apk i want to change only battery capacity inside in powerprofile.xml...

Always is folder UKNOWN after decompile....framework-res.apk ...problem is in resources.arsc file (with decompile).

I use Sasmung 8.0.0 TouchWiz system ... and I've tryied in others apps too - apps for decompile apk files - the same resoults...
[Android Software/Hacking General [Developers Only]] KP@2016:
Did you import framework-res.apk as dependency.
[Android Software/Hacking General [Developers Only]] nalas:
Yes, not works...next with framework.jar services.jar and secsetting and systemui and all have problems...with resorces.asrc decompile....always i got uknown folder..not only with Your app but in all for modding apps. [emoji17]

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] KP@2016:
Actually it's not the problem of the ADK. Apparently the latest apktool (this is the tool to decompile and compile APK) has some problems as the frameworks stored path was modified. Similar problem is listed on apktool's main thread https://xdaforums.com/showthread.php?t=1755243&page=567 (still didn't has solution)

Even I faced the same problem with latest one can't decompile system as well as non-system apps. If I found any solution I will let you know. For now just remember that it's not problem of ADK, apktool has some problems.
[Android Software/Hacking General [Developers Only]] nalas:
Yes, yes ... i know so why I've wrote about in all apps for decompile is this problem. Thank for answer and keeping update ADK.

No one's blame You about this [emoji3]

You make a very nice app ADK so this is great work.

Keep it up pls if You can.

Regards

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] KP@2016:
Thank you for understanding. I did even make a post on main apktool thread here earlier https://xdaforums.com/showpost.php?p=78765499&postcount=5676 but no response yet.

I think it's problem of latest Java update I guess, need to install lower one and will give it a try. Will let you know if I succeed.
[Android Software/Hacking General [Developers Only]] KP@2016:
Hello after some testing, I figured out the issue. It's due to latest java update 1.8.0_191 or above. Try using lower java version like 1.8.0_122 (I tried and it works). The thing is once you installed lower JDK you need to manually add the java path to Environment variables PATH.

Add this path C:\Program Files\Java\jdk1.8.0_112\bin (for 64-bit) to PATH and for 32-bit C:\Program Files (x86)\Java\jdk1.8.0_112\bin

Edit: Better to uninstall higher one as there are not many changes in the build.
[Android Software/Hacking General [Developers Only]] DF11GB:
No any things here???
[Android Software/Hacking General [Developers Only]] KP@2016:
Needs internet connection on!
[Android Software/Hacking General [Developers Only]] DF11GB:
My computer is connecting internet. I'm in China, so I tried to ues VPN. But there still nothing appeared.:confused:
[Android Software/Hacking General [Developers Only]] KP@2016:
Thing is all the plug-in information is stored in a file which is fetched through a Dropbox link (uploaded there). So if Dropbox is working in China then it will load all plugins.