[GUIDE][15 AUG] How To Colorize Lock Screen Clock in Jellybean - Android Themes

Here is a guide how to colorize lock screen clock in JellyBean.
1. Download attached apktools.zip and unpack it on your computer (make sure there are NO spaces in folder names!)
2. Copie framework-res.apk to same folder.
3. Navigate to this folder in your work station, press SHIFT ang right click and in contex menu -> "open command from here".
4. Now we have to install fist the framework-res (U have to do this only once for each rom!) by typing following command:
Code:
java -jar apktool.jar if framework-res.apk
5. For decompiling framework-res.apk:
Code:
java -jar apktool.jar d framework-res.apk
6. Now there should be a folder named "framework-res".
7. Navigate to framework-res\res\values\ and open colors.xml with a text editor and search for:
Code:
<color name="lockscreen_clock_background">#ff33b5e5</color>
<color name="lockscreen_clock_foreground">#ff33b5e5</color>
<color name="lockscreen_clock_am_pm">#ff33b5e5</color>
8. Now you can edit color with what ever U want. In my case it is ICS blue.
9. Save changes and navigate back to apktools root folder.
10. Now for compiling framework-res again open command as mentioned in 3. and type:
Code:
java -jar apktool.jar b framework-res
11. Compiled framework-res.apk should now be in \framework-res\dist\ (be patient...could take a few minutes)
12. Last but not least you have to sign framework-res.apk. I always sign apk's with Android Commander and never had any issues.
There are also two .zip's attached which can be used to flash framework-res via CWM. One for patched and one for original file (in the case there went something wrong).
Tested on Win7 64bit!
{
"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"
}

Very Nice! Which property changes the color of the date and "charging" text?

I believe I am supposed to get framework-res.apk from my ROM but I don't see it. Where do I find it?

Idyar said:
I believe I am supposed to get framework-res.apk from my ROM but I don't see it. Where do I find it?
Click to expand...
Click to collapse
/system/framework/...
Sent from my paranoid phone's mind

Related

Activate CRT Animation

I wanna share about Activate CRT Animation on this forum
{
"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"
}
Your HH has been rooted.
Go to system, there's build.prop
Tap and hold on the file. Then, Open in Text Editor.
*Don't forget to mount r/w system on right side.
Find :
debug.sf.hw=1
Give # into it
So, it can be like this :
#debug.sf.hw=1
Up next,
U need to decompile framework-res.apk with APKTOOL that u can download here
*Don't forget to backup your data, if there something that u don't want it happens
After u downloaded it, go extract it into a directory that u wanna, and name it APKTOOL.
Then, u use command prompt.bat file on the folder.
Type these commands :
apktool if framework-res.apk
apktool d framework-res.apk
After u decompiled it, u find bools.xml on folder res/value, u search line :
<bool name="config_animateScreenLights">true</bool>
Change true to false
<bool name="config_animateScreenLights">false</bool>
After u edited the data, u go back to operate command prompt.bat
Then, type :
apktool b framework-res
Have a look folder build.
U'll find file resources.arsc and other folders (Go to folder res, find file u edited).
Drag it into framework-res.apk
May this help ya!
CMIIW ^_^
Would this work on the incredible? Kind of a noob..sorry.
jksigmon said:
Would this work on the incredible? Kind of a noob..sorry.
Click to expand...
Click to collapse
I think it is.
Cause it's a base of activating
I tried to compile but, there isn't values folder.
Command Prompt shows:
W: Could not find sources.
And then compile files without it.
What i can do?
Unn113 said:
I tried to compile but, there isn't values folder.
Command Prompt shows:
W: Could not find sources.
And then compile files without it.
What i can do?
Click to expand...
Click to collapse
do u use Linux OS?
and use terminal?
I use Windows 7 and also don't see any values folder. In fact no such folder exists in the original .apk file either.
It seems whatever is in value folder being saved into resourses.arsc file
[email protected] said:
I use Windows 7 and also don't see any values folder. In fact no such folder exists in the original .apk file either.
It seems whatever is in value folder being saved into resourses.arsc file
Click to expand...
Click to collapse
value folder can be found in res folder.
Like on this picture :
and build folder (results of compiled apk) like this :
I am trying to do this for stock rom on Froyo.
There is no line called <bool name="config_animateScreenLights">false</bool> in Bool.xml, can I just add it?
Also, can you help me understand what to do after I rebuild? Which folders or files to do I need? How do I add it back to framwork-res.apk?
Thank you!

[Tutorial][VIDEO] Add/integrate apps into Settings app!

Hello!
I wanted to make this little tutorial since many people wounder how to add certain apps to settings app
Things you will need
Apktool: http://forum.xda-developers.com/showthread.php?t=1755243
Notepad++: http://notepad-plus-plus.org/download/v6.3.2.html
The procedure
Video tutorial http://www.youtube.com/watch?v=75ZzDs3seqw
1: Download and extract apktool into a folder
{
"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"
}
2: Extract Settings.apk and framework-res.apk from your ROM to the apktool folder
3: Open up cmd and go to the APKtool folder
4: Install the framework
5: Put the app you want to add in the apktool folder then decompile Settings and the app
6: Open the settings folder and navigate to /res/values and open Strings.xml with notepad++
7: Add the name of the app furthest down
8: Navigate to /res/xml and open settings_headers.xml
9: Add this
Code:
<header android:icon="@drawable/..." android:title="@string/...">
<intent android:targetPackage="..." android:action="android.intent.action.MAIN" android:targetClass="..." />
</header>
10: navigate to the decompile app you want to add and open androidmanifest.xml
11: Copy the name at the top
12: Then paste here
13: Hold on your screen and select shortcuts
14: Choose activities
15: Scrool to the app and then press it
16: Enter what you found there here
18: Choose a name for the icon you will be using
19: Go to the app you will be adding and navigate to /res/drawable-****
20: Copy the icon to Settings/res/drawable-**** and rename it to what you put in the XML file
21: And now lets build it
22: When the building is done navigate to Settings/dist/ adn there is you new Settings app
I will add a zip in the attachments, just put the Settings app in /system/app/ folder in the zip then move it to your phone and flash it
thxxx bro, great work
Sent from my LG-P970 using xda app-developers app
thanks for your work!!
a video tutorial would be amazing!!
be possible?
thanks!!
blatecktonik said:
thanks for your work!!
a video tutorial would be amazing!!
be possible?
thanks!!
Click to expand...
Click to collapse
Maby
Sent from my LG-P970 using xda app-developers app
Video is up

[GUIDE][HOW-TO] Use an custom image as Android System background in KitKat

With the new KitKat update, Android uses black color as System background. In JellyBean,it used to be a png image which reside in framework/drawable folder. But in KitKat, png has been removed and now it uses solid black color. Here's a method to use custom image 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 custom png here and rename it to tw_background_holo_dark.png
5.Now recompile
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"
}
Hi.
You are missing some info:
Replace this line-
with this-
What should I replace?
Thx
mannyvinny said:
With the new KitKat update, Android uses black color as System background. In JellyBean,it used to be a png image which reside in framework/drawable folder. But in KitKat, png has been removed and now it uses solid black color. Here's a method to use custom image instead of black color.
1.Decompile framework-res.apk
2.Open drawable folder and find this xml file-
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 custom png here and rename it to tw_background_holo_dark.png
5.Now recompile
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-
Click to expand...
Click to collapse
You missed something I guess
Replace what with what????
Sent from my GT-S6810P using xda-developers.com, powered by appyet.com

[GUIDE] How to port click/tap lollipop on 4.4.x rom

