yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] corvus.corax:
I found Spark mail. I like it. I took a look at K-9. It wanted to access my contacts, so I decided not to install it.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
You can always deny access to contacts or any other permission.
[Galaxy S 4 i9506 Android Development] Sindbad#:
How do I have to do if I want to go back to StockROM?
[Galaxy S 4 i9506 Android Development] Kryga-i9506:
Search for a Stock ROM here:

🗃️S4 Unified Collection & Guides📚

Welcome to S4 Unified Collection! 🗃️ STOCK ROM FIRMWARES ©️ [Check my Guides for Installation] Note: If you can't find the Firmware for your device from the link below, then it's not my fault. Android File Host informed me, they delete files...

xdaforums.com

Read the guide

Download Stock ROM; prepare some time and coffee

Backup all your Data

Install Stock ROM following the guide
[Galaxy S 4 i9506 Android Development] lukaszm14:
My NFC work is not so good. It works with first touch, but every another almost never does. Do someone have this issue also?

My radio is I9506XXUDRA1, how do I downgrade it to UDOJ2 without factory reset? Flashing UDOJ2 with Odin doesn't work, UDRA1 remains all the time.
[Galaxy S 4 i9506 Android Development] lukaszm14:
Can somebody check if:

NFC can be enabled,

NFC payment is possible,

file send with Android Beam is possible,

phone reacts and receives a file from another phone with Android Beam.

Also please provide your lineageos and modem version.
[Galaxy S 4 i9506 Android Development] thorti1:
[QUOTE = "lukaszm14, post: 84498953, member: 1087018"]

Meine NFC-Arbeit ist nicht so gut. Es funktioniert mit der ersten Berührung, aber jeder andere tut es fast nie. Hat jemand dieses Problem auch?

Mein Radio ist I9506XXUDRA1. Wie kann ich es ohne Zurücksetzen auf die Werkseinstellungen auf UDOJ2 herunterstufen? Das Flashen von UDOJ2 mit Odin funktioniert nicht, UDRA1 bleibt die ganze Zeit.

[/ZITAT]

No problems with NFC.
[Galaxy S 4 i9506 Android Development] aversa0791:
The firmware is successful, works mostly stably. MiraScreen doesn't work
[Galaxy S 4 i9506 Android Development] DualJoe:
@kyasu:

Any chance to enable WPA3? What about this and this? In Lineage here.

I have a WPA3 router but the i9506 not even finds it on WPA3-SAE (but on WPA2/WPA3 mixed mode but probably only connects as WPA2).

Anyone else tested WPA3 yet?

Edit: I will test the patch and report back.

Edit2: Doesn't work, just makes things worse. Looks like config_wifiSaeUpgradeEnabled=false is the patch already. Commenting that out renders the wpa2/wpa3 mixed mode unusable as reported by users already and nothing else changes (still no pure WPA3-SAE). Not sure if wpa2/wpa3 mixed mode is using any WPA3 features at all though.
[Galaxy S 4 i9506 Android Development] lukaszm14:
lineage-18.1-20210211-UNOFFICIAL-ks01ltexx.zip

NFC issues continues, results so far:

with this lineageos version it's not working,

file transfer is not working,

contactless payment is not working,

phone tends to switch off suddenly after some tries of contactless payments,

checked with both radios UDRA1 and UDOJ2, the same effect,

strange situation: reading NFC tags with "NFC tools" app works fine, but after touching another phone it stops,

I've get back to stock ROM, just to test it, all NFC with file transfer, reading NFC tags and contactless payments works fine, so I assume my phone's HW is fine.

Somebody? Something? Any confirmation or rejection? Sorry, but saying just "it's working fine" is not enough to reject this issue. Please test at least file transfer with Android Beam.

Thanks!
[Galaxy S 4 i9506 Android Development] olaab:
lineage-18.1-xxxxxxx-UNOFFICIAL-ks01ltexx.zip problems

Thank you for a nice build.

The Gapps is hard to find and it should be Version 11. I use this:

Android 11: BiTGApps-arm-11.0.0-R17_signed.zip

There is a problem with the phone microphone. You can't use the phone without put it to loud speaking. If not so no one hear you. In the loud speaking mod then the sound quality of your speaking is really bad.

There is some sort of fix in audio/audio_platform_info.xml but it's over my skill.

I hope some one can fix this or come with a solution.
[Galaxy S 4 i9506 Android Development] MIro5205:
Any help on how to install on SHV-E330S plz?
[Galaxy S 4 i9506 Android Development] corvus.corax:
I just looked at opengapps.org today and they only go up to android 10. Kyasu provided a link in post #20 to sourcforge.net which has test versions of gapps for android 11. I think I'll wait a little, now that my S4 has become my backup phone.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I dont remember where i got it from, but i have a file: open_gapps-arm-11.0-pico-20210110-TEST.zip
[Galaxy S 4 i9506 Android Development] olaab:
How is it going with a solution for the microphone problem?

If I use the dialer, (phone) no mic works.

If I then activate loud sound then they hear me but with bad quality.

If I use a headphone mic everything is ok.

If I use the video camera all microphones work nice.

If I use the sound recorder no mic is working.

This is not rocket science. There must be a code problem who make this.

I have tried modify the PROP file without any changes.

I like to use my old phone and save the environment from trash. So please can someone who have the skills solve the problem or should I ned to wear a headset every time I want to call or receive a call :-)

Have a nice weekend :)
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-18.1-20210305-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (March 2021 Security Patch).

Please use OpenGApps.

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-18.1

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-18.1
[Galaxy S 4 i9506 Android Development] bizzzang:
Rom is more stable, but thanks to the smaller disadvantages, the handwriting is smaller than the other day
[Galaxy S 4 i9506 Android Development] olaab:
I have now tried lineage-18.1-20210305-UNOFFICIAL-ks01ltexx.zip with no solution about my earlier problems, phone dialer without microphone. See earlier post.

This time I used the OpenGapps who was recommended, Pico.

I don't know but it seems that the phone struggling with something during the start up, Samsung logo. My other phone, using Lineage earlier versions don't do this Galaxy S5 mini and there everything is working, except videocamera.

Really appreciate all the work you doing. It's so nice for the environment when you can use thing and don't need to put them into the bin :-)
[Galaxy S 4 i9506 Android Development] DualJoe:
I haven't used the phone feature for months but are you sure you installed the rom cleanly? You don't need any gapps for the dialer. I would test from scratch. The proper modem is probably important though. I tested both mics with RecForgeII. They work flawlessly here. Its a different audio path than dialer though of course.
[Galaxy S 4 i9506 Android Development] olaab:
Yes I wipe everything in the phone. I install the modem, (from this thread ) and TWRP with Odin. Then in TWRP I wipe everything in the phone. Then with ADB I sideload, first OS then gapps after each other, no boot between. No errors or anything. Every thing starts up without any problems.

It's the same procedure as with my S5 mini I have used for several years now.

I'm going to do it again without gaaps to check it out.

Thank you so much for your feedback :)
[Galaxy S 4 i9506 Android Development] olaab:
Now I have made another clean install. Wipe everything. Install only the OS no apps.

The microphone for the phone dialer don't work.

You hear them but they don't hear you, until you activate loud listening then they hear you, bad sound.

Video record, OK both mic. works.

Sound recorder, no mic.
[Galaxy S 4 i9506 Android Development] olaab:
When I start the phone and Samsung text i visible, then there is a small yellow text in top left corner.

"SET Warranty Bit : Kernel"

Can that be some clue for solution?
[Galaxy S 4 i9506 Android Development] dbotev:
Great ROM !!! Unfortunately I just reverted from 18.1 to 17.1. See Snapshot attached!

I just found out, that I cannot use my corporate WLAN access because so of missing WLAN setting options. It is not possible to add WLAN with deactivated CA Certificate validation. Is this new Android restriction or it can be easily solved via proper config at the next LineageOS buid?
[Galaxy S 4 i9506 Android Development] dbotev:
Yes. Just flash the Stock ROM back! :ROFLMAO::eek:
[Galaxy S 4 i9506 Android Development] dbotev:
I can assume you are not using the recommended Baseband firmware.

See the 1st Post: Recommended Bootloader/Modem: I9506XXSDPL2_I9506XXUDOJ2_bootmodem.tar

Install via Odin.

Do not forget following steps in the recovery:

Dalvik Cache Clean

Cache Clean

Reboot
[Galaxy S 4 i9506 Android Development] olaab:
I use the Baseband recommended!

I installed it with Odin.

I did Dalvik, cashe clean.

So I feel everything is done as it should.

What did it means, yellow text "Set warranty bit… "
[Galaxy S 4 i9506 Android Development] DualJoe:
That's ok. It's just a technical seal you broke when you rooted the phone (or installed non official roms).

If the audio path for telephony is really broken Kyasu is the only one who can fix it. You should at least have a second opinion or another user/phone confirming that though to exclude that it's not an individual issue.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Have you actually checked that the device has the correct modem/bootloader installed? I remember a while back I changed my boot/modem and ODIN reported all went fine, but when I checked what was physically installed on my device, it was still the previous modem/boot. I basiclly did the same again (I think using a different cab;e/usb port) and it finally changed/stuck.
[Galaxy S 4 i9506 Android Development] olaab:
I'm sad and confused :-)

Now I have put back the original firmware. No problem. But the phone microphone does not work now either, it is only possible to use the phone when loud sound loudspeaker is on. The filmcamera works nice with both mics. Voice recorder dont work.

As far as I know, the phone worked perfectly before I started work with, switching to Lineage OS.

I don't understand anything :-(
[Galaxy S 4 i9506 Android Development] bizzzang:
What does this mean? I am using Lineage 18.1 well. Phone microphone camera is good.My cell phone is SHV-E330S
[Galaxy S 4 i9506 Android Development] olaab:
As I write in the text, it is probably wrong with the phone :-(

I like Lineage 8.1 and my phone but apparently it's not going to happen, the marriage.

S4 GT-I9506
[Galaxy S 4 i9506 Android Development] dbotev:
I also do not experience any problems with the audio…but I had definitely the issues, which ollab described, when I used not recommended baseband and bootloader.

It seems that the already reported issue with the slow distance sensor and the phantom touches from the LOS17 rom is still present in the LOS18 build:

https://xdaforums.com/t/rom-gt-i950...for-the-galaxy-s4-lte-a.4025695/post-84576907

https://xdaforums.com/t/rom-gt-i950...for-the-galaxy-s4-lte-a.4025695/post-84624149

The strange thing is: nobody except me have confirmed this behavior yet.

@ollab: the very last thing that you could try is: just put custom recovery over the stock rom and perform cache and davlik cache clean again! I had similar issues with the buetooth and the wifi in the past after going back to the stock rom. Dalvik cache clean helped always.

In addition: try using headset with 4pin connector and check what happens. This may help to find the root cause. In my understanding the Audio Settings are being completely re-set when you plug-in the headset

Do not use 3pin connector with LOS17 and LOS18!!! This will confuse you. The microphone during call do not work in this configuration at some S4 phones for at least a year. This is a different story which I also do not understand, but it seems - nobody cares on it except me...

In addition: just put the “device info HW app” and confirm that all the components match to the rom you are using. Especially the Stock Roms do not like baseband variations and so on. It is really important to reflash everything with the proper firmware version.
[Galaxy S 4 i9506 Android Development] olaab:
Thanks for the response :)

I have now re-installed everything from scratch and may well live with the call microphone not working.

Reloaded, Baseband, Lineage, Gapps from this thread. Added TWRP and baseband via Odin. Then ADB sideload for OS and Gapps. Run all the time with cleaning of Dalvik and Cache.

I still think the microphone works but that some "mapping" is wrong.

Clearly beyond my skill ability.

Thank you for your commitment :)

Here HW app data. Some thing more you need to know?

Baseband: I9506XXXUDOJ2

Bootloader: I9506XXSDPL2

Device: ks01Itexx

Description: ks01Itexx-user 5.0.1

LRX22C I9506XXSDPL2 release-keys
[Galaxy S 4 i9506 Android Development] dbotev:
Same data as mine...

Did you perform complete data partition clean e.g. factory reset?...I am sure you did, but I really have no idea…

..or I may have: the Google Dialer…are you using the original LOS Dialer or the one which comes with the Gapps …I do not have the Gapps Dialer. Look to the access rights for the dialer. It must have permanent access rights to the microphone.
[Galaxy S 4 i9506 Android Development] olaab:
Yes I did. I don't know who dialer I use, I think it's the gapps one, but It's look the same both, com.android.dialer v. 23.0. Where can I check the access for the dialer? Is it the standard place for the settings apps? The Google Dialer is that a separate one?
[Galaxy S 4 i9506 Android Development] dbotev:
I also have "com.android.dialer v. 23.0". This seems to be the original LOS Dialer for both 17.1 and 18.1. I cannot confirm it 100% now, because I reverted to 17.1 (see my previous post with the corporate WLAN WiFi settings) .

It seems that you have NOT installed additional dialer with the GAPSS, otherwise there shall be a second dialer app with a name like “Google Phone” “Google Dialer” ”"com.google.android.dialer" or similar. You can check again and if you find something you can check the access right settings and especially the one for the microphone.

By the way – did you tried to use the 4pin Headset? What is the result?

