yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Kamy:
You have 2 option

1. Do not sign your SystemUI and drop manifest and META from the original apk to the modified one

2. Disable signature check in service.jar and the you are good to sign your modified SystemUI.
[Android Software Development] kumbangdesa:
Thanks sir. I will give a try again later.

Edit : Success..I'm using second method and it working like a charm..Big thanks to you sir.. [emoji2]

Sent from my lolipop phone
[Android Software Development] decibel_nv:
Can anyone tell me why the Advanced ApkTool.exe just disappears when I use it to select an APK to decompile? It even leaves the log folder empty. I've tried it on two PCs and both are doing this. One was a fresh install of Win7. Advanced APK Tool used to work on my primary PC. Is there something up with the latest Java JRE version 1.8.0_91 32-bit? Both PCs are on Win7 Enterprise 64-bit. I confirmed that my PATH is valid by running "java -version" from C:\, not some other folder that is in the PATH variable.

I can get apktool.jar to decompile by hand, but I'd rather use Advanced APTool from end to end because it's just easier that way.

Thanks.

---------- Post added at 12:32 PM ---------- Previous post was at 11:41 AM ----------

I figured it out after going to lunch. When in doubt, get food. At least I have a clean Win7 VM now.

You cannot have parenthesis in the APK's filename. I appended the build date in parenthesis example.4.5.5(2016-04-22).apk and that blew up Advanced APK Tool without any error message that you could see unless you executed it from a command window. Then you would get a clue from .apk) was unexpected at this time. left in the command window after Advanced APK Tool suddenly stopped. This will even fail if any of the other APK files in your 2-In folder listed before your selection contain parenthesis.

Like I said before, I could do it directly in apktool.jar via java -jar apktool.jar d example.4.5.5(2016-04-22).apk and get a decompiled folder just fine.

This happens with Advanced APK Tool 4.1.0 as well as 4.2.0.

I'll go back and find the OP's bug tracker link and transcribe this there.

Hope this helps someone else later.
[Android Software Development] kumbangdesa:
Can you update this tool with latest apktool version?. Got problem to decompile Note 5 MM version. Thanks sir.

Sent from my lolipop phone
[Android Software Development] Rootk1t:
2.1.0 is the latest one at the moment, but it has some problems with decompiling MM.
[Android Software Development] kumbangdesa:
Yes. I try it. Any hope that you can made it work sir?. Really love this tool work with MM.

Sent from my lolipop phone
[Android Software Development] ANDROIDXFOREVER:
I think that the project was also abandoned v.2.1.0 not work
[Android Software Development] kumbangdesa:
Too sad if this project really come to the end.

Sent from my Marshmallow phone
[Android Software Development] ANDROIDXFOREVER:
too long without being updated
[Android Software Development] kumbangdesa:
This apktool 2.1.1 update work fine with MM. Just for share info. Thanks.

Sent from my Marshmallow phone
[Android Software Development] Kamy:
This tool doesn't depend on apktool version number. Just download any version of apktool version you wish/happy/working for you and replace it in BDFreak folder. That's it.
[Android Software Development] kumbangdesa:
I just update the latest update and replace it in BDFreak folder. It working. Thanks sir. :good:
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.1.1.
[Android Software Development] Sarab1313:
Nice work mate..

But why window defender remove everytime..
[Android Software Development] bovirus:
[MENTION=364140] Sarab1313[/MENTION]

This si a fondamentale rule of any forum/thread.

Please don't post the entire quote of first post.

Just post your personal reply.

Please edit your post and remove the not necessary quote.
[Android Software Development] sukhi.priceless:
avast detects it as a malware (BDFreak Folder)
[Android Software Development] lokitooxd:
Is false positive, no problem just make a exception
[Android Software Development] ANDROIDXFOREVER:
now he works perfectly thanks to the great work very big for everyone I think ...
[Android Software Development] amitams:
how can i disable the AVG, it remove the apktool.exe
[Android Software Development] lokitooxd:
go to options > Advanced configuration > exceptions and add folder apktool and folder BDFreak or apktool.exe (i use AVG too)
[Android Software Development] OrphanBlack:
hi, decompile works great but i can't see images like png.

can some one tell me how to edit the qmg files after decompile systemUi.apk...

i'm very frustrated, i have google it but i cant see any solution to get this qmg open to see what images inside....

Thanks for reply.....

my phone is SM-G935F Samsung Galaxy S7 edge
[Android Software Development] amitams:
I just decompile and recompile a file and got error, but when i do it with the simple apktool 2.1.0 it works well, very weird

Here's the log
[Android Software Development] bovirus:
[MENTION=6839316]amitams[/MENTION]

Temporary disable the antivirus

Add apktool.exe (or otehr fiels detected as virus) to the antivirus exclusion list

Re-enable the antivirus
[Android Software Development] ryan42680:
here's my log, please help me.
[Android Software Development] vinaykharayat:
Syntax of the command is incorrect how to fix?

My device is intex aqua star 2

Andrid ver 4.4.2
[Android Software Development] userpulsar:
Hi,

same Problem with the framework from N910F 6.0.1 error by installing the framework.

Please help.

thx
[Android Software Development] Ram121:
[MENTION=5078388]BDFreak[/MENTION] I have been using Advanced apktool for Note 4 910G (MM) and is very useful and succesful

Thanks for the good utility
[Android Software Development] elias234:
u made my day , i was waiting for something like that from the first day i bought my xperia z
[Android Software Development] badagila:
this will also work on samsung device?
[Android Software Development] Crash:
Yes I used in my rom in Note 3 works fine is a great tool

Hugs
[Android Software Development] badagila:
any way i made my full rom transparent by modifieng the framework-res.apk but after that my windows animation are not working anymore everytime i open apps or settings anyone knows how yo edit that?
[Android Software Development] Crash:
Did you push metainf from the original apk into the compiled one?
[Android Software Development] badagila:
no dude after edting xml files i just only recompile it sign and zipalign then put into flashable zip then flash into my phone
[Android Software Development] Crash:
Sinple recompile your mod open the original apk that you mod use 7zip or winrar then open you recompile apk and transfer the metainf from the original apk that you moded and push thr metainf into the app compiled.

And that's it

Hugs
[Android Software Development] badagila:
you mean after i compile, sign and zipalign my moded framework i will open it using 7zip or winrar? the same with the original framework?
[Android Software Development] Crash:
Do not sing the app that why you get FC extract the metainf from the original app that you are moded then push the metainf into the compiled app
[Android Software Development] badagila:
ok dude because the other said that if i didn't sign the apk after compiling it won't work., anyway if i use this advanced apktool no need to push meta inf any more?
[Android Software Development] BDFreak:
No need to do this.

Because when you recompile you apk file with Advanced ApkTool, it automatically push the META-INF folder from original apk file.
[Android Software Development] badagila:
but i use a different apktool before sir but i already downloaded your advance apktool. sir i have a problem after i modified my framework to be transparent my window animations are not working anymore even i go to settings/display and make all window animations are shown still not working can you help me sir? thanx
[Android Software Development] ArjunrambZ:
Good work bro !

:o
[Android Software Development] serajr:
Great tool!!!

Present in my android lab for sure!!! Thanks bro!!!!
[Android Software Development] mathurmatt:
PLEASE HELP ME OUT NOT WORKING FOR ME DECOMPILING JUST FINE BUT GIVING ME ERRORS WHEN RECOMPILING i AM USING WINDOWS 8.1...........AND THE LOG IS ATTACHED
[Android Software Development] ChinmayKunkikar:
Congratulations!

You are on the Portal now!

Awesome work bro!

I enjoy this tool. Made my life easier! :) :beer:

Celebrating first anniversary of my beautiful sola..
[Android Software Development] BDFreak:
First of all, no need to call me sir. It's embarrassing. I am just a simple guy like you all are. Don't take my word in wrong way.

I don't think your problem is this tool related. Anyways you can comare anim folder of original and recompiled framework-res.apk, compare the styles.xml too. I think you have messed something there.

:good:

:good:

Did you edit or do replace this Settings.apk\smali\com\android\settings\autostarts\AppItem.smali file?

Anyways, removing .parameter and "context" from that file may fix your problem.

:good:
[Android Software Development] ArjunrambZ:
shouldn't the output of a jar file be jar? i got zip after compiling ,,, just check that
[Android Software Development] badagila:
yes dude, its not related to your tool im just asking for some help and thanks a lot dude :D
[Android Software Development] avirk:
First of all thanks for the great effort on this tool, but I have a problem at the decompile time, it is not decompiling the apk's for me. Here is the log

Log For : SecSettings.apk

Log Type : Decompiling

Log Recorded At : 19-03-2014 -- 6:54:07.59

Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak

------------------------------------------------------

java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
------------------------------------------------------

The same goes with SystemUI.apk for me for Neatrom 5.9, don't know what is going on. Hope you have an answer for this to solve my problem mate. Thanks again for your valuable time on this great tool.
[Android Software Development] methoddon1:
the only solution that comes to my mind is to change images to png.

Sent from Galaxy Beast Edge+ (aka Sensei) Powered by Audax Plus M v5 Rom

---------- Post added at 08:41 PM ---------- Previous post was at 08:26 PM ----------

I see some people having trouble installing framework-res.apk ... which version of Tool you use?

Sent from Galaxy Beast Edge+ (aka Sensei) Powered by Audax Plus M v5 Rom
[Android Software Development] Ram121:
I see some people having trouble installing framework-res.apk ... which version of Tool you use?

Sent from Galaxy Beast Edge+ (aka Sensei) Powered by Audax Plus M v5 Rom[/QUOTE]

[MENTION=5184669]methoddon1[/MENTION]

4.2.0 with apktool 2.1.1, I have manually replaced apktool
[Android Software Development] Albe96:
[MENTION=5078388]BDFreak[/MENTION] Its A Nice Tool.When I was using it on windows 8,All things working.but now when i decompiling my 'framework-res.apk' on WINDOWS 7 .its not decompiled.i've installed java jre 7.

see what happend --

Decompiling : framework-res.apk
Started : -- 14:01:00:28
I : Using Apktool 2.0.3 on framework-res.apk
I : Loading Resource Table. . .

Complete : Yes
Success : No

Ended : -- 14:01:01:72

---------- Post added at 08:44 AM ---------- Previous post was at 08:41 AM ----------

[MENTION=5078388]BDFreak[/MENTION] Here Is The Logs. . .

Log For : framework-res.apk

Log Type : Decompiling

Log Recorded At : 03-06-2016 -- 14:01:00.28

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:52)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:544)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:63)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:55)
at brut.androlib.Androlib.getResTable(Androlib.java:66)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:198)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:96)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
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:282)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:224)
at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:212)
at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:154)
at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:116)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
... 8 more

------------------------------------------------------
[Android Software Development] Albe96:
[/COLOR]Success in decompile. . .

But Got This Error While Recompile - -

I see its abot png.but i haven't modded any pngs.please help me anyone.
[Android Software Development] Rootk1t:
Did you install all the necessary frameworks.

Seems to be Samsung specific bug with png files.

http://xdaforums.com/showpost.php?p=67125299&postcount=589
[Android Software Development] Albe96:
my images are already in png format. . .

do i need to install framework then to decompile??
[Android Software Development] thereassaad:
Delete knox icons png that mentioned in ur log & recompile it again ,,
[Android Software Development] Albe96:
ok trying...

---------- Post added at 06:01 PM ---------- Previous post was at 05:47 PM ----------

whoa!! thanks a lot man!!recompile success. .

can u slove one more problem . .
[Android Software Development] Ram121:
No don't delete png the extension is capital PNG just change to small png
[Android Software Development] Albe96:
nope mine was in lowercase png format. . after delete,recompile success. .

btw thanks for reply. .
[Android Software Development] thereassaad:
Which mate ?
[Android Software Development] Albe96:
i got this error when i'm recompiling framework.jar

Log For : framework.jar

Log Type : Recompiling

Log Recorded At : 05-06-2016 -- 23:38:54.13

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

..\3-Out\framework.jar\smali_classes3\com\acer\incallui\BlurImageView.smali[48,4] Invalid literal value: 16624. Low 16 bits must be zeroed out.
..\3-Out\framework.jar\smali_classes3\com\acer\incallui\BlurImageView.smali[370,4] Invalid literal value: 255. Low 16 bits must be zeroed out.
..\3-Out\framework.jar\smali_classes3\com\acer\incallui\BlurImageView.smali[549,4] Invalid literal value: 255. Low 16 bits must be zeroed out.
..\3-Out\framework.jar\smali_classes3\com\acer\incallui\BlurImageView.smali[824,4] Invalid literal value: -256. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/acer/incallui/BlurImageView.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:67)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:51)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:364)
at brut.androlib.Androlib.buildNonDefaultSources(Androlib.java:310)
at brut.androlib.Androlib.build(Androlib.java:279)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)

------------------------------------------------------
[Android Software Development] thereassaad:
U try to add fake blur for power menu ummmm , sorry i never try it there ask the developer of blur things , sorry
[Android Software Development] Albe96:
No problem. . .
[Android Software Development] methoddon1:
can anyone plz explain this message to me... new laptop, Windows 10, 64 bit, Samsung Galaxy S6E+ (mm) framework installation. (drivers up to date, adb, Java, etc all there), no framework appears in BD Freak folder. had no issues on Windows 7 32 bit. or am I missing something?!

Sent from Galaxy Beast Edge+ (aka Sensei) Powered by Audax Plus M v5 Rom
[Android Software Development] Rootk1t:
Is the problem in framework install or in decompilation? Do you use version with apktool 2.1.1?
[Android Software Development] methoddon1:
installing framework-res.apk and twframework.apk (both)... using 4.2 release.

Sent from Galaxy Beast Edge+ (aka Sensei) Powered by Audax Plus M v5 Rom
[Android Software Development] ANDROIDXFOREVER:
run this version to c/. folder from windows 10

https://www.androidfilehost.com/?fid=24591020540821511

audax plus is update v.7.0 great rom by Pierdebeer
[Android Software Development] Rootk1t:
Try this version.

