[ROM] [OFFICIAL] LineageOS 16.x ALL VARIANTS

Search This thread
Wow - thanks for this!

I ran an FC command on these two to find some differences in the "Block Size" and "Block Count" fields. Also looks like a difference in both the 'Partition Name' and the 'Flash FileName'. I've attached the FC output in a text file here.

This is getting a bit over my head, but I'm assuming that them being different means that I cannot use the second option you were thinking of.

Please let me know if you can think of any other options.

Thanks again!!
To me it's obvious that some partition sizes differ.
Afaik the partitions are not hard-coded but am not sure .
On a S2 I9100 I once changed partition sizes to be able to flash a bigger custom ROM so there they weren't hard-coded.
It may be possible to flash another firmware with changing pit but idk.
 
Last edited:
  • Like
Reactions: frone0

frone0

Member
Sep 21, 2022
29
5
This time I would try Heimdall with all the files necessary you extracted.
It took some doing, but I was finally able to flash with Heimdall and have the phone boot up. After successfully flashing the phone, I went through the initial setup, connecting to wifi, Google account, etc. Everything seemed to work great until I turned off the WiFi. The mobile data (Internet browsing, etc.) again failed with wifi off, but I was able to successfully send and receive MMS messages. Voice phone calls work fine as well.

There were some files that were listed when I ran the print.pit on the phone that were not included in the files that were extracted, so I obviously did not flash them. Not sure if there is a better 'source' for a complete firmware release with more files? Any ideas of what I might be doing wrong here?

Just an FYI, I used the following post to help with flashing under Heimdall:


Thanks again for the help!
 
  • Like
Reactions: bmwdroid
....
There were some files that were listed when I ran the print.pit on the phone that were not included in the files that were extracted, so I obviously did not flash them. Not sure if there is a better 'source' for a complete firmware release with more files? Any ideas of what I might be doing wrong here?....
Glad I could help a bit.
Can you name the partitions you had no files for?

As imho all stock ROM files should contain all necessary parts I strongly doubt that there are versions which include more than you got.
Of course you can have a look at samfrew.com, youmobile.org, sammobile.com and maybe more.

I once had the necessity to flash the same stock at least twice to be successful.
Perhaps it helps here as well.
 
  • Like
Reactions: frone0

frone0

Member
Sep 21, 2022
29
5
Glad I could help a bit.
Can you name the partitions you had no files for?

As imho all stock ROM files should contain all necessary parts I strongly doubt that there are versions which include more than you got.
Of course you can have a look at samfrew.com, youmobile.org, sammobile.com and maybe more.

I once had the necessity to flash the same stock at least twice to be successful.
Perhaps it helps here as well.
Sorry about the slow reply - had to step away for a bit.

I've attached two files. The 'print-pit-partitions.txt' is the list of partitions on the phone when I run the print-pit command included. The other text file is a list of the stock files that I get when extracting the stock ROM download. Just guessing by what I am seeing, it looks like there are a few partitions without flash files on the phone and there are partitions with flash files that are not included in the stock ROM download. I don't know if these are unimportant or not, just trying to help with the info here.

I am not 100% sure that I have flashed the same stock twice before testing or reflashing. When you did not do this and it failed, was it that it would not boot up, or that something like the mobile data only failed? Mine seems to boot up fine every time after flashing a new stock rom, with only the mobile data failing.

Sure hope this helps - thanks for all of your help in it!
 

Attachments

  • print-pit-partitions.txt
    1.5 KB · Views: 2
  • SM-G900V_1_20171219155127_sptischw1b_fac.txt
    1.2 KB · Views: 3
  • Like
Reactions: pmduper
Sorry about the slow reply - had to step away for a bit.

I've attached two files. The 'print-pit-partitions.txt' is the list of partitions on the phone when I run the print-pit command included. The other text file is a list of the stock files that I get when extracting the stock ROM download. Just guessing by what I am seeing, it looks like there are a few partitions without flash files on the phone and there are partitions with flash files that are not included in the stock ROM download. I don't know if these are unimportant or not, just trying to help with the info here.
No sure either, but some may be permanently on the device without being altered when flashing stock or are filled with data when system starts the first time after flashing.
I never cared much about stock ROMs containing more or less files than the device had partitions named.
As I wrote I usually flash with Odin which always worked anyhow.
I am not 100% sure that I have flashed the same stock twice before testing or reflashing. When you did not do this and it failed, was it that it would not boot up, or that something like the mobile data only failed?
It didn't boot up at all then.

To make comparison easier I've put your files in one xlsx table (extension to change)
 

Attachments

  • comparison-stocktopit-900V.txt
    6.6 KB · Views: 5

LouLuo

New member
Jan 3, 2023
3
3
It didn't boot up at all then.

About flashing full stock firmwares, I can share my experience briefly.

First attempt​

My Galaxy S5 was quite unreliable... read further.

I had BL (BootLoader) + Modem firmware versions from G900FXXU1POF4 + Lineage OS 17.1 as system.
I've tried few years ago to upgrade bootloader and modem software from flashing Stock files with Odin.

The modem & bootloader have been flashed with success.
But failed to boot system: frozen on booting animation.
I thought the bootloader & modem would have been upgraded anyway.

Mistake: Nothing has been upgraded.
I recommend to check it with shell command: getprop ro.bootloader

Seems that to upgrade those components, it is required to boot successfully the full stock firmware + Android system.

I gave up for few years. Sad me.

Why to upgrade the bootloader & modem firmware?​

  • Solved battery draining issue getting discharged within 1 to 4 hours, even "sleeping".
  • Solved laggy UI & random reboots
  • Solved 4G / 3G network frequent disconnection
  • Solved fast auto switch from 4G to 3G when receiving a phone call
  • Solved most of the bluetooth crash issues with audio streaming
Unfortunately, no improvement about some graphics rendering glitches in some Apps.

Also, it's likely to fix some severe security vulnerability issues.
- More info for curious crazy you (good luck): https://bits-please.blogspot.com/2015/08/exploring-qualcomms-trustzone.html

What is working now with my Galaxy S5 SM-G900F KLTE?​

BL + Modem upgrade with stock firmware G900FXXS1CQD2

Restore Recovery+Boot+System+Data.

Now I can smoothly download & play some PS1 games, with wireless Xbox Controller + USB OTG receiver, streaming sound over bluetooth to BT speakers, for some time.

That's all.

Easier said than done.


Before flashing anything (and cry)
> Backup your EFS + Modem files <
> from TWRP to an External SD Card & copy it somewhere safe <
But do not play with restoring it, unless your IMEI & other hardware addresses are messed up
You will be grateful to yourself if anything really bad happens


Now, how to get it nicely working?


Tools​

I recommend to actively check the sources from where you get those tools before using them.
+ VirusTotal check
  • Galaxy S5 SM-G900F klte with unlocked bootloader & battey charged
  • External SD Card with enough free space & reliable
  • Micro USB cable that makes a secure data connection (yes. IMPORTANT. Buy a new one if not.)
  • ADB USB Drivers
  • Samsung USB Drivers
  • ADB tools (within platform-tools package)
  • Odin 3.14.1
  • TWRP 3.7.0_9
  • Full stock firmware G900FXXS1CQD2
  • Lineage OS 18.1 for MicroG
  • - At least - 24h in front of you, without a working phone, to be in peace, keep focus & take your time.
And, do you trust yourself enough?

