[Q] How to decompile and compile apk file on Mac os - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

I'm using Apk manager tool but can't decompile system apk file like: lock screen, SemMusic... They allways get error when i try decompile them.
How to fix it? And how to install framework-res.apk by apk manager? Thanks for reply.

Related

[Q] Apk Edit

Hello ,
I want to install this mod -- > http://forum.xda-developers.com/showthread.php?t=1695202
I decompiled SystemUI.apk and changed bools.xml by Notepad. And I returned script.bat and I selected Compile apk. But error. I tried lots of apk manager but error.
On Notepad , need changed Coding / Character Group ??
If I open apk manager and I saw ADB not found. But apk manager is working , I selected decompile apk , Apk manager decompiled systemUI.apk but I can't compile apk. Thank you..
Ok if i remember correctly, you can open the apk with 7zip, modify the files you want to and they should work. I tried this with systemui.apk before and it worked..
NightWatch71 said:
Ok if i remember correctly, you can open the apk with 7zip, modify the files you want to and they should work. I tried this with systemui.apk before and it worked..
Click to expand...
Click to collapse
I can't arrived values files by 7zip. Need Decompile apk by apk manager..
Arnadel said:
Hello ,
I want to install this mod -- > http://forum.xda-developers.com/showthread.php?t=1695202
I decompiled SystemUI.apk and changed bools.xml by Notepad. And I returned script.bat and I selected Compile apk. But error. I tried lots of apk manager but error.
On Notepad , need changed Coding / Character Group ??
If I open apk manager and I saw ADB not found. But apk manager is working , I selected decompile apk , Apk manager decompiled systemUI.apk but I can't compile apk. Thank you..
Click to expand...
Click to collapse
I have had issues in the past using notepad to edit apk files. I suggest that you use notepad++ for editing xml and smali files. It can be easily found with a Google search. Using notepad will probably give you formatting issues.
Sent from my SGH-I777 using xda premium

Replacing png in apk

Hi everyone,
From my understanding, if we want to change the pngs in an apk, we can simply open it with 7zip, then replace the pngs, it's done.
I took EventStreamPluginCallLog.apk from arc s which is updated to ICS.
The apk can be installed in xperia s and it is working fine.
However, when I change the png named icon in res > drawable-hdpi > icon.png
The apk can no longer be installed.
So I go with decompiling and recompiling the apk using apktool, no error shown but I still can't install it
Any idea? Thanks
did you sign it after recompiling?
System apps don't need to be signed. What i did for system apps is:
Decompile app
Replace png
Recompile app
Use TickleMyAndroid -> Prepare files for pushing.
realfelix said:
did you sign it after recompiling?
Click to expand...
Click to collapse
I thought the same even it says no need for system apk, I still do it and get the same problem, can't install
Felimenta97 said:
System apps don't need to be signed. What i did for system apps is:
Decompile app
Replace png
Recompile app
Use TickleMyAndroid -> Prepare files for pushing.
Click to expand...
Click to collapse
I tried everything I know. Apk Multi Tool, simply apktool only, direct replace PNG with 7zip (compression changed to deflate), direct replace with winrar (compression method retained as store), it just doesn't want to install.
I have tried TickyMyAndroid, I am not sure if I done thing correctly but I see no error when recompiling yet can't be installed. My goodness. Time to forget about this stuff

[Q] ApkTool Problem, while trying to decompile apk!!

ok heres my problem, i downloaded apk multi-tool, and everything was working right, but after few days, i tried to modified this app, but whenever i apply the option "decompile" the cmd window close by itself, without saying theres an error... do you guys have any idea about whats going on???
I'm no expert, but this is how I used to decompile APKs:
1) Rename the file "ABC.apk" to "ABC.zip"
2) Open the zip file
3) Copy out the file "classes.dex"
4) Use dex2jar (search Google for some tutorials) to convert it into a jar file
5) Use jd-gui (search Google for some tutorials) to decompile the jar file
the apk tool from Google or apkmulti which one did u use sir ..??
i fixed my problem, one of them was the system variables path "C\\windows\system32" the 2nd was because there was an space in the name of the apk i was trying to decompile.. thank you for taking your time to answer...

Fail editing SystemUI.apk

Hi, i'm trying to edit SystemUI but the file is corrupted or something, when compile i get unsupported method error, and 7zip can't delete files or add files.
What can i do?
Thank you
potaturrias said:
Hi, i'm trying to edit SystemUI but the file is corrupted or something, when compile i get unsupported method error, and 7zip can't delete files or add files.
What can i do?
Thank you
Click to expand...
Click to collapse
Use apktool to decompile and recompile. Using something like 7zip wont decompile to apk properly.
Heres a guide on how to use apktool http://forum.xda-developers.com/showthread.php?t=1891686
chromium96 said:
Use apktool to decompile and recompile. Using something like 7zip wont decompile to apk properly.
Heres a guide on how to use apktool http://forum.xda-developers.com/showthread.php?t=1891686
Click to expand...
Click to collapse
I always use apktool. When apktool fails 7zip fails too, maybe the apk was a bad compression or something.
I'll try with files from stock rom instead modified rom.
Thank you

[Q] Help: Cant descompile correctly with apk manager

I cant decompile properly using apk manager, when trying to decompile a launcher, i only get smalis files, but none xml like androidmanifiest or all drawables files. And then i cant edit anything, its rare because decompile other files like systemui and others i get the the res and smali files. And then i dont understand whats happening?
Im using Apk Manager 4.9
Sorry for my english.

Categories

Resources