[MOD] Webtop Via HDMI Without a Dock Added support for 4.4.80.MB860 (South Africa)

Fenny

Inactive Recognized Developer
Jun 28, 2007
1,383
2,071
0
I Modified These APK files to enable the Webtop on any HDMI connection.
Removed the Device ID check from the Webtop Launcher in PortalApp.apk
And Made DockProvider/DockService Display the Webtop as an option whenever an HDMI cable is connected.

We got PROPS from Engadget: http://www.engadget.com/2011/03/05/motorola-atrix-docks-literally-and-figuratively-torn-apart-hack/


NOTE THESE FILES ARE FROM THE ATT BRANDED ATRIX v4.1.26
THEY WILL NOT WORK ON THE BELL ATRIX VARIANT



Added Support for:

Atrix 4.4.80.MB860 (South Africa) Users Go HERE: Updated Mod Files for Atrix 4.4.80.MB860 (South Africa)

Version 4.5.91 Users Go HERE: (This works now.) ATRIX 4.5.91 WEBTOP MOD FILES

ATT version 4.1.57 Users Go HERE: ATT ATRIX 4.1.57 WEBTOP MOD FILES

Bell Users Go HERE: BELL ATRIX WEBTOP MOD FILES

*new* CWM Install Method - CWM Required:
Get CWM here: http://forum.xda-developers.com/showthread.php?t=1019143

Then install the flashable zip here: CWM-ATT-4.1.26.zip

You no longer need to be rooted OR deodexed!!!!
Install Method 1 - No Root or Deodex Required:
Simpler install method:

  1. Download The Mod Files here: HERE
  2. Hook up your phone via usb with ADB enabled
  3. run INSTALL.bat from the unzipped files
  4. sit back, relax, wait until it reboots (can take upto 5min, be patient!!)
  5. Read the disclaimer below
  6. Enjoy!
RETURNING TO STOCK - Root Required:
This will restore the files that were backed up by the install script.
If you were Deodexed it will restore the modified files to the original Deodexed State, if you were not deodexed it will restore to stock and allow motorola updates to work again.

Note: If you were deodexed you can ignore the three lines about the odex files.
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp /mnt/sdcard/WebtopModBackup/DockProvider.odex.bak /system/app/DockProvider.odex 
cp /mnt/sdcard/WebtopModBackup/DockService.odex.bak /system/app/DockService.odex 
cp /mnt/sdcard/WebtopModBackup/PortalApp.odex.bak /system/app/PortalApp.odex
cp /mnt/sdcard/WebtopModBackup/DockProvider.apk.bak /system/app/DockProvider.apk 
cp /mnt/sdcard/WebtopModBackup/DockService.apk.bak /system/app/DockService.apk 
cp /mnt/sdcard/WebtopModBackup/PortalApp.apk.bak /system/app/PortalApp.apk
chmod 644 /system/app/*
Install Method 2 - Root Required:
Other than that, install with ADB

Code:
adb push DockProvider.apk /mnt/sdcard/
adb push DockService.apk /mnt/sdcard/
adb push PortalApp.apk /mnt/sdcard/
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p12 /system

mv /system/app/DockProvider.odex /system/app/DockProvider.odex.bak
mv /system/app/DockService.odex /system/app/DockService.odex.bak
mv /system/app/PortalApp.odex /system/app/PortalApp.odex.bak
cp /system/app/DockProvider.apk /system/app/DockProvider.apk.bak
cp /system/app/DockService.apk /system/app/DockService.apk.bak
cp /system/app/PortalApp.apk /system/app/PortalApp.apk.bak

cp /mnt/sdcard/DockProvider.apk /system/app
cp /mnt/sdcard/DockService.apk /system/app
cp /mnt/sdcard/PortalApp.apk /system/app
reboot
Or just use root explorer to copy the files to /system/app and rename the .odex files to .bak

Make sure you set the permissions on the files to rw-r--r-- or they will not work.

Then Enjoy your fully functional webtop.

Having problems? Read Below.

Try clearing your Dalvik Cache:
Code:
adb shell
su
rm /data/dalvik-cache/[email protected]*.dex
rm /data/dalvik-cache/[email protected]*.odex
rm /data/dalvik-cache/[email protected]*.dex
rm /data/dalvik-cache/[email protected]*.odex
It was INDEED permission issues.

If using the root explorer method, you MUST fix permissions for all three files to rw-r--r--

Thanks Fenny!
Additionally, try unfreezing any frozen apps in Titanium Backup.

Thanks to DG for his ADEO installer script.



Appreciate my work? Buy Me a Beer:

 

Attachments

Last edited:

t0dbld

Senior Member
Mar 21, 2010
457
1,485
0
Michigan
I Modified These APK files to enable the Webtop on any HDMI connection.
Removed the Device ID check from the Webtop Launcher in PortalApp.apk
And Made DockProvider/DockService Display the Webtop as an option whenever an HDMI cable is connected.


YOU WILL NEED TO BE ROOTED AND DEODEXED!!!!

@DesignGears, Mind if I modify your Installer script to load these? BTW You are in SLC? I am in Draper, We should totally meet up. :p

Other than that, install with ADB

Code:
adb push DockProvider.apk /mnt/sdcard/
adb push DockService.apk /mnt/sdcard/
adb push PortalApp.apk /mnt/sdcard/
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp /mnt/sdcard/DockProvider.apk /system/app
cp /mnt/sdcard/DockService.apk /system/app
cp /mnt/sdcard/PortalApp.apk /system/app
reboot
Or just use root explorer.
Then Enjoy your fully functional webtop.
HAHA you beat me to it i was up all night last night doing this ... good work ill test yours out
 

Fenny

Inactive Recognized Developer
Jun 28, 2007
1,383
2,071
0
Can you do the mirroring HDMI too in the same or similar way?
Anyway you're great!
I have been looking into it, I don't think the DockPicker Activity HAS a mirroring option, but I think it should be possible with third party software.
 

t0dbld

Senior Member
Mar 21, 2010
457
1,485
0
Michigan
Hehe told you the answer was in PortalApp.apk. ;)
Yep, i did waste alot of time in the others as well, than i spent morning posting themes etc , any how congrats and glad to see either way we on same page... now we got to get some drivers and functionality over to this webtop, as my magic track pad is lacking any multi touch :p but im confident in getting that done , i mean after all if is Ubuntu !!
 
  • Like
Reactions: RubAnADUB

ankitb4u

Senior Member
Sep 10, 2007
106
2
0
So, when I copied the last one using Root Explorer it kept crashing the process PortalApp so I ended up removing the battery and yet to test it.
 

clubtech

Senior Member
Jun 26, 2007
1,915
353
0
USA
So we basically need to install "Adeo" to get a deodexed system...
Before i do this, when connected only with HDMI and the webtop, does the on-screen trackpad works?
 

Fenny

Inactive Recognized Developer
Jun 28, 2007
1,383
2,071
0
So, when I copied the last one using Root Explorer it kept crashing the process PortalApp so I ended up removing the battery and yet to test it.
Yeah, you need to reboot after replacing the files, can't hurt to clear the dalvik cache either. But the crashing is expected until you reboot.

So we basically need to install "Adeo" to get a deodexed system...
Before i do this, when connected only with HDMI and the webtop, does the on-screen trackpad works?
Yeah, the on screen Trackpad, AND Keyboard work great.
 

t0dbld

Senior Member
Mar 21, 2010
457
1,485
0
Michigan
So we basically need to install "Adeo" to get a deodexed system...
Before i do this, when connected only with HDMI and the webtop, does the on-screen trackpad works?
you dont need Adeo per-say but that might be the easiest way for you to get a deodexed system unless you know what you are doing... i do not have adeo but am deodexed
 
  • Like
Reactions: djmisi

rjohnstone

Senior Member
Jan 31, 2011
836
194
73
Phoenix, AZ.
Works PERFECTLY.
Did have a continuous FC after loading PortalApp.apk, but it went away with a reboot.
Tested all the WebTop functions and from what I can tell, they all work without issue.

Nicely done!
 

clipse94

Senior Member
Jul 21, 2010
61
5
0
I am super excited about this. Props to all that was involved. I will be trying this later. I really need to get more familiar with ADB. Thanks again.


clipse94
 

clipse94

Senior Member
Jul 21, 2010
61
5
0
If I recall correctly, the phone itself has an trackpad and onscreen keyboard that can be used for desktop computing. Otherwise, a bt mouse a keyboard would be in order.......and are ordered. :)
 

rjohnstone

Senior Member
Jan 31, 2011
836
194
73
Phoenix, AZ.
If I recall correctly, the phone itself has an trackpad and onscreen keyboard that can be used for desktop computing. Otherwise, a bt mouse a keyboard would be in order.......and are ordered. :)
Correct.
BT keyboard and mouse not required.
Built in track-pad mouse and keyboard work fine.
Takes getting used too though.

This comment was made via the webtop. :D