With the new KitKat update, Android uses black color as System background. In JellyBean,it used to be a png image which resides in framework/drawable folder. But in KitKat, that png has been removed and now it uses solid black color. So here's a method to use custom image as your system background instead of black color.
1.Decompile framework-res.apk
2.Open drawable folder and find this xml file-
tw_background_holo_dark.xml
Click to expand...
Click to collapse
Replace this line-
Code:
with this-
Code:
[COLOR="Red"][/COLOR]
3.Now navigate to res\drawable-sw360dp-xhdpi (it may be xxhdpi for high-res devices)
4.Paste your png file here and rename it to tw_background_holo_dark.png
5.Now recompile framework-res.apk
6.Finally push META-INF and Android Manifest.xml in your compiled apk and then zip align it.
Here's a screenshot from my 4.4.2 TW KitKat ROM-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Missing line?
Sorry, I just can read
Replace this line-
with this-
Can you share the code, please?
Tried 3 or 4 times by myself, but something went wrong (though I had been able to recompile the apk).
Thanks.
Never mind, I did it by myself, though I faced some errors in recompiling.
Anyway, I just had to decompile the framework, remove tw_backgroubd_holo.xml, add the corresponding png file into the drawable folder and recompile and it worked.
Hi! I can't read the lines either...
Would anyone be kind enough to fill in the OP's blanks? Would be very helpful, thanks.
nice one bro
Kudos
I'll try it later.
Very useful guide! thx
nice
Its cool
---------- Post added at 04:36 AM ---------- Previous post was at 04:28 AM ----------
Can't it be dont by using wanam? Xposed module. Wanam - theme - system holo background?
:good:
Nice work
Related
Anyone else tired of the Sub-par quality in the backgrounds you get when resizing them for TF3D....I Have converted and re sized some wallpapers while maintaining a good quality Background, I was happy with the results and figured i would share them with the community....
Any comments or replies, even requests would be appreciated
included are the raw files the converted file and the manila file, so no need to edit using manila editor. Just copy your favorite to the Windows directory
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
which file i need to copy?
i tried to copy one of the *****manila file to WINDOWS directory and didnt get any resault.
do i need to copy another file?
ishaked said:
i tried to copy one of the *****manila file to WINDOWS directory and didnt get any resault.
do i need to copy another file?
Click to expand...
Click to collapse
you can download the .zip attached and all files are included there....if you saved them directly off the post you need to use manila editor to edit your current background
Have you already did the background4All mod?
great work
I gonne use them and love to see more manila backgrounds.
if you need more wallpapers you can use mine.
JSZESZE said:
you can download the .zip attached and all files are included there....if you saved them directly off the post you need to use manila editor to edit your current background
Have you already did the background4All mod?
Click to expand...
Click to collapse
i didnt install b4all because it didnt work on my device.
i must have it to use those background?
I have been searching around for a suitable theme for cm7, thou I found some really great looking theme out there, there is always something I like or don't like. So I thought I start a little project of my own to customize the theme myself.
I have been studying the framework.apk last night, but I am still not sure which file to change, because the naming is not too definitive to me. So I was wondering any theme builder out there can help me. Hopefully compile a guide for future beginners at some point as well.
The screenshot below with four different colour bracket is the parts I want to change, it would be so kind if someone can take a few minutes of their time to explain it to me with file I need to edit for each section.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Red: power toggle background
Blue: power toggle icons
Green: Notification item background
Yellow: Bottom tab.
With friendly greeting
/system/framework/framework-res.apk
Under /res/drawable-hdpi in the apk
The top bar icons are stat_
e.g. stat_battery36.png etc
Most of the images are in framework-res.apk so just have a look through there. You will need to decompile the apk to edit xml files for that search apktool
i heard that you can just add a .zip extension onto the apk file then you can just edit them there.
Or perhaps I am wrong, because once I change it to a zip file, I can't change it bk to apk even I rename the extension.
I am on a Mac, not sure if thats has anything to do with it.
thanks
Hello there
I try to make a theme for the Rascream rom and i have some problems with XML editing and from what i see i'm not the only one with this problem.
I actually try to change colors of the text and a line in popup menu, but every time i recompile the framework-res apk with modified values, the statusbar and the lockscreen are deformated (look the screenshot)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I try to change the blue text and line in this screen to white...
Is here someone can help with this problem. This is the only thing i need to change for finish the theme. I try all i find over the internet, but without success.
No one?
Sometimes xml editing involves adding new lines to overlay others somewhere else. With ics ive noticed in arrays there are theme statements which change cursors, texts, and borders just from one change to the statement. Maybe check some source on the reboot options to narrow it down. Are you editing source or decompiling framework-res.apk?
But if i change any line i have everytime the same error.
I decompile the esisting framework-res.
Tnx for the help realy
On the road with my Nexus S...
klinkerkp said:
But if i change any line i have everytime the same error.
I decompile the esisting framework-res.
Tnx for the help realy
On the road with my Nexus S...
Click to expand...
Click to collapse
Pm sent!
Sent from my DarkICE Skanky CM9 Gnex using the app!
I'm new to theming/modifying, and can't find the png which is background of ongoing notifications
Can someone help me please?
I'm on cm7 rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Harpratap said:
I'm new to theming/modifying, and can't find the png which is background of ongoing notifications
Can someone help me please?
I'm on cm7 rom.
Click to expand...
Click to collapse
its on the framework-res
joshclaudio said:
its on the framework-res
Click to expand...
Click to collapse
I'm really confused which one of them it is. Can you tell me the name of the png file please?
I have tried changing a few files, but its not the ongoing notification background :/
Harpratap said:
I'm really confused which one of them it is. Can you tell me the name of the png file please?
I have tried changing a few files, but its not the ongoing notification background :/
Click to expand...
Click to collapse
What files have you changed?
try to change status_bar_item_background_normal
***EDIT***
Decompile your SystemUI.apk
open /res/layout/status_bar_latest_event.xml
Find the line with android:background
The value is the path of the image.
For example, the line is android:background="@android:drawable/status_bar_item_background"
It's either in the framework-res/res/drawable
or framework-res/res/drawable-ldpi
If you've found it in the drawable folder, open the xml file, the values are the path to the actual .png image
joshclaudio said:
What files have you changed?
try to change status_bar_item_background_normal
***EDIT***
Decompile your SystemUI.apk
open /res/layout/status_bar_latest_event.xml
Find the line with android:background
The value is the path of the image.
For example, the line is android:background="@android:drawable/status_bar_item_background"
It's either in the framework-res/res/drawable
or framework-res/res/drawable-ldpi
If you've found it in the drawable folder, open the xml file, the values are the path to the actual .png image
Click to expand...
Click to collapse
thanks :good: got it
Harpratap said:
thanks :good: got it
Click to expand...
Click to collapse
My pleasure. Goodluck
Hey there..... Yes you
This is a small (maybe) guide for changing rom logo in about phone (Settings).
Ok lets get started.
Requirements: x-plore file manager http://www.mediafire.com/download/ze...ox/X-plore.apk
Any photo editor which can conver images into . Png format. ( i use pixler express)
Instructions:
1.First using photo editor convert the photo which u want to use. Make sure the resulution of that image is as low as possible.
2. copy the Settings.apk from system/priv-app to root folder of sdcard.
3. Open x-plore and browse for Settings you copied earlier in second tab (reffer screen shots in 2nd post)and long press on It and select open apk as zip.
4. Goto res/ and browse for the original rom logo and rename your image exactly as original logo.
5. Copy your image into the folder where original logo is.
6. Now you have to sign the moded Settings.apk for that open original Settings.apk as zip from system /priv-app, and copy the meta-inf and android mainfest.xml to moded Settings.apk.
7. Now push your Settings.apk into system /priv-app /Settings.
8 reboot.done
Please reffer to screen shots below for better understanding
screenshots
Taken on my secondary device redmi 1s . but the process is same.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}