yashsingh1/xdaforums huggingface dataset:
[Android Software Development] :
Yeah. The ROM was odexed. Just came to this conclusion now. Any workaround to edit the smali files and keep the odexed app? I don't want to reinstall the whole ROM
[Android Software Development] Dzepar:
You don't have to reflas whole rom but you have to deodex it as whole and you can flash just camera app deodexed. Search XDA for more information coz your on MM but it works on KK and LP, look in Ticklefish thread he have more information. :)

Good Luck!
[Android Software Development] fluffi444:
Said to him the same via pm ? and he got already the deodexed camera app he needs.
[Android Software Development] :
Pardon my ignorance, but I didn't fully understand. It's ok if I flash the deodexed camera on a odexed ROM without any issues? Thanks!
[Android Software Development] Dzepar:
Yes, just remember to delete odex file in camera folder when you flash edited camera ;)

Good Luck! :)
[Android Software Development] fluffi444:
Yes. Let's call it ignorance. ðŸ˜€

Really everything was written in pm to you.

If you still won't belive it use Google... ðŸ˜€
[Android Software Development] :
It wasn't about not believing, but about not understanding something properly. Threads are made so users (like me) who aren't accustomed to the this parts of development.

No need to be salty.
[Android Software Development] fluffi444:
I guess it's time to stop here. This thread is about advanced apk tool and how to handle it. And this was written already.

For more details about ROM structure, odex and deodex, differences and why you can mix them there are tons of other threads...
[Android Software Development] busayaphol:
You save my life sir ^_^ thanks again
[Android Software Development] 3rr0r-3y3-(KuTtY):
Download Iink is dead
[Android Software Development] rinkashime_014:
Link not working
[Android Software Development] KhunDee:
Broken Link!!

Hello developer/themer,

I have great need for your application but am unable to download it due to a file not found 404 [IMG="filehost site"]https://www.androidfilehost.com/?fid=24411628330025361[/IMG]

Any way someone can upload?
[Android Software Development] bovirus:
[MENTION=2617109]KhunDee[/MENTION]

Here you can find the file requested.

https://xdaforums.com/showpost.php?p=69215130&postcount=682
[Android Software Development] Chantola Ho:
Here is the link everyone! ;)
[Android Software Development] bovirus:
thanks to Mike (admin) the downlaod link is now available also in the first post.
[Android Software Development] TR TASIN:
Error while decompiling framework

PLease help i am getting error while decompiling framework-res.apk

This is the error

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x0103035d style/Theme.DeviceDefault.Resolver, config=-round

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:270)

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

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

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

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

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

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

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:68)

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

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

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

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

Please help
[Android Software Development] AMAZINGRACEINTL:
Please am a bit new to this advance apktools but i have some apk i want to decompile and recompile. Please how do i get this framework-res thing
[Android Software Development] mhyr:
i have same problem : Could not find the main class: brut.apktool.Main. Program will exit.

in decompiling or installing framework or everything

i did the steps right i guess but the problem keeps showing every time
[Android Software Development] blackhaya:
Advancedapktool.exe (v4.2.0) it's not working, can't open the exe file, it shows the following message "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." Any solution? please help.
[Android Software Development] bovirus:
APktool works fine.

Please post details like OS version, where you copy apktool fodler structure, how you run it, etc.
[Android Software Development] blackhaya:
Well, I'm using Windows 10 pro x64, well I copied the folder in desktop, C: and my documents, (C:/advancedapktool) running opening the file.
[Android Software Development] xpail:
Hi all , i can't use Apktool 4.2.0 , because my antivirus said that there is aTorjan there !!!

what i must to do ???
[Android Software Development] Rootk1t:
exclude it from antivirus check list.
[Android Software Development] xpail:
but what about the detected virus ToRjan !!! what this mean ??
[Android Software Development] bovirus:
It's a FALSE (wrong) detection by Antivirus.

I tested it with my Windows 7 x64 Professional and 360 Antivirus.

No virus report.
[Android Software Development] agabey_42:
update please. Android nougat.
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.2.2 (Nougat support)
[Android Software Development] radisw:
like

ilove
[Android Software Development] techwindow:
Antivirus warning

---------- Post added at 05:03 PM ---------- Previous post was at 04:30 PM ----------

Can somebody please explain what is install framework files refer to? When we put apk in 2-in, why do we need this too? what is it? How to get it?
[Android Software Development] ANDROIDXFOREVER:
No virus is false positive your antivirus work bad??*♂️
[Android Software Development] techwindow:
Answer second question too regarding framework.:o
[Android Software Development] arzuakay:
Error Recompile:

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

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:259)
at brut.androlib.Androlib.build(Androlib.java:271)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:105)
at brut.androlib.Androlib.readMetaFile(Androlib.java:255)
... 4 more
------------------------------------------------------
[Android Software Development] mhyr:
Could not find the main class: brut.apktool.Main. Program will exit.

Exception in thread "main"

still the same problem in nougat what do i have to do ? no one answered my last comment too :(

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

Edit : i just updated my java and no more errors ^_^
[Android Software Development] Iron man 20:
thks bro...
[Android Software Development] tazlooney89:
Help!!
[Android Software Development] zputnyq:
Hallo guys,

I am new on this tool.

Can I use it on win xp?
[Android Software Development] User_99:
Why not. Try it out.
[Android Software Development] Rootk1t:
Works perfectly on XP.
[Android Software Development] zputnyq:
Yep, just tried it several hours ago.

It works.

Thank you guys
[Android Software Development] yash92duster:
[MENTION=5078388]BDFreak[/MENTION]

thanks mate:D:D
[Android Software Development] Vijay chandra:
Hello sir can u tell me how did u create this tool which is able to run cmd commands and having a user interface?:confused: I have some commands listed in bat file and i wanted to add a GUI Interface like this for it.Can u please hlp me in this ?:fingers-crossed:
[Android Software Development] MallowsAndGooey:
whats wrong with this? :<
[Android Software Development] Adword 101:
Not Support google console

Hi Seniors,

After De,recompile,sign,zipalign APK. Not Support google console.

Because sign, zipalign not proper work ?

Any solution ?

Thanks

Email : domainrate@live.in
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.2.3 (Android O Preview support)
[Android Software Development] cerj:
Thank you. This is my go-to outside of building with AS, and I appreciate that you nkeep it updated. N:good:
[Android Software Development] Adword 101:
Virus and Malware

Pls check this screenshot :

prnt.sc/fkfesq
[Android Software Development] Rootk1t:
false positive, as usual with apktool.
[Android Software Development] Adword 101:
Virus and Malware

Window 10 does not let it run, the virus itself is showing in it.

Pls, you try to install it yourself.
[Android Software Development] IMIM@HACK99:
What's the probleme when i recompele .apk stell long time like in picture and dosn't recompile, any one have solution ?

[IMG="https://s8.postimg.org/fr9k5k1h1/apk.png"]https://s8.postimg.org/fr9k5k1h1/apk.png[/IMG]
[Android Software Development] napolionnardo:
Hello, I have a problem compiling the keyboard

This is the error that throws me.

AndroidManifest.xml:59: error: No resource identifier found for attribute 'directBootAware' in package 'android

I attach the file AndroidManifest.xml
[Android Software Development] napolionnardo:
I just changed the icon

I am using the latest version of AdvancedApkTool
[Android Software Development] suriyaprakas:
it takes more time

just 8mb file takes 5 minutes for me
[Android Software Development] IMIM@HACK99:
But i use before 1 years this tool it was very fast :(

if any one give me fast version or pro i can pay for him :)
[Android Software Development] SXUsr:
You could update it yourself by replacing the old apktool.jar with the latest. [MENTION=5078388]BDFreak[/MENTION], should you update this can you make it so it can decompile zips too please.
[Android Software Development] Rootk1t:
already done here.
[Android Software Development] Saifuddin200792:
Decompilation is successful but recompilation fails.

Again i recompiled without modifying result is unsuccessful
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.2.4 (Android O Final Dev Support)
[Android Software Development] Ibuprophen:
I'm just wondering if [MENTION=5078388]BDFreak[/MENTION] is going to update this threads title to reflect the updated version...

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.

×MY DEVELOPMENTS×

[APP][TOOL][4.2+]The SELinux Toggler

[ZIP][TOOL][AIO]BusyBox Stericson Binary Installer v1.26.2 {BB/TB Auto-Symlink}

×IN DEVELOPMENT×

[APP][TOOL][4.2+][OFFICIAL]The SELinux Switch

Will Supersede "The SELinux Toggler"

×IDEAS FOR DEVELOPMENT×

[APP][UNOFFICIAL][4.2+]XDA Forum {Classic}

[APP][UNOFFICIAL][4.2+]XDA Reader {Classic}
[Android Software Development] Ibuprophen:
This is EXCELLENT indeed [MENTION=3924617]iBotPeaches[/MENTION]!!!

I'm wondering if your also going to update this threads title to reflect this latest version and date?

[UTIL][]TOOL][07-29-2017] Apktool v2.2.4 - For Reverse Engineering Apk Files

Just a friendly suggestion... :)

Thank you very much for your time.

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.

×MY DEVELOPMENTS×

[APP][TOOL][4.2+]The SELinux Toggler

[ZIP][TOOL][AIO]BusyBox Stericson Binary Installer v1.26.2 {BB/TB Auto-Symlink}

×IN DEVELOPMENT×

[APP][TOOL][4.2+][OFFICIAL]The SELinux Switch

Will Supersede "The SELinux Toggler"

×IDEAS FOR DEVELOPMENT×

[APP][UNOFFICIAL][4.2+]XDA Forum {Classic}

[APP][UNOFFICIAL][4.2+]XDA Reader {Classic}
[Android Software Development] iBotPeaches:
The title from my point of view when editing thread is correct. I do not know what XDA is doing.
[Android Software Development] Ibuprophen:
This is weird... I attached what I'm seeing...

Maybe this is a job for The Spectacular [MENTION=335322]MikeChannon[/MENTION]!!! :)

What do you think Mike?

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.
[Android Software Development] Hafyzy:
have u try to delete this command

C:\Users\zeekdp\Desktop\AdvancedApkTool\3-Out\co.apk\res\values\public.xml:1139: error: Public symbol style/Platform.V25.AppCompat declared here is not defined.

W: C:\Users\zeekdp\Desktop\AdvancedApkTool\3-Out\co.apk\res\values\public.xml:1140: error: Public symbol style/Platform.V25.AppCompat.Light declared here is not defined.

open res-value-public . delete these things and recompile again .

---------- Post added at 03:17 PM ---------- Previous post was at 03:14 PM ----------

@BDFreak , Have you ever thought of upgrading this tools to make more nice looking UI or faster decompile recompile process or whatever improvement . i love your tools . easy to use
[Android Software Development] busayaphol:
please :(

I try to rename "package name" of some app and it does not seem to work

when i looked at apktool.yml file i found this

packageInfo:

forcedPackageId: '127'

renameManifestPackage: null

Does it the cause of problem?
[Android Software Development] Ibuprophen:
The following thread is best suited for what you're trying to do. Please read the guide thoroughly before posting.

http://xdaforums.com/showthread.php?t=2760965

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Android Software Development] busayaphol:
thanks for your fast answer, sir. I already read from that post and from another post too before I asked here but nothing can solve my problem. I still can not rename that app package name (but I can rename another app!?) so I thought maybe it need another method or something like that?

and the reason to make me think that it something about "renameManifestPackage: null"

because it mention here at https://stackoverflow.com/questions/36807634/changing-the-package-name

thanks again

hope that you may guide me...
[Android Software Development] miksontije:
Apktool 2.3.0 is out

[#1594] - Android Oreo Support

[#1571] - Run CI tests on OSX as well as unix.

[#1586] - Prevent apktool doing permission checks on unneeded directories.

[#1595] - Windows Unicode support for helper scripts.

[#1598] - Dropped support for all 32 bit binaries, except Windows.

[#1444] - Fixed ClassCastExceptions when producing files. (Thanks footpatch)

[#1611] - Fixed issue with apks that have 4 non-positional/positional nodes.

[#1615] - Added support for invalid targetSdkValues which are greater than max or less than min. (Thanks Jan Vidar Krey)

[#1605] - Added ability to skip assets decode (--no-assets).

[#1589] - Prevented directories being written outside of scope of decode directory.

https://connortumbleson.com/2017/09/21/apktool-v2-3-0-released/

i hope Rootk1t will update tool
[Android Software Development] Ibuprophen:
I've got no problem with providing assistance with questions like this but, I, personally, believe that this thread is more of a thread regarding questions and support for the operation and support specific to the Software itself.

I feel this way because of a number of other threads that are specific Guides and tutorials in how to perform various things to include what your doing and those are the places that I believe are more appropriate for these types of questions.

I'm ONLY stating this as a personal opinion/suggestion.

I already see your question on the other thread. I'll see what I can do to help there.

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.3.0 (Android O Support)
[Android Software Development] yagamicell:
i get eror after sign in..............

Exception in thread "main" java.lang.NoClassDefFoundError: s
un/misc/BASE64Encoder
at com.android.signapk.SignApk.addDigestsToManifest(
SignApk.java:182)
at com.android.signapk.SignApk.main(SignApk.java:451
)
Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64
Encoder
at java.base/jdk.internal.loader.BuiltinClassLoader.
loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppCla
ssLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown
Source)
... 2 more

"aaaal.apk" Signed

Press any key to continue . . .
[Android Software Development] galneg:
Hi, I have some errors when I try to use Advanced APKtool. At first I used v4.2 but I later downloaded 4.1 because simply that is what the tutorial I am following is using. I got errors on both tho and I will provide both errors.

The errors come up after I try to recompile and sign a APK file. The only change I have made is in one .xml file.

V4.2 Errors log (I removed alot of the log because it was just too huge. )

pastebin.com/iJNhbgFu

V4.1 Error log

pastebin.com/YR6ci0hj

I would appreciate some assistance here, ty! :)
[Android Software Development] Rahmat Saleh:
Someone, please help me. I can not recompile using advanced Apktool. What should i do?. The Messages are :

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:164)

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

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

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

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:160)

... 4 more.
[Android Software Development] szunyi77:
hi

Can anyone help me?

Unpacking has no problem, but recompile this problem

How can I fix it?

Whatever probes do not work unfortunately

I just compile and recompile I tried. I did not make any modification at apk
[Android Software Development] Zulfi:
Can't find smali folder after decompiling systemui.apk/framework-res.apk

Thanks

Galaxy A7 2017 Nougat
[Android Software Development] hoangduong93bg:
i think you should add mode using command "apktool d -b" to remove .linexx from smali code. sorry my english
[Android Software Development] ki11aprime:
Ok so I've decompiled and recompile push to the system folder but said app isn't showing up can anyone help me?
[Android Software Development] Rootk1t:
Updated with latest Apktool version 2.3.1 (Android Oreo 8.1 Support)
[Android Software Development] narutam:
brut_util_Jar_ has stopped working

I face this probleme whene trying to recompile brut_util_Jar_ has stopped working
[Android Software Development] Himan Boro:
I Tryd a lot But its not working Bro..This Tool Seems Great... :) but couldnt decompile my any app :( any help regarding this..coz i tryd exactly same as given in instrction..
[Android Software Development] badagila:
sorry for noob question

we need to zipalign and sign framewok-res.apk after compiling?
[Android Software Development] steveboss:
No need.

Sent from Xperia V: nordic v4 hybrid . 199 rom
[Android Software Development] badagila:
What about other apk like settings and systemUI? May the reason why i got FC because i zip align and sign that apk's.. instead of copying original meta inf from original to recompile
[Android Software Development] Himan Boro:
See My Error log While Decompiling Framework-res.apk

Log For : framework-res.apk

Log Type : Decompiling

Log Recorded At : Thu 20-03-2014 12:07:34.48

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"
------------------------------------------------------

Can any~1 hlp me out
[Android Software Development] badagila:
Not sure but maybe you need to insta java
[Android Software Development] bgos10:
Hello Sir,

I am getting this when i try to decompile any app after installing framework files (Framework-res.apk, semcgenericuxpres.apk) for Xperia C

Please help
[Android Software Development] chainsn0w:
great

works fast, no errors, just great i was using tickle my android but it failed to decompile systemui for kitkat s4 i9505

i pressed thanks and would like to donate to keep this tool alive, i know what coding means so i want to support you,send me message with your paypal email so i can donate (didnt find donate button in op)

keep up the good work
[Android Software Development] SXUsr:
I sign and zipalign every apk without issue, check your mods as it could be something you've done. Just because it builds doesn't mean it will work.
[Android Software Development] Madaditya:
Sign every time.

Yes,just Rename it.
[Android Software Development] mrjoy:
Very nice tool. Could you please add xml translator to translate strings automated.
[Android Software Development] BDFreak:
What do you mean. Please elaborate your question.
[Android Software Development] mrjoy:
I mean somebody wants to translate app in other language & this tools is best to decompile & recompile easily, even i was also decompiling apk file with toll to translate stings file so in my opinion if this tool can translate apk file in other language as i have an xml translator app which i have attached.
[Android Software Development] timmytim:
Fantastic tool!!

I have been using it extensively today trying to port MIUI to my device. I am having an issue where I will decompile framework.jar to change the smali. I make the smali edits and recompile but the smali changes back to what it was before I changed it.

I cannot figure out why its doing that. I remember using other decompilers previously and I had to remove some file before I recompiled and I cant remember what it was. I think your scripts take care of that though.

Do you know why the smali is changing back to the text that it was before I edited it?

Thanks!
[Android Software Development] BDFreak:
Ok. I will check this.

I don't know know why it's happening. Please upload your framework.jar and give me the link.
[Android Software Development] timmytim:
Thank you for taking a look. Its the weirdest thing. I change the smali and when I compile it changes back to what it was before I changed it. I am attaching my framework. Extract it because I had to zip it.
[Android Software Development] timmytim:
From the Recompile Log:

Should I also install framework-miui-res.apk since this is Miui?
[Android Software Development] inunxelex:
why this tool not working on my xperia m dual (http://xdaforums.com/xperia-m) with JB 4.2.2, after recompiling framework-res.apk, i got bootloop :(

[MENTION=4898631]erorcun[/MENTION] methods (http://xdaforums.com/xperia-z/development/guide-compiling-framework-res-bootloop-t2321207) not working too.
[Android Software Development] Madaditya:
Yes

Depends on what changes u made to framework after decompiling
[Android Software Development] inunxelex:
only change in value, recompiling systemui.apk also not working.

solved: after removing signature check from services.jar :D
[Android Software Development] Ripstikerpro:
The file is detected as trojan virus!

The file is detected as trojan virus!
[Android Software Development] bovirus:
It's a fake. No virus at all in the archive.