yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S Android Development] ROM_gamer987:
https://realmeme.realmemecloud.workers.dev/0:/fpltest
[Galaxy Tab S Android Development] hossputer7:
Very nice.thx bro .

but I cannot find volume icon in here

If can show in new version .

And now can install google paly ?

Before install go twrp3.7 then install it
[Galaxy Tab S Android Development] hossputer7:
Android 12 its beautiful . t805
[Galaxy Tab S Android Development] Akhil99:
android_device_samsung_k3gxx/hal/fingerprint/fingerprint.c at cm-14.1 · VDavid003/android_device_samsung_k3gxx

Contribute to VDavid003/android_device_samsung_k3gxx development by creating an account on GitHub.

github.com

Can you change this TAG value from 1 to 0 and log again? It tells the HAL to log in verbose mode.

I'm seeing scsFalconCal.c in logs, never seen that in my S5 logs.
[Galaxy Tab S Android Development] ROM_gamer987:
I don't think it helped much but here's the logs: https://realmeme.realmemecloud.workers.dev/0:/fpverboselogs

Edit: This might have some better logs: https://realmeme.realmemecloud.workers.dev/0:/t2
[Galaxy Tab S Android Development] ROM_gamer987:
Hi keep in mind that this is an alpha build and as stated in post a few things are still broken, As for Gapps you can try NikGapps https://sourceforge.net/projects/nikgapps/files/Releases/NikGapps-S/, Not sure what you mean by volume icon
[Galaxy Tab S Android Development] garak elim:
Now you have my xda profile
[Galaxy Tab S Android Development] LuckyTheCoder:
Is it possible to develop a port of Lineage 19.1 for the SM-T700? It's strikingly similar to this model.
[Galaxy Tab S Android Development] ROM_gamer987:
It's possible, but i don't own the device so it would be hard to test
[Galaxy Tab S Android Development] ROM_gamer987:
Thanks, will add to the credits
[Galaxy Tab S Android Development] LuckyTheCoder:
I'm more than willing to volunteer for testing.
[Galaxy Tab S Android Development] garak elim:
In my chagallwifi 19.1 build gps work just fine since august last year.

fixed in https://github.com/elim-garak-dev/a...mmit/156d62aebe1b914eb73bee77a975ff64a3c7b334
[Galaxy Tab S Android Development] ROM_gamer987:
My trees do have that fix and yet gps does not work

Edit: These are the errors when using your T800 blobs: https://nekobin.com/wowuduwoge
[Galaxy Tab S Android Development] garak elim:
try this

gps version change to the lto2.dat files · elim-garak-dev/android_device_samsung_universal5420-common@2077d84

came from stock samsung firmware with updated gpsd Change-Id: Ia667b1bc3ce9d05e3c7ed08c320b2e247d350bca

github.com

there was update from samsung, this blobs you have to take from newest chagalllte

Update to T800OXA1CVG1 · elim-garak-dev/android_vendor_samsung_chagallwifi@5a2d200

According to changelog the stability has been improved. Change-Id: Ic7296a402dcfad61aa31d331c15748a358ca1807

github.com
[Galaxy Tab S Android Development] garak elim:
have you merged this?

https://review.lineageos.org/c/LineageOS/android_device_samsung_slsi_sepolicy/+/335203
[Galaxy Tab S Android Development] ROM_gamer987:
I have, trying to build not with the v4 lto2.dat
[Galaxy Tab S Android Development] ROM_gamer987:
didn't work
[Galaxy Tab S Android Development] garak elim:
what have you in your roomservice?
[Galaxy Tab S Android Development] garak elim:
this is my candidat for fix gps. Try to revert this

universal5420-common: Disable FDE · davigamer987/universal5420-common@64a4bc8

Android T removed support for fde Compiler will also complain and stop with error.

github.com

maybe this issue is related

https://review.lineageos.org/c/LineageOS/android_device_samsung_universal7580-common/+/321187
[Galaxy Tab S Android Development] ROM_gamer987:
Android 13 removed FDE, i am on android 13, so i can't enable it
[Galaxy Tab S Android Development] ROM_gamer987:
04-25 17:41:55.819 0 0 E [B2: init: 1] init: createProcessGroup(1021, 7683) failed for service 'gpsd': No such file or directory and

