Okay im simply trying to edit an apk/theme so i can change it to my personal liking . Ive use apktool and successfully decompile the apk . However i was told since its not a system app i must use apkmanager to re-sign the apk . But , apkmanager cant even successfully decompile the apk for me -.- attached is the log that apkmanager generates . i would love if this worked thanks for all the help !
Related
Hey guys I have an evo 4g I am trying to apply steelH's Mms compression fix and I'm wondering what I'm doing wrong. I extracted the MMS.apk file along with the framework-res.apk file into the apktool directory to install the framework with the apktool if framework-res.apk command and it said that it was installed then I tried to decompile with apktool d Mms.apk and it just gave me a bunch of errors and at the end it said that it needed the proper framework files but the folder with all the decompiled files were still there. So I went ahead and found the imagemodel.smali file and made the necessary changes and tried to recompile it but it gives me a bunch of errors that you can see in this screenshot. Any idea what I should do to fix this so I can recompile and put the MMS.apk file back into my phone with the fix?
Usually when you get the weird characters it means the apk did not decompile properly, make sure when you decompile the SystemUI.apk you also put framework-res .apk In your apktool folder. Then in cmd type
apktool if framework-res.apk
apktool d SystemUI.apk
Well if you take a look at the screenshot my framework-res.apk is in the folder with the apktool and the Mms.apk which I wanted to decompile and those are the commands I used except I didnt need to decompile systemUI but rather Mms.apk. So I'm wondering what I'm doing wrong since I've done exactly what you suggested in the first place. the 1.apk is from the first command as it installed correctly according to cmd.
Have you type those word in cmd? You need to type in those code while decompiling ssystem app
Accidentally sent from my Google Nexus S using XDA Premium
yes i typed in cmd: apktool if framework-res.apk but not apktool d systemui.apk I don't want to decompile that file. I'm confused about why you're telling me to decompile that file. can you please give me an explanation as to why I need to decompile that file to decompile mms.apk?
EDIT: Nevermind, I figured out what the problem was. I also needed to bring out and install the resources from the rom for the decompile to work.
SprintTouchPro2 said:
yes i typed in cmd: apktool if framework-res.apk but not apktool d systemui.apk I don't want to decompile that file. I'm confused about why you're telling me to decompile that file. can you please give me an explanation as to why I need to decompile that file to decompile mms.apk?
EDIT: Nevermind, I figured out what the problem was. I also needed to bring out and install the resources from the rom for the decompile to work.
Click to expand...
Click to collapse
Can you post more info on this?
OK so i want to decompile and compile settings apk, i tried apkmanager and different versions of apktool but for me all give out errors. The problem is that even if
i don't modify the settings.apk it still can't compile it... Sometimes it will decompile sometimes it won't but no matter what i can't compile it
I also searched for 5-6 hours on this but i couldn't get apkmanager to compile .... all it dit was to change the error type...
Any way i put the log file maybe someone can give me some tips to get the apkmanager to work....
And what alternatives are for compiling settings apk ? (cause other apk files work with apktool) Are there some safe, sure-fire programs that can do the job?
use option no. 10 and put framework-res.apk to Apk manager script by dragging
I have use apktool to decompile an apk and made some customizations on it, there after recompiled it back using the same apktool. But for recompiling SystemUI.apk and framework-res.apk files were needed, anyway i downloaded it from some sites and now the recompiling has done successfully. So i need to know what exactly are these apk's and where to get these apk? I had googled it several times but did't got a right answer, all i understand is that both that apk's are part of rom.
Hi everyone, I have a little problem here on decompile apk (UxpNxtLockScreen.apk), I had attached those screenshot while i decompile and recompile the apk. Does anyone know what is the problem I'm having? It wasn't behave like this back to few times ago i decompile the same file.....
JRE: version 7 update 17
Apktool: Framework Toolkit by Themike10452
Delete the apktool folder itself and also in C:users/xxx/apktool <--- delete that too !
Now reboot ur PC and redo the apktool again ! It should work !
I also face that problem
Saingpor said:
Delete the apktool folder itself and also in C:users/xxx/apktool <--- delete that too !
Now reboot ur PC and redo the apktool again ! It should work !
I also face that problem
Click to expand...
Click to collapse
Problem still remain, even though i re-installed the JDK and JRE. i still get the same result..... delete the whole apktool folder and re-download from web again. anything else that i can try, i already did. Anyone else have a working version of apktool mind to upload to me?
http://blownco.com/index.php/doc_download/170-apk-manager-ics-zip
Try this one I've never had a problem. Make sure to install your framework-res in the apkmanager folder. You'll have to rename it to 1.apk
I have downloaded APKTool and can decompile an .apk. All I see after decompiling the apk is a folder called samli. Now I have used 7zip to unzip the same apk, and now I see all the files. META-INF, system, boot.img, file_contexts. When I go into the system file I see all the other files/apk etc... Now the problem. the res\xml files are not readable with notepad++. How do I decompile or unzip to readable files??
I just saw a new program in developing section, they said that is 100 times better than apktool, it's without cmd if i understood correctly, i didn't try it yet.
U can give a shot with it.
http://forum.xda-developers.com/showthread.php?t=2493107
Sent from my WT19i It's show time
FireDoger said:
I just saw a new program in developing section, they said that is 100 times better than apktool, it's without cmd if i understood correctly, i didn't try it yet.
U can give a shot with it.
http://forum.xda-developers.com/showthread.php?t=2493107
Sent from my WT19i It's show time
Click to expand...
Click to collapse
I'm having all kinds of problems. I can unzip and make changes to my apk's using 7zip. One big problem is I can not get anything recompiled. I have downloaded 3 or 4 different apk tools. and none of them will recompile to a apk. If I 7zip them back and change the ending to .apk it's not a working apk. Please will someone that has worked with 4.4.x custom roms please help me. I'm having no luck. I would like to now the tools and how to's to get this done.