Collect serial logs or if possible connect it to any debug port On Mar 10, 2015 7:51 PM, "Rancid Frog" <rancidf...@gmail.com> wrote:
> I need to figure out why my port is not booting to bootanimation, it gets > stuck before reaching it. > What is the best way to go about it? > > I tried to check with adb, but device is not detected. > I also tried saving logs to sd, as device is not detected by adb and does > not boot. > But, I get the following errors. > > Using an init.d script does not work as "can't create > /storage/sdcard1/log.txt: Read-only file system" > The script that I tried: > > #!/system/bin/sh > sleep 2 > echo My Log Script > mkdir /storage/sdcard1/log 0775 system log > /system/bin/logcat -r 1024 -n 9 -v threadTime -f /storage/sdcard1/log/log > > > I also tried from init.*device*.rc as mentioned in stackoverflow: > http://stackoverflow.com/a/25533212/3082310 > However, I still get an error: "<3>[ 27.230662] init: Warning! Service > log_debug needs a SELinux domain defined; please fix! " > > Is there a better way to approach the issue? > If not how can I force the init.d to mount sd card and create the log? > And, is there a clear and thorough of creating definition for SELinux > domain? > > Thank you for your time > > -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.