FORUMS
Remove All Ads from XDA

[RECOVERY][OFFICIAL]TWRP v3.2.3 For Moto G6 [ALI][2018-10-20]

223 posts
Thanks Meter: 260
 
By dejello, Senior Member on 21st October 2018, 01:55 AM
Post Reply Email Thread
Announcement from dejello: Official TWRP for the Moto G6!
Update March 23, 2019: I'd like to apologize to everyone. It looks like I am not going to be able to actively keep this thread updated like I used to. I have had too much going on at home an work and it doesn't look like it's going to settle down any time soon. The thread is still usable so I will leave it open for discussion.

Team Win Recovery Project
Code:
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards, fires, rigged elections,
 * specks of dusk sitting on cursors, cursors that mock you--waiting for cursor
 * revenge, thermonuclear war, or you getting fired because the alarms failed
 * and you could not call in.
 *
 * Please ensure you have an advanced understanding of this device before
 * flashing it! YOU are choosing to make these modifications or your own free will.
This is the first official build of TWRP for the Motorola Moto G6 (ALI)!

Notes:
  • Decryption is finicky: Currently only vold decryption is working. This image must be flashed to properly decrypt. Updates may cause issues with decryption.
  • If you format data (Not just factory reset) after decrypting you must reboot into recovery and format again.
  • If you are unable to unlock your phone after restoring a data backup that had a lock code on it (and TWRP is able to decrypt using default password) you'll need remove the '/data/system/locksettings.db' while in TWRP. After that you should be able to reboot into Android and set a lock code. If you cannot then please use this thread as a guide and try again. Bascially you just delete more, however I was able to boot after just deleting the one file with a pattern set (Maybe random luck, maybe not)
If you have any other issues please let me know and I'll work toward fixing them! AS ALWAYS, IT'S YOUR RESPONSIBILITY IF YOU USE THIS SOFTWARE

Known Issues:
  • I have just noticed some odd behaviour if you input an incorrect decryption password/pattern/etc in twrp. It can cause an issue while entering the lockscreen password/pattern/etc while booting up. Under normal circumstances these two are the same, hence why restoring can also cause a similar issue, though that one is easily fixable. The onIy way to clear the decryption pass is to format. I am unsure at the moment what is causing this, but clearly it has something to do with the decryption. At this time I'd say it'd be best to remove your current lockscreen password/pattern/etc before booting into twrp to avoid this issue. A possible work-around would be to reboot to twrp, enter the correct password, back up your data, format (reboot to twrp and format again), then restore your backup (and possibly need to delete the '/data/system/locksettings.db' file. Your data would still exist that way. I am going to work to fix this asap and maybe see if I can get another build without decryption made for official use for now.
  • Flashing zips that require BusyBox will not work with the official version right now. I've built an unofficial version to use until a new official build is triggered.

ALI's Changelog: Post #2
Download: twrp.me Download
Unofficial Download (updated more often): twrp-v3.2.3-unofficial-ali-20181110.img

Simple Installation Method:
1) boot to fastboot
2) fastboot flash recovery <twrp-image-name>.img

Other instructions are available on the Official download page. It's up to you to backup your factory recovery first if you wish to have a backup: Post #3


Thanks to the TWRP team and everyone who has put in effort to make these things possible!
@Jleeblanch - Wonderful advice and guidance
@Dadud - testing
@ Everyone at github :P
@ XDA and the people who provided TWRP compiling threads
If I've forgotten someone who you think needs mention please let me know!

* This page will continue to be edited as more information comes

XDA:DevDB Information
[RECOVERY][OFFICIAL] TWRP v3.2.3 [2018-10-20], Tool/Utility for the Moto G6

Contributors
dejello
Source Code: https://github.com/TeamWin/android_device_motorola_ali


Version Information
Status: Stable
Current Stable Version: 3.2.3-0
Stable Release Date: 2018-10-20
Current Beta Version: 3.2.3 Unofficial
Beta Release Date: 2018-11-10

Created 2018-10-21
Last Updated 2018-11-10
The Following 17 Users Say Thank You to dejello For This Useful Post: [ View ] Gift dejello Ad-Free
 
 
21st October 2018, 01:55 AM |#2  
dejello's Avatar
OP Senior Member
Thanks Meter: 260
 
More
Changelogs
TWRP Changelog:
v3.2.3 changelog

ALI's Official Changelog:
v3.2.3-0 (Oct 20, 2018)
- N/A, first build!

