Hello, I try this tutorials : http://forum.xda-developers.com/showthread.php?t=2184207
I want add Gravity Box, xposed and titanium in my settings page. But when I recompile, I have some error. The tutorial's writer say mtk device is not compatible but some Roms for a116 has the edited settings...
Who can explain the method please ? :3
I have try this method with JellyXperia v6 and stock rom...
RasmusDesign said:
Hello, I try this tutorials : http://forum.xda-developers.com/showthread.php?t=2184207
I want add Gravity Box, xposed and titanium in my settings page. But when I recompile, I have some error. The tutorial's writer say mtk device is not compatible but some Roms for a116 has the edited settings...
Who can explain the method please ? :3
I have try this method with JellyXperia v6 and stock rom...
Click to expand...
Click to collapse
Use apktool stable one or apk multi tool
Pull your framework files ex:- framework-res.apk and all res.apk
Install them by this command
apktool if framework framework-res.apk or apktool if framework-res.apk
And decompile it
apktool d settings.apk
Edit the settings.xml and check for the xmls including
Just target class and manifest class.
Hope you understand and I helped you
Please press thanks,it acts as a booster
Check guides for adding apps to settings.apk for ics+
I already try this method but doesn't work :/
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
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?
Hello
i have LG 4x hd with 4.1.2 JB stock rom
I've tried many programs to decompile or compile LGSystemUI.apk but did not succeed !!
this is LGSystemUI.apk and framework-res.apk
please help me .. many thanks
Use Root Explorer, by own 4X HD you can compress and decompress zip in and change the extension to apk, do it always with the framework-res.apk and works perfectly
Try APK MULTI TOOL
thread @ http://forum.xda-developers.com/showthread.php?t=1310151
direct Download Zip
https://codeload.github.com/APK-Multi-Tool/APK-Multi-Tool/zip/Stable-RELEASE
Press Thanks Button if I helped You .....
Sent from my GT-S6102 using xda app-developers app
try this apk tool so easy to use it
http://forum.xda-developers.com/showthread.php?t=2326604
KondZilla said:
Use Root Explorer, by own 4X HD you can compress and decompress zip in and change the extension to apk, do it always with the framework-res.apk and works perfectly
Click to expand...
Click to collapse
thanks but this trick not work if i edit xml
please help another trick
aditya.kamble and Arch9
many thanks .. but this tools did not work wuth this apk !!!!
its very strange !!
please help
To edit xml use Notepad + +
HTC-TYTN2 said:
Hello
i have LG 4x hd with 4.1.2 JB stock rom
I've tried many programs to decompile or compile LGSystemUI.apk but did not succeed !! [/URL]
please help me .. many thanks
Click to expand...
Click to collapse
apktool if framework-res.apk
apktool if lge-res.apk
glfsd said:
apktool if framework-res.apk
apktool if lge-res.apk
Click to expand...
Click to collapse
sorry i know it's an old post but ^^ on LG G3 Lollipop this method is not working ^^
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