[HACKS] Root Droid 1 - regardless of OS version

Discussion in 'Droid Labs' started by MotoCache1, Aug 23, 2010.

  1. furbearingmammal

    furbearingmammal Super Moderator

    Joined:
    Jun 16, 2010
    Messages:
    11,081
    Likes Received:
    365
    Trophy Points:
    513
    Location:
    Anywhere you're not
    Ratings:
    +448
    Current Phone Model:
    32GB Moto X Developers Edition
    Twitter:
    furryvarmint
    Linux live CD and the SBF Flashing program noted in the first post.
     
  2. log

    log Member

    Joined:
    Aug 26, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    This method will always work (it says any version doesn't it? ;)) but you can save some time with some work beforehand as this update will overwrite your custom recovery and remove root access.

    Edit the meta-inf/com/google/android/updater-script in the FRG83D update.zip to keep your custom recovery and root access, then install the update.zip using SPRecovery.

    Changes:

    Line 1054 (comment with # or delete entirely)
    Code:
     package_extract_dir("recovery", "/system");
    Add bolded after line 1058
    Code:
    set_perm_recursive(0, 0, 0755, 0644, "/system");
    set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
    [B]set_perm(0, 0, 6755, "/system/bin/su");[/B]
    Note this will only work if you haven't messed with your FRG22D too much, mainly that no system apps have been removed. You can still get it work if you uninstalled some apps, you just have to find the lines that patch that app and remove them from the script.
     
    #1142 log, Dec 10, 2010
    Last edited: Dec 10, 2010
  3. BoxcuttaStyle

    BoxcuttaStyle Member

    Joined:
    Dec 2, 2009
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Where is the update stored on my phone? Is there a 'system downloads' or something similar where I can find the OTA?
     
  4. SlammedDime

    SlammedDime Member

    Joined:
    Sep 1, 2010
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Its in the /cache directory with a really long file name

    I updated this am using the ota update without having to lose root and it was pretty painless. I oopened up the update archive and removed the updates to system apps I've removed and then appied the update. Before rebooting I mounted the sd card as a device then I took motocaches update zip and remove the install stuff for busy box or superuser to prevent stock recovery from kicking in and now I'm happily updated.

    Sent from my Droid using DroidForums App
     
  5. log

    log Member

    Joined:
    Aug 26, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    That would work also -- everyone else just keep in mind that you MUST go directly back into your custom recovery and apply MotoCache's zip before booting to your FRG83D system the first time, otherwise you will need to do the entire (sbf) process again.

    The technique I mentioned essentially just makes sure that the OTA update does not disable your root, and you can do the update in one pass.
     
  6. BoxcuttaStyle

    BoxcuttaStyle Member

    Joined:
    Dec 2, 2009
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0

    So this needs to be done if you use log's method above?

    **EDIT** LOL :) , I mean your method.....didn't notice you had replied as well.
     
    #1146 BoxcuttaStyle, Dec 10, 2010
    Last edited: Dec 10, 2010
  7. SlammedDime

    SlammedDime Member

    Joined:
    Sep 1, 2010
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    log's method is ideally the way to go... I did it the way I did so that I would have the newest recovery script on my phone in case I decided to de-root for any reason... using log's method, you don't get the new stock recovery script.
     
  8. dogjustice

    dogjustice New Member

    Joined:
    Feb 19, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0

    Same here, Although it took me a few tries. Thanks to whomever the heck gets this stuff to work and to all the people who are here answering questions.
     
  9. parrish

    parrish New Member

    Joined:
    Dec 11, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Michigan
    Ratings:
    +0
    I'm attempting to install the OTA update using your instructions here but am coming up short. My Droid is running 2.2 rooted with the method at the begining of this thread (worked perfectly!). I've edited the updater-script in the FRG83D OTA update with the information above. I removed the line with package_extract_dir("recovery", "/system"); and added the line with set_perm(0, 0, 6755, "/system/bin/su"); immediately after line
    set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");.
    When I attempt to run the update.zip from within SPRecovery I get this message:
    -- Install from sdcard...
    Finding update package...
    Opening update package...
    Verifying update package...
    Installing update...
    Installation aborted.

    Any ideas?
    I opened the updater-script in the update.zip file I copied to the root of my sdcard just to make sure those changes I made were there- and they were.

    Edit: I have not removed any system apps. Just to make sure I went through the system folders referenced in updater-script line by line and verified that all referenced apps/files were actually present on my phone. I don't think it's even getting that far though.
     
    #1149 parrish, Dec 11, 2010
    Last edited: Dec 11, 2010
  10. furbearingmammal

    furbearingmammal Super Moderator

    Joined:
    Jun 16, 2010
    Messages:
    11,081
    Likes Received:
    365
    Trophy Points:
    513
    Location:
    Anywhere you're not
    Ratings:
    +448
    Current Phone Model:
    32GB Moto X Developers Edition
    Twitter:
    furryvarmint
    Has anyone tried making a Nandroid and then flashing a stock, rooted, Odex (NOT DEODEXED) ROM to see if it'd work?
     
  11. teddyearp

    teddyearp Senior Member

    Joined:
    Jan 13, 2010
    Messages:
    1,810
    Likes Received:
    13
    Trophy Points:
    83
    Location:
    Pinetop, AZ
    Ratings:
    +14
    Current Phone Model:
    Motorola XT1103 (Nexus 6)
    +1 next post. When a thread gets to over 100 pages this becomes even more important. Thanks hook.
     
    #1151 teddyearp, Dec 11, 2010
    Last edited: Dec 12, 2010
  12. hookbill

    hookbill Premium Member
    Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    19,376
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    N.E. Ohio
    Ratings:
    +8
    Please make sure you are posting about the topic the thread is about. You just can't post anything you want in the middle of a topic, it will be deleted. Thank you.
     
Search tags for this page
droid 1 root
,

how to root droid 1

,
motocache1
,
root any droid
,
root droid
,

root droid 1

,
root droid 1 regardless of os
,
root droid one
,
root regardless droidforums
,
rooting droid 1