[guide][mod]Transparency for froyo, gingerbread, For all..... - Android Themes

I have searched for transparency mod all over.... but couldn't find it.... decided to make it my self..... tried hard and come up with this when i was trying.......
Its simple work in almost all android versions..... this make almost all apps like root explorer, settings, music etc apps transparent
make backup before try this....!!!!
U need::::
* stock framework-res.apk
* apk manager or any other
* text editer like notepad++
* 7zip
* patience and GK
steps:::
decompile framework, in decompiled framework folder> res folder> values > styles.xml open it via notepad++ styles.xml is the key file, it control all apps layout and look.....
* in styles search for <style name="Theme"> this is the main theme layout... all app uses this.....
* under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item> now change this to <item name="colorBackground">@color/transparent</item> we are calling transparent color instead of dark which is inbuilt defined in color.xml in values folder.....
* now main part add <item name="windowIsTranslucent">true</item> in theme... means after <item name="colorBackground">@color/transparent</item>......... this line makes all app apps to be transparent....
Next there are two methods..........
first method :::
now make a transparent image save it as png file....... make sure it has correct resolution..... dont make full transparent it looks odd.....
save it and past in draweble mdpi or hdpi which ur device support..
now in styles.xml look for <item name="windowBackground">@drawable/screen_background_dark</item> below main theme....
change this to <item name="windowBackground">@drawable/"your image name"</item> add ur image name without ".....
save and close....
------OR-------
second method ::::
in styles.xml look for <item name="windowBackground">@drawable/screen_background_dark</item> below main theme....
change this to <item name="windowBackground">#80ffffff</item> or any other color hex code first two digits control transparency.....
save and close....
compile framework delete resources file in keep folder.... open stock framework (unedited) with 7zip,, amd open edited framework with 7zip...
drag and drop resources file and res folder from edited to unedited framework......
thets it... make flashable zip or adb push.........
ask me if u hav .......
Hit thanks if i helped U....... its free of cost......

Guys try this leav cmmnt if u face any prblm....
don't forgot hit thanx....

How to make transparent image?
Edward Cullen

Open a new file in adobe a dialog box will appear mak sure window background transparent selected add any image u want in this (copy past ) at da right side of da adobe window ther iz list of layers double click on image u pasted.... adjest opacity as u wish.... and save it as .png file..
don't forgot hit thanx....

akash akya said:
Open a new file in adobe a dialog box will appear mak sure window background transparent selected add any image u want in this (copy past ) at da right side of da adobe window ther iz list of layers double click on image u pasted.... adjest opacity as u wish.... and save it as .png file..
don't forgot hit thanx....
Click to expand...
Click to collapse
I will try and then tell you. But i have seen that most people make setting transparent and from there wallpaper is seen.
Edward Cullen

Yup this iz new method....
don't forgot hit thanx....

Using systemUI is much more easier
But nice one
Envoyé par mon LG-P500 chargée avec CM9

What about froyo
DJoptimus-One said:
Using systemUI is much more easier
But nice one
Envoyé par mon LG-P500 chargée avec CM9
Click to expand...
Click to collapse
Thnx ....... But Froyo doesn't have systemUI.apk............ so its good for froyo users...

akash akya said:
Yup this iz new method....
don't forgot hit thanx....
Click to expand...
Click to collapse
By this method also wallpaper will be seen?
Edward Cullen

akash akya said:
Thnx ....... But Froyo doesn't have systemUI.apk............ so its good for froyo users...
Click to expand...
Click to collapse
Well, i must say, not just froyo but i was just consulted by a member owning a SE device and this guide shall work on ICS too
Envoyé par mon LG-P500 chargée avec CM9

Avilove.Cullen said:
By this method also wallpaper will be seen?
Edward Cullen
Click to expand...
Click to collapse
Ya.... u can see background live wallpapers, dock... all.... if ter iz any app behind this it too visible.....
don't forgot hit thanx....

Hello you !
I want to do it for my MIUI I select any file to be able to do as you guide:fingers-crossed:
two option??
1 framwork fres.apk (of stock miui)
2 theme for Miui
pls help me

le_manhpro said:
Hello you !
I want to do it for my MIUI I select any file to be able to do as you guide:fingers-crossed:
two option??
1 framwork fres.apk (of stock miui)
2 theme for Miui
pls help me
Click to expand...
Click to collapse
U must use stock framework.apk ................. u can also do with theme but some time apktool gives plenty of error with thems.......... use stock framework for error free result........... report me after it works...

akash akya said:
U must use stock framework.apk ................. u can also do with theme but some time apktool gives plenty of error with thems.......... use stock framework for error free result........... report me after it works...
Click to expand...
Click to collapse
oke I will try, and feedback if it works or not tks again:victory:

I can't find this line in styles
look for now in styles.xml <item name="windowBackground"> ​​@ drawable / screen_background_dark </ item> below the main theme ....
change this to <item name="windowBackground"> ​​@ drawable / "your image name" </ item> add ur image name without ".....
Save and close ....
i have add file framework-res.apk
http://www.mediafire.com/?jp4h3jl1n01nehs
you can help me, thanks a lot

le_manhpro said:
I can't find this line in styles
look for now in styles.xml <item name="windowBackground"> ​​@ drawable / screen_background_dark </ item> below the main theme ....
change this to <item name="windowBackground"> ​​@ drawable / "your image name" </ item> add ur image name without ".....
Save and close ....
i have add file framework-res.apk
http://www.mediafire.com/?jp4h3jl1n01nehs
you can help me, thanks a lot
Click to expand...
Click to collapse
Hey search for window background only below theme.... ignore what evr may @draweble/blabla...... try if not works... then i ll c in framework afterwords...
Sent from my Micromax A60 using xda premium

Solved
le_manhpro said:
I can't find this line in styles
look for now in styles.xml <item name="windowBackground"> ​​@ drawable / screen_background_dark </ item> below the main theme ....
change this to <item name="windowBackground"> ​​@ drawable / "your image name" </ item> add ur image name without ".....
Save and close ....
i have add file framework-res.apk
http://www.mediafire.com/?jp4h3jl1n01nehs
you can help me, thanks a lot
Click to expand...
Click to collapse
Hey just decompiled ur framework......... in ur styles u have <item name="windowBackground">@color/mi_screen_background_dark</item>
No problem.......... change this to <item name="windowBackground">@drawable/"ur png image file name"</item> ...............
it must work........ try.... ask ur prblm if u hav.....

What is this Froyo you speak of? Is that what they use on the Motorola StarTac?
By the way, I'm not sure what it is you're trying to make transparent, but there's literally endless amounts of info, threads, apps, and themes out there for this for stock Gingerbread/ICS and any flavor of AOSP/CM9/AOKP/every other ROM out there.
All the info you need though is in styles.xml in framework-res.apk
A better method for transparent apps is to use a style with a parent style of Theme.Holo.Wallaper, and all of the derivatives of that style. It sets the background to your current wallpaper. You can also specify within the style the something like this:
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.Holo.Wallpaper">
<item name="android:windowBackground">@drawable/semi_transparent_bg</item>
Then add a line in drawables.xml that says:
Code:
<item type="drawable" name="semi_transparent_bg">#60000000</item>
In this way, you have the transparent background but you can tint it so that it is a little darker, which makes it easier to theme for both light and dark wallapers/themes, adjusting the alpha value as you might need.
Also, there are many apps that use the image in framework-res at /res/drawable-nodpi/background_holo_dark.png as the background for the app. Changing that one image will change the background for apps like Titanium Backup, Root Explorer, Settings, etc.
.....But seriously, this information is literally everywhere already and it has been for quite some time.

m4570d0n said:
What is this Froyo you speak of? Is that what they use on the Motorola StarTac?
By the way, I'm not sure what it is you're trying to make transparent, but there's literally endless amounts of info, threads, apps, and themes out there for this for stock Gingerbread/ICS and any flavor of AOSP/CM9/AOKP/every other ROM out there.
All the info you need though is in styles.xml in framework-res.apk
A better method for transparent apps is to use a style with a parent style of Theme.Holo.Wallaper, and all of the derivatives of that style. It sets the background to your current wallpaper. You can also specify within the style the something like this:
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.Holo.Wallpaper">
<item name="android:windowBackground">@drawable/semi_transparent_bg</item>
Then add a line in drawables.xml that says:
Code:
<item type="drawable" name="semi_transparent_bg">#60000000</item>
In this way, you have the transparent background but you can tint it so that it is a little darker, which makes it easier to theme for both light and dark wallapers/themes, adjusting the alpha value as you might need.
Also, there are many apps that use the image in framework-res at /res/drawable-nodpi/background_holo_dark.png as the background for the app. Changing that one image will change the background for apps like Titanium Backup, Root Explorer, Settings, etc.
.....But seriously, this information is literally everywhere already and it has been for quite some time.
Click to expand...
Click to collapse
Hey i hav searching for long time.... but all of them requires systemui.apk.... wich is not in froyo roms.... and what u mentioned <style name="DialtactsTheme" parent="@android:style/Theme.Holo.Wallpaper"> this also not there in froyo rom...... while i am trying with styles i come up with this..... thought to share it........ i agree it will make many apks transparent...
Sent from my Micromax A60 using xda premium

when i have deleted resources in edited framework then how will i get it in edited framweork ??
i am not getting resources in edited framework after compiling

Related

[Guide] Transparent background - framework-res.apk Contacts.apk [ICS]

