[Q] editing SystemUI.apk - T-Mobile Samsung Galaxy S II SGH-T989

I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.

Related

Change Icons In App Drawer?

did have a totally bog standard (stock) desire hd til yesterday, then i decided to root it and installed Revolution on my phone.
I've been using Desktop Visulizer to change icons on my main screen, but does anyone know how i can go changing the icons in the app drawer??
Any help....much appreciated.
matt
Install root explorer, go to system/app and pull any apk u want to change the icon of, open archive of the apk (with 7zip, winrar, etc), find the icon png and edit to your taste, save your changes and update archive, put back the apk file and reboot your phone.
u can find the icon png in res/drawable-hdpi folder

[Q] Changing Background for Menu Items on Rosie

I can change the icons in a rosie by editing the Rosie.apk, but the background is white and I'd like it to be black transparent. What files do I need to edit to get the black background (or any color) with white text?
Thanks for any help.
If you use ninjamorph, select the rosie.apk, I BELIEVE it should be the /res folder, find the img of the image you want to replace, then swap it in. Though backup before hand.
Right, I understand the process, but there is no background.png file (or whatever it is). I need to know either the name of the file or if that particular background is in a different apk suh as systemUI or framwork, etc...
...anyone?

ICS - Modifying a Stock Theme

I recently received my Galaxy Nexus - and love it!
My idea was to keep it as stock as possible, but I wanted to change the look and feel to be more minimal, without having to install a non-stock launcher or use a different ROM. (The inspiration for this came from Nitroz's 'Black Exodus' theme.)
Phone : Galaxy Nexus, Rooted, now with a slightly modified stock ICS 4.0.2
There were a number of posts all around the Internet that led me in the right direction. To the cast of thousands who shared their information - Thank You!! The instructions below are just a compilation of the work already out there, but hopefully as they are in one place they will speed things up if you want to do this.
I am assuming that any future OTA updates will reset this.
Instructions for a Newbie (like me)
Requires :
One Rooted Galaxy Nexus
Way of getting files on and off the phone - I am using ES File Explorer
7-Zip on a PC
The new icons
The icons are located in the APK files located in the \system\apps folder.
To change the SMS icon
On the phone
Backup the original \system\apps\mms.apk file
Copy the \system\apps\mms.apk to a PC with 7-ZIP installed​
On the PC
Open with 7-Zip (DO NOT EXTRACT)
Change to the res\mipmap-xhdpi folder
Drag and drop the new PNG file (ic_launcher_smsmms.png) over top the old one.​
Copy the APK file back to \system\apps on the phone
The phone does not require a reset, but you will need to add the icons back.
To change the Contacts and Phone icons
These are located in the \system\apps\contacts.apk.
Folder - res\mipmap-xhdpi
Files - ic_launcher_phone.png, and ic_launcher_contacts.png​
To change the Browser icon
These are located in the \system\apps\BrowserGoogle.apk.
Folder - res\mipmap-xhdpi
File - ic_launcher_browser.png​
To change the App Drawer icon
These are located in the \system\apps\launcher2.apk.
Folder - \res\drawable-xhdpi\
File - ic_allapps.png​
Removing the line above the App Doc
The file from the phone to edit is \system\apps\launcher2.apk.
On the PC create a blank file called hotseat_track_holo.9.png.
Overwrite the file in the /res/drawable-xhdpi directory of laucher2.apk
Just a thought, but Nova Launcher looks exactly like the stock launcher, but you can change the icons to whatevery .png you want directly from the homescreen. They will remain even after updates to the app. It's entirely up to you, but i thought that might save you a ton of work
And save myself 2 days of pain and frustration?? ;-) It was a good learning exersize, although when the config gets nuked by an update, and I don't have the time to play, I will look at using a different launcher. Thanks for highlighting Nova as an option.

[Tutorial] Lazy Mans Guide to Themeing

The lazy man’s guide to theming​.
I get requests all the time to make simple changes to my themes that anyone with a computer can do. So I put together this quick guide on how to theme the easy way. This is how I do most of my themes minus any xml edits or battery mods. This guide is for changing images only without having to decompile and recompile the entire apk file with apktool or apk manager. Great for when you just want to make a few changes to your existing setup.
What you will need.
~ 7zip use Google search it’s easy to find
~ image editor Gimp is great and free you can Google it also. I use Fireworks and Photoshop depending on what I am trying to do.
~ Draw9Suite. Created by tommytomatoe/kakomalo Thread found here http://forum.xda-developers.com/showthread.php?t=1272513
Download here: http://www.4shared.com/zip/TaDGMjde/9patchPngSuite.html
Unzip and place contents in folder, I have mine on my desktop.
~ An existing rom or theme to modify.
With just these tools you can do a lot.
Once you have 7zip and 9patchPngSuite on your system you will need to download the rom, or already existing theme for the rom you are on so you can make the changes you want to it.
Download the rom/theme you want to make changes to and use 7zip to unpack the rom/theme you downloaded, do this by right clicking on the zip file and chose open with 7zip. Inside you will find lots of folders, the ones you are looking for will be in system/app (for apps) or system/framework (for framework files). Extract the apk’s by just dragging them out of the 7zip window, to a folder on your desktop.
Inside the folder you extracted the apk’s to create a folder for each apk’s you extracted. Now you will want to extract the folder drawable-hdpi from the res folder of each apk to its associated folder, do this with 7zip also the same way you extracted the apk file. Once the drawable-hdpi folders are extracted you will see the images inside that you can modify.
At this point I create another folder inside each of the specific apk folders and name it .9 images and I copy and paste all the .9 images I want to change into that folder (these are for reference). I then copy all of those images into the compiled folder of 9patchPngSuite. And chose option 1 to decompile them. Now look in the decompiled folder and you can now take those images and change anything inside the black lines and dots you will see on the outside edge. If you feel like it you can also create your own .9 file with your own image by choosing option 2, this will open up draw9patch. Maser&Slave made a great tutorial on this so I won’t go into it. Edit your images, but be careful if the image displays words on it (like with popup_center_dark.9 )and it has a dark background it should remain dark so the word will still be readable, and vice versa if the image has a light background it most likely will have a dark font displayed on it that will be difficult to read if you make the image a dark color. Once all your images are edited use option 3 to recompile them, now in the output folder you will find your recompiled images that you can put back into your drawable-hdpi folder. Edit any other images you want just be careful with the pixel size if an image is 70X70 and you make it 140X140 it could cause some problems, some you can change others you can’t, it’s a lot of trial and error. Once all edits are finished put them all back in the drawable-hdpi folder you extracted from the apk, use 7zip to open the apk again, navigate to the res folder and delete the existing drawable-hdpi folder and drop the one you made the changes to into it, use the back arrow in the 7zip window and it will zip it back up and you can push the apk or flash it to test if your images came out the way you wanted them to. This will work with any image you chose to edit. You can also use this method add images from other themes you like to modify your theme to the way you want it. Just copy and paste the images you want to change into the drawabel-hdpi folder of the theme you are creating.
Brief list of what each apk controls, I am still new to ICS so if anyone knows more info please post.
Framework-res.apk
This will contain most of the images you will want to make changes to. Including check boxes, popup windows, menus, tabs, general status bar images, some lockscreen clocks, and a lot more. You will recognize them as you scroll through them. Some are hard to recognize like activity_tite_bar.9 and dark_header.9 because they are small, it will take some practice and trial and error to get the look you want.
Twframework-res.apk
This contains very little in ICS it still controls the tab backgrounds for a lot of apps but that is all I have found so far.
Systemui.apk
This apk contains most of the files for your dropdown and status bar, like signal bars, 3g 4g icons, wifi strength icons ,dropdown background and more. in ICS it also contains the battery images.
Ik95-res.apk and lidroid-res.apk
These apks contain the toggle images and background In the dropdown i.e. wifi toggle, airplane mode toggle etc. for the 14 ad 15 toggle mods.
Here is a standard flashable zip file you can put your modified apk files in and flash with CWM, open with 7zip and put your apk file in the corresponding folder in the flashable zip if you pulled it from framework put it back in the system/framework folder, if you pulled it from app put it in system/app folder in the flashable zip. Then flash like any other theme.
Flashable zip : http://www.4shared.com/zip/cmn3J1yd/My_flash.html
included below is a word doc of this tutorial.
future additions ....
Thanks for the guide, chief!

[Q]RootBox theming status bar

Questing about theming the status bar on RootBox. I am trying to change the status bar icons. I have successfully changed the battery Icons. But every time I try to change the WiFi icons the ROM boots, but it is like a first boot with a fresh ROM if I try to unlock the screen. If I unlock into messenging my messages are there. Changes dont take effect. I have tried replacing the icons in several spots with the same results.
Method
Copy systemui.apk to SD
Insert SD into computer
Open systemui.apk with 7zip
Pull drawable-xhdpi to desktop
Replace old icons with new
Replace new drawable-xhdpi in res folder
Put SD back in phone
Push new systemui.apk
Reboot
This process worked perfect for the battery, but not the WiFi. Any help would be appreciated.
Sent from my GT-N7105 using Tapatalk 2

Categories

Resources