yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bovirus:
The login is my email.

I will post my detail in a PVT message.

Thanks.
[Android Software Development] raziel23x:
i did not need that i just needed the url to you on github but i got you added
[Android Software Development] bovirus:
Hi. I received all notification by GitHub.

I tested the previous APK Multitool (build 11) and it works fine (with the same pc configuration)-.

Decompress/Compress/Sign without errors.

Just a functional error. the unsigned/signed application will be created in app folder and not in sign folder.

And the .APK created is recognized as VALID application.

I re-tested the stable APK Multitool (build 12) and it "seems" works fine (with the same pc configuration)-.

Decompress/Compress/Sign without errors.

And the .APK created is recognized as NOT VALID application.
[Android Software Development] c0rsaro381:
Hello.

I have this problem.

I can not compile because of problem when recompile also modified resources ... if I compile without resources is fine.
[Android Software Development] Phone_Guru:
Any plans to add support or ETA? All other files work fine including the new play store so I don't know if it's an issue of lack of support for 4.1 and above.
[Android Software Development] jackrabbit72380:
I seem to be haveng the exact same problum!
[Android Software Development] raziel23x:
why not ask Ibotpeaches yourself

http://xdaforums.com/showthread.php?p=46759562
[Android Software Development] AndyOpie150:
I'm back, but with a different computer and Windows XP Professional.

I have everything set up properly (so I think). I even set the CLASSPATH to the /jdk1.6.0_45/bin (had to create the CLASSPATH variable first).

This is the log output when I try to use option # 12 for a non system apk :

--------------------------------------------------------------------------
|Sun 11/03/2013 -- 23:08:14.79|
--------------------------------------------------------------------------
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode)
java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: brut.apktool.Main. Program will exit.
Exception in thread "main"

What did I forget (or do wrong)?
[Android Software Development] bovirus:
Try to remove Java (SE/JDK) 1.6.x and install Java 1.7.x (and change the HOME_PATH)

.

To resolve the different problem in teh compialtion, I'm using the rpevious version of APK Multi Tool (Build 11).
[Android Software Development] AndyOpie150:
Thanks for info.

Will have to find the build you mentioned. I have Droid@Screen which needs the jdk6 (I'll double check the developers site, in the off chance he upgraded it).

Could you link me to that build?

EDIT: Allll Riiiight! The Doid@Screen developer has indeed come out with an upgrade which allows for the use of the jdk7. Got both downloaded.

Thanks again for the info.
[Android Software Development] AndyOpie150:
Installed the jdk7 update 45.

Edited the CLASSPATH and path.

Made sure the path to the adb.exe was correct.

Rebooted.

Now I get this when selecting option #12:

|Mon 11/04/2013 -- 9:31:37.76|
--------------------------------------------------------------------------
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:163)
at brut.androlib.Androlib.build(Androlib.java:185)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:159)
... 4 more
^C

Which path is not right when it says "PathNotExist: apktool.yml"?

EDIT: Got it working.

Question: The new unsigned apk (never modified anything yet) is 30KB less than the original. Is this normal? Never messed with a non system apk before.
[Android Software Development] Sir Roven:
I´m losing my mind :(

Why these errors ?

I have JDK - JRE last editions .7 update 45 ...
[Android Software Development] hertzschi:
Maybe the pathname is too long?

Try not to put it on desktop.

Give it a try to move the whole folder to c:\ or d: or...

In cmd type set and look for javapaths set correctly
[Android Software Development] bigknowz:
Noob trying to Mod

Trying to sign modded SystemUI.apk (new png files and some xml edits). Is that even necessary? When I try in build 11 and use Option 18 (SIgn an apk in here-for signing only folder), the command prompt closes. There is no error in log, but verification fails when checked with jarsigner. Any and all thoughts appreciated.
[Android Software Development] tdotM:
I am very sure System apps (like SystemUI.apk) don't need to be signed. Just compile (I think its option 11) them and you're good to go.
[Android Software Development] gu5t3r:
System apps don't need to be singned, actually it is advised not to sign them...
[Android Software Development] raziel23x:
Delete the public.XML or manually add them tongue public.xml
[Android Software Development] normanx:
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-ver

sion, 16, --target-sdk-version, 16, -F, C:\Users\VALERI~1\AppData\Local\Temp\APKTOOL7634400325186244945.tmp, -x, -0, arsc, -S, c:\APKMultiTo

ol\projects\framework-res.apk\res, -M, c:\APKMultiTool\projects\framework-res.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)

at brut.androlib.Androlib.buildResources(Androlib.java:281)

at brut.androlib.Androlib.build(Androlib.java:209)

at brut.androlib.Androlib.build(Androlib.java:177)

at brut.apktool.Main.cmdBuild(Main.java:237)

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk

-version, 16, -F, C:\Users\VALERI~1\AppData\Local\Temp\APKTOOL7634400325186244945.tmp, -x, -0, arsc, -S, c:\APKMultiTool\projects\framework-

res.apk\res, -M, c:\APKMultiTool\projects\framework-res.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\VALERI

~1\AppData\Local\Temp\APKTOOL7634400325186244945.tmp, -x, -0, arsc, -S, c:\APKMultiTool\projects\framework-res.apk\res, -M, c:\APKMultiTool\

projects\framework-res.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)

... 6 more

"An Error Occurred, Please Check The Log (option 26)"

Press any key to continue . . .

---------- Post added at 06:56 PM ---------- Previous post was at 06:55 PM ----------

All I know is that I've done everything to the best of my skill, I just don't know if I installed everything right, I don't understand having java and sdk in the path, I have eveything installed to C:\, I was able to decompile, but it errors trying to do option 11 and it wont show me a log at all. and advice is greatly appreciated...
[Android Software Development] m1trand1r:
umm...did you hit 26 when error occurs ?

..26 opens log and you can see it...:)

Beam-ed through your pineal gland via//Android 4.3.1:p//
[Android Software Development] normanx:
Yes I sure did, It says it cant find it and to press any key to continue....LMAO
[Android Software Development] Lgrootnoob:
[MENTION=2968938]raziel23x[/MENTION]

So can I use this in my tool instead?
[Android Software Development] raziel23x:
All I ask is give credit
[Android Software Development] raziel23x:
And link back to this thread
[Android Software Development] normanx:
Actually it might be the way I installed it. I just replaced the original file with the new one and let it overwrite it...

Thanks: )

And link back to this thread

---------- Post added at 10:59 PM ---------- Previous post was at 10:51 PM ----------

So. What would the chances be of getting someone to edit my framework-res.apk if I send you all the files to do so? I'm not having any luck recompiling it at all... When I think it did it because of not getting errors, my phone tells me different when I install it and it starts to error out big time.
[Android Software Development] normanx:
I got a dropbox. This is sweet....
[Android Software Development] normanx:
still need help

This what I get now while trying to adb push it to the phone..

Please make your decision:8

Do you want to keep the file name ? (any key for yes, n for no)

n

"Enter the new name: "

Type input: framework-res.apk

Where do you want adb to push to ? (f) for framework and (a) for app

f

remount failed: Operation not permitted

Pushing apk

failed to copy 'modified-system-apk-files-here\systemframework-res.apk' to '/system/framework/framework-res.apk': Read-only file system

"An Error Occurred, Please Check The Log (option 26)"

Press any key to continue . . .

I tried looking at the log but it would not show me the error...
[Android Software Development] Lgrootnoob:
I haven't looked at how yours works, but a good implementation for remounting is:

su -c busybox mount -o rw,remount /system
[Android Software Development] normanx:
I got it figured out... All installed... Thanks for the reply.
[Android Software Development] Lgrootnoob:
Good. :)
[Android Software Development] raziel23x:
How did you correct it to get it to install
[Android Software Development] normanx:
It was a mistake on my part completely, The last time I had messed with code was when I had my Dinc, and as long as you had the phone plugged into the computer and sent the command to adb push, the phone automatically booted into bootloader mode. Once I put the phone into recovery mode and mounted the system it all pushed just fine.

Thanks again for all your help....but I guess its good to note that the phone needs to be in recovery mode with the <folder> mounted before it will push correctly..
[Android Software Development] Allewar:
It's the first time i'm using apk multi tool and i'm facing a problem here.

I'm trying to use it to modd Swiftkey and install new themes, but the script keeps auto closing as soon as I open it.

I don't know if I'm doing something wrong, but that happens after I install the directories.
[Android Software Development] M4ST3R-V:
did you figure out how to solve this ? I need help.:confused:
[Android Software Development] Perseus:
Copying the 2 files in that direcotry does not help. You need to install using the Batch Script.
[Android Software Development] M4ST3R-V:
I not only just copied it, i installed it with the setup batch script, but while doing that am getting an error "es was unexpected at this time" :confused:
[Android Software Development] raziel23x:
Use the 2,0 wip version should be fixed in that version
[Android Software Development] M4ST3R-V:
Perfect solution :) Thanks, may I know why this happend ?

Also when I used the older version of apktool it worked. I guess the problem is with latest one.

Thanks a lot :) :highfive:
[Android Software Development] gu5t3r:
ApkTool 2.0b8 GitHub version d5d03fe1e4 dated 2013-12-09...

https://github.com/iBotPeaches/Apktool/commits/wip-2.0
[Android Software Development] raziel23x:
I mainly work on the WIP-2.0 branch of the apk multi-tools branch

https://github.com/APK-Multi-Tool/APK-Multi-Tool/tree/WIP-2.0
[Android Software Development] anwarkhan25:
Trying to decompile a framework-res.apk but getting an error, any help guys?

--------------------------------------------------------------------------
|2013-12-16 -- 22:27:38.68|
--------------------------------------------------------------------------
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)
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:540)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:76)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:68)
at brut.androlib.Androlib.getResTable(Androlib.java:51)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:219)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:108)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
[Android Software Development] normanx:
How are you typing in the string? Can you post that?
[Android Software Development] srijithn:
How do i create a pem and pk8 file from my keystore file.,???

Is it possible to extract from an APK >>????
[Android Software Development] gu5t3r:
ApkTool v2 updated...

2013-12-18 ApkTool-GitHub-b13fe7f690.7z
[Android Software Development] NoteboyTech:
Guys, I am just simply confused! till yesterday I knew how to do that, but I've forgotten suddenly and i am unable to recall it,

Please tell me, when I am compiling seclauncher2.apk, I get 4 files in the keep folder!

1.Meta-inf

2.res

3.androidmanifest.xml

4.resources.arsc

--

Now I deleted the res folder and resources.arsc and after compiling when I try to use the APK again, it doesn't work!

I deleted only resources.arsc then also the apk doesn't work,

I only deleted the res folder, still apk doesn't work!

p.s. I pushed the APK into system as it was a system apk!

Please help me guys!
[Android Software Development] anwarkhan25:
Guys any help?! I can decompile normal apk's but just not this one.
[Android Software Development] normanx:
Did you use the decompile system apk's with dependencies?
[Android Software Development] anwarkhan25:
Nope, afaik that's only for OEM ROM apk's. I used option #9.
[Android Software Development] asdfasdfvful:
I myself have also fallen prey to many issues. I'm trying to follow team blackout's guide in modding apks, but the compiling always fails. So far, only their posted dropbox test apk works. When I install my framework, I get this issue (pastebin). I've tried decompiling (which works) and compiling many apps, like fb, messenger, snapchat etc without success. Can anyone tell me if I did anything wrong?

Here's a pastebin of what happens when I do it with ask.fm (which is a small app). Is this the framework's fault, the app's fault, or the program's fault?

I'm also sure that I have the latest java and .net framework if it makes a difference
[Android Software Development] karaman_deniz:
Error when compiling even if I don't change any file of apk

Here is:

