June 20, 2013, 06:14:33 AM

collapse

* Sponsors


* Hot Topics


* Facebook Like


* Sponsors


* Board Stats

  • stats Total Members: 1216
  • stats Total Posts: 6351
  • stats Total Topics: 979
  • stats Total Categories: 3
  • stats Total Boards: 17
  • stats Most Online: 126

Author Topic: How can I restore the factory recovery?  (Read 4976 times)

razor2006

  • Newbie
  • *
  • Posts: 11
    • View Profile
How can I restore the factory recovery?
« on: March 22, 2012, 11:55:34 AM »
My TPT has been provided to me through work.  So, I'm being upgraded to a Transformer Prime, and my TPT is being reassigned to someone else.  I need to unroot and factory reset my TPT.  No problem on the unroot, but how do I restore the factory recovery and get rid of CWM?
Samsung Galaxy Nexus LTE / OEM 2100mAh Extended Battery
IMM30B 4.0.4 / FA02 Radios / Rooted / CWM Touch
----------------------------------------------------------------------------
Lenovo ThinkPad Tablet 183825U 32GB
A310_02_0039_0086_US / Rooted

ker2

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Re: Re: How can I restore the factory recovery?
« Reply #1 on: March 22, 2012, 12:08:32 PM »
My TPT has been provided to me through work.  So, I'm being upgraded to a Transformer Prime, and my TPT is being reassigned to someone else.  I need to unroot and factory reset my TPT.  No problem on the unroot, but how do I restore the factory recovery and get rid of CWM?
replace cwm with a stock recovery and then run factory reset from the privacy menu in options make sure you have all system apps reinstalled first

Sent from my Galaxy Nexus using Tapatalk

coyttl

  • Jr. Member
  • **
  • Posts: 97
  • Causing small squirrels to commit suicide!
    • View Profile
Re: Re: How can I restore the factory recovery?
« Reply #2 on: March 22, 2012, 12:23:50 PM »
My TPT has been provided to me through work.  So, I'm being upgraded to a Transformer Prime, and my TPT is being reassigned to someone else.  I need to unroot and factory reset my TPT.  No problem on the unroot, but how do I restore the factory recovery and get rid of CWM?
replace cwm with a stock recovery and then run factory reset from the privacy menu in options make sure you have all system apps reinstalled first

Sent from my Galaxy Nexus using Tapatalk
I believe that is what he is asking how to do.  ???

GodfatherIP

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: How can I restore the factory recovery?
« Reply #3 on: March 22, 2012, 12:43:54 PM »
You'll need root to restore it I believe so hopefully you didn't already unroot (although if you did I guess you can boot into CWR and reinstall root access).  To restore the stock recovery you will need the original install-recovery.sh file.  You should be able to get the file out of one of the updates if you didn't back yours up.  If you place the file on your internal sdcard then you can use the following adb commands to copy it to the /system/etc/ folder and reinstall stock recovery (I haven't tried it, I just copied the commands from realyst2k's instructions on XDA):

adb shell
su
mount -o rw,remount /system
cat /sdcard/install-recovery.sh > /system/etc/install-recovery.sh
dd if=/system/recovery-from-boot.p of=/dev/block/mmcblk0p1

razor2006

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: How can I restore the factory recovery?
« Reply #4 on: March 22, 2012, 12:56:44 PM »
That did the trick.  Thanks!
« Last Edit: March 22, 2012, 01:07:32 PM by razor2006 »
Samsung Galaxy Nexus LTE / OEM 2100mAh Extended Battery
IMM30B 4.0.4 / FA02 Radios / Rooted / CWM Touch
----------------------------------------------------------------------------
Lenovo ThinkPad Tablet 183825U 32GB
A310_02_0039_0086_US / Rooted

thanesvorn

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How can I restore the factory recovery?
« Reply #5 on: March 23, 2012, 09:40:13 PM »
mine does not work. after trying it cannot get in to recoverymode anymore. I have to reinstall the CWM again.

razor2006

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: How can I restore the factory recovery?
« Reply #6 on: March 23, 2012, 09:44:40 PM »
Not so fast.  I had the same thing at first.  I shut the tablet down after doing the above, and when I turned it back on hitting Vol + did nothing.  I let it boot, then shut it down again.  Upon the second boot up after restoring the factory recovery, hitting Vol + repeatedly booted me into the stock recovery.
Samsung Galaxy Nexus LTE / OEM 2100mAh Extended Battery
IMM30B 4.0.4 / FA02 Radios / Rooted / CWM Touch
----------------------------------------------------------------------------
Lenovo ThinkPad Tablet 183825U 32GB
A310_02_0039_0086_US / Rooted

thanesvorn

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How can I restore the factory recovery?
« Reply #7 on: March 23, 2012, 09:52:58 PM »
mine does not work. I tried reboot many times but not able to get into stokc recovery

thanesvorn

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How can I restore the factory recovery?
« Reply #8 on: March 23, 2012, 09:59:44 PM »
You'll need root to restore it I believe so hopefully you didn't already unroot (although if you did I guess you can boot into CWR and reinstall root access).  To restore the stock recovery you will need the original install-recovery.sh file.  You should be able to get the file out of one of the updates if you didn't back yours up.  If you place the file on your internal sdcard then you can use the following adb commands to copy it to the /system/etc/ folder and reinstall stock recovery (I haven't tried it, I just copied the commands from realyst2k's instructions on XDA):

adb shell
su
mount -o rw,remount /system
cat /sdcard/install-recovery.sh > /system/etc/install-recovery.sh
dd if=/system/recovery-from-boot.p of=/dev/block/mmcblk0p1

Hi Godfather,

Could  you please explain what is this line means?
"dd if=/system/recovery-from-boot.p of=/dev/block/mmcblk0p1"

razor2006

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: How can I restore the factory recovery?
« Reply #9 on: March 23, 2012, 10:01:22 PM »
dd is a Unix command (it stands for data definition.)  if specifies the input file, of specifies the output file.  It writes what's listed in the specified input file into the specified output file.

See http://en.wikipedia.org/wiki/Dd_(Unix)
« Last Edit: March 23, 2012, 10:03:14 PM by razor2006 »
Samsung Galaxy Nexus LTE / OEM 2100mAh Extended Battery
IMM30B 4.0.4 / FA02 Radios / Rooted / CWM Touch
----------------------------------------------------------------------------
Lenovo ThinkPad Tablet 183825U 32GB
A310_02_0039_0086_US / Rooted

thanesvorn

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How can I restore the factory recovery?
« Reply #10 on: March 23, 2012, 10:03:51 PM »
dd is a linux command.  if means input file, of means output file.  It writes what's listed in the specified input file into the specified output file.

Is it equl to copy it by self? means using file explorer like one.

razor2006

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: How can I restore the factory recovery?
« Reply #11 on: March 23, 2012, 10:04:45 PM »
dd is a common Unix program whose primary purpose is the low-level copying and conversion of raw data.  See my edited previous post with a wiki link explaining.
Samsung Galaxy Nexus LTE / OEM 2100mAh Extended Battery
IMM30B 4.0.4 / FA02 Radios / Rooted / CWM Touch
----------------------------------------------------------------------------
Lenovo ThinkPad Tablet 183825U 32GB
A310_02_0039_0086_US / Rooted

thanesvorn

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How can I restore the factory recovery?
« Reply #12 on: March 23, 2012, 10:06:26 PM »
I looking in /dev/block/mmcblk0p1 there is no file there and trying to copy manually it not allow me to do it.

razor2006

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: How can I restore the factory recovery?
« Reply #13 on: March 23, 2012, 10:08:03 PM »
You can't do it that way.  You have to use the commands via adb.  This isn't an operation to be performed in a manner like you are trying to do.
Samsung Galaxy Nexus LTE / OEM 2100mAh Extended Battery
IMM30B 4.0.4 / FA02 Radios / Rooted / CWM Touch
----------------------------------------------------------------------------
Lenovo ThinkPad Tablet 183825U 32GB
A310_02_0039_0086_US / Rooted

thanesvorn

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How can I restore the factory recovery?
« Reply #14 on: March 23, 2012, 10:10:07 PM »
You can't do it that way.  You have to use the commands via adb.  This isn't an operation to be performed in a manner like you are trying to do.

Thanks razor2006 for your reply. I just try to figure out what happen with my TPT. Since now I cannot remove CWM, even unroot or install any update...

 




SimplePortal 2.3.3 © 2008-2010, SimplePortal