yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] saltinbas:
Hi,

Photon users are willing to have webtop. You can find below thread. If you replace dockservices.apk with the file inside this zip http://xdaforums.com/attachment.php?attachmentid=675098&d=1312323511 , you can see mirroring option when you plug in hdmi cable, although not functional. Please delete the dex file in dalvik cache.

http://xdaforums.com/showthread.php?t=1199443
[Atrix 4G Android Development] ranova:
Interesting. Right now when I plug my phone into the dock, I already see the HDMI mirroring option and Im on Alien 4 for the atrix.
[Atrix 4G Android Development] saltinbas:
I am using r-9 v5. Maybe thats why i do not see mirroring option.
[Atrix 4G Android Development] ranova:
The option does nothing in Alien, maybe it does if you enabled it in build.prop but its just in portrait.
[Atrix 4G Android Development] dLo GSR:
I think they are sticking with photon because it uses very similar hardware, specifically the tegra
[Atrix 4G Android Development] ranova:
droidx2 has tegra 2 also, but I think photon is a lot closer than the dx2 because it also has webtop capabilities

but anyways, the hdmi mirroring on the atrix when using the photon rom is very low res. What resolution does HDMI mirroring usually output in? Thought it was 1080p, and at the very least, 720p
[Atrix 4G Android Development] dLo GSR:
whoops! I stand corrected (=
[Atrix 4G Android Development] scores87:
Don't know if this helps in any way

Atrix source code

http://sourceforge.net/projects/atrix.motorola/files/

Photon source code

http://sourceforge.net/projects/photon4g.motorola/files/PHOTON-4G/4.5.1A-1_SUN-154/
[Atrix 4G Android Development] bongd:
Glad to see so many people taking a crack at this. Any idea what it is that needs to be adjusted in regular Atrix ROMS to get this working?

Wish I could contribute but I'm a retard. I'll name my first born child after whoever gets this working though lol :D
[Atrix 4G Android Development] shanghei:
We need mirroring bad, was using my atrix with photon rom with FPSE and PS3 controller, so awesome!

[YOUTUBE]Ye3Rzi_nQzI[/YOUTUBE]
[Atrix 4G Android Development] lexx210:
How did you do this?!!!
[Atrix 4G Android Development] shanghei:
Dont get too exited, its running Motorola Photon rom, which does landscape mirror, someone needs to find out a way for regular atrix roms to do it.
[Atrix 4G Android Development] lexx210:
I've never seen this Photon Rom. Can you post a link to it? And sorry I can't help but be excited. I've wanted to play games on my big tv with ps3 controller and no lag like in your vid for a while now.
[Atrix 4G Android Development] shanghei:
I used this rom,

http://xdaforums.com/showthread.php?t=1224896

then flashed the Atrix GB kernel after installed that rom.

The phone camera doesnt work and there is also a bunch of other bugs, the phone thinks its a CDMA phone roaming on GSM.

I wouldnt recommend doing on main phone, I have two atrix's and was playing around with one
[Atrix 4G Android Development] pukemon:
How soon will this work? Just kidding. Not really.

I voided my warranty and your mum.
[Atrix 4G Android Development] bongd:
I almost want to flash this Photon ROM just for the HDMI Landscaping!! Feels like we're so close to getting this, but so far. It's killing me to wait!
[Atrix 4G Android Development] pukemon:
i don't want to flash photon. i want to flash cm7. with landscape mirroring!!! i think i'm going to have to kick some devs ass. who's coming with me? :D
[Atrix 4G Android Development] dLo GSR:
maybe instead of threatening them, find someone who wants to help =P
[Atrix 4G Android Development] pukemon:
nah. i'm sure cm7 is priority first. side features like that can come later.
[Atrix 4G Android Development] bongd:
I don't know if kicking their asses will work. You're probably better off coaxing them with fellatio LOL

(not you, a hot broad hahaha) :D
[Atrix 4G Android Development] Kaaji1359:
I'd choose Landscape HDMI Mirroring over CM7 any day of the week and I know many people in this thread (and outside of it) would do the same. I've already devoted $20 to whoever can figure this out and make it work seamlessly, and yet again many others have.

Landscape HDMI Mirroring >>>>>>>>>> CM7
[Atrix 4G Android Development] primeboss:
Second^

Landscape HDMI mirroring > CM7 > Overclocking.
[Atrix 4G Android Development] pukemon:
Id rather have a better performing os with no bugs or Moto crap. If I had a vested interest in this phone I might feel the same way. I am very much looking forward to the next generation of phones/os version. If things are disappointing, yes give me landscape mirroring first. I think it'll come, just be patient. All us dum dums can do is hope it comes sooner than later. Once cm7 gets going though, im sure a few more devs might pop up to see what else the atrix is capable of. I wish nvidia had included NEON in tegra2 but oh well.

I voided my warranty and your mum.
[Atrix 4G Android Development] Magnetox:
What does neon offer besides skype video calling?
[Atrix 4G Android Development] pukemon:
Im not sure 100% but I thin instruction sets to make things more efficient. Something im a lot less sure about is video codecs. Let's the videos run on gpu rather cpu.

I voided my warranty and your mum.
[Atrix 4G Android Development] knigitz:
A video codec encodes or decodes a video file from one format to another.

And concerning your NEON request:

http://www.anandtech.com/show/4098/...-more-architectural-details-and-design-wins/1

(Read the full article)
[Atrix 4G Android Development] BlackX777:
Any one tried this Files http://xdaforums.com/showpost.php?p=15881436&postcount=834

by this how to http://xdaforums.com/showpost.php?p=16420484&postcount=871
[Atrix 4G Android Development] primeboss:
I would but i have no tv right now and the post is from 8/7 so its old, but good luck to anywho try.
[Atrix 4G Android Development] ranova:
I believe those apk's are included in custom roms such as Alien. When I plug my phone into the dock "HDMI mirroring" does show up on the list of actions I can take, however, it does nothing when I select it
[Atrix 4G Android Development] BlackX777:
In Alien are the files from _unknown not Fenny

When I restore a Backup with CWM I get the whole list. dont know why?

When I make a new Install I have only Webtop and Entertain.

I tested it result dock service crash by plug in hdmi

I think the only one that can Help is _unknown
[Atrix 4G Android Development] Vahnyyz:
I think our best course of action is to try to get it out that we're more interested in the feature, is there any way we can appeal to the cm7 crew or something so that they might be able to release that little bit and put the cm on hold for like a week if thats how long it takes?

the only reason I say a week is because it looks like the results we want have been "found" its just a matter of setting it to an .apk and having it be able to supersede the onboard apks or whatever
[Atrix 4G Android Development] Alcapone263:
https://github.com/Atrix-Dev-Team/android_device_motorola_olympus/commits/master

check here for updates, Turl is working on HDMI mirroring right now. it'll be fully functional in final builds of CM7, i'm assuming. the Atrix Dev Team are awesome.
[Atrix 4G Android Development] pukemon:
this isn't a store to accomodate your individual needs if a group project goes on to the benefit the whole group. it's getting there. be patient. we're all pulling our hair out. i'm bald now. want to see the pictures?;)
[Atrix 4G Android Development] bongd:
I know how you guys feel. I'm not bumping the thread but I am checking constantly. It's driving me insane. I'd blow someone if they got this working LOL jk (or am I?) :eek: :D
[Atrix 4G Android Development] pukemon:
i bet you would. :D
[Atrix 4G Android Development] bongd:
I can't code, but I'll take one for the team dammit!! :D
[Atrix 4G Android Development] Vahnyyz:
I guess we'll just keep chanting the team's name till they get it did!

:)
[Atrix 4G Android Development] Alcapone263:
just an update, it's still not working correct on CM7 with prebeta-4 either, just tried it.
[Atrix 4G Android Development] rosseyn:
Bionic

It appears the Bionic has HDMI mirroring enabled. Any chance of just porting that?
[Atrix 4G Android Development] saltinbas:
tegra hdmi

Hi,

Wondering if this source code related our tegra hdmi?

https://github.com/milkycow/linux-2...b5b06f976b4727c/drivers/video/tegra/dc/hdmi.c
[Atrix 4G Android Development] shanghei:
both the bionic and photon have mirror, motorola hates us
[Atrix 4G Android Development] Vahnyyz:
any other juicy updates? or are we all still waiting at the edge of our seats?
[Atrix 4G Android Development] pukemon:
Has anybody tried contacting motorola on this?

I voided my warranty.
[Atrix 4G Android Development] ranova:
tried a couple of times:

https://supportforums.motorola.com/thread/54380

https://supportforums.motorola.com/thread/56903
[Atrix 4G Android Development] pukemon:
Wow. Motorola forums mustve been created by some communist regime. Anyways, i cant believe theyve ignored requests. Even though google has a stake in moto, this seriously makes me consider whether or not theyre worth purchasing as my next phone. Unreal. Another innovation dead end. For what?

