[Q] framework-res.apk - Android

I only know how to change out background images in framework-res.apk, but how do I modify the placements of shortcuts icon, I want to remove those in order to provide clean looking ROM with only launcher, and clock widget, and I'll leave that up to users to add stuffs to home screen, and save them griefs from having to remove bunches of stuffs off home screen on first boot.
I'm working on Sense based ROM, not AOSP.
Thanks

Look in Launcher.apk or whatever launcher you are using. It seems to be in res\xml\default_workspace.xml, although I can't for the life of me get the thing to work after recompiling/zipping/signing...

gnarlyc said:
Look in Launcher.apk or whatever launcher you are using. It seems to be in res\xml\default_workspace.xml, although I can't for the life of me get the thing to work after recompiling/zipping/signing...
Click to expand...
Click to collapse
I use this http://forum.xda-developers.com/showpost.php?p=6703735&postcount=1 worked really well for me.

For sense roms go to /system/customize/MNS/default.XML
Sent from my Eris using XDA App

Thank you!

firestrife23 said:
Thank you!
Click to expand...
Click to collapse
Yes, thanks!

The way I have added custom icons to my framework-res.apk was to:
1. extract the file to my desktop. (keep original apk file)
2. modify/replace certain images.
3. open up original apk file, the drag and drop new files in.
This alleviates having to repackage and sign the file.
So far I have replace my taskbar and ALL stock icons that were orange are now blue

Related

CM7 Lock Slider Colors

Is it possible to change the unlock, phone and messages slider colors in CM7?
Sent from my HTC Glacier running CM7 Nightlies
99danman said:
Is it possible to change the unlock, phone and messages slider colors in CM7?
Sent from my HTC Glacier running CM7 Nightlies
Click to expand...
Click to collapse
yes its one of the first things i did. they are in the framwork-res.apk and phone.apk
tiger013 said:
yes its one of the first things i did. they are in the framwork-res.apk and phone.apk
Click to expand...
Click to collapse
Explain...
i dont have time for a full how to but you have to pull the framwork-res.apk from the rom or theme and unzip it. (i use 7-zp ) and look through the drawable folders you see. you will have to find and edit the icons you want. then its easier for me to just open the rom/theme with out unzipping and droping the edited folder in its correct place.
Iriscience said:
Just open pack's battery mod in 7zip and go to /framework/ then double click the framework-res.apk. Then click through /res/drawrable-hdpi-v4/ . This will bring you to a bunch of pngs. Extract them all. These are all the files you need to theme your phone. You can go through and edit each one, then drag and drop them back onto the 7zip window showing all the pngs. Then just close it out. It'll ask if you want to update the original archive. Say "Yes", and then just flash like normal. There are a couple of things to remember. All image sizes have to be the same. If the status bar background is 480x86 then that's the size it has to be. Also remember to keep the file names the same. Don't change any of the xml files. And always do a Nandroid before flashing. I've done this before to change my status bar and notification drawer background. But you can never be too careful. Hope this helps!
Click to expand...
Click to collapse
the drawable folders will be named different but it give you a idea of what to look for.

Changing Dock color/transparency

Which xml's must I edit and what code should I look for in order to change the dock background color? I tried reading the tuts on xda but they are somewhat unclear and mostly talk about the progress bar (bar attached to pulldown menu). Can someone help me? Once I figure out which files to change I believe I will be good!
Am I in the wrong section?
kinda need to know what launcher you are using... if you use launcherpro, just edit the .png to your liking, and assign dock background under custom in launcherpro settings...
if your on a rom without a market launcher you can use ninja morph. go to system/app/twframework once it opens it up go to res/drawable hdpi (V4) if you have that. then look for the files you want to change. long press the file and hit edit you can adjust the color and the transparencey. it will not save until you push menu/save image then go back to the main screen hit finish/twframework*******very important******** hit overwrite/ no to zipalign/ no to clean up. then reboot and your done.
with ninja morph you can change icon and icon colors along with transparency. congtratulations.
******BY THE WAY IF I DID NOT MENTION******** NANDROID BACK UP *********************************************************
AS LONG AS YOU HAVE YOUR STUFF BACKED UP YOU CAN EDIT AND CHANGE WHATEVER.
If you have a third party launcher the process is still the same. except the files are in data/app/ (whatever launcher your using) once you complete the work you finish project/no to overwrite
download signapktic fro, the market find the file in adroidthemes/workspace and select platform/ then sign it.
uninstall the original launcher and go to your files and install you work. i have done this with launcher pro and altered it to my liking because of the icons and docks.
GOOD LUCK AND ENJOY!
gunked said:
if your on a rom without a market launcher you can use ninja morph. go to system/app/twframework once it opens it up go to res/drawable hdpi (V4) if you have that. then look for the files you want to change. long press the file and hit edit you can adjust the color and the transparencey. it will not save until you push menu/save image then go back to the main screen hit finish/twframework*******very important******** hit overwrite/ no to zipalign/ no to clean up. then reboot and your done.
with ninja morph you can change icon and icon colors along with transparency. congtratulations.
******BY THE WAY IF I DID NOT MENTION******** NANDROID BACK UP *********************************************************
AS LONG AS YOU HAVE YOUR STUFF BACKED UP YOU CAN EDIT AND CHANGE WHATEVER.
Click to expand...
Click to collapse
Sorry I forgot to mention I was on stock touchwiz. Also I dont find twframework under system app intead I see it under system framework.
Is this what you were referring to? Btw thanks for the help!!
Yes sorry. That's it. You can also chang framework res.
Sent from my SGH-T959 using XDA App
ok thanks Im going to try to change twiz3.0.apk and see what that does first. Thanks!

UOT Kitchen works on the Amaze - for some things.

Observations:
I was skeptical at first because there are no QHD resolutions listed in UOT kitchen, but figured if I supplied the files, then it would maintain the resolutions in the files.
Must have all three files to upload for it to compile correctly...
1. SystemUI.apk
2. Framework-res.apk
3. com.htc.resources.apk
I've changed the battery indicatior, added statusbar icons successfully, and change the background to more transparent on the Notifications/Quick Setting pull-down. I've also successfully changed the lockscreen icons.
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?
Nope. Those are the files needed, one bit of advice though--triple check the operational file it uses.
I.E. For boot animation, use the CM file directory, not the suggested data/local. It may be something in the framework.res file that needs to be changed. UOT works for EVERYTHING, provided you make sure the operational file is correct upon submission.
jeepers007 said:
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?
Click to expand...
Click to collapse
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.
Ace42 said:
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.
Click to expand...
Click to collapse
Found it! Giving that a try.
Thanks!
Trust me, it works. I cannot remember off the top of my head (bit drunk) but UOT works on just about everything. You need to double check where each enabled visual/operational is WITHIN your choice of rom. Then, you can triple check UOT's placement of the modified file.
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
Let me look into it when I get home...I might be able (time willing) download your current rom and cook it--or at least find where to zap the clock so you can do it to your liking.
My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.
Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
The clock is in the service.jar.. The kitchen won't work for that mod.
okay, I think I'm starting to get more comfortable with this kitchen.
I've got transparent status bar, and modified status bar icons.
Now, I'm looking for some help with another graphic. I unlock my phone for use with a pin. I see lockscreen in UOT only seems to modify the icons and gesture styles.
Where can I look to change the color of the numeric pin keys?
Spovik said:
My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.
Click to expand...
Click to collapse
It is imperative that you open your rom .zip and extract:
com.htc.resources.apk
framework-res.apk
SystemUI.apk
All are found within your particular rom package. Upload via UOT's upload page. That is how their kitchen knows what to change and give you an individualized .zip to flash. If you want an in-depth explanation, PM me and I would be happy to go through the whole process step-by-step. Once you get the gist, it is easy as pie.
As for the clock, yea...it is under services.jar and UOT does not change that. There can be another way to delete it, if I have time today I will try to make a flashable .zip for just the clock delete--unless someone beats me to it.
Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.
Spovik said:
Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.
Click to expand...
Click to collapse
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium
TheSneakerWhore said:
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium
Click to expand...
Click to collapse
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.
Spovik said:
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.
Click to expand...
Click to collapse
As long as you pull the services.jar file out of the Rom you want to flash to, you are fine.
Sent from my HTC Amaze 4G using xda premium

[Q] TouchWiz Dock Icon Customization (not apps)

I wondering if there is a way to change the icons, not programs, in the TouchWiz dock. Example - I hate the green phone icon and want to substitute in the ICS phone icon. I can use desktop visualizer to create a shortcut icon...however, TouchWiz only lets you add apps from the drawer to the dock, and desktop visualizer shortcuts do not show in the app drawer (only on the desktop).
I'm not rooted...yet. I don't want to use a launcher other than TWiz because every single one of them is laggy on the Note.
n00b thought - is there a way, with or without root, that I can use root explorer, find the icon .png being used for the phone, and just replace it with a different .png of my choosing?
Thanks!
You can do it, but it'll take a little bit of work.
Use APK Manager to decompile the apk, find the icon, change it, compile, sign, and replace the original apk with your modified one.
Thanks for the info...led me on a fun journey last night through apk multi-tool. Learned a ton. Ultimately, I couldn't push the apk back to the phone after recompiling because it was a system app...need to root. Fun stuff tho!
jgivesit said:
Thanks for the info...led me on a fun journey last night through apk multi-tool. Learned a ton. Ultimately, I couldn't push the apk back to the phone after recompiling because it was a system app...need to root. Fun stuff tho!
Click to expand...
Click to collapse
Rooting is easy and only takes like 2 minutes. Look at the various methods on the development threads.
Here is a good one!!!!!
http://www.youtube.com/watch?v=T40_b0M34OA
If you end up wanting to that is.
probably a really stoopid question......
but if I wanted to swap the application (not the icon) in the touchwiz shortcut area how do I do that under ICS. On Gingerbread I just selected edit and could drag and drop a replacement app onto the drawer, but following ICS update I can't. Am I being a total dufus?
Jon.
Just go to the app drawer, hit menu then edit, drag the icons out and drag the ones you want in. No root, no app required.
Edit dock from app drawer!!!
DeerChaser said:
Just go to the app drawer, hit menu then edit, drag the icons out and drag the ones you want in. No root, no app required.
Click to expand...
Click to collapse
Man, thanks!! I've been trying to do this for two days now, your post really helped a guy out!! I've now replaced the stupid email app with K9 Mail in my dock!!
Ken

[MOD REQUEST] Change App Drawer Button Without Launcher

Running Rooted. HyperdriveOTA ROM (Love it BTW). CWM.
Wanted to change the App Drawer Button to finalize my minimal theme. Also need to remove the "APPS" label. Picture Attached. I can flash this or edit system files. Not picky.
Wanted to do a few status bar tweaks as well, but the Xposed Framework needs to be set up for Verizon before I attempt it (unless there is a better way). Also wouldn't mind changing the page dots to something else. Any advice for these would be appreciated.
I am not a fan of launchers coming from iPhone/Dreamboard. Much rather mod the ROM directly and nandroid it up.
Thanks in advance!
Hi there,
Have done on my note 1. If it's not working on your s4 since it is 4.2.2 than just ignore my post.
The file you'll need is seclauncher2.apk in system\app
1. Use 7-zip to archive the file
2. Look in res\drawable folders. In my case res\drawable-xhdpi
3. Search for ic_allapps.png & ic_allapps_pressed.png
4. Replace the files with 1 or 2 different png(s) you like. ic_allapps_pressed.png will show another icon when you press the apps drawer button(if you replace both icons with 2 different png(s))
5. Push back into system\app & reboot
Maybe the icons are placed in other drawable folder. So you'll have to search a bit.
To search it easily, copy all the files in each of the drawable folder to normal folder so that you can thumbnail view. The ones look like your apps drawer button should be the ones you looking for.
Hope that give you some hints.
See my screenshot.
They are in drawable-xhdpi
Sent from my SCH-I545 using XDA Premium HD app
I ended up submitting to a launcher.. Nova.. Glad I did though . I will definitely save this article though. Good to know. Here is my current theme.
Sent from my SCH-I545 using xda app-developers app

Categories

Resources