Discussion:
[android-porting] NOUGAT IN SAFEMODE
Jeshurun Edward
2018-04-24 04:41:01 UTC
Permalink
Built android(7.1.2) for Jetson TK1, android boots to safe mode and
displays the lock screen(at times only a black screen with safe mode at the
left corner appears), input devices (Mouse and Keyboard) aren't working. It
also keeps rebooting on its own.
Have read about the strictly enforced verified boot in nougat, but have no
idea how to go about debugging the cause for safe mode.

The Log information that shows SAFE MODE
01-01 00:05:40.481: I/WindowManager(592): SAFE MODE ENABLED (menu=0 s=0
dpad=-1 trackball=-1)

It comes from the WindowManager, I tried reading the sources in frameworks
directory, but didn't quite understand how things work.

How should one figure out the cause for safe mode, is it due to security issues
in kernel or the android part (Sepolicy etc)?
There are couple of errors in the log, should I correct all the errors,
does it solve the safeboot problem?


*Logs*
*SERIAL LOG: *https://pastebin.com/LxgUsegh

*LOGCAT : *https://pastebin.com/rJP4Z2nD
--
--
unsubscribe: android-porting+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeshurun Edward
2018-05-07 08:46:32 UTC
Permalink
After removing few telephone related packages, consistently android boots
to lock screen with wallpaper( no black screen) and interestingly the mouse
worked but within few seconds the system hangs. Now only I realise it boots
and hangs in lock screen, then continues to reboot, still only in safe
mode.
When does android freeze ? Android specific reasons for hang?
--
--
unsubscribe: android-porting+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...