Troubleshooting maru desktop

388 views
Skip to first unread message

Felix Matthies

unread,
Mar 2, 2016, 2:17:30 PM3/2/16
to Maru
The cable came today, so I tried to connect it to my TV over HDMI, but no chance, my nexus 5 doesn't get any signal from the TV. So I'm not able to start maru desktop..I'm really feeling sad in this moment..

Anyone who can help me?

Preetam

unread,
Mar 2, 2016, 6:40:47 PM3/2/16
to Maru
Hey Felix, sorry to hear that!

Which cable did you purchase? It is important that the cable is SlimPort. Some people have been trying to use an MHL cable with no output on the TV.

Also make sure that your Nexus 5 is awake, i.e. press the power button and unlock screen. Desktop video output will sleep when the device sleeps.

Felix Matthies

unread,
Mar 3, 2016, 12:29:14 AM3/3/16
to Maru
Yeah, it's an Slimport cable. I'll purchase another one and sending back this one, maybe it was broken.

oscar garcia

unread,
Mar 4, 2016, 8:32:40 AM3/4/16
to Maru
hello everyone, today came my cable
I installed maru, gaps and twrp without any problem.

But when i connect the cable to the display, something strange occurs.
it loads debian in the phone screen. and I've to reboot.

I just installed some apps (telegram, whatsapp, instagram, nova etc..)

can be the problem from nova launcher?

I bought the recommended cable.

thanks for advance!

I put some screenshots


Preetam

unread,
Mar 4, 2016, 2:31:17 PM3/4/16
to Maru
Hey Oscar,

Wow, looks like you stumbled upon a secret debug feature I have on Maru to let me access the desktop on my phone screen!

This indicates to me that your HDMI display is not registering itself (resolution, etc.) correctly. If you have rooted your device with TWRP/SuperSU, can you get me your system logcat logs when you get this issue? Anything relating to DisplayManager about an HDMI screen being added may help me troubleshoot. Also, which display are you using?

Luca Colciago

unread,
Mar 4, 2016, 3:59:04 PM3/4/16
to Maru
@Preetam, this secret feature is very interesting =8))
No way to activate the linux session from android dashboard without connecting the monitor ?
Thanks

oscar garcia

unread,
Mar 4, 2016, 4:21:20 PM3/4/16
to mar...@googlegroups.com
Super Su and twrp installed

The Logcat:
03-04 21:59:20.069 I/DisplayManagerService(  716): Display device added:
 
DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480,
60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x
142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL,
rotation
0, type HDMI, state UNKNOWN, FLAG_SECURE,
FLAG_SUPPORTS_PROTECTED_BUFFERS
, FLAG_PRESENTATION,
FLAG_DEFAULT_EXTERNAL_DISPLAY
}
03-04 21:59:20.071
I
/DisplayManagerService(  716): Display device changed:
DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480,
60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x
142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL,
rotation
0, type HDMI, state ON, FLAG_SECURE,
FLAG_SUPPORTS_PROTECTED_BUFFERS
, FLAG_PRESENTATION,
FLAG_DEFAULT_EXTERNAL_DISPLAY
}
03-04 21:59:20.739
I
/DisplayManagerService(  716): Display device removed:
DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480,
60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x
142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL,
rotation
0, type HDMI, state ON, FLAG_SECURE,
FLAG_SUPPORTS_PROTECTED_BUFFERS
, FLAG_PRESENTATION,
FLAG_DEFAULT_EXTERNAL_DISPLAY
}

and dmesg when the cable is plugged in:

 think the problem is in the second line

<6>[ 1293.487841] anx7808 sp_tx_enable_video_input: Slimport Video is enabled!
<3>[ 1293.490241] anx7808 sp_tx_lt_pre_config: video stream not valid!
<4>[ 1293.494649] healthd: battery l=94 v=4161 t=35.6 h=2 st=2 c=-96 chg=u
<36>[ 1293.506224] type=1400 audit(1457125160.216:119): avc: denied { search } for pid=10698 comm="perspectived" name="1" dev="proc" ino=1282 scontext=u:r:perspectived:s0 tcontext=u:r:init:s0 tclass=dir
<36>[ 1293.506525] type=1400 audit(1457125160.216:120): avc: denied { read } for pid=10698 comm="perspectived" name="cgroup" dev="proc" ino=39339 scontext=u:r:perspectived:s0 tcontext=u:r:init:s0 tclass=file
<36>[ 1293.506850] type=1400 audit(1457125160.216:121): avc: denied { open } for pid=10698 comm="perspectived" name="cgroup" dev="proc" ino=39339 scontext=u:r:perspectived:s0 tcontext=u:r:init:s0 tclass=file
<36>[ 1293.507118] type=1400 audit(1457125160.216:122): avc: denied { getattr } for pid=10698 comm="perspectived" path="/proc/1/cgroup" dev="proc" ino=39339 scontext=u:r:perspectived:s0 tcontext=u:r:init:s0 tclass=file
<36>[ 1293.507439] type=1400 audit(1457125160.216:123): avc: denied { add_name } for pid=10698 comm="perspectived" name="lxc" scontext=u:r:perspectived:s0 tcontext=u:object_r:cgroup:s0 tclass=dir
<36>[ 1293.507701] type=1400 audit(1457125160.216:124): avc: denied { create } for pid=10698 comm="perspectived" name="lxc" scontext=u:r:perspectived:s0 tcontext=u:object_r:cgroup:s0 tclass=dir
<36>[ 1293.508233] type=1400 audit(1457125160.216:125): avc: denied { write } for pid=10698 comm="perspectived" name="rootfs" dev="mmcblk0p28" ino=716678 scontext=u:r:perspectived:s0 tcontext=u:object_r:maru_file:s0 tclass=dir
<36>[ 1293.508571] type=1400 audit(1457125160.216:126): avc: denied { add_name } for pid=10698 comm="perspectived" name="lxc.hold" scontext=u:r:perspectived:s0 tcontext=u:object_r:maru_file:s0 tclass=dir
<36>[ 1293.508836] type=1400 audit(1457125160.216:127): avc: denied { create } for pid=10698 comm="perspectived" name="lxc.hold" scontext=u:r:perspectived:s0 tcontext=u:object_r:maru_file:s0 tclass=file
<7>[ 1293.510515] SELinux: initialized (dev proc, type proc), uses genfs_contexts
<36>[ 1293.510703] type=1400 audit(1457125160.216:128): avc: denied { remove_name } for pid=10698 comm="perspectived" name="lxc.hold" dev="mmcblk0p28" ino=719825 scontext=u:r:perspectived:s0 tcontext=u:object_r:maru_file:s0 tclass=dir
<36>[ 1293.511049] type=1400 audit(1457125160.216:129): avc: denied { unlink } for pid=10698 comm="perspectived" name="lxc.hold" dev="mmcblk0p28" ino=719825 scontext=u:r:perspectived:s0 tcontext=u:object_r:maru_file:s0 tclass=file
<36>[ 1293.511939] type=1400 audit(1457125160.216:130): avc: denied { mounton } for pid=10706 comm="perspectived" path="/" dev="rootfs" ino=1 scontext=u:r:perspectived:s0 tcontext=u:object_r:rootfs:s0 tclass=dir
<36>[ 1293.512363] type=1400 audit(1457125160.216:131): avc: denied { mounton } for pid=10706 comm="perspectived" path="/dev" dev="tmpfs" ino=1274 scontext=u:r:perspectived:s0 tcontext=u:object_r:device:s0 tclass=dir
<36>[ 1293.512895] type=1400 audit(1457125160.216:132): avc: denied { mounton } for pid=10706 comm="perspectived" path="/dev/pts" dev="devpts" ino=1 scontext=u:r:perspectived:s0 tcontext=u:object_r:devpts:s0 tclass=dir
<36>[ 1293.513439] type=1400 audit(1457125160.216:133): avc: denied { mounton } for pid=10706 comm="perspectived" path="/dev/cpuctl" dev="cgroup" ino=1351 scontext=u:r:perspectived:s0 tcontext=u:object_r:cgroup:s0 tclass=dir
<36>[ 1293.513823] type=1400 audit(1457125160.216:134): avc: denied { mounton } for pid=10706 comm="perspectived" path="/proc" dev="proc" ino=1 scontext=u:r:perspectived:s0 tcontext=u:object_r:proc:s0 tclass=dir
<36>[ 1293.514187] type=1400 audit(1457125160.216:135): avc: denied { mounton } for pid=10706 comm="perspectived" path="/sys" dev="sysfs" ino=1 scontext=u:r:perspectived:s0 tcontext=u:object_r:sysfs:s0 tclass=dir
<36>[ 1293.514459] type=1400 audit(1457125160.216:136): avc: denied { mounton } for pid=10706 comm="perspectived" path="/sys/fs/selinux" dev="selinuxfs" ino=1 scontext=u:r:perspectived:s0 tcontext=u:object_r:selinuxfs:s0 tclass=dir
<36>[ 1293.514817] type=1400 audit(1457125160.216:137): avc: denied { mounton } for pid=10706 comm="perspectived" path="/sys/kernel/debug" dev="debugfs" ino=1 scontext=u:r:perspectived:s0 tcontext=u:object_r:debugfs:s0 tclass=dir
<36>[ 1293.515469] type=1400 audit(1457125160.216:138): avc: denied { mounton } for pid=10706 comm="perspectived" path="/sys/fs/cgroup" dev="tmpfs" ino=1313 scontext=u:r:perspectived:s0 tcontext=u:object_r:tmpfs:s0 tclass=dir
<36>[ 1293.515804] type=1400 audit(1457125160.216:139): avc: denied { mounton } for pid=10706 comm="perspectived" path="/system" dev="mmcblk0p25" ino=2 scontext=u:r:perspectived:s0 tcontext=u:object_r:system_file:s0 tclass=dir
<36>[ 1293.516080] type=1400 audit(1457125160.226:140): avc: denied { mounton } for pid=10706 comm="perspectived" path="/data" dev="mmcblk0p28" ino=2 scontext=u:r:perspectived:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir
<36>[ 1293.516423] type=1400 audit(1457125160.226:141): avc: denied { mounton } for pid=10706 comm="perspectived" path="/cache" dev="mmcblk0p27" ino=2 scontext=u:r:perspectived:s0 tcontext=u:object_r:cache_file:s0 tclass=dir
<36>[ 1293.516766] type=1400 audit(1457125160.226:142): avc: denied { mounton } for pid=10706 comm="perspectived" path="/persist" dev="mmcblk0p16" ino=2 scontext=u:r:perspectived:s0 tcontext=u:object_r:persist_file:s0 tclass=dir
<36>[ 1293.517106] type=1400 audit(1457125160.226:143): avc: denied { mounton } for pid=10706 comm="perspectived" path="/firmware" dev="mmcblk0p1" ino=1 scontext=u:r:perspectived:s0 tcontext=u:object_r:firmware_file:s0 tclass=dir
<36>[ 1293.517384] type=1400 audit(1457125160.226:144): avc: denied { mounton } for pid=10706 comm="perspectived" path="/mnt/shell/emulated" dev="fuse" ino=0 scontext=u:r:perspectived:s0 tcontext=u:object_r:fuse:s0 tclass=dir
<4>[ 1293.520635] healthd: battery l=94 v=4161 t=35.6 h=2 st=2 c=292 chg=u
<4>[ 1293.528940] audit: audit_lost=3 audit_rate_limit=20 audit_backlog_limit=64
<36>[ 1293.528950] type=1400 audit(1457125160.236:145): avc: denied { dac_override } for pid=10706 comm="perspectived" capability=1 scontext=u:r:perspectived:s0 tcontext=u:r:perspectived:s0 tclass=capability
<3>[ 1293.529170] audit: rate limit exceeded
<7>[ 1293.530341] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<4>[ 1293.538262] healthd: battery l=94 v=4161 t=35.7 h=2 st=2 c=148 chg=u
<3>[ 1293.543247] hdmi_cec_isr: cec is not enabled. Just clear int and return.
<3>[ 1293.543326] hdmi_cec_isr: cec is not enabled. Just clear int and return.
<6>[ 1293.543414] hdmi_hdcp_isr: HDCP_STATE_AUTHENTICATING: AUTH_SUCCESS_INT received
<6>[ 1293.543494] hdmi_hdcp_authentication_part1: HDCP_STATE_AUTHENTICATING: Authentication Part I successful
<3>[ 1293.544039] hdmi_cec_isr: cec is not enabled. Just clear int and return.
<6>[ 1293.544202] hdmi_hdcp_authentication_part2: HDCP_STATE_AUTHENTICATING: auth part II skipped, no repeater
<7>[ 1293.556774] SELinux: initialized (dev devpts, type devpts), uses transition SIDs
<7>[ 1293.647685] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<7>[ 1293.649708] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<7>[ 1293.649806] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<7>[ 1293.649921] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<7>[ 1293.650296] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
<7>[ 1293.653092] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
<7>[ 1293.653379] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
<6>[ 1293.802581] bq24192_set_input_i_limit: input current limit = 500 setting 0x02
<3>[ 1293.803423] anx7808 sp_tx_wait_aux_finished: aux operation failed 02
<3>[ 1293.803493] anx7808 sp_tx_aux_dpcdread_bytes: aux read failed
<3>[ 1293.823002] anx7808 sp_tx_wait_aux_finished: aux operation failed 02
<3>[ 1293.823048] anx7808 sp_tx_aux_dpcdread_bytes: aux read failed
<3>[ 1293.863011] anx7808 sp_tx_wait_aux_finished: aux operation failed 02
<3>[ 1293.863080] anx7808 sp_tx_aux_dpcdread_bytes: aux read failed
<3>[ 1293.903067] anx7808 sp_tx_wait_aux_finished: aux operation failed 02
<3>[ 1293.903134] anx7808 sp_tx_aux_dpcdread_bytes: aux read failed
<3>[ 1293.943147] anx7808 sp_tx_wait_aux_finished: aux operation failed 02
<3>[ 1293.943236] anx7808 sp_tx_aux_dpcdread_bytes: aux read failed
<3>[ 1293.983101] anx7808 sp_tx_wait_aux_finished: aux operation failed 02
<3>[ 1293.983168] anx7808 sp_tx_aux_dpcdread_bytes: aux read failed
<3>[ 1294.002564] anx7808 sp_tx_polling_err_int_handler: Cwire polling is corrupted,power down ANX7808.
<5>[ 1294.004111] anx7808 sp_tx_vbus_powerdown: 3.3V output disabled
<6>[ 1294.004888] anx7808 sp_tx_power_down: sp_tx_power_down
<6>[ 1294.005694] anx7808 sp_tx_power_down: sp_tx_power_down
<3>[ 1294.017745] hdmi_cec_isr: cec is not enabled. Just clear int and return.
<6>[ 1294.017867] hdmi_hdcp_isr: HDCP_STATE_AUTHENTICATED: AUTH_FAIL_INT rcvd, LINK0_STATUS=0x30000074
<6>[ 1294.018043] hdmi_tx_hpd_int_work: sense cable DISCONNECTED: state switch to 0
<6>[ 1294.019653] hdmi_tx_power_off_work: HDMI Core: OFF
<6>[ 1294.042663] anx7808 anx7808_cbl_det_isr: detect cable removal
<6>[ 1294.062579] hdmi_tx_sysfs_enable_hpd: 0
<6>[ 1294.062688] anx7808 sp_tx_hardware_powerdown: anx7808 power down
<6>[ 1294.062763] anx7808 sp_tx_clean_hdcp: HDCP Clean!
<5>[ 1294.062804] anx7808 sp_tx_set_sys_state: SP_TX To System State:
<5>[ 1294.062878] anx7808 sp_tx_set_sys_state: STATE_CABLE_PLUG
<6>[ 1294.062987] anx7808 anx7808_unvote_usb_clk: usb clk is unvoted


oscar garcia

unread,
Mar 4, 2016, 4:26:46 PM3/4/16
to Maru
I don't know if other people have the same problem. but when I boot the system whatsapp alerts me of system clock being innacurate.
I enter to date&time select authomatic, date& time and unselect that
If I don't do that, i've no signal, no wifi,4g or anything.
after doing that any problem.
looking at the logcat i've seen that:

<6>[   40.697784] alarm_set_rtc: Failed to set RTC, time will be lost on reboot


Preetam

unread,
Mar 4, 2016, 9:46:34 PM3/4/16
to Maru
@Oscar thanks for the awesome logs!

Your logcat looks good to me. The second line in dmesg is actually ok...I get the same thing on my working monitor.

Interesting display you have that is reporting 640 x 480 resolution though...I have never tested outside of standard HDMI modes like 1080p so it is possible something weird is going on. The only way you can be getting the display showing up on your phone screen is if Android is not detecting valid screen dimensions from your HDMI display. It is hard for me to debug further without having your display.

A few quick questions that may help find some clues:
1. Is there any output on your display at all? Or does it just say no input detected?
2. Is there any chance you can give another display, like your TV a try to see if it works? It is possible it is just this particular display since you are the first to bring it up.
3. If you happen to have the complete dmesg log I would like to see if I can find any other clues, you can just attach a text file or something.
4. Also can you get me the output of "logcat | grep -i hdmi"?

Thanks for taking the time to help debug.

oscar garcia

unread,
Mar 5, 2016, 7:05:00 AM3/5/16
to mar...@googlegroups.com

1-. There are no outputs, or trying to get output, tv just shows no signal.
2-. I've tried in a acer 27'' pc screen and a Samsung 32'' TV, both 1080p.
3-. Here you have the complete log (I put in a link for not writing to much here):
https://www.dropbox.com/s/ni2zo9eh91wkrkr/dmesg.txt?dl=0
4-. and the logcat | grep -i HDMI:

03-05 12:56:12.319 I/DisplayManagerService(  716): Display device added:

 
DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480,
60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x
142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL,
rotation
0, type HDMI, state UNKNOWN, FLAG_SECURE,
FLAG_SUPPORTS_PROTECTED_BUFFERS
, FLAG_PRESENTATION,
FLAG_DEFAULT_EXTERNAL_DISPLAY
}
03-05 12:56:12.324
I
/DisplayManagerService(  716): Display device changed:
DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480,
60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x
142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL,
rotation
0, type HDMI, state ON, FLAG_SECURE,
FLAG_SUPPORTS_PROTECTED_BUFFERS
, FLAG_PRESENTATION,
FLAG_DEFAULT_EXTERNAL_DISPLAY
}
03-05 12:56:12.326 I/PerspectiveService(  716): HDMI display added, scheduling desktop start...
03-05 12:56:12.369 D/MDesktopSettings( 9239): onHdmiDisplayAdded
03-05
 
12:56:12.838 I/DisplayManagerService(  716): Display device removed:
DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480,
60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x
142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL,
rotation
0, type HDMI, state ON, FLAG_SECURE,
FLAG_SUPPORTS_PROTECTED_BUFFERS
, FLAG_PRESENTATION,
FLAG_DEFAULT_EXTERNAL_DISPLAY
}
03-05 12:56:12.843 D/MDesktopSettings( 9239): onHdmiDisplayRemoved
03-05
 
12:56:13.800 V/WiredAccessoryManager(  716): Headset UEVENT:
{SUBSYSTEM=switch, SEQNUM=9538, ACTION=add,
DEVPATH
=/devices/virtual/switch/hdmi_audio}
03-05 12:56:13.800
E
/WiredAccessoryManager(  716): Could not parse switch state from event
{SUBSYSTEM=switch, SEQNUM=9538, ACTION=add,
DEVPATH
=/devices/virtual/switch/hdmi_audio}
03-05 12:56:14.585
V
/WiredAccessoryManager(  716): Headset UEVENT: {SUBSYSTEM=switch,
SEQNUM
=9538, USEC_INITIALIZED=834216155, ACTION=add,
DEVPATH
=/devices/virtual/switch/hdmi_audio}
03-05 12:56:14.585
E
/WiredAccessoryManager(  716): Could not parse switch state from event
{SUBSYSTEM=switch, SEQNUM=9538, USEC_INITIALIZED=834216155, ACTION=add,
DEVPATH
=/devices/virtual/switch/hdmi_audio}
03-05 12:56:14.812 W/mflinger(  195): getDisplayInfo() for eDisplayIdHdmi failed!
03-05 12:56:14.813 W/mflinger(  195): getDisplayInfo() for eDisplayIdHdmi failed!
03-05 12:56:15.449 W/mflinger(  195): getDisplayInfo() for eDisplayIdHdmi failed!

5-. Logcat | grep -i xorg (thought it could be relevant:

03-05 12:56:14.587 W/Xorg    ( 9705): type=1400 audit(0.0:409): avc: denied { link } for name=".tX0-lock" dev="mmcblk0p28" ino=89595 scontext=u:r:perspectived:s0 tcontext=u:object_r:maru_file:s0 tclass=file
03-05 12:56:14.587 W/Xorg    ( 9705): type=1400 audit(0.0:410): avc: denied { create } for name="X0" scontext=u:r:perspectived:s0 tcontext=u:object_r:maru_file:s0 tclass=sock_file
03-05 12:56:14.767 W/Xorg    ( 9705): type=1400 audit(0.0:411): avc: denied { read write } for name="event2" dev="tmpfs" ino=7054 scontext=u:r:perspectived:s0 tcontext=u:object_r:input_device:s0 tclass=chr_file
03-05 12:56:14.767 W/Xorg    ( 9705): type=1400 audit(0.0:412): avc: denied { open } for name="event2" dev="tmpfs" ino=7054 scontext=u:r:perspectived:s0 tcontext=u:object_r:input_device:s0 tclass=chr_file
03-05 12:56:14.767 W/Xorg    ( 9705): type=1400 audit(0.0:413): avc: denied { ioctl } for path="/dev/input/event2" dev="tmpfs" ino=7054 scontext=u:r:perspectived:s0 tcontext=u:object_r:input_device:s0 tclass=chr_file
03-05 12:56:14.837 W/Xorg    ( 9705): type=1400 audit(0.0:419): avc: denied { getattr associate } for key=0 scontext=u:r:perspectived:s0 tcontext=u:r:perspectived:s0 tclass=shm
03-05 12:56:15.367 W/Xorg    ( 9705): type=1400 audit(0.0:424): avc: denied { ipc_owner } for capability=15 scontext=u:r:perspectived:s0 tcontext=u:r:perspectived:s0 tclass=capability


6-. Logcat | grep -i display
3-05 12:55:59.088 I/ActivityManager(  716): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.teslacoilsw.launcher/.NovaLauncher} from uid 1000 on display 0
03-05 12:56:00.376 I/ActivityManager(  716): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings bnds=[432,1277][648,1577] (has extras)} from uid 10064 on display 0
03-05 12:56:03.803 I/ActivityManager(  716): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 on display 0
03-05 12:56:03.982 I/ActivityManager(  716): Displayed com.android.settings/.SubSettings: +158ms
03-05 12:56:12.308 D/qdexternal(  177): ExtDisplay setting xres = 640, yres = 480
03-05 12:56:12.309 D/qdhwcomposer(  177): hwc_getDisplayAttributes disp = 1, width = 640
03-05 12:56:12.309 D/qdhwcomposer(  177): hwc_getDisplayAttributes disp = 1, height = 480
03-05 12:56:12.319 I/DisplayManagerService(  716): Display device added: DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480, 60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x 142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL, rotation 0, type HDMI, state UNKNOWN, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION, FLAG_DEFAULT_EXTERNAL_DISPLAY}
03-05 12:56:12.320 D/qdhwcomposer(  177): hwc_blank: Unblanking display: 1
03-05 12:56:12.320 D/qdhwcomposer(  177): hwc_blank: Done unblanking display: 1
03-05 12:56:12.324 I/DisplayManagerService(  716): Display device changed: DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480, 60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x 142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL, rotation 0, type HDMI, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION, FLAG_DEFAULT_EXTERNAL_DISPLAY}
03-05 12:56:12.326 I/PerspectiveService(  716): HDMI display added, scheduling desktop start...
03-05 12:56:12.329 V/ActivityManager(  716): Display added displayId=1
03-05 12:56:12.330 V/ActivityManager(  716): Display changed displayId=1
03-05 12:56:12.369 D/MDesktopSettings( 9239): onHdmiDisplayAdded
03-05 12:56:12.388 V/ActivityManager(  716): Display changed displayId=1
03-05 12:56:12.838 I/DisplayManagerService(  716): Display device removed: DisplayDeviceInfo{"HDMI Screen": uniqueId="local:1", 640 x 480, 60.000004 fps, supportedRefreshRates [60.000004], density 142, 142.0 x 142.0 dpi, appVsyncOff 7500000, presDeadline 12666666, touch EXTERNAL, rotation 0, type HDMI, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION, FLAG_DEFAULT_EXTERNAL_DISPLAY}
03-05 12:56:12.838 V/ActivityManager(  716): Display removed displayId=1
03-05 12:56:12.843 D/MDesktopSettings( 9239): onHdmiDisplayRemoved
03-05 12:56:14.812 W/mflinger(  195): getDisplayInfo() for eDisplayIdHdmi failed!
03-05 12:56:14.813 W/mflinger(  195): getDisplayInfo() for eDisplayIdHdmi failed!
03-05 12:56:15.449 W/mflinger(  195): getDisplayInfo() for eDisplayIdHdmi failed!
03-05 12:56:19.124 V/ActivityManager(  716): Display changed displayId=0
03-05 12:56:19.139 I/InputReader(  716): Device reconfigured: id=4, name='touch_dev', size 1080x1920, orientation 1, mode 1, display id 0
03-05 12:56:22.682 V/ActivityManager(  716): Display changed displayId=0
03-05 12:56:22.701 I/InputReader(  716): Device reconfigured: id=4, name='touch_dev', size 1080x1920, orientation 0, mode 1, display id 0
03-05 12:56:26.814 V/ActivityManager(  716): Display changed displayId=0
03-05 12:56:26.823 I/InputReader(  716): Device reconfigured: id=4, name='touch_dev', size 1080x1920, orientation 1, mode 1, display id 0
03-05 12:56:28.173 V/ActivityManager(  716): Display changed displayId=0
03-05 12:56:28.184 I/InputReader(  716): Device reconfigured: id=4, name='touch_dev', size 1080x1920, orientation 0, mode 1, display id 0
03-05 12:56:35.957 I/ActivityManager(  716): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.teslacoilsw.launcher/.NovaLauncher} from uid 1000 on display 0
03-05 12:56:38.401 I/ActivityManager(  716): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.tortel.syslog/.FragmentMainActivity bnds=[216,977][432,1277] (has extras)} from uid 10064 on display 0




I first connected the charger and the hdmi to tv, then i connected the cable to the phone, maru desktop started on the phone display
I changed orientation to landscape, and i found that maru adapts to the screen orientation (screenshot).
but tv stills not recieving any signal.

and for the screeen resolution 640 x 480 is the nexus 5 standard screen size isnt't it? witth a with a pixel density of 3 ppi.

thanks for your dedication, if you tell me where and what to look i can give you better reports or logs.

screenshot maru on portrait mode


Preetam

unread,
Mar 6, 2016, 4:40:23 PM3/6/16
to Maru
@Luca Not currently, it's more of a quick hack that I used to help debug. Sort of a teaser for future versions, but yes I hope to fully implement this so you don't need the monitor  :D

oscar garcia

unread,
Mar 7, 2016, 5:06:12 AM3/7/16
to Maru
I reflashed maru another time for checking if i'd done something wrong but i co tinue with the same problem :(

Preetam

unread,
Mar 7, 2016, 2:34:29 PM3/7/16
to Maru
Hi Oscar,

Thank you for all of your log hunting!

I can immediately see why you are getting the desktop on your screen from the last lines in the HDMI logcat: for some reason your HDMI display is first being added, then removed in less than a second! Thus, when Maru schedules the desktop to start there is no HDMI display so it shows up on the phone screen instead.

This indicates that there is something wrong with the HDMI connection...usually I would expect to see a final HDCP confirmation in your dmesg like this (from my working setup):

...
<5>[78109.266353] anx7808 sp_tx_auth_done_int_handler: Authentication pass in Auth_Done
<6>[78109.330316] anx7808 sp_tx_irq_isr: Downstream HDCP is done!
<6>[78109.330625] anx7808 sp_tx_irq_isr: Downstream HDCP is passed!
<5>[78109.343546] anx7808 sp_tx_hdcp_process: @@@@hdcp_auth_pass@@@@
<5>[78109.368426] anx7808 sp_tx_set_sys_state: SP_TX To System State:
<5>[78109.368822] anx7808 sp_tx_set_sys_state: STATE_PLAY_BACK
<6>[78109.369227] *******SP Video Information*******
<6>[78109.370384] BW = 5.4G
<6>[78109.374130] SSC On
<6>[78109.374357] M = 9029, N = 32768, PCLK = 148 MHz
<6>[78109.385254] Total resolution is 2200 * 1125
<6>[78109.385645] HF=88, HSW=44, HBP=148
<6>[78109.385859] VF=4, VSW=5, VBP=36
<6>[78109.386062] Active resolution is 1920 * 1080
<6>[78109.386435] @ 59Hz
<6>[78109.387437] ColorSpace: RGB,
<6>[78109.388286] 8 BPC
<6>[78109.406642] ANX7730 BC current FW Ver : 15
<6>[78109.407215] **********************************


Also, by chance are you using a DVI adapter? I see some interesting failures for reading EDIDs (the display modes your display passes to your device on first connection) in your dmesg:

<3>[ 1293.284825] hdmi_edid_read_block: failed CHECKSUM (read:0, expected:56)
<3>[ 1293.285066] hdmi_edid_read: ddc read block(1) failed: -71
<3>[ 1293.285475] hdmi_tx_read_sink_info: hdmi_edid_read failed

<6>[ 1293.296197] hdmi_tx_hpd_int_work: sense cable CONNECTED: state switch to 1
<3>[ 1293.320965] anx7808 sp_tx_wait_aux_finished: aux operation failed 02
<6>[ 1293.331484] power: ON (640x480 p60 4/3)
<6>[ 1293.333983] hdmi_tx_start: HDMI Core: Initialized
<6>[ 1293.334009] hdmi_tx_power_on: HDMI=ON DVI= ON

The resolution reported in the dmesg logs should be in raw pixels so it really should be showing 1920x1080. I'm pretty sure it's falling back to 640x480 because your display EDIDs could not be successfully read.

It is strange that this would happen on different displays. Maybe your cable is faulty?

Argh, I am sorry that you facing these issues...



oscar garcia

unread,
Mar 7, 2016, 3:00:51 PM3/7/16
to Maru
Well,
my phone connector isn't in the best state, depending on the cable it gets unplugged easier than it should, but the recommended cable adapts well to it.
On changing the display orientation the cable got unplugged (but desktop was already runnning.on the phone screen)
But I first connect the cables to tv and charger and finally to the phone, and I don't move it.
I normally flash by sideload and I never got a problem.
Maybe can be the cable, I don't know.
I'll check the cable with some other device, I don't know.
I'll keep trying!

John Doe

unread,
Apr 14, 2016, 2:26:16 AM4/14/16
to mar...@googlegroups.com
Hi there.
Quick question: Is it mandatory to get the BT keyboard and mouse connected in order to boot the maru desktop?
I've installed the maru with MultiRom as a second rom. It works. The cable is also working with the stock ROM. But when i switch to maru and plug the cable, the Desktop line in the menu say "failed to start maru desktop". 

Bojan Kopanja

unread,
Apr 14, 2016, 2:44:52 AM4/14/16
to Maru
Nope, that should not happen. I don't have BT keyb and mouse but can normally enter desktop mode, just can't do anything without peripherals :)

John Doe

unread,
Apr 14, 2016, 3:58:21 AM4/14/16
to mar...@googlegroups.com
Got the logcat | grep -i hdmi
Attached in the file

By the way. Those who don't have the bluetooth keyboard, and if you have another rooted android device - try this https://play.google.com/store/apps/details?id=com.z2software.btpluginhidd
I tried this on Nexus 7 with PC and stock 6.0.1  - it works.
On MaruOS it doesnt show up, i think that bluetooth service is entirely taken by Debian, so the desktop must be visible...
hdmi.txt

Thilo Noormann

unread,
May 9, 2016, 4:17:38 AM5/9/16
to Maru OS
Oscar,

lhave the same Problem, sometimes.

Rgds

Thilo

oscar garcia

unread,
May 11, 2016, 3:50:31 AM5/11/16
to Maru OS
I gave up on this.

looks like my usb connector depending the cable I'm using:
  • can't keep connected if I move the phone
  • it disconnects automatically

Great project, it's working and I'm kind of jealous for not being able to launch in a stable enviroment by the cable connection troubles.

Thanks to Preetam too,

Enjoy the os!

Preetam

unread,
May 11, 2016, 9:17:20 PM5/11/16
to Maru OS
@Oscar sorry to hear you couldn't get the cable to work! Hope you can pick up a new one before too long so you can get a stable environment going. The latest version now supports MultiROM and has a fix for the system clock issues you pointed out--happy to send it to you it in case you are interested in keeping Maru as a secondary for now.
Reply all
Reply to author
Forward
0 new messages