yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] korom42:
[MENTION=5312549]sarp41[/MENTION]

Thanks for keeping with me here and being patient .. actually uploaded v2_fixed again this time based on v1.7 :)

Please note that this does not apply to gaming, heavy camera use, etc. Anything that is an automatic battery killer in and of itself. There's nothing that can be done about anything that forces the phone to utilize its maximum resources all the time... check tips/extras from second post for how to maximize your battery life using this mod
[Xperia Z5 Android Development] whalesplaho:
will test tha new version & see cos tha previous v2 fixed doesnt allow deep sleep.

thanks brov...
[Xperia Z5 Android Development] devilmaycry2020:
i dont know it seem newest version slow down accessing internet. chrome browser very lag.
[Xperia Z5 Android Development] whalesplaho:
Now fone deep sleep much better but seems it cause sudden reboots.... But will test more!
[Xperia Z5 Android Development] whalesplaho:
Yeap.... Phone reboots!!!
[Xperia Z5 Android Development] abhijiths362:
does it improve anything?? please tell me i am a good viewer of youtube...
[Xperia Z5 Android Development] whalesplaho:
Read tha introduction and try den yhu ll know brov.....
[Xperia Z5 Android Development] whalesplaho:
Phone deep well now and seems improvement in battery life... Using tha GlassFish1.2 governor profile in EXKM also.... Thanks man! :good:
[Xperia Z5 Android Development] plusminus_:
Hi again!

I'm not sure if this is the best place to ask, but I wanted to know what the phone idle % is like on everyone's phones, for those of us on Nougat.

'Phone idle' is always the second highest thing in Battery Usage for me (screen is first), and it seems to fluctuate between 23% and 29% over the duration of a full discharge, and I really have no idea what I can do to reduce this. I had hoped the VM tweaks in LXT_misc would help, I've tried different values for the VFS cache pressure and swappiness but still no change.

Is this just something I need to get used to with Nougat? (I updated from MM a few weeks ago :p) Losing a quarter of my battery when my phone is 'idle' seems like a lot...

Could it be a kernel issue? I'm still on stock, so some of the tweaks wouldn't work for me!

Thanks,

+-

edit: Tried dropping the swappiness further (to 20!) and phone idle % is still in this range but I seem to be heading for 2 days between charges & 6h SOT, which is all I really wanted ;)

It seems the phone idle drain is only 11 mAh/h, which doesn't seem that bad actually; I was just being paranoid :p
[Xperia Z5 Android Development] SpeederT12:
[MENTION=5033594]korom42[/MENTION] Hey mate, just stopping by to ask whether I can use this mod on the latets crDroid/Resurrection remix/Lineage rom which is based on 7.1.2 LineageOS?
[Xperia Z5 Android Development] plusminus_:
One more thing. Why is it so hard to get the big cluster governor settings to change?!
[Xperia Z5 Android Development] nreuge:
-v2 | 08/11/2017

- Governor improvements

Why these gov profile tunables modifications ?

Are they from heimdall or from you ?
[Xperia Z5 Android Development] korom42:
Yes but better wait for v3 it will be a Magisk module

You don't change it let the script take care of that

Jusy personal modifications based on testings

-----------------------------

I need testers for v3 beta cuz I don't have access to Z5 currently .. this new version should provide a lot of improvements and no need for initd this is going to be a magisk Module
[MENTION=8705151]plusminus_[/MENTION] [MENTION=4471890]whalesplaho[/MENTION]

Telegram Group for beta testing

t.me/XZ_LXT
[Xperia Z5 Android Development] chaiunique:
nice man test...
[Xperia Z5 Android Development] sarp41:
I'll test & use it when I have the time for it. Thanks again!
[Xperia Z5 Android Development] osmancan71:
does it work 5.1 and 6.0.1?
[Xperia Z5 Android Development] crisout:
Hi i'm about to install the new version, but I have a question, Do I have to uninstall or delete something? I saw that now it is a magisk module.

Thanks for your time and work!
[Xperia Z5 Android Development] ratelutz:
OP states: uninstall previous version before installing v3
[Xperia Z5 Android Development] Vaith:
I've got bootloop on Kryptonian. It's not working.
[Xperia Z5 Android Development] whalesplaho:
No bootloop here brov.... Buh battery drains much!
[Xperia Z5 Android Development] Vaith:
Same here, I made a restore from backup but it's still draining battery. Any tips?
[Xperia Z5 Android Development] whalesplaho:
Nope brov... Just hope it gets stable back!!!
[Xperia Z5 Android Development] Vaith:
I installed remover. I hope it will help.
[Xperia Z5 Android Development] whalesplaho:
Done dat already brov.... I flashed endurance tweak by [MENTION=5231789]nreuge[/MENTION] and ll see how it drains overnight!

Buh LXT been my life saver. Just latest update aint cool, might still downgrade back to v2.1 if endurance tweak doesnt help too
[Xperia Z5 Android Development] sarp41:
What if my Busybox is installed to /vendor/bin? Do I have to install it in /system/bin? I have Busybox as a Magisk module so. Also did you remove the init.d requirements? I couldn't see anything that we need a working init.d. [MENTION=5033594]korom42[/MENTION]
[Xperia Z5 Android Development] korom42:
It's fine just on oreo u must instal to system/bin .. I recommend using the app instead it's very simple

And yes no don't need for init.d support anymore ?

Bro check new update v3.2 if it fixes the drain ?
[Xperia Z5 Android Development] sarp41:
[MENTION=5033594]korom42[/MENTION] Thanks for your work again. Is there going to be a new version of FSC too? Maybe some overhauled or upgraded version? Thanks...
[Xperia Z5 Android Development] whalesplaho:
[MENTION=5033594]korom42[/MENTION] thanks for tha update brov... Will test buddy!!!
[Xperia Z5 Android Development] sarp41:
[MENTION=5033594]korom42[/MENTION] Sadly, phone looks like doesn't go into deep sleep. I can see "Deep Sleep" as unused frequency via Kernel Adiutor.
[Xperia Z5 Android Development] korom42:
Could you download again I deleted the buildprop stuff and uploaded for second time .. unfortunately I don't have access to Z5 currently to test ?let me know if that fixes it

Sorry bro but i don't think there's something I can do more for thermal engine ?

----

EDIT = If you download from drive link make sure you refresh the page before downloading to get latest version.
[Xperia Z5 Android Development] sarp41:
Hahah yeah you made me re-flash it twice :D.

Let me test it a while, no deep sleep so far. We'll see.
[Xperia Z5 Android Development] Pavl79:
No deep sleep for me also.
[Xperia Z5 Android Development] korom42:
someone download the script below and send me the log output to see what's wrong :silly:

rename extension to '.sh' and give root privileges when executing
[Xperia Z5 Android Development] sarp41:
I'll check it out ASAP.
[Xperia Z5 Android Development] sarp41:
Here you go...

Let me know if you find or not what are you looking for. I can log it again.

Edit: logcat.rar added. Might contain more info for you.
[Xperia Z5 Android Development] whalesplaho:
[MENTION=5312549]sarp41[/MENTION] thanks for tha logs.....

