remove carrier logo from the statusbar? - LG Optimus G Pro

anyone know how to remove that at&t logo from the statusbar? i know its a xml edit in the systemui but i cannot figure it out.

somebody please answer this man

I don't know, maybe, possibly, someone with better skills than I on modding could chime in

Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26

reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
Anyone try this?

reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
if i upload my systemui can you do this mod? i cant apktool to work right.

i can confirm it works, i removed the carrier text and changed all of the stausbar text to holo blue.

reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
I'm dumb as bricks, what I use to enter all this?

Funk2641 said:
I'm dumb as bricks, what I use to enter all this?
Click to expand...
Click to collapse
Its complicated. You need both java and the android SDK installed on your PC. Then you need apktools to decomplie and recompile the lgsystemUI. Not for the faint of heart but its fun learning.

fix-this! said:
Its complicated. You need both java and the android SDK installed on your PC. Then you need apktools to decomplie and recompile the lgsystemUI. Not for the faint of heart but its fun learning.
Click to expand...
Click to collapse
great....its a start for sure...the g pro is all new, its already a giant leap done!!:good:

reider123 said:
Ø LGSystemUI.apk /res/layout/Status_bar.xml
<com.lge.systemui.OperatorTextView
android:textStyle="bold" android:gravity="center_vertical" android:id="@id/operator_text" android:tag="NO_R2L" androidaddingLeft="0.0dip" androidaddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Change like this.
I did not find it out. From tnsqo1126
Edit: is : p
Link: http://m.cafe.naver.com/ArticleRead.nhn?clubid=25821799&articleid=1220&page=&menuid=26
Click to expand...
Click to collapse
this worked great for me. do you know how to remove the brightness slider too? i assume its in the lgsystemui somewhere?

fix-this! said:
this worked great for me. do you know how to remove the brightness slider too? i assume its in the lgsystemui somewhere?
Click to expand...
Click to collapse
it would be nice to have a "debloated" at&t rom.....like the optimus g have on xda here...:good:

zxaz said:
it would be nice to have a "debloated" at&t rom.....like the optimus g have on xda here...:good:
Click to expand...
Click to collapse
we will in time, its a brand new device.

Anyone make a cwm flashable zip for this?

idle0095 said:
Anyone make a cwm flashable zip for this?
Click to expand...
Click to collapse
Not yet.....but should very soon.....

Looking for CWM flashable zip with the carrier logo ..the brigtness slider and the Qslide removed...

Teardrop45 said:
Looking for CWM flashable zip with the carrier logo ..the brigtness slider and the Qslide removed...
Click to expand...
Click to collapse
There is already one for removing QSlide: http://forum.xda-developers.com/showthread.php?t=2284429
Probably best to keep them separate, for flexibility. I actually like the brightness slider and would want to keep it, but I don't mind ditching the AT&T logo. It's useless and it's not like I don't know what carrier I'm on.

npaladin2000 said:
There is already one for removing QSlide: http://forum.xda-developers.com/showthread.php?t=2284429
Probably best to keep them separate, for flexibility. I actually like the brightness slider and would want to keep it, but I don't mind ditching the AT&T logo. It's useless and it's not like I don't know what carrier I'm on.
Click to expand...
Click to collapse
Yes im already using that one...But if i find a zip that takes care of all 3 it would be amazing..

fix-this! said:
i can confirm it works, i removed the carrier text and changed all of the stausbar text to holo blue.
Click to expand...
Click to collapse
Help me out here... to do this, what did you do? A text editor and add the listed code? If so how? And what file?
Sent from my LG-E980 using xda premium

Bumping this, can anyone post a walkthrough for doing this?

Related

(>HOW TO<)Centre clock/clock colour blue

Guide:
Center Clock Mod
Decompile SystemUI.apk
Systemui/res/layout/tw_status_bar.xml
Delete:
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Then find this line and create a blank under it:
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
And enter these lines into the space:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
Blue clock
SystemUI/res/values/styles.xml
search for
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">18.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/[COLOR="Magenta"]holo_blue_light</item>[/COLOR]
and change to
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">20.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/[COLOR="Red"]holo_blue_dark</item>[/COLOR]
Recompile SystemUI
Is it possible to make a flashable zip ? for both blue clock and centered clock ?
can explain center clock more brifly nt geting itt
Sent from my GT-I9300 using xda premium
saveferris said:
Is it possible to make a flashable zip ? for both blue clock and centered clock ?
Click to expand...
Click to collapse
Systemui changes on every theme on every rom. Its something best done by the individual
Sent from my GT-I9300 using Tapatalk 2
What are you guys using to decompile/recompile... I'm having issues compiling with apktool..
Can someone write up a quick guide ?
It seems I can decompile, can't compile with out errors tho.
yea,can someone make a flashible zip? Thanks
hello a suggestion. I personally do not like the operator's name in the status bar. I would put in the bottom of the curtain. Thank you.
Enviado desde mi GT-I9300 usando Tapatalk 2
vegerfrancois said:
yea,can someone make a flashible zip? Thanks
Click to expand...
Click to collapse
Not possible. Did you read my post?
this should work on both odexed and deodexed roms, ye?
maxq1 said:
this should work on both odexed and deodexed roms, ye?
Click to expand...
Click to collapse
Yes it works on both!!!!
Did you use Notepad to make the changes?
Sent from my GT-I9300 using xda premium
slonn said:
Did you use Notepad to make the changes?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
yes notepad++
Sent from my GT-I9300 using xda premium
Could you turn this into an installable app?
I dont want to root my phone yet, but really wanted to have that clock centered :-/
This method is working, thanks ... but how to make the center clock disappear in lock-screen?
center data
Hello friends, I followed the guide to center the clock :good:, now I want to center the data and move under the name of the manager, how can I do? thanks for your time.
Roby
mine looks all crazy in notepad++, how do I get it to read as all text?
Skyler2Dope said:
mine looks all crazy in notepad++, how do I get it to read as all text?
Click to expand...
Click to collapse
you have to decompiele it with apktool
Sent from my GT-I9300 using xda premium
Andrewtst said:
This method is working, thanks ... but how to make the center clock disappear in lock-screen?
Click to expand...
Click to collapse
+1, would like to know too, if possible.
I think it's a LinearLayout placement problem, should be placed elsewhere, not sure thought.
Does this mod work also on Android 4.1 Jelly Bean? I tried it on my GS3 with CM10, but it didn't work for me.
yeah!
zotac1907 said:
Does this mod work also on Android 4.1 Jelly Bean? I tried it on my GS3 with CM10, but it didn't work for me.
Click to expand...
Click to collapse
It's work fine thanks you very much:good::highfive:

[request]remove ATT carrier logo from stock ICS notification bar.

