[Tweak] How to stop stock from automatically replacing custom recovery - Printable Version

+- Hovatek Forum (https://forum.hovatek.com)
+-- Forum: DEVELOPMENT (https://forum.hovatek.com/forum-38.html)
+--- Forum: Android (https://forum.hovatek.com/forum-39.html)
+--- Thread: [Tweak] How to stop stock from automatically replacing custom recovery (/thread-10992.html)



How to stop stock from automatically replacing custom recovery - hovatek - 12-27-2015

This is a step-by-step guide on how to prevent stock recovery from automatically replacing a flashed custom recovery. When it comes to flashing TWRP / CWM to your MTK Android phone, two issues you could encounter are:

Steps to fix TWRP / CWM getting replaced by Stock recovery after reboot


Follow the steps below to permanently flash a custom recovery


Case 1: Stock recovery remains despite successfully flashing TWRP recovery


If you encounter this then ensure to:
  1. Flash the TWRP / CWM recovery image using the latest version of SP flash tool
  2. Flash the recovery image two consecutive times before attempting to boot into recovery mode
  3. Ensure that the custom recovery was ported from a stock recovery for your exact build number

Case 2: TWRP automatically gets replaced by Stock recovery after you reboot


After flashing and booting into TWRP, If you get a prompt like this:

[Image: TWRP-for-Infinix-Hot-2-X510-1GB-2GB-b.jpg]

Saying

System Partition UNMODIFIED

TWRP can leave your system partition unmodified to make it easier for you to take official updates.
TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.[/code]

You are to Swipe to Allow Modification. To swipe, you hold down your finger on that spot and slide from left to right,

Another cause of this issue is recovery-from-boot.p located in /system. You need to root and change this to recovery-from-boot.bak or do so from TWRP > Advanced > File manager (ensure to mount system first in TWRP > mount)


Important Notice


RE: How to prevent TWRP recovery from automatically getting replaced by Stock recovery - Studio - 12-28-2015

Pls sir I need CWM or TWRP for my tecno Phantom A F7, I can't get into my recovery mode again. It's Phantom A not A


RE: How to prevent TWRP recovery from automatically getting replaced by Stock recovery - Studio - 12-28-2015

Pls sir I need CWM or TWRP for my tecno Phantom A F7, I can't get into my recovery mode again. It's Phantom A not A plus. Tanks


RE: How to prevent TWRP recovery from automatically getting replaced by Stock recovery - X3non - 12-28-2015

(12-28-2015, 12:28 AM)Studio Wrote:  Pls sir I need CWM or TWRP for my tecno Phantom A F7, I can't get into my recovery mode again. It's Phantom A not A plus. Tanks

see https://forum.hovatek.com/thread-74.html for how to create cwm for your phone