yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] bizzzang:
kor S4 lte-a bug

It's no problem before, but this one keeps turning off when using Chrome
[Galaxy S 4 i9506 Android Development] Thisu:
Anyone noticed that "Home Settings > Hidden & Protected Apps" is not accessible?
[Galaxy S 4 i9506 Android Development] derflasher:
What do you mean by "protected apps"?
[Galaxy S 4 i9506 Android Development] Thisu:
You can hide apps behind a password in LOS launcher.
[Galaxy S 4 i9506 Android Development] derflasher:
I think you're right.

I don't have that, too.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200207-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (February 2020 Security Patch).

Clean install is recommended.

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1-test

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1-test
[Galaxy S 4 i9506 Android Development] DualJoe:
Even if we're coming from 'lineage-17.1-20200129-UNOFFICIAL-ks01ltexx.zip' clean install?
[Galaxy S 4 i9506 Android Development] kyasu:
Yes.

Dirty flash may cause the title of some lineageos related setting menus to be broken.
[Galaxy S 4 i9506 Android Development] DualJoe:
edit: deleted
[Galaxy S 4 i9506 Android Development] bizzzang:
Thank you very much rom If you delete the launcher after rooting, you cannot use the Recent app Thank you
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200221-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source.

Update audio policy.

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1-test

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1-test
[Galaxy S 4 i9506 Android Development] bintoito:
hi guys,

how do I root this version...? really sorry for the noobness, but my quick searches just returned me what I think are "false" results...
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Its your first post, and the rules of the board: No.1 SEARCH.

Its in the OP.
[Galaxy S 4 i9506 Android Development] albertowatkin.s.418.18:
Not stable yet

Lineage 17 is quite buggy on ks01ltexx, so I will switch back to 16 for a while.

Some of my experiences are (in 7 days):

- System hang for 2 or 3 seconds when pulling down the status bar.

- System hang for ~2 seconds when lowering or raising the volume.

- If you lower or raise the volume YouTube or any other media playback (video, music) will lag and the system will hang for ~3 seconds.

- Some of the apps you opened will disappear in the recent apps menu but when you launch them again from your home menu then they will reappear.

- Android's stock keyboard takes ~2 seconds to pull up for you to start writing, and in the mean time the system will hang.

- Rarely, when you open any app the system will hang (happened rarely).

Regards to all the hardworking devs! <3
[Galaxy S 4 i9506 Android Development] hugio84:
+ SMS notification sound lag.

The sound of an incoming sms appears when the phone is unlocked .
[Galaxy S 4 i9506 Android Development] Alienns:
Installed, latest Modem, Latest TWRP - Full wipe than installed lineage-17.1-20200221. For now it`s working very good. No keyboard lag or any major lag. For now i`ll use without gapps :) Got other source for new apk-s.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200307-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

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

SELinux is enforcing.

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1-test

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1-test
[Galaxy S 4 i9506 Android Development] Thisu:
Fixed!

And the OS feels much smoother now..

---------- Post added at 05:30 AM ---------- Previous post was at 04:41 AM ----------

Got an issue! The internal storage is no longer accessible within the Android System ?

Could this be due to selinux enfircing?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have not flashed the ROM, But to check for SELinux denials, you can see these in a LogCat

To avoid having to type into ADB etc. I have added the feature to the following app I build.

https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260

You can find the SELinux logs within the menu, under:

