yashsingh1/xdaforums huggingface dataset:
[Android Software Development] oracle01642:
Could someone please tell me what I am doing wrong? I am trying to edit an XML file from SecSettings. Using quickmod, I type in '12' to install the framework-res.apk and twframework-res.apk. I then add the SecSettings.apk to the 'add_apk_here' folder. I then type in '1' to decompile the apk.

After it has finished decompiling, I go to the 'working' folder and locate the XML file I want to edit in the newly decompiled app. I open up the XML with notepad++ and proceed to edit it. After making the changes to the XML, I click 'save all', and then I go back to the cmd.exe and type '2' to compile the apk.

After it has finished compiling, I go to the 'compiled_apk' folder were there is 2 versions of the app, unsignedSecSettings.apk, and SecSettings.apk, i copy 'SecSettings.apk' to my phone and then I push it to priv-app folder, removing my old SecSettings.apk.

Here's the problem, when I set the correct permissions and then reboot my phone, none of the changes I make ever take effect??? What am I doing wrong? What do I need to have installed on my PC for quickmod to work properly? Am I missing something? Where am I going wrong?!?!
[Android Software Development] kermage:
Sign it first (option#3), then there should now be 3 version of the app under "compile_apk", the original SecSettings.apk, unsignedSecSettings.apk, and signedSecSettings.apk. You should use the signed one "signedSecSettings.apk" .. :good:
[Android Software Development] userdelroot:
Are you still having a problem?

If so windows or linux?

If it is windows you may need to run as admin ?

As windows is funny with apps touching /user/bleh/*

Which the framework attempts to install to by default.

I will try to fix this so it installs into the quickmod\framework directory on windows.

Linux should not be a problem cause it will write to $HOME/apktool/framework
[Android Software Development] ShinySide:
On linux and yes redownloaded and still wont install for me/same error
[Android Software Development] kermage:
Yea! that windows :mad:, but doesn't your tool already got the checking of permissions? :D

Well, specifying framework installation path will be a handy solution. ;)
[Android Software Development] userdelroot:
it is saying it can not create the Project paths? is that all it is saying?

What distro are you using? make sure you run the java -jar file from its directory!!!!

eg: /home/userdelroot/quickmod

cd quickmod

java -jar QuickMod.jar

running it like,

eg: /home/userdel/quickmod

from my home dir:

java -jar quickmod/QuickMod.jar

will cause problems with paths.

If you don't it will freak out with that error lol...

---------- Post added at 12:48 AM ---------- Previous post was at 12:46 AM ----------

No, the cross platform java version does not. As it should not have to be ran with elevated permissions in windows or linux for that matter.

No software should unless it is for the admin user only.

Windows is retarded that way.
[Android Software Development] kermage:
Providing the complete log will be easier for [MENTION=2819483]userdelroot[/MENTION] to help you.. ;)

Oh! my bad, did only check the batch version. :fingers-crossed:
[Android Software Development] userdelroot:
LOL its ok.
[Android Software Development] oracle01642:
I have tried that, but when I pushed the signed app to my phone, I get a boot loop. It's driving me crazy!! :eek:

I am using windows 7 if that helps?
[Android Software Development] Ricky Divjakovski:
mirrored twice and added to OP
[Android Software Development] Naveed Abbas:
Me Too... (on windows 8.1Pro 64bit).:confused:
[Android Software Development] kermage:
in that case, you should use its original signatures..check my PM ;)
[Android Software Development] ShinySide:
Mint 16. Was running LMDE before but since alot of people compile tools on Ubuntu I had to switch to just regular/ubuntu mint 16. I even tried making the apktool directory in my home directory and still get the same error....

---------- Post added at 05:54 PM ---------- Previous post was at 05:52 PM ----------

I already did......
[Android Software Development] userdelroot:
you have to set the output path and source paths to install the framework.
[Android Software Development] anagramgenius:
Quickmod5.0WINDOWS.zip

the smali and baksmali aren't updated. it's still 2.0.2 and not 2.0.3
[Android Software Development] Zaiaku:
Just tried it and its giving me the same errors as other decompilers when trying to mod facebook aok's and a few others

May 25, 2014: Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101045f
May 25, 2014:	at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
May 25, 2014:	at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
May 25, 2014:	at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
May 25, 2014:	at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)
May 25, 2014:	at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)
May 25, 2014:	at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
May 25, 2014:	at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
May 25, 2014:	at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
May 25, 2014:	at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:80)
May 25, 2014:	at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:130)
May 25, 2014:	at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
May 25, 2014:	at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
May 25, 2014:	at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)
May 25, 2014:	at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238)
May 25, 2014:	at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
May 25, 2014:	at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
May 25, 2014:	at brut.apktool.Main.cmdDecode(Main.java:146)
May 25, 2014:	at brut.apktool.Main.main(Main.java:77)
May 25, 2014: C:\Android\quickmod-crossplatform\quickmod>exit
May 25, 2014: Failed
[Android Software Development] skunks11111:
So... it is cross platform without Mac support? Now I can't use it anyways... :(
[Android Software Development] galaara98:
Oops didn't mean to thank you... If it's Linux support it will work on Mac since a Mac is just Linux with a few proprietary binaries.
[Android Software Development] userdelroot:
it should work on mac have you tried it?
[Android Software Development] JT1510365:
problem

i download the application and when i try to run the application it just keeps on crashing!

Am i doing something wrong?

My Computer: Dell Precision 490 Desktop

My OS Software: Windows XP

My Tablet: Samsung Galaxy Tab 3

My Phone: Samsung Galaxy S4 AT&T
[Android Software Development] userdelroot:
I guess you are meaning the cross platform version ?

Also what does the error say?
[Android Software Development] Droidmissionary:
[MENTION=2819483]userdelroot[/MENTION] I am a beginning Linux user so be gentle lol. I have been running this on windows issue free but I am now trying to learn Linux (using mint) I have the Gui opening fine but when I add the framework to the folder then switch to gui and hit install framework It just keeps redirecting from what I can tell. See attachment. Then if I add an apk to the folder to decompile it never shows up in the gui and says there is no file if i try to run decompile. I feel like I'm missing a setup somewhere or a step. Any help would be appreciated
[Android Software Development] userdelroot:
don't run the Linux shell script run the cross platform version. as the Linux version has not been updated in some time.
[Android Software Development] Droidmissionary:
Okay new problem, Got cross platform setup and its giving a new error. It's trying to pull a jar file from a folder that I had previously deleted prior to running this program: unable to access jarfile "....../Android" The android folder doesn't exist, I tried deleting and re-installing java to make sure there wasn't a link to the old android folder but no luck. I then tried renaming my android development folder which stemmed from that original android folder back to "android" and the error changed saying it was corrupt. Is it possible you've seen this or should i just remove everything and start over?
[Android Software Development] userdelroot:
Don't have spaces in your path name. Linux isn't real friendly with those. I'll check code also to see if I can correct that
[Android Software Development] Droidmissionary:
Well, I wasn't sure because at one time I had a folder titled "android" so i thought it was trying to access that but if you think its the spaces then I'll try again with a fresh install in a single word folder. I don't know if it'll help with the code but Android\ Development "\" calls out the space when working in the terminal. I'm sure you know this though seeing as how you wrote it in linux lol.I appreciate all the help
[Android Software Development] Droidmissionary:
Alright, Having same problem while trying to install framework from framework-res.apk on my windows pc using cross platform. It keeps saying it cannot access the jarfile. same error I was getting on linux . Log attached
[Android Software Development] userdelroot:
Have you tried taking spaces out of the paths on both OS's?

Also the QuickMod.jar has to be executing from the directory it resides in.

example: quickmod/QuickMod.jar

you have to be inside the quickmod directory and then execute QuickMod.jar

Hopefully that helps. if not let me know and when I have time I'll see if I can recreate the error.
[Android Software Development] Droidmissionary:
OOOHHHH, are you saying the source should be the quickmod directory and not the source of the file you're pulling?
[Android Software Development] userdelroot:
No, I'm saying remove the spaces where the framework is stored. and try it.
[Android Software Development] Droidmissionary:
Well, that comment was about your reply of the quickmod executing out of its directory but all is well. I deleted all the spaces in all of the paths, deleted all of the quick mod files and re-downloaded them. I finally achieved installing the framework-res.apk on my linux machine. Spaces must have been the culprit as you said. I want to thank you and apologize for probably driving you nuts with my mistakes. You're awesome sir!

---------- Post added at 08:00 PM ---------- Previous post was at 07:58 PM ----------

For your work, help, and patience.

I thank you, have a drink or 2 on me

4AA731527A730964U
[Android Software Development] userdelroot:
Thank you, greatly appreciated the donation.

Also you are not bugging me. I thought I addressed that issue already with the path spaces. I guess not, so a fix will be needed.

So thank you.
[Android Software Development] Droidmissionary:
You're welcome, it may be the same issue with my windows pc as well. I was getting the same error so I would assume
[Android Software Development] 93Akkord:
Nevermind.. delete please.
[Android Software Development] ela1103:
[MENTION=2819483]userdelroot[/MENTION]

Pls this apps not runing in my devices .can you mod this apps for all devices .

This player support4k video

http://www.mediafire.com/download/0mt18m83qv55zgk/owlplayer.apk

http://www.mediafire.com/download/a2nuery08itzcn1/lib.rar
[Android Software Development] vai8080:
Hey guyzz

Since m not the developer

Can any1 decompile apk for me:what::what:please

Thank u
[Android Software Development] ShinySide:
Decompiling an apk doesn't mean you're a dev... it means you decompiled an apk. So no. Because you can do it if you read the thread.
[Android Software Development] vai8080:
K thanks man
[Android Software Development] kcohen67:
I would really like to use this tool but, call me crazy, I don't see how to set it up, or an executable file to start it. I just see a bunch of GLASS files. Any assistance would be appreciated.

I downloaded 0.1.24 alpha and extracted it into it's own folder..but that's where it ends for me.
[Android Software Development] ShinySide:
Bad download?
[Android Software Development] Pain-N-Panic:
I believe I tried to use this tool a while back for lollipop system apks and did not work. Can anyone confirm if this tool is working on 5.x.x?
[Android Software Development] ShinySide:
Replace the apktool.jar in tools with this one

https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.0.jar

Just rename it to apktool.jar *should* work
[Android Software Development] Pain-N-Panic:
Thank you sir! I shall give it a shot
[Android Software Development] dnnz:
i'm trying to decompile the radio3.apk from sony but is missing the smali folder, i get these files:

AndroidManifest

apktool.yml

res folder

but no smali folder, wich i need to change some things in the app
[Android Software Development] ShinySide:
Deodex the app first
[Android Software Development] DarkHeart Z:
Is this project still under development ? I think it's very needy for all .

---------- Post added at 12:21 AM ---------- Previous post was at 12:19 AM ----------

bro can i update the smali , baksmali and apktool jar and aapt binary to the latest version by simply replacing them ?
[Android Software Development] ShinySide:
Yeah just download the newest versions and follow the same steps. Aapt isn't needed anymore in latest versions
[Android Software Development] Albe96:
[MENTION=5105831]Ricky Divjakovski[/MENTION] Thanks Alot Man! Good Job
[Android Software Development] Padong1523:
How to set it up there's nothing else executable file than tool.bat
[Android Software Development] Ricky Divjakovski:
just change the icon and divert the button to the add call function
[Android Software Development] Ricky Divjakovski:
you cannot use this on the device..
[Android Software Development] O's:
Wait, what? It's that simple? I'm pretty new to decompiling apks and editing xmls, but that sounds doable even for me. Advice on how to divert the button/where to find a tutorial? Thanks!
[Android Software Development] ShinySide:
I don't own a note 2 but as far as other Samsungs it's 90% chance it's just enabled in csc and you don't even need to decompile anything.

<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>

Look for that in the xmls in system/csc
[Android Software Development] Ricky Divjakovski:
there will more then likely not be a tutorial, but its not that hard
[Android Software Development] O's:
Thank you both, but it looks like Eclipse ROM works differently. I've changed a dozen CSC files (Features/Other/etc.) to disable Record Call and reenable Add Call, but I can't seem to make the change happen in CSC. Seems the code within InCallUi.apk overrides whatever I change in CSC's, and I can't figure out the right files within the apk to make the change.
[Android Software Development] gohlinka2:
Hi, can you help plz?

I am trying to decompile an apk from Play Store, but i've got errors. I don't know what I've done wrong.

Sorry if it is a dumb question :(

20.10.2016: ---------------Begin Log-------------------
20.10.2016: Decompiling: cz.impire.bakalari.student-84.apk
20.10.2016: I: Baksmaling...
20.10.2016: I: Loading resource table...
20.10.2016: Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
20.10.2016:	at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
20.10.2016:	at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
20.10.2016:	at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
20.10.2016:	at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
20.10.2016:	at brut.androlib.Androlib.getResTable(Androlib.java:50)
20.10.2016:	at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
20.10.2016:	at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
20.10.2016:	at brut.apktool.Main.cmdDecode(Main.java:146)
20.10.2016:	at brut.apktool.Main.main(Main.java:77)
20.10.2016: Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
20.10.2016:	at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
20.10.2016:	at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
20.10.2016:	at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
20.10.2016:	at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
20.10.2016:	at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
20.10.2016:	... 8 more
20.10.2016: Failed

Thanks a lot anyways
[Android Software Development] ShinySide:
You need to use an updated apk tool. I don't believe this has been updated in like 2 years.

Also a little tip when decompiling/compiling playstore apks install nexus device frameworks vs tw/sense/etc
[Android Software Development] Gummysquisher:
ImSo newbie at this please help me! ImTrying to convert JAR to APK, but imso confused as to how or what to do after I hit the extract button lol
[Android Software Development] Ricky Divjakovski:
Sorry man, i chucked a little lol, you cant convert a jar file to an APK also this tool is obsolete, barely usable
[Android Software Development] Xanza89:
This is a pretty awesome little utility, please keep it updated. Thanks a lot for this, I'll definitely put it to good use.
[Android Software Development] Keland44:
nice looking forward to checking this out!!!!
[Android Software Development] ireun:
If you could help me..

-------------------------------------------
What would you like to do:1
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Michal\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.decoder.Res9patchStreamDecoder.decode(Res9patchStre
amDecoder.java:37)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:7
3)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
"An Error Occured,Check The Log"
Press any key to continue . . .

Do i need to place any files in framework folder?
[Android Software Development] stalli0nUK:
Hi, when I go to Sign the apk. I get

Starting signing process for apk file com.miniclip.eightballpool-1.apk

then the cmd prompt windows closes, with no further information.

I have in my compiled apk folder

But where is the signed file?

Please help
[Android Software Development] ChinDaChin:
So if I wanted to edit a game, I would use titanium backup to make an apk, then just drop the apk into APK folder, and then it would decompile it?

Sorry if its a stupid question :angel:
[Android Software Development] fOmey:
Great looking tool ! Works fairly well I must say.

Although:

-----------------------------------------------------------------
What would you like to do:3
The system cannot find the batch label specified - apksignnothing

I received the above when attempting to sign, also I notice when recompiling two files are generated.

Both a "unsigned...apk" & "....apk", Is it safe to assume that the APK generated without the leading "unsigned" label is using the default signature ?
[Android Software Development] KeylanHalfdan:
Like the blue more than the green of most of the other tools. Haven't used it yet, but I have tried the xdaAutoTool, and also AutoAPKTool in the past. I will try this one out soon and see how it works. The others have been acting up lately.

Great Job. Thanks.
[Android Software Development] Ricky Divjakovski:
Did you install your devices framework first? Or are you decompiling an app from playstore to edit?
[Android Software Development] Ricky Divjakovski:
Not that simple, sometimes applications are compiled different ways therefore making apktool unable to devompile/compile it!
[Android Software Development] stalli0nUK:
[MENTION=5105831]ricky310711[/MENTION]

What is the procedure to sign compiled apk, which I made with your tool please.

all I see is the unsigned file and which looks to be a copy of the original apk, next together .

Thanks

EDIT: Also I have installed the frameworks
[Android Software Development] Ricky Divjakovski:
Compile, then sign... If theres a bug I will fix and update it tonight! Might also add batch decompiling!
[Android Software Development] ChinDaChin:
Right. But the two lines of code I need to see are in main. I can't open main cause its a .smali. How would I go about opening it?

Sorry for the stupid question again :angel:
[Android Software Development] stalli0nUK:
If you could do an Update with the signed file renamed like the "unsigned" file, that would be good.

eg. signedcom.blahblah.apk

unsigned.blahblah.apk

Thanks [MENTION=5105831]ricky310711[/MENTION]
[Android Software Development] Ricky Divjakovski:
Thats how it should be, after compiling in the folder there should be 2 files, the original file and an unsigned one, after signing there should be original, unsigned and signed :/ will check it out soon!
[Android Software Development] Ricky Divjakovski:
Thats fine, extract the classes.dex and decompile that!
[Android Software Development] stalli0nUK:
I see, for some unknown reason I don't get the signed file :crying:
[Android Software Development] TheArc:
Windows Size Issue
[Android Software Development] Ricky Divjakovski:
In V1 I did set the mode, but users were unable to see errors so I removed it!
[Android Software Development] ireun:
Well, I tries to install framework, but i haven't but any files into the framework folder. And yes, i'm trying to decompile an app from playstore..
[Android Software Development] xdagee:
Interesting enough, Thank you