Google Allows Search Queries To Interact With Apps

Android 5.0 Lollipop brings lots of new features that are quite useful for end users and … more

Lenovo Officially Owns Motorola, Following ~$3 Billion Deal

Google is now officially no longer the owner of American phone manufacturer … more

Microsoft Band Fitness Tracker Announced, Available

The wearable market has been around for a few years, with Pebble and Samsung smartwatches … more

Forums Added for the Oppo R5, Oppo N3, and Xiaomi Redmi Note

Just yesterday, Oppo unveiled a pair of rather unique smartphones, the Oppo … more
Post Reply

[GUIDE][HOW-TO] Use custom image as Android system background[TW+AOSP]

OP mannyvinny

23rd April 2014, 01:08 PM   |  #1  
mannyvinny's Avatar
OP Recognized Contributor
Flag Varanasi
Thanks Meter: 4,419
 
2,768 posts
Join Date:Joined: Oct 2012
Donate to Me
More

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-

Quote:

tw_background_holo_dark.xml

Replace this line-
with this-
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-



The Following User Says Thank You to mannyvinny For This Useful Post: [ View ]
1st September 2014, 02:34 PM   |  #2  
Senior Member
Flag MILAN
Thanks Meter: 129
 
384 posts
Join Date:Joined: Apr 2012
More
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.
1st September 2014, 10:47 PM   |  #3  
Senior Member
Flag MILAN
Thanks Meter: 129
 
384 posts
Join Date:Joined: Apr 2012
More
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.
2nd September 2014, 03:00 PM   |  #4  
Junior Member
Thanks Meter: 1
 
17 posts
Join Date:Joined: Dec 2010
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.
6th September 2014, 06:41 PM   |  #5  
Junior Member
Flag Gujrat
Thanks Meter: 1
 
23 posts
Join Date:Joined: Jun 2012
More
nice one bro
10th September 2014, 10:54 PM   |  #6  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: Sep 2014
Kudos
I'll try it later.
17th September 2014, 03:15 PM   |  #7  
Strawberry_dev's Avatar
Junior Member
Thanks Meter: 4
 
12 posts
Join Date:Joined: Sep 2014
More
Very useful guide! thx
18th September 2014, 05:36 AM   |  #8  
Member
Thanks Meter: 26
 
40 posts
Join Date:Joined: Sep 2014
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?
18th September 2014, 04:26 PM   |  #9  
zaga1981's Avatar
Member
Flag İSTANBUL
Thanks Meter: 1
 
53 posts
Join Date:Joined: Jul 2014
More
10th October 2014, 02:15 PM   |  #10  
Bubbajoe40356's Avatar
Recognized Themer
Flag Nicholasville
Thanks Meter: 5,613
 
3,767 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Nice work

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy Note II General by ThreadRank