Possible to mod the charging animation? - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Is it possible to mod the charging animation to show values in double digits like this? (skip to 6:25)
I guess it's complicated cause the animation is dynamic & calculated from the various charging metrics reported by the battery charging chip?

Related

[Q] Discrepancies in voltage-based battery level and system returned values.

I'm using the 1800 mAh aftermarket battery, but my voltage based and system returned values are ridiculously different. I think I've got lots of battery left,but the system shuts down when the system returned value shows zero, yet the voltage based may still show as high as 50%.
What's with the discrepancy? How do I fix it? I've run battery calibrators, but to no avail.
Thanks in advance.

Cpu temp & mA charging App

Does anybody know of an App that will Display Cpu use battery charge mA and temperature?
I have apps that do some but not all.
Thanks on advance.
temp+cpu v2
displays the temp, the speed the cpu is running and free ram, doesnt disaaly the ma tho
Battery monitor widget by 3c. Displays battery level, voltage, temperature in notifications bar.
It also has battery history, high temperature and voltage, full charge and charge complete alerts.
Perfect system monitor showed promise but does not work on my install
Did you try BMW ?
You need to download notifications separately.
Boy124 said:
Did you try BMW ?
You need to download notifications separately.
Click to expand...
Click to collapse
I keep seeing it but thought it was something to do with the car!
What info can it display?
Battery temp, battery level, ma, estimation.
---------- Post added at 06:48 AM ---------- Previous post was at 06:45 AM ----------
It can display temp, level, ma on notification bar. You do not need to pull it down.
I find BMW really useful for monitoring the battery drain, yet afair Note's chipset does not provide direct mA values, so what BMW does instead is estimate the current based on % of battery usage over time - in other words - those are not exact values, and updates mores frequent than 5 minutes are pointless and waste battery by itself
I am just wanting somthing that will tell me if the battery is still charging after it has reached 100% I had one instance where the battery got hot while full and sitting at Idle which is why I also wanted to see CPU on the battery graph

[Tutorial] [V20x] Disable / Adjust Thermal Protection for Slow AC Charge & Tegra 3

[Tutorial] [V20x] Disable / Adjust Thermal Protection for Slow AC Charge & Tegra 3
Part 1 - Disabling Thermal Protect during Charging that will result in Slow Charge (USB Current) issue on AC supply
Our LG 4X has an in built function to restrict heat build-up during AC charge, when the phone is already warm after intensive use.
Unrestricted heat build-up will potentially result in damaging chips.
But sometimes even when the use isn't highly intensive under cool envoirment factor the current is still restricted by this somewhat over-sensitive and unadjustable feature. Consequentially when user is using the phone for long duration apps (ie watching movie) while phone is under AC outlet charge battery will still run out, albeit at a slower pace.
Below is the steps to disable this function:
Dial 3845#*880# to enter hidden menu (do not press the green dial button!)
Navigate to 'Module Test'
Navigate to 'Charging Test'
Tick 'Unlimited temperature charging'
Exit Hidden Menu
Charge using AC outlet
If charging cable was already plugged in and in USB current, disconnect and reconnect to see result
Only works on V20x Jellybean ROMs.
Phone restart will return this function to its normal state.
Part 2 - Disable / adjust Tegra auto throttling for thermal protection that will result in game lags during high chip temperature
Besides protecting our devices by controlling heat from charging current, 4x HD also has an inbuilt mechanism to restrict overheating of the chip during intense 3D gaming or graphic heavy applications.
When the heat is detected to have reached a certain level, this mechanism automatically scales down the CPU to prevent anymore excessive heat from being produce. However, scaling down the CPU will also produce significant lag for the user application.
To adjust this function, user will have to follow the guide below:
To adjust this function, user will have to follow the guide below:
Device Requirement: Root, Root capable file browser
Navigate to directory /d/tegra_thermal
Open-for-edit temp_throttle. Set to user preference, typically above 65000
Save
Do the same for temp_throttle_skin
Save
You are now good to go
Settings will revert after phone reboot.
Thanks alekthefirst for his contribution here
USE THIS GUIDE ON YOUR OWN RISK AND DISCRETION. YOU MIGHT DAMAGE THE SILICONE CHIPS / YOUR SIM CARD / SD CARD AFTER PROLONGED USE UNDER HIGH TEMPERATURE CONDITIONS.​
Click to expand...
Click to collapse
I just changed it and it seems to be okay - I'll report back soon.
someth1ng said:
I just changed it and it seems to be okay - I'll report back soon.
Click to expand...
Click to collapse
i like to take screenshot that it works but how do i take screenshot of heat? lol?
This should show that my phone doesn't switch to USB current when the heat is high
Red = Temperature
White = Percentage
Green = Voltage
Botton yellow bar = charge status
White bar = display on
L2Deliver said:
Observed that Low Current warning did not appear even when phone is burning hot (i mean you can bake bacon on it).
Click to expand...
Click to collapse
So thanks for this hint, and bacon joke After all this is MultiPurpose device
is it possible to just increase the temperature ? i think the temperatur protection is very low . Because on v10h never had this prob...
V20B has significantly increased thermal protection activation temperature. To less aggressive user its presense now will hardly be felt.
updated for official V20 release
Do you guys think there's any way to set this, or the changes this implements (it must be changing something, probably in files), into a script or something that could be executed at will (or maybe even through a tool like Tasker)?
skryptus said:
Do you guys think there's any way to set this, or the changes this implements (it must be changing something, probably in files), into a script or something that could be executed at will (or maybe even through a tool like Tasker)?
Click to expand...
Click to collapse
on theory there's a file somewhere, but where is it?
The files for that are named temp_shutdown, temp_throttle and temp_throttle_skin found in /d/tegra_thermal, u can change the values, but next boot overrides. Someone could make a script for Script-Manager, which run after boot and set the values new, or sets high and low via widgets (Script-Manager can create widgts I think)...
U have to change the values to about 71000 or more, shutdown should be left as 90000 (setttings in V20a)
Bogeyof said:
The files for that are named temp_shutdown, temp_throttle and temp_throttle_skin found in /d/tegra_thermal, u can change the values, but next boot overrides. Someone could make a script for Script-Manager, which run after boot and set the values new, or sets high and low via widgets (Script-Manager can create widgts I think)...
U have to change the values to about 71000 or more, shutdown should be left as 90000 (setttings in V20a)
Click to expand...
Click to collapse
doesn't work on charging thermal protection. these settings are for tegra 3's thermal protection by controlling throttle when the heat becomes too high.
L2Deliver said:
doesn't work on charging thermal protection. these settings are for tegra 3's thermal protection by controlling throttle when the heat becomes too high.
Click to expand...
Click to collapse
I thought we talk about both, disable thermal protection of charging (done via hidden menu) and disable thermal protection (down throttling) on overheating, ur right, thats for more cpu power / less throttling...
Bogeyof said:
I thought we talk about both, disable thermal protection of charging (done via hidden menu) and disable thermal protection (down throttling) on overheating, ur right, thats for more cpu power / less throttling...
Click to expand...
Click to collapse
ah right, sorry i didn't catch that.
i can add this topic to first post. thanks
updated first post in tegra thermal protection.
i tested
I tested this no change at all as far as cpu mhz cpu still throttles to 1000mhz to one core when playing anything even the gba emulator it starts fine dual core 1400mhz then when it throttles to 10000mhz one core it lags madly after playing for 5 minutes i thought this would work.
edited thermal-throttle to 80000 i assume 80c
thermal skin to 55000 maybe 55c for outer layer of the phone so your skin won't burn.
L2Deliver said:
on theory there's a file somewhere, but where is it?
Click to expand...
Click to collapse
There are files for each group of two cores under
d\tegra_throtle
listed as
throtle_table0
throtle_table1
but i dont understand how they work
hope you can....!
good luck.......
As i am frustrated with this issue ( brightness falls to 87% and then to 70% after a 10 minutes video playback ) and i am not rooted can you guys confirm that the trick ( Part2) works ?
I ask this because i didn't want to root my phone and this procedure demands root.
ipred said:
As i am frustrated with this issue ( brightness falls to 87% and then to 70% after a 10 minutes video playback ) and i am not rooted can you guys confirm that the trick ( Part2) works ?
I ask this because i didn't want to root my phone and this procedure demands root.
Click to expand...
Click to collapse
for the tegra thermal adjustment you have to be rooted.
btw there's no other phone with easier and safer root method than 4x. and androids are meant to be rooted
L2Deliver said:
for the tegra thermal adjustment you have to be rooted.
btw there's no other phone with easier and safer root method than 4x. and androids are meant to be rooted
Click to expand...
Click to collapse
I rooted my phone, edited and saved the 2 files at 85000 each.During the procedure my temperature had already dropped to 87% due to high temperature and couldn't go up after the edit of the 2 files.Then i waited for phone to get colder and then i watched a 20 minutes youtube video on full screen and with 100% brightness.The brightness didn't fall !!!!
Thanks a lot for the guide !!!

