yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] EclipseX:
but why make a script for unroot only with old build :S.....

how dificult is to made a new root script for new update?
[Atrix 4G Android Development] Kikouyou:
Finally reloaded the SBF and everything worked perfectly

Many thanks!
[Atrix 4G Android Development] sandydemandy:
worked like a charm, thanks :)
[Atrix 4G Android Development] darebear802:
Worked like a charm

Thank you very much for all that you do!
[Atrix 4G Android Development] lawrencep:
Mine worked, too. I hadn't made any mods. Just had it aRooted. I had to run beforeupdate twice. Some kind of psneuter error. I just re-ran it and followed the rest of the steps. Also had to run afterupdate twice but that was because I missed the prompt on the phone for su access the first time.

Thank you very much for the effort put into this.
[Atrix 4G Android Development] Gr8Danes:
You guys rock. Thanks a bunch. I have finally rooted now that my 30 days was up and I reluctantly decided to keep it. (Sick of Moto and AT&T's BS with the phone). If not for you guys, it would have been returned.
[Atrix 4G Android Development] kbc88:
Okay just for REITERATION, since its not explicitly stated in the instructions. It is OKAY if the ONLY thing you have done before the update is aRoot, correct? You can just continue on, any other update and/or superoneclick root needs to have a fresh SBF installed, right? Just makin' sure before I update today!
[Atrix 4G Android Development] Digicrat:
I'll second that request for clarification.

The directions state "you should never be running superOneClick" anymore, but the screenshot also shows it cleaning up files from the old root method.

Does this mean that if you have previously rooted via SuperOneClick, then this script will work, but to never use SuperOneClick again in the future? Or are you saying that if previously rooted via SuperOneClick, you must uninstall/remove that first?
[Atrix 4G Android Development] Butch1326:
Success!!

I got the exclamation point when updating because I had edited the build.prop file to increase the font size - all I changed was 240 to 290 and it didn't like it. Luckily this must have happened early enough in the update process because after it rebooted I still had root and changed build.prop back to the original and ran the beforeupdate again.

When I ran afterupdate I had another problem - stupid me, I needed to hold the cntrl key while double clicking and that left beforeupdate highlighted so it ran both at once! The root didn't take, but when I ran afterupdate again (by itself) it worked great.

Thank you!!
[Atrix 4G Android Development] isellmidgets:
It was set to none. I even tried the others (...except mass storage...) and same result. I wasn't kidding when i said i tried EVERYTHING.
[Atrix 4G Android Development] kbc88:
Oh, for this one, that's not what he meant I believe. I believe he is stating that you shoulndt be using superoneclick anymore, in general. aRoot is the root that pepole should be using as superoneclick was a very messy rooting program. So basically, do NOT, i repeat, do NOT NOT NOT root your pre-updated atrix using superoneclick, only aRoot.

Oh, and if you did root via superoneclick, you'll need to reflash to the stock sbf.
[Atrix 4G Android Development] t.s.eliot:
Complete Success! I started with a non-rooted Atrix from AT&T running 4.1.57. Followed the link to flash the SBF to 4.1.26, and everything went without a hitch. Followed instructions exactly as written, and ended up with a rooted 4.1.57.

Thanks to all who worked so hard on developing the scripts and posting instructions.
[Atrix 4G Android Development] kbc88:
You started off with a fresh bought atrix at 4.1.57? So does that mean the atrix in stores are at that update now?
[Atrix 4G Android Development] hiddeneyes02:
Thanks a lot, you're awesome !
[Atrix 4G Android Development] das8nt:
If the ONLY thing you ever did was aRoot or S1C to root, then yes, you can proceed on without a flash if you want to. This script does clean up the busybox mess left by S1C if you tell it that you are not rooted. It's the same script function as aRoot over S1C.

When I say ONLY, that means no system files deleted, no frozen system apps (if so just thaw), no deodexed system, no theme/mod. If you can answer no to all of those then you can use this without flashing.
[Atrix 4G Android Development] Ririal:
Wrong. SuperOneClick, aRoot, and my script (yes, this script will run on a non-rooted phone as well) both root the phone using the exact same method. SuperOneClick just installs some junk on the phone that you don't need and can cause issues. You do NOT need to reflash the phone if you used superoneclick, just say no when it asks if you're already rooted, and it'll reroot and clean up the mess for you.

Correct. Most system modifications will cause the OTA update to fail. This is why I recommend a stock 1.26 flash before updating. There is no way to force the update without uninstalling the conflicting mods.
[Atrix 4G Android Development] kbc88:
Okay perfect. Although I'm a bit confused... my phone is not modded, but when you say theme you don't mean like... themes added to launchers (like super glossy theme for Go Launcher etc..) correct? Thanks so much! Asking the questions before I start =)
[Atrix 4G Android Development] AlonFW:
Tip for newbies/idiots like me:

If you get the following while running beforeupdate.bat

Restarting ADB server...

Checking device state...

Unable to detect a device over ad

Press any key to continue . . .

______________________

Make sure you have installed the motorola drivers mentioned in the 1.2.6 root instructions http://briefmobile.com/motorola-atrix-4g-root

that fixed it for me
[Atrix 4G Android Development] Vangelis13:
Or, if you have the drivers & it still doesn't detect it, reboot the phone and re-connect..
[Atrix 4G Android Development] lomelir:
LOST in the WAY!!

Big question:

I have my Atrix rooted before the 4.1.57 update. Now can you re-explain again how should I proceed?

I suppose to be still rooted!

I just need to make sure.....lost...lost ...lost
[Atrix 4G Android Development] rumdada:
Im in the same boat i rooted then updated and i still have super user on my phone but i cant side load apps anymore, what should i do? i rooted with super one click.....
[Atrix 4G Android Development] lomelir:
Don't have idea. Im waiting for the gurus to reply
[Atrix 4G Android Development] dvigue:
i did not realize that doing a factory reset lost root? that the same for all of you?

can you make Nand backups with the new CWM that was just released?
[Atrix 4G Android Development] madquack:
I am sorry if anyone has posted this or knows this yet, but if you used afterupdate.bat to keep root once you updated you can run it again after formatting data to get root access again. You can use this in case something got ****ed up and you need to wipe data.

Once you do a factory reset/data wipe, log in to motoblur. Download superuser from the market. Then enable USB Debugging and run afterupdate.bat and press allow in superuser and you should have root again.
[Atrix 4G Android Development] Swiftks:
People, all you have to do is follow the instructions in the original post! If you are having any problems, re-flash a fresh 1.26 sbf, then follow the instructions in the OP. When you run the retain root script before the OTA update and it ask whether you are rooted or not, the answer is NO, b/c you just flashed a fresh sbf file, therefore you are no longer rooted. If you want, you can run aRoot before running the the retain root script, not, I repeat not super one crap. Then the answer to the are you rooted question would be????...... YES!
[Atrix 4G Android Development] frankiedizzle87:
HELP!!

look at next page for my question ignore ignore ignore
[Atrix 4G Android Development] kslow:
Tried to run beforeupdate and keep getting this error. Unable to detect device over adb.

Any ideas?

Also I tried rebooting phone and computer and reinstalled drivers.
[Atrix 4G Android Development] lomelir:
Got it. Ill try sometime tonight
[Atrix 4G Android Development] Swiftks:
make sure usb debugging is ON, set usb connection to NONE. I'm assuming you have sdk installed in c:\ of computer. Then go to cmd prompt and type: "cd c:\android-sdk-windows\platform-tools" [enter]

Then, type: "adb devices" [enter]

Should detect device, or something is wrong. Then try retain root script again.
[Atrix 4G Android Development] droidbird:
Yes, reboot the phone and turn USB Debugging on again and try again. This happened to me last night.
[Atrix 4G Android Development] frankiedizzle87:
HELP!!

I really want 1.57 rooted and i did it early but when does step 15 occur? i Updated and did after recovery and had superuser but it never asked my anything about allowing super user request? to see if i was rooted correctly i dl titanium backup and it wouldnt even open. So please help me i am back to restoring sbf so im on step two . everything else worked 1.2.6 was rooted got update and i even have the file in a folder retainroot where its supposed to me. i have a mac but i am runing windows 7 on it and did it on the Bootcamp C:/ so help i guess what do i do in step 15. i have sideload and superuser but i cannot get titanium backup (sorry for repeat i am editing) also i tried the CWM and it just has the loading circle and nothing happens thats why i am guessing root isnt fully done
[Atrix 4G Android Development] Swiftks:
After you finish flashing 1.26 sbf again, enable usb debugging, and put usb connection to none. Then root with aRoot, then re-download the the retain root script and run it, and just answer YES, to whether you are rooted or not. It will still backup your root. Then download and apply 1.57 OTA update. Then after phone re-boots with new sbf, make sure usb debugging is still on, and usb set to none, and then try the after update process; see if you get the same thing. Report back.
[Atrix 4G Android Development] frankiedizzle87:
same everything appears to work says i have the super user and i am on 1,57 but how do i enable super user? so i have to run something like ad and $ su or something how do i enable super user? i have it there and followed all the steps
[Atrix 4G Android Development] banes:
how do i know my phone is rooted? i ran this process from a brand new never flashed atrix, i ran root checker app from market and it said i was rooted, however when i tried to run wifi hotspot it said I needed to create an ATT account, also I dont have enable off market apps setting in my applications settings, I did click to allow super user access, the only thing I didn't do was enable usb as none as I never received that request when plugging in my phone to pc, any help would be mucho appreciated
[Atrix 4G Android Development] Swiftks:
Then you should be good to go... you don't have to "enable" super user. Go download titanium backup root edition, or root explorer from the market, and see if super user permission is granted.
[Atrix 4G Android Development] Swiftks:
Go look here for hotspot mod: http://xdaforums.com/showthread.php?t=980636
[Atrix 4G Android Development] trant01:
Please help....

For myself, I can run the beforeupdate.bat just fine without any errors.

I then apply the update which updates my phone just fine with no errors.

But when I try to run afterupdate.bat it says it can't detect my device over adb. Then i run the command:

C:\Program Files\Android\android-sdk\platform-tools>adb devices

List of devices attached

XXXXXXXXXX offline

So how do I get my phone back online so that I can run the afterupdate.bat?? I know when the Atrix is offline that its missing the adbd file in /sbin. But how can I get that file in that directory without being rooted?! I'm running in cirlces here.
[Atrix 4G Android Development] Swiftks:
Is usb debugging set to ON? Should be the only one checked. If it is, turn it of then back on, for sh*ts and giggles. Set usb connection to NONE, and recheck adb devices.
[Atrix 4G Android Development] banes:
oh okay thanks for that, i still need some clarification then, what exactly does enabling sideloading and tethering do with this script? does it just give root access the ability to install the mods after the fact where as it wouldnt before? :confused: also do i need to use a sideloading mod or can i just use off market apps now even though that setting is not available?
[Atrix 4G Android Development] trant01:
Yup USB debugging is checked and USB connection is set to NONE. Still results in an offline device. Also tried different usb ports, different usb cables, restarting the phone, restarting the computer, different computers and no luck.
[Atrix 4G Android Development] Swiftks:
yes, more or less, it just enables it. And yes, I install off market .apks all te=he time with root explorer. Point in fact, the Amazon app Store .apk, which can be found in the apps & themes portion of this forum.

Once you make those changes to the .db file for the hotspot mod, it should work like a charm... mine does.
[Atrix 4G Android Development] Swiftks:
You got me then... never had that problem before, sorry I can't help. I'm sure someone will be along to help you. Might want to keep an eye on the thread and maybe send a PM to the OP and post in the Q&A section of this forum.
[Atrix 4G Android Development] t.s.eliot:
No. The Atrix I bought had the OTA update pushed about an hour after I bought it. I wasn't paying attention and accepted the update before I thought about it, that was how I got to 4.1.57
[Atrix 4G Android Development] frankiedizzle87:
Got it working thank u
[Atrix 4G Android Development] tnedator:
Ok, I ran the beforeupdate and afterupdate scripts on a replacement Atrix and all was well. The new phone did not seem to have as good a battery life, so I decided to try and factory reset, which many recommend.

Before doing that, I read in here that after the reset all you had to do is download super user and run after update.

So, I did the factory reset, downloaded super user and rand afterupdate. I seem to have root back, but now I can't install Amazon appstore.

Is it possibly to enable the sideloading with root the way I currently have it or do I have to flash back to the original rom and start over?
[Atrix 4G Android Development] Swiftks:
Should be able to enable sideloading... hhumm if you have sqlite & root explorer installed, navigate to /data/data/com.android.providers.settings/databases/settings.db. sqlite should open the .db, then select "secure". #3 should say "install_non_market_apps and should have a 1 for value. If it has a 0, change it to a 1, and press the back button to get back to root explorer and exit. May require reboot.

**Edit**

At the very least, I would try one of the many sideloading mod scripts, before starting all the way over.
[Atrix 4G Android Development] tnedator:
Thanks a bunch.

I downloaded Root Explorer and Sqlite editor and followed your directions. It was set to 0, I changed the value to 1 and restarted and am installing the Amazon App store as I type this. I'm just coming over from years of Windows Mobile use, so still slowly learning my way around Android and the tools.
[Atrix 4G Android Development] Swiftks:
good, glad I could help... yeah, there's defiantly a learning curve... I came off a iPhone, talk about totally different os!
[Atrix 4G Android Development] then0ble:
Atrix Stock 4.1.26 ROM

Where can I find the 4.1.26 stock ROM for my Atrix to complete this task? Link please? Thank you.
[Atrix 4G Android Development] Swiftks:
http://xdaforums.com/showthread.php?t=991072
[Atrix 4G Android Development] greenstrat67:
Stopping at step 14

Newb in training here. I had a stock Atrix which the update seems to have made a few things less functional. I've got a stock OS now and am wary to do the update. If I stopped at step 14 on the post .57 update would I be able to do everything I could after SuperOneClick (which I now know to avoid) or is there an alternate rooting method such as aRoot that would take me to that point?

This is my first experience with the Android OS and of course a friend with Verizon was pointing out apps I should get at the market which I couldn't see. Until after SOC and then they would either load or I'd have to hook a PC and go to the website but could do pretty much everything and it all worked smoothly. Thanks for all the hard work everyone puts in it's really appreciated.
[Atrix 4G Android Development] Swiftks:
Why stop at step 14? Then you wont have the root... why even go through all of the other 13 steps? You pretty much just have a stock 1.57 right now, without running the after.bat to get your root back.

**Edit**

I was new to android 3 weeks ago, and now check out my signature. Besides you know how to flash sbf now, so if anything totally screws up your phone, you can just go flash which ever sbf file you want.
[Atrix 4G Android Development] kkeo:
startup scripts?

Anyone notice if startup scripts are working? I noticed /system wasn't getting mounted as rw, I had to manually run the script which use to run on 1.2.6 aRoot on boot.
[Atrix 4G Android Development] greenstrat67:
Thanks Swiftks. I didn't flash sbf I got another phone and it came with the original OS 1.26 on it. For some reason I thought that you were rooted when you reached step fourteen. You've come a long way in three weeks. So can I go straight from 1.26 to 1.57? I'm still wary I'll mess something up. I gathered all the files to flash back to 1.56 and I'm getting the update is available messages and it's 1.57 so I guess you can go there from 26 so you would just follow it all the way through? I didn't realize after.bat got your root back. I thought the other batch files configured it so the update didn't affect it because it was rooted without using the psneuter vulnerability.
[Atrix 4G Android Development] dragon19766:
I had same issue. Make sure that you copied all the files from zip file to bin folder. There should be 8 files in bin folder.

After I manually copied those files, beforeupdate.bat file ran without an issue. I'm doing OTA update now. Hope to see update to completion and go sleep. :)
[Atrix 4G Android Development] sources:
Hello, i root 4.157 ok by update ota in system update from 4.126.

Now i flash downgrade phone with 4.126, i check in system update nothing to update.

Please help me
[Atrix 4G Android Development] rpolansky:
Thanks ririal

Thanks for the crystal clear roadmap to preserving root after the update to 4.1.57! The screenshots were helpful in knowing what to expect since I am a noob.

Thanks again
[Atrix 4G Android Development] gravejoker:
Hi

A. How to unroot, if this process is followed for rooting/sideloading?

B. For the next patch, would unrooting be required if rooted using this method?

Regards
[Atrix 4G Android Development] Ririal:
a) just delete superuser and /system/bin/su

b) I don't understand the question, please ask more clearly.
[Atrix 4G Android Development] joesixpack1969:
Can't install from unknown sources...

Delete. Sorry.

Just saw post #291 - worked like a charm! thanks!
[Atrix 4G Android Development] isellmidgets:
8 files in bin folder = check.

still, unable to chmod. oh well.
[Atrix 4G Android Development] Ririal:
Major update to first post, please read the changes.
[Atrix 4G Android Development] greenstrat67:
accidental duplicate--
[Atrix 4G Android Development] Ririal:
You should be ok. The new script is VERY descriptive about what it's doing at all times. If you run into any issues, let me know. Make sure you backup first, because if everything that can go wrong, goes wrong, at the very worst you'll just need to reflash 1.26, which is easy.
[Atrix 4G Android Development] greenstrat67:
Thanks, I'm not sure what is the best way to back up. I tried to dload everything in case I needed to reflash but got a 404 on Hotfile and below that, but got everything else. Put something under the tree for you guys for all the help hopefully that will make it through okay. Well here goes hopefully I won't need to reflash. ---would a shift right-click and type the the username and password on the gladroot.bat file be better or does it make any difference. I didn't even know that ctrl dbl-clk would do it.

Just tried running it and got an "unable to detect a device over ADB"
[Atrix 4G Android Development] greenstrat67:
I imagine that's why SOC didn't work (fortunately) either

The Drivers and MOTO Sync App are installed and if I run the phone portal it behaves like it did before. So I bailed out of that stopped the portal made sure everything was set correctly / USB debugging on / and connection set to "none"

Here's the output from running gladroot.bat

Preparing your computer and phone for install...

Restarting ADB server...

Checking device state...

ADB server didn't ACK

* failed to start daemon *

error: cannot connect to daemon

Unable to detect a device over adb.

Press any key to continue . . .
[Atrix 4G Android Development] Ririal:
run the command

adb devices

Does the phone list USB debugging in the notification menu?
[Atrix 4G Android Development] greenstrat67:
It says USB debugging connected and that the USB connection is set to "none" I'm not sure how to run the command. I have terminal emulator and connectbot both of which are to hard to read but connectbot just gives me a list of commands for adb / terminal emulator I can't really read at all.

one of the commands was adb start-server so I typed it and it says adb server is running now "daemon started successfully"

I tried running gladroot again with the same results as above.
[Atrix 4G Android Development] urbannnn:
Sorry for being stupid and over excited but what if you accidentally ran both files without updating?
[Atrix 4G Android Development] chukk98:
worked perfectly, this as well as SBF'ing back to 1.2.6. on ATT. Followed instructions ExACTLY as written.
[Atrix 4G Android Development] chukk98:
it also fixed my flakey bluetooth problem.
[Atrix 4G Android Development] EclipseX:
nice tutorial guys:D
[Atrix 4G Android Development] Rickroller:
So i'm not sure exactly what's happening here..but I've read and reread these instructions, but all's I get is:

"Unable to detect a device over adb"

4.Download the script

5.Extract the GladRoot folder and files to C:\. Do not install anywhere else. Having it inside a folder with a space will cause the script to FAIL.

I've done this

6.Make sure your device is the correct version. Go to Settings -> About phone -> Build number and make sure it matches one of the following:

•OLYFR_U4_1.2.6

•OLYFR_U4_1.5.2

•OLYLA_U4_0.37.4 THIS IS MY VERSION

If you need to flash an SBF first, Download links and installation instructions here.

The download link specifically states not to use on Bell Atrix (which I have)

7.Enable USB debugging (Settings -> Applications -> Development).

8.Connect your phone (I recommend setting USB Connection to 'None').

9.Run gladroot.bat and follow the on-screen directions.(If you're using Windows 7, run as admin by holding down control and double-clicking).

10.When you get to the step that asks if you're updating to 1.57, just say no.

11.Verify that there are no errors.

12.All done! Enjoy your rooted Atrix

Soooo..what exactly have I missed here?
[Atrix 4G Android Development] TinyRK:
Preparing your computer and phone for install...

Restarting ADB server...

Checking device state...

Obtaining temporary root access...

Waiting for root access to kick in...

psneuter failed to execute properly.

Press any key to continue . . .

I had ROOT with OLYFR_U4_1.5.2, flashed 1.5.7, then did everything as in the 1st post... BUt still: "psneuter failed to execute properly."

Or do I have to flash 1.26 first, root and then flash 1.5.7?

Restarted laptop, phone, ADB.

I feel retarded :D
[Atrix 4G Android Development] Ririal:
Run adb devices command, it will show you if it's picking up the device or not.

You should be ok to continue, afterupdate.bat just copies some files back, but it doesn't delete anything. It's putting you back in the state you were in before running the OTA update.

Thanks :D I'm trying to be as thorough as I possibly can :X

Yeah if you're on a Bell Atrix, just make sure you have the moto drivers installed, and the device shows up and USB debugging is enabled. Check the notification menu on the phone, you should see "USB Debugging" listed.