Skip to content

DINC Downgrade to Froyo

Antonizoon edited this page Dec 21, 2012 · 1 revision
  1. Take the file and place it into your folder
  2. open a cmd window,as above
  3. Make sure phone is plugged in and usb debugging checked on,in charge only mode
  4. At the prompt in your command window, change to your folder by entering this:
cd c:_inc
  1. Next, check that your phone is connected correctly with this command. It should output your phones serial number,indicating its recognized
adb devices
  1. An important step is to make sure that the files have not been corrupted (or else you put yourself at risk of a brick). We do this by using md5 checksums, which will drastically change if even one bit is off. To proceed safely, those numbers must match exactly. Redownload the zip and extract again if they don't.
  2. The next command should tell you the md5sum, which is:
md5sums mtd0.img
  1. This command should tell you the md5sum, which is:
md5sums flash_image
  1. Now place the firmware ROM file into the same folder using a file manager. This is a big file, and will take a couple minutes to check, so be patient even if nothing seems to happen. It should output
md5sums PB31IMG.zip
  1. If all these numbers match, you can now flash the files.
adb push flash_image /data/local/ adb push mtd0.img /sdcard/
  1. Now we will run commands from within the Android.
adb shell
  1. Your prompt should change to a . if it changes to a $, then use the command . Note that your phone may pop up a message asking you to allow permissions the first time you do this. If it does check always and touch allow on the superuser request on the phone screen. Now we can run the below to enable downgrading:
cd /data/local chmod 0755 /data/local/flash_image cd /data/local ./flash_image misc /sdcard/mtd0.img
  1. When that's done, type twice; once to leave the root shell, and a second to get out of your adb shell back into your home prompt.
exit
  1. We are now able to downgrade to Android 2.2 Froyo. Use this command to boot your phone to
adb reboot bootloader
  1. The next command will tell you if you have successfully re-written your misc image. If you see anything other than , then start over at step 4,and try again.
fastboot getvar mainver
  1. The below command relocks your bootloader. If you are already relocked (e.g. it says LOCKED at the top) then you can skip this command. My phone was already relocked when I got to , so i did NOT need this step.
    fastboot oem lock
  1. Now erase the cache and get into RUU mode:
    fastboot erase cache fastboot oem rebootRUU
  1. This last command should flash your downgrade zip file. Be patient, it's a big file to install.
    fastboot flash zip PB31IMG.zip
  1. when the phone finished flashing the downgrade, do a reboot.
    fastboot reboot

Once your phone reboots, you should be in stock froyo.

BA Logo

Bibliotheca Anonoma

Android Development Codex

Note: All non-Android projects have moved to the BASLQC Wiki.

Introduction

  • Introduction - A quick intro to the rationale and ideals of this guide, and smartphone modding in general.
  • General Setup - Learn how to install and run the tools you need to succeed.
  • Device Guides - Customized, fully decked out guides for rooting each and every device we could find.
  • General OS Customizations - General customizations that work on all devices of a specific OS.

Content Guidelines

  • General Guidelines - The ideals that you should uphold while working with and editing this guide.
  • Device Guide Templates - Templates and general guidelines for creating customized guides for a device.
  • Linux - Run a full desktop OS on your little mobile device; research is being made to make it comfortable to use in the mobile space.

Reference

  • Glossary - Contains all the crazy acronyms and word soup that you'll need to wade through when using this guide.
  • Android Buying Guide for Modders - While modding can fix up an outdated device, it will make your life easier to buy the right device from the start.
Clone this wiki locally