[Guide] Flashing CyanogenMod 7.2 Stable and GApps After Rooting the DInc


  1. jmar

    jmar Nexican VIP Member

    I created this thread to help out noobs (don't take this negatively; I was a noob once, too) who often have concerns regarding proper steps of the flashing process. This guide is specific to flashing (for the first time) CyanogenMod stable or Nightly ROMS. This thread was inspired by a user who needed help with flashing, so I have included the OP from the original thread as a way of giving him credit. This thread is not intended to be a duplicate, rather an easy to follow guide with a title directing users to the info they seek. I know that we have some very helpful stickies in this forum. I'm not trying to step on toes here; just trying to do my part for this great community! Thank you mods and guides.
    1. Fully format your SD Card to FAT32. You must do this so that your phone properly recognizes files you will be flashing.

    2. Follow scotty's guide here, a 100% must do: s-off, root, recovery

    3. Download: get.cm and gapps-gb-20110828-newtalk-signed.zip
    [​IMG]

    4. You may choose to change your recovery to Amon Ra recovery if you like. I personally prefer it over clockwork. Check out this link for DInc Recoveries: Recoveries | PvilleComp

    5. Flashing a new recovery is simple. Download your prefered recovery, make sure its name is changed to PB31IMG.zip, and is placed at the root of your SD card (not inside a folder). Now, let's boot into hBOOT. Power down. Now power up, depressing both the power and volume down buttons. Hold until hBOOT appears. Your device will search for a PB31IMG.zip file, which you have conveniently placed at the root of your SD card. Once hBOOT finds the file, it will prompt you to flash recovery. Select YES, wait for it to flash. Now select NO when prompted to reboot. Back out by selecting hBOOT. Now select RECOVERY and wait for the device to reboot into recovery. You should now see ClockworkMod or Amon Ra Recovery, depending on which one you chose.

    6. Moving on...lets make a backup (ClockworkMod navigation described here; PM me if you need help with RA Recovery navigation). It is best to have a full charge or plugged into your phone's charger. Using your trackball scroll down to backup and restore. Click (using the trackball) this option. Then click backup. Once this process is complete you have a restore point in case you funk up from here (we have all done it at least once!).

    7. You should already have the CyanogenMod and Google Apps zips on your phone; time to flash!

    READ: You MUST wipe data, cache (available in the current menu), and dalvik cache (located in the advanced menu) before this fresh flash. Once all wipes are have been completed back out to the main menu using the power button.

    8. Now select "install zip from sdcard". (For ease of use, your zips should be in a memorable folder or at the root of your SD Card) Select your ROM zip and confirm the flash. Once completed, select "install zip from sdcard" again and flash the Google apps zip. Without flashing this you won't have the Google Play Store. Now select reboot.

    9. Once you are rebooted and signed into your Google account, go into your app drawer and select the included file manager. Navigate to the root of your SD Card and rename the PB31IMG.zip file to something easy for you to remember (I usually add "recovery" to the name of file). The reason is simple: if you boot into hBOOT with this file name unchanged, the system will attempt to reflash it for you. Not a deal breaker but it will keep you from loading this file in case you need to load a different PB31IMG.zip file in hBOOT.

    10. Whew!!! You made it!!! Now it is time for you to explore the ROM and the myriad of options and tweaks available.

    I hope this helps anyone in need of guidance. Happy flashing...and if you need help during this process, I suggest hopping onto the #dinc IRC. Those guys are ballers and have always come through for me. Sometimes I can be found there under "jmar". Just be patient and as informative as is necessary to receive the proper help. We may be logged in but not necessarily in front of our computers/devices.
    Here's a step by step for flashing Nightlies:

    A. Update all apps (if available for update) in the Google Play Store and, if applicable, Amazon Appstore.

    B. Using Titanium Backup or other backup tool, backup your apps. (Skip this if you don't keep backups of all your apps.)

    C. Backup ADW settings and configurations (or the same in whatever launcher you use).

    D. Reboot into recovery and make a backup.

    E. Wipe cache and dalvik cache.

    F. Flash latest nightly.

    G. Flash Google Apps.

    H. Flash kernel (if necessary)

    I. Flash bootsound (again, if necessary)

    J. Reboot device.

    K. Enjoy!

    Again, these are MY best practices. Other do things differently and that is perfectly okay. When I follow the above instructions I never have any issues.

    Thank you for reading.

    jmar

    Credit:
    Google for Android
    HTC for an Incredible device
    CyanogenMod team for an excellent ROM
    scotty for his sweet Guide
    Doug Piston for his website
    iowabowtech for picking up where Doug left off
    PvilleComp for picking up where iowabowtech left off
    drellisdee for cranking out my favorite recovery, Amon Ra
    koush for ClockworkMod Recovery
    Android Forums for providing a place for all this

    Hit the Thanks button if I helped you!

    Advertisement
    fuzztone, iowabowtech and sdrawkcab25 like this.
  2. sdrawkcab25

    sdrawkcab25 Guides Guide

    you just need to add that the sd card must be formatted to fat32 for hboot to recognize the PB31IMG.zip

    ps: if you do some formatting of your guide (add numbers, organize it a little bit better), I'll add it to the rest of the stickies.

    pss: or if someone else wants to use it as a starting point for a new "guide to flashing roms" (just give credit to jmartino) it would be much appreciated.
    jmar likes this.
  3. jmar

    jmar Nexican VIP Member

    OP updated.
  4. Krubag

    Krubag Well-Known Member

    how do you flash nightlies do you factory reset wipe everything or just go into to recovery and flash it over existing CM7 rom?

    thanks
    jmar likes this.
  5. sdrawkcab25

    sdrawkcab25 Guides Guide


    a wipe is usually not required for nightlies, always make a nandroid though unless you are comfortable with re-setting up your rom from scratch.
    jmar likes this.
  6. Krubag

    Krubag Well-Known Member

    so just flash over and dont worry about cache etc...
  7. jmar

    jmar Nexican VIP Member

    Updated OP. Added step by step for flashing Nightlies.

    Wiping dalvik cache and cache is not required but I do it so it is in my step-by-step process.
  8. iowabowtech

    iowabowtech root@android:/ # Moderator

    Jmar,
    Nice guide. In 6b, specify power button and volume DOWN button.
    jmar likes this.
  9. jmar

    jmar Nexican VIP Member


    OP updated. Thank you iowa.

    Edit: Step 6b is now simply Step 5.
  10. RedHotLama

    RedHotLama Well-Known Member

    Confused, where do you do this step at?

    jmar likes this.
  11. jmar

    jmar Nexican VIP Member


    Refer to step 3. You should have these files way before you get to step 8. In step 8 you should be in recovery so that you can wipe everything before flashing.

    OP Updated.

    Lama: pm me if you still don't get it.

    Edit: Step 8 is now Step 7 and is slightly rewritten.
  12. pucrepeap

    pucrepeap Well-Known Member

    Forgive my ignorance, I'm new to rooting/flashing roms, and eveytime I want to move forward I hear a new term every day. But what is a nightly?
    jmar likes this.
  13. jmar

    jmar Nexican VIP Member


    Nightlies are built regularly to fix and update the ROM. Flashing a nightly comes with the risk of something not working when it may have worked beforehand. Nightlies require a simple wipe of cache and dalvik cache. Let me know if you need more help.

    jmar
  14. jmar

    jmar Nexican VIP Member

    OP Updated!

    jmar
  15. jmar

    jmar Nexican VIP Member

    Added some thank you drops, updated links, cleaned up some grammar and had some fun doing it.

    jmar
  16. jmar

    jmar Nexican VIP Member

    Hey there!

    I was looking over this guide and realized that it needed some new life.

    It was slightly outdated and had some fluffy parts to it.

    If you are a DInc user looking to run CyanogenMod for the first time, this is the Guide for you.

    Big thanks to scotty for his Guide on how to s-off, root and flash custom recovery.

    Also, I have gone back and edited some of my posts. I did this because some Step #s have changed and I want to make sure things make sense relevant to the current guide structure.

    jmar
    sdrawkcab25 likes this.

Share This Page