From f5c427bc97e7032b5e91f853e29a48a79794b34e Mon Sep 17 00:00:00 2001 From: Tobias Sterbak Date: Wed, 7 Feb 2024 17:31:40 +0000 Subject: [PATCH 1/3] Revert "Add support for jasmine_sprout (Mi A2 / 6X)" --- README.md | 2 +- .../assets/configs/jasminesprout.yaml | 55 ------------------- 2 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 openandroidinstaller/assets/configs/jasminesprout.yaml diff --git a/README.md b/README.md index aaa151e0..a7da02ad 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,7 @@ OnePlus | Nord N200 | [dre](https://wiki.lineageos.org/devices/dre) | DE2117 | t OnePlus | 9 | lemonade | LE2110, LE2111, LE2113, LE2115 | under development +
Xiaomi & Poco Vendor | Device Name | CodeName | Models | Status @@ -189,7 +190,6 @@ Xiaomi | Redmi Note 8 / 8T | [ginkgo](https://wiki.lineageos.org/devices/ginkgo) Xiaomi | Redmi Note 8 Pro | begonia | | untested Xiaomi | Redmi Note 9S / 9 Pro / 9 Pro Max / 10 Lite / Poco M2 pro | [miatoll](https://wiki.lineageos.org/devices/lavender) : gram / curtana / excalibur / joyeuse | | untested Xiaomi | Redmi Note 10S / 11SE / Poco M5S | [rosemary](https://wiki.lineageos.org/devices/rosemary) / maltose / secret /rosemary_p | | untested -Xiaomi | Mi A2 / Mi 6X | jasmine_sprout | | untested Xiaomi | Mi 8 | [dipper](https://wiki.lineageos.org/devices/dipper) | | untested Xiaomi | Mi 9T / Redmi K20 | [davinci](https://wiki.lineageos.org/devices/davinci) / davinciin | | untested Xiaomi | Redmi K20 Pro / Mi 9T Pro | raphael / raphaelin | | untested diff --git a/openandroidinstaller/assets/configs/jasminesprout.yaml b/openandroidinstaller/assets/configs/jasminesprout.yaml deleted file mode 100644 index 581765b6..00000000 --- a/openandroidinstaller/assets/configs/jasminesprout.yaml +++ /dev/null @@ -1,55 +0,0 @@ -metadata: - maintainer: A non (anon) - brand: xiaomi - device_name: Xiaomi Mi A2 / Mi 6X - is_ab_device: false - device_code: jasmine_sprout - supported_device_codes: - - jasmine_sprout - untested: true - notes: - - Retrofit dynamic partitions ROMs are not currently supported. -requirements: - android: 10 (Q) -steps: - unlock_bootloader: - - type: confirm_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. This will reset your phone. - - type: link_button_with_confirm - content: > - - Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days. - - - Add a phone number to your Mi account, insert a SIM into your phone. - - - Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version. - - - Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`. - - - Download the Mi Unlock app with the link bellow (Windows is required to run the app), and follow the instructions provided by the app. It may tell you that you have to wait, usually 7 days. If it does so, please wait the quoted amount of time before continuing to the next step! - - - After device and Mi account are successfully verified, the bootloader should be unlocked. - - - Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging` - link: https://en.miui.com/unlock/download_en.html - boot_recovery: - - type: confirm_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. - - type: call_button - content: > - Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue. - command: adb_reboot_bootloader - - type: call_button - content: > - Install the recovery you chosen before by pressing 'Confirm and run'. Once it's done continue. - command: fastboot_flash_recovery - - type: call_button - img: twrp-start.jpeg - content: > - Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery. - If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed. - Once it's done continue. - command: fastboot_reboot_recovery From 68adefc711070e3e4a0b368495b30169e4a64c20 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sat, 10 Feb 2024 15:00:48 +0100 Subject: [PATCH 2/3] Add support for Samsung Galaxy S5 mini I got the LineageOS images from https://androidfilehost.com/?a=show&w=files&flid=64356 and TWRP image from https://dl.twrp.me/kminilte/ It works for me --- README.md | 1 + .../assets/configs/kminilte.yaml | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 openandroidinstaller/assets/configs/kminilte.yaml diff --git a/README.md b/README.md index a7da02ad..b67c1be6 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ Samsung | Galaxy Tab S2 | [gts210vewifi](https://wiki.lineageos.org/devices/gts2 Samsung | Galaxy S4 | [jfltexx](https://wiki.lineageos.org/devices/jfltexx) | | untested Samsung | Galaxy S4 Mini LTE| [serranoltexx](https://wiki.lineageos.org/devices/serranoltexx) | | tested Samsung | Galaxy S5 | [klte](https://wiki.lineageos.org/devices/klte) | G900F/M/R4/R7/T/V/W8 | tested +Samsung | Galaxy S5 mini | kminilte | SM-G800F | tested Samsung | Galaxy S6 | [zerofltexx](https://wiki.lineageos.org/devices/zerofltexx) | | tested Samsung | Galaxy S6 Edge | [zeroltexx](https://wiki.lineageos.org/devices/zeroltexx) | | tested Samsung | Galaxy S7 | [herolte](https://wiki.lineageos.org/devices/herolte) | SM-G930F | tested diff --git a/openandroidinstaller/assets/configs/kminilte.yaml b/openandroidinstaller/assets/configs/kminilte.yaml new file mode 100644 index 00000000..83b33c44 --- /dev/null +++ b/openandroidinstaller/assets/configs/kminilte.yaml @@ -0,0 +1,28 @@ +metadata: + maintainer: Ludovic Rousseau + device_name: Samsung Galaxy S5 mini + is_ab_device: false + device_code: kminilte + supported_device_codes: + - kminilte + - kminiltexx +steps: + unlock_bootloader: + boot_recovery: + - type: call_button + content: > + As a first step, you need to boot into 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. + Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done. + command: adb_reboot_download + - type: call_button + content: > + In this step, you need to flash a custom recovery on your device. + Press 'Confirm and run' to start the process. Confirm afterwards to continue. + command: heimdall_flash_recovery + - type: confirm_button + img: samsung-buttons.png + content: > + Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds + until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off, + hold *Volume Up* + *Home* + *Power button*. From cf2762bd087de1710f5d6f5fc8820d0c2cee92c5 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Wed, 14 Feb 2024 11:22:05 +0100 Subject: [PATCH 3/3] Add twrp-link: optional field --- openandroidinstaller/assets/configs/kminilte.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openandroidinstaller/assets/configs/kminilte.yaml b/openandroidinstaller/assets/configs/kminilte.yaml index 83b33c44..703f24a9 100644 --- a/openandroidinstaller/assets/configs/kminilte.yaml +++ b/openandroidinstaller/assets/configs/kminilte.yaml @@ -6,6 +6,7 @@ metadata: supported_device_codes: - kminilte - kminiltexx + twrp-link: kminilte steps: unlock_bootloader: boot_recovery: