[Q] how can I compress an apk - General Questions and Answers

Hi everyone
I just want to know how can I compress an apk, I got cm7 with theme chooser and I have modified some png of a theme, replaced them and now I want to compress back all the extracted files in order to rebuild the apk.

Search for something called "Apktool".
You can create the .apk file with something like winrar, but i think there will be a problem with the signature.

Related

Help with compiling apk for framework-res

I have been trying to modify the framework-res.apk to create a custom theme, but every time I would end up in a bootloop, so I did some digging and what I have found is that the file size of the original framework-res.apk is 9.32mb. Once I rebuild it whether I modified anything or not the rebuilt .apk is only 7.34mb. Upon further inspection it seems to leave out all of the "value" named folders from the newly built .apk, and it does this whether I use APKTool or APK Manager(even though I say keep files). Has anyone else had this problem?? Anyone have a solution??

.zip to .apk on mac??

does anyone here know how to convert a .zip to a .apk the correct way? im trying to edit my notification pulldown bar and make it semi transparent, but when i take my systemui.zip file and try to rename it to .apk via root explorer and then replace the original systemui.apk with the modded one, it does not work, leading me to believe that im not converting my .zip to .apk correctly...how do i do this??
You need to sign an apk for it to work. I have tried many of the auto sign apps but can never get them to work for me.
Just rename it to systemui.apk an apk is basically a zip file but you have to name it that.

[Q] Issue decompiling apk with apk manager

I have apk manager 5.02 which I can de-compile framework and recompile with out any issues.
I downloaded the stock 2.08 sense 3.5 rom and used explore2fs to extract the contents of the system.img file. From there I then put htcdialer.apk file into apk manager to decompile it and I get the following errors:
See attached log file as it is too big to put into the forum.
Any ideas why the apk file is not decompiling?
I dont hink that apkmanager can correctly decompile sense 3.5 apks, I could be wrong but i could never get them to work properly
If APK Manager and Tool cant extract even GB ROM apks is there a way of extracting and editing xml files? I tried 7zip and I can edit images but XML's do not extract correctly
Really interested to see how to edit XML files if APK Manager and APK Tool cant decode the APK's.
Found out what I was doing wrong!! When decompiling the apk file I wasn't adding the dependancy. So for example when I was decompiling the systemui.apk, I was simply using option 9 to decompile which is not right!
What you need to do is copy the systemui.apk file in to place-apk-here-for-modding
Then find the dependency framework so for example the systemui.apk depends on com.htc.recources.apk. So pull this from your phone on to the desktop and then use option 10 to decompile. It will then prompt you for the dependancy apk file. Drag that on to the command window and press enter and it decompiles! It is easy when you know how
Also when you recompile you will probably get errors...You need to take the newly created classes.dex and drop it into the original apk then push to your phone
Where can I find the dependency file??
I got the same problem when I try to Decompile any system app, like "SystemUI.apk" or "Settings.apk" ...etc
Now I understand from you that I need a dependency file, Where can I get it??
I use Samsung Galaxy SL (I9003), Rooted and Deodxed
i use samsung galaxy mini. can i use apkmanager to decompile any apk for my device......by pressing 9 directly.....? i want to decompile settings.apk....thnx in advance......

[Q] How to make flashable zip to replace a file inside an apk?

Just want to know this. Because it is really annoying to decompress and recompress apk file again and again just to edit one file inside the apk.
Thanks

[Q] [help] Can't decompile APK

So, I'm trying to grab some images from an APK, and I renamed it to a .zip file and accessed its contents. In the 'assets' folder there is only the splash screen and a file named "game.droid", 2.5 mb. Seems like it was made with "YoYoGames Studio" or something. Is there any way to get the images? This is an abandoned APK that was taken down the app store and the dev seems to have abandoned it.
Hey guyzz
Can anyone decompile apk for me because I'm not a developer , so I don't know how to decompile
Can anyone help me ???:what::what:

Categories

Resources