Related
Hi there,
I was enjoying my DesireHD with Revolution HD and MultiCultiMod. But I would very much like it if i could modify the launcher buttons(see screenshot). I believe this is inside rosie.apk.
This is what i tried:
- Modified png's in Rosie.apk, put Rosie.apk back in Rom. Flash Rom.
->> Launcher still uses default grey buttons.
- Pushed modified Rosie.apk to phone.
>> Launcher wont load anymore.
- Found and modified same looking png's in com.htc.resources.apk, pushed to phone.(no errors)
>> Nothing happens, still same old buttons.
- put com.htc.resources.apk back in Rom and flash Rom.
>> same buttons.
I read that I won't have to re-sign system packages like Rosie and framework, am I right?
what am i doing wrong, and where does android gets its grey button png's if I replaced them all? (ps: I'm not modifying 9.png)
If someone could be of service or help me try update.zip em, I would be very thankfull!
See attachements for my buttons.
THanks! XdA RuLeS!
try edit them in com.htc.resources.apk in framework instead
i have done this many times and it's working..
I do not modify tha Rosie.apk with apk tool..
I just drag out of the apk the files i want to modify and then replace them inside the apk(open it with 7zip)
That's all...
capychimp said:
try edit them in com.htc.resources.apk in framework instead
Click to expand...
Click to collapse
Thanks!
I re-tried in com.htc.resources.apk and used the folder drawable-port-hdpi, pushed it back to phone and now it's working!!!
Thanks for the help!!
Just saw this now... looks pretty solid.
Got it to work via ADB but seemed to look too busy. Thanks anyway
i´m trying to change the settings.apk icon.....
so
1) i rename the apk to .zip
2) open the archive
3) replace the original with another .png
4) save the new archive
now comes the strange part,
after saving my archive, i only got half the size of the original archive but it contains exactly the same files (4,4 mb <--> 2 mb)
i did the same way when i changed all folder icons in the arc launcher and it worked without any trouble
--------------
and is there a way to have two icons for the same app?
for example:
settings in app drawer ---> white icon
settings in widget menu ---> black icon
or does android automatically use the same icons for both?
still didn´t solve this problem ;(
tried via root manager and using 7zip under windows....filesize stayed the same but didn´t work.
and when i changed the icon, i couldn´t open the widget menu or go to options --> settings
oh boy....
try this :
1.) do all your customizing with this apk ...
2.) copy AndroidManifest.xml & META-INF (folder) from original settings.apk to your new settings.apk
3.) put in update.zip to flash in CWM, or push to system/app manually, check if permissions are ok (rw-r-r)
this worked for me theming framework-res.apk from FR18b2 ...
without copying AndroidManifest.xml & META-INF (folder) from old to new file, i always had bootloop ...
if it´s still not working, you can try and
1.) decompile with apkmanager or apktool
2.) do your customizing
3.) compile apk
4.) copy AndroidManifest.xml & META-INF (folder) from original settings.apk to your new settings.apk
5.) flash
tried your first hint but it didn´t work......
so, when i try to open the widgets i get this message:
sony ericsson home (process com.sonyericsson.home) gets force closed
maybe it has something to do with that?
i deleted lglauncher.apk and launcher2.apk and replaced it with a modified arc launcher as main launcher
---------------
im thankful for your advises but i have ZERO knowledge and experience in stuff like adb, apktool, scripts and stuff...
i can handle illustrator or photoshop
if it´s not working, i think i have to let my idea go.....
Need help..
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
look for a theme in the theme section and flash it.
easy peasy.
extract systemUI.apk from your phone to PC
extract the apk using 7z
go to res/drawable-xhdpi folder.
look for the Icon of that BAR.
edit the picture to your liking (whatever color or make a new one of the same dimension with no background)
now
open the systemUI.apk using 7z (just open donot extract this time)
navigate to res/drawable-xhdpi folder.
drag and drop the modified picture to replace the old one. (names should be same)
push back to the /system/app folder and restart system UI or reboot.
**** make sure you need to have backup of the stock systemUI on the phone incase you have FCs
azzledazzle said:
look for a theme in the theme section and flash it.
easy peasy.
Click to expand...
Click to collapse
I'm not that lazy..I'm trying to make mw own theme
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
nokiamodeln91 said:
extract systemUI.apk from your phone to PC
extract the apk using 7z
go to res/drawable-xhdpi folder.
look for the Icon of that BAR.
edit the picture to your liking (whatever color or make a new one of the same dimension with no background)
now
open the systemUI.apk using 7z (just open donot extract this time)
navigate to res/drawable-xhdpi folder.
drag and drop the modified picture to replace the old one. (names should be same)
push back to the /system/app folder and restart system UI or reboot.
**** make sure you need to have backup of the stock systemUI on the phone incase you have FCs
Click to expand...
Click to collapse
What name of the icon? I cant fine it
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
check in framework-res.apk.. not sure. it used to be in lidroid-res.apk for themed ones.
found a few in framework like
button_onoff_indicator_on
btn_toggle_on.9
the shape is a bit diff so not sure
Doesn't a png that set the color.
It's just a .xml file that it need to edit
If I remember correct you can find it at systemUI/res/layout/tw_quick_setting_button.xml
Just edit textcolor value as your choice
Ciao
that only has the background color not the color when its active like in this case its green. can that be changed to blue by editing xml? png definitely changes it
Are you sure?
Hmmm will try it out
hey , i have extracted the systemui.apk using 7zip , then when i tried opening xml files using notepad++ it showed those stuff , can you help me ? : ) even oriflax modifications , opening his xml files showed me that too
You can't edit xml file like this. You need to decompile it using apk tool then edit the xml and recomplile
nokiamodeln91 said:
You can't edit xml file like this. You need to decompile it using apk tool then edit the xml and recomplile
Click to expand...
Click to collapse
thank you , i decompiled it , edited it and then while recompiling it it gave me hundreds of invalid resource directory errors ... i had to pull out classes.dex earlier but put back in after editing ... any ideas ?
Don't get. Dex file when using apk tool. Don't mod the apk using 7z . starts fresh
How To Theme TouchWiz Based ROM to look like AOSP!!
Ok guys I decided to share my theming method with you guys. This is mainly intended for all developers and or ROM developers!
If you have TouchWiz based ROM (Some devices below) you can theme it to have an AOSP feel to it.
Devices:
Galaxy SII
Galaxy SIII
Galaxy Note
Galaxy Note II (Tested by Me )
Some others as well...
Whats Needed:*APKTool DOWNLOAD HERE
*JAVA DOWNLAOD HERE
*7-ZIP DOWNLOAD HERE
*TouchWiz Base ROM
*SystemUI.apk (in system/app) **FROM TOUCHWIZ ROM**
*SystemUI.apk (in system/app) **FROM AOSP or CM10 ROM**
*Framework-res.apk and TWFramework-res.apk (in system/framework) **FROM TOUCHWIZ ROM**
*Zipalign tool
*Root Explorer App (Get from Google Play Store)
*Holo Launcher (Also get from Google Play Store)
Lets Get Started:Follow all of the steps below carefully and you should have an AOSP Themed TouchWiz ROM in no time
1. Download the Holo Launcher from the Google Play Store.
(When you run the launcher you will see that you will have an AOSP themed launcher and you will have AOSP system icons [messaging, phone, settings, ect..])
2. You need to install APKTool next. (If you already have this installed then skip this step)
*Download the APKtool files (link above)
*Put the files into your C drive. Make a folder in the root of your C drive called apktool.
*All of your files should go inside that folder (apktool)
*Go to CMD or Command Prompt and type in
Code:
cd C:\apktool
*That should redirect you to the apktool. If it worked then lets move on...
3. Get the framework-res.apk and TWFramework-res.apk (in system/framework) and place it in the apktool folder.
4. In the Command Prompt you will need to direct CMD to the APKtool folder. Then you must install the framework files by doing:
Code:
apktool if framework-res.apk
and
Code:
apktool if twframework-res.apk
Now your framework files are successfully installed. If you have an error in the CMD window then you must check your JAVA.
5. Now get your systemui.apk files from both AOSP (CM10) and TouchWiz ROM. Rename the AOSP systemui.apk to systemuiaosp.apk (so you dont get the touchwiz and aosp systemui's mixed up)
6. Make a backup of the TouchWiz systemui.apk in another folder called "Backup" ****YOU WILL NEED THIS LATER*****
7. Now you should have both systemuiaosp.apk and systemui.apk in the apktool folder. Now you must decompile both files by using these commands:
Code:
apktool d systemuiaosp.apk
and
Code:
aptkool d systemui.apk
You should have 2 more folders (systemuiaosp and systemui).
8. Here comes the actual theming of the systemui. Open both systemuiaosp and systemui folders side-by-side. And now you need to navigate to the drawable-xhdpi folder in both.
***FOLLOW THESE NEXT STEPS CAREFULLY OR YOU WILL HAVE AN ERROR***
9. Find the files you want to replace. They should all be PNG files. DO NOT JUST ADD PNG FILES FROM THE SYSTEMUIAOSP TO THE SYSTEMUI. YOU WILL GET ERRORS WHEN COMPILING THE FILE!! There are XML files (we will not edit in this tutorial) that use those PNG files with those extension names. So you can't just add files from one to another. For example:
If you have an icon you want to change but its only for that AOSP then it wont run on the TouchWiz. If you have a WiFi icon that has a name of AOSP_Wifi_1 and on the other systemui it says TOUCHWIZ_Wifi_1 you cant just delete the one that says TouchWIZ_WIFI_1 and replace it with the AOSP one. The XML files dont tell it to run the AOSP_WIFI_1. So you must ONLY REPLACE FILES WITH SAME EXTENSION NAME!!
10. You can go ahead and transfer files from the SystemuiAOSP to the systemui. Note what i said above!! If you have lets say 6 wifi icons for systemuiAOSP and 6 icons for systemui (touchwiz) you can rename the AOSP PNG files to match the TouchWiz ones so the XML files will know what to run.
I personally suggest only transferring Wifi Icons, Battery Icons, and Signal Icons. These are your most important ones to transfer! You can also transfer the Bluetooth and Airplane mode icons also.
11. After you have transfered the files over and you feel like you have done it correctly then you can go ahead and Compile the SystemUI folder by using this code:
Code:
apktool b systemui semidone.apk
12. If you did all the steps correctly above then apktool will build the apk file with no issues. If you have errors then you did not pay attention carefully. (You may want to try another CM10 ROM to get icons from).
13. Now here is where 7-Zip and your backup file comes into play. Open 7-Zip twice (2 windows). In the first window direct 7-zip to the semidone.apk file. And the second one to your backup file which should be SystemUI.apk (in the backup folder).
14. In the SystemUI.apk click on the RES folder and then find the Drawable-xhdpi folder. Delete the entire Drawable-xhdpi folder. Now in the other window (semidone.apk) go to RES and then transfer the entire Drawable-xhdpi folder into the SystemUI.apk window.
15. Now your SystemUI.apk in the Backup folder is your new modded one. But before you can use it you must zipalign it using any zipalign tools out there. I just use DSIxda's kitchen to do it since I make ROMs with it.
16. Now you can go ahead and transfer the SystemUI.apk onto your phone's SD card.
17. Download Root Explorer. Now go ahead and navigate to your SD card and click the SystemUI.apk file and then click copy or move. (whichever one you like).
18. Now navigate to your system/app folder and paste and overwrite the original one. (You will need to set root explorer to Read/Write). Now you can go ahead and reboot your device.
If you did everything correctly you should now have a themed launcher and a themed status bar with AOSP Icons!
I don't ask for donations so if this tutorial helped you then please hit that Thanks button!
MINE
Mine AGAIN
I was just looking for a thread like this... not sure if i have enough time and will to do it but i am very glad you post it!
thanks a lot!!!
ExcaliberX said:
I was just looking for a thread like this... not sure if i have enough time and will to do it but i am very glad you post it!
thanks a lot!!!
Click to expand...
Click to collapse
Your welcome. I hope it works for you!
So are there any screenshots showing exactly what changed? I'd like most of the UI to have an AOSP feel to it not just some parts. Does this theme all or just bits and pieces?
Shmi117 said:
So are there any screenshots showing exactly what changed? I'd like most of the UI to have an AOSP feel to it not just some parts. Does this theme all or just bits and pieces?
Click to expand...
Click to collapse
Well as said above it themes the launcher (holo) and the status bar icons are aosp.
thanks I was hoping to see where you find the blue background bars in the S2 in the settings menu SecSettings.apk or trframework or framework or systemUI I have looked everywhere and changed colors of .9pngs forever and it never phased them. obviously I never found the right one to change. would you happen to know and could you post here or pm me thanks. have a decent ROm that doesnt really need blue gray bars dominating the screen.
Hey guys, I recently just got into the rooting and modding stuff here so excuse me, but im just a beginner and don't know much of what I'm doing. I've searched and searched and searched for the mods that i want, but with no luck, so I'm wondering if anyone had any free time to make some mods for me? I have a Sony xperia TL (Lt30at) and its rooted. I have CWM to flash zips so if i could get a zip made up to be able to do this, i would greatly appreciate it! okay, so this is what i was looking for. I wanted to change the statusbar background to a different image, which is the first attatchment i have. I would also like to make the chat bubbles that same image in the sms app. I also wanted to change the clock, battery, notification icons, all of that stuff on the statusbar to red instead of the stock colors, but keep all of the stock icons. Now, only two more things. If somebody could make, or point me in the direction where to find red soft keys for my phone, that would be awesome. I found some on here but none seemed to work on my phone, it just made systemui crash. Last, i wanted to change the sms background from white to the picture i have in my second attatchment. I have JB v4.1.2 with stock rom and whatnot. If anybody could do any of these things for me or point me in the direction of an already made one, i would greatly appreciate it!! Thank you very much.
I don't think you can change the nav bars background to a picture, just the color. You can however, change the softkeys. Check this thread for new ones. Or download one, make your own images, and just replace them in the zip with yours using winrar, 7zip, or even unzip and re-zip on your phone with root explorer.
As for the background image on sms... Use winrar, 7zip, or whatever and unpack the apk. Navigate to the "res" (meaning resources) folder, then into the "drawable-xhdpi" (other drawables are for other phone resolutions, we use xhdpi always). In that folder, see if you can find a background image. If not, then its probably not an image but a color code thats inside an xml file. Other than that, use another sms app such as GoSMS. Which allows custom themes/backgrounds.
Info about zips from the link above...
The SoftKey threads zips are ones that modify apk's without actually replacing them. It does it that way in case you have mods on an apk that you don't want to lose just because you want to change an image.
When you unzip one you'll normally see a few folders but the one you'll need to focus on is the "vrtheme" folder. Inside vrtheme there is a "system" folder with two folders "app" and "framework". Inside "app" is a folder "SystemUI.apk", which is the file to be modified. Inside that folder will be the layout of the original apk, excluding folders that your not modifying. If u don't understand that, try unpacking your original SystemUI.apk and you will see a ton of folder and files. But since we only need to replace specific images, only those folders are reconstructed in the SystemUI.apk folder as... "SystemUI.apk/res/drawable-xhdpi/"
If this confused you then you might have to wait until someone decides to drop what they're doing for everyone else, and help you. Which is as about as possible as you unlocking our bootloader. So ill try to help, but I'm still learning here as well. Luckily I've been a PC software programmer for over 15 years so the transition isn't as bad for me.
- Xperia TL, XperimenT v2.6 ~ via XDA App
http://forum.xda-developers.com/showthread.php?t=1433053
This might help also... http://rootzwiki.com/topic/17417-updated-solution-in-op-navigation-bar-background-image/
Ill attempt it in a minute and let you know my results. If it works, ill upload you a flashable zip.
- Xperia TL, XperimenT v2.6 ~ via XDA App
First, about the status bar, I haven't tried yet so I can't help
Second, about the soft keys, it's quite easy, decompile systemui (remember installing framework-res.apk and SemcGenericUxpRes.apk in apktool), go to res/drawable-xhdpi, edit the nav buttons (open in PTS and change the color to red ), then recompile the SystemUI
about the background image of sms, it use the background semc_bg_bright_tile.png in res/drawable-xhdpi of SemcGenericUxpRes.apk, but if you change this image, other apps using this background will be affected like SemcPhone T___T.
About nav background, you can edit the navigationbar.xml in SystemUI , you can search for Transparent Nav bar in this section, instead of giving the hex color, you can change it to the path of the image like /drawable-xhdpi/background.png (of course you have copied the file into editing folder). You should know some about xml editing . This is just some quick ideas, I'm quite busy so I can't help you out , good luck
redincali said:
I don't think you can change the nav bars background to a picture, just the color. You can however, change the softkeys. Check this thread for new ones. Or download one, make your own images, and just replace them in the zip with yours using winrar, 7zip, or even unzip and re-zip on your phone with root explorer.
As for the background image on sms... Use winrar, 7zip, or whatever and unpack the apk. Navigate to the "res" (meaning resources) folder, then into the "drawable-xhdpi" (other drawables are for other phone resolutions, we use xhdpi always). In that folder, see if you can find a background image. If not, then its probably not an image but a color code thats inside an xml file. Other than that, use another sms app such as GoSMS. Which allows custom themes/backgrounds.
Info about zips from the link above...
The SoftKey threads zips are ones that modify apk's without actually replacing them. It does it that way in case you have mods on an apk that you don't want to lose just because you want to change an image.
When you unzip one you'll normally see a few folders but the one you'll need to focus on is the "vrtheme" folder. Inside vrtheme there is a "system" folder with two folders "app" and "framework". Inside "app" is a folder "SystemUI.apk", which is the file to be modified. Inside that folder will be the layout of the original apk, excluding folders that your not modifying. If u don't understand that, try unpacking your original SystemUI.apk and you will see a ton of folder and files. But since we only need to replace specific images, only those folders are reconstructed in the SystemUI.apk folder as... "SystemUI.apk/res/drawable-xhdpi/"
If this confused you then you might have to wait until someone decides to drop what they're doing for everyone else, and help you. Which is as about as possible as you unlocking our bootloader. So ill try to help, but I'm still learning here as well. Luckily I've been a PC software programmer for over 15 years so the transition isn't as bad for me.
- Xperia TL, XperimenT v2.6 ~ via XDA App
Click to expand...
Click to collapse
Thank you very much! tons of help!
dully79 said:
http://forum.xda-developers.com/showthread.php?t=1433053
Click to expand...
Click to collapse
thanks for the reply!
redincali said:
This might help also... http://rootzwiki.com/topic/17417-updated-solution-in-op-navigation-bar-background-image/
Ill attempt it in a minute and let you know my results. If it works, ill upload you a flashable zip.
- Xperia TL, XperimenT v2.6 ~ via XDA App
Click to expand...
Click to collapse
Did you work anything out for that? I've been trying to do it myself but i'm not all that familiar with what to do.
blackcat510 said:
First, about the status bar, I haven't tried yet so I can't help
Second, about the soft keys, it's quite easy, decompile systemui (remember installing framework-res.apk and SemcGenericUxpRes.apk in apktool), go to res/drawable-xhdpi, edit the nav buttons (open in PTS and change the color to red ), then recompile the SystemUI
about the background image of sms, it use the background semc_bg_bright_tile.png in res/drawable-xhdpi of SemcGenericUxpRes.apk, but if you change this image, other apps using this background will be affected like SemcPhone T___T.
About nav background, you can edit the navigationbar.xml in SystemUI , you can search for Transparent Nav bar in this section, instead of giving the hex color, you can change it to the path of the image like /drawable-xhdpi/background.png (of course you have copied the file into editing folder). You should know some about xml editing . This is just some quick ideas, I'm quite busy so I can't help you out , good luck
Click to expand...
Click to collapse
Ive been trying to do this, but i can't get my framework onto my computer. When i copy it to my sd card using root explorer it just doesnt show up when im looking for it on my pc..frustrating...
I forgot to add this:
http://forum.xda-developers.com/showpost.php?p=40026013&postcount=20