Enable logcat in RedMi / HongMi AOSP 4.2.2
For some reason the logcat in AOSP 4.2.2 maybe disabled by default. To re-enable it, follow the steps below:
- Extract the file in /system/etc/init.d/03MTKTweakElse
- Comment out the line "rm /dev/log/main", this statement will disable the logcat to function
- Push back the file to the device
C:\> adb push 03MTKTweakElse /system/etc/init.d/03MTKTweakElse
You may not have the privilege to write on the directory /system, to handle this, remount the /system partition using:
- Enter the shell
adb shell - Change to root
su - Remount the /system as Read-Write
mount -o remount rw /system
Comments
Post a Comment