当前位置: 首页 > 工具软件 > LogDevice > 使用案例 >

不打印log:Unable to open log device '/dev/log/main': No such file or

蔚承天
2023-12-01
Speedmod 内核默认不打开Android log功能,进recovery开启就行了,或者这样:
adb shell
su
mount -o remount,rw /system
echo ANDROIDLOGGER >> /system/etc/tweaks.conf

mount -o remount,ro /system

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


  1. Open: /system/etc/init.d/××× (not the same file on different ROMs, find the right file)
  2. Find the line that says: rm /dev/log/main
  3. Change the line to: # rm /dev/log/main (comments out the line, rm = remove, in case you were wondering)
  4. Save and reboot


 类似资料: