[GUIDE] Change DateView format (Now with carrier name) - Galaxy Y GT-S5360 General

What is this?
Just a DateView mod
What is DateView?
DateView is the date in our statusbar that shows when we expand our statusbar Many of us removing DateView in our statusbar maybe because it is annoying so lets make it cool
How to use
Download the attached DateView smali files.
Extract it and move to SystemUI/smali/com/android/systemui/statusbar (or just simply replace the DateView smalis)
To change the DateView format find
Code:
const-string v4, "E"
And change the "E" to any Java date format
(Not available for Carrier X DateView.smali)
To change the DateView to Carrier Name just download and extract Carrier X DateView.smali
Screenshot by @mohawk97
He use
Code:
const-string v4, "M"
{
"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"
}
To display the time use this
Code:
const-string v4, "h:mm a"
For more Date formats go here
http://www.tutorialspoint.com/java/java_date_time.htm
This is the screenshot for Carrier X DateView
Credits
PotatoInc
Our friends from Lenox Evolution
You baby
​

mariozawa said:
What is this?
Just a DateView mod
What is DateView?
DateView is the date in our statusbar that shows when we expand our statusbar Many of us removing DateView in our statusbar maybe because it is annoying so lets make it cool
How to use
Download the attached DateView smali files.
Extract it and move to SystemUI/smali/com/android/systemui/statusbar (or just simply replace the DateView smalis)
To change the DateView format find
Code:
const-string v4, "E"
And change the "E" to any Java date format
Screenshot by @mohawk97
He use
Code:
const-string v4, "M"
To display the time use this
Code:
const-string v4, "h:mm a"
For more Date formats go here
http://www.tutorialspoint.com/java/java_date_time.htm
Credits
PotatoInc
Our friends from Lenox Evolution
You baby
​
Click to expand...
Click to collapse
Reserve:silly:

How to remove date ??

Himan Boro said:
How to remove date ??
Click to expand...
Click to collapse
I presume by deleting the line that starts
Code:
<com.android.systemui.statusbar.DateView
from status_bar.xml

I use Potato Clock Mods for this

the_vanya1 said:
I use Potato Clock Mods for this
Click to expand...
Click to collapse
Potato Clock Mod and this is different.
The first lets you change how the clock is displayed in the status bar. The second allows you to change how the date appears when the status bar is expanded. Most developers remove the date altogether though.

Related

[TUTORIAL] [MOD] AF Header

