OESF Portables Forum

Model Specific Forums => Gemini PDA => Gemini PDA - Linux => Topic started by: Kiriririn on June 23, 2018, 08:18:49 am

Title: Disable logd
Post by: Kiriririn on June 23, 2018, 08:18:49 am
/system/bin/logd seems to be a bit of a CPU/battery hog, and cannot be killed or paused, so here is how to disable it:

Either in twrp or rooted android, connect to adb shell. Then:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
cd /mnt
mkdir linux
mount /dev/block/mmcblk0p29 linux
mkdir system
mount linux/data/system.img system
mv system/bin/logd system/bin/logd.bak
[/div]

(Tried and failed to mount system.img as rw under debian, if anyone knows how to do that it would make the process much easier!)