yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] lkw1819:
Do anyone could give me a helping hand...?

I didn't backup these files in stock rom of ME860...

and deleted them...

How could I restore it....please help

I am worring that the docking function of my Atrix ME860 won't be able as usual...

Sorry for my poor expression and english...

DockService.apk

DockService.odex

PortalApp.apk

PortalApp.odex
[Atrix 4G Android Development] phantoms8:
I've just unlocked my Atrix, so that I could try out the DarkSide 2.8.5 custom ROM. This seems to be the only version that supports Landscape HDMI mirror. The ROM is stable for me and I haven't encountered any issues yet. To my surprise, I can even switch between webtop and HDMI mirror on the fly without rebooting. I thought they're incompatible. The only problem I'm having is not able to use HDMI mirror mode when using the Lapdock. The Atrix screen shuts off when docked to the Lapdock with LCD lid opened. It just enters the webtop mode automatically. Does anyone know if it's possible to use the HDMI mirror while attaching to the Lapdock?

Starrwarrior, thanks a lot for making Landscape HDMI mirror possible.
[Atrix 4G Android Development] metalmansam:
you need to install quickpic from the market for the camera to work on darkside roms. works great for me.
[Atrix 4G Android Development] crazililazn:
I know this doesn't work with CM7, but are there any plans in the future to get this working with it?
[Atrix 4G Android Development] Nottach:
Im glad somebody is using the LS HDMI RoM. If it wasn't for my broken cable/jack I would be also. I love making HTC users jealous. I've ordered a new HDMI to HDMI-Mini cable along with a HD Dock so hopefully Ill have working LS HDMI on 2.3.5 soon. And since the Photon/RAZR files Ill be using to get it working are also 2.3.5 I'm hoping this eliminates the Re-Signing issues. Fingers Crossed. Packages are coming from China so give me a couple of weeks to get it delivered and working.

Thanks guys for NOT asking for etas.
[Atrix 4G Android Development] MJPollard:
So, what's the ETA? ;) :D j/k

(Well, someone had to do it!!!)
[Atrix 4G Android Development] shibbybypass:
I have gotten it to work sometimes. I had to set it for default as going to landscape and close the lid then reopen a few times to get it to work. It works pretty well. I would like to try it without webtop installed to see if it makes it works every time that way.
[Atrix 4G Android Development] starrwarrior:
Yes, I made some progress getting it working in CM7, but ran into a wall and have not had much time to get any further. I did manage to get the image to show up, however, the screen never updates past that. The mirroring functionality appears to be heavily dependent on a lot of the webtop stuff making things difficult.
[Atrix 4G Android Development] crazililazn:
icic, thanks for the update. so if cm7 gets webtop working, is there a high chance that landscape mirroring is possible too?
[Atrix 4G Android Development] Alcapone263:
You should pm Turl if you haven't already, they may be able to help you figure it out.
[Atrix 4G Android Development] bullghost:
hi i have success to use LandScape mode without signed

here i share my last LS HDMI mod base on android version 2.3.5 from Darkside 4.4

lastes change

update base on photon source from jokerstock rev 1

overy.tegra.so

portalapp.apk

settings.apk

mirrorjni.so

dockservice.apk

MirrorService.apk

i guess this can be use on any custom rom

one problem i got is patching and copy file using bash script the new copied filename will ended with "?" , i donno whats wrong

if anyone can fix it it will help us alot

here is

the LS HDMI mod

LS HDMI mod

manually patch this a must

manuallypatch

do it on recovery mode

mount data folder

execute script inside that text file in command line inside adb shell

please apply this script only one time, because this script are no check for existing patch
[Atrix 4G Android Development] paravorheim:
So does this help us get closer to true hdmi landscape on any ROM? The previous post seemed to say this, but nobody has confirmed. I believe the process should be to flash the zip, then run the script, but I haven't tried yet.
[Atrix 4G Android Development] papand7:
problem?

how do i run this "manual script" i tried script manager but it just fails..... using darkside 4.4.

and by saying that it should work on any rom are you including cyanogenmod? oh i realy miss having a pure aosp rom build without cyanogen :) like my desire had. no offence because cm7 is great too
[Atrix 4G Android Development] ltdanno360:
Sure could use a little

More directions please:confused:
[Atrix 4G Android Development] bullghost:
make sure your android version is 2.3.5 or thedarkside 4.4

1. rename release_update.zip to update.zip

2. then copy update.zip to SD card root

3. reboot into recovery mode must use CWM version

4. apply update from SD card

5. mount data folder

6. open manual.txt

7. copy first line text

8. go to adb shell

9. paste the first line and execute it and leave adb shell open

10. go to manual.txt again copy the second line

11. paste and execute the second line in adb shell

12. clear cache

13. reboot
[Atrix 4G Android Development] ltdanno360:
Oh I see it now its for darkside 4.4

Kool:D
[Atrix 4G Android Development] mc-paulo:
Thank you for this great mod! Works like a charm on latest Dark Side
[Atrix 4G Android Development] SpiritCrusher:
Hallo people, thank you very much for the mod but i cant get it to work. Any tips? I followed the steps as are mentioned.

Thank you in advance!
[Atrix 4G Android Development] mc-paulo:
You have to be on a 2.3.5 ROM, like Darkside 4.4, then it should work.
[Atrix 4G Android Development] SpiritCrusher:
I'm already on Darkside, also in build prop i changed ro.hmdi.mirror to true but all i get is black screen :S. Do i miss something?
[Atrix 4G Android Development] MyronJ906:
I also got a blank screen...well, kind of.

First I got a black screen, then it turned into a blank white screen, and then webtop decided to load up instead.

I'm sure it *tried* to HDMI mirror because normally the Moto M comes up when Webtop is loading

(I was attempting this on my lapdock)
[Atrix 4G Android Development] paravorheim:
Try to run it through a TV?
[Atrix 4G Android Development] thebeanerb:
Resoultion

is there anyway to adjust the resolution?
[Atrix 4G Android Development] Rayan:
I'd love to see this working on the Lapdock... I Don't mind loosing webtop altogether as long as LS HDMI works on the lapdock.
[Atrix 4G Android Development] nelsonw:
I tryed but I doesn't worked.... now when I plug hdmi cable nothing happens. It should show the hdmi options... :(
[Atrix 4G Android Development] MyronJ906:
Haha, yeah, that would be the sensible option :) don't have my cable on hand though.

Can't the resolution be adjusted in settings>HDMI?
[Atrix 4G Android Development] thebeanerb:
settings>HDMI

no, the only option is Overscan.
[Atrix 4G Android Development] ltdanno360:
Umm were does the first line of script end and the 2 one starts this is what I see its all bunched together

Does the second line start at mv/
[Atrix 4G Android Development] thebeanerb:
line 2

lol i had the same question. i started the second line at mv/ and it worked for me
[Atrix 4G Android Development] Shaydar:
Can this work on a 2.3.4 Internationnal ROM which is not deodexed?

I tried to flash the zip bug it kept popping up error windows even though I made a full wipe.
[Atrix 4G Android Development] daymz:
Totally agree. ICS (CM9?) + HDMI Landscape Mirroring + Lapdock (KB+Mouse+LCD+Sound+Battery) would be so much better than the crappy Webtop. I really hope this could make it someday.
[Atrix 4G Android Development] shibbybypass:
Does anyone know how to disable or uninstall webtop? I can get this to work landscape some times with my lapdock. Looking for something a little more permanent.
[Atrix 4G Android Development] paravorheim:
I know how to get rid of webtop itself, but I don't know if that would solve the problem, or if it would just make the lapdock useless.

Anyhow, download moto-fastboot.exe, not sure from where anymore, but you'll be able to find it if you search xda hard enough.

then, wherever you downloaded it to, hold shift and right click anywhere in that window, and open a command window from there. Alternatively, you can open cmd, and cd to whatever directory you downloaded it to.

You should see a command line open up.

then turn off your atrix, hold the power button and down volume key. then, when you see fastboot on the screen, press the up volume key. You'll be in fastboot, and now you'll need to plug the phone into the computer.

Then, simply run the command "moto-fastboot erase webtop"

Should get completely rid of webtop, but I can't be positive that it will still let you use the lapdock for landscape mirror.

I was in fact going to do this myself, but my lapdock is out of battery, and I left the charger at college haha.
[Atrix 4G Android Development] Rayan:
Would you mind sharing how did you manage to make this work with the Lapdock?

Thanks!
[Atrix 4G Android Development] shibbybypass:
Sure, I still had webtop installed and I would set my phone into the dock portion and the menu would pop up for HDMI selection. I would put it to default to HDMI mirror and open and close the lid a few times and it would just come up eventually. Nothing super technical but it worked...

I uninstalled Webtop and now I get nothing but portrait on my lapdock. It does landscape when I hook it up to my TV. I have found some success though. If I plug my phone in only a small amount to the lapdock to where the usb side of the connections doesn't fully connect but the HDMI does then I get landscape. So there must a USB ID still being sent to the phone. That is all I know so far. If anyone that is much smarter than me can figure it out I would be grateful!
[Atrix 4G Android Development] paravorheim:
This shouldn't be this difficult

Agh, got it to work if you don't plug in usb enough, but then you can't actually use the keyboard -.-

This shouldn't be this difficult IMO, but I have very little experience with android, and programming in general. Since landscape mirroring doesn't even work unless webtop is there (webtop.img flashed thru fastboot) then something in that img must allow for landscape mirroring. I don't exactly know how to go about finding this, but if someone could point me in the right direction, I have one more week until school starts again, and a lapdock without its charger. I want to figure this out.

And because the Atrix recognizes it's plugged into the dock, there must be something that the usb part of the dock is sending to the atrix. Whether the Atrix just sees this as a voltage change, or whatever, we need to figure out how to make the atrix see something else entirely, probably by looking through the files on the atrix and seeing what actually runs when this happens.

Again, I have little to no experience with this, but I'm willing to try, if someone could point me in the right direction.
[Atrix 4G Android Development] Notorious544d:
Well, CM7 has portrait mirroring without webtop, so maybe you can have a look at those files and add in the 'missing' photon/razr files.
[Atrix 4G Android Development] paravorheim:
Thing is, the post previous to mine said that if he uninstalled webtop, the portrait mirroring still worked. Therefore, portrait will probably work whether or not webtop is there or not. I recall someone on these forums saying that landscape mirroring was dependent on either blur or webtop, and I'm now more inclined to believe that it is largely dependent on webtop.
[Atrix 4G Android Development] shibbybypass:
I am starting to think that as well. Since if it is only plugged into the dock's HDMI it works fine. As soon as you have the USB connected it defaults to portrait. Also to reiterate when I had webtop installed it took some work to get it to landscape and not go to webtop. It would work about 1 out of 5 times.
[Atrix 4G Android Development] paravorheim:
Wait. So the landscape mirroring still worked when the webtop was uninstalled, but only if only hdmi was plugged in, no usb? That changes my theory then.
[Atrix 4G Android Development] shibbybypass:
Yes it works if you keep the USB side from going in. The phone is getting some USB id from the lapdock itself. I am not sure why that is messing with it as much as it is. This is without Webtop installed BTW.
[Atrix 4G Android Development] paravorheim:
So that means that it's wholly dependent on some Blur files, definitely not webtop. Which means we need to figure out what the phone actually recognizes when plugged into the usb port. I think it's some kind of voltage or electrical thing, and not software related.

Also, just realized this: the DarkSide ROM has working LS HDMI without webtop, so there really wasn't a need to go through all this thinking haha.
[Atrix 4G Android Development] shibbybypass:
Guess not then! I never really look at the Darkside roms.
[Atrix 4G Android Development] Notorious544d:
Erm... just to let you guys know that this mod has successfully been working for quite some time now...

OK, it had a few bugs but they weren't very big.

The big deal is porting it over to CM7, as the files in the OP work for many blur ROM's.
[Atrix 4G Android Development] shibbybypass:
So you had the mod working fine with the lapdock? I can get it to work perfect outside of this problem. Please let us know what you did to get Landscape mirroring working with lapdock.
[Atrix 4G Android Development] MrCoolBear:
Nothing to see here...
[Atrix 4G Android Development] paravorheim:
I understand that. The main question was really just trying to get it to work with the laptop dock with mouse and kb support. i'm going to try and erase the webtop img, and see where that gets me.

EDIT: I see that shibby already tried this, but I'm going to flash the new 2.3.6 webtop anyways, so thought I'd try.

---------- Post added at 06:36 PM ---------- Previous post was at 06:28 PM ----------

I got landscape mirroring after I erased webtop...so that's nice. The only problems now are:

1. Getting better resolution out of the display, looks very grainy at first glance

2. Figuring out what with the usb is causing the webtop to load.

EDIT: Found a slightly good use for it, media would be awesome, maybe games that just required accelerometer, except that the phone is quite loosely connected to the dock right now.
[Atrix 4G Android Development] shibbybypass:
Seems like we are both at the same point right now.
[Atrix 4G Android Development] deeciple97:
I would love a copy of that custom Aura build!
[Atrix 4G Android Development] paravorheim:
multimeter to check voltages

I've been thinking about trying to figure out what causes the dock mode to happen, and since voltage seems like the easiest way to tell the phone this, I was wondering how to measure the voltage going to it. I barely have any experience with circuits and electricity in general. I'm assuming a multimeter is needed but I also want to know where to check on the pins. Any help?
[Atrix 4G Android Development] phantoms8:
It's the USB ID sent from the lapdock to the Atrix. To make HDMI mirroring work, we need to patch the module on the Atrix that detects this USB ID. Just modify the USB ID to something else, so that it doesn't recognize it as a Lapdock. I'm still trying to figure out which module to patch.
[Atrix 4G Android Development] paravorheim:
I'd like to help with this, if you're sure that this is why. Maybe we can go through all the modules quicker if I know how to edit them. I also have no idea what a module actually means, but I'm willing to learn.
[Atrix 4G Android Development] deeciple97:
Poor Mans Working Build

So I have posted all around asking for help with getting a working landscape build without wifi issues. All ROMs based on 2.3.5 don't work for me, for whatever reason. The only ROM that has built in landscape that works without wifi drops is Darkside 2.8, so this is what I did:

Downloaded Darkside 2.8

After booting up, flashed Alien green theme. Looks good and functions correctly, unlike the 2.3.5 themes on DS

Deleted Gtalk app through Titanium, because it force closes. I don't really like any other options though because of the battery drain, so for now, no chat

Installed Notification Toggle and customized to my liking

The other problem is that the camera preview does not work on the 2.8 build, but it's less of an inconvenience than having multiple wifi drops.

That's it. Maybe I'll mess around with option two for Alien sometime, but till then, this is my workaround.
[Atrix 4G Android Development] Rayan:
I can be a guinea pig...

I can pretty much modify my Atrix/Lapdock any way you want.

Too bad I can't invest too much time on researching and come up with something myself due to work overload, but if someone comes up with a plan and want to test something please let me know.

Cheers!

Rayan
[Atrix 4G Android Development] shibbybypass:
Method 2 is the only way to go with this mod. I would post my build but I don't want to step on any toes around here.
[Atrix 4G Android Development] zewone:
I'm only ouputting video at 720p. How do I set it to 1080p?
[Atrix 4G Android Development] Alcapone263:
Or take five minutes and do something for yourself for a change?
[Atrix 4G Android Development] sotodefonk:
does anyone knows if this work with gingermod? I tied myselft singing the zips with the tools, but I ended with a bootloop... but maybe I did something wrong, can someone tell if it works to test again?
[Atrix 4G Android Development] deeciple97:
That would be amazing! Would be interesting to try method 1 just to see if it works at all.
[Atrix 4G Android Development] sotodefonk:
It doesn't, don't try it. And the method 2 well, I'm not sure if I did it right, but it didn't work too, so that's why I'm asking...
[Atrix 4G Android Development] mospeada71:
Hi, this is for my AT&T Atrix rom 4.5.9.1 stock 2.3.4 ? or where I can download to use for my version
[Atrix 4G Android Development] Nipit:
How is CM7/9 support going on? Any news?
[Atrix 4G Android Development] deeciple97:
Gingermod LS

I followed all instructions and successfully signed all apks and flashed Gingermod #5 Lite with LS. However, I have not been able to test out LS mode yet and won't be able to until I get home this evening. Will update
[Atrix 4G Android Development] Alcapone263:
Hence why you're asking someone else to post their ls HDMI build? So you can go ahead and not use it? Makes a lot of sense there bud. Maybe you should get used to doing things without someone holding your hand.
[Atrix 4G Android Development] crazililazn:
I'm curious about this as well. Any progress with implementation in CM or the newer GB roms?
[Atrix 4G Android Development] deeciple97:
Gingermod LS a no-go?

Well, the update is that it didn't work. My phone booted fine and has been working normal all day, but when I plugged in my hdmi cable it just gave me the option for Entertainment Center, no mirroring. So as for now, I'm counting that try as a loss
[Atrix 4G Android Development] crazililazn:
If I recall, this mod doesnt work with 2.3.6. Thats why it isn't included in Wet Dreams, even though Darkside has it.
[Atrix 4G Android Development] Zero-K:
Actually Nottach put out a Beta version of Wet Dream with LS built in. I'm using it now, works great ;)
[Atrix 4G Android Development] deeciple97:
I wish I could use it too, but I seem to be a part of the marginal few with wifi problems with nottach's roms. It's exatcly what I need- a rom with webtop and landscape mirroring. I may give it one more shot
[Atrix 4G Android Development] glocklee:
It works when the dock fails? :-D

Hi all,

My experience is that if you select HDMI mirroring when the lid is closed it would not work because after you open the lid some magic codes are sent through USB and the phone will disable the HDMI menu ( in which you can select webtop, mirroring, dock app and so on )

Occasionally I got it to work:

Dock the phone, let it boot into ubuntu desktop.

Focus on AIW.

while (true)

{

Press Fn+Right to put it to sleep

It will resume automatically.

Randomly the HDMI setting still remain in the drop down menu. Stop now.

}

Once you achieve this, you can switch between webtop and LS HDMI ( WITH LAPDOCK KEYBOARD/TOUCHPAD ) freely. But once you undock the phone, or reboot it, this functionality will disappear again.

Well I'm trying to reproduce it once more... (Hey lapdock give my LS HDMI back!!! Fn+Right Fn+Right Fn+Right.... XD)

Edit:

And the performance is really different with native HDMI mirroring. After tunning the overscan the quality is ok.
[Atrix 4G Android Development] scrchngwsl:
Just FYI, landscape mirroring seems to work "accidentally" on the Atrix MIUI port: http://xdaforums.com/showpost.php?p=21879892&postcount=871
[Atrix 4G Android Development] Notorious544d:
Now to port it to Neutrino... ;)

Sent from my Atrix.
[Atrix 4G Android Development] edgeball:
please please
[Atrix 4G Android Development] Notorious544d:
I'll try, but at the moment, I'm not very sure. I can't find the libs which could enable this. I'm still looking into it...
[Atrix 4G Android Development] crazililazn:
If you get HDMI Landscape working on CM7, I will love you long time :D
[Atrix 4G Android Development] glocklee:
An offhand guess about the webtop, and X server

An interesting thing is... How does the webtop work?

My guess is that after the phone confirmed the identity of the lapdock ( there must be some background daemon polling/selecting the usb port ), it suspends the phone screen, then setup a VNC of the android phone ( It must never be the native display, nor direct rendering ), then start an X server thru the HDMI.

So.. My question is, can we just remove all the crappy webtop configuration and build our own distribution from scratch? Remove all the webtop stuff, start from a CyanogenMod, chroot to a partition, and execute X thru HDMI(or framebuffer, or even wayland, for better performance).

Another thing, what happened during the init conversation between master and the dock? Maybe we can use wireshark to capture that, then use libusb to simulate.