Friday, June 29, 2012

Sprint SGS3 Stock Restore

This page describes how to restore your rooted stock ROM to a "Normal" unmodified state.  Use this procedure if you have previously flashed a custom kernel and/or recovery, and rooted by means of Team Epic's Root from Recovery, or similar.  This should allow you to successfully install OTA updates and will display "Normal" under About device -> Status -> Device status.  This method does not completely restore "Normal" status if you have applied other custom mods or further modified your System directory beyond basic rooting.

Supported Phones
This method only applies to the Sprint SGS3.

Disclaimer
We are not affiliated with Sprint or Samsung.  By using this software or following these instructions you run the risk of damaging your phone.  We are not responsible for what you to to your phone.


NOTE:  Do not use this method if you are already on LF9 or newer.  Updated instructions incoming.

Download (You need both files below.)
Instructions
  1. Copy TeamEpic-RemoveRoot-from-Recovery-signed.zip to your phone's internal storage.
  2. Boot into Recovery.
    • Power off.
    • Power on, immediately hold Volume Up, Home and Power buttons.  Let go when you see tiny blue text near the top of the screen.
  3. Flash TeamEpic-RemoveRoot-from-Recovery-signed.zip.
  4. Boot into Download Mode.
    • From recovery, choose "reboot system now"
    • Immediately hold Volume Down, Home, and Power buttons until the Warning message appears.  Press Volume Up to proceed.
  5. Run Odin in Windows, and plug the USB cable into phone and computer.  If your drivers are setup properly, Odin should recognize the phone by turning the COM box on the left blue with a message "Added!!"
  6. Click on PDA, select TeamEpic-Sprint-SGS3-stock-boot-and-recovery.tar.md5.
  7. Click Start to begin flashing.  If it succeeded the box on the left should turn green and say "PASS!"
Troubleshooting Odin
The #1 cause of Odin flash failures is a bad USB cable.  USB cables that come with phones are often not good enough.  It is hit or miss with retail USB cables, you might try two seemingly identical cables but only one consistently works.  Find a USB cable that works for Odin and stick with it.

Why not exFAT?

Quote Wikipedia's exFAT page:
Microsoft has not released the official exFAT file system specification, and a restrictive license from Microsoft is required in order to make and distribute exFAT implementations. Microsoft also asserts patents on exFAT which make it impossible to re-implement its functionality in a compatible way without violating a large percentage of them.[11] This renders the implementation, distribution, and use of exFAT as a part of free or open-source operating systems or of commercial software, for which the vendors could not obtain a license from Microsoft, not only technically difficult, but legally impossible in countries that recognize United States software patents.
Team Epic's CWM does not, and will never support the exFAT filesystem for several reasons.
  • Legally Hazardous: Microsoft intentionally created exFAT to be legally hazardous and incompatible with software freedom and Open Source Software.
  • You Don't Need It: You can format your 64GB sdcard as FAT32.  While it is a bit inefficient in filesystem slack, FAT32 is compatible with every computer you could mount your storage on, including all versions of Windows, MacOS X and Linux.  exFAT can only be used with MacOS X 10.6+, which the majority of Mac users do not have.  The above Wikipedia page also suggests FAT32 might even have better I/O performance.
  • CM probably won't support it either: CM has not made any decision about exFAT, however given this legally hazardous situation it is unlikely to ever support exFAT.
How do I avoid exFAT?
  • Copy the data from your existing exFAT formatted sdcard into a folder on your computer.
  • Re-format to FAT32 using the phone's Storage menu.
    • Alternatively, try this utility that claims to format > 32GB disks on Windows to the FAT32 filesystem.  If this works for you please report your results so we can update this blog post.
  • Copy your data from your backup folder onto the sdcard after it is reformatted.

    Sunday, June 24, 2012

    Team Epic's Un-Root from Recovery

    This page contains the simplest method to remove root from most stock ROM's.  While this .zip should work on most phones, these instructions are currently recommended ONLY for SGS3 LTE.

    Supported Phones
    • Tested: SGS LTE variants (like Sprint SGS3)
    • Should work on other phone stock ROM's.  Please report your experiences testing this on different phones.
    Download
    • TeamEpic-RemoveRoot-from-Recovery-signed.zip [Mirror 1]
      • md5sum 6d46965f41165db8062dc6d282f9d98c
    Instructions
    1. Install CWM recovery on your phone.
    2. Copy TeamEpic-RemoveRoot-from-Recovery-signed.zip in your phone's internal storage.
    3. Boot into Recovery.
      • Power off.
      • Power on, immediately hold Volume Up, Home and Power buttons until recovery appears.
    4. Flash TeamEpic-RemoveRoot-from-Recovery-signed.zip.
    5. The Superuser app, su & all busybox symlinks will be removed.
    6. To complete the process and restore your device to a "Normal" unmodified state, use Sprint SGS3 Stock Restore to restore the stock kernel and recovery.
    If you appreciate our work, please consider supporting Team Epic with a tiny contribution!

    Saturday, June 23, 2012

    Team Epic's Root from Recovery .zip

    This page contains the simplest method to root most stock ROM's.  Once you have CWM recovery on your phone, simply flash this .zip and it should root your phone.  While this .zip should work on most phones, these instructions are currently recommended ONLY for SGS3 LTE.

    Supported Phones
    • Tested: SGS LTE variants (like Sprint SGS3)
    • Might work on other phone stock ROM's that have at least 1.5MB free space in /system.  Please report your experiences testing this on different phones.
    • We don't know if this works on any GB stock ROM's.  If you test it, please let us know!
    Download
    • TeamEpic-Root-from-Recovery-v5.zip [1] [2]
      • md5sum 9ba201ffe1b788d8263c7ebd086b7883
      • Changelog
        • v5  If v4 worked for you, you don't need v5.
          • Now automatically cleans out old root files to prevent conflicts.
          • Updated with Superuser 3.1.3 and su binary 3.1
        • v4 Now prevents the stock recovery from being restored by the ROM.


    Instructions
    1. Install CWM recovery on your phone.
    2. Copy TeamEpic-Root-from-Recovery-v*.zip in your phone's internal storage.
    3. Boot into Recovery.
      • Power off.
      • Power on, immediately hold Volume Up, Home and Power buttons until recovery appears.
    4. Flash TeamEpic-Root-from-Recovery-v*.zip.
    5. Now when you boot into Samsung's ROM, you should be able to authorize root applications via the Superuser application.
    If you appreciate our work, please consider supporting Team Epic with a tiny contribution!

    CWM Recovery on all SGS3 LTE Variants

    This page describes how to install CWM recovery on all variants of SGS3 LTE.  This is the first step to enable you to root and customize your phone.  It is important that you carefully read these directions to reduce the risk of problems.  Thanks to noobnl for this recovery image!  Follow us on Google+ or Facebook for the latest development news!  Join us in IRC Chat on Freenode channel #gs3-sprint.

    Supported Phones
    This recovery should theoretically work on all LTE variants of SGS3.  Do not flash on other phones!
      • v5 tested on Sprint, AT&T, and T-Mobile, Rogers SGS3.
      • If you test it on other SGS3 LTE variants, please let us know if it works for you.
    Disclaimer
    We are not affiliated with Sprint or Samsung.  By using this software or following these instructions you run the risk of damaging your phone.  We are not responsible for what you to to your phone.  You may be violating the warranty.

    **Important Note about exFAT
    Team Epic's CWM cannot support exFAT.  Read this page why, and how you can easily avoid this problem with a one-time conversion of your sdcard.


    Upgrade Only - Using CWM Recovery to Upgrade CWM Recovery
    Use this method if you already have a previous version of CWM and would like to upgrade.  This is a CWM Recovery flashable zip, currently only supported for Sprint SGS3 devices.


    Download
    • CWM-Recovery-LTE-SGS3-Sprint-v5.zip [1] [2]
      • md5sum  ec6befa7078b7c448021ac5ddabf19f5

    Install Fresh - Using Odin
    Use this method if you are a new user with stock recovery, or are upgrading from a previous version on a Non-Sprint device.

    QBKing77's video demonstrates this first-time install method
    Download
    • CWM-Recovery-LTE-SGS3-v5.tar.md5 [1] [2]
      • md5sum  eee0df0af811b91630b1f2f088f082f1
      • Changelog
        • TODO list
          • Fix backup datestamp.
        • v5 released 7/9/2012
          • Adds kexec support using source built Sprint kernel
        • v4 released 6/30/2012
          • Located the bug preventing /data/media from being exluded.  The internal sdcard will no longer be included in nandroid backups, so you may freely use the space without creating excessively large backup files.
        • v3 released 6/29/2012
          • Rebuilt and backups re-tested
          • Built from Sprint SGS3 binary kernel
          • Adds volume key scrolling
          • Adds support for external sdcards
        • v1 released 6/22/2012
          • Built from AT&T SGS3 I747UCALEM binary kernel.
    • Samsung USB drivers for Windows
    • Odin v3.04 [1] [2]
      • md5sum a6e2cfce68b6caf91d29edbb888fa370
      How to Install CWM with Odin (Windows only)
      Currently the only way to flash the SGS3 is the Odin utility on Windows.  Heimdall (for MacOS X and Linux) does not yet work on SGS3.
        Step by Step Instructions
        1. Install USB driver on Windows.
        2. Put SGS3 into Download mode.
          • Power off.
          • Power on, immediately hold down Volume Down, Home and Power buttons until a Warning message appears.  Press the Volume Up button to proceed.
        3. Unpack the Odin .zip and run Odin on Windows.
        4. Plug USB cable into phone and computer.  If your drivers are setup properly, Odin should recognize the phone by turning the COM box on the left blue with a message "Added!!"
        5. Uncheck the Auto Reboot option.
        6. Click on PDA, select the CWM-Recovery-LTE-SGS3-v*.tar.md5 file.
        7. Click Start to begin flashing.  If it succeeded the box on the left should turn green and say "PASS!"
        8. Unplug USB cable.  Remove the battery to ensure power off.
        9. WARNING: Do not boot into Samsung's ROM without first applying our Root .zip.  Samsung's OTA updates install /system/etc/install-recovery.sh and /system/recovery-from-boot.p, which cause Samsung's ROM to replace the recovery image you had just flashed with the stock recovery.  Our Root .zip removes these files, thus preserving your custom recovery.  Follow the directions below to boot directly into CWM recovery.
        How to Boot into Recovery on SGS3
        1. Unplug USB cable.
        2. Power off.  (Removing the battery is the best way to ensure complete power off.)
        3. Power on, immediately hold Volume Up, Home and Power buttons.  Let go when you see tiny blue text near the top of the screen.
        4. In recovery you can flash new ROM's or customization to your current ROM.  If your SGS3 is new, you may want to flash Team Epic's Root from Recovery tool, the easiest way to root the stock Samsung ROM.
        Troubleshooting Odin
        The #1 cause of Odin flash failures is a bad USB cable.  USB cables that come with phones are often not good enough.  It is hit or miss with retail USB cables, you might try two seemingly identical cables but only one consistently works.  Find a USB cable that works for Odin and stick with it. Installation Instructions
        1. Copy the CWM-Recovery-LTE-SGS3-Sprint-v*.zip to your phone's internal storage.
        2. Power off.  (Removing the battery is the best way to ensure complete power off.)
        3. Power on, immediately hold Volume Up, Home and Power buttons.  Let go when you see tiny blue text near the top of the screen.
        4. Flash CWM-Recovery-LTE-SGS3-Sprint-v*.zip.
        If you appreciate our work, please consider supporting Team Epic with a tiny contribution!

        Monday, June 18, 2012

        Team Epic Development Status

        Follow Team Epic on Google+ for the latest development news of CyanogenMod for Samsung's flagship Android phones on Sprint.
        • 6/29/2012
          • Epic 4G
            • DRockstar is making progress on the keymaps to allow buttons like .com and smiley to work.  He's looking into coding a smiley picker for CM that would be required for the smiley button.
          • Sprint SGS3
          • Epic Touch
            • Still waiting for kernel source!
        • 6/23/2012 Epic 4G
          • nubecoder fixed haptic feedback in the experimental 3.0 kernel.  This is part of our long-term goal to upgrade the kernel to 3.0.x and merge more source with crespo4g.
        • 6/21/2012 Sprint SGS3 CM9 Development Plan is being maintained here.
        • 6/20/2012 Sprint SGS3 Kernel Source
            • Samsung released the kernel source.  We pushed it to github so others can more easily work on it.  Team members are already working on the kernel and recovery.  Phones begin arriving tomorrow!
          • 6/18/2012 Development Status
            • All Devices
              • CM9 MMS Regression Fix
                • Team Epic followers were instrumental (by screaming loud enough) when a recent patch inherited from AOSP broke MMS on all Sprint devices.  Without your testing and feedback we wouldn't have caught this bug before CM9 RC1.  Nightly builds from 6/18 should have this issue fixed.
              • CM9 Location Regression Fix
                • Team Epic followers complaining the failure of Foursquare and other apps that use location in recent builds were important in identifying that the problem affected all CM9 and it was not isolated to a single broken device.  Thanks to CM developer Entropy512 who was able to quickly isolate the regression in one of the Linaro patches.  It is now fixed in nightly builds leading to CM9 RC1.
            • Epic 4G [Google+]
              • CM9 RC1 coming soon.  Please test the official nightly builds and follow the development news here
              • kernel-3.0.x:  bbelos, noobnl and nubecoder continue work on the kernel-3.0.x port.  See the kernel-specific news here.
              • crespo4g modem: noobnl is making progress enabling Update PRL and Profile on CM9 with an experimental and current unstable port of the crespo4g modem on Epic 4G.  This like the 3.0.x kernel are long-term goals.  We will ship it in CM9 when it is equally as stable as what it replaces.
              • Independent Recovery: DRockstar is working on a fully independent recovery that lives in bml8 that you can access via 3-finger boot.  This allows you to access recovery even if bml7 is broken, without Odin or a USB cable.  Due to the mtd/bml issue we need a complicated 2-stage boot design for this to work. 
            • Epic Touch [Google+]
              • Clarification: No CM Stable Releases Yet
                Epic Touch will not be among the devices that release RC1 with CM9.  This device will have alpha releases for now, beta after we have a fully working ICS kernel built from source, then RC/stable releases only after that is proven stable and we have a fully safe CWM recovery that no longer needs the temporary update-binary hack.
              • E4GT Development Changelog is here.
              • CWM recovery now included in nightly builds.  It currently has temporary, ugly hacks to neuter the ext4 libraries and enforce the use of a "safe" update-binary in order to avoid the infamous EMMC erase permabrick bug that has been destroying phones.  The forced update-binary is incompatible with many other .zip's, especially for older ROM's or alternate kernels.
              • Waiting on Samsung's Kernel Source.  Once Sprint releases the official ICS for E4GT, the kernel source will allow us to achieve the following goals.
                • Make a permanent, safe recovery without the EMMC safety ugly hacks described above.
                • Enable kexec, so CWM recovery can boot directly into temporary stock for E4GT without needing to reflash your recovery.
                • Fix numerous other bugs and enhance features that require modifying the kernel.
                • After stability testing, E4GT will finally become an official CM9 supported device. 
            • Nexus S 4G [Google+]
              • burnsra recently upgraded the binaries blobs used by crespo4g in the official CM9 nightly builds.  Please help to confirm the nightly builds are good as we approach CM9 RC1.
            • Sprint Galaxy Nexus [Google+]
              • New Maintainer: Team Epic has purchased a toroplus and shipped it to burnsra, who will be the permanent CM9 maintainer from this point forward.
              • Since CM9 beta1 from 6/8, nightly builds of toroplus have been very stable.  The only remaining issue is sometimes erroneous reporting of the carrier name while roaming.  We are not entirely sure how to fix this, as the two related patches we are trying have not entirely solved the issue.  In any case, aside from annoyances like this, CM9 for Sprint Galaxy Nexus will remain as stable as CM9 itself.
              • Please help by testing the toroplus nightly builds as we approach CM9 RC1.
            • Sprint Samsung Galaxy S III [Google+]
              • Sprint's new flagship Android phone goes on sale June 21st.  Team Epic has already pre-ordered a few phones.  Soon we will have ~6 developers working on SGS3 from launch day.
              • NO PROMISES.  It might be a LONG TIME before we have all hardware features of SGS3 working on CM9.  We currently have little idea how difficult it will be as we do not have the phone yet.
              • Top Priorities
                • Make a stable and safe CWM recovery.
                • Port kexec to the kernel to enable faster kernel development and incremental testing.
                • Make a "temporary stock from EMMC" ROM.  Aside from being a handy utility for CM( users to be able to Update PRL & Profile, this will allow the developers to quickly compare the behavior of CM9 with that of the stock ROM, thus hastening our development of CM9 on the platform.