1. Are you ready for the Galaxy S20? Here is everything we know so far!

[2014-09-22][MT2-L03] TeamWin Recovery Project

Discussion in 'Android Devices' started by ModdingMyMind, Sep 23, 2014.

  1. ModdingMyMind

    Thread Starter

    Disclaimer: You are responsible for insuring you keep a backup of your stock recovery!

    TWRP for MT2-L03

    Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its 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.


    -Add MTP support to recovery thanks mostly to bigbiff with a little help from Dees_Troy
    -Add command line capabilities - you can now execute various TWRP features via adb instead of the touchscreen
    -Add support for color in the console and give error, warning, and highlight lines different colors
    -Track backup and restore progress based on file sizes to provide a much more accurate indication of progress
    -Improve handling of /misc thanks to mdmower
    -Improve setting of time on Qualcomm devices thanks to [NUT]
    -Allow using images on slidervalue GUI objects thanks to Tassadar
    -Allow using variables and addition and subtraction in variables for easier theming
    -Add support for 1440x2560, 280x280, and 320x320 resolutions and update 240x240
    -Allow ui.xml file to include additional xml files to help break up the theme and make TWRP easier to maintain
    -Other minor fixes and improvements

    Over the course of the last year or so, bigbiff has worked to migrate various Java functions from Android's MTP implementation to bring you a fully C++ based MTP implementation that allows you to transfer files to both emulated storage and Micro SD cards. It's confirmed to work on various Nexus devices but we may have to make some changes on other devices to keep Windows happy. Windows is very picky about USB IDs and its drivers. We have tested it on Windows 7 and 8 as well as Ubuntu 14.04 Trusty. MTP is enabled by default, but we do toggle it off and on automatically during certain operations such as if you choose to wipe a storage partition. You can enable or disable MTP under the mount menu in TWRP. For more about what MTP is here.

    Note: Due to a weird bug with our MTP setup, you cannot copy a zip file to the root of storage with Windows. You can change the .zip to something else like .txt and then copy it to the root and rename the file back to .zip once it's copied to the device. You can also copy the zip into any subfolder.

    Command line support is also now available. You can perform various OpenRecoveryScript commands via the adb shell. Depending on what you are doing you may wish to do a "twrp set tw_mtp_enabled 0" and then reboot to prevent the MTP auto toggle from killing your adb interface. You can use this option to create and restore backups, wipe, install zips, and more. Via adb shell, type twrp followed by a space then enter the OpenRecoveryScript command and hit enter. Find more OpenRecoveryScript commands here.

    Installation (PC):
    - You MUST have an unlocked Bootloader!
    - Download TWRP Recovery
    - Boot to your Bootloader
    - Plug your device to your PC
    - Open Command Window
    - Type, then Enter:
    Code (Text):
    1. fastboot flash recovery /path/to/TWRP.img
    Installation (Device)(More Experienced Users Only!):
    - You MUST have an unlocked Bootloader!
    - You MUST be rooted!
    - Must have Busybox installed or a properly compiled DD binary
    - Download TWRP Recovery
    - Install a Terminal Emulator from the Play Store
    - Type, then Enter:
    Code (Text):
    1. dd if=/path/to/TWRP.img of=/dev/block/mmcblk0p19
    - TWRP


    - Recovery built in a OmniRom 4.4.4 environment using device trees/kernel/dtb
    - Stock Kernel
    - Stock DTB
    - TWRP source from Omnirom
    - MT2-L03 Device Configuration Folder - My Github

    - Status: Stable
    - Created 2014-09-22
    - Last Updated 2014-09-22

    scary alien likes this.

    1. Download the Forums for Android™ app!



Share This Page