yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] myLittleBuns:
Has been a while. Hope everyone is doing well amidst the health crisis we are facing today.

Somehow, I can get a GPS fix on OmniROM 6.0.1 and LineageOS 14.1. I noticed that OmniROM gets a fix much faster than LOS, and tends to be more accurate. I sometimes need to restart the navigation apps on LOS once or twice to get an accurate location, though the painful one or two minute wait only occurs the first time I launch the navigation app. I should say that I have not tested the GPS on OmniROM 7.1.1 and CM.

My setup is as follows:

* using TWRP recovery.img that came with the latest available download for OmniROM 6.0.1

* using the latest LineageOS 14.1 boot.img and system.img by Jedld (this thread)

* used heimdall on the terminal specifically on Ubuntu 19.10 to flash the images (should work in other distros, I should have tested on Arch XD)

Additional info: my tablet was bought in Singapore. I believe that Samsung shipped the same hardware configuration and baseband version of the tablet to the Philippines (where Jedld built his LineageOS) and Singapore, being in the South-East Asia region. (Looking at sfirmware.com, the baseband versions in PH and SG are similar)

I have absolutely no idea if this has got to do with my tablet being able to use its GPS hardware using Jedld's software.

But maybe there are binary blobs that the GPS/GNSS hardware demands in order to work, and that happened to be available in Jedld's kernel or system images?

Again, I have no idea.

UnifiedNlp, which I tested on LOS, certainly does help in acquiring one's location, especially if stationary.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] myLittleBuns:
I should also add that I was able to get OmniROM 6.0.1 and LOS 14.1 to get a GPS fix before installing UnifiedNlp. I use UnifiedNlp specifically to quickly determine my starting location on LOS
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Rutilicus:
Any updated ROM for t280?

Is it too hard to adapt the rom to t280? I want to install the ROM just to use the external memory as internal. That is all from my side in fact.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] steadfasterX:
ok guys, I am leaving this thread.

I had a REALLY hard time to actually make LOS 14.1 boot with cleaned sources.. thought the ramp-up will take a week at most .. but that was way off..

jedld had done several patches within AOSP and I had to find out which are required where etc. the main reason why my build were not booting at all (which is f**** hard to debug without and log and/or adb ) was that one.

But I needed to clean the sources as several parts of these were incredible outdated and so needs to be udpated.

I had spent several more days to cleaning up even more stuff and finally uploaded a test build and opened an own thread for my project:

https://xdaforums.com/galaxy-tab-a/development/rom-samsung-galaxy-tab-7-0-lte-sm-t285-t4076687

feel free to join but read the KNOWN ISSUES topic

carefully

before.

It is still in a very early state and I have tested pretty much nothing else then boot, apps, bluetooth, WiFi :P

.-
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] TheLegendofMario:
port to sm-t280, willing to "loan" device

If any developers in this thread want to port this to the sm-t280, I will gladly work with you and flash stuff to my device and give feedback, logs etc. I will help in anyway for it to come to reality.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] barrie.kenyon:
I will also support any efforts to get an updated ROM onto the T280.

I am no developer but have loaded Cyanogen onto devices in the past.

Any effort to get the T280 upgraded would be much appreciated. There are several people looking for help with this on the T280 Custom ROM Progress forum.

Let me know if I can help.

Barrie
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hacker812c:
Hello my friends

Download this new release Based off on LineageOS 14.1 sources which is based on Nougat 7.1.2 MAR 2020...

https://xdaforums.com/galaxy-tab-a/development/rom-samsung-galaxy-tab-7-0-lte-sm-t285-t4076687

tested in my galaxy tab t285 perfectly, only camera use opencamera is perfectly
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Switcher19:
GPS work around for lineage 14.1-20181017_002644:

GPS prefromance can be drastically improved by using the FasterGPS app.

Go to the advanced settings and tweak " intermediate_pos" and "accuracy_threshold". I think I used 1 and 0 resp. last time. By choosing the right settings the device detects sufficient sat's to work although a little jumpy. Disadvantage: every time you reboot the settings have to be repeated. It should be possible to identify the correct file to edit and make the modifications permanent.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ijlara:
The .zip download link is broken ... Can anyone help and send a link to the file?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] giock:
I need too please

fix or new link
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hotmatua.parulian:
Me too...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fingtest1:
404 Not Found

nginx

cant go to download page
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Ryale:
Cannot download?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] fekido:
the link is broken, can re-new the link, want that's rom
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Abdullahrehman2:
Hi, Thanks for the good work,

I tried the download links but its not working. cant download this rom.

If you guys could share download link for this rom for SM-T285. if any one have backup on google drive or any upload site.

Regards
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] YgorMaron:
For all of you that wanted to download this ROM, XDA's devDB has a backup page, and this one is:

index - powered by h5ai v0.30.0 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.30.0 (https://larsjung.de/h5ai/)

devdb.xda-developers.com

Download the most recent one
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kaishi12:
Zip is corrupted
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] itsfaiez:
Thank you 😍😍😍😍😘
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] l0h:
Gcrutchr,

For those who still want to run the old jedld's ROM, do you mind to share the versions that you keep updating weekly?

Thank you in advance for your time and help!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] l0h:
I have tried to install the latest 20181117 version available at the suggested location and can confirm that following file "https://devdb.xda-developers.com/1/9/1/7/7/LINEAGE-OMS-14.1-20181117-UNOFFICIAL-SMT285-ALPHA.zip" is corrupted.

Anyone here who can point me to a working version, please?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] mrlee21:
Pls new link i get file but corupted...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ishant010301:
I love the lineage os 14.1 but a few apps doesn't seem to be able to access the internet while its still working. Can u please fix this issue as soon as possible.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] TsPcs:
I don't think it's corrupted I had to use the patchEd version of Odin to make it ignore the error it worked
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Samarimama:
Can it works with the acer iconia one 7 (B1-770)

They had the same CPU, GPU, RAM and almost screen resolution.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] User_99:
No, not possible.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Samarimama:
Yeah but, can you guys help me ? I hate that Acer's device don't have custom ROM
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Samarimama:
I already posted a thread of that.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Stranger Absolute:
For the people who are saying that the file is corrupted. Actually it is not! It is not for TWRP, it is for Odin.

You have to unzip the zip file and then flash it on Odin using Windows. And if you don't have a computer, it is not even worth downloading. Only if you have a computer from someone or from your neighbor. Go figure 🤷!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] 6304_tlisw:
Hey guys I think the link for the custom rom no longer works so use this link

LINEAGE-OMS-14.1-20181117-UNOFFICIAL-SMT285-ALPHA.tar.md5

Посмотреть и скачать с Яндекс Диска

disk.yandex.ru

Flash it with Odin in ap slot not twrp
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] pat600:
Will this rom have news soon? Grateful Good job, congratulations.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Finally fixed GPS.

Link to files:

"link_no_longer_active" (I can't post direct links since I need 10 posts for that)

Instructions:

If you are using Linux based OS, then connect your tablet, make sure you gave ADB root permissions and run install.sh.

Otherwise, open install.sh and copy paste ADB commands into your MacOS/Windows terminal.

Explanation of changes (also included in install.sh comments):

# Patched RILD interace (not needed for CM13).
rild.rc # Removes old shims
libril.so # Patched to use old libbinder.so
libbindrr.so # Old libbinder.so renamed
connfwexe # Patched to use old libbinder.so and OpenSSL
libsec-ril.so # Patched to use OpenSSL
libsecril-client.so # Patched to use old libbinder.so

# Patched GNSS driver (common).
gps.default.so # Patched to use OpenSSL
libcc_manager.so # From Stock. Needed for gps.default.so.
libool.so # Renamed OpenSSL (libssl.so)
libcrptoo.so # Renamed OpenSSL (libcrypto.so)
libicuuc.so # ICU56 compiled with missing ICU51 symbols.
libwrappergps.so # Missing in LineageOS 14.1

NOTE, as you might have guessed, this also fixes GPS for CM13 builds, you just don't need the first part of RILD patches, only the GNSS driver.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] marlon1982:
Hi, nice job. congratulations. Is without a doubt the best rom that exists for this device. Congratulations, God bless you
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Echo05:
Where in SystemUI can I find the colors for the brightness slider and notification panel?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
New boot.img and fixes.

Changelist

This boot.img includes new kernel with`

Fix for file list not appearing in apps/terminals.

Updates to stock kernel sources.

CFQ as the default IO schduler since ROW was causing deadlocks and crashes during package installs.

Interactive as the default CPU governor, since sprdemand was causing huge battery life issues.

CPU hotplugging for battery life.

1.5Ghz clock speed. 1.54 was nice but was causing overheating in some cases.

Pretty much all IO schedulers/CPU governors are compiled into the kernel. You can change them after flashing using Kernel Adiutor. The sprd modification of OnDemand governor is disabled because it was somehow causing kernel panic during deep sleep.

Overall, everything works except`

Bluetooth scan

Screen lock buttons

Video recording

Camera in AOSP/Google apps. 3rd party apps like OpenCamera work flawlessly.

I'd suggest trying out the fixed ROM. I'm currently using it as a daily driver. Can't say that everything is super smooth, but lags/crashes are really rare.

Link

"https://drive.google.com/open?" id=link_no_longer_active (need 10 posts to post links, sorry)

@jedld I wouldn't be able to pull this off if you didn't provide an example of a working ROM source code, so thanks to you for that :). Also, my T285 enjoys LOS14 and adoptable storage :D. That being said, if you have time and want to merge patches into your source tree, I can send you detailed instructions on how to do so.

