Hi, everybody!
First of all,
@haggertk, thank you for your amazing work!
ISSUE
Samsung Galaxy S5 klte-duos (Model SM-G900MD) restarting during the boot or a few moments after a boot complete if LTE is enabled.
CENARIO
- I have 03 (three) Samsung Galaxy S5 klte-duos (Model SM-G900MD).
- Everything was working fine until two or three updates ago (Feb/2023 or Mar/2023, maybe Jan/2023).
- After the update, if the SIM card is inserted AND LTE is enabled, the phones will restart during the boot or a few moments after a boot complete.
- All three units are having this problem and it started at the same moment.
- It doesn't matter if the phones only have LOS installed or has other apps installed (MicroG, for example).
- The carrier's network signal is always present and good.
- Removing the SIM card, the problem stops.
- Keeping the SIM card, but disabling LTE, the problem stops.
- Keeping the SIM card and enabling ONLY LTE, make things worse: the phone reboots more rapidly.
- According to
www.frequencycheck.com, this phone is totally compatible with LTE and my carrier in Brazil (
https://www.frequencycheck.com/carr...s5-duos-4g-lte-a-samsung-pacific/claro-brazil)
WHAT I'VE TRIED SO FAR TO SOLVE THE ISSUE
- I looked for a similar problem and solution as much as I could (XDA Dev, Reddit, stackoverflow, etc)
- I followed all the steps during the updates.
- I reinstalled LOS three or four times, as if doing a version upgrade, following all the steps on the LOS website.
- I tried using the second SIM card slot
- I put a piece of paper over the SIM card to make it thicker, imagining a bad contact problem.
- I tested with 3 different SIM cards, from different carriers, including a brand new SIM card.
- I tested these SIM cards on a Motorola G7 Power. Everything worked out fine on G7.
- Disabled WIFI
- Changed batteries. I have 6.
- Changed network settings to GSM and WCDMA (stops problem), GSM only (stops problem) and LTE only (makes worse, as mencioned above)
The problem persists on all phones.
WHAT I'VE TRIED SO FAR TO BYPASS THE ISSUE
Set network to GSM only.
I tried this command "adb shell settings list global | findstr preferred" and the output was:
preferred_network_mode1=9
preferred_network_mode2=9
preferred_network_mode3=11
preferred_network_mode=1
(More info at
https://stackoverflow.com/questions/25319129/how-to-change-preferred-network-type-over-adb-android)
Then I tried all four commands below. Only the first one wasn't enough.
adb shell settings put global preferred_network_mode 1
adb shell settings put global preferred_network_mode1 1
adb shell settings put global preferred_network_mode2 1
adb shell settings put global preferred_network_mode3 1
As expected, the settings became:
preferred_network_mode1=1
preferred_network_mode2=1
preferred_network_mode3=1
preferred_network_mode=1
After this, the reboots stopped.
WHAT I DIDN'T TRY YET
- Return the phone to stock rom. It didn't seem useful, because everything had been working fine for years.
- Flash the boot.img file presented on the LOS Klteduos download builds page. There is no instruction to do so.
WHAT I AM ASKING
How to get LTE working again without starting continuous reboot?
Thanks!