Backups​

  1. Remove any lockscreen security from Android to prevent issues with it
  2. From Download Mode: Flash latest TWRP recovery stable release into the recovery partition with Odin
  3. From Recovery: backup ALL your partitions into your External SD Card
  4. Check the backup logs that it went without errors
  5. Optionnaly copy the backup into another device: we never know if the card could get corrupted
  6. Manually backup your Internal Storage user data too, like your pictures. (through MTP or a file manager,from Internal to External SD Card or to your PC).
    It is NOT included in any TWRP Backup!

Cleaning​

  1. Format (not wipe) the data partition from TWRP: prevents mess with encryption + increased stability
  2. Wipe System + Cache + Dalvik.
  3. Shutdown.

Upgrading Bootloader + Modem with full Stock firmwares

  1. Reboot into Download Mode
  2. Plug USB cable into your phone securely, in such way phone + cable cannot move by itself.
  3. From Odin, flash all the .md5 files from stock G900FXXS1CQD2 (AP, BL, CSC... fields doesn't matter)
  4. DO NOT TOUCH YOUR USB CABLE AND PHONE AT ALL
  5. Observe any errors & which recovery is started at reboot (TWRP? Samsung?)
  6. Wait 30 minutes while phone tries to apply the update anyway.
  7. If at 1st attempt, not showing fresh install Samsung welcome wizard:
    1. Pull off battery & back.
    2. Start again this Upgrading section from 1.
      - I suspect it needs to be flashed twice when the recovery wasn't Samsung's official one.
  8. If at 2nd attempt, still not showing fresh install Samsung welcome wizard:
    1. Reflash TWRP into recovery partition & immediately boot to it
    2. Wipe Data + Cache + Dalvik
    3. Shutdown
    4. Remove battery for 5-10 seconds & put it back.
    5. Boot again.
    6. Be patient.
    7. Wait more, up to 1 hour.
  9. If it still doesn't work:
    1. Find another USB cable.
    2. Come back to the first Cleaning section and do it again.
    3. If hard-bricked (no access to download mode): there is some hope with Qualcomm EDL Mode.
  10. If it boots successfully: Congratulations! Yay!

Test & backup again​

  1. Check if the bootloader version is successfully upgraded:
    From any phone's terminal you can run (TWRP, ADB, apps...): getprop ro.bootloader
  2. Can also be wise to check how the phone works from stock system:
    Mobile network stability, bluetooth, microphone clarity & gains, feedback cancellation, wifi, camera quality... battery consumption.​
  3. Backup your EFS + Modem again - in case something changed in it with the upgrade​


Now, you are free to try out whatever system build!


If you want some more of my advices​

I would be mindful to not mess up with any other manufacturer partition, but only recovery, boot (not aboot!), system and data partitions.
(Download Mode doesn't check Samsung's firmware crypto signatures for nothing... even though I dream of more open and documented systems...)
Be curious and check what any script does & if that's really needed.

And remember G900F is only 2 GB RAM.
So, lighter it is, smoother it will run.


What I've been doing from here​

I flashed back TWRP with Odin, restored Boot+System (LineageOS 17.1) + Data.
I've been so surprised how the user experience became smooth. Phone cold. Battery life back to normal.
Data got successfully encrypted when I enabled pattern lock. While still accessible from TWRP.

Made a half-dirty upgrade from LineageOS 17.1 to LineageOS for MicroG 18.1:
From TWRP, wiping system partition to get rid of any customization, then flashing the official LineageOS for MicroG 18.1.
LinageOS for MicroG enables signature spoofing, which brings better compatibility with lots of apps while avoiding heavy Google libraries & trackers.
18.1 feels heavier than 17.1, but is satisfying enough couple of minutes after booting, with benefit of regular OTA updates.

Also tried out Magisk (extracting the boot.img file from the system zip installer + Magisk apk + flash patched boot.img), but heavily slowing down the boot process + SystemUI crash before asking SIM PIN code.
So I removed it for now.

Some useful apps I recommend to get rid of Google & more:
  • App stores: F-Droid, Aurora Store
  • Better UX: Kiss Launcher, Todo Agenda (widget)
  • Google internal services alternatives:
    MicroG (Services Core + Services Framework Proxy), Mozilla UnifiedNlp Backend, Nominatim Geocoder Backend
  • Browsing: URLCheck, FFUpdater (providing Bromite or Fennec (+uBlock Origin (network lock disabled), Firefox Klar)
  • Cloud Synchronization - Contacts, calendar, tasks, files, passwords... : OpenTasks, DAVx5, NextCloud, NextCloud Notes, KeepassDX, Document Viewer (PDF)
  • Communicating: K-9 Mail (UX & UI became awesome last few years!), Signal, Frost (Facebook Client)
  • Navigating: OsmAnd (Maps. For now made TTS work only with Speech services by Google alone... unhappy about it)
  • Self-care: Finch (self-care turstworthy app), Noice (makes nice background noise), personnalize wisely with your own music your notifications and alarms & disable useless ones & disable vibrations.
  • For more clean customization without messing with the system: Magisk (?)

I've been previously taking some time to choose apps & review all settings of everything to take control of my digital life.
Can take 1+ full day + extra time later to adjust.

Now I am considering deleting Signal's data & uninstall & restore from app's backup, in hope to force enable push notifications and save some battery instead of an every 30s connection to Internet (thanks logcat).
Seems good to check apps permission and check if they register well in MicroG.

I'll try out some configurations to fix the microphone low sensitivity issue and feedback.

Ask me if you want more updates about my findings now I have a more stable system to play with

:)
s
 
Last edited:
  • Like
Reactions: frone0

frone0

Member
Sep 21, 2022
29
5
No sure either, but some may be permanently on the device without being altered when flashing stock or are filled with data when system starts the first time after flashing.
I never cared much about stock ROMs containing more or less files than the device had partitions named.
As I wrote I usually flash with Odin which always worked anyhow.

It didn't boot up at all then.

To make comparison easier I've put your files in one xlsx table (extension to change)
Thanks again for all of the help with this. I was able to think about it over break and think I might see if I can view/export the files on the unmodded G900V that I am using as my current/backup phone. It still works fine and I figure I might be able to find what is missing.

In the meantime, I'm going to try and run through the super-detailed 'flash to stock' write up that LouLuo just posted above this. The updated modem sections are of interest to me. I'm hoping this might fix the persistent mobile data issues.

I'll report back with my results. Thanks again to bmwdroid and LouLuo!
 

frone0

Member
Sep 21, 2022
29
5
About flashing full stock firmwares, I can share my experience briefly.

First attempt​

My Galaxy S5 was quite unreliable... read further.

I had BL (BootLoader) + Modem firmware versions from G900FXXU1POF4 + Lineage OS 17.1 as system.
I've tried few years ago to upgrade bootloader and modem software from flashing Stock files with Odin.

The modem & bootloader have been flashed with success.
But failed to boot system: frozen on booting animation.
I thought the bootloader & modem would have been upgraded anyway.

Mistake: Nothing has been upgraded.
I recommend to check it with shell command: getprop ro.bootloader

Seems that to upgrade those components, it is required to boot successfully the full stock firmware + Android system.

I gave up for few years. Sad me.

Why to upgrade the bootloader & modem firmware?​

  • Solved battery draining issue getting discharged within 1 to 4 hours, even "sleeping".
  • Solved laggy UI & random reboots
  • Solved 4G / 3G network frequent disconnection
  • Solved fast auto switch from 4G to 3G when receiving a phone call
  • Solved most of the bluetooth crash issues with audio streaming
Unfortunately, no improvement about some graphics rendering glitches in some Apps.

Also, it's likely to fix some severe security vulnerability issues.
- More info for curious crazy you (good luck): https://bits-please.blogspot.com/2015/08/exploring-qualcomms-trustzone.html

What is working now with my Galaxy S5 SM-G900F KLTE?​

BL + Modem upgrade with stock firmware G900FXXS1CQD2

Restore Recovery+Boot+System+Data.

Now I can smoothly download & play some PS1 games, with wireless Xbox Controller + USB OTG receiver, streaming sound over bluetooth to BT speakers, for some time.

That's all.

Easier said than done.


Before flashing anything (and cry)
> Backup your EFS + Modem files <
> from TWRP to an External SD Card & copy it somewhere safe <
But do not play with restoring it, unless your IMEI & other hardware addresses are messed up
You will be grateful to yourself if anything really bad happens


Now, how to get it nicely working?


Tools​

I recommend to actively check the sources from where you get those tools before using them.
+ VirusTotal check
  • Galaxy S5 SM-G900F klte with unlocked bootloader & battey charged
  • External SD Card with enough free space & reliable
  • Micro USB cable that makes a secure data connection (yes. IMPORTANT. Buy a new one if not.)
  • ADB USB Drivers
  • Samsung USB Drivers
  • ADB tools (within platform-tools package)
  • Odin 3.14.1
  • TWRP 3.7.0_9
  • Full stock firmware G900FXXS1CQD2
  • Lineage OS 18.1 for MicroG
  • - At least - 24h in front of you, without a working phone, to be in peace, keep focus & take your time.
And, do you trust yourself enough?

Backups​

  1. Remove any lockscreen security from Android to prevent issues with it
  2. From Download Mode: Flash latest TWRP recovery stable release into the recovery partition with Odin
  3. From Recovery: backup ALL your partitions into your External SD Card
  4. Check the backup logs that it went without errors
  5. Optionnaly copy the backup into another device: we never know if the card could get corrupted
  6. Manually backup your Internal Storage user data too, like your pictures. (through MTP or a file manager,from Internal to External SD Card or to your PC).
    It is NOT included in any TWRP Backup!

Cleaning​

  1. Format (not wipe) the data partition from TWRP: prevents mess with encryption + increased stability
  2. Wipe System + Cache + Dalvik.
  3. Shutdown.

Upgrading Bootloader + Modem with full Stock firmwares

  1. Reboot into Download Mode
  2. Plug USB cable into your phone securely, in such way phone + cable cannot move by itself.
  3. From Odin, flash all the .md5 files from stock G900FXXS1CQD2 (AP, BL, CSC... fields doesn't matter)
  4. DO NOT TOUCH YOUR USB CABLE AND PHONE AT ALL
  5. Observe any errors & which recovery is started at reboot (TWRP? Samsung?)
  6. Wait 30 minutes while phone tries to apply the update anyway.
  7. If at 1st attempt, not showing fresh install Samsung welcome wizard:
    1. Pull off battery & back.
    2. Start again this Upgrading section from 1.
      - I suspect it needs to be flashed twice when the recovery wasn't Samsung's official one.
  8. If at 2nd attempt, still not showing fresh install Samsung welcome wizard:
    1. Reflash TWRP into recovery partition & immediately boot to it
    2. Wipe Data + Cache + Dalvik
    3. Shutdown
    4. Remove battery for 5-10 seconds & put it back.
    5. Boot again.
    6. Be patient.
    7. Wait more, up to 1 hour.
  9. If it still doesn't work:
    1. Find another USB cable.
    2. Come back to the first Cleaning section and do it again.
    3. If hard-bricked (no access to download mode): there is some hope with Qualcomm EDL Mode.
  10. If it boots successfully: Congratulations! Yay!

Test & backup again​

  1. Check if the bootloader version is successfully upgraded:
    From any phone's terminal you can run (TWRP, ADB, apps...): getprop ro.bootloader
  2. Can also be wise to check how the phone works from stock system:
    Mobile network stability, bluetooth, microphone clarity & gains, feedback cancellation, wifi, camera quality... battery consumption.​
  3. Backup your EFS + Modem again - in case something changed in it with the upgrade​


Now, you are free to try out whatever system build!


If you want some more of my advices​

I would be mindful to not mess up with any other manufacturer partition, but only recovery, boot (not aboot!), system and data partitions.
(Download Mode doesn't check Samsung's firmware crypto signatures for nothing... even though I dream of more open and documented systems...)
Be curious and check what any script does & if that's really needed.

And remember G900F is only 2 GB RAM.
So, lighter it is, smoother it will run.


What I've been doing from here​

I flashed back TWRP with Odin, restored Boot+System (LineageOS 17.1) + Data.
I've been so surprised how the user experience became smooth. Phone cold. Battery life back to normal.
Data got successfully encrypted when I enabled pattern lock. While still accessible from TWRP.

Made a half-dirty upgrade from LineageOS 17.1 to LineageOS for MicroG 18.1:
From TWRP, wiping system partition to get rid of any customization, then flashing the official LineageOS for MicroG 18.1.
LinageOS for MicroG enables signature spoofing, which brings better compatibility with lots of apps while avoiding heavy Google libraries & trackers.
18.1 feels heavier than 17.1, but is satisfying enough couple of minutes after booting, with benefit of regular OTA updates.

Also tried out Magisk (extracting the boot.img file from the system zip installer + Magisk apk + flash patched boot.img), but heavily slowing down the boot process + SystemUI crash before asking SIM PIN code.
So I removed it for now.

Some useful apps I recommend to get rid of Google & more:
  • App stores: F-Droid, Aurora Store
  • Better UX: Kiss Launcher, Todo Agenda (widget)
  • Google internal services alternatives:
    MicroG (Services Core + Services Framework Proxy), Mozilla UnifiedNlp Backend, Nominatim Geocoder Backend
  • Browsing: URLCheck, FFUpdater (providing Bromite or Fennec (+uBlock Origin (network lock disabled), Firefox Klar)
  • Cloud Synchronization - Contacts, calendar, tasks, files, passwords... : OpenTasks, DAVx5, NextCloud, NextCloud Notes, KeepassDX, Document Viewer (PDF)
  • Communicating: K-9 Mail (UX & UI became awesome last few years!), Signal, Frost (Facebook Client)
  • Navigating: OsmAnd (Maps. For now made TTS work only with Speech services by Google alone... unhappy about it)
  • Self-care: Finch (self-care turstworthy app), Noice (makes nice background noise), personnalize wisely with your own music your notifications and alarms & disable useless ones & disable vibrations.
  • For more clean customization without messing with the system: Magisk (?)

I've been previously taking some time to choose apps & review all settings of everything to take control of my digital life.
Can take 1+ full day + extra time later to adjust.

Now I am considering deleting Signal's data & uninstall & restore from app's backup, in hope to force enable push notifications and save some battery instead of an every 30s connection to Internet (thanks logcat).
Seems good to check apps permission and check if they register well in MicroG.

I'll try out some configurations to fix the microphone low sensitivity issue and feedback.

Ask me if you want more updates about my findings now I have a more stable system to play with

:)
s
First off - Thank you for this great write up with detailed steps!

I ran through this a few times with these steps (trying to stay concise):

- Performed the 'clean' steps by wiping the system and cache in the Android Recovery. (no TWRP yet here)
- Used Odin to flash 4.2GB file:
ALL_VZW_G900VVRU2DQL1_G900VVZW2DQL1_CL8025411_QB16020535_REV00_user_low_ship_MULTI_CERT.tar.md5
- Odin flash passed successfully. Bootup, initial Samsung config (bypassing most). Connected to Wifi.
- Inserted SIMM and booted backup to find a text to come through at first and then fail again.
- Mobile data and voice calls both failed.
- Rebooted several times with no change.
- Swapped SIMM back to unmodded g900v, which worked fine.
- Waited 12 hours and swapped the SIMM back to the test phone.
- Booted several times with the same voice and mobile data failures.

At this point, I realized that I probably needed TWRP installed and such. Followed these steps:

- Stepped through another post to use RootTools package to setup TWRP and re-root the phone.
- After the steps completed successfully this was the reported status of the phone from the post:
"When finally booted you will have an unlocked bootloader with TWRP recovery running a Deodexed Rooted QL1 stock MM 6.0 Rom Rooted with Magisk."
- Powered off the phone and installed the SIMM card.
- Booted up and completed the Samsung setup with SIMM card installed.
- Found everything to work, including MMS without WiFi - except mobile data/browsing.
- Rebooted to find voice calls to fail along with mobile data.
- Used TWRP to format data and wipe directed cache, data, Dalvik.
- Used Odin to flash 2.848GB file:
G900VVRU2DQL1_G900VVZW2DQL1_G900VVRU2DQL1_HOME.tar.md5
- Completed the setup again.
- Found both voice calls and mobile data to fail through several reboots.
- Moved SIMM card to third test phone (also failing after upgrade) running latest LineageOS.
- Voice calls and mobile failed.
- Moved the SIMM card back to unmodded g900v and tested all successfully.


Quick problem rundown here:
- I had a g900v running LineageOS 18.1 smoothly.
- OTA update caused mobile data to fail.
- Purchased a stock g900v and tested with same SIMM successfully.
- Upgraded new phone to LineageOS 18.1.
- Tested new phone successfully.
- OTA update again caused the new phone's mobile data to fail.
- Every attempt to get the new test phone's mobile data working have failed.
- Trying to get it back to stock and working so I can figure out which update killed them.

Hope I gave you the right amount of info here. If I can provide anything else please let me know. It just seems to me like an OTA update must have modded/added something that is being left behind during the flashing process. I'm at a loss - any help will certainly be appreciated.
 

LouLuo

New member
Jan 3, 2023
3
3
So, you have 2 klte devices g900v.

Device A was running LOS 18.1 just fine until an OTA.
After OTA, modem (data, call & texts) were broken.
SIM card tested sucessfully with other device.
Flashed device A to stock: ALL_VZW_G900VVRU2DQL1_G900VVZW2DQL1_CL8025411_QB16020535_REV00_user_low_ship_MULTI_CERT.tar.md5

-
Then I'm not sure if modem worked for a moment or not at all.

What do you mean with "booted backup to find a text to come through at first and then fail again." ?
-

Then, you used RootTools to customize your running system. - Which likely won't solve the modem issue - : calls & text & mms worked for a while, not data. After a reboot, modem is failling.

You bought a new g900v with stock fw, let's call it device B.
Modem works with it, as well as in LOS 18.1.
But modem broke again with an OTA upgrade.

I suspect an incompatible BL and modem version to run properly from Android 6.
As it have been with mine until I forced it to upgrade from stock fw, following the steps from my previous post.

I am doubtful about LOS18.1 OTA breaking modem in such way it doesn't work back from stock Android 6 fw.

If my tutorial doesn't work for you,
I suggest you to flash latest Android 5 stock fw and see if modem is working and stable.
Then upgrade with Odin to the oldest Android 6 version with the same country&carrier code.

Now if modem works reliably, you should be able to restore your LOS18.1 backups if you have it, and enjoy a working modem :)


Few questions:

- Can you specify the current running bootloader version of your devices from getprop cmd or equivalent? Is it matching your flashing files?

- Can you specify which version of Android was running on your new device B g900v, before flashing LOS 18.1?

- Do you have a backup of your stock Samsung system+modem to flash back with TWRP?
- Have you made a modem and EFS partitions backup before the OTA, when modem worked?
- Can you provide Odin's both log to check which partitions are flashed back to stock from the 2 differents .tar.md5 files you used?


First off - Thank you for this great write up with detailed steps!

I ran through this a few times with these steps (trying to stay concise):

- Performed the 'clean' steps by wiping the system and cache in the Android Recovery. (no TWRP yet here)
- Used Odin to flash 4.2GB file:
ALL_VZW_G900VVRU2DQL1_G900VVZW2DQL1_CL8025411_QB16020535_REV00_user_low_ship_MULTI_CERT.tar.md5
- Odin flash passed successfully. Bootup, initial Samsung config (bypassing most). Connected to Wifi.
- Inserted SIMM and booted backup to find a text to come through at first and then fail again.
- Mobile data and voice calls both failed.
- Rebooted several times with no change.
- Swapped SIMM back to unmodded g900v, which worked fine.
- Waited 12 hours and swapped the SIMM back to the test phone.
- Booted several times with the same voice and mobile data failures.

At this point, I realized that I probably needed TWRP installed and such. Followed these steps:

- Stepped through another post to use RootTools package to setup TWRP and re-root the phone.
- After the steps completed successfully this was the reported status of the phone from the post:
"When finally booted you will have an unlocked bootloader with TWRP recovery running a Deodexed Rooted QL1 stock MM 6.0 Rom Rooted with Magisk."
- Powered off the phone and installed the SIMM card.
- Booted up and completed the Samsung setup with SIMM card installed.
- Found everything to work, including MMS without WiFi - except mobile data/browsing.
- Rebooted to find voice calls to fail along with mobile data.
- Used TWRP to format data and wipe directed cache, data, Dalvik.
- Used Odin to flash 2.848GB file:
G900VVRU2DQL1_G900VVZW2DQL1_G900VVRU2DQL1_HOME.tar.md5
- Completed the setup again.
- Found both voice calls and mobile data to fail through several reboots.
- Moved SIMM card to third test phone (also failing after upgrade) running latest LineageOS.
- Voice calls and mobile failed.
- Moved the SIMM card back to unmodded g900v and tested all successfully.


Quick problem rundown here:
- I had a g900v running LineageOS 18.1 smoothly.
- OTA update caused mobile data to fail.
- Purchased a stock g900v and tested with same SIMM successfully.
- Upgraded new phone to LineageOS 18.1.
- Tested new phone successfully.
- OTA update again caused the new phone's mobile data to fail.
- Every attempt to get the new test phone's mobile data working have failed.
- Trying to get it back to stock and working so I can figure out which update killed them.

Hope I gave you the right amount of info here. If I can provide anything else please let me know. It just seems to me like an OTA update must have modded/added something that is being left behind during the flashing process. I'm at a loss - any help will certainly be appreciated.
 
Last edited:
  • Like
Reactions: frone0

frone0

Member
Sep 21, 2022
29
5
So, you have 2 klte devices g900v.

Device A was running LOS 18.1 just fine until an OTA.
After OTA, modem (data, call & texts) were broken.
SIM card tested sucessfully with other device.
Flashed device A to stock: ALL_VZW_G900VVRU2DQL1_G900VVZW2DQL1_CL8025411_QB16020535_REV00_user_low_ship_MULTI_CERT.tar.md5

-
Then I'm not sure if modem worked for a moment or not at all.

What do you mean with "booted backup to find a text to come through at first and then fail again." ?
-

Then, you used RootTools to customize your running system. - Which likely won't solve the modem issue - : calls & text & mms worked for a while, not data. After a reboot, modem is failling.

You bought a new g900v with stock fw, let's call it device B.
Modem works with it, as well as in LOS 18.1.
But modem broke again with an OTA upgrade.

I suspect an incompatible BL and modem version to run properly from Android 6.
As it have been with mine until I forced it to upgrade from stock fw, following the steps from my previous post.

I am doubtful about LOS18.1 OTA breaking modem in such way it doesn't work back from stock Android 6 fw.

If my tutorial doesn't work for you,
I suggest you to flash latest Android 5 stock fw and see if modem is working and stable.
Then upgrade with Odin to the oldest Android 6 version with the same country&carrier code.

Now if modem works reliably, you should be able to restore your LOS18.1 backups if you have it, and enjoy a working modem :)


