framwork-res - General Topics

hello
i want change style of my rom i have cyanogenmod but i like ics style how can change from cyanogen to ics but keep all settings from cyanogen
so do i must replace framework-res.apk and framework.java from other rom or i must replace systemui.apk or have any software or app to change style i dont like goluncher and other apps for change apperance
what i must do for change
i try with this tutorial
1.download 2 roms
2.exctract all
3.replace framework-res and framework java from one to other
4.sign rom
5.install
but dont work for me:crying:

Related

[REQ]EDT Tweak For stock XXKPH rom

EDT Tweak for stock xxkph rom is it possible to grab files from any custom rom using EDT Tweak and replace it in stock xxkph rom
if yes which files to replace
tarunagg said:
EDT Tweak for stock xxkph rom is it possible to grab files from any custom rom using EDT Tweak and replace it in stock xxkph rom
if yes which files to replace
Click to expand...
Click to collapse
i want it too ! but it has the systemui.apk and notification bar (4got the apk name) has to b edited to suit the tweaks app only then it works !
EDT Tweak only work on a modified SystemUI.apk... If u decompile the SystemUI.apk inside /res/layout/ there is the status_bar.xml that where the mod is done.. and of course you need the EDT tweak app.. If I have good signal I will upload a modified SystemUI.apk so everyone could play inside the for thememing specially for tarunagg.. cause you create good themes..
Now Iam trying to merge the 6toogle screen and EDT but no luck yet cause its has both edit on the status_bar.xml
I tryed this and works good for me on stock XXKPH
@Skin
Nice share bro I would try this..

what is framework-res.apk

hello,
i am starting to make themes but can anyone tell what is actually framework-res.apk and work of it is it neccesary to change it
??
thanks
framework = framework
res = resource
forum search is your friend.
An apk is just a container, compressed. You can change the apk to zip, and open the file. The framework-res.apk file contains many of the icon files needed for themes. Depending on the android version, and skin version there are more files you need to alter to complete a theme. For example on a gingerbread TouchWiz device you also need to change icons in twframework-res.apk and systemui.apk to finish the theme.
Sent from my Galaxy S II (i777)

[Q] Theming galaxy y

Hey guys i want to ask if anybody of you can theme my phone so it look like jellybean in the status bar. Also i want to add lidroid toogle
How it is ? Without recompiling and decompiling because im not admin at my pc thank you :highfive: :fingers-crossed:
Mranggapo said:
Hey guys i want to ask if anybody of you can theme my phone so it look like jellybean in the status bar. Also i want to add lidroid toogle
How it is ? Without recompiling and decompiling because im not admin at my pc thank you :highfive: :fingers-crossed:
Click to expand...
Click to collapse
For the status bar to look like Jellybean, all you need to do is extract your SystemUI.apk and open it with 7zip and change the icons found in drawable folder with that of any Jellybean based SystemUI.apk. Note that you may need to resize the images into LDPI based resolution, not a big deal though.
For adding toggles, there is no way other than decompiling and recompiling.
coolsandie said:
For the status bar to look like Jellybean, all you need to do is extract your SystemUI.apk and open it with 7zip and change the icons found in drawable folder with that of any Jellybean based SystemUI.apk. Note that you may need to resize the images into LDPI based resolution, not a big deal though.
For adding toggles, there is no way other than decompiling and recompiling.
Click to expand...
Click to collapse
Can i just install lidroid parts or lidroid res apk ?
Mranggapo said:
Can i just install lidroid parts or lidroid res apk ?
Click to expand...
Click to collapse
You might wanna ask in Galaxy Y forum whether its supported by the device.
Galaxy Y Q&A Help/Troubleshooting
U can download framework-res.apk base JB or from cusrom like JB
decompile/extract fw.apk via root explorer.apk (u can download it on PS) and u get link "go to extracted file"
build folder fw.apk (extracted folder) and u can mod .png (NOT mod 9.png for Noobs)
if u finnished mod
u can re-build apk with marks all in folder framework-res.apk/
there are META-INF , Andromanifest, etc
click "zip" >> rename framework-res.apk
- go to zipped file >> u can see framework-res.apk.zip (custom apk, ur mod apk)
- rename to framework-res.apk <<
- pull it to system/framework
** lidroid-res u can do same it

[GUIDE] Build Your Own KitKat Theme For Any Device