Check that advanced apk tool folder is located in drive root, like D:\Advancedapktool\ with no cyrillic symbols in path.

I use this tool frequently, but never experienced installing framework error.:confused:

P.S: Maybe security protection or whatsoever connected with Win10.
[Android Software Development] methoddon1:
thanx a lot Gangsta... version is good...

edit : p. s. no problems whatsoever from now on... great!

NOTE: whitelist the APK Tool Folder in your Antivirus or DecompileFile.exe (from BDFreak folder 1) will be deleted by Antivirus sooner or later.

Sent from Galaxy Beast Edge+ (aka Sensei) Powered by Audax Plus M v5 Rom
[Android Software Development] ashishkr:
Why my anti-virus showing v 4.2.0 as malware inside?

Trying to restore quarantined files.

via ➧ Xperia™
[Android Software Development] :
Looks like there's values not allowed in the code? Did you by any chance modified the values?

Your best first help is to search for invalid literal value whatever that means I don't know. Never heard it before
[Android Software Development] ANDROIDXFOREVER:
hi use this update

link: https://www.androidfilehost.com/?fid=24591020540821511
[Android Software Development] :
I was not in need of this ?but thanks can come in handy ?
[Android Software Development] iamthedj:
for some reason its not working on my settings.apk

Log For : Settings.apk

Log Type : Decompiling

Log Recorded At : Wed 29-06-2016 14:38:32.58

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0d005b style/Theme.SettingsBase, config=[DEFAULT]

at brut.androlib.res.data.ResType.addResource(ResType.java:66)

at brut.androlib.res.data.ResType.addResource(ResType.java:55)

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

at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:217)

at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:153)

at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:115)

at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:77)

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

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

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

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

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

at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:193)

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

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

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

------------------------------------------------------
[Android Software Development] sebastiandg7:
Have you installer the respective framework before decompiling?
[Android Software Development] iamthedj:
yes
[Android Software Development] sebastiandg7:
Hmmm... May be there is some other requires framework apk... Check for apk files inside /system/framework folder or subfolders.
[Android Software Development] iamthedj:
in /system/framework it has 3 folders arm, arm64, oat and the rest of the files are just jar files and in the sub folders there are no apks
[Android Software Development] SMIT120:
dude when i unzip the advancedapktool.exe doesnt exist i m using win10 plz help me out..
[Android Software Development] ANDROIDXFOREVER:
this work 100/100

https://www.androidfilehost.com/?fid=24591020540821511

---------- Post added at 11:41 AM ---------- Previous post was at 11:40 AM ----------

from win10 copy on c/ folder
[Android Software Development] fahru:
This happen when i try install framework,, please help..

ader(ARSCDecoder.java:78)

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

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

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:599)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:581)

at brut.androlib.Androlib.installFramework(Androlib.java:683)

at brut.apktool.Main.cmdInstallFramework(Main.java:240)

at brut.apktool.Main.main(Main.java:87)
[Android Software Development] ANDROIDXFOREVER:
update this . https://www.androidfilehost.com/?fid=24591020540821511
[Android Software Development] Ram121:
You need to disable antivirus or Windows defender to avoid exe getting deleted.
[Android Software Development] Janis:
Using Win7, ClamWin, ClamSentinel, WindowsDefender. I have them all shut off, but DecompileFile.exe, RecompileFile.exe, zipalign.exe don't seem to want to extract at all, or more likely getting deleted as soon as they get extracted.

Has anyone had this issue and worked around it? Do I need to boot to, like, Ubuntu to just get them extracted and then... well...? Yeah. Stumped.

Nevermind. I found the logs in ClamWin quarantine. Had to allow them in ClamSentinel. It doesn't shut down. Yet another reason to be impressed with Open Source software.
[Android Software Development] phonglhie:
Thank you very much sir, its working and very easy to used.
[Android Software Development] Mirza_H:
Failed decompile some apps

Can anyone help me?this my log when decompile wapPush.apk

Log For : WapPush.apk

Log Type : Decompiling

Log Recorded At : 25 2016-07- 2:39:59,99

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

Exception in thread "main" java.lang.NullPointerException

at brut.androlib.res.xml.ResXmlPatcher.pullValueFromStrings(ResXmlPatcher.java:128)

at brut.androlib.ApkDecoder.putVersionInfo(ApkDecoder.java:360)

at brut.androlib.ApkDecoder.writeMetaFile(ApkDecoder.java:299)

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

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

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

------------------------------------------------------
[Android Software Development] Mirza_H:
[MENTION=5078388]BDFreak[/MENTION] can u help me sir?
[Android Software Development] Rootk1t:
Use this version.
[Android Software Development] Mirza_H:
thansk (pressed) sir,its work now :D
[Android Software Development] moohamed seif:
didnt work with me :confused:
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.2.0.