yashsingh1/xdaforums huggingface dataset:
[Android Software Development] kermage:
Yes! Hope everyone else wont get to that error again. :D

OMG! Different people = different screen resolution = different text sizes.. :o

Thank you! I'll work on that later..Dynamic :good:
[Android Software Development] showstopper1:
java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java :621)

at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)

at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)

at java.net.URLClassLoader.access$000(URLClassLoader. java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)

at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)

at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)

Could not find the main class: brut.apktool.Main. Program will exit.

Exception in thread "main"

when i try to install framework i get the above error !!

im having latest jre and jdk installed !!
[Android Software Development] kermage:
A problem with your java, do you have the latest java installed? CHECK THIS!
[Android Software Development] kermage:
Yes! That is for Resources.arsc compression level ;)
[Android Software Development] anagramgenius:
i meant its ".arcs" instead of ".arsc" in your app. typo error i guess. nvm. good app though:good:
[Android Software Development] kermage:
:eek: darn! HAHAHA..Sorry :D Typo error :o
[Android Software Development] mausolï¿½e:
Hello :)

I explain my problem. I take in hand this new tool, I do the not before repeating :(. may I decompiled and recompiled the fichier.apk: p For this I doubt the way to do it because I end up with files that does not work :( I would like to therefore installed the framework for started :) But or I'm supposed to the found? (answer in MP = ROM Systeme/framework/framework.apk) I therefore extracted with an installed natively, "root", that of the rom cyanogen 11 file manager and I know what to do from the :(:(:(:(.

ADB does not either :( Pull and push, he told me that he sees the device, but what it na not the permission :(

I am sure that we will resolve this problem ;)
[Android Software Development] kermage:
Tried pulling the framework using my tool? Give it a try, or probably you're running a kernel which doesn't enable the adb remount option.
[Android Software Development] mausolï¿½e:
Yes that is what I thought...

I have therefore tried to unlocked the file permission.xml so that my file is "RW" but that does not change, I would do so without ADB, damage!

Can I afford to requested a modification?

http://prntscr.com/3l6v7d

I searched awhile :( LOL.

I then decompiled / recompiled a file without anything changed all goes well, it works perfectly on my rom through a root Manager ;) to remove / reinstalled (permission and everything)

Now I try modding to see: p

1 ° note, the file. 9.png delivery without the black bar on the edges of the image :(

I therefore have the reassembled each time?

or the key "optimized image" and for this!

If you wanted a goal...;)

Good job sincéremment
[Android Software Development] kermage:
Optimize image option only recompresses all image files (.png; ignores .9.png) to a smaller size without losing any information.

What do you mean by your request? ;)
[Android Software Development] mausolï¿½e:
optimizes = lossless compression: OK

my request and do appear a key / button or a relierf colored to reported that the place indicated by the arrow on the screen shot of my previous post appears clearly as a button / link.

The second time we know that must be clicked on it, but for the taken first in hand...:)

and managed the file. 9.png for mode easily it'd open with the tag "http://prntscr.com/3l73be" which simplifies modifying ;) This is by writing I realize that I am speaking evil and the translation will not help "LOL"

called me if you cell?
[Android Software Development] kermage:
I thought of that before too that all clickable items are in button type, but the GUI will be scary for first timers seeing lots of buttons to be managed. So, i tend to just let it be in text but with tooltips for information. Please bear with it. :D
[Android Software Development] Mabss:
kermage, I don't know the difference between "extract" and "decompile" an APK. Its not a question about your great app but a general question about Android that I don't know... Would you be so kind to en light me?

Regular application or games with APK files, do they need "extract" or "decompile"?

