Samsung A5 2017 - reboots instead of shutting down

#4 - can’t as APN area is greyed out when it doesn’t see the SIM.

#5 - also can’t because wifey is using only other phone, and I value my life too much to risk asking for it.

I did try using her SIM a few days ago though during the initial troubleshooting phase and it didn’t work either.

1 Like

The “baseband” is actually the wireless modem for mobile radio. The modem firmware aka baseband firmware is the software responsible for the cell activities within the entire Samsung firmware. Its tasks include harmonizing antenna reception to cell, enabling communication with other devices such as Blue-Tooth, Wi-Fi and GPS.

Unfortunately there is also official baseband firmware available which is not suitable for custom Rom’s.

An example from my LG G3 d855: One of the last official StockROM Android 6.x v30B (13-00106) = doesn’t work with custom Rom.

Official StockROM Android 5.0 v21C (13.2-0000002) = works and is recommended for android 5.x and higher custom ROMs).

Another experience on my part with a Galaxy S5 SM-G900F see posting #7 Post Baseband updates?

What is the baseband code of the baseband firmware used on your SM-A520F?

It shows “Unknown” under baseband in my phone. So… where does one get this from and how come that’s not part of the /e/ OS when you install it?

"Unknown is an indication of a »lost baseband firmware«.

The device manufacturer with the mobile provider is responsible for the baseband firmware and is located in the Samsung StockROM. This firmware can be flashed with the Samsung ODIN3 Tool.

An example from the 4-part StockROM of Samsung Galaxy S7 SM-G930F (MODEM/CP version) :
CP_G930FXXU2DRB6_CL648265_QB8952207_SIGNED.tar.md5

No customROM contains this software - probably for copyright/license reasons.

Alright, so at what point do I add that in the install of /e/, and do I need to add one from the same version (IE 7.0) of Android?

1/ … after flashing /e/ OS

2/ … it is recommended to first install a baseband-firmware from a StockROM 7.0. In your special case I would additionally flash the bootloader-firmware (because of “reboot…”).
(Tip: Keep Posting #19 in mind).

First download a multi-part, usually 4-part (“Binary Nature”), StockROM 7.0 for the SM-A520F. Extract the compressed *.zip file. The result for the SM-G930F mentioned under #21 looks like this:

AP_G930FXXS2DRDI_CL12365438_QB17789072_REV00_user_low_ship_meta.tar.md5
BL_G930FXXS2DRDI_CL12365438_QB17789072_REV00_user_low_ship.tar.md5
CP_G930FXXU2DRB6_CL648265_QB8952207_SIGNED.tar.md5
CSC_DBT_G930FDBT2DRB5_CL13061583_QB16917211_REV00_user_low_ship.tar.md5

Now in ODIN3, fill the fields “BL” and “CP” with the corresponding file from the 4-part-firmware and enter “START”. The SIM card can then be inserted.

After the installation procedure a reset to factory settings is necessary depending on the device.

Downloading a new copy of the 7.0 firmware now. The first 7.0 I downloaded was part of what didn’t initially work on Odin - the BL and AP files caused errors in Odin. I’m downloading the general Canada version of the firmware (XAC) which is the version that installed successfully for 8.0. Download is just going mega-slowly at the moment.

So correct order here…

  1. Get TWRP installed and working
  2. Install install /e/ ZIP file
  3. Reboot back into download mode (before letting /e/ boot up/install for the first time)
  4. Use Odin to load in the 7.0 CP and BL firmwares
  5. Insert SIM
  6. Restart and have it do the system boot to install /e/
  7. Factory reset if SIM (and baseband) still not showing up

Now… if ALL that fails again, what I’m wondering is where are these files stored with the OS? It may be possible to backup those directories and their contents from a working Android 7.0 and then copy them back up (via adb) to the phone once it is running /e/. It is, after all, still a Linux install under the hood.

Hej, I’m not sure if I understand it right:
You’re downloading StockROM 8.0 (Canada XAC) now and want to combine the BL & CP it contains with /e/ for a5y17lte dev (nougat)?

Sorry for the lack of clarity there. I already had the StockROM 8.0 downloaded - it was what I installed a few days back to confirm that the SIM did work with the “stock” phone setup.

I’m downloading the StockROM 7.0 right now - Canada (XAC) version - so that I have a CP and BL image that match the base OS version of /e/.

Yes, I believe that this is the right way to go at the current stage of troubleshooting.

Didn’t work - just like the other carrier specific StockROM 7.0, it errored on trying to push up the BL:


Will try to upload the CP stuff, at least. Might be able to push up the StockROM 8.0 BL since that has nothing to directly do with the OS.

@Dakiraun, I can’t find firmware (Canada - XAC) for the Samsung Galaxy A5 (2017) SM-A520F SM-A520F “a5y17lte”. Please give me a link to the download page you used.

It’s the SM-A520W that I have. This is the firmware I tried:

https://www.sammobile.com/samsung/galaxy-a5/firmware/SM-A520W/XAC/download/A520WVLS2BRD2/217443/

I just booted the phone up after the /e/ install. First, I was able to put on the StockROM 8.0 BL, but used the 7.0 CP file. SIM card is still not detected, and baseband shows as “Unknown”. Seems to not be seeing/using those firmware files.

SM-A520W is not compatible with /e/ OS (or LineageOS).

Only the European Vesion of Galaxy A5 2017 SM-A520F is supported. We should have recognized this earlier … ;o/

facepalm

Argh. As I’m beginning to discover with these phones, there are SO many versions and sub-versions of the “same” phone that it’s dizzying. This is why I avoided having one of the stupid things until now.

Alright, so magic question - when is /e/ going to be ported to the Canadian and US versions of these phones?

I can’t answer that question for you. First contact person should be @Manoj /e/ support.

Alright, will do. Thank you for all your patience and help - certainly have learned a lot about phones in a short time. :stuck_out_tongue:

1 Like

Me too. See you next time.:upside_down_face:

Supplement:
The Samsung Galaxy A5 (2017) has more variants. Only the versions (SM-A520F) and SM-A520F/DS (Dual-Sim) are supported by /e/ OS (and LineageOS).

MOD 1**
Samsung Galaxy A5 2017 SM-A520F Single-Sim
Specifications Samsung Galaxy A5 (2017)
Countries or regions available: Europe.

MOD 2
Samsung Galaxy A5 2017 SM-A520F/D (Global Dual-SIM)
Countries or regions available: Latin America, Saudi Arabia, Brazil, United Arab Emirates, Philippines, Malaysia, Russia, Singapore, Thailand, Ukraine, Various (International).

MOD 3
Samsung Galaxy A5 2017 SM-A520K / L / S
Countries or regions available: South Korea.

MOD 4
Samsung Galaxy A5 2017 SM-A520W
Countries or regions available: Canada