[RECOVERY] Official TWRP 3.3.1 for Moto G7 Plus [lake]

Search This thread

tomf1033

New member
Nov 30, 2021
1
0
Hey Jleeblanch, any idea how to build the android-10 branch of
https://github.com/TeamWin/android_device_motorola_lake
??

I think I originally built the android-9.0 branch, years ago, on top of the omnirom code-base (https://github.com/omnirom/android/tree/android-9.0)

But it seems the omnirom repo is not being maintained - lots of constituent repos are missing / have been moved so the sync fails.

I've tried building against the twrp code-base (https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni -b twrp-9.0) but lunch fails with a go compilation error.

I'm now trying to check out https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni -b twrp-10.0-deprecated
but the sync is failing. And anyway, the branch is deprecated, suggesting it's no good.

I think TWRP has switched to an AOSP-based code-base... but only from Android 11 upwards.

Any idea what I should build it on? Many thanks for all your work!

Tom
 

yielo

New member
Nov 15, 2021
2
0
Moto G5S Plus
For those who have problem with touch not working, try plugging a mouse into the USB port and move the mouse around for a bit. The mouse cursor mor or may not show up. If it shows up, you can interact with the screen with it. If it doesn't show up, try tapping on the screen. I've noticed plugging in a mouse somehow allows touch to work again.

Phone is a G7 Plus XT1965-T, comes with Android 10 pre-installed. It installs TWRP just fine, but none of the versions had touch working prior to plugging in a mouse.

This was the last solution that I'd though would work, but it somehow does.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    hyYdf7R.png

    Team Win Recovery Project 3.x, or twrp for short, is a custom recovery built with ease of use and customization in mind. It's a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.


    This device has 2 "slots" for ROMs / firmware. TWRP will detect whichever slot is currently active and use that slot for backup AND restore. There are buttons on the reboot page and under backup -> options to change slots. Changing the active slot will cause TWRP to switch which slot that TWRP is backing up or restoring. You can make a backup of slot A, switch to B, then restore the backup which will restore the backup of A to slot B. Changing the slot in TWRP also tells the bootloader to boot that slot.

    NOTE:
    Decryption of data works when fastboot booting TWRP AND when permanently installing TWRP

    Installation
    To temporarily boot this recovery:
    Code:
    fastboot boot twrp-[b]build-version[/b]-lake.img

    To permanently install it:
    • Temporarily boot twrp
    • Place the twrp-installer zip on your internal/external storage, or push to /sdcard or /external_sd using adb:
      Code:
      adb push twrp-installer-[b]build-version[/b]-lake.zip /sdcard (or /external_sd)
    • Tap Install -> Navigate to /sdcard or /external_sd and select the twrp-installer -> Swipe to install
    • Reboot recovery. NOTE: if you had Magisk installed previously, be sure to flash again before rebooting to System
    • NOTE: you can flash the twrp-installer zip directly in Magisk Manager as a module to install and/or update TWRP!

    NOTE: Currently, there is no official twrp-installer zip, but there will be for the next official update. However, you can use the "unofficial" twrp-installer for the time being as it is built using the same sources

    Downloads
    • TWRP (Official) || https://twrp.me/motorola/motorolamotog7plus.html
    • TWRP (Unofficial) || twrp-3.3.1-lake-Q-v1.img
    • INSTALLER || twrp-installer-3.3.1-lake-Q-v1.zip

    NOTE: The unofficial twrp.img and twrp-installer.zip have been updated for Stock Q and Q based custom ROM's. They may also work on all Pie ROM's (is anyone still using Pie?) as well but is untested


    XDA:DevDB Information
    TeamWin Recovery Project 3.3.1, Tool/Utility for the Moto G7 Plus

    Contributors
    Jleeblanch
    Source Code: https://github.com/TeamWin/android_device_motorola_lake


    Version Information
    Status: Stable
    Current Stable Version: 3.3.1-0
    Stable Release Date: 2019-07-23
    Current Beta Version: 3.3.1
    Beta Release Date: 2019-05-11

    Created 2019-05-14
    Last Updated 2020-04-03
    6
    so pointless until touch support i am guessing
    Not pointless, and besides touch was working fine up until PPWS29.98-66-2 was released. I've since fixed touch in the latest firmware.

    AFH Download -> twrp-3.3.1-v3-lake-jlb.img

    md5sum = 008d4434ada4b6b68034dd19b2d199b3

    I'll update the OP accordingly this evening.
    5
    Update!

    Changes:
    - twrp 3.3.1
    - decryption working (booted and installed)
    - possibly fix touchscreen not working for everyone (need more confirmation)
    - new installer zip for easier updating, and can be flash in Magisk Manager as a module

    ** Downloads **
    TWRP || twrp-3.3.1-v4.0-lake-jlb.img

    INSTALLER || twrp-installer-3.3.1-v4.0-lake-jlb.zip
    4
    Yes, of course. The device comes fully treble enabled, so it wouldn't make sense to build TWRP without supporting it. I'm sure it'll need some tweaks here and there and I gotta add in decryption support. It's not that it's broken, I just haven't implemented it yet. I wanted to get a working build up for at least flashing Magisk and GSI's.
    4
    Hey guys,
    I've not installed TWRP for a long time, I've been using the same phone (Nextbit Robin) almost two years.
    Do I follow this guide to install this? https://www.xda-developers.com/how-to-install-twrp/
    Using the instructions above?

    The important thing NOT to follow at that link (which otherwise seems to have good info) is DON'T 'fastboot flash recovery twrp.img' but instead do 'fastboot boot twrp.img' to only boot it initially (notice the words 'flash' and 'recovery' aren't in there), after which there is a new way within TWRP to fully install it. The reason is because there is no longer a recovery partition in the newer A/B-slotted devices including G7+, so if you fastboot flash the old way it could brick your device. So just follow the instructions in OP of this thread once you get to the 'Install via ADB' section.

    Edit: another thing is that touch isn't working in current version after installing twrp in latest firmware versions (but does work when booted), also as pointed out in OP decryption still isn't added so can't do full nandroid backups or work with internal storage.