[Atrix 4G General] krystianp:
From log at you can see how it changes resolution after connecting to any hdmi output. From that you can read that portal service makes most of the noise. I tried to change some code in it(I'm noob to smali), but all I got was to be able to select any resolution from list (not only supported) but that didn't help. No change on lapdock screen though alogcat says that resolution was changed. What else... there is fixed list of modes and mode no 13 is 1366x768 (overall 14 modes). And this service only sends those numbers, nothing about syncs or res. I think that modes are hardcoded in kernel module or some lib (libhdmi.so or libportaljni.so). I think of two ways of getting it done. One is to keep looking for those modes or other is to override lapdock detection, so it acts like hddock but I'm not sure if it breaks keyb and touch pad. Here's log:

I/ActivityManager( 323): Start proc com.motorola.preferredstorage for broadcast com.motorola.preferredstorage/.StoragePromptReceiver: pid=1751 uid=10014 gids={}
D/PortalUCMgrIpcCB( 751): queryRelStatePreference - newState: 1
D/PortalUCMgrIpcCB( 751): preStateChange - newState: 1
D/PortalServiceJni( 751): SendMsg: UCM_STATUSCHANGED what/1 ext1/1 ext2/0
D/PortalService( 751): ucmEvent Type:1 Value:1 Curr:5
I/PortalService( 751): ucmEvent: Resolution Check width:1366 height:768
I/PortalService( 751): onHandleIntent() action com.android.portal.hdmiStateChange
D/PortalService( 751): STATUS_CONNECTION = true
D/PortalService( 751): handleHdmiStatus: true
D/PortalUCMgrIpcCB( 751): postStateChange - newState: 1
D/PortalServiceJni( 751): SendMsg: UCM_STATUSCHANGED what/0 ext1/1 ext2/0
D/PortalService( 751): ucmEvent Type:0 Value:1 Curr:5
D/PortalUCMgrIpcCB( 751): ipcSetNextState: 3
D/PortalService( 751): parseEDID ID manufacturer:62517 product:15812
D/PortalService( 751): parseEDID mMonitorId:f4353dc4
D/PortalService( 751): parseEDID Lapdock Monitor Detected
D/PortalService( 751): getMonitorResolutions count:5
D/PortalUCMgrIpcCB( 751): preStateChange - newState: 3
D/PortalServiceJni( 751): SendMsg: UCM_STATUSCHANGED what/1 ext1/3 ext2/0
D/PortalService( 751): ucmEvent Type:1 Value:3 Curr:1
D/PortalService( 751): getMonitorResolutions lapdock VGA attached:false
D/PortalService( 751): getMonitorResolutions list:[13]
E/PortalUCMgrIpcCB( 751): ipcGetParameter Parameter 10 not supported
D/PortalService( 751): getMonitorResolutions active resolution:-1
D/PortalService( 751): FindWebtopResolution
D/PortalService( 751): getSavedResolution getting DefaultMonitor
D/PortalService( 751): getSavedResolution returning 13
D/PortalService( 751): FindWebtopResolution selectedRes:13
D/PortalService( 751): setResolution mode:13 Save false
D/PortalService( 751): setResolution overriding with 13
D/PortalService( 751): setRmResolution setting 13
I/PortalService( 751): HdmiCable:13
D/PortalUCMgrIpcCB( 751): postStateChange - newState: 3
D/PortalServiceJni( 751): SendMsg: UCM_STATUSCHANGED what/0 ext1/3 ext2/0
D/PortalService( 751): ucmEvent Type:0 Value:3 Curr:1
D/PortalUCMgrIpcCB( 751): ipcSetNextState: 3
I/PortalService( 751): onConfigurationChanged
D/PortalService( 751): Lapdock monitor detected: Start Webtop
D/PortalService( 751): sendDockServiceIntent -- Lapdock detected, suppress noti to Dock Service
I/PortalService( 751): onHandleIntent() action com.android.portal.hdmiStateChange
D/PortalService( 751): STATUS_CONNECTION = true
I/PortalService( 751): onHandleIntent() action android.mot.PortalService.action.Webtop
D/PortalService( 751): sendWebtopSwitchIntent: enablingWT: true LD: true
D/EvbridgeService( 751): handleIntent() com.motorola.webtop.SWITCH_MODE handled by com.android.portal.EvbridgeService@41405888
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
D/Evbridge( 751): hide
I/PortalService( 751): startWT3() Webtop Allowed
I/PortalService( 751): onConfigurationChanged
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
D/PortalService( 751): Portal onReceive:
I/PortalService( 751): onHandleIntent() action com.motorola.webtop.SWITCH_MODE
I/PortalService( 751): startWT3() Start Webtop Mode
I/PortalService( 751): updateLCDBacklight to: 0
D/PortalUCMgrIpcCB( 751): ipcStateChange - requestedState: 4
D/PortalUCMgrIpcCB( 751): ipcStateChange - requestState Done: 4
D/PortalUCMgrIpcCB( 751): ipcStateChange - newState: 4
I/PortalService( 751): Already in DispOwnerHdmi:1
I/PortalService( 751): DispOwnerLcd:5
I/PortalService( 751): Setting sys.SystemMode to RM_SM_DOCKED
I/PortalService( 751): sending WEBTOP_MODE_CHANGED states: true
I/PortalService( 751): SystemMode:1
I/PortalService( 751): SystemMode: Thread start
I/PortalService( 751): mDockType 0 mHdmiAttached true SystemMode: Thread setting 1
I/PortalService( 751): SystemMode: Thread result 1 systemMode 1
I/PortalService( 751): SystemMode: Thread stop
D/PortalService( 751): Portal onReceive:
I/PortalService( 751): onHandleIntent() action com.motorola.internal.intent.action.MOT_DOCK_EVENT
D/PortalService( 751): MOT DOCK ACTION Type:3
D/PortalService( 751): sendDockServiceIntent -- Lapdock detected, suppress noti to Dock Service
I/PortalService( 751): onConfigurationChanged
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
D/PortalService( 751): Portal onReceive:
I/PortalService( 751): onHandleIntent() action com.motorola.internal.intent.action.MOT_DOCK_EVENT
D/PortalService( 751): MOT DOCK ACTION Type:0
D/PortalService( 751): sendWebtopSwitchIntent: enablingWT: false LD: true
D/EvbridgeService( 751): handleIntent() com.motorola.webtop.SWITCH_MODE handled by com.android.portal.EvbridgeService@41405888
D/Evbridge( 751): hide
D/PortalService( 751): sendDockServiceIntent -- Lapdock detected, suppress noti to Dock Service
D/PortalUCMgrIpcCB( 751): preStateChange - newState: 5
D/PortalServiceJni( 751): SendMsg: UCM_STATUSCHANGED what/1 ext1/5 ext2/0
D/PortalService( 751): ucmEvent Type:1 Value:5 Curr:4
I/PortalService( 751): onHandleIntent() action com.android.portal.hdmiStateChange
D/PortalService( 751): STATUS_CONNECTION = false
D/PortalService( 751): handleHdmiStatus: false
I/PortalService( 751): Dock State:0
D/PortalService( 751): sendWebtopSwitchIntent: enablingWT: false LD: false
D/EvbridgeService( 751): handleIntent() com.motorola.webtop.SWITCH_MODE handled by com.android.portal.EvbridgeService@41405888
D/PortalUCMgrIpcCB( 751): postStateChange - newState: 5
D/PortalServiceJni( 751): SendMsg: UCM_STATUSCHANGED what/0 ext1/5 ext2/0
D/PortalService( 751): ucmEvent Type:0 Value:5 Curr:4
D/PortalUCMgrIpcCB( 751): ipcSetNextState: 3
D/Evbridge( 751): hide
I/PortalService( 751): onConfigurationChanged
D/PortalService( 751): sendDockServiceIntent -- IS_HDMI_LINKED : false
D/PortalService( 751): sendDockServiceIntent -- CURRENT_TIME :
D/PortalService( 751): sendDockServiceIntent -- ALLOW_WEBTOP : true
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
D/PortalService( 751): HDMI Detached DOCK MODE : 0
D/PortalService( 751): Portal onReceive:
I/PortalService( 751): onHandleIntent() action com.motorola.webtop.SWITCH_MODE
I/PortalService( 751): startAndroidOnlyMode() Start Android Only Mode
I/PortalService( 751): updateLCDBacklight to: -1
I/PortalService( 751): DispOwnerHdmi:7
I/PortalService( 751): DispOwnerLcd:3
I/PortalService( 751): Setting sys.SystemMode to RM_SM_MOBILE
I/PortalService( 751): sending WEBTOP_MODE_CHANGED states: false
I/PortalService( 751): SystemMode:3
I/PortalService( 751): SystemMode: Thread start
I/PortalService( 751): mDockType 0 mHdmiAttached false SystemMode: Thread setting 3
I/PortalService( 751): SystemMode: Thread result 3 systemMode 3
I/PortalService( 751): SystemMode: Thread stop
I/PortalService( 751): onConfigurationChanged
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
D/PortalService( 751): Portal onReceive:
I/PortalService( 751): onHandleIntent() action com.motorola.webtop.SWITCH_MODE
I/PortalService( 751): startAndroidOnlyMode() Start Android Only Mode
D/PortalService( 751): Portal onReceive:
I/PortalService( 751): onHandleIntent() action com.motorola.internal.intent.action.MOT_DOCK_EVENT
D/PortalService( 751): MOT DOCK ACTION Type:1
I/PortalService( 751): onConfigurationChanged
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
D/PortalService( 751): Portal onReceive:
D/PortalService( 751): Canceling ACTION_ENTER_DESK_MODE
D/PortalService( 751): Portal onReceive:
I/PortalService( 751): onHandleIntent() action com.motorola.internal.intent.action.MOT_DOCK_EVENT
D/PortalService( 751): MOT DOCK ACTION Type:0
I/PortalService( 751): onConfigurationChanged
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
I/ActivityManager( 323): No longer want com.motorola.preferredstorage (pid 1751): hidden #21
I/PortalService( 751): onConfigurationChanged
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888
I/PortalService( 751): onConfigurationChanged
D/EvbridgeService( 751): handleIntent() android.intent.action.CONFIGURATION_CHANGED handled by com.android.portal.EvbridgeService@41405888