Getting OTA Ice Cream Sandwich on Bionic while rooted

Discussion in 'Droid Bionic Hacks' started by erich93063, Oct 24, 2011.

  1. erich93063

    erich93063 Member

    Joined:
    Nov 11, 2009
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    So I have a rooted Bionic. I haven't installed a custom ROM, I'm just rooted. I'm reading all over that we can expect to receive ICS at some point. Will the OTA update just not happen because I am rooted, or will it happen and just get rid of my root privileges? I read somewhere there is a way to allow the OTA update to happen without getting rid of root. What's everyone else doing? What's the best way to handle this? I sure don't want to miss out on ICS. :)
     
  2. brandon9559

    brandon9559 Member

    Joined:
    Feb 18, 2011
    Messages:
    221
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    You can receive the update successfully while rooted as long as all system files are in place. Normally after the update you would lose root but there is a way now to update and stay rooted. I will try to find the link for you unless someone beats me to it.

    Sent from my DROID BIONIC using DroidForums
     
  3. BayouFlyFisher

    BayouFlyFisher Rescue Squad
    Rescue Squad

    Joined:
    Dec 10, 2009
    Messages:
    4,959
    Likes Received:
    17
    Trophy Points:
    168
    Location:
    Baton Rouge, LA
    Ratings:
    +17
    How to maintain root through any upgrade (Motorola Devices Only) by p3droid
    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
     
  4. ripper2860

    ripper2860 Member

    Joined:
    Sep 6, 2011
    Messages:
    467
    Likes Received:
    11
    Trophy Points:
    18
    Ratings:
    +11
  5. projektorboy

    projektorboy Member

    Joined:
    Jun 16, 2010
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Phoenix, AZ
    Ratings:
    +0
    Given the extremely overhauled architecture going on in Ice Cream Sandwich, I wouldn't expect root access to survive an OTA ICS release from Moto/Verizon whatsoever.

    However, with the SDK being out, maybe someone smarter than me can shed some more light on this and possibly prove me wrong.
     
  6. bigtex52

    bigtex52 Member

    Joined:
    Jan 22, 2010
    Messages:
    240
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Big D little a double-L A S
    Ratings:
    +3
    I'm thinking that weeks before you see an ICS OTA for the Bionic, devs will already have us on their ICS based roms, just like the GB process. Just a wild *** guess.
     
  7. kbatrph

    kbatrph Guest

    Ratings:
    +0
    i want to do this, and right now, have Th3ory's 2.0 rom on my phone...am trying to go back to stock, but when i try to sbf (fxz), it fails....do i need to do a factory reset on the phone first, and then use RSD lite to return to stock??? or do i go into recovery and format the system first? any help would be appreciated...thanks
     
  8. BayouFlyFisher

    BayouFlyFisher Rescue Squad
    Rescue Squad

    Joined:
    Dec 10, 2009
    Messages:
    4,959
    Likes Received:
    17
    Trophy Points:
    168
    Location:
    Baton Rouge, LA
    Ratings:
    +17
    Have you done the .893 update?

    If not, this should work: (read the entire thread first) One-click fastboot restore and root for the bionic v2.1 I've read of people that had to do this multiple time to get it to work.

    If you have, then this should work (read the entire thread first as there are changes from the OP): [ROOT] R3L3AS3D W/FOR3V3R ROOT V1.0 (Get ROOT after 893 OTA OOPS)
     
  9. oldguy

    oldguy Member

    Joined:
    Sep 16, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    WA
    Ratings:
    +0
    I have a rooted Bionic. Just downloaded the ICS OTA last night and tried to run the install this morning. It failed. Here are the last few statements from the log (/cache/recovery/last_log):

    <<<<<<<<<<<<<<<<<<<blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
    blk: partition "" size 63861041152 not a multiple of io_buffer_size 524288
    Verifying current system...
    file "/system/bin/mount_ext3.sh" doesn't have any of expected sha1 sums; checking cache
    failed to stat "/cache/saved.file": No such file or directory
    failed to load cache file
    script aborted: assert failed: apply_patch_check("/system/bin/mount_ext3.sh", "1810bb2cd607e2f6cfbeafa158bb3a89629d60b7", "3a8382950bd4a6226349607d099afcbd93653d48")
    assert failed: apply_patch_check("/system/bin/mount_ext3.sh", "1810bb2cd607e2f6cfbeafa158bb3a89629d60b7", "3a8382950bd4a6226349607d099afcbd93653d48")
    E:Error in /cache/Blur_Version.5.9.905.XT875.Verizon.en.US.zip
    (Status 7)
    Installation aborted.
    >>>>>>>>>>>>>>>>>>>>>>>

    I infer that the chmod commands that have been added to /system/bin/mount_ext3.sh to maintain root through an OTA that are causing the check to fail and the installation to abort.

    Looking forward to someone with hacking skills to sort this out for us....

    I don't want to lose root. I really don't want to do an FDR and don't think it would necessarily restore this file, anyway. Probably an RSDLite restore would work. However, the experiences of those who have successfully download ICS seem to indicate a not quite ready release as various functions seem to be buggy.
     
  10. oldguy

    oldguy Member

    Joined:
    Sep 16, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    WA
    Ratings:
    +0
    ...and, just a postscript to my last comments: It looks like VZW is really intent on rooting out the rooted users and preventing ICS from having root. So, I hope that their goal can be defeated. Meanwhile, I will stay on Gingerbread until this settles out.
     
  11. lm2

    lm2 Member

    Joined:
    Dec 2, 2011
    Messages:
    165
    Likes Received:
    3
    Trophy Points:
    18
    Ratings:
    +3
    Thanks for these ruminations. I'm having the same issue on trying to move a rooted 905 to ics.

    Please please please keep us posted--keep ME posted--about the moves you end up making from here.
     
  12. oldguy

    oldguy Member

    Joined:
    Sep 16, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    WA
    Ratings:
    +0
    OK. So, here is what happened. I already had Voodo OTA Rootkeeper and had made a protected su backup. I had downloaded the OTA (which ends up in the /cache/ folder at the root directory. I used ES File Explorer to copy the OTA file to my 64GB external SD card (see my earlier post for its name). That was a very fortunate move as we will see. I then tried to go in and edit the /system/bin/mount_ext3.sh file to remove the chmod commands placed in it to maintain root. That seemed to work and I saved the file. I then went to the Voodoo application and unrooted. However, on my subsequent reboot, the phone went into a hard bootloop. The Droid boot animation would start, make the broken glass sound and then the boot sequence would restart. I had to remove the battery to stop it. In desperation, I did the hard key sequence to bring up the boot tool menu. I did a cache wipe and that didn't work. I removed the battery again, got back to the boot menu, and thought, "what the heck" and did a factory reset. However, that didn't cure the boot loop. At wit's end, I removed the battery again, went back to the boot tools menu (recovery, fastboot, etc.), and performed the operations to get to the system update tools menu (I googled "bionic hard reset" to get to the instructions for those power up key sequences). One of the menu items was to update from the SD card. That is where I remembered that I had backed up the OTA. So, not knowing if it would work, I selected that option, navigated to my external SD card, and selected the OTA file. Voila! It started the update. I waited breathlessly for it to fail as it had previously but it didn't. Either I had removed the issues or, equally likely, it was not doing all the same checks as it would have done when launched by the download. It took about 15 minutes to complete the update. The reboot took longer than usual and then I had to set the phone back up again. However, I had lost very little of my data and the apps all began downloading immediately (including Voodoo OTA Rootkeeper). The phone was not rooted. However, after all the apps had finished downloading, I went into OTA Rootkeeper and restored root. So, now I have a rooted Bionic on the ICS OTA. Hopefully this will help some of the rest of you....Good luck!
     
Search tags for this page
bionic bootsrap to update ota
,

droid bionic ice cream sandwich root

,
droid bionic /system/bin/logwrapper /tmp/sideload/package.zi
,
droid bionic system update for ice cream sandwich on a roote
,
getting verizon ota with root
,
how do i know i'm on stock ice cream sandwich for droid bion
,

how to apply update from sdcard for phone rooted ics

,
how to upgrade rooted droid bionic to ice cream sandwich
,
ice cream sandwich ota
,
stoping system dates bionic ics