yashsingh1/xdaforums huggingface dataset:
[Motorola Atrix 2] yafonda:
You guys are really going back. I started programming in BASIC on a Tandy 1000. For some reason I thought the mainframe was here to stay, so I have been programming in COBOL for about 15 years. I am just now learning C# and .Net.

Jim, I found out the Motorola drivers didn't install correctly, so I re installed them.This isn't explicitedly said in the noob section, but if I revert back to 2.3.5, will that wipe all the data and apps from my phone? Thanks again!
[Motorola Atrix 2] jimbridgman:
Yes it will, and I would not back them up, because going back and then forward and doing a restore on top, might leave you with oddities. I would just put anything "important" on your sdcard, sync your contacts with google, get an sms backup util, and back that stuff up to your sdcard. Pull your sdcard out of the phone, then flash the fxz.
[Motorola Atrix 2] snow4less:
Just reflashed my Atrix2 back to 2.3.5 today and use the 1-click process to root. It works perfectly. thanks for the info.:)
[Motorola Atrix 2] Asmodae:
Ah yes, tape drives, those were fun (/sarc). Peek and poke to get basic stuff done, like load a program! I too learned programming on a TRS machine. TRS-80 Coco II. You guys are reaching back a ways there.
[Motorola Atrix 2] mtnlion:
program cartridges half the size of an 8track.After Jim and I got on this subject I called my Dad to see whatever happened to it. He STILL has it! Its on the shelf in his storage shed.
[Motorola Atrix 2] chan32167:
well here is root for 2.3.6 thx goes to Dan Rosenberg... i just tested it and my atrix 2 2.3.6 is rooted...

he is asking for donations for the red cross, please donate if you can...

wepay.com/donations/droid-4-root-bounty

this is only for windows, but i guess you can get the instructions from the .bat file and do the same in any console

by the way it is supposed to be a universal motorola root method...
[Motorola Atrix 2] dk-v1:
Has anyone here tested this out?

Just slightly cautious about downloading/using a file on my Moto that's called, "motofail"...
[Motorola Atrix 2] MagicXB:
+1. I'll wait for someone else to use it before I jump in. :)
[Motorola Atrix 2] cogeary:
It looks promising... I hope it's not just some renamed zergRush XD. However it's a lot bigger so I don't think it is.

I'm going to see what this thing can do :). After a Nandroid backup, while in airplane mode, just to make sure it doesn't do anything malicious...

however the naming shouldn't worry you. It's supposed to make Motorola Android phones fail... that's how we root. There has to be some or other security hole that can be exploited in order to mount /system as rw and push root files over...

and I'm sorry I'm ranting. I just typed like 10 paragraphs on my phone and I've had too much sugar. I'm going to go backup now :).

EDIT it's backing up now. However I just looked at the site chan got it from, it's legit... that guy's good. He's posted some other interesting articles about Android hacking that I had read (and then forgot XD) in the past... I don't even know how I encountered that website before...
[Motorola Atrix 2] MagicXB:
Thanks for taking the plunge for all of us. :) Let us know how it goes!
[Motorola Atrix 2] cogeary:
It works great! Successfully rooted an unrooted 2.3.6.

Here are my personal root/unroot scripts that will be used in the Megatool (when it eventually is released): View attachment 2.3.6Root.zip

Thank you chan32167 for testing this for Dan Rosenberg and posting it here!
[Motorola Atrix 2] MagicXB:
HUZZAH! I have my root back! :D

Thanks to all of you. And for all who are wondering, I just used cogeary's personal root/unroot scripts and they work like a charm. :)
[Motorola Atrix 2] kojitabe:
Can you tell me what should i do with these files?

Should i update first to 2.3.6 or do this method first?

Thanks
[Motorola Atrix 2] cogeary:
Install the OTA and the download the 2.3.6 root zip. Make sure you have the right drivers. Connect your phone to your PC. Unzip the file and then double-click "Click-To-Root.bat".
[Motorola Atrix 2] farshad525hou:
This should be posted to the OP!
[Motorola Atrix 2] isail:
It does work! Tested on ME865@2.3.6(NOT MB865). Great job!
[Motorola Atrix 2] dk-v1:
2.3.6Root Verified and working!

Thanks to those who posted.

EDIT: Update - WiFi seems to not be working randomly now. Phone is laggy and unresponsive sometimes. So far, not a good decision to root...
[Motorola Atrix 2] JRW 28:
Has been added to the Beginners thread. Thanks Guys for making sure it worked!!
[Motorola Atrix 2] :
@cogeary 's method also worked for me. So relieved to have root back again - my phone feels like my phone again!
[Motorola Atrix 2] Anfeldt24:
For your help cogeary, I want to send you a donation. How can I do this? I do not see the donate button.
[Motorola Atrix 2] garylor:
It works well on my 2.3.5 Razr, Thanks a lot!! :)
[Motorola Atrix 2] chan32167:
i really think you should donate to the guy that found the exploit... Dan Rosenberg.... his webpage is vulnfactory.org , not sure tough if he is taking donations now... he was initially for the red cross
[Motorola Atrix 2] jimbridgman:
Actually cogery has made a very noob friendly utility to root our devices, and he does deserve some love for that... you are obviously new here, with the atrix 2. So, go start poking around and get used to whom our devs are there are only 3 of us, you don't want to piss those off that do the real work on THIS phone, when I got this phone on the 3rd day it was out, I looked for every way to hack this thing and I was amongst some really good devs but, unfortunately they were all driven off because someone pissed them off, so be careful what you say in here, and whom you might effect. And cogeary is our newest dev in here, and we have accepted him, and his great contributions to THIS phone. So, don't drive him off! I understand that this guy made this utility and wants donations to the red cross, but cogeary has taken his utility and made it even better, for us. He is also working on a java gui that does ALL of the best things for this phone and made it very n00b friendly.
[Motorola Atrix 2] Jimmy273:
I'll update the first post with this new method soon!
[Motorola Atrix 2] jimbridgman:
Get with cogery, and see if you can use his batch file, it is very n00b friendly. I will also a sh file for those on macs and Linux that is based off the new 2.3.6 method, that I will PM you, in the next few days.
[Motorola Atrix 2] chan32167:
well not really new on here, i have being lurking xda for a few years(got atrix 2 some time ago too)... i do see your point tough, but you fail to see mine... not my intention to drive devs off, but taking donations for other's work(and yes i saw the batch file he is using motofail )... big no no for me...

well that is what i think... not saying he is taking those donations...
[Motorola Atrix 2] jimbridgman:
I see what you are saying, but to call that out when cogeary was the one right here, who helped that person out and made it easier for that person to perform the hack, not Dan who created the "original" hack, is not very cool.

So what you are telling me is that those of us that do have to re-engineer things for THIS phone, and get donations should not accept them because the original hack was performed by someone else for another phone, and never really "meant" for this phone... And that our time is worthless.

Wow you must really not like those hacks and scripts to make YOUR life easier on THIS phone, that have been reversed engineered from other phones and brought to this one.

As long as people give credit where credit is due, as it STATES in the XDA rules, that is perfectly acceptable. I saw no where, that cogeary took credit for the "orginal" hack, and only stated that it was his script that used the hack.
[Motorola Atrix 2] Anfeldt24:
I do not own an atrix 2. It was a root for a friend and he was successful so I want to send a token of my thanks to him for helping help my friend get his root back after the OTA update.
[Motorola Atrix 2] JRW 28:
I don't see any DONATE TO ME BUTTON in his profile so where do you see him taking donations?

As for the BIG NO,NO part I guess we shouldn't be using bootstrap or safestrap since they weren't intended for our phone, but yet we worked directly with the creators to get them modified for this phone.

I would hate to see where this community would be if everyone wasn't allowed to use other people's work. And we have ALWAYS given credit where credit was due!!!
[Motorola Atrix 2] cogeary:
Just wanted to clear some stuff up. I am not taking donations... I don't deserve a whole lot of credit. I had written some batch files for rooting 2.3.5 that I modified to root 2.3.6 using Dan Rosenberg's new exploit intended for the Droid 4. If you take a look at the batch files, I gave credit where credit was due.

Without my batch files, people could still root the A2. Without Dan Rosenberg and the Revolutionary Team, we would not be able to root the A2.
[Motorola Atrix 2] chan32167:
where do i say he is taking donations... people should learn to read... and jim, sorry to bring cogeary down from the pedestal where u had him... but yeah he did not help Dan do anything... the batch file and everything was provided by Dan... and his original files did the job quite good, so dunno where u got your info... so lets get this stuff straight... no i didnt say he was taking donations, and yes i did say taking donations based on others work when you did nothing... is a big no no

vulnfactory.org/blog/2012/02/11/rooting-the-droid-4-a-failed-bounty-experiment/ so that you educate yourself jim

Edit: anyhow this is my last post about this, cause i might "scare off" some developers
[Motorola Atrix 2] jimbridgman:
Hope you don't need help from me in here. I do take donations for my time on here, even If if is just to answer someones questions about another person's work that is just not understood, and yes I do re-engineer other peoples work if it needs it. I never put cogery on a pedestal, just sticking up for him, since he is one of the devs in here.
[Motorola Atrix 2] SeekerLoki:
I think you deserve credit. You made it work for the A2. You've put time and effort in to help us. I for one really appreciate all of the work from ALL of our A2 devs.

Thanks one and all!
[Motorola Atrix 2] mtnlion:
your attitude and outlook plain sucks.why don't you make that your last post in the a2 forum entirely.
[Motorola Atrix 2] jimbridgman:
This was posted here before, you better be carful here, that was someone else's link..... LOL. go have some fun with an iphone, I think that is more your speed, or maybe better yet a windows mobile phone, heck Microsoft invented the words software piracy.

BTW, here is some of cogery's work, which is what started all this crap:

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

---------- Post added at 09:06 PM ---------- Previous post was at 09:04 PM ----------

Yeah! I second that.
[Motorola Atrix 2] Anfeldt24:
I never meant to cause a storm of rage. I never looked into who actually did the work. I was doing a friend a favor.

Well thanks for the FREE HELP.
[Motorola Atrix 2] farshad525hou:
Don't apologize you did nothing wrong. If you so choose to make a donation cogeary deserves every penny for helping you :)

@chan32167 NO WHERE in this thread did cogeary take any credit for the original 2.3.6. He just helped another person use it. If you don't like the way we "do" things here just leave. Please.
[Motorola Atrix 2] Anfeldt24:
I am not apologizing for anything I did wrong.

I just donate to those that help make my life easier so those that help me continue to help others free of charge.
[Motorola Atrix 2] cryhavok13:
I don't want to talk to you anymore. I fart in your general direction. Your mother was a hamster and your father smelled of elderberry's. "In a french accent"
[Motorola Atrix 2] megabiteg:
FYI

This works for Linux as well. Just open the .bat file and follow the commands manually in the same order and you'll get the same result. I might build a shell script to complement this one and it could probably work cross platform.

Thanks!!!
[Motorola Atrix 2] jimbridgman:
I already have a shell script created for linux and mac, and I will have Jimmy237 add it to the OP...

Thanks though.
[Motorola Atrix 2] jbjmed:
Worked. Thanks a bunch!
[Motorola Atrix 2] dk-v1:
Before starting a new thread, thought I'd ask here first.

Is the any particular reason my phone (2.3.6 rooted, stock rom) is running slower post-root? Ill post my antutu results later.
[Motorola Atrix 2] farshad525hou:
There should be no reason. Obtaining root should have nothing to do to with how fast your phone runs.
[Motorola Atrix 2] dk-v1:
That's kinda what I was thinking.

Pre-root score was above 5200, now I'm barely getting 4300. Lost about 100mb of ram as well.

Haven't changed anything else either.

What other info would be helpful in finding an answer?
[Motorola Atrix 2] cogeary:
I just tested motofail on 2.3.5, and it works!

Goodbye, zergRush...
[Motorola Atrix 2] JRW 28:
Go to the beginners thread and perform the steps for rooting 2.3.6 instead of 2.3.5. And while you're there read the rest and it should help you with anything else.
[Motorola Atrix 2] shinydesert:
I used this video to gain root access:

How to Root the Motorola Atrix 2 running Android 2.3.6

Thanks for your time JRW 28
[Motorola Atrix 2] DarkJatrix:
+1.
[Motorola Atrix 2] throwawayaccount9500:
Thanks a lot, that helped a lot
[Motorola Atrix 2] Obievil:
Oui! What a mess. I need to post this here for future people.

My wife's Atrix 2 was on 2.3.5. She installed the 2.3.6 OTA. The problem with this is that it effectively soft bricked the device. it still worked, but Root was gone, but not only gone, we could not uninstall Superuser.apk. I spent at least an hour trying to resolve this through shell and ADB.

We ended up doing a manual back up. using the guide to revert the device to 2.3.5 stock, Then doing the OTA push and then re-rooting the device.

For the love of all that is holy. DO NOT do the Stock OTA when rooted.
[Motorola Atrix 2] shabbypenguin:
hey, not to knock anyone as thats not my intention, but what exactly had to be "re-engineered" for the A2?

http://pastebin.com/ukqyyyvu

http://pastebin.com/qvw2MCaZ

as far as i can see just the heading of it was changed. on which i dont blame cogeary one bit, ive renamed my zergrush scripts plenty of times so that noobs dont go "ZOMG I DONT HAVE X PHONE!?!?!?!!?" but i guess i dont understand your stance on how it needed to be rengineered etc. the script from bliss woulda worked just fine, just as would any one of the zergrush scripts or superone click would have worked on 2.3.5

