[Official] [5th April 2021] TWRP 3.5.2_9-0 Moto G5 [Cedric] [32/64bit Roms]

Search This thread

Mobilettchen

Senior Member
Apr 7, 2016
51
7
------------------------
thx for the good tutorial ;)
------------------------

maybe i am blind, but it is not possible for me to start twrp after installation.

after installation fastboot reports:

#########################
fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (14606 KB)...
OKAY [ 0.468s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.284s]
finished. total time: 0.757s
#########################

---> My very simple question is: How do I start twrp after reboot.
Of course I used the key combination to get into Fastboot mode - but what happens next?

[edit]
- i am on the last stock-android (oreo ), and phone is unlocked via motorola-code.
- of course i try the recovery-option in the fastboot-menue
 
Last edited:

zitronenmelissa

Senior Member
Feb 23, 2011
313
131
Germany
Moto G5S
------------------------
thx for the good tutorial ;)
------------------------

maybe i am blind, but it is not possible for me to start twrp after installation.

after installation fastboot reports:

#########################
fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (14606 KB)...
OKAY [ 0.468s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.284s]
finished. total time: 0.757s
#########################

---> My very simple question is: How do I start twrp after reboot.
Of course I used the key combination to get into Fastboot mode - but what happens next?

[edit]
- i am on the last stock-android (oreo ), and phone is unlocked via motorola-code.
- of course i try the recovery-option in the fastboot-menue

coming from fastboot mode, you can navigate with Volume Down/Up to "Recovery Mode" and select and start it by pressing the power button
 

TheFixItMan

Senior Member
Jul 8, 2012
7,850
4,037
London
------------------------
thx for the good tutorial ;)
------------------------

maybe i am blind, but it is not possible for me to start twrp after installation.

after installation fastboot reports:

#########################
fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (14606 KB)...
OKAY [ 0.468s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.284s]
finished. total time: 0.757s
#########################

---> My very simple question is: How do I start twrp after reboot.
Of course I used the key combination to get into Fastboot mode - but what happens next?

[edit]
- i am on the last stock-android (oreo ), and phone is unlocked via motorola-code.
- of course i try the recovery-option in the fastboot-menue

In bootloader mode use the volume buttons to navigate to recovery and push the power button

If you restart your device before you enter twrp for the first time & swipe to allow modifications you will have to reflash it
 

Mobilettchen

Senior Member
Apr 7, 2016
51
7
In bootloader mode use the volume buttons to navigate to recovery and push the power button
If you restart your device before you enter twrp for the first time & swipe to allow modifications you will have to reflash it

--> I found, that twrp was not installed on the phone by using <fastboot flash recovery.img>
my solution - using boot command instead of flash:
1) copy recovery.img on the phone
2) entering fastboot via power&vol-
3) start powershell in the PC-Folder with the recovery.img
4) <fastboot boot recovery.img> to boot the twrp on the phone via fastboot
5) within fastboot go on "Install" and install the recovery.img into recovery
6) swipe and reflash as @TheFixItMan mentioned above

BIG THX FOR SUPPORT :good:
 

TheFixItMan

Senior Member
Jul 8, 2012
7,850
4,037
London
Thanks to @JarlPenguin the offical twrp source code has been updated to now allow 64bit roms installs

Version twrp-3.4.0-1-cedric.img is the new 64bit build (will also work on 32bit Roms)
Version twrp-3.4.0-0-cedric.img is the original 32bit build
 
Last edited:

domin144

New member
Dec 20, 2020
3
0
I had an issue with version 3.4.0-1. When I tried to wipe or flash system partitiion I got following message:
Code:
Failed to unmount '/system' (Device or resource busy)
I also could not unmount system partition from mount menu: I touched the tick next to "system" but it kept being marked. Other partitions mounted/unmounted ok.
I tried twrp-3.2.3-0-cedric.img. This one did not have the issue. I wiped the system partition. After reboot I flashed 3.4.0-1 and now flashing works.