Hello I have Make Header Like Jelly Bean but it is with Advanced Features
View
1. LayoutView
2. Time
3. Day
4. Moar (Month and Year)
Features
1. Show or Hide Header
2. Changeable Background of Header
3. Show or Hide Time
4. Changeable Time Text Color
5. Show or Hide Day
6. Changeable Day Text Color
7. Show or Hide Moar
8. Changeable Moar Text Color
Required
1. AndroidFire App
2. Decompile and Recompile Tool Recommended AF-APK
3. SytstemUI.apk
Credit
1. SpaceCaker
2. b16h22
3. Margaritov Colorpicker
4. City Light Song
5. AndroidFire
Instruction
1. Downloads AndroidFire App and File_AF_Header.zip
2. Decompile SystemUI.apk
3. Open layout/status_bar_expanded.xml
4. Add This Where You want to Load Header
Code:
<com.androidfire.HeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
5. Recompile SystemUI.apk
6. Install AndroidFire as Normal App
7. Control Header using This App
Tested On
Android 4.4
Android 2.3.6
Android 4.1
It Should work with Other Android
SS
Not Uploaded Yet Will Upload Soon
Source
GitHub AF-Header
Downloads
At the Attachment
Its dont work for me (4.1) Can you help me?
Screenshot please.
AndroidFire said:
Hello I have Make Header Like Jelly Bean but it is with Advanced Features
View
1. LayoutView
2. Time
3. Day
4. Moar (Month and Year)
Features
1. Show or Hide Header
2. Changeable Background of Header
3. Show or Hide Time
4. Changeable Time Text Color
5. Show or Hide Day
6. Changeable Day Text Color
7. Show or Hide Moar
8. Changeable Moar Text Color
Required
1. AndroidFire App
2. Decompile and Recompile Tool Recommended AF-APK
3. SytstemUI.apk
Credit
1. SpaceCaker
2. b16h22
3. Margaritov Colorpicker
4. City Light Song
5. AndroidFire
Instruction
1. Downloads AndroidFire App and File_AF_Header.zip
2. Decompile SystemUI.apk
3. Open layout/status_bar_expanded.xml
4. Add This Where You want to Load Header
Code:
<com.androidfire.HeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
5. Recompile SystemUI.apk
6. Install AndroidFire as Normal App
7. Control Header using This App
Tested On
Android 4.4
Android 2.3.6
Android 4.1
It Should work with Other Android
SS
Not Uploaded Yet Will Upload Soon
Source
GitHub AF-Header
Downloads
At the Attachment
Click to expand...
Click to collapse
dude post ss or no1 will try much
Hoh here is the ss
{
"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.3xx][MOD][GUIDE] AlmasToggle(Noob Friendly) (Updated v2)

24 Toggle Almas Toggle
{
"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"
}
AlmasToggle
I am Bored with lidroid quickpanel and my friend spacecaker toggles because no methods to switch between gridview or horizontal view and some other stuff. I make This toggle from Scratch no fork of cm11 or any other toggle source it is totally open source everyone can fork and anything but just give credit to me This toggle take 4-5 day to complete because me soo busy these day . If You need any help regarding to this post here BUT NO PM there one app where some window are located if you don't install that force close when clicking on window based toggle. Also There almas-res.apk Where the resource are located you need to put almas-res.apk to system/framework the java of the toggle will load to app to give output of images and etc. If You want to have kitkat Status_Bar_Close just open status_bar_tracking find <ImageView and replace with com.almas.systemui.BottomBar after replacing you need remove android:src="blabla" from the tag. AlmasToggle contain 24 Toggle Now and can be switch grid view and horizontal view . We talk so much let's start ?
Required
1. almas-res.apk
2.AlmasToggle.apk
3.Toggle_Smali
Instruction
1st
1. Put almas-res.apk to /system/app or /system/framework and set Permission R - W - RR (Recommended to in /system/app)
2.Install AlmasToggle to Your Phone
2nd
1.Decompile Your SystemUI.apk
2.Open smali folder Merged Toggle_Smali
3.Open /res/layout/**** any layout where you want load
4.Add These Lines
Code:
<com.almas.toggles.ToggleGridView android:layout_width="match_parent" android:layout_height="wrap_content" />
<com.almas.toggles.ToggleHorizontalView android:layout_width="wrap_content" android:layout_height="wrap_content" />
Tips
How to change Profile name and photo
Click on the Toggle
SS
Credits
AndroidFire
PxL for Toggle Images
tentenponce
AKOP
SpaceCaker
Source
Go Here
Change logs
v1
-Initial released
v2
-Added Wifi Hotspot Toggle
-Bug Fixed
-Added Toggle Order
-Many More
Features
Two Policy.
AutoUpdate
Toggle Order
Extended Toggle
more

[v2] Potato Shortcut (Custom Application shortcut in expanded view or anywhere)

What is this?
This will let you add custom application shortcuts in expanded view
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"
}
Changelog
Disappearing shortcut icon fixed
Icons are centered by default
Add icons in HorizontalScrollView if the icons reach the 6 button threshold
How to use?
Decompile your SystemUI (Must be Deodex)
Download the attached file
Please download and install PotatoShortcuts.apk attached below (You don't need to install pkg.apk anymore)
Extract the attached file
You now have 2 files , pkg.apk and SystemUISmali.zip
Install pkg.apk (Normal install)
Extract SystemUISmali.zip
You now have the smali files, paste it in the smali folder of your decompiled SystemUI
Go to res/layout/status_bar_tracking.xml
You will see this line
Code:
<com.android.systemui.statusbar.CloseDragHandle
android:id="@+id/close"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
Paste this code after that line
Code:
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.android.systemui.statusbar.potato.shortcuts.ShortcutView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" />
</HorizontalScrollView>
NOTE. You can put the code everywhere you like, I just put it in the close drag handle just to be just LOL.
Tested in Galaxy and KitKat ROM by Vanya (Dunno his XDA name)
Known bug
Nothing in v2 I guess
Permission
You can use this mod to your awesome ROM but don't change the smali names and the app name PLEASE , fixing bugs is harder than moving on (HUGOT!).
Credits
The PotatoInc (mariozawa)​
Nice guide sir. btw. is there a tutorial here on how to make dynamic tint bars?
Jedz77 said:
Nice guide sir. btw. is there a tutorial here on how to make dynamic tint bars?
Click to expand...
Click to collapse
I don't know if there is existing guide for it for GB, btw I will make guide for DSB (the one that PotatoCM is using) maybe after my thesis since I need to modify some of it components to be able to work in stock ROMS just what I did in this mod.
mariozawa said:
I don't know if there is existing guide for it for GB, btw I will make guide for DSB (the one that PotatoCM is using) maybe after my thesis since I need to modify some of it components to be able to work in stock ROMS just what I did in this mod.
Click to expand...
Click to collapse
OMG cant wait for that! some people in lenox evo group in fb already did that but they wont share any tutorials. thank you in advance!
Awesome mod btw! thumbs up! :good::good::good:
sir i have a simple question
#offtopic
Sir I created a Am/pm guide and want to add a app support to control ig via app So that user can toggle show /hide am pm but i have no idea to do it can u help me?
The stable version is finally out
can't fine version 2 of potato shortcut
the apk in the attachment is version 1.0 sir jc ?

InCallUI Background Color Changer for Stock Rom - [MOD]

[MOD] InCallUI Background Color Changer-[Stock Rom]​
Hello guys....! Another MOD for Calling Background Color Changer For Lenovo K5 | K5 Plus Stock ROm Only..
Requirment :-
Lenovo K5 or K5 Plus With Stock Rom installed.
Custom recovery Installed.
Whats New : -
Version 2 Added.
Original Backup Added.
How To Install : -
Download this zip file.
Flash this through Custom recovery.
Restart Your phone & Enjoy.
{
"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"
}
Download Links are given below
View attachment 4124864
View attachment 4124758
​
If you like it, please hit thanks button
Guide if please?
Can you help with a brief guide of how you do this? So we can start with some customizations on our own. Thanks for this by the way.
TeKnoGin said:
Can you help with a brief guide of how you do this? So we can start with some customizations on our own. Thanks for this by the way.
Click to expand...
Click to collapse
Modification done on incallui.apk using apk editior..
Search (using # keyword) and check all color codes one by one for finding which code contains that red color...
Then..... Replaced it with Another
Dipsoft said:
Modification done on incallui.apk using apk editior..
Search (using # keyword) and check all color codes one by one for finding which code contains that red color...
Then..... Replaced it with Another
Click to expand...
Click to collapse
Bro plz tell which file contains the background color...i couldn't find..
javedrj said:
Bro plz tell which file contains the background color...i couldn't find..
Click to expand...
Click to collapse
Search using # keyword and copy the color code and check it is Red color or not.. if red then change it with our own color

[REQUEST]Remove AM/PM from lockscreen and status bar

I want to remove AM/PM from lockscreen and status bar clock? (without using 24hr format)
And I have no idea where to start.
I tried decompiling SystemUI and framework-res but still no clue.
+1
YB EDISON said:
I want to remove AM/PM from lockscreen and status bar clock? (without using 24hr format)
And I have no idea where to start.
I tried decompiling SystemUI and framework-res but still no clue.
Click to expand...
Click to collapse
AM/PM from status bar can be removed by using GravityBox. But I couldn't find any way to remove it from locksreen. Even a xposed module lockscreen mods doesn't have such option.
YB EDISON said:
I want to remove AM/PM from lockscreen and status bar clock? (without using 24hr format)
And I have no idea where to start.
I tried decompiling SystemUI and framework-res but still no clue.
Click to expand...
Click to collapse
systemui.apk
res/values/bools.xml
Rajeev said:
systemui.apk
res/values/bools.xml
Click to expand...
Click to collapse
Hi
Is there anyway to centre the lockscreen clock and remove am/pm from it without 24 hr ??
Thanks
mdmaher said:
remove am/pm from it without 24 hr ??
Click to expand...
Click to collapse
Try to do so
In SystemUI\smali\com\android\systemui\statusbar\policy\Clock.smali find method and delete highlighted in red
Code:
.method private final getSmallTime()Ljava/lang/CharSequence;
.....
.....
.....
invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v19
.line 313
const-string/jumbo v20, "[COLOR="Red"]a[/COLOR]" ###[COLOR="Blue"]should be const-string/jumbo v20, ""[/COLOR]
.line 312
invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
kep2008 said:
Try to do so
In SystemUI\smali\com\android\systemui\statusbar\policy\Clock.smali find method and delete highlighted in red
Click to expand...
Click to collapse
Thanks, I will try
pls how to hide status bar clock on lock screen ?
use this module
{
"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"
}
Just use Susbtratum and Andromeda via adb then download Substweaks to remove AM/PM.
Sent from my Xiaomi Mi A1 using XDA Labs

Categories

Resources