DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25

Thread: How I upgraded from the original FRG22 leak to official FRG22D - stock, rooted

  1. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #1

    How I upgraded from the original FRG22 leak to official FRG22D - stock, rooted

    I've had a couple questions on this, so I figured rather than answering it privately, repeatedly I'd just make a post. This is not going to be one of my huge treatises - just a quick bullet list and you'll have to search if you don't know how to do any of the things in any of the bullets.

    Chance are that most folks will find it simpler to just install metiCkOne's package from here which would probably achieve a similar outcome. The below is for those that kind of like to roll their own starting with files directly from Momma Motorola (or Google or whoever).

    On my phone that I actually use (i.e. not my DEV phone) I originally started with a new in box (ESE81 - Android 2.1) phone, used ESE81_SPRecovery to put on SPRecovery, and then flashed the original FRG22 leak (not the more recent FRG22D leak). That leak was pre-rooted. Subsequently I upgraded to one of ChevyNo1's overclocking kernels.

    Once the official FRG22D OTA came out I wanted to upgrade so that the Market would show correctly and so I'd be running basically a virgin build -- but rooted of course.

    To do it the way I did it you'll need:

    1. ADB and appropriate drivers installed
    2. The FRG01B "master OTA"
    3. The FRG01B to FRG22D OTA
    4. Just the .zip file from my "root any Droid 1" procedure (if you do it right - or the whole procedure if you don't).
    5. The .zip file for whatever kernel you want to run if you don't want to stick with the stock kernel.

    This all assumes that you're running a rooted phone that has a custom recovery on it. Remember, I was already running a FroYo build -- just an older one than I was upgrading to, so if you're coming from a 2.1 build, your experience could vary (heck, it could vary anyway).

    Note: Do a full Nandroid backup (not simple) just in case things turn out crummy. It's cheap insurance.

    Also: I did not do a factory reset or clear cache or anything else. The result appears to be flawless. No boot issues, all my apps are still there - they all still have their same settings, etc. The only extra step I had to do was go into the settings for the Market and clear data (for that app only) to get Adobe Flash to show up in the Market.
    On the one hand, I was going from FRG22 to FRG22D, so you might expect this. On the other hand, I went straight from ESE81 to FRG22 without clearing data or cache either. Maybe just lucky.

    In the steps below where I "adb push" files to the phone, I always "adb shell" in afterward and make sure the right file is there (look at the size). Also make sure that you're seeing everything on the SD card. If you don't see anything on the SD card or only see the one file you just pushed, you failed to mount /sdcard in recovery. Do "mount /sdcard" in recovery and re-push the file. You only need to do this once -- it will stay mounted for the duration.

    Here's what I did:

    1. Unless your phone is already in recovery, do "adb reboot recovery" to get it there.
    2. Mount /sdcard in recovery.
    3. "adb push" the FRG01B master OTA to /sdcard/update.zip. This OTA is meant to write over top of just about any prior version of Android -- including the original FRG22 leak. Verify the right file is there in adb shell.
    4. Install the update.zip. Afterward stay right where you are in SPRecovery.
    5. "adb push" the FRG01B to FRG22D OTA to /sdcard/update.zip. Verify the right file is there in adb shell.
    6. Install the update.zip (you should just be able to run that same menu choice again without ever leaving the menu).
    7. "adb push" my .zip file from "what you need" #4 above to /sdcard/update.zip. Verify the right file is there in adb shell.
    8. Install update.zip again.
    9. If you're going to install a different kernel, repeat steps #7 and #8 using the .zip file for your kernel.
    10. Reboot the phone.

    As long as you don't reboot before you do step #8 your custom recovery should still be intact. If you messed up and rebooted prior to #8, chances are that Flash Recovery Service put your recovery back to stock and now you'll need to flash the SBF from my other topic in order to get SPRecovery back.

    In hindsight this topic will possibly cause more problems than it solves for most people. I could be wrong, but I think that most folks that can follow the above without help probably already did it and those that need this procedure may not know how to do the steps with the minimal detail provided. If that prediction turns out to be true for you, just ignore this thread and perhaps go with metiCkOne's package.

    Geez, that still turned out to be a huge post. I just can't write short procedures I guess.
    Last edited by MotoCache1; 08-30-2010 at 01:02 AM.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  2. RS Admin
    pc747's Avatar
    Member #
    18832
    Join Date
    Dec 2009
    Posts
    16,643
    Liked
    1699 times
    Phone
    moto droid
    Premium Member
    #2
    good write up.
  3. Junior Droid
    SDraconis's Avatar
    Member #
    112471
    Join Date
    Sep 2010
    Posts
    25
    Phone
    Motorola Droid A855
    #3
    Great guide. I just used this to upgrade from FRG10B.

    Just as a note, Step #4 failed for me due to a build number error as I expected it would being as I had already installed that exact full update. Apart from that, everything worked beautifully. I am now on FRG22D with root access and Clockwork recovery still intact.

    One small thing to note: When I booted in I still had the system update notification on my screen as I had received it prior to rebooting into recovery. I just hit "Install Later" and it hasn't bugged me again. About phone screen says my system is up to date.
    Last edited by SDraconis; 09-02-2010 at 12:16 AM. Reason: Added note about system notification
  4. Droid
    eggsped's Avatar
    Member #
    112507
    Join Date
    Sep 2010
    Posts
    91
    Phone
    Enter Current Phone Model Here
    #4
    OK you knew the newb questions were coming so here goes...

    I'm able to follow through the guide but am having problems in clockwork recovery, I cannot access any files via adb. I see them when the phone is in standard mode but not recovery. I figured I'd try to install them directly from clockwork recovery and the installation fails. Is this a clockwork recovery issue or am I missing something?

    Thanks

    switched to sprecovery and still no go. I can't access any files on the sdcard via adb, I see directories but no files are visible when I ls. (I was never into Linux but spent a lot of time on Unix in college so I'm a little rusty)
    Last edited by eggsped; 09-02-2010 at 05:58 AM.
  5. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #5
    Quote Originally Posted by eggsped View Post
    OK you knew the newb questions were coming so here goes...

    I'm able to follow through the guide but am having problems in clockwork recovery, I cannot access any files via adb. I see them when the phone is in standard mode but not recovery. I figured I'd try to install them directly from clockwork recovery and the installation fails. Is this a clockwork recovery issue or am I missing something?

    Thanks

    switched to sprecovery and still no go. I can't access any files on the sdcard via adb, I see directories but no files are visible when I ls. (I was never into Linux but spent a lot of time on Unix in college so I'm a little rusty)
    Did you do Step #2?
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  6. Droid
    eggsped's Avatar
    Member #
    112507
    Join Date
    Sep 2010
    Posts
    91
    Phone
    Enter Current Phone Model Here
    #6
    I think I got it now... I was trying to "adb push" while in "adb shell" a quick read here helped immensely. I'm in the process of installing the FRG01B update now. Hopefully I'll get this right. I mainly root to have the ability to back up all apps and delete bloatware, otherwise I like to keep it stock.

    Thanks for sharing this method as it's exactly what I want.
  7. Droid
    eggsped's Avatar
    Member #
    112507
    Join Date
    Sep 2010
    Posts
    91
    Phone
    Enter Current Phone Model Here
    #7
    OK halfway there...

    When I try to install the FRG01B to FRG22D update I get the following error message...

    "file_getprop: failed to stat "/system/build.prop": No such file or directory
    E:Error in /sdcard/update.zip (status 7)
    Installation aborted"

    Any ideas?

    edit:

    I had to unmount the sdcard to get the install to take.

    All is golden now!

    Thanks a million!!!
    Last edited by eggsped; 09-02-2010 at 09:07 AM.
  8. log
    log is offline
    Droid
    log's Avatar
    Member #
    109888
    Join Date
    Aug 2010
    Posts
    51
    Phone
    Motorola Droid
    #8
    Thanks for this alternate method Motocache. I had another question, maybe you can help. I'm looking to upgrade from FRG01B already rooted to FRG22D. As you might remember I was planning just trying the OTA upgrade before flashing sprecovery (using the root any version instructions, and now even these instructions)

    After lots of research and thought, it seems the best course of action is to take a full nandroid backup first of my current system since it's running absolutely great right now and want to be able to revert back to this version if something goes wrong.

    Do you think I could have success with this method?

    1) Flash sprecovery using ROM Manager (FRS is already disabled per your previous instructions)
    2) Take full nandroid backup
    3) Using FRG01B->FRG22D signed zip, unzip, update updater-script file per below, re-zip
    Code:
    ** Comment out lines:
    246 (check boot image)
    732-741 (patch boot image, install FRS)
     ** add after line 744 (recursive permission)
    set_perm(0, 0, 6755, "/system/bin/su");
    4) Apply this modified update.zip using sprecovery

    I though it this would work but what threw me off is your "fixsuperm" script included in your root any version updater-script. Should I also be adding this script to be executed as well?
  9. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #9
    Quote Originally Posted by log View Post
    Thanks for this alternate method Motocache. I had another question, maybe you can help. I'm looking to upgrade from FRG01B already rooted to FRG22D. As you might remember I was planning just trying the OTA upgrade before flashing sprecovery (using the root any version instructions, and now even these instructions)
    You're welcome. I bet you didn't know you had your own commercial:

    Your handle made me remember that from Ren and Stimpy for some reason.

    Anyway, let's see...

    Quote Originally Posted by log View Post
    After lots of research and thought, it seems the best course of action is to take a full nandroid backup first of my current system since it's running absolutely great right now and want to be able to revert back to this version if something goes wrong.
    Good plan so far.

    Quote Originally Posted by log View Post
    Do you think I could have success with this method?

    1) Flash sprecovery using ROM Manager (FRS is already disabled per your previous instructions)
    Not the way I'd do it, but it would probably work OK...

    Quote Originally Posted by log View Post
    2) Take full nandroid backup
    3) Using FRG01B->FRG22D signed zip, unzip, update updater-script file per below, re-zip
    I'm liking where you're headed...

    Quote Originally Posted by log View Post
    [code]
    ** Comment out line:
    246 (check boot image)
    Do you not want the updated kernel in FRG22D? Unless you're running a custom kernel anyway I'd think you'd want that.

    Quote Originally Posted by log View Post
    [code]
    ** Comment out lines:
    732-741 (patch boot image, install FRS)
    If you do want the new kernel, you'd want to keep 732-736. Lines 737 and 738 actually delete the current FRS if it's there. Lines 740 and 741 install the new FRS, so kill them for sure.

    Quote Originally Posted by log View Post
    Code:
    ** add after line 744 (recursive permission)
    set_perm(0, 0, 6755, "/system/bin/su");
    Excellent -- good attention to detail.

    I'd also take out 756 since the file won't be there to set permissions on. If you didn't, it would be fine because there is no "assert" around it. If there is an assert around the call, then the whole thing will die right there if that step fails.

    Quote Originally Posted by log View Post
    4) Apply this modified update.zip using sprecovery
    Yep.

    Quote Originally Posted by log View Post
    I though it this would work but what threw me off is your "fixsuperm" script included in your root any version updater-script. Should I also be adding this script to be executed as well?
    Well, that's a cleanup thing if the current version of Superuser.apk that you're running is old and might have incompatible data in the database/directory for Superuser. The original developer is no longer even putting it in his package because many phones have trouble with it. Our phone seems to be fine calling an external shell script in SPRecovery. I'd say keep it or kill it -- it probably won't matter.

    Good work! Let me know how it goes.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  10. log
    log is offline
    Droid
    log's Avatar
    Member #
    109888
    Join Date
    Aug 2010
    Posts
    51
    Phone
    Motorola Droid
    #10
    Per you suggestions, updated it and everything worked great. Thanks for reviewing and your advice!

    Here is the final version of changes to updater-script that I performed that was successful.

    Code:
    * Comment out line 740-741 (install FRS)
    * Add after line 744 (fixes su permission)
    set_perm(0, 0, 6755, "/system/bin/su");
    Last edited by log; 09-04-2010 at 11:31 AM.
Page 1 of 3 1 2 3 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Replies: 12
    Last Post: 04-27-2011, 09:10 PM
  2. Opinionated Difference between FRG01B, FRG22, FRG22D
    By Bxrider117 in forum Android Roms
    Replies: 10
    Last Post: 09-10-2010, 05:26 AM
  3. Replies: 22
    Last Post: 09-03-2010, 08:30 AM
  4. Replies: 7
    Last Post: 08-08-2010, 09:31 AM

Search tags for this page

droid file get prop failed to stat
,
failed to stat system build.prop
,
file getprop failed to stat
,
file getprop failed to stat /system/build.prop
,

file getprop failed to stat system build.prop

,
file getprop: failed to stat
,
file getprop: failed to stat /mnt/system/build.prop
,
file getprop: failed to stat /mnt/system/build.prop : no log
,
file getprop: failed to stat /system/build.prop
,

frg22 sbf

Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+