Logcat>Logcats>Filter By Level>Logcat - SELinux
[Galaxy S 4 i9506 Android Development] Thisu:
That was the exact issue, It was fixed after setting SELinux to permissive.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
If you post the log, you may assist the dev fix it.
[Galaxy S 4 i9506 Android Development] Thisu:
03-08 18:26:48.789 6051 6051 W Binder:6017_4: type=1400 audit(0.0:1249): avc: denied { read open } for name="0" dev="mmcblk0p26" ino=130305 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:media_data_file:s0 tclass=dir permissive=0
03-08 18:27:42.139 6520 6520 W bromite.bromite: type=1400 audit(0.0:1253): avc: denied { getattr } for path="/data/media/0" dev="mmcblk0p26" ino=130305 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:media_data_file:s0 tclass=dir permissive=0
03-08 18:27:43.179 6520 6520 W bromite.bromite: type=1400 audit(0.0:1303): avc: denied { search } for name="0" dev="mmcblk0p26" ino=130305 scontext=u:r:untrusted_app:s0:c141,c256,c512,c768 tcontext=u:object_r:media_data_file:s0 tclass=dir permissive=0
03-08 18:27:47.929 6655 6655 W opjohnwu.magisk: type=1400 audit(0.0:1347): avc: denied { getattr } for path="/data/media/0" dev="mmcblk0p26" ino=130305 scontext=u:r:untrusted_app_27:s0:c89,c256,c512,c768 tcontext=u:object_r:media_data_file:s0 tclass=dir permissive=0
03-08 18:28:15.236 7202 7202 W opjohnwu.magisk: type=1400 audit(0.0:1593): avc: denied { getattr } for path="/data/media/0" dev="mmcblk0p26" ino=130305 scontext=u:r:untrusted_app_27:s0:c89,c256,c512,c768 tcontext=u:object_r:media_data_file:s0 tclass=dir permissive=0
03-08 18:28:17.833 7279 7279 W magisk.bin: type=1400 audit(0.0:1663): avc: denied { read } for name="/" dev="tmpfs" ino=9242 scontext=u:r:untrusted_app_27:s0:c89,c256,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
03-08 18:28:18.856 7353 7353 W magisk.bin: type=1400 audit(0.0:1665): avc: denied { read } for name="/" dev="tmpfs" ino=9242 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
03-08 18:29:29.903 8195 8195 W magisk.bin: type=1400 audit(0.0:1699): avc: denied { read } for name="/" dev="tmpfs" ino=9242 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

This is the logcat before SELinux was set to permissive.
[Galaxy S 4 i9506 Android Development] thorti1:
Screen Casting

Is it possible to implement a TV / Screen Casting / Mirroring feature in a new release that works? Thanks for the great ROM.
[Galaxy S 4 i9506 Android Development] grbgdn:
Guys if you have a problem with GPS, then most likely the reason is poor contact with the gps antenna. Look on youtube video "How to fix your Samsung Galaxy S4 GPS"

This solved the bad signal problem.

Thanks kyasu for the work. I'm still using my S4 with this rom.
[Galaxy S 4 i9506 Android Development] kyasu:
I don't have a such issue.

The internal storage is accessible without any trouble.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
The above log has all denials against Magisk (and another 3rd part web browser), not the ROM. are you by any chance running a canary build of Magisk? Accessing the SDCard should not be triggering ROOT and as such, no Magisk.
[Galaxy S 4 i9506 Android Development] DualJoe:
And Bromite has Android 10 permission issues too.

https://github.com/bromite/bromite/issues/485
[Galaxy S 4 i9506 Android Development] Taras K:
Very fast and stable!

But Chrome does not answer after minutes of use.
[Galaxy S 4 i9506 Android Development] Moebiusten:
Bonjour,

Installed yesterday : dirty flash over a havocOsv2 android 9.0.

Works like a charm, thank you a lot !
[Galaxy S 4 i9506 Android Development] rainringgowawy:
A little issue that Expanded desktop do not work
[Galaxy S 4 i9506 Android Development] Invisible Walker:
thanks kyasu for your good job!!!!
[Galaxy S 4 i9506 Android Development] black_knight_:
I have a problem with netflix. i get an error <<Device error. Restart the device and try again (501. – 109)>>.

i have try everything...

Has anyone run into the same problem?

thanks for your support.
[Galaxy S 4 i9506 Android Development] gvamp:
Thank you for this rom ! The cam can't store files to the external sd card (I assume write permission problems). It takes the picture and it is visible in the small preview. But it is not saved or viewable. Any chance to get this working?
[Galaxy S 4 i9506 Android Development] gvamp:
I use this rom as my daily driver and it's great. Beside of the "cam cant save to sd card" problem I have recognised that the build-in calendar app has also problems. I can't add or change items. I don't see any menu. Both cam and calender apps have all requested permissions. I installed the google calender as workaround.
[Galaxy S 4 i9506 Android Development] GT-I8160P:
For enabling the Camera to save pics to the SD card I created a folder "files" on the SD Card under

Android/data/org.lineageos.snap/files

After that I could switch the Camera app from phone to SD for storing the pics.

Works well for me.

As a Calendar I use "aCalendar" app.
[Galaxy S 4 i9506 Android Development] gvamp:
Your hint is great. The folder you mentioned is already there and my previously taken photos are in there. The problem is, that Android/data is a hidden folder with .nomedia file. Neither the cam app nor my xda quickpic edition app see these photos. When I show hidden files in quickpic, these photos pop up, that's ok, but for sure not intented to be like that. Thanks for your information.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
FYI: the following post in the crDroid thread is also true for LOS

https://xdaforums.com/galaxy-s4/i95...android-10-t4017905/post82135887#post82135887
[Galaxy S 4 i9506 Android Development] michzp:
wondering if any of you has issue with wifi? everytime i flashed gapps and magisk, my wifi couldn't be turn on. the issue only happen if both of them are flashed, wifi works fine when only one is flashed, wether magisk or gapps.
[Galaxy S 4 i9506 Android Development] gvamp:
Yes, I also had wifi problems. And yesterday I couldn't make phone calls, when starting a call it disconnected instantly. I flashed again the bl/modem, tried other versions and atm both work.
[Galaxy S 4 i9506 Android Development] michzp:
I have tried recommended bootmodem and I9506XXUDOL2_I9506TELDOL2 since I'm in Australia, both does not work. Reflashed everything following kyasu's instruction in order and the issue still persists.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have 3 devices 2 are semi-broken,and the last is my working daily. One of the spare devices is flashed with this LOS 17.1, and I have both Magisk v20.4 and GApps - BiTGApps-arm-10.0.0-v0.6_signed.zip on that LOS phone. The other is flashed with crDroid Android 10.

My WiFi appears to be working well, on both the LOS and crDroid ROM (NB: Different bootloaders / modems)

Which Magisk and GApps have you flashed?

So, this is where I think this phone is broken, so its not a good test/comparison. I think it did the following when flashed previously with an Oreo ROM (and hence a change of device); now working on a new (well, newer) device with an Oreo ROM (my Havoc-OS).

But for your info, when I try to make a call, it hangs up before the first ring gets through:(. An SMS works fine. Again, I think its the device and not the ROM.
[Galaxy S 4 i9506 Android Development] gvamp:
I have newest pico opengapps and magisk installed,

everything is ok atm, as said. So I don't why it should be related to this and behavior healed with bootloader/modem update. I had same issue with hangup before first ring. My phone is ok and I think yours also and it's rom/modem related.
[Galaxy S 4 i9506 Android Development] gvamp:
I have to revert that my outgoing calls are ok atm. It's broken again atm with this rom/modem (at least for me)... Strange, I changed nothing...
[Galaxy S 4 i9506 Android Development] gvamp:
Flashed I9506XXUDRB1_I9506XXUDRA1_bootmodem.tar from an other thread and atm I have calls as well as wifi enabled/ok.
[Galaxy S 4 i9506 Android Development] gvamp:
RIL not possible

Hi [MENTION=4861355]kyasu[/MENTION] , whatever I do and which bootloader/modem I use and if I reboot or not: I can't do outgoing calls with this rom. Also incoming calls result in an instant sms "somebody tried to reach you". I have attached logs, hope you can help. At time 6:02 I tried to do a call.

It seems that after flashing a modem/bootloader in- and outgoing calls are possible for some minutes/hours but after then it's always broken again, also a reboot/complete switch off doesn't help.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Two lines from your logcat:

04-03 05:56:33.829 E/DefaultPermGrantPolicy( 768): [B]PackageNot found: com.google.android.dialer[/B]
04-03 05:56:33.829 E/DefaultPermGrantPolicy( 768): android.content.pm.PackageManager$[B]NameNotFoundException: com.google.android.dialer[/B]

You also have added a number of packages (including magisk) on top of the ROM. Have you tried using the dialer after a clean flash and only GApps?
[Galaxy S 4 i9506 Android Development] gvamp:
Thanks for having a look. Both (with/without gapps/magisk) are working after setup! But after a while (at least one hour I would say) at least my setup is not working. The messages you found are not from 6:02, when I did the call. So do you think, that this rom doesnt work with opengapps/magisk?

Edit: I installed the missing phone app package from the store and same problem: hangs up with both phone apps now (inbuilt and google)
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Regardless of when the message occurs, the package should be there all the time.

I dont know, all I know is that I have flashed BiTGApps-arm-10.0.0-v0.6_signed.zip and Magisk 20.4. However, my phone I run this rom on is not in the best condition, and the dialer does not work (it starts but hangs up just before it makes its first dial), and it did not work last I used it with an oreo ROM. and hence its a "spare" phone now. ie I would NOT say its the ROM's fault.
[Galaxy S 4 i9506 Android Development] gvamp:
My old i9505 is damaged and I use the 9506 as daily atm. Which rom on the i9506 would be guaranteed to have a working phone (e.g. pie), so that I could check if I have another hardware issue?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Stock firmware.

Its not a fun answer, but when testing hardware, stock would be the way to do it. Anything else could be a ROM issue OR a user issue. Its much harder to only get stock firmware partly wrong. Just because a specific ROM works for me, does not mean you will do everything I have done exactly like I have done. Just look at all the cases above regarding this ROM.
[Galaxy S 4 i9506 Android Development] gvamp:
I reverted back v16 of the same rom with the very same setup, installed apps and settings. All problems are gone now, my device is ok. In daily usage I had problems with this rom here concerning:

- sudden in/out call hang ups at start of call

- wifi dropouts

- again and again long gps fix times

- laggy status bar and in app navigation (up to some seconds freeze, mentioned by others in v16 thread)

- weird storage location (hidden) for sd card photos of snap cam

- inbuild calender has problems, no add button, no settings menu

However, v16 is great and the work of [MENTION=4861355]kyasu[/MENTION] also. I hope these things could be fixed, would be awesome. Thank you.
[Galaxy S 4 i9506 Android Development] devnotname:
The LineageOS versions on this device have never been official so there will be certain bugs, if you want the most stable rom, it can only be rom touchwiz stock 5.0 or rom touchwiz 6.0 transferred from other devices
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Further to this point, I checked less than a week ago. and there were NO official ROM's released for 17.1 ie we can't expect even an unofficial ROM to be anywhere near stable, if LOS don't even think official devices are not ready to be released.

as linked a few posts above:

https://xdaforums.com/galaxy-s4/i95...android-10-t4017905/post82135887#post82135887
[Galaxy S 4 i9506 Android Development] gvamp:
Yes, then this rom here shouldn't have the status "stable".
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200412-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

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

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1-test

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1-test
[Galaxy S 4 i9506 Android Development] flupus:
Thank you Kyasu
[Galaxy S 4 i9506 Android Development] DualJoe:
No SystemUI lag so far. Rom is running great.

Anyone using RetroArch? I experience global sound issues (choppy, stretched, like too small sndbuffer).
[Galaxy S 4 i9506 Android Development] michzp:
Just found out it is not a consistent issue. I re-flashed the phone many times with combination of gapps and magisk, sometimes the wifi works, sometimes doesn't. So for anyone who have similar issue, after flashing just keep rebooting (wiping cache/dalvik) until the wifi come back.

Still trying to find what triggers it.
[Galaxy S 4 i9506 Android Development] NoxCivi:
Coming from LOS 15.1 I noticed my SD card formatted with F2FS is no longer recognized. Neither the twrp-3.3.1-1 recovery nor the 17.1 system seem to support F2FS on external (=real) SD cards.

Is this a bug of this ROM or a dropped feature in LOS 17.1?
[Galaxy S 4 i9506 Android Development] derflasher:
I flashed 17.1 clean.

It's running great, not a single error so far (2 days running yet).

Thank you very much kyasu!! Keep going!??
[Galaxy S 4 i9506 Android Development] grbgdn:
Hi

How does gps work? in the previous version he did not want to lock

Thank you
[Galaxy S 4 i9506 Android Development] derflasher:
GPS works great
[Galaxy S 4 i9506 Android Development] EndelF:
With the default gps.conf ?

It doesn't work here either...

Any suggestions how to debug / fix this issue?
[Galaxy S 4 i9506 Android Development] derflasher:
I just flashed the lineage zip file without altering the gps.conf and it's working as intended to.
[Galaxy S 4 i9506 Android Development] grbgdn:
GPS does not work unfortunately. returned to 16.0
[Galaxy S 4 i9506 Android Development] Sindbad#:
adb sideload <filename>

Hello,

when I try to import the zip file with adb, I get the following error message:

...

Verifying update package...

E:failed to verify whole-file signature

E:signature verification failed

...

Tested with lineage-17.1-20200412-UNOFFICIAL-ks01ltexx.zip and lineage-17.1-20200307-UNOFFICIAL-ks01ltexx.zip

:confused::(
[Galaxy S 4 i9506 Android Development] devnotname:
The device recovery you are using is TWRP or the device's original Recovery?
[Galaxy S 4 i9506 Android Development] Sindbad#:
Yeah, SORRY!, it was still the original Recovery.

It's been a while since the last Custom R...:o:angel:
[Galaxy S 4 i9506 Android Development] dmageddon:
status bar

Hi, how to enable auto-hide of the status bar? I had it enabled in LOS 15.1, but couldn't find such option in 17.1.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
expanded desktop
[Galaxy S 4 i9506 Android Development] dmageddon:
Just found an info (forum doesn't allow me to post outside links yet) that the expanded desktop feature has been dropped in LOS 17.1 :(

Is there any other way to hide status bar?

EDIT: Well, I spent a few bucks on Immersive Manager app from Play Store, and it seems to work fine.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200508-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (May 2020 Security Patch).

Changes:

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

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1
[Galaxy S 4 i9506 Android Development] DiamondJohn:
EDIT: the check has been done.

Can someone do me a favour? :fingers-crossed:

After installing, and allowing their Media Scan to have been completed, and have a number of MP3's that would of been registered, could someone open a terminal window and run the following and post up the results?

su;
sqlite3 "/data/data/com.android.providers.media/databases/external.db" "SELECT A.album, A.album_id, IFNULL(AA.album_id, '*MISSING*') FROM albums AS A LEFT OUTER JOIN album_art AS AA ON (AA.album_id=A.album_id) ORDER BY AA.album_id DESC LIMIT 10";

The last LOS builds I have tried do not appear to have the album art functionality working. The above checks this.
[Galaxy S 4 i9506 Android Development] derflasher:
I'm on Apr 12.

Does it matter?

Anyway, it results 10 times in:

Album name | a number | *MISSING*

Hope that helps you!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Yeah, I tried the previous version (ie April) and thats how I knew it was an issue. I am interested to know if LOS have fixed it since then and therefore in the latest build. But thanks for your time:good:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Nope, LOS have not fixed Album Art:(
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Thanks, but I flashed and checked it my self in the post above.

On a side, for some reason, it failed for you. It worked for both me, and the poster before me, but thanks for trying.
[Galaxy S 4 i9506 Android Development] M@yeulC:
Hey there,

Thanks a lot for your time. I've ben a long time (~ 10 years) lurker around here, but I finally bit the bullet and registered thanks to you :)

I've got a couple questions:

What would it take to officially support this port? Is that something envisioned?

It looks like there are a few things that are not working as intended:

Carrier lock unlock code isn't working (I haven't flashed the modem partition, unsure if related).

RTC isn't able to wake up the device when an alarm clock is configured. That doesn't work either on the official LOS build for I9505, be it 16.0 or 17.1, so not that much of a big deal, but that would be a nicety :)

Other than that, the port is pretty solid, and is less buggy than the official 17.1 I9505 nightly, so thank you again!

Edit: tried to unlock the carrier lock from a stock rom, which worked. I went back to this rom, and the SIM lock was present again. Not sure where that data is stored? I flashed the modem image from the post just to try, but that didn't change a thing. I went back to the stock rom to unlock again, but I now have no wifi on that rom... (bluetooth is fine).

Edit 2: carrier lock appeared again after I flashed modem.bin, thus it likely is in that partition. I suspected a firmware issue for the wifi, and flashing NON-HLOS.bin solved the wifi disabling right away issue. Will now try to flash this image again (I might have inadvertently restored modem from a backup during my last attempt). Aaand... it worked :)

Nevertheles, it would be nice to have it work OOTB :)
[Galaxy S 4 i9506 Android Development] mattilinnanvuori:
System UI and Android Setup crash

I flashed lineage-17.1-20200508-UNOFFICIAL-ks01ltexx.zip but I forgot to flash OpenGapps and rebooted and started setup but shut the phone when I remembered that I had forgotten to flash OpenGapps. Then I flashed open_gapps-arm-10.0-nano-20200521.zip but System UI and Android Setup still crashed. Then I flashed both but System UI and Android Setup still crashed.

Previously I could not flash lineage-17.1-20200412-UNOFFICIAL-ks01ltexx.zip because I got an error message during the sideload. I also got an error message when I tried to format data on stock device.