FORUMS
Remove All Ads from XDA

[Official] [19th May 2019] TWRP 3.3.1-0 Moto G5 [cedric]

7,242 posts
Thanks Meter: 3,818
 
By TheFixItMan, Senior Member on 3rd November 2017, 06:02 PM
Post Reply Email Thread
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)
Code:
 
fastboot flash recovery 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

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
See TWRP For Cedric Github Source

XDA:DevDB Information
[Official] TWRP 3.3.0-0 Moto G5 Cedric, Tool/Utility for the Moto G5

Contributors
TheFixItMan

Version Information
Status: Stable
Current Stable Version: TWRP 3.3.1-0
Stable Release Date: 2019-05-19

Created 2017-11-03
Last Updated 2019-06-17
The Following 34 Users Say Thank You to TheFixItMan For This Useful Post: [ View ] Gift TheFixItMan Ad-Free
 
 
3rd November 2017, 06:02 PM |#2  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,818
 
More
FAQs


Q - Does the official twrp version support 64bit roms?
A - No - use the version posted on the 64bit rom thread

Q - I get error 255 when trying to flash a rom
A - I repeat that the official twrp is 32bit only and you cannot use it to flash 64bit roms!

Q - Does the official twrp version support treble rom?
A - No - Use the version posted in the treble rom thread

Q - Does this recovery support decryption of data
A - Yes on all current 32bit nougat roms & oreo - If you swap roms you will need to format data first to remove encryption before flashing 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!
The Following 8 Users Say Thank You to TheFixItMan For This Useful Post: [ View ] Gift TheFixItMan Ad-Free
3rd November 2017, 06:02 PM |#3  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,818
 
More
Reserved
4th November 2017, 03:12 PM |#4  
Member
Thanks Meter: 5
 
More
Thanks
5th November 2017, 04:56 AM |#5  
Senior Member
Flag Kerala
Thanks Meter: 50
 
More
Happy to hear that we got the official twrp support
10th November 2017, 03:43 PM |#6  
Member
Thanks Meter: 17
 
More
I have a cedric device. I unlocked my bootloader. Then through fastboot i tried to install twrp-3.1.1-0-cedric.img.
But it says "image not signed or corrupt".
As on the other threads, they said that to directly go into recovery mode ignoring other things. But that did not work. It said "no command".
Please help with flashing twrp.

Edit- It worked after 5-6 attempts.
10th November 2017, 05:27 PM |#7  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,818
 
More
Quote:
Originally Posted by aashaydesh

I have a cedric device. I unlocked my bootloader. Then through fastboot i tried to install twrp-3.1.1-0-cedric.img.
But it says "image not signed or corrupt".
As on the other threads, they said that to directly go into recovery mode ignoring other things. But that did not work. It said "no command".
Please help with flashing twrp.

It will always say that because the image is not signed by Motorola

As long as it says write OK at the end

The easiest way is to type

fastboot flash recovery then drag the recovery image into the terminal window - this will automatically complete the rest of the command

I'll also write a note for Windows 10 users who use the power shell
You need to put ./ first
The Following 2 Users Say Thank You to TheFixItMan For This Useful Post: [ View ] Gift TheFixItMan Ad-Free
26th November 2017, 01:21 AM |#8  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,818
 
More
Just to let everyone know about encryption on oreo roms

If you have previously encrypted your phone you must remove encryption before flashing an oreo rom by doing format data from the wipe menu (different from wipe data) & booting the phone fully to check encryption has been removed

You can then flash the oreo rom

After flashing this rom you can encrypt the phone again if you want
Encryption is fully supported
My TWRP (official) can decrypt data of lineageos 15 rom (32bit) as Iv just tested it
The Following 4 Users Say Thank You to TheFixItMan For This Useful Post: [ View ] Gift TheFixItMan Ad-Free
28th November 2017, 06:06 PM |#9  
Senior Member
Thanks Meter: 52
 
More
bootloop to recovery and SD-ext
I went through all this procedure of unlocking and installing twrp yesterday. As I nearly experienced a heart attack, I would like to kindly ask you to expand your Q/A-section for the mental safety of my fellow G5 users.

If you follow each step, you still can run into the bootloop-to-recovery trouble. My system was formatted with an SD-card as extended internal memory, and I formatted everything exept SD-ext, which I might have done. Clearing the misc partition had no success until I removed the SD-card, and rebooted TWRP.

So basically my recommendation is: remove your SD-card before the procedure.

Happy flashing and thank you for your guide.

Quote:
Originally Posted by TheFixItMan

FAQs

Q - My phone keeps booting to recovery on restart and can only be started normally through the bootloader
A - See This Post

The Following User Says Thank You to No-New-Phone For This Useful Post: [ View ] Gift No-New-Phone Ad-Free
28th November 2017, 06:18 PM |#10  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,818
 
More
Quote:
Originally Posted by No-New-Phone

I went through all this procedure of unlocking and installing twrp yesterday. As I nearly experienced a heart attack, I would like to kindly ask you to expand your Q/A-section for the mental safety of my fellow G5 users.

If you follow each step, you still can run into the bootloop-to-recovery trouble. My system was formatted with an SD-card as extended internal memory, and I formatted everything exept SD-ext, which I might have done. Clearing the misc partition had no success until I removed the SD-card, and rebooted TWRP.

So basically my recommendation is: remove your SD-card before the procedure.

Happy flashing and thank you for your guide.

Added to Faq and guide
The Following User Says Thank You to TheFixItMan For This Useful Post: [ View ] Gift TheFixItMan Ad-Free
3rd December 2017, 12:24 AM |#11  
Junior Member
Thanks Meter: 2
 
More
Hi, sorry if this is a silly question, but just thought I'd ask to be on the safe side... Is it safe to flash TWRP 3.2.0 that is now available for cedric through the TWRP app or would it be better to give it a miss for now?
Post Reply Subscribe to Thread

Tags
moto g5 twrp, twrp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes