commit | 84830ce015b83546f5bc25149e06647f2f7b5180 | [log] [tgz] |
---|---|---|
author | Matt Mower <mowerm@gmail.com> | Tue Feb 14 20:36:16 2017 -0600 |
committer | Ethan Yonker <dees_troy@teamw.in> | Thu Feb 23 12:30:59 2017 -0600 |
tree | 4bb30d599e3cf493f5a033257591e644550477a4 | |
parent | 9ce12ec20d8655fe602de91de8152bba07d7054c [diff] |
Only change USB mode to mtp when ready for MTP Commit 'Do not toggle USB ID during MTP startup if not needed' changed the default USB mode to 'mtp,adb'. Depending on the device, this can result in an unfortunate side effect of crashing an ORS sideload midway through the process (it's not clear to me whether the kernel or the connected computer is responsible). Only put USB into mtp mode when MTP storage is starting-up. The hack to change the USB mode to adb when a user compiles TWRP without MTP support is no longer necessary now that 'adb' is the startup mode. Change-Id: I8ed13d6ab8e85621533997b8c37ef7ebec0fcf85
Team Win Recovery Project (TWRP)
You can find a compiling guide here.