ALI's Temp. Unofficial Changelog:
v3.2.3 (Oct 31, 2018) (This log will get moved to official when it gets updated with these changes)
- Stop using toybox (Use busybox!)
- Added vendor image mount point
21st October 2018, 01:55 AM |#3  
dejello's Avatar
OP Senior Member
Thanks Meter: 260
 
More
Factory Backup Information
It's up to you to determine if you want/need a factory recovery image backup before flashing:

To boot twrp first (it will fail decryption, don't worry about it) just do the following while replacing <twrp> with the actual file name.
Code:
fastboot boot <twrp>.img
Then to back up your stock/factory recovery while booted in TWRP do the following.
Code:
adb pull /dev/block/bootdevice/by-name/recovery stockrecovery.img
21st October 2018, 02:07 AM |#4  
Jleeblanch's Avatar
Senior Member
Flag Colchester, VT
Thanks Meter: 5,581
 
More
First

For real tho, nice work and congrats
21st October 2018, 05:11 AM |#5  
SnapDrag910's Avatar
Senior Member
Flag Coimbatore
Thanks Meter: 185
 
More
Woot Woot! Congrats bro🤩
21st October 2018, 09:39 AM |#6  
Member
Thanks Meter: 15
 
More
Lockscreen after restore
Hello, this method (delete lockscreen) after restore backup works for me to 😉
The Following User Says Thank You to najjannajS650 For This Useful Post: [ View ] Gift najjannajS650 Ad-Free
23rd October 2018, 07:56 PM |#7  
Senior Member
Thanks Meter: 170
 
More
Decryption doesn't work for me. XT1925-6 Ali
24th October 2018, 04:24 AM |#8  
dejello's Avatar
OP Senior Member
Thanks Meter: 260
 
More
Quote:
Originally Posted by giant22000

Decryption doesn't work for me. XT1925-6 Ali

I'll need more details if I'm to look into it. I also have an xt1925-6. Any logs? What version software are you running? What kind of lock screen are you using (pin, password, pattern, none, etc)? What happened from booting twrp up to the point of decryption failure? The more information I have the better chance I have at rectifying the issue.


[EDIT] I just did some messing around and came across something I hadn't seen before:

I have just noticed some odd behaviour if you input an incorrect decryption password/pattern/etc in twrp. It can cause an issue while entering the lockscreen password/pattern/etc while booting up. Under normal circumstances these two are the same, hence why restoring can also cause a similar issue, though that one is easily fixable. The onIy way to clear the decryption pass is to format. I am unsure at the moment what is causing this, but clearly it has something to do with the decryption. At this time I'd say it'd be best to remove your current lockscreen password/pattern/etc before booting into twrp to avoid this issue. A possible work-around would be to reboot to twrp, enter the correct password, back up your data, format (reboot to twrp and format again), then restore your backup (and possibly need to delete the '/data/system/locksettings.db' file. Your data would still exist that way. I am going to work to fix this asap and maybe see if I can get another build without decryption made for official use for now.

I have added this to the first post.
The Following User Says Thank You to dejello For This Useful Post: [ View ] Gift dejello Ad-Free
25th October 2018, 12:29 PM |#9  
Junior Member
Thanks Meter: 2
 
More
Damn thanks !
28th October 2018, 06:05 PM |#10  
Junior Member
Thanks Meter: 2
 
More
Hi. First thank for the contribution.
I would like to know if someone has the stock twrp, modeled 1925-1. When I modified my stock twrp, I made a back up, but I lost it.
I would like to update my security patch, but I can not because it has modified the twrp.
28th October 2018, 10:36 PM |#11  
Senior Member
Flag batavia, ohio
Thanks Meter: 143
 
Donate to Me
More
Quote:
Originally Posted by aaleej0

Hi. First thank for the contribution.
I would like to know if someone has the stock twrp, modeled 1925-1. When I modified my stock twrp, I made a back up, but I lost it.
I would like to update my security patch, but I can not because it has modified the twrp.

So I guess I will be the one to say it. I'm giving you one warning about this. It's against forum rules to post on multiple threads with the same subject. I've answered your question on the Ali stock firmware thread also. Please read guides and threads instead of skimming through them because it's been answered multiple times. Next time you do this and post the same thing on multiple threads I will be the one reporting you. Have a good day.
Post Reply Subscribe to Thread

Tags
ali, moto g6, 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