yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.6.0 (Android 12 Support)
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.6.1 (bug fix release).
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.7.0 (Android 13 Support).
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.8.1 (Android 14 Preview Support).
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.9.0 (Android 14 Support).
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.9.1 (Android QBR2 support).
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.9.2 (security bugfix).
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.9.3 (security bugfix).
[Android Software Development] R.A.B:
Thank you very much for your work. Great!

Today I wanted to replace my framework-res, so it was a good time to try out your tool. After rebooting I got a bootloop and searched the error.

The META-INF folder wasn't pushed back. ‎I've tried several times with same result.

...
[Android Software Development] inunxelex:
try this services jar mod (http://xdaforums.com/showthread.php?t=2458144) then sign your framework using builtin signer, its working well on my XMD JB4.2.2 :good:
[Android Software Development] Anang_Galih:
Thanks BDFreak. Very usefull tool. Good work :good:
[Android Software Development] crazy_user:
thanks for tool sir :) very fast on compiling:good:
[Android Software Development] gamer649:
Thanks for the tool, it was recommended to me by another member of the community.

By the way, McAfee detects DecompileFile.exe and RecompileFile.exe as Artemis (unknown 'viruses') and automatically deletes them, this might be something you want to take up with them? McAfee is easily the worst AV I've ever used, shame I've still got a subscription for another 7 and a half months of the thing.
[Android Software Development] deuce_biggins:
Delete, got a different tool to work since there was no response on this thread
[Android Software Development] saifssj6:
which tool?

---------- Post added at 06:08 AM ---------- Previous post was at 06:08 AM ----------

which tool?
[Android Software Development] rvkumar:
I ported s5 PolarisViewer5.apk to aryamode v5.5 for n7000 but it is not work. can any one help me
[Android Software Development] SonyFan23:
Thanks for the development of the program, easy to use
[Android Software Development] linus98:
Thank you for your work, but to me it seems not to work :(

Sorry for my bad english ...
[Android Software Development] BDFreak:
You have to install proper framework to decompile apk's.
[Android Software Development] linus98:
Yes
[Android Software Development] Aciong.Aksaya:
First of all thanks for this great tool it made modding task simple.

Just a question I just modified target package of one line item in Settings.apk recompiled and pushed to system/app and rebooted then Settings from apptray in no longer visible.

Any tip for this?
[Android Software Development] BDFreak:
Sign it. It may help.
[Android Software Development] Aciong.Aksaya:
Geez that the only thing I didn't do.

Its working good now...

Thank you!
[Android Software Development] losthorizon21:
HI BDFreak !

I am getting the following msg when I Decompile a file :-

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

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

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

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

Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

Can you help me?

Thanks
[Android Software Development] HackitZ:
Hi BDFreak, i'm trying to work on z1 compact 757 (4.4.2) rom and am having an issue recompiling apk's. I have installed the right framewpork and SemcGenericUxpRes.

Should i be able to work on android 4.4.2 rom? or is an update needed.

Thanks
[Android Software Development] BDFreak:
Please, always read the log before complaining. Check at the bottom of the log: Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

Maybe you didn't install SemcGenericUxpRes.apk or installed wrong one.

Where is your error log? What you have edited? Anyways, PM me the framework files and the apk you have tried to recompile.
[Android Software Development] losthorizon21:
ApkTool

Super! Thank you BDFreak ! It worked now. I installed the Semgenericuxpres.apk again! I was trying to recompile LgNfc.apk from my LG G2 D802.
[Android Software Development] avirale123:
excuse my ignorance

the. jar is signed

or just compile :confused:

It is a great job you have done

thanks for your tool :good:
[Android Software Development] BDFreak:
No need to sign jar files.
[Android Software Development] avirale123:
thank you very much for your reply

apology is not the place

this is his work (http://xdaforums.com/showthread.php?t=2615476)

could facilitate guides to do the same in Stock .201
[Android Software Development] kermage:
great tool.. :good:
[Android Software Development] m0han:
thanks a lot. i was able to carry out my first 'apk-decompiling' with this. :D

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

i forgot to reboot. but, i could decompile SystemUI.apk using this great tool. many thanks for the tip & link.
[Android Software Development] UchihaKakarot:
Hello guys,

I used this tool to decompile setting.apk from galaxy s4. I got some error while decompiling.

Here is the log:

Log For : SecSettings(With

Log Type : Decompiling

Log Recorded At : Thu 05-15-2014 21:26:39.67

Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak

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

Input file (D:\revosoft version 3\Advanced ApkTool v2.0.0 By BDFreak\AdvancedApkTool\2-In\SecSettings(With) was not found or was not readable.

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

Pls help me asap.
[Android Software Development] kermage:
Try renaming the file.
[Android Software Development] UchihaKakarot:
Sweet! Its working thanks a lot.
[Android Software Development] jeromemo:
when i re-compile my framework-res.apk, its always corrupted (or should i say incomplete), the folders with "values" name on res folder is missing. what should i do?
[Android Software Development] UchihaKakarot:
I edited the settings apk and than I recompiled it and I placed it in my system/priv-app but after reboot the setting is not there in the appdrawer and cannot open it even from the notification panel. Than I realised that com folder was missing so I added it from a working apk but still the same result and also added manifest.xml from the same settings still the same.

Sent from my GT-I9500
[Android Software Development] iHeymanth:
not even a single apktool worked for me but this one worked like a charm.

very easy and compact.

thanks alot. work done.
[Android Software Development] sam_777:
This is better than better.

Cocked up in decompiling framework-res.apk.

This tool just did it like that.

[MENTION=5078388]BDFreak[/MENTION] keep up the good work.

Cheers!
[Android Software Development] UchihaKakarot:
Someone pls help me.
[Android Software Development] BDFreak:
After recompilling just sign it. No need to put anything manually in it.

If it doesn't help. Decompile the file and then recompile it without editing anything. Check if it works.

If it works then you have done something wrong when you edit the file.
[Android Software Development] UchihaKakarot:
Its not working. I didnt change anyhting this time.
[Android Software Development] BDFreak:
Upload your framework files (framework-res.apk and SemcGenericUxpRes.apk) ans tge file you want to edit. I will check myself.
[Android Software Development] UchihaKakarot:
What is " SemcGenericUxpRes.apk" ?

I have twframework-res.apk

---------- Post added at 09:10 PM ---------- Previous post was at 08:37 PM ----------

this zip contains

-setting.apk editted by me

-settings.apk non - edited

-twframework-res.apk

-framework-res.apk
[Android Software Development] UchihaKakarot:
Pls reply asap.
[Android Software Development] nerdyblonde:
Have had trouble with other apk tools in the past, but this one worked perfect the first time.. Thanks for your time and hard work! :good:
[Android Software Development] Oohhlala:
sorry for my noob question. need to sign system app ? ( exp systemui.apk )
[Android Software Development] kermage:
Yes you can, though original signatures are automatically copied after compiling.
[Android Software Development] Oohhlala:
u meant no need to sign system app, just compiling is enough :confused:
[Android Software Development] kermage:
Yes, just zipalign after compile ;)
[Android Software Development] Oohhlala:
first test, i just compiled and i lost status bar and navigation bar , the next test, i used "sign" feature and it's ok , all my system app were zipalign, so i have to zipalign systemapp after midification ?

sorry for my bad english
[Android Software Development] kermage:
Yes, as I said earlier, you may or may not need to "sign" it, but you have to zipalign always after recompile.
[Android Software Development] Oohhlala:
thanks u :good:

btw do u use xperia device ? do u know how to move tab toggle in notification panel from top to bottom ?
[Android Software Development] avirk:
No need of sign the apk if you didn't touch the androidmanifest.xml after recompile the apk open it with winrar or 7zip and open the original apk with same programme and push the metA-inf folder to modified on from original apk and you done.

If you changed anything within the xml I mentioned earlier then you need to sign it.
[Android Software Development] jazzespresso:
Stupid me, I did not see @avirk's response above...so ignore the question below..

++++++++++ DELETED+++++++++++++++++

question: On several forums here in XDA, they mentioned that you don't need to sign/zipaling framework-res.apk file if after you edited framework-res.apk and re-compiling it.

Is that true statement?

i believe you need to sign/zipalign the app if you intended to use on diffrent devices..of course, this is my guess..

any feedback?

++++++++++ DELETED+++++++++++++++++
[Android Software Development] frozen01:
hi

hi i try to decompile apk system file but i get error

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

Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
[Android Software Development] Hamidreza2010:
hi

first go to :

x:\Users\xxxxx\apktool\framework

( first x is windows drive letter and second xxxxx is your user name )

and delete all file in this folder then install a new framework ( or install framework again ) and try again for decompile

hope is work
[Android Software Development] Rootk1t:
Great tool. Thx ones again for it.

But i think some precation should be mentioned on the 1st list - description, which i found out only after 1 hour of trials and errors and reading the whole thread.

After recompiling, the resulting file is already signed with signature taken from original apk (copied META-INF). If i additionally press "4 - Sign Files" it signs with some signature files dated 2008. What does "4 - Sign files" is still unknown for me. :confused:

So should edited be file signed with original signature or from original one (copies META-INF)?

---

I installed two frameworks (framework-res.apk and SemcGenericUxpRes.apk), decompiled framework-apk, edited one line in value-bools, recompiled it, zipaligned.

Added in .zip archive to flash from recovery, flashed, got straightforward bootloop. Ok. I flashed stock one framework-res from recovery, system boots ok - no problems. Then i flash 1st file from recovery which gave bootloop and.... system boots normally and operates as designed.

What may be the cause of bootloop on 1st install? Also if i do factory reset system gots bootloop, even before it was working normally.
[Android Software Development] BDFreak:
Recompiling doesn't sign the files, it just push the META-INF file after recompiling.

"4 - Sign Files" sign the file with a testkey which helps to install the apk file in any phone. And I found that when I sign framework files after editing, I don't get bootloop after factory reset.
[Android Software Development] Rootk1t:
why after signing stock files with original keys are replaced by testkeys by 2008 year in META-INF? Can it save original ones? I don't have to install framework-res, just push where it was.
[Android Software Development] BDFreak:
This is the way it works and this is how it should be. You can't install framework files in any way.
[Android Software Development] Rootk1t:
hm, kinda strange that i have to use 2008 testkeys instead of sony stock ones :rolleyes:

Do i have to obligatory sign frameworl-res to use it?
[Android Software Development] BDFreak:
In my opinion it's good to sign.
[Android Software Development] Marília de Oliveira:
Not appear to edit the smali folder :(
[Android Software Development] Red_Zmooth:
when i double klik Advance ApkTool.exe i have noticed like this.

"Java was not found,You will be able tu use this tool!*You have to install Java Environment*"

But i have it....

how to solved my problem?

thanks..

EDIT; solved.i try to change some script.

but not able to edit smali file.

sorry for my eglish.
[Android Software Development] deuce_biggins:
[MENTION=5078388]BDFreak[/MENTION], I just want to give you proper credit for your amazing work. I have been using this tool for the last 4 months without issue, I appreciate the work that you put into this. In my opinion...it's the best one out there ;)

THANK YOU...
[Android Software Development] :
Warning

Don't know why but suddenly my AV gave me an alert. Scanned the file immediately. Looks like false-positive but better be sure.

https://www.virustotal.com/de/file/...55baefd9e3f7b3cdd90f34b5/analysis/1404493325/

Packed/MPress

Trojan/Win32.SGeneric

Win32:Malware-gen

Trojan.Generic.11458673

HW32.CDB.C6c3

W32/Trojan.XOZG-8582

Trojan.KillProc.16231

Trojan.Generic.11458673 (B)

Trojan.Generic.11458673

TrojanDropper.Mudrop.dea

MPress.C

TROJ_GEN.F47V0324

Trojan.Generic
[Android Software Development] AndreaFar:
BUG

Get

Java was not found error

but I have both Java JRE and JdK installed and updated, and also the path is configured correctly.
[Android Software Development] avirale123:
firm worked fine in 4.3

signing 4.4.4 but is not working in framework-res

any help
[Android Software Development] BDFreak:
Please search before posting. The fix is in 2nd or 3rd page.

I have no idea about this.

Read the log file and check the files/folders which have problems. I didn't work with miui.
[Android Software Development] Oohhlala:
i alway got this error when recompile after add some smali file. plz tell me how to solve this, bro

Log For : Settings.apk

Log Type : Recompiling

Log Recorded At : Mon 14-07-2014 15:25:21.99

Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak

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

..\3-Out\Settings.apk\smali\com\b16h22\Profile$1.smali[27,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\b16h22\Profile$1.smali[43,4] Error for input '.parameter': Invalid directive
..\3-Out\Settings.apk\smali\com\b16h22\Profile$1.smali[43,15] mismatched input '"v"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/b16h22/Profile$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)

------------------------------------------------------
[Android Software Development] :
My phone: Z1 C6903 running the latest 4.4.4 build number (108). Rooted, deodexed and more...I already have modifed many other apps like Conversations.apk, framework,SemcPhone, Home and others without any trouble.

My PC: VAIO Fit 14E on Windows 7, x64

The problem: Phonebook.apk, it compiles and doesn't show any error but will not install on the phone. I get a generic Android icon and "There was a problem parsing the package"

What I am trying to do: I follow Rajeev's Tutorial to get a bigger contact photo. Its easy: Just edit 2 xml files and one smali. Curious thing is after editing the first xml and recompiling The app it cannot be installed, only shows the generic Android icon

I've tried with Tickefish's Tickle My Android and I got the same results.

What can It be? Is my computer missing something?
[Android Software Development] BDFreak:
It seems that your smali files are decompiled by old apktool.

Removing .parameter from your smali files may help you.

I can't help you on this as my phone still stuck on 4.3. So, I can't try myself.

I think [MENTION=4970751]Rajeev[/MENTION] can help you in this matter.
[Android Software Development] :
[MENTION=5078388]BDFreak[/MENTION]

Could you tell us why some AV softwares detecting trojans in your tool?
[Android Software Development] Rajeev:
Hi

No One Can Edit Latest 4.4 Phonebook with ICE Option Except niaboc79. He Did Some magic and Its Works For Him. And I Found The " Magic " But i can't share it.. I Am Using It By Myself... Latest Version also Can't Editable.. Sony Did Something :o
[Android Software Development] deeps.singh46:
helpme in recompiling SemcGenericUxpRes.apk

@ BDFreak bro

am getting error in recompiling SemcGenericUxpRes.apk

i just decompile it without any edits i was recompiling
[Android Software Development] AxAtAx:
Worked like a champ, simple, thanks for your work on this, great job!:good::good:
[Android Software Development] Ri9000:
linux version

Hi I was wondering if you had any plans for a Linux version of your tool?

thanks.
[Android Software Development] bovirus:
[MENTION=5078388]BDFreak[/MENTION]

Could you please update your apktool mod using as base 2.0.0.RC1

http://d-h.st/5vj
[Android Software Development] caspboy:
great simple fast tool:D
[Android Software Development] olorin:
Link isn't working

Please upload again

Tnx
[Android Software Development] Ducatuca:
Thanks for this beautiful tool :) It's very easy to work with it! I really like it. This is the first time I've managed to decompile my SystemUI-res.apk.

I have only one problem with my phone. I have an Alcatel One Touch Idol 2 which has 2 framework files: framework-res.apk and mediatek-res.apk for the sources and also SystemUI-res.apk, SystemUI.apk and SystemUI.odex. I found on some russian web page how to decompile alcatel SystemUI-res.apk but as I told you I've managed to do it only with this tool. The russian guy said that you must put AndroidManifest from SystemUI.apk and put it with winrar to SystemUI-res.apk and after that you can decompile it and change everything what you need and recompile it. After that you must put back the AndroidManifest from recompiled SystemUI-res.apk to SystemUI.apk and also delete it from SystemUI-res.apk. After I did all those things I can put SystemUI-res.apk to system with es file explorer and change permissions but when I pur back the SystemUI.apk after restart the phone I have only black screen without wallpaper and my status bar disappeared.

So please guys, do you have some other options for me to get it work?

Thanks in advance!
[Android Software Development] Rootk1t:
http://d-h.st/Krg
[Android Software Development] Chirtagh:
Hi..

Is it possible to bring this on ubuntu platform?

If yes please , humble request ... bring this on ubuntu...
[Android Software Development] Vihru:
is this that new version?
[Android Software Development] Rootk1t:
with updated apktool inside 2.0.0.RC1 instead of Beta9.
[Android Software Development] leo.riv:
When Recompile .jar create .zip file
[Android Software Development] TeeVn:
thanks :)
[Android Software Development] pnda:
mac version

can someone port this to mac? or is there an alternative for mac
[Android Software Development] zero_omar:
I have a problem with recompiling framework-res.apk

the recompiled one is much smaller than the original

the original is 17.2 mb

the recompiled is 15.5 mb

after signing 15.6 mb
[Android Software Development] BDFreak:
[Tool]Advanced ApkTool v3.0.0[Windows][02/09/2014]

Advanced ApkTool v3.0.0 has been released!!!

Changelog :

v3.0.0 :

Based on Apktool 2.0.0-RC1

Added "More Menu" Option

Added "Decompile All Files" Option

Added "Recompile All Files" Option

Added "Sign All Files" Option

Added "Zipalign All Files" Option

Download :

v3.0.0 :

Advanced ApkTool v3.0.0 By BDFreak.rar
[Android Software Development] ksmuthucv:
Thanks for the great tool!!!
[Android Software Development] Netuser:
Hi, [MENTION=5078388]BDFreak[/MENTION],

First thanks for this tool, it is really very userfreindly :)

I dont have sony phone but Samsung Galaxy S4 as your tool is very nice i wanted to try it as you said it should work with other brands too. But I am having an error when i try to decompile a SystemUI file (i ahve same error with other tools and also with Command line apktool guide too) As this topic is very active i am posting my issue here if you can help Please.

I uploaded the files and franmewroks in a zip ( installed both frameworks)

http://www.mediafire.com/download/4t9b79ndzazvg76/2-In.zip

and here is the error I get :

Thanks a lot for your help :)

Log For : SystemUIGF1.2.apk

Log Type : Decompiling

Log Recorded At : 2014-09-06 -- 18:52:22.73

Log Recorded By : Advanced ApkTool v3.0.0 By BDFreak

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

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01081099
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01081099
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108109a
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01081099
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:340)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:307)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:119)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:115)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)