Rooting Gingerbread 2.3.6 (4.5.141) - The Complete Guide

tchcaphr

Member
Oct 12, 2012
39
11
0
really good guide. i was in 2.3.6 but i was really afraid, but the store i gave it to somehow took me back to the 2.3.4 and unlocked my phone so didnt need to use it avnutally.
 

tardythemanpony

New member
Jun 26, 2012
3
0
0
Thank you so much! I saw a few other guides on how to do this, but I'm not very adept at command prompt. So this was a big help! It worked perfectly, (even thought i hit a snag after waiting for reboot, it took my comp a while to connect to my device again before i typed adb shell again) So i just waited a minute and typed ADB shell again, and it went through. I am now rooted! Again, thanks for the fantastic guide!
 
Jan 16, 2013
11
1
0
I can confirm it did *not* work for me for 145. Lost root on the update, despite using OTA Rootkeeper, and the preinstall method runs into a bizarre error about no space on device (which I know is bs).
Well, I had an unrooted phone, before the update.
I thought I would root it only after the "final-possible official-update ever" to our beloved phone.
To add, my phone didn't restart after step 11.
 

joeguff

New member
Oct 1, 2010
1
0
0
I can confirm it did *not* work for me for 145. Lost root on the update, despite using OTA Rootkeeper, and the preinstall method runs into a bizarre error about no space on device (which I know is bs).
I was able to successfully root yesterday following this method edit: On System version: 4.5.145.MB860.ATT.en.US I was successfully rooted prior to the update following this process but after the update root was lost. Going back though this went as well as it did the first time except at step 12 I was informed that it failed as the file already existed but I continued on and it worked. I had some trouble updating the SU binaries but a reboot fixed that.

I have one of the newer atrix where the bootloader is locked down.
 
Last edited:

Dyscrete

Member
Feb 20, 2013
5
0
0
assistance

PATH=/system/bin:$PATH pm install /preinstall/superuser.apk
pkg: /preinstall/superuser.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

I'm getting the above error when following these instructions:

http://forum.xda-developers.com/show....php?t=1769497.

I rooted the phone previous then I unlocked it and I lost root access. Upon redoing these steps I get the above error.

I unlocked the phone with these instructions:

http://forum.xda-developers.com/show....php?t=1302423

This is would be an International phone.

thanks,

---------- Post added at 01:45 PM ---------- Previous post was at 01:30 PM ----------

I haven't had a chance to install the OTA update and try the method described in the OP to gain root access.

But if you have an unlocked bootloader you can try flashing the attached zip.

Should work just fine.
How do you flash this with the attached file?
 

donduk

New member
Feb 23, 2013
1
0
0
NYC
worked for me on 4.1.145

I lost root after OTA upgrade 4.5.145 and this method restored it without any problems at all. No deviations from the original method were needed.

THANKS!

I was able to successfully root yesterday following this method edit: On System version: 4.5.145.MB860.ATT.en.US I was successfully rooted prior to the update following this process but after the update root was lost. Going back though this went as well as it did the first time except at step 12 I was informed that it failed as the file already existed but I continued on and it worked. I had some trouble updating the SU binaries but a reboot fixed that.

I have one of the newer atrix where the bootloader is locked down.
 
Last edited:

aslka126

New member
Apr 10, 2013
1
0
0
cp: write error: No space left on device

Code:
C:\Users\4slk4\Desktop\fastboot>fastboot.exe flash preinstall preinstall.img
sending 'preinstall' (30720 KB)... OKAY [  3.663s]
          writing 'preinstall'... OKAY [  2.109s]

C:\Users\4slk4\Desktop\fastboot>fastboot.exe reboot
                     rebooting...

C:\Users\4slk4\Desktop\fastboot>adb shell
$ /preinstall/dosu
/preinstall/dosu
bash: groups: command not found
[email protected]:/# /preinstall/su
/preinstall/su
# /bin/mount -o remount,rw /system
/bin/mount -o remount,rw /system
# cp /preinstall/su /system/bin/
cp /preinstall/su /system/bin/
cp: write error: No space left on device
I did some research on Google but there was no useful information to solve this problem :rolleyes:
 

anonimo66

Member
Dec 25, 2011
39
3
0
Code:
C:\Users\4slk4\Desktop\fastboot>fastboot.exe flash preinstall preinstall.img
sending 'preinstall' (30720 KB)... OKAY [  3.663s]
          writing 'preinstall'... OKAY [  2.109s]

C:\Users\4slk4\Desktop\fastboot>fastboot.exe reboot
                     rebooting...

C:\Users\4slk4\Desktop\fastboot>adb shell
$ /preinstall/dosu
/preinstall/dosu
bash: groups: command not found
[email protected]:/# /preinstall/su
/preinstall/su
# /bin/mount -o remount,rw /system
/bin/mount -o remount,rw /system
# cp /preinstall/su /system/bin/
cp /preinstall/su /system/bin/
cp: write error: No space left on device
I did some research on Google but there was no useful information to solve this problem :rolleyes:
did you got a solution? i got the same error

i rooted the phone on 4.5.91 update to .141 then .145 lost root but su are still on phone, cant delete it. trying fastboot i got
cp /preinstall/su /system/bin/
cp: write error: No space left on device
 

dktani89

New member
May 13, 2012
4
1
0
Fowler
Having just purchased another Atrix that was running stock Gingerbread 2.3.6 (4.5.141), I was frustrated by the lack of a complete rooting guide and appropriate files. There is a guide in this forum (Link) which is based on an article from Android Advice (Link), but I noticed that both lack a lot of basic information for the inexperienced user. Also, the zip file available from Android Advice was missing a key file (Superuser!). So, I made a guide.

This may look complicated, but is super easy. If you don't feel comfortable using this method, you can use this automated tool (yes, it works on 4.5.141). It won't be as satisfying, or even feel good. You won't learn anything, but you will be rooted. Download tool here (link in OP is broken).


Pre-work:
1) Read the xda Atrix Beginners Guide (then read it again)! (Link)
2) Download and install 7zip. (Link)
3) If they are not already installed on your PC, download and install the Atrix drivers for Windows. (Link)
4) Download the attached files (sorry, had to break them in to two files due to forum size constraints). Create a new folder on your hard drive named "Android" (c:\Android). Extract both attached zip files to this folder (all the files need to be in "Android", not in a sub folder).
5) On your phone go to Settings, Applications, Development, then tick USB Debugging.

Notes:
Do not type quotes.
After each command hit enter.
Be mindful of spaces.
You can simply copy each command and paste in to the command prompt.
If you encounter any errors after entering a command, just ignore and keep going (assuming you entered the command properly).

Work:
1) Attach your phone to the PC via USB. In the USB settings make sure USB Mass Storage is selected.
2) Reboot phone while holding volume down until you see "fastboot".
3) Press volume up to initiate fastboot.
4) On your PC click the Start menu, then in the search box type "cmd"
5) In the command prompt type "cd c:/android"
6) "fastboot.exe flash preinstall preinstall.img"
7) "fastboot.exe reboot"
8) Wait for phone to reboot.
9) "adb shell"
10) "/preinstall/dosu". If you get an error (I did), type "/preinstall/su"
11) "/bin/mount -o remount,rw /system"
12) cp /preinstall/su /system/bin/"
13) "chmod 6755 /system/bin/su"
14) "PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk"
15) Reboot phone.
16) On your phone go to your apps and make sure the Superuser icon is there. Open the app, go to settings, then update the SU binary.
17) Open a terminal emulator, then type "su" and hit enter. You should see "#" if you are rooted. Or, download Root Checker from the Play Store.

My phone rebooted itself after step 11, so I had to re-open the adb shell.

I copied and pasted the text from the command prompt for reference (attached).

If I missed anything or have any errors, let me know and I will update the post.

Good luck!


Note: If you experience problems with updating superuser after rooting, try going in to Manage Applications and clear Superuser data. If that doesn't work go to the Play Store and Install Superuser Update Fixer.

*****
Will this work with build 4.5.1A-129_OLY-145?
 
  • Like
Reactions: karthikarjun