From fe316b0502b5436b9baf0664bb203f385e84c1d9 Mon Sep 17 00:00:00 2001 From: SirRGB Date: Fri, 13 Oct 2023 12:23:29 +0200 Subject: [PATCH 1/3] update xda developers links * they migrated to a new url --- README.md | 2 +- docs/unlocking_the_bootloader.md | 2 +- openandroidinstaller/views/select_view.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b52c1902..4e3f05cd 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 L - [MicroG](https://microg.org) - The recommended way to install MicroG is to use the zip file provided here: [https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI/releases](https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI/releases). - [F-Droid App-Store](https://f-droid.org/en/packages/org.fdroid.fdroid.privileged.ota). - - or you can just search the web or the [xda-developers forum](https://forum.xda-developers.com) for an appropriate version for your device. + - or you can just search the web or the [xda-developers forum](https://xdaforums.com) for an appropriate version for your device. 3. Start the desktop app and follow the instructions. ## Officially supported devices diff --git a/docs/unlocking_the_bootloader.md b/docs/unlocking_the_bootloader.md index e693a721..48c3b719 100644 --- a/docs/unlocking_the_bootloader.md +++ b/docs/unlocking_the_bootloader.md @@ -25,6 +25,6 @@ Other phone manufacturers no longer allow you to unlock the bootloader. Nothing | LG | Fastboot | Impossible since December 2021 | **Yes** | | | ASUS | Fastboot | Impossible since May 2023 (ASUS unlocking App) | **Yes** | | -**\*** In the EU you won't loose your standard 2 years of the warranty when you unlock your bootloader, flash your device or root it. ([source](https://forum.xda-developers.com/t/info-eu-rooting-and-flashing-dont-void-the-warranty.1998801/)) +**\*** In the EU you won't loose your standard 2 years of the warranty when you unlock your bootloader, flash your device or root it. ([source](https://xdaforums.com/t/info-eu-rooting-and-flashing-dont-void-the-warranty.1998801)) You can find more information about the brands and their bootloader policies [here](https://wikilibriste.fr/fr/tutoriels-android/bootloader-unlock) (in French). diff --git a/openandroidinstaller/views/select_view.py b/openandroidinstaller/views/select_view.py index 5c9c116d..ecbd9de0 100644 --- a/openandroidinstaller/views/select_view.py +++ b/openandroidinstaller/views/select_view.py @@ -357,7 +357,7 @@ def toggle_additional_image_selection(self): ## Where do I get these images? You can download the required images for your device from the [LineageOS downloads page](https://download.lineageos.org/devices/{self.state.config.device_code}/builds). -If this download page does not contain the required images, you can try to find them on the [XDA developers forum](https://forum.xda-developers.com/). +If this download page does not contain the required images, you can try to find them on the [XDA developers forum](https://xdaforums.com). """, auto_follow_links=True, ), From 77d0013bfdaa99f132c1800691052d0ea4ab95ce Mon Sep 17 00:00:00 2001 From: SirRGB Date: Fri, 13 Oct 2023 12:31:33 +0200 Subject: [PATCH 2/3] add A7 2017 support * A5/A7 2017 are basically the same phone, so lets copy its config * asserts taken from https://github.com/LineageOS/android_device_samsung_a7y17lte/blob/lineage-18.1/BoardConfig.mk#L28 --- README.md | 3 +- .../assets/configs/a7y17lte.yaml | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 openandroidinstaller/assets/configs/a7y17lte.yaml diff --git a/README.md b/README.md index 4e3f05cd..588dabff 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 L ## Officially supported devices -Currently, the **we support 73 devices** by various vendors and working on adding more soon! +Currently, the **we support 74 devices** by various vendors and working on adding more soon! Support for these devices is provided as best effort, but things might still go wrong. Help to improve the tool by reporting any issues you might face. @@ -77,6 +77,7 @@ Samsung | Galaxy A3 2017 | a3y17lte | SM-A320FL | tested Samsung | Galaxy A5 2016 | [a5xelte](https://wiki.lineageos.org/devices/a5xelte) | SM-A510F | tested Samsung | Galaxy A5 2017 | [a5y17lte](https://wiki.lineageos.org/devices/a5y17lte) | | tested Samsung | Galaxy A7 2016 | a7xelte | | tested +Samsung | Galaxy A7 2017 | [a7y17lte](https://wiki.lineageos.org/devices/a7y17lte) | | untested Samsung | Galaxy Grand Prime VE | grandprimevelte | SM-G531F | tested Samsung | Galaxy S III Neo | s3ve3g | GT-I9301I | tested Samsung | Galaxy Tab S2 | [gts210vewifi](https://wiki.lineageos.org/devices/gts210vewifi/) | T813 | tested diff --git a/openandroidinstaller/assets/configs/a7y17lte.yaml b/openandroidinstaller/assets/configs/a7y17lte.yaml new file mode 100644 index 00000000..1f6179e0 --- /dev/null +++ b/openandroidinstaller/assets/configs/a7y17lte.yaml @@ -0,0 +1,28 @@ +metadata: + maintainer: Tobias Sterbak (tsterbak)/SirRGB + device_name: Samsung Galaxy A7 (2017) + is_ab_device: false + device_code: a7y17lte + supported_device_codes: + - a7y17lte + - a7y17ltexx +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 1939d912a68d3dea01fed2278eee6e86b55276a0 Mon Sep 17 00:00:00 2001 From: SirRGB Date: Fri, 13 Oct 2023 12:33:06 +0200 Subject: [PATCH 3/3] sync a5 2017 asserts with lineage * taken from https://github.com/LineageOS/android_device_samsung_a5y17lte/blob/lineage-19.1/BoardConfig.mk#L28 --- openandroidinstaller/assets/configs/a5y17lte.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/openandroidinstaller/assets/configs/a5y17lte.yaml b/openandroidinstaller/assets/configs/a5y17lte.yaml index e0ea6925..64bdb493 100644 --- a/openandroidinstaller/assets/configs/a5y17lte.yaml +++ b/openandroidinstaller/assets/configs/a5y17lte.yaml @@ -1,18 +1,19 @@ metadata: maintainer: Tobias Sterbak (tsterbak) device_name: Samsung Galaxy A5 (2017) - is_ab_device: false + is_ab_device: false device_code: a5y17lte supported_device_codes: - a5y17lte - a5y17ltecan + - a5y17ltexx 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. + 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 @@ -23,6 +24,6 @@ steps: - 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*. \ No newline at end of file + 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*.