FORUMS

[GUIDE] Disable "logd" process - NO MORE BATTERY DRAIN [ALL ROMs] [ROOT req]

166 posts
Thanks Meter: 107
 
By aferende, Senior Member on 5th February 2016, 04:39 PM
Post Reply Email Thread
Hi all,
I have the G4 (H815) for over 6 months and always (both Lollipop and Marshmallow) I have been suffering from a tremendous battery drain.
After a lot of research I discovered that the reason (the main reason) of my battery drain is due to "logd" process that normally burned over 15% (or more) for each charge cycle (checked with Better Battery Stats).
Obviously I tried everything, full wipe, change ROM but that process was always there to suck battery them.

I do not know why the process is so high but I know that deactivating it the problem is automatically solved

So finally I found a way to eliminate the underlying problem permanently by disabling the logd process from TWRP.

if you also have this problem, follow this simple guide and you will solve the problem permanently.
After disabling "logd" process the only evidence it is that logcat no longer works but for many I do not think it's a problem.
Anyway you can always go back and put everything back as it was.

[Before Start]
I suggest you to make a FULL BACKUP before you follow this guide.
I am not responsible if your brick your phone.

[Prerequisites]
  • Root
  • TWRP
[Step by step Guide]
  1. Reboot phone into Recovery (TWRP) and click "Mount"
  2. Check System and then press "back"
  3. Click "Advanced"
  4. Click "File Manager"
  5. Choose the "system" folder
  6. Choose "bin" folder
  7. Choose "logd" file and press "Select"
  8. Click "Rename files"
  9. Add ".bak" and then press "Go"
  10. Swype right to confirm
  11. Press Home button
  12. Restart => System

Now, "logd" process is permanently disabled and should not appear between processes (verified with Better Battery Stats).
To put everything back as it was before, just rename back "logd.bak" file to "logd" by following the same procedure above.

See the attached screen for a visual guide.
I also attach my battery stats AFTER disabling the "logd" process.
Before deactivating I did not reach the 2 hours of SOT. Now they are 4 or more with 20hrs of standby
All without Amplify or other battery savers

Let me know if this works for you.

EDIT:
Some users reported that renaming \system\bin\logd to \system\bin\logd.bak using a root explorer and then reboot .. works too.
Ty.


If you find this guide useful ... press "Thank you".
Attached Thumbnails
Click image for larger version

Name:	01.jpg
Views:	6166
Size:	43.9 KB
ID:	3635182   Click image for larger version

Name:	02.jpg
Views:	5910
Size:	41.4 KB
ID:	3635183   Click image for larger version

Name:	03.jpg
Views:	5460
Size:	42.0 KB
ID:	3635184   Click image for larger version

Name:	04.jpg
Views:	4864
Size:	40.3 KB
ID:	3635185   Click image for larger version

Name:	05.jpg
Views:	4904
Size:	52.2 KB
ID:	3635186   Click image for larger version

Name:	06.jpg
Views:	4890
Size:	50.6 KB
ID:	3635187   Click image for larger version

Name:	07.jpg
Views:	5126
Size:	61.0 KB
ID:	3635188   Click image for larger version

Name:	08.jpg
Views:	5030
Size:	43.9 KB
ID:	3635189   Click image for larger version

Name:	09.jpg
Views:	5006
Size:	51.9 KB
ID:	3635190   Click image for larger version

Name:	10.jpg
Views:	4808
Size:	41.5 KB
ID:	3635191   Click image for larger version

Name:	11.jpg
Views:	4854
Size:	36.1 KB
ID:	3635192   Click image for larger version

Name:	12.jpg
Views:	4788
Size:	42.4 KB
ID:	3635193   Click image for larger version

Name:	Capture+_2016-02-05-13-27-31.png
Views:	5712
Size:	239.6 KB
ID:	3635194   Click image for larger version

Name:	Capture+_2016-02-05-13-27-42.png
Views:	5532
Size:	216.6 KB
ID:	3635195   Click image for larger version

Name:	Capture+_2016-02-05-13-27-53.jpg
Views:	5656
Size:	162.4 KB
ID:	3635196   Click image for larger version

Name:	Capture+_2016-02-05-13-28-03.jpg
Views:	5280
Size:	157.4 KB
ID:	3635197   Click image for larger version

Name:	Capture+_2016-02-05-13-28-12.png
Views:	5144
Size:	158.9 KB
ID:	3635198   Click image for larger version

Name:	Capture+_2016-02-05-13-28-25.jpg
Views:	5060
Size:	189.3 KB
ID:	3635199   Click image for larger version

