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
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?
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 !
OK so i modified the framework-res.apk of a rom i recompiled it without signing. The problem is that i want to replace the old framework-res.apk in the zip file before flashing the rom.
When i do this either with 7 zip or winrar i get stuck in bootloop BUT if i flash only the framework-res.apk with an update.zip after i install the rom it works perfectly .
I searched all over and from what i read this should work... do i need to sign the apk if i replace it in the zip before flashing?
And if i need to sign it how i do that, i just sign it with apkmanager?
I haven't this problem, but try to sign it. They are many tools and apps for Android (also Linux) and Windows.
fd1999 said:
I haven't this problem, but try to sign it. They are many tools and apps for Android (also Linux) and Windows.
Click to expand...
Click to collapse
So you just open the .zip file replace the apk and it works?? Can you sugest some tool for signing? cause i signed it with apk manager and it din't work i got stuck at boot animation only this time it stops completly it doesn't loop...
Also i have the same issue with Settings.apk , this one if i put it in the zip before flashing it doesn't open even if i sign it or not ... what the hell am i doing wrong???
If i flash them individualy with .zip update after i flash the rom, everything works fine . But i want to modify the rom before flashing... to have only one zip ...
gafaysto said:
OK so i modified the framework-res.apk of a rom i recompiled it without signing. The problem is that i want to replace the old framework-res.apk in the zip file before flashing the rom.
When i do this either with 7 zip or winrar i get stuck in bootloop BUT if i flash only the framework-res.apk with an update.zip after i install the rom it works perfectly .
I searched all over and from what i read this should work... do i need to sign the apk if i replace it in the zip before flashing?
And if i need to sign it how i do that, i just sign it with apkmanager?
Click to expand...
Click to collapse
what actually happens is when u decompile apk with apktool and then recompile it, signature gets mismatched so it gets stuck on bootloop. To solve this use apkmanager and decompile it as system app, perform changes and then recompile by following instructions therein
fundoozzz said:
decompile it as system app, perform changes and then recompile by following instructions therein
Click to expand...
Click to collapse
Is that the option to decompile apk <with dependencies> cause i don't find any other option to decompile , or i have to switch decompile mode ???
gafaysto said:
Is that the option to decompile apk <with dependencies> cause i don't find any other option to decompile , or i have to switch decompile mode ???
Click to expand...
Click to collapse
yup decompile with dependencies
fundoozzz said:
yup decompile with dependencies
Click to expand...
Click to collapse
Ok i got it working , the problem was that i skipped a step when building the apk , when it offered to copy any additional files in order to ensure
least number of errors it seems that is an very important step ...
gafaysto said:
Ok i got it working , the problem was that i skipped a step when building the apk , when it offered to copy any additional files in order to ensure
least number of errors it seems that is an very important step ...
Click to expand...
Click to collapse
fundoozzz said:
perform changes and then recompile by following instructions therein
Click to expand...
Click to collapse
Thats what I said
what's the framework-res.apk to use to decompile apks in apktool? i can't decompile even one apk because it says the framework installed is wrong.
also maybe can someone attach the original stock settings.apk for lww?
:thanks:
patz0110 said:
what's the framework-res.apk to use to decompile apks in apktool? i can't decompile even one apk because it says the framework installed is wrong.
also maybe can someone attach the original stock settings.apk for lww?
:thanks:
Click to expand...
Click to collapse
The framework-res.apk you need to install is the one which comes with your rom. You may need to install some other files as well, depending on which files you're trying to decompile.
Best thing to do is go through your system/app and system/framework folders and install everything with the word 'res' in the name. You might install some files you don't need, but this won't cause any harm and it will ensure you've installed all the resources available.
Solved by installing SemcGenericUxpRes.apk
closed
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.