Few questions:

- Can you specify the current running bootloader version of your devices from getprop cmd or equivalent? Is it matching your flashing files?

- Can you specify which version of Android was running on your new device B g900v, before flashing LOS 18.1?

- Do you have a backup of your stock Samsung system+modem to flash back with TWRP?
- Have you made a modem and EFS partitions backup before the OTA, when modem worked?
- Can you provide Odin's both log to check which partitions are flashed back to stock from the 2 differents .tar.md5 files you used?
Looks to me like we are close to being on the same page with Phone A and Phone B:

Phone A was my initial phone that was upgraded to 18.1, worked great for about a year, then failed after the OTAU. I have not yet reinstalled this one since the initial failure. I have been performing OTA updates to it and testing after each. The mobile data continues to fail on an otherwise perfectly running system.

Phone B was purchased to try and troubleshoot the problem. It came with Verizon Stock 6.01 Android and worked with the same SIMM card from Phone A. I upgraded it to LineageOS 18.1 and tested successfully. Then when taking an OTAU, it the mobile data failed just like Phone A. This is the phone I have been testing on since having issues with Phone A.

Not sure if it is important, but I also purchased a third (Phone C) one that does not have a unlockable bootloader. It is the same model as the others, but has the eMMC that starts with '11'. I have been using it as my daily driver with the same SIMM card used above while troubleshooting the mobile data issue.

Concerning the "booted backup to find a text to come through at first and then fail again." question, after flashing Phone B with the stock firmware, I was able to receive a text at first, but after more testing, it failed. I'm not 100% sure that I didn't have mobile WiFi connected at first and that's why it might have worked. I'll be glad to test again if needed.

I was only able to find one version of Verizon stock Android 5 firmware. It is version G900VVRU2BPB1 from updato.com. I am currently downloading it and will attempt to flash with Odin using your tutorial once it finished downloading.

Here are the current bootloader versions from the three phones:
PhoneA: G900VVRS2DQB2
PhoneB: G900VVRU2DQL1
PhoneC: G900VVRU2DQL1

I'm assuming that we are looking to make sure Phone B's bootloader version matches the flashing files, which it appears that it does as the file name matches the G900VVRU2DQL1.

Phone B was running stock Verizon Android 6.01. However, I'm not sure exactly which release it was.

I sure wish I had, but do not have any backups of the system, modem, or any partitions from when either Phone A or Phone B was working. I don't know if it helps, but I do have Phone C that is working fine currently, including mobile data and on the same SIMM card. As I mentioned, this phone does not have an unlockable bootloader, so I'm not sure if it is any help to us. Just wanted to mention it if it does help.

Are you looking for an Odin 'boot' log here? Not sure if this is something I need to enable during my next flash attempt or if you are looking for the past log files from flashing with Odin previously. Please let me know and I'll try to get this information to you.

Thanks again for all of the help! I really appreciate it!!
 
Phone A was my initial phone that was upgraded to 18.1, worked great for about a year, then failed after the OTAU. I have not yet reinstalled this one since the initial failure. I have been performing OTA updates to it and testing after each. The mobile data continues to fail on an otherwise perfectly running system.

Phone B was purchased to try and troubleshoot the problem. It came with Verizon Stock 6.01 Android and worked with the same SIMM card from Phone A. I upgraded it to LineageOS 18.1 and tested successfully. Then when taking an OTAU, it the mobile data failed just like Phone A. This is the phone I have been testing on since having issues with Phone A.

Not sure if it is important, but I also purchased a third (Phone C) one that does not have a unlockable bootloader. It is the same model as the others, but has the eMMC that starts with '11'. I have been using it as my daily driver with the same SIMM card used above while troubleshooting the mobile data issue.

What is your network provider?

FYI LineageOS does no support VoLTE on any Samsung devices @ the present because the devs could not reverse engineer Samsung's proprietary VoLTE implementation so far.

That could be a deal breaker if your network provider drops 2G & 3G as only VoLTE will work for voice calls after that.

Some providers will disable data if the device is not currently supporting VoLTE.

BTW if talking about 18.1 on the S5 klte* family you are in the wrong thread. The correct one is:

***
 
  • Like
Reactions: pmduper and frone0

frone0

Member
Sep 21, 2022
29
5
What is your network provider?

FYI LineageOS does no support VoLTE on any Samsung devices @ the present because the devs could not reverse engineer Samsung's proprietary VoLTE implementation so far.

That could be a deal breaker if your network provider drops 2G & 3G as only VoLTE will work for voice calls after that.

Some providers will disable data if the device is not currently supporting VoLTE.

BTW if talking about 18.1 on the S5 klte* family you are in the wrong thread. The correct one is:

***
My network provider is Verizon. The VoLTE issue could be a problem in the future. I'm starting to think about giving up. It just nags at me that I can't get the phone to revert to stock and work for some reason. I'd love to get it to work and then Flash an older version of LineageOS from before the OTAU that I 'suspect' may have caused the problems. I'd love to get to the bottom of this - even if I do need to just buy a new phone at this point.

Not sure how I got in the wrong thread with this. I could swear I was working away on your 18.1 upgrade thread. I have read over the rules, but am new to the board. Any chance I can DM you with etiquette questions on how I can move this thread or start a new one while alerting those helping and not being a bother?

Thanks again!
 

frone0

Member
Sep 21, 2022
29
5
So, you have 2 klte devices g900v.

Device A was running LOS 18.1 just fine until an OTA.
After OTA, modem (data, call & texts) were broken.
SIM card tested sucessfully with other device.
Flashed device A to stock: ALL_VZW_G900VVRU2DQL1_G900VVZW2DQL1_CL8025411_QB16020535_REV00_user_low_ship_MULTI_CERT.tar.md5

-
Then I'm not sure if modem worked for a moment or not at all.

What do you mean with "booted backup to find a text to come through at first and then fail again." ?
-

Then, you used RootTools to customize your running system. - Which likely won't solve the modem issue - : calls & text & mms worked for a while, not data. After a reboot, modem is failling.

You bought a new g900v with stock fw, let's call it device B.
Modem works with it, as well as in LOS 18.1.
But modem broke again with an OTA upgrade.

I suspect an incompatible BL and modem version to run properly from Android 6.
As it have been with mine until I forced it to upgrade from stock fw, following the steps from my previous post.

I am doubtful about LOS18.1 OTA breaking modem in such way it doesn't work back from stock Android 6 fw.

If my tutorial doesn't work for you,
I suggest you to flash latest Android 5 stock fw and see if modem is working and stable.
Then upgrade with Odin to the oldest Android 6 version with the same country&carrier code.

Now if modem works reliably, you should be able to restore your LOS18.1 backups if you have it, and enjoy a working modem :)


Few questions:

- Can you specify the current running bootloader version of your devices from getprop cmd or equivalent? Is it matching your flashing files?

- Can you specify which version of Android was running on your new device B g900v, before flashing LOS 18.1?

- Do you have a backup of your stock Samsung system+modem to flash back with TWRP?
- Have you made a modem and EFS partitions backup before the OTA, when modem worked?
- Can you provide Odin's both log to check which partitions are flashed back to stock from the 2 differents .tar.md5 files you used?
Just another quick question. As I am going through your steps to flash the phone, it start off with "Format (not wipe) the data partition from TWRP". As I am flashing stock firmware, it no longer has TWRP each time I reflash. Is it OK for me to instead of doing so in TWRP, boot to stock recovery and use the wipe cache/data and factory reset here instead? I spent some time trying to get TWRP reinstalled with the stock Android 5, but am running into problems there.

Thanks again!
 

LouLuo

New member
Jan 3, 2023
3
3
As your bootloader is Android 6 compatible, no need to go through my tutorial.

Samsung stock recovery says "wipe", but it formats the partition.

About your troubles to boot twrp, I suggest you to pull out the battery as soon as the phone is restarting after Odin flash. Or alternatively, just keeping Home + up volume keys pressed when the flash process just ends.

Because Samsung's system overwrites the recovery at boot.

I've been checking in Lineageos commits changelogs for klte, klte-common and the msm SoC, I found nothing that a recent OTA could have broke so far.

Is there another sim card you could check with?
Is APN settings good?
Also, is it just about no mobile data at this stage, or no mobile network connectivity?
 
  • Like
Reactions: frone0
My network provider is Verizon. The VoLTE issue could be a problem in the future.

It's a problem for you now.



how I can move this thread or start a new

Just copy paste in the proper 18.1 thread.

Sorry, I won't be replying to you in this thread anymore.
***
 
  • Like
Reactions: frone0

frone0

Member
Sep 21, 2022
29
5
As your bootloader is Android 6 compatible, no need to go through my tutorial.

Samsung stock recovery says "wipe", but it formats the partition.

About your troubles to boot twrp, I suggest you to pull out the battery as soon as the phone is restarting after Odin flash. Or alternatively, just keeping Home + up volume keys pressed when the flash process just ends.

Because Samsung's system overwrites the recovery at boot.

I've been checking in Lineageos commits changelogs for klte, klte-common and the msm SoC, I found nothing that a recent OTA could have broke so far.

Is there another sim card you could check with?
Is APN settings good?
Also, is it just about no mobile data at this stage, or no mobile network connectivity?
Sorry about my confusion. Do I need TWRP installed to be taking these steps at all? After wiping, I have just been flashing and have not had TWRP on the phone for the last several runs. Does that matter?

I do not have another SIMM card. I can certainly check the APN settings, but I do not know how to tell if they are correct or not. Is there something specific I should be looking for?

At this point, it seems that I can flash the phone to stock to get everything working except mobile data. Sometimes it seems like more features fail, like mobile network connectivity, but a second or third flash seems to always fix that.

Hope this is the right info - please let me know if there is any other info that might help!

Thanks again!!!
 

frone0