If it works fine with the headset, then the issue is definitely not in the access rights for the microphone.

If it does not work with the 4pin Headset, than there will be really big possibility for software issue or bricked baseband chip.

What you also can do is to use 3rd party App like Wats-App or Viber and to check if the Microphone works during a VoIP call. It shall work with the normal microphone, with the loudspeaker and with the 4pin headset too. This will help you to completely exclude bricked microphone or audio chip from the issues-list.

What you also can do is to deactivate the LTE and to use GSM only…or another type of network connection and try mobile call.

Good Luck!
[Galaxy S 4 i9506 Android Development] DualJoe:
Headset, stereo-mic (camera) and phone mic (dual-mic with noise cancelation) are completely different audio paths in Android.

As stereo-mics already worked properly the mics should be generally ok i guess. Its probably something with the baseband. I would reflash a complete stock rom that is intended for the device and then upgrade to the recommended baseband from 1st post. Or maybe start by just re-flashing that baseband first. Can be done way faster.

You could also try RecForgeII to check the mics. It has waveform view for both channels. The free trial version should be sufficient.
[Galaxy S 4 i9506 Android Development] olaab:
Yes the 4-pin head set mic works nice.

I'm going to install the Google dialer and see.

Voip call is a good idea. But if it's works, then how solve the problem!?

Thanks :-)
[Galaxy S 4 i9506 Android Development] dbotev:
I think what we are trying to do here is to systematically collect observations and report the results, such that the developers can have a exact idea where exactly to look into after readilng all the observations. It is not so easy i know.
[Galaxy S 4 i9506 Android Development] dbotev:
The Idea of DualJoe is not bad and is better than mine - using the Voip App.

I just used a different app called “MIC Test (Stereo Mono)” in order to „reverse engineer“ the mic functionality and locations of my I9506 with LOS 17.1.

Here are the results:

“Setting Source MIC Channel Mono” seems to be the normal Phone Mic (small hole at the bottom location of the phone)

“Setting Source MIC Channel Stereo” seems to be the Mic at the upper left corner of the phone.

“Setting Source MIC Camera Stereo” seems to be the same Mic at the upper left corner of the phone or at least at this area.

“Setting Source MIC Camera mono” this is strange – seems to use both the upper and the lower micro, or some strange mixing mode.

Once you connect the 4pin Headset: you can use both “Source MIC Channel Stereo” or “Source MIC Channel Mono” for testing it.

Olaab can do the same, in order to exclude finally the audio hardware from the root cause list and look further into the baseband or dialer only.
[Galaxy S 4 i9506 Android Development] bintoito:
Hi guys

thanks kyasu and all for keepind our device still running

so today i tried installing this rom and, even though wiping everything (was on twrp not sure the version, early last year) and 17.1 and started bootloop

restored, installed latest twrp from this thread and had bootloops - not sure how, but next time i tried i did not installed Gapps (also from this thread) and lineage os 18.1 installed correctly

since not having gapps, tried reinstalling them and the twrp menu is now really different(?!) - in purple colors?

long story short i am again stuck in bootloop and apparently is due to gapps?

update: after trying to install gapps from this new purple-black recovery now i can't do anything, not by touch nor physical buttons.

