(09-12-2020, 08:19 PM)alex2019 escribió: Can you check also the circular battery in OneUI 2.5. It seems to always show -1 inside the circle instead of real battery charge value.
Thank you.
PS. Fixed it by 1 smali edit.
Yep, easy to fix. The changed battery controller callback.
In grx bat smali change
.method public onBatteryLevelChanged(IZZIII)V
By
.method public onBatteryLevelChanged(IZZIIII)V
And done
I will add rest of things during next week
Sent from my SM-G965F using Tapatalk
Responder
Recuento: 5 usuarios dicen Me Gusta a Grouxho por este post:5 usuarios dicen Gracias a Grouxho por este post • JavixKGD (01-23-2021), alex2019 (09-13-2020), GVM (09-13-2020), (09-13-2020), xuanhoa8687 (09-13-2020)
09-17-2020, 08:54 PM (Última modificación: 09-17-2020, 08:56 PM por Grouxho.)
(09-09-2020, 10:23 AM)xuanhoa8687 escribió:
(09-09-2020, 08:11 AM)Grouxho escribió:
(09-09-2020, 08:07 AM)Grouxho escribió:
(09-09-2020, 07:56 AM)xuanhoa8687 escribió:
(08-15-2020, 12:11 PM)Grouxho escribió: Status Bar Stock Views Colors Mod - Android Q - One UI 2.1. - 15/08/2020
No no. If you turn this mods off, it has only one floating color that is dark and light does not have a lightning charge icon.
When left as default, there is no lightning charge icon.
Hope you understand what I mean.
Ok, sorry, you were right, i did not see it. I was really busy this first week after vacations and till a while ago i could not have a look. I have just fixed it, it was simple, tomorrow i update this guide. We need either to re-create the drawable in some circumstances or to mod SecBatteryMeterDrawable. I have recreated the drawable in BatteryMeterView, it´s simpler.
Ok, sorry, you were right, i did not see it. I was really busy this first week after vacations and till a while ago i could not have a look. I have just fixed it, it was simple, tomorrow i update this guide. We need either to re-create the drawable in some circumstances or to mod SecBatteryMeterDrawable. I have recreated the drawable in BatteryMeterView, it´s simpler.
Thank you for your wonderful job.
Gửi từ SM-G988B của tôi bằng cách sử dụng Tapatalk
Responder
Recuento: 1 usuario dice Me Gusta a xuanhoa8687 por este post:1 usuario dice Gracias a xuanhoa8687 por este post • Grouxho (09-17-2020)
09-17-2020, 10:28 PM (Última modificación: 09-17-2020, 10:40 PM por Grouxho.)
(09-17-2020, 09:04 PM)xuanhoa8687 escribió:
(09-17-2020, 08:54 PM)Grouxho escribió: Ok, sorry, you were right, i did not see it. I was really busy this first week after vacations and till a while ago i could not have a look. I have just fixed it, it was simple, tomorrow i update this guide. We need either to re-create the drawable in some circumstances or to mod SecBatteryMeterDrawable. I have recreated the drawable in BatteryMeterView, it´s simpler.
Thank you for your wonderful job.
Gửi từ SM-G988B của tôi bằng cách sử dụng Tapatalk
Inside the attached rar you will find the new BatteryMeterView.smali. I have removed a call inside updatecolors method and i have added a method (to regenerate the drawable) and some lines to call it from updating colors methods. And secbatterymetterdrawable variable cannot be final. So, use stock smali and compare with this one.
Please, tell me if it works ok for you.
Responder
Recuento: 2 usuarios dicen Me Gusta a Grouxho por este post:2 usuarios dicen Gracias a Grouxho por este post • GVM (09-18-2020), xuanhoa8687 (09-18-2020)
(09-17-2020, 08:54 PM)Grouxho escribió: Ok, sorry, you were right, i did not see it. I was really busy this first week after vacations and till a while ago i could not have a look. I have just fixed it, it was simple, tomorrow i update this guide. We need either to re-create the drawable in some circumstances or to mod SecBatteryMeterDrawable. I have recreated the drawable in BatteryMeterView, it´s simpler.
Thank you for your wonderful job.
Gửi từ SM-G988B của tôi bằng cách sử dụng Tapatalk
Inside the attached rar you will find the new BatteryMeterView.smali. I have removed a call inside updatecolors method and i have added a method (to regenerate the drawable) and some lines to call it from updating colors methods. And secbatterymetterdrawable variable cannot be final. So, use stock smali and compare with this one.
Please, tell me if it works ok for you.
If you delete the data grxrc then it will work. But when the mod changes color on and off, it does not show the lightning charging icon. Is there any way you can set the default color for each mod. I think it's because it has the same color, doesn't show properly. Must be individually adjusted.
Gửi từ SM-G988B của tôi bằng cách sử dụng Tapatalk
Responder
Recuento: 1 usuario dice Me Gusta a xuanhoa8687 por este post:1 usuario dice Gracias a xuanhoa8687 por este post • GVM (09-18-2020)
(09-17-2020, 08:54 PM)Grouxho escribió: Ok, sorry, you were right, i did not see it. I was really busy this first week after vacations and till a while ago i could not have a look. I have just fixed it, it was simple, tomorrow i update this guide. We need either to re-create the drawable in some circumstances or to mod SecBatteryMeterDrawable. I have recreated the drawable in BatteryMeterView, it´s simpler.
Thank you for your wonderful job.
Gửi từ SM-G988B của tôi bằng cách sử dụng Tapatalk
Inside the attached rar you will find the new BatteryMeterView.smali. I have removed a call inside updatecolors method and i have added a method (to regenerate the drawable) and some lines to call it from updating colors methods. And secbatterymetterdrawable variable cannot be final. So, use stock smali and compare with this one.
Please, tell me if it works ok for you.
If you delete the data grxrc then it will work. But when the mod changes color on and off, it does not show the lightning charging icon. Is there any way you can set the default color for each mod. I think it's because it has the same color, doesn't show properly. Must be individually adjusted.
Gửi từ SM-G988B của tôi bằng cách sử dụng Tapatalk
Yes, there is a way, you can set individual colors in the preference. Then you need to change the pref default values and also the default string with default values in the grx smali in ui. You can see what i mean in the panel colors mod and others. However, this time and just for this default charging indicator color, i will allow the users to configure it.
Add an info pref and explain they have to change that color if they want to use custom colors. Or try to do what i say, it is essy.
In fact i added these batt colors because i was asked for it, it was not my idea, but...
So, the stock colors charging sybol is fixed. For custom colors...let the users to do it. Thanks for your warning.
Sent from my SM-G965F using Tapatalk
Responder
Recuento: 2 usuarios dicen Me Gusta a Grouxho por este post:2 usuarios dicen Gracias a Grouxho por este post • GVM (09-19-2020), xuanhoa8687 (09-18-2020)