[ROOT] Single Step - Flash Samsung/CWM Recovery + Root + OTA Recovery Backup

Search This thread

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,137
Bekasi
Flash the *.tar.md5 file using Odin3 v1.87 as PDA or Heimdall (extract cache.img and recovery.img in *.tar.md5 file first). Make sure "Re-Partition" and "F. Reset Time" unchecked, "Auto Reboot" checked!

  • SuperSU v0.96 from Chainfire, SuperSU: "su" in "adb shell" without any prompt!
  • ClockWorkMod recovery 6.0.1.1
  • BusyBox v1.20.2-cm9
  • Remove all existing root and busybox before installing the new one
  • Fix busybox symlink, prevent it conflict to Android toolbox
  • sysrw and sysro script for remounting /system read write or read only
  • Backup /etc/install-recovery.sh script to /etc/install-recovery.sh.backup and /system/recovery-from-boot.p patch to /system/recovery-from-boot.p.backup if exists, so we can restore it if necessary
  • Single step for ClockWorkMod recovery and root!

Luigi2012SM64DS video tutorial: http://youtu.be/pAvze-VNzj8

UPDATE 16/01/2013:
- P3100 CWM recovery 6.0.2.7, SuperSU 0.99

UPDATE 17/09/2012:
- P3100 CWM recovery 6.0.1.3
- P3110 & P3113 CWM recovery 6.0.1.1
- P3113 Samsung recovery repacked from http://forum.xda-developers.com/showthread.php?t=1887077, thanks ruben00.

UPDATE 15/09/2012:
A modified Samsung recovery, now accept an update package signed by Google's testkey. The idea came from Chainfire's CF-Root. BIG THANKS for Chainfire.

UPDATE:
Recovery for P3110 or P3113 can be combined with my own cache.img for one-step recovery and root installation. Extract appropriate recovery and use heimdall to flash your device:
Code:
$ sudo heimdall flash --recovery recovery.img --cache cache.img
or create ODIN flashable package:
Code:
$ tar -H ustar -c cache.img recovery.img > CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
$ md5sum -t CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar >> CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
$ mv CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar.md5
Boot to Windows and flash using ODIN.

Tested on leaked 4.1.1 JellyBean for GT-P3100.

TIP:
- Disable notification in SuperSU settings!
- Reset the flash counter using Triangle Away from Chainfire
- Since my English very bad, you can follow [How To] ROOT- Galaxy Tab 2 10.1 [GT-P5113 / 5100 / 5110 & 4.0.4 UPGRADE or OEM] as a reference, thanks weltwon

Credit:
Google, Samsung, koush, Chainfire, codeworkx, dsixda, weltwon

Unroot and restore back 4.1.1 JellyBean stock OTA recovery:
  1. Disconnect from PC and power off P3100
  2. Boot P3100 to recovery mode (VOLUME UP + POWER)
  3. Connect P3100 to PC
  4. Extract signed_root_p3100.zip
  5. Copy cleaner script to P3100 and then unroot P3100:
    Code:
    $ adb push cleaner /tmp/
    $ adb shell
    # busybox mount /system
    # busybox mount -o remount,rw /system
    # busybox mount /data
    # busybox mount -o remount,rw /data
    # busybox mv /system/recovery-from-boot.p.backup /system/recovery-from-boot.p
    # busybox mv /system/etc/install-recovery.sh.backup /system/etc/install-recovery.sh
    # sh /tmp/cleaner
    # umount /system
    # umount /data
  6. Reboot from recovery menu.
 

Attachments

  • CWM_ROOT_P3100.tar.md5.zip
    6.6 MB · Views: 47,732
  • signed_root_p3100.zip
    1 MB · Views: 9,367
  • P3100_SAMSUNG_RECOVERY_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip
    6.2 MB · Views: 13,259
  • P3100_CWM_RECOVERY-6.0.1.1_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip
    6.5 MB · Views: 12,959
  • signer.zip
    11.2 KB · Views: 3,186
  • universal-root-gtab2-signed.zip
    1 MB · Views: 10,711
  • P3100_CWM_RECOVERY-6.0.1.3_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip
    6.5 MB · Views: 67,700
  • P3110_CWM_RECOVERY-6.0.1.1_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip
    6.5 MB · Views: 84,315
  • P3113_CWM_RECOVERY-6.0.1.1_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip
    6.5 MB · Views: 47,243
  • P3113_SAMSUNG_RECOVERY_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip
    6.2 MB · Views: 8,047
  • P3100_CWM_RECOVERY-6.0.2.7_SUPERSU-0.99_BUSYBOX-1.20.2.tar.md5.zip
    6.7 MB · Views: 46,381
Last edited:

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,137
Bekasi
One-step recovery and root installation for P3110 or P3113

UPDATE:
Recovery for P3110 or P3113 can be combined with my own cache.img for one-step recovery and root installation. Extract appropriate recovery and use heimdall to flash your device:
Code:
$ sudo heimdall flash --recovery recovery.img --cache cache.img
or create ODIN flashable package:
Code:
$ tar -H ustar -c cache.img recovery.img > CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
$ md5sum -t CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar >> CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
$ mv CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar.md5
Boot to Windows and flash using ODIN.
 

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,137
Bekasi

nutpn

Senior Member
Dec 30, 2010
479
60
ALABAMA
do I

so if I have a P3113 and want the OTA update packages that are signed by google test keys-do I flash the samsung recovery and the cwm recovery 6.0.1.1
 

ruben00

Senior Member
Jun 19, 2004
128
160
NYC, NY
This is phenomenal work.

I will point my rooting posts to this single post, rooting couldnt get any easier with this

---------- Post added at 04:44 AM ---------- Previous post was at 04:40 AM ----------

so if I have a P3113 and want the OTA update packages that are signed by google test keys-do I flash the samsung recovery and the cwm recovery 6.0.1.1

that would half work :), since the OTA installer checks for recovery to be samsung.
But I think if your rom is deodexed it will fail because the OTA's normally patch both .apk and the .odex files
 
  • Like
Reactions: ketut.kumajaya

DigitalMD

Senior Member
Mar 16, 2010
2,931
639
Washington DC
This is great work, but I think you need a better explanation of what each options does and how they are installed in your OP. Then people will have less questions and problems.

Thanks
 

Hero Lover

Member
Apr 17, 2010
45
21
Al Khubar
I managed successfully to install a costume Recovery manager and Rooted my GT-P3100. oh boy! I thought that is never gonna happen anytime soon.

Though, I would recommend you to make the topic short and use latest version instead of giving me long of list of files on the attachment :)

Thank you so much, root is working just perfect, I managed to use softwares that require root with no problem.
 

Xdevillived666

Senior Member
Feb 29, 2012
1,343
219
Massy
Google Pixel 6
I have a gt 2 7.0 p3110 . I need to go back to stock /out of the box status. If I have the firmware,can I just do so by flashing said firmware from recover menu?

I also have a custom kernel. Will it get rid of the kernel?
 

Mohamedselim

Senior Member
Feb 3, 2012
782
227
Giza
I have a gt 2 7.0 p3110 . I need to go back to stock /out of the box status. If I have the firmware,can I just do so by flashing said firmware from recover menu?

I also have a custom kernel. Will it get rid of the kernel?
To return to pure factory state, first use triangle away app 1.95 to reset counter to zero, then flash stock via pc odin, do not worry about counter, it will not increase with stock firmware, it increases only with custom firmwares or files flashed via pc odin


