yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] janggu:
I ran the entire instructions but did not work

I ran "gladroot.bat" and "afterupdate.bat" without errors. However, everything seems to be the same as before - My atrix was blinking red and rebooted itself... I noticed that there is an app called "Superuser" on my Atrix.

The only thing I wasn't sure about was the following part:

"Make sure you allow the superuser request on your phone or it WILL fail".
[Atrix 4G Android Development] Ririal:
What do you mean same as before? I'm not sure I understand the question. If everything ran with no errors, you should be fine.
[Atrix 4G Android Development] Massonite:
Worked great on my Bell Atrix after a reboot. Thanks so much!
[Atrix 4G Android Development] Haphim:
I have a couple of questions about this process, if anyone can help...

1. Are the drivers I need the usual standard drivers (the ones that come bundled with MotoHelper), or some other special ones?

2. Is a Wi-Fi connection truly required for this process? It won't work without it, or it will just take longer?

3. What's a a simple (but thorough) way to test that this process has worked fully? This is my first Android phone, so I'm new to all this. :)

TIA!
[Atrix 4G Android Development] Ririal:
1) Yup, standard drivers should work. I'll grab links and throw them up in the first post, been meaning to do this for a while now.

2) Yup. The update will not download over the data connection. Lame, huh?

3) If you get the superuser prompt when running afterupdate.bat, there's a 99% chance it worked. You can test it by getting an app that requires root such as Titanium Backup or Root Explorer.
[Atrix 4G Android Development] Haphim:
Thanks! I was concerned about the drivers because I thought I remembered seeing somewhere on this board mention about needing the development drivers or some such. Links I've found didn't link to Motorola, but to some media sharing site, so it wasn't clear whether these were stock drivers, or custom ones.
[Atrix 4G Android Development] Ririal:
Just make sure you turn on ADB first and let the drivers fully load before you start any of the scripts.
[Atrix 4G Android Development] androidrookie:
is there anymore information as to what to do about the wifi error after root?
[Atrix 4G Android Development] Ririal:
I'm not sure what you mean. Root doesn't affect wifi at all.
[Atrix 4G Android Development] janggu:
I mean all the apps including from Motorola and Bell are still there. My desktop looks the same. Basically, nothing has been changed. I expected that all the apps would be wiped out. I noticed Superuser app is installed though. What does this app do anyway? I opened this app and there are no apps listed.

I unlocked Bell's atrix and using on Rogers network. I don't think it should matter...

Thanks!
[Atrix 4G Android Development] Edprigar:
I was meaning to run gladroot.bat of the second set of instructions, instead of the before.bat you say, just to stay in 1.26. I understand that the effect is similar to aRoot. Then, the question is if after that, running all the Gladroot (before and after.bat) is going to work fine to get me rooted in 1.57.
[Atrix 4G Android Development] Ririal:
This doesn't delete anything from Motorola or Bell. This is a root script, it roots your phone. Please use the search function or read the entire first post before installing anything you don't understand on your phone.

If you run gladroot.bat, and you say "yes" to the question if you're upgrading your device to 1.57, you don't have to do it immediately. It does put su into "storage" persay, and it will be there waiting until you decide to upgrade. It won't hurt anything.
[Atrix 4G Android Development] kenyloveg:
Hi, Ririal

I've managed to root 1.5.7 after read your first instruction, thank you!

I've one problem, i did't choose to enable sideload at 1.2.6. How can i sideload now?
[Atrix 4G Android Development] Ririal:
Click on GladEnabler from my signature and follow the directions :)
[Atrix 4G Android Development] CyberPunk7t9:
This part means be quick at touching "Allow" when the request shows up in your device.

Its looks something like this:

http://cdn2.staztic.com/screenshots/153879-2.jpg

Always allow it when the script instructions tell you before pressing the space bar for the next part of the script process.
[Atrix 4G Android Development] mistadman:
My Contribution - Part 2...

afterupdate.sh - v4.2

#!/bin/bash

###### CHANGE TO FULL PATH OF YOUR ADB BINARY OR LEAVE AS IS IF THE ADB BINARY IS IN YOUR PATH #####
adb="./adb"

###### DO NOT CHANGE ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING ###################

function exit2() {
# Kill the ADB server so that the directory is no longer in use.
$adb kill-server

echo
echo
echo "All done!"
sleep 2
}

function abort() {
echo
echo $1
echo

$adb kill-server
sleep 3
exit
}

clear

# Start the $adb server
echo
echo "Starting ADB server..."
$adb start-server 2>&/dev/null