i found this, it's for another device but perhaps it can help with the location within xml files and such
http://forum.xda-developers.com/show...e+carrier+name
i'll donate to the dev that creates mod that removes the logo, who's with me!!??
let's give that hideous graphic the old heave ho!!!!!!!
http://forum.xda-developers.com/showthread.php?t=1773879&highlight=remove+carrier+name
Working link
do not mention it
Only for v20c. Use X-plore to replace. Delete SystemUI.odex before it.
-ReaL- said:
do not mention it
Only for v20c. Use X-plore to replace. Delete SystemUI.odex before it.
Click to expand...
Click to collapse
works perfect, thank you!!! sending a donation now..........:good:
-ReaL- said:
do not mention it
Only for v20c. Use X-plore to replace. Delete SystemUI.odex before it.
Click to expand...
Click to collapse
Thank you
Do we have to do anything special when replacing?
i had to change permissions, after moving the file into the system folder but before moving it into the app folder.
i used root explorer, had to change a setting there read/write only up at the top right.
If you will use X-plore you not have to change permissions
Thank you so much!!!!!!
-ReaL- said:
do not mention it
Only for v20c. Use X-plore to replace. Delete SystemUI.odex before it.
Click to expand...
Click to collapse
hmmm....now you are giving me a reason to update to 20c.
damint and I just re downloaded all my apps again...lol.
but no carrier logo is all win
as agenral rule of thumb when using root explorer you must change the permisions/attributes to "read/write" as opposed to "read only"
IMO unless your are 100% sure you would never accidently delete or move anything, this is the best option to have. Pluss I love rootEx.
For me and my two braincells its better to be safe.
Edit: Yo Real-> ..... thx again for your awesome root guide/method....I just got the 20c, IM rooted and this baby's next. Scott thx for posting this request!
Replacing
Code:
<TextView android:textSize="16.0dip" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="marquee" android:layout_gravity="center_vertical" android:id="@id/operator_text" android:paddingLeft="6.0px" android:paddingTop="2.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" />
with
Code:
<TextView android:textSize="[COLOR="Red"]0.0sp[/COLOR]" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="marquee" android:layout_gravity="center_vertical" android:id="@id/operator_text" android:paddingLeft="[COLOR="red"]0.0px[/COLOR]" android:paddingTop="[COLOR="red"]0.0px[/COLOR]" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" />
in Bell's 20e like from 20c, but new systemui.apk does not start. APK from 20c does not work. Should it be deodexed?
For v20e Bell
-ReaL- said:
For v20e Bell
Click to expand...
Click to collapse
is there any hope you'll update the systemUI.apk for the latest
v20f bell release ?
I'm using v20f now and made a bunch of mods to the look including removing the carrier. You can see them in the "flaunt your screens" thread. If you send me your SystemUI.apk, I can remove the carrier (or do any of the other mods I posted in that thread), or I can post a tutorial. Either way! Let me know!
itiskonrad said:
I'm using v20f now and made a bunch of mods to the look including removing the carrier. You can see them in the "flaunt your screens" thread. If you send me your SystemUI.apk, I can remove the carrier (or do any of the other mods I posted in that thread), or I can post a tutorial. Either way! Let me know!
Click to expand...
Click to collapse
Hi,
Since you offer to post a tutorial I think I'll give it a try
Your mod list is quite cool but for now I only need the
instructions for removing the scrolling carrier's name in the
notification bar.
Thanks !
glc011 said:
Hi,
Since you offer to post a tutorial I think I'll give it a try
Your mod list is quite cool but for now I only need the
instructions for removing the scrolling carrier's name in the
notification bar.
Thanks !
Click to expand...
Click to collapse
The one above for v20e works fine for v20f I am running it now.
Sent from my LG-P930 using xda app-developers app
Sent from my LG-P930 using xda app-developers app
Indeed. I tried and it works.
Sent from my LG-P930 using xda app-developers app
May someone help me with getting the carrier text to show on mine ( yes odd that I want it but I kinda like it ). I don't have a Nitro but I (Might) get one to play with and dev a lil for (might), but I have a LG Spectrum 4G LTE (VS920) and need help getting the carrier to show in the top left. If someone could either port yalls system ui to mine or just put it in the top left I'd be glad to port a Rom of your liking! Thank you so much. Sorry for the troubles, been busy lately so kinda need some help. I've attached my SystemUI.apk at the bottom. Thanks again! Also I would do this but I'm having troubles with adb and apktool on my new laptop so I can't really do it myself. It worked on my old one go figure ( which is now broke ) .
Thank you for your time!
View attachment SystemUI.apk
I can do that for you, but just to be safe, I should probably also get your framework-res.apk and lge-res.apk since SystemUI.apk is dependent on both of them and since I'll bet they're slightly different than the framework-res.apk and lge-res.apk I have for my Nitro.
itiskonrad said:
I can do that for you, but just to be safe, I should probably also get your framework-res.apk and lge-res.apk since SystemUI.apk is dependent on both of them and since I'll bet they're slightly different than the framework-res.apk and lge-res.apk I have for my Nitro.
Click to expand...
Click to collapse
Ok, thank you so much!! is there anything you want in return such as a Rom or so?
Here's a zip including my SystemUI.apk, Framework-Res.apk and lge-res.apk : http://www.mediafire.com/?x6itzmbi2a7xjbl
Thanks

[Tutorial][How-to][Guide] StatusBar Mods [CORNER OPTION - TRAFFIC - MORE]

StatusBar Mods For All Xperia Devices​
Requirements​
ApkTool
SystemUI.apk
Knowledge to Decompiling and Compiling APKs
Notepad++
Add Corner Options on StatusBar
Decompile with APKTool SystemUI.apk
Go to res/layout/status_bar.xml
Add this Line ( <com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="right" android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" androidrientation="vertical" /> ) between this " </LinearLayout> " and this " <ImageView android:layout_gravity="top|left|center" android:id="@id/rounded_corner_ul" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ul" /> "
Than Make a Transparent Image 20x35 with Photoshop in .PNG , rename it in ( screen_lock ) and copy in" res/drawable-xhdpi "
Compilng and Done
Add Traffic Meter to StatusBar
Decompile systemUI.apk
Go to res/layout and open status_bar.xml
Add this line ( <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" /> ) two line above the line " <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" /> "
now go to res/values and open ids.xml and add this line at the end " <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" /> "
Now go to res/values and open styles.xml and copy this code at the end "
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">false</item>
</style> "
Now download this Package and extract it to smali/com/android/systemui/statusbar/policy/HERE
Compile and Done
Change Color StatusBar
Decompiling SystemUI.apk
Go to res/values , open drawables.xml
Change in <item type="drawable" name="status_bar_background">#ff14374f</item> the #ff14374f in ur prefered colour , to choose color i suggest to open Photoshop and in colors pick up ur colour code and paste with this " 14374f " in Drawables.xml file.
Compiling and Done
More Mods Soon​
Appreciate your work but these mods can already be done using Xposed framework without any flashing.
PünchUp said:
Appreciate your work but these mods can already be done using Xposed framework without any flashing.
Click to expand...
Click to collapse
And for who dont want xposed?!? Hahah
Sent from my LT26ii using XDA Premium 4 mobile app
savergiggio said:
And for who dont want xposed?!? Hahah
Sent from my LT26ii using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That's why I said I appreciate your work
PünchUp said:
That's why I said I appreciate your work
Click to expand...
Click to collapse
nice!!
Can u post screenshots of end-effect of edited statusbar?
Thanks master @savergiggio
Sent from my LT26w using XDA Premium 4 mobile app
Great tutorial mate! I really appriciate it ?
EDIT: how about tutorial on putting close all button on taskswitcher?
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
rockernaxo said:
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
Click to expand...
Click to collapse
i didnt copy these codes
HitFan said:
Can u post screenshots of end-effect of edited statusbar?
Click to expand...
Click to collapse
i will
rockernaxo said:
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
Click to expand...
Click to collapse
savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
Oh Really?
Same as this link : http://forum.xda-developers.com/showthread.php?t=2241739
And you give TRAFFIC.zip on this thread.
You Reported "freeloader" !!
savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
Are you kidding? Who are you trying to decieve?
I don't say you can't post "your guide" here, but at least give credits to those who have really done this stuff.
These mods are the result of hours of hardwork and not of your hardwork. Give credits man, that's not the spirit of xda.
Hi , i guess that OP never use searh button. 
Dzol Cp said:
Hi , i guess that OP never use searh button. 
Click to expand...
Click to collapse
But he uses well Ctrl-C and Ctrl-P
Btw thanks you for this tuturial...
rockernaxo said:
Are you kidding? Who are you trying to decieve?
I don't say you can't post "your guide" here, but at least give credits to those who have really done this stuff.
These mods are the result of hours of hardwork and not of your hardwork. Give credits man, that's not the spirit of xda.
Click to expand...
Click to collapse
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
Simple, you can start giving credits to RC @Dzol Cp.
The same I'd recommend with your ROM
savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
@rockernaxo is right, i think u get the tutorial on adding traffic meter on statusbar here: http://forum.xda-developers.com/showthread.php?t=2241739 right?
savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
You're not successful on lying as hijack. I gave the source thread (which you take(hijack) TRAFFIC.zip) You must give Dzol Cp to credits.
This is not your work, and you're saying i didint take the codes, they are my made. So Sorry for you!
savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
I check your zip file and all the smali code is belong to me and my group project! what are you gonna say? still refuse to add real link and credits?
then your thread has still not report to FORUM MODERATOR.. i give you chance by today.. and if still nothing on progress. then you will know.
Regards
Dz

[Guide] Add OGBatteryMod to your ROM

I found this guide here and this is what I did differently from it to make this work for us. You can use the linked file to click an app to change the icon or you can add it into settings in your rom. For those that don't know what this does this probably isn't the thread for you. Just wait until you see it popping up in the roms you use. This should work universally for ND8 builds.
http://forum.xda-developers.com/showthread.php?t=2730108
Now instead of following all of his steps and not finding what you're searching for I will simplify this some to make it quicker. You will want to search for this and replace it throughout the smali file in your decompiled systemui.apk (\SystemUI\smali\com\android\systemui\statusbar\ph one\PhoneStatusBar.smali)
Find all instances of
Code:
Lcom/android/systemui/statusbar/policy/BatteryController;
and replace with
Code:
Lcom/ghareeb/BatteryMod/BatteryController;
Then open (\SystemUI\res\layout\status_bar.xml) and find [This may already be changed if you used tdunham's 1% battery mod]
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="12.0dip" android:layout_height="18.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
and replace it with
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:layout_marginStart="2.0dip" />
Now most importantly you need to add these smali files to your systemui so they're in (systemui/smali/com/ghareeb/BatteryMod)
http://forum.xda-developers.com/attachment.php?attachmentid=2706746&stc=1&d=1398368939
Then add the OGBatterymod.apk of your choice to system/app. I didn't provide one in this guide sorry but maybe I will upload one eventually. You can easily look for one to add, all the old ones should work.
To add it to secsettings under display
Decompile secsettings.apk and open (\SecSettings\res\xml\display_settings.xml)
Find
Code:
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
Add this under that line
Code:
<PreferenceScreen android:title="@string/battery_mod" android:summary="@string/battery_mod_desc">
<intent android:targetPackage="com.ghareeb.battery" android:action="android.intent.action.MAIN" android:targetClass="com.ghareeb.battery.Settings" />
</PreferenceScreen>
Now open (\SecSettings\res\values\string.xml) and add this
Code:
<string name="battery_mod">OGBattery Mod</string>
<string name="battery_mod_desc">Change battery icon and charging animation.</string>
For those who don't want to add this to settings for some reason you can find one with the icon so you can just open the app here: http://forum.xda-developers.com/showthread.php?t=2758088
Thanks to @OsamaGhareeb and @meawww also @axel06 for his that I linked with the icon instead of having to have it in settings if anyone would like to do it this way.
Dude you are awesome! I can't wait to get on this. Have to wait till the weekend though.
BTW this works great! Thanks again.
talkingmonkeys said:
I found this guide here and this is what I did differently from it to make this work for us. You can use the linked file to click an app to change the icon or you can add it into settings in your rom. For those that don't know what this does this probably isn't the thread for you. Just wait until you see it popping up in the roms you use. This should work universally for ND8 builds.
http://forum.xda-developers.com/showthread.php?t=2730108
Now instead of following all of his steps and not finding what you're searching for I will simplify this some to make it quicker. You will want to search for this and replace it throughout the smali file in your decompiled systemui.apk (\SystemUI\smali\com\android\systemui\statusbar\ph one\PhoneStatusBar.smali)
Find all instances of
Code:
Lcom/android/systemui/statusbar/policy/BatteryController;
and replace with
Code:
Lcom/ghareeb/BatteryMod/BatteryController;
Then open (\SystemUI\res\layout\status_bar.xml) and find [This may already be changed if you used tdunham's 1% battery mod]
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="12.0dip" android:layout_height="18.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
and replace it with
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:layout_marginStart="2.0dip" />
Now most importantly you need to add these smali files to your systemui so they're in (systemui/smali/com/ghareeb/BatteryMod)
http://forum.xda-developers.com/attachment.php?attachmentid=2706746&stc=1&d=1398368939
Then add the OGBatterymod.apk of your choice to system/app. I didn't provide one in this guide sorry but maybe I will upload one eventually. You can easily look for one to add, all the old ones should work.
To add it to secsettings under display
Decompile secsettings.apk and open (\SecSettings\res\xml\display_settings.xml)
Find
Code:
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
Add this under that line
Code:
<PreferenceScreen android:title="@string/battery_mod" android:summary="@string/battery_mod_desc">
<intent android:targetPackage="com.ghareeb.battery" android:action="android.intent.action.MAIN" android:targetClass="com.ghareeb.battery.Settings" />
</PreferenceScreen>
Now open (\SecSettings\res\values\string.xml) and add this
Code:
<string name="battery_mod">OGBattery Mod</string>
<string name="battery_mod_desc">Change battery icon and charging animation.</string>
For those who don't want to add this to settings for some reason you can find one with the icon so you can just open the app here: http://forum.xda-developers.com/showthread.php?t=2758088
Thanks to @OsamaGhareeb and @meawww also @axel06 for his that I linked with the icon instead of having to have it in settings if anyone would like to do it this way.
Click to expand...
Click to collapse
Great guide man. I've been trying to get this mod going using some of the other guides out there, but no luck. Glad I found this. A couple of questions; I don't see a \ph one\ folder in my statusbar smali. Is that typo? Should it be: \SystemUI\smali\com\android\systemui\statusbar\PhoneStatusBar.smali. If so, I followed all steps but I get the following error when trying to recompile. Is it a syntax error?
Edit: Sorry about the path question. Dummy me. As for the recompile error, I think it has something to do with one of the smali files in the Ghareeb zip?
nyfl2004 said:
Great guide man. I've been trying to get this mod going using some of the other guides out there, but no luck. Glad I found this. A couple of questions; I don't see a \ph one\ folder in my statusbar smali. Is that typo? Should it be: \SystemUI\smali\com\android\systemui\statusbar\PhoneStatusBar.smali. If so, I followed all steps but I get the following error when trying to recompile. Is it a syntax error?
Edit: Sorry about the path question. Dummy me. As for the recompile error, I think it has something to do with one of the smali files in the Ghareeb zip?
Click to expand...
Click to collapse
Try using a different apktool. I think I used 2 beta. The different apk tools use different parameters and I can't remember exactly what you need to change it to for it to recompile just this minute
talkingmonkeys said:
Try using a different apktool. I think I used 2 beta. The different apk tools use different parameters and I can't remember exactly what you need to change it to for it to recompile just this minute
Click to expand...
Click to collapse
Thanks man. I can recompile your edits with no problem. I can't recompile once I add the Ghareeb smali files. I'll keep trying. Thanks again..
nyfl2004 said:
Thanks man. I can recompile your edits with no problem. I can't recompile once I add the Ghareeb smali files. I'll keep trying. Thanks again..
Click to expand...
Click to collapse
Try tickle my android. Chad suggested it to me and it worked. You can send me the file too and I'll have a look. Might not have a chance until Thursday to look at it but I think I know whats wrong its just explaining it drunk isn't too easy
talkingmonkeys said:
Try tickle my android. Chad suggested it to me and it worked. You can send me the file too and I'll have a look. Might not have a chance until Thursday to look at it but I think I know whats wrong its just explaining it drunk isn't too easy
Click to expand...
Click to collapse
Thanks man. I'll give Trickle my Android a shot later after work. If I can't manage, I'll send you the file. I really appreciate your help!

[App/Mod][Share]1070 Battery Mods!

All credit to @gharrington I'm just sharing this in hopes that some Dev on the Sprint S5 (specifically on MOAR ROM) will put it to good use!
You must follow the "how to" in the OP (involves decompiling/recompiling system UI apk), you CANNOT just install apk as is and expect it to work!
http://forum.xda-developers.com/showthread.php?t=2799958
http://forum.xda-developers.com/devdb/project/?id=4780#downloads
Ya I got it working on MOAR. Fairly easy, thanks for the info, awesome!
Joe0113 said:
All credit to @gharrington I'm just sharing this in hopes that some Dev on the Sprint S5 (specifically on MOAR ROM) will put it to good use!
You must follow the "how to" in the OP (involves decompiling/recompiling system UI apk), you CANNOT just install apk as is and expect it to work!
http://forum.xda-developers.com/showthread.php?t=2799958
http://forum.xda-developers.com/devdb/project/?id=4780#downloads
Click to expand...
Click to collapse
xSLAYERx said:
Ya I got it working on MOAR. Fairly easy, thanks for the info, awesome!
Click to expand...
Click to collapse
For real? Which version of MOAR? I got it working but it would reveet back to the stock battery every ten seconds so I gave up lol.
Sent from a Galaxy 5 light years away
I did it on MOAR v1.1 and just followed the instructions and changed this line:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingStart="3.0dip" />
And I changed it to:
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
Make sure you have the 3minit battery app installed before you copy over your newly compiled SystemUI.apk and all should be well, you will just need to to hide the MOAR battery icon in the MOAR Mod Control settings.
Joe0113 said:
For real? Which version of MOAR? I got it working but it would reveet back to the stock battery every ten seconds so I gave up lol.
Sent from a Galaxy 5 light years away
Click to expand...
Click to collapse
xSLAYERx said:
I did it on MOAR v1.1 and just followed the instructions and changed this line:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingStart="3.0dip" />
And I changed it to:
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
Make sure you have the 3minit battery app installed before you copy over your newly compiled SystemUI.apk and all should be well, you will just need to to hide the MOAR battery icon in the MOAR Mod Control settings.
Click to expand...
Click to collapse
Can you upload your modified systemui apk for me with the 3minit edits in it??
Sent from a Galaxy 5 light years away
Modding the systemui apk on stock odex NE5, getting force closes and a disappearing status bar.
Sent from my SM-G900P using Tapatalk

Categories

Resources