yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Jack_!:
Atleast mine keeps bugging me to update.

*sigh* just installed Gladiatrix yesterday. So i'm guessing that if i update on top of that, it will fail?
[Atrix 4G Android Development] donbar85:
I'm pretty new to Android (two weeks now), and want to ensure I don't end up with a bricked device, so I apologize for the 'noob' question here. I rooted with SuperOneClick. Has anyone else used this script successfully with that root method, or will it only be successful with aRoot?

Also, if I need aRoot, can I run it over top SuperOneClick, or would it be best to unroot, run aRoot (or let the script root) and then run the script?

I appreciate all the hard work I've seen done in these forums and appreciate any help anyone can offer.
[Atrix 4G Android Development] CHRIZDARK:
after several atemps, finally wooorkssss!!! thanks!!!
[Atrix 4G Android Development] marlasinger:
Not sure if you're asking the right question... but if you rooted with SuperOneClick, you will be able to update to 1.57, but it'll break your root.

You won't be able to use the method outlined in the original post of this thread once it is upgraded so you have to revert to 1.26.

What I did in order to get root access with the update 1.57 was:

1) Flash SBF using this method (you need to do some back ups if you haven't already)

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

2) Then BEFORE running the update (assuming you signed up for it), run the script in the original post to re-root phone. SuperOneClick will not work after this update.

Honestly, if the multitouch screen bug isn't bugging you (haha see what I did there?) I'd hold off on any flashing/rerooting and wait.
[Atrix 4G Android Development] DJQ1212:
Yes you may safely run aroot over superoneclick. Aroot is the recommended method because it cleans up a lot of things Superroneclick does.
[Atrix 4G Android Development] donbar85:
Thank you both. I believe I will try running aRoot over my SuperOneClick root and then try out the script. Thanks again!
[Atrix 4G Android Development] Mav3481:
I was rooted originally with SuperOneRoot and re-ran aRoot last night. That went successfully.

