ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

Random reboot when install the boot.img #66

Closed ghost closed 8 years ago

ghost commented 8 years ago

The rom is great but with the new selinux enforcing mode, some of my apps cant grant root access, so I decided to install the boot.img, it's fix the app that cant access root because the selinux is now permissive. But I have new problem, random reboot, it never happen if I dont install the boot.img

ngoquang2708 commented 8 years ago

Can I have kmsg log?

2016-08-06 22:47 GMT+07:00 hendrulll notifications@github.com:

The rom is great but with the new selinux enforcing mode, some of my apps cant grant root access, so I decided to install the boot.img, it's fix the app that cant access root because the selinux is now permissive. But I have new problem, random reboot, it never happen if I dont install the boot.img

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/66, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9vhqdtjtoB_kn1jbUxMER9tXfXzuks5qdKx5gaJpZM4JeTfs .

ngoquang2708 commented 8 years ago

Please take it with SELinux Enforcing.

2016-08-06 22:51 GMT+07:00 Quang Ngô ngoquang2708@gmail.com:

Can I have kmsg log?

2016-08-06 22:47 GMT+07:00 hendrulll notifications@github.com:

The rom is great but with the new selinux enforcing mode, some of my apps cant grant root access, so I decided to install the boot.img, it's fix the app that cant access root because the selinux is now permissive. But I have new problem, random reboot, it never happen if I dont install the boot.img

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/66, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9vhqdtjtoB_kn1jbUxMER9tXfXzuks5qdKx5gaJpZM4JeTfs .

ghost commented 8 years ago

What is kmsg log? how can I do that? Btw sorry I'm newbie

ngoquang2708 commented 8 years ago

Run adb shell cat /dev/kmsg > log.txt, open your app, do stuffs, then press ctrl+c in your terminal. Take your log.txt here.

ghost commented 8 years ago

It says cant create log.txt: read only file system

ngoquang2708 commented 8 years ago

OK, run this:

adb shell dmesg

2016-08-06 23:10 GMT+07:00 hendrulll notifications@github.com:

It says cant create log.txt: read only file system

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/66#issuecomment-238031044, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9uGhVkPlec2kjyBmZLlthaTznixVks5qdLH-gaJpZM4JeTfs .

ghost commented 8 years ago

sh: adb: not found

ngoquang2708 commented 8 years ago

OK, if you run Terminal in you phone, do this. Open Terminal cd /storage/emulated/0/ su dmesg > log.txt

2016-08-06 23:13 GMT+07:00 Quang Ngô ngoquang2708@gmail.com:

OK, run this:

adb shell dmesg

2016-08-06 23:10 GMT+07:00 hendrulll notifications@github.com:

It says cant create log.txt: read only file system

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/66#issuecomment-238031044, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9uGhVkPlec2kjyBmZLlthaTznixVks5qdLH-gaJpZM4JeTfs .

ngoquang2708 commented 8 years ago

That log.txt will be iin your internal storage.

2016-08-06 23:19 GMT+07:00 Quang Ngô ngoquang2708@gmail.com:

OK, if you run Terminal in you phone, do this. Open Terminal cd /storage/emulated/0/ su dmesg > log.txt

2016-08-06 23:13 GMT+07:00 Quang Ngô ngoquang2708@gmail.com:

OK, run this:

adb shell dmesg

2016-08-06 23:10 GMT+07:00 hendrulll notifications@github.com:

It says cant create log.txt: read only file system

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/66#issuecomment-238031044, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9uGhVkPlec2kjyBmZLlthaTznixVks5qdLH-gaJpZM4JeTfs .

ghost commented 8 years ago

log.txt

ngoquang2708 commented 8 years ago

Thank you. I will investigate it.

ghost commented 8 years ago

Yea, hope you can fix it soon. Thanks for always available bruh

thanhthuy89 commented 8 years ago

Use selinux mod changer.apk can chance between enforcing and permissive

ngoquang2708 commented 8 years ago

Not exists any more in my latest build. I will release it soon.