[Q] CPU running at high clock most of the time

Updated section:
After clearing cache through recovery and doing a hard reset, the uAh has gone back to 3142000. Standby time seems good with the battery losing 7% overnight. It does charge quite quickly from 0-100 in about 2h. The previous heating issue remains with cpu monitors showing that the cpu jumps to high clock when I touch the screen. I don't see any change in which apps use the most battery with the screen taking up the most as before the problem started.
The heat appears to be what is draining the battery but I can't find any single app that causes it to ramp to max.
Pictures:
No-frills is set to stock settings to see how the phone handles the actions
2nd picture is when phone is idle
3rd picture is immediately after swiping through a few tabs and scrolling through some pages in the app which causes cpu clock and load to increase
Old sectionFor when battery uAh was low)
I've had this Z1 for about 11 months. I can only get around 2.5h on screen time with regular usage. The battery uAh was only 1848000 Recently it fell to the 1700s. Calibration appears to reduce the value further. The phone seems to heat up in about a minute or two no matter what app is running.
The phone is rooted on stock 4.4.2
I have tried updating to Lollipop before but received an error due to rooting, so I don't think anything changed.
bump
alantay11 said:
bump
Click to expand...
Click to collapse
sounds like it's time for you to replace your battery.
You may try to disable the "input boost frequency"
By default when you toch the screen, cpu frequency of two cores instantly jumps to around 1400 to preventing any lag but it seems to use more power and causing heat
I have disables this and since then I'm no longer have any heat issue and also the battery life is so much better now but you may exprience a little lag while scrolling on heavy web pages but thats all
Btw i'm on .157 and using Kernel Adiutor for cpu tweaks
You may disable this by the app mentioned above or by editing sys.somc.touch_perf_kick=1 from 1 to 0 in buid.prop or adding this line

[APP][root] pwm control - red charging led[Any OS KK-N]

Disclaimer:
Use at your own risk, might cause damage to led light or affect other led performance, or make the red laser burn your eyes
I have tested it on my m8_whl device for over 3 months and have seen no issues caused or damages so far (regards to temperature/battery drain/led functionality).
Description:
Simple app changes pwm_cofficient value of amber(red) led light from the range 0 (4 is minimum visible) to 255(maximum)
I made this app because of dim/dirty led charging light not visible enough (sometimes I get fooled by screen-on caused by discharge in charger even if its not connected properly in wall outlet)
More info:
- root is required to modify the value of pwm_coefficient
- effect takes place after charging light is reactivated by unplugging-plugging USB
- doesn't affect notifications/low-battery pulse light
- changed value is reset on reboot
- works on any rooted variant of HTC One M8 (tested on Sprint variant)
- works on all Android ROMs (tested KK, LP, MM, N)
if you dont want the app or want to add the code to init.d on startup:
Code:
echo X > /sys/class/leds/amber/pwm_coefficient
X value range: 0 (minimum) 255(maximum)
I also know this isn't the best way to modify led brightness but it works and doesn't require modifying kernels( and it took me more time to make this post than make the app)
Please let me know if there are other ways to modify led brightness and if possible blink(pulse) brightness
Credits:
- Everyone on xda who has helped me understand what is android
- Tasker (UI)

Categories

Resources