Name:	Capture+_2016-02-05-13-29-00.jpg
Views:	5090
Size:	215.9 KB
ID:	3635200   Click image for larger version

Name:	Capture+_2016-02-05-13-29-15.jpg
Views:	4878
Size:	219.5 KB
ID:	3635201  
The Following 42 Users Say Thank You to aferende For This Useful Post: [ View ] Gift aferende Ad-Free
5th February 2016, 04:39 PM |#2  
aferende's Avatar
OP Senior Member
Thanks Meter: 107
 
More
Here other screenshots:
Attached Thumbnails
Click image for larger version

Name:	Capture+_2016-02-05-13-29-25.jpg
Views:	3446
Size:	203.9 KB
ID:	3635208   Click image for larger version

Name:	Capture+_2016-02-05-13-29-39.jpg
Views:	3414
Size:	207.5 KB
ID:	3635209   Click image for larger version

Name:	Capture+_2016-02-05-13-29-53.jpg
Views:	3370
Size:	233.6 KB
ID:	3635210   Click image for larger version

Name:	Capture+_2016-02-05-13-30-07.png
Views:	3280
Size:	196.7 KB
ID:	3635211   Click image for larger version

Name:	Capture+_2016-02-05-13-30-14.png
Views:	3150
Size:	240.8 KB
ID:	3635213   Click image for larger version

Name:	Capture+_2016-02-05-13-30-20.png
Views:	3082
Size:	225.1 KB
ID:	3635214  
The Following 3 Users Say Thank You to aferende For This Useful Post: [ View ] Gift aferende Ad-Free
5th February 2016, 04:42 PM |#3  
Hani88's Avatar
Senior Member
Flag Aleppo
Thanks Meter: 124
 
More
great job
Is this problem also existing in V20D ???

Sent from my LG-H815 using Tapatalk
5th February 2016, 04:44 PM |#4  
aferende's Avatar
OP Senior Member
Thanks Meter: 107
 
More
Quote:
Originally Posted by Hani88

great job
Is this problem also existing in V20D ???

Sent from my LG-H815 using Tapatalk

Yes,
10X ... and 20X ...
Tried also with Genesys 3.X.
The Following User Says Thank You to aferende For This Useful Post: [ View ] Gift aferende Ad-Free
5th February 2016, 07:47 PM |#6  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,692
 
More
Quote:
Originally Posted by HorstiG

Test is running, thank you.

This works the same with a file explorer. But you should reboot.

Click image for larger version

Name:	Screenshot_2016-02-05-20-46-04.jpg
Views:	3166
Size:	174.0 KB
ID:	3635426
The Following 3 Users Say Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
5th February 2016, 08:21 PM |#7  
Loulou-13's Avatar
Senior Member
Flag Marseille
Thanks Meter: 669
 
More
Quote:
Originally Posted by HorstiG

This works the same with a file explorer. But you should reboot.

Attachment 3635426

thank

where is the file ?

EDIT : i have found ...good ! thank again
The Following User Says Thank You to Loulou-13 For This Useful Post: [ View ] Gift Loulou-13 Ad-Free
5th February 2016, 08:21 PM |#8  
aferende's Avatar
OP Senior Member
Thanks Meter: 107
 
More
Quote:
Originally Posted by HorstiG

This works the same with a file explorer. But you should reboot.

Attachment 3635426

In my case after restart, logd.bak was renamed back to logd.
Renamed instead from TWRP it stay.
Please check periodically that file was not renamed back.
5th February 2016, 08:24 PM |#9  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,692
 
More
Quote:
Originally Posted by aferende

In my case after restart, logd.bak was renamed back to logd.
Renamed instead from TWRP it stay.
Please check periodically that file was not renamed back.

OK

After 5 reboots.

Click image for larger version

Name:	Screenshot_2016-02-05-21-25-08.jpg
Views:	3058
Size:	165.2 KB
ID:	3635466
The Following User Says Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
5th February 2016, 08:30 PM |#10  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,692
 
More
Quote:
Originally Posted by Loulou-13

thank

where is the file ?

EDIT : i have found ...good ! thank again

root/system/bin/logd

I was too slow
The Following 2 Users Say Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
5th February 2016, 08:30 PM |#11  
Loulou-13's Avatar
Senior Member
Flag Marseille
Thanks Meter: 669
 
More
Quote:
Originally Posted by aferende

In my case after restart, logd.bak was renamed back to logd.
Renamed instead from TWRP it stay.
Please check periodically that file was not renamed back.

we can move it and keep it on another place ? no ?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes