Hello everybody! I have a question:
1) can anybody knows how to add the % symbol in the battery text? please, read carefully, I mean this %!!!!!! not the number, not how to have the number of percentual, just the symbol! I want to add 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"
}
in my phone, that looks like this --->
jam90 said:
Hello everybody! I have two questions:
1) can anybody knows how to add the % symbol in the battery text? please, read carefully, I mean this %!!!!!! not the number, not how to have the number of percentual, just the symbol! I want to add this --> View attachment 2041107 in my phone, that looks like this ---> View attachment 2041108
2) How can I set the min number of power widget on status bar from 6 to 5? I explain: when you go on settings\system\notification menu you can select the power widget, and how many power widget you want to visualize, right? Well, if you select more than 6 power widget, the power widget menu, to contain all the toggles, must be slide to the right to visualize the other toggle: I want to know how to make that the power widget menu starts to slide since 5 toggles, and not 6! can someone help me?? thank to everybody!!
Click to expand...
Click to collapse
Maybe you need to contact Adi
jakelq said:
Maybe you need to contact Adi
Click to expand...
Click to collapse
Already done, but he doesn't answer to me! maybe he thinks that I'll ask something noob xD can someone who knows well Adi, tell him about this post?? Thanks guys
jam90 said:
Already done, but he doesn't answer to me! maybe he thinks that I'll ask something noob xD can someone who knows well Adi, tell him about this post?? Thanks guys
Click to expand...
Click to collapse
No, he's a nice person, just wait.
jakelq said:
No, he's a nice person, just wait.
Click to expand...
Click to collapse
I'm sure that he's a nice guy! but maybe he'll think that I'm a noob that want to know "how to shut off my device?" or "how can I put a custome ringtones?" or somethings stupid like those xD I've send another private mess to him, but still no answer...someone who know better and who adi will trust can contact him for me?
@Adi Aisiteru Reborn please, can you read here, for the % symbol?? thank you again!
jam90 said:
@Adi Aisiteru Reborn please, can you read here, for the % symbol?? thank you again!
Click to expand...
Click to collapse
if I can, I already included it in my S.3 mods..
I promise will share when I can add that one too
Adi Aisiteru Reborn said:
if I can, I already included it in my S.3 mods..
I promise will share when I can add that one too
Click to expand...
Click to collapse
Please, could you tell me how to do? Even just where to find the files that I could modify? Please, I want to do this by myself, 'cause I like modding and I want to learn. Thanks!
jam90 said:
Please, could you tell me how to do? Even just where to find the files that I could modify? Please, I want to do this by myself, 'cause I like modding and I want to learn. Thanks!
Click to expand...
Click to collapse
it's Touchwiz GUI only .. but we can workaround , for example when we plug our phone to charge you will see batttery text and its percentage on lockscreen..so we must find that rensponsible xml or smali and put it to status bar.
Adi Aisiteru Reborn said:
it's Touchwiz GUI only .. but we can workaround , for example when we plug our phone to charge you will see batttery text and its percentage on lockscreen..so we must find that rensponsible xml or smali and put it to status bar.
Click to expand...
Click to collapse
And where do you think are those files xml or smali? SystemUI, framework-res, SystemUI/res/strings etc...? Where do you will start to work? :/
jam90 said:
And where do you think are those files xml or smali? SystemUI, framework-res, SystemUI/res/strings etc...? Where do you will start to work? :/
Click to expand...
Click to collapse
Fremework/res/layout/here...
On sunday I only have my free time, will look into it
Sent from my GT-I8150 using xda app-developers app
Here is the code :
Decompile SystemUI.apk :
go to , SystemUI.apk\res\layout/status_bar.xml
add the red code
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
[COLOR="Red"]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:text="@string/percent" android:singleLine="true" />[/COLOR]
<ImageView android:gravity="bottom" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
next add the red code to the end of res/values/strings.xml
Code:
[COLOR="Red"]<string name="percent">%</string>[/COLOR]
</resources>
done and compile .
NOTE : you must - Go to System settings - Status Bar - Battery status style - chose "Percentage"
Adi Aisiteru Reborn said:
Here is the code :
Decompile SystemUI.apk :
go to , SystemUI.apk\res\layout/status_bar.xml
add the red code
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
[COLOR="Red"]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:text="@string/percent" android:singleLine="true" />[/COLOR]
<ImageView android:gravity="bottom" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
next add the red code to the end of res/values/strings.xml
Code:
[COLOR="Red"]<string name="percent">%</string>[/COLOR]
</resources>
done and compile .
NOTE : you must - Go to System settings - Status Bar - Battery status style - chose "Percentage"
Click to expand...
Click to collapse
I'm a noob, sorry. How can I decompile the apk?
I was looking for this '%' symbol a long time.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
FelixMG said:
I'm a noob, sorry. How can I decompile the apk?
I was looking for this '%' symbol a long time.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Google is your friend. There are many tutorials but to make a long story short, use apktool and decompile.
Sent from my GT-I8150 using xda app-developers app
Can somebody upload a flashable SystemUi.apk? I'll probably do something wrong and mess up my bar.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
FelixMG said:
Can somebody upload a flashable SystemUi.apk? I'll probably do something wrong and mess up my bar.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
Click to expand...
Click to collapse
If i read right, you're using cm9....this mod it's only for cm10
jam90 said:
If i read right, you're using cm9....this mod it's only for cm10
Click to expand...
Click to collapse
Hey Jam90, I have new code, later I'll post
Sent from my GT-I8150 using xda app-developers app
---------- Post added at 10:18 PM ---------- Previous post was at 09:50 PM ----------
Oke guys, clean up my previous code, and change with this new code go here : http://forum.xda-developers.com/showthread.php?t=2356012
Related
So I'm not too sure if this will intrigue anyone, I personally enjoy this mod and always have
Here is what a carrier logo is (upper left hand corner)
{
"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"
}
Prerequisites
-apktool
*Make sure you meet all requirements for apktool
Guide:
- Copy framework-res.apk and SystemUI.apk from your current ROM into your apktool directory
- CD your apktool folder
- Install resources from framework-res.apk by issuing this command
Code:
apktool if framework-res.apk
- Decompile your SystemUI.apk by doing:
Code:
apktool d SystemUI.apk
- Navigate to your decompiled SystemUI folder and go to /res/values/bools.xml
- Find the following bool
Code:
<bool name="config_showOperatorLogo">false</bool>
- Change it to the following:
Code:
<bool name="config_showOperatorLogo">true</bool>
- Save and close the XML
- Next, navigate to /res/drawable-xhdpi/ and search for this image
Code:
tw_stat_notify_operator_logo
- This is what you want to replace with your custom image. Try not have the image too big, and make sure it is a png. I usually make my logos around 90x40 but they can be smaller and slightly larger depending on what you are using
- After you replaced that image with your custom carrier logo go back to your command prompt window and recompile your apk
Code:
apktool b SystemUI
- Your new apk will be in the decompiled SystemUI folder in the "dist" folder
- Next, click and drag the original AndroidManifest.xml AND the META-INF folder for the original SystemUI.apk to the new SystemUI.apk
- Make a flashable zip and flash in recovery
Resources
- How to make a flashable zip for our phone
- Some carrier logos
- Some of my personal favorite carrier logos
Enjoy!
This is actually pretty nice. Your killing it fergie
would love this but dont know how to decompile i have two little kids to run after hard to concentrate can u make one for me please with this
Fergie, thanks so much for sharing this guide. It'll definitely come in handy. The title says for TW roms but I'm curious if this is possible on AOKP, and would the process be somewhat similar?
Charlie, I've got 2 little ones as well and can assure you that apktool is relatively quick and easy to figure out.
Sent from my Transformer Pad TF300T using Tapatalk 2
ill try it out tomorrow while they are away
countryteazer said:
Fergie, thanks so much for sharing this guide. It'll definitely come in handy. The title says for TW roms but I'm curious if this is possible on AOKP, and would the process be somewhat similar?
Charlie, I've got 2 little ones as well and can assure you that apktool is relatively quick and easy to figure out.
Sent from my Transformer Pad TF300T using Tapatalk 2
Click to expand...
Click to collapse
You're welcome!
And the process would be different (that bool doesn't exist in CM10/AOKP), you have to add a layout edit to status_bar.xml and add the Sprint carrier text, make it invisible and set the background for said text your carrier image
I'm still on TW but if you wanna test it out I can show you the layout edit you would have to make
Nice tutorial....thanks....
w8setter said:
Nice tutorial....thanks....
Click to expand...
Click to collapse
Cool! I love that logo lol. If you want it showing at 100% and not at 85% go to SystemUI/res/vaues/dimens.xml look for the status_bar_drawing lines and chane it to 100%, there should be two of them, one for TW and another for 3rd party apps
Fergie, thanks for the info. Whenever we get our power back on, I'd definitely like to take a look and see if I can get it working with AOKP. I appreciate the help! Will pm you soon!
Sent from my SPH-L710 using Tapatalk 2
can you help me
Hi fergie
I'm trying to add carrier logo for my SGY, I've added this code on my status_bar.xml and added a 20x20 carrier_logo
<LinearLayout android:gravity="center" androidrientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:id="@id/carrier" android:background="@drawable/carrier_logo" androidaddingLeft="6.0px" androidaddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.systemui.statusbar.IconMerger android:gravity="left" androidrientation="horizontal" android:id="@id/notificationIcons" androidaddingLeft="3.0dip" androidaddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" androidrientation="horizontal" android:id="@id/statusIcons" androidaddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" androidrientation="horizontal" androidaddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" androidrientation="horizontal" androidaddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
Click to expand...
Click to collapse
Result
Some Error when I have no sign/ i flight mode
do you have any Idea how to get rid of the error ?
I've try /res/values/bools.xml but its on default value TRUE
<bool name="config_hspa_data_distinguishable">true</bool>
Click to expand...
Click to collapse
I like this! Might have to give a try soon.
Hey Fergie,
Tried decompiling rom but did not see any value folder.
Running deodexed version of this rom (http://forum.xda-developers.com/showthread.php?t=1910947)
Should it work on this ROM
TIA
mattsd23 said:
Hey Fergie,
Tried decompiling rom but did not see any value folder.
Running deodexed version of this rom (http://forum.xda-developers.com/showthread.php?t=1910947)
Should it work on this ROM
TIA
Click to expand...
Click to collapse
Yea you can use that.
Make sure you using apktool correctly, there's a link in the OP and guides galore on the web
Thanks Fergie.
Ya I guess I didnt install the apktool correctly. Not very many tuts for installing on a mac.
Any chance u can zip yours...really like the illest logo.
Thanks
Hey fergie,
Might be the wrong place to ask but,
I've been trying to set some custom images for my notification drop down background but I've been having some trouble. Any help?
Sent from my SPH-L710 using xda premium
mattsd23 said:
Thanks Fergie.
Ya I guess I didnt install the apktool correctly. Not very many tuts for installing on a mac.
Any chance u can zip yours...really like the illest logo.
Thanks
Click to expand...
Click to collapse
I only have one for stock LJ7 ODEX so if that's what your on I can up it
Ceelos09 said:
Hey fergie,
Might be the wrong place to ask but,
I've been trying to set some custom images for my notification drop down background but I've been having some trouble. Any help?
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Well this is how I've been doing it
-Decompile SystemUI
-Go to /res/layouts/tw_status_bar_expanded.xml
-In the very second line here
Code:
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
Change this entry
Code:
android:background="@drawable/notification_panel_bg"
To
Code:
android:background="@drawable/status_bar_expand_default"
-Next, take whatever png you want to be your background and name it "status_bar_expand_default"
-Add that png to /res/drawable-xhdpi/
-Recompile, drag the original META-INF and AndroidManifest,xml from the original SystemUI.apk to the newly compiled one
-Make a flashable and flash in recovery
Hey Fergie,
That would be great if I could get yours for stock LJ7. I appreciatte it.
Thanks!
mattsd23 said:
Hey Fergie,
That would be great if I could get yours for stock LJ7. I appreciatte it.
Thanks!
Click to expand...
Click to collapse
Here you go
http://d-h.st/SoR
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
Here you go
http://d-h.st/SoR
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Just to clarify, what apktool version do you use to compile and recompile JB apks? I remember having to use different versions to compile and recompile apks on ICS
Sent from my SPH-L710 using xda premium
This looks really nice!
Is there a way to do this using APK manager?
Thanks!!
Click to expand...
Click to collapse
POWER BUTTON TO STATUS BAR
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
SCREENSHOT
By Long Pressing on the icon, will launch Power reboot menu
so It will save your power button,. LOLLss
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD & INSTALLATION
DOWNLOAD
CM10.1-Alpha-3_POWER_BUTTON_TO_STATUS_BAR
CM10.1 ALPHA 4 and P.A.C JB.4.2.2
CM10.1 ALPHA-5 POWER BUTTON TO STATUSBAR
INSTALLATION
CWM
WIPE CACHE
INSTALL ZIP FROM SD
REBOOT
HAVE FUN :good::laugh:
GUIDE HOW TO ADDED POWER BUTTON TO STATUS BAR - CM10.1
first of all need some requirement for this GUIDE
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
Sorry for my bad english
STEP-1
Decompile SystemUI.apk
go to \res\layouts\status_bar_expanded_header.xml, and open it with Notepad++
we are going to add one line and edit 2 lines in that xml, see below
1. Add line ( Blue highlight )
2. change/edit line ( Red highlight )
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/header" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:enabled="false" android:id="@id/datetime" android:background="@drawable/ic_notify_button_bg" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="8.0dip" android:singleLine="true" android:layout_centerVertical="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/clock" android:layout_centerVertical="true" />
</RelativeLayout>
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<TextView android:textSize="11.0dip" android:textStyle="bold" android:textColor="#ff00a040" android:layout_gravity="center_vertical" android:id="@id/header_debug_info" android:padding="2.0dip" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:fontFamily="sans-serif-condensed" />
<ImageView android:id="@id/clear_all_button" android:layout_width="50.0dip" android:layout_height="50.0dip" android:src="@drawable/ic_notify_clear" android:scaleType="center" android:contentDescription="@string/accessibility_clear_all" />
[COLOR="Blue"]<com.android.systemui.statusbar.policy.KeyButtonView android:background="@drawable/ic_notify_button_bg" android:layout_width="50.0dip" android:layout_height="50.0dip" android:src="@drawable/adi_power" android:scaleType="center" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<FrameLayout android:id="@id/settings_button_holder" android:layout_width="50.0dip" android:layout_height="50.0dip" android:layout_marginLeft=[COLOR="Red"]"2.0dip"[/COLOR]>
<ImageView android:id="@id/settings_button" android:layout_width="50.0dip" android:layout_height="50.0dip" android:src="@drawable/ic_notify_settings" android:scaleType="center" android:contentDescription="@string/accessibility_desc_quick_settings" />
<ImageView android:id="@id/notification_button" android:visibility="gone" android:layout_width="50.0dip" android:layout_height="50.0dip" android:src="@drawable/ic_notifications" android:scaleType="center" android:contentDescription="@string/accessibility_notifications_button" />
</FrameLayout>
</LinearLayout>
Next - STEP-2
Download from my attchment, exstract it, and put png to decompiled SytemUI.apk
\res\drawable-hdpi\here
Done and Recompile your SystemUI.apk
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
CREDIT & THANKS
ARCO
EVILISTO
[Unofficial Community] Galaxy Wonder CyanogenMod Indonesia
IF YOU LIKE THIS MOD, PLEASE PRESS MY THANKS BUTTON TOO:good::laugh:
Awesome om :good:
Sent from my GT-I8150 using xda premium
Can you make one for CM10? Thanks man!
Will this still work on alpha 3? This is the best mod you have! Thanks so much This is so because my sleep/power button is kinda busted. LOL
marionite said:
Will this still work on alpha 3? This is the best mod you have! Thanks so much This is so because my sleep/power button is kinda busted. LOL
Click to expand...
Click to collapse
sure it will work, it's just systemUI.apk,.
I'll update the mod using alpha 3 systemUI.apk soon if I have donloded it
Adi Aisiteru Reborn said:
sure it will work, it's just systemUI.apk,.
I'll update the mod using alpha 3 systemUI.apk soon if I have donloded it
Click to expand...
Click to collapse
SystemUI FC in alpha 3
marionite said:
SystemUI FC in alpha 3
Click to expand...
Click to collapse
sorry for the incovenient,. wait till i update it
Adi Aisiteru Reborn said:
sorry for the incovenient,. wait till i update it
Click to expand...
Click to collapse
Haha. No problem bro! I'm thankful for all of your mods! More power! Will wait :laugh:
Updated to CM10.1 ALPHA -3
Kindly update to Alpha 4 bro. Thanks!
marionite said:
Kindly update to Alpha 4 bro. Thanks!
Click to expand...
Click to collapse
ohh yess, marionate, thanks for telling me already release alpha 4,.
curently I m still in P.A.C, a requesting from P.A.C user, mod power button, so I must test it first.
Added for CM10.1 ALPHA 4 and P.A.C_JB_4.2.2-v22.0.1,. get it from my Attachment
CM10.1 alpha-4 version : new power button icon, and now I put the power button to the right of date.
P.A.C JB_4.2.2-v22.0. version : the power button only on StokUI pulldown
hope you like it
Adi Aisiteru Reborn said:
Added for CM10.1 ALPHA 4 and P.A.C_JB_4.2.2-v22.0.1,. get it from my Attachment
CM10.1 alpha-4 version : new power button icon, and now I put the power button to the right of date.
P.A.C JB_4.2.2-v22.0. version : the power button only on StokUI pulldown
hope you like it
Click to expand...
Click to collapse
Hi masbro, sorry if i complained again , why after i flash this mod, my combine mods was dissapear? Better you fuse this mod to the combine mods one , with data traffic color according theme color also :beer:
Sent from my GT-I8150 using xda premium
Vendetta Chronicle said:
Hi masbro, sorry if i complained again , why after i flash this mod, my combine mods was dissapear? Better you fuse this mod to the combine mods one , with data traffic color according theme color also :beer:
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
yahh , broo Lolls
you didnt tell me coming from combine mod, this one is single moded only power button., no other feature mod
this will replace your systemUI.apk,.
I'll update my P.A.C Combine mod to have include this mod later btw
Alpha 5 is released bro. Haha thanks! :victory:
Added for CM10.1 Alpha-5
Download it from my attachment,and flash it from CWM recovery
CHANGELOG CM10.1 Alpha-5:
Code:
- Move the power button back again to left of Quicksettings button
- Added guide
HAVE FUN :good:
Question
How to remove this mod?
mohsen60 said:
How to remove this mod?
Click to expand...
Click to collapse
Unzip CM10.1 original zip, take its systemUI.apk
And unzip my zip, replace my systemUI.apk and replace with that, rezip and flash
Sent from my GT-I8150 using xda app-developers app
Question
Zip file when I update it in "recovery mode" bug "Aborted" is
installing cm10.1-power-button.zip
finding update package...
opening update package...
installing package...
installation aborted.
mohsen60 said:
Zip file when I update it in "recovery mode" bug "Aborted" is
installing cm10.1-power-button.zip
finding update package...
opening update package...
installing package...
installation aborted.
Click to expand...
Click to collapse
On my attchment , donlod it and flash from CWM
****PORTED S5 RECENT PANEL****
Tools required:
-Any tool which can decompile and recompile apk (e.g apktool i use)
-Notepad++
GUIDE:
STEP1:
Decompile your SystemUI.apk
STEP2:
Navigate to res/layout/system_bar_recent_item and open it with notepad++
STEP3:
FIND:
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
And paste the below code
Code:
<FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>
STEP 4:
Navigate to res/layout-land/status_bar_recent_item and open it with notepad++
Find:
Code:
android:id="@id/recent_item"
And place the below code after that
Code:
<FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>
STEP5:
Navigate to res/layout-port/status_bar_recent_item and open it with notepad++
Find:
Code:
android:id="@id/recent_item"
And place the below code after that
Code:
<FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>
STEP6:
Time to create ids.
Navigate to res/values and open strings.xml
Paste the below lines
Code:
<string name="recents_item_background_shadow">recent</string>
<string name="recents_item_background">no shadow</string>
Open ids.xml and paste the below lines
Code:
<item type="id" name="recents_item_background_shadow" />
<item type="id" name="recents_item_background" />
Open dimens.xml and paste the below lines
Code:
<dimen name="tw_status_bar_recents_panel_bg_width">100.0dip</dimen>
<dimen name="tw_status_bar_recents_panel_bg_height">120.0dip</dimen>
Download the .9.png from the attachment and paste it into drawable-hdpi
Recompile and done.
Screenshot and video:
You Tube video
{
"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"
}
Thats it...Have fun!!:laugh:
This thread will be updated soon ..because am experimenting with app icon dimens values...
I have very very less time
try it out..have any questions?..ask in the thread.
Credits:
Samsung for s5 dump
@_Sale_ for SystemUI.apk
DOWNLOAD THE BELOW
Code:
tw_recents_bg.9.png
thanks to @RRGrr
Thank you so much RC! :thumbup:
Download:
XWMS3_S4_T_RECENT_S5
so am i the first? good work @cfi 5*
_Sale_ said:
so am i the first? good work @cfi 5*
Click to expand...
Click to collapse
Yes
Seems chill did not allow me to reserve a post.
Regards,
Neel
Vivek_Neel said:
Yes
Seems chill did not allow me to reserve a post.
Regards,
Neel
Click to expand...
Click to collapse
Talk to a mod to re-arrange thread for you.
Great guide Vivek. Very thorough as always
PurifieD Domination S4
Does this method work in mini s3?
Does this method work in mini s3?
Try and report back.
It may work
Regards,
Neel
batmunkh.baachka said:
good work mate. please fix icons background or remove this icon
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Oh sorry buddy.
Did not have time to make the icons.
Will do
Regards,
Neel
Vivek_Neel said:
Yes
Seems chill did not allow me to reserve a post.
Regards,
Neel
Click to expand...
Click to collapse
Oh my .. Sorry Sir, Just excited.
I will delete it now. :angel:
EDIT : What am I thinking. I can't delete my post.. LOL. Hehehe.
-Chill said:
Oh my .. Sorry Sir, Just excited.
I will delete it now. :angel:
EDIT : What am I thinking. I can't delete my post.. LOL. Hehehe.
Click to expand...
Click to collapse
Np m8.
Let it be there.
Regards,
Neel
Vivek_Neel said:
Np m8.
Let it be there.
Regards,
Neel
Click to expand...
Click to collapse
Noted that Sir. Hoping that I can include this to the project that I will make.
End of OT.
-Chill said:
Noted that Sir. Hoping that I can include this to the project that I will make.
End of OT.
Click to expand...
Click to collapse
Feel free to
Regards,
Neel
i follow the guide but with the system ui of s3 mini . when i recompile , ticklemyandroid give me error
Is for android 4.1.2? I tried to make this but, I can not, I have Galaxy Core android 4.1.2 HDPI, the archives are the same
well i did like the guide but i skipped step 5 as i dont have an "res/layout-land/status_bar_recent_port" in my s4 mini .. is this step so important ??
what is this ?? i means it look like multiwindow
or is it a recent panel ???
remo1995 said:
i follow the guide but with the system ui of s3 mini . when i recompile , ticklemyandroid give me error
Click to expand...
Click to collapse
Lanatico said:
Is for android 4.1.2? I tried to make this but, I can not, I have Galaxy Core android 4.1.2 HDPI, the archives are the same
Click to expand...
Click to collapse
Y don't you guys post the log?
rrgrrg said:
well i did like the guide but i skipped step 5 as i dont have an "res/layout-land/status_bar_recent_port" in my s4 mini .. is this step so important ??
Click to expand...
Click to collapse
Its
Code:
status_bar_recent_item
sukhi.priceless said:
what is this ?? i means it look like multiwindow
or is it a recent panel ???
Click to expand...
Click to collapse
That's side control app
Sent from my Nexus 5 using XDA Free mobile app
@Vivek_Neel then y its screenshot is in the OP ??
its a separate app frm play store then y it is here ???
Status Icons Let's Volt Out!
{
"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"
}
Description
Status Icons our now separated, it means they have their own
lines, then it also means that you can now put it anywhere! (Check the
above screenshot for example of left) left,right, center,expanded,etc..
I manage to create all of the icons, TTY, Sync, Gps, Bluetooth, Volume,
Wifi, SimAndData, Signal, Battery, and Alarm. I did get the codes from
statusbarpolicy open source AOSP so It has no bugs and it updates like
what the default status icons do. Let's get Started!
PS: Easy and noob friendly guide because it doesnt compose of any smali
editing. Why? because we manage to create them all so we just need to
0.0dip the statusicons and replace mine.
Click to expand...
Click to collapse
Bugs
Mobile data and Sim card not inserted icon AKA SimandDataIcon (On my way on fixing this )
Mobile data now fixed. Tthe sim card icon when not inserted is still not showing, but not a big issue because you can tell if you inserted a sim or not right? :cyclops:
Update
Redownload the tenten_statusicons.zip and replace it on your systemUI/smali/com folder. Mobile data icon now fixed, thanks for the testers [email protected] and [email protected]
Steps
1.) Decompile SystemUI.apk.
2.) Download tenten_statusicons.zip and extract it on smali/com folder.
3.) Go to res/layout/status_bar.xml and find this id: android:id="@id/statusIcons" and 0.0dip the width and height.
4.) After that, place this code above <com.android.systemui.statusbar.Clock.
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<com.tenten.TTYIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.SyncIcon android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.GpsIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.BluetoothIcon android:layout_marginRight="9.0dip" android:layout_marginLeft="7.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerInside" />
<com.tenten.VolumeIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.WifiIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.SimAndDataIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.SignalIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.BatteryIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.AlarmIcon android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
NOTE: You can put remove one line and put it on any place or on left depends on you.
Click to expand...
Click to collapse
5.) Recompile and Save. If it works, JUMP! hehe :victory: if not, post logcat
Sources
Github Status Bar Icons Source
Credits
AOSP
Github.com
@mariozawa
@PineappleOwl
Lenox Devs
Potato Inc
Nice Guide. Awesome Work Keep it Up..!! Am First to Reply..
yeah ...sir ...its great..i try to do..
yeah :3
sir...dont show battery icon,my battery is OGBatteryMod...how to do....
Myth2014 said:
sir...dont show battery icon,my battery is OGBatteryMod...how to do....
Click to expand...
Click to collapse
It is because its using sir tenten smali, for battery remove the layout and manually place it XD
sir my mobile data icon is not showing please help me
KenEmerenciana said:
sir my mobile data icon is not showing please help me
Click to expand...
Click to collapse
+1 that. I too am not getting my mobile data icon.
drakonizer said:
+1 that. I too am not getting my mobile data icon.
Click to expand...
Click to collapse
KenEmerenciana said:
sir my mobile data icon is not showing please help me
Click to expand...
Click to collapse
MrPhamHpGYC said:
Not active icon mobile data
Click to expand...
Click to collapse
Still havent tried that, Ill check for it. thanks for reporting. :highfive:
EDIT: Thread Updated: Mobile data icon is now working.
Tenten
tentenponce said:
Still havent tried that, Ill check for it. thanks for reporting. :highfive:
Click to expand...
Click to collapse
Not active icon mobile data
Nice guide bro but need dual sim support
nice guide bro but many users need dual sim support can you make it ?or help me to done it?
i mean i have dual sim gb device . can you create smalli for it?
Droidbuster said:
nice guide bro but many users need dual sim support can you make it ?or help me to done it?
i mean i have dual sim gb device . can you create smalli for it?
Click to expand...
Click to collapse
Nice work bro!
Keep up the good work.
Droidbuster said:
nice guide bro but many users need dual sim support can you make it ?or help me to done it?
i mean i have dual sim gb device . can you create smalli for it?
Click to expand...
Click to collapse
If you can help me get the java source of statusbarpolicy of a dual sim GB device, maybe I can do it, but I need tester xD I dont know if there's source of dual sim in AOSP. If someone knows, please tell me for those who are dual sim users.
tentenponce said:
If you can help me get the java source of statusbarpolicy of a dual sim GB device, maybe I can do it, but I need tester xD I dont know if there's source of dual sim in AOSP. If someone knows, please tell me for those who are dual sim users.
Click to expand...
Click to collapse
actually there is one of my local phone using AOSP as its source, dual sim too
but that phone is my friend phone -_-
deleted
Error on smali
tol nag eerror dun sa smali ayaw macompile
Would You Please Upload Your Source Code To Github?
@tentenponce
pls gv the smali code for making it on dual sim phone's?
Thanks.
Sent from my HUAWEI Y220-T10 using XDA Free mobile app
How to port Xperia Z2 Styled tabbed statusbar
Many people asked me to release my tabbed view so here it is. its very easy because these tabs all needs you to add all ids and such and then in all smali you need to fix 0x730254 etc values.
BUT NOW!!! that time is over i have been working on these toggles for a few days now and its set so it will get all values etc with only packagename
so you only need to copy paste the stuff i say you 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"
}
REQUIREMENT:
- BRAIN
- Patient
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ etc,
1. Decomple SystemUI.apk
/res/values/ids.xml
Add the following values to ids.xml
Code:
<item type="id" name="spomc_xperia_tabs">false</item>
<item type="id" name="spomc_xperia_tabbuttons">false</item>
2. Copy paste the Attached TabContent.zip to ur systemui/
This will add the resources and tabbed smali's.
3. Goto /res/layout/statusbar_expanded.xml
after opening the layout you will see something like this in first few rows.
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
Paste the following code under it.
Code:
<com.spacey.xperiatabs.TabButtons android:gravity="center" android:layout_gravity="top" android:orientation="horizontal" android:id="@id/spomc_xperia_tabbuttons" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="42.0dip" />
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="Magenta"]<TextView android:textColor="#ffffffff" android:gravity="center" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="This you can fill up " android:layout_centerInParent="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />[/COLOR]
</LinearLayout>
and before
Code:
</com.android.systemui.statusbar.ExpandedView>
add this
Code:
</com.spacey.xperiatabs.TabBase>
4. Save it all
and Recompile SystemUI.apk
5. U should be done now.
FAQ
The Magenta colored code you can change with like maybe my toggles http://forum.xda-developers.com/galaxy-y/general/mod-easy-grid-toggles-copy-paste-t2854197 or anything else
CREDITS:
[/B]
AuliaYF
TentenPonce
TuxKids
Aryne
Potato Bro's
SonyXperiaZ2 for pngs
SpaceCaker ofcourse!
Attachements:
TabContent.zip dl link https://dl.dropboxusercontent.com/u/56034188/1CM7 acei/TabContent.zip
or see bottom of post for attached zip
spaceholder
sorry sir but
one last question m on jb 4.2.2 with serajr toggles xperia l
and can u tell me how to edit or pls do it for me I will give u my statusbarexpanded.xml
Solved
yeaaaa.... you should create more bro!
Holy status bar! Need to try it asap.
EDIT: How can I put text on buttons sir @SpaceCaker ? And How do I put the Notifications on First Tab sir and also how do I put the toggles on Second Tab? Sorry for the noob question.
jasper~ said:
Holy status bar! Need to try it asap.
EDIT: How can I put text on buttons sir @SpaceCaker ? And How do I put the Notifications on First Tab sir and also how do I put the toggles on Second Tab? Sorry for the noob question.
Click to expand...
Click to collapse
uh the linearlayout is where you want to put the toogles
its automatically detect the first layout to notif sir
Mranggapo said:
uh the linearlayout is where you want to put the toogles
its automatically detect the first layout to notif sir
Click to expand...
Click to collapse
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
yeah,,sir,,,nice,,i try to it on my 4.3:fingers-crossed:
jasper~ said:
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
Click to expand...
Click to collapse
give me your expanded.xml sir
jasper~ said:
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
Click to expand...
Click to collapse
its all layouting
yash989 said:
sorry sir but
one last question m on jb 4.2.2 with serajr toggles xperia l
and can u tell me how to edit or pls do it for me I will give u my statusbarexpanded.xml
Click to expand...
Click to collapse
put ur expanded.xml on pastebin.com ok ?
i will try for you
only because today i am nice
jasper~ said:
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
Click to expand...
Click to collapse
sir,i think two layout is two tab.
Mranggapo said:
uh the linearlayout is where you want to put the toogles
its automatically detect the first layout to notif sir
Click to expand...
Click to collapse
Mranggapo said:
give me your expanded.xml sir
Click to expand...
Click to collapse
Here is my edited expanded.xml .
Myth2014 said:
sir,i think two layout is two tab.
Click to expand...
Click to collapse
what do you mean sir?
---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------
SpaceCaker said:
put ur expanded.xml on pastebin.com ok ?
i will try for you
only because today i am nice
Click to expand...
Click to collapse
Can mine, too?
jasper~ said:
what do you mean sir?
---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------
Can mine, too?
Click to expand...
Click to collapse
yeah,,,look like:
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<TextView android:textColor="#ffffffff" android:gravity="center" androidaddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="First Tab " android:layout_centerInParent="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<TextView android:textColor="#ffffffff" android:gravity="center" androidaddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Second Tab" android:layout_centerInParent="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
</com.spacey.xperiatabs.TabBase>
A layout is a Tab,,,
SpaceCaker said:
put ur expanded.xml on pastebin.com ok ?
i will try for you
only because today i am nice
Click to expand...
Click to collapse
i and samsoul fix it
thanks for help and awsome guide
will there be update fir toggles like profile reboot and all?
yash989 said:
i and samsoul fix it
thanks for help and awsome guide
will there be update fir toggles like profile reboot and all?
Click to expand...
Click to collapse
reboot toggle
dude super smart :3 thanks will try to implement
SpaceCaker said:
reboot toggle
dude super smart :3 thanks will try to implement
Click to expand...
Click to collapse
here are some toggles I can say
profile sync reboot power off teetering lockscreen USB Debugging flash light stay awake roaming and if time (stamina nfc)
just suggestions
u r great
Can the button on the bottom?:fingers-crossed: