[Q] Need help with apktool mobile - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Hello I want to ask when I tried to decompile via apktool in SGY it shows error . How to fix it? And I tried to import as framework the framework-res.apk, it shows the same error Hellp

since I dont know what the error it is could be 1 of 2 things
1 - apktool is not installed correctly
2 - you are using the wrong framework-res.apk - dont forget most 3rd party apps and some roms system apps are built using jellybean framework
if you get a resources error you are using the wrong framework

marcussmith2626 said:
since I dont know what the error it is could be 1 of 2 things
1 - apktool is not installed correctly
2 - you are using the wrong framework-res.apk - dont forget most 3rd party apps and some roms system apps are built using jellybean framework
if you get a resources error you are using the wrong framework
Click to expand...
Click to collapse
Here the ss

GalKill said:
Here the ss
Click to expand...
Click to collapse
I already answered you on the duplicate thread
make sure you have installed apktool mobile correctly
uninstall all what you have done and follow the guide here with the files on that thread
http://forum.xda-developers.com/showthread.php?t=2488697

marcussmith2626 said:
I already answered you on the duplicate thread
make sure you have installed apk correctly
uninstall all what you have done and follow the guide here with the files on that thread
http://forum.xda-developers.com/showthread.php?t=2488697
Click to expand...
Click to collapse
Sorry that thread that you answered is the wrong one Btw, thank for your answer

GalKill said:
Hello I want to ask when I tried to decompile via apktool in SGY it shows error . How to fix it? And I tried to import as framework the framework-res.apk, it shows the same error Hellp
Click to expand...
Click to collapse
If ur trying to modify system apk, then import the second framework(i.e. twframework-res.apk) too! You should use ics/JB framework as mentioned above to mod 3rd party apps! And, which app are you trying to modify?

Related

Recompiling framework-res.apk

I'm trying to modify framework-res.apk and I am able to decompile it. I modified styles.xml and colors.xml. My problem is that I can't compile it back. I'm getting a lot of errors when I try to. I'm using the latest version of apk multi-tool. I'll post the logs later because I'm on phone right now, but anyone has any idea of what might be causing the problem? Any help is appreciated.
Tapatalked.
Silvane said:
I'm trying to modify framework-res.apk and I am able to decompile it. I modified styles.xml and colors.xml. My problem is that I can't compile it back. I'm getting a lot of errors when I try to. I'm using the latest version of apk multi-tool. I'll post the logs later because I'm on phone right now, but anyone has any idea of what might be causing the problem? Any help is appreciated.
Tapatalked.
Click to expand...
Click to collapse
Even I am trying to compile it but i also get errors.. I edited styles.xml
Sent from my GT-S5360 using XDA
Use yhe lattest apk manager not apk tool is a old one brotha
Hehehe apk manager more powerfull than apktool
Sent from my GT-S5360 using xda premium
umm...I always failed when using stock framework-res.apk. after that I try to copy the same framework-res.apk to c:users/<username>/apktool/framework/ then rename it to 1.apk. I don't know why, but it works.
@evanlocked: I thought both apk manager and apktool are actually same program. the difference is only on its interface. IMO it doesn't matter which one did everyone choose.
kurotsugi said:
umm...I always failed when using stock framework-res.apk. after that I try to copy the same framework-res.apk to c:users/<username>/apktool/framework/ then rename it to 1.apk. I don't know why, but it works.
@evanlocked: I thought both apk manager and apktool are actually same program. the difference is only on its interface. IMO it doesn't matter which one did everyone choose.
Click to expand...
Click to collapse
Yeah but I face some issue using apk tool bro on my laptop but using apk manager its works
Sent from my GT-S5360 using xda premium
Thanks for the replies guys. I was able to compile it successfully with apk manager. Now my problem is that I can't push it via adb. Says no devices found, although when not in recovery it works fine enough. Any ideas or alternative methods to push framework-res?
Tapatalked.
Make a update script and flash it.
I always use to flash it
& it works awesome
Silvane said:
Thanks for the replies guys. I was able to compile it successfully with apk manager. Now my problem is that I can't push it via adb. Says no devices found, although when not in recovery it works fine enough. Any ideas or alternative methods to push framework-res?
Tapatalked.
Click to expand...
Click to collapse
m still stuck with those probs how did ya make it work?
I used apk manager instead of apk tool and it compiled. I've yet to try the apk I modded though. XD
Tapatalked.
Silvane said:
I used apk manager instead of apk tool and it compiled. I've yet to try the apk I modded though. XD
Tapatalked.
Click to expand...
Click to collapse
thanks for the thread and the posts you all made, i have been searching for a thread like this for 2days. going to try apk-manager now and the renaming framework-res.apk to 1.apk.
Im using APK Tool and no prob. at all when de/re-compile .apk
The question is...
Why after recompile the signed/unsigned .apk the size always smaller than the original .apk? Is that normal? Tho even smaller its installable and work
Altermania said:
Im using APK Tool and no prob. at all when de/re-compile .apk
The question is...
Why after recompile the signed/unsigned .apk the size always smaller than the original .apk? Is that normal? Tho even smaller its installable and work
Click to expand...
Click to collapse
Yes its normal the compression rate is max while re-compilin nd u need not be worried about it
Sent from my GT-S5670 using XDA

[Q] HELP from STOCK ROM Users [Modifying TouchWiz30Launcher.apk]

Good day developers, can you help me, Im using STOCK ROM DXMA1 (deodexed). I want to modify my "TouchWiz30Launcher.apk", instead of 4 icon Column dock, I want to make it 5. I follow this guide somehow, http://forum.xda-developers.com/showthread.php?t=1668984 but it didn't help me. It made my "touchwiz30Launcher.apk" 5 docks but when I put the other application(last time it was 4 and now it turns 5, 4+1=5) on DOCK, the application disappear. Then I tried following this guide again, http://forum.xda-developers.com/showthread.php?t=1500230 although it is for Galaxy Ace, I think it is similar somehow with SGY (note: I only did was, PART II number 1 and 2.)Then the problem in my first try modifying the TouchWiz30Launcher.apk is similar with the second one. Guys if you know, can you help me with this problem or guide me or if there are some similar questions/forum post like this that had been answered, kindly post it? Help me please.​
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
deathnotice01 said:
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
Click to expand...
Click to collapse
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
3r41nl33n said:
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
Click to expand...
Click to collapse
grammar's good and understandable,
what happened when installing?
do you have a logcat?
maybe a cert mismatch
did it force close in anyway?
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
3r41nl33n said:
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
Click to expand...
Click to collapse
what the main problem did you facing and how do you solved it?? ??
assphere said:
what the main problem did you facing and how do you solved it?? ??
Click to expand...
Click to collapse
HIHIHI. I just modify Mr. zalzondabuzz 5 docks bottomfrom here, http://forum.xda-developers.com/showthread.php?t=1958201 . I just decompile his/her work and i transfer all the png's because, I dont want the actual TouchWiz30Launcher to be modified, it's just like I want to make it 5 docks. and thats it. xD

Error while recompiling systemui.apk

Hello guys,
I always get error while recompiling my systemui on apktool on my Sgy. Even if i dont edit any thing n recompile, i get the errors.It recompiles w/o errors for other app....what wrong am i doing?
btw i imported framework b4 decompiling
Sent from my GT-S5360 using Tapatalk 2
I'm guessing you're trying to decompile evo systemui.apk
you need to use ics framework-res.apk
No....Stock
Sent from my GT-S5360 using Tapatalk 2
delroydsouza said:
No....Stock
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
You probably need to also load tw-framework-res.apk into Apktool using the if command
Make sure you're also deodex
delroydsouza said:
Hello guys,
I always get error while recompiling my systemui on apktool on my Sgy. Even if i dont edit any thing n recompile, i get the errors.It recompiles w/o errors for other app....what wrong am i doing?
btw i imported framework b4 decompiling
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
U should have done something wrong in the xml files.
Can provide the log? So that i can find out what mistakes u have done.
MuSaddiq1410 said:
U should have done something wrong in the xml files.
Can provide the log? So that i can find out what mistakes u have done.
Click to expand...
Click to collapse
He said it's also when no changes are made at all which leads me to think either the wrong framework-res.apk was used to decompile or tw-framework-res.apk also needs to be loaded into Apktool for successful Decompile & Recompile
marcussmith2626 said:
He said it's also when no changes are made at all which leads me to think either the wrong framework-res.apk was used to decompile or tw-framework-res.apk also needs to be loaded into Apktool for successful Decompile & Recompile
Click to expand...
Click to collapse
Yeah, you're right. Both proper framework-res.apk and twframework-res.apk should be loaded for successful Decompile & Recompile.
MuSaddiq1410 said:
Yeah, you're right. Both proper framework-res.apk and twframework-res.apk should be loaded for successful Decompile & Recompile.
Click to expand...
Click to collapse
I have loaded proper framework-res.apk and twframework-res.apk....
Sent from my GT-S5360 using Tapatalk 2
Helo First U need Import Framework-res.apk then do
Shadman0 If I help U Pls Give Thanks

[Q] create a rom.

hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
saltalabanca said:
hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
Click to expand...
Click to collapse
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
marcussmith2626 said:
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
Click to expand...
Click to collapse
i replace the framework, and the systemUI dont think how to edit all, im very noob
saltalabanca said:
i replace the framework, and the systemUI dont think how to edit all, im very noob
Click to expand...
Click to collapse
again too vague - you cant just say you want to replace the SystemUI - that is an entire apk - Unless you are just going to replace it with a SystemUI.apk from another rom but I would not recommend that as if you are going to release the rom you wouldn't have permission to do so plus the apk may have dependences of other apks and mods that you would also need to include
You need to know exactly what you want to mod
If you want to mod the SystemUI.apk you would need to decompile the apk with apktool and edit what you want - You will find guides to do this if you search google - You will find a guide to decompiling apks in my signature which has all my threads.
If you want to add lidroid toogles for example search for galaxy y xda how to add lidroid toggles in google
Same if you want to edit the framework to add extended power menu search for that
You cant just say I want to replace this and that apk
Also calling yourself a noob is no excuse - You have to learn how to use google and how to use the search feature to find what you want to do and then read everything - Once you have understood the basics and you know what you want to achieve only then if after trying you can post in the respective threads for any support relating to the thread

how to decompile and decompile setting.apk ???

how to decompile and decompile setting.apk
I always fail to do decompline or recompline setting.apk when I did not edit at all also still failed to file. where the problem lies ?? setting.apk the error of his or her apktol ?? but if decompline or recompline SystemUI or fremawork successfully ...
darw andi said:
how to decompile and decompile setting.apk
I always fail to do decompline or recompline setting.apk when I did not edit at all also still failed to file. where the problem lies ?? setting.apk the error of his or her apktol ?? but if decompline or recompline SystemUI or fremawork successfully ...
Click to expand...
Click to collapse
Chances are that you havent loaded the correct framework
If it is a touchwiz rom (based on stock rom) you also need to load tw-framework using the if command
Also some roms are compiled with framework of a higher version than the rom eg compiled with jellybean framework so load that framework-res instead eg from cm10
But the chances are its because you didnt also load the tw framework from the rom
Also please note that questions should be posted in the question and answe section
marcussmith2626 said:
Chances are that you havent loaded the correct framework
If it is a touchwiz rom (based on stock rom) you also need to load tw-framework using the if command
Also some roms are compiled with framework of a higher version than the rom eg compiled with jellybean framework so load that framework-res instead eg from cm10
But the chances are its because you didnt also load the tw framework from the rom
Also please note that questions should be posted in the question and answe section
Click to expand...
Click to collapse
thanks before
My problem has been resolved
I use apk manager via pc
Hey guyzz
Since m not the developer,can anyone decompile apk for me please:what::what:
Thank u
vai8080 said:
Hey guyzz
Since m not the developer,can anyone decompile apk for me please:what::what:
Thank u
Click to expand...
Click to collapse
Which apk ?
Islam2001 said:
Which apk ?
Click to expand...
Click to collapse
It is the setting apk:what::what:
Can u do it for me
vai8080 said:
It is the setting apk:what::what:
Can u do it for me
Click to expand...
Click to collapse
U mran the stock ?
Islam2001 said:
U mran the stock ?
Click to expand...
Click to collapse
It is the zip in which there is settings apk as well as keyguard apk , which I want to modify it
Can u help ..
vai8080 said:
It is the zip in which there is settings apk as well as keyguard apk , which I want to modify it
Can u help ..
Click to expand...
Click to collapse
Learn how to decompile apks yourself
It's easier doing it on a pc but can also be done on a phone if you don't have a pc
My pc guide can be found in the link in my signature
For phone guide Google search apktool mobile (you need armv6 version)
marcussmith2626 said:
Learn how to decompile apks yourself
It's easier doing it on a pc but can also be done on a phone if you don't have a pc
My pc guide can be found in the link in my signature
For phone guide Google search apktool mobile (you need armv6 version)
Click to expand...
Click to collapse
I have tired to decompile apk with pc but I was failed
So can u do it for me:what::what:
vai8080 said:
I have tired to decompile apk with pc but I was failed
So can u do it for me:what::what:
Click to expand...
Click to collapse
No - much better to learn how to do it yourself else how are you going to mod it & recompile it or do anything else in the future
If you can't decompile it you are most likely using the wrong framework-res.apk - use framework-res.apk from cm10
Without screenshot of your cmd window I can't see how you are trying to do it
Full guide in my signature - Just use correct framework-res.apk - note just because it's a Gingerbread rom doesn't mean it was built with Gingerbread framework - so if it doesn't decompile use cm10 framework
marcussmith2626 said:
No - much better to learn how to do it yourself else how are you going to mod it & recompile it or do anything else in the future
If you can't decompile it you are most likely using the wrong framework-res.apk - use framework-res.apk from cm10
Without screenshot of your cmd window I can't see how you are trying to do it
Full guide in my signature - Just use correct framework-res.apk - note just because it's a Gingerbread rom doesn't mean it was built with Gingerbread framework - so if it doesn't decompile use cm10 framework
Click to expand...
Click to collapse
K thanks man

Categories

Resources