No deep sleep at all overnight.
[Xperia Z5 Android Development] crisout:
Same here :(

Update: even with the fix2
[Xperia Z5 Android Development] sarp41:
[MENTION=5033594]korom42[/MENTION] v3 beta doesn't deep sleep either. Feels sad man...
[Xperia Z5 Android Development] korom42:
Sorry for this unfortunately I couldn't find any solution and I don't have much time to maintain this for Z5 plus I don't have access to the device so I'm dropping LXT for Z3+/Z5 [MENTION=5312549]sarp41[/MENTION] thanks for the logs and thank to everyone who helped by giving feedback .
[Xperia Z5 Android Development] whalesplaho:
Wooooopppsssss..... Its been a long run man!!!

Grateful for yur work buh if yhu have time please look back to us!
[Xperia Z5 Android Development] sarp41:
I wish you could make one last stable build for us then leave the project :(. Take care friend!
[Xperia Z5 Android Development] crisout:
Nooooo :( well.. anyway thanks for your time u.u
[Xperia Z5 Android Development] Al.Mamari:
Help

When I installed busybox in system/bin

In the busybox checker application shows that I have installed the busybox in the system/xbin

So is it a peoblem or it is Okey??!!
[Xperia Z5 Android Development] adryanodej:
tryit to install but no luck , Updater process ended with error 1. i`m on lineage os xperia z5 compact!
[Xperia Z5 Android Development] op3n:
how to see if the mod is actived? also FSC mod???
[Xperia Z5 Android Development] MyburghRoux:
Game

If I play small indie games like jetpack joyride will this still wrk?
[Xperia Z5 Android Development] YasuHamed:
sirs

does it work for z5p ? E6833 ?

please advice
[Xperia Z5 Android Development] aoreen:
sir, i flash this mod and when i shutdown my phone xperia z5, my phone can not turn on again, but if i push the pin for force reset my phone can turn on again.. can you fix this error?
[Xperia Z5 Android Development] Mason76:
Please add back version 2.1!

Last version 3.3 and 3.2 not installed! Magisk 16.3
[Xperia Z5 Android Development] Yanun:
There you have all version older than v3:https://androidfilehost.com/?w=files&flid=214147
[Xperia Z5 Android Development] Tickle.:
Hey Korom !

Here is my feedback/question about this mod.

I installed it yesterday and actually, your mod FSC v2.2 as well.

I was really excited about the battery life expectancy you promote with those mod.

This morning, i checked my phone (airplane in the night) I lost 20% in the night......:confused::confused::eek:

I uninstalled it. FSC is still running for the moment. I will check tomorrow at wake up again.

Can you explain this battery drain ?
[Xperia Z5 Android Development] dajce:
Hello, just a flash zip? Need root devices? Does it work on Z5 lineage?
[Xperia Z5 Android Development] ColdIllyrian:
well just gonna say seeing as you havent been replied yet it can also be due to the type of rom you are using as well so if its a battery draining rom then this mod cannot help it to an extent that...wow there is no battery drain...but just enough to save that 10% which is still better than nothing lol
[Xperia Z5 Android Development] Tickle.:
Thanks for having take the time to answer me after that long.

Hum... I d'ont think, i'm on XZ2 sayle which I guess you know pretty well and the battery management is quite good as a fact. no more than 1-2% in the night on airplane mod. I uninstalled it with that package provided and I came back to normal consumption.

Some incompabilities must be around. and yes might be better on stock for exemple, but no matter now.

See you
[Xperia Z5 Android Development] ColdIllyrian:
No worries :)
[Xperia Z5 Android Development] korom42:
Hello everyone,

there's a new version of LXT available for download

This should fix any previous issues .. Also it's a magisk module now and there are multiple profiles you can flash different profiles then choose one to run

https://drive.google.com/open?id=10_h6Wr3yRQ4Kkb3lIfAtpxbHS43glk13

If you need to report problem or anything just tag me or pm in telegram group https://t.me/XZ_LXT

thank you everyone who have been testing and helping with development .. enjoy .
[Xperia Z5 Android Development] jkaart:
What's the difference with these profiles?

Do I need flash all or only one?
[Xperia Z5 Android Development] korom42:
Just pick one and flash it.. you flash different profiles then keep only on enabled .. reboot for applying changes of course .
[Xperia Z5 Android Development] whalesplaho:
Testing in progress man.... Welldone!!!
[Xperia Z5 Android Development] hazote:
script working ?

hello,

how to know script is working ?

I installed LXT glassfish and teste script,

when going under magisk manager, I don't see the init.d menu,

under kernel adiutor, xhen I launch the test script, I got no response ..
[Xperia Z5 Android Development] crusader0071:
hi which version do i need for the E6853 Z5P?
[Samsung Galaxy Note 8 Questions and Answers] weezymagic:
I'm looking for an image editor that uses layers and can import more than one image or let me copy paste images in.

Basically looking for the easiest way to troll my fantasy league with manufactured images
[Tilt, TyTN II, MDA Vario III General] dereknas:
just thought of sharing with everyone...if you are tired of seeing the battery indicator showing in decrements of 10, i've found out that quickmenu's battery indicator is able to display actual decrements of 1% e.g. if it is 57%, it will show 57 instead of 60.
[Tilt, TyTN II, MDA Vario III General] fcreeves:
I would be interested if I could just get the battery indicator out of QuickMenu and use JUVS HTC Enlarge Start Menu. Am I the only one who feels this way?
[Tilt, TyTN II, MDA Vario III General] dereknas:
i found it to be quite handy in navigating to your programs or systems menu...it can be placed on the top bar or replace your windows start.

well, this is the only program so far that can display the battery correctly and also complement windows start.
[Tilt, TyTN II, MDA Vario III General] antjmon:
Where exactly have you been seen decrements of 10? I have always seen 1% decrements on my kaiser...now my old Hermes, thats a different story.
[Tilt, TyTN II, MDA Vario III General] trueking103:
Battery Indicator by itself?

Is it possible to get the battery indicator by itself instead of the whole entire quickmenu software?
[Samsung Galaxy S8 Guides, News, & Discussion] Neo3D:
http://techlife.samsung.com/tips-keep-smartphone-charged-1059.html

Charge Regularly

To get the most out of your smartphone's battery, you'll need to charge it properly. Most smartphones have a lithium-ion battery that lives longer when charged regularly. Unlike the nickel batteries used in older phones, lithium-ion batteries do best when kept above a 50 percent charge. Repeatedly allowing the battery to drain fully may shorten its life and decrease its overall capacity. If this happens, you'll need to charge the battery more frequently and it may last only a few hours before needing a charge, for example.

Your battery will also perform better if you don't let it charge to 100 percent, so take it off the charger at about 80 to 90 percent capacity. Leaving the phone connected to the charger when the phone is completely charged may lower battery life if you do it repeatedly.
[Samsung Galaxy S8 Guides, News, & Discussion] orkavaneger:
Actually what happens when you leave the phone connected to the charger is that it stops charging completely. I do not think it affects battery life in any noticeable way, unless you leave it for hours connected maybe.
[Samsung Galaxy S8 Guides, News, & Discussion] :
If you're using your phone quite heavily surely you will be constantly charging if the optimal usage is between 50 and 90% of charge?
[Samsung Galaxy S8 Guides, News, & Discussion] XmlNode:
What will happen is that when it drops to 99%, it will charge back to 100%. Over the night, it could happen many times. It is a circulating advice for a long time now: don't let your phone on the charger for the night.
[Samsung Galaxy S8 Guides, News, & Discussion] :
I must admit I try never to charge it overnight. I'm managing to get just over a day of use before it needs charging.
[Samsung Galaxy S8 Guides, News, & Discussion] Thor1964:
but the proof is missing, there are many such fairies in the internet, even if, after 2 years, most buy a new phone anyway. and so long holds each battery! With my s6 I still get over the day. and charge it always over night!
[Samsung Galaxy S8 Guides, News, & Discussion] jaseman:
I agree 100% with the above quote. There is no real proof one way or another. It is all speculation run amok.

The only fact is that the battery will slowly degrade over time. THis is what the OEM's want!

They make it very difficult to replace the battery so that you will buy a new phone... plain and simple! :eek:

Any phone built within the last two years is more than powerful enough to do anything needed for communications... the reason cell phones exist in the first place. I always charge my phones (when needed) overnight. They all last as long as any other phone.

I too am caught in this ridiculous merry-go-round of buying a new phone all the time because we want to sell them before the battery gets too old.

Progress...argh.
[Samsung Galaxy S8 Guides, News, & Discussion] ShadowVlican:
There's a reason why electric vehicles don't use 100% of their battery capacity

But worrying about your phone's battery life is too much of a hassle, I'll have a new phone by the time this one is useless
[Samsung Galaxy S8 Guides, News, & Discussion] reyals1:
And since the battery is not user replaceable, it has the same warranty time as the phone. If there are problems, samsung can replace my battery
[Samsung Galaxy S8 Guides, News, & Discussion] Painman1963:
The warranty period for the S8 in the UK is 24 months but the battery is only 12 months according to Samsung's site
[Samsung Galaxy S8 Guides, News, & Discussion] partcyborg:
I guess maybe the root limitation isn't so bad lol

Given that it (and the no pay apps/stuff that needs Knox) is the only remaining issue for some (SOME) people (a very few of the people who've upgraded post-root still have reported the screen issue, but none of this is scientific) , I guess one could claim that the downsides are low now! :D
[Samsung Galaxy S8 Guides, News, & Discussion] Neo3D:
Here's the proof:

http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries

Google an article by Popular Mechanics, too. They said the same thing.

Also, Google what Tesla tells their owners to do.
[Samsung Galaxy S8 Guides, News, & Discussion] Neo3D:
See above.

S6 is only $150 on Swappa. Mobile phones have $h1t for residual value. Trading up to the latest and greatest isn't something everyone can afford to do every 2 years.
[Samsung Galaxy S8 Guides, News, & Discussion] SirNamero:
So, what you're saying is, in order to keep my battery from only lasting a few hours and having to charge it more frequently a couple years down the road, I should start to only use my phone for a few hours at a time and charge it more frequently right now....
[Samsung Galaxy S8 Guides, News, & Discussion] Notstewie:
How much will the battery replacement cost at Samsung?
[Samsung Galaxy S8 Guides, News, & Discussion] domsch1988:
Finally someone gets it :good: made my day man.
[Samsung Galaxy S8 Guides, News, & Discussion] CSxKING_:
Charging your phone to 100% won't harm it. Letting it die at 0% though can harm it. Lithium-ion batteries don't like dying, but charging them to 100% won't hurt it, in fact leaving it plugged in for hours, even days afterward, also won't harm it. Chargers stop charging devices at 100%. Phones will be fine as long as you don't let them completely die. If you've ever wondered why they will still tell you the battery is "dead" when trying to power it on after it dies, that's because it's not "dead" so to speak, but the phone shut off to prevent damage to the battery.

In short, letting your phone die CAN harm it, but usually, it won't, because phones power off with some power left in them due to a "dead" battery, to protect the battery. This is why once they die you can still hold the power button and it will tell you its dead. Finally, charging your phone to 100% won't hurt it in any way, as chargers stop charging devices after they reach 100%.
[Samsung Galaxy S8 Guides, News, & Discussion] brokich:
WRONG.

Lithium-ion suffers from stress when exposed to heat, so does keeping a cell at a high charge voltage.

Most Li-ions charge to 4.20V/cell, and every reduction in peak charge voltage of 0.10V/cell is said to double the cycle life. For example, a lithium-ion cell charged to 4.20V/cell typically delivers 300–500 cycles. If charged to only 4.10V/cell, the life can be prolonged to 600–1,000 cycles; 4.0V/cell should deliver 1,200–2,000 and 3.90V/cell should provide 2,400–4,000 cycles.

http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries

Too many users have no idea about the facts of Lithium-ion batteries, sadly. Don't spread false information, learn the facts. Charging to 100% IS stressful for any Li-ion battery. The last 10% are the most stressful when charging. That's why Sony invented "Battery Care" which will charge the last 10% very slowly exactly for this reason.
[Samsung Galaxy S8 Guides, News, & Discussion] HighOnLinux:
Technically speaking,

A source brought up a couple of months ago says that in a year, approximately 300 charges and/or more, you will lose about 30% of the year. Charging it from 50% and higher will burn out the battery even more. It's better off letting the phone go to a certain threshold of ~>15% of the battery, then charge it so it could have more longer life in these years. Its beneficial for longer life, but day to day wise no. But long story short, i don't really agree with the method you recommend us doing.

---------- Post added at 03:26 PM ---------- Previous post was at 03:24 PM ----------

This is incorrect. When your phone fully dies then charges to 90-100%, it does a battery cycle. This cycle is worth doing from time to time to keep the safety of your device and battery from not overheating.
[Samsung Galaxy S8 Guides, News, & Discussion] kaliberx:
They Discharge Batteries too much with 3,0 Volts aka They do put too much Stress on them, bad for BatteryLife and Security depeding which Chemicals are used (INR, NMR, IMR etc). With

*18650 Li-Ion`s thats 0,2 Volts above the critical Boom Limit. Normally the safe Zone for Battery-Life and Security is 3,15V to 3,20V min.

*18650 Idustry Batteries which are used for Highdrain-Usage (Up to 35 Amps) like Battery-Scredrivers (And other Tools for Work), RC-Sports and E-Zigarettes.
[Samsung Galaxy S8 Guides, News, & Discussion] Neo3D:
Where are you getting this information? It sounds like really bad and wrong advice?
[Samsung Galaxy S8 Guides, News, & Discussion] HighOnLinux:
About the 300 charges/year and battery life decreasing by 30%? It was an old source back in april. About the battery cycle, its everywhere, on apps monitoring your charging, etc,etc. Some claim the source is partially correct, some say it's true. So just putting it out there to warn people as a precaution just in case if it is true. As i was saying, your method to "save battery life" is putting more stress onto the Li-Ion battery we have in our phones, especially if quick charging is toggled on. More charging= more heat = more stress to the battery and slowly killing off battery life.
[Samsung Galaxy S8 Guides, News, & Discussion] brokich:
It doesn't matter if the battery is 18650 high-amp, it matters if it's Li-Ion. And basically all modern smartphones use Li-Ion batteries. 18650 are also Li-Ion.

It's completely true that using these batteries between the 50%-90% range will prolong battery life. Completely untrue that doing that will reduce overall life.

Life of Li-Ion batteries is measured in cycles. By charging and using from 50-90% you are never completing a full cycle during a single charge and it takes much longer to go through the remaining cycles. By charging from 15%-100% you are almost making a full cycle.

The amount of misinformation here is too much. Please find sources and read about Li-Ion and you will know how to extend the battery life.

As far as I understand it, the S8 have some kind of integrated limitation that doesn't allow the cell to be charged beyond 90% of its real capacity, no? If that's true than Samsung are already taking good measures by doing this for the user behind the scenes and if that is the case then charging from about 50% to 100% should be OK for the long run. If it charges to the full 100%, then the best thing is to manually stop the charge at 90% or a bit below that.

Oh, and everyone should have quick charge turned OFF. Use this only in emergency situations where you really need faster charging. Anyone who is using this all the time is killing their battery faster than normal.