Theming battery indicator? - Sprint HTC EVO 4G LTE

I'm running Cm10 right now and I am doing some minor theming for myself. I am trying to get the battery indicator to change, but no matter where I replace the battery icons I'm still getting the solid blue after flashing over. Everything else is changing as expected, where are the files that I should be changing in framework-res?

gdrocks said:
I'm running Cm10 right now and I am doing some minor theming for myself. I am trying to get the battery indicator to change, but no matter where I replace the battery icons I'm still getting the solid blue after flashing over. Everything else is changing as expected, where are the files that I should be changing in framework-res?
Click to expand...
Click to collapse
Someone correct me if I'm wrong, but I believe for the EVO LTE, the battery icons are in the SystemUI apk.
Sent from my HTC EVO 4G LTE

DNarsingh said:
Someone correct me if I'm wrong, but I believe for the EVO LTE, the battery icons are in the SystemUI apk.
Sent from my HTC EVO 4G LTE
Click to expand...
Click to collapse
you are correct

I have problems with the battery indicator in CM10 nightly on my SGS2 i9100g as well.
The problem is when the phone is off and I connect the charger, it will only show me the battery and a loading symbol, but no progress (green part).
Any ideas if this will be fixed anytime soon? I'd really like to use CM10 but I can't because of this issue.

Thanks a ton Dnarsingh and dased14! I didn't even look for SystemUI in /apps because I thought it was only for Sense. Now I just need to figure out why I can't change the icons for the Phone and Messaging apps :/
@diegoviola that seems like a fairly easy bug to fix; if it isn't fixed in the nightlies I would suggest the following (Only if you know what you are doing...and have nandroids)
1) Decompile the framework-res.apk
2) Goto res/drawable
3) Open stat_sys_battery_charge.xml
There should be a list here with items pointing to the .png and a max level for when they should kick in.
For an example here is the contents of my xml from Deck's CM10
Code:
<?xml version="1.0" encoding="utf-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_charge_anim0" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim15" android:maxLevel="15" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim28" android:maxLevel="35" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim43" android:maxLevel="49" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim57" android:maxLevel="60" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim71" android:maxLevel="75" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim85" android:maxLevel="90" />
<item android:drawable="@drawable/stat_sys_battery_charge_anim100" android:maxLevel="100" />
</level-list>

@gdrocks: Please let me know when this is fixed in the nightly. Thanks.

This issue doesn't exist in the CM10 nightly for the HTC Evo 4g LTE. I don't know what's going on with SGS2 phones, never had one.

gdrocks said:
This issue doesn't exist in the CM10 nightly for the HTC Evo 4g LTE. I don't know what's going on with SGS2 phones, never had one.
Click to expand...
Click to collapse
Thanks for letting me know. Do you know who is the maintainer of SGS2 builds, or if he could somewhat test this? I wonder if the maintainer of the SGS2 (i9100g) builds is aware of this problem.
Should I report it to a bug tracker?
Thanks.

@gdrocks
As I mentioned in your other thread you can change the battery icons with theme chooser themes. You can change almost everything with them. Start with a free theme you can find on the market or on xda and see how they are put together. Then start changing the images in the theme and test away until you get what you want.
Sent from my EVO using Tapatalk 2

Related

Add Wimax toggle to Power Widget

I have been helping Sinistertensai with his ShenduOS port for the HTC EVO 4G. I got Wimax to work and was wanting to see if anyone knows how to add a Wimax toggle to the power widget dropdown from the status bar. The port is CM7 based. In the SystemUI.apk I see there is WimaxButton.smali. I have tried adding the ids for it in public.xml and creating pngs for the toggle. I get no errors on compile but I get reboots or force closes when I try to bring up the power widget dropdown. I have very limited experience with editing smail code. I have also tried copying over the resources, classes, and xmls to the original apk with the same results. I have researched how to edit smali but I could just be doing it wrong or leaving something out. This has been driving me to madness. If anyone could help out that would be amazing!
Is there a reason you can't rebuild from source with Wimax enabled?
Sent from my SCH-R760 using Tapatalk 2
The ShenduOS SystemUI has been changed drastically and I cannot find the source code. That would require me to completely redo what Shendu has done and is well beyond my capabilities. The functionality for the wimax is there, I just need to find a way to add the toggle button. The actual widget has a wimax toggle which works, just not the one in the status bar.
Sent from my EVO using xda premium
I have only done smali a few times. How I did it was for example get a cm build going. Remove all wimax toggle related noti widget elements. Compile. Now you have a systemui base. Now build with the wimax toggle. You have a wimax toggle systemui.
Then use a program like beyond compare and after apktooling both systemui in their own folders. Compare the smali differences. Should get you pretty close. Of course there will be some trial and error if the systemui is different then that of cm.
Sent from my Galaxy Nexus using xda premium
The code is quite different that the CM7 code. I have found what needs to be edited, it just results in reboots upon clicking on the status bar to open the powerwidget dropdown. Here are the steps I take:
Decompile SystemUI.apk
In PowerWidget.smali -> replace both instances of toggleNetworkMode with toggleWimax
In WimaxButton.smali -> write down ids from method updateState (0x7f0200ca is off, 0x7f0200cb is on)
In public.xml -> Removed bad APKTOOL_DUMMYs for above ids. Add the following lines:
<public type="drawable" name="stat_wimax_off" id="0x7f0200ca" />
<public type="drawable" name="stat_wimax_on" id="0x7f0200cb" />
In res/drawable-hdpi -> Created on/off images and placed them there
In drawables.xml -> Removed bad APKTOOL_DUMMYs for above ids that were set to false. Add the following lines:
<item type="drawable" name="stat_wimax_off">true</item>
<item type="drawable" name="stat_wimax_on">true</item>
Recompiled
Pushed to phone with adb and cleared dalvik cache
Reboot
I have also tried pushing the changes and overwriting the ones in the original using Archive Manager(Ubuntu) with the same issues. If someone could point out what I am doing wrong that would help alot! I could have broken my tools(Android Utility/apktool). Feel free to give it a shot if you want. Once I/someone gets it right I will write up a tutorial.

10 levels battery Status

I'm currently working on my idea of having 10 levels battery status instead of 100%. It'll work as 9s, 8s, 7s etc. 100% of battery levels divided into 10 pieces. I don't like 100% battery percentage. It's like a torture to me. I don't have a problem with who likes it or made it, it's your choice. No issues. But I need help with this. I don't know how to edit SystemUI and make these changes. Anyone who's interested in helping me, please come forward. I'll give you full credit.
http://forum.xda-developers.com/showpost.php?p=31158863&postcount=92
This is that SystemUI.
And finally thanks to vr5411
Vtrendzzy said:
I'm currently working on my idea of having 10 levels battery status instead of 100%. It'll work as 9s, 8s, 7s etc. 100% of battery levels divided into 10 pieces. I don't like 100% battery percentage. It's like a torture to me. I don't have a problem with who likes it or made it, it's your choice. No issues. But I need help with this. I don't know how to edit SystemUI and make these changes. Anyone who's interested in helping me, please come forward. I'll give you full credit.
http://forum.xda-developers.com/showpost.php?p=31158863&postcount=92
This is that SystemUI.
And finally thanks to vr5411
Click to expand...
Click to collapse
in that SystemUI I believe it is a matter of just replacing the right png's
if I give you the pictures to edit would you be able to?
EDIT: when you say 9s 8s etc
do you mean you want it to be 10 then 20 the 30?
or what?
Me‎ said:
in that SystemUI I believe it is a matter of just replacing the right png's
if I give you the pictures to edit would you be able to?
EDIT: when you say 9s 8s etc
do you mean you want it to be 10 then 20 the 30?
or what?
Click to expand...
Click to collapse
It's also editing some xml files. Specifically strings
Sent from my ST25i using xda app-developers app
Andrewasth said:
It's also editing some xml files. Specifically strings
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
not 100% necessary
if OP explains what he means by 9s 8s etc I could do it
That's easy. No need smali editing. But I don't have time for this. Sorry. But, others can help you too
Sent by typing on my Xperia Sola with my fingers using xda premium
I think you should see and read http://forum.xda-developers.com/showthread.php?t=1434061 <<< this!
Enjoy!
p.s.-I changed my battery style with that tool and "evikal" style. :angel:
/heavy modded stock ics inside white sola/
Decompile SystemUI.apk with apktool. Then go to res/drawable folder.
The files you need to edit are stat_sys_battery.xml & stat_sys_battery_charging.xml
Just open them with Notepad++ and add the required Battery Levels you need in the format of each file.
eg : (in 1st file)
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
etc..
After saving both, you need to add each image, stat_sys_battery_10.etc in res/drawable-hdpi or res/drawable-xhdpi folders. (If you want to use for Xperia P, xhdpi folder is must)
Finally, go to res/values/public.xml. The ids like '0x7f020041' are hexadecimal values. (Read Wikipedia if you have doubts) Find the largest hexadecimal id for type="drawable" then add new lines like this underneath :
<public type="drawable" name="stat_sys_battery_30" id="0x7f020042" />
The name should be the same filename you mentioned in the res/drawable xmls and also the files in res/drawable-hdpi folder. And the id's should be in increasing order. If the highest id you found for drawable is 0x7f020042, you need to add in order 0x7f020043, 0x7f020044,.... 0x7f02004a, 0x7f02004b... etc
If you have any doubts, let me know Hapy Modding !
Cheers
Min3r said:
Decompile SystemUI.apk with apktool. Then go to res/drawable folder.
The files you need to edit are stat_sys_battery.xml & stat_sys_battery_charging.xml
Just open them with Notepad++ and add the required Battery Levels you need in the format of each file.
eg : (in 1st file)
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
etc..
After saving both, you need to add each image, stat_sys_battery_10.etc in res/drawable-hdpi or res/drawable-xhdpi folders. (If you want to use for Xperia P, xhdpi folder is must)
Finally, go to res/values/public.xml. The ids like '0x7f020041' are hexadecimal values. (Read Wikipedia if you have doubts) Find the largest hexadecimal id for type="drawable" then add new lines like this underneath :
<public type="drawable" name="stat_sys_battery_30" id="0x7f020042" />
The name should be the same filename you mentioned in the res/drawable xmls and also the files in res/drawable-hdpi folder. And the id's should be in increasing order. If the highest id you found for drawable is 0x7f020042, you need to add in order 0x7f020043, 0x7f020044,.... 0x7f02004a, 0x7f02004b... etc
If you have any doubts, let me know Hapy Modding !
Cheers
Click to expand...
Click to collapse
well this mod includes 100 step battery so all he really needs is to delete lines from the files you mentioned
if I understood what he wanted correctly
No. I mean 10, 9, 8, 7 like this. Suppose the current battery is 95% then it should show 9 only.
What you said is true but you need to delete all the other lines, then the corresponding files & finally edit the public.xml to remove the extra lines.. And trust me, putting in the correct ids in Public.xml is annoying as hell
@Vtrendzzy, just make sure that the image you provide for each case shows only the 9 or 8
No problem mate. You can edit it whenever you've time and release it if you like my idea.
Yes, I deleted those extra lines but when I'm trying to recompile it, it's not working. And honestly, I'm new to this modding subject. I just have this idea but don't have knowledge to apply to it.
OMG! I'll have to take a class for that. Besides i'm a lil busy with my studies. Can you do it? Take full credit. I would've done it but I don't have it's basic knowledge even
Vtrendzzy said:
OMG! I'll have to take a class for that. Besides i'm a lil busy with my studies. Can you do it? Take full credit. I would've done it but I don't have it's basic knowledge even
Click to expand...
Click to collapse
easiest way would be to replace all 70-79 with same pic that says 7
80-89 with same pic that says 8 and so on
without touching any of the xml files
what do you want it to say between 0-9?
Okay I'll try it today. Between 0-9, I call it 1. See the circle around these digits will act as 100% but these digits will change when the voltage drops by 10%. So when it is showing 1, the critical battery level will be shown in red by the circle.
Vtrendzzy said:
Okay I'll try it today. Between 0-9, I call it 1. See the circle around these digits will act as 100% but these digits will change when the voltage drops by 10%. So when it is showing 1, the critical battery level will be shown in red by the circle.
Click to expand...
Click to collapse
I see
ok so 0-9 is 1
10-19 also 1 (?)
20-29 is 2 (?)
...
90-99 is 9 (?)
100 is 10 (?)
Oh I think that's a bug. 0-10 = 1, 11-20 = 2, 21-30 = 3 .... 91-100 = 10 like this.

EQS and recents Mod for 4.2.2 sense 5

OK heres a mod to add horizontal and vertical quicksettings i also added all 21 quicksettings to it, and it is easy to edit them to what you want ill post directions bellow
find these edits in the custimize/ACC/default.xml in the zip i post
NOS_EQS_mod
<app name="SystemUI">
<item type="boolean" name="data_icon_h3l_d_enabled">false</item>
<item type="boolean" name="data_icon_t3s_show_h_for_3g">false</item>
<item type="boolean" name="felica_icon_enabled">false</item>
<item type="boolean" name="isHtcStyleRecentApp">true</item>
<item type="boolean" name="location_service_icon_enabled">false</item>
<item type="integer-array" name="quick_setting_items">
<int>0</int>
<int>1</int>
<int>2</int>
<int>3</int>
<int>4</int>
<int>5</int>
<int>6</int>
<int>7</int>
<int>8</int>
<int>9</int>
<int>10</int>
<int>11</int>
<int>12</int>
<int>13</int>
<int>14</int>
<int>15</int>
<int>16</int>
<int>17</int>
<int>18</int>
<int>19</int>
<int>20</int>
<int>21</int>
</item>
<item type="integer" name="signal_icon_level_cdma">5</item>
<item type="integer" name="signal_icon_level_gsm">5</item>
<item type="boolean" name="support_HtcStyleRecentApp">true</item>
<item type="boolean" name="support_minor_quicksettings">true</item>
</app>
There are 21 quick settings for vertical you can rearrange or move any that you want they are in order from 1 to 21 starting with contact pic to apn settings
so lets say you want move GPS up to the 3 setting right now its 13 you modify like the example here
<app name="SystemUI">
<item type="boolean" name="data_icon_h3l_d_enabled">false</item>
<item type="boolean" name="data_icon_t3s_show_h_for_3g">false</item>
<item type="boolean" name="felica_icon_enabled">false</item>
<item type="boolean" name="isHtcStyleRecentApp">true</item>
<item type="boolean" name="location_service_icon_enabled">false</item>
<item type="integer-array" name="quick_setting_items">
<int>0</int>
<int>1</int>
<int>2</int>
<int>13</int>
<int>4</int>
<int>5</int>
<int>6</int>
<int>7</int>
<int>8</int>
<int>9</int>
<int>10</int>
<int>11</int>
<int>12</int>
<int>3</int>
<int>14</int>
<int>15</int>
<int>16</int>
<int>17</int>
<int>18</int>
<int>19</int>
<int>20</int>
<int>21</int>
</item>
<item type="integer" name="signal_icon_level_cdma">5</item>
<item type="integer" name="signal_icon_level_gsm">5</item>
<item type="boolean" name="support_HtcStyleRecentApp">true</item>
<item type="boolean" name="support_minor_quicksettings">true</item>
</app>
whatever ones you dont want just remove
another mod you can do here is Stock JB recents like this example here
<app name="SystemUI">
<item type="boolean" name="data_icon_h3l_d_enabled">false</item>
<item type="boolean" name="data_icon_t3s_show_h_for_3g">false</item>
<item type="boolean" name="felica_icon_enabled">false</item>
<item type="boolean" name="isHtcStyleRecentApp">false</item>
<item type="boolean" name="location_service_icon_enabled">false</item>
<item type="integer-array" name="quick_setting_items">
<int>0</int>
<int>1</int>
<int>2</int>
<int>3</int>
<int>4</int>
<int>5</int>
<int>6</int>
<int>7</int>
<int>8</int>
<int>9</int>
<int>10</int>
<int>11</int>
<int>12</int>
<int>13</int>
<int>14</int>
<int>15</int>
<int>16</int>
<int>17</int>
<int>18</int>
<int>19</int>
<int>20</int>
<int>21</int>
</item>
<item type="integer" name="signal_icon_level_cdma">5</item>
<item type="integer" name="signal_icon_level_gsm">5</item>
<item type="boolean" name="support_HtcStyleRecentApp">false</item>
<item type="boolean" name="support_minor_quicksettings">true</item>
</app>
remove horizontal settings like this
<app name="SystemUI">
<item type="boolean" name="data_icon_h3l_d_enabled">false</item>
<item type="boolean" name="data_icon_t3s_show_h_for_3g">false</item>
<item type="boolean" name="felica_icon_enabled">false</item>
<item type="boolean" name="isHtcStyleRecentApp">true</item>
<item type="boolean" name="location_service_icon_enabled">false</item>
<item type="integer-array" name="quick_setting_items">
<int>0</int>
<int>1</int>
<int>2</int>
<int>3</int>
<int>4</int>
<int>5</int>
<int>6</int>
<int>7</int>
<int>8</int>
<int>9</int>
<int>10</int>
<int>11</int>
<int>12</int>
<int>13</int>
<int>14</int>
<int>15</int>
<int>16</int>
<int>17</int>
<int>18</int>
<int>19</int>
<int>20</int>
<int>21</int>
</item>
<item type="integer" name="signal_icon_level_cdma">5</item>
<item type="integer" name="signal_icon_level_gsm">5</item>
<item type="boolean" name="support_HtcStyleRecentApp">true</item>
<item type="boolean" name="support_minor_quicksettings">false</item>
</app>
theres more mods that can be done with this file but i figured these would be the most popular... Ill add more as i find them
Quick settings options
Code:
<item type="integer-array" name="quick_setting_items">
<int>0</int> <!-- CONTACT CARD -->
<int>8</int> <!-- MOBILE DATA-->
<int>3</int> <!-- WIFI -->
<int>4</int> <!-- BLUETOOTH -->
<int>12</int> <!-- GPS -->
<int>5</int> <!-- AIRPLANE MODE-->
<int>11</int> <!-- SCREEN SHOT -->
<int>15</int> <!-- AUTO SYNC-->
<int>1</int> <!-- BRIGHTNESS -->
<int>7</int> <!-- ROTATION -->
<int>6</int> <!-- POWER SAVER-->
<int>2</int> <!-- SETTINGS -->
<int>10</int> <!-- WIFI HOTSPOT-->
<int>9</int> <!-- SOUND PROFILE-->
<int>18</int> <!-- RING TONE-->
<int>19</int> <!-- TIMEOUT -->
<int>14</int> <!-- MEDIA OUTPUT -->
<int>17</int> <!-- MUSIC -->
<int>13</int> <!-- ROAMING -->
<int>16</int> <!-- ROAMING SETTING-->
<int>20</int> <!-- APN -->
</item>
<item type="integer" name="signal_icon_level_cdma">6</item> <!-- Number for signal bars on the status bar -->
Here's a list of what each EQS integer represents:
Code:
0 accounts
1 brightness
2 settings
3 wifi
4 BT
5 airplane mode
6 powersaver
7 auto rotate
8 mobile data
9 sound profile
10 wifi hp
11 screenshot
12 gps
13 roaming
14 media output
15 auto sync
16 network selector [B](doesn't work)[/B]
17 music channel [B](doesn't work)[/B]
18 ringtone
19 screen timeout
20 APN [B](doesn't work)[/B]
If you are using v3.0.3 or higher of NOS M7 don't use the file posted in the OP, as the Verizon One rebase brings a lot of changes to the xml. Just edit the existing default.xml already on the phone. Use a file explorer with root access and navigate to /system/customize/ACC/ and you will see the xml. Long press the file and open with text editor. You can also rearrange these as newtoroot has shown in the OP. Save the changes and reboot.
Edit: damn, didn't even see that post above me. Lol. Oh well.
zhp pilot said:
Here's a list of what each EQS integer represents:
Code:
<int>0</int> accounts
<int>1</int> brightness
<int>2</int> settings
<int>3</int> wifi
<int>4</int> BT
<int>5</int> airplane mode
<int>6</int> powersaver [B](doesn't work on 3.0.3)[/B]
<int>7</int> auto rotate
<int>8</int> mobile data
<int>9</int> sound profile
<int>10</int> wifi hp
<int>11</int> screenshot
<int>12</int> gps
<int>13</int> roaming
<int>14</int> media output
<int>15</int> auto sync
<int>16</int> network selector [B](doesn't work)[/B]
<int>17</int> music channel [B](doesn't work)[/B]
<int>18</int> ringtone
<int>19</int> screen timeout
<int>20</int> APN [B](doesn't work)[/B]
If you are using v3.0.3 or higher of NOS M7 don't use the file posted in the OP, as the Verizon One rebase brings a lot of changes to the xml. Just edit the existing default.xml already on the phone. Use a file explorer with root access and navigate to /system/customize/ACC/ and you will see the xml. Long press the file and open with text editor. You can also rearrange these as newtoroot has shown in the OP. Save the changes and reboot.
I've indicated which ones don't work as of this post. The powersaver EQS will appear on 3.0.3 however Verizon removed that feature from the One so turning it on won't do anything.
Edit: damn, didn't even see that post above me. Lol. Oh well.
Click to expand...
Click to collapse
Is it possible to edit the file before flashing? I'm on 3.0.2 but skipping .3 and going straight to .4.
xhunter187 said:
Is it possible to edit the file before flashing? I'm on 3.0.2 but skipping .3 and going straight to .4.
Click to expand...
Click to collapse
Yes download 3.0.4 pull the file out of the rom using 7zip edit it and add it back then flash... Don't use the one in this mod it's for the older base
Sent from my HTC6435LVW using xda app-developers app
xhunter187 said:
Is it possible to edit the file before flashing? I'm on 3.0.2 but skipping .3 and going straight to .4.
Click to expand...
Click to collapse
You can do that. When you replace the xml in the zip it will break the signature so make sure you have signature verification turned off in recovery. Or you can resign the package yourself.
Newt just posted the 3.0.5 patch, which has a new default.xml file so that's the one you will want to change.
newtoroot said:
Yes download 3.0.4 pull the file out of the rom using 7zip edit it and add it back then flash... Don't use the one in this mod it's for the older base
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
zhp pilot said:
You can do that. When you replace the xml in the zip it will break the signature so make sure you have signature verification turned off in recovery. Or you can resign the package yourself.
Newt just posted the 3.0.5 patch, which has a new default.xml file so that's the one you will want to change.
Click to expand...
Click to collapse
Awesome! Thanks guys!
Sent from my HTC6435LVW using XDA Premium 4 mobile app
zhp pilot said:
You can do that. When you replace the xml in the zip it will break the signature so make sure you have signature verification turned off in recovery. Or you can resign the package yourself.
Newt just posted the 3.0.5 patch, which has a new default.xml file so that's the one you will want to change.
Click to expand...
Click to collapse
i noticed .5 has the flashlight added. is there an eqs number for this
termin8tor22 said:
i noticed .5 has the flashlight added. is there an eqs number for this
Click to expand...
Click to collapse
Unfortunately there is not. This is something a smali junkie would have to implement.
For gsm, do we have to follow the op? I'm on 3.0. Just edit the xml in op and flash it?
Sent from my HTC6435LVW using xda premium
Hey guys. I'm trying to edit the XML but while it let me delete the ones I didn't want its not saving the changes when I rearrange them. Any ideas?
Lykarsis said:
Hey guys. I'm trying to edit the XML but while it let me delete the ones I didn't want its not saving the changes when I rearrange them. Any ideas?
Click to expand...
Click to collapse
What are you using to edit?
zhp pilot said:
What are you using to edit?
Click to expand...
Click to collapse
The root browser in ROM toolbox pro
Lykarsis said:
The root browser in ROM toolbox pro
Click to expand...
Click to collapse
I don't use rom toolbox but I downloaded it to see. I opened the xml with the RB text editor option. After making the changes I hit save in the upper right corner and restarted the phone. All went as expected.
zhp pilot said:
I don't use rom toolbox but I downloaded it to see. I opened the xml with the RB text editor option. After making the changes I hit save in the upper right corner and restarted the phone. All went as expected.
Click to expand...
Click to collapse
I got it all working, just had to hit save like 12 times.
Can anyone tell me how to make the horizontal eqs scrollable? I enabled them by changing the false to true but only have the first five available to use since I can't scroll them.
XDA Moderator
E.Cadro said:
Can anyone tell me how to make the horizontal eqs scrollable? I enabled them by changing the false to true but only have the first five available to use since I can't scroll them.
XDA Moderator
Click to expand...
Click to collapse
I haven't looked into making them scroll yet so far only those 5 are available
Sent from my HTC6500LVW using xda app-developers app
For: (Rom){Sense5 4.2.2} Stock+ *9.1.2013
[MOD] sense5_v1_EQS_mod:
https://www.dropbox.com/s/7ut0frzcdxybvyb/sense5_v1_EQS_mod.zip
Added a few more tiles and added the following 5 minor quick settings:
Settings
WiFi
Brightness
Bluetooth
GPS
Just flash zip in recovery!
ScreenShots at HTC Share
Should work on any Rom based on joelz's m7 rom (vzw one/m7u)
Please Add to tweak section in opening post and upload to own file share if you want.
Enjoy
Es text editor won't save changes, root explorer is on. Ideas?
Sent from my HTC6435LVW using Tapatalk 2
mcsplatt said:
Es text editor won't save changes, root explorer is on. Ideas?
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
Yeah. Install Xposed framework and then the latest Sense 5 toolbox

Statusbar gps icons/images location?

As the title says, i wish to know where are these 2 gps icons (the blue satellite is in systemui, i mean the other 2 green ones).
Searched and decompiled everywhere but i couldn't find them.
SS follow attached, waiting for your amswers...
Thanks
Sent from Hacker's U via XDA app
hackerpower said:
As the title says, i wish to know where are these 2 gps icons (the blue satellite is in systemui, i mean the other 2 green ones).
Searched and decompiled everywhere but i couldn't find them.
SS follow attached, waiting for your amswers...
Thanks
Click to expand...
Click to collapse
Are you thinking about this icon?
Its " stat_sys_battery_charge_anim3" from \res\drawable-hdpi in framework-res.apk
No, that's a battery icon.
I'm searching for the icon that alternates with the satellite flashing when it's trying to lock the gps and for the icon that appears when the gps gets that lock. 2 icons.
Sent from Hacker's U via XDA app
Yes, i know that the icon i gave you its for battery, but the "icon that alternates with the satellite flashing when it's trying to lock the gps... " in your screenshot its the icon for battery , and that's the wrong icon, it should be another one
edit:
I think that your SystemUI point's to a wrong icon from the framework, its not a framework bug, its SystemUI bug, i had that problem so..
pirej said:
Yes, i know that the icon i gave you its for battery, but the "icon that alternates with the satellite flashing when it's trying to lock the gps... " in your screenshot its the icon for battery , and that's the wrong icon, it should be another one
edit:
I think that your SystemUI point's to a wrong icon from the framework, its not a framework bug, its SystemUI bug, i had that problem so..
Click to expand...
Click to collapse
But the untouched stock rom showed the same icons...
Can you post SS of your gps icons flashing and locked?
Thanks
My phone is little... not feeling well
I flashed someone's rom, and after factory reset.. boot-loop...so, im thinking what to do, what ftf to flash.. e.t.c.
But, if you decompile your SystemUI, and go to "SystemUI.apk\res\drawable\stat_sys_gps_acquiring_anim.xml " you should see the error
It should be something like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_gps_on" />
</animation-list>
And not like the one below or similar..
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_data_wimax_signal_disconnected" />
</animation-list
When i wake up my phone ill make screenshots, but you can try my mod with toggles and framework, or just the toggles(SystemUI), its for stock xperia u b.1.100 , and i know that i had no icon bugs for gps or any other icon bug.
pirej said:
My phone is little... not feeling well
I flashed someone's rom, and after factory reset.. boot-loop...so, im thinking what to do, what ftf to flash.. e.t.c.
But, if you decompile your SystemUI, and go to "SystemUI.apk\res\drawable\stat_sys_gps_acquiring_anim.xml " you should see the error
It should be something like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_gps_on" />
</animation-list>
And not like the one below or similar..
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_data_wimax_signal_disconnected" />
</animation-list
When i wake up my phone ill make screenshots, but you can try my mod with toggles and framework, or just the toggles(SystemUI), its for stock xperia u b.1.100 , and i know that i had no icon bugs for gps or any other icon bug.
Click to expand...
Click to collapse
You're right! This is what i have:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_gps_acquiring" />
<item android:duration="500" android:drawable="@*android:drawable/stat_sys_battery_charge_anim2" />
</animation-list>
I was using fared xtreme moded systemui, he made that mistake, thanks pirej
No problem, glad to help.
I have a working phone now
This are screenshots of gps search and lock
Pirej my friend, yet another problem.
Now when the gps is aquiring a satellite the right icons flash alternatively, but when it gets a lock it changes to that battery icon.
Isn't there another. Xml that has to be edited?
Thanks in advance
Sent from Hacker's U via XDA app
Code:
Isn't there another. Xml that has to be edited?
Probably there is, but.. ill have to look for it
Again, you can use my moded SystemUI and Framework.. just for testing purposes, the 2 of them are 100 compatible and without icon bugs.
I tried my SystemUI (bug-less for b.1.100) on ics b.1.10 STOCK, and it had wrong gps icons, so.. it may have something to do with your framework too
I dont have too much free time this day's, but if you give me your Framework and SystemUI maybe i can do something.
pirej said:
Code:
Isn't there another. Xml that has to be edited?
Probably there is, but.. ill have to look for it
Again, you can use my moded SystemUI and Framework.. just for testing purposes, the 2 of them are 100 compatible and without icon bugs.
I tried my SystemUI (bug-less for b.1.100) on ics b.1.10 STOCK, and it had wrong gps icons, so.. it may have something to do with your framework too
I dont have too much free time this day's, but if you give me your Framework and SystemUI maybe i can do something.
Click to expand...
Click to collapse
Here you go...
https://mega.co.nz/#!h95iyD4D!WGCy0BzzZRaAGxOGb25DuXq7iUEn9DhO5pgB0BsHYT8
Sorry, i cant find the reason for the wrong icon showing..
Strange...no clue?
Sent from Hacker's U via XDA app
No problem, already fixed it!
Thanks for everything pirej :thumbup:
Sent from Hacker's U via XDA app
hackerpower said:
No problem, already fixed it!
Thanks for everything pirej :thumbup:
Sent from Hacker's U via XDA app
Click to expand...
Click to collapse
Great, could you tell me how you fix it ?
Flashed latest fared xtreme tron statusbar and moded from there.
I was using an old version because of how it looked.
Sent from Hacker's U via XDA app

[How-to] Maximum StatusBar Brightness 4.4.2

[How-to] Maximum StatusBar Brightness 4.4.2
This guide is based on the KK 4.4.2 Galaxy S5 builds.
I noticed that Samsung always make the statusbar notification areas a bit dim. Probably to help with battery conservation.
This requires decompiling SystemUI.apk.
SystemUI/res/values/dimens.xml edit
Code:
Change these three lines
New values are in BLUE
<item type="dimen" name="status_bar_icon_drawing_alpha">[COLOR="Blue"]100.0%[/COLOR]</item>
<item type="dimen" name="system_icon_area_alpha">[COLOR="Blue"]1.0[/COLOR]</item>
<item type="dimen" name="notification_icon_area_alpha">[COLOR="Blue"]1.0[/COLOR]</item>
Note:
Screenshots are best viewed from a PC so you can rapidly swap images to see the difference.
Nice.
Thanks
Weird. I have no values/dimens.xml file. Using to rootexplorer.
cAase said:
Weird. I have no values/dimens.xml file. Using to rootexplorer.
Click to expand...
Click to collapse
As stated in the OP, this requires being able to decompile the system file SystemUI.apk to make the edits.
This thread is now part of the GALAXY S5 UNIFIED MODS THREAD - GUIDES & LINKS. Check it out when you have time.
Where i can find your teme for status bar ?.
Thanks
Great mod tdunham thank you very much for this tutorial. Working on my S3 using your old method found here. This may be the lazy way but it worked a lot easier for me to just make vrtheme flashables for this instead of doing a full release.
The reason they do this i think is not to save battery but to stop screen burn in of the statusbar icons. Doesnt matter on roms that have changeable icons or colors i suppose but doing this on a standard systemui with white icons may increase the chance of burn in.
I may be wrong but thought it worth mentioning
Sent from my SM-G900F using Tapatalk

Categories

Resources