I voided my warranty and your mum.
[Atrix 4G Android Development] bongd:
Look at how they avoided the mic issue like the plague... sickened me!
[Atrix 4G Android Development] pukemon:
What mic issue? Im not at all aware of a mic issue. Please expand.

I voided my warranty and your mum.
[Atrix 4G Android Development] bongd:
Nothing worth going into, but they acted oblivious to HUGE mic issues. The mic quality sucks and sounds super quiet on the other end. There was also a huge digitizer issue and peoples' touch screens were working worth ****.

The damn manager/admin on their forum had the audacity to ask people if they have power cycled their phones or tried useless steps like factory resets, despite the pages and pages worth of troubleshooting that they graciously outlined ahead of time. They're a bunch of dicks.
[Atrix 4G Android Development] pukemon:
Wow. Thats even worse. That is expected to work out of the box at an expected level. Of course, moto pulled the typical lousy customer service corporate line bs on yall. The hdmi mirroring isnt a feature out of the box but it sure is lame they wont update it.

I voided my warranty.
[Atrix 4G Android Development] scores87:
BUMP!:eek:

any new developments?
[Atrix 4G Android Development] pukemon:
No ****. Anybody have news? Do we need a bounty? Hdmi mirrori.g would breathe a lot of life into this phone.

I voided my warranty and your mum.
[Atrix 4G Android Development] Alcapone263:
I have twenty dollars towards a bounty for full hdmi mirroring. Anyone else?
[Atrix 4G Android Development] bongd:
I've already expressed that I'd throw some money down as well. My offer also still stands.
[Atrix 4G Android Development] mc-paulo:
Would also highly appreciate if anybody would spend some precious dev-time on this one. Bounty: 10$ from me
[Atrix 4G Android Development] ranova:
good research.

I would try to tweet agrabren this information
[Atrix 4G Android Development] BlackX777:
I've noticed this today:Motorola HDMI Dual Screen API

so i build that Sample hdmiDualScreen App in the MOTOROLA ATRIX SDK there is a how to in the docs.

- on the phone display, you will see message “Hello, HDMI_DualScreen!”

- on the HDMI monitor/TV, you will see a rapidly moving white square over a background that changes color.

maybe we can use it to program an HDMI Mirroring App:confused:
[Atrix 4G Android Development] nachobkcc:
With hdmi mirroring working... cm7 would be the best (it's already the best)

any news on this research, ¿need testing?
[Atrix 4G Android Development] dLo GSR:
if there was news, you would have read it here.
[Atrix 4G Android Development] ycavan:
So far, I understand that this mod:

1. updates ro.hdmi.mirroring to true in build.prop

2. rewrites startXServer.sh to be nearly blank

3. starts up mirroring in portrait mode so the screen just flips within that context w/ auto-rotate

OP can you please detail what your app does? ( source would be very helpful )

dmesg doesn't really give any clues at boot with the mirroring

I'm trying to figure out which process actually does the mirroring and I can't seem to find a "smoking gun" w/ ps.

As far as I can tell, there is no X server running @ boot, even though there are tftlcd only, hdmi only, mirroring using tftlcd edid and twinview sections in the xorg.conf...

Like you were thinking earlier, blitting the fb into the twinview 2nd monitor may be the way to have landscaped mirroring.
[Atrix 4G Android Development] malickie:
If someone could get Root on the Atrix 2 I think we would be able to do a Dump and see exactly how this one is doing mirroring considering the 2 of them are so closely related.
[Atrix 4G Android Development] shanghei:
Photon is more closely related to the Atrix then the Atrix 2, and thats been available for some time now.
[Atrix 4G Android Development] primeboss:
Does anyone know why landscape HDMI mirroring works with photon alien rom?
[Atrix 4G Android Development] Alcapone263:
probably because motorola software engineers put the correct code in the Photon, and not the Atrix?
[Atrix 4G Android Development] BlackX777:
That workaround from weichel enables native android/nvidia mirroring probably for presentation purposes.

Like weichel mentioned to get mirroring work property we need a deamon/service.

So either we port that mirroring service apk that use Motorola on Photon to Atrix.

Or we programm a own App using Motorola's own Motorola HDMI Dual Screen API (I don't tihnk the API is implemented in CM7 but you can test it using the sample app i build post 250)

The problem is not that it won't work and i think also its not to complicated.

The thing is we need a Dev but nobody is interested to get mirroring working.

Maybe no dev read this and we must open a new request thread. A few people have also offered money. A dev can sell this on maket 5$ maybe or i spend 200$ maybe we can make a deal to get this done.

But it will probably only be tantamount to kitnap a devs wife and cildrend.:D
[Atrix 4G Android Development] ycavan:
on that note... doesn't the webtop have an application that mirrors the screen? my question, since I don't use the webtop, is if the application rotates with the screen? it might be possible to start that application when starting the X server so it's the only thing running. what do you guys think?
[Atrix 4G Android Development] pukemon:
Nope.

I invented cyberspace. You're trespassing.
[Atrix 4G Android Development] maly3648:
So basically, is it possible or not finally to watch an .avi (DIVX) file full screen in landscape mode with a Motorola Atrix linked directly with the HDMI cable to à TV ?

If no, what if i flash the Alien ROM ? Is it working with this rom ?

Sorry but maybe my english is poor and i misunderstood all your words :)
[Atrix 4G Android Development] Notorious544d:
Found Something!

Hmm... Found this in Alien Photon ROM.

Attached is the MirrorService.apk. Maybe somebody can have a shot?
[Atrix 4G Android Development] primeboss:
Im pretty sure this has been posted before. IIRC mirroservice.apk has some calls which wont work on the atrix.
[Atrix 4G Android Development] starrwarrior:
I got landscape/portait mirroring to work on the Atrix using the Photon's MirrorService.apk, PortalApp.apk, ExtDispService.apk, DockService.apk

I also copied over:

lib/libmirrorjni.so

lib/hw/overlay.tegra.so

framework/com.motorola.android.iextdispservice.jar

framework/com.motorola.android.imirrorservice.jar

framework/com.motorola.android.inativehdmiapis_v1.jar

Using Aura deblur Rom 1.2.2.2 for testing this.

Unfortunately, since MirrorService.apk requires UID 1000 / SharedUser [android.uid.system], the apk needs to be either signed with the same key as other packages that use that (I tried resigning stuff, but it broke stuff that runs as 1001 android.uid.phone group)

Next I attempted to resign all apks, but i'm still getting SharedUser errors. I'm not really sure what to do. It seems like if the MirrorService.apk could be signed with a platform key it would be okay...

This is all a bit new to me, perhaps someone more familiar with modifying system apks could help me out here...
[Atrix 4G Android Development] ranova:
Nice, this is a big step in the right direction. You should contact a dev to help you finish the final details.

I suggest trying to contact agrabren
[Atrix 4G Android Development] primeboss:
I agree, try contacting a cm7 dev or kenneth, good work man.
[Atrix 4G Android Development] MyronJ906:
I'm sure it won't work, but it wouldn't hurt to try to run Fix Permissions from rom manager then reboot
[Atrix 4G Android Development] LifelessRaptor:
Just an idea

I'm gonna try to copy these over to the latest CM7 (Ba2tf) build. Maybe I can get some headway there. I'll let you know what I come up with.

Edit: After digging a little bit I see the CM7 build has a libmirror.so but not the libmirrorjni.so. Also, I'm kinda skeptical about any of the Motorola apk's working with CM7 seeing as they're all Blur related, Let's hope though.
[Atrix 4G Android Development] mobileweasel:
If you look really hard, you can see a glimmer of hope. You guys are awesome !
[Atrix 4G Android Development] starrwarrior:
Great news! I have resolved the package signing issues and now have landscape mirroring + a functioning phone!

It appears not clearing the /data/system/packages.xml was causing me issues.

I'm currently working on packaging this so people can test it out.
[Atrix 4G Android Development] Alcapone263:
you're simply amazing. i've been wanting this since day one! you're the man!

(sorry, had to post, too happy not to)
[Atrix 4G Android Development] LifelessRaptor:
I had no luck with my attempt. Once, you get the packages out I'll be glad to test it again on CM7. I was having trouble getting the apks to install though. I think they're too much a part of blur to actually work. :/
[Atrix 4G Android Development] Abu-7abash:
Wohooooo!!! This is beyond amazing!

Hope it will work on cm7 too. Thanks A LOT mate :)
[Atrix 4G Android Development] Notorious544d:
WOW! Once this gets ported to CM7... :D

We've made so much progress on this phone! From a locked bootloader to Webtop over HDMI, Debian inside Webtop, CM7 nightly's, CM7 w/ fingerprint scanner and now, landscape mirroring - ALL WITHOUT MOTOROLA SOURCE CODE!!!!!!

I genuinely think that all devs should be extremely proud of themselves. This is a hell of an achievement.

Only major thing left is porting Webtop to CM7, but with such talented devs and massive recent progress, this will hopefully not take too long.

I just can't wait to see stable CM9 (Android 4.0) with all Atrix goodies like fp scanner and webtop along with landscape mirroring in the future!!! ;)
[Atrix 4G Android Development] primeboss:
You are one of the greatest person i have ever met. You just stop me from selling atrix to go to Samsung Galaxy S2 skyrocket.

I might have to go back to Aura instead of cm7 now.
[Atrix 4G Android Development] twayneo:
Dude your the best I thhink there was a pot of 200 dollars you should be entitled to ill definitely donate your the best bro ...
[Atrix 4G Android Development] MyronJ906:
Great job, you should look into seeing if this still applies ;)

http://xdaforums.com/showthread.php?t=1279934&highlight=bounty

Once you get it packaged for use and everything, that is.

Congratulations
[Atrix 4G Android Development] turl1:
Could you please get a full logcat of it working so we can compare and see what are we missing in CM7?
[Atrix 4G Android Development] ranova:
damn, until this is ported to cm7, Im tempted to go back to Alien!
[Atrix 4G Android Development] Notorious544d:
Hopefully the next step will be 1080p mirroring :D
[Atrix 4G Android Development] starrwarrior:
The output to the connected display is 1080p once you select the mirroring option upon plugging in your HDMI cable. Before that, a little moto symbol screensaver will jump around on the external display.

Here's a link to a CWM flashable zip:

http://www.multiupload.com/IFWXO48ST9