# Make sure that we actually have a device listening on $adb. Too bad batch
# doesn't let us capture command output via ``.
echo
echo "Checking device state..."
if [ ! "`$adb get-state`" = "device" ]; then
abort "Unable to detect a device over $adb."
fi

echo
echo "Verifying backdoor..."
if [ $($adb shell ls /osh/sbin/|grep "No such file"|wc -l) -eq 1 ]; then
abort "Backdoor not found!"
fi

# Copy the files for execution and set permissions
echo
echo "Pushing restoresu.sh..."
$adb push bin/restoresu.sh /data/local/tmp 2>/dev/null
$adb shell chmod 0755 /data/local/tmp/restoresu.sh 2>/dev/null

echo
echo "************************************************************************* "
echo "CLICK ALLOW TO THE SUPERUSER REQUEST ON YOUR PHONE OR THIS STEP WILL FAIL "
echo "************************************************************************* "
echo

$adb shell /osh/sbin/frozenfish -c "./data/local/tmp/restoresu.sh" 2>/dev/null
echo
sleep 3

# Reboots the device
clear

echo
echo
echo "Rebooting the device. You might see the red light blinking."
echo "Once the phone boots back up, you're good to go. Enjoy!"
echo "DO NOT REMOVE THE BATTERY. WAIT FOR THE PHONE TO BOOT."
echo
sleep 5
$adb reboot
[Atrix 4G Android Development] NightH:
Thanks

Worked like a charm. Now enjoying my rooted Atrix on 1.57!

Thanks!
[Atrix 4G Android Development] janggu:
My battery life won't last long after rooting

Has anyone experienced battery issue after rooting? My battery goes down really fast. It used to be 70%-60% after 12 hours of use but now it goes down to 40%. Also, I noticed that Memory is only available 35% from closed to 50%.
[Atrix 4G Android Development] charlyee:
Worked very well. The instructions were great. A couple of anxious moments but nothing major.
[Atrix 4G Android Development] snakepgua:
Failed

I am trying to root mine, 1.57, and it keep saying psneuter failed to execute properly.

Any help?

thanks..
[Atrix 4G Android Development] aebilo630:
Odd install, but got it to work

Just in case anyone else manages to have this problem:

I reverted to 1.2.6 multiple times, ran gladroot, back to 1.5.7, ran afterupdate - but no root. Never could get root to work.

After several attempts, I went back to 1.2.6, ran gladroot, and root never worked at all. Ran afterupdate.bat WHILE STILL IN 1.2.6 and had root. Updated to 1.5.7, ran after update.bat again, and retained root.

All is well now

-Oh, and a large thanks to Ririal!
[Atrix 4G Android Development] lurchbyrep:
Sounds like you're trying to root 1.5.7 directly. You cannot do this. Psneuter is the exploit that was used in old versions, but Motorola patched this in the 1.5.7 update. You have to flash the 1.2.6 sbf first. It is all in the instructions.
[Atrix 4G Android Development] lurchbyrep:
This sounds like you failed to allow superuser access on your phone (clicking it on the actual phone screen) when running afterupdate.bat. You have only a matter of seconds to do this or the root retention will fail. However, if you miss the boat, you can always rerun afterupdate while still in 1.5.7 and allow superuser when prompted by your phone, provided you successfully ran gladroot.bat while in 1.2.6.
[Atrix 4G Android Development] BigBolo:
Does anyone know if I can install v4.1 over 4.0? Or do I need to reflash back to 1.2.6 and do it all over again?
[Atrix 4G Android Development] lurchbyrep:
If you are already rooted through v4, why would you want to re-root with 4.1? As per the changelog (original post), the only difference is minor aesthetic change in the script.
[Atrix 4G Android Development] Silvercloak5098:
To Root or not to Root?

Hi, I'm pretty new to the android scene but I've jailbroken enough things in my house that it's not completely unfamiliar to me.

I just bought a Bell Atrix a few days ago, and so far I'm discovering there's only two roms for the Atrix. From what I've read, Gladiatrix is the one that appeals the most to me. However, I take it this can't be installed on a bell phone, even if I use this root package?

I'm not quite sure what an SBF is so... A little clarification would be great. I don't know if theres much point in rooting my Atrix if I can't install a custom rom on it... is there?

Silvercloak
[Atrix 4G Android Development] Tanker Bob:
A few basic questions

I'm a Linux guy new to Android and updated my Atrix to 1.57 before I knew it could be rooted or that I couldn't side load. I have no problem flashing it back to 1.26, but have some questions. I understand that the system settings will be reset, but...

