[Atrix 4G Android Development] BlackX777:
Alien Atrix Log:

10-01 14:01:44.073 D/DockExperiencePickerActivity( 4583): Mirror Mode
10-01 14:01:44.073 D/DockExperiencePickerActivity( 4583): onClick vMirror Mode
[COLOR="Blue"]10-01 14:01:44.073 D/DockAppUtility( 4583): LaunchDockExpSelectedByUser()Dock ID = hdmiDock Type = UndockedDock Experience = Mirror Mode[/COLOR]
10-01 14:01:44.073 D/DockAppUtility( 4583): Mirror Experience application was launched.
[COLOR="Red"]10-01 14:01:44.073 D/DockAppUtility( 4583): StartMirror()[/COLOR]
10-01 14:01:44.073 D/DockExperiencePickerActivity( 4583): erase experience
10-01 14:01:44.073 D/DockProfileDatabaseUtils( 4583): RemoveWhisperSettingRecordFromDB
10-01 14:01:44.073 D/DockProfileDatabaseUtils( 4583): dock Id =hdmi
10-01 14:01:44.073 D/DockProfileProvider( 4583): query=dockId=?
10-01 14:01:44.073 I/PortalService( 3409): onHandleIntent() action android.mot.PortalService.action.Android
[COLOR="SeaGreen"]10-01 14:01:44.083 W/DockProfileDatabaseUtils( 4583): Dock record does not exist in DB, failed to remove dock record from whisperSettings and dockConfiguratio table[/COLOR]

Alien Photon Log:

ExperiencePickerActivity( 9502): Mirror Mode
10-01 16:23:52.287 D/DockExperiencePickerActivity( 9502): onClick vMirror Mode
[COLOR="Blue"]10-01 16:23:52.287 D/DockAppUtility( 9502): LaunchDockExpSelectedByUser()Dock ID = hdmiDock Type = UndockedDock Experience = Mirror Mode[/COLOR]
10-01 16:23:52.287 D/DockAppUtility( 9502): Mirror Experience application was launched.
[COLOR="Red"]10-01 16:23:52.287 D/DockAppUtility( 9502): StartMirror()[/COLOR]
10-01 16:23:52.287 I/PortalService( 2515): onHandleIntent() action android.mot.PortalService.action.Android
10-01 16:23:52.287 D/DockExperiencePickerActivity( 9502): erase experience
[COLOR="Red"]10-01 16:23:52.287 I/PortalService( 2515): startAndroidHdmiMode() Start Android HDMI Mode[/COLOR]
10-01 16:23:52.287 D/DockProfileDatabaseUtils( 9502): RemoveWhisperSettingRecordFromDB
10-01 16:23:52.287 D/DockProfileDatabaseUtils( 9502): dock Id =hdmi
10-01 16:23:52.287 D/DockProfileProvider( 9502): query=dockId=?
[COLOR="SeaGreen"]10-01 16:23:52.297 W/DockProfileDatabaseUtils( 9502): Dock record does not exist in DB, failed to remove dock record from whisperSettings and dockConfiguratio table[/COLOR]

To activate the Mirroring Button there is only a little hacking in the DockService.apk -> bools.xml file.

<bool name="has_mirror_mode">true</bool>

<bool name="mirror_mode_hdmi_on">true</bool>

etc.

After the logs there must be some changes in the PortalApp.apk -> PortalService.smali. But I can not program. So we need a dev here.

I compared the Atrix and Photon smalis and do some changes but no luck

Also MirrorService.apk and libmirrorjni.so are needed they dont exists in Atrix Rom. I dont know if the MirrorService.apk starts automatically or how this works.

@edude03 Same error here so that's not the Problem

I think _unknown or Fenny can help here they have already hacked the PortalApp.apk for the Webtop hack.

I know it's only a small step from the motorola logo to mirroing:(

Atrix PortalApp

Photon PortalApp

Atrix PortalApp w/ Webtop

Photon PortalApp w/ Webtop

MirrorService

libmirrorjni