again please dont take it the wrong way, im not trying to discredit anyone...
[Motorola Atrix 2] floridaboy69:
Hey I've been having the same exact problem, becuase I was unaware of the OTA update and now its unrooted, and super user just denies everything, how do I fix this?
[Motorola Atrix 2] rob219:
did you try the 2.3.6 root zip in the first post? You should download it and try running the root command. If that doesnt fix it run the unroot command and after it reboots run the root command again and you should be good.
[Motorola Atrix 2] floridaboy69:
Ive tried thats, its just starts the .bat and reboots and goes through as it normally should but absolutely nothing changes, updated all the drivers and watched a video of a guy rooting it on 2.3.6. Nothing has worked and super user just denies everything because the system will not root!

---------- Post added at 11:42 AM ---------- Previous post was at 11:06 AM ----------

And.....

These are my results and no matter what I do (I even factory reset it!). This is maddening, its like superuser gets locked in the programs and just starts denying any program the needs to use it!
[Motorola Atrix 2] SeekerLoki:
I believe the exploit was successful, but you have a file in the way that causes su not to be setup correctly. (I'm guessing based on your log and the way the original exploit works). Try Something like this:

1. Open "ADB shell" to phone (from the exploit directory)

2. type in the ADB shell "/system/xbin/su" (prompt should now end in # instead of $)

(only continue if the prompt changed)

3. type in the ADB shell "rm /system/bin/su"

4. "ln -s /system/xbin/su /system/bin/su"

This will use the setup of the new exploit. I believe you could replace setup 3 and 4 with "chmod 6755 /system/bin/su" and that would work as well. Give it a shot and let me know if it works.
[Motorola Atrix 2] floridaboy69:
Thanks, I'm pretty bad with command prompt, could you write out the commands that I enter in order?
[Motorola Atrix 2] SeekerLoki:
I'll try... You will need to know the directory path to either the exploit directory or the android SDK with platform-tools installed. adb.exe is part of the SDK platform-tools and was also included in the exploit zip file. Replace **Directory where adb.exe lives** with the correct path and you should be set.

1. cd **Directory where adb.exe lives**

2. adb shell

3. /system/xbin/su

4. rm /system/bin/su

5. ln -s /system/xbin/su /system/bin/su

Good luck!
[Motorola Atrix 2] floridaboy69:
Ight, I typed in everything and it kept say chmod failed or rm failed because it was a read only file type.

What do....
[Motorola Atrix 2] SeekerLoki:
Sorry about that... I forgot an important step. After step 3 type:

mount -o rw,remount /dev/null /system

This will remount the /system partition read / write.
[Motorola Atrix 2] NaffyG:
<quote> Originally Posted by Asmodae View Post

Ah yes, tape drives, those were fun (/sarc). Peek and poke to get basic stuff done, like load a program! I too learned programming on a TRS machine. TRS-80 Coco II. You guys are reaching back a ways there.

program cartridges half the size of an 8track.After Jim and I got on this subject I called my Dad to see whatever happened to it. He STILL has it! Its on the shelf in his storage shed. </quote>

<Off Topic> YES I Still have 2 TRS-80 CoCo 3 machines! (128k baby!) I have one from the late 80's, and one that I recently picked up at a yard sale for $5, complete with spare tape drive, floppy drive, and a few game cartridges. For $5 I couldn't resist!
[Motorola Atrix 2] fadetoblack2104:
I have tried both methods several times each tonight and cannot seem to gain root access. I have even tried a factory reset on the phone. I have verified that unknown sources and usb debugging are both on and the phone is in charge only. The error I am getting using the manual mode is shown in the image attached.
[Motorola Atrix 2] fadetoblack2104:
And this is what I get with the one click method. I have tried both several times with no luck.
[Motorola Atrix 2] jimbridgman:
Are you on 2.3.6? If you are there is another method on the OP of this thread that is for 2.3.6. Go back to the first page of this thread, and download the root for 2.3.6.

The root you tried ONLY works on 2.3.5
[Motorola Atrix 2] fadetoblack2104:
Yeah, thanks for the response. I just realized my mistake and got it working just now. Guess sleep deprivation will cause that. . . lol.
[Motorola Atrix 2] :
so is there no problem running a rooted phone without any custom roms? Will I be able to get official OTA updates?
[Motorola Atrix 2] badbomb:
You can run the phone without any of the custom roms... root access is needed only to gain access to the system area of the phone...

you will be able to get OTA updates but the root will be lost once the update is applied... but no chance of that happening in the near future or atleast till you get a proper ICS update... :D
[Motorola Atrix 2] :
Ok so after updating to ics I gotta find another way to root right. ?
[Motorola Atrix 2] badbomb:
ya... as of now a one click method is available which works on ICS leaks(all versions) for the non AT&T Atrix 2 so should work for the official update as well... I am currently running the leaked ICS with root and have no issues... the files needed for rooting are available in this thread http://xdaforums.com/showthread.php?t=1740668
[Motorola Atrix 2] :
K thnx. u have a link for that ics ROM?
[Motorola Atrix 2] badbomb:
http://xdaforums.com/showthread.php?t=1758824
[Motorola Atrix 2] HAYDENB:
I have a problem here. I flashed a different ROM a couple days ago but after a flashed it i somehow lost root in the process. I tried to re root the device but to no avail. I did a factory reset and i am still not able to achieve root.[*] Motorola universal root script by P3Droid

[*]

[*] This should work on most motorola phones

[*]

[*] Press any key to get this phone rooted !

Press any key to continue . . .

[*]

[*] Waiting for device...

* daemon not running. starting it now *

* daemon started successfully *

[*] Motorola Phone Connected...

[*] Starting the Root Process, Do Not Disconnect Phone...

823 KB/s (22776 bytes in 0.027s)

[**] Zerg rush - Android 2.2/2.3 local root

[**] (C) 2011 Revolutionary. All rights reserved.

[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.

[+] Found a GingerBread ! 0x00016118

[*] Scooting ...

Unable to open log device '/dev/log/main': No such file or directory

Unable to open log device '/dev/log/main': No such file or directory

[*] Sending 149 zerglings ...

Unable to open log device '/dev/log/main': No such file or directory

Unable to open log device '/dev/log/main': No such file or directory

[*] Sending 189 zerglings ...

[-] Hellions with BLUE flames !

[1] Segmentation fault /data/local/zerg

[*] Waiting for phone to reboot.

* daemon not running. starting it now *

* daemon started successfully *

[*] Installing Root Packages ...

remount failed: Operation not permitted

failed to copy 'su' to '/system/xbin/su': Permission denied

Unable to chmod /system/xbin/su: Operation not permitted

link failed File exists

failed to copy 'busybox' to '/system/bin/busybox': Permission denied

Unable to chmod /system/bin/busybox: Operation not permitted

busybox: /system/xbin/add-shell: Permission denied

busybox: /system/xbin/ar: Permission denied

busybox: /system/xbin/blockdev: Permission denied

busybox: /system/xbin/iostat: Permission denied

busybox: /system/xbin/mpstat: Permission denied

busybox: /system/xbin/nbd-client: Permission denied

busybox: /system/xbin/pmap: Permission denied

busybox: /system/xbin/powertop: Permission denied

busybox: /system/xbin/pstree: Permission denied

busybox: /system/xbin/remove-shell: Permission denied

busybox: /system/xbin/tune2fs: Permission denied

2619 KB/s (785801 bytes in 0.293s)

pkg: /data/local/tmp/Superuser.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

cannot create /data/local.prop: permission denied

[*] Rebooting...

* daemon not running. starting it now *

* daemon started successfully *

[*] Your Phone is Rooted !

[*] Press any key to exit.

Press any key to continue . . .

This is what i got. Any ideas
[Motorola Atrix 2] cogeary:
Make sure you are using the 2.3.6 root method, not 2.3.5. Here's the link to the right attachment.
[Motorola Atrix 2] HAYDENB:
But i am on 2.35

---------- Post added at 10:27 PM ---------- Previous post was at 10:21 PM ----------

Also when i download the update. The install will fail
[Motorola Atrix 2] cogeary:
Are you sure? All the current ROMs for the A2 are 2.3.6-based. But regardless, the exploit for 2.3.6 works on both 2.3.6 and 2.3.5 but the 2.3.5 exploit only works on 2.3.5.

PS. If you have never officially updated to 2.3.6 because it always fails then I highly recommend that you:

-Flash the 2.3.5 fxz (backup your data first)

-Try this method to apply the 2.3.6 update

-Root & restore you data

-Flash the ROM of your choice
[Motorola Atrix 2] HAYDENB:
When i check the android version it says 2.35.

---------- Post added at 11:11 PM ---------- Previous post was at 10:39 PM ----------

It's rooted now
[Motorola Atrix 2] xdduser:
Hi

How to root is fine, but can someone tell a noob "why" will he want to root his 2.3.6 laden atrix 2? I mean what new features will I get if I root it? Ability to install some new games or what? Since ICS is not out yet, so 2.3.6 will all it run, if i am not wrong.