building framework-res.apk from source - Android Software/Hacking General [Developers Only]

Hi,
Recently I have modified and replaced phone.apk successfully and now I want to change framework-res.apk because I want to change the lockscreen of my device. But how can I compile framework-res.apk from source?
Many thanks in advice

Related

[HELP] Compiling Launcher2 from source?

I'm trying to learn how to modify certain android components but I'm having trouble compiling from source.
I downloaded Launcher2 from cyanogen git://github.com/cyanogen/android_frameworks_base.git but Eclipse says it can't resolved some classes.
Some of these classes belong to other repositories like android_framework_base core and graphics. Do I need to bring the sources for these too? will these get compiled into -the Launcher making it huge? What is the correct configuration for eclipse to compile individual apps?
Thank you in advance.
i have the same problems with u~
yes, you need the whole android tree.
then do:
make Launcher2
hope that helps.

[Q] How to edit Framework files?

I was wanting to make a complete port of the optimus 2x theme/framework. How would I go about doing this? what are the most basic changes I could make to start this?
I have Ubuntu setup and Android Kitchen JDK/SDK/NDK etc.
Most basic changes would be swapping png files around. After that would be editing xml files. I don't know about you OS, but I use APK Manager to decompile and recompile. And I use EditPad to edit the decompiled xml files.
Next step up would be smali, and after that is beyond me. There are some very talented themers in the G2x area that might help you; KingDavid63, bmann_420, and mmapcpro are the first 3 off the top of my head.
Document by Theming Gurus
Awesome Theming Guide
Awesome! Thanks so much!!

Resize Navbar Nexus 5 - CM11

I've read many guides and trawled a lot of code, since there not will be integrated the scaling function of the navbar in CM11 I wanted to do an outside mod for my Nexus 5.
I should to edit the file framework-res.apk and SystemUI.apk, particularly in the SystemUI.apk I should edit the part about the string: "@drawable/ic_sysbar_back" and "@drawable/ic_sysbar_back_land" and delete "android:scaleType="center" ... in many ROMs including the stock ROM there are no problems, but in the CM11 can not find the following strings. How to solve? There are string equivalents?
How to resize navbar in CM11 for Nexus 5?

[Q] framework-res.apk fom GB/KK for ApkTool

Good day!
We know that framework-res.apk (and others with -res) must be installed first in order for the ApkTool be able to decompile apk.
But is there any differences in installing framework-res.apk from Android 2.3.x in installing framework-res.apk from android 4.x?
I mean, is installing framework-res.apk from Android 4.x to apktool can decompile more apk than installing framework-res.apk from android 2.3.x?
If that so, then should I use (ask for) framework-res.apk from Android 4.x even though I am using 2.3.x device?
I am using Advanced ApkTool, by the way.
But I guess my query is applicable to all apktool versions.
Thank you very much!

Decompile-recompile with Apktool question

Having trouble with SystemUI and framework-res.apk...can't decompile. Are there additional frameworks that need to be installed?

Categories

Resources