The system partition was stock firmware (never flashed yet). Seems like 3.4.0-1 has some issue with stock system partition.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    Official TWRP For Moto G5 Cedric


    Post 1 - Instructions
    Post 2 - FAQs



    For full details and notes see
    Official TWRP for Cedric Site

    For TWRP news change logs etc see
    TWRP Official Site


    Instructions

    For non rooted and rooted phones
    Requirements
    Unlocked bootloader
    Fastboot drivers installed on PC

    Download Official TWRP Image
    Rename the downloaded img file recovery.img
    Put phone into fastboot mode (hold vol down + power button)
    Connect phone to PC
    Open a command prompt where you have fastboot and the TWRP image file located
    Type the following in command prompt (recovery.img is the name of your twrp img you downloaded & renamed)

    To permanently flash twrp replacing stock recovery
    Code:
    fastboot flash recovery recovery.img

    To only boot to twrp temporarily keeping stock recovery
    Code:
    fastboot boot recovery.img

    Select recovery using the volume keys and power button to select
    Now read important notes section For Stock Rom Users at the end of this post and the FAQs in the 2nd post

    Note for Windows 10 users who use the powershell and not cmd
    The command will become
    Code:
    ./ fastboot flash recovery recovery.img

    Or

    Code:
    ./ fastboot boot recovery recovery.img

    For rooted phones only
    If you are already rooted you can upgrade your TWRP version using the official TWRP app
    Download TWRP App
    Select Cedric as your device
    Download the TWRP image
    Select the TWRP to flash
    Now read the FAQs in the 2nd post


    Important Notes For Stock Rom Users
    When you first start TWRP it will ask you to swipe to allow modifications - If you do this your stock rom will no longer boot unless you disable dm-verity.
    This can be done either by flashing a disable dm-verity zip or by flashing Magisk zip which will disable it for you

    Source Code
    TWRP 32bit For Cedric Github Source
    TWRP 64bit For Cedric Github Source

    XDA:DevDB Information
    [Official] TWRP 3.5.2_9-0 Moto G5 Cedric [32/64bit Roms], Tool/Utility for the Moto G5

    Contributors
    TheFixItMan, JarlPenguin
    Source Code: https://github.com/TeamWin/android_device_motorola_cedric


    Version Information
    Status:
    Stable
    Current Stable Version: TWRP 3.5.2_9-0
    Stable Release Date: 2021-04-05

    Created 2017-11-03
    Last Updated 2021-04-05
    11
    FAQs


    Q - Does the official twrp version support 64bit roms?
    A - Yes - as of version 3.4.0-1

    Q - I get error 255 when trying to flash a rom
    A - You are using a 32bit twrp version. Please update to the latest 64bit version

    Q - Can I use the 64bit version on 32bit roms?
    A - Yes the 64bit version supports both 64bit & 32bit roms

    Q - Does the official twrp version support treble rom?
    A - Yes - as of version 3.4.0-1

    Q - Does this recovery support decryption of data
    A - Yes on all current 32/64bit roms - If you swap roms you will need to format data first to remove encryption before flashing the new rom then you can encrypt again

    Q - My phone keeps booting to recovery on restart and can only be started normally through the bootloader
    A - First try removing your SD card and see if your phone boots - If that doesn't work see This Post

    Q - Where is the disable dm-verity zip?
    A - You can download it Here
    or old version can be found Here

    Q - Where is the Magisk zip
    A - See Magisk Thread
    You may need to manually install the magisk manager app apk depending on which rom you are using

    Q - It says "image not signed or corrupt" when I flashed image
    A - This is normal as the image is not signed by Motorola

    Q - When restoring backup I get an error starting Extracttarfork
    A - Sometimes you need to format data before restoring backup - In fastboot mode enter the command
    fastboot erase userdata
    This will format all data on internal storage (pictures music documents downloads etc) so backup first!
    8
    What's new in 3.2.2-0:

    * adb backup fixes
    * OTA style update zips will now install automatically without prompting for decrypt
    * minor tweaks to handling date/time on Qualcomm devices
    * updates to some language translations


    Note the official version is 32bit
    Feel free to make an unofficial 64bit version from my sources
    8
    What's new in 3.2.1-0:

    * minui fixes (cryptomilk)
    * Better android-8.0 compatibility in ROM trees (Dees_Troy)
    * Fix missing library in android-8.0 (nkk71)
    * Fix inconsistent SDCard naming (DevUt)
    * Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)
    7
    New twrp version available

    What's new in 3.2.0-0:

    Allow restoring adb backups in the TWRP GUI (bigbiff)
    Fix gzip backup error in adb backups (bigbiff)
    Fix a bug in TWRP's backup routines that occasionally corrupted backup files (nkk71)
    Better support for installing Android 8.0 based zips due to legacy props (nkk71)
    Support vold decrypt with keymaster 3.0 in 8.0 firmwares (nkk71)
    Decrypt of synthetic passwords for Pixel 2 (Dees_Troy)
    Support newer ext4 FBE policies for backup and restore in libtar (Dees_Troy)
    v2 fstab support (Dees_Troy)
    Bring TWRP forward to android 8.0 AOSP base (Dees_Troy)
    Various other minor bugfixes and tweaks