[Q] Can someone decompile an ICS APK for me? - Galaxy S II Q&A, Help & Troubleshooting

I want to mod my Phone.apk app (from Italian stock ROM XWLP7) to remove increasing ringtone like described here: http://forum.xda-developers.com/showpost.php?p=22950768&postcount=2
Because Phone.apk is an ICS apk, I can't decompile correctly with ApkTool, I tried many times, with this method too: http://forum.xda-developers.com/showthread.php?t=1511730 but I failed
Can someone decompile/mod/recompile my Phone.apk for me, please?
Here you can find Phone.zip file with Phone.apk and framework-res.apk: http://www.box.com/s/69ab3a5e0c2c69cb07bc, thank you!

Nobody can help me?!?

USe the below link to download apk tool (ics working version)
http://www.mediafire.com/download.php?d5ar526awpaxrls
do install your framework-res.apk and start decompiling , it should work definitely

bala_gamer said:
USe the below link to download apk tool (ics working version)
http://www.mediafire.com/download.php?d5ar526awpaxrls
do install your framework-res.apk and start decompiling , it should work definitely
Click to expand...
Click to collapse
I had already tried auto ApkTool v2.0.0 and did not work.

Related

Decompiling DefaultThemes.apk

Hello,
I want to decompile the DefaultThemes.apk ! However,decompiling with apk manager 4.9 gives an error !
I dont want to just change the images,but add another theme !
What can be done ?
probably the best solution would be enable the cyanogenmod themes manager and install that theme...
nicom.mt said:
probably the best solution would be enable the cyanogenmod themes manager and install that theme...
Click to expand...
Click to collapse
But that isn't possible on stock ROM right ?? What to do for stock ROM ?
dont need to decompile, just change files using 7zip
metalrawk said:
dont need to decompile, just change files using 7zip
Click to expand...
Click to collapse
I want to add a theme,not replace existing !
defaultheme.apk need dependencies for being decompiled which is framework-res.apk and SemcGenericUxpRes.apk
you can find them on /system/framework
I do not use apkmanager so can't tell you the way to do it but with apktool i do this
Code:
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
peexl said:
defaultheme.apk need dependencies for being decompiled which is framework-res.apk and SemcGenericUxpRes.apk
you can find them on /system/framework
I do not use apkmanager so can't tell you the way to do it but with apktool i do this
Code:
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
Click to expand...
Click to collapse
Hello,thanks ! I was able to decompile the apk successfully. However,I added the desired files for new theme,added the ids,and edited the smali files ! I then recompiled it and signed it. However,after pushing it to the phone,it doesn't work,just a blank screen is displayed ! Here is my apk ! What shall I do to make it work ?
Thanks !
Edit : It is working after restarting phone,however new theme doesn't show up in themes menu,only old ones are shown !
i have this eror too...
decompile apkmanager v5.0 send log: cant find framework resourse of parkage of id:2.You must install proper framework file, see project wedsite for more info.??
How can i decompile this defaultthemes.apk?
sr my bad english..!
Solution?
What I do is using Root Explorer.apk I extract the file while on the phone (it automatically unfold it in a new folder called extracted). I copy the original files to a TMP folder in case I delete or make mistake with the original files when copy them over.
I then connect the phone via USB and change the files thats need to be changed and then I unplug the USB cable and again using the Root Explorer.apk I choose to zip it again. An from there I rename the new file to *.apk
Hope it helps
guys please help...i like too much defaultthemes but i did everything and they don't take effect to my phone...mini pro 2.3.7 mcm7 v21 i put them in the system/app change perm but nothing...maybe cause i have a theme from themechooser or something...in the start i didn't replace the default themes.apk there wasn't anything there... any ideas???thanks
nitsakh said:
Hello,thanks ! I was able to decompile the apk successfully. However,I added the desired files for new theme,added the ids,and edited the smali files ! I then recompiled it and signed it. However,after pushing it to the phone,it doesn't work,just a blank screen is displayed ! Here is my apk ! What shall I do to make it work ?
Thanks !
Edit : It is working after restarting phone,however new theme doesn't show up in themes menu,only old ones are shown !
Click to expand...
Click to collapse
how did yu decompile it? please tell me too.. i use apk manager!
Aarush said:
how did yu decompile it? please tell me too.. i use apk manager!
Click to expand...
Click to collapse
Use the following commands with apktool to decompile ::
Code:
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
apktool d DefaultThemes.apk

Need help editing fw-res

Can anyone please direct me to the correct tutorial(or similar) on how to modify framework-res.apk files of 2011 xperias like St15i,st18i, etc.. ????
I have been Here but it is for the earlier xperias. Does it apply to today's xperias also ???
decompile apk using apkmanager , edit files and zip.
install apkmanager first and you will get to know everything, no need for a tutorial.
metalrawk said:
decompile apk using apkmanager , edit files and zip.
install apkmanager first and you will get to know everything, no need for a tutorial.
Click to expand...
Click to collapse
I'm using Apk Multi tool, since Apk manager is no longer supporting.
My problem is that the system ui apk i have is from a custom rom(Hybrom v11) which has control panel in the notification area.
Now when i'm decompiling the system ui.apk i get an error in apk tool, an error too technical in the log for me to understand.
I get an error in Apk Manager 4.9 too probably the same as apk multi tool.
So if error occurs some part of the apk is not decompiled right ?
If it is not decompiled correctly how am i going to edit the xmls and recompile it ??
systemui.apk needa dependencies to be decompiled. check there will be an option of decompiling apk with with dependency. when it asks for dependency file, point it to framework-res.apk
metalrawk said:
systemui.apk needa dependencies to be decompiled. check there will be an option of decompiling apk with with dependency. when it asks for dependency file, point it to framework-res.apk
Click to expand...
Click to collapse
Just now did that. But apk tool says that framw-res is not the dependent apk. So what is the solution ??
decompile it without dependency and post log here.
Strange now i'm not getting any error . I really had that problem today morning. Thanks for Prompt replies prateek
Any way one off topic question . Can you tell me how to mod power menu. I want to add reboot and recovery in power menu for my st15i . Do i have to add images for it ??
its not in systemUI afaik. there is other file I forgot its name.
metalrawk said:
its not in systemUI afaik. there is other file I forgot its name.
Click to expand...
Click to collapse
Currently i'm refering This thread. It says I have to edit fw-res and Android.policy.jar . Is that method applicable to Xperia 2011 devices ??
crazyadmit said:
Currently i'm refering This thread. It says I have to edit fw-res and Android.policy.jar . Is that method applicable to Xperia 2011 devices ??
Click to expand...
Click to collapse
yes it will work