This is a simply method to set a transparent background on framework-dependent apks and Contacts.apk. Tested on my GS2 and TF201.
1. Using Photoshop or similar create a trasparent image (% as you wish) and save it as .png. If you insert a texture or image, use your device resolution for better results. Make two copies and rename its as "background_holo_dark.png" and "background_dial_holo_dark.png"
2. Decompile framework-res.apk. You can follow this great guide
3. Browse to res/values and open styles.xml. Search code for "<style name="Theme.Holo" parent="@style/Theme">"
4. On it, search this line "<item name="windowShowWallpaper">false</item>" (using Komodo is line 1006) and replace values with true. Save and close.
5. Browse to res/drawable-nodpi and replace existing background_holo_dark.png with your image
6. Recompile framework-res. You may refer to guide posted above
7. Using winrar or similar browse into Contacs.apk to res/drawable-nodpi and replace existing background_dial_holo_dark.png with your image (simply drag&drop, be careful to set compression to Store)
8. Replace framework-res and Contacts.apk on your device (Root explorer, adb, flash through recovery). Personally I also clear cache and dalvik cache
9. Enjoy your modded apks!
Remeber: always perform backup before replace any system file! Also, I'm no responsible for any problems that may occure on your phone
Hi dude!
Can you help how to do this with a stock ROM (Eclair - XPERIA X8) ?
Sorry but I have always used ICS on my devices, no experience about Eclair.
If Eclair have a framework-res.apk send it to me, I can try to help you.
Bye!
bobgeneric said:
Hi dude!
Can you help how to do this with a stock ROM (Eclair - XPERIA X8) ?
Click to expand...
Click to collapse
bobgeneric said:
Hi dude!
Can you help how to do this with a stock ROM (Eclair - XPERIA X8) ?
Click to expand...
Click to collapse
WTH. 2.1 man that suxxxs I believe its time for an upgrade
This is not the correct method. What you have essentially done is changed Theme.Holo to Theme.Holo.Wallpaper, but in an inefficient way and in a way that affects all its derivative themes, which is most themes. If you want the transparent background effect, you should use Theme.Holo.Wallpaper, as that's what it's designed for. It takes the parent theme of Theme.Holo and adds the following overriding attributes:
Code:
<!-- Default holographic (dark) for windows that want to have the user's selected wallpaper appear behind them. -->
<style name="Theme.Holo.Wallpaper">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowShowWallpaper">true</item>
</style>
Also, for Contacts.apk, there's some private java action that's used to build it that makes it a ***** to theme. Currently, in order to do any xml edits, and still have a working apk, you have to build Contacts.apk from source. To my knowledge, it's the only system app that requires you to do that. I've been working on that recently, actually. If you want to check it out, I have a thread here:
http://forum.xda-developers.com/showthread.php?t=1737161
I have a few other mods and stuff in there but there's also a github link there in the OP if you want to see all of the edits I made to the Contacts.apk.
m4570d0n said:
This is not the correct method. What you have essentially done is changed Theme.Holo to Theme.Holo.Wallpaper, but in an inefficient way and in a way that affects all its derivative themes, which is most themes. If you want the transparent background effect, you should use Theme.Holo.Wallpaper, as that's what it's designed for. It takes the parent theme of Theme.Holo and adds the following overriding attributes:
Code:
<!-- Default holographic (dark) for windows that want to have the user's selected wallpaper appear behind them. -->
<style name="Theme.Holo.Wallpaper">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowShowWallpaper">true</item>
</style>
Also, for Contacts.apk, there's some private java action that's used to build it that makes it a ***** to theme. Currently, in order to do any xml edits, and still have a working apk, you have to build Contacts.apk from source. To my knowledge, it's the only system app that requires you to do that. I've been working on that recently, actually. If you want to check it out, I have a thread here:
http://forum.xda-developers.com/showthread.php?t=1737161
I have a few other mods and stuff in there but there's also a github link there in the OP if you want to see all of the edits I made to the Contacts.apk.
Click to expand...
Click to collapse
This is my Styles.xml. I'm editing my framework-res.apk with Virtuous Ten Studio
Can you help to change my background and to make it transparent
Thanks you so much.
P.S. It is a stock ROM Eclair - XPERIA X8
Code:
<style name="Theme.Wallpaper" parent="@style/Theme">
<item name="windowBackground">@color/transparent</item>
<item name="windowShowWallpaper">true</item>
<item name="colorBackgroundCacheHint">@null</item>
</style>
<style name="Theme.Wallpaper.NoTitleBar" parent="@style/Theme.Wallpaper">
<item name="windowNoTitle">true</item>
</style>
<style name="Theme.Wallpaper.NoTitleBar.Fullscreen" parent="@style/Theme.Wallpaper.NoTitleBar">
<item name="windowContentOverlay">@null</item>
<item name="windowFullscreen">true</item>
</style>
<style name="Theme.WallpaperSettings" parent="@style/Theme">
<item name="windowBackground">@drawable/screen_background_dark_transparent</item>
<item name="windowIsTranslucent">true</item>
<item name="windowAnimationStyle">@style/Animation.Translucent</item>
<item name="colorBackgroundCacheHint">@null</item>
</style>
<style name="Theme.Light.WallpaperSettings" parent="@style/Theme.Light">
<item name="windowBackground">@drawable/screen_background_light_transparent</item>
<item name="windowIsTranslucent">true</item>
<item name="windowAnimationStyle">@style/Animation.Translucent</item>
<item name="colorBackgroundCacheHint">@null</item>
</style>
Zoidroid said:
Sorry but I have always used ICS on my devices, no experience about Eclair.
If Eclair have a framework-res.apk send it to me, I can try to help you.
Bye!
Click to expand...
Click to collapse
My framework-res attached
bobgeneric said:
My framework-res attached
Click to expand...
Click to collapse
I've made this 2 versions on framework-res basing on my experience in ICS, not sure if will work.
Make a nandroid backup, clear cache and dalvik cache and flash attached files. Try first with version1 and check result, if it don't make transparency (for example in android settings menu) try with version2.
Link: version1 version2
Zoidroid said:
I've made this 2 versions on framework-res basing on my experience in ICS, not sure if will work.
Make a nandroid backup, clear cache and dalvik cache and flash attached files. Try first with version1 and check result, if it don't make transparency (for example in android settings menu) try with version2.
Link: version1 version2
Click to expand...
Click to collapse
Thank you so much!!
But don't work :crying:
Code:
E: Error in /sdcard/version.zip
(status 0)
Well, can you explain what did you?
bobgeneric said:
Thank you so much!!
But don't work :crying:
Code:
E: Error in /sdcard/version.zip
(status 0)
Well, can you explain what did you?
Click to expand...
Click to collapse
This appear as error in flashable zip, perhaps the location of framework-res on Eclair is different from what I have indicate in the zip.
Open in and extract the framework.res.apk from system/framework and replace the original in your phone (make your own flashable zip, use adb, ...).
When I will have a free cuple of time I will report the code line I have changed.
Bye!
Zoidroid said:
This appear as error in flashable zip, perhaps the location of framework-res on Eclair is different from what I have indicate in the zip.
Open in and extract the framework.res.apk from system/framework and replace the original in your phone (make your own flashable zip, use adb, ...).
When I will have a free cuple of time I will report the code line I have changed.
Bye!
Click to expand...
Click to collapse
:crying: dude... don't work the system rebooting.
Well, better update.
Thank you so much, pal!