Sent from my GT-I9300 using xda app-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 182
    Flash the *.tar.md5 file using Odin3 v1.87 as PDA or Heimdall (extract cache.img and recovery.img in *.tar.md5 file first). Make sure "Re-Partition" and "F. Reset Time" unchecked, "Auto Reboot" checked!

    • SuperSU v0.96 from Chainfire, SuperSU: "su" in "adb shell" without any prompt!
    • ClockWorkMod recovery 6.0.1.1
    • BusyBox v1.20.2-cm9
    • Remove all existing root and busybox before installing the new one
    • Fix busybox symlink, prevent it conflict to Android toolbox
    • sysrw and sysro script for remounting /system read write or read only
    • Backup /etc/install-recovery.sh script to /etc/install-recovery.sh.backup and /system/recovery-from-boot.p patch to /system/recovery-from-boot.p.backup if exists, so we can restore it if necessary
    • Single step for ClockWorkMod recovery and root!

    Luigi2012SM64DS video tutorial: http://youtu.be/pAvze-VNzj8

    UPDATE 16/01/2013:
    - P3100 CWM recovery 6.0.2.7, SuperSU 0.99

    UPDATE 17/09/2012:
    - P3100 CWM recovery 6.0.1.3
    - P3110 & P3113 CWM recovery 6.0.1.1
    - P3113 Samsung recovery repacked from http://forum.xda-developers.com/showthread.php?t=1887077, thanks ruben00.

    UPDATE 15/09/2012:
    A modified Samsung recovery, now accept an update package signed by Google's testkey. The idea came from Chainfire's CF-Root. BIG THANKS for Chainfire.

    UPDATE:
    Recovery for P3110 or P3113 can be combined with my own cache.img for one-step recovery and root installation. Extract appropriate recovery and use heimdall to flash your device:
    Code:
    $ sudo heimdall flash --recovery recovery.img --cache cache.img
    or create ODIN flashable package:
    Code:
    $ tar -H ustar -c cache.img recovery.img > CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
    $ md5sum -t CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar >> CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
    $ mv CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar.md5
    Boot to Windows and flash using ODIN.

    Tested on leaked 4.1.1 JellyBean for GT-P3100.

    TIP:
    - Disable notification in SuperSU settings!
    - Reset the flash counter using Triangle Away from Chainfire
    - Since my English very bad, you can follow [How To] ROOT- Galaxy Tab 2 10.1 [GT-P5113 / 5100 / 5110 & 4.0.4 UPGRADE or OEM] as a reference, thanks weltwon

    Credit:
    Google, Samsung, koush, Chainfire, codeworkx, dsixda, weltwon

    Unroot and restore back 4.1.1 JellyBean stock OTA recovery:
    1. Disconnect from PC and power off P3100
    2. Boot P3100 to recovery mode (VOLUME UP + POWER)
    3. Connect P3100 to PC
    4. Extract signed_root_p3100.zip
    5. Copy cleaner script to P3100 and then unroot P3100:
      Code:
      $ adb push cleaner /tmp/
      $ adb shell
      # busybox mount /system
      # busybox mount -o remount,rw /system
      # busybox mount /data
      # busybox mount -o remount,rw /data
      # busybox mv /system/recovery-from-boot.p.backup /system/recovery-from-boot.p
      # busybox mv /system/etc/install-recovery.sh.backup /system/etc/install-recovery.sh
      # sh /tmp/cleaner
      # umount /system
      # umount /data
    6. Reboot from recovery menu.
    12
    348 + 65 downloads = 6 thanks, c'mon don't be a leech!
    7
    I hate to sound critical but this has to be the worst tutorial I've ever seen. There are multiple files but no clear instructions on what to do or where to start. Can someone please post a clear set of instructions on how to root this thing?

    You are right about the lack of instruction so I will give you my limited knowledge. I have been rooting devices for years but I am fairly new to Odin. This file structure is only easier because it is done with one step rather than 2. If you don't understand something I write then try one of the other methods for more clarity.

    1. Download Odin https://www.dropbox.com/sh/zl96kf51lgue1lg/cVLNzgb5es
    2. Download the file specific to your device 31xx. *Some files have different recoveries and different version #'s. For me I wanted CWM recovery, SuperSu, and Busybox.
    3. Place both downloads in a folder or the desktop together and unzip.
    4. Install Kies software on your PC. Although you will not be using it, it will have the drivers necessary to recognize your tab.
    5. Turn your tab off then hold the volume button down and press the power button, holding them both until you get the yellow screen. Press the volume button up to put into download mode.
    6. Make sure Kies is not running and you have disabled virus software.
    7. Start Odin. Uncheck F. Reset and make sure Reboot IS checked. Connect tab to PC and you should see the Id.com button populate with a com number. The exact number is not important.
    8. Check the box next to PDA then click PDA and select the .tar file you chose for your device. Click start.....
    9. You should see the top left box start to change color and you will see a progress bar. When it is done it will say PASS and the device will restart. Disconnect the device and check to see if you have SuperSu in your apps. You can also power off and reboot holding the power button and the volume button "up" to see if the device goes into recovery.
    \

    You can always PM me if you need more info. Will be at work till 6am.
    5
    Cheers!! :thumbup::D:beer: will try later

    Edit** worked great!! Thank you :thumbup: 1+

    Sent from my GT-P3100 using xda app-developers app
    5
    One-step recovery and root installation for P3110 or P3113

    UPDATE:
    Recovery for P3110 or P3113 can be combined with my own cache.img for one-step recovery and root installation. Extract appropriate recovery and use heimdall to flash your device:
    Code:
    $ sudo heimdall flash --recovery recovery.img --cache cache.img
    or create ODIN flashable package:
    Code:
    $ tar -H ustar -c cache.img recovery.img > CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
    $ md5sum -t CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar >> CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar
    $ mv CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar CWM-6.0.1.1-SuperSU-0.96-BusyBox-1.20.2-P3110.tar.md5
    Boot to Windows and flash using ODIN.