[need help] about resign APK File

hi mastah...
please help me,.
what tool can resign the apk file ?
i've modified and replacing some icons from apk file,but i dont have tool tha can be use to resign this apk.
i just resign this apk using zipsigner2 from market..but the resigned apk just can be installed on my phone not other phone..
would u give me link download tool for resign the apk file ?
or u can resign my attached file for me...
and i wish u all have good idea to modifying some background or the other of part in this apk file,that could be looking good
please..resigning and modifying this apk
thankz a lot before
allysque good.
use this guide
forum.xda-developers.com/showpost.php?p=3175518&postcount=2
DirtyAssClown said:
use this guide
forum.xda-developers.com/showpost.php?p=3175518&postcount=2
Click to expand...
Click to collapse
thankz a lot Dirty..it's very helpfull and work on my apk file

problem with Signing kitkat apk

Hello,I have problem with recompiling any system apk for kitkat firmware,tried to decompile and recompile framework-res as the usual way of any 4.3 firmware and lower,it does decompile and recompile successfully but when I replace it back instead of the original one I got it stuck at sprint screen for NOTE3 SPRINT .also when I try with SecSettings ,the settings icon disappear after replacing the original one,I even tried building the apk without any modification and I got the same thing.
there is must be something with signing kitkat apk different than 4.3 and lower firmware.
I used the same method of signing A System apk of taking META-INF and AndroidManifest.xml and inserting them into the new APK.
apktool version 1.5.3
phone:NOTE3 SPRINT N900P 4.4.2 STOCK FIRMWARE.
THANK YOU
motiam4 said:
Hello,I have problem with recompiling any system apk for kitkat firmware,tried to decompile and recompile framework-res as the usual way of any 4.3 firmware and lower,it does decompile and recompile successfully but when I replace it back instead of the original one I got it stuck at sprint screen for NOTE3 SPRINT .also when I try with SecSettings ,the settings icon disappear after replacing the original one,I even tried building the apk without any modification and I got the same thing.
there is must be something with signing kitkat apk different than 4.3 and lower firmware.
I used the same method of signing A System apk of taking META-INF and AndroidManifest.xml and inserting them into the new APK.
apktool version 1.5.3
phone:NOTE3 SPRINT N900P 4.4.2 STOCK FIRMWARE.
THANK YOU
Click to expand...
Click to collapse
you shoul install framework and systemui of kitkat and then compile and decompile it
Vaibhav Chauhan said:
you shoul install framework and systemui of kitkat and then compile and decompile it
Click to expand...
Click to collapse
thank you for your reply,but I have already tried that,I did install framework-res.apk and twframework-res.apk and SystemUI.apk
but it fails,tried this time with SecContacts_OSup.apk but it does disappear after replacing it too.
any idea?
motiam4 said:
thank you for your reply,but I have already tried that,I did install framework-res.apk and twframework-res.apk and SystemUI.apk
but it fails,tried this time with SecContacts_OSup.apk but it does disappear after replacing it too.
any idea?
Click to expand...
Click to collapse
which tool you are using??
Vaibhav Chauhan said:
which tool you are using??
Click to expand...
Click to collapse
APKTOOL Version 1.5.3
Ok.thank you.I tried to do it on linux and got it working.
thank you.
motiam4 said:
Ok.thank you.I tried to do it on linux and got it working.
thank you.
Click to expand...
Click to collapse
:good:

HELP! How to decomplie (smali), edit and recompile .APK (OREO)

I'm trying to decompile a system .APK file for editing from a stock Oreo rom (for Galaxy S7 G930F, extracted from ROM using Kitchen).
The problem is when I try to decompile the APK, I do not get the Smali-files, but if I deodex the file I can properly see and edit the smali-files.
However, when I try to recompile it I get alot of errors. Even if I don't edit the files just decompile/recompile. (odex'd and deodex'd ones)
I've tried several softwares including ApkTool, Advanced APK Tool, Android MultiTool etc.
How can I do this right? Have I missed something?
Windows 10 x64
JRE & JDK installed
Framework-res.apk installed in software (odex for odex, and deodex for deodex)
Thanks in advance!
try batch apktool also install other special frameworks if there are any ( like mediatek-res.apk or cyanogenmod-res.apk)
Trex2017 said:
try batch apktool also install other special frameworks if there are any ( like mediatek-res.apk or cyanogenmod-res.apk)
Click to expand...
Click to collapse
Thanks, I will try it later tonight! Do you know specifically if/what frameworks needed for Galaxy roms? I've only read about "Framework-res.apk" so that's the one I've been trying with.
mrd0pe said:
Thanks, I will try it later tonight! Do you know specifically if/what frameworks needed for Galaxy roms? I've only read about "Framework-res.apk" so that's the one I've been trying with.
Click to expand...
Click to collapse
open framework folder and check , touchwiz modding topics , tuts can also be a good place to find help

Categories

Resources