(GUIDE)(MOD)Changeable Lockscreen text like Galaxy4. - Galaxy Y GT-S5360 Themes and Apps

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

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:

[HOW TO] ☆ Transparent homescreen statusbar on Note II ☆ for themers and everyone

[HOW TO] ☆ Transparent homescreen statusbar on Note II ☆ for themers and everyone
{
"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"
}
SGNII JB THEMES ☆ SGSIII JB THEMES ☆ SGSIII ICS THEMES ☆ NEXUS PRIME JB THEME ☆ NEW CENTER CLOCK GUIDE ☆ JB TRANSPARENT STATUSBAR GUIDE
- - - - - - - - - - - -
​
Hi everyone!
Here's a simple guide how to make homescreen statusbar transparent:
1. You should decompile SystemUI.apk
2. Open /SystemUI/res/layout/tw_super_status_bar.xml and change android:background to 100% transparent:
Code:
<com.android.systemui.statusbar.phone.StatusBarWindowView [B]android:background="#[COLOR="Red"]00000000[/COLOR]"[/B] android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
3. Save /SystemUI/res/layout/tw_super_status_bar.xml
4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:
Code:
<item type="drawable" name="status_bar_background">[B]#[COLOR="red"]00000000[/COLOR][/B]</item>
5. Save /SystemUI/res/values/drawables.xml
6. Recompile SystemUI.apk
Done... Now you have 100% transparent homescreen statusbar
A short hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
If you only need a ready-made statusbar you can find it here - 15 Toggle Buttons ☆ NEW Center Clock ☆ Transparent statusbar ☆ & more
Enjoy! And if you have any questions, you can always ask me
If you like it you can always Rate (★★★★★) this Thread, Press Thanks button or simply buy me a beer! :good: and don't forget about credits
Thank you for sharing mate,
great job!
::indie:: said:
Thank you for sharing mate,
great job!
Click to expand...
Click to collapse
You're welcome!
Thanks for the How To :thumbup:
Sent from my GT-N7100 using xda premium
Does this work on a rooted stock rom? Thanks
And one more noobie question..how do you edit the systemui.apk file?
Cheers
Sent from my GT-N7100 using xda premium
DMax99 said:
Does this work on a rooted stock rom? Thanks
And one more noobie question..how do you edit the systemui.apk file?
Cheers
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Yes, it works with odexed roms as well.
There are a lot of guides how to decompile/recompile SystemUI.apk (or any other apk) on XDA.
Awesome guide Can somebody tell me what file to change to get a picture on the transparent notification bar? Like vegeta1 makes.
Sent from my GT-N7100 using xda premium
Kur0saki said:
Awesome guide Can somebody tell me what file to change to get a picture on the transparent notification bar? Like vegeta1 makes.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
What do you mean under "transparent notification bar"? Notification pulldown (dropdown)?
If yes, there is no such file in stock SystemUI. Image should be added to SystemUI and also it's necessary to edit xml source to get it work.
It's our (my and vegeta's) "know how"
Lol, i want to know how to put a picture on the dropdown, and which xml file and where to edit it. Very much appreciated if you can tell me or pm me
Sent from my GT-N7100 using xda premium
Kur0saki said:
Lol, i want to know how to put a picture on the dropdown, and which xml file and where to edit it. Very much appreciated if you can tell me or pm me
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Ask in vegeta's thread - http://forum.xda-developers.com/showthread.php?t=1928876
It would be correct.
This is what I'm looking for! :good:
But, my Note 2 should be rooted first, right?
mankind_18 said:
This is what I'm looking for! :good:
But, my Note 2 should be rooted first, right?
Click to expand...
Click to collapse
Of course lt should be rooted to have access to your system.
raubkatze said:
Of course lt should be rooted to have access to your system.
Click to expand...
Click to collapse
Can I decompile systemUI.apk without rooting?
mankind_18 said:
Can I decompile systemUI.apk without rooting?
Click to expand...
Click to collapse
Do you know the way to copy your SystemUI.apk from system and put it back after recompiling without rooting?
raubkatze said:
Do you know the way to copy your SystemUI.apk from system and put it back after recompiling without rooting?
Click to expand...
Click to collapse
haha.. I guess I didn't have any choice other than root my device
mankind_18 said:
haha.. I guess I didn't have any choice other than root my device
Click to expand...
Click to collapse
Of course And it takes less than ten minutes.
raubkatze said:
Of course And it takes less than ten minutes.
Click to expand...
Click to collapse
Now I had rooted my device.. But I still didn't know what to with decompile apk :silly:
mankind_18 said:
Now I had rooted my device.. But I still didn't know what to with decompile apk :silly:
Click to expand...
Click to collapse
There are a lot of guides on XDA
raubkatze said:
There are a lot of guides on XDA
Click to expand...
Click to collapse
Now I've done decompiling..
1. You should decompile SystemUI.apk DONE
2. Open /SystemUI/res/layout/tw_super_status_bar.xml and change android:background to 100% transparent: DONE
3. Save /SystemUI/res/layout/tw_super_status_bar.xml DONE
4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:
I can't find /SystemUI/res/values/drawables.xml there are no values folder.. there are only values-ar-land, values-gl, values-hu, values-in, values-sw360dp, values-sw600dp, values-sw600dp-land, values-uk, values-vi-port, and values-zh-rCN.. what should I do?
-------------------edit--------------------------
now I've found values folder, but I can't find drawables.xml
thank u...it was very simple

[GUIDE] [MOD] Add Custom Banner in "about phone" section in Galaxy y

Here is my custom banner
{
"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"
}
What we need:
1) ApkTool
2) Notepad++
3) 7zip
4) Root Explorer
Files we need to add custom banner:
1) Transparent Banner Template, modify it with Photoshop or any other image editor to add ur preferred logos, writings, etc etc. (PLEASE REFER HERE)
2) logo_banner.xml, which u will put in res/layout LINK
3) Settings.apk and framework-res.apk from ur ROM
Lets start:
1) First we install framework-res.apk with apktool using this code
Code:
apktool if framework-res.apk
2) Decompile Settings.apk with apktool using this code
Code:
apktool d Settings.apk
3) after u have modified ur banner, go to decompiled settings folder then go to res/drawable then copy and paste the banner(banner.png) there
4) now go to res/layout then copy and paste the logo_banner.xml file there
5) now go to res/xml folder, there open device_info_settings.xml file with Notepad++
6) Copy and paste this line after the third line in device_info_settings.xml
Code:
<PreferenceScreen android:layout="@layout/logo_banner" android:key="od_logo" />
7) Now compile settings with apktool using this code
Code:
apktool b Settings
8) Once compiled, open decompiled Settings folder then go to build/apk, there u will find AndroidManifest.xml file
10) Now open original Settings.apk using 7zip then copy the META-INF folder and AndroidManifest.xml file
11) paste both the files in build/apk folder, if asked to replace, click yes
12) now go to a folder in settings folder named dist, there u will find Settings.apk which u compiled
13) now delete it. We never use the first Settings.apk that we compile, because we need to add the META-INF and AndroidManifest.xml files for signing purposes. Once you have deleted the 1st compiled Settings.apk, return to the command prompt and again compile the Settings using this code
Code:
apktool b Settings
14) After it is compiled go to dist folder there u will find new and fresh compiled Settings.apk which u can use it.
15) Using Root Explorer push it into system/app folder and set permissions to rw-r-r-
16) That's it!
Credits:
enricocid
I'd like to see Your works also, if any, feel free to post here​
Nice!
Will try this now.
I need to deodex my rom though
Good work keep it up..
I used this for my rom...
Thanks...
Sanjay Kumar said:
Good work keep it up..
I used this for my rom...
Thanks...
Click to expand...
Click to collapse
Dont tell thanks just press it..
In step 3 you say name the png logo_banner.png but in your xml file it points to @drawable value of banner
therefore you either need to call your png banner.png or change the value in the xml file to match what you have called the png
All works good and added my banner to my evo-x4 settings
marcussmith2626 said:
In step 3 you say name the png logo_banner.png but in your xml file it points to @drawable value of banner
therefore you either need to call your png banner.png or change the value in the xml file to match what you have called the png
All works good and added my banner to my evo-x4 settings
Click to expand...
Click to collapse
Oh, yes u r right, I m very sorry.
I will change it asap.
EDIT: Done!
Just share mine lol
Akhyarrh said:
Just share mine lol
Click to expand...
Click to collapse
lol.......nice one
heres what iv done with mine
marcussmith2626 said:
heres what iv done with mine
Click to expand...
Click to collapse
cool
this will be work on all GB or ICS ?
Panneer Selvam said:
this will be work on all GB or ICS ?
Click to expand...
Click to collapse
This will work on GB but not sure about ICS...
MuSaddiq1410 said:
This will work on GB but not sure about ICS...
Click to expand...
Click to collapse
okay dude.. thanks for your reply....:victory:
Nice Mod bro,, :good::good:
Works on My Xperia MIRO ZNXT v6 ...:fingers-crossed:
MuSaddiq1410 said:
This will work on GB but not sure about ICS...
Click to expand...
Click to collapse
Nice guide bro. Simple but very useful. I will try it too.
Edit: Tried. Looking very cool. See Screenshot
hey..
i will try this today
but can anyone say what size of image should i take???
I wanted to add dat guide. glad u did it.
chanbhavane said:
hey..
i will try this today
but can anyone say what size of image should i take???
Click to expand...
Click to collapse
480x182
Sent from my GT-S5360
MuSaddiq1410 said:
480x182
Sent from my GT-S5360
Click to expand...
Click to collapse
thanxxx....
i'll do it today...
but before pushing this settings.apk to my system
do i need to sign all system/app & system/framework ???????
chanbhavane said:
thanxxx....
i'll do it today...
but before pushing this settings.apk to my system
do i need to sign all system/app & system/framework ???????
Click to expand...
Click to collapse
No need to sign all apks from system/app & system/framework.

[Mod]Sense 4 Style Multi Tasking Mod for Xperia 2011 [ Stock ICS | Cm10 ]

Hi Geeks
Here is a Port of the Sense 4 Style Multitasking UI/Recent Apps For Stock ICS and Cm 10 Only
Ported it on Stock,Serajr's Tabbed UI v7.1, and Cm10 Stock
Featured on Portal- Get the Sense 4 Recent Apps Look on Your Sony Ericsson Xperia Arc, Neo and Pro
Thanks for support :good:
Screenshots:
Stock ICS
{
"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"
}
For Cm 10 Roms
Instructions:
1.Always backup your SystemUI.apk and framework-res.apk OR A full Nandroid Backup
I am Not responsible if phone Bootloops! Read Well Before you flash!
2.[Optional but Adds to the UI].
Decompile your Rom's Framework-res.apk
go to /res/values/dimens
and change
the following lines[red] as shown
Code:
<dimen name="thumbnail_height">[COLOR="Red"]267.0dip[/COLOR]</dimen>
<dimen name="thumbnail_width">[COLOR="red"]168.0dip[/COLOR]</dimen>
Or use the Framework with the Mod!
3.Downloads has 2 types
a. Mod-Replaces framework and SystemUI
b. SystemUI Only-Zip name *_SystemUIOnly_* Changes only your SystemUI.apk (Use this if you edit your framework manually as in step 2)
Choose appropriate download
4.Just flash through CWM and Reboot.
Click to expand...
Click to collapse
Downloads:
HDPI
Stock
Whole Mod- http://d-h.st/XPP
SystemUI Only- http://d-h.st/n38
Click to expand...
Click to collapse
Stock+Serajr's v7.1 Toggles Mod
Mod- http://d-h.st/xru
SystemUI Only- http://d-h.st/BAm
Click to expand...
Click to collapse
For Cm 10
Mod- http://d-h.st/POc
SystemUI Only- http://d-h.st/XbC
Click to expand...
Click to collapse
MDPI
Stock
Full - http://d-h.st/Zv3
SystemUI only- http://d-h.st/7nE
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Credits:
Evilisto
grgsiocl
Adi Adisteru Reborn For the Guide
Click to expand...
Click to collapse
If you want to include it in your Roms,ask for permissions and give credits with links,No mirrors!
If you like my work,Hit thanx,rate good and Motivate :good:
​
Will this work ok cm 10.2...?
Sent from my Xperia Neo V using xda app-developers app
techie24 said:
Will this work ok cm 10.2...?
Sent from my Xperia Neo V using xda app-developers app
Click to expand...
Click to collapse
Ics and cm10 only for now..
Sent from my Xperia Neo V using Tapatalk 2
Have you thought about the module to Xposed? Could you share the original file framework and SystemUI? I have only N4, but I really like this mod
Dzakus said:
Have you thought about the module to Xposed? Could you share the original file framework and SystemUI? I have only N4, but I really like this mod
Click to expand...
Click to collapse
Therez no original frame as such
Just the code that I ve changed in the original stock framework
Well,shoot me a pm with your framework and systemui,ill see if I can make one for you.
Xposed,iguess thatll need java which I dont know yet
Could you share files "For 10 cm" before and after your modification, because you must based on something? I would like to compare the changes by diff and create module based on it.
I don't want edit my framework, because I update rom every night.
I know some Java and I could help.
Sorry for my English. My native language is Polish
Dzakus said:
Could you share files "For 10 cm" before and after your modification, because you must based on something? I would like to compare the changes by diff and create module based on it.
I don't want edit my framework, because I update rom every night.
I know some Java and I could help.
Sorry for my English. My native language is Polish
Click to expand...
Click to collapse
Use your stock files and follow these guides
http://forum.xda-developers.com/showthread.php?t=2066740
and
http://forum.xda-developers.com/showthread.php?t=2296068
But make sure u use both the guides and remove errors wisely or they simply wont work
nice work, i like the htc recent apps

[Tutorial] Colorize Ram,battery and Data Usage Bar in Settings.apk

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

Categories

Resources