openandroidinstaller icon indicating copy to clipboard operation
openandroidinstaller copied to clipboard

Add support for `a40`

Open ptroosen opened this issue 2 years ago • 8 comments

Is your device already requested?

  • [X] I have searched the existing issues

Brand

Samsung

Name

Galaxy A40

Device code

A40

Model

No response

Device images

No response

Do you own the device and would be willing to test the installer?

  • [X] I own the device and am willing to test the installer on it.

Additional context

No response

ptroosen avatar Jan 04 '24 19:01 ptroosen

I don't see the A40 on the list of devices https://openandroidinstaller.org/supported-devices.html

and in the application I get :

image

Why was this issue closed ?

arthurlutz avatar Mar 28 '24 21:03 arthurlutz

Device images :

  • /e/OS https://sourceforge.net/projects/eosbuildsronnz98/files/SamsungSmartphones/e-1.19.1-t-20240203-UNOFFICIAL-a40.zip/download
  • crDroid https://crdroid.net/a40/7 https://sourceforge.net/projects/eurekaroms/files/Samsung/A40/T/crdroid/crDroidAndroid-13.0-20231124-a40-v9.11.zip/download
  • lineageos fan-edition https://sourceforge.net/projects/kevios12a40roms/files/RELEASE/LineageFE-v11.69-20210710-a40-Isobar.zip/download
  • lineageos 18.1 unofficial https://sourceforge.net/projects/eurekaroms/files/Samsung/A40/R/lineage/
  • other ROMs : https://eurekadevelopment.github.io/

arthurlutz avatar Mar 28 '24 21:03 arthurlutz

Hey, looks like you closed it :thinking:

But what ever, I guess support should be straight forward to add.

You can create a config file for your device and contribute it to the project: https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/docs/how_to_contribute_your_own_installation_configurations.md Easiest is to start off an existing config file :)

Let me know if you need any help.

Here is the required TWRP version: https://twrp.me/samsung/samsunggalaxya40.html

Otherwise, we will see when we can add support :)

tsterbak avatar Mar 30 '24 10:03 tsterbak

Happy to see it's on the way. My new refurbished A40 an I will wait for the regular install. Let me know if we can help.

PauKokura avatar Apr 02 '24 16:04 PauKokura

hey @tsterbak happy to help on this, but I'm stuck on the magisk/twrp step I'm not sure what I need to do. A little push in the right direction would be nice !

arthurlutz avatar Apr 02 '24 16:04 arthurlutz

hey @tsterbak happy to help on this, but I'm stuck on the magisk/twrp step I'm not sure what I need to do. A little push in the right direction would be nice !

Great! :partying_face: I'm not 100% sure where you are stuck. If you tell me more I might be able to guide you :) The easiest way to add support is usually by starting out with an already existing config from a similar device. For example Galaxy S10+: https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/openandroidinstaller/assets/configs/beyond2lte.yaml (you judge if its similar :D). You change the device codes there, rename the config and test it with your device. From there you can make tweaks if necessary.

Let me know if you have more questions :)

tsterbak avatar Apr 05 '24 08:04 tsterbak

Hi @arthurlutz is this still on your roadmap? I would like to help but I have no knowledge at all to do it by myself. @tsterbak I am committed with this, so if you can guide me step by step, I can try. I'm waiting to install the rom to use the phone, but if I install it manually, we lose the opportunity to test it with openandroidinstaller.

PauKokura avatar May 30 '24 18:05 PauKokura

Hi @PauKokura, I can guide you :) Thanks for your interest!

Usually, the easiest way is to get the executable of the installer (not the flatpak). Then place the config file you created in the same directory as the executable and name it like your device code. A good config to get started can be found here: https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/openandroidinstaller/assets/configs/beyond2lte.yaml

Then you adapt the config according the installation instructions.

You can find a detailed description on how to contribute a config here.

Let me know if something is unclear or if you need any help :)

tsterbak avatar Jun 02 '24 16:06 tsterbak