[Q] How to remove list dividers in CM7.2 Contacts.apk

Hello, guys.
I'm trying to remove (or colour black like the background) all list dividers, vertical and horizontal, in all 4 "screens" of the Contacts app (Phone, Call Log, Contacts, Favorites). I've decompiled Contacts.apk, looked through most if not all XML files in it, but couldn't find anything relevant. Can you please lend me a hand?
Details:
HTC Desire PVT-4;
CyanogenMod 7.2.0.1;
Stock Cyanogen Contacts app.
I've attached two images highlighting exactly what i want to remove and Cyanogen's Contacts.apk.
Thanks in advance,
Alex.
Any ideeas, guys?
well if you get a cm7 theme you can get rid of some
and try decompiling framework res, phone, and or systemui
There png so unzip framework /contacts and make them transparent bro fastest way
Then zip
It up and push to phone
Rw
R
R
Sent from my Xperia Neo using xda premium
@-DarkKnight-: I don't want to use themes because i like the stock theme. I have managed to change most of the things i didn't like about it by editing framework-res and some system APKs, but this divider thing is driving me nuts.
@kormatoes: I could change all 9.png list dividers to transparent (from framework-res), but that would mean they'd go away from everywhere, and that's not what i want. I just want them removed from the Contacts APK. There is indeed a 9.png divider in the Contacts APK, but when i make it transparent (i know how to properly edit 9.png files), nothing happens. That's why i need some advanced help.
In the first image is it not btn_dial_normal in drawable-hdpi-finger ?
Edit: Had a look through your apk but I don't have any experence of cm7 and I kinda got lost in layouts for the second image just try adding these to your 'DialtactsTheme' in styles
Code:
<style name="DialtactsTheme" parent="@android:style/Theme">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:dividerHorizontal">@null</item>
<item name="android:dividerVertical">@null</item>
<item name="android:listDivider">@null</item>
</style>
Thanks, m1keyb. I'll try your suggestion and see if it works. I'll keep you posted.
Getting rid of the lines under the numbers on the dialer is btn_dial_normal.9.png in drawable-hdpi-finger, just open it in a file editor and erase it, save it and then put it in a zip and flash. I have attached a method I use and have set up. Just replace the system/app/Contacts.apk with yours without etracting it. When flashed it will erase your current contacts.apk on your phone and replace it with the one you put in the system/app folder on the zip. I use paint.net for my photo editing and haven't had any issues and notepad++ to edit docs when need be.
I forgot what the file name was to get the other line thing out but its in the zip, one of the little tiny ones im sure

[GUIDE][REF]Changing System Text Settings

Taking some time from theme to get all of this info out right now before I forget it. This is going to be a place to put system text edits and what they affect. Right now I only have a couple but will add to it as I go. As always feel free to add ones that you have found.
These mods were made by thebowers outside xda. I am sharing this with you
Click to expand...
Click to collapse
Things needed to accomplish these changes
Apk Manager
Click to expand...
Click to collapse
-
7-zip
Click to expand...
Click to collapse
Great tools for opening .apks and extracting them with out changing the extension.
framework-res.apk
Click to expand...
Click to collapse
from your phone (since it holds the system settings).
Getting started
Pull framework-res.apk from phone by using ADB or however you would like to do this.
Download and extract Apk Manager. I usually place this in the tools directory of the Android SDK. If you do this you need to set the environment path for the directory for aapt.exe of apktool.jar to work correctly.
Take the framework-res.apk and place it in the place-apk-here-for-modding folder withing the Apk Manager folder.
Click on Script.bat within the Apk Manager folder to open and run the tool.
Should ask you about clearing workspace and then something about finding ADB.Once you get passed those screens you should be at one that has number options.
For this walk through we are only concerned with the middle portion.
Now go to the Apk Manager folder and you should see an folder labelled "out". Open it to find your decompiled .apk
Go to the /res/values folder. Then go to a .xml file called styles.xml. Open this and any xml file that you decompile with notepad or notepad++
Select 9 and hit enter. It should tell you that it is decompiling the .apk. When it is done it will ask you to make a selection.
This is a big xml file which controls many aspects of the system. Don't worry I am not even going to try and explain things here. Just going to give you the areas I know and what to change.
Click to expand...
Click to collapse
Things within styles.xml that I know
First off is the text on buttons
Do a ctrl+f to bring up the find button.
Type widget.button and click find next. (hit find next 6 times)
You should now be at this portion of the .xml
Code:
<style name="Widget.Button" parent="@style/Widget">
<item name="textAppearance">?textAppearanceSmallInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center</item>
<item name="background">@drawable/btn_default</item>
<item name="focusable">true</item>
<item name="clickable">true</item>
</style>
Where it says primary_text_light (black) change to primary_text_dark (white).
Also you could delete the whole @Color/primary_text_light and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Next is the menu text (when you hit he soft key for menu)
Do ctrl + f and put in TextAppearance.Widget.IconMenu.Item and click find next.
You should now be at this area
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
Change textColorPrimaryInverse (black) to textColorPrimary (white and then black when pressed)
Also you could delete the whole ?textColorPrimary and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Keyboard text (the actually text on the soft keyboard keys)
Do ctrl + f and put in Widget.KeyboardView and click find next twice
You should now be at this section
Code:
<style name="Widget.KeyboardView" parent="@style/Widget">
<item name="background">@drawable/keyboard_background</item>
<item name="shadowColor">#bb000000</item>
<item name="shadowRadius">2.75</item>
<item name="keyBackground">@drawable/btn_keyboard_key</item>
<item name="keyTextSize">22.0sp</item>
<item name="labelTextSize">14.0sp</item>
<item name="keyTextColor">#ffffffff</item>
<item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
<item name="keyPreviewOffset">-12.0dip</item>
<item name="keyPreviewHeight">80.0dip</item>
<item name="verticalCorrection">-10.0dip</item>
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
</style>
Pretty simple, where it says keyTextColor, change that to whatever you want.
If you want to change the key text on the pop up or preview, that is located in /res/layout/keyboard_key_preview.
If that is all you need save and look down for the completing instructions.
Text highlight color
Do crtl + f and put (style name="TextAppearance") in the find box and click find next.
You should now be at this section.
Code:
<style name="TextAppearance">
<item name="textSize">16.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">?textColorPrimary</item>
<item name="textColorHighlight">#ffc0c0c0</item>
<item name="textColorHint">?textColorHint</item>
<item name="textColorLink">#ff5c5cff</item>
</style>
Just change the textColorHighlight to whatever color you desire.
If that is all you need save and look down for the completing instructions.
Edit Text (what shows when you type in any textfield like talk, facebook, twitter, and such)
Do crtl+F for Widget.EditText and hit find next twice.
You should now be at this area.
Code:
<style name="Widget.EditText" parent="@style/Widget">
<item name="textAppearance">?textAppearanceMediumInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center_vertical</item>
<item name="background">@drawable/edit_text</item>
<item name="focusable">true</item>
<item name="focusableInTouchMode">true</item>
<item name="clickable">true</item>
</style>
Where is says primary_text_light, you can change it to primary_text_dark for white text. Otherwise just do this "textColor">#ffff0000< that code is for red. Just replace with what color you want.
If you are done save and continue to finishing instructions.
Lockscreen Text
This is located in the /res/layout folder as keyguard_screen_tab_unlock.xml and keyguard_screen_tab_unlock_land.xml.
To help out I have added a color values string to the text areas (they don't have them by default)
Grab the Lockscreen Text xmls.zip found at the bottom. Unzip
Open these files in a Hex editor like HxD.
Do a hex-string search of 08 00 00 1c. The first one is for a background color skip it.
The next eight are for the text on the screen. By default I have them set at FF FF FF FF for white.
Just remember in hex editing the color values are backwards. Save the files and add to your framework-res.apk.
I will add more later. Just wanted to get these out right now.
Completing the process
Once you are done with that file don't forget to save.
Go back to the Apk Manager grey command prompt window.
Do option 11 to compile the .apk. When that is done it will change from compiling .apk to asking you to make a decision.
Then do option 12 to sign the .apk. This is very important. Forgetting to do this will result in a boot loop.
Now go to place-apk-here-for-modding folder within the Apk Manager folder. There should now be a new file called repackaged-signed.apk . Move this file to the desktop or somewhere to rename. Rename to framework-res.apk.
You now have a new framework-res.apk with the edits you did. Either add images and what not that you want to it or go ahead and push to phone by using ADB, an update.zip, MM theme format, or move to sdcard and use Root Explorer.
If you are going to add images use 7-zip to open the .apk as an archive and navigate to the appropriate folder. I haven't tried it but you should be able to put the image file in the appropriate folder before doing option 11 to compile. Just keep in mind that if they are .9 images they will need the guides on them. Since the folders are decompiled images within them until compiled.
Enjoy your need settings. Again if you know of anything in this file or some other usefully system text edits in the framework-res.apk, let me know.
If you liked this thread Press thanks button and Rate this thread 5 stars and and pressTip US​
reserved...............
Link To Some Of my Work!​​
How to update Baseband
How to change Android's background
How to use AROMA Installer
How to Downgrade Baseband
Theming Guide for changing system color settings
Custom ROMs
Backstreet MOD(Karbonn A5)​​
Some Other Important Threads
Walton Primo Gets ICS!
[Karbonn][A5][A7][Walton Primo]Official ICS released
[PETITION]Spice to release kernel source|GPLViolation|
[PETITION]Karbonn to release kernel source|GPLViolation|​
Great bro (Y)
iHarkunwar said:
Great bro (Y)
Click to expand...
Click to collapse
now post my guides to your blog it will help many members and give a link to this thread also.
Re: [GUIDE]Theming Guide for changing system text settings
https://docs.google.com/file/d/0B-Fun5vx9M9xTzJYclJ0czVobTg/edit
Touchwiz add on for MMX JB
By mrmad
Credits
Smalldookie
Me
Sent from my Samsung GT-S9081 using xda app-developers app
How to edit lockscreen option, not the text, but options on swiping
Anami101 said:
How to edit lockscreen option, not the text, but options on swiping
Click to expand...
Click to collapse
for that you have to edit many xml's and .smalii files in framework-res.apk
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
psychopac said:
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
Click to expand...
Click to collapse
I can but that is not my work so i will put it seperately
thanks, that'd be great!
Re: [GUIDE]Theming Guide for changing system text settings
Nice guide thanks
收件人: [GUIDE]Theming Guide for changing system text settings
good man
Sent from my HTC X515d using xda premium
tzpm said:
good man
Sent from my HTC X515d using xda premium
Click to expand...
Click to collapse
Its time for updating the thread i found more things and will include in the thread soon
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
iamareebjamal said:
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
Click to expand...
Click to collapse
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
GuneetAtwal said:
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
Click to expand...
Click to collapse
Well, I can't find credits in all of the thread
And I didn't say you copied it
iamareebjamal said:
Well, I can't find credits in all of the thread
And I didn't say you copied it
Click to expand...
Click to collapse
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
GuneetAtwal said:
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
Click to expand...
Click to collapse
So may I think you learnt what is written in this thread all on your own?
Nabs Zains said:
So may I think you learnt what is written in this thread all on your own?
Click to expand...
Click to collapse
Yeah it is my hard work bro
Even most of my guides are based on simple topic which is easy but rare to find an answer for a Newbie thats why i made these guides but now as i am leaving XDA soon with the release of Best ROM i wont be making more guides which i had planned
Edit: When i was a noob no one was there to reply me i don't know why so with time i learnt everything about this green Creature (Android )

[GUIDE][GB]Gradient_Statusbar[EXCLUSIVE]

Gradient Status Bar
For Gingerbread Roms​
Hello everyone, today I will show you how to get Kit Kat Gradient Status Bar on Gingerbread Roms. So, lets begin.
Requirements:
Windows/Linux
Apktool
7-zip.
Notepad++ for Editing xml in Windows
Gingerbread Rom (De-odexed) for SystemUI.apk
Resources (See Attachment)
Basic Compiling and Decompiling Knowledge.
Modding SystemUI.apk
Decompile your SystemUI.apk
Navigate to /SystemUI/res/layout/status_bar.xml
Now find this line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Now Change the Red marked line with this
Code:
android:background="@drawable/gradient"
Now copy the attached gradient.png to /SystemUI/res/drawable-mdpi
Recompile SystemUI.apk
Now open the Original SystemUI.apk using 7-zip
Now navigate to /SystemUI/build/apk and Drag the classes.dex to Original SystemUI.apk
Now navigate to /SystemUI/build/apk/res/drawable-mdpi and Drag gradient.png to Original SystemUI.apk
Push the Modded SystemUI.apk to /system/app
Thats it. Enjoy Gradient Status Bar on your Gingerbread.
XDA PORTAL
Don't forget to Hit Thanks
:good:good work
Great :laugh:
thank you.. gonna add gradients to my. next gb rom.. I've more white if you want I can share
Nice guide. :good:
Btw You can use xml method for the gradient statusbar, So that the users can change the opacity and color of their choice without any image editor. If you didn't understand you can take a look at gradient_bg.xml in SystemUI.zip from my guide.
i will definitely gonna try it on my ace with gb
happy new year in advance :laugh::good:
MuSaddiq said:
Nice guide. :good:
Btw You can use xml method for the gradient statusbar, So that the users can change the opacity and color of their choice without any image editor. If you didn't understand you can take a look at gradient_bg.xml in SystemUI.zip from my guide.
Click to expand...
Click to collapse
Yes, we can do that. But this one is much simple and the output will be same.
aditya rathee said:
i will definitely gonna try it on my ace with gb
happy new year in advance :laugh::good:
Click to expand...
Click to collapse
Happy new year to you also.
enricocid said:
thank you.. gonna add gradients to my. next gb rom.. I've more white if you want I can share
Click to expand...
Click to collapse
Yes you can share after all XDA is a place for sharing.
can it be used on ICS ROM
pravin.narote said:
can it be used on ICS ROM
Click to expand...
Click to collapse
It should work give a try.
kk9999gada said:
Yes, we can do that. But this one is much simple and the output will be the same.
Click to expand...
Click to collapse
Ya, the output will be same and this method is simple also but if the user wants to change the color of the gradient
In image method: He should use any photo editor.
In xml method: He should just change the hex color code.
Just a suggestion that you can edit the op and create 2 methods for this, Method 1 is image method and Method 2 is xml method.
Sent from my GT-S5360
MuSaddiq said:
Ya, the output will be same and this method is simple also but if the user wants to change the color of the gradient
In image method: He should use any photo editor.
In xml method: He should just change the hex color code.
Just a suggestion that you can edit the op and create 2 methods for this, Method 1 is image method and Method 2 is xml method.
Sent from my GT-S5360
Click to expand...
Click to collapse
Ok. Thanks I will add second method also.
@kk9999gada thanks buddy need more tweaks for ginger bread .... KEEP UP THE LEGACY
kk9999gada said:
Gradient Status Bar
For Gingerbread Roms​
Hello everyone, today I will show you how to get Kit Kat Gradient Status Bar on Gingerbread Roms. So, lets begin.
Requirements:
Windows/Linux
Apktool
7-zip.
Notepad++ for Editing xml in Windows
Gingerbread Rom for SystemUI.apk
Resources (See Attachment)
Basic Compiling and Decompiling Knowledge.
Modding SystemUI.apk
Decompile your SystemUI.apk
Navigate to /SystemUI/res/layout/status_bar.xml
Now find this line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Now Change the Red marked line with this
Code:
[COLOR="RoyalBlue"]android:background="@drawable/gradient"[/COLOR]
Now copy the attached gradient.png to /SystemUI/res/drawable-mdpi
Recompile SystemUI.apk
Now open the Original SystemUI.apk using 7-zip
Now navigate to /SystemUI/build/apk and Drag the classes.dex to Original SystemUI.apk
Now navigate to /SystemUI/build/apk/res/drawable-mdpi and Drag gradient.png to Original SystemUI.apk
Push the Modded SystemUI.apk to /system/app
Thats it. Enjoy Gradient Status Bar on your Gingerbread.
XDA PORTAL
Don't forget to Hit Thanks:good:
Click to expand...
Click to collapse
Hello, first thank you for this but I think this is not a full guide. I tried that but icons & words got blurred.. First do we need a transparency mod inside systemui smali files?
Erhany said:
Hello, first thank you for this but I think this is not a full guide. I tried that but icons & words got blurred.. First do we need a transparency mod inside systemui smali files?
Click to expand...
Click to collapse
There is no need to do modding with smali files for getting transparency. The icons are only for MDPI devices. I have resized the icons according to my device.
And please don't quote whole OP.
Helpp!!
Hey replaced my status bar background by ur png but i am not getting that kitkat look...
any idea to solve this??
I am on CM7 based rom on galaxy y...
TheStrix said:
Hey replaced my status bar background by ur png but i am not getting that kitkat look...
any idea to solve this??
I am on CM7 based rom on galaxy y...
Click to expand...
Click to collapse
Try these steps:
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
TheStrix said:
Hey replaced my status bar background by ur png but i am not getting that kitkat look...
any idea to solve this??
I am on CM7 based rom on galaxy y...
Click to expand...
Click to collapse
I guess you are using Holo Launcher.
If yes then go to Launcher Settings > Desktop Settings > Scroll to Bottom > Check Hide Shadows at top and bottom.
Now enjoy gradient status bar.
kk9999gada said:
I guess you are using Holo Launcher.
If yes then go to Launcher Settings > Desktop Settings > Scroll to Bottom > Uncheck Hide Shadows at top and bottom.
Now enjoy gradient status bar.
Click to expand...
Click to collapse
Thanks mate, done it successfully!!
But minor correction in ur step is tht we hav to 'check ' hide shadow option and not 'uncheck'
TheStrix said:
Thanks mate, done it successfully!!
But minor correction in ur step is tht we hav to 'check ' hide shadow option and not 'uncheck'
Click to expand...
Click to collapse
I am facing same problem in lockscreen too...
Can you tell me wat xml is of locksreen!??
TheStrix said:
I am facing same problem in lockscreen too...
Can you tell me wat xml is of locksreen!??
Click to expand...
Click to collapse
In Holo Locker > Change lockscreen tint to 0%.
Plus version of holo locker is required for this.

How to make full statusbar transparent on galaxy y duos (gt-s6102)

HOW TO MAKE SYSTEMUI FULL STATUSBAR TRANSPARENT ON GALAXY Y DUOS (GT-S6102)
Requirements:
apktool
gimp OR OTHER editor like photoshop
JRE (Java Runtime Environment)
Deodexed SystemUI.apk ---- you can flash zzzzz.zip from attachment below
YOU NEED TO MAKE YOUR LAUNCHER SUPPORTS TRANSPARENT or you can Download HOLO LAUNCHER or just download zzzzz.zip SUPPORT"S TRANSPARENT.! FILES in tHE ATTACHmENT BELoW..!
NOTE:If you don't know how to use apktool just google it.
Make bACKUP of your SystemUI.apk FIRST BEFORE YOu proCeed
res/drawable-ldpi
RENAME & EDIT:
title_bar_portrait.png >>>>>>> title_bar_portrait.9.png >>> make it landscape
statusbar_background.9.png >>>>>>> statusbar_background.png >>> make it landscape
status_bar_background.png >>> make it portrait
status_bar_close_on.png >>>>>>>> status_bar_close_on.9.png >>> RENAME ONLY
ADD:
gradient.
status_bar_header_background.9.png
status_bar_item_app_background_normal.9.png
status_bar_item_background_focus.9.png
status_bar_item_background_normal.9.png
status_bar_item_background_pressed.9.png
EDIT:
res/layout:
status_bar.xml >>>> first line replace:
Code:
android:background=
Change to:
Code:
android:background="@drawable/gradient"
status_bar_expanded.xml
Replace:
Code:
"@drawable/quickpanel_title_background"
With:
Code:
"@drawable/shade_header_background"
Replace:
Code:
"@drawable/quickpanel_title_background"
With:
Code:
"@drawable/shade_header_background"
Replace:
Code:
"@drawable/quickpanel_title_background"
With:
Code:
"@drawable/shade_header_background"
status_bar_tracking.xml
Replace:
Code:
android:background="#ff8e979f"
With:
Code:
android:background="@drawable/status_bar_background"
THIS IS MY FIRST THREAD SO PLEASE RESPECT ME AND HIT THANKS BuTToN :good: if THIS IS HELPFUL!! YOU CAN ALSO VOTE ON THE POLL ABOVE.
you can ask me if there's an error or what..
if you want an SIMPLE DISCRIPTION you can also download zzzzz.zip then flash it so you can make your statusbar transparent without any error.. :victory:
Sorry for my bad English..
Screen capture.!!
This are my screen shots!
tnks..!
OH THANKS FOR LIKING!! :victory: @blackgamerz22
Please reply iF mY THReaD is good :good: and work on your gt-s6102..
Vargaz.22 said:
OH THANKS FOR LIKING!! :victory: @blackgamerz22
Please reply iF mY THReaD is good :good: and work on your gt-s6102..
Click to expand...
Click to collapse
Thanks for this man
Nice..gonna try it out..
y dnt u try to make ur Rom transparent..it wil match ur status bar.... ..
SORRY!
Sorry but i think i have a wrong with this files i'll fix it so wait please wait.
wats error??
you cant do that with public.xml because not everyones public.xml will be the same
if they have modded things before they will have extra lines and so on so you cant say delete between here and there and replace with this
Also you cant tell someone to use those hex values
hex values relate to smali code and if you change them you also have to change the smali values too or it will force close or display something totally different
for example if I add a png to res/drawable-ldpi and recompile the apk it will add its hex value to the public.xml
you can then reference this hex value in smali to display the png - for example an image next to a volume slider
different frameworks may have different hex values in public.xml especially if things have already been modified and have had things added
In my experience the quicket way to make the statusbar transparent is just by adding a fully transparent png and then changing the android backgroud to a drawable value in status_bar.xml to reference that png
if you want to spend a little more time you can use the colour chooser smali and app so you can set your status bar colour and transparency level to what ever you want when ever you want without decompiling it everytime to change it
For cm7/9 its slightly different - you have to mod some smali and do other things
Working or not??
Himan Boro said:
wats error??
Click to expand...
Click to collapse
Did you try this and you don't get any error??
what rom do you use or did your systemui.apk are modded??
YES!
marcussmith2626 said:
you cant do that with public.xml because not everyones public.xml will be the same
if they have modded things before they will have extra lines and so on so you cant say delete between here and there and replace with this
Also you cant tell someone to use those hex values
hex values relate to smali code and if you change them you also have to change the smali values too or it will force close or display something totally different
for example if I add a png to res/drawable-ldpi and recompile the apk it will add its hex value to the public.xml
you can then reference this hex value in smali to display the png - for example an image next to a volume slider
different frameworks may have different hex values in public.xml especially if things have already been modified and have had things added
yah i know that Sir, that's why i said i'll fix it..
In my experience the quicket way to make the statusbar transparent is just by adding a fully transparent png and then changing the android backgroud to a drawable value in status_bar.xml to reference that png
if you want to spend a little more time you can use the colour chooser smali and app so you can set your status bar colour and transparency level to what ever you want when ever you want without decompiling it everytime to change it
For cm7/9 its slightly different - you have to mod some smali and do other things
Click to expand...
Click to collapse
yah i know that Sir, that's why i said i'll fix it..
i'll ask them to just use my files and flash it to make their systemui deodexed and customized
Hit IT!
JoyLobo said:
Thanks for this man
Click to expand...
Click to collapse
don't just say it Sir HIT IT!!
Hit LIKE :good: and please rate and vote Sir.!~ at the Bottom of the thread there's vote pole and ratings.. just rate it if you like it..!
YES!!
@blackgamerz22 i see.
Add Custom Strings To Status Bar!
Code:
http://forum.xda-developers.com/showthread.php?p=46298824#post46298824
Credits goes to @marcussmith2626 and @EnricoD
Screen Shots!!!
yEH!
Himan Boro said:
Nice..gonna try it out..
y dnt u try to make ur Rom transparent..it wil match ur status bar.... ..
Click to expand...
Click to collapse
i see ur threads and post and im working on it..
Making my first custom rom transparent wooh amazing..

Categories

Resources