Hello to all. I want to share the guide for lollipop animation tap.
Let's Go !
{
"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"
}
1) Apktool or Advanced Apktool version 4.1.0 recommended.
2)Install your Framework-res.apk & TwFramework-res.apk
3)Decompile Framework-res.apk and go to res/drawable
4)Copy my xml on drawable
5)Copy my xml on drawable-sw360dp-xhdpi or xxhdpi or xxxhdpi
6)Copy the png on drawable sw360dp and Drawable-xhdpi or xxhdpi or xxxhdpi (Depend of your framework)
(The png working with all resolution)
7)Finish,Recompile the apk.​
​
Thanks:
@Gabri™ @letalBladeTigre : http://letalbladetigre.wix.com/twl-inspiredrom
not working.
Its installation guide, okay?
drawable-sw360dp- folder in my case did not appear in the Framework
Casper1982 said:
not working.
Its installation guide, okay?
drawable-sw360dp- folder in my case did not appear in the Framework
Click to expand...
Click to collapse
See my photo. Impossible drawable sw360dp it's on all Framework-res.apk
I using CM11 4.4.4 by Quarx
But.... The folder drawable-sw360dp not appear in my framework-res.apk ...
I've decompiled several times, with different apk tools, and thus, is still missing ... is very rare it ..
I using tw don't know.
Casper1982 said:
I using CM11 4.4.4 by Quarx
But.... The folder drawable-sw360dp not appear in my framework-res.apk ...
I've decompiled several times, with different apk tools, and thus, is still missing ... is very rare it ..
Click to expand...
Click to collapse
i hope this can help ,
- skip folder drawable-sw360dp and drawable/tw_list_selector_holo_light.xml from source,.
- just merge drawable/frame_click.xml from source to folder drawable and also all .png from source (drawable-xhdpi).
- then open framework-res.apk/res/drawable/list_selector_holo_dark.xml and change this line (there are two lines)
Code:
android:drawable="@drawable/list_selector_background_transition_holo_dark"
to
Code:
android:drawable="@drawable/frame_click"
- save
done
qoejohn
i hope this can help ,
- skip folder drawable-sw360dp and drawable/tw_list_selector_holo_light.xml from source,.
- just merge drawable/frame_click.xml from source to folder drawable and also all .png from source (drawable-xhdpi).
- then open framework-res.apk/res/drawable/list_selector_holo_dark.xml and change this line (there are two lines)
Code:
android:drawable="@drawable/list_selector_background_transition_holo_dark"
to
Code:
android:drawable="@drawable/frame_click"
- save
done
Quote:
sorry my bad english
Click to expand...
Click to collapse
thanks... but not working
Casper1982 said:
thanks... but not working
Click to expand...
Click to collapse
check these http://forum.xda-developers.com/showpost.php?p=60314173&postcount=1
tested on me and work ..
Ripple Effects?
安卓小楼阁 不忘初心 感谢有你

[ROOT] Enable Pixel Icons on Any Launcher without losing icon layout.

Info
This will allow you to get the icons from the google pixel on your phone.
Not all apps are supported as the app has to provide a separate round icon.
Video tutorial coming soon.
TOOLS
Java: https://java.com/en/download/
Root Browser: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
Apktool: https://ibotpeaches.github.io/Apktool/
INSTRUCTIONS
Copy \root\system\framework\firmware-res.apk onto your computer, you might want to make a backup.
On your computer download apktool.jar and place it in the same location as your firmware-res.apk file.
Open CMD and navigate to the location of firmware-res.apk and apktool.jar
Type this in CMD.
Code:
java -jar apktool.jar d framework-res.apk
On your computer navigate to \framework-res\res\values\ and open bools.xml.
Look for
Code:
<bool name="config_useRoundIcon">fasle</bool>
and set it to true.
Go back to cmd and type
Code:
java -jar apktool.jar b framework-res -c
Copy the new firmware-res.apk from framework-res\dist\ onto your device and paste it in \root\system\framework\ you may need to do this in recovery.
Restart your device.
View the correct instructions for your launcher.
Pixel Launcher
On your device navigate to /data/data/com.google.android.apps.nexuslauncher/databases/
Google Now Launcher
On your device navigate to /data/data/com.google.android.launcher/databases/
Action Launcher
On your device navigate to /data/data/com.actionlauncher.playstore/databases/
Nova Launcher
On your device navigate to /data/data/com.teslacoilsw.launcher/databases/
Other Launchers
On your device navigate to /data/data/[Launcher Bundle-ID/Package Name]/databases/
Then delete app_icons.db and restart your device.
Notes
If you cannot find the location of app_icons.db then go to settings - apps - your launcher and clear all app data but doing this will lose icon layout.
If you cannot find <bool name="config_useRoundIcon">fasle</bool> then you are probably an incompatible version of android and the only option is to use an icon pack.
Screenshots (Before/After)
{
"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"
}
Reserved
Thanks So Much Can You Make an Extensive Guide On How To Make System UI Mods (Edit framework.red apk and Also SystemUI.apk ) For Increasing No. of Rows and Columns On Quick Settings and Also Center Clock
That Would be Really Appreciated
After Recompile and sign, my device boot loop (Lineage OS 14.1) help....
galofa said:
After Recompile and sign, my device boot loop (Lineage OS 14.1) help....
Click to expand...
Click to collapse
re-flash Lineage os, that should fix it, then send me your stock one and il modify it
parth_kalsi said:
Thanks So Much Can You Make an Extensive Guide On How To Make System UI Mods (Edit framework.red apk and Also SystemUI.apk ) For Increasing No. of Rows and Columns On Quick Settings and Also Center Clock
That Would be Really Appreciated
Click to expand...
Click to collapse
il take a look into it

Categories

Resources