Jump to content

Check us out:

- - - - -

How to maintain root through any upgrade (Motorola Devices Only)


109 replies to this topic

#1 OFFLINE   p3droid

    Chief Of Staff

  • Administrators
  • 1,396 posts
  • Device:Motorola Droid

Posted 17 October 2011 - 08:09 AM

Doing the following will allow your device to maintain root through any upgrade (unless motorola changes things)

I use root explorer, but you can also use adb pull and push.


RootExplorer Method

go to /system/bin/
open in text editor - mount_ext3.sh
add the following lines to the very bottom

chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su
chmod 755 /system/app/Superuser.apk


ADB method

adb pull /system/bin/mount_ext3.sh
open the file in your favorite text editor
add the following lines to the very bottom
[INDENT]
chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su
chmod 755 /system/app/Superuser.apk[/INDENT]
Save file

adb remount
adb push mount_ext3.sh /system/bin
adb shell "chmod 777 /system/bin/mount_ext3.sh"

Done!!!



This method was proposed by Djrbliss, and only slightly altered by me...please thank @DjrBliss on Twitter.

Edited by p3droid, 28 October 2011 - 10:32 AM.

Posted Image
> Register at MDW | MDW Rules and Guidelines <
Click the Posted Image in a member's post to thank them for their post!


Remove Advertisements Sponsored Links

    MyDroidWorld.com



#2 OFFLINE   c4blimtizle

    MDW Noob

  • Members
  • Pip
  • 2 posts
  • Device:d3

Posted 17 October 2011 - 08:33 AM

this is totally amazing news! Adding now root explorer method. Thanks mdw for all the greatness you give us.

#3 OFFLINE   smashie

    Junior Droid

  • Members
  • PipPip
  • 22 posts
  • Twitter:http://twitter.com/#!/splendorthought
  • Device:Droid X

Posted 17 October 2011 - 08:37 AM

Did it. Thanks!

#4 OFFLINE   westhaking

    Junior Droid

  • Members
  • PipPip
  • 13 posts
  • Device:Bionic

Posted 17 October 2011 - 08:38 AM

Done! In the past I was unable to download and install OTA updates while rooted. Will having modified this file bypass that restriction as well? Thanks for the info

Offtopic: I HIGHLY recommend using the Total Commander file explorer over Root Explorer. It offers everything RE does and much much more. just my 2 cents

#5 OFFLINE   RedCavyRS99

    Junior Droid

  • Members
  • PipPip
  • 18 posts
  • Device:Droid X

Posted 17 October 2011 - 08:39 AM

Sweet done and done. THANKS!

#6 OFFLINE   Growler48

    MDW Noob

  • Members
  • Pip
  • 8 posts
  • Device:X

Posted 17 October 2011 - 08:39 AM

Now we just need another update to try this on! ICS????:o)

#7 OFFLINE   dag425

    MDW Noob

  • Members
  • Pip
  • 5 posts
  • LocationFlorida Swamp
  • Twitter:@dag425
  • Device:Droid X2

Posted 17 October 2011 - 08:41 AM

I want to add these lines outside of the "fi" correct??? After the script that file holds.....?

#8 OFFLINE   jarnoldsr

    Junior Droid

  • Members
  • 170 posts
  • LocationCentral Pennsylvania
  • Device:Droid bionic

Posted 17 October 2011 - 08:53 AM

so I can install. 892 now correct?

#9 OFFLINE   trdrjeff

    Junior Droid

  • Members
  • PipPip
  • 25 posts
  • Device:Droid X

Posted 17 October 2011 - 09:05 AM

Awesome! Thanks P3 & djrbliss

#10 OFFLINE   jarnoldsr

    Junior Droid

  • Members
  • 170 posts
  • LocationCentral Pennsylvania
  • Device:Droid bionic

Posted 17 October 2011 - 09:20 AM

installed total commander very nice thanks

#11 OFFLINE   ktklein

    Junior Droid

  • Members
  • PipPip
  • 23 posts
  • Twitter:ktklein72
  • Device:Motorola Droid X2

Posted 17 October 2011 - 09:23 AM

Ok so I used ES File Explorer to add the three lines of code to the file, saved it and rebooted. Then I proceeded to re-d/l the GB 2.3.4 update for my Moto DX2 and it STILL failed. I rooted about a month ago and used the 1-click root method and of course deleted a bunch of Verizon-loaded bloat. Did I do something wrong or is the fact that the bload is gone preventing the 2.3.4 update from working? Any help would be most welcome. I am running a stock ROM and other than rooting and deleting bloat no other mods have been done to my DX2 (currently on GB 2.3.3). Thanks.

#12 OFFLINE   p3droid

    Chief Of Staff

  • Administrators
  • 1,396 posts
  • Device:Motorola Droid

Posted 17 October 2011 - 09:25 AM

ktklein said:

Ok so I used ES File Explorer to add the three lines of code to the file, saved it and rebooted. Then I proceeded to re-d/l the GB 2.3.4 update for my Moto DX2 and it STILL failed. I rooted about a month ago and used the 1-click root method and of course deleted a bunch of Verizon-loaded bloat. Did I do something wrong or is the fact that the bload is gone preventing the 2.3.4 update from working? Any help would be most welcome. I am running a stock ROM and other than rooting and deleting bloat no other mods have been done to my DX2 (currently on GB 2.3.3). Thanks.

This does not change the fact you need to be stock, it only keeps your root for you.

Posted Image
> Register at MDW | MDW Rules and Guidelines <
Click the Posted Image in a member's post to thank them for their post!


#13 OFFLINE   ktklein

    Junior Droid

  • Members
  • PipPip
  • 23 posts
  • Twitter:ktklein72
  • Device:Motorola Droid X2

Posted 17 October 2011 - 09:29 AM

Damn - that sucks. Oh well, I guess that means in order to get 2.3.4 or greater I need to learn how to load a custom ROM at some point. Thanks for confirming. Is there any harm in leaving those three lines in or should I just remove them since I can't get to 2.3.4 in my current state?

#14 OFFLINE   pcriz

    Junior Droid

  • Members
  • PipPipPip
  • 49 posts
  • Twitter:http://twitter.com/#!/pcriz
  • Device:DROID Bionic, XOOM Wifi, DROID X

Posted 17 October 2011 - 09:47 AM

ktklein said:

Damn - that sucks. Oh well, I guess that means in order to get 2.3.4 or greater I need to learn how to load a custom ROM at some point. Thanks for confirming. Is there any harm in leaving those three lines in or should I just remove them since I can't get to 2.3.4 in my current state?

Actually you should SBF (I believe there is an SBF out for the X2 right?) to return to stock. You have pretty much always needed to be stock for an "official" update..

#15 OFFLINE   NUNsLAUGHTER92

    Droid

  • Members
  • 108 posts
  • Device:DroidX

Posted 17 October 2011 - 09:58 AM

Okay now that's amazing. I hope they don't change anything, but it really wouldn't be a surprise.

"Without man, there is no problem, no man no problem." -Stalin

#16 ONLINE   kr8os71

    Junior Droid

  • Members
  • PipPip
  • 22 posts
  • Device:Bionic

Posted 17 October 2011 - 10:03 AM

this is awesome, but i have a quick question: do i add these lines without spaces at the bottom?

#17 OFFLINE   brav1111

    MDW Noob

  • Members
  • Pip
  • 8 posts
  • Device:Droid X

Posted 17 October 2011 - 10:40 AM

This did not work for me...I tried:

SBF to Froyo -> Z4Root -> Modified the File -> Tried to take the OTA, but it failed to update my phone.

Droid X btw.

It has been forever since I tried to take an OTA, but I think everything should be fine. Everything is stock except for having root access.

Edited by brav1111, 17 October 2011 - 10:54 AM.


#18 OFFLINE   pcriz

    Junior Droid

  • Members
  • PipPipPip
  • 49 posts
  • Twitter:http://twitter.com/#!/pcriz
  • Device:DROID Bionic, XOOM Wifi, DROID X

Posted 17 October 2011 - 11:08 AM

Would love to give this a try but I'm missing a key component for my Bionic. The leaked OTA. Anyone got a drop?

#19 OFFLINE   LouZirko

    Junior Droid

  • Members
  • PipPipPip
  • 35 posts
  • Twitter:LouZirko
  • Device:DroidX

Posted 17 October 2011 - 11:23 AM

ktklein said:

Damn - that sucks. Oh well, I guess that means in order to get 2.3.4 or greater I need to learn how to load a custom ROM at some point. Thanks for confirming. Is there any harm in leaving those three lines in or should I just remove them since I can't get to 2.3.4 in my current state?

Don't delete bloat freeze it with Titanium Backup. Defrost before an OTA then re-freeze.

#20 OFFLINE   brav1111

    MDW Noob

  • Members
  • Pip
  • 8 posts
  • Device:Droid X

Posted 17 October 2011 - 12:53 PM

I can confirm this works....

.602 rooted
Updated File
Took the .605 OTA

STILL HAVE ROOT!

DROID X





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users