[MOD]Permanent Date in Statusbar - Center Date for AOKP - Samsung Galaxy Nexus

This mod will let the date always displaying in statusbar, like the clock does..check the screenshot. I also removed date from notification header, since it's already in statusbar.
For the center date in AOKP go to the end of the post.
Always backup before you try anything!
{
"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"
}
You have to decompile(apk manager does it) SystemUI.apk.
Go to file SystemUI.apk\res\layout\status_bar.xml
find the line 15
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
place on top of it the line
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />
so it will look like that
Code:
</LinearLayout>
[COLOR="Red"]<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
</LinearLayout>
now here, I set the
Code:
android:paddingLeft="4.0dip"
with the same value in both clock and date, so they have the same space at the left.
With this setup, you will always see date and then clock at the right of the statusbar(I haven't test something else yet).
if you want to delete the date from the notification header, do the following
in the file SystemUI.apk\res\layout\status_bar_expanded.xml delete the following line
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
and in the line
Code:
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
replace the
Code:
android:layout_toRightOf="@id/date"
with the following(it maybe not crucial, but I did it)
Code:
android:layout_alignParentLeft="true"
it should look something like that
the text size is probably looking different between date and clock, so in the file SystemUI.apk\res\values\styles.xml is the text size of both.
clock
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>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
and date
Code:
<style name="TextAppearance.StatusBar.Date" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
I changed both with
Code:
[COLOR="Red"]<item name="android:textSize">[B]14.0sp[/B]</item>[/COLOR]
Center Date in AOKP roms
although if you enable every statusbar icon(bt, vibrate,alarm,wifi etc) it will look messy cause the clock overlapse the icons.
since AOKP rom has an option to set the clock in the center, it's quite easy to have the date in that order too.
in file SystemUI.apk\res\layout\status_bar.xml copy&delete or cut the line
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />
and place it in top of (watch the centerclock, not just clock)
Code:
<com.android.systemui.statusbar.policy.[COLOR="Red"]CenterClock[/COLOR] android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/center_clock" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
so it will look like that
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/center_clock_layout" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/center_clock" />
<com.android.systemui.statusbar.policy.CenterClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/center_clock" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
now in the end of the line you cut/copied change the "@id/clock" into "@id/center_clock", so it will look like that
Code:
android:layout_toLeftOf="@id/center_clock"
now you're good to go, it will look like that(it won't be in italic, I just changed it) and choose center clock in ROM control options in settings, otherwise you'll have center date and clock at the right which is also nice
I hope I didn't forget anything
Recompile and push it/flash it.
submit your comments and mods, left, center date or whatever

Wow
..that's def the coolest MOD I've seen in a while. I don't think I've seen anyone do this before. I'm not home, but as soon as I get back I'm def gonna try this. Good job man!!!!
Sent from my Galaxy Nexus using xda premium

This is brilliant! Many thanks
any chance of making this a flashable CWM ZIP?
Also, is it possible to show dBm (signal strength) in the status bar?

I have a flashable for AOKP MS3 including this mod(small thumbs) http://forum.xda-developers.com/showthread.php?t=1480309 cause this is how I use it and the softkeys of the screenshot
please backup before you try anything.
@winwiz, for the db it should need work which unfortunately I don't know how

Any chance you wouldn't mind post your wallpaper? I just taught that book to my students last week actually. Good timing Oh and thanks for the mod too, of course. Cheers!
Sent from my Galaxy Nexus using XDA App

clap-clap!very good mod man!the best of the lastest inserted in roms out there.applying that in this moment,and thank you very much!very appreciated!

tlspatt said:
Any chance you wouldn't mind post your wallpaper? I just taught that book to my students last week actually. Good timing Oh and thanks for the mod too, of course. Cheers!
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
sure
http://img21.imageshack.us/img21/705/wallpaper715037662.jpg
sert00 said:
clap-clap!very good mod man!the best of the lastest inserted in roms out there.applying that in this moment,and thank you very much!very appreciated!
Click to expand...
Click to collapse
did you try the flashable zip? does it work? cause I think I left something different in this zip . check the notification background if it is ok(semi transparent like the default)

nope i'm doing...the sig report m3 but this morning i flashed another rom.my phone now is total empty,it takes me less time to flash m3 and after that flash yours zip,instead of doing mine the mod because it takes me more times that the cwm zip.phone is total wiped,no prob at all
i'll report this in 5 minutes
EDIT if you mean the background above the notification widget is semi-trasparent like before apply the mod..for me it's ok.now i stick with m3 and add my mod to your package.
ps...you have done the mod with modded systemUI right?because softkeys changed...!
i'll remake all with my systemUI (to have all my mods+your mod in one package)
very thnks for mod.for me so usefull!
EDIT 2 ok,managed.done your modification (date)over my mod (circlemod by hoolms standard+mixed softkey (2 packs)of atticus192.

We NEED a developer to come in here and tell us how to center the date and clock. I'm all for doing it myself but I don't know what to code

Is there any way to make the date format like such: mo/day/year ex. 02/12/12?

sert00 said:
ps...you have done the mod with modded systemUI right?because softkeys changed...!
i'll remake all with my systemUI (to have all my mods+your mod in one package)
very thnks for mod.for me so useful!
Click to expand...
Click to collapse
glad you like it. yes I had the custom softkeys in the zip, sorry about that, I edited the post.
number3pencil said:
We NEED a developer to come in here and tell us how to center the date and clock. I'm all for doing it myself but I don't know what to code
Click to expand...
Click to collapse
one way could be by editing arrays.xml in framework and putting it in front of the other icons, I tried it but it didn't work, I got a bootloop.
jgrimberg1979 said:
Is there any way to make the date format like such: mo/day/year ex. 02/12/12?
Click to expand...
Click to collapse
I was searching for that too. We need to have SHORT date appearance cause now it's LONG, but the date format is mentioned in system locale and I haven't found another way. If you change the language of the phone, it will change that too(if locale changes it)

ok, I have center clock in AOKP rom, very easy, how-to at the end of the 1st post.

thank you for posting the edits. i am going to try to port this to the samsung captivate AOSP build tomorrow.

TRusselo said:
thank you for posting the edits. i am going to try to port this to the samsung captivate AOSP build tomorrow.
Click to expand...
Click to collapse
of course, or else I should make a zip for every rom for every update
cheers

Hmm... Wondering as my status_bar.xml looks like this (as attachement) i dont know wtf to do...
if you can guide me that would be awesome!!
PS: Its cm7 based rom for Htc Desire S but i thought it doesnt make much difference? or maybe im wrong...

Cool Mod, AOKP should integrate this in their rom manager, would be an awesome addition

Sick1 said:
Hmm... Wondering as my status_bar.xml looks like this (as attachement) i dont know wtf to do...
if you can guide me that would be awesome!!
PS: Its cm7 based rom for Htc Desire S but i thought it doesnt make much difference? or maybe im wrong...
Click to expand...
Click to collapse
sure, i'll take a look. I'm not an expert of course but I'll try. I see that it has many differences..hmm.
la7lou7a said:
Cool Mod, AOKP should integrate this in their rom manager, would be an awesome addition
Click to expand...
Click to collapse
I guess it would be nice
I've shown it to Roman and he liked it. With the same way, we have weather in statusbar
҉ Sent from my Galaxy Nexus ҉

Sick1 said:
Hmm... Wondering as my status_bar.xml looks like this (as attachement) i dont know wtf to do...
if you can guide me that would be awesome!!
PS: Its cm7 based rom for Htc Desire S but i thought it doesnt make much difference? or maybe im wrong...
Click to expand...
Click to collapse
You have placed the line <com.android.systemui.statusbar.policy.DateView...>
in the end of the status_bar.xml but you have to put it on top of the "clock" line.
The status bar items follow the order in which you have placed the lines.
I m writing from a ****ing iPad(I viewed the XML from this too), I can't describe it better right now..
Tell me the results.

I cut it on top of the clock, now its in the right place on right of the clock in my statusbar but only showing when opening notifications, and there is empty space for it always "reserved" next to clock...
nikosrs4 said:
You have placed the line <com.android.systemui.statusbar.policy.DateView...>
in the end of the status_bar.xml but you have to put it on top of the "clock" line.
The status bar items follow the order in which you have placed the lines.
I m writing from a ****ing iPad(I viewed the XML from this too), I can't describe it better right now..
Tell me the results.
Click to expand...
Click to collapse

Sick1 said:
I cut it on top of the clock, now its in the right place on right of the clock in my statusbar but only showing when opening notifications, and there is empty space for it always "reserved" next to clock...
Click to expand...
Click to collapse
can you post some screenshots? they are very different compared to stock xml.
edit: try the attachment but please please backup first!
I changed a lot the status_bar.xml, not the expanded.

Related

[Mod](ANY DEODEXED GB TW ROM) Pimp my Status bar **now with transparency**

{
"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"
}
Custom status bar:
>>>Click Here<<<
Transparent status bar:
>>>Click Here<<<
Difficulty:1/5
Time:5mins
Bug Reporting:
If your going to post bugs send the following-
*The rom you are running
*What launcher you use
*What mod you have flashed
If you do not include this information I will not reply!!!
Info:
Tired of looking at that boring old black status/notification bar??
Here is a mod that should give you a custom status/notification bar on any Gingerbread Touchwiz Rom.
I have flashed this countless times in the past week or so and it works perfect for me on GingerMod v0.8
I dont know if this will work on other bases without looking at MIUI and cyanogenmod SystemUI.apks but feel free to try or post them for me to look at.
Also if you want transparency adding to your status bar (depending on the launcher used) post your UNTHEMED systemUI.apk.
What does the mod do??
It basically changes your status_bar.xml from displaying a colour-
ARGB-00(alpha)00(red)00(green)00(blue), thats black to us lot, to a png image instead-"statusbar_background.9.png" or "statusbar_background.png".
The image can be standard .png or .9.png(compiled!!), ideally .9.png if you use your device in landscape.
Preview:
All you have to do is follow these simple steps:
* Download 7zip and install on your P.C.(Its free just google search it).
* Find the status bar you like/want and download. You can find them on their own, inside themes or inside Roms.
* (A) Download the "Custom Status Bar.zip" from the link below, then open it up and navigate to "MORPH>system>app>SystemUI.apk>res>drawable-hdpi>". Basically open the zip then double click your way through.
* (B) Find the status bar that you just downloaded. If its within a rom/theme then open it up with 7zip and navigate to system>app>SystemUI.apk>res>drawable-hdpi>. In here you want "statusbar_background.9.png" or "statusbar_background.png".
* Now select "statusbar_background.9.png"or "statusbar_background.png" in the (B) window and drag and drop into the (A) window and click yes to confirm.
* Now close both windows and put "Custom Status Bar.zip" on your SDcard and install it from CWM.
* Reboot.
>>>CLICK ME TO DOWNLOAD "Custom Status Bar.zip"<<<
Please note the universal theme zip used will create a backup on your sdcard in "universal themes", simply flash the backup from CWM to restore your previous state prior to flashing.
I am not responsible for any actions you take!!.
I have included my status bars from my Phone Candy theme in the "Custom Status Bar.zip", they are attached also.
Please post any status bars and ill create a gallery for them.
Credits:
UNIVERSAL FLASHER TOOL v.3.2
by JRsoft & Intronauta
*Villain Team for the concept
*Stericson for "Metamorph" system
*Core Utilities for the tar binary
*Blades" for the 7z binary and libs
*All testers, especially to SuperCocoV6.5 and lexullde
*doctorcete for helping with the translations
How does this work??
The transparent status bar is only enabled by making changes to "StatusBarService.smali" inside "SystemUI.apk\smali\com\android\systemui\statusbar\"
Most SystemUI.apk's are different in build so unfortunately it's not a case of "one mod fits all"
Taking a transparent status bar png and adding it to the mod from post 1 WILL NOT give you transparency, it needs to be enabled, as does using a launcher which supports transparent status bars. A list can be found below detailing which launchers work.
If you do not see your rom listed below then post your SystemUI.apk and i will make the necessary changes to enable transparency.
Links for working transparency enabled SystemUI.apk
GingerMod v0.8
HyperDroid Androidmeda v6.0.8
Simple and Clean 2.4.3
Verts ICS
VillainRom v3.0.0
Links contain only the necessary files for the mod to work including full transparent status_bar.png. This means you should not lose any of the your theme.
Install:
*Download appropriate zip
*Install from CWM recovery
*Reboot.
KNOWN ISSUES:
If you are using JKays mod then the date will appear in the status/notification bar when pulled down.
I have disabled the date in SystemUI and it works fine on roms not using his tool, But JKays mod is displaying the date from framework-res (i think) which is also connected to the notification text disaplayed on the status bar. So until i figure out how to split the date and notifications you have a choice:
*No date and notification text
or
*Display date and notification text
If want to remove the date and notification text post your framework-res.apk and ill make appropriate changes.
Here is a zip containg 7 simple transparency enabled status bars:
>>>CLICK ME<<<
Preview of the contents aginst a transparency checker background:
Contains
1x 0%
2x 25% (white and black)
2x 50% (white and black)
2x 75% (white and black)
If you have any requests feel free to ask..
Here are a list of launchers that i have personally tried with the transparent status bar and how to enable it:
* 360 Launcher
* ADW. Launcher
Uncheck wall paper hack.
* Balancer Launcher
* Gingerbread Launcher
* Go Launcher
Enable high quality wall paper.
* ICS 4.0 Launcher
* Launcher 7
* Launcher Pro
* MX Launcher
* QQ Launcher Pro
* Regina Launcher
* SPB Shell 3D
* TW Launcher
* Zeam Launcher
Credits:
UNIVERSAL FLASHER TOOL v.3.2
by JRsoft & Intronauta
*Villain Team for the concept
*Stericson for "Metamorph" system
*Core Utilities for the tar binary
*Blades" for the 7z binary and libs
*All testers, especially to SuperCocoV6.5 and lexullde
*doctorcete for helping with the translations
More space
Thanks for this mate! Im gonna try it straight away
I luv the thread title, LOL.
it s the same thing
dully79 said:
Difficulty:1/5
Time:5mins
Info:
Here is a mod that should give you a custom status/notification bar on any Gingerbread Touchwiz Rom.
I have flashed this countless times in the past week or so and it works perfect for me on GingerMod v0.8
I dont know if this will work on other bases without looking at MIUI and cyanogenmod SystemUI.apks but feel free to try or post them for me to look at.
Also if you want transparency adding to your status bar (depending on the launcher used) post your UNTHEMED systemUI.apk.
What does the mod do??
It basically changes your status_bar.xml from displaying a colour-
ARGB-00(alpha)00(red)00(green)00(blue), thats black to us lot, to a png image instead-"statusbar_background.9.png" or "statusbar_background.png".
The image can be standard .png or .9.png(compiled!!) with dimensions of upto 480(W)x38(H)
All you have to do is follow these simple steps:
* Download 7zip and install on your P.C.(Its free just google search it).
* Find the status bar you like/want and download.
* (A) Download the "Custom Status Bar.zip" then open it up and navigate to "MORPH/system/app/SystemUI.apk/res/drawable-hdpi/"
* (B) Find the status bar you want to use that you just downloaded. If its within a rom/theme then open it up with 7zip and navigate to system/app/SystemUI.apk/res/drawable-hdpi/. In here you want "statusbar_background.9.png" or "statusbar_background.png".
* Now select "statusbar_background.9.png"or "statusbar_background.png" in the (B) window and drag and drop into the (A) window and click yes to confirm.
* Now close both windows and put "Custom Status Bar.zip" on your SDcard and install it from CWM.
* Reboot.
>>>CLICK ME TO DOWNLOAD "Custom Status Bar.zip"<<<
Please note the universal theme zip used will create a backup on your sdcard in "universal themes", simply flash the backup from CWM to restore your previous state prior to flashing.
I am not responsible for any actions you take!!.
I have included my status bars from my Phone Candy theme in the "Custom Status Bar.zip", they are attached also.
Credits:
UNIVERSAL FLASHER TOOL v.3.2
by JRsoft & Intronauta
*Villain Team for the concept
*Stericson for "Metamorph" system
*Core Utilities for the tar binary
*Blades" for the 7z binary and libs
*All testers, especially to SuperCocoV6.5 and lexullde
*doctorcete for helping with the translations
Finally please post if the mod works on your Rom and i will add it to the OP,
Thank you.
Click to expand...
Click to collapse
it s the same thing doing this:
decompile SystemUI.apk with apk manager;
edit res/layout/status_bar.xml replacing..
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background=[COLOR="red"]"ff000000"[/COLOR][COLOR="Green"]"@drawable/example"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background=[COLOR="Red"]"ff000000"[/COLOR][COLOR="green"]"@drawable/example"[/COLOR] android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
and example is an png image with size 480x38 you have to place in res/drawable-hdpi named example.png
so easy
Find the status bar you want and download may not be clear to some people...
As in....where to look in the rom/theme and how to extract it out ...
Just a thought mate
Sent from my GT-I9100 using XDA App
pSyCh¤_O_O said:
Thanks for this mate! Im gonna try it straight away
Click to expand...
Click to collapse
Your welcome.
sileshnair said:
I luv the thread title, LOL.
Click to expand...
Click to collapse
Thanks.
Mirko ddd said:
it s the same thing doing this:
decompile SystemUI.apk with apk manager;
edit res/layout/status_bar.xml replacing..
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background=[COLOR="red"]"ff000000"[/COLOR][COLOR="Green"]"@drawable/example"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background=[COLOR="Red"]"ff000000"[/COLOR][COLOR="green"]"@drawable/example"[/COLOR] android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
and example is an png image with size 480x38 you have to place in res/drawable-hdpi named example.png
so easy
Click to expand...
Click to collapse
Yes mate, I've just tried to take the donkey work out and simplify it.
rixsta said:
Find the status bar you want and download may not be clear to some people...
As in....where to look in the rom/theme and how to extract it out ...
Just a thought mate
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
I'm going to add some screens when I get more time.
dully79 said:
. . .
Also if you want transparency adding to your status bar (depending on the launcher used) post your UNTHEMED systemUI.apk.
. . .
Click to expand...
Click to collapse
Hi mate.. . .
Why does the systemUI.apk have to be an unthemed one? . . .
morg01 said:
Hi mate.. . .
Why does the systemUI.apk have to be an unthemed one? . . .
Click to expand...
Click to collapse
It doesn't, but there's less chance of stumbling across problems when decompiling and recompiling.
& i got error ...i choose to create my own .png file with transparant image..
kingofjail said:
& i got error ...i choose to create my own .png file with transparant image..
Click to expand...
Click to collapse
Your going to have to give more information.
Also have you modified the smali to enable transparent status bar??
This mod alone doesn't enable transparency, just the ability to use a custom status bar.
dully79 said:
Your going to have to give more information.
Also have you modified the smali to enable transparent status bar??
This mod alone doesn't enable transparency, just the ability to use a custom status bar.
Click to expand...
Click to collapse
trasparency in status bar is possible, but the result is awful due to text crossing of notification. This may need (it does) several work on it, on SystemUI.apk and maybe in other ones.
Sorry 4 my bad english, I hope you understand what I mean
Mirko ddd said:
trasparency in status bar is possible, but the result is awful due to text crossing of notification. This may need (it does) several work on it, on SystemUI.apk and maybe in other ones.
Sorry 4 my bad english, I hope you understand what I mean
Click to expand...
Click to collapse
Yes I'm aware of this, it has been discussed in another thread.
I haven't had time to try a fix as I've been busy with countless requests and PMS, but ill try and look tonight.
PROGRESS!!
Hello,
So i've just had a look and modified the "status_bar.xml" to try and fix the date/notification clash and this is the result:
As you can see i have made the date disappear resulting in no more clash!!
There is also no 2nd status bar image overlap from the pulldown as ive changed the code from:
android:layout_width="wrap_content"
To
android:layout_width="fill_parent"
All in all a job well done for a first attempt from an xml novice and thanks sileshnair for your support in the other thread.
I suppose you wanted the latest Hyper systemui
Goodnight
siberian tiger said:
I suppose you wanted the latest Hyper systemui
Goodnight
Click to expand...
Click to collapse
Many, many thanks mate. It's just for a request I got to add transparency. I didn't want to download the whole rom using 3g, my broadband is off.
Thanks again.
dully79 said:
Hello,
So i've just had a look and modified the "status_bar.xml" to try and fix the date/notification clash and this is the result:
As you can see i have made the date disappear resulting in no more clash!!
There is also no 2nd status bar image overlap from the pulldown as ive changed the code from:
android:layout_width="wrap_content"
To
android:layout_width="fill_parent"
All in all a job well done for a first attempt from an xml novice and thanks sileshnair for your support in the other thread.
Click to expand...
Click to collapse
easier than I thought gotta try it out sooner as possible!
Greeting, thanks for this . . . any chance you could have a bash at the following?
View attachment 874910
Transparency please?
morg01 said:
Greeting, thanks for this . . . any chance you could have a bash at the following?
View attachment 874910
Transparency please?
Click to expand...
Click to collapse
No probs mate, I've just gotten in from work so give me a hour as I've got a couple of requests to do and I'll have it up for you.
Also do you want it fully transparent, 25%, 50%, 75%, black or white??
And what Rom is it from?
It needs to be de-odexed.

[MOD/GUIDE]Jelly Bean style SystemUI For CM9/ICS ROM[UPDATE 15-10-2012]

I have managed to get CM10 style status bar in CM9 rom
A big thanks To ThilinaC for helping me
Now
what i want to do is to hide the statusbar
UPDATE 15-10-2012
statusbar close on/off pressed and unpressed(thanks To mr.faridcom)
Download link
http://www.mediafire.com/?66eni4a4ib59wyv
{
"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"
}
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
Testing only HDPI
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
MY MODDED suystemui FOR S2 USERS I am ON cm-9-20120916-NIGHTLY-galaxys2 you can use it directly replacing it with yours
http://www.mediafire.com/?y92cz70tgqchter
Now Its Perfect
By tarunagg at 2012-09-18
Uploaded with ImageShack.us
what i want to do is to hide the statusbar clock
DOCUMENTATION:-
What I Did Is
Assuming you know how to decompile and compile
in SystemUI.apk\res\layout\status_bar_expanded.xml
i modified so many things even i dont remeber exactly
if anyone need help in porting PM me
here's my status_bar_expanded.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="5.0dip" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" android:layout_toRightOf="@id/clock" />
<ImageView android:id="@id/settings_button" android:paddingLeft="250.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentLeft="true" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_clear_all" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@dimen/notification_panel_widget_height" />
</LinearLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>
after that dont forget to add all png's from my systemui to yours
and in styles.xml
add
Code:
<style name="TextAppearance.StatusBar.Clock2" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">true</item>
</style>
<style name="TextAppearance.StatusBar.Expanded" parent="@android:style/TextAppearance.Small.CalendarViewWeekDayView" />
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffcccccc</item>
<item name="android:textAllCaps">true</item>
</style>
and in Strings.xml
find "status_bar_date_formatter"
change it to exact
Code:
<string name="status_bar_date_formatter">"%1$s
%2$s"</string>
COMPLETED
Now what i want is to hide the clock while statusbar expended is open
looks nice mind sharing?
mysterio619 said:
looks nice mind sharing?
Click to expand...
Click to collapse
Make a backup
Read some pages
http://forum.xda-developers.com/showthread.php?p=31718198
Sent from my GT-I9100 using xda app-developers app
released for Testing
Testing only
1st mount /system in cwm
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
Updated check op
is this work in ics stock based rom??
Gabrieltan said:
is this work in ics stock based rom??
Click to expand...
Click to collapse
i dont think so
if you know how to use the codes and compile it then you can
Amazing Work!
But when i change theme, maybe is for them or not but status bar disappear.
I tested the Mod Version in a CyanogenMod 9.1.0 Stable obviously this mod is for nightlies?
Very nice work man!
its bcoz you are applying jellubean theme
and if u get anynotification or rebot you will see statusbar again
dark_zhero said:
Amazing Work!
But when i change theme, maybe is for them or not but status bar disappear.
I tested the Mod Version in a CyanogenMod 9.1.0 Stable obviously this mod is for nightlies?
Very nice work man!
Click to expand...
Click to collapse
nitinvaid said:
its bcoz you are applying jellubean theme
and if u get anynotification or rebot you will see statusbar again
Click to expand...
Click to collapse
Yes i Set a System Theme and after set a Jelly Bean Theme and status bar disappear (or any theme) and reboot the phone and now works.
but is tedious
Maybe you have create a Right clock (original) mod?
Regards
And sorry for my Google's Translate English
dark_zhero said:
Yes i Set a System Theme and after set a Jelly Bean Theme and status bar disappear (or any theme) and reboot the phone and now works.
but is tedious
Maybe you have create a Right clock (original) mod?
Regards
And sorry for my Google's Translate English
Click to expand...
Click to collapse
i will create it dont worry but not now
already have two much request
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
nitinvaid said:
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
Click to expand...
Click to collapse
This what im missing in cm10. Thanks sir!
" In Cody, we trust "
Can i have a small request sir? Maybe if you have time can you hide the notification when it is drop down like this..
thanks in advance! Very much appreciated your work!
" In Cody, we trust "
huwande1acruz said:
Can i have a small request sir? Maybe if you have time can you hide the notification when it is drop down like this..
thanks in advance! Very much appreciated your work!
" In Cody, we trust "
Click to expand...
Click to collapse
My friend i am also working on the same do you have any idea how to do that
How to Change clock color in systemUI ?
ararat1824 said:
How to Change clock color in systemUI ?
Click to expand...
Click to collapse
you can not u have to decompile systemui
or use another theme
nitinvaid said:
you can not u have to decompile systemui
or use another theme
Click to expand...
Click to collapse
ok but in systemui Where is the edit which file for change clock color

[MOD][14 jan] - Instant screen off / Power menu in notification dropdown + How to

{
"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"
}
First of all, a big thanks to kurniawan77 for letting me port his brilliant mod. (Original mod)
Mod info
4 versions regarding placement; left, center right and bottom
All versions available with battery %
All versions available with AOSP style recent apps (thanks hassan89)
Based on 3.14.401.31 SystemUI.apk
Compatible with de-odexed and odexed ROMs (3.14.xxx.xx)
De-odexed and zipaligned
Instant screen off button integrated in notification header or bottom
Longpress button and APM / Power menu shows up
Bottom version note:
You can touch the bottom anywhere between the dots for instant screen off and power menu.
Pressing the dots, left and right, will give you stock bottom behaviour.
How to include this mod in your project
Assuming you know how to decompile and recompile SystemUI.apk, you'll need to do following;
Add ic_sysbar_lock.png to drawable-xhdpi
Open ids.xml and add green colored
Code:
<item type="id" name="recent_inspect_item">false</item>
[COLOR="Green"] <item type="id" name="screen_lock_button">false</item>[/COLOR]
</resources>
Now you'll need to open status_bar_expanded_header.xml (left, center and right) or status_bar_expanded.xml (bottom)
You may need to remove some margins depending your desired placement.
Add green colored (status_bar_expanded_header) left, center or right
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
[COLOR="green"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/screen_lock_button" android:layout_width="50.0dip" android:layout_height="50.0dip" android:layout_marginTop="1.0dip" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" systemui:keyCode="26" />[/COLOR]
<com.android.systemui.statusbar.policy.Clock android:textSize="36.0dip" android:textColor="@*android:color/white" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:singleLine="true" />
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="36.0dip" android:textColor="@*android:color/white" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:singleLine="true" />
[COLOR="green"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/screen_lock_button" android:layout_width="50.0dip" android:layout_height="50.0dip" android:layout_marginTop="1.0dip" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" systemui:keyCode="26" />[/COLOR]
<com.android.systemui.statusbar.policy.DateView android:id="@id/date" android:layout_width="0.0px" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" android:maxLines="2" android:layout_weight="1.0" android:lineSpacingExtra="0.0dip" style="@com.htc:style/title_secondary_m" />
Code:
<com.android.systemui.statusbar.policy.DateView android:id="@id/date" android:layout_width="0.0px" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" android:maxLines="2" android:layout_weight="1.0" android:lineSpacingExtra="0.0dip" style="@com.htc:style/title_secondary_m" />
[COLOR="Green"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/screen_lock_button" android:layout_width="50.0dip" android:layout_height="50.0dip" android:layout_marginTop="1.0dip" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" systemui:keyCode="26" />[/COLOR]
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone"
Remove red colored, then add green colored (status_bar_expanded) bottom
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/close" android:background="@drawable/status_bar_close_on" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="Red"] <com.android.systemui.statusbar.phone.CarrierLabel android:gravity="center" android:id="@id/carrier" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textAppearance="@com.htc:style/title_secondary_m" android:ellipsize="end" android:gravity="center" android:id="@id/plmnLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@com.htc:style/title_secondary_m" android:ellipsize="end" android:gravity="center" android:id="@id/spnLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.CarrierLabel>[/COLOR]
</com.android.systemui.statusbar.phone.CloseDragHandle>
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/close" android:background="@drawable/status_bar_close_on" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="Green"] <com.android.systemui.statusbar.policy.KeyButtonView android:gravity="center" android:id="@id/screen_lock_button" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="5.0dip" android:layout_marginBottom="5.0dip" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" systemui:keyCode="26" />[/COLOR]
</com.android.systemui.statusbar.phone.CloseDragHandle>
If you are running a ROM with signatures check enabled you'll need to do the following after you compiled your mod:
Drag META-INF folder and AndroidManifest.xml from stock SystemUI.apk to your modded SystemUI.apk.
How to make your own centered clock version
Because there are 24 versions to maintain now, i'll not add centered clock versions. I'll share with you how you can do it yourself easily.
This method doesn't cause SystemUI FC's when playing videos in landscape.
Assuming you know how to decompile and recompile SystemUI.apk, you'll need to open res\layout\status_bar.xml
Add green colored
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
[B][COLOR="Red"][COLOR="red"][COLOR="red"][COLOR="Green"]<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="@*android:color/white" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>[/COLOR][/COLOR][/COLOR][/COLOR][/B]
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
Remove red colored
Code:
</LinearLayout>
[COLOR="Red"] <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="@*android:color/white" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
</LinearLayout>
If you are running a ROM with signatures check enabled you'll need to do the following after you compiled your mod:
Drag META-INF folder and AndroidManifest.xml from stock SystemUI.apk to your modded SystemUI.apk.
Download links
Stock: Left, Center, Right, Bottom
Including battery %: Left, Center, Right, Bottom
Including battery % blue: Left, Center, Right, Bottom
Including AOSP style recent apps: Left, Center, Right, Bottom
Including AOSP style recent apps + battery %: Left, Center, Right, Bottom
Including AOSP style recent apps + battery % blue: Left, Center, Right, Bottom
​
Thanks for sharing.. like the right one and it works as it should
♀Mivahe said:
First of all, i want to thank kurniawan77 for letting me port his brilliant mod. (Original mod)
The original mod was made for 4.2.1 AOKP ROM and because i found his mod brilliant, i started my first project, porting it to a 4.1.1 Sense 4+ ROM.
It took me a few hours to figure out what to do and understanding the changes i had to make. Now i can proudly present you my first ported mod.
Mod info
* Softbutton for Screen Off integrated in header of notification dropdown
* Longpress button and Power Menu shows up
* Resized time, date and icon margins so it looks better
* Based on 3.14.401.31 SystemUI
* Compatible with de-odexed and odexed ROMs
* 3 versions available: left,center or right
Download links: Left, Center, Right​
Click to expand...
Click to collapse
Wow this is amazing Does this have battery percentage?
hassan89 said:
Wow this is amazing Does this have battery percentage?
Click to expand...
Click to collapse
Thanks, you just gave me my second project, adding battery %. Stay tuned
♀Mivahe said:
Thanks, you just gave me my second project, adding battery %. Stay tuned
Click to expand...
Click to collapse
This was a great idea. But I am on Renovate Rom which was themed, by flashing this am I going to loose some theming? Thanks for the mod
Sent from my HTC One X using Tapatalk 2
A tutorial for how to do this would be really helpful mate Using your logic we might be able to port all the notification bar toggles from AOSP roms . :good::good:
hassan89 said:
A tutorial for how to do this would be really helpful mate Using your logic we might be able to port all the notification bar toggles from AOSP roms . :good::good:
Click to expand...
Click to collapse
You should make it your own little project Compare my mod to stock SystemUI and you should find 3 files you need to change.. good luck:good:
nice
great job
another usefull mod
Thanks for your mod.
Im dreaming about one mod with this one, long press back button to kill app, APM and "Menu at Rosie" in one package That would be great.
SeBoLeX said:
Thanks for your mod.
Im dreaming about one mod with this one, long press to kill app, APM and "Menu at Rosie" in one package That would be great.
Click to expand...
Click to collapse
If you longpress the button.... You get apm already
sent from AOKP to OneX
Updated OP with optional battery % for all versions, hope you'll like it, enjoy!
Very Useful mod, thank you ^^
nice hacks
Installed on OrDroid and not working
Sent from my HTC One X using Tapatalk 2
Tabtoub said:
Very Useful mod, thank you ^^
Click to expand...
Click to collapse
Thanks
Dougi said:
nice hacks
Click to expand...
Click to collapse
Thanks, hope you enjoy my mod
levanoza said:
Installed on OrDroid and not working
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
My mod is based on a stock SystemUI, it does not include all the benefits and tweaks from OrDroid ROM, which is probably the reason why it's not working for you, though it should theoretical work as mod and ROM share same base. You could try it again and wipe cache and dalvik cache after flashing my mod. If it fails again plz ask your ROM dev to include this mod compatible with his ROM. I don't have the time to make my mod compatible with every ROM. Hope you understand.
To all devs: if you want to include this in your ROM plz pm me so i can share my changes and make it a bit easier for you to include my mod.
It works on Blade v4.
Sent from my HTC One X using xda app-developers app
Because I am not satisfied afterwards changing the margins i'm going to upload new mods with stock margins. Sorry for the inconvinience!
edit: New mods ready to download!
edit: Added back battery % versions
Hope this will be one day included in ViperX rom, I really love it
I really have to thank you for this, amazing mod! :thumbup:
Seems like a very useful mod! i've posted this before, but still don't know if it is possible:
Do you know how I can achieve the following: I'm running exchange policy (mandatory at my company). I've got an 'screen off and lock' button installed. When I use this screen off button, I always have to fill in my pin number, even when set on 30 minutes... I don't want to use the exchange disabler (which are found often in aroma installers), but would like to be able to use the phone as with gingerbread (just press the off button on your homescreen, The current screen off buttons/widgets all have a delay of some seconds... which is anoying... I can imagine that this is an app related thing, but if you know if there's a value which can be altered for the 'time out', that would be awesome!
Is there a way to achieve this, of your knowing?
many thanks in advance.
cheers

[MOD][GUIDE]Three Panel Swipe animation (No conflict to swipe to remove notifs)

ScreenShot:
{
"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"
}
Long Description: Three panel with Swipe Animation, as you can see on the image, you will say that it will have conflict to swipe to remove notifications but it will not. It is because you will swipe at your "header" (or any place you want to put the swipe detector) only, BUT the whole page of UI will switch and the header will stay. You cant swipe at the bottom part but only in the part of the header of UI so that's why it will not have any conflicts to swipe to remove notification. (My header is where the smart buddy is.)
Short Description: Two class, first class was the swipe detector, the second class will switch and will receive what kind of swipe happened.
What YOU need:
1. know how to decompile and recompile apks.
2. Some experience.
---------STEPS--------
1.) Decompile your SystemUI.apk
2.) Go to res/layout/status_bar_expanded.xml open it and cover your header with this code.
Code:
<com.lenox.multiswipe.headerswipe android:layout_width="fill_parent" android:layout_height="wrap_content">
<(your header)/>
</com.lenox.multiswipe.headerswipe>
Example of my header cover by the code (The place of carrier's label act as my header):
Code:
<com.lenox.multiswipe.headerswipe android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
<Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />
</LinearLayout>
</com.lenox.multiswipe.headerswipe>
3.) Then on the same xml, cover the first page of your UI, my first page of UI was the notifications so ... just look at the code below (hard to explain sorry xD) :
Code:
<com.lenox.multiswipe.multiswipe android:id="@id/ms" android:layout_width="fill_parent" android:layout_height="fill_parent">
[B]<ScrollView[/B] android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
[B]<LinearLayout[/B] android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textColor="#ff000000" android:textSize="20.0dip" android:gravity="center_vertical|center_horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="secondlayout" />
</LinearLayout>
[B]<LinearLayout[/B] android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textColor="#ff000000" android:textSize="20.0dip" android:gravity="center_vertical|center_horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="thirdlayout" />
</LinearLayout>
</com.lenox.multiswipe.multiswipe>
REMINDER: You must have atleast 3 view or layouts for it to work otherwise your status bar will be gone missing. So my first view was the ScrollView (firstpage), second view/layout was the linearlayout(second page) and third view/layout was another linearlayout(thirdpage). It's up to you what you want to put in that pages. You can have three Relativelayouts, linearlayouts, or scramble, etc..
4.) Close and save, then go to res/values/ids.xml and add this line before </resources> at the bottom.
Code:
<item type="id" name="ms">false</item>
</resources>
5.) Close and save, then recompile the SystemUI.apk.
6.) Get your recompiled SystemUI.apk, and decompile it again. Then go to smali/com and add the lenox folder (with smalis inside) Download it the attachment part below.
7.) Get the public id of the id you put in the ids.xml earlier. To get it, go to res/values/public.xml then find the public id:
Code:
<public type="id" name="ms" id="(Important code)" />
(Remember the Important code.)
8.) Go to smali/com/lenox/multiswipe/multiswipe.smali then find this line:
Code:
.line 64
const v3, 0x7f040001
And replace the 0x7f040001 with your Important code/public id you get at step 7.
9.) Save all, Close then recompile it.
10.) flash or push your recompile SystemUI.apk.
That's it. Report if I forgot something and the credit goes to you .
Have a party. LOL
CREDITS:
github.com
Google.com (especially StackOverFlow.com)
[email protected] (ViewFlipper Source Code)
[email protected] (exact animation) (a very nice guy )
[email protected]
forum.xda-developers.com
Lenox Devs :laugh:​
Handy guide...looks great
Nice one man!
Wow! Great! :good:
Nice guide buddy! :thumbup::thumbup::thumbup:
Just looking for this thanx man!!
Sent from my GT-S5360 using Tapatalk 2
and what does the last two layout for ? is it toogles ? or what ?
Suggestion :
i think you should remove the lidroid on the second and third panel to make it more cool.
Mranggapo said:
and what does the last two layout for ? is it toogles ? or what ?
Click to expand...
Click to collapse
It's up to you what you want to put inside them. Example, your toggles is on second layout, information about you is on third layout. Because there's a guide on two panel swipe, but it has conflict on swipe to remove notification so i create that won't conflict on swipe to remove and it has three panels.
Sorry for my english. xD
Luwiji said:
i think you should remove the lidroid on the second and third panel to make it more cool.
Click to expand...
Click to collapse
It was not lidroid, they are stock toggles, if you have lidroid, you can put them in second or third layout to keep layouts clean. I dont have time (and skills xD) on designing my UI. This was only a mod for three panel with swipe animation and it's up to you on how will you use it.
hi sir tenten .i just want to ask if there is a way to make the swipe animation faster? thanks for this awesome tut
markmellarpes said:
hi sir tenten .i just want to ask if there is a way to make the swipe animation faster? thanks for this awesome tut
Click to expand...
Click to collapse
Ill remake it and use the animation of spacecaker from b16h22, becuase i think it is exact . And also I will make it faster. thanks for suggesting sir
Great guide buddy, but i see no point in having 2-3 layout's .. :thumbup:
Mr.Gentleman said:
Great guide buddy, but i see no point in having 2-3 layout's .. :thumbup:
Click to expand...
Click to collapse
For me also xD, but I saw some roms/mods that have 2-3 layouts. Example, 2 panel swiping(conflict with swipe to remove) and 3 page UI. I just make it three and remove the conflict on swipe to remove. It's up to them what they want to put inside and how they will use it. haha.
And by the way, I like your signature. hahahaha.
Thread Updated
Thread Updated, exact and faster animation.
Thanks to Spacecaker and b16h22.
tentenponce said:
Thread Updated, exact and faster animation.
Click to expand...
Click to collapse
thats what ive been waiting for.ahaha good job sir .gonna try it now :thumbup:
Sent from my GT-S5360 using xda premium
Can i Get the Java source of the app OP
samsoul16 said:
Can i Get the Java source of the app OP
Click to expand...
Click to collapse
I want to push the source on github, but my internet connection is </3 too too slow. xD
tentenponce said:
I want to push the source on github, but my internet connection is </3 too too slow. xD
Click to expand...
Click to collapse
buddy thats gr8. but actually i am a in a little hurry can u pm me the source or just the java files if u dont mind. ty
Now this guide is just awesome!!!
why only for galaxy y sir? xD does it work with any other device?

[GUIDE] Adding Lidroid statusbar toggles [EASIER THAN EVER]

CREDITS
LIDROID
THIS THREAD and THIS THREAD
POTATOINC​
You must know how to decompile an APK
SCREENSHOTS
Without modifying StatusbarService.smali
{
"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"
}
After modifying StatusbarService.smali
First go to this thread by @dcsms
[GUIDE]How to add lidroid 14 statusbar toggle buttons for Galaxy Y
Skip step 3. (You don't need to edit StatusBarService.smali for now)
Then go to my thread (Now its usefull)
[GUIDE] Remove STOCK TW toggles on expandedView or just move it to anywhere
Because we need to remove stock toggles in our expandedView
Download this smali files from POTATOINC
http://forum.xda-developers.com/attachment.php?attachmentid=2506685&stc=1&d=1389366819
Copy it to your SystemUI/smali
Then go to your SystemUI/res/layout/status_bar_expanded.xml
add or you can put it anywhere you like
Code:
[FONT=Century Gothic]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content android:orientation="vertical"/>[/FONT]
So it will looks like this
Code:
[FONT=Century Gothic]<?xml version="1.0" encoding="utf-8"?>[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"[/FONT]
[FONT=Century Gothic] xmlns:android="http://schemas.android.com/apk/res/android">[/FONT]
[FONT=Century Gothic] <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">[/FONT]
[FONT=Century Gothic] <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">[/FONT]
[FONT=Century Gothic] [COLOR=Magenta]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"/>[/COLOR][/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />[/FONT]
[FONT=Century Gothic] <Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />[/FONT]
[FONT=Century Gothic] </LinearLayout>[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.NotificationLinearLayout>[/FONT]
[FONT=Century Gothic] </ScrollView>[/FONT]
[FONT=Century Gothic] <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />[/FONT]
[FONT=Century Gothic] </FrameLayout>[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.ExpandedView>[/FONT]
Decompile SystemUI.apk
If you have some FC issues its better to attach LOGCAT.
Also test it on other devices then report back here. THANKS​
Awesome. Now its easy to port.
Sent from my Nexus 7 using Tapatalk
actually there is an even easier way
use this tool - does it all for you - you just have to add the code it give to the smali and the rest it does itself
http://forum.xda-developers.com/showthread.php?t=2181597
marcussmith2626 said:
actually there is an even easier way
use this tool - does it all for you - you just have to add the code it give to the smali and the rest it does itself
http://forum.xda-developers.com/showthread.php?t=2181597
Click to expand...
Click to collapse
no this is better coz the edit in statusbar service is different for all fones. and many have problem compiling it. now there will be no problem..
samsoul16 said:
no this is better coz the edit in statusbar service is different for all fones. and many have problem compiling it. now there will be no problem..
Click to expand...
Click to collapse
I have used that tool and it works perfect on galaxy y - the only thing you have to do is edit the service smali with the codes it gives you for different phones
so all you have to do is a simple copy and paste - everything else is done by the tool
The only thing it doesnt do is edit the manifest to enable flash light
Not work on my zte blade ROM: GSF B27 (2.3.4)
I don't know why.
In turn try lot of the make guide but the SystemUI always force close.
If anyone can help or described in more detail in the guide to ask you to do it.
LOTs OF THANKS.
sisxgame said:
Not work on my zte blade ROM: GSF B27 (2.3.4)
I don't know why.
In turn try lot of the make guide but the SystemUI always force close.
If anyone can help or described in more detail in the guide to ask you to do it.
LOTs OF THANKS.
Click to expand...
Click to collapse
layout or const value fail
logcat to know.
Sent from my S500 using xda app-developers app
SpaceCaker said:
layout or const value fail
logcat to know.
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
here is the apk link.
http://www63.zippyshare.com/v/82568762/file.html
i do not logcat this becuse all steps opservs and not problem in the recompile.
(no stock toggles my system ui and I not to do remove this)
please make my apk
maybe my rom is the problem, because force close when maked this guide
http://forum.xda-developers.com/showthread.php?t=2644229
Thanx your kindness
Sorry my bad english
sisxgame said:
here is the apk link.
http://www63.zippyshare.com/v/82568762/file.html
i do not logcat this becuse all steps opservs and not problem in the recompile.
(no stock toggles my system ui and I not to do remove this)
please make my apk
maybe my rom is the problem, because force close when maked this guide
http://forum.xda-developers.com/showthread.php?t=2644229
Thanx your kindness
Sorry my bad english
Click to expand...
Click to collapse
No.
u need to make yourself.
guides are there
it takes Trial and error to succed
Take logs to see whats wrong
without no one will be able to help
Sent from my S500 using xda app-developers app
SpaceCaker said:
No.
u need to make yourself.
guides are there
it takes Trial and error to succed
Take logs to see whats wrong
without no one will be able to help
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
thanks for the help, I'll try:fingers-crossed:
NON-Samsung ?
Will this work on non-samsung mediatek mt6575 device ?????/ reply plz
yes if u know how to mod properly.
Sent from my S500 using xda app-developers app
This is awesome! This is a mod that I've been searching for ways to add to my ancient GB tablet for the past two years! Big thanks to @mariozawa! :laugh:
Just two quick questions..
Is there an easy way to get the flashlight working? And is the quickpanelsettings.apk supposed to be visible from the app drawer? I can't see it anywhere..
Ticklefish said:
This is awesome! This is a mod that I've been searching for ways to add to my ancient GB tablet for the past two years! Big thanks to @mariozawa! :laugh:
Just two quick questions..
Is there an easy way to get the flashlight working? And is the quickpanelsettings.apk supposed to be visible from the app drawer? I can't see it anywhere..
Click to expand...
Click to collapse
for flashlight all u can do is add
permission of hardware camera or
modify the ledcontroller smali ( dunno how but on some fevices it made it work)
for the settings app it momight be DEFAULT in manifest change it to LAUNCHER and it should appearin appdrawer
Sent from my Acer S500 CloudMobile
SpaceCaker said:
for flashlight all u can do is add
permission of hardware camera or
modify the ledcontroller smali ( dunno how but on some fevices it made it work)
for the settings app it momight be DEFAULT in manifest change it to LAUNCHER and it should appearin appdrawer
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
Many thanks (I've used up my 8 today but I'll press thanks once I'm on TapaTalk later..).
I've added:
Code:
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
to my SystemUI.apk. This will be the first time I've done anything with modifying the Manifest. Am I correct that I can't use the same signature once the Manifest's changed?
Ticklefish said:
Many thanks (I've used up my 8 today but I'll press thanks once I'm on TapaTalk later..).
I've added:
Code:
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
to my SystemUI.apk. This will be the first time I've done anything with modifying the Manifest. Am I correct that I can't use the same signature once the Manifest's changed?
Click to expand...
Click to collapse
for modding manifest xml of system apps u need to sign them afterwards
but
u also need to disable signature check in services.jar
because u will sign it with tool like one_click_signer or apksigner etc
and they give different credentials then system sign so it will not show or appear if the signature check is on
its tricky but once it works u can do a lot
Sent from my Acer S500 CloudMobile
Okay, this is odd. I had to flash a nandroid backup as I made a mistake modding something..and I can now no longer use this mod. Everytime I install lidroid-res.apk, I get a bootloop.
And I've no idea why.
Anybody have a suggestion?
Maybe what happen is that u have 2 lidroid-res apks in framework.
but on different names.
tgen it tires to load them but fails.
also what can be the issue is the permissions although it shouldnt affect whole rom.
Sent from my Acer S500 CloudMobile
sir, will it work with non-samsung device like optimus L3 (GB)?
try it and you will see
if u have enough knowledge it will work ofcourse
Sent from my Acer S500 CloudMobile

Categories

Resources