I then ran the scripts in this per the directions. It worked, however I had to disconnect and re-connect the USB cable for the After script. Other than that, watch the screen to be sure to hit "Allow"
[Atrix 4G Android Development] wicked_beav:
Also, this method we are using to root... i.e. keep root on 1.57, is it pretty much like Adeo in the fact that we'll have root, sideloading, possibly reboot option?
[Atrix 4G Android Development] shawnbuck:
Its not :(

If your on Adeo, the update will fail because the checks fail. You'll need to flash back to a clean version of 4.1.26 fist.
[Atrix 4G Android Development] plmiller0905:
I flashed back to 4_1.2.6 and when I run the (before you update) bat file, I get the message that CMD window opens up and i get the message that it's unable to detect device over adb.

I have the phone setup according to the OP...any ideas?

I am rooted and verified with Titanium Backup

I am plugged into the back of my computer

I am in Debugging mode

Drivers are properly installed

I have also restarted the computer

and still I get the message that: C:\Users\The' is not recognized as a internal or external command, operable program or Bat file

Unable to detect device over adb
[Atrix 4G Android Development] wicked_beav:
Ok... my bad, you misunderstood what I said. After flashing back to 1.26 and running your scripts, updating to 1.57 and running the additional scripts... will we have root, sideloading and reboot options "LIKE" Adeo as an end result.

Or will it just keep root? Basically, just wanting to know what is all included with this script.
[Atrix 4G Android Development] LancerV:
Can someone copy the commands from the afterupdate.sh ?
[Atrix 4G Android Development] TheRevJosh:
Same issue for me. I've followed all the steps, but still unable to detect device.
[Atrix 4G Android Development] donbar85:
It worked like a charm. I ran aRoot over SuperOneClick, ran the first part of the script, updated, ran the afterupdate portion, and tested with TiBU and a success! Also, I was able to keep my USB setting to "none" throughout the entire process.
[Atrix 4G Android Development] CHRIZDARK:
install direct in C, not in any other place
[Atrix 4G Android Development] LancerV:
Try copying it directly over to the c:\ drive Ive noticed that a space in a directory causes it not to work
[Atrix 4G Android Development] plmiller0905:
I did that, now I get the message "Unable to chmod psneuter"
[Atrix 4G Android Development] LancerV:
When you go to your phone notification area what shows up?
[Atrix 4G Android Development] plmiller0905:
Nope...nothing shows up
[Atrix 4G Android Development] LancerV:
I mean what does it say? Should sya like usb connection etc
[Atrix 4G Android Development] plmiller0905:
Oh ok...it says:

USB debugging

USB Connection ---None
[Atrix 4G Android Development] TheRevJosh:
Moved to C:\ Still unable to detect
[Atrix 4G Android Development] droidfoshizzle:
Wow that was quick! Was wondering how long it will take to root the new update.. The devs here are the best! Seriously some of you guys should work at Motorola if you aren't already.
[Atrix 4G Android Development] edansbro:
Shawn: I'm having the issue where the OTA won't install because I previously installed Gingebrlur, and, although I thought I did a clean uninstall, remnants of the Webtop mod seem to be screwing it up. Regardless, for what you provided, is this a solution that should work for me, or would you still say I need a fresh SBF flash?
[Atrix 4G Android Development] Mav3481:
Can you check device manager to see if any of the connection pieces for your phone do not have the driver loaded?
[Atrix 4G Android Development] darklipslide:
OK, Just ran through the paces. Looks like I still have root!

Much love to everyone that helped make this possible.

OTA was pushed to my AT&T Atrix 4G unlocked to Fido in Canada, no problems whatsoever
[Atrix 4G Android Development] ricethief:
Thanks to all who worked on this. I'm not at home so can't test it right now. I was wondering if this allows the webtop hack to work again. Anyone tested this?
[Atrix 4G Android Development] sprinkles:
download was successful. when it goes into recovery, i get the "!" and it gives me an error message regarding MagicSmokeWallpapers.apk

Error in /cache/blur_version.4.1.26.MB860.ATT.en.US.zip

Any help would be appreciated!

I am root, tried unrooting, and factory wipe.

thank you.
[Atrix 4G Android Development] plmiller0905:
Ok..I moved everything to my C drive and when I run the bat file now I get the message that unable to chmod psneuter. Anybody have any ideas?
[Atrix 4G Android Development] shawnbuck:
An SBF flash is the safest bet. Someone experienced a soft brick when trying to uninstall the webtop, which still meant an SBF flash. Before you do either, make sure to backup any important data.

Have you tried running the script as admin?
[Atrix 4G Android Development] NoNameAtAll:
I think I'm going to hold off now.

But good work. Glad to see there's still a way to get root. I'll just wait and see if an exploit to root is found rather than reverting. :P
[Atrix 4G Android Development] beazie0885:
Just a quick question, i currently have root on 4_1.2.6 no other mods,

i tried to install update after running beforeupdate.bat,

the update downloaded just fine and looked like it installed just fine as well until the phone froze at the android guy with an exclamation point triangle.

so i had to battery pull to get the phone operational again, checked in settings and im still on 4_1.2.6. i tried the process all over again and same thing happened.

anyone know what im doing wrong?
[Atrix 4G Android Development] ponty13:
Brilliant .. I just got the OTA update notice and wasn't sure what to do .. I'm so glad I found this post before I installed the update. I just ran it now and it works great! Thanks so much!
[Atrix 4G Android Development] plmiller0905:
Yes I have and I get the same result
[Atrix 4G Android Development] sabesh:
Which is recommended:

SuperOneClick?

aRoot?

Thanks.
[Atrix 4G Android Development] TheRevJosh:
All drivers are loaded and up to date.
[Atrix 4G Android Development] davidlpotter:
How do you flash back to 4.1.26, will I lose everything? Sorry for being such a newb
[Atrix 4G Android Development] DJQ1212:
Make sure you backup everything that you would like to save.

Remove sd card and sim.

http://xdaforums.com/showthread.php?t=991072
[Atrix 4G Android Development] edansbro:
I can't even uninstall the webtop as I don't see it anywhere on the phone using Super Manager. In all honesty there's no REAL important data residing on my phone. Contacts are all in Google, and everything else is apps and whatnot, which are always retrievable. I am going to try without the SBF tonight, we'll see where it takes me. Thanks in advance.
[Atrix 4G Android Development] Raginggoat:
I am rooted with aRoot and did and SBF flash right before rooting. I have the device drivers installed and everything as well, but when I run the beforeupdate batch file, it says unable to detect a device over adb.
[Atrix 4G Android Development] shawnbuck:
Has anyone that has downgraded from 4.1.57 to 4.1.26 had trouble rooting again?

Thats usually a permission error. Try running the script as admin.
[Atrix 4G Android Development] fRenZy-_-:
Titanium backup doesn't seem to work! Also do we keep the. " unknown" thing allowed in superuser?
[Atrix 4G Android Development] Mav3481:
aRoot. You can run it over the top of SuperOneClick. I did that last night.

Did you try a different USB port? Try to switch USB mode to something other than None and then switch it back to None. I had to do this because the afterroot script wouldn't work.
[Atrix 4G Android Development] shawnbuck:
It sounds like su isn't working properly.

The unknown entry is adb shell. Its safe to get rid of unless you use su through adb shell a lot.

Can you download a mobile terminal from the market, and try running su?
[Atrix 4G Android Development] DeadBirdDog:
Flashed back to 1.2.6 and ran the scripts with only one minor issue. I forgot to allow SU permissions on the screen at the second command as the screen has timed out and I didn't see it. I'd suggest making the comments from this post:

http://xdaforums.com/showpost.php?p=12513077&postcount=176

part of the instructions on page 1 just to eliminate any confusion. Great setup and thanks for getting my root back. I will NEVER allow an OTA update without reading about it first.
[Atrix 4G Android Development] tacginc:
Use aRoot:D
[Atrix 4G Android Development] shawnbuck:
Have you installed the drivers for the Atrix? Also, what version of Windows are you running?
[Atrix 4G Android Development] Raginggoat:
That didn't work. It tells me the same thing.
[Atrix 4G Android Development] TardisPhD:
Noob needs clarification

I am running a 1.2.6 rooted with Superoneclick. Webtop Mod installed. no other apps other than that at the moment.

I would like to get confirmation on my steps to do this correctly.

1)	Uninstall webtop following the procedure Returning to stock here [MOD] Webtop Via HDMI Without a Dock - NOW SUPPORTS BELL ATRIX!!!