Member
Sep 21, 2022
29
5

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Phone A was my initial phone that was upgraded to 18.1, worked great for about a year, then failed after the OTAU. I have not yet reinstalled this one since the initial failure. I have been performing OTA updates to it and testing after each. The mobile data continues to fail on an otherwise perfectly running system.

    Phone B was purchased to try and troubleshoot the problem. It came with Verizon Stock 6.01 Android and worked with the same SIMM card from Phone A. I upgraded it to LineageOS 18.1 and tested successfully. Then when taking an OTAU, it the mobile data failed just like Phone A. This is the phone I have been testing on since having issues with Phone A.

    Not sure if it is important, but I also purchased a third (Phone C) one that does not have a unlockable bootloader. It is the same model as the others, but has the eMMC that starts with '11'. I have been using it as my daily driver with the same SIMM card used above while troubleshooting the mobile data issue.

    What is your network provider?

    FYI LineageOS does no support VoLTE on any Samsung devices @ the present because the devs could not reverse engineer Samsung's proprietary VoLTE implementation so far.

    That could be a deal breaker if your network provider drops 2G & 3G as only VoLTE will work for voice calls after that.

    Some providers will disable data if the device is not currently supporting VoLTE.

    BTW if talking about 18.1 on the S5 klte* family you are in the wrong thread. The correct one is:

    ***
    1
    It didn't boot up at all then.

    About flashing full stock firmwares, I can share my experience briefly.

    First attempt​

    My Galaxy S5 was quite unreliable... read further.

    I had BL (BootLoader) + Modem firmware versions from G900FXXU1POF4 + Lineage OS 17.1 as system.
    I've tried few years ago to upgrade bootloader and modem software from flashing Stock files with Odin.

    The modem & bootloader have been flashed with success.
    But failed to boot system: frozen on booting animation.
    I thought the bootloader & modem would have been upgraded anyway.

    Mistake: Nothing has been upgraded.
    I recommend to check it with shell command: getprop ro.bootloader

    Seems that to upgrade those components, it is required to boot successfully the full stock firmware + Android system.

    I gave up for few years. Sad me.

    Why to upgrade the bootloader & modem firmware?​

    • Solved battery draining issue getting discharged within 1 to 4 hours, even "sleeping".
    • Solved laggy UI & random reboots
    • Solved 4G / 3G network frequent disconnection
    • Solved fast auto switch from 4G to 3G when receiving a phone call
    • Solved most of the bluetooth crash issues with audio streaming
    Unfortunately, no improvement about some graphics rendering glitches in some Apps.

    Also, it's likely to fix some severe security vulnerability issues.
    - More info for curious crazy you (good luck): https://bits-please.blogspot.com/2015/08/exploring-qualcomms-trustzone.html

    What is working now with my Galaxy S5 SM-G900F KLTE?​

    BL + Modem upgrade with stock firmware G900FXXS1CQD2

    Restore Recovery+Boot+System+Data.

    Now I can smoothly download & play some PS1 games, with wireless Xbox Controller + USB OTG receiver, streaming sound over bluetooth to BT speakers, for some time.

    That's all.

    Easier said than done.


    Before flashing anything (and cry)
    > Backup your EFS + Modem files <
    > from TWRP to an External SD Card & copy it somewhere safe <
    But do not play with restoring it, unless your IMEI & other hardware addresses are messed up
    You will be grateful to yourself if anything really bad happens


    Now, how to get it nicely working?


    Tools​

    I recommend to actively check the sources from where you get those tools before using them.
    + VirusTotal check
    • Galaxy S5 SM-G900F klte with unlocked bootloader & battey charged
    • External SD Card with enough free space & reliable
    • Micro USB cable that makes a secure data connection (yes. IMPORTANT. Buy a new one if not.)
    • ADB USB Drivers
    • Samsung USB Drivers
    • ADB tools (within platform-tools package)
    • Odin 3.14.1
    • TWRP 3.7.0_9
    • Full stock firmware G900FXXS1CQD2
    • Lineage OS 18.1 for MicroG
    • - At least - 24h in front of you, without a working phone, to be in peace, keep focus & take your time.
    And, do you trust yourself enough?

    Backups​

    1. Remove any lockscreen security from Android to prevent issues with it
    2. From Download Mode: Flash latest TWRP recovery stable release into the recovery partition with Odin
    3. From Recovery: backup ALL your partitions into your External SD Card
    4. Check the backup logs that it went without errors
    5. Optionnaly copy the backup into another device: we never know if the card could get corrupted
    6. Manually backup your Internal Storage user data too, like your pictures. (through MTP or a file manager,from Internal to External SD Card or to your PC).
      It is NOT included in any TWRP Backup!

    Cleaning​

    1. Format (not wipe) the data partition from TWRP: prevents mess with encryption + increased stability
    2. Wipe System + Cache + Dalvik.
    3. Shutdown.

    Upgrading Bootloader + Modem with full Stock firmwares

    1. Reboot into Download Mode
    2. Plug USB cable into your phone securely, in such way phone + cable cannot move by itself.
    3. From Odin, flash all the .md5 files from stock G900FXXS1CQD2 (AP, BL, CSC... fields doesn't matter)
    4. DO NOT TOUCH YOUR USB CABLE AND PHONE AT ALL
    5. Observe any errors & which recovery is started at reboot (TWRP? Samsung?)
    6. Wait 30 minutes while phone tries to apply the update anyway.
    7. If at 1st attempt, not showing fresh install Samsung welcome wizard:
      1. Pull off battery & back.
      2. Start again this Upgrading section from 1.
        - I suspect it needs to be flashed twice when the recovery wasn't Samsung's official one.
    8. If at 2nd attempt, still not showing fresh install Samsung welcome wizard:
      1. Reflash TWRP into recovery partition & immediately boot to it
      2. Wipe Data + Cache + Dalvik
      3. Shutdown
      4. Remove battery for 5-10 seconds & put it back.
      5. Boot again.
      6. Be patient.
      7. Wait more, up to 1 hour.
    9. If it still doesn't work:
      1. Find another USB cable.
      2. Come back to the first Cleaning section and do it again.
      3. If hard-bricked (no access to download mode): there is some hope with Qualcomm EDL Mode.
    10. If it boots successfully: Congratulations! Yay!

    Test & backup again​

    1. Check if the bootloader version is successfully upgraded:
      From any phone's terminal you can run (TWRP, ADB, apps...): getprop ro.bootloader
    2. Can also be wise to check how the phone works from stock system:
      Mobile network stability, bluetooth, microphone clarity & gains, feedback cancellation, wifi, camera quality... battery consumption.​
    3. Backup your EFS + Modem again - in case something changed in it with the upgrade​


    Now, you are free to try out whatever system build!


    If you want some more of my advices​

    I would be mindful to not mess up with any other manufacturer partition, but only recovery, boot (not aboot!), system and data partitions.
    (Download Mode doesn't check Samsung's firmware crypto signatures for nothing... even though I dream of more open and documented systems...)
    Be curious and check what any script does & if that's really needed.

    And remember G900F is only 2 GB RAM.
    So, lighter it is, smoother it will run.


    What I've been doing from here​

    I flashed back TWRP with Odin, restored Boot+System (LineageOS 17.1) + Data.
    I've been so surprised how the user experience became smooth. Phone cold. Battery life back to normal.
    Data got successfully encrypted when I enabled pattern lock. While still accessible from TWRP.

    Made a half-dirty upgrade from LineageOS 17.1 to LineageOS for MicroG 18.1:
    From TWRP, wiping system partition to get rid of any customization, then flashing the official LineageOS for MicroG 18.1.
    LinageOS for MicroG enables signature spoofing, which brings better compatibility with lots of apps while avoiding heavy Google libraries & trackers.
    18.1 feels heavier than 17.1, but is satisfying enough couple of minutes after booting, with benefit of regular OTA updates.

    Also tried out Magisk (extracting the boot.img file from the system zip installer + Magisk apk + flash patched boot.img), but heavily slowing down the boot process + SystemUI crash before asking SIM PIN code.
    So I removed it for now.

    Some useful apps I recommend to get rid of Google & more:
    • App stores: F-Droid, Aurora Store
    • Better UX: Kiss Launcher, Todo Agenda (widget)
    • Google internal services alternatives:
      MicroG (Services Core + Services Framework Proxy), Mozilla UnifiedNlp Backend, Nominatim Geocoder Backend
    • Browsing: URLCheck, FFUpdater (providing Bromite or Fennec (+uBlock Origin (network lock disabled), Firefox Klar)
    • Cloud Synchronization - Contacts, calendar, tasks, files, passwords... : OpenTasks, DAVx5, NextCloud, NextCloud Notes, KeepassDX, Document Viewer (PDF)
    • Communicating: K-9 Mail (UX & UI became awesome last few years!), Signal, Frost (Facebook Client)
    • Navigating: OsmAnd (Maps. For now made TTS work only with Speech services by Google alone... unhappy about it)
    • Self-care: Finch (self-care turstworthy app), Noice (makes nice background noise), personnalize wisely with your own music your notifications and alarms & disable useless ones & disable vibrations.
    • For more clean customization without messing with the system: Magisk (?)

    I've been previously taking some time to choose apps & review all settings of everything to take control of my digital life.
    Can take 1+ full day + extra time later to adjust.

    Now I am considering deleting Signal's data & uninstall & restore from app's backup, in hope to force enable push notifications and save some battery instead of an every 30s connection to Internet (thanks logcat).
    Seems good to check apps permission and check if they register well in MicroG.

    I'll try out some configurations to fix the microphone low sensitivity issue and feedback.

    Ask me if you want more updates about my findings now I have a more stable system to play with

    :)
    s
    1
    Ask me if you want more updates about my findings now I have a more stable system to play with

    :)
    s
    Do you have a tl:dr ?
    1
    So, you have 2 klte devices g900v.

    Device A was running LOS 18.1 just fine until an OTA.
    After OTA, modem (data, call & texts) were broken.
    SIM card tested sucessfully with other device.
    Flashed device A to stock: ALL_VZW_G900VVRU2DQL1_G900VVZW2DQL1_CL8025411_QB16020535_REV00_user_low_ship_MULTI_CERT.tar.md5

    -
    Then I'm not sure if modem worked for a moment or not at all.

    What do you mean with "booted backup to find a text to come through at first and then fail again." ?
    -

    Then, you used RootTools to customize your running system. - Which likely won't solve the modem issue - : calls & text & mms worked for a while, not data. After a reboot, modem is failling.

    You bought a new g900v with stock fw, let's call it device B.
    Modem works with it, as well as in LOS 18.1.
    But modem broke again with an OTA upgrade.

    I suspect an incompatible BL and modem version to run properly from Android 6.
    As it have been with mine until I forced it to upgrade from stock fw, following the steps from my previous post.

    I am doubtful about LOS18.1 OTA breaking modem in such way it doesn't work back from stock Android 6 fw.

    If my tutorial doesn't work for you,
    I suggest you to flash latest Android 5 stock fw and see if modem is working and stable.
    Then upgrade with Odin to the oldest Android 6 version with the same country&carrier code.

    Now if modem works reliably, you should be able to restore your LOS18.1 backups if you have it, and enjoy a working modem :)


    Few questions:

    - Can you specify the current running bootloader version of your devices from getprop cmd or equivalent? Is it matching your flashing files?

    - Can you specify which version of Android was running on your new device B g900v, before flashing LOS 18.1?

    - Do you have a backup of your stock Samsung system+modem to flash back with TWRP?
    - Have you made a modem and EFS partitions backup before the OTA, when modem worked?
    - Can you provide Odin's both log to check which partitions are flashed back to stock from the 2 differents .tar.md5 files you used?


    First off - Thank you for this great write up with detailed steps!

    I ran through this a few times with these steps (trying to stay concise):

    - Performed the 'clean' steps by wiping the system and cache in the Android Recovery. (no TWRP yet here)
    - Used Odin to flash 4.2GB file:
    ALL_VZW_G900VVRU2DQL1_G900VVZW2DQL1_CL8025411_QB16020535_REV00_user_low_ship_MULTI_CERT.tar.md5
    - Odin flash passed successfully. Bootup, initial Samsung config (bypassing most). Connected to Wifi.
    - Inserted SIMM and booted backup to find a text to come through at first and then fail again.
    - Mobile data and voice calls both failed.
    - Rebooted several times with no change.
    - Swapped SIMM back to unmodded g900v, which worked fine.
    - Waited 12 hours and swapped the SIMM back to the test phone.
    - Booted several times with the same voice and mobile data failures.

    At this point, I realized that I probably needed TWRP installed and such. Followed these steps:

    - Stepped through another post to use RootTools package to setup TWRP and re-root the phone.
    - After the steps completed successfully this was the reported status of the phone from the post:
    "When finally booted you will have an unlocked bootloader with TWRP recovery running a Deodexed Rooted QL1 stock MM 6.0 Rom Rooted with Magisk."
    - Powered off the phone and installed the SIMM card.
    - Booted up and completed the Samsung setup with SIMM card installed.
    - Found everything to work, including MMS without WiFi - except mobile data/browsing.
    - Rebooted to find voice calls to fail along with mobile data.
    - Used TWRP to format data and wipe directed cache, data, Dalvik.
    - Used Odin to flash 2.848GB file:
    G900VVRU2DQL1_G900VVZW2DQL1_G900VVRU2DQL1_HOME.tar.md5
    - Completed the setup again.
    - Found both voice calls and mobile data to fail through several reboots.
    - Moved SIMM card to third test phone (also failing after upgrade) running latest LineageOS.
    - Voice calls and mobile failed.
    - Moved the SIMM card back to unmodded g900v and tested all successfully.


    Quick problem rundown here:
    - I had a g900v running LineageOS 18.1 smoothly.
    - OTA update caused mobile data to fail.
    - Purchased a stock g900v and tested with same SIMM successfully.
    - Upgraded new phone to LineageOS 18.1.
    - Tested new phone successfully.
    - OTA update again caused the new phone's mobile data to fail.
    - Every attempt to get the new test phone's mobile data working have failed.
    - Trying to get it back to stock and working so I can figure out which update killed them.

    Hope I gave you the right amount of info here. If I can provide anything else please let me know. It just seems to me like an OTA update must have modded/added something that is being left behind during the flashing process. I'm at a loss - any help will certainly be appreciated.
    1
    As your bootloader is Android 6 compatible, no need to go through my tutorial.

    Samsung stock recovery says "wipe", but it formats the partition.

    About your troubles to boot twrp, I suggest you to pull out the battery as soon as the phone is restarting after Odin flash. Or alternatively, just keeping Home + up volume keys pressed when the flash process just ends.

    Because Samsung's system overwrites the recovery at boot.

    I've been checking in Lineageos commits changelogs for klte, klte-common and the msm SoC, I found nothing that a recent OTA could have broke so far.

    Is there another sim card you could check with?
    Is APN settings good?
    Also, is it just about no mobile data at this stage, or no mobile network connectivity?
  • 105
    20170102T093800.jpg

    Code:
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.

    LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.


    Galaxy S5 Supported Models/Variants & Download Links
    klte - SM-G900AZ, SM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L
    klteactivexx - SM-G870F
    kltechn - SM-G9006V, SM-G9008V
    kltechnduo - SM-G9006W, SM-G9008W
    klteduos - SM-G900FD, SM-G900MD
    kltedv - SM-G900I, SM-G900P
    kltekdi - SCL-23
    kltekor - SM-G900K, SM-G900L, SM-G900S

    Use version 3.2.1-0 or newer of TWRP

    How to install?
    • Download the latest TWRP version
    • Download the latest build
    • Reboot to recovery
    • Flash the latest build
    • Reboot

    Download Links
    ROM: https://download.lineageos.org/
    GApps: https://wiki.lineageos.org/gapps.html
    TWRP: https://twrp.me/samsung/samsunggalaxys5qualcomm.html

    Credits
    Many thanks to the LineageOS team and all the contributors out there in the community
    @haggertk Official Maintainer

    Source Code :
    Github: https://github.com/LineageOS
    Code Review: https://review.lineageos.org/

    Android Version: 9.x Pie
    29
    when testing for mobile data wifi can't be turned on it does not make it credible to other devs that are trying to figure out why this is happening on only one variant , so what you have displayed there is not credible to us . Wifi needs to be completely off and you must show and app or a page or a file being downloaded only from mobile data . Because I work with bruno ( im on the kernel side of things ) and we keep seeing reports like this ) but I also have a vzw and i cannot reproduce this at all . so we need to figure out is it SIM data or CDMA data or is it certain Provider's data that are working , is it different bands that are somehow allowing data to slip by into the device ect.... do understand we are hoping to help all oher variants to gain data as well so we def need your help .

    And the actual klte* maintainer cannot reproduce non-working mobile data. On both a G900F with GSM service and a G900V with actual VZW service. CDMA data is the same as SIM data. Bands don't let data "slip by".

    Now, I got an email that indicated that it seemed that IPv6 mobile data is working and IPv4 isn't. That's a curious, and plausible, finding. Maybe those with non-working mobile data want to report status related to that. Note that if people want to relay things to me then I only care about results on builds that I create (read: I know what went into them).

    Edit -- OK, pretty sure I got it. I'll upload a build in a bit.

    Edit 2 -- Uploaded
    26
    Ok guys, pretty sure we figured out what's causing the boot issues on a whole variety of devices (op2, op3, klte* that isn't klte). Should be fixed in tomorrow's build.
    21
    Could you guys running haggertk's 16.0 beta build 2018-11-08 check under About phone & tell me the SELinux status please?

    haggertk is a lazy moron and hasn't worked out sepolicy for P yet, so it's still permissive as forced by https://review.lineageos.org/#/c/224917

    More seriously, I hope to finally iron out policy this week. Been busy and wanted to do it right.

    Regarding how important is it - I do not run devices as daily drivers without being enforcing. Quite a few security vulnerabilities are mitigated by selinux and legacy devices with legacy blobs can use belts and suspenders.

    Sent from my PH-1 using Tapatalk
    19
    No, hotspot is not working...
    Yeah, I forgot to go back and re-test after setting selinux to enforcing. I'll re-spin builds today to fix that.

    Sent from my SM-N900T using Tapatalk