I made this mod for CNA 3.6.0. It should work for CM10 and AOKP, but the changes may be somewhat different.
Updated September 28, 2012
{
"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"
}
How To:
1. Decompile SystemUI.apk
2. Edit status_bar_expanded.xml, which is located in: \res\layout
2a. Move this line:
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:layout_gravity="bottom" android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" android:layout_marginTop="44.0dip" />
2b. Place it here and add: android:layout_gravity="bottom":
Code:
</FrameLayout>
[COLOR="Red"] <com.android.systemui.statusbar.powerwidget.PowerWidget [B]android:layout_gravity="bottom"[/B] android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" android:layout_marginTop="44.0dip" />[/COLOR]
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
2c. Change
Code:
android:layout_marginTop="44.0dip"
to
Code:
android:layout_marginBottom="32.0dip"
2d. Optionally add: android:background="#ff000000"
Code:
</FrameLayout>
<com.android.systemui.statusbar.powerwidget.PowerWidget android:layout_gravity="bottom" [COLOR="Red"][B]android:background="#ff000000"[/B][/COLOR] android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" android:layout_marginTop="44.0dip" />
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" [COLOR="Red"][B]android:background="#ff000000"[/COLOR][/B] android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
3. Edit dimens.xml, which is located in: \res\values
3a. Change "notification_panel_header_and_widget" from 96.0dip to 48.0dip.
4. Recompile
5. Copy your modified status_bar_expanded.xml and resources.arsc files into the ZipThemer file I have attached.
6. Make a flashable zip with ZipThemer and flash in recovery.
The attached ZipThemer file is good to go for CNA 3.6.0, so if you are already running this version just follow step 6.
For those running CNA 3.6.0: Here is a flashable zip. And an undo zip just in case.
Very nice, now what about the brightness toggle?
I'll check it out. I also want to move the settings button down, but these may be more tricky.
Love your work but any chance to get a zip file just to flash? Not very good at decompile/compile sort of things.
Thanks in advanced
tyraelasd said:
Love your work but any chance to get a zip file just to flash? Not very good at decompile/compile sort of things.
Thanks in advanced
Click to expand...
Click to collapse
Attaching one now
creeve4 said:
Attaching one now
Click to expand...
Click to collapse
it worked perfectly, many thanks.
tyraelasd said:
it worked perfectly, many thanks.
Click to expand...
Click to collapse
My pleasure! Glad you can enjoy it!
SICK
Thanks!!
I love you.
Sent from my Galaxy Nexus using xda app-developers app
UPDATED: I figured out how to get rid of the gap between app notifications and the clock!!!
OP. You opened my eyes. Once I saw this mod and applied it, I noticed a few things that would be really cool if they could be included. The mod itself is great, I love it. I wouldn't normally ask unless I could make it worth your while as I know you have a life outside XDA, but I'm not currently in a position to send any donations right now(broke-as-a-joke)... but I have quite a few requests, or ideas rather, for this mod. Like I said as sad as it is, I can't donate to you, but if you want and are willing I would gladly help you in any way I could. I'm not a developer in any means, but I do have a lot of experience messing with computers, etc. Electronics have always been my thing. PM me if you're interested in at least listening to my ideas and maybe making them a part of this mod. I wouldn't mind learning how to do a few thing on Android OS to help out. I just think if the notification drop down could be changed up just a bit more it would probably be one of the, if not, THE best MOD currently available for CNA.
Thanks again for the mod regardless.
RoyJ said:
OP. You opened my eyes. Once I saw this mod and applied it, I noticed a few things that would be really cool if they could be included. The mod itself is great, I love it. I wouldn't normally ask unless I could make it worth your while as I know you have a life outside XDA, but I'm not currently in a position to send any donations right now(broke-as-a-joke)... but I have quite a few requests, or ideas rather, for this mod. Like I said as sad as it is, I can't donate to you, but if you want and are willing I would gladly help you in any way I could. I'm not a developer in any means, but I do have a lot of experience messing with computers, etc. Electronics have always been my thing. PM me if you're interested in at least listening to my ideas and maybe making them a part of this mod. I wouldn't mind learning how to do a few thing on Android OS to help out. I just think if the notification drop down could be changed up just a bit more it would probably be one of the, if not, THE best MOD currently available for CNA.
Thanks again for the mod regardless.
Click to expand...
Click to collapse
I wouldn't call my self a developer, maybe a modder... Feel free to share your ideas, If it is within my ability (and time) I will see what I can do.
Well like I said, I would be more than glad to help. Currently reading up on how to compile flashable zips and a few other stickies that I figure could help me. So for example if I give you an idea, you could tell me that this or that would need to be done in order for it to happen and I could do it if you're too busy, etc. This phone is practically unbrickable and with nandroid backups I have no problem with a little (or a lot) of trial and error. I am just in the middle of downloading CNA again along with all the rest of the mods I use again. Factory stocked it, now going back. Once I get my phone set up and ready to flash I will start dumping my ideas in this thread.
Shouldn't be anything TOO complicated. Basically the same idea as the OG mod.
I came accross this site and this is for the Onex They both managed to bring the clock down and centered, however this only works for AOKP. Do you know how to bring the clock down by any chance?
Okay so here it goes...
The custom carrier label. It sort of gets in the way with the power widgets on the bottom. Is it possible to move it? Possibly to the gap in between the clock- that you found out how to remove? Maybe just make the gap a little smaller and place it in there near the top. I also use the notification toggles and this mod just moves the widget buttons. It just looks sort of weird with my notifications in between the widget buttons and the toggles. If the toggles could also be moved to the bottom that would be pretty cool. It would pretty much just be the opposite of stock CN(A). Everything at the bottom instead of the top...
I personally use Holo HD Launcher and I use a simple 'swipe down' on my home screen to open notifications. Most of the time I hold my phone in 1 hand and use my thumb to navigate through the menus. Sometimes depending on which toggle I need to press I will need to either reposition my hand or use my other hand (first world problems) to get it done. If everything was on the bottom, my thumb could reach it all. Quickly and easily. I also think it would be nice to have any notifications at the top right there for me to see.
Well that's all I can remember from yesterday. I think I had a few more ideas, but I can't remember for the life of me. Oh well. I'm sure I'll remember eventually. So...what do you think?
Just put in a space for the carrier label text, then it will be blank
F4M0U569 said:
I came accross this site and this is for the Onex They both managed to bring the clock down and centered, however this only works for AOKP. Do you know how to bring the clock down by any chance?
Click to expand...
Click to collapse
Looks like they give instructions to do it,should be pretty much the same for CNA
Well I did at first. Just a ghetto fix haha. I think it would be sick to have everything inverted from where it was and still be able to use a custom carrier label is all
Thanks! This is a great mod :good:
i just flashed the zip for cna and its working great, except that there is still a space between the notifications and the clock
anyway to fix this?
vincentistan said:
Thanks! This is a great mod :good:
i just flashed the zip for cna and its working great, except that there is still a space between the notifications and the clock
anyway to fix this?
Click to expand...
Click to collapse
Pull your Systemui.apk, decompile it and make sure the value mentioned in step 3 matches.
Related
Hey guys, this morning I was in modding mood and I started making this mod to Settings.apk.
Here are the screenshots of the Alpha version, the final one will look just like ICS.
Thanks to balamu96m for THIS GUIDE!
{
"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"
}
This looks similar to the one done by doles. Great work~
Great Look ... but I try to apply the ICS Style Setting By doles in ROM XXLM6, It Work fine.
but unfortunately can not be Set Face Unlock/Recognition .. Maybe because of the ROM based JPLC1. Can you make it from the Default Settings.apk XXLM6?
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
doles said:
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
Click to expand...
Click to collapse
I'm trying to make it with the toggles too, but it's kinda hard since I don't know anything about code so I'm kinda going randomly :
I actually managed to add the toggles, but they don't do anything >.<
Code:
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/settings_ics_radio" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
What do I need to add to make the toggle actually toggle Wifi?
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_notify_open_networks" android:key="notify_open_networks" android:summary="@string/wifi_notify_open_networks_summary" android:dependency="enable_wifi" />
<com.android.settings.ProgressCategory android:persistent="false" android:title="@string/wifi_access_points" android:key="access_points" android:dependency="enable_wifi" />
<Preference android:persistent="false" android:title="@string/wifi_add_network" android:key="add_network" android:dependency="enable_wifi" />
</PreferenceScreen>
That is the code in Wifi_Settings, and in that tab the toggle works, of course.
fender90 said:
I'm trying to make it with the toggles too, but it's kinda hard since I don't know anything about code so I'm kinda going randomly :
I actually managed to add the toggles, but they don't do anything >.<
Code:
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/settings_ics_radio" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
What do I need to add to make the toggle actually toggle Wifi?
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_notify_open_networks" android:key="notify_open_networks" android:summary="@string/wifi_notify_open_networks_summary" android:dependency="enable_wifi" />
<com.android.settings.ProgressCategory android:persistent="false" android:title="@string/wifi_access_points" android:key="access_points" android:dependency="enable_wifi" />
<Preference android:persistent="false" android:title="@string/wifi_add_network" android:key="add_network" android:dependency="enable_wifi" />
</PreferenceScreen>
That is the code in Wifi_Settings, and in that tab the toggle works, of course.
Click to expand...
Click to collapse
i thing we must find the activity first
doles said:
i thing we must find the activity first
Click to expand...
Click to collapse
Must be around here.
doles said:
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
Click to expand...
Click to collapse
Yup. But Rio have taken down the ICS layout as it doesn't show the Face unlock function. Maybe u can amend it with adding in the option of face unlock.
yewsiong said:
Yup. But Rio have taken down the ICS layout as it doesn't show the Face unlock function. Maybe u can amend it with adding in the option of face unlock.
Click to expand...
Click to collapse
that true, coz JPLC1 doesnt have facial unlock.
and i already sent my modded theme and setting to rio
but how to download it?? i cant even see the download link.. sorry noob..
Umm.. Fender... is it... uhh..
Does the title area a bit. you know.. to small? Like the font is cut down there.. the 'p'
Maybe you want to search something to make it a bit bigger
Italian developer,good
Inviato dal mio GT540 con Tapatalk 2
deodexed odexed rom?
Download link please?
thanks
Alright guys, finally got around to releasing this! I have tested it immensely, and haven't noticed any real bugs...
New Features Included in this Package:
-Custom Settings for Ticker Within TSM Parts-
--Ticker Style (Add/Remove the Weather/History Icon)
--Date/Time Text Options (Change the Color for both)
--Custom Sleep Text (exactly that!)
--Set Custom Apps (Lets you pick what is in the Quick Launch Screen)
--Ticker Rotation (Enables/Disables it)
-Triple Tap the Weather Icon To Update The Icon (and the Weatherbug Widget)
-Integration with Google Voice (When you get a Google voice text message, it shows up in the ticker)
NOTE: I made a slight adjustment in the way the "Double Tap Grip Sensors" aspect of my mods works... Due to it accidentaly being activated when the phone was off and I was taking it out of my pocket, I made it so it will only work when the ticker is on... Whether that be just the ticker, or the phone itself, either works... Just FYI
PICS:
coming soon...
DOWNLOAD:
Flash this package on a deodexed EG04 ROM! I guess it doesn't have to be stock, but it might help!
[CWM]: http://www.mediafire.com/?61uguo8b8uwwrvo
Why even ask? Let's have it! We're always interested!
trailblazer101 said:
Alright, that package with the customization options for the ticker is finished, and has been for a while I was just working on optimizing the code for a little bit, which was fun... But, if anyone wants the package, i'll release it
Also, is anyone interested in integration with google voice? that's right: I got it just right so that when you get google voice messages, they will show up in the ticker! The icon will be the google voice icon, and clicking it will go to the google voice app
If you have the number in your contacts, it will show that person's name, also Of course, the text for the message will be shown, just like a normal text message I'm pretty proud of myself for this one, haha..
Click to expand...
Click to collapse
This is seems extremely interesting. Thanks for all the hard work on it!
Hmm... Yes!
Sent from my SCH-I400 using xda app-developers app
Please?!?
trailblazer101 said:
Alright, that package with the customization options for the ticker is finished, and has been for a while I was just working on optimizing the code for a little bit, which was fun... But, if anyone wants the package, i'll release it
Also, is anyone interested in integration with google voice? that's right: I got it just right so that when you get google voice messages, they will show up in the ticker! The icon will be the google voice icon, and clicking it will go to the google voice app
If you have the number in your contacts, it will show that person's name, also Of course, the text for the message will be shown, just like a normal text message I'm pretty proud of myself for this one, haha..
Click to expand...
Click to collapse
Heck yeah!
I'm actually setting up the Continuum right now for my daughter. Would love to have it. I was trying to download a new update.zip file because for some reason my phone shows Update.zip is GONE. Not sure why so I'm looking for drivers and software to bring back to stock.
Moved to General, while it is development related, it isn't a development thread because nothing has been posted. Look forward to your thread in development if you release it!
sytech55 said:
Heck yeah!
I'm actually setting up the Continuum right now for my daughter. Would love to have it. I was trying to download a new update.zip file because for some reason my phone shows Update.zip is GONE. Not sure why so I'm looking for drivers and software to bring back to stock.
Click to expand...
Click to collapse
Did you flash cwm via odin?
Sent from my SPH-M580BST using Xparent Green Tapatalk 2
ciscogee said:
Did you flash cwm via odin?
Sent from my SPH-M580BST using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Didn't flash cwm via odin. This was a stock phone that I had pulled out for daughter to use as wifi only. I did get the phone to actually boot up last night. Not sure how that happened, so I've got a factory installed rom running. Added her gmail information through wifi connection, but I can't update the android version from "2.1-update1". Just keeps showing connecting. Left if overnight and this morning, no change. Still "connecting". I believe this phone was one I just couldn't get to update no matter what when it was an active phone on my plan. Verizon store tech said some phones do that. I didn't worry since my wife was using it and she doesn't need a rooted phone. But now I'm wondering if I can push an update to it. Not sure what version the continuum is the latest. Is it android 2.3?
My goal here is to let my daughter use it to load some games from Play Store since she doesn't have a smartphone yet.
Hmm, if your only doing wifi then I would just flash the stock eg04 and go from there, its gb, both of my continuums are just wifi gamers for me and my son.
I'm hoping to return to dev'n but in the past 6 weeks I've moved twice and got married, school just started back and I miss y'all...
Sent from my SPH-M580BST using Xparent Green Tapatalk 2
Tried it and worked like a charm. thanks for this! also ciscogee congratulations on your marriage!
So, I managed to do this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's the MIUI battery, but down in the ticker... I personally like it! However, I would like to have it on the bottom of the ticker instead... I am having some difficulties doing such, though... If anyone wants to try and help out, here is the XML code for above:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/standbymode_default_vertical" android:background="@null" android:layout_width="480.0px" android:layout_height="96.0px"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:id="@id/battery_indicator" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<View android:id="@id/battery_indicator_charging" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<RelativeLayout android:layout_gravity="top|left|center" android:id="@id/RelativeLayout01" android:layout_width="103.0px" android:layout_height="96.0px">
<ImageView android:layout_gravity="top" android:id="@id/WeatherIcon" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" />
<AnalogClock android:id="@id/analogClock1" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<ImageView android:id="@id/IconSel" android:background="@drawable/weather_press" android:visibility="gone" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" android:layout_marginBottom="8.0px" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:id="@id/LinearLayout02" android:layout_width="0.0dip" android:layout_height="96.0px" android:layout_weight="1.0">
<TextView android:textSize="@dimen/data.text.size" android:textStyle="bold" android:textColor="#ffffffff" android:layout_gravity="top|left|center" android:id="@id/TextView02" android:layout_width="wrap_content" android:layout_height="@dimen/data.layout.height" android:layout_marginTop="@dimen/data.layout.margin.top" android:layout_marginBottom="@dimen/data.layout.margin.bottom" />
<LinearLayout android:gravity="top" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="@dimen/time.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView03" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
<TextView android:textSize="@dimen/data.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView04" android:paddingLeft="5.0px" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
</LinearLayout>
</LinearLayout>
<RelativeLayout android:id="@id/RelativeLayout02" android:layout_width="68.0px" android:layout_height="wrap_content">
<ImageButton android:id="@id/HistoryButton" android:background="@null" android:focusable="true" android:layout_width="68.0px" android:layout_height="wrap_content" android:src="@drawable/tt_tickerhistory_buttonup" android:scaleType="fitXY" android:layout_alignParentRight="true" />
</RelativeLayout>
</LinearLayout>
Now this is what is added to existing mod in this thread?
Sent from my SCH-I400 using Tapatalk 2
I didn't release this yet, because I would like to move the battery to the bottom Butttt, if you/someone likes it as is, I shall share
How is kernel compiling going?!
Oh I was just wondering where to insert code over.
Compiling has been slow cause wife has been using HER laptop for school all the time and I use her laptop for vmlinux. I'm bout to reinstall cygwin and tar on my win7 laptop to get my files inorder to tarball for easy Odin flashes and kernel repacked. She has 3 tests this week so I won't be back to playing with sources until next week sometime
Was then gonaa get into aroma for rebloat and mods and themes.
Sent from my SCH-I400 using Tapatalk 2
Code:
It's a matter of moving around the "battery_indicator" and the "battery_indicator_charging" views, and maybe putting them in a RelativeLayout, just right....
But you have a good point, you can't test it yourself without the modded Services.jar Here's a thrown together package with just services.jar and framework-res and TSMParts... Those are the only files that make this feature unique (compared to my most recent package...)
Link: http://www.mediafire.com/?11530qabpm8dftc
And oh, okay! Sounds like fun Hope she does good on all those tests; I feel her pain, I have both a Math 141 and Physics 211 Exam coming up
Nevermind, I figured it out haha... I used Eclipse to make the layout from scratch, with the MIUI battery on the bottom I also added an option in TSMParts for "auto color" for the time... This setting sets the color of the time as the current battery state.... Sooo, whatever you set the auto-colors to be for the MIUI battery in the statusbar to be, that will be the color of the time I think it matches nicely with the battery...
PICS:
Awesome! So do you think one (possibly you ) could actually make a ported rom or aosp work the ticker since you know how to "talk" to it? Sorta like a display whisperer.
Fix your paypal soon we owe you!
Dear lord I hope his Paypal is working. . . I haven't seen anything returned . . . It's not much but with a 4 month old in the house it's what I can do.
I just checked my Paypal, and saw that wonderful surprise Jaycush! Thank you so much!!! Now if only I was allowed to touch it, haha... I really need to get it up and working again, haha... If there is any ideas that you have to increase the capabilities of the ticker, or anything else, I'll look into it for sure!
and hmmm... I know you ciscogee were getting close to compiling EH03 for the fascinate for the Continuum... Technically, it should work, but without the ticker... THEN, I might be able to shove it back in It's still a matter of compiling a working AOSP/CM kernel and ROM, which I have only dabbled in...
trailblazer101 said:
I just checked my Paypal, and saw that wonderful surprise Jaycush! Thank you so much!!! Now if only I was allowed to touch it, haha... I really need to get it up and working again, haha... If there is any ideas that you have to increase the capabilities of the ticker, or anything else, I'll look into it for sure!
and hmmm... I know you ciscogee were getting close to compiling EH03 for the fascinate for the Continuum... Technically, it should work, but without the ticker... THEN, I might be able to shove it back in It's still a matter of compiling a working AOSP/CM kernel and ROM, which I have only dabbled in...
Click to expand...
Click to collapse
Do you still have your continuum or has it been retired?
Sent from my SCH-I400 using xda app-developers app
Hi,
I've tried a few things but seem to be falling flat on my face so thought I'd ask for the help of someone with better skills than me!
I'm trying to remove the qaps around the quick toggles and have tried a few things:
Under Dimens in Systemui theres:
<dimen name="quick_settings_cell_gap">4.0dip</dimen>
Bingo!? No... it doesn't make a difference! Well, it didn't when I set it to 0.0
Also, my other idea if you can't remove the gap is to apply a black solid background to the whole of the tile area, I tried adding a black solid background into a few XML's but it made no difference, i.e. super_status_bar.
The idea is I'm going to make my notification bar transparent and I don't like how the transparency can be seen on the quick settings screen, so I want to remove the gap or place all the tiles into a black layout.
Any help or pointers would be appreciated!
EDIT: Within Quick_Settings.xml I've also tried: But it didn't work (in red)
<com.android.systemui.statusbar.phone.QuickSettingsContainerView android:id="@id/quick_settings_container" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:animateLayoutChanges="true" android:columnCount="@integer/quick_settings_num_columns" />
i am NOT sure how much gap you want to remove, but if you like mine i can give you the instruction
NO flashing required its just simple editing in System files
{
"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"
}
Muhammad.Muayad said:
i am NOT sure how much gap you want to remove, but if you like mine i can give you the instruction
NO flashing required its just simple editing in System files
Click to expand...
Click to collapse
Thanks for your offer to help. The bottom one looks like mine does now with the gap around the toggles that I'm trying to remove. its the blackness around the toggles i either want the toggles to be next to each other with no gap or the toggles sit on a black layout so the bar when transparent doesn't come through the toggles.
Maybe HTC hard coded in the border cos I would have thought the xml edit for tile gap is the right thing so I might look at aosp to see if that tag exists and I can trace back to see if HTC removed it somewhere.
nickabbott said:
Thanks for your offer to help. The bottom one looks like mine does now with the gap around the toggles that I'm trying to remove. its the blackness around the toggles i either want the toggles to be next to each other with no gap or the toggles sit on a black layout so the bar when transparent doesn't come through the toggles.
Maybe HTC hard coded in the border cos I would have thought the xml edit for tile gap is the right thing so I might look at aosp to see if that tag exists and I can trace back to see if HTC removed it somewhere.
Click to expand...
Click to collapse
or we can replace the .PNG with a bigger one and hopefully get a bigger button
you can even take a look at TrickDroid ROM it has a different kind of toggles, (Without waste of space)
I've been doing some more digging and have been looking at the following:
https://android.googlesource.com/pl...atusbar/phone/QuickSettingsContainerView.java
This defines the number of columns and the gap around the tiles, however, the variable quick_settings_cell_gap is defined in dimens under values but I don't think it's used anywhere by htc. The ID for quick_settings_cell_gap is 0x7f0d003f when decompiling renovate 4.1 and that ID is not used at all.
So, I'm thinking HTC have hard coded it into QuickSettingsContainerView.java but my smali is bad! So I'm either going to need a crash course (self taught!) or hopefully someone here can help me please! The variable quick_settings_num_columns is defined as const v1, 0x7f0c0009 in smali and there's one other smali variable which is const v1, 0x205000c and I'm guessing this is the float value which is 4.0dip.
So, how can I modify this to be 0.0dip please?!
Maybe I'm completely off base but I'll keep working on it until I get slapped from the girlfriend! :highfive:
nickabbott said:
I've been doing some more digging and have been looking at the following:
https://android.googlesource.com/pl...atusbar/phone/QuickSettingsContainerView.java
This defines the number of columns and the gap around the tiles, however, the variable quick_settings_cell_gap is defined in dimens under values but I don't think it's used anywhere by htc. The ID for quick_settings_cell_gap is 0x7f0d003f when decompiling renovate 4.1 and that ID is not used at all.
So, I'm thinking HTC have hard coded it into QuickSettingsContainerView.java but my smali is bad! So I'm either going to need a crash course (self taught!) or hopefully someone here can help me please! The variable quick_settings_num_columns is defined as const v1, 0x7f0c0009 in smali and there's one other smali variable which is const v1, 0x205000c and I'm guessing this is the float value which is 4.0dip.
So, how can I modify this to be 0.0dip please?!
Maybe I'm completely off base but I'll keep working on it until I get slapped from the girlfriend! :highfive:
Click to expand...
Click to collapse
SORTED! :laugh:
All I had to do was alter the const v1, 0x205000c to a variable that WAS 0.0dip and recompile and it's removed the gaps.
EDIT: After all that I'm not sure I like it with NO gaps, so maybe just 1.0dip gap not 4.0dip gap! Will see.
UPDATE: My main plan all along was to stop the notification bar coming between the quick toggle tiles (when transparent) and I've managed to do that perfectly I think. Removing the gap and then altering the quick_settings_tile_background from a colour in drawables to a shape xml in drawable has given me the attached screenshots
Job well done I think!
Hi! this fix is for AOSP/CM android 4.4.2 roms only (root required)
It fixes speaker distortion occurring on loud playback. What it does it applies high pass filter on the lower frequencies that a speaker so small cant really playback anyway. Enough lower frequencies still come through so playback sound is good.
edit /system/etc/mixer-paths.xml
scroll / search for the "speaker" path
add this before the closing line of the speaker path:
<ctl name="RX7 HPF cut off" value="MIN_3DB_150Hz" />
same can be applied to "voice-speaker". it will give a slightly better speakerphone quality.
its gonna look like this:
Code:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="67" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="SPK DAC Switch" value="1" />
<ctl name="RX7 HPF cut off" value="MIN_3DB_150Hz" />
</path>
reboot to recovery, clear cache&dalvik, reboot system.
i've included a flashable zips with a moded mixer paths file taken from CM11. it can be flashed on any CM11/AOSP/AOKP rom. although backup of the original file is recomended as the devs could apply their own tweaks or changes to this file.
so sometimes its better to edit it manualy.
initial-just HPF applied to speaker
v1.1 - has the seam HPF tweak applied to speakerphone + set vol 70 to speakerhpone
v.1.1.louder- well guess. (speaker 70, speakerphone72)
i dont recommend using the louder or even values beyond that.. as it may damage your speaker
i am on rom cloudyflex 1.3 and there is no such file.
however, what exactly does that command?
noris08 said:
i am on rom cloudyflex 1.3 and there is no such file.
however, what exactly does that command?
Click to expand...
Click to collapse
oh yeah.. forgot about LG roms.. this is AOSP/CM only.
it just cuts off the low frequencies which such a small speaker has most trouble playing.
It works great!
thanks man, I suggest to submit this fix to cyanogenmod repository so it can be included into the official rom
in the meantime, is it possible to have this fix in a flashable zip from recovery? it would be very handy when you flash new builds (so you don't have to manually edit the file each time)
provolinoo said:
thanks man, I suggest to submit this fix to cyanogenmod repository so it can be included into the official rom
in the meantime, is it possible to have this fix in a flashable zip from recovery? it would be very handy when you flash new builds (so you don't have to manually edit the file each time)
Click to expand...
Click to collapse
I'll look into it...meanwhile you can just save the file and copy it over, or replace the one in zip. Will have to check sometimes though if the file gets changed in any way by cm.
Sent from my LG-D802 using Tapatalk
darkobas said:
I'll look into it...meanwhile you can just save the file and copy it over, or replace the one in zip. Will have to check sometimes though if the file gets changed in any way by cm.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
thanks a lot
btw, editing the same file, line
<ctl name="RX7 Digital Volume" value="88" />
could be useful to increase maximum volume
so we could create a fix for distorsion+volume
noris08 said:
i am on rom cloudyflex 1.3 and there is no such file.
however, what exactly does that command?
Click to expand...
Click to collapse
for cloudyflex you want to go to system/etc/snd_soc_msm and open the file called snd_soc_msm_Taiko.
freebee269 said:
for cloudyflex you want to go to system/etc/snd_soc_msm and open the file called snd_soc_msm_Taiko.
Click to expand...
Click to collapse
i have 3 files named:
- snd_soc_msm_Taiko
- snd_soc_msm_Taiko_revA
- snd_soc_msm_Taiko_revB
1. i have to edit just the first one, right?
2. all i have to do is to add the same line like in the first post?
3. where do i add it?
thank you!
noris08 said:
i have 3 files named:
- snd_soc_msm_Taiko
- snd_soc_msm_Taiko_revA
- snd_soc_msm_Taiko_revB
1. i have to edit just the first one, right?
2. all i have to do is to add the same line like in the first post?
3. where do i add it?
thank you!
Click to expand...
Click to collapse
yes it's the first file that doesnt have _rev after it. you put it in the same spot as the OP mentioned.
freebee269 said:
for cloudyflex you want to go to system/etc/snd_soc_msm and open the file called snd_soc_msm_Taiko.
Click to expand...
Click to collapse
I was unaware flex roms had this problem too. So is this confirmed working? Can i add in op or was this fix for flex already listed somewhere?
Sent from my LG-D802 using Tapatalk
darkobas said:
I was unaware flex roms had this problem too. So is this confirmed working? Can i add in op or was this fix for flex already listed somewhere?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
i dont have a distortion problem on my cloudyflex. i was just helping out the person that wanted to try this.
freebee269 said:
yes it's the first file that doesnt have _rev after it. you put it in the same spot as the OP mentioned.
Click to expand...
Click to collapse
the file is way to complicated for me. i have no ideea where to add that line, i am totaly lost
if there isn't too much trouble, can you post a screen shot with the exact position where that line should be added?:angel:
thank you very much!
noris08 said:
the file is way to complicated for me. i have no ideea where to add that line, i am totaly lost
if there isn't too much trouble, can you post a screen shot with the exact position where that line should be added?:angel:
thank you very much!
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-D802 using Tapatalk
this is strange
my snd_soc_msm_Taiko file doesn't look like yours,
i have no <path name=....>. nowhere!
noris08 said:
this is strange
my snd_soc_msm_Taiko file doesn't look like yours,
i have no <path name=....>. nowhere!
Click to expand...
Click to collapse
Are you sure you have distortion? I have not heard of this on 4.2.2 lg roms.
My fix is not tested on taiko as I don't use it.
But it probably already looks something like this.
Sent from my LG-D802 using Tapatalk
Finally I'm no more ashamed when my speaker plays a song on full volume. Really sounds better. At least less distortion. Thank you very much!
darkobas said:
Are you sure you have distortion? I have not heard of this on 4.2.2 lg roms.
My fix is not tested on taiko as I don't use it.
But it probably already looks something like this.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
that is exactly how my file looks
maybe i understand this wrong
i have a slight distorsion during calls, for some voice speaking frequencies and i thought this is a solution for that (i was thinking to replace my headset speaker)
if this is not the case, then please disregard all my previous posts
noris08 said:
that is exactly how my file looks
maybe i understand this wrong
i have a slight distorsion during calls, for some voice speaking frequencies and i thought this is a solution for that (i was thinking to replace my headset speaker)
if this is not the case, then please disregard all my previous posts
Click to expand...
Click to collapse
Nope sorry.
darkobas said:
Hi! this mod is for AOSP/CM roms only
anyone with distorted speaker on high volume can try this: (root only)
edit /system/etc/mixer-paths.xml
scroll / search for the "speaker" path
add this before the closing line of the speaker path:
<ctl name="RX7 HPF cut off" value="MIN_3DB_150Hz" />
reboot to recovery, clear cache&dalvik, reboot system.
Click to expand...
Click to collapse
very nice, under review for NamelessROM right now , hit me back a PM with your email so I can give you proper credit for this :good:
Hello
guys, today I bring you an excellent theme I hope you like it and give me a thank you :good:
{
"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"
}
Theme will apply on
Keyboard Color
Lock Screen saver
Lock Screen clock
HD wallpaper
Clock widget
and support xperia x
background layouts color theme and few
Whatsapp color
Support for all xperia (LP,MM,N)
Screen shots
Downloads
On Google Play
Click here To download
Don't forget to thank me if you like/love my work
[/CENTER][/B]Follow me on Facebook
Click here To Facebook
Please can yhu make an update version of tha theme with menu nav bar themed.
Please.
Thanks man
?
whalesplaho said:
Please can yhu make an update version of tha theme with menu nav bar themed.
Please.
Thanks man
Click to expand...
Click to collapse
what bar bro??
Guetto Design said:
what bar bro??
Click to expand...
Click to collapse
Tha 3 dot nav bar.... Dahs tha menu nav bar!!
Please still waiting brov....
whalesplaho said:
Please still waiting brov....
Click to expand...
Click to collapse
I'm sorry I will not change anything, it's already published
Sorry
whalesplaho said:
Please still waiting brov....
Click to expand...
Click to collapse
I'm sorry I will not change anything, it's already published
Guetto Design said:
I'm sorry I will not change anything, it's already published
Click to expand...
Click to collapse
Its okay buddy.... Thanks!
whalesplaho said:
Its okay buddy.... Thanks!
Click to expand...
Click to collapse
Like this? I just copied png to systemui assets... @Guetto Design - you OK with that?
Yes bro
levone1 said:
Like this? I just copied png to systemui assets... @Guetto Design - you OK with that?
Click to expand...
Click to collapse
if there is no bro problem, did you receive the message I sent you?
Guetto Design said:
if there is no bro problem, did you receive the message I sent you?
Click to expand...
Click to collapse
Oh yeah, thanks for reminding me. It's a systemui apk, right? I'll check it out - I forgot about it...
Yes bro
levone1 said:
Oh yeah, thanks for reminding me. It's a systemui apk, right? I'll check it out - I forgot about it...
Click to expand...
Click to collapse
if bro, that may be the solution to add the battery icons in the new systemui
@levone1 thanks for tha edited mod.
whalesplaho said:
@levone1 thanks for tha edited mod.
Click to expand...
Click to collapse
You might like this - https://forum.xda-developers.com/crossdevice-dev/sony/customize-xperia-themes-computer-t3602560/amp/
Guetto Design said:
if bro, that may be the solution to add the battery icons in the new systemui
Click to expand...
Click to collapse
Good news / bad news:
I was able to port the Z2 battery widget from your system ui upload, but I'm not sure how to replace the current battery widget. So far I can only make it so they're both there. I tried deleting the old code in system_icons.xml, but it causes systemui fc. I think the proper way is probably a switch in smali, but I'm not strong enough in smali to figure it out. I think I can probably hack it in size and layout entries, so I'll mess around with that a bit...
Obviously in screenshot the size and layout is not right, but I can easily adjust that.
BTW - porting is simple. No smali coding necessary, just copying files. I didn't make note of all the specifics, but I will get to it...
Great
levone1 said:
Good news / bad news:
I was able to port the Z2 battery widget from your system ui upload, but I'm not sure how to replace the current battery widget. So far I can only make it so they're both there. I tried deleting the old code in system_icons.xml, but it causes systemui fc. I think the proper way is probably a switch in smali, but I'm not strong enough in smali to figure it out. I think I can probably hack it in size and layout entries, so I'll mess around with that a bit...
Obviously in screenshot the size and layout is not right, but I can easily adjust that.
BTW - porting is simple. No smali coding necessary, just copying files. I didn't make note of all the specifics, but I will get to it...
Click to expand...
Click to collapse
excellent bro, I hope you can have results soon
Guetto Design said:
excellent bro, I hope you can have results soon
Click to expand...
Click to collapse
I was able to hide the original icon, but new battery layout is wacky (screenshot). I think I'm also realizing that my systemUI is not good for testimony, because I have already hacked it up so much... Would be best to test on full stock SystemUI. Maybe I'll just post instructions, and others can test...
Guetto Design said:
excellent bro, I hope you can have results soon
Click to expand...
Click to collapse
Here's what I did if you want to try
-Decompile SystemUI apk and SystemUI1 apk
- Copy SystemUI1/smali/com/ztc1997 folder to SystemUI/smali/com
- Copy SystemUI1/res/layout/z2battery.xml to Systemui/res/layout
- Copy SystemUI1/res/drawable_xhdpi_v4/somc_sys_charging_am.png to SystemUI/res/drawable_xhdpi_v4
- Open SystemUI/res/values/bools.xml and add
Code:
<bool name="config_limited_usb_charging">false</bool>
- Open SystemUI/res/values/colors.xml and add
Code:
<color name="statusbar_battery_percent_color">#ffffffff</color>
- Open SystemUI/res/values/dimens.xml and add
Code:
<dimen name="status_bar_icon_margin">0.0dip</dimen>
<dimen name="battery_margin_start">0.0dip</dimen>
- Open SystemUI/res/values/ids.xml and add
Code:
<item type="id" name="battery_charging">false</item>
<item type="id" name="battery_icon">false</item>
<item type="id" name="battery_percent">false</item>
<item type="id" name="battery_stamina">false</item>
- Open SystemUI /res/layout/system_icons.xml and add this line
Code:
<com.ztc1997.widgets.Z2Battery android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="@dimen/battery_margin_start" />
after '<com.android.systemui.BatteryMeterView android:id="@id/battery" android:background="#d9ffffff" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" />'
- Recompile, sign and push.
After that, it's a matter of adjusting values. For example, to hide the old battery icon and percentage, I changed values like 'battery icon height' in dimens.xml, and 'layout_width' in system_icons.xml to '0.0dip', and I would change things like 'paddingLeft', etc in the appropriate files to set the layout correctly. It will vary from device to device, so can't really spell it all out, especially since my systemUI files have already been modded heavily...
I probably won't mess with it anymore at this point, until I clean flash stock again. Maybe you can take it further...
Great
levone1 said:
Here's what I did if you want to try
-Decompile SystemUI apk and SystemUI1 apk
- Copy SystemUI1/smali/com/ztc1997 folder to SystemUI/smali/com
- Copy SystemUI1/res/layout/z2battery.xml to Systemui/res/layout
- Copy SystemUI1/res/drawable_xhdpi_v4/somc_sys_charging_am.png to SystemUI/res/drawable_xhdpi_v4
- Open SystemUI/res/values/bools.xml and add
Code:
<bool name="config_limited_usb_charging">false</bool>
- Open SystemUI/res/values/colors.xml and add
Code:
<color name="statusbar_battery_percent_color">#ffffffff</color>
- Open SystemUI/res/values/dimens.xml and add
Code:
<dimen name="status_bar_icon_margin">0.0dip</dimen>
<dimen name="battery_margin_start">0.0dip</dimen>
- Open SystemUI/res/values/ids.xml and add
Code:
<item type="id" name="battery_charging">false</item>
<item type="id" name="battery_icon">false</item>
<item type="id" name="battery_percent">false</item>
<item type="id" name="battery_stamina">false</item>
- Open SystemUI /res/layout/system_icons.xml and add this line
Code:
<com.ztc1997.widgets.Z2Battery android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="@dimen/battery_margin_start" />
after '<com.android.systemui.BatteryMeterView android:id="@id/battery" android:background="#d9ffffff" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" />'
- Recompile, sign and push.
After that, it's a matter of adjusting values. For example, to hide the old battery icon and percentage, I changed values like 'battery icon height' in dimens.xml, and 'layout_width' in system_icons.xml to '0.0dip', and I would change things like 'paddingLeft', etc in the appropriate files to set the layout correctly. It will vary from device to device, so can't really spell it all out, especially since my systemUI files have already been modded heavily...
I probably won't mess with it anymore at this point, until I clean flash stock again. Maybe you can take it further...
Click to expand...
Click to collapse
it's amazing, you almost did it, possibly as you say with a clean rom you get better results. you were able to add the other battery icons??
Guetto Design said:
it's amazing, you almost did it, possibly as you say with a clean rom you get better results. you were able to add the other battery icons??
Click to expand...
Click to collapse
I don't know exactly what it's supposed to look like, since I haven't seen that systemui booted, (I just have the apk), but full port would probably require changing BatteryMeter and BatteryMeterDrawable files, which would involve a bit more work, (converting public id's etc..). I looked at it a little, but didn't get too far into it.
..