[Unofficial] [05.10.2017]TWRP 3.1.1-0 Moto G5 [cedric]

Search This thread


Senior Member
Jul 16, 2011
OnePlus 8T
OnePlus 9
Thanks a lot! My Problem ist fixed thanks to you.

I have found a fix for this, after experiencing the same problem with my new Cedric. My fix is derived from this post, but modified to match our devices.

If you always reboot into recovery, and the only way to boot normally is using the bootloader, follow these instructions:

1) Boot into TWRP recovery.
2) Plug your Cedric into your computer (which needs to have drivers and fastboot installed).
3) Open a command prompt window and type:
adb pull /dev/block/platform/soc/7824900.sdhci/by-name/misc misc.img
This will make a backup of the misc partition just in case.
4) Type the following:
adb shell dd if=/dev/zero of=/dev/block/platform/soc/7824900.sdhci/by-name/misc
This will clear the misc partition. You might get a message regarding lack of space, but it's okay.
5) Your Cedric will boot normally again.
  • Like
Reactions: ATechnoHazard


New member
Dec 7, 2017
2 months ago i root my phone. today i get update from moto. after i download and restart the phone TWRP start. what must i do ? anyone can help ?

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    Unofficial TWRP 3.1.0-0 Moto G5 (cedric)

    Latest TWRP changelog :

    New features of 3.1.1-0 (adb backup, tweaked MTP startup routines and plenty of bug fixes - for full changelog)

    Download Link



    I have just tested on 16 GB variant and all seems to be working. If something is broken lemme know.

    • At first boot twrp will ask for "Swipe to allow modifications for /system" and if you choose to allow it system partition will get modified. So if you choose to reboot back to OS without performing anything in twrp, the OS won't boot (as verity check is enabled in stock OS/kernel) . To avoid this you have to flash either SuperSU or flash any of the verity disabler zips there in xda

    • Force encryption is enabled by default in stock OS and twrp will successfully decrypt /data at first boot if all goes well

      If in case decryption doesn't go fine, twrp will popup a dialog box asking for password and that means decryption went wrong and you would need to wipe data once via twrp wipe options and reboot back to twrp for functioning of /data

    Installation Guide

    • Make sure you have unlocked bootloader
    • Reboot to bootloader
    • fastboot flash recovery twrp-****.img (if you want permanent flash) or fastboot boot twrp-****.img (if you want temporary

    XDA:DevDB Information
    [Unofficial] TWRP 3.1.1-0 Moto G5, Tool/Utility for the Moto G5

    Santhosh M
    Source Code: http://Using prebuilt stock kernel and hence no kernel source available

    Version Information
    Status: Stable
    Stable Release Date: 2017-10-05

    Created 2017-03-17
    Last Updated 2017-10-05
    New build available

    Hi all,

    New build link has been updated in OP.

    Changelog :

    • Encryption works with this release
    • TWRP 3.1.1-0

    We Have Now Gone Official​

    I have now got official twrp support!

    @Santhosh M
    Please can you add the following links and details to the first post or I could create a new thread if you no longer want to maintain this thread

    edit - I have created a new thread
    Cool. No issues :)

    Link me up the recovery and i will add it to OP download link :)


    here you go
    TWRP 3.1.1-0 Cedric.zip


    note if you are going to encrypt I dont think it shows the android is now encrypting logo - it just stays on the boot animation - depending on how much data you have will depend how long it takes for the phone to boot - Do not restart your phone or you will loose data
    Make a backup first!
    Is there any possibility of working moto g5 roms on Redmi 3S Prime.We Compiled Nougat For It but sensors bug in it :| is moto g5 and redmi 3s prime sensors are same ??

    Im almost done bringing the device up so everyone can enjoy roms