recover change every boots

riyan65

Senior Member
Mar 22, 2018
797
215
0
Hello, I have unlocked my device and when I install twrp and reboot the official recover replaced with twrp. I have tried many times but after every reboot the stock recover is there. I need to flash twrp every time to use it.any reply ASAP will appreciate. Thanks in advance.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Hello, I have unlocked my device and when I install twrp and reboot the official recover replaced with twrp. I have tried many times but after every reboot the stock recover is there. I need to flash twrp every time to use it.any reply ASAP will appreciate. Thanks in advance.
Make sure are flashing it and not booting it

fastboot flash recovery recovery.img

Swipe to enable system modifications on first use

Full instructions on my twrp thread
https://forum.xda-developers.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
How do I root my device without twrp???
Oh I thought you could boot to it but it doesn't stick

If you can't get into twrp at all it's user error

Follow my guide on the twrp thread
Make sure you rename the image recovery.img

Put your phone into fastboot mode - hold Vol down & power button
Then in a cmd prompt where you have recovery.img & fastboot type

fastboot flash recovery recovery.img

Then use the volume keys to select recovery and press power button to select

Post your cmd output but it should say write OK at the end
Ignore the error is not signed or corrupt that comes before that


Obviously I presume you have already unlocked your bootloader - just follow all the instructions on the twrp thread


Also you don't reboot the phone between flashing twrp and entering twrp for the first time
 
Last edited:

riyan65

Senior Member
Mar 22, 2018
797
215
0
Oh I thought you could boot to it but it doesn't stick

If you can't get into twrp at all it's user error

Follow my guide on the twrp thread
Make sure you rename the image recovery.img

Put your phone into fastboot mode - hold Vol down & power button
Then in a cmd prompt where you have recovery.img & fastboot type

fastboot flash recovery recovery.img

Then use the volume keys to select recovery and press power button to select

Post your cmd output but it should say write OK at the end
Ignore the error is not signed or corrupt that comes before that


Obviously I presume you have already unlocked your bootloader - just follow all the instructions on the twrp thread


Also you don't reboot the phone between flashing twrp and entering twrp for the first time
Hey, I was able to boot it and run the latest twrp and install the supersu but the root process failed as it gives me ram extraction failed and end then I thought reboot and install magisk, so I install it and download the zip file then when I try to go in recovery mode, twrp is not available as stock recover is there. I don't know why recover change automatically. Do you know the reason behind it why it changed?? Or do I need to do something to keep it. At the time of nougat I was able to use it without any problem as recover doesn' change,but in Oreo it happening.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Hey, I was able to boot it and run the latest twrp and install the supersu but the root process failed as it gives me ram extraction failed and end then I thought reboot and install magisk, so I install it and download the zip file then when I try to go in recovery mode, twrp is not available as stock recover is there. I don't know why recover change automatically. Do you know the reason behind it why it changed?? Or do I need to do something to keep it. At the time of nougat I was able to use it without any problem as recover doesn' change,but in Oreo it happening.
Supersu is very old and outdated (the reason for that error is supersu can't install in systemless mode because the kernel ramdisk paths are not compatible) but since supersu is ancient now it's pointless trying to get it to work

Use magisk
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Flash in twrp

You may have to install the magisk manager app separately if its not in your app draw
Just download the apk and install it via any file manager