prescription nsaid list

Stop stock recovery from coming back

  • Facebook
  • Twitter
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Have you experienced that you flashed your CWM recovery image and then when you reboot back to recovery you get your old original menu.

Well basically the troublemaker is: install-recovery.sh

when the device is booting it executes this:

service flash_recovery /system/etc/install-recovery.sh

So to stop this from happening you basically have 3 options:

note: it is always a good practice to make backups :)

Option 1:

Prerequisites:

1) Extra knowledge because the detailed process of unpack-repack boot image is different from device to device. (will write some tutorial on that)

Procedure:

  1. Extract the boot image
  2. Open init.rc for editing
  3. Find “service flash_recovery /system/etc/install-recovery.sh” and comment it (put # before the line and the next lines in this paragraph or the next command)
  4. Save init.rc and rebuild the boot image
  5. flash the bootimage back

Option 2:

Prerequisites:

1) Root(su) access

Procedure:

  1. Get to the root shell on your device
  2. remount /system with rw option (http://andwise.net/?p=194)
  3. in the shell type: mv /system/etc/install-recovery.sh /system/etc/install-recovery.no

Option 3:

Prerequisites:

1) CWM recovery – http://andwise.net/?p=268

2) update.zip to be used to remove install-recovery.sh. Download : http://andwise.net/?attachment_id=293

Procedure:

  1. Boot in CWM recovery
  2. Make sure signature verification(check) is disabled (use [toggle signature verification button])
  3. apply update zip

 

Leave a Reply