HI Guys !
I am new to this developer world.I recently joined XDA and i am seeing here that there are many developers modding apps ...like [MOD][APP]WALKMAN APP FOR XPERIA P FROM XPERIA V..
My question is how they make it able to run on other devices?...How i can mod ? answer my question take me as a noob.
plz help me ..
it is only for developer i think,
mod app is not easy for common user,
if you do not know well about development .you will find mod some application is a very difficult thing.
timgreen123 said:
mod app is not easy for common user,
if you do not know well about development .you will find mod some application is a very difficult thing.
Click to expand...
Click to collapse
Don't worry i know java programming....You only tell me method and what i have to download....what procedure.
P.fever said:
Don't worry i know java programming....You only tell me method and what i have to download....what procedure.
Click to expand...
Click to collapse
Well first things first, you need the apps you're going to mod...
Pull them from your ROM.
Decompile
You need apktool for this...
First things first, you need the framework-res.apk in the apktool folder.
Open a command script and install it with: apktool if framework-res.apk
Then decompile your app ( ex: SystemUI.apk ) with: apktool d SystemUI.apk
Make your changes
Change the images, do some XML editing, some smali things....
Recompile
If you want to recompile it to an .apk file use this in the command: apktool b SystemUI
DO NOT ADD APK, cuz you're building the SystemUI folder contents into an .apk
Jeroenvk94 said:
Make your changes
Change the images, do some XML editing, some smali things....
Recompile
If you want to recompile it to an .apk file use this in the command: apktool b SystemUI
DO NOT ADD APK, cuz you're building the SystemUI folder contents into an .apk
Click to expand...
Click to collapse
Is this just an posibility 4 Layout and ui (XML) changes or can i even look & change @ the java Code and underling activities?
Related
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
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
I'm trying to learn more about modding my APKs (to change colors and little things) and I'm wondering if there is a good guide anyone knows of that will walk me through getting started. I've found several specific to a device but not for the reZound and am not sure what is the same and what is not. Any insight will be appreciated.
Go to the Android theming section. There are some good guides there.
Sent from my ADR6425LVW using xda premium
You need apktool and 7zip
Sent from my Dinc... I mean Rezound
Here's my APKtool setup(that works) LINK
The only other thing you'll need is 7-zip.
I have APKtool in my PATH to make life easier.
Start off by adding your current framework:
apktool if framework-res.apk
apktool if SystemUI.apk
apktool if com.htc.resources.apk
Decompile:
apktool d SystemUI.apk
Compile:
apktool b SystemUI (this is a directory not a file name)
or
apktool b SystemUI SystemUI.apk (specifies the apk name to build)
MrSmith317 said:
I have APKtool in my PATH to make life easier.
Start off by adding your current framework:
apktool if framework-res.apk
apktool if SystemUI.apk
apktool if com.htc.resources.apk
Click to expand...
Click to collapse
Do I need to pull those 3 apk's from the phone (in the system folder I think)? And then add the apk I want to edit as well?
pmterp said:
Do I need to pull those 3 apk's from the phone (in the system folder I think)? And then add the apk I want to edit as well?
Click to expand...
Click to collapse
you input which apks you want to decompile for edits which is like creating a format or template.
sent from my ICS flavored HTC Vigorous Vigor. If I helped please use the "thanks" option!
pmterp said:
Do I need to pull those 3 apk's from the phone (in the system folder I think)? And then add the apk I want to edit as well?
Click to expand...
Click to collapse
Yeah, apktool will make copies but you do need to pull them from the phone first
/system/app/SystemUI.apk
/system/framework/framework-res.apk
/system/framework/com.htc.resources.apk
Thanks for the help guys! Just changed my first icon!!!
. Hey all !
Can any one help me how to decompile systemui as well as to make a new systemui.apk .
I googled lot but Im not getting how to decompile UI even I tried to download some tools like apktool but I don't know why that app never starts
Can any one provide me simple and straight method for making a new system UI and provide tools required to make UI
I'm really noob in such things so your help will not only help me but also other noobs like me. .
Thanks
psyduck said:
. Hey all !
Can any one help me how to decompile systemui as well as to make a new systemui.apk .
I googled lot but Im not getting how to decompile UI even I tried to download some tools like apktool but I don't know why that app never starts
Can any one provide me simple and straight method for making a new system UI and provide tools required to make UI
I'm really noob in such things so your help will not only help me but also other noobs like me. .
Thanks
Click to expand...
Click to collapse
It isnt an app that u can just theme with so easily.
U have to open apktool using "CMD" or Command Prompt
If u want to theme easily use ticklefish's Tickle my droid
If u want to theme as u want exactly use apktool.
Also If u just want to edit images (and not xmls)
Just use 7 zip to extract ur apk. Edit pngs in drawable-ldpi and drawable-hdpi using gimp/Paint.net/Photoshop
then put edited files back in the apk
Cheers :cheers:
make sure after the edit put same filename and repack
arun531 said:
make sure after the edit put same filename and repack
Click to expand...
Click to collapse
dont repack ever....
either recompile usin apktool or just replace it from the apk without unpacking
Sent from my SM-T211 using Tapatalk
How can I change the icons in the notification bar stock with those of G3??
AssoDiPicche said:
How can I change the icons in the notification bar stock with those of G3??
Click to expand...
Click to collapse
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Thank you!!
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Thank you very much , I'll try in the evening !
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Please can you guide me how to decompile and recompile LGSystemUI.apk
yashgumaste said:
Please can you guide me how to decompile and recompile LGSystemUI.apk
Click to expand...
Click to collapse
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/
maxx_hr said:
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/
Click to expand...
Click to collapse
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.
yashgumaste said:
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.
Click to expand...
Click to collapse
Didn't you ask: Please can you guide me how to decompile and recompile LGSystemUI.apk.
So, lets start with that... it is (infinitely) simpler than handling with android.policy.jar.
For beginning, please read and install from here:http://forum.xda-developers.com/showthread.php?t=2251719
All of this you need if you want to use VTS.
That is good base for start and understand this process (and works with kitkat).
And for virtuos ten studio, first you MUST read tutorials at this page: http://virtuous-ten-studio.com/, but if you don't understand base of whole process, VTS is useless.
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you
yashgumaste said:
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you
Click to expand...
Click to collapse
I dont know where you take only icons, you must take it by yourself from LGSystemUI, or framework-res from original G3 rom.
Try to extract from here: https://app.box.com/s/m0tvrwabte4x6lyc2la1, if they look like in attached pic.
Or try to search or ask someone on G3 forum.