[Miscellaneous Android Development] blearreaz0n:
Rooting procedure for SAMSUNG Galaxy Pocket Plus ( GT-S5301 )

WARNING!!! This solution provided as is (with no warranty of any kind). Be careful because the described operations rather dangerous and possibly can brick your device. Author is not responsible for your device damage.

IMPORTANT: Usage of this method will affect the state of the "Custom BIN down" counter in your device. This means that you may have problems with official warranty.

OTHER NOTICES: Solution based on ICS 4.0.4 Russian Stock firmware. It will not affect the data on your device (contacts, files etc.). No wipe\hard reset needed.

Step 1. Getting software

1. Download Odin 3.0.7 here

2. Download modified stock recovery here

3. Download update package for rooting here (downloaded from here Thanks to Phil3759)

4. Install Samsung drivers\kies from this page

P.S. Sorry for ugly file storage solution - google drive. If it will open the zip archive just click "File" menu and click "Download" (or use Ctrl+S combo).

Step 2. Flash the updates

1. Switch off the device. Hold "volume down"+"home" buttons and press power button. When device switch on release the power button but continue to hold volume down and home until Download mode warning appear. Plug in the USB cable and press volume up button to continue. The device will load in ODIN download mode.

2. Run ODIN 3.0.7. Don't change any setting (checkboxes ) - leave them in default state. Your device should appear in "ID:COM" part of the screen as serial device (i.e. "COM38") - if not check if your USB port is functional and Samsung drivers installed correctly.

3. Click on PDA button and chose modified recovery file saved during step 1.2. Don't rename or decompress the file - otherwise it will not work.

Wait until ODIN decompress the package and check the checksums. After it just press START button and wait until the process is over.

4. Copy update package for rooting on SD card and put the card in device's slot.

5. Switch off your device again. Hold "volume up"+"home" buttons and press power button to switch on. Don't release volume up and home until the recovery loaded. Using volume up and volume down buttons navigate to menu item "apply update from external card" and press power button to commit operation. Then navigate to Root_Superuser_3.1.3......zip file and press power button again.

6. Done. Your device should be rooted now. You can check it with various free programs like Root Checker available at Google Play.

You can restore the stock recovery using the same flashing procedure as described above. The stock recovery image is available here

====================

Additional notices:

- I will upload the full stock firmware repacked for ODIN in a couple of days. You can use it to restore your device to default state (except the Custom BIN down counter).

- If the counter really bothering you - just wait a little - I'll upload pre-rooted system partition package which does not affect the counter.

- Do not try just blindly install the CWM or TWRP recovery packages made for another devices. It will not work and can cause some problems because at least one difference is crucial - recovery.fstab file in most of cases will contain wrong information about partitions so you can brick your device. Now I'm working on porting CWM recovery for s5301 and I hope it will not take much time.

Take care

=============================================================================================

=============================================================================================

2013-05-27 UPDATE: CWM recovery (GUI issues) ***THIS ONE IS OBSOLETE - USE NEXT SECTION BELOW "UPDATE: Working CWM recovery (GUI problems fixed)"***

---------------------------------------------------------------------------

CWM Recovery for S5301 (coriplus) is now available. Unfortunately there is still an issue with screen resolution but I suppose I'll fix it very soon. Despite an uncomfortable picture those people who needs backup\restore feature urgently can use it right now. Everything seems to be functional but if you discover some issues - please let me know.

1.

Fakeflash zip image

is here. Use it from previousely flashed Hacked Stock recovery: pure stock recovery will not load it.

To run it - put the update.zip to sdcard, boot to recovery, navigate to "apply update from external card" and choose the update.zip. Done! Now you are in CWM recovery and you can backup\restore your system. After rebooting the recovery you will see the Hacked Stock recovery again (this is what fakeflash means - CWM loads in memory but after reboot you have your old recovery again. So keep the update.zip on SD card to use it again).

2.

ODIN image

is here. This one for those who really hates the stock recovery and ready to run CWM permanently even with ugly screen resolution. Flsh with ODIN as described above.

When I fix the screen resolution I'll inform you about it here.

Enjoy.

=============================================================================================

=============================================================================================

2013-05-31 UPDATE: Working CWM recovery (GUI problems fixed)

---------------------------------------------------------------------------------------------------------

CWM User Interface fixed

1. Fixed CWM as fakeflash update.zip is here

2. Fixed CWM as ODIN image is here

Enjoy...

CURRENT STATUS:

-Rooting ...DONE

-CWM recovery ...DONE

NEXT STEPS:

- CM10.1 is in progress

=============================================================================================

=============================================================================================

2013-06-08 UPDATE: Pre-rooted image

---------------------------------------------------------------------

- System image for ODIN (pre-rooted) - does not affect the bin down counter. Link is here

=============================================================================================

=============================================================================================

2013-06-13 UPDATE: The way how to get device rooted and CWM recovery flashed without affecting the counter

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

There is a way to get root and CWM recovery without affecting the down bin counter:

Step 1: Flash the pre-rooted system partition via ODIN (it will not affect the counter and will not erase your personal data). Now you have rooted device but it is still has useless stock recovery.

Step 2: Copy recovery.img on SD card and insert it in your device.

Step 3: Turn the device on, wait untill OS loaded. Go to Settings -> Developer options and switch on the Usb Debugging.

Step 4: Connect USB cable, choose "Camera PTP" in USB PC Connection menu on your device - this menu appeares in notification area (that's important to get your sdcard mounted).

Step 5: Go to console on your PC and execute the following commands:

$ adb shell

shell@android:/ $ su

shell@android:/ # dd if=/mnt/extSdCard/recovery.img of=/dev/block/mmcblk0p6

Voila! You have your device rooted, you have CWM recovery flashed and the down bin counter wasn't affected.

=============================================================================================

=============================================================================================

2013-06-13 UPDATE: Russian Stock Firmware S5301XXAMC1 repacked for ODIN

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

As promised please find attached full stock firmware adapted for flashing with ODIN. It's non-rooted, with stock recovery. It will not erase your data so do not forget to perform factory reset if you need it.

=============================================================================================