yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
The only thing I can imagine breaking it on a level of strlen and passing a broken pointer is ICU.

Which locale are you using? If it's not English US, try it and see if it still crashes. This is probably the cause.

Try removing the SIM card before enabling GPS, at least, I don't currently have one.

Try disabling WiFi. In my area no hotspots with weird unicode characters exist, that might not be the case in your area.

Try removing HARRIER patches from /system/etc. The directly patch memory and can be a problematic.

Which root are you using? I remember having some nonsense issues after installing the official LOS root addon, and they went away after reflashing and using SuperSu. But in my case crashes were not limited to GPS, so this is unlikely to be the issue.

It's certainly not something that was introduced by my patches, I'm going to suspect bionic changes influencing the runtime or ICU bugs, but replacing the whole libc will be problematic.

Even though I tested on a clean flash, I'll reflash and test again when I get back home.

Can anyone else provide feedback about my patches? I'd like to know if this is an isolated case or something more global to track down the issue.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] dvdram:
Hello!

Thanks to all of you who are working on getting LineageOS running on more and more devices! :)

The Samsung Tab A is available for a very reasonable price at the moment, and I am in need of a new tablet that's suitable for navigation, but I don't want to run it with all the Google crap and bloatware on it. Therefore I am very interested in this thread. I wouldn't mind buying it now and install LOS as soon as GPS is fixed and running smoothly.

I can see that you are working hard to get GPX fixed, and I appreciate your afford very much. I am not asking you when it will be fixed, I know that this is a silly question. But if you look at your work and the difficulties that you had so far and the one hand, and the device on the other hand, would you say "go and buy it!" or would you rather advice me to choose another device for navigation purpose?

Second question: once it will be ready and pre-alpha status, will your "unofficial" version of LOS 14.1 for this device be available on LOS home page as an official version?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] MrWilsonxD:
I'm kind of in the same boat. I am just looking for a device I can get good battery life with and has an s pen. I have a chromebook plus, and was looking for a smaller counterpart to take with me where I won't need my larger chromebook. And touchwiz, touchwiz is not an option. ?

Has anyone tried flashing this on the s pen model?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Turning off LTE/data stops the crashes, I also ran the crash using the debugger and shows that:

Stack Trace:

RELADDR FUNCTION FILE:LINE

0001881e strlen+22 /proc/self/cwd/bionic/libc/arch-arm/cortex-a15/bionic/strlen.S:75

00050381 __strlen_chk+4 /proc/self/cwd/bionic/libc/bionic/__strlen_chk.cpp:59 (discriminator 1)

v------> strlen /proc/self/cwd/bionic/libc/include/string.h:324

00040a19 __vfprintf+4508 /proc/self/cwd/bionic/libc/upstream-openbsd/lib/libc/stdio/vfprintf.c:885

0004566b vsnprintf+134 /proc/self/cwd/bionic/libc/upstream-openbsd/lib/libc/stdio/vsnprintf.c:61

00045b5d DBGPRINTF+80 /system/lib/hw/gps.default.so

00042fa7 <unknown> /system/lib/hw/gps.default.so

000180ef android::android_location_GnssLocationProvider_agps_data_conn_open(_JNIEnv*, _jobject*, _jstring*, int)+58 /proc/self/cwd/frameworks/base/services/core/jni/com_android_server_location_GnssLocationProvider.cpp:882

011c53bd <unknown> /data/dalvik-c

so it seems to be aGPS related. will need to check spreadtrums drivers to see if I missed something.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Yeah, I was thinking about AGPS too when I was writing about Sim/WFi toggling. I'll try looking closer into DBGPRINTF. If it calls either ICU or not so unicode friendly bionic functions we might have a clue.

By the way, where did you get this driver from? This isn't the official Samsung one as far as I can tell, since the official one is around 3MBs.

If you won't manage to find something, I'll try removing the DBGPRINTF function. We might get lucky.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
I've been collaborating with another developer that was also porting to spreadtrum based devices here:

https://github.com/remilia15/android_vendor_sprd.git

Some of the sources are targeted towards android 6.0.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
That explains it.

I guess we still don't have access to the source, unless I'm missing something.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
We don't have access to the source as packaged for the SM-T285, what we have are sources for other devices that potentially have the same chipset better than nothing I guess.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Got it.

Also, further analysis pretty much confirmed AGPS being at fault. It tries to log down connection type/ssl info/host/port/agps extensions and crashes after that. I'm not sure yet what exactly causes the crash, but if my understanding of how DEBUGPRINTF is working is right, it's pretty much asking for buffer overflows.

I'll figure out a good patching strategy, and then update the repo.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Okay. Updated repo` link_no_longer_active

Please note that this patch is being tested, if you have any issues with it, use gps-dbgprintf.sh tor restore the old version.

@jedld, I don't have a MicroSIM so I can't test this myself, at least this version doesn't introduce regressions on my tablet. This patch has like 70% chance of working out, but if something goes wrong, stack traces are welcome.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Thanks for the update! anyway your patch seems to stop the crashes, though GPS still isn't getting a fix and not seeing any sats, at least for me. So GPS is fully working for you? Could be that I also need to update the radio, which version of stock firmware was . your device initially on?

update: I'll be releasing a new build today with your fixes included and another fix I did for wifi hotspots (needed some kernel features turned on). I guess if GPS works for some users it should be good enough.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
If navigation is your primary purpose, I can't really guarantee that we will be able to completely fix it as we have to deal with sourceless proprietary libraries. That said, if you do decide to buy this device don't use LOS on it yet and stay on stock until we definitively fix this. [MENTION=8205787]Vagr9K[/MENTION] seems to be able to make it work on his device, on mine it can't see satellites, but it could be a region thing.

For your second question, an official version requires that the device specific code changes be merged to official LOS sources , also there must be an active maintainer for this device, both of which I am not ready to commit to. However, I do commit to publishing all of my work on github so that users get to "own" this device. Bloatware is bad but the fact that official stock is still stuck in 5.1.1 is really a shame.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
wifi hotspot feature should be fixed now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Mine came with *I think* 28.12.16 version, but I flashed EUR XEU-T285XXU0AQA4-20170118030406 (Feb 18 version) before trying to fix GPS.

On my end it's fully working, even when I test it inside buildings GPS Locker sees 2-3 satellites and Osmand/GMaps can pinpoint my location pretty easily, but I am not connected to a carrier network, only WiFi.

EDIT:

Here is a program to debug GPS easier` https://github.com/Vagr9K/GPSTester. By default it quits after 10 seconds of received data. If you do get NMEA responses, but applications refuse to give you a GPS FIX, then try toying with gps.conf and adding your regional NTP servers. Otherwise everything is looking good so far.

Overall 9/10 for the current ROM. If you can manage to fix video recording too, then it will be solid 10/10. :D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] dvdram:
[MENTION=649003]jedld[/MENTION]:

Thank you very much for your answer! On the first glimpse it might sound a bit disappointing from my point of view, but it is an honest answer and I appreciate it very much, and on the long run it will keep me from real disappointment! :)

Right now, I will look for some other device that is suitable for my needs. Maybe later, when the "Tablet A" falls under 100 Euro, I will have another look at it. After all, it is a good piece of hardware, and once LOS will run on it, it surely is worth buying.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] acornkenya:
I'm currently located at Thika, Kenya, and using GPS Test, my device detects a maximum of six satellites outdoors and three indoors. Google Maps is working perfectly
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Thanks, I added NTP server settings in gps.conf and mine started to see satellites, seems to be working now though I'm not sure if agps is working. When I do adb logcat -b radio I'm seeing failures attemping to obtain cell tower info list, will see if I can fix that.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] acornkenya:
I found two more issues:

1. The tablet struggles to play the same 1080p videos that were playing just fine on the XTRM version of CM13

2. Device sub-sub-sub-folders are invisible, or blank, when viewed through a computer. I do not experience the same problem with in-device file managers such as ES File Explorer.

3. This has nothing to do with the ROM per se; has anyone managed to get Adaway working?

Update:

I stumbled on a workaround for the ad blocking problem; swapping the default hosts with a modified one. I still haven't found out why Adaway is not working, though
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] acornkenya:
Working like a charm; thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Max123123123:
Hello jedld,

are u thinking of supporting the bigger version of the galaxy tab a 2016? its the Samsung Galaxy Tab A 10.1 (2016).

Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Unfortunately no, The 10.1 is based on the exynos chipset which I don't have experience with, also I don't have access to one. However I've heard you guys already have official 7.0 support so a custom ROM isn't as pressing as we tab a 7" owners.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Max123123123:
[MENTION=649003]jedld[/MENTION] thanks for the reply!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DJThunderGod:
The GPS seems to be working (mostly) here in the UK. The LTE has also been a little jittery at times. Haven't tried the Bluetooth yet, but the only persistent problem I'm having is the "process.android.media has stopped" pop-up that occurs now and again. I'm going to try some of the older fixes, since it might not be the ROM causing this. Should be able to report back later this evening.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] magedy2hm:
Awesome work

Thanks a lot for your amazing job :good: , is this rom better than the stock in battery life ? and does the gps work properly ?

thanks again
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
> s this rom better than the stock in battery life ?

I didn't have time to do a battery test so I can't say for sure. In theory though it should be better as compared to stock 5.1.1, since as of android 6.0+ it features doze mode. Looking at the battery chart the

power usage does indeed to almost flatline if you leave the device alone, so it seems to work.

> and does the gps work properly ?

Seems GPS is working for most users, you should try it out if it works for you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
I haven't tested battery life exactly with the ROM's kernel, but my modified one was consuming 1-2% of battery per 5 min of 720p Youtube playback (5-6 hours of playback), standby time was approximately 250-300 hours (no network).

You can probably expect 4-5 hours of youtube playback like that on the kernel provided by the ROM and 200 hours of standby.

That being said, Shark Evolution is eating 3-4% of battery per 8 min of gameplay.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Battery life should be better once I release my hardware accelerated build. There are just a few minor issues I need to address before I upload it.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Yeah. Gralloc is making things weird. Is there a chance of it solving the Video Recording issue too? Something tells me those issues are connected.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Yes video recording requires hardware accelerated encoding which is not available on the latest build. Unfortunately on my test build with hw acceleration enabled, I broke video recording since I had to use gralloc and mali libraries from a newer spreadtrum source, but at least I fixed h/w decoding which speeds up youtube and other media playback related processes. Not that I use video recording that much on my device since the quality of the camera on the SM-T285 pretty much sucks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Unfortunately broken video recording also breaks things like QR code scanners/Messenger moment functionality/Snapchat/etc. Or, were they only dependent on decoding?

I'll probably have more free time soon and will try helping with that.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] corzradio:
How can I raise the volume? What script can I edit with root explorer?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] joam280:
Is it valid for the t280 version?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
From the OP`
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
No. This is for the T285 only. However, a bit of good news. There appears to be a custom kernel (a version that can boot stock) available for SM-T280 users, though I can't confirm. With that in place a custom rom is not far behind. Do note that the custom boot loader format used by samsung for the SM-T280 makes things rather inconvenient.

https://github.com/USA-RedDragon/gtexswifi.git

http://imgur.com/Fp0EcW0
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
New June 26 build

I have just released a new build for June 26. As usual hit the first post for details and changes.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Substratum OMS builds

Substratum OMS builds are now available. These builds will contain -OMS in its archive name. Note that these builds only adds framework support and patches from https://github.com/LineageOMS to allow rootless support. You will still need to download the substratum app from the play store.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
tweaking values in /system/etc/tiny_hw.xml and/or /system/etc/audio_para is the closest I can think of, other that using mods like Viper Audio and Dolby. I haven't tried it yet though, I'm busy with other aspects of the ROM do inform me if tweaking that file doesn't help and I can explore this a bit further.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vellman:
Gps not work

Hello. At me a question, at all gps on the last lineage for 27.06 works normally? I'm from Ukraine and I catch one satellite and do not connect. Who knows what to do and what's the problem? In gps.config I saw that the region is tuned to North America. Changing the region did not change anything. Who knows what to do?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Unfortunately trying out thing like FasterGPS (it tunes your GPS config) is the best thing I can recommend in this case.

Debugging GPS issues without physically being in that location is hard.

Was it working before, or are you just trying this ROM out?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vellman:
Was it working before, or are you just trying this ROM out?[/QUOTE]

On previous versions of this assembly lineage OS,omnirom, cyanogenmod, too did not work correctly gps. On the stock android 5.1 gps works fine, satellite search and connection is less than a minute, and at least 4 shooters are connected. And on Lineage OS in google maps it does not go along the road, but next, and in Navitel no satellite is fully connected and during the day the night mode is activated, and at night the day mode, which indicates that problems in the firmware are connected with the region. Faster gps, as well as manual editing of the gps.config file with changing the region and other things does not change anything.

Do you have gps working normally?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] alexandru.gavanarescu:
Congrats

I just signed up to tell you guys that i managed to make this 27th of june version work on a tab a6 sm-t285 xxu0aqa4.

I manually flashed boot.img and system.img.

So far I've also had the camera problem.

Installing play store now...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xuanthuong94:
someone help me please!

Maybe I forgot wipe before install.Now my device can not access to any mode.What is solution?:(
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Press and hold Home+Volume Down+Power off buttons until device force restarts. Then quickly press Home+Volume UP+Power to get into recovery mode. Wipe it from there.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] xuanthuong94:
Thank u very much! I resolved it.:)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] corzradio:
I gave tried that...it does change anything or make it louder. Please help
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ZHYK88:
Video recording does not work not with the standard application, not with third-party applications (rocked a few). When setting and setting the alarm - the tablet goes to reboot. Also when working with a standard gallery - also goes to reboot. Gps - works with errors. Really want you to have already completed the firmware at last. There are almost no errors left! keep it up!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ZHYK88:
АНГЛИЙСКИЙ

Still does not adjust the volume of the speaker during a call, also the screen is not blocked during a call and the speakerphone does not turn on + the quiet speaker is external. Android 5.1 was louder. Application "Yandex maps" - jerks 10 seconds at startup
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Sơn Changg:
wow! Thanks jedid!

Please fix: sound. camera and gps:)

sometime i set arlam on google clock.. my phone auto restart...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mazmorbid:
I can't get this ROM to work, I am on CM13 Xtreme Build, did a full wipe, installed via Odin but it sits there at the loading screen for 15 minutes or more :(
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Is it possible for you to provide some details on the steps you took? How did you do a wipe? via TWRP?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mazmorbid:
Yes I did a wipe in TWRP then booted in to download mode, flashed via Odin, once it boots up it just sits there with the boot animation.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mazmorbid:
I've tried 3 different versions all do the same, I even went out for 4 hours and it was still at the loading screen when I came back, is there a step or steps missing in the install instructions ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Which filesystem did you use for /data was it F2FS? Though I've mostly used heimdall for flashing. If it is possible for you to get a logcat it would help me figure what is going on.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mazmorbid:
I'm using F2FS, I tried using Odin 3.10.7 and 3.12.3, I've also updated TWRP from 3.0.2.-1 to 3.1.1-0.

I have even tried going back to the original Samsung firmware and starting from scratch, same thing it just sits there at boot animation for hours :(

All other ROMS, and I mean all lol install fine, I can't figure this out :(

I'll look in to the logcat thing.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Plantnet:
Will it also run on Samsung Galaxy Tab A (2016) sm-T580 ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
No. This is for the T285 only
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] eu.dann23:
Nice work. Installed it today and it works fine. But one small request. In latest revisions of lineage os there is an option to enable on-screen nav bar. Can we get a new version with this option? Thank you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Interesting, I'll rebase with upstream and post a new build.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] eu.dann23:
Thank you. Also I found that I can flash the latest opengapps. I used the one from 22.07.2017. It's not necessary to use older opengapps first.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Thanks for the info. I'll update my post to reflect this.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] eu.dann23:
And I think the bug regarding the crash of tablet when setting an alarm is not present in the latest LineageOS. I also have an Galaxy S6 using LineageOS and I don't have a problem using alarms on device.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Austcool:
Could you make one for the sm-t350 Samsung Galaxy tab A 8.0?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fankoni:
Thanks a lot for your hard work. Installed this a few days back and it's working almost perfectly. Even GPS is working fine. Only two problems so far: camera (expected) and also changing wallpapers seems to trigger a reboot without fail. Just thought that I'd report that.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mazmorbid:
So how are you guys flashing this ROM ? Still not able to get this to work :(
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fankoni:
I flashed from TWRP. First boot took a while (actually thought it was stuck), but worked fine after all.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ovidelu:
How did you flash with twrp? ....this rom force you to use odin....

---------- Post added at 05:57 PM ---------- Previous post was at 05:54 PM ----------

Install twrp, make a nandeoid backup....flash this rom with odin. I have no problem (to mention the gps does not lock the satellites)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fankoni:
Aw yeah sorry, remembered slightly wrong - I actually only flashed the boot partition from TWRP. For the system partition I used Heimdall on Linux. I don't think that any of this is relevant though, flashing from Odin should be totally fine.

You can get to the separate boot and system images by extracting the zip file, and after that, the tar file inside with a file archiver.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mazmorbid:
Well I'm doing a backup in TWRP, then booting to download mode, flashing this ROM via Odin and it just sits there there for 4+ hours on the line with the circle going right to left, I've tried everything, never I have had a problem flashing a ROM before this version.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ovidelu:
Did you wipe everything with twrp before installing the custom rom?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mazmorbid:
Yes many times, I have it working now, I had to change the file system back to ext4 from f2fs, was sure jedld said to use f2fs.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] robdevil:
Can someone tell me what is best GAPPS package for it? I've tried 3 different and it wont let me to login at all. Google servers not available at the moment please try again later.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
There are reports that the latest opengapps should work.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Voodoojonny:
Will it work with sm-t280? Thank you!