Returning to Stock Without USB Access
(This guide assume you are rooted and need to return to stock.)
-You'll need to be on a ROM of the same android version as the ODIN files for Mobile Odin to flash.
If that is not the case, simply flash a 4._._ ROM that is the same version and continue.
-CDMA users: Mobile Odin won't flash CDMA radios. Verizon users using an unofficial radio can flash the most recent official radios from here
An Automated Bootloader Unlock/Relock Application
can be found HERE
Re-lock your bootloader with that application and continue below to the ODIN portion of this guide.
If you prefer to do this process manually:
Install Terminal Emulator
file and use a file explorer to put it on the root of your SD card (not in a folder).
Open up Terminal Emulator and run these commands:
Allow Root Access.
dd if=/sdcard/param.lock of=dev/block/platform/omap/omap_hsmmc.0/by-name/param
This should lock your bootloader.
SPRINT Odin Files
VERIZON and GSM Odin Files
Download the appropriate ODIN.tar files on your phone (PDA files only for CDMA users).
DO NOT use odin files designed for another device.
Download and install Mobile Odin
Use Mobile Odin to open the .tar file you just downloaded and return to stock.
You should be back to stock and with a locked bootloader!
I have not personally tested this method. I've dotted my i's and crossed my t's as far as I know.
However, if this didn't work for you: Feel free to PM me as I have another more-complex method that I have up my sleeve.
A few users have reported this working!
If you're currently freaking out thinking you're even MORE stuck with a locked bootloader and your rooted system:
file and put it on the root of your SD card.
Run these commands into Terminal Emulator:
Allow Root Access.
dd if=/sdcard/param.unlock of=dev/block/platform/omap/omap_hsmmc.0/by-name/param
This will unlock your bootloader again.
A HUGE thanks to Efrant for providing the param.zip and making me aware of the existence of this possibility.
Edited by Jubakuba, 31 January 2013 - 06:26 AM.