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

Search This thread

aferende

Senior Member
Feb 7, 2009
166
109
OnePlus 9 Pro
[GUIDE] Disable "logd" process - NO MORE BATTERY DRAIN [ALL ROMs] [ROOT req]

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. :confused:

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 :D

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". :good:
 

Attachments

  • 02.jpg
    02.jpg
    41.4 KB · Views: 6,548
  • 03.jpg
    03.jpg
    42 KB · Views: 6,101
  • 04.jpg
    04.jpg
    40.3 KB · Views: 5,394
  • 01.jpg
    01.jpg
    43.9 KB · Views: 6,721
  • 05.jpg
    05.jpg
    52.2 KB · Views: 5,423
  • 06.jpg
    06.jpg
    50.6 KB · Views: 5,414
  • 07.jpg
    07.jpg
    61 KB · Views: 5,622
  • 08.jpg
    08.jpg
    43.9 KB · Views: 5,520
  • 09.jpg
    09.jpg
    51.9 KB · Views: 5,456
  • 10.jpg
    10.jpg
    41.5 KB · Views: 5,239
  • 11.jpg
    11.jpg
    36.1 KB · Views: 5,263
  • 12.jpg
    12.jpg
    42.4 KB · Views: 5,263
  • Capture+_2016-02-05-13-27-53.jpg
    Capture+_2016-02-05-13-27-53.jpg
    162.4 KB · Views: 6,126
  • Capture+_2016-02-05-13-28-03.jpg
    Capture+_2016-02-05-13-28-03.jpg
    157.4 KB · Views: 5,743
  • Capture+_2016-02-05-13-27-42.png
    Capture+_2016-02-05-13-27-42.png
    216.6 KB · Views: 5,935
  • Capture+_2016-02-05-13-27-31.png
    Capture+_2016-02-05-13-27-31.png
    239.6 KB · Views: 6,087
  • Capture+_2016-02-05-13-28-12.png
    Capture+_2016-02-05-13-28-12.png
    158.9 KB · Views: 5,478
  • Capture+_2016-02-05-13-28-25.jpg
    Capture+_2016-02-05-13-28-25.jpg
    189.3 KB · Views: 5,396
  • Capture+_2016-02-05-13-29-00.jpg
    Capture+_2016-02-05-13-29-00.jpg
    215.9 KB · Views: 5,435
  • Capture+_2016-02-05-13-29-15.jpg
    Capture+_2016-02-05-13-29-15.jpg
    219.5 KB · Views: 5,533
Last edited:

aferende

Senior Member
Feb 7, 2009
166
109
OnePlus 9 Pro
Here other screenshots:
 

Attachments

  • Capture+_2016-02-05-13-29-25.jpg
    Capture+_2016-02-05-13-29-25.jpg
    203.9 KB · Views: 3,593
  • Capture+_2016-02-05-13-29-39.jpg
    Capture+_2016-02-05-13-29-39.jpg
    207.5 KB · Views: 3,552
  • Capture+_2016-02-05-13-29-53.jpg
    Capture+_2016-02-05-13-29-53.jpg
    233.6 KB · Views: 3,510
  • Capture+_2016-02-05-13-30-07.png
    Capture+_2016-02-05-13-30-07.png
    196.7 KB · Views: 3,405
  • Capture+_2016-02-05-13-30-14.png
    Capture+_2016-02-05-13-30-14.png
    240.8 KB · Views: 3,271
  • Capture+_2016-02-05-13-30-20.png
    Capture+_2016-02-05-13-30-20.png
    225.1 KB · Views: 3,217
Last edited:

HorstiG

Senior Member
Mar 14, 2013
4,849
2,736
Banja Luka RS
Unfortunately, I realized that my system runs much non-circular. I test further.

The file renaming with Explorer works the same.
 

Loulou-13

Senior Member
Aug 24, 2013
1,825
666
Marseille
yes... :good:
it seem good by removing this file . with "es explorer" , i put it on sd0 (on "es explorer backup" for example for to keep it in case of ...)
i reboot the phone and don't see it again on this system/bin file...
 
Last edited:
  • Like
Reactions: HorstiG

Top Liked Posts

  • There are no posts matching your filters.
  • 43
    [GUIDE] Disable "logd" process - NO MORE BATTERY DRAIN [ALL ROMs] [ROOT req]

    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. :confused:

    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 :D

    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". :good:
    6
    As far as i know all LG start from G2, has this logd running by rom.

    Possible ways to disable:

    Open any terminal app.
    Type:
    su
    stop logd
    mount -o remount,rw /system
    mv /system/bin/logd /system/bin/logd-old
    sync
    mount -o remount,ro /system

    Enjoy. No need to reboot. And on next boot its will not start.
    3
    Here other screenshots:
    3
    Test is running, thank you.

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

    Screenshot_2016-02-05-20-46-04.jpg
    2

    Ok ty for reporting.
    All users please report if you notice something like this