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

Discussion in 'Droid Bionic Hacks' started by gmorgan056, Oct 17, 2011.

  1. gmorgan056
    Offline

    gmorgan056 New Member

    Joined:
    Jun 23, 2010
    Messages:
    449
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Seattle, WA
    This is strictly from P3Droid, i'm just passing on the information:

    How to maintain root through any upgrade (Motorola Devices Only)
    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 4755 /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

    chmod 4755 /system/bin/su
    chmod 4755 /system/xbin/su
    chmod 4755 /system/app/Superuser.apk​
    Save file

    adb push mount_ext3.sh /data/local
    adb shell
    mount -o rw,remount /dev/null /system
    cat /data/local/mount_ext3.sh > /system/bin/mount_ext3.sh
    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.

    Here's the source link:

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

    Thanks P3Droid!​
  2. NoahNoise
    Offline

    NoahNoise New Member

    Joined:
    Nov 12, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, CO
    Does this allow for the update to be integrated, or does this just make the update "pass by" your Droid? It seems like there are some things in the Nov update that might be valuable, even to rooted users...
  3. brandon9559
    Offline

    brandon9559 New Member

    Joined:
    Feb 18, 2011
    Messages:
    221
    Likes Received:
    0
    Trophy Points:
    0
    It is my understanding that doing this method allows you to take an OTA update and retain root
  4. gmorgan056
    Offline

    gmorgan056 New Member

    Joined:
    Jun 23, 2010
    Messages:
    449
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Seattle, WA
    Agreed. Here's P3Droid's exact tweet:


    [​IMG]
    P3Droid P3Droid



    Important: Rd this now! Romers/Themers especially..How to maintian root through a Motorola update every time





    This makes me believe that this is for the OTA updates.
  5. NoahNoise
    Offline

    NoahNoise New Member

    Joined:
    Nov 12, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, CO
    Many thanks!
  6. Zane_Grey
    Offline

    Zane_Grey New Member

    Joined:
    Oct 9, 2011
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    0
    It says that you need to be stock for the OTA. As in bloated and everything. This will just hopefully maintain root after the OTA.
  7. NoahNoise
    Offline

    NoahNoise New Member

    Joined:
    Nov 12, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, CO
    Lucky me so far, then. I haven't flashed to a ROM yet, and I've gone the simple route and frozen (rather than uninstalled) much of the bloat.

    So would it be best to unfreeze apps in anticipation of the OTA? I followed one of the more sparse lists found here, and I didn't freeze the FOTA as some recommend. I HAVE frozen the various VZW Apps (Music, Video, Social).

    Maybe I should just unfreeze everything once the update time draws near, just to keep it simple?
  8. jayman350
    Offline

    jayman350 New Member

    Joined:
    Jan 8, 2010
    Messages:
    845
    Likes Received:
    18
    Trophy Points:
    0
    Location:
    Lowell, Ma
    sounds great, only problem for me is that I got sick of frozen apps reattaching themselves to the market and auto-updating, so I uninstalled them.

    I do have a bone stock backup that I can restore and change the file on that one, then when the ota comes I can restore that backup and apply the update.

    do we know if this can be deodexed, or does it need to have the odex stuff there?
  9. tbell6
    Offline

    tbell6 New Member

    Joined:
    Sep 15, 2011
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    0
    Need help, I can make the changes but can not save them. Obviously I'm missing something. Are there "assumed" steps that I missed?


    OK, found it.
    LOL, forgot to Mount R/W.

    Sent from my DROID BIONIC using DroidForums
    Last edited: Oct 18, 2011
  10. wooddale
    Offline

    wooddale New Member

    Joined:
    Aug 4, 2010
    Messages:
    1,771
    Likes Received:
    11
    Trophy Points:
    0
    Location:
    Il & Wi
    Should we do this now or wait unyil update gets closer? Does it hoof snything else up?
  11. tgyberg
    Offline

    tgyberg Well-Known Member

    Joined:
    Dec 18, 2009
    Messages:
    3,806
    Likes Received:
    224
    Trophy Points:
    63
    Location:
    Minneapolis, Minnesota
    I dont have one thing wrong so I dont think I want any update. On the Tbolt those updates just kept making things worse!
  12. Cinoib
    Offline

    Cinoib New Member

    Joined:
    Sep 30, 2011
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    0
    I'm rooted & SqLited. The only part of an ota I want is the fix that lets me watch nfl games on the big screen. I do privately wonder though if the ota would allow me to do that. I believe that jam is intentional. So I don't know if I want the ota.

    I've had a few problems with the Bionic but overall I am most happy as long as I can stay rooted & hacked.

    Titanium Backup has worked for freezing and thawing apps. I guess what I'm saying here is that if it's not broke I won't fix it with an ota. That said if the ota gives me espn's Monday Night game, I might unroot, take the ota, and try to reroot.

    But even then, given Moto's ota history with other ota's, I just don't think I'll take the ota.


    Sent from my DROID BIONIC using DroidForums
  13. wooddale
    Offline

    wooddale New Member

    Joined:
    Aug 4, 2010
    Messages:
    1,771
    Likes Received:
    11
    Trophy Points:
    0
    Location:
    Il & Wi
    The OTA"s on the Thunderbolt were mostly from the Devs they werent offical. There still isnt a offical ota for gingerbread. The biggest ptoblembwas with the radios which didntbaffec tobdo with radiost allphones I till dont have a problem. The Bioni on the other hand has a definet problem which I think also has to do with radios or 4G. Either way not havinga data connection is a problek which needd to be adressed.
  14. droidxjay
    Offline

    droidxjay New Member

    Joined:
    Oct 7, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I can confirm this is working fine, as I just used it to upgrade to 5.5.893

    [​IMG][​IMG][​IMG][​IMG]

    Sent from my DROID BIONIC using Tapatalk
Search tags for this page
droid x permanent root
,

permaroot bionic