Thanks
[Android Software Development] mausolï¿½e:
Okay I understand your choice :) as soon as I try to modified a. 9.png for tried I cannot installed the .apk file? instalation if order has each time :(
[Android Software Development] Mabss:
Are you using a web translation tool?
[Android Software Development] kermage:
Well, to start off, APKs are just like a zip file in an apk extension.

1. Extracting APK simply unpacks all the files that are compressed in one package.

2. Decompiling APK will decode all resources nearly to its original form; for reverse engineering.
[Android Software Development] mausolï¿½e:
@ karmage: how well placed meta.inf and manifest.xml file correctly to the .apk file in output?

[MENTION=1713408]mbass[/MENTION]: Yes, as I advised you to free?
[Android Software Development] kermage:
You dont need to manually place Meta.inf and Manifest.xml. The tool will automatically copy over the original Original Signatures after you zip or compile it.
[Android Software Development] anticor248:
Yesss... I liked new version 3.00 :)
[Android Software Development] kermage:
Thanks! Hope everyone else too.. :good:
[Android Software Development] Er. Aditya:
v 3.00 is super sexy mate 0 errors just edited a couple of apks :D

so so thankyou my friend for making things so easy for us :)
[Android Software Development] mausolï¿½e:
I have tried many thing.. .but nothing works :(

When I read the post, I know that this software and good But is it work for rom custon 4.4.2 style resurrection, crom, carbon... My last try was to: decompiled / recompiled signed with zipaliging http://prntscr.com/3l8ql9 and cannot be installed the file then he undergoes no change! help me please
[Android Software Development] kermage:
Glad it worked well for you..THANK YOU for your kind words! :D
[Android Software Development] Mabss:
So... to delete a file or to add a changed one to the APK, would a "extract" be the right choice?

The translation is horrible. Its very hard to understand.

In this one, I only understand the "Yes"...
[Android Software Development] kermage:
The tool does not matter what rom you have, either stock or custom, it should work on all APKs too..

No change? You mean, none of the changes you made take effect?

First, be sure you have pushed the correct one (edited) instead of the original one (unedited).

Also, check your mods as it could be something you've done incorrectly. Just because it builds doesn't mean it will work.
[Android Software Development] mausolï¿½e:
[MENTION=500407]MABAS[/MENTION]s: try to understand(include) a technical android tutorial with this translator's kind(genre): (

[MENTION=5704750]kermage[/MENTION]: no I means that I makes a tour(ballot) has space, me makes stage without anything changed and has the end at the time of the installation, ca function(office) not!

The instalateur stop.

It confirms that it is not the modfications which I bring who(which) changes something: (

I tried the other software or I was when kept silent my overdraft kermage and with the signature and only the signature, the instalation works (with quoted bug bottom(stocking)).

With the APKTOOL V3.0 I do not arrive signed in ....... zipaliging does not work and the second method and the unknown for me
[Android Software Development] kermage:
:eek: Sorry mate, I can hardly understand what you mean right now.
[Android Software Development] mausolï¿½e:
I place a file, I decompile, I change nothing, I recompile. That does not go.

I takes the same file, I sign him(it).

The installeur tells me that ca go.

I cannot signed with the button " sign " I understands(includes) not: (

Then I sign with zipalign.

I would have pain inslallé / installed in bad place?

I would have not to create the variable in Java?

In the tutorial of installation, it is written that everything settles down alone:)

When I makes the same manipulation with the tool " multitools v3.4 " all goes well when I sign, but there is a probléme which makes the passage of " dark " has "light" ineffective

ÉDIT :

yesssssss

I'made a success(succeeded):) the secret was in the signature I tried the signature for the market and not the généraleEn signature revenge the bug when I decompile whole rest here also: (only " extract " work, by décompileTout work in unzipping but that works not by decompiling: (the passage of dark has light and corrupted by decompiling
[Android Software Development] Mabss:
please stop using the translator... its almost the same as if you write in french...
[Android Software Development] kermage:
:good:

Yes! Maybe provide some screenshots next time, it'll be much easier for us to understand you; visual ;)
[Android Software Development] mausolï¿½e:
LOL

the condition so that it works

http://prntscr.com/3lct9k

http://prntscr.com/3lctyu

→ I installed another tool which was operated an adb elsewhere

→ Deinstallieren old elsewhere and "won" ca works
[Android Software Development] kermage:
UPDATE!

APK Tools v3.50

Changelog:

GUI fixes and adjustments

Fixed ADB push and pull locations

Fixed Compile option not signing original signature

Added option to copy over original files after compile

Added ADB install option

DOWNLOADS:

Direct

(XDA)

Mirror

(MediaFire)

Instructions:

Extract "APK Tool v3.50.zip"

Execute "APK Tools.exe"
[Android Software Development] Mabss:
The direct link from XDA doesn't list version 3.5

Other question:

In the original META-INF folder I have :

MANIFEST.MF

ANDROIDD.SF

ANDROIDD.RSA

In the new signed APK I have diferent files in that folder:

MANIFEST.MF

CERT.SF

CERT.RSA

And totally different CRC...

Wasn't it supposed to be copied from original?
[Android Software Development] kermage:
Sorry, I'm reuploading the file..

APK Tools should compile the APK with it's original signatures, you dont need to re-sign it.

However in the GUI version (v3.00), it's messed up. :D Please wait for the fix in v3.50. ;)
[Android Software Development] Mabss:
I used the last 3.5 version from mediafire.

So... are you saying that when clicking "ZIP" or "Compile" in the program, it automatically signs in the end? If so, why the option to sign in the program?

From what I read, after the ZIP or Compile was made, the next step is to zipalign the APK and only after that the package should be signed.

And why the changed name of that files i refer?
[Android Software Development] kermage:
Yes, APK Tools will automatically sign your projects with its original signature after zipping or compiling.

The sign option is there for manual signing of unsigned apk or zip files.

Yes, after zipping or compiling apks it should be signed and then zipaligned. But if you are using APK Tools, all you need to do after zip or compile is to zipalign.

Adding "signed-" to the filename after signing is just to emphasize that THIS IS THE SIGNED FILE, no harm done, you can just rename it to whatever you want ;)
[Android Software Development] Mabss:
But, making the zipalign AFTER the sign doesn't that invalidate the sign?

Isn't signing a file a way to prevent it being altered? If you alter the file a new signature has to be made. Old one doesn't work.

Or am I missing something?

Or is this APK signature not related to file integrity?
[Android Software Development] kermage:
Zipaligning wont invalidate the sign, it only optimizes apk files.

Yes, it is. When verifying a system APK, android checks its signature to ensure that they haven't been tampered.

But for most mods you'll want to use the original signature, unless you've change something in the AndroidManifest.xml, you are needing a new signature.
[Android Software Development] Mabss:
Then I'm misinterpreting the Android signing point.

If I make a file and then record CRC32 or MD5 of that file, even if a single comma gets changed the CRC32 or MD5 will became different.

That's what I don't understand about APK signing.

If I change an APK and then use original signing, how is that sign effective in the first place? the file was tampered and the sign still works??!?

Don't understand. I'm missing something for sure.
[Android Software Development] kermage:
Don't worry about it, I too have that questions before, just use its original signature every recompile; always a better option. ;)

My suspicion is that, META-INF and AndroidManifest.xml are somehow the only tied to each other.

Only use a new signature if you've changed something in the android manifest. :good:
[Android Software Development] mausolï¿½e:
It would seem that Rom 4.4 on permission limited.

What explains the "adb"

concern flashtool does not work too...!

permission problem...

I do not know installed "frameworks"!
[Android Software Development] kermage:
I'm also encountering ADB errors in my MyPhone A919i Duo, but still manage to pull out apks from it.

I don't know from your device what could cause it. Sorry :(
[Android Software Development] Er. Aditya:
i get the same issue my friend with adb pull :(

edit : also i have placed an apk in apk folder but when i click on decompile it says to select a project

this is not happenening in v 3.0 :(
[Android Software Development] kermage:
In v3.00, right after you start APK Tools and selects an option (either Extract, Zip, Optimize, Decompile or Compile), it will automatically directs you to the select file dialog to set a project before continuing the operation. However, in v3.50, instead of directing you to select a project, it gives you a "Select a project first" error and you should do that manually by clicking the "Project:" text in the upper part of the GUI.

I've changed it somehow for an easier step to the probably batch feature in next release. :D

Sorry mate for the late information. Forgive me ;)

Btw, all options regarding ADB doesnt work for you? :(
[Android Software Development] Er. Aditya:
aah got the project thing working nicely but the ADB thing isnt working well brother neither pull or adb install :(
[Android Software Development] kermage:
Isn't it working for you since the CMD version (v1.00 - v2.00)? Cause the commands used there are just the same here in GUI version (v3.00 - v3.50). Can you provide screenshots to? What errors are you having?
[Android Software Development] Er. Aditya:
actually i also have v2.0 and use that mostly and with 3.0 i dint use adb pull with version 2.0 adb pull works flawlessly

i just checked adb pull dsnt works with v3.0 or v 3.50 it sayd remount error
[Android Software Development] kermage:
"remote object *** does not exist" error is caused by the wrong slashes used in v3.00. You should try v3.50, it has been fixed there (messed up ADB locations; from "\" to "/")

Regarding permission denied errors, it is probably caused by a kernel which doesn't enable the ADB remount option. I'm having this in my device too but able to pull, push or install with no problems :D
[Android Software Development] Er. Aditya:
yup that thing just sorted out the remote object error , i am using stock kernel il try someother kernel and will try now :D

and yes with v3.50 even with errors it pulls out files :D

thanks alot my friend :D
[Android Software Development] mausolï¿½e:
How to install 'framework' correctly to "decompile" / "compile" correctly?

"decompile" with 'resources' and 'source' checked problem home

Thank you
[Android Software Development] kermage:
You just need to pull off the necessary frameworks from your device then install them.

They are ROM specific though, here are some:

com.htc.resources.apk

framework-res.apk

framework-miui.apk

twframework-res.apk
[Android Software Development] mohamobo:
this tool simply amazing.. and my 8 thanks quota today hit ur 1st 8 post.
[Android Software Development] mausolï¿½e:
adb pull work :laugh:

the condition :

extract framework and install :angel:

décompile modding recompilling and modify name zip file ......

sign and zipalign with test keys

good work :cyclops:

Translated text:

Why like that? framework (resources) should do well! I shouldn't be corrected this so it works well
[Android Software Development] kermage:
Glad it worked for you now. :good:
[Android Software Development] redtrk:
This apk tool looks nice,going to give it a try. Thank you!
[Android Software Development] Er. Aditya:
i am into a mess on my laptop i had to install my companies official software and that uses java 1.4.2 and cant use this apktool with that java

is there any work around bro ??
[Android Software Development] kermage:
You can still use this, but only with the apktool v1.5.2 not the v2.0.0b9 (have it a try, change under settings tab). https://code.google.com/p/android-apktool/ --the latest one requires java 1.7.

And of course you can use multiple versions of java under windows, but you may need to change the PATH environment variable to use the correct java version for different applications.
[Android Software Development] HTC-TYTN2:
any help ??
[Android Software Development] Er. Aditya:
Lost my friend ??
[Android Software Development] carreddy:
Help Needed!!

I have my APK file which was already published to playstore. I just need to change the version number and upload it back. I broke my previous laptop, but fortunately i had my .keystore file backed up. In the APK TOOL when i try to decompile, edit and sign it back, the tool is asking me to enter Key Alias, Store Password, Key Password- Which i dont remember. Any help on what to enter. I remember a password to the keystore which is more than 10 characters, but the tool would not allow more than 10 Characters.

Can someone help on what needs to be entered??
[Android Software Development] Phone_Guru:
I was having major issues recompiling a file using other tools. I tried this and it worked first time. Thank you so much.
[Android Software Development] Mabss:
I'm having this message in the log when doing compile:

(skipping file '.settings.xml.swp' due to ANDROID_AAPT_IGNORE pattern '.*')

Is this file skipped not important? why is it skipping? if its in the original apk, why skipping?

Can you help kermage?

Thx
[Android Software Development] Mabss:
delete me ;)
[Android Software Development] kermage:
Sorry guys, too busy.

Wish I could have more time to work and be here. Someday, soon, I will be back and continue what was started. But for now, I just really cant. SORRY! :(
[Android Software Development] eyesfortech:
nice Contribution bro :)
[Android Software Development] vwadam:
I have installed framework and when i tried to decompile settings.apk i got this error:

http://kepfeltoltes.hu/150208/796183564N_vtelen_www.kepfeltoltes.hu_.png
[Android Software Development] jgcaap:
guys i saw this tools and wanted to download, but it appears:

http://goo.gl/rs6Ggk – this goo.gl shortlink has been disabled. It was found to be violating our Terms of Service. Click here and here for more information about our terms and policies respectively.

Can anyone share the link ? Thanks

---------- Post added at 03:55 PM ---------- Previous post was at 03:40 PM ----------

just found where to download, this app seems pretty neat ! :) lets see if i'm able to do something with it! hehe
[Android Software Development] jgcaap:
List of devices attached

48ae744b	device

remount of system failed: Permission denied

remount failed

pull: building file list...

skipping special file 'libwebviewchromium.so'

skipping special file 'libjni_terminal.so'

skipping special file 'libprintspooler_jni.so'

skipping special file 'libttscompat.so'

skipping special file 'libttspico.so'

skipping special file 'libjni_pacprocessor.so'

skipping special file 'libnfc_nci_jni.so'

skipping special file 'libjni_latinime.so'

skipping special file 'libjni_eglfence.so'

skipping special file 'libjni_filtershow_filters.so'

skipping special file 'libjni_jpegstream.so'

skipping special file 'librsjni.so'

skipping special file 'libbluetooth_jni.so'

skipping special file 'libbluetooth_jni.so'

pull: /system/app/AntHalService/AntHalService.apk -> C:\apktool\APK Files" /AntHalService/AntHalService.apk

cannot create 'C:\apktool\APK Files" \AntHalService/AntHalService.apk': No such file or directory

Gave me this error, but when i pull manually works fine. I noticed that on Lolipop we have a folder for each app. Do you think is because of that? Thanks

---------- Post added at 05:10 PM ---------- Previous post was at 05:05 PM ----------

While testing on an app gave this error now.

Clearing Projects\Calculator.apk . . . DONE!

I: Using Apktool 2.0.0-Beta9 on Calculator.apk

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)

at brut.androlib.Androlib.getResTable(Androlib.java:49)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:93)

at brut.apktool.Main.cmdDecode(Main.java:169)

at brut.apktool.Main.main(Main.java:85)

Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000

at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)

at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:95)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

... 7 more
[Android Software Development] jgcaap:
everything working fine, only decopiling is not working for me. Any suggestions guys?
[Android Software Development] weirdgyn:
I'm trying to decompile some apps with the 3.5 Apk-tools but with all the apps I tried I always got the same exception regarding 'brut' namespace... is there any workaround for this issue?
[Android Software Development] bovirus:
[MENTION=7276024]weirdgyn[/MENTION]

This project is quite outdated.

Please check AndroidMultiTool on XDa.
[Android Software Development] weirdgyn:
Thanks! It worked ! Just wondering if there's a way to postprocess .smali files and render them to some more comprensibile .java code....
[Android Software Development] bovirus:
[MENTION=5704750]kermage[/MENTION]

Please update link on first post. Are unavailable.
[Android Software Development] bovirus:
[MENTION=5402436]O's[/MENTION]

You are OT here. This thread is only about this tool to unpack/rpack app.

It's not a thread that explain how to modify an app.
[Android Software Development] mionelgg:
help ....

Error: Failed attempt to launch program or document:

Action: < /C java -version>

Line#

149: RunWait, %comspec%/C java -versio,,hide

pls help me ....
[Android Software Development] bovirus:
[MENTION=8248509]mionelgg[/MENTION]

I believe that this tool is quite old and not updated from a long time.

i suggest to search for alternative like AndroidMultiTool.
[Android Software Development] rvarma8282:
I'm unable to download
[Android Software Development] bovirus:
You are unable to download what?
[Android Software Development] rvarma8282:
APK Tool 3.50
[Android Software Development] vjb10:
Hi, need a help here. I'm trying to install Java JDK (8u131) but i can't see the setup running, it seems like it's running in the background. Despite that it's shown on the list of apps installed however the folder it was supposed to be doesn't exist. Any help with this?