-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* asserts taken from https://github.com/LineageOS/android_device_oneplus_oneplus3/blob/e975bda0561217fae2a342c2e8c1848b3e3cf370/BoardConfig.mk#L35C29-L35C66 * copied config from cheeseburger Signed-off-by: SirRGB <sirrgb@proton.me>
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
metadata: | ||
maintainer: SirRGB | ||
device_name: OnePlus 3/3T | ||
is_ab_device: false | ||
device_code: oneplus3 | ||
supported_device_codes: | ||
- OnePlus3 | ||
- oneplus3 | ||
- OnePlus3T | ||
- oneplus3t | ||
untested: true | ||
requirements: | ||
android: 9 | ||
steps: | ||
unlock_bootloader: | ||
- type: call_button | ||
content: > | ||
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone | ||
how to start and run an operating system (like Android). Your device should be turned on. | ||
Press 'Confirm and run' to reboot into the bootloader. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
content: > | ||
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat. | ||
Once it's done, press continue here. | ||
command: fastboot_oem_unlock | ||
- type: confirm_button | ||
content: > | ||
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue. | ||
boot_recovery: | ||
- type: call_button | ||
content: > | ||
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating, | ||
adapting and repairing of the operating system. | ||
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue. | ||
command: adb_reboot_bootloader | ||
- type: call_button | ||
img: twrp-start.jpeg | ||
content: > | ||
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue. | ||
command: fastboot_boot_recovery |