I have a Moto G5 XT1676 with Android 7.0 stock firmware.
I rooted the phone with Magisk and installed TWRP but I never backed up my recovery.img partition. Now I want to flash a stock recovery partition so I can apply an ota update and in case I want to sell on the phone I want to be able to take twrp off and unroot. I don't want to flash an entire firmware.. Can someone help me in choosing the correct stock recovery.img for my phone?
Here are details of the firmware currently on my phone:
- Baseband version: M8937_22.29.02.56.01R CEDRIC_EMEADSDS_CUST
- Kernel Version: 3.18.31-perf-g4a0c859 Wed May 2 06:29:31 CDT 2018
- Build Number: NPPS25.137-93-12
- Blur Version: Blur_Version.25.321.18.cedric.retail.en.US RETGB
Here are the details of another stock firmware I downloaded.
SW Display Build ID: NPP25.137-93
SW Version: cedric-user 7.0 NPP25.137-93 12
release-keysM8937_22.29.02.56RBuild Date: Wed Nov 22 03:19:24 CST 2017
Blur Version: Blur_Version.25.281.12.cedric.retail.en.US
You see the two firmware are almost identical but I don't have enough experience to know if it would be safe to take the recovery.img out of the second one and use it in the first?
I tried booting into bootloader then..
# fastboot boot recovery.img
... to test the recovery .img file from another firmware but I got a picture of an Android lying down with red above him and his lid open and the words "No Command".
I think that # fastboot boot is disabled on Android OS these days.
Any help much appreciated !!
Flex