could you please point me (haven't done this in several years, sorry) to the procedures and download links for getting back to stock via Odin...?

has anything similar happened to you?

thx
[Galaxy S 4 i9506 Android Development] dbotev:
Hm, I just looked into the 1st post. I cannot see recommended Gapps…

Which gapps-files exactly do you mean?

Just looked to my phone’s SDcad and found those (means I used without issues…):

BiTGApps-arm-11.0.0-R20_signed.zip

BiTGApps-addon-arm-R8_signed.zip

Just ask Google for download link!

I installed 18.1 successfully in both ways: qick’n dirty over 17.1 LOS without wiping data and storage, but also after complete wipe of data and internal storage

In addition I just set following lines in setup-config.prop:

ro.config.setupwizard=true

and in addon-config.prop :

ro.config.assistant=false

ro.config.calculator=false

ro.config.calendar=true

ro.config.contacts=false

ro.config.deskclock=false

ro.config.dialer=false

ro.config.gboard=false

ro.config.markup=false

ro.config.messages=false

ro.config.photos=false

ro.config.soundpicker=false

ro.config.vanced=false

ro.config.wellbeing=false

ro.config.setupwizard=true

…means minimal installation , but including the Google Setup Wizard at factory reset and also Calendar.

You can even try to install only “BiTGApps-addon-arm-R8_signed.zip” first. You do not need the *.prop files in this case.

Do you have the factory Display at your phone? I have had such strange issues earlier with LOS 17.1 and I9505 with replaced original Samsung display…Even the Recovery did not worked fine at this phone.

If even the recovery hangs, just try installing an older one via ODIN, wipe again and put LOS 17.1 without gapps on the phone instead flashing back the complete stock rom.

And do not forget to update the modem and the bootloader with the recommended ones!

I hope this will help you.
[Galaxy S 4 i9506 Android Development] alla_mezon:
Hello,

The download link doesn't work on androidfileshost.

lineage-18.1-20210305-UNOFFICIAL-ks01ltexx.zip | by kyasu for Galaxy S4

Sources: https://github.com/kyasu/android_kernel_samsung_msm8974 https://github.com/kyasu/android_device_samsung_ks01ltexx https://github.com/kyasu/android_vendor_samsung_ks01ltexx

androidfilehost.com

Could someone give us a new working link ?

Thank you !

Sebastien
[Galaxy S 4 i9506 Android Development] dbotev:
Update - Since nobody is replying on this:

https://xdaforums.com/t/rom-gt-i950...for-the-galaxy-s4-lte-a.4212287/post-84649509

I just got my A51 updated from Android 10 Stock auf Android 11 Stock. See updated snapshot!

Corporate WLAN setting without certificate validation works on both 10 and 11 stock ROMs for A51.

So this isn’t new Android restriction and it seems that this issue can be easily solved for I9506 at LOS18.1.
[Galaxy S 4 i9506 Android Development] klaus-hamburg:
Hi,

can't install Magisk on this LineageOS 18.1

install by TWRP gives no error

get bootloop

does anyone have any ideas?

thx
[Galaxy S 4 i9506 Android Development] DualJoe:
Magisk install did work properly here. Maybe you have some leftovers from previous installs. Check /data/adb and if present delete it.

If it doesn't help delete /system/addon.d/99-magisk.sh and dirty install the rom again. Then try again.
[Galaxy S 4 i9506 Android Development] klaus-hamburg:
thx,

I have to make a clean install ,

start system ,

reboot into twrp,

install magisk,

reboot system,

update/install magisk manager,

reboot into twrp,

restore data backup from previous build

ready

;-)
[Galaxy S 4 i9506 Android Development] vagika:
Hi,

This is a great rom, works w/o any issues for me, except it's draining my battery.(a very new one.)

W/o SIM card, it2-4 days on standby, but if I connect to provider, it's drained in ~9 hours.

What should be my expectation, how long the battery usually lasts, if it's mostly on standby?

thanks!
[Galaxy S 4 i9506 Android Development] DualJoe:
Did you check settings/battery if there are some consumers logged?

Standby probably lasts for (i don't know) maybe 3-4 days i guess. Never had the phone unused for such a long time though. The question rather is if your phone wakes up a lot (and something's wrong) or if the battery is already weak, especially if its a new one.

Edit: Nvm, you already said its 2-4 days without SIM. Are you on latest modem from 1st post? Do you have good signal quality in your area?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
have you looked into your doze?

see: https://xdaforums.com/t/app-tool-temefi-comprehensive-system-administration.3806260/

On a previous phone (actually previous 2 devices, I now have a Pixel4a), my device(s) would not go into doze, so was active/awake draining battery even when screen was off and the phone was unused. Also maybe look into BBS:

https://xdaforums.com/t/app-2-2-05-oct-v2-4-betterbatterystats.1179809/unread
[Galaxy S 4 i9506 Android Development] vagika:
Thanks, for the both of you. Signal is perfect, and modem is the suggested by Kyasu. I'll check the suggestions, and maybe flash an official rom to test it.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-18.1-20210409-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (April 2021 Security Patch).

Please use OpenGApps.

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-18.1

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-18.1
[Galaxy S 4 i9506 Android Development] TechSH:
Going To Clean Flash This Latest Build On My Export S4 Later....
[Galaxy S 4 i9506 Android Development] TechSH:
Test On My Export Korean Galaxy S4 LTE-A Aka I9506 & it works flawlessly.

SafetyNet (Attestation Fail). Fix: Universal SafetyNet Fix 1.1.0 "Yet To Test On This Rom, May Or May Not Work"

*As For The Gapps I Used: MindTheGapps (mirror) Or Use The Beta OpenGApps In OP.
[Galaxy S 4 i9506 Android Development] DualJoe:
Is the rom 'selinux enforced' at all?