[Tutorial] Colorize Ram,battery and Data Usage Bar in Settings.apk - Xperia Arc Themes and Apps

Hi Geeks ​
Here's a small tutorial to provide colorization to Battery,Data Usage and Ram bar
Requirements:
1. Apktool or derivatives
2. Settings.apk
3. A good text editor
4.A framework with colorizable support . Link for framework . || Link for tut by BDFreak
5. Little common sense,as always
Click to expand...
Click to collapse
Tutorial:
1. Decompile Settings.apk
2. Download the Tutorial.zip in attachments View attachment Color_Settings_tut.zip
3. Replace the LinearColorBar.smali from downloads into your smali\com\android\settings\applications folder
4. Place the sonymobile folder inside smali\com.
This will make your Ram Curve color changing according to theme accent.
5. Now, downloaded zip inside resources and paste the three pngs inside res drawable-nodpi or drawable-hdpi folder of your Settings.
semc_progress_bg_holo_dark.9.png
semc_progress_primary_holo_dark_colored.9.png
semc_progress_secondary_holo_dark_colored.9.png
Click to expand...
Click to collapse
6. Now, go to res/drawable folder and open data_usage_bar.xml and replace everything with this code
PHP:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background" android:drawable="@drawable/semc_progress_bg_holo_dark" />
<item android:id="@android:id/secondaryProgress">
<scale android:drawable="@drawable/semc_progress_secondary_holo_dark" android:scaleWidth="100%" />
</item>
<item android:id="@android:id/progress">
<scale android:drawable="@drawable/semc_progress_primary_holo_dark" android:scaleWidth="100%" />
</item>
</layer-list>
7. Now write a NEW xml named semc_progress_primary_holo_dark.xml inside res/drawable and paste the code
PHP:
<?xml version="1.0" encoding="utf-8"?>
<colorizable android:drawable="@drawable/semc_progress_primary_holo_dark_colored" android:color="@color/theme_accent"
xmlns:android="http://schemas.android.com/apk/res/android" />
8. Now write a NEW xml named semc_progress_secondary_holo_dark.xml inside res/drawable and paste the code
PHP:
<?xml version="1.0" encoding="utf-8"?>
<colorizable android:drawable="@drawable/semc_progress_secondary_holo_dark_colored" android:color="@color/theme_accent"
xmlns:android="http://schemas.android.com/apk/res/android" />
This will add colorization for the battery and data usage bar.
9. Go to res/values/colors.xml and add this color
PHP:
<color name="theme_accent">@com.sonyericsson.uxp:color/semc_theme_accent_color</color>
10. Open apktool.yml and it should have the following code
Code:
...
usesFramework:
ids:
- 1
[COLOR="Red"]- 2[/COLOR]
...
For an apk to take colorizable attributes from SemcGeneric it should be declared in apktool.yml.
Here -2 ids means SemcGenricUxpRes.apk
9. Recompile Settings.apk and Done!
Click to expand...
Click to collapse
Screenshots:
{
"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"
}
Click to expand...
Click to collapse
Hit Thanks if you like my work and always mention in credits when you use it! ​

Interesting tutorial. I will try it on Fluorescent Feather and tell you if it works .

You rock dude. Nice tutorial. And useful too. Keep giving us such things.

Nice tutorial, already implemented on Nextgen update

Nice Tutorial bro... :good: :highfive:

karandpr said:
Interesting tutorial. I will try it on Fluorescent Feather and tell you if it works .
Click to expand...
Click to collapse
Am waiting for your respose
BDFreak said:
You rock dude. Nice tutorial. And useful too. Keep giving us such things.
Click to expand...
Click to collapse
Thank you Bd,your tuts also helped!
Ayush Singh said:
Nice tutorial, already implemented on Nextgen update
Click to expand...
Click to collapse
Wow! Thats amazing.
Aneel said:
Nice Tutorial bro... :good: :highfive:
Click to expand...
Click to collapse
Thank you

Aweeeeeeeeeesome tutorial.
Definitely one to try.
PS: Can you make a tutorial on colorized check boxes/radio buttons?

NeoTrix said:
Aweeeeeeeeeesome tutorial.
Definitely one to try.
PS: Can you make a tutorial on colorized check boxes/radio buttons?
Click to expand...
Click to collapse
Refer to the tut by BdFreak linked in the OP
That should help

Not managed to make the tut. Can you help me? :crying:

nice tutor bro...thanks...

I still can not :/
Sent from my C5303 using XDA Free mobile app

I've tried it but it did not work for samsung galaxy young s6310 4.1 jb
please guide for touchwiz 4.1 jb..

takurcuy69 said:
I've tried it but it did not work for samsung galaxy young s6310 4.1 jb
please guide for touchwiz 4.1 jb..
Click to expand...
Click to collapse
Its for Xperia Devices mate
Needs an Xperia Framework

nice

Related

[GUIDE][ICS] Custom Carrier Label for Stock / Stock Based ROM

I just found the trick to manipulate carrier label on notification bar when I'm exploring decompiled stock based SystemUI.apk..
Wanna know how to do that ??
Check this out :
Here I'm using lidroid's modified SystemUI, should work on other stock based SystemUI
First you need to decompile your SystemUI.apk
Open res/layout/status_bar_tracking.xml with any good xml editor (here I'm using NP++)
Find this line:
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff33b5e5" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
and change to:
Code:
<textView android:text="@string/carrier_label" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff33b5e5" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
Save
Now open res/values/strings.xml
Add this line above </resources> :
Code:
<string name="carrier_label">ENTER_YOUR_COOLEST_TEXT_HERE</string>
so it'll be looked a like this:
Code:
<string name="carrier_label">ENTER_YOUR_COOLEST_TEXT_HERE</string>
</resources>
p.s. : change the ENTER_YOUR_COOLEST_TEXT_HERE with your desired label
Now save
Recompile (build) your SystemUI.apk
Push to your phone and you are.......
Done !!
The result will be looked like this :
{
"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"
}
Mine :
Remember to
ALWAYS MAKE BACKUP !!
before doing anything above..
I don't responsible of any negative things like bootloop, bricked device, burned SD card, you late to go to school, or the third world war caused by the guide above..
You have been warned !!
Click to expand...
Click to collapse
Good luck..
thanks for sharing here at arc forums
Sent from my LT15i using Tapatalk 2
think this is nice.
Transparent States
hello
Any Guide to get transparent states Bar
gonemad02 said:
thanks for sharing here at arc forums
Sent from my LT15i using Tapatalk 2
Click to expand...
Click to collapse
no prob mate,
it nice to share things with other..
chauhanjayc said:
hello
Any Guide to get transparent states Bar
Click to expand...
Click to collapse
check ur status bar while lockscreen..
does ur status bar hid it's clock in lockscreen and show it again when ur phone unlocked ??
if yes then it's impossible to make it transparent (at least for me),
i've tried thousand times and using thousand tricks on the status bar like that but no luck..
if u'r not sure with my statement above, just attach ur SystemUI and i'll check whether i can make it transparent or not..
iiandskater said:
no prob mate,
it nice to share things with other..
check ur status bar while lockscreen..
does ur status bar hid it's clock in lockscreen and show it again when ur phone unlocked ??
if yes then it's impossible to make it transparent (at least for me),
i've tried thousand times and using thousand tricks on the status bar like that but no luck..
if u'r not sure with my statement above, just attach ur SystemUI and i'll check whether i can make it transparent or not..
Click to expand...
Click to collapse
attaching my systemUI
chauhanjayc said:
attaching my systemUI
Click to expand...
Click to collapse
sorry..
ur SystemUI hides it's clock in lockscreen (same as mine),
i can't make it transparent..
There's an app you can use for that.
No need to decompile SystemUI.apk
http://forum.xda-developers.com/showthread.php?t=901865
I'm using it right now on my arc
Excuse me
Did you know how to modify xperia phone stock lockscreen carrier label?
Is in framework-res?
Thanks your guide, It simple work for me. :good:

[TUTORIAL] How to Decomplie/Recompile SemcGenericUxpRes.apk [15/3/2013]

Many of us having problem with this SemcGenericUxpRes.apk
All of us can decompile it but some of us having problem in recompile it even if we didn't change anything.
We got that error everytime we try to recompile SemcGenericUxpRes.apk
{
"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"
}
That's why I want to make a TUTORIAL on How to Decomplie/Recompile SemcGenericUxpRes.apk :laugh:
My fixing method working for me, hope will be working for you all too. :fingers-crossed:
So here we go... :good:
What we need :
1. Any Decompiler/Recompiler Tool (in my case ApkTool)
2. Notepad++ (if you OS is windows)
3. Your SemcGenericUxpRes.apk
4. A Working Brain
5. Patience :silly:
==> First of all decompile your SemcGenericUxpRes.apk
ApkTool Command is :
Code:
java -jar apktool.jar d SemcGenericUxpRes.apk SemcGenericUxpRes
==> Now goto SemcGenericUxpRes\res\values Folder
==> Now open Notepad++ and Type the below texts on that window
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="BDFreak">true</bool>
</resources>
It will be look like this...
==> Now save it with bools.xml name (in notepad++ goto File > Save As... than type bools.xml in file name and save it)
==> Now copy bools.xml file and paste it in SemcGenericUxpRes\res\values Folder
==> Now open public.xml file with notepad++ from SemcGenericUxpRes\res\values Folder
==> Find <public type="dimen" name="semc_tab_indicator_icon_max_height" id="0x02070016" /> line in public.xml file (in notepad++ goto Search > Find and type <public type="dimen" name="semc_tab_indicator_icon_max_height" id="0x02070016" /> and press Find Next Button)
==> Under the line type this line
Code:
<public type="bool" name="BDFreak" id="0x02080000" />
It will be look like this...
==> Now save public.xml file
==> Now try to recompile your SemcGenericUxpRes.apk, it will be recompiled without any error
ApkTool Command is :
Code:
apktool b SemcGenericUxpRes SemcGenericUxpRes.apk
==> Whoaaaaa! You did it man, CONGRATULATION!!! :good:
If you like my tutorial or it helped you in any way than don't forget to press the THANKS :good: button
AW: [TUTORIAL] How to Decomplie/Recompile SemcGenericUxpRes.apk [15/3/2013]
Nice idea!
I never tried any SemcGenericUXP.apk modification, but I assume that one really works. Hehe
Oh, and sorry if I choose another bool... I rather want Chuck_norris set to true
jader13254 said:
Nice idea!
I never tried any SemcGenericUXP.apk modification, but I assume that one really works. Hehe
Oh, and sorry if I choose another bool... I rather want Chuck_norris set to true
Click to expand...
Click to collapse
I found many thread about recompile problem of SemcGenericUxpRes.apk, but i didn't get any good solution.
Thtat's why I post this thread...
An easier thing would be to just delete the public.xml instead of modifying it. IT will be regenerated during recompiling of the apk. Saves you from unfortunate errors.
emwno said:
An easier thing would be to just delete the public.xml instead of modifying it. IT will be regenerated during recompiling of the apk. Saves you from unfortunate errors.
Click to expand...
Click to collapse
Ow... I don't know this... Thanks for your info. I will give it a try...
Finally! Thanks!
oh yeah ! finally works ! thanks !
XperienceD said:
Finally! Thanks!
Click to expand...
Click to collapse
godlesplay said:
oh yeah ! finally works ! thanks !
Click to expand...
Click to collapse
You both are welcome...
BDFreak said:
You both are welcome...
Click to expand...
Click to collapse
Thanks for this bro....
if you guys can help me out.... I tried editing the Semc file of JB for XSOLA and faced some error but with method stated above it recompiled properly but then when i pushed it to my fone and after settings permissions my fone is stuck at boot animation only not moving further.... what could be the problem???
@[email protected] said:
Thanks for this bro....
if you guys can help me out.... I tried editing the Semc file of JB for XSOLA and faced some error but with method stated above it recompiled properly but then when i pushed it to my fone and after settings permissions my fone is stuck at boot animation only not moving further.... what could be the problem???
Click to expand...
Click to collapse
Bro, I don't have this device, that's why I can't try myself and can't help you as I am not that advanced member. I just can say sorry because I can't help you...
Awesome job on this, I kept trying myself without success, but now, finally it works
Thanks dude
Thanks for the nice tut:good:
Good work
Thanks.. very helpful and successful :good:

Network speed in the status bar

Network speed in the status bar(when connected data transfer or wi-fi)
{
"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"
}
View attachment LGSystemUI.zip(P765 20C CIS deodex)
Decompile deodex LGSystemUI.apk
Transfer the files from the archive to a folder policy (smali\com\android\systemui\statusbar)
View attachment Traffic.zip
In status_bar.xml(res/layout) after row:
Code:
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:tag="NO_R2L" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
Paste:
Code:
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Sorry for my ENG
for JellyBean v1?
aSpirit81 said:
for JellyBean?
Click to expand...
Click to collapse
Yes
Sorry bro,i mean JellyCream V 1 ?
aSpirit81 said:
Sorry bro,i mean JellyCream V 1 ?
Click to expand...
Click to collapse
If you flash the zip, it will remove some features of LGSystemUI of JellycreamV1, so if you want this mod follow the steps.
Flashable zip file ?
@Lgeob: Can You just upload modified LGSystemUI.apk? Tutorial isn't clear for me. I used AndroidMultitool for decompile and compile. Isn't working.
Lysolus said:
@Lgeob: Can You just upload modified LGSystemUI.apk? Tutorial isn't clear for me. I used AndroidMultitool for decompile and compile. Isn't working.
Click to expand...
Click to collapse
Throw your deodex LGSystemUI.apk

			
				
Lysolus said:
Click to expand...
Click to collapse
Try this,remove LGSystemUI.odex.Backup do not forget
View attachment LGSystemUI.apk
After reboot "Unfortunately, the Interface has been stopped". I'm on Jelly Cream V1.
Lysolus said:
After reboot "Unfortunately, the Interface has been stopped". I'm on Jelly Cream V1.
Click to expand...
Click to collapse
Try this
View attachment LGSystemUI.apk
I use to build files apk ApkTool:
http://d-h.st/jyQ
Lysolus said:
After reboot "Unfortunately, the Interface has been stopped". I'm on Jelly Cream V1.
Click to expand...
Click to collapse
You can use Xposed mod http://forum.xda-developers.com/showthread.php?t=1574401 with GravityBox http://forum.xda-developers.com/showthread.php?t=2316070module, It will give you the same functionality what you want with many more other funtions like transparent statusbar etc. without modding your systemui.apk you can revert back to your original ui anytime, its much more covinienent then moding.. Hope it help you..
@Lgeob: Ohhh jeah! It works, thanks so much. One question. Can you change color to white, or quick tutorial? I'll be glad
@Codeplex: I know about xposed and gravitybox, i used this but changing position doesn't work. Anyway, thanks too
Lysolus said:
@Lgeob: Ohhh jeah! It works, thanks so much. One question. Can you change color to white, or quick tutorial? I'll be glad
Click to expand...
Click to collapse
Сlock also become white,In style.xml(res/values)
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
[COLOR="Red"]<item name="android:textColor">#ffffffff</item>[/COLOR]
Lgeob said:
Watch also become white,In style.xml(res/values)
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
[COLOR="Red"]<item name="android:textColor">#ffffffff</item>[/COLOR]
Click to expand...
Click to collapse
It help me so much Thanks again

Adding Wifi Location Based on your Settings.apk

Hi friends and visitors xda. Well I'll pass on to you a bit adding apks in your Settings. I tried to do the best possible way to understanding all, hope you like it and read it carefully. Let's start
Requirements:
Virtuous Ten Studio
Apktool
Install Framework-res.apk
Installation SemcGenericUxpRes.apk
This tutorial works on Custom roms and stock roms based firmware 587. Devices MDPI and HDPI! just what we need to have is a little attention to codes in public.xml file
In my opinion the VST and most complete program for editing in general .. then the procedure was done for him!
*Decompile your Settings.apk
*After decompile ... check the folder >>>> res / values ​​/ strings.xml <<<< edit it. See the image below
*Add the code below to your Strings.xml.
<string name="loc_based_wifi">Location Based Wi-Fi</string>
Click to expand...
Click to collapse
{
"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"
}
*Now open Public.xml is add the following code below
<public type="string" name="loc_based_wifi" id="0x7f0b0656" />
Click to expand...
Click to collapse
*Then open the folder and xml file settings_headers proucure the open and see where the code will be added below!
<header android:icon="@drawable/ic_wifi_lock_signal_4" android:title="@string/loc_based_wifi">
<intent android:targetPackage="com.sonyericsson.android.locationbasedwifi" android:action="android.intent.action.MAIN" android:targetClass="com.sonyericsson.android.locationbasedwifi.LbwPreferenceActivity" />
</header>
Click to expand...
Click to collapse
*Now place the images in the following folder drawable-MDPI
*Once added the images in drawable-MDPI folder ... You will compile your Settings.apk according to the program you are using for editing. In my case as I use the VST I compile my file in Build all.
Compiling ...
If all goes well will compile the following message appears telling you that everything went well and without errors!
Screenshot Xperia Mini Pro
Installation mode
Install with the flashable zip apk placing the Wifi Settings and location-based app folder in the zip with Root explorer or giving the permissions [rw-r--r--]
Ready. I hope everything goes well in the settings of you ... look carefully the hexadecimal code in public! is and of course, give me a Thanks kkkk
Credits >> @saqib nazm / @M4ST3R-V
Until next time friends.
Great, i will try on my touchwiz based rom for s3 mini :laugh: :good:
JynAlek said:
Great, i will try on my touchwiz based rom for s3 mini :laugh: :good:
Click to expand...
Click to collapse
Thank you. Test and answer me to know if everything went right.
if this tutorial can work on a custom rom cyanogen base cm10.1 ...
D2Y aka E said:
if this tutorial can work on a custom rom cyanogen base cm10.1 ...
Click to expand...
Click to collapse
I have not tested ... but I think yes you can :good:
Marília de Oliveira said:
I have not tested ... but I think yes you can :good:
Click to expand...
Click to collapse
okay I'll try my review later if this works on a custom rom that I use
D2Y aka E said:
okay I'll try my review later if this works on a custom rom that I use
Click to expand...
Click to collapse
Okay more and you get better and change the original settings.apk from the beginning. anything send me your settings if you do not get. good luck :good:

(GUIDE)(MOD)Changeable Lockscreen text like Galaxy4.

How to add the Lockscreen Text to any lockscreen.
As most know I have implemented this feature inside the Touchwiz Resurrection rom for galaxy ace i.
As seen below.
{
"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"
}
Basicly this mod was very easy to add .
What is inside the resources.zip ?
LifeCompanionText.apk ( App to change the text )
LifeCompanion smalis for the framework.jar
SpaceFont.ttf for the CoolJazz font from S3/4
Basicly what you would need to do is:
Download Resources Attachement.
Extract it
Decompile you’re framework.jar
Go to the extract smali folder from the resources.zip and copy the smali folder to the smali folder of you’re framework.jar.
Compile framework.jar
Now we are going to add it to the frameworks location/allocate the text.
Decompile framework-res.apk
Find a lockscreen layout to you’re likes.
I used “zzz_keyguard_screen_clockwidget.xml” but you would be able to put it inside : “keyguard_screen_tab_unlock.xml” for the normal sliding tab lockscreen and such.
Open the layout you wanted and simply add this line above the clock layout or where you want
Code:
<com.touchwizres.lifecompaniontext.LifeCompanionTextView android:textSize="40.0dip" android:textColor="#ffffffff" android:id="[COLOR="RoyalBlue"]@id/life_companion_tag[/COLOR]" android:layout_width="wrap_content" android:layout_height="wrap_content" android:shadowColor="#7f000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="2.0" />
I placed this code just below
Code:
<view android:gravity="left" android:orientation="vertical" android:id="@id/clock_time_and_date" android:paddingLeft="7.0dip" android:paddingTop="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.ClockWidget$TimeAndDate">
of the "zzz_keyguard_screen_clockwidget.xml"
Add this to the ids.xml
Code:
<item type="id" name="[COLOR="RoyalBlue"]life_companion_tag[/COLOR]">false</item>
Compile framework-res.apk
Decompile ur compiled framework-res.apk
Now we are going to fix the ID Values. From the smali .
Decompile ur compiled framework.jar
Open
Code:
com/touchwizres/lifecompaniontext/[COLOR="RoyalBlue"]LifeCompanionTextView.smali[/COLOR]
that’s inside the framework.jar
Find
Code:
const v3, 0x[COLOR="Red"]10202cc[/COLOR]
This is the “life_companion_tag” ID (
Code:
<public type="id" name="life_companion_tag" id="0x0[COLOR="Red"]10202cc[/COLOR]" />
) inside public.xml
We need to fix this to yours
Now when u have changed the code from 0x10202cc to something like 0x1020299 or something depends on ur framework-res.apk
U can compile the framework.jar
Now zip the files together and make sure these are set properly.
SpaceFont.ttf inside /system/fonts/**
LifeCompanionText.apk inside /system/apps/**
And then ofcourse you’re modified framework.jar and framework-res.apk inside /system/framework/**
Now you are done
Happy modding
On what roms can u apply this mod ?
Basicly it can be applied to ALL Roms atleast if u know what u are doing.
As Most of you all know i am a HUGE HUGE Open Source fan so in this case i fully opensourced this aswell
Here is the sourcecode: https://github.com/spacecaker/LifeCompanionLockscreentext
Import in Eclipse.
Compile app.
Export unsigned apk.
Sign apk.
Decompile apk.
Retrieve ur smali codes.
Implement in framework
Some helpers who helped me on some knowledge and ideas:
B16H22
MarioZaWa
Pineappleowl
and testers
It is just awesome! :thumbup:
Sent from my GT-S5360 using Tapatalk 2
nice guide. will try it
Can i include it in my ROM ? I need your permission
bangprovn said:
Can i include it in my ROM ? I need your permission
Click to expand...
Click to collapse
sure
Working perfectly in AOSP.
MuSaddiq said:
Working perfectly in AOSP.
Click to expand...
Click to collapse
Nice to see that someone else except me has implemented it and did it correctly to :thumbup:
Sent from my S500 using xda app-developers app
@SpaceCaker it will work on jellybean?
ocoot said:
@SpaceCaker it will work on jellybean?
Click to expand...
Click to collapse
AFAIK, It should work on jelly bean too.
MuSaddiq said:
AFAIK, It should work on jelly bean too.
Click to expand...
Click to collapse
looping on boot animation. i think i need to check my code again
Sent from my GT-S6310 using Tapatalk
ocoot said:
looping on boot animation. i think i need to check my code again
Sent from my GT-S6310 using Tapatalk
Click to expand...
Click to collapse
ur code either failed
or ID/ const value wrong
or forgot fonts
Sent from my S500 using xda app-developers app
ocoot said:
@SpaceCaker it will work on jellybean?
Click to expand...
Click to collapse
works on JB
should work on any rom
SpaceCaker said:
works on JB
should work on any rom
Click to expand...
Click to collapse
This mod is cool.Btw i want to ask is there any mod to change backgrounds of lockscreen for use in lidroid ,aosp etc
Sent from my GT-S5360 using Tapatalk 2
SpaceCaker said:
works on JB
should work on any rom
Click to expand...
Click to collapse
ok it works well
san122 said:
This mod is cool.Btw i want to ask is there any mod to change backgrounds of lockscreen for use in lidroid ,aosp etc
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
i am working on that
but should be possible
Great guide sir!
Works flawlessly.
Pinadala mula sa aking Kalawakan Y gamit ang Tapatalk 2
SpaceCaker said:
i am working on that
but should be possible
Click to expand...
Click to collapse
btw, you know how to make lockscreen transparent on JB? trying with another guide i have but still not work
ocoot said:
btw, you know how to make lockscreen transparent on JB? trying with another guide i have but still not work
Click to expand...
Click to collapse
nah not really
i did it on JB Java source once but removed it

Categories

Resources