- TWRP --- Recovery
Install TWRP
adb reboot bootloader
fastboot flash recovery twrp-3.2.3-0-hammerhead.img
| subprojects { | |
| project.configurations.all { | |
| resolutionStrategy.eachDependency { details -> | |
| boolean isMultidex = details.requested.name.contains('multidex') | |
| if (details.requested.group == 'com.android.support' && !isMultidex){ | |
| details.useVersion lib_versions.support | |
| }else if(isMultidex){ | |
| details.useVersion lib_versions.multidex | |
| } | |
| } |
| /* | |
| * Copyright (C) 2016 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
Install TWRP
adb reboot bootloader
fastboot flash recovery twrp-3.2.3-0-hammerhead.img
Ref: https://gist.github.com/vertexclique/9839383
Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).
Common step after enter run the patch command: