Skip to content

Commit 7194358

Browse files
committed
Fix minor device bug
1 parent c651cb4 commit 7194358

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you wish to backup the TA partition first, you can find tutorials related to
3131
Vendor | Device Name | CodeName | Models | Status
3232
---|---|---|---|---
3333
Samsung | Galaxy A3 2017 | a3y17lte | SM-A320FL | tested
34-
Samsung | Galaxy A5 2016 | a5xelte | | under development
34+
Samsung | Galaxy A5 2016 | a5xelte | | tested
3535
Samsung | Galaxy S7 | herolte | | planned
3636
Google | Pixel 3a | sargo | sargo | tested
3737
Sony | Xperia Z | yuga | C6603 | tested
@@ -101,4 +101,4 @@ This program is free software: you can redistribute it and/or modify it under th
101101

102102
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
103103

104-
You should have received a copy of the GNU General Public License along with this program. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).
104+
You should have received a copy of the GNU General Public License along with this program. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

openandroidinstaller/assets/configs/a5xelte.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ steps:
1717
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."
1818
- title: "Flash LineageOS"
1919
type: confirm_button
20-
content: "Now tap 'Wipe' on your phone. Then tap 'Format Data' and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage. Confirm to continue once you are done."
20+
content: "Now swipe right to allow modifications then tap 'Wipe' on your phone. Next tap 'Format Data' and follow the instructions on your phone to continue with the formatting process. This will remove encryption and delete all files stored in the internal storage. Confirm to continue once you are done."
2121
- title: "Flash LineageOS"
2222
type: confirm_button
2323
content: "Return to the previous menu on your phone by going back two times. Them tap 'Advanced Wipe', and select the 'Cache' and 'System' partitions and then 'Swipe to Wipe'. Confirm to continue once you are done."
@@ -31,4 +31,4 @@ steps:
3131
- title: "Reboot into LineageOS"
3232
type: call_button
3333
content: "As a final step, reboot into LineageOS to finish the installation by pressing the button."
34-
command: "adb reboot"
34+
command: "adb reboot"

openandroidinstaller/openandroidinstaller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def search_devices(self, e):
209209
self.device_name.value = f"{device_name} (code: {device_code})"
210210
else:
211211
# failed to load config
212-
logger.info(f"Failed to load config from {path}.")
212+
logger.info(f"Failed to load config for {device_code}.")
213213
self.view.update()
214214

215215

openandroidinstaller/tool_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def search_device(platform: str, bin_path: Path) -> Optional[str]:
6868
).decode()
6969
else:
7070
raise Exception(f"Unknown platform {platform}.")
71-
return output.split("[")[-1][:-2].strip()
71+
return output.split("[")[-1].strip()[:-1].strip()
7272
except CalledProcessError:
7373
logger.info(f"Did not detect a device.")
7474
return None

0 commit comments

Comments
 (0)