1) Will flashing back to 1.26 delete a) my apps, b) my data (contacts, calendar, notes in Note Everything, etc.), and/or c) my setup in Launcher Pro

2) Erase everything from the internal flash memory?

3) If it deletes my apps, will I still be able to download them from the market again w/o repaying for them?

4) How can I back up my notes, etc., if I'm not rooted now? I know that TiBackup will do it but it requires root according to its write-up on the market. Astro backed up my apps to .apk files to internal flash, but not the data.

I sweated blood getting my hundreds of notes over from PhatNotes to Note Everything, so I'm not looking forward to doing that again. All that I really want out of all this is side loading, but it looks like I have to root to get there.

Thanks for the help!
[Atrix 4G Android Development] Edprigar:
If you run gladroot.bat, and you say "yes" to the question if you're upgrading your device to 1.57, you don't have to do it immediately. It does put su into "storage" persay, and it will be there waiting until you decide to upgrade. It won't hurt anything.[/QUOTE]

I did that and it worked perfectly. Now the root is better than before.

I'll stay in 1.26 for a while and if I need I'll update and use the afterupdate.bat.

Thanks Ririal.
[Atrix 4G Android Development] lurchbyrep:
1.a) yes b) it will delete all data, but contacts are synched to your moto-blur account, and will be available when you login afterwards c) yes, only because you don't have titanium backup to hold your app data

2. No

3. Anything purchased in Market is saved as purchased on your Gmail account

4. You need root access to backup app data, so it will be gone. Once you get tb, you'll be fine in the future.
[Atrix 4G Android Development] Haphim:
When perusing the various threads on rooting, SBF's, ROM's, etc... I saw a lot of restrictions - you can't reboot the phone, or you can't do a factory reset, etc...

After rooting via this procedure, what *shouldn't* be done with the phone?
[Atrix 4G Android Development] lurchbyrep:
Those are restrictions WHILE the install is in progress. Afterwards, you're fine to do anything (normal) with your phone.

EDIT: except "factory reset"... that's a no-no after most mods, especially a deodexed system. As a general rule, I don't use "factory reset".
[Atrix 4G Android Development] stefanhdd:
Hey all.

I've sifted through many of the 50 pages of this thread to see what kinds of problems people have had with this method, and before I try it I'm hoping to get a few questions answered.

I've tried SuperOneClick every which way with no luck. With Gladroot I've seen that some people have issues with Wifi after the process and others have problems updating to 1.57 while over seas.

I have an ATT Atrix with Android 2.2.1 and it came stock with 1.57. It's unlocked and I live over seas. So...

Will the OTA update back to 1.57 work with my unlocked phone in another country?

Have the Wifi issues been fixed? Is this a common problem?

Is there anything else I should be aware of before trying this?

I appreciate the help and am really looking forward to getting my Atrix rooted with side loading enabled.
[Atrix 4G Android Development] Tanker Bob:
Thank you! Not good news, but what I expected. I backed some app settings to my card, but they'd probably survive anyway since their in the built-in flash. I used Astro to back up my apps then copied that directory to my card as well, but it sounds like that was unnecessary.

Looks like this is my project for this weekend. Sad that Motorola made this extreme necessary.
[Atrix 4G Android Development] Glerp:
Just wanted to let everyone know that I successfully rooted my ATT Atrix and am now updated to 1.57!

This is my first android phone (got it 3 days ago) and the rooting instructions were very clear and everything installed successfully. Now I just have to do more research on some of the best apps that I can side load.

Thanks for all the help in this thread, and BIG props to Ririal!!!

-Glerp
[Atrix 4G Android Development] 1badude:
Clarification...

Forgive my ignorance, but I'm new to the droid scene. I rooted my Atrix using Super1Click prior to the update. I'd been putting off installing it, but the update install box snuck in on me while texting, and I accidentally hit the install option before I knew it. Now, no more root access. My question is, since it was rooted prior, can I skip the earlier steps of your tutorial and jump straight to the "afterupdate" option? Or is it required that I re-flash to 1.26 and use Gladroot from the beginning? Thanks in advance for any advice or assistance you can offer in this matter...
[Atrix 4G Android Development] Swiftks:
Since you didn't retain your root before installing the update, I'm afraid your most likely going to have to flash 1.26 ans start over.
[Atrix 4G Android Development] Ririal:
GladRoot preps the phone for re-rooting after the update, so if you have not run it before updating you'll need to flash back to stock 1.26 and start over.
[Atrix 4G Android Development] BigBolo:
I like to be updated with the latest and greatest..even though it's a minor aesthetic change.
[Atrix 4G Android Development] Ririal:
When I say minor aesthetic change I mean in the script itself, how it displays when you run it. It doesn't change anything about the method or process on the phone :P There was 0 reason to run it again, but, to each their own :)
[Atrix 4G Android Development] happiboi:
Well, after trawling through the 50 odd pages here, I finally dived in and tried out this root script.

After playing/messing around with my beloved N1 for over a year, I had traded it for the Atrix. I was sorely missing the features I had on my N1, but with this root now achieved things are seeming more positive.

Would love to Thank you Ririal for such a great, easy to use, simple, user friendly root script. Followed the instructions EXACTLY as stated and can happily say I have encountered no issues. Now I'm updated, rooted, have sideloading and tethering... next on my list is a yummy ROM :D

Thanks again~!!
[Atrix 4G Android Development] stefanhdd:
Hi. I have an ATT Atrix with stock 1.57 and Android 2.2.1. It's unlocked and I live outside the US. Super1Click has not worked for me, but before I try Gladroot I'd like to know...

1. Will I loose my Wifi functionality? (I see that some have had problems with this.)

2. Will I be able to OTA update back to 1.57? (Some have apparently had issues with this as well.)

Thanks for your help.
[Atrix 4G Android Development] happiboi:
Hey Stefann,

I live outside the US as well and had stock 1.57 on my Atrix. Follow the instructions to flash back to 1.26 then run the scripts and update to 1.57 using the OTA update. Now i'm on 1.57 with Root and have no wifi issues at all :D:D
[Atrix 4G Android Development] anirudh15891:
hey i got a question..kinda confused now ..not sure where to post.. your help much appreciated.. so i have rooted 1.57 and all that. I have also galdiatrix... but i want to flash my 1.57 because i am having some problems with gladiatrix.. so whaat am I suppose to do if i want to flash fresh SBF without loosing 1.57 and the root? is there a way? if not what am i suppose to do then?
[Atrix 4G Android Development] lurchbyrep:
You cannot flash an SBF without losing root, as it returns the phone to totally stock conditions (with the exception of sd). Also, if you used the 1.5.7 SBF, you could not root again, as the only way to do this is to return to 1.2.6 and go through all the steps you've already done. On the other hand, an uninstaller for GladiAtrix 2 is supposedly on the way. You could wait for that, or try to talk to forum members to fix whatever problems you are having, or SBF and repeat the whole rooting/upgrading process over again. If you choose the latter, I suggest making a cwm backup before installing GladiAtrix again (if you want to do this). You could then effectly "uninstall" the mods without undoing your backed up root and upgrade by simply restoring in cwm.

Of course, I suppose you could adb push all of your old files back (from the backup GladiAtrix made during the install process), but this would be a pain to do manually.
[Atrix 4G Android Development] anirudh15891:
thanks alot... so if i have redo the whole process i can use the 1.2.6 flash right? or do i have to use something else? because in that forum it says use only for 1.5.2 or 1.2.6 1.5.7 is not included.
[Atrix 4G Android Development] lurchbyrep:
Right. You have to flash 1.2.6 and follow the instructions for rooting/upgrading/retaining root. There is an SBF for 1.5.7, but if you use it, you won't be able to root from there.
[Atrix 4G Android Development] anirudh15891:
another quick question... i keep getting double texts.. its really annoying.. do you have any idea what seems to be the problem?

again I thank you for your help.. really appreciate it!
[Atrix 4G Android Development] lurchbyrep:
It sounds like you might have two messaging apps running (motoblur and stock android). Do you have Titanium Backup? If so, you can check for two messaging apps in your app list, and freeze one of them (or you could add .bak to one of the app files in something like root explorer). If you're unsure, I would try using Titanium Backup to just freeze "messaging 2.2.1" and test whether or not you can still receive texts. That's a start to diagnosing your problem.
[Atrix 4G Android Development] Ririal:
This is, as mentioned, because you have two messaging apps installed. This issue is not caused by GladiAtrix.
[Atrix 4G Android Development] Tanker Bob:
Script cleanup for Ubuntu, et al, Linux

mistadman, RE posts 482 and 483 on Linux:

Thank you for the excellent effort at translating the windows batch files (gladroot.bat and afterupdate.bat) to bash scripts (gladroot.sh and afterupdate.sh). However, I found a problem that prevented them from executing properly on Ubuntu and perhaps other distributions. Every executable occurrence of "adb" must be in the form of a script executable: "./adb". For example, the code to clean up from SOC:

