yashsingh1/xdaforums huggingface dataset:
[Motorola Atrix HD] TheOnlyMrVideo:
Unfortunately the new exploit listed in the first post is not working for me via Linux on my Electrify-M. I'm doing it as root and I get the following:

[*] Waiting for device...
error: protocol fault (no status)
* daemon not running. starting it now on port 5037 *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
[*] Device found.
[*] Pushing exploit...
error: insufficient permissions for device
error: insufficient permissions for device
[*] Pushing root tools...
error: insufficient permissions for device
error: insufficient permissions for device
error: insufficient permissions for device
- waiting for device -
- waiting for device -

And that is where it hangs.

Oh well.
[Motorola Atrix HD] ssuds:
I'm in the same boat as you. Already rooted but not sure if I should unlock, especially since I'm satisfied with the stock ROM
[Motorola Atrix HD] xxcombat:
There are no files in / storage/rfs0/, they /storage/rfs1/ or /storage/rfs2

please reboot the phone

and try again
[Motorola Atrix HD] skeevydude:
You're obviously not root...

If you actually were try

adb kill-server

su

adb-root

then run the exploit.

If that doesn't work, use a task manager and kill all adb instances (or reboot). Try again.

That's what I found when searching for ADB server didn't ACK
[Motorola Atrix HD] deedscreen:
I have tried every single Windows method under the sun for the Atrix HD, and different RAZRs, none at all worked. I had all my drivers, adb, fastboot and all working, I spent the entire night trying to root this son of a gun. I kept getting constant adb errors, rsd wouldn't work when I bricked things, so I used a fastboot method to restore to stock, but couldn't get rooted. I'm well experinced, and this was tough. I used Ubuntu because those new zip files nor the new auto-root packages would work. I'd get stuck at daemon messages, I had to redo the Ubuntu method twice because after it was rooted, there was still a problem, so I redid the process after and voila, everything worked! Yes, this method is the only working one in my case!
[Motorola Atrix HD] clockcycle:
I've just recently unlocked boot loader, went through all the latest custom roms. Nice features and all, but I must say I am back to stock, albiet Mexican Retail.. lol
[Motorola Atrix HD] djrbliss:
You need to be able to set up a Samba share with certain Linux permissions. This is not possible from Windows.

As I said in the post, you can use a Linux LiveCD so that you can boot into Linux without having to permanently install it.
[Motorola Atrix HD] LeGenDz R3DeaDz:
If I do a factory reset after root am I going to loose it?
[Motorola Atrix HD] joejoejo:
What is motoshare.tgz
[Motorola Atrix HD] djrbliss:
No. A factory reset wipes the data partition, but being "rooted" involves modifying the system partition, which is untouched during the reset.
[Motorola Atrix HD] djrbliss:
Motoshare is a binary that runs on the phone to complete the rooting process. It never runs on the host Linux machine, since it's compiled for ARM.
[Motorola Atrix HD] joejoejo:
I got that from what your first posted but what does motoshare do in rooting the device
[Motorola Atrix HD] OFFFFFFFFFFFFFFF:
mattlgroff you now still with us? :)
[Motorola Atrix HD] mattlgroff:
No. I am not developing or modding or utility-making or anything for the Atrix HD.
[Motorola Atrix HD] Youngunn2008:
I'm already rooted on jb but am an experienced Linux user so I can help too with any questions. I'll be rooting my wife's ahd tomorrow with this method.

Edit : I'll be sending my donation on my next paycheck Dan.

Sent from my MotoAHD Maxx
[Motorola Atrix HD] marshok:
+1 working
[Motorola Atrix HD] TTLayland:
Please message me for help.
[Motorola Atrix HD] xxcombat:
Thx!!!!!!!!!!!!!!:good::good::good:

I have root!!!!!!!!!!!:good::good::good:
[Motorola Atrix HD] OFFFFFFFFFFFFFFF:
Worked! But have some problems during rooting. Thanks!
[Motorola Atrix HD] johnlgalt:
I don't have this build as I don't have this device - but would this be just as possible running a Samba Server on a *different* Android device, such as https://play.google.com/store/apps/details?id=com.icecoldapps.sambaserver ?

Reason I ask is that I know of several people whose home Internet connection is woefully slow - like in the 2 Mbits DL range. That could be problematic for trying to get the Ubuntu Live install downloaded.

I also thought about doing this from Puppy, as they have a variety of distros, including one called UPup - built directly from Ubuntu 12.04 LTS
[Motorola Atrix HD] djrbliss:
It doesn't particularly matter how the Samba share is set up, but the file permissions need to be right (the "pwn" binary needs to be root-owned with 6755 permissions). Any distro will do, I just figured Ubuntu would be the easiest for beginners.
[Motorola Atrix HD] johnlgalt:
Thanks for the info, Dan. That helps a lot.

I figured you picked Ubuntu for ease of use, but the size is going to be a killer for some folks.

I can't count the number of times people had issues with the FXZ for the BIONIC....and that file is not as large as Ubuntu Live....
[Motorola Atrix HD] LeGenDz R3DeaDz:
what kind of problem
[Motorola Atrix HD] sickkside13:
how do i create a new directory in terminal
[Motorola Atrix HD] johnlgalt:
Always DL issues b/c of large file size.
[Motorola Atrix HD] nick2012:
Worked perfectly

Confirmed working. I set up a Ubuntu virtual machine through Parallels on Mac, and it worked perfectly. Only trouble I had was my complete inexperience with Ubuntu, but just following the steps here made things easy...
[Motorola Atrix HD] TTLayland:
Root is for sure working. Trust me I'm enjoying the hell out of this. I cannot wait to see articles about the new root exploit.
[Motorola Atrix HD] brett_day:
Awesome, works like a charm. Now the only question is when will the ROMS flow for this device :) Thanks so much for the step by step guide. It was the first time I have ever used Ubuntu and it was a walk in the park.
[Motorola Atrix HD] popfan:
If we can break the bootloader then we have have great roms, until then no rom will be anything special
[Motorola Atrix HD] TenguSnake:
Dan, you are THE MAN. Worked perfectly, I'm rooted! Thanks!
[Motorola Atrix HD] TTLayland:
I am so happy that he decided to help us!
[Motorola Atrix HD] nkhater:
error: device offline

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device offline
[Motorola Atrix HD] xXckkillerXx:
Help confused

Got this error:

carla@ubuntu:/tmp/share$ sudo /tmp/share/adb shell /storage/rfs0/pwn

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

mount: Operation not permitted

sh: can't create /system/xbin/busybox: Read-only file system

Unable to chmod /system/xbin/busybox: No such file or directory

sh: busybox: not found

cp: /system/bin/su: Read-only file system

Unable to chown /system/bin/su: No such file or directory

Unable to chmod /system/bin/su: No such file or directory

link failed Read-only file system

[+] Rooting complete!

carla@ubuntu:/tmp/share$

Then it says: "There is no SU binary installed, and SuperSU cannot install it. This is a problem!" when opening SuperSU

PLEASE HELP HERE OR MY EMAIL! : Charlesc.kenney@gmail.com

Thanks in advanced
[Motorola Atrix HD] tcf38012:
Thanks for root!!!

And also, I WAS SOO CLOSE!!

Same app, different exploit (which failed, so I went other ways...).

Thank you thank you thank you.
[Motorola Atrix HD] nkhater:
Please Help: error: device offline

I am getting the following error

nkhater@ubuntu:/tmp/share$ sudo /tmp/share/adb kill-server

nkhater@ubuntu:/tmp/share$ sudo /tmp/share/adb shell /storage/rfs0/pwn

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device offline

nkhater@ubuntu:/tmp/share$

I am running the LiveCD in VMware Workstation
[Motorola Atrix HD] progrockguy:
Root via Samba?!?? This is ingenious and front-page news-worthy!!

I wonder if it'll work on routers running Tomato or DDWRT... then again if you have that, you likely can also handle a linux distro. Now hopefully Motorola & others will not quickly patch this up.... Thanks, Dan!
[Motorola Atrix HD] Markyzz:
Can everyone please stop quoting the OP. Just hit reply!

Sent from my phone.
[Motorola Atrix HD] capran:
Holy awesome sauce! It worked for me, but I decided to reboot and see if it stuck, and root checker says no. Does this mean I'll have to go through this process everytime I want root?

EDIT: Nevermind! You need to run Voodoo OTA Rootkeeper after you get root and then you're good!
[Motorola Atrix HD] nkhater:
Did you use a machine to boot the LiveCD or VMware?
[Motorola Atrix HD] sickkside13:
i checked too and i got the same thing maybe itss because of the bootloader
[Motorola Atrix HD] capran:
I used installed Ubuntu 12.10 on VirtualBox. Set your virtual NIC to Bridge mode in order to be accessible by the phone.

EDIT: Nevermind! You need to run Voodoo OTA Rootkeeper after you get root and then you're good!
[Motorola Atrix HD] sickkside13:
Can u post link
[Motorola Atrix HD] marcelarr:
Here is the link... if you mean Ota RootKeeper by Voodoo

https://play.google.com/store/apps/details?id=org.projectvoodoo.otarootkeeper&feature=nav_result
[Motorola Atrix HD] Wolf_Gang09:
From what I've read I'm guessing this exploit won't be compatible with windows for a while? Regardless many thanks to everyone who helped out with the exploit.
[Motorola Atrix HD] LeGenDz R3DeaDz:
samba

ubuntu@ubuntu:~$ mkdir /tmp/share

ubuntu@ubuntu:~$ sudo apt-get install samba

Reading package lists... Done

Building dependency tree

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

samba : Depends: samba-common (= 2:3.6.3-2ubuntu2) but 2:3.6.3-2ubuntu2.3 is to be installed

Depends: libwbclient0 (= 2:3.6.3-2ubuntu2) but 2:3.6.3-2ubuntu2.3 is to be installed

Recommends: tdb-tools but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

What can I do
[Motorola Atrix HD] Youngunn2008:
We've had root for a while. Power users. And without bootloader unlocked all you can do is modify stock ROMs. No kernel. So don't expect to see a ton of ROMs. If we even get cm10 ported it'll be a miracle.

That said once you change your mindset and just modify stock and make it look the way you want, tweak the build.prop with Pimp My Rom or something similar, and customize it with apps you start really enjoying the phone. Slap the eb40 battery in it and you have a heck of a phone.

Just no ROMs.

Sent from my MotoAHD Maxx
[Motorola Atrix HD] miko85:
Donation sent under my army email

---------- Post added at 10:55 PM ---------- Previous post was at 10:54 PM ----------

And just to be clear we can nowbipgrade to jellybean ota and root correct
[Motorola Atrix HD] fromanbr:
If you are at ics you don't need to use this method!

By the way.. THANKS!

I'm gonna send the payment ASAP
[Motorola Atrix HD] cramzees@aol.com:
I am not a seasoned linux user I get about this far and when I plug in my phone to perform the last steps I get unable to execute /tmp/share/adb: No such file or directory.

But I am connected to the share on my phone and see all of the files there. I am sure this might be easy for some else to help me.

Thanks!

EDIT: I was able to fix this issue with Youngguns post about installing the android tools adb. I am now officially rooted and Dan, Thank you!!!!!
[Motorola Atrix HD] sirreal12:
Where can we get the root from?

I am not seeing a download link or anything. Thanks
[Motorola Atrix HD] TenguSnake:
Read the instructions of the first post and you'll know where it is.
[Motorola Atrix HD] robertatl:
I get to the point of:

sudo /tmp/share/adb shell /storage/rfs0/pwn

and I get the following:

robert@ubuntu:/tmp/share$ sudo /tmp/share/adb shell /storage/rfs0/pwn

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

/system/bin/sh: /storage/rfs0/pwn: not found

Any ideas?
[Motorola Atrix HD] sickkside13:
Are u using a live CD or u have already install ubuntu 12.10

ATRIX HD running BATAKANG 1.10
[Motorola Atrix HD] nkhater:
I am getting the same thing for two days and several machines, running live CD and or USB :crying:
[Motorola Atrix HD] sickkside13:
Try between 32bit and 64bit

ATRIX HD running BATAKANG 1.10
[Motorola Atrix HD] mattlowry:
i run this command: sudo gedit /etc/samba/smb.conf

i get this: sudo: gedit: command not found

now i have found the file using the explorer can i use plume to edit this file?

edit: i am using mint 14

pluma is opening it as read-only so i cannot edit. anyone have a suggestion i am stuck at this step
[Motorola Atrix HD] nkhater:
I tried 32Bit, no Dice
[Motorola Atrix HD] LeGenDz R3DeaDz:
Try with ubuntu 12.10 with a usbstick it<s working like a charm. I used 12.04 lts and 12.10 on a live cd and I had many error but when i tried with a usb stick it has work the first time.

sorry for my bad english.
[Motorola Atrix HD] sickkside13:
I see well try pen drive on a USB stick with Ubuntu 12.10 64bit and on a CD try Ubuntu 12.10 32 bit . Fallow carefully the steps I suggest to copy and paste each single code line DO NOT COPY MULTIPLE CODE LINES .

ATRIX HD running BATAKANG 1.10
[Motorola Atrix HD] Youngunn2008:
If you're using mint then you don't have gedit installed as that is a GNOME utility. Just use a notepad type app to edit it.

Sent from my MotoAHD Maxx
[Motorola Atrix HD] nkhater:
I tried your method, not working, same error

/system/bin/sh: /storage/rfs0/pwn: not found
[Motorola Atrix HD] Youngunn2008:
Just to verify, you are plugging in your phone via USB when trying this command right?

Sent from my MotoAHD Maxx
[Motorola Atrix HD] nkhater:
Yes sir, and I see the Android Debug icon on the phone when doing so, so I know it is in, similarly when in VMware, I see the phone icon pops up, and when using VirtualBox, all failed
[Motorola Atrix HD] wataylo:
Rooted in 10 minutes

Simple procedure. Many thanks, been waiting a while (1 mo seems forever for former Captivate owner) for this. Took only 10 min on my Ubuntu 10.04 Laptop. Great & Cheap phone now that it is rooted.
[Motorola Atrix HD] robertatl:
I tried to use the USB pen drive using the 32bit version of Ubuntu and I'm still getting the same thing./system/bin/sh: /storage/rfs0/pwn: not found.
[Motorola Atrix HD] wataylo:
Could samba share be mounted on rfs1 or rfs2? You could try that instead of the rfs0 directory. Replace 0 with 1 or 2. Or else samba share isn't mounted anywhere, could be IP/Networking issue geting samba share mounted. You can see the files right in the Files app (like pwn adb etc.) After you connect to Samba via the Files app and open the folder, at the top it says where it is mounted. Mine says storages>storage>rfs0.

WT
[Motorola Atrix HD] nkhater:
I see the files in samba, I am using Astro File Manager

How do I know the complete path on my phone .i.e. storages>storage>rfs0
[Motorola Atrix HD] wataylo:
You should have a built in app named Files. Use it instead of Astro. I never use Astro so don't know if it would work or not.

WT
[Motorola Atrix HD] neoriix:
Same problem here, somebody could help us please? :)
[Motorola Atrix HD] Youngunn2008:
To me it sounds like your not actually following the instructions. He says to use a live disk or actual install and you're using VMware. He says to use the built in file manager app and your using astro. Just saying.

Sent from my MotoAHD Maxx
[Motorola Atrix HD] robertatl:
Spend all afternoon but I finally got it :laugh: You have to use the build in "Files" app to add the remote storage. There you will it mounted correctly.
[Motorola Atrix HD] Youngunn2008:
Good. Following instructions to the tee is the key.

Sent from my MotoAHD Maxx
[Motorola Atrix HD] cjones277:
Worked for me. Windows 8 Pro running an existing Ubuntu 12.04 64-bit VirtualBox machine.

NOTE: I had to re-flash the 4.1.1 firmware in RSD Lite before it would work. Before I did this, the exploit would return "Root Complete", but I did not have root. Strangely, I could su in adb shell though and get the # prompt.

This may have been related to my attempt early on to return to ICS (Unsuccessfully, of course) and I was stuck with having to select "Normal Powerup" every time I rebooted. I re-flashed JB to fix this.

After flashing the JB firmware, I setup the samba mapping and ran the exploit immediately (didn't even bother setting up google). Worked first time.
[Motorola Atrix HD] nkhater:
Dude, you the best, it worked, I was using Astro File Manager, thats why i never worked, I had to use the app Files, then it worked

ubuntu@ubuntu:/tmp/share$ sudo /tmp/share/adb kill-server

ubuntu@ubuntu:/tmp/share$ sudo /tmp/share/adb shell /storage/rfs0/pwn

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

[+] Rooting complete!

ubuntu@ubuntu:/tmp/share$

---------- Post added at 10:14 PM ---------- Previous post was at 10:13 PM ----------

Let me be the first one to officially thank you
[Motorola Atrix HD] robertatl:
Where did you get the 4.1.1 firmware for RSD? I'm in the same both with having to select the 'Normal Powerup' every time I reboot.

Thanks
[Motorola Atrix HD] cjones277:
http://xdaforums.com/showthread.php?t=2057078

Be sure to get the XML file as well and replace the one in the zip before flashing. I used RSD Lite 6.1.4
[Motorola Atrix HD] robertatl:
Worked perfectly! Thanks again :D
[Motorola Atrix HD] Duzzii:
No such file or directory

I have followed the instructions step-by-step perfectly and I keep getting this error:

sudo /tmp/share/adb kill-server

sudo: unable to execute /tmp/share/adb: No such file or directory

Can someone help me?

I'm using the built in File Manager and it says 'Remote storages > storage > rfs0' at the top

Also, my device is plugged in, in 'Debugging Mode'.

Any assistance would be great, thanks :)
[Motorola Atrix HD] Youngunn2008:
i have no idea why people keep getting this error for no such file or directory.
[Motorola Atrix HD] Duzzii:
I can tell you I've got the latest Ubuntu installation installed, but no luck. It's installed on an external drive, but that shouldn't matter should it?
[Motorola Atrix HD] Youngunn2008:
try typing this:

sudo -l
/tmp/share/adb kill-server
[Motorola Atrix HD] Duzzii:
Tried... but it just starts a new line, not actually executing anything :(
[Motorola Atrix HD] Black_halo:
Replace what xml?
[Motorola Atrix HD] neoriix:
When you get in that step try only writing "adb kill-server", if you get that error (I think you are using Ubuntu 12.10) just open a new terminal window and insert the following script

sudo apt-get install android-tools-fsutils

Wait for the ADB drivers get installed in your PC, then just go back to the first terminal and try the "adb kill-server" command without the "sudo /tmp/share/adb" again, that should resolve the "no such file or directory problem"

I hope it works :)

Any problem send me a PM and I can help you :D
[Motorola Atrix HD] Youngunn2008:
Oh I'll bet I know what's going on... They need to set their path for terminal to make these commands executable. Unfortunately that's kind of geeky and hard to explain.

Sent from my MotoAHD Maxx
[Motorola Atrix HD] Black_halo:
Im still willing to try if you can give me instructions.
[Motorola Atrix HD] neoriix:
I was a reading a lot about this error, and I read something about that Ubuntu 12.10 doesn't support the installation of ADB with the same process that use in 12.04 and other Linux distributions, I think is the only way to install it in the latest Ubuntu distribution, just installed and it works like a charm

Sorry for my bad english :)

Post your problem to help you each other, maybe some of the user have the same problem and could resolve it for everyone
[Motorola Atrix HD] Duzzii:
Sorry to bother you again but I can't thank you enough :)
[Motorola Atrix HD] Black_halo:
Im still having the adb kill-server no directory issue. Im booted into Unbuntu 12.10 so is there another Unbuntu Os I can put onto my liveusb?
[Motorola Atrix HD] Youngunn2008:
Try 12.04 LTS

Sent from my MotoAHD Maxx
[Motorola Atrix HD] neoriix:
The error about "No directory" is because in latest version of Ubuntu (12.10) the ADB (Android Debug Bridge) drivers are not installed, and the only way to install it (at least the way I did it)

# Open a new terminal

# Insert the following command

sudo apt-get install android-tools-fsutils

# When the process are done, reboot the Ubuntu (I don't know if is necessary but I did it)

# Open the terminal again and you can start in this step (I start from this and don't have any issue)

cd /tmp/share
wget http://vulnfactory.org/public/motoshare.tgz
tar xvf motoshare.tgz
sudo chown root:root pwn
sudo chmod 6755 pwn

# Connect your phone with de USB Debugging Mode activated

# Type "adb kill-server"

# Type "adb shell /storage/rfs0/pwn"

That's the method I followed to make my AHD works 'cause Ubuntu 12.10 was a really pain in the back :silly:

I hope it works

Sorry for my english :eek:
[Motorola Atrix HD] Android Pizza:
Thanks for the new exploit!

I have never used Ubuntu before though, and will probably set both my phone and computer on fire.

Just kidding, doesn't look that difficult. I'll figure it out.

One more thing, my phone is currently running a debloated ICS. I know that I can't get an OTA update if system files are missing, so...

Could someone (preferably on ICS) be kind enough to provide your system and vendor files? (Or would I be better off reflashing ICS and starting from scratch?)

Anyways, thanks again!

AndroidPizza
[Motorola Atrix HD] Black_halo:
I tried the adb get-android tools command on 12.10 and it didn't work. It said I need to enable a component called universe so I'm going to try 12.04 Lts now
[Motorola Atrix HD] shazaani:
Working Ubuntu 12.10 Live USB

Confirmed working with Ubuntu 12.10 32bit Desktop live USB. Got root! Thank you so much!

I used YUMI from Pendrivelinux.com to create a live USB flash drive of Ubuntu 12.10. I ran Ubuntu 12.10 from the USB then I followed the instructions on the first page and I got root.

Very easily done! Thanks again for the root exploit!
[Motorola Atrix HD] Youngunn2008:
Lol that made me laugh. Ya just rsd fresh and root from there.

Sent from my MotoAHD Maxx
[Motorola Atrix HD] Black_halo:
How did you do that???? We had the same issue so how did you do it? It may fix my issue.:p
[Motorola Atrix HD] neoriix:
I think he follow my method :)
[Motorola Atrix HD] sickkside13:
Lol

ATRIX HD running BATAKANG 1.10
[Motorola Atrix HD] mrmead2:
is there an answer for this i have the same issue ...it installed Supersu but i get"There is no SU binary installed, and SuperSU cannot install it. This is a problem!"

Thanks for any help
[Motorola Atrix HD] brett_day:
When that happened to me, I just rebooted the phone, then once rebooted I ran Super SU again and all was good
[Motorola Atrix HD] robertatl:
Not to confuse this thread with another. This is for correcting the reboot issue I was having.
[Motorola Atrix HD] mrmead2:
:confused:

Weird I rebooted and its still not working ....Everything went smooth until I started SuperSU.

Any other thoughts are greatly appreciated.
[Motorola Atrix HD] Youngunn2008:
I've had issues with super su in the past not wanting to update binary. Download superuser from market and try that

Sent from my MotoAHD Maxx
[Motorola Atrix HD] mrmead2:
I downloaded Superuser from market...still no luck.:confused:
[Motorola Atrix HD] Black_halo:
Any ideas why my root disappeared after reboot? Supersu nor superuser will update the binary.
[Motorola Atrix HD] Duzzii:
I'm doing a video tutorial, if you'll be patient I should be done within 2 hours :)
[Motorola Atrix HD] nkhater:
Do you have Voodoo OTA root keeper installed ?