gpsd: 8532] binder: 8532:8532 ioctl 40046210 be91cad8 returned -22

Probably is the issue i think ( Updated with blobs from latest T805 fw )

Full Logs With T805 GPS Blobs: https://realmeme.realmemecloud.workers.dev/0:/loggygps2
[Galaxy Tab S Android Development] garak elim:
I think LOS19.1 is android 12.1
[Galaxy Tab S Android Development] garak elim:
this have too and gps works
[Galaxy Tab S Android Development] garak elim:
instal this on LOS19.1 and test gps if works

GPS Test - Apps on Google Play

Get GPS and sensor information all in one place with an accessible format

play.google.com
[Galaxy Tab S Android Development] ROM_gamer987:
This is an LOS 20 build, i have not updated the post to los 20 yet, so yes FDE has to be disabled
[Galaxy Tab S Android Development] ROM_gamer987:
That's what i'm using and it says no fix, Also RIL is not working and i'm not sure if gps is dependent on that
[Galaxy Tab S Android Development] garak elim:
Please update page to LOS20, you are confusing people.
[Galaxy Tab S Android Development] bluess57:
@ROM_gamer987 Whilst your enthusiam for building ROM 19/20 is good,

you will be better off concentrating on 19 and getting features like RIL & gpsd working there, since they work on 18.1

Leave 20 till later as it's still fairly new and legacy devices encounter all sorts of weird breakages and workarounds to get them working.
[Galaxy Tab S Android Development] bluess57:
BTW,

For GPS , I'm not sure where/how it's used atm

but there is a GPS certificate file gps.cer (it's a X.509 cert) that you should extract from the last Samsung firmware from the /bin directory.

The gps.xml file in the device tree - device/samsung/chagallwifi/configs/gps/gps.xml

references this setting->

SuplTlsCertPath="/system/bin/gps.cer"

At an outside guess it may be required to allow downloading from some glpals.com site... or maybe it does nothing.
[Galaxy Tab S Android Development] ROM_gamer987:
I didn't because i wanted to fix the issues first, but i'll update it

Edit: Updated to LOS 20
[Galaxy Tab S Android Development] ROM_gamer987:
Honestly los 20 didn't require any big workarounds and seeing as the same things were broken in 19.1 i don't think it's any harder to fix on los 20, So for now i'd rather just get los 20
[Galaxy Tab S Android Development] ROM_gamer987:
I did copy the latest gps cert along with the updated blobs
[Galaxy Tab S Android Development] ROM_gamer987:
Did you get this error? It's very weird that it worked on your 19.1 build but it's not working in my los 20 and 19.1 builds (i did try in 19.1 and it didn't work)

E gpsd : ASSERT in GlGpsdInterface.cpp:1193: Abnormal GlEngine stop. ASIC (47531) communication failure during stage "HAL init"#ERR1

RILD also has this error:

rild: 10055] binder: 10055:10055 ioctl 40046210 bee1ccc0 returned -22

As for fingerprint i got no idea why it's not working even with the oss Hal, It's giving no obvious errors in logs

(I'm also building for chagallwifi so maybe if you can test and see if gps works there)
[Galaxy Tab S Android Development] zboq:
I have a T800 and already successfully tested LOS18 for Bluess57, so If You want, I can install it on my device and report back.
[Galaxy Tab S Android Development] LuckyTheCoder:
Perhaps klimtwifi next? I'd be open to testing.
[Galaxy Tab S Android Development] bluess57:
For gpsd ,

The assert error I suspect is the source of the problem.

you sure its not just weak satellite signals?, and the first time running the gps test program can take some time to obtain a signal lock.

Also I suggest running strace against it capturing what its doing, may give some clue.

After that your into some hard work using gdb/gdbserver and debugging it trying to find the problem
[Galaxy Tab S Android Development] ROM_gamer987:
I was outside for about 30 mins and it didn't get a signal, so yeah it's broken. I'll try and debug whatever's happening but i feel like it's something simple i missed as it works on elim's chagallwifi 19.1 build
[Galaxy Tab S Android Development] ROM_gamer987:
Yeah I'll try to build for it
[Galaxy Tab S Android Development] ROM_gamer987:
https://realmeme.realmemecloud.work....0-20230426-UNOFFICIAL-chagallwifi.zip?a=view Test if it boots (You will need to wipe data when upgrading from los 18.1, If it boots try gps using gps test app) Also you need to flash gapps
[Galaxy Tab S Android Development] LuckyTheCoder:
Sick, can't wait to see!
[Galaxy Tab S Android Development] bluess57:
So if I've done this correctly,

The RIL ioctl

decimal 40046210

Decodes as below

binary 0010 0110 0011 0000 1110 1000 0010

_IO macro no parameters (bits 31-30)

size of arguments (bits 29-16) = 99

ascii 0x0E (bits 15-8)

function # 130 (bits 7-0)

So may be worth searching the kernel code for variations of below, should be some driver code

_IO(0x0E, 130,

_IO(0x0E, 0x82
[Galaxy Tab S Android Development] ROM_gamer987:
Hm, i couldn't find anything, but again i might be doing something wrong
[Galaxy Tab S Android Development] garak elim:
Here is my chagallwifi Los19.1 build for testing. To find something that helps

lineage-19.1-20230425-UNOFFICIAL-chagallwifi.zip

drive.google.com
[Galaxy Tab S Android Development] ROM_gamer987:
I'll try it (maybe it boots on chagalllte idk), also i got it to say emergency calls only instead of no service, not sure if ril is working though as it won't show imei
[Galaxy Tab S Android Development] ROM_gamer987:
Ok i'm a bit confused now, i download the firmware for the T805C (Which is my model) And it has no gpsd or libsec-ril i could find

Also, i think i fixed ril by using patchelf to use libcutils v29 on libsec-ril, But that seems to have broken gpsd with:}

F linker : CANNOT LINK EXECUTABLE "/vendor/bin/gpsd": "/system/vendor/lib/libsec-ril.so" loaded phdr 0xab68a034 not in loadable segment
[Galaxy Tab S Android Development] zboq:
So, I tried Your rom, it doesn't boot. Have You implemented the missing IR code ?.

I've notice that buttons leds are getting lit at some point of booting and then i think it starts all over.
[Galaxy Tab S Android Development] zboq:
Your build boots :cool:
[Galaxy Tab S Android Development] ROM_gamer987:
Hi, can you take an adb logcat?, you might need to push your adb keys. from twrp run adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys or adb push C:\Users\%PutHereYourUsername%\.android\adbkey.pub /data/misc/adb/adb_keys on windows
[Galaxy Tab S Android Development] zboq:
I'm not that very familiar with adb, but i can do what i did for bluess57, I can install it over los19 without wipe and take a logcat using pc and cable. Will that do the trick ?

Also it is late here in poland and tommorow i will not be available. If there is no one to help You, I will get back to You on saturday, is it ok ?
[Galaxy Tab S Android Development] ROM_gamer987:
yeah sure that works
[Galaxy Tab S Android Development] ROM_gamer987:
@bluess57 I got gps almost working, It's trying to load the gps.xml

04-27 20:13:34.839 6310 6310 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6310 (gpsd), pid 6310 (gpsd)

04-27 20:13:35.406 6322 6322 F DEBUG : Cmdline: /vendor/bin/gpsd -c /vendor/etc/gps.xml

Full Logs at: https://realmeme.realmemecloud.workers.dev/0:/gpslogsnew

I had to use multiple protobuf versions to get it to not error out with a symbol lookup error, and the cause of it being dead before was because the libsec-ril i was using was outdated
[Galaxy Tab S Android Development] ymlik:
Hi ROM_gamer987

I tested your rom for T800. It starts fine, I installed BiTGApps-arm-13.0.0-v2.0-CORE, it's ok.

I installed the GPS test application and it works (GNSS status 3DFix, accuracy 16).

Thank you for this rom.
[Galaxy Tab S Android Development] hossputer7:
Hi thx bro for go android 13

For example in android 10 and ... In ( avigation Drawer or Sliding Menu) we have icon volume for incrace Volume or go vibrate and ... (upload pic down) but I can't find this icon volume in Android 13
[Galaxy Tab S Android Development] hossputer7:
Plz install this room with new twrp only 3.7.0.90

Download twrp-3.7.0_9-0-chagalllte.img.tar

Download page for twrp-3.7.0_9-0-chagalllte.img.tar

dl.twrp.me
[Galaxy Tab S Android Development] bluess57:
That log shows problems still with libprotobuf-cpp-full-v28.so , so I assume that's what you patchelf'ed the gpsd with ?

Bottom of log - > "Could not find 'android.hardware.radio@1.0::IRadio/slot1' for ctl.interface_start"

Does your chagalllte manifest.xml have:-

<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IRadio</name>
<instance>slot1</instance>
</interface>
<interface>
<name>ISap</name>
<instance>slot1</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.radio.deprecated</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOemHook</name>
<instance>slot1</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.radio.config</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IRadioConfig</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
[Galaxy Tab S Android Development] zboq:
How is that possible ?. I wiped boot, system, data, cache and art and it didn't boot. Have You done something else ?
[Galaxy Tab S Android Development] ROM_gamer987:
If you get me logs I'll see why it's not booting
[Galaxy Tab S Android Development] ROM_gamer987:
I'll try that, interesting that someone said it works on the T800
[Galaxy Tab S Android Development] ymlik:
no, i used TWRP 3.7.0_9-0, i formatted the data.

then I installed the ROM and BitGAPPS and rebooted. Nothing more.
[Galaxy Tab S Android Development] ROM_gamer987:
Also i had to use v29 and v28 + a shim i found on gh to get it to not error with cannot locate symbol
[Galaxy Tab S Android Development] Penguin76:
I can confirm the ROM booting up successfully and working on the T800. I flashed the ROM with the latest official TWRP build from twrp.me. For flashing GApps, I chose MindTheGapps A13. It didn't work while flashing from TWRP as it threw an error saying that it cannot mount /mnt/system. I've then tried to flash the LOS recovery image from the LOS 20 build, but TWRP as well as Odin said that the recovery image is too big and can't fit on the recovery partition. I've then extracted the recovery image from the LOS 19.1 build, and it flashed fine and GApps also flashed through that recovery. Everything works as well as GPS, below I attached two screenshots of the build.
[Galaxy Tab S Android Development] ROM_gamer987:
Weird, i was able to flash from TWRP without any issue, I'll try to fix recovery later
[Galaxy Tab S Android Development] ROM_gamer987:
I added android.hardware.radio.deprecated and it still crashes with the exact same error, again it works on chagallwifi, rild is also giving the same error
[Galaxy Tab S Android Development] bluess57:
MindtheGapps doesn't like the tabs whitespace in the fstab mount file, hence it throws error could not mount /mnt/system

@ROM_gamer987 can update the fstab file

Or

You can fix the script inside MindtheGapps .zip

There's a thread on xda about it
[Galaxy Tab S Android Development] bluess57:
Chagallwifi doesn't use rild, it doesn't have the hardware.

I'll need to take a look at your source repos
[Galaxy Tab S Android Development] bluess57:
Don't bother with lineageos recovery

1. The ui experience is terrible

2. Its too big to fit the recovery partition last I knew (well in 18.1 its too big)
[Galaxy Tab S Android Development] ROM_gamer987:
I mean gps works on wifi model, i think that the LTE model gpsd blob is dependant on libsec-ril and the wifi one isn't
[Galaxy Tab S Android Development] ROM_gamer987:
I can probably fix it by removing some unneeded drivers and other stuff
[Galaxy Tab S Android Development] bluess57:
Have you set the ril/gps shims in the BoardConfig.mk for chagalllte ?

Shims are a kinda messy by the looks of the exynos5420 source tree

There's 2 shim libraries required.

1. to fix the clib string strdup8to16 issue for ril library - I've called mine libcutils and lives in chagalllte source tree

2. for gps to fix getSensorList. This is libshim_gps in the universal5420-common - libshim_gps

So the BoardConfig.mk

# Shims
TARGET_LD_SHIM_LIBS += \
/vendor/bin/gpsd|/vendor/lib/libshim_gps.so \
/vendor/lib/libsec-ril.so|libcutils_shim.so
[Galaxy Tab S Android Development] ROM_gamer987:
Both of those are there and yet without any libprotobuf patching rild and gpsd will error out with symbol errors

These are the ones i added for libsec-ril:

❯ patchelf --print-needed libsec-ril.so

libprotobuf-cpp-shim.so

libprotobuf-old-lite.so (Yes this is being copied) (according to the gh commit it's v28)
[Galaxy Tab S Android Development] bluess57:
Yes RIL/gpsd require both patching for libprotobuf and shims

What patchelf program did you use ? There have been issues with some versions
[Galaxy Tab S Android Development] ROM_gamer987:
Arch Linux - patchelf 0.18.0-1 (x86_64)

archlinux.org

Also it seems now i'm back to "No Service" From "Emergency Calls Only", rild looks fine
[Galaxy Tab S Android Development] bluess57:
The source android tree has it

try patchelf-0_9 from android/lineage-18.1/prebuilts/extract-tools/linux-x86/bin
[Galaxy Tab S Android Development] ROM_gamer987:
Error messages changed a bit now, might be an improvement?

E gpsd_d : CustomerModule::OnMessage: un-handled message id(10) detected. It is possible of version mismatch in gpsd-libgps.

gpsd: 5299] audit: rate limit exceeded

gpsd: 5425] binder: 5425:5425 ioctl 40046210 beee3ad8 returned -22

Edit: nvm, this error is still there

ASSERT in GlGpsdInterface.cpp:1193: Abnormal GlEngine stop. ASIC (47531) communication failure during stage "HAL init"#ERR1
[Galaxy Tab S Android Development] ROM_gamer987:
also added chagallwifi build to the thread/post
[Galaxy Tab S Android Development] garak elim:
add to bugs aggressive lowmemorykiller too
[Galaxy Tab S Android Development] ROM_gamer987:
How would i fix this?
[Galaxy Tab S Android Development] garak elim:
I don't know. It very challenging.

More here.

https://xdaforums.com/t/rom-unoffic...sm-t805-chagalllte-beta.4512951/post-88024115
[Galaxy Tab S Android Development] Manao90:
Low memory killer daemon | Android Open Source Project

source.android.com

Maybe this gives a hint

Sorry not right version
[Galaxy Tab S Android Development] ROM_gamer987:
Added to the post
[Galaxy Tab S Android Development] hossputer7:
For me play store dont download anything but load menu perfect in play store.

But very nice .

4:20
[Galaxy Tab S Android Development] hossputer7:
Pending ....
[Galaxy Tab S Android Development] bluess57:
Low memory pressure killer, I think really involves a kernel upgrade. There are back port patches mentioned in AOSP articles.

Unfortunately these can't just be easily incorporated into our old kernel.
[Galaxy Tab S Android Development] ROM_gamer987:
Try with NikGapps, it works for me
[Galaxy Tab S Android Development] hossputer7:
4g its work in t805?

For me dosnt work
[Galaxy Tab S Android Development] bluess57:
Read post #1
[Galaxy Tab S Android Development] Penguin76:
Does NikGapps support 32 bit arm? I looked through their SF page and I can only find arm64 builds
[Galaxy Tab S Android Development] ROM_gamer987:
The arm64 one works
[Galaxy Tab S Android Development] zboq:
Ok, So after someone said that Your build works, I've decided to try all over from scratch. I've wipe partitions and formated data separately. After that, did a reboot to recovery again and then installed Your build and it booted. So something went wrong with the first flash.

Update:

Installed NikGapps Core and getting "pending" when I try to download anything. Any idea how to fix this ?
[Galaxy Tab S Android Development] ROM_gamer987:
Nikgapps works for me with latest T build on the LTE build, Try using another Gapps package or use aurora store as a workaround
[Galaxy Tab S Android Development] pzduz:
Is it possible for you to build for klimtlte (sm-t705) also
[Galaxy Tab S Android Development] Reshan Kariyawasam:
Thank bro for the amazing build. However I am facing media playback issue. sound quality is poor and hearing crackling and humming sounds during playing.
[Galaxy Tab S Android Development] ROM_gamer987:
Pretty sure that's also an issue with los 18.1, the speakers are not very good
[Galaxy Tab S Android Development] Quidam67:
Thanks for releasing this ROM. the SM-T800 has such a stunningly beautiful display, that it's a crime not to keep using it for general media consumption. this is especially true for me as I am visually impaired, so a large dark high contrast splay really helps a lot.

I encountered a few minor glitches while going through the initial setup process, such as The onboard keyboard not switching back to text when I was entering my Wi-fi password, but I still managed to get everything set up, And for the most part it's working just great.

Again, thanks for keeping the device alive.

ps. are you intending to release any further updates? Just asking so I know whether or not to check back periodically. Cheers
[Galaxy Tab S Android Development] Quidam67:
Hi. I found this package which I used on my Nexus 7. it also worked for this rom. have copied it to my Google Drive linkhere. note it says it is 12.1 but installed fine for android 13.
[Galaxy Tab S Android Development] Reshan Kariyawasam:
These issues occurred while I was playing with music with headset. I think something is not right with the audio. Sounds are unclear
[Galaxy Tab S Android Development] ROM_gamer987:
I'll try to fix it next update
[Galaxy Tab S Android Development] zboq:
I've installed the rom again from scratch and installed nikgapps right after that and this time everything works.

Tested gps and also works.
[Galaxy Tab S Android Development] Reshan Kariyawasam:
Appreciate your efforts for making this old device usable in 2023. Thanks again 😍
[Galaxy Tab S Android Development] ROM_gamer987:
Realmeme Cloud

realmeme.realmemecloud.workers.dev

Please try this, LOS 20 for T705
[Galaxy Tab S Android Development] guobailin:
Can't open the network link? Are there any other links?
[Galaxy Tab S Android Development] Carlo Borbor:
Hi, I tried this rom for my T705 but it didn't boot, it is stuck in lineage booting animation I waited almos an hour but still not booting
[Galaxy Tab S Android Development] ROM_gamer987:
I'll need an adb logcat to fix this, on a windows computer run (With adb installed):

Run this with device in twrp with data mounted

adb push C:\Users\%PutHereYourUsername%\.android\adbkey.pub /data/misc/adb/adb_keys

then do adb logcat when it's on the bootanimation and upload it here
[Galaxy Tab S Android Development] ROM_gamer987:
Thanks, I'll try to fix these errors and build again
[Galaxy Tab S Android Development] ROM_gamer987:
Please try this new build, Should now boot: https://realmeme.realmemecloud.workers.dev/0:/lineage-20.0-20230513-UNOFFICIAL-klimtlte.zip
[Galaxy Tab S Android Development] notso0verrated:
Still bootlooping, After a few minutes the screen brightness goes down and it reboots, and does that over and over and over.

ADB Logcat doesn't work
[Galaxy Tab S Android Development] ROM_gamer987:
I'll do an eng build tomorrow so you can take logcat
[Galaxy Tab S Android Development] garak elim:
I think you need something like this

https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/349386
[Galaxy Tab S Android Development] ROM_gamer987:
Already picked that
[Galaxy Tab S Android Development] ROM_gamer987:
Here: https://realmeme.realmemecloud.workers.dev/0:/lineage-20.0-20230517-UNOFFICIAL-klimtlte.zip

This one will allow you to take a logcat, ideally send the file not a screenshot
[Galaxy Tab S Android Development] Zakaria2328:
Will you try and improve the original ROM for the T800, or is it done? If I can help in any way then I'd by happy to
[Galaxy Tab S Android Development] ROM_gamer987:
i'll probably update to a newer security patch at some point, for now the T800 build is working pretty well though (GPS works and no RIL to worry about), as for the T805 i really don't know how to fix gpsd/rild

I also don't know why fingerprint isn't working with the oss fp hal
[Galaxy Tab S Android Development] notso0verrated:
It won't bootit bootloops on samsung galaxy tab s splash