2)	Using Superoneclick launch and unroot phone.

3)	Run Aroot to root 1.2.6. following directions here [SCRIPT] aRoot for Atrix 4G [ root - init.d - sideloading - tethering ]

4)Follow procedure on page one of this Thread.

I will loose WebTop Mod for now

Enjoy

Or

1)	flash SBF following this procedure [GUIDE] Flash SBF to Motorola Atrix 4G

2)	Follow procedure on page one of this thread

I will loose WebTop Mod for now

Enjoy

Or are either one correct?

I look forward to learning through your knowledge and skill.

Many Thanks in advance.
[Atrix 4G Android Development] itguy28:
same here

im having the same issue, ive changed ubs ports, uninstalled n reinstalled the drivers, im using a windows 7 laptop, computer see my phone and i have tested it it out with gladiatrix install bat and it see the phone over adb but i didnt install it i just ran it and stopped it. i have ran beforeupdate.bat as an administrator even though i am a administrator. any idea!!!!!!
[Atrix 4G Android Development] kelmian:
Just to throw in my two cents... I reflashed the 4.1.26 onto my phone and followed all the steps... and I now have root on 4.1.57... big thumbs up to those who got this working...
[Atrix 4G Android Development] ahmarchi:
YES.. WORKED FLAWLESSLY!!!!! thank you guys
[Atrix 4G Android Development] Ririal:
I would say you'll need to reflash. If you don't know what mods you have, then you won't be able to uninstall them to make it work.

Are you deodexed or running any custom roms/webtop mods? They will prevent the update from working.

Are you running any roms or custom mods? They will prevent the update from completing.

aRoot. Nobody should be using SuperOneClick at this point.

unknown is safe to remove. Just make sure when you do anything requiring su access you hit allow on the phone when it prompts you.
[Atrix 4G Android Development] nboyanov90:
Hey guys,

I'm really new at this, I read over half of the pages but I'm not sure what I did wrong.

I did page 1 as follows:

I was already rooted with aroot,

ran before update and followed instructions, went fine, then ran the update and now when i run after update, i get permission denied on the second command it tells me to type in. Also I don't get a pop up on the phone asking to me accept permission.

Sorry if this question was asked already, I couldn't find it. Any help is much appreciated.
[Atrix 4G Android Development] ttccnn:
I use super one click to root before, can I still use this script to do the OTA and root?

thanx for everyone's help

(I use super one click, because aRoot does not work for me)

one more question, if I think I dont need root, it will be fine, can I just update, or I should unroot and then do the update?
[Atrix 4G Android Development] nsiti:
I can confirm that USB mode was preventing me from restoring root. Unchecking USB debug mode allowed me to proceed. Thanks to all that contributed.
[Atrix 4G Android Development] Dav5049915:
I saw you guys were working on the scripts last night. WHen i got up this morning i saw it was complete.