Briefly`

GPS fix patches RIL libraries and gps.default.so to use old libs with different names. gps.default.so's ARM instructions are also patched to skip ABI compatibility checks (forgot to mention that in the original comment).

Kernel patch adds missing 'readdir' function to sdcardfs driver (fs/sdcardfs/file.c). It seems like you removed it by an accident while merging Android M permission system patches.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Thanks! sorry its been a while, I had been very busy recently.

Some notes on pending issues for those who are interested:

bluetooth -

I was able to fix bluetooth in my latest lineage 14.1 build, though I had to port over the bluetooth (libbt) from OmniRom and made some source code tweaks so that LineageOS supports it. So it seems there is a LineageOS/CM specific mods that broke bluetooth on nougat for this device.

screen lock-

I've traced this to the source compiled spreadtrum graphics libs I am using (hwcomposer/gralloc), rolling back to the stock graphics libs does not cause this issue. The screen lock animation must be doing something the newer source from spreadtrum doesn't handle. I'll probably need to rollback the mali kernel space sources as well.

Also you are welcome to submit a pull request for your kernel changes and I will merge them in
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
That's good to know!

I also noticed youtube failing to play 720p60fps videos. Audio plays, but the video playback stops. Might be the fault of gralloc providing insufficient hardware acceleration. I guess we'll know soon.

Done!

As always, thanks for outstanding work :D
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] customrus:
Sorry to ask but will an update come soon? Your ROM is brilliant and thank you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Yeah it's been a while. But I've just released the latest build LINEAGE-14.1-20170528-UNOFFICIAL-SMT285-ALPHA.zip and see if it's feature set works for you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] haroldguz:
Hi

I have a model Samsung Galaxy Tab A 7.0 (2016) SM-T285M, anyone know if this ROM can run on this model?.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] corzradio:
is there a fix...

for the bootloop issues???
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Bootloop?

I have flashed the old version 5-6 times while developing GPS/Kernel fixes, haven't noticed any bootloops.

Have you tried reformatting Data/cleaning Dalwik cache after flashing?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] acornkenya:
The ROM is really good, but sideloading apps won't work, for some reason. Is anyone else experiencing this?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
Haven't encountered bootloops except the one time when I set the alarms. Can you share a logcat output? Note that this ROM isn't meant to be just flashed over an existing installation for now.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] gian20:
Gud PM, I have migrated from CM13 (xtreme build jedld) to this latest build LineageOS-7.1.2.

I have flashed this firmware using heimdall (1.4.1) I compiled (configure,make,makeinstall)from source since my Linux distro's heimdall does not detect my Tab A 4G device.

I have issued the commands:

$ 7z x LINEAGE-14.1-20170528-UNOFFICIAL-SMT285-ALPHA.zip

$ tar xvf LINEAGE-14.1-20170528-UNOFFICIAL-SMT285-ALPHA.tar.md5

$ sudo heimdall flash --KERNEL boot.img

$ sudo heimdall flash --RECOVERY recovery.img

$ sudo heimdall flash --SYSTEM system.img

Now I have not reformatted the Data partition so my old apps from the CM13 is still installed.

The filesystem is F2FS. I cannot enable the Root access via the Developer Settings the only option available in there is, 'Allow Root Access to Adb or Disabled'

is there any option to enable root for the apps since I have many apps running on root like the AFwall, Xash3d etc.

The video recording function of the Camera does not seem to work,

I am using the Open Camera from F-Droid and Focal, the video cam stills and then the file is never saved.

I haven't tried the GPS if it is fixed. Another thing,

When I go to Recovery mode (Home + Vol Up + Power), I tried to Backup the data partition but the size shows 0, and it seems that the recovery (TWRP 3.0.2.1-ashyx) cannot read the data partition so I cannot backup the current data partition, it cannot even detect or mount the microSD, I am not using any Encrtyption on my adnroid since it does not work.

Should I Wipe my data partition to reinitialize everything from scratch?

My issues:

-video recording does not work even on 3rd party apps

-twrp recovery cannot read microSD and data partition

-root access not enabled on apps

Thanks
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
I can't help currently with video recording, but I must add that it also breaks apps like messenger (no ability to create pictures), and barcode scanners.

This ROM doesn't come with root LOS module preinstalled, you will either need to get it from https://download.lineageos.org/extras (addonsu) for CM13 like root, or install 3rd party ones like Magisk(preferred if you want to use banking apps/Snapchat) or SuperSU.

I'm also using F2FS and TWRP works with it. But, I do remember not flashing recovery.img to preserve the old TWRP (there are 2 versions, F2FS and non-F2FS ones). Probably reflashing the latest F2FS TWRP will fix it.

I'd also recommend wiping out your Data and Cache partitions, since in 99% of cases it will create a conflict.

I'm not sure about GPS, since patch notes don't mention anything and I don't have access to my dev machine to test it myself. But, if it's not fixed use https://xdaforums.com/showpost.php?p=71999226&postcount=42.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] gian20:
RE

I am going to find a F2FS TWRP or just switch to EXT4 filesystem, does EXT4 be better support? since I use in on my GNU/Linux machines.

I will also try to Wipe the Data and Cache later
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
I wouldn't say that EXT4 is better supported, at least from kernel perspective you shouldn't have issues after the latest patches. And pretty much every prebuilt linux kernel coming with a distro supports F2FS (which you probably won't be directly reading from NAND storage anyways, MTP driver is what matters here). It's also quite faster then EXT4 when it comes to NAND storage.

I don't see technical reasons to switch, even though you can probably say that EXT4 is somewhat more stable.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] gian20:
[MENTION=8205787]Vagr9K[/MENTION] I have downloaded and flashed the TWRP which supports F2FS, now I am going to try to Wipe data/cache partition
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
I guess that's a start :)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] gian20:
I have wiped Data and reinstalled my apps, flashed a F2FS TWRP. The only issues are:

-Video Recording (I don't actually need it)

-ADB does not seem to work?

user@debian:~/twrp$ adb devices

List of devices attached

????????????	no permissions

I am currently short on USB Port so it may be an issue?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
You probably need to authorize your machine on the device. It should pop out an authorization dialog when you insert the usb after enabling developer mode.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
apks that I've downloaded seems to work fine for me
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] acornkenya:
The issue sorted itself out a couple of minutes after the device completed booting. I re-flashed the ROM yesterday, and the problem did not re-occur, so it seems like it was some sort of one-off bug.

The Wifi hotspot feature is not working, and the scrolling performance feels a smidgen worse than that of the XTRM version of CM13.

In general, though, this is really, really good, particularly considering that it's an alpha-stage build. I'm immensely grateful to you, [MENTION=8205787]Vagr9K[/MENTION], and everyone else who made this possible.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
I only had scroll performance issues with the Pixel Launcher. Try setting animation time to 0.5x from Developer Settings. Apps and scrolling will feel much smoother (pixel launcher included). Strictly speaking, this is not a performance improvement, but still a nice reduction of jerkiness.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] corzradio:
Quick question...in this newest build, does GPS work? Or can we get it to work?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
I've tried to incorporate the fixes by [MENTION=8205787]Vagr9K[/MENTION] , unfortunately it does not work on this build, I haven't tested if it worked on the previous builds though.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
Huh, interesting.

I still haven't tried this build due to being busy, but will probably check it out today.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
So, about the GPS.

Somehow GPS interface init with callbacks fails again. Last time, disabling ABI alignment checks for GpsCallbacks structure in gps.default.so worked.

I have no idea how long fixing this again will take since it will involve low level debugging again.

Update:

The fail is happening in SCSCSllInit in gps.default.so. Debugging this function will take a lot of time. Last time I got lucky and fixed the issue here by accident (by using 1.8MB gps.default.so instead of "new" 3MB gps.default.so).

Update 2:

Seems like I managed to fix it.

I'll release the patch after some better testing with real apps.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Vagr9K:
OK.

Good news`

Driver is now loading and reporting that everything is fine. Apparently it was missing gnss_cfg.xml in /etc.

Patch` link_no_longer_active

Update: Added another commit to fix missing lock. Apparently one of the memory patches was missing too, or, at least I got better results with it.

@jedld can you upload all your changes to github by any chance? I'll try proposing a PR for vendor and device trees. I'd also appreciate if you could update your patches for LOS tree so I can compile the ROM myself.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jedld:
For me turning on GPS causes a crash:

06-03 09:24:59.562 15531 15531 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

06-03 09:24:59.562 15531 15531 F DEBUG : LineageOS Version: '14.1-20170602-UNOFFICIAL-gtexslte'

06-03 09:24:59.562 15531 15531 F DEBUG : Build fingerprint: 'samsung/lineage_gtexslte/gtexslte:7.1.2/N2G47O/64fcfb7531:userdebug/test-keys'

06-03 09:24:59.563 15531 15531 F DEBUG : Revision: '0'

06-03 09:24:59.563 15531 15531 F DEBUG : ABI: 'arm'

06-03 09:24:59.563 15531 15531 F DEBUG : pid: 13801, tid: 13847, name: android.bg >>> system_server <<<

06-03 09:24:59.563 15531 15531 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1

06-03 09:24:59.563 15531 15531 F DEBUG : r0 00000001 r1 00000001 r2 00000053 r3 00000007

06-03 09:24:59.563 15531 15531 F DEBUG : r4 ffffffff r5 00000003 r6 00000000 r7 00000001

06-03 09:24:59.563 15531 15531 F DEBUG : r8 ffffffff r9 00000032 sl 9a18162e fp 9fd39940

06-03 09:24:59.563 15531 15531 F DEBUG : ip 80000000 sp 9fd39740 lr b67d1385 pc b679981e cpsr a00f0030

06-03 09:24:59.576 15531 15531 F DEBUG :

06-03 09:24:59.576 15531 15531 F DEBUG : backtrace:

06-03 09:24:59.576 15531 15531 F DEBUG : #00 pc 0001881e /system/lib/libc.so (strlen+21)

06-03 09:24:59.576 15531 15531 F DEBUG : #01 pc 00050381 /system/lib/libc.so (__strlen_chk+4)

06-03 09:24:59.576 15531 15531 F DEBUG : #02 pc 00040a19 /system/lib/libc.so (__vfprintf+4508)

06-03 09:24:59.576 15531 15531 F DEBUG : #03 pc 0004566b /system/lib/libc.so (vsnprintf+134)

06-03 09:24:59.577 15531 15531 F DEBUG : #04 pc 00045b5d /system/lib/hw/gps.default.so (DBGPRINTF+80)

06-03 09:24:59.577 15531 15531 F DEBUG : #05 pc 00042fa7 /system/lib/hw/gps.default.so

06-03 09:24:59.577 15531 15531 F DEBUG : #06 pc 000180ef /system/lib/libandroid_servers.so

06-03 09:24:59.577 15531 15531 F DEBUG : #07 pc 011c53bd /data/dalvik-cache/arm/system@framework@services.jar@classes.dex (o

not sure what is going on here though. I used your latest scripts to patch my image.