Kitkat Theme By You for YOU !!!!​
First this is very much Compatible With NOOB's
This Thread Is Build On The basis of my understanding of Android Devices since I Joined XDA
What does this KITKAT THEME Consists
New KITKAT UI
Status bar EDITS
New clock
New Kit Kat dialer
Transparent Status bar
New Boot Animation of CM 11
New KITKAT UI sounds (Camera click, touch buttons sound …etc.)
New Kit Kat Launcher ( HOLO -For GB, ICS+ DEVICES - KITKAT Lacuncher of nexus 5)
New white battery and signal icons
… And much more taste it for yourself
What do you Required ???
A Fresh Working Mind
Android-Version- Anything Above Gingerbread (2.3+)
Basics (I Will give you simple guides to follow )
All few Files from your Rom which You Want to Edit
Patience
and finally Hope of Getting this Done Successfully
So Here Are Some Basics you need to Know !
Where Do I get the files of my Device to Modify
Just Go to Root of your Device (Represented by " / ") you will find many folders
Folders Which are important to us
Root/System
In System you might See few more Folders they will be like
(These which are important for us )
App
framework
lib
media
and other file called buildprop.txt in this folder
Click to expand...
Click to collapse
What are all these folders ?
APP - This is the place where all the system apps exist
FRAMEWORK - This a very a very Important Folder it consists of important files like framework-res.apk , framework.jar....Etc and defines the whole UI of your system.
LIB - Not much use for theming but useful for Installing few apps as system apps, We will Get to this later.
Media - This consists of all the stuff like Sound you here when you while using your phone like Default Ringtone,Sound when you click your buttons etc and The Animation when you start your Device
Build Prop - This Consists of important properties of your system like the android version, build number ROM You are running on etc....... Be Very Careful While Playing around with this
Click to expand...
Click to collapse
Few Things Which You need to Know about your Device
What is the Resolution OF your Device
What Android Version Is it running on ?
Is It a HDPI Device or MDPI or IDPI or XDPI or XXDPI Device or .......
Here are Some Links that might help you
1) list-of-android-devices-with-pixel-density
2) tablet-smartphone-resolutions-screen-size-list
3) list-of-pixel-density-device
Click to expand...
Click to collapse
HERE are some that Tools and stuff that might Help you
[Advice/Reference/Guide] The Definitive APK Modding & Theming Thread... {09/03/14}]
Click to expand...
Click to collapse
Here are some IMPORTANT TOOLS WHILE WORKING
Root Explorer (or any other with root access)
GIMP EDITOR FOR PC
Image Editor by BYTE Experts (Image editing In Android )
Winzip For PC
Any Tool Which can Recomplie and Decomiple APK's (Eg - APK MULTI TOOL) or Virtuous Ten
Notepad++
Blank CMW or Aroma
YOUR WORKING BRAIN
Click to expand...
Click to collapse
So Guys What are the files which we want From your Device ??
From APP Folder ( Root/System/App )
Settings.apk
SystemUI.apk
From FRAMEWORK Folder ( Root/System/framework )
framework-res.apk
framework.jar
Click to expand...
Click to collapse
Next Guys is very Important you need to select a rom (Preferable CM-11) of a different Device with same Screen Resolution and Download it
Here are links for checking the resolutions and devices
1) list-of-android-devices-with-pixel-density-buckets/
2)tablet-smartphone-resolutions-screen-size-list/
3)list-pixel-density-devices
Click to expand...
Click to collapse
Now Lets Start the Real Work
Extract the following Things From the other Rom
System/Media (Whole folder)
System/framework/framework-res.apk
System/app/Priv/SystemUI.apk
System/app/Settings.apk
Click to expand...
Click to collapse
FOR USERS EDITING IN MOBILE (Root Explorer)..........PC users go down
Now rename the follwing files (Both from your device and the other rom) [dont mix them up. place them in different folder] as
Code:
framework-res.apk
as
Code:
framework-res.zip
Code:
Settings.apk
as
Code:
Settings.zip
Code:
SystemUI.apk
as
Code:
SystemUI.zip
FOR PC USERS
JUST Select the apk and right click and select winzip or any other tool and press extract
From now on use have to use your brain, gut feel, your choices and stuff.
SO Extract the zips
Got to Res folders of each apk
For Example if you are working on Settings go to
Res folder in both your rom and the cm11
in your rom go to the the file which is related to your screen resolution
Eg.
For HDPI -(drawable-hdpi)
and same with cm11 and then start comparing the pictures the both folders and there might be nice pics in (drawble-XXHDPI) folder and that doesnt mean you can take all the pics from drawable-XXHDPI after choosing your stuff replace your images and rename if necessary ( if the images look exactly the same and with different name and rename to the name of picture in your name and replace the pic ) just go into the main folder of the file of your app which you extracted and zip of your rom
For Eg. Its Setting app
after you have edited the pics
Some Other Tips
There are few pictures in blue try to edit theme with gimp or Image Editor By Byte Experts
For chaning Default Wallpaper
Go to framework-res.apk
in that go to res
then drawable
and choose the Image you want and replace the image with same name
9 pngs can be replaced in the same way, but if you want to edit them follow this video- How to easily edit .9.png files
go back to res and then back again you will find all the folders like
assets
META-INF
res
resources.arsc
AndroidManifiest.xml
Select all the files present and zip them then Rename the zip again to " Setting.apk "
now you need to push the file back to your device
Just follow this Thread - How Install a App as System APP
For Setting and SystemUI and for framework
you need to paste them in ROOT/System/framework
Click to expand...
Click to collapse
Do the Same thing With Settings.apk and system UI
FOR KITKAT BATTERY ICONS (you need to replace your old battery icons with these With same name as that of your battery icons in framework-res.apk )- [THEME] 1% battery and statusbar VR Themes(and KitKat)
For layout changes and stuff work it you self it to complex so..... but anyways here is a Guide which you may like
[GUIDE][GB] Status bar and notification panel color changer | owner pic mod
Now i will start Dividing the Thread into Gingerbread And For ICS+ and Kitkat DEVICES
Click to expand...
Click to collapse
FOR GINGERBREAD USERS (ANDROID - 2.3+ )
[GUIDE] [MOD] Add KitKat Easter Egg in your ROM [GB]
HOW TO USE A Blank flashable zip - [Guide]How to make a flashable zip
Extract
Start placing the files which i tell you in System/App (of blank flashable zip )
You need to the some how get the apk's of these app
The list go's as follows
ICS Camera
ExDailer
Kitkat theme for Ex dailer
Xposed for Gb
Holo Launcher
Tinted status bar for gb
JELLY bean clock
Setting app and the SystemUI app which you modified earlier
Kitkat Easter egg for GB File which he gave in the thread
I will give the Apk's Look at the end of the thread
For Change in Android Number and name as what ever you want do this(Be very carefull) -
Go to to Build prop file in Rot/System/
Open the file with notepad or text editor and do the following things
Maybe somewhere around line 2 you will find
Code:
ro.build.id=GINGERBREAD
change it to
Code:
ro.build.id=KITKAT
and somewhere aroung line 15 you will find
Code:
ro.build.version.release=2.3.6
or similar code
change it to
Code:
ro.build.version.release=4.4.2
save the file and reboot to test it then place the build prop in system/ of your
flashable zip
now place all these apks in the flashable zip
IN
system/app
if there is no app folder make one and place them
Now similarly place only the frameworrk-res.apk, framework.jar files in
system/framework
Now take the Media folder which you extracted Before From CM 11 and place the folder in
system folder and go back and zip the file and its done
Now place it in your SD-Card and flash it With Custom Recovery -Eg. TWRP or......
I will give you part-2 of this Theme at end just flash that after flashing your theme
Happy Kitkat Theming
Click to expand...
Click to collapse
FOR ICS+ USERS (ANDROID - 4.0.3+ )
[GUIDE] [MOD] Add KitKat Easter Egg in your ROM [GB]
HOW TO USE A Blank flashable zip - [Guide]How to make a flashable zip
Extract
Start placing the files which i tell you in System/App (of blank flashable zip )
You need to the some how get the apk's of these app
The list go's as follows
Google for Kikat dailer for ics or here is the link [APP ICS 4.1+][2014-03-20]KitKat Dialer
Xposed Module
Google Now Launcher
Tinted status bar
Setting app and the SystemUI app which you modified earlier
Kitkat Easter egg for GB File which he gave in the thread
I will give the Apk's Look at the end of the thread
For Change in Android Number and name as what ever you want do this(Be very carefull) -
Go to to Build prop file in Rot/System/
Open the file with notepad or text editor and do the following things
Maybe somewhere around line 2 you will find
Code:
ro.build.id=ICS
change it to
Code:
ro.build.id=KITKAT
and somewhere aroung line 15 you will find
Code:
ro.build.version.release=4.03
or similar code
change it to
Code:
ro.build.version.release=4.4.2
save the file and rebbot to test it then place the build prop in system/ of your
flashable zip
now place all these apks in the flashable zip
IN
system/app
if there is no app folder make one and place them
Now similarly place only the frameworrk-res.apk, framework.jar files in
system/framework
Now take the Media folder which you extracted Before From CM 11 and place the folder in
system folder and go back and zip the file and its done
Now place it in your SD-Card and flash it With Custom Recovery -Eg. TWRP or......
Happy Kitkat Theming
MISC STUFF
[MOD][XPOSED][4.0+]Android Apps Theme Engine-Theme Your Android Apps Without Any Third Party App Or Extra Xposed Module
Can take some more resources here - [ROM] [4.2.1] KitKat UI [Beta2 Release][8TH NOV]
Click to expand...
Click to collapse
FOR KITKAT USERS (ANDROID - 4.4+ )
Just follow this Awesome Guide -[09 Mar.] [HOW-TO] Complete Your KitKat look (Holo light - White UI) 33b5e5 genocide
Click to expand...
Click to collapse
Here Is An Example For You (Anyways its HDPI) - KitKat theme for Micromax A87
Click to expand...
Click to collapse
Please Help Me Improve This Guide.
This is Just the beginning
If you think this post is useful and should be featured on XDA NEWS Or XDA Portal hit this -
Click to expand...
Click to collapse
Credit
All the Guys Whose Threads are mentioned
And all the Apps
:angel:
Click to expand...
Click to collapse
Great guide. Just one point/tip if I may, I see it a lot that People suggest to rename an apk to zip, well in order to open a zip you obviously need to have a program capable of doing so, so just set apks to open with your preferred zip program which will cut out the unnecessary step of having to rename each apk you want to mod.
XperienceD said:
Great guide. Just one point/tip if I may, I see it a lot that People suggest to rename an apk to zip, well in order to open a zip you obviously need to have a program capable of doing so, so just set apks to open with your preferred zip program which will cut out the unnecessary step of having to rename each apk you want to mod.
Click to expand...
Click to collapse
Yes thanks you very much but i will mention that do that with a pc but need to follow same procedure.while working in your mobile ( Root Explorer) or es they don't give direct option to extract
kaushikb.1996 said:
Yes thanks you very much but i will mention that do that with a pc but need to follow same procedure.while working in your mobile ( Root Explorer) or es they don't give direct option to extract
Click to expand...
Click to collapse
hello...! the guide is quit amazing! :laugh: but i cant find any device's rom same as my phone's resolution... my devce is lg optimus hub and resolution is 320x480, mdpi ... can you help me find that? thank you...
Malyaj said:
hello...! the guide is quit amazing! :laugh: but i cant find any device's rom same as my phone's resolution... my devce is lg optimus hub and resolution is 320x480, mdpi ... can you help me find that? thank you...
Click to expand...
Click to collapse
Thank you very much HTC Explorer will do the work for you
kaushikb.1996 said:
Thank you very much HTC Explorer will do the work for you
Click to expand...
Click to collapse
Thanks for the guide bro its awesome! :laugh: and thanxs for device recommendation too!
actually i was also thinking about make same like your thread if u want any help you can look into my rom
http://forum.xda-developers.com/showthread.php?t=2781700
sssomnath474 said:
actually i was also thinking about make same like your thread if u want any help you can look into my rom
http://forum.xda-developers.com/showthread.php?t=2781700
Click to expand...
Click to collapse
Yeah....
Sent from my GT-S5360 using XDA Free mobile app
lol,nearly the half apps are ics,jb styled,how shall it looks like kk?launcher not kk,clock not kk,blablabla
-CALIBAN666- said:
lol,nearly the half apps are ics,jb styled,how shall it looks like kk?launcher not kk,clock not kk,blablabla
Click to expand...
Click to collapse
Hey have a look at my first post and for clock you can modify jbclock+ to make it look like kk and best launcher according to me is holo kk launcher and if your running ICS+ there are many apps that looks exactly like kk launcher which version of android are you running on?? And I really think if you change many of the images in the talks it will drastically change things please have patience to read the first post
And yeah it looks like I din't work too much for this thread
Sent from my GT-S5360 using XDA Free mobile app
kaushikb.1996 said:
I don't get you exactly, I already build a Kitkat theme for my device before creating this thread
Sent from my GT-S5360 using XDA Free mobile app
Click to expand...
Click to collapse
actually me also thought to make a thread like how to theme like kitkat but u already did
sssomnath474 said:
actually me also thought to make a thread like how to theme like kitkat but u already did
Click to expand...
Click to collapse
Anything you want to add to this thread?? Or any suggestions??
Sent from my GT-S5360 using XDA Free mobile app
kaushikb.1996 said:
Anything you want to add to this thread?? Or any suggestions??
Sent from my GT-S5360 using XDA Free mobile app
Click to expand...
Click to collapse
yes just put a headline systemui.apk
and make a guide how to make it look like kitkat i can help you to gather all the guide for GB
similarly for framework
and one more thing you must add some screenshot that is necessary
thus people can find all guide from one thread as well some ideas from you too
Thank You
sssomnath474 said:
yes just put a headline systemui.apk
and make a guide how to make it look like kitkat i can help you to gather all the guide for GB
similarly for framework
and one more thing you must add some screenshot that is necessary
thus people can find all guide from one thread as well some ideas from you too
Click to expand...
Click to collapse
i think its better if you a create separate thread for framework and systemui then i will add the link as i am not aware of the word limit of the post in xda .... and if would could help withe the screenshots it would be good an surely i will help you with that thread thank you
Awesome !!!
Works perfectly with my Micromax A96 !!!!!
Thanks developer !!!
:good::good::good::good::good::good::good::good::good:
sriss said:
Works perfectly with my Micromax A96 !!!!!
Thanks developer !!!
:good::good::good::good::good::good::good::good::good:
Click to expand...
Click to collapse
Thats why I told it works with any rom in the world
And don't forget to hit thanks if helped
kaushikb.1996 said:
Thats why I told it works with any rom in the world
And don't forget to hit thanks if helped
Click to expand...
Click to collapse
@kaushikb.1996, I saw your thread of Micromax A87, in that you've themed the dialer too, right? If I attach my Phone.apk and Contacts.apk? Can you do it for me? As far I've read the OP, there's nothing bout' that. Maybe you can help?
Thank You.
Geek-DROID said:
@kaushikb.1996, I saw your thread of Micromax A87, in that you've themed the dialer too, right? If I attach my Phone.apk and Contacts.apk? Can you do it for me? As far I've read the OP, there's nothing bout' that. Maybe you can help?
Thank You.
Click to expand...
Click to collapse
No I actually din't theme it, I used exdailer and dark theme its a light and good looking too
Great thread. Helped me a lot since I'm working on a Android L themed ROM for the galaxy express using Pacrom as base. I've managed to get the settings.apk theme changed like the header and color and stuff. Trying to change the icon colors in settings and theme the dialer and framework res. Whenever I theme the dialer and framework res it the dialer doesn't show up after replacing via system/priv-app permissions -rw-r-r-. And the framework res cause a boot loop. All I did was change some pngs and .9 images and edited the XML's dimensions and styles XML to match up then made any necessary changes to the drawables due to kitkats new theming process. Shoot me a PM thanks In advance.
Androtopia12 said:
Great thread. Helped me a lot since I'm working on a Android L themed ROM for the galaxy express using Pacrom as base. I've managed to get the settings.apk theme changed like the header and color and stuff. Trying to change the icon colors in settings and theme the dialer and framework res. Whenever I theme the dialer and framework res it the dialer doesn't show up after replacing via system/priv-app permissions -rw-r-r-. And the framework res cause a boot loop. All I did was change some pngs and .9 images and edited the XML's dimensions and styles XML to match up then made any necessary changes to the drawables due to kitkats new theming process. Shoot me a PM thanks In advance.
Click to expand...
Click to collapse
Well it lots like you have normally edited .9.pngs like any other picture so there is a force close as framework runs throughout the system there is probably a boot loop for now take the apks from youe rom and flash them from recovery and after that while editing .9.pngs you first decompile the apk
Then select the picture leaving that black dots and the border and save and recompile.
I have attached the video in first post

Need help. How to port CM themes to stock roms

Any way/guide to port cm themes to stock ui?
Lyk editing SystemUI, framework and Settings?
Which XMLs and values to change with whom?

Categories

Resources