I have only tested this with Aura Rom 1.2.2.2 Deblur, but I have no reason to believe it won't work on other blur based roms.

It WILL delete /data/system/packages.xml - I know this is re-created, not sure if it will negatively impact any installed applications.

Standard disclaimers apply-- Not responsible if your phone catches fire etc.

link to logcat output:

http://pastebin.com/7iiid5Dx
[Atrix 4G Android Development] primeboss:
Does webtop over HDMI still work? I rather have landscape HDMI mirroring then webtop but just wondering?
[Atrix 4G Android Development] starrwarrior:
Not currently, I will look into getting the webtop option back on the menu, although I've personally always found it to be kind of cumbersome to use.
[Atrix 4G Android Development] firey21:
Hmm.. Installed the CWM, now all apps force close, and it's like my phone is back to default settings, but nothing runs without crashing. Using Aura 1.2.2.2 Accounts.
[Atrix 4G Android Development] takiziomek:
working on aura 1.2.2.2 DB .just only wipe your rom and instal this zip ;)
[Atrix 4G Android Development] nelsonw:
Nevermind....
[Atrix 4G Android Development] turl1:
Unfortunately the logcat is incomplete :(, can you get a full one?
[Atrix 4G Android Development] LifelessRaptor:
Was just curious to try it but it definitely doesn't work on CM7. Boot took longer than usual then proceeded to cause everything to crash. Good work on it though. Almost willing to jump back to a blur rom to try it out.
[Atrix 4G Android Development] starrwarrior:
Sorry about that, here's a more complete one:

https://gist.github.com/1362687
[Atrix 4G Android Development] shanghei:
never thought id see the day
[Atrix 4G Android Development] turl1:
Many thanks :)
[Atrix 4G Android Development] ycavan:
anyone with a dev atrix wanna see if it works on stock? I would but I'm not familiar enough with android to recover right now.
[Atrix 4G Android Development] nelsonw:
Anyone has tested on an Aura 1.2.2.2 Blurred with out full wipe?

Thanks for the work!
[Atrix 4G Android Development] mrfahrenheit94:
HOLY FREAKING CRAP. IT WORKS. I just tried it, i was running the Atrix Alien rom build #3, just went into recovery and flashed the zip. Phone booted up, and yes, i have the problem where all of the applications do not open. But it seems to be only preexisting applications, and some applications still do work (camcorder, camera, market, the gallery app is missing entirely, and most importantly dialer works, so it still works as a phone). So every application other than that that i tried crash when i open them, but then I went to the market and downloaded a browser that i didn't have, Opera, and it worked, and i went to youtube, and it was mirroring perfectly HORIZONTALLY!!!!!!!!!! So could the programs be crashing because of the aforementioned deletion of packages.xml? I made a backup of it, could I just place it in the same place and solve the problem?

On another note, THANK YOU SOOOO MUCH. So worth it.
[Atrix 4G Android Development] Notorious544d:
So basically, it works, but is extremely unstable.

But yeah, has anybody tried using this Mod from scratch, fully wiped?
[Atrix 4G Android Development] primeboss:
I think we will have to wait for it to packed into Aura before it becomes stable.
[Atrix 4G Android Development] nelsonw:
Yes, check some previous posts...
[Atrix 4G Android Development] Jonous:
Works on latest π-crust. Just needs wiping. You sir rock! Thanks for making this happen! We love you. :D:D
[Atrix 4G Android Development] coolnow:
Confirmed working on Aura latest blurred with a full wipe. Restoring the .xml file did NOT work (adb pushed it). Very unstable, most of the time it cuts out for a few seconds and then comes back on but once or twice, it'll run perfect. Still one giant bound in the right direction, thanks to the dev!
[Atrix 4G Android Development] knigitz:
Works on stock, just need to wipe data.
[Atrix 4G Android Development] morrislee:
How would I go and change the output resolution? 960x540 output makes everything very jagged looking. output to 1280x720 or native 960x540 possible?