if [ $(adb shell find /system/xbin -type l | wc -l) -gt 0 ]; then
echo
echo "Cleaning up SuperOneClick mess..."
adb shell find /system/xbin -type l | xargs rm
[ "$(adb shell ls /system/xbin/busybox 2> /dev/null && echo yes)" = "yes" ] && adb shell rm /system/xbin/busybox
fi

should read:

if [ $(./adb shell find /system/xbin -type l | wc -l) -gt 0 ]; then
echo
echo "Cleaning up SuperOneClick mess..."
./adb shell find /system/xbin -type l | xargs rm
[ "$(./adb shell ls /system/xbin/busybox 2> /dev/null && echo yes)" = "yes" ] && ./adb shell rm /system/xbin/busybox
fi

I search and replaced all such occurrences in both of your scripts and then they performed perfectly. Thanks again for your work!
[Atrix 4G Android Development] Tanker Bob:
Success!

Ririal,

You're my hero! I just rooted my Atrix on Linux using my slight modifications (noted in my previous post) to mistadman's bash scripts and your gladroot setup. It worked perfectly. I started by reverting to 1.26 using the link that you provided in your original post and sbf_flash for Linux from OpticalDelusion. It took a lot longer to prepare for the exercise than to actually root the Atrix.

I restored my contact, calendar, and tasks directly from Google. I backup up my notes with Notes Everywhere and they restored without issue. Although the Market app on the Atrix only remember my paid apps, the online version provided my entire list to restore. All this took about three hours today, but was well worth the effort. Side loading works perfectly, which was my real goal.

Many thanks to you and the others here at xda for your help and advice.
[Atrix 4G Android Development] RPK925:
Hi I have a stock 1.2.6 att Atrix do I need to do.the SBF thing iam already on stock. Iam totally new Android, what does SBF extactly do? Is there a guide to understanding all of the Android hacking terms and how to use them anywhere. thanks.
[Atrix 4G Android Development] G1-8701:
ok i successfully rooted after the OTA update, but now i'm tryna install gingerblur, but i can't cause i don't have cwm recovery installed, and i can't install it cause i don't have sideloading enabled(at least i don't think, i thought it was included in the rom like on the gladroot i used before the OTA update) so is there a way that i can install the rom without having to install cwm, if not i really need help tryna enable sideloading
[Atrix 4G Android Development] Ririal:
Here's a good start: http://xdaforums.com/showthread.php?t=1026552

Sideloading should have persisted the OTA update (always has for me), but you can try GladEnabler (link in my sig below) and try that out see if that helps you any.
[Atrix 4G Android Development] franciscojavierleon:
For the next version, please add:

sqlite3 /data/data/com.motorola.android.providers.settings/databases/settings.db "UPDATE settings SET value=0 WHERE name='force_only_market_apps';"

this will add the "unknown sources" back in settings/applications, so people have the choice in toggling on/off sideloading
[Atrix 4G Android Development] DukeL:
So How do I safely UN-ROOT the ATRIX after I have used this method?????
[Atrix 4G Android Development] Ririal:
This is actually in the next version.

This will be in the next version as well, due out today.
[Atrix 4G Android Development] Haphim:
Will there be a way to apply this for people who have already applied the current version of GladRoot?
[Atrix 4G Android Development] leadguy68:
Any update on doing this on 1.57 with out the downgrade?
[Atrix 4G Android Development] Ririal:
Sure, you can just run it again. Everything is an option, so just say no to everything else and yes to sideloading when it gets released. Finalizing testing now.

Not possible. They closed all the current holes for rooting, which is why we have to downgrade in the first place and use the webtop to sneak root back in.
[Atrix 4G Android Development] DarkRyoushii:
All current KNOWN holes? or all current holes ever found in Android 2.2?

- Just trying to figure out if theres no way possible or if people just think the webtop way is safest and easiest -
[Atrix 4G Android Development] Ririal:
The two methods for gaining root are privilege escalation exploits found in linux in general. Psneuter and rageagainstthecage were the two known methods that worked on Android, being a linux-based OS. Motorola patched these (which, really, as they are MAJOR security flaws and can be used for extremely malicious tampering, is a credit to Motorola) with the 1.57 update, and we don't know of any other exploits that work. There's a rumor floating around there's a working exploit for gingerbread phones that is yet unreleased, but as it's unreleased.

So tl;dr: There is no other method, this is the only way we've found.
[Atrix 4G Android Development] BBock9:
Edit: Resolved