[Q]mdpi-v4 - Optimus One, P500, V General

i see some framework-res.apk use mdpi-v4, land-mdpi-v4, en-mdpi-v4, nodpi-v4 in framework-res.apk.
anyone know how to build it?
thx for your answer

agresive said:
i see some framework-res.apk use mdpi-v4, land-mdpi-v4, en-mdpi-v4, nodpi-v4 in framework-res.apk.
anyone know how to build it?
thx for your answer
Click to expand...
Click to collapse
those that you talk about where rebuilded (recomplided) with apktool (or apk manager)...one decompiled it can't be recompiled...when themin you nedd the original framework-res.apk...you theme it and then you recompile

adi4motion said:
those that you talk about where rebuilded (recomplided) with apktool (or apk manager)...one decompiled it can't be recompiled...when themin you nedd the original framework-res.apk...you theme it and then you recompile
Click to expand...
Click to collapse
original framework-res.apk from original ROM? if i use apk manager, how i can do it?

Related

Need Help (APK decompiler and Recompiler)

Does anybody knows what application can decompile and recompile not only framework-res.apk.
can work also fro froyo and ginger builds.
thank you!
iruganisan said:
Does anybody knows what application can decompile and recompile not only framework-res.apk.
can work also fro froyo and ginger builds.
thank you!
Click to expand...
Click to collapse
Apk Manager
thank you i'll try that...

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

recompile apk

can you help me to recompile phone.apk with one change.
garik345 said:
can you help me to recompile phone.apk with one change.
Click to expand...
Click to collapse
Not really re-compiling, but have you tried xposed framework yet?
chicguy said:
Not really re-compiling, but have you tried xposed framework yet?
Click to expand...
Click to collapse
No, xposed framework bad to use with miui based rom.
garik345 said:
No, xposed framework bad to use with miui based rom.
Click to expand...
Click to collapse
So what do you want to do? de-compile Phone.apk, edit some files, then re-compile it? With apktool, right?
artit said:
So what do you want to do? de-compile Phone.apk, edit some files, then re-compile it? With apktool, right?
Click to expand...
Click to collapse
right, but when i want to do re-compile i get error.
i also take error when re-compile without changes.
garik345 said:
right, but when i want to do re-compile i get error.
i also take error when re-compile without changes.
Click to expand...
Click to collapse
Yes, I got that error when I try to pack Setting.apk. It's because MIUI apk use some directory notation that not standard to apktool.
Ex. values-hugeui
I solve this by changing values-hugeui to values-xxhdpi (or maybe values-xhdpi, don't know that hugeui means exactly). If values-xxhdpi exists, you can try to merge all files and config in it.
garik345 said:
right, but when i want to do re-compile i get error.
i also take error when re-compile without changes.
Click to expand...
Click to collapse
May I correct my wrong answer, MIUI use its own apktool & aapt. So to rebuild MIUI apk you should add ~/path/to//miui/tools to your $PATH environment and it should be at the start of $PATH to override other apktool & aapt.

[L7 II][ROM][HELP]How to change icon on Notification bar?

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.

[Q] I can't find strings.xml file in Settings.apk

Hi, I want to translate OmniRom's settings.apk but I can't find strings.apk. I tried decompile with apktool, winrar but not worked.
Kutukcu said:
Hi, I want to translate OmniRom's settings.apk but I can't find strings.apk. I tried decompile with apktool, winrar but not worked.
Click to expand...
Click to collapse
it should be "strings.xml" not "strings.apk" !
Kutukcu said:
Hi, I want to translate OmniRom's settings.apk but I can't find strings.apk. I tried decompile with apktool, winrar but not worked.
Click to expand...
Click to collapse
search for virtuous ten studio. it can decompile that apk for you.

Categories

Resources