yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] Surfer_II:
Latest 12/27 builds (17.1) successfully flash and boot on T810 and T815 with TWRP 3.4.0.0. So far only few minor bugs noticed:

- brightness level is fixed / brightness stearing does not work

- mainly on T810, Wifi connection is not stable and disconnects frequently (same Wifi issue as with the previous builds)

=> ripee has uploaded new builds with same release date 12/27 - the brightness issue is fixed in this newest version.

Thanks @ripee
[Galaxy Tab S2 Android Development] MrBlubke:
now that was quick! 17.1 on T810 tried here :)

touch button leds are working which is nice, the network disconnect mentioned above is not THAT much of an issue, and a reconnect(turn off/on) after sleep fixes it till next sleep state... so, so far happy with it :)

(still have to experience the wifi issue though.. can't really comment that short after install ;-) )
[Galaxy Tab S2 Android Development] ripee:
Changelog

Build 1227 for all variants

* Screen brightness is fixed, no idea about wifi instability, I haven't experienced it myself and I made sure to bring it up in the sources the same as ananjaser did to trelte. Can someone please post a log?

* Synced with LineageOS sources.

I will delete the first 1227 builds to avoid confusion. Sorry about not posting changelogs earlier, it's much easier to just read your comments and make the necessary changes in the sources.

I will also update the thread back to Q but leave the Pie builds up for a while in case anyone wants them.
[Galaxy Tab S2 Android Development] aljazzair:
Hello @ripee

Thank you for making LineageOS available for our devices.

I have a question/request, maybe you can help me.

I want to use Bose Bluetooth headphones with the SBC Dual Channel HD feature available in LineageOS on T815. It greatly improves audio quality. For now it is only available in full in v16.

However, selecting the appropriate bluetooth profile is not available out of the box, the functionality is exposed in Developper Options but does not "stick":

due to the way android manages codec priorities, AAC is always preferred even though the AAC audio quality and latency is inferior for most devices with the introduction of SBC HD.

I have tried many ways to use SBC HD including installing tools like GravityBox, etc... to no avail.

After thorough research it seems the most straightforward solution is to "switch" the following priorities in this config file:

res/values/config.xml - platform/packages/apps/Bluetooth - Git at Google

<integer name="a2dp_source_codec_priority_sbc">1001</integer>

<integer name="a2dp_source_codec_priority_aac">2001</integer>

<integer name="a2dp_source_codec_priority_aptx">3001</integer>

<integer name="a2dp_source_codec_priority_aptx_hd">4001</integer>

<integer name="a2dp_source_codec_priority_ldac">5001</integer>

And ensure that my preferred method (SBC) is set higher than the one chosen by android like so:

<integer name="a2dp_source_codec_priority_aac">1001</integer>

<integer name="a2dp_source_codec_priority_sbc">2001</integer>

<integer name="a2dp_source_codec_priority_aptx">3001</integer>

<integer name="a2dp_source_codec_priority_aptx_hd">4001</integer>

<integer name="a2dp_source_codec_priority_ldac">5001</integer>

How can I go about changing this? Is it possible to build from source?

Are there any pointers you can give me?

Thank you
[Galaxy Tab S2 Android Development] ripee:
I think I know how to do this in the device source, but I asked ananjaser to be sure.

If you want to learn to build lineage or any other rom from our sources, send me a pm or find me on telegram.

Edit: ananjaser confirmed that a simple overlay in the sources, with this change implemented, will override the default setting. I'll do it later today and run a new set of builds.
[Galaxy Tab S2 Android Development] retiredtab:
Dec 27 build still has broken GPS. Looks like you have the library named incorrectly?

F [6443/6443] linker CANNOT LINK EXECUTABLE "/vendor/bin/gpsd": library "libsensor_shim.so" not found

Maybe something wrong here?

android_device_samsung_gts2-common/shims/libsensor at lineage-17.1 · universal5433/android_device_samsung_gts2-common

Contribute to universal5433/android_device_samsung_gts2-common development by creating an account on GitHub.

github.com

12-28 10:45:34.992 F [6381/6381] linker CANNOT LINK EXECUTABLE "/vendor/bin/gpsd": library "libsensor_shim.so" not found
12-28 10:45:34.995 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "gpsd": error code: 0xb
12-28 10:45:34.996 W [1/1] libc Unable to set property "ro.init.updatable_crashing" to "1": error code: 0xb
12-28 10:45:34.998 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-28 10:45:34.999 W [1/1] libc Unable to set property "ro.init.updatable_crashing" to "1": error code: 0xb

12-28 10:45:59.046 D [3647/3666] libgps SendGpsExtensionMessage: Waiting for IPC connection - timeout
12-28 10:45:59.046 E [3647/3666] libgps LIBGPS: Cannot communicate (write) with a GPSD
12-28 10:45:59.046 E [3647/3666] libgps IPC Communication Error, ../../../../tmp/15113655_277211/allPartners/os/android/gps_interface/gpsi_client/GpsiClient.cpp:698 SendGpsExtensionMessage
12-28 10:45:59.046 D [3647/3666] libgps gps_set_position_mode: Waiting for IPC connection...
12-28 10:46:00.020 W [6443/6443] init type=1400 audit(0.0:1037): avc: denied { execute_no_trans } for path="/system/vendor/bin/gpsd" dev="mmcblk0p19" ino=3313 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file
12-28 10:46:00.050 D [3647/3666] libgps gps_set_position_mode: Waiting for IPC connection - timeout
12-28 10:46:00.050 E [3647/3666] libgps LIBGPS: Cannot communicate (write) with a GPSD
12-28 10:46:00.050 E [3647/3666] libgps IPC Communication Error, ../../../../tmp/15113655_277211/allPartners/os/android/gps_interface/gpsi_client/GpsiClient.cpp:1567 gps_set_position_mode
12-28 10:46:00.050 E [3647/3666] GnssLocationProvider set_position_mode failed in startNavigating()
12-28 10:46:00.051 W [3647/3666] Looper Slow dispatch took 2009ms android.fg h=com.android.server.location.GnssLocationProvider$ProviderHandler c=null m=3
12-28 10:46:00.051 W [3647/3666] Looper Slow delivery took 2005ms android.fg h=com.android.server.location.GnssLocationProvider$ProviderHandler c=com.android.server.location.RemoteListenerHelper$1@5685744 m=0
12-28 10:46:00.051 F [6443/6443] linker CANNOT LINK EXECUTABLE "/vendor/bin/gpsd": library "libsensor_shim.so" not found

$ adb shell
gts28wifi:/ # cd /system
gts28wifi:/system # find | grep libsensor
./vendor/lib/libsensorlistener.so
./lib/libsensor.so
./lib/libsensorprivacy.so
./lib/libsensorservice.so
./lib/libsensorservicehidl.so
gts28wifi:/system #
[Galaxy Tab S2 Android Development] retiredtab:
Forgot to add in the previous post ...

gts28wifi:/system # find | grep gps
./etc/gps_debug.conf
./vendor/bin/gpsd
./vendor/etc/gps.xml
./vendor/etc/permissions/android.hardware.location.gps.xml
./vendor/etc/gps.conf
./vendor/lib/libshim_gpsd.so
./vendor/lib/hw/gps.default.so
[Galaxy Tab S2 Android Development] retiredtab:
With 16.0 Dec 25, device check by flar2, showed DRM has security level L1.

I installed 17.1 Dec 27 build clean by wiping everything and formatting data and device check by flar2, shows DRM has security L3.

DevCheck Device & System Info - Apps on Google Play

Testing, tools and complete information about your hardware and operating system

play.google.com

flar2 is a recognized developer here on XDA.
[Galaxy Tab S2 Android Development] ananjaser1211:
Run netflix app, go to playback specifications and let me know what it says. also download a full episode and see if its size is ~300MB or ~700MB, ofc the latter indicates it is a 1080P episode, and not 480p

i have not seen a rooted samsung get L1 that has been released before the galaxy S10...

in 17.1 i added clearview drm and the services it uses which matches what samsung does in stock Q rom.

but once it detects root/uncertified/custom rom it does not use DRM keys. i really dont think the tablet is any different from S7 , S8 etc which use our drm setup. and also get L3

ive had instances with DRM info and similar apps reported L1, and at some point the netflix app also reported L1, but the episode was clearly not 1080
[Galaxy Tab S2 Android Development] ripee:
Is the SD card you're trying to format as adoptable storage encrypted by any chance?
[Galaxy Tab S2 Android Development] h4waii:
Just moved over to your builds for T710. Thanks for maintaining for these devices!

Curiously, do you have a local manifest for the sources used for builds?
[Galaxy Tab S2 Android Development] ripee:
See the bottom of the OP ;)
[Galaxy Tab S2 Android Development] h4waii:
I see "source" sources to LineageOS itself, but your device trees or kernels don't seem to be there, unless I'm missing it.
[Galaxy Tab S2 Android Development] ripee:
Under the Sources heading, what does the link above LineageOS say?
[Galaxy Tab S2 Android Development] toby184:
sd / tablet is not encrypted. note format as portable storage is working and the sd mounts successfully. format as internal storage is where it hangs at 40% format and then sd shows as corrupted.
[Galaxy Tab S2 Android Development] busterOne:
What is the update process? I have to flash again if a new build is released? Or can i do this over the update function in LineageOS?
[Galaxy Tab S2 Android Development] ripee:
The update function doesn't work since these are unofficial builds. You can dirty flash overtop of your current build, which means you DO NOT need to factory reset, only wipe Cache and Dalvik. You do not even need to re-flash GApps or Magisk, if you use it.

Since I share my builds on Google Drive, if you use it as well, feel free to add the folder of your variant to your own Google Drive account to be able to download new builds directly to your tablet.
[Galaxy Tab S2 Android Development] busterOne:
This is fine. Thanks for your great work. :good:
[Galaxy Tab S2 Android Development] Abdulrouf:
Thanks alot man :)

Gonna give it a try right away :laugh:
[Galaxy Tab S2 Android Development] Abdulrouf:
Pretty much Everything works pretty much fine on my SM-T815

but found two issues only

1=> Battery drains too much and charge very slow compare to stock nougat

2=> using advance reboot if i enter recovery it first goes to recovery than suddenly after twrp logo it enters download mode which is obviously not supposed to be done :rolleyes:
[Galaxy Tab S2 Android Development] TableCraft0R:
T715Y

Speaker distortion when audio volume is 70%-100%. It seemed that it's extremely boosted. Fine on earphones.

Mild media stream crackling noise under moderate to heavy CPU loads.

Feature request - CPU/gpu/volts/etc control in kernel. When gaming on this rom, I noticed a lot of frame drops like in stock. I used tricks back in the day that forced minimum gpu frequency to 420mhz, disabled gpu throttling, limited cores to 1.6/1.2 and more. It absolutely made my gaming experience better before, and I'm extremely happy to see this feature back on this ROM's kernel.
[Galaxy Tab S2 Android Development] mcepedaj:
does anyone know if any of these will work on at SM-T817T?
[Galaxy Tab S2 Android Development] Abdulrouf:
i also request cpu gpu voltage controle and system profiling i.e if deep sleep doesn't work due to the RILL implemented we can customly make a profile that manually enters deepsleep after 5 min screen off

and with the Aeroplane mode wifi do turn on but do not connect .!

---------- Post added at 06:55 AM ---------- Previous post was at 06:39 AM ----------

you can give it a try it should work if exynos based
[Galaxy Tab S2 Android Development] khaberz:
I can't confirm that for my device (t810). Wifi connects in Airplane mode for me.
[Galaxy Tab S2 Android Development] ripee:
It's not supposed to connect in airplane mode ?
[Galaxy Tab S2 Android Development] kabelgleichung:
It is: You can switch on airplane mode, then switch on wifi again. Doing this, you can switch off 4G connectivity. At least stock supports this. Of course that only makes sense on 4G models.
[Galaxy Tab S2 Android Development] ripee:
Perhaps wifi-only models turn off wifi in airplane mode.
[Galaxy Tab S2 Android Development] khaberz:
I disagree. It's supposed to switch off all broadcasting stuff like mobile data, bluetooth wifi, when you activate it, but then you can switch e.g. wifi back on while leaving everything else off - for example when you're on a plane with wifi. All my devices behave that way.
[Galaxy Tab S2 Android Development] thefunkygibbon:
Currently I'm running stock rooted 6.0.1. Am I going to notice any degradation of speed or battery life by moving to this rom? I've not used lineage ROMs for a few years now but I seem to recall they wasn't without bugs and performance issues (was quite a few versions ago though)
[Galaxy Tab S2 Android Development] retiredtab:
@ananjaser1211, ironically, I'm not a netflix user and have no apps that require DRM. So I can't test netflix as you ask. Maybe someone else can?

In older builds of 17.1, there was a serious battery drain when sleeping so I use device check to see if the tablet goes into deep sleep or not. It's there that I noticed L3 in DRM. My tablet is also not rooted.
[Galaxy Tab S2 Android Development] bbortnick:
Thanks for the T710 17.1! I have installed 20201227 (dirty over 20201102 which was a clean install).

The previously reported issues of high battery drain seems fixed and the hardware/capacitive switch lights now work.

The only noticeable issue is fingerprint security in the settings seems to be missing. I don't really use it, so that doesn't bother me much (but it seemed to work ok in 20201102.) Ambient display also does not work, but maybe it cannot work on a SM2 T710.
[Galaxy Tab S2 Android Development] aljazzair:
Hello @ripee

Thank you very much for your kind feedback, I really appreciate it.

Does that mean there will be a build of v16 or v17 with SBC HD prioritized available on your Google Drive repository?

edit: (v17 did not implement Dual Channel HD in the 1102 build, so I am not sure it is included in the LineageOS upstream code yet)

Thanks again...
[Galaxy Tab S2 Android Development] ripee:
I see you didn't try today's build.

New build will have the fingerprint sensor fixed, and possibly livedisplay as well.
[Galaxy Tab S2 Android Development] retiredtab:
GPS is fixed Dec 29 build. It works pretty fast. It gets a lock in a 2 seconds.

crashing argos-daemon

This message about crashing argos-daemon shows up every 5 seconds in log.

12-29 10:50:35.547 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:50:40.555 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:50:45.566 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:50:50.574 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:50:55.584 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:00.594 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:05.604 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:10.612 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:15.623 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:20.630 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:25.640 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:30.658 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
12-29 10:51:35.662 W [1/1] libc Unable to set property "ro.init.updatable_crashing_process_name" to "argos-daemon": error code: 0xb
[Galaxy Tab S2 Android Development] PatrickDonker:
Just dirty installed today's build (20201229) over 20201102, but my T810 keeps rebooting. It gets past the lineage screen, till the unlock screen. There it sits a while, followed by The tablet is starting. About a minute later the device reboots. I did a factory default, but no change.

Unfortunately I lost the 20201102 image, so I cant roll back. Does anyone have link to where I can download it?

Thanks
[Galaxy Tab S2 Android Development] bbortnick:
I experienced the same boot issue as Patrickdonker on a T710. There are two 20201229 builds, i tried the one loaded today (the newest). The 20201227 build works well and is still available for download.
[Galaxy Tab S2 Android Development] aljazzair:
Hello @ripee

Thanks for following up!

I just installed the latest 1229 v17 build.

.

I can see the overlay was implemented as the device attempts to use SBC HD and then fails, then reverts to AAC.

View attachment 5171953

I suspect that is because Lineage v17 does not include the SBC Dual Channel Audio capabilities, unlike v16.

View attachment 5171961

View attachment 5171963

Looking at LineageOS Gerrit it seems it is awaiting action from ValdikSS:

https://review.lineageos.org/c/LineageOS/android_system_bt/+/272649

This feature is only implemented in v16 at this moment :)

Would it be possible to have a v16 build with that overlay baked in? :)

(note:edited typos)
[Galaxy Tab S2 Android Development] retiredtab:
@bbortnick and @PatrickDonker, the best way to help the developers is to get an adb logcat.

1. Power off tablet.

2. Open terminal.

3. adb logcat > crash.txt

4. Turn on tablet.

5. Wait until crash.

6. Ctrl-C to stop adb logcat.

7. Upload logcat as a zip file.
[Galaxy Tab S2 Android Development] lpedia:
I'm also seeing these messages - 20201229 on T710 clean-flashed about 10 hours ago (so I assume it's the earlier build).

Otherwise behaving well: fast booting; battery life seems good; key backlights working; wifi connection stable so far.
[Galaxy Tab S2 Android Development] ripee:
aljazzair, read what ValdikSS wrote on gerrit about the commit you linked. Lineage people have no interest in merging all elements of a change, let alone someone like me. If you want to have this feature added to any rom you wish to run, please fork our sources and compile your own build. I will not be cherry-picking every little thing that the Lineage people may or may not think is stable or generally a good idea to add to the rom sources. I don't have the time or interest to keep track of these minor additions, especially when no one else has ever mentioned this for any of the devices I work on.

retiredtab, are you going to analyze the log for every build? If it works, it works. What I wrote above applies to random log messages as well, unless ananjaser can consult in this matter. Edit: ananjaser has consulted in this matter, and it turns out that gts2-common's init.universal5433.rc ramdisk file was missing this line:

# ARGOSD network_throughput
chown system system /dev/network_throughput

Perhaps this will make the difference in wifi performance and all this log spamming.
[Galaxy Tab S2 Android Development] bbortnick:
I have tried the latest 20201229, but same boot hang/loop. The ROM boots and the initial logon screen appears. shortly afterwards it crashes and attempts to reboot, but never again passes the lineage startup gif.

I took a logcat here as suggested by retiredtab:

crash.zip

drive.google.com

Ripee, no pressure from me to analyze it. I have the 20201227 rom and it works pretty well.
[Galaxy Tab S2 Android Development] aljazzair:
Thanks for your answer Ripee.

I was only following up because you proposed it. I installed the build you suggested earlier and wiped out my device at your invite hoping it would work :) Thanks for trying anyways.

.

FYI and general education on this matter, you are incorrect on several levels about this feature.

It has tremendous benefits for basically everyone using bluetooth. We are talking literally hundreds of millions of consumers.

.

ValdikSS has tried many times to have this feature - which he championed on android- upstreamed with google. The same ValdikSS has expressed frustration because Google has so far declined to include it, without giving a good explanation.

Similarly, the PulseAudio team has longed sandbagged its inclusion in mainstream linux (work was done by dev Pali Rohar) and it has caused a lot of debates over there. It is available though various forks though.

These blockers are probably driven behind the scenes by MNCs like Qualcomm (of aptx fame).

Anyone using BT audio should make use of SBC HD Dual channel audio, as it is vastly superior to most methods (such as aptx, aptxHD, AAC, on par with LDAC etc) and is supported by existing A2DP standards, meaning any bluetooth stereo device.

Anyways for the benefit of the community, I am attaching a workaround (caveat: YMMV) :

here is an APK overlay that forces SBC HD. It has to be installed as a system app to work.

It worked for me (on V16).

Have a great day.
[Galaxy Tab S2 Android Development] Flax_:
same here.

Latest release (17.1 29.dez 6:38pm) clean install - bootloop

BTW THX for your efford ripee! So glad to see my s2 t810 getting updates again :)
[Galaxy Tab S2 Android Development] dannychow:
I tried 17.1 20201229 build yesterday. (I believe it is the 1st 1229 file)

This build running very good in my T815 device. At least it has the following improvement:

- Off screen battery life (drop only ~1% for 7 hours)

- Buuld-in VPN client works!

This two improvements are important to me. Thanks ripee for your work!
[Galaxy Tab S2 Android Development] Homuncoloss:
Install 1229 and 1230 on my 815 ends in Bootloop. The Rom runs nice, but not stable enough to use it, as stable driver.
[Galaxy Tab S2 Android Development] dombo1970:
Installed 1230 build on my T810. Booting, then 'tablet is starting', waiting, rebooting, black screen.
[Galaxy Tab S2 Android Development] Surfer_II:
Same here, boot procedure of T810 and also T815 of 12/30 build get´s stuck at 'tablet is starting' screen followed by reboot and black screen.

Have re-installed 12/29 build to get both devices running again.
[Galaxy Tab S2 Android Development] djcasl:
Installed the latest image for the 710, now I press get started get just a sec screen. Then reboots and stuck again. Also when I have a charger connected, the screen won't respond.
[Galaxy Tab S2 Android Development] ripee:
Nobody other than you has ever mentioned this feature to me for any of the devices I have ever worked on. If ValdikSS has had no luck in swaying Google, I have zero chances of having any influence myself. As I said, our sources are public. Feel free to play around with them if you believe you can make this work on your tablet.
[Galaxy Tab S2 Android Development] Spooner2914:
Installed the latest T815Y on my device (SM-T815Y)

I did a complete wipe using the following steps as per instruction

FULL WIPE (with external microsd card)

1. Move any files you want to keep to your External MicroSD Card – ! Or you will lose them !

2. Download your LineageOS Rom and GApps Package,

3. Move your LineageOS Rom and GApps Package to the external MicroSD storage,

4. Boot into Recovery Mode,

5. Wipe > Advanced Wipe > Select On (enable tick) for Dalvik / Art Cache, System, Data, Internal Storage, Cache,

6. Swipe to Wipe at Bottom of Screen,

7. Back to Main start screen,

8. Wipe > Format Data,

9. Type 'Yes' and press blue checkmark at the bottom-right corner,

10. Go Back to Main Start Screen to Install Rom and GApps,

11. After you have finished installing the Rom and GApps > Wipe Cache/Dalvik > Swipe to Wipe,

12. Reboot System! Enjoy!

after step 12

i get the logo for Lineage loading. seems to do its thing. after some time the device resets and boots back into TWRP

any help please?

EDIT: Also dont have any previous versions to test as this is my first time doing this