i flashed back to stock 1.2.6 and then rooted with aRoot.

then i went through the steps you outlined in the first post and everything is working great so far.

thank you for the hard work, it's greatly appreciated!
[Atrix 4G Android Development] TheRevJosh:
I've tried different USB ports, different USB modes, reinstalled the drivers, I'm running it as admin. I'm lost. This is my first Android phone and the first phone that I've rooted. I appreciate the help.
[Atrix 4G Android Development] sprinkles:
re rerial: not deoxed or running any mods. i used superoneclick to root if that helps/hurts
[Atrix 4G Android Development] Ririal:
It's possible the busybox mess superoneclick creates could be preventing the update. Run beforeupdate again and when it asks if you already have root, say no, it'll re-root the phone and clean up the superoneclick mess.
[Atrix 4G Android Development] DJ Yoshiman:
The afterupdate.bat doesn't seem to be working properly.

It recognizes the phone, but when I press any key to continue, it just boots up the beginning MS-DOS info (Microsoft Windows [Version yada yada] crap), and nothing happens. Tried all sorts of USB connection options and disabled USB debugging (except when doing that, it doesn't recognize the phone for adb options, obviously).
[Atrix 4G Android Development] davidlpotter:
What did you figure out?
[Atrix 4G Android Development] jkurl:
I couldn't get before update to work. adb wouldn't see my phone but when i did the manual way by entering in the commands it worked like a champ.

didn't even try afterupdate. just went back to the command line method. back to root and happy now.
[Atrix 4G Android Development] tchan012:
when you run afterupdate.bat it tells you the three commands you need to run (starting with adb.exe shell)

you have to manually type those three in - one at a time, in the order specified for it to work.

atleast that's what did it for me
[Atrix 4G Android Development] itguy28:
More Info

could you kindly tell us step by step what u typed so we can do the same please
[Atrix 4G Android Development] tonecreationz:
Well, this doesn't seem to work for me...

Here's what i did:

1) I flashed stock OLYFR_U4_1.2.6 SBF

2) Rooted with aRoot (confirm working with Root Explorer)

3) Ran beforeupdate.bat

4) Downloaded and Installed 4_1.5.7 update

5) Ran afterupdate.bat

6) Input the last three commands

- - adb.exe shell

- - /osh/sbin/frozenfish

- - ./data/local/tmp/restoresu.sh

This is the output after running afterupdate.bat and inputing the last three commands:

Checking device state...

Pushing restoresu.sh...

Now run the following commands:
--------------------------------
adb.exe shell
/osh/sbin/frozenfish
./data/local/tmp/restoresu.sh

Press any key to continue . . .
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

F:\Android\retainroot>adb shell
$ /osh/sbin/frozenfish
/osh/sbin/frozenfish
./data/local/tmp/restoresu.sh
./data/local/tmp/restoresu.sh
Permission denied
$ Restoring su ...

mount: Operation not permitted
cp: cannot create '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: Read-only file system
su restore complete

Enjoy!

mount: Operation not permitted

I don't have root...is there something I missed?

I really want to keep the flashing to a minimum, so if I could still get root without having to restart this whole process again, that would be great! Please let me know...
[Atrix 4G Android Development] humzat:
how do i get non market apps installed on 1.5.7
[Atrix 4G Android Development] funk21:
so if i want to flash back to stock, i should use this guide:

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

correct?
[Atrix 4G Android Development] rocketboy6885:
Using the script

When running before update.bat my terminal says "Unable to detect a device over adb" solutions?
[Atrix 4G Android Development] mscott998:
Backup for revert t 4.1.26

I updated mine last night because i didnt know it would break the root. I dont want to loose my applications and setting. Is there a way to back everything up to my SD card and then install the old version so i can root in the new update with the script file?

I want to be able to restore everything after.
[Atrix 4G Android Development] awdyo1:
Same with me...

I've tried different USB Ports, cycle Debug mode on and off, as the administrator and still no luck.
[Atrix 4G Android Development] sjroberts98:
my experience

Just to add in my experience. I was rooted on 4.1.26, ran the before script fine, but after the update couldn't get my Win7 laptop to recognize the device on adb.

I rebooted phone and laptop, and on the phone after reboot had to re-enable USB debug (I checked before the reboot, it was enabled).

After that, the phone was recognized and ran the after script and root was restored.