--------------------------------------------------------------------------
|01.01.2014 -- 17:29:29,81|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\SkyIsOver\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
[0,0] No enum constant org.jf.dexlib.AnnotationVisibility.RUNT¦ME
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: C:\Users\SkyIsOver\Desktop\APK-Multi-Tool-Stable-RELEASE\projects\ttpod.apk\sm
ali\android\support\v4\app\FragmentManager.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:217)
at brut.androlib.Androlib.build(Androlib.java:208)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
[Android Software Development] shaqfu786:
hey guys

i was wondering if someone could help me.

every time i try to install the framework-res.apk, i get stuck, as shown in the pic.

the log shows path not found.

do i need to type in something?

thanks in advance
[Android Software Development] hossienmoein:
hi guys i try to decompile the one apk file its decompileing but it isn't recompile !!! :(

apk multi tool log is :

libpng error: Not a PNG file
ERROR: Failure processing PNG image D:\APK-Multi-Tool\other\..\projects\1.apk\res\drawable-xhdpi\yasmin.png
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:4: error: Public symbol drawable/[B]abana[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:5: error: Public symbol drawable/[B]abilify[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:6: error: Public symbol drawable/[B]acaiberry[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:7: error: Public symbol drawable/[B]accupril[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:8: error: Public symbol drawable/[B]accutane[/B] declared here is not defined.
D:\APK-Multi-Tool\other\..\projects\1.apk\res\values\public.xml:9: error: Public symbol drawable/[B]aceon[/B] declared here is not defined.

i dont make changes but apkmulti tool is't recompile :(

abana.png&........... there in drawable folder but it isn't recomple

i compile & recompile many apk files with very change but this apk file like to kill me :o

i try defferent version of apk multii tool and other application about apktool &........but idon't give answer

pls help me
[Android Software Development] hossienmoein:
Is there any to answer my qu?
[Android Software Development] Shaftamle:
Can anyone give me a step by step how to batch sign? Whenever I try to do it it only signs the first one and then closes the command window.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Android Software Development] artupidah:
Realy appreciated for this great work, and i'll try this guide soon.

Thanks guys. :D
[Android Software Development] matias6142:
:( please help me, friend wanted to install does not work and I get error framework_res.apk

The system can not find the path specified. "apktool 'is not recognized as an internal or external command.

program or batch file
[Android Software Development] Shaftamle:
1) you have to be more specific.

2)its framework-res NOT framework_respond

3)apktool has to be in the system path.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Android Software Development] hudsonhicks:
Does anyone have a hint what this may mean? I have latest Java etc
[Android Software Development] Josehg:
Have you deleted all those zemogi-xxxx pngs?

Enviado desde mi GT-I9100 usando Forum Runner
[Android Software Development] hudsonhicks:
deleted nothing..

tried a simple decompile then recompile
[Android Software Development] Josehg:
That's strange, may be a bad decompile. Well, open values/public.xml, and delete the lines with those zemojig-xxxx stated in the log and try again.

Enviado desde mi GT-I9100 usando Forum Runner
[Android Software Development] Bellitsch89:
hello, i will decompile HTCDialer.apk but it will not work.... Any Tips?

Thanks

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Orkus\apktool\framework\1.apk

I: Loaded.

I: Loading resource table from file: C:\Users\Orkus\apktool\framework\2.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Done.

I: Copying assets and libs...

I: Baksmaling...

I: Loading resource table...

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

c file

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

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes

ources.java:540)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav

a:76)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav

a:68)

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

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)

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

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

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

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

at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)

at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:219)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167

)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10

8)

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

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

... 8 more

Sent from my BLUE HTC ONE bitten by a Viper
[Android Software Development] AbiDez:
Hello guys, please help me i have a problem with the apkmultitool 3.1,

I want decompile SecSettings.apk of a XXUFNA5 Rom to fix a error

After decompile i see in the log this:

I: Baksmaling...

I: Loading resource table...

W: Skipping "android" package group

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\AbiDez\apktool\framework\1.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=widgetLayout, value=0x02030015

The last i seee 100 and more

Any Idea to solve this ?

Greetings AbiDez

PS: Yesterday i think decompiling works... I'm confused.