yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Ririal:
Unfortunately, no. The method for installing those fixes currently require psnueter, which is the root exploit that was patched in the update. I have a method for sending scripts though, I'll just need to go through and update everything. GladiAtrix v2 should be out either tonight or tomorrow and will have everything working, as well as deodex, power menu options, etc.
[Atrix 4G Android Development] kennethpenn:
You should make the tethering MOD optional. It causes a plethora of network issues for many users.

BTW... good job to Sogarth on that device detection code. That's awesome.
[Atrix 4G Android Development] tacginc:
I dont think I asked my question well. :(

I have done before & after scripts and am sitting good with x.57 rooted, would it hurt to run before-script then your new-script to get all those features?
[Atrix 4G Android Development] tacginc:
Look closer at the commands to enter. I believe the last one has a PERIOD in it right before /data. "./data/local/tmp/restoresu.sh"

.

[EDITED] Sorry your still one command above that. When you first enter the FROZENFISH line, it'll prompt you on your phone to ALLOW. You have to accept that. Otherwise, might be your before bat file didn't take, but I believe
[Atrix 4G Android Development] nekrosoft13:
what is frozenfish? first when i ran beforeupdate it said frozenfish not found
[Atrix 4G Android Development] neotekz:
yes pls make the tethering mod optional for those of us that already used the script or did it manually
[Atrix 4G Android Development] shawnbuck:
frozenfish is a renamed copy of su. At what point does it say not found?
[Atrix 4G Android Development] dvice19:
Just got an ATT Atrix

Just got an ATT Atrix, I'm in Canada. Looks like running 4.1.52, I just rooted it. How do I get 4.1.26?
[Atrix 4G Android Development] Promo1976:
I am guessing that if it says it is not found then the first part of the script never ran correctly. This is what I get:

Adb.exe shell

$ /osh/sbin/frozenfish

/osh/sbin/frozenfish

/osh/sbin/frozenfish: not found

$
[Atrix 4G Android Development] mcmc08:
I'm getting the same frozenfish not found error. I checked the /osh/sbin directory and there is no frozenfish file there.

Any suggestions?

Also, if I need to go back to 4.1.26, where can the download be found?
[Atrix 4G Android Development] k00ey:
Sounds like you didn't run the beforeupdate bat file correctly. When clicking the file, it should ask you if you currently have root or not. If you did not get that question then you would have to flash a fresh sbf and restart the whole process
[Atrix 4G Android Development] naplesbill:
I had the not found issue on my first attempt. I remembered have an issue with aroot not working the first time on the stock rom.

So, I started over. I had run aroot three times. Before the third try, I pulled the battery and restarted. Aroot worked and so did the rest of the process.

It was a little pain but worth the reward. I would bet that anyone having this problem probably never had root.
[Atrix 4G Android Development] humjaba:
I had to reflash the stock SBF. This belongs in a different thread though, so dont mind me ;)
[Atrix 4G Android Development] joewoo:
what does it mean if i lost my reboot option?

i've got root in the new release but my reboot option is no longer there...
[Atrix 4G Android Development] shawnbuck:
Heads up, new version coming soon!

Were you running Adeo before the update?
[Atrix 4G Android Development] drjim:
I installed the aroot and all seemed to be fine. I then rebooted and reconnected the Atrix. It is set on Mass Storage. Media Link recognizes the phone. I then clicked on beforeupdate.bat.

I get a cmd screen that says:

"Checking device state...

'C:\Users\Dr.' is not recognized as an internal or external command,

operable program or batch file.

Unable to detect a device over adb.

Press any key to continue..."

That 'C:\Users\ is my PC.

My Atrix seems to be recognized because Media Link pops up.

Ideas?

thanks in advance.
[Atrix 4G Android Development] shawnbuck:
Its a known bug in the script: it doesn't like spaces anywhere in its file path. Try doing it from C:\retainroot
[Atrix 4G Android Development] joewoo:
i had adeo... flashed to stock... applied these tricks in the first post to keep my root... i havent applied adeo after going back to a fresh stock... was that my mistake? can i just apply adeo now? or do i have to get a fresh stock again?
[Atrix 4G Android Development] jwhited:
Works great! I was running Adeo 0.2 so I had to flash SBF back to stock 4.1.26 first. Thanks!
[Atrix 4G Android Development] shawnbuck:
Adeo isn't compatible with this update. If you want to keep it, you'll need to downgrade, or wait for something similar to be ported to this version.
[Atrix 4G Android Development] dac1227:
Works awesome! Thanks shawnbuck!
[Atrix 4G Android Development] astarling10:
Worked like a charm for me using the instructions in post 1. I am using a Mac and did all the instructions by running a virtual machine using Parallels 5. I made sure I read ALL the posts before I did anything just so I knew solutions to any issues I may run into. Thanks to all that made this work!
[Atrix 4G Android Development] shawnbuck:
Props to the dedication of reading the entire thread! Glad to help :)
[Atrix 4G Android Development] drjim:
I moved the retainroot folder to C:\, but still no go. The Atrix appears as storage, so it is recognized.

What should the USB connection be set on?
[Atrix 4G Android Development] casper1n1:
Help!!!

I ran beforeupdate.bat and everything seems to work fine. It ask me to give it super user access which I allow. Then I did the OTA update. Then I ran afterupdate.bat and it seems to go too fast. I think I lost root access. :(

Below is my commands I ran. Can anyone help me figure out what I did wrong? I had usb debug on the whole time. I try different mode on afterupdate.bat but nothing seems to be working.

-------------------------------------------------

C:\Users\Keith\Desktop\retainroot>beforeupdate.bat

Checking device state...

Obtaining temporary root access...

Waiting for root access to kick in...

Mounting /system as read/write ...

Are you already rooted? [y/n] y

Pushing backupsu.sh...

su backup complete

Process complete. Run the update, and after run afterupdate.bat

Press any key to continue . . .

C:\Users\Keith\Desktop\retainroot>afterupdate.bat

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.

C:\Users\Keith\Desktop\retainroot>dir/w

Volume in drive C is HP

Volume Serial Number is 2455-E322

Directory of C:\Users\Keith\Desktop\retainroot

[.] [..] adb.exe AdbWinApi.dll

AdbWinUsbApi.dll afterupdate.bat beforeupdate.bat [bin]

5 File(s) 571,952 bytes

3 Dir(s) 106,582,171,648 bytes free

C:\Users\Keith\Desktop\retainroot>adb shell

$ su

su

Permission denied

$

C:\Users\Keith\Desktop\retainroot>afterupdate.bat

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.

C:\Users\Keith\Desktop\retainroot>adb shell

$ su

su

Permission denied

-----------------------------------------------------------------

I ran a few more in different mode but didn't paste that.
[Atrix 4G Android Development] shawnbuck:
@casper1n1: try running /osh/sbin/frozenfish in a terminal

I like to set it for none, it works the best.
[Atrix 4G Android Development] plmiller0905:
I was able to re-root and after a few mishaps I finally got it, however, I can't install apps from amazon or other apks that's on my sd card.

Is there a way to enable sideloading apps?

Sent From A Blazing Atrix
[Atrix 4G Android Development] shawnbuck:
We are working on that one, coming soon!
[Atrix 4G Android Development] Kaaji1359:
I'm pretty new to this but I had a rooted Atrix with Webtop hack (was the only MOD on the phone). I googled how to use ADB Shell (first time ever using it), ran the 7-10 or so lines of code to undo Webtop hack (typed in "reboot" after the lines of code was done), plugged in my phone to my TV to make sure Webtop wasn't working, and tried this method.

I keep on getting the "Unable to detect device of ADB" error (yes, ADB Debugging is enabled. All files are on my desktop. Rebooted PC and phone all to no avail).

I eventually said screw it and wanted my Webtop back. So I went to download the same Webtop script that I had used previously (http://xdaforums.com/showthread.php?t=980193). It says: "adb.exe is not recognized as an internal or external command."

Wtf? I read that it might be because I don't have ADB installed (I had previously installed it through Droid Explorer), so I went and downloaded it, installed Java Development, installed SDK again, and still getting the same error.

What did I do wrong? After you run commands in ADB are you supposed to issue a command to exit out rather than typing "reboot"? This is infuriating...

On a side note (probably unrelated) none of my syncs work!!!!

EDIT: I'm starting to think I need to flash SBF... :( Anyone have any input?

EDIT2: Original script for webtop just magically started working after my 4th reboot of my PC and laptop... So odd. Also refroze "Contacts Sync 2.2.1" and the sync icon in the notification bar went away. Anyway, I guess I figured everything out lol. I'll try to update again at a later date.
[Atrix 4G Android Development] plmiller0905:
Ok..cool thanks. Do you know if there is another way to install apps from amazon?

Sent From A Blazing Atrix
[Atrix 4G Android Development] dicksteele:
Root restore worked perfect for me thanks !!!

Anyone having issues setting USB connection to none and it not staying. Whether I set to none or usb mass storage, it kicks back to moto phone portal in under a minute. Which kicks me out of adb shell. I had to jam to type in commands for restore. Freaking wierd.
[Atrix 4G Android Development] k00ey:
Try typing adb.exe shell not adb shell ?
[Atrix 4G Android Development] johng75:
i see some users are getting confused as to what to do with the afterboot bat... especially when i comes to 'running commands'

when it brings up the C: prompt you actually have to type in the box... ive made a screen shot to help illustrate...

hope it helps with the confusion... great script!
[Atrix 4G Android Development] Tennis11:
Could somebody give me a detailed, step by step instruction on exactly how to do this?

I'm currently rooted, and haven't done the update yet, so I want to do this first.

Thanks.
[Atrix 4G Android Development] franciscojavierleon:
Here's the code to sideload

Requisites:

-you need to be rooted already

-Be in a folder that has a bin sub-folder with the sqllite3 binary (comes with aroot)

adb.exe push bin/sqlite3 /system/bin
adb.exe shell chmod 6755 /system/bin/sqlite3
adb.exe shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "UPDATE secure SET value=1 WHERE name='install_non_market_apps';"

Alternatively there shouldn't be a reason that you just couldn't run aroot after getting root either manually or with this script
[Atrix 4G Android Development] Ririal:
All root options are optional. It will ask you at each step if you want to install.

And yeah, that code really is genius. It makes me giddy :)

No, you asked your question find, you just didn't understand my answer :) 1.57 is not compatible with any of the automatic scripts as they rely on the psnueter exploit which was patched. So running my new script on your rooted 1.57 won't work, as the exploit doesn't work post-update. Again, I'm working on getting all my scripts and ROMs updated for 1.57. Halfway done with GladiAtrix, should be done tonight.

You didn't read my directions. It tells you exactly what to type, and you ignored it :)

You don't type su, you type /osh/sbin/frozenfish.

All of this is moot as I'm uploading the updated script now and will have it posted momentarily.
[Atrix 4G Android Development] s1mpd1ddy:
took me an hour and a half.. but i have root! titanium backup is restoring all my stuff now.

hopefully this goes well. the phone already feels a little zippier (but maybe because it was stock lol)
[Atrix 4G Android Development] Ririal:
Actually, as I keep mentioning, aRoot will not work on 1.57. It relies on psnueter to function, so the commands will not have root access to run. Those commands will fail as well as you're not mounting /system read/write.
[Atrix 4G Android Development] drjim:
Giving up for now

I've tried everything and I can't get the beforeupdate.bat to take. It doesn't recognize the Atrix even when it is clearly recognized based its appearance under Computer and it connecting with Media Link.

I don't want my wife (it's her Atrix) to keep having to press Update Later every hour. Can someone tell me where in the Atrix I can go to delete the file from the phone?

And I assume that I can re-download it at some future point when the re-rooting process is less unpredictable?

As always, thanks to everyone for sharing their expertise.
[Atrix 4G Android Development] tdamocles:
I got all the way to the '/osh/sbin/frozenfish' command and it denied me! I noticed that I did not get a superuser prompt!
[Atrix 4G Android Development] franciscojavierleon:
yes, the rooting part will fail, but it also sideloads. anyway that's why i just put the sideloading code
[Atrix 4G Android Development] Ririal:
You misunderstand. The sideloading part requires root access, but the script isn't dependent on your device being rooted to run. su (root on the phone) and psnueter (root for the script) are two very different things.
[Atrix 4G Android Development] meet2x4:
Thanks for all the hard work on this but I had to flash back to 26. Tried the root but ran into a major issue (3G radio kept turning off and back on). Decided to do a straight stock 57 thinking it was something I did improperly and so I started over (no root at all) and it kept doing it :\ This update just isn't for me haha. Besides, the major improvements are "right around the corner" and I can wait a few weeks. Thanks a million though, everything is spot on for the root.
[Atrix 4G Android Development] TardisPhD:
Actually it is provided. Step by tedious step. You will need to read every post same as me to understand the steps. They are not difficult. The hardest part for you would be turning on the phone.

It was for me.

I have posted my steps and asked for help here but unless you understand some basics.

Stock phone

Root

run the scripts like it says on page one

your done.

I know it looks complicated but its not.

I am only interested in getting Webtop back.

Good luck
[Atrix 4G Android Development] veuro:
superuser app "unknown"

anyone get this unknown app in superuser location system/bin/sh

wonder if this is normal or if i should deny access

i'm on 4.1.57 rooted (via method described in this post)
[Atrix 4G Android Development] sprinkles:
did you try running it in your c directory? it worked for me when i took the files and placed them in the c:/
[Atrix 4G Android Development] dereknas:
can i run this with some freezed items in titanium backup?
[Atrix 4G Android Development] pagereborn:
thanks for the rooting, I want to know if sideloading possible soon
[Atrix 4G Android Development] drjim:
Yes, I moved the entire retainroot folder to C:\. I even tried emptying the folder and having the files directly in C:\ and still go go.
[Atrix 4G Android Development] Ririal:
New script is live. Please move all discussion to the new thread. Any questions about the old script will be answered, "use the new script." Thank you. (Click this for the new thread.)
[Atrix 4G Android Development] franciscojavierleon:
i know sideloading requires root, and we have root now, i just meant to put the sideloading code in the script and while you do that i was giving out the code for people that couldn't wait :)
[Atrix 4G Android Development] Pirateghost:
if you deny that, you will no longer have adb su access.......
[Atrix 4G Android Development] shawnbuck:
New version availible!

Get it here:

http://xdaforums.com/showthread.php?p=12540398#post12540398
[Atrix 4G Android Development] nekrosoft13:
i get this
[Atrix 4G Android Development] LancerV:
Doesnt look like you have root
[Atrix 4G Android Development] sandyreddy2004:
Tether Woes

Hi all.

I am on rooted 4.1.57 using aroot, beforeudate, update, afterupdate method first described by shawn et al. I have lost my hotspot feature in India. What can I do to get this back ? Please help.
[Atrix 4G Android Development] shawnbuck:
Check the new script, it has the option to enable tethering.
[Atrix 4G Android Development] Promo1976:
Actually I did get the question and I answered it yes. Any suggestions?
[Atrix 4G Android Development] Room7:
Still the same issue, Will try another computer. Any other suggestions? (atrix: rooted, allow side loaded apps...win7)
[Atrix 4G Android Development] jwhited:
Deprecated, not depreciated. :)
[Atrix 4G Android Development] mr.acarlton:
help

i am rooted now and did the ran the bat that did ok , found the update, downloaded, ran and in the reboot it asks likes it wants to update then white triangle ! android man ...i had to pull batt to reboot and still now updated

HELP PLEASE
[Atrix 4G Android Development] shawnbuck:
You pulled the battery while it was updating? Does it still boot?

Avoid doing that in the future - it could leave you with a brick.
[Atrix 4G Android Development] Ririal:
Again, please do not use this version, or this thread. It is unsupported software at this point. Click here for the new version
[Atrix 4G Android Development] ssmr2t:
So.... What happens if I already ran this half way thru and the ADB cant find the frozen fish?

Because now I am on 1.2.7

Where to go now? Shouldn't this thread be completely locked and the first post modified to have a link to the new thread?
[Atrix 4G Android Development] Ririal:
The first post is updated with a link to the new thread. Go ask a mod to close it for us, since we can't ;)
[Atrix 4G Android Development] ssmr2t:
Yeah, but when I ran the update the link wasn't there so now I am on .7.... with a half ass superuser :D

What steps can I take to go back now? Am I pretty much screwed until the devs work on a update for .7?

Thanks!!!
[Atrix 4G Android Development] Mr. Clown:
Thread closed by OP request
[Atrix 4G Android Development] dew.man:
I think the prob is with your bat file:

you try to push movesu.sh (which doesn't exist), and then try to execute backupsu.sh

Looks like you need to change line 4 to:

adb push backupsu.sh /data/local/tmp
[Atrix 4G Android Development] bigdog_nick:
Just like someone stated above, superuser isn't asking permission. I just dled the new v2 script too.
[Atrix 4G Android Development] scoobydoobie:
Probably a stupid question but I'm gonna ask anyway.

If we were rooted on 4.1.26 before the update and still have side loading, shouldn't we be able to push a working su to the proper folder and have it working again?
[Atrix 4G Android Development] Pirateghost:
similar problem in the afterupdate.bat

it should be adb.exe shell /data/local/tmp/restoresu.sh > NUL 2>&1

instead of

adb.exe shell /data/local/tmp/restore.sh > NUL 2>&1
[Atrix 4G Android Development] shawnbuck:
That was the problem. I've already put a v3 that relocated su to /osh/sbin. This one will be v4 that executes the proper script. Sorry guys!
[Atrix 4G Android Development] AmesCell:
No problem. Awesome that you are working on it. Without root I'm not updating mine.
[Atrix 4G Android Development] Pirateghost:
please fix the afterupdate.bat for your next one
[Atrix 4G Android Development] bigdog_nick:
even with v4, im not getting superuser permission, I tried to update anyways after using "beforeupdate" and ended up with triangle explanation mark.
[Atrix 4G Android Development] LancerV:
On stock 1.2.6? No Ginger blur or any other mods besides root?
[Atrix 4G Android Development] shawnbuck:
I've added a v5. After running beforeupdate.bat, run printdirs.bat, and check to see if frozenfish is in sbin.txt.
[Atrix 4G Android Development] Pirateghost:
question:

in your restoresu.sh how come we arent pushing su back into /system/bin/xbin also?
[Atrix 4G Android Development] shawnbuck:
I added the check for /system/xbin in case it happened to be in there. After the other script is run, it will leave su in /system/bin.
[Atrix 4G Android Development] bigdog_nick:
Rooted 4.1.26 but i do have the webtop mod that enables any HDMI to work. No full ubuntu or anything.

frozenfish doesn't show up in the log.
[Atrix 4G Android Development] LancerV:
Webtop mod and update will brick your device
[Atrix 4G Android Development] Pirateghost:
instead of a mv, shouldnt it be a cp? dont mind my noob questions ;)
[Atrix 4G Android Development] djkinetic:
will try this when i get home argh have to reflash lol thanks for the work =)
[Atrix 4G Android Development] Vigneshd:
Yes it will. Sigh :(
[Atrix 4G Android Development] s0dhi:
I thought the updates would not take unless you were TOTALLY stock. I know that the beta update install failed for me because of mods.
[Atrix 4G Android Development] bigdog_nick:
Well, i followed the instructions on the on the forums to restore my webtop to default. back to normal. now to see if i can get this script to run.
[Atrix 4G Android Development] shawnbuck:
The update worked for me with only a few modified binaries in /system.

Also, I've put up a v6. I can't get the script to sleep though - if you guys can, always allow process 2000 (adb) to be granted su, this should allow the process to complete without issues.
[Atrix 4G Android Development] Pirateghost:
the new version still doesnt have the fixed afterupdate.bat .... or maybe i am missing something

also, it doesnt appear that the script is getting su permissions, therefore not mounting system as rw

i was able to go in and mount manually
[Atrix 4G Android Development] dew.man:
how is this different from pushing su to a fresh install?
[Atrix 4G Android Development] shawnbuck:
Appolgies for the errors on the .bat files, I don't have access to a Windows computer for the moment. I'm putting a v7, this should be the final one.

So far, we can't get root on a fresh install of 4.1.57. This script copies su, and puts it back after the update.
[Atrix 4G Android Development] dew.man:
the sh scripts also appear to have extra spaces
[Atrix 4G Android Development] rjohnstone:
Since I understand the concept of your scripts, I didn't use your batch files.

I manually copied su to osh/sbin and renamed it as you did and then chmod the file permissions,

I then unrooted my phone and did a reboot.

I then executed adb shell and the executed osh/sbin/fronzenfish and now have root.

Now this proves that the "process" works.

Now to run the update and then attempt to execute "frozenfish" via adb after the update is done. If that works, I think we will be good.

Edit: but now I have to wait until I get home as the WiFi router here at work is for internal use only. No internet access.
[Atrix 4G Android Development] shawnbuck:
Thats correct.

I was a bit hasty with this release, and adb is not letting these scripts run correctly, so I'm going to take them down until they are more throughly debugged. I'll put the re-release here.
[Atrix 4G Android Development] ntwrkwizard:
Looks like the before script in v7 has an error on the ADB execution of the chmod. change it to this and that batch file will be fine:

@ECHO OFF

ECHO.

ECHO Pushing backupsu.sh...

adb.exe push backupsu.sh /data/local/tmp > NUL 2>&1

adb.exe shell chmod 0755 /data/local/tmp/backupsu.sh > NUL 2>&1

adb.exe shell /data/local/tmp/backupsu.sh > NUL 2>&1

ECHO Process complete. Run the update, and after run afterupdate.bat

ECHO.

PAUSE
[Atrix 4G Android Development] neer2005:
ntwrkwizard can u post the command lines for afterupdate.bat?