Cheers.
[Atrix 4G Android Development] Jiggah:
Make sure to look at the phone after input the second command. It'll ask for superuser access on the phone. You will need to allow it then run the last command. So, if you're phone is sleeping, you won't see the notification.

Make sure that the drivers are installed correctly and make sure that the phone is in usb debug mode. The update will reset the usb debug, so you'll have to go in and manually change it back. You might have to reboot or remove the usb from the unit after the inital flash and usb debug enabling, if you left the usb plugged in.
[Atrix 4G Android Development] Khalsa4G:
I get the same message...
[Atrix 4G Android Development] tonecreationz:
oh wow, didn't know that! I'm rooted! Thanks a lot!
[Atrix 4G Android Development] ka3yan:
@shawnbuck, You and the devs that helped you are freaking awesome! I followed the directions and it went off without a hitch. Thank you so much for your time and patience getting this root working!!!
[Atrix 4G Android Development] ntwrkwizard:
Please add the two lines before your remounting of the R/O system of your recoversu.sh this will enable init.d . Use the script info below:

sed -i '$ a busybox chmod -R 755 /system/etc/init.d' /system/etc/install-recovery.sh

sed -i '$ a /system/bin/logwrapper /system/bin/busybox run-parts /system/etc/init.d' /system/etc/install-recovery.sh

This will fix the autoremount and allow people to add start scripts.

Thanks,

NW
[Atrix 4G Android Development] beazie0885:
Just a quick question, i currently have root on 4_1.2.6 no other mods,

i tried to install update after running beforeupdate.bat,

the update downloaded just fine and looked like it installed just fine as well, until the phone froze at the android guy with an exclamation point triangle.

so i had to battery pull to get the phone operational again, checked in settings and im still on 4_1.2.6. i tried the process all over again and same thing happened.

anyone know what im doing wrong? any help please? i dont wanna go to at&t today
[Atrix 4G Android Development] fRenZy-_-:
I downloaded mobile terminal and I ran su but it said access denied? I can use root explorer fine, but titanium backup doesn't work. what's the problem?
[Atrix 4G Android Development] ketchup0527:
I must say Thanks!

This worked flawlessly.
[Atrix 4G Android Development] erishasnobattery:
Root explorer works without root. You just can't mount anything as R/W.
[Atrix 4G Android Development] fRenZy-_-:
Is there a fix to this? Am I rooted or not, I can also install .apk through the phone.
[Atrix 4G Android Development] itguy28:
got it working

OK I GOT BEFOREUPDATE.BAT TO WORK. what i did was extract all the files on the c:\ and ran it. do not extract the files into a folder or anythign just extract them to the c drive and try
[Atrix 4G Android Development] Ririal:
TO EVERYONE HAVING ISSUES WITH ADB DETECTING THE DEVICE

First, let me say that currently I have no idea why some of you are having issues detecting the device. I'm unsure if this is a failing on the scripts part, or security settings on the computer itself. I've run this script about 10 times to make sure it worked, and I ran across no issues. If anyone who is having the ADB detection issue would like to hop on the IRC for some troubleshooting with me, I'd appreciate.

In the meantime, you should be able to enter all the commands manually, as that seems to be working for people. If you don't know how to figure out the commands from the batch file, you really shouldn't be messing with doing it manually. If someone else wants to write it all out, be my guest but I'm not responsible for anyone who messes up their phone because of it.

Try:

Rebooting your phone

Rebooting your PC

Run the script as Administrator (windows 7 users)

Disable USB debugging, and re-enable it

Make sure you extracted all the files to a directory with NO SPACES in the file path

Hope that helps some of you out.
[Atrix 4G Android Development] awdyo1:
still isn't working for me.
[Atrix 4G Android Development] lostinbeta:
Well the batch files for this didn't work for me at all (Windows XP and rooted stock AT&T Atrix).. I would access the adb file through cmd and my device showed up under adb devices, but when I tried to run the beforeupdate file it said 'unable to detect devices over adb.' I came across this entry and gave it a whirl. The funny thing is that while the printdirs batch file in this thread did not report having frozenfish in sbin... I used root explorer on the device to see that the copy was indeed successful. From there I installed the update, ran the second part of this script and went on my merry way. My root is retained. I can run Titanium Backup and Root Explorer as proof that I retained root. Thank you for this post.

+1 for adding this to the OP for those of us having issues with the batch files but are comfortable with using adb and shell scripts manually.
[Atrix 4G Android Development] eatkabab:
what about us that tripped into updating before this mod? :(

but had root before...