[TWRP][Montana]TWRP for Moto G5s[ARM/ARM64 Support]

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    TWRP For Moto G5s Montana

    Requirements
    • Unlocked bootloader
    • Fastboot drivers installed on PC

    Instructions:
    Download the TWRP image here: LINK
    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
    Normal output:
    Code:
    target reported max download size of 536870912 bytes
    sending 'recovery' (14542 KB)...
    OKAY [  0.460s]
    writing 'recovery'...
    (bootloader) Image not signed or corrupt
    OKAY [  0.270s]
    finished. total time: 0.730s
    Select recovery using the volume keys and power button to select.

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

    Source Code:
    Github

    Contributors
    @teamwin @sohamlad7 @GoldeneyeS2

    Version Information
    Status: Stable
    Current Stable Version: TWRP 3.2.1-0
    Stable Release Date: 2018-03-24

    Created 2018-03-24
    Last Updated 2018-03-24
    2
    Hello, here is a new version of the twrp arm / arm64.

    twrp.fstab file modification

    old twrp.fstab

    HTML:
    /system       ext4          /dev/block/bootdevice/by-name/system
    /system_image emmc          /dev/block/bootdevice/by-name/system
    /data         f2fs          /dev/block/bootdevice/by-name/userdata       flags=encryptable=/dev/block/bootdevice/by-name/metadata
    /keymaster    emmc          /dev/block/bootdevice/by-name/keymaster
    /cache        auto          /dev/block/bootdevice/by-name/cache
    /boot         emmc          /dev/block/bootdevice/by-name/boot
    /recovery     emmc          /dev/block/bootdevice/by-name/recovery       flags=backup=1
    /oem          ext4          /dev/block/bootdevice/by-name/oem            flags=backup=1;display="OEM"
    /persist      ext4          /dev/block/bootdevice/by-name/persist        flags=fsflags=noatime,nosuid,nodev,barrier=1,noauto_da_alloc;mounttodecrypt
    /firmware     ext4          /dev/block/bootdevice/by-name/modem          flags=fsflags=ro,nosuid,nodev,barrier=0;mounttodecrypt
    /misc         emmc          /dev/block/bootdevice/by-name/misc
    
    /external_sd  auto          /dev/block/mmcblk1p1  /dev/block/mmcblk1     flags=display="MicroSD Card";storage;wipeingui;removable;fsflags="utf8"
    /usb-otg      auto          /dev/block/sda1  /dev/block/sda              flags=display="USB-OTG";storage;wipeingui;removable;fsflags="utf8"

    new twrp.fstab

    HTML:
    /system       ext4          /dev/block/bootdevice/by-name/system
    /system_image emmc          /dev/block/bootdevice/by-name/system
    /data         f2fs          /dev/block/bootdevice/by-name/userdata       flags=encryptable=/dev/block/bootdevice/by-name/metadata
    /keymaster    emmc          /dev/block/bootdevice/by-name/keymaster
    /cache        auto          /dev/block/bootdevice/by-name/cache
    /boot         emmc          /dev/block/bootdevice/by-name/boot
    /recovery     emmc          /dev/block/bootdevice/by-name/recovery       flags=backup=1
    /vendor       ext4          /dev/block/bootdevice/by-name/oem            flags=backup=1;display="Vendor";backup=1;wipeingui
    /persist      ext4          /dev/block/bootdevice/by-name/persist        flags=fsflags=noatime,nosuid,nodev,barrier=1,noauto_da_alloc;mounttodecrypt
    /firmware     ext4          /dev/block/bootdevice/by-name/modem          flags=fsflags=ro,nosuid,nodev,barrier=0;mounttodecrypt
    /misc         emmc          /dev/block/bootdevice/by-name/misc
    /efs1         emmc          /dev/block/bootdevice/by-name/modemst1       flags=backup=1;display="EFS"
    /efs2         emmc          /dev/block/bootdevice/by-name/modemst2       flags=backup=1;subpartitionof=/efs1
    /logo         emmc          /dev/block/bootdevice/by-name/logo           flags=display="logo";backup=1;flashimg=1
    
    /external_sd  auto          /dev/block/mmcblk1p1  /dev/block/mmcblk1     flags=display="MicroSD Card";storage;wipeingui;removable;fsflags="utf8"
    /usb-otg      auto          /dev/block/sda1  /dev/block/sda              flags=display="USB-OTG";storage;wipeingui;removable;fsflags="utf8"
    I'm no longer this model for now because I gave it to my wife, if anyone can try it. But it should work properly
    link AFH > https://androidfilehost.com/?fid=746163614322269316