[UNOFFICIAL][ROM]BETA LineageOS 18.1 for Galaxy Tab A [SM-T550] June 10, 2023 - Samsung Galaxy Tab A series ROMs, Kernels, Recover

PLEASE BEFORE YOU decide to try this rom, you MUST read all of post 1, 2, 3 and 4 (about 10 minute read). If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.
I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this rom.
BACKUP YOUR DATA AND OLD rom BEFORE trying my rom.
If you are NOT an expert in using fastboot, adb, odin, heimdall, twrp, DO NOT use this rom. You must know how to use these tools to revert back to your old rom.
If you are new to flashing custom roms, do NOT attempt this.
If you need your tablet for work and something important, do NOT flash this rom. This rom could result in a bricked device or boot loop or non booting device or you not being able to revert back to your old rom.
What works
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. audio over bluetooth
8. selinux enforcing
Thanks
1. LineageOS team for source code.
2. Pre alpha testers for the Samsung Tab A/E roms who provided valuable feedback: lpedia, Schaagi, katochwa, Henrick Grimler
3. Huge thanks to Henrick Grimler https://github.com/Grimler91 for helping me reproduce a major bug in 18.1 which led me to find a solution. Henrick also helped fine tune some of the sepolicy as well.
4. Sebastiano Barezzi https://github.com/SebaUbuntu for giving the msm8916 repo some 18.1 code updates in March 2021.
5. Exynos5420 team for sharing it's knowledge in building roms.
6. msm8916 team for their repos.
7. aala27 for the device trees. He was nice enough to share his work so my build is based on his 17.1 with some minor changes.

FAQ - I spent hundreds of hours building this rom. It was frustrating process from Nov 2020 to March 2021 running into bug after bug. The least you can do is spend a few minutes reading everything before posting.
Q1. Where are the source and kernel source files?
A1. The kernel source files are at
GitHub - Galaxy-MSM8916/android_kernel_samsung_msm8916: MSM8916/MSM8929/MSM8939 kernel for Samsung devices.
MSM8916/MSM8929/MSM8939 kernel for Samsung devices. - GitHub - Galaxy-MSM8916/android_kernel_samsung_msm8916: MSM8916/MSM8929/MSM8939 kernel for Samsung devices.
github.com
The device tree files are at
GitHub - retiredtab/android_device_samsung_msm8916-common: Common MSM8916 tree for Samsung devices
Common MSM8916 tree for Samsung devices. Contribute to retiredtab/android_device_samsung_msm8916-common development by creating an account on GitHub.
github.com
GitHub - retiredtab/android_device_samsung_gt510wifi
Contribute to retiredtab/android_device_samsung_gt510wifi development by creating an account on GitHub.
github.com
GitHub - retiredtab/device_samsung_gte-common at lineage-18.1
Contribute to retiredtab/device_samsung_gte-common development by creating an account on GitHub.
github.com
The vendor tree files are at
GitHub - retiredtab/vendor_samsung_msm8916-common
Contribute to retiredtab/vendor_samsung_msm8916-common development by creating an account on GitHub.
github.com
GitHub - retiredtab/android_vendor_samsung_gt510wifi
Contribute to retiredtab/android_vendor_samsung_gt510wifi development by creating an account on GitHub.
github.com
In addition, there is a repo diff file for device specific tweaks needed to work and a roomservice.xml (local manifest file) file so you can build this rom yourself.
Q2. Is this BETA rom suitable as a daily driver?
A2. It can be depending on your requirements. I can't test every app so you try it yourself to see if it's suitable. I've been using this rom myself since mid March 2021 with no major issues.
Q3. What if my app, xyz, doesn't work?
A3. I won't answer questions regarding why your app doesn't work. If your app, whatever it is, doesn't work, then go back to your old rom. It's difficult enough building and maintaining these roms. Remember, I'm an unpaid volunteer making a rom for free for your benefit.
Q4. Your rom is laggy and buggy.
A4. If you find the above, then go back to your old rom. There's only so much software can do on a 2015 budget level tablet. Remember a budget tablet will have the slower SoC/CPU and less DRAM than a top of the line model. Your tablet will also run slower when you use gapps (google apps). You can run a lot of software without using gapps. Research fdroid, newpipe, Aurora store etc.
Q5. What TWRP should I use?
A5. You MUST use TWRP 3.5.2_9-0. Get it at.
Download TWRP for gt510wifi
Download TWRP Open Recovery for gt510wifi
dl.twrp.me
Q6. Why should I use this rom?
A6. You don't. If you don't like this rom, then don't use it. Yes, it's that simple.
Q7. Will you offer monthly updates with security patches?
A7. I will try to offer monthly security patches, but that all depends on if I continue to have high speed Internet in the future.
Q8. Can you help me? I'm a newbie. Can you provide step by step instructions?
A8. Do your own research. There are lots of tutorials, videos, etc on how to flash roms. Newbie questions must be posted in the Questions and Answers forum, not here.
Q9. Can I report a bug with respect to the rom?
A9. Yes, but you need to supply the following information. If you don't, I won't look at it.
You must provide an adb logcat of the problem and tell me how to reproduce it. Note I will not be downloading any apps that require money or an userid/password. For example, if you have problems with Netflix, I cannot help you since I don't have a paid subscription. If you use some app that requires an userid/password, I cannot help you as I'm not willing to create another userid/password even if it's free.
To get a logcat, open up a terminal window.
Code:
# clear the logcat first
adb logcat -c
# start logcat trace
adb logcat > problem.txt
# reproduce problem
# wait until problem has occured, then stop trace by hitting ctrl-c
Q10. Will you still build 17.1 for this device?
A10. Yes, for now, but I will probably discontinue building 17.1 at the end of 2021. I will likely be trying to build 19.0 once it's released so I don't want to maintain 3 releases.
Q11. Do I need to erase everything and format my data?
A11. Yes, you MUST erase all the partitions (system, data, dalvik/art cache, cache) using TWRP and MUST format your data before installing 18.1 when you are coming from stock or an earlier version of LineageOS or from another custom rom. If you get stuck at the boot animation for more than 5 minutes, it's likely because you didn't follow the instructions I just wrote. Dirty flashes from stock, other custom roms or older LineageOS versions are not supported and not likely to work.
Q12. What gapps should I use?
A12. I don't use gapps anymore. I use Aurora Store. As of Nov 6, 2021, I no longer make recommendations on which gapps to use as your mileage may vary. It's reported that opengapps does no testing on their daily builds and some version results in bootloops, bitgapps may run out of disk space will installing apps and Mindthegapps as causing overall slowdown of the system.
The only recommendation I can make is to use the SMALLEST version of gapps which is PICO or equivalent naming convention. DO NOT use anything other than PICO. That is, do not use nano, mini, stock, etc.
If you are going to install gapps, flash the rom first, reboot into system/OS, reboot to recovery, flash gapps, reboot into system/OS. That is, do not flash/install the rom and gapps at the same time.
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I will not answer any questions regarding gapps. This thread is about the rom, not gapps and I don't use gapps so I cannot help you. Android does not depend on gapps in order to work.
Q14. Why isn't my post answered?
A14. It's probably because it's answered in the FAQ or not relevant to the rom. Again, I do not run Windows OS or use gapps. Questions already answered in the FAQ will be completely ignored.
Q15. Can I turn off the on screen navigation keys?
A15. To turn off on screen navigation, go to settings, system, advanced, gestures, system navigation, gesture navigation. It's enabled by default because I find it useful. If you don't like it, you only need to disable once and your preference will be remembered. If you want to invert the onscreen keys, goto settings, system, buttons and enable invert layout
Q16. What speed up/optimization tips do you suggest?
A16.
1. Turn off animations. Go into developer settings, scroll down to the drawing section, and set window, transition and animator scale all to "off".
2. If you don't have a google account, don't install gapps. Use Aurora Store to get your apps as you can get all the same apps from the play store using an anonymous login.
3. Dont' run more than 2 apps at the same time. You can probably listen to music in the background and use a web browser at the same time, but don't expect great performance from a 2015 entry level tablet.
4. Use a web browser like Brave that has built in adblock and privacy features.
5. Use newpipe to watch your streaming content. It has built in adblock so you don't have to watch forced ads.
6. Look for apps that are open source, ad free and lightweight.
Q17. Does this rom support Magisk?
A17. I don't use Magisk myself so I don't know and Magisk is always being updated to fool Google's certification process. Others have reported Magisk as working, but I won't answer any questions regarding it.
Q18. Will this rom ever become official?
A18. Never. I don't want the responsibilities that come with being an official maintainer. In addition, I know my device trees, code organization and git commits will NOT meet LineageOS standards. Remember, I'm an unpaid volunteer doing this in my free time and sharing my work with you for free so you can get hundreds of hours of enjoyment from this tablet.
Q19. What is the difference between this rom and others?
A19. This rom tries to be pure LineageOS with little to no modifications. Other roms may have different UI, different bundled apps, etc. Use whatever meets your requirements.
Q20. Will there be any major 18.1 code modifications in the future?
A20. I don't anticipate any major modifications. There may be some slight tweaking to the sepolicy, small bug fixes and minor code cleanup, but all the hard work in getting the rom up and running and fixing all the major bugs have been done completed. This doesn't mean the code is perfect or well organized, but I won't be doing any major changes now that 18.1 is working. Any major changes will be done in 19.0.
Q21. Why did you fork the device and vendor trees for 18.1?
A21. The msm8916 repos seem geared towards phones and sometimes do not work or cause boot animation loops for tablets so I decided to fork their repos. In other words, what's deemed as msm8916-common code isn't common to all devices.
In addition, since I'm building SM-T350, SM-T550, SM-P550 and SM-T560NU (all use the same msm8916 code), it seems easier to maintain all of them if I can control my own code repos and not worry if my changes affects the phones or not. I still have not figured out the best way to manage all my repos and it's a work in progress.
Q22. Can you build a variant of this device? For example, a LTE or S-pen version.
A22. If I don't physically have the device, I cannot and will not build it unless I can boot and test it myself. Even then, there's no guarantee that I can get those variant features working.
Q23. Can I load this rom on a variant devivce like LTE or S-pen version?
A23. The rom is built for the device explicitly listed. If you are an advanced user and understand TWRP, adb, odin, heimdall, you can try loading it on a LTE or S-pen variant by modifying the updater-script, but it may cause a bricked device, bootloops or non functionality of LTE/S-pen. You have been informed and warned!
Q24. Will this run on the SM-T555?
A24. No. Someone has tried and it will result in a bootloop.
Q25. Why are you releasing a ROM for a tablet that you do not own?
A25. I don't own the SM-T550, but have the SM-P550. I also build roms for the SM-T350 and SM-T560NU. All these platforms use the same msm8916 code base. As such, all my work from the SM-T350, SM-T560NU and SM-P550 could possibly benefit SM-T550 users. For one P550 owner, there are probably twenty T550 owners.
The T550 rom does boot and run on my P550, but the x-axis is mapped backwards.
Q26. Okay, I understand the consequences and that this is BETA rom and willing to take the risks outlined, now where can I find the rom?
A26. Downloads are at
retiredtab - Browse /SM-T550/18.1 at SourceForge.net
sourceforge.net

NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
June 10, 2023 release notes
1. June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-06
2. Whatever LiineageOS changed since last May release (about 5,600 files had to be recompiled).
May 8, 2023 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-05
2. Whatever LiineageOS changed since last Apr release (about 7,400 files had to be recompiled).
Apr 15, 2023 release notes
1. Apr 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-04
2. Whatever LiineageOS changed since last Mar release (about 28,000 files had to be recompiled).
March 21, 2023 release notes
1. Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-03
2. Whatever LiineageOS changed since last Feb release (about 22,500 files had to be recompiled).
Feb 12, 2023 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-02
2. Whatever LiineageOS changed since last Jan release (about 12,500 files had to be recompiled).
Jan 8, 2023 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-01
2. Whatever LiineageOS changed since last Dec release (about 4,500 files had to be recompiled).
Dec 10, 2022 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-12
2. Whatever LiineageOS changed since last Nov release (about 5,000 files had to be recompiled).
Nov 13, 2022 release notes
1. Nov 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-11
2. Whatever LiineageOS changed since last Oct release (about 5,000 files had to be recompiled).
Oct 7, 2022 release notes
1. Oct 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-10
2. Whatever LineageOS changed since last Sept release (about 5,500 files had to be recompiled).
Sept 12, 2022 release notes
1. Sept 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-09
2. Whatever LineageOS changed since last Aug release (about 12,500 files had to be recompiled).
Aug 5, 2022 release notes
1. Aug 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-08
2. Whatever LineageOS changed since last July release (about 4,000 files had to be recompiled).
3. Fix stock camera issue where preview is not shown after first picture is taken. See
https://github.com/retiredtab/andro...mmit/425e3ab707bed49a0209ddb885de0de0cf04fe57
July 9, 2022 release notes
1. July 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-07
2. Whatever LineageOS changed since last June release (about 1,900 files had to be recompiled).
June 12, 2022 release notes
1. June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-06
2. Whatever LineageOS changed since last May release (about 9,000 files had to be recompiled).
May 7, 2022 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-05
2. Whatever LineageOS changed since last April release (about 4,200 files had to be recompiled).
April 11, 2022 release notes
1. April 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-04
2. Whatever LineageOS changed since last March release (about 11,000 files had to be recompiled).
Mar 13, 2022 release notes
1. Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-03
2. Whatever LineageOS changed since last Feb release (about 5,700 files had to be recompiled).
Feb 12, 2022 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-02
2. Whatever LineageOS changed since last January release (about 34,500 files had to be recompiled).
Jan 20, 2022 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-01
2. Whatever LineageOS changed since last December release (about 9,600 files had to be recompiled).
Dec 11 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2021-12
2. Whatever LineageOS changed since last November release (about 11,000 files had to be recompiled).
Nov 8 release notes
1. Nov 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/318560
2. Whatever LineageOS changed since last Oct release (about 7,200 files had to be recompiled). One of these changes has removed the built in terminal program from LineageOS as AOSP deprecated this app as per https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/304043
Oct 10 release notes
1. Oct 1 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/317001
2. Added https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/316839 to fix landscape mode system UI. This patch is not yet officially merged as of Oct 10 release.
3. Whatever LiineageOS changed since last September release (about 6,100 files had to be recompiled).
Sept 9 release notes
1. Reverted the patch to https://github.com/retiredtab/andro...mmit/a32c7a0bed536281d20b7c1cf8d41c84a268cc80
Removing systemUI from pinner services causes a 4 to 6 delay in bringing up the home screen. This is seen when loading or playing a game for about 20 minutes and then either hitting the recents or home button. By reverting this commit, pressing recents or home button brings up the systemUI right away.
2. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/315661
3. Whatever LiineageOS changed since last August release (about 7,000 files had to be recompiled).
Aug 8 release notes
1. Fix battery status icon. When you plug in AC adapter, settings, battery does not show it charging even though it is. This is due to the sepolicy being too restrictive. I added https://github.com/retiredtab/msm89...mmit/c1eca9f7740b6a384d4fab8a1e8d812f59c17a99
2. Aug 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/314477
3. Whatever LiineageOS changed since last July release (about 11,500 files had to be recompiled).
July 10 release notes
1. Initial public release to XDA. This is an ALPHA build.
2. July 5 security patches as per https://review.lineageos.org/q/topic:"android-11.0.0_r39"+(statuspen OR status:merged)
3. Small bug in settings, battery where the charging lightning symbol is not displayed when AC adapter is plugged in. This will be fixed in the August security patches.

Reserved.

I've succesfully flashed this ROM on my T550, with Bitgapps flashed separately. The x-axis is indeed mapped backwards.
Hence not able to complete the setup. So I switched back.

jfora said:
The x-axis is indeed mapped backwards.
Click to expand...
Click to collapse
That's weird. The x-axis shouldn't be backwards. I had someone test this build before I released it. @Schaagi, can you confirm my July 10 build works correctly on your T550 regarding the x-axis.
In addition, while I don't have the T550, I have the P550 and the two are almost the same except for the reversed x-axis and s-pen. So when I uploaded the T550 image, I tested it on my P550 and everything works except the x-axis is reversed on my P550. That's how I know it works on the T550.
In fact, I just loaded now the T550 image on my P550 and it works as expected.

jfora said:
I've succesfully flashed this ROM on my T550
Click to expand...
Click to collapse
What is the file name that you are flashing?

lineage-18.1-20210709-UNOFFICIAL-gt5note10wifi

Ah, I didn't see the other file:
lineage-18.1-20210710-UNOFFICIAL-gt510wifi.zip
My bad, I'll try this july 10 version!

jfora said:
lineage-18.1-20210710-UNOFFICIAL-gt510wifi.zip
Click to expand...
Click to collapse
gt5note10wifi = P550
gt510wifi = T550

jfora said:
Ah, I didn't see the other file:
lineage-18.1-20210710-UNOFFICIAL-gt510wifi.zip
My bad, I'll try this july 10 version!
Click to expand...
Click to collapse
Just flashed this ROM without bitgapps, and I can confirm it works like you mentioned, e.g. wihout the x-axis reversed!

retiredtab said:
That's weird. The x-axis shouldn't be backwards. I had someone test this build before I released it. @Schaagi, can you confirm my July 10 build works correctly on your T550 regarding the x-axis.
In addition, while I don't have the T550, I have the P550 and the two are almost the same except for the reversed x-axis and s-pen. So when I uploaded the T550 image, I tested it on my P550 and everything works except the x-axis is reversed on my P550. That's how I know it works on the T550.
In fact, I just loaded now the T550 image on my P550 and it works as expected.
Click to expand...
Click to collapse
I can confirm, that on my T550 I have no problem with the X-axis.
Schaagi

Schaagi said:
I can confirm, that on my T550 I have no problem with the X-axis.
Schaagi
Click to expand...
Click to collapse
@Schaagi, Thanks for confirming. It turns out jfora used the wrong rom.
Normally, the updater-script would catch that and not let the user flash the incorrect rom, but I added P550 and T550 into the script so that I could switch between the two without having to modify the script on my P550 when testing T550 images. For a while, my P550 was being identified as a T550, I think because I was using a T550 TWRP. However, now I built a proper P550 TWRP for myself.

So far no problems or limitations with this ROM. I use this tab as my daily driver. I've also installed bitgapps.
Thanks for providing this!
Only question is whether I can choose to reboot into recovery. I'm missing that option.

jfora said:
Only question is whether I can choose to reboot into recovery. I'm missing that option.
Click to expand...
Click to collapse
It's been removed from Developer options to settings, system, advanced, gestures, power menu, advanced restart. When you enable that, it will then show power, restart, a choice of system, recovery or download mode.
Or if you are hooked up to a computer, type in
Code:
adb reboot recovery

Darn, I was just going to bed when your message popped up. So as I mentioned, I build 18.1 SM-T350, SM-T550, SM-T560NU and SM-P550. I have been using 18.1 on SM-T350, SM-T560NU and SM-P550 since around late March 2021 before I posted my builds here. I can assure you I have that I have charged all 3 at least once since late March.
So I took at look at all 3 devices and you are correct in that there is no indication in the battery settings that it is charging on AC. So I took a look at the log and I found
Code:
$ adb pull /sys/fs/selinux/policy && adb logcat -b all -d | audit2allow -p policy
#============= hal_health_default ==============
allow hal_health_default sysfs_charger:dir search;
What the above means is that I need to write a sepolicy to allow the OS to look at the battery charger directory probably for it's status. Because it can't currently look, it can't show the correct status.
While writing and researching this in the last 10 minutes or so my P550 has gained from 69 to 71% on AC charger even though the battery settings doesn't show it.
So I will write the above sepolicy sometime tomorrow and may have to write more after some testing. If it works, then I will put that into the August security patch build. In addition, I will write it as part of the FAQ/notes so people aren't surprised until.
Thanks for finding this bug.

So if you plug in your T550, look at the battery percentage. Leave it alone charging and then come back 30 minutes later and it should have gained something. That indicates it's working.

Okay, I wrote the sepolicies and they work on my P550 so they should work on the T550. The fix will be incorporated into the August security patches.
The fix is documented at
sepolicy: Allow hal_health_default sysfs_charger to read battery stat… · retiredtab/[email protected]
…us so OS can properly display AC charger status Adding these 2 policies so OS can display AC charger status properly when AC adapter is plugged in.
github.com

trying to install lineage to sm-t550, i run autoroot then install twrp, then go into twrp and get error 7 or error 1?​

New build called lineage-18.1-20210808-UNOFFICIAL-gt510wifi.zip
Aug 8 release notes
1. Fix battery status icon. When you plug in AC adapter, settings, battery does not show it charging even though it is. This is due to the sepolicy being too restrictive. I added https://github.com/retiredtab/msm89...mmit/c1eca9f7740b6a384d4fab8a1e8d812f59c17a99
2. Aug 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/314477
3. Whatever LiineageOS changed since last July release (about 11,500 files had to be recompiled).
4. 18.1 continues to be my daily driver since March 2021.

Related

[UNOFFICIAL][ROM] LineageOS 17.1 for Galaxy Tab A 9.7[SM-P550]

NOTE: There is no S-pen support. If you need S-pen, DO NOT USE THIS ROM.
I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this ROM.
Try this build at your own risk. It's likely to have bugs and is EXPERIMENTAL as it is a work in progress. It boots and seems to work fine on my SM-P550, but I have only tested it for 24 hours. Problems will likley surface later?
I'm posting the rom to get more testers and help fixing the bugs.
BACKUP YOUR FILES and have a copy of your working image BEFORE trying my build.
What works.
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. camera
8. touchscreen X-axis works properly
9. Google play store - use pico apps
10. Flip flap smart cover
Note: first initial boot takes a bit longer, roughly 36 right to left circle animations or 1 minute 40 seconds without gapps. After that, it boots quicker.
Known problems.
1. The stock Jelly browser crashes a lot. Use a different browser. There's lots of better options that are more stable and reliable than the built in Jelly browser.
2. Home screen text may look fuzzy.
Text on home screen looks funny/fuzzy. This only seems to affect the home screen and nowhere else. I have seen the same problem on the SM-T350, SM-T560NU, SM-P550 and Nexus 7 2013.
Problem is with stock trebuchet launcher and/or its fonts. I tried rootless pixel launcher from fdroid as a quick and simple test and see no problems with home screen text. Rootless pixel uses a different font though. A future lineageos update could resolve the problem?
3. Lineageos FM Radio app does not work.
FM Radio also requires the tablet to have the LTE chipset which the S550 lacks.
Thanks/Credits
Thanks to @virsys for the SM-T550 build. The T550 is essentially the same as the P550, but without the S-pen support. I used his github repos at
https://github.com/VirsysElectron
The T550 code at https://github.com/Galaxy-MSM8916 compiles without errors, but crashes at the boot logo.
Virsys repos no longer work for 16.0 as of Oct 2020. I switched to https://github.com/aala27. @aala27 was nice enough to share his work so my build is based on his 17.1 with some minor changes.
Thanks to @nubianprince and @lividhen99 for ideas and suggestions on fixing the incorrect lcd density issue.
FAQ - I spent hundreds of hours building this rom. The least you can do is spend a few minutes reading everything before posting.
Q1) Does the build work on xyz?
A1) I have no idea. I only have the SM-P550.
One user reported that this rom causes a boot loop on the SM-P555. So if you have this tablet and want to try this rom, just be prepared to revert your changes. According to this post by virsys
https://forum.xda-developers.com/ga...50-sm-t555-t3779257/post78327523#post78327523
"You have to use a different kernel config for the SM-T555. The versions here are compiled for the SM-T550 variant and will never work on a SM-T555 properly."
With the above, I can only assume that also applies to the P550 and P555.
Q2) Application xyz doesnt' work. Can you fix it?
A2) I only fix what I use. If you use app xyz and it doesn't work, then go back to the last rom that worked for you.
Q3) My tablet hangs or crashes with this rom. This build is slow and buggy. Can you fix it?
A3) Go back to the last working stable rom for you. This is a work in progress and will have bugs and frequent changes.
Q4) Do you plan to update the rom?
A4) Yes as long as I have high speed Internet, I wil try to release the rom monthly to incorporate the security patches.
Q5) Do you plan to add S-pen?
A5) I don't use the S-pen, but if the code is easy to add and you can tell me where and how to add, I can try. You must provide a github repo and example code on how to add it. I will not answer any requests for S-pen support unless you can show code and repos. If it's too complex, I won't do it and since this is all open source, you are welcome to add it yourself, just like how I fixed the inverted X-axis.
Update Jan 14, 2021.
The S-pen code is highly unstable as it changes 40 or more kernel parameters. While the S-pen works, the tablet randomly reboots so I will not release any rom with S-pen. I spent several weeks trying to troubleshoot the problem, but it's too hard to narrow down the problem.
Q6) Will there be a 17.1 release?
A6) Virsys' github has some 17.1 repos so I will try at some point in the future. No promises. I already built a beta SM-T350, the little brother to the T550, and it took a long time to work out all the bugs in 17.1. 16.0 should be more stable than 17.1 at this point in time.
Q7) Can I turn off the on screen navigation keys?
A7) To turn off on screen navigation, go to settings, system, advanced, gestures, system navigation, gesture navigation.
Q8) How did you fix the inverted X-axis.
A8) For those who don't know, some of the T550 ROMs do boot and work on the P550, but without the S-pen. HOWEVER, the X-axis is reversed. You can read here on my initial testing.
https://forum.xda-developers.com/showpost.php?p=79018037&postcount=108
After some research, it wasn't that hard, but finding the right touchscreen driver and learning how the input system worked took a couple of days. Basically, you look at the kernel defconfig file and look for the CONFIG_TOUCHSCREEN setting. That will tell you what driver it's using.
kernel/samsung/msm8916/arch/arm/configs/msm8916_sec_gt510wifi_eur_defconfig
CONFIG_TOUCHSCREEN_ATMEL_MXT1664T=y
Then you look in the kernel/samsung/msm8916/drivers/input/touchscreen directory to find the correct driver.
The screen resolution of the P550 is 1024x768. For some reason, the current code thinks its 1024x1024 below. 1024x4=4096. It's numbered 0 to 4095. So the ABS_MT_POSITION_X is 4095.
Code:
$ adb shell
gt510wifi:/ $ getevent -lp /dev/input/event1
add device 1: /dev/input/event1
name: "sec_touchscreen"
events:
KEY (0001): KEY_BACK 00fb 00fd 00fe
BTN_TOOL_FINGER BTN_TOUCH
ABS (0003): ABS_MT_SLOT : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
ABS_MT_TOUCH_MAJOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_TOUCH_MINOR : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_X : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
ABS_MT_POSITION_Y : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0
ABS_MT_TRACKING_ID : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
003e : value 0, min 0, max 1, fuzz 0, flat 0, resolution 0
LED (0011): LED_MISC
input props:
INPUT_PROP_DIRECT
gt510wifi:/ $
The code to fix the inverted X-axis is easy. It's one line. Just 4095 minus the current x-axis position. However, if I can fix the code so it recognizes the tablet correctly as 1024x768, then 4095 changes to 3071 (768 x 4 = 3072).
Code:
project kernel/samsung/msm8916/
diff --git a/drivers/input/touchscreen/mxt_t/mxtt.c b/drivers/input/touchscreen/mxt_t/mxtt.c
index 2e0a3fa0fa7..39e8eccabc9 100644
--- a/drivers/input/touchscreen/mxt_t/mxtt.c
+++ b/drivers/input/touchscreen/mxt_t/mxtt.c
@@ -671,7 +671,7 @@ static void mxt_report_input_data(struct mxt_data *data)
input_mt_report_slot_state(data->input_dev,
MT_TOOL_FINGER, true);
input_report_abs(data->input_dev, ABS_MT_POSITION_X,
- data->fingers[i].x);
+ 4095-data->fingers[i].x);
input_report_abs(data->input_dev, ABS_MT_POSITION_Y,
data->fingers[i].y);
Update Nov 9, 2020. I found out later that if the wacom s-pen driver can be implemented reliably, the above patch is not required. That is, the wacom s-pen driver maps the x-axis correctly. Currently, I cannot make a reliable build with the 16.0 or 17.1 code without random reboots when the wacom driver is included. Even without the wacom driver, I'm having problems making a reliable 16.0 and 17.1 rom after the Sept 23, 2020 release.
Q9) Can I build this rom? Where are the kernel source files? I have included the roomservice.xml and repo diff as well.
A9) The kernel source files are at
Samsung MSM8916 Devices
Samsung MSM8916 Devices has 68 repositories available. Follow their code on GitHub.
github.com
aala27 - Repositories
aala27 has 7 repositories available. Follow their code on GitHub.
github.com
Q10) What TWRP should I use?
A10) Use 3.5.2_9 from
retiredtab - Browse /SM-P550/TWRP at SourceForge.net
sourceforge.net
Q11) Where can I download this rom?
A11) 2020 16.0 BETA builds are at
https://androidfilehost.com/?w=files&flid=317066
2021 17.1 BETA builds are at
retiredtab - Browse /SM-P550/17.1 at SourceForge.net
sourceforge.net
TODO
1. Clean up the roomservice.xml so it's easier to read. Done
2. Try lineageos recovery image to see if X-axis is mapped correctly.
3. Fix huge screen problem at bootup.
4. Documentation for myself to help with possible future 17.1 and 18.0 builds. Done.
5. Look at possibility of making a P550 specific TWRP. Tried, too hard to do atm.
6. Look at possibility of adding S-pen support IF there is existing repo and working code. Tried. Too hard to do.
7. The proper code name of the P550 is gt5note10wifi. I may change around the directory names and repos to reflect that. Done.
8. Fork or mirror virsys repos in case they are deleted. Done.
9. Build userdebug release instead of eng release. Eng only used for testing. Done
10. Look at ifdef code to see if one rom image can work for both P550 and T550. I now keep P550 and T550 on separate hard drives.
Dec 14, 2021 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:Q_asb_2021-12
2. Whatever LiineageOS changed since last November release (about 4,400 files had to be recompiled).
Nov 8, 2021 release notes
1. Nov 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/318647
2. Whatever LiineageOS changed since last October release (about 5,100 files had to be recompiled).
Oct 10, 2021 release notes
1. Oct 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/317410
2. Whatever LiineageOS changed since last Sept release (about 4,200 files had to be recompiled).
Sept 17, 2021 release notes
1. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/316083
2. Whatever LiineageOS changed since last August release (about 49,500 files had to be recompiled).
Aug 7, 2021 release notes
1. August 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/314572
2. Whatever LiineageOS changed since last July release (about 5000 files had to be recompiled).
July 12, 2021 release notes
1. July 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/313448
2. Whatever LiineageOS changed since last June release (about 4500 files had to be recompiled).
June 15, 2021 release notes
1. June 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/312240
2. Whatever LiineageOS changed since last May release.
May 9, 2021 release notes
1. May 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/309564
2. Whatever LiineageOS changed since last April release.
April 11, 2021 release notes
1. April 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/307454
2. Whatever LiineageOS changed since last March release. Nearly 59,000 out of the 70,000 files had to be recompiled due to the last set of changes.
March 7, 2021 release notes
1. Mar 5 security patches.
2. Whatever LiineageOS changed since last February release.
3. audio over bluetooth fixed. I had to use the [email protected] hal.
Feb 15, 2021 release notes
1. Feb 5 security patches
2. Whatever LiineageOS changed since last January release.
Jan 14, 2021 release
- Jan 5 security patches
- based code on aala27 repos since virsys 17.1 repo never worked for me
- initial BETA 17.1 release, 16.0 doesn't boot properly anymore
Sept 23 release
- Sept 5 security patches
- added onscreen navigation buttons
Sept 10 beta release
- initial 16.0 release for testing and help fixing bugs
- CPU and GPU overclocked to 1.6Ghz and 650 respectively
- based on virsys SM-T550 github repos
- fixed X-axis inverted for P550
- incoporates Aug 5, 2020 security update. Sept 5 patches wasn't available when I built the rom.
- Sept 10 beta release will be removed once I get all the bugs fixed
Thanks OP, works great so far, gave a new life to my device
installed via adb or by odin?
OMG Thanks a lot for this OP. I do use S-Pen however my device reboots randomly and frequently while on stock rom rendering it almost unusable, I am more than willing to sacrifice the pen in favor of stability. I will test it out and provide any feedback or address bugs if any.
Once again thanks for this, P550 seemed like a forgotten device.
Severongas said:
I do use S-Pen however my device reboots randomly and frequently while on stock rom rendering it almost unusable
Click to expand...
Click to collapse
If your tablet operated perfectly when it was brand new with no random reboots on stock rom, it could be your battery is dying if you used it heavily for almost 4 to 5 years?
When the battery degrades, it can't provide enough "juice" or amps when needed for heavy CPU tasks and this could cause it to randomly reboot. Alternatively, sometimes cleaning and reseating the battery connector might help as well?
See
https://www.ifixit.com/Guide/Samsung+Galaxy+Tab+A+9.7++Battery+Replacement/88890
retiredtab said:
If your tablet operated perfectly when it was brand new with no random reboots on stock rom, it could be your battery is dying if you used it heavily for almost 4 to 5 years?
When the battery degrades, it can't provide enough "juice" or amps when needed for heavy CPU tasks and this could cause it to randomly reboot. Alternatively, sometimes cleaning and reseating the battery connector might help as well?
See
https://www.ifixit.com/Guide/Samsung+Galaxy+Tab+A+9.7++Battery+Replacement/88890
Click to expand...
Click to collapse
That's the thing, other than it being 3-4 years old now it was mainly used by my son to browse YouTube, not even playing. So it's use was very low.
Recalling, I did had it running on 6.0.1 stock, then updated to Fenix Rom and some time later upgraded to 7.1.1 stock using Odin, that is when this started happening.
Update on your modded Rom, it has been running flawlessly since yesterday, only issue was when after flashing GApps Pixel Launcher crashed 5-10 secs after opening app drawer, however this was later fixed after updating to latest version of all apps.
Not a single random reboot and I can finally start using it once again! Thanks a lot for your work on this.
Severongas said:
now it was mainly used by my son to browse YouTube, not even playing.
Click to expand...
Click to collapse
If youtube is the primary use, check out youtube vanced (no ads) and microg.
With the combo above, you do NOT need to install gapps of any kind. That way, your tablet will use less memory and less software.
https://vanced.app/
https://microg.org/
For pixel launcher, you can find it at fdroid.org instead of play store.
https://f-droid.org/en/packages/amirz.rootless.nexuslauncher/
The above is how I have one tablet setup. It works fine for me, but I can't guarantee that it will meet your requirements.
Sept 23 build up. See post #4 for changes.
Having an issue flashing
i left it running for an hour and a half after flash and it keep just sitting on the boot animation. Restarted and same outcome. I tried flashing both ways, however i can't get it to boot for some reason. I did wipe data before i flashed, could that be the issue?
CW_texashack said:
i left it running for an hour and a half after flash and it keep just sitting on the boot animation.
Click to expand...
Click to collapse
If you are using twrp to flash, I suggest wipe, advanced wipe, check dalvik/art cache, data, internal storage, cache and system. Then install rom zip (both work on my P550 tablet). After install rom zip, then use twrp to wipe, format data.
If using lineageos recovery, click factory reset, choose wipe data/factory reset, then wipe cache, then wipe system. Do each wipe twice. Then adb sideload the rom.
PS. I'm using my P550 to view your message with the latest Sept 23 rom so I know it boots on mine. I test all my roms that I upload to make sure it boots on my tablet and for the functionality that I put in post #1. I never shared untested roms.
Thank you, I'll try this out.
I wasn't trying to say it was your fault or anything, I'm 99.9% sure it's my fault. I just thought maybe you had an idea what may be causing it to stick for me. It's obvious it's working fine as there's plenty other replies saying it works as well.
Hey @retiredtab,
I was working on getting RR rom on this tab and managed to get the S-Pen to work in portrait mode a few months ago (In landscape mode, I believe the axes are swapped and inverted which I have not been able to fix). I have just uploaded the kernel source that I was using to get this to work, which might be of interest to you.
https://github.com/aala27/samsung_P550_Kernel.git
I have used the following defconfig files in BoardConfig.mk:
Code:
TARGET_KERNEL_VARIANT_CONFIG := p550_defconfig
TARGET_KERNEL_CONFIG := common_defconfig
TARGET_KERNEL_SELINUX_CONFIG := selinux_p550_defconfig
TARGET_KERNEL_SELINUX_LOG_CONFIG := selinux_log_defconfig
Hope this helps.
Also note I am working on getting RR 8 (Android 10) on this tab. Managed to get it to boot but I am unable to get the audio to work from the loudspeakers
aala27 said:
I was working on getting RR rom on this tab and managed to get the S-Pen to work in portrait mode a few months ago (In landscape mode, I believe the axes are swapped and inverted which I have not been able to fix). I have just uploaded the kernel source that I was using to get this to work, which might be of interest to you.
Also note I am working on getting RR 8 (Android 10) on this tab. Managed to get it to boot but I am unable to get the audio to work from the loudspeakers
Click to expand...
Click to collapse
@aala27, thanks for your post and sharing your code. Can you post your RR s-pen rom somewhere so I can download it and test it with the s-pen. I never used it on this tablet and want to see how it works.
I will download your code and have a look. Where do you get the s-pen code?
I tried compiling virsys Android 10 code, but I get stuck at a bootloop. I have been trying for weeks to figure out the problem, but no success so far. I know he has a working build dated June 2020, but his github repo only goes to March 2020 so it might not be updated with all the necesssary fixes?
If you want help fixing the audio on your 10 build, can you upload the rom so I can look at logcats?
Thanks.
@aala27, I was able to build your kernel and get the same results as you. S-pen works in portrait mode, but not in landscape.
Do you know which procedure or module draws the s-pen pointer?
Using adb shell and
getevent -l | grep event3,
I can see the coordinates being reported by the s-pen. They all look correct to me. The top left hand corner is 0,0 and the bottom right hand corner is 768, 1024. So top left hand corner is always 0,0 in portrait and landscape. Bottom right is always 768, 1024 in portrait and landscape.
Code:
gt510wifi:/ $ getevent -lp /dev/input/event3
add device 1: /dev/input/event3
name: "sec_e-pen"
events:
KEY (0001): KEY_BACK KEY_UNKNOWN 00fe BTN_DIGI*
BTN_TOOL_RUBBER BTN_TOUCH BTN_STYLUS KEY_ALS_TOGGLE
ABS (0003): ABS_X : value 1871, min 0, max 14745, fuzz 4, flat 0, resolution 0
ABS_Y : value 13381, min 0, max 19660, fuzz 4, flat 0, resolution 0
ABS_PRESSURE : value 0, min 0, max 2047, fuzz 0, flat 0, resolution 0
ABS_DISTANCE : value 6, min 0, max 1024, fuzz 0, flat 0, resolution 0
SW (0005): 0013*
input props:
<none>[/SIZE]
P550 screen resolution is 1024 / 768 = 1.333 aspect ratio. 19660/14745 = 1.333. So "sec_e-pen" has correct resolution.
PS. The git file you uploaded had link which caused the compiler to stop. You had
dt-bindings -> /home/ali/rr9/kernel/samsung/msm8916/include/dt-bindings
Luckily, it was an easy fix for me to recode the link.
retiredtab said:
@aala27, I was able to build your kernel and get the same results as you. S-pen works in portrait mode, but not in landscape.
Do you know which procedure or module draws the s-pen pointer?
Using adb shell and
getevent -l | grep event3,
I can see the coordinates being reported by the s-pen. They all look correct to me. The top left hand corner is 0,0 and the bottom right hand corner is 768, 1024. So top left hand corner is always 0,0 in portrait and landscape. Bottom right is always 768, 1024 in portrait and landscape.
P550 screen resolution is 1024 / 768 = 1.333 aspect ratio. 19660/14745 = 1.333. So "sec_e-pen" has correct resolution.
PS. The git file you uploaded had link which caused the compiler to stop. You had
dt-bindings -> /home/ali/rr9/kernel/samsung/msm8916/include/dt-bindings
Luckily, it was an easy fix for me to recode the link.
Click to expand...
Click to collapse
This was done a while ago, however, I do recall finding out that the S-Pen uses wacom drivers. The driver is found in /drivers/input/touchscreen/wacom.
I have uploaded the RR Pie rom at the link below:
https://drive.google.com/file/d/1zQuvVOr_8eq0Q3vU-UagURcU-8t6sBUO/view?usp=sharing
I'll upload the RR 10 rom soon.
Thanks for the error. I have now corrected that.
retiredtab said:
@aala27, thanks for your post and sharing your code. Can you post your RR s-pen rom somewhere so I can download it and test it with the s-pen. I never used it on this tablet and want to see how it works.
I will download your code and have a look. Where do you get the s-pen code?
I tried compiling virsys Android 10 code, but I get stuck at a bootloop. I have been trying for weeks to figure out the problem, but no success so far. I know he has a working build dated June 2020, but his github repo only goes to March 2020 so it might not be updated with all the necesssary fixes?
If you want help fixing the audio on your 10 build, can you upload the rom so I can look at logcats?
Thanks.
Click to expand...
Click to collapse
Hey mate,
See link to RR 10 rom. It seems as through everything works ok except for the audio coming from the loudspeakers. Audio from headphones, bluetooth etc works fine. This was the same issue I had building the RR Pie rom but I used Virsys' fix and it worked for that rom. Not sure what the issue is now.
Let me know if you have any idea.
https://drive.google.com/file/d/1hns5Gf0ietXca1bZK5MwK6l7n4DsBoUZ/view?usp=sharing
Cheers,
aala27 said:
See link to RR 10 rom. It seems as through everything works ok except for the audio coming from the loudspeakers.
Click to expand...
Click to collapse
It says I need a google account to get RR 10. I was able to download RR 9 without one. Can you please change the permissions so I can download 10 without a login? Once I download 10, I will see if I can help you by looking at the logcat.
BTW, I downloaded RR 9 and get the same results as you. The spen only works in portrait mode. 90, 180 and 270 have incorrect mouse pointer display.
Also, when I asked about which module or procedure, I wasn't asking about the driver (Wacom). As soon as I saw your P550_defconfig, I knew it was the wacom driver. What I'm asking is what module or program actually draws the mouse pointer that shows up the lcd.
When I look at getevent -l | grep event3, I think the wacom driver is properly reporting the X and Y coordinates where the pen is hovering or touching with 0,0 at top left corner and 768, 1024 at bottom right corner. I want to see the code where it actually takes the X and Y coordinates from the wacom driver and use them to draw the mouse pointer on the lcd.
Clearly, something in the code doesn't take into account of the screen rotation.
PS. I did a make clean so I can build an eng build so I can get some logcat messages. It will take 8 hours to compile. I'm also looking at the wacom driver code to see where I can put in some print statements with respect to the screen orientation.

[UNOFFICIAL][ROM] LineageOS 17.1 for Galaxy Tab A 8.0 [SM-T350]

I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this ROM.
Try this build at your own risk. It's likely to have bugs and is EXPERIMENTAL as it is a work in progress. It boots and seems to work fine on my SM-T350, but I have only tested it for 24 hours. Problems will likley surface later?
BACKUP YOUR FILES and have a copy of your working image BEFORE trying my build.
What works.
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. Google play store - use pico apps
8. flip flap smart cover
9. audio over bluetooth
Note: first initial boot takes a bit longer, be patient.
Known problems.
1. Home screen text may look fuzzy.
Text on home screen looks funny/fuzzy. This only seems to affect the home screen and nowhere else. I have seen the same problem on the SM-T350, SM-T560NU, SM-P550 and Nexus 7 2013.
Problem is with stock trebuchet launcher and/or its fonts. I tried rootless pixel launcher from fdroid as a quick and simple test and see no problems with home screen text. Rootless pixel uses a different font though. A future LineageOS update could resolve the problem?
Rootless Pixel Launcher | F-Droid - Free and Open Source Android App Repository
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.
f-droid.org
OR you can use nubianprince's crdroid 10.0 build for this tablet. He used his 9.0 repos and has no problems with fuzzy fonts/text. See
[ROM][SM-T350][UNOFFICIAL][crDroidAndroid-10.0][v6.17][ANDROID 10] Galaxy Tab A 8.0
Finally this thread is back :)
forum.xda-developers.com
OR you can use a fairly recent 16.0 build which doesn't have the problem.
2. The stock Jelly browser crashes a lot. Use a different browser. There's lots of better options that are more stable and reliable than the built in Jelly browser.
3. FM Radio is not support since this device doesn't have the LTE functionality.
4. Stock camera does not take picture on front facing camera. Use open camera instead. I don't know when stock camera was broken, but when I tested the March 7, 2021 build, it doesn't work.
Open Camera | F-Droid - Free and Open Source Android App Repository
Camera App
f-droid.org
5. BOE panel
For people who get black or blank screens when trying to flash TWRP 3.3.1 or LineageOS or crDroid SM-T350 roms, it's likely you have a BOE sourced panel.
Code:
adb root
adb shell cat /proc/cmdline
The very last parameter will be mdss_mdp.panel. If you see BOE anywhere in that string, then you have a BOE panel. For example,
mdss_mdp.panel=1:dsi:0:ss_dsi_panel_S6D7AA0_LSL080AL03_BOE_WXGA:1:none
There is a fix as documented at
[ROM][SM-T350][UNOFFICIAL][crDroidAndroid-10.0][v6.17][ANDROID 10] Galaxy Tab A 8.0
Finally this thread is back :)
forum.xda-developers.com
Thanks/Credits
Thanks to @nubianprince and @lividhen99 for ideas and suggestions on getting this build to work. I used one of nubianprince's repos for this build.
FAQ - I spent hundreds of hours building this rom. The least you can do is spend a few minutes reading everything before posting.
Q1) Does the build work on xyz?
A1) I have no idea. I only have the SM-T350. You can try it on variations, but don't be surprised if you get bootloop or bricked hardware. In addition, I won't build it for the 355 (LTE) version.
Q2) Application xyz doesnt' work. Can you fix it?
A2) I only fix what I use. If you use app xyz and it doesn't work, then try 16.0 or going back to the last rom that worked for you.
Q3) My tablet hangs or crashes with 17.1. This build is slow and buggy. Can you fix it?
A3) Go back to the last working stable rom for you. 17.1 is a work in progress and will have bugs and frequent changes.
Q4) Do you plan to update the rom?
A4) Yes as long as I have high speed Internet, I wil try to release the rom monthly to incorporate the security patches.
Q5) What TWRP should I use?
A6) TWRP 3.3.1 or 3.5.0.9. Get it from
https://forum.xda-developers.com/galaxy-tab-a/development/rom-galaxy-tab-8-0-t4158163
Q6) What is the difference between this rom and crdroid?
A6) Use this rom, crdriod or stock. It's not a popularity contest, so use whatever fits your needs. I only offer this as an option for those who want or need a new rom. Most of the code is the same between this rom and crdroid, however, the way we implemented the fixes might be slightly different. In addition, if there is a bug in this rom, it may not be in crdroid due to coding differences and how it's fixed.
Q7) Can I turn off the on screen navigation keys?
A7) To turn off on screen navigation, go to settings, system, advanced, gestures, system navigation, gesture navigation.
Q8) Can I build this rom? Where are the source and kernel source files?
A8) Yes. I have uploaded the repo diff and roomservice.xml file. The kernel source files are at
Samsung MSM8916 Devices
Samsung MSM8916 Devices has 68 repositories available. Follow their code on GitHub.
github.com
The repo diff is what I changed compared to "stock" msm8916 code. The majority of the repo diff is because there's a bug in 17.1 WiredAccessoryManager.java and I reverted back to the 16.0 code. The bug prevents audio through the headphone jack. See
https://forum.xda-developers.com/showpost.php?p=83445681&postcount=13
Q9) Where can I download this rom?
A9) You can find the 2020 17.1 and 16.0 builds at
Downloads for : Samsung Galaxy Tab A 8.0 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
I'm moving to sourceforge for all 2021 uploads. The main reason is that I would like to see the stats of where this rom is being downloaded from worldwide. All 2020 builds will remain on androidfilehost.
2021 builds found at
retiredtab - Browse /SM-T350/17.1 at SourceForge.net
sourceforge.net
TODO
1. document and upload long list of fixes you need to build 17.1 if you want on your own.Done.
2. mirror nubianprince's repo in case it gets deleted.Done.
3. upload some files, fixes and documentation to github for future.Done.
Dec 13, 2021 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:Q_asb_2021-12
2. Whatever LiineageOS changed since last November release (about 4,400 files had to be recompiled).
Nov 8, 2021 release notes
1. Nov 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/318647
2. Whatever LiineageOS changed since last October release (about 5,100 files had to be recompiled).
Oct 10, 2021 release notes
1. Oct 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/317410
2. Whatever LiineageOS changed since last Sept release (about 4,700 files had to be recompiled).
Sept 17, 2021 release notes
1. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/316083
2. Whatever LiineageOS changed since last August release (about 49,500 files had to be recompiled).
Aug 7, 2021 release notes
1. August 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/314572
2. Whatever LiineageOS changed since last July release (about 4500 files had to be recompiled).
July 12, 2021 release notes
1. July 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/313448
2. Whatever LiineageOS changed since last June release (about 4500 files had to be recompiled).
June 15, 2021 release notes
1. June 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/312240
2. Whatever LiineageOS changed since last May release (about 5400 files had to be recompiled).
May 10, 2021 release notes
1. May 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/309564
2. Whatever LiineageOS changed since last April release.
April 12, 2021 release notes
1. April 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/307454
2. Whatever LiineageOS changed since last March release. Nearly 59,000 out of the 70,000 files had to be recompiled due to the last set of changes.
Release notes for March 7, 2021
1. Mar 5 security patches.
2. Whatever LiineageOS changed since last February release.
3. Stock camera does not save picture on front facing camera. Use open camera instead. I don't know when stock camera was broken, but when I tested the March 7, 2021 build, it doesn't work. I never use the camera or video recording on the tablets.
Release notes for Feb 10, 2021
1. Feb 5 security patches.
2. fixed audio over bluetooth. Huge thanks to @nubianprince for helping with suggestions and his repos. The problem was that some of the audio xml files weren't being copied over in 17.1 because of some directory changes to hardware/qcom.
3. Whatever LineageOS changed since last Jan 2021 update.
Release notes for Jan 14, 2021
1. Jan 5 security patches.
2. Changed some error messages to verbose to stop spamming log files.
3. Whatever LineageOS changed since last Dec 2020 update.
4. For some reason after flashing the rom, TWRP 3.3.1 now says "unable to mount storage". I had never seen that before. Nevertheless, if you reboot, the rom will work fine. I test all my builds before uploading.
Release notes for Dec 14, 2020
1. Dec 5 security patches.
2. Changed some error messages to verbose to stop spamming log files.
3. Whatever LineageOS changed since last Nov update.
4. Add timekeep functionality since SM-T350 has no real time clock. This allows the tablet to keep time when not used with a NTP (network time protocol) server. It works in Android OS and TWRP.
Nov 8 release
- Nov 5 security patches
Oct 8 release
- Oct 5 security patches
Sept 13 initial release
- Sept 5 security patches
- initial release for testing and help fixing bugs
- CPU and GPU overclocked to 1.6Ghz and 650 respectively - built into 17.1 kernel code
- based on stock github MSM8916 T350 code with a LOT of bug fixes and using one of nubianprince's repos
Oct 8 build released. See post #4 for changes.
I set the time to Oct 18 but it was changed to Jan 18 after reboot, then October 9. I remember that crdroid have the same issue.
See this logcat:
Code:
01-18 08:52:10.608 680 680 I SystemServer: StartAlarmManagerService
01-18 08:52:10.611 680 680 D AlarmManagerService: Kernel timezone updated to -480 minutes west of GMT
01-18 08:52:10.611 680 680 I AlarmManager: Current time only 1471930611, advancing to build time 1602188073000
01-18 08:52:10.611 680 680 D AlarmManagerService: Setting time of day to sec=1602188073
10-09 04:14:33.001 680 680 W AlarmManagerService: Unable to set rtc to 1602188073: Invalid argument
10-09 04:14:33.006 680 680 D SystemServerTiming: StartAlarmManagerService took to complete: 10ms
Backlight problem is still in my BOE device. I don’t know which logs are necessary, so I kept most of them. The logs about BOEpanel of crdroid are same with Los, but may be different in other places.
Hope it could be solved.
Which TWRP image are you using? I've seen a couple different ones, but since there's no official support over at http://twrp.me/ I'd prefer to use the same one you're using to test this ROM installation...
Hexrotor said:
The logs about BOEpanel of crdroid are same with Los, but may be different in other places.
Click to expand...
Click to collapse
I'll take a look, but right now I have a big project that I need to get finished by mid November so my time for building and troubleshooting roms is limited right now.
reukiodo said:
Which TWRP image are you using?
Click to expand...
Click to collapse
TWRP 3.3.1
Hexrotor said:
The logs about BOEpanel of crdroid are same with Los, but may be different in other places.
Click to expand...
Click to collapse
These messages
D modemanager: Panel Name: S6D7AA0_LSL080AL03_BOE_wxga_video_mode_dsi_panel
E modemanager: readXMLOp:Couldn't open OEM XML file!
E modemanager: retrieveMode: Failed to enumerate modes
E modemanager: instantiateModeMgr: Failed to update default cache!
E modemanager: readXMLOp:Couldn't open OEM XML file!
E modemanager: retrieveMode: Failed to enumerate modes
E modemanager: in applyDefaultMode fail to retrieve default mode!
I modemanager: in applyDefaultMode ret = 0 mCurMode = -1
are from the proprietary module (which is why I couldn't find them in the AOSP code)
system/vendor/lib/libmm-qdcm.so
If you search for those keywords above, they all appear in this module.
At this time, I have no idea what the libmm-qdcm.so does and how it controls the backlight, if at all.
can someone provide link for twrp 3.3.1 for t350? i just can't find it.
spiramedia said:
can someone provide link for twrp 3.3.1 for t350? i just can't find it.
Click to expand...
Click to collapse
From
https://forum.xda-developers.com/galaxy-tab-a/development/rom-galaxy-tab-8-0-t4158163
TWRP 3.3.1 is at
https://drive.google.com/file/d/14T99LQaKtEhGeglFxrUm0kMRw_RKopP5/view
me t350 just shut's down on his own. clean install.
spiramedia said:
me t350 just shut's down on his own. clean install.
Click to expand...
Click to collapse
Works fine for me and others.
@spiramedia Maybe your device is using BOE panel, try to Illuminate the screen with a flashlight.
Hexrotor said:
@spiramedia Maybe your device is using BOE panel, try to Illuminate the screen with a flashlight.
Click to expand...
Click to collapse
mine is BOE. But i have no problem with this. The tablet just shuts down when using it. Maybe it overheats.
spiramedia said:
mine is BOE. But i have no problem with this. The tablet just shuts down when using it. Maybe it overheats.
Click to expand...
Click to collapse
@spiramedia, when asking for help, it helps us if you provide maximum information. For example,
1) What are you running when the tablet shuts down? High performance gaming? Watching youtube?
2) How long does the tablet run before shutting down?
3) Maybe your battery is really old and weak especially if you used it daily for 5 years?
4) If you think it overheats, you can download several CPU apps that tell you the temperature of the CPU like
https://f-droid.org/en/packages/com.kgurgul.cpuinfo/
5) If the battery is old and weak, does it shutdown when you have the AC microusb adapter plugged in all the time?
6) When it shuts down, what is the battery percentage at?
7) Is your battery guage calibrated properly? If it says 30%, maybe it's really 0% and you have to discharge/recharge 2 or 3 times to recalibrate?
As you can see, I asked a lot of questions. The more info you can give, the better.
PS. If you have a BOE panel and backlight works, then I have no idea why my rom works with yours and not Hexrotor.
Hexrotor said:
I set the time to Oct 18 but it was changed to Jan 18 after reboot, then October 9. I remember that crdroid have the same issue.
Click to expand...
Click to collapse
@Hexrotor, does this happen if you date and time setup to "use network provided time".
If I turn "use network provided time" off, then yes, the tablet doesn't keep time properly. I think it's due to the Qualcomm RTC being read only? Searching the Internet, a possible fix might be
https://github.com/LineageOS/android_hardware_sony_timekeep
I might try incorporating that into the next rom build which will likely be sometime mid Nov when the next security patches are released.
I think it's defaulting to Oct 9 because the build date is Oct 8, but in your timezone, it might be Oct 9.
Hexrotor said:
Backlight problem is still in my BOE device. I don’t know which logs are necessary, so I kept most of them.
Click to expand...
Click to collapse
The error messages for the BOE panel are just before the system stops the boot animation and gives the 3 dots and says LineageOS. I find that to be confusing because I would think the kernel would enable BOE backlight at the very beginning so you can see what is on the display. It makes no sense to have the backlight completely dark and then enable it just before the 3 dots that says LineageOS.
And if spiramedia's BOE backlight works with my rom, then I don't know why it doesn't work with yours. Maybe there is something persistent in one of the persist partitions where a prop is set?
Hexrotor said:
Backlight problem is still in my BOE device.
Click to expand...
Click to collapse
@Hexrotor, you didn't specify in this thread or the original crdroid thread whether you tried downgrading the stock to marshmellow and then try crDroid 10 or LineageOS 17.1.
Apparently, it fixes the no backlight for some people? See
https://forum.xda-developers.com/showpost.php?p=83488241&postcount=41
It's possible the marshmallow firmware has something coded into the file system partitions that fixes the BOE? Maybe someting in the aboot partition?
Let me know if you have tried downgrading or not as per above.
retiredtab said:
Apparently, it fixes the no backlight for some people? See
https://forum.xda-developers.com/showpost.php?p=83488241&postcount=41
It's possible the marshmallow firmware has something coded into the file system partitions that fixes the BOE? Maybe someting in the aboot partition?
Let me know if you have tried downgrading or not as per above.
Click to expand...
Click to collapse
Nope, I tried this way but no help. I flashed marshmallow firmware then Crdroid6.9 without clean, it was no display but heated up at boot. I waited for about 10min but it didn't boot complete. Edit: I tried again just now, it booted successfully but still no backlight. Now I'm using official marshmallow.
I don't know why this ROM works with spiramedia's BOE device. I have some friends who have T350/P350 BOE devices and all they have backlight problem with 3-part ROMs, that’s why I am sure that the backlight problem is related to BOE.
For Los 17 and Crdroid, my device has no backlight after the "Samsung Galaxy Tab A", but official marshmallow works fine.

[UNOFFICIAL][ROM]BETA LineageOS 18.1 GO for Galaxy Tab A [SM-T350] June 9, 2023

PLEASE BEFORE YOU decide to try this rom, you MUST read all of post 1, 2, 3 and 4 (about 10 minute read). If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.
I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this rom.
BACKUP YOUR DATA AND OLD rom BEFORE trying my rom.
If you are NOT an expert in using fastboot, adb, odin, heimdall, twrp, DO NOT use this rom. You must know how to use these tools to revert back to your old rom.
If you are new to flashing custom roms, do NOT attempt this.
If you need your tablet for work and something important, do NOT flash this rom. This rom could result in a bricked device or boot loop or non booting device or you not being able to revert back to your old rom.
What works
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. audio over bluetooth
8. selinux enforcing
9. camera
Thanks
1. LineageOS team for source code.
2. Pre alpha testers for the Samsung Tab A/E roms who provided valuable feedback: lpedia, Schaagi, katochwa, Henrick Grimler
3. nubianprince for helping fix audio over bluetooth on SM-T350 on 18.1.
4. Huge thanks to Henrick Grimler https://github.com/Grimler91 for helping me reproduce a major bug in 18.1 which led me to find a solution. Henrick also helped fine tune some of the sepolicy as well.
5. Sebastiano Barezzi https://github.com/SebaUbuntu for giving the msm8916 repo some 18.1 code updates in March 2021.
6. Exynos5420 team for sharing it's knowledge in building roms.
7. msm8916 team for their repos
8. dylux for suggesting a fix for the front camera photo/record crashing by using stock SM-T350 media_profiles.xml.
FAQ - I spent hundreds of hours building this rom. It was frustrating process from Nov 2020 to March 2021 running into bug after bug. The least you can do is spend a few minutes reading everything before posting.
Q1. Where are the source and kernel source files?
A1. The kernel source files are at
GitHub - Galaxy-MSM8916/android_kernel_samsung_msm8916: MSM8916/MSM8929/MSM8939 kernel for Samsung devices.
MSM8916/MSM8929/MSM8939 kernel for Samsung devices. - GitHub - Galaxy-MSM8916/android_kernel_samsung_msm8916: MSM8916/MSM8929/MSM8939 kernel for Samsung devices.
github.com
The device tree files are at
GitHub - retiredtab/android_device_samsung_msm8916-common: Common MSM8916 tree for Samsung devices
Common MSM8916 tree for Samsung devices. Contribute to retiredtab/android_device_samsung_msm8916-common development by creating an account on GitHub.
github.com
GitHub - retiredtab/device_samsung_gt58wifi
Contribute to retiredtab/device_samsung_gt58wifi development by creating an account on GitHub.
github.com
GitHub - retiredtab/device_samsung_gte-common at lineage-18.1
Contribute to retiredtab/device_samsung_gte-common development by creating an account on GitHub.
github.com
The vendor tree files are at
GitHub - retiredtab/vendor_samsung_msm8916-common
Contribute to retiredtab/vendor_samsung_msm8916-common development by creating an account on GitHub.
github.com
GitHub - retiredtab/android_vendor_samsung_gt58wifi
Contribute to retiredtab/android_vendor_samsung_gt58wifi development by creating an account on GitHub.
github.com
In addition, there is a repo diff file for device specific tweaks needed to work and a roomservice.xml (local manifest file) file so you can build this rom yourself.
Q2. Is this BETA rom suitable as a daily driver?
A2. It can be depending on your requirements. I can't test every app so you try it yourself to see if it's suitable. I've been using this rom myself since mid March 2021 with no major issues.
Q3. What if my app, xyz, doesn't work?
A3. I won't answer questions regarding why your app doesn't work. If your app, whatever it is, doesn't work, then go back to your old rom. It's difficult enough building and maintaining these roms. Remember, I'm an unpaid volunteer making a rom for free for your benefit.
Q4. Your rom is laggy and buggy.
A4. If you find the above, then go back to your old rom. There's only so much software can do on a 2015 budget level tablet. Remember a budget tablet will have the slower SoC/CPU and less DRAM than a top of the line model. Your tablet will also run slower when you use gapps (google apps). You can run a lot of software without using gapps. Research fdroid, newpipe, Aurora store etc.
Q5. What TWRP should I use?
A5. You MUST use TWRP 3.5.2_9. Get it from
[ROM][SM-T350][UNOFFICIAL][crDroidAndroid-11.0][v7.10][ANDROID 11] Galaxy Tab A 8.0
I am not responsible for bricked devices, or any other hardware malfunctions that comes as a result of flashing this ROM, Please do some research if you have any concerns about features included before flashing it, this ROM was built for the...
forum.xda-developers.com
Q6. Why should I use this rom?
A6. You don't. If you don't like this rom, then don't use it. Yes, it's that simple.
Q7. Will you offer monthly updates with security patches?
A7. I will try to offer monthly security patches, but that all depends on if I continue to have high speed Internet in the future.
Q8. Can you help me? I'm a newbie. Can you provide step by step instructions?
A8. Do your own research. There are lots of tutorials, videos, etc on how to flash roms. Newbie questions must be posted in the Questions and Answers forum, not here.
Q9. Can I report a bug with respect to the rom?
A9. Yes, but you need to supply the following information. If you don't, I won't look at it.
You must provide an adb logcat of the problem and tell me how to reproduce it. Note I will not be downloading any apps that require money or an userid/password. For example, if you have problems with Netflix, I cannot help you since I don't have a paid subscription. If you use some app that requires an userid/password, I cannot help you as I'm not willing to create another userid/password even if it's free.
To get a logcat, open up a terminal window.
Code:
# clear the logcat first
adb logcat -c
# start logcat trace
adb logcat > problem.txt
# reproduce problem
# wait until problem has occured, then stop trace by hitting ctrl-c
Q10. Will you still build 17.1 for this device?
A10. Yes, for now, but I will probably discontinue building 17.1 at the end of 2021. I will likely be trying to build 19.0 once it's released so I don't want to maintain 3 releases.
Q11. Do I need to erase everything and format my data?
A11. Yes, you MUST erase all the partitions (system, data, dalvik/art cache, cache) using TWRP and MUST format your data before installing 18.1 when you are coming from stock or an earlier version of LineageOS or from another custom rom. If you get stuck at the boot animation for more than 5 minutes, it's likely because you didn't follow the instructions I just wrote. Dirty flashes from stock, other custom roms or older LineageOS versions are not supported and not likely to work.
Q12. What gapps should I use?
A12. I don't use gapps anymore. I use Aurora Store. As of Nov 6, 2021, I no longer make recommendations on which gapps to use as your mileage may vary. It's reported that opengapps does no testing on their daily builds and some version results in bootloops, bitgapps may run out of disk space will installing apps and Mindthegapps as causing overall slowdown of the system.
The only recommendation I can make is to use the SMALLEST version of gapps which is PICO or equivalent naming convention. DO NOT use anything other than PICO. That is, do not use nano, mini, stock, etc.
If you are going to install gapps, flash the rom first, reboot into system/OS, reboot to recovery, flash gapps, reboot into system/OS. That is, do not flash/install the rom and gapps at the same time.
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I will not answer any questions regarding gapps. This thread is about the rom, not gapps and I don't use gapps so I cannot help you. Android does not depend on gapps in order to work.
Q14. Why isn't my post answered?
A14. It's probably because it's answered in the FAQ or not relevant to the rom. Again, I do not run Windows OS or use gapps. Questions already answered in the FAQ will be completely ignored.
Q15. Can I turn off the on screen navigation keys?
A15. To turn off on screen navigation, go to settings, system, advanced, gestures, system navigation, gesture navigation. It's enabled by default because I find it useful. If you don't like it, you only need to disable once and your preference will be remembered. If you want to invert the onscreen keys, goto settings, system, buttons and enable invert layout
Q16. What speed up/optimization tips do you suggest?
A16.
1. Turn off animations. Go into developer settings, scroll down to the drawing section, and set window, transition and animator scale all to "off".
2. If you don't have a google account, don't install gapps. Use Aurora Store to get your apps as you can get all the same apps from the play store using an anonymous login.
3. Dont' run more than 2 apps at the same time. You can probably listen to music in the background and use a web browser at the same time, but don't expect great performance from a 2015 entry level tablet.
4. Use a web browser like Brave that has built in adblock and privacy features.
5. Use newpipe to watch your streaming content. It has built in adblock so you don't have to watch forced ads.
6. Look for apps that are open source, ad free and lightweight.
Q17. Does this rom support Magisk?
A17. I don't use Magisk myself so I don't know and Magisk is always being updated to fool Google's certification process. Others have reported Magisk as working, but I won't answer any questions regarding it.
Q18. Will this rom ever become official?
A18. Never. I don't want the responsibilities that come with being an official maintainer. In addition, I know my device trees, code organization and git commits will NOT meet LineageOS standards. Remember, I'm an unpaid volunteer doing this in my free time and sharing my work with you for free so you can get hundreds of hours of enjoyment from this tablet.
Q19. What is the difference between this rom and others?
A19. This rom tries to be pure LineageOS with little to no modifications. Other roms may have different UI, different bundled apps, etc. Use whatever meets your requirements.
Q20. Will there be any major 18.1 code modifications in the future?
A20. I don't anticipate any major modifications. There may be some slight tweaking to the sepolicy, small bug fixes and minor code cleanup, but all the hard work in getting the rom up and running and fixing all the major bugs have been done completed. This doesn't mean the code is perfect or well organized, but I won't be doing any major changes now that 18.1 is working. Any major changes will be done in 19.0.
Q21. Why did you fork the device and vendor trees for 18.1?
A21. The msm8916 repos seem geared towards phones and sometimes do not work or cause boot animation loops for tablets so I decided to fork their repos. In other words, what's deemed as msm8916-common code isn't common to all devices.
In addition, since I'm building SM-T350, SM-T550, SM-P550 and SM-T560NU (all use the same msm8916 code), it seems easier to maintain all of them if I can control my own code repos and not worry if my changes affects the phones or not. I still have not figured out the best way to manage all my repos and it's a work in progress.
Q22. Can you build a variant of this device? For example, a LTE or S-pen version.
A22. If I don't physically have the device, I cannot and will not build it unless I can boot and test it myself. Even then, there's no guarantee that I can get those variant features working.
Q23. Can I load this rom on a variant devivce like LTE or S-pen version?
A23. The rom is built for the device explicitly listed. If you are an advanced user and understand TWRP, adb, odin, heimdall, you can try loading it on a LTE or S-pen variant by modifying the updater-script, but it may cause a bricked device, bootloops or non functionality of LTE/S-pen. You have been informed and warned!
Q24. Will this run on the SM-T355 or SM-P355?
A24. No. Someone has tried and it will result in a bootloop.
Q25. How do I know if I have a BOE panel?
A25. Some ST-350 tablets have a BOE display panel. In order for it to work with TWRP and any custom rom, you must have the correct bootloader installed on a BOE panel otherwise you will see a black/blank screen. To check to see if you have a BOE panel, open a terminal and
Code:
adb root
adb shell cat /proc/cmdline
The very last parameter will be mdss_mdp.panel. If you see BOE anywhere in that string, then you have a BOE panel. For example,
mdss_mdp.panel=1:dsi:0:ss_dsi_panel_S6D7AA0_LSL080AL03_BOE_WXGA:1:none
There is a fix as documented at
[ROM][SM-T350][UNOFFICIAL][crDroidAndroid-10.0][v6.17][ANDROID 10] Galaxy Tab A 8.0
Finally this thread is back :)
forum.xda-developers.com
Q26. What is a GO build?
A26. A GO build uses less DRAM, disk space and supposed to be better suited for devices with 2GB DRAM or less. I have no idea whether it's true or not vs a NON GO build, but I figured I would try a GO build.
Some of the features removed in a GO build are documented in post #46 in this thread in addition to work profiles. If you need these features, you can edit a property in the build.prop as documented in post #49.
Q27. Okay, I understand the consequences and that this is BETA rom and willing to take the risks outlined, now where can I find the rom?
A27. Downloads are at
retiredtab - Browse /SM-T350/18.1 at SourceForge.net
sourceforge.net
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
June 9, 2023 release notes
1. June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-06
2. Whatever LineageOS changed since last May release (about 5,500 files had to be recompiled).
May 7, 2023 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-05
2. Whatever LineageOS changed since last Apr release (about 7,200 files had to be recompiled).
Apr 15, 2023 release notes
1. Apr 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-04
2. Whatever LineageOS changed since last Mar release (about 28,000 files had to be recompiled).
March 20, 2023 release notes
1. Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-03
2. Whatever LineageOS changed since last Feb release (about 20,000 files had to be recompiled).
Feb 12, 2023 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-02
2. Whatever LineageOS changed since last Jan release (about 12,500 files had to be recompiled).
Jan 8, 2023 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-01
2. Whatever LineageOS changed since last Dec release (about 4,400 files had to be recompiled).
Dec 11, 2022 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-12
2. Whatever LineageOS changed since last Nov release (about 5,000 files had to be recompiled).
Nov 11, 2022 release notes
1. Nov 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-11
2. Whatever LineageOS changed since last Oct release (about 5,000 files had to be recompiled).
Oct 7, 2022 release notes
1. Oct 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-10
2. Whatever LineageOS changed since last Sept release (about 5,500 files had to be recompiled).
Sept 12, 2022 release notes
1. Sept 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-09
2. Whatever LineageOS changed since last Aug release (about 12,500 files had to be recompiled).
Aug 5, 2022 release notes
1. Aug 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-08
2. Whatever LineageOS changed since last July release (about 4,000 files had to be recompiled).
July 8, 2022 release notes
1. July 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-07
2. Whatever LineageOS changed since last June release (about 1,500 files had to be recompiled).
June 11, 2022 release notes
1. June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-06
2. Whatever LineageOS changed since last May release (about 9,500 files had to be recompiled).
May 7, 2022 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-05
2. Whatever LineageOS changed since last April release (about 11,000 files had to be recompiled).
3. Selfie camera and video no longer crash with stock camera. Thanks to @dylux for suggesting these fixes which are commits
https://github.com/retiredtab/devic...mmit/c9ac11147f83d611e006731aad7c14108f293d64
and
https://github.com/retiredtab/devic...mmit/cfa55e0478b59821f3d16501104b51ceeef8b010
April 10, 2022 release notes
1. Arpil 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-04
2. Whatever LineageOS changed since last March release (about 11,000 files had to be recompiled).
Mar 12, 2022 release notes
1. Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-03
2. Whatever LineageOS changed since last Feb release (about 5,700 files had to be recompiled).
Feb 12, 2022 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-02
2. Whatever LineageOS changed since last January release (about 34,500 files had to be recompiled).
Jan 20, 2022 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-01
2. Whatever LineageOS changed since last December release (about 10,000 files had to be recompiled).
Dec 10 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2021-12
2. Whatever LineageOS changed since last November release (about 11,000 files had to be recompiled).
Nov 7 release notes
1. Nov 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/318560
2. I enabled zram swap with size 512MB. I noticed that the last couple of months that Clash Royale would crash/close and logs showed
Code:
10-28 14:26:01.412 0 0 I [2: kswapd0: 91] lowmemorykiller: Killing 'ell.clashroyale' (6730), adj 0,
Hopefully, by enabling zram, that will stop Clash Royale from crashing/closing.
Zswap is enabled on stock Nougat SM-T350 (part of the Samsung Tab A/E family that uses same msm8916 kernel code)
https://github.com/retiredtab/andro...mmit/2a6bf385e6dfe6073fe328b7b1c563ccd60a5ede
https://github.com/retiredtab/andro...mmit/438d5d3ad20cbc98f0f8c18eb610b6268de19395
This code uses the in kernel low memory killer (lmk). I tried using the Android OS lmk, but it doesn't work very well and shows this in the log.
Code:
E lowmemorykiller: /proc/zoneinfo parse error
E lowmemorykiller: Failed to get free memory!
3. Whatever LineageOS changed since last Oct release (about 7,200 files had to be recompiled). One of these changes has removed the built in terminal program from LineageOS as AOSP deprecated this app as per
https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/304043
Oct 10 release notes
1. Oct 1 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/317001
2. Added https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/316839 to fix landscape mode system UI. This patch is not yet officially merged as of Oct 10 release.
3. Whatever LineageOS changed since last September release (about 6,100 files had to be recompiled).
Sept 10 release notes
1. Reverted the patch to https://github.com/retiredtab/andro...mmit/a32c7a0bed536281d20b7c1cf8d41c84a268cc80
Removing systemUI from pinner services causes a 4 to 6 delay in bringing up the home screen. This is seen when loading or playing a game for about 20 minutes and then either hitting the recents or home button. By reverting this commit, pressing recents or home button brings up the systemUI right away.
2. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/315661
3. Whatever LineageOS changed since last August release (about 6,200 files had to be recompiled).
Aug 8 release notes
1. Fix battery status icon. When you plug in AC adapter, settings, battery does not show it charging even though it is. This is due to the sepolicy being too restrictive. I added https://github.com/retiredtab/msm89...mmit/c1eca9f7740b6a384d4fab8a1e8d812f59c17a99
2. Aug 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/314477
3. Whatever LineageOS changed since last July release (about 11,500 files had to be recompiled).
4. 18.1 continues to be my daily driver since March 2021.
July 10 release notes
1. Initial public release to XDA. This is an ALPHA build.
2. July 5 security patches as per https://review.lineageos.org/q/topic:"android-11.0.0_r39"+(statuspen OR status:merged)
Reserved.
New build called lineage-18.1-20210718-UNOFFICIAL-gt58wifi.zip
July 18 release notes
1. Fix battery status icon. When you plug in AC adapter, settings, battery does not show it charging even though it is. This is due to the sepolicy being too restrictive. I added
Code:
allow hal_health_default sysfs_charger:dir search;
allow hal_health_default sysfs_charger:file r_file_perms;
to the hal_health_default.te file.
Other than that, there are no other changes. So if you already downloaded the July 10 release and don't mind this small bug, you can wait until the August security patches before updating the rom. The August security patches and all future versions will have this bug fix incorporated.
New build called lineage-18.1-20210808-UNOFFICIAL-gt58wifi.zip
Aug 8 release notes
1. Fix battery status icon. When you plug in AC adapter, settings, battery does not show it charging even though it is. This is due to the sepolicy being too restrictive. I added https://github.com/retiredtab/msm89...mmit/c1eca9f7740b6a384d4fab8a1e8d812f59c17a99
2. Aug 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/314477
3. Whatever LiineageOS changed since last July release (about 11,500 files had to be recompiled).
4. 18.1 continues to be my daily driver since March 2021.
@retiredtab
Thanks for your work on this rom. It's been working very well.
It seems BiTGApps can no longer be downloaded.
ovalseven said:
It seems BiTGApps can no longer be downloaded.
Click to expand...
Click to collapse
Use opengapps then. Remember, this is not the correct place to ask gapps related questions. It's only for the rom. This will be the last time I mention gapps.
FAQ 13
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I will not answer any questions regarding gapps. This thread is about the rom, not gapps and I don't use gapps so I cannot help you. Android does not depend on gapps in order to work.
retiredtab said:
Q15. Can I turn off the on screen navigation keys?
Click to expand...
Click to collapse
Is there any way to swap the button positions to match the order of the hardware buttons (back button on the right)?
retiredtab said:
Use opengapps then. Remember, this is not the correct place to ask gapps related questions. It's only for the rom. This will be the last time I mention gapps.
FAQ 13
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I will not answer any questions regarding gapps. This thread is about the rom, not gapps and I don't use gapps so I cannot help you. Android does not depend on gapps in order to work.
Click to expand...
Click to collapse
I was just letting you know your links didn't work.
ovalseven said:
Is there any way to swap the button positions to match the order of the hardware buttons (back button on the right)?
I was just letting you know your links didn't work.
Click to expand...
Click to collapse
@ovalseven, the link in this thread's FAQ still works (for me, anyway) but the download link on that BiTGapps site appears not to be working. The BiTGapps thread [CUSTOM][GAPPS] BiTGApps for Android might have more information / an alternative download site.
ovalseven said:
Is there any way to swap the button positions to match the order of the hardware buttons (back button on the right)?
Click to expand...
Click to collapse
Now added to FAQ.
If you want to invert the onscreen keys, goto settings, system, buttons and enable invert layout
Thanks for the info and for your work on this rom. Been using it all afternoon and it's running smoothly.
lpedia said:
@ovalseven, the link in this thread's FAQ still works (for me, anyway) but the download link on that BiTGapps site appears not to be working. The BiTGapps thread [CUSTOM][GAPPS] BiTGApps for Android might have more information / an alternative download site.
Click to expand...
Click to collapse
Thanks to @lpedia letting me know, but it seems the developer of bitgapps has removed his links because of some "disagreement" with some users. I'm not involved in this and don't want to be, but if people want bitgapps, they should check the link daily to see when/if the developer will re-enable his links.
So I have now removed all gapps links from my FAQ and it's up to the user now to use their favourite search engine to find whatever gapps or Aurora Store they want. And THIS will be the FINAL word I say on gapps again.
New build called lineage-18.1-20210910-UNOFFICIAL-gt58wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 continues to be my daily driver since March 2021.
Sept 10 release notes
1. Reverted the patch to https://github.com/retiredtab/andro...mmit/a32c7a0bed536281d20b7c1cf8d41c84a268cc80
Removing systemUI from pinner services causes a 4 to 6 delay in bringing up the home screen. This is seen when loading or playing a game for about 20 minutes and then either hitting the recents or home button. By reverting this commit, pressing recents or home button brings up the systemUI right away.
2. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/315661
3. Whatever LiineageOS changed since last August release (about 6,200 files had to be recompiled).
This rom runs fantastic to anyone wondering. Easily the best running rom for t350 (i've tried them all). Thank you for your work on this.
Wikdclown said:
This rom runs fantastic to anyone wondering. Easily the best running rom for t350 (i've tried them all). Thank you for your work on this.
Click to expand...
Click to collapse
I totally agree with you! I just installed the Sept. 10th version on the 10th and it has made my tablet usable again. I will be sticking with this ROM from now on!
The ROM works very well, thank you @retiredtab !
All essential functionality works without caveats. Experimented with enabling pip and split screen and went back to this rom's default setting of being a "low memory" device, as it runs *much* smoother. Good choice of rom's default.
I ran into a couple of crashes in non-essential areas (setting a certain wallpaper crashed the settings, but then worked after reboot; turning on the hotspot then turning it off crashed settings, yet that was a pure curiosity, since there is no utility in the hotspot).
Have a question, pls. How to enable "Phone Ringtone" selection on the "Sound" page in Settings? Something in build.prop? [I use google voice as the voip app on other wifi-only tabs with same lineage version, works well, ringtone selection is there, just need to enable it in the rom for this t350 tab somehow].
Yxo 6o6uka said:
Have a question, pls. How to enable "Phone Ringtone" selection on the "Sound" page in Settings? Something in build.prop? [I use google voice as the voip app on other wifi-only tabs with same lineage version, works well, ringtone selection is there, just need to enable it in the rom for this t350 tab somehow].
Click to expand...
Click to collapse
Which wifi-only tabs give you that ringtone selection? I checked all my wifi 18.1 tablets msm8916 family, exynos 5420 and 5433 and none of them show the phone ringtone selection.
Samsung Tab Pro 8.4 SM-T320. Rom by Valera1978.

[UNOFFICIAL][ROM]BETA LineageOS 18.1 for Galaxy Tab A [SM-P550] June 10, 2023

PLEASE BEFORE YOU decide to try this rom, you MUST read all of post 1, 2, 3 and 4 (about 10 minute read). If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.
NOTE: There is no S-pen support. If you need S-pen, DO NOT USE THIS ROM.
I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this rom.
BACKUP YOUR DATA AND OLD rom BEFORE trying my rom.
If you are NOT an expert in using fastboot, adb, odin, heimdall, twrp, DO NOT use this rom. You must know how to use these tools to revert back to your old rom.
If you are new to flashing custom roms, do NOT attempt this.
If you need your tablet for work and something important, do NOT flash this rom. This rom could result in a bricked device or boot loop or non booting device or you not being able to revert back to your old rom.
What works
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. audio over bluetooth
8. selinux enforcing
Thanks
1. LineageOS team for source code.
2. Pre alpha testers for the Samsung Tab A/E roms who provided valuable feedback: lpedia, Schaagi, katochwa, Henrick Grimler
3. Huge thanks to Henrick Grimler https://github.com/Grimler91 for helping me reproduce a major bug in 18.1 which led me to find a solution. Henrick also helped fine tune some of the sepolicy as well.
4. Sebastiano Barezzi https://github.com/SebaUbuntu for giving the msm8916 repo some 18.1 code updates in March 2021.
5. Exynos5420 team for sharing it's knowledge in building roms.
6. msm8916 team for their repos.
7. aala27 for the device trees. He was nice enough to share his work so my build is based on his 17.1 with some minor changes.
FAQ - I spent hundreds of hours building this rom. It was frustrating process from Nov 2020 to March 2021 running into bug after bug. The least you can do is spend a few minutes reading everything before posting.
Q1. Where are the source and kernel source files?
A1. The kernel source files are at
GitHub - Galaxy-MSM8916/android_kernel_samsung_msm8916: MSM8916/MSM8929/MSM8939 kernel for Samsung devices.
MSM8916/MSM8929/MSM8939 kernel for Samsung devices. - GitHub - Galaxy-MSM8916/android_kernel_samsung_msm8916: MSM8916/MSM8929/MSM8939 kernel for Samsung devices.
github.com
The device tree files are at
GitHub - retiredtab/android_device_samsung_msm8916-common: Common MSM8916 tree for Samsung devices
Common MSM8916 tree for Samsung devices. Contribute to retiredtab/android_device_samsung_msm8916-common development by creating an account on GitHub.
github.com
GitHub - retiredtab/device_samsung_gte-common at lineage-18.1
Contribute to retiredtab/device_samsung_gte-common development by creating an account on GitHub.
github.com
GitHub - retiredtab/android_device_samsung_gt5note10wifi
Contribute to retiredtab/android_device_samsung_gt5note10wifi development by creating an account on GitHub.
github.com
The vendor tree files are at
GitHub - retiredtab/vendor_samsung_msm8916-common
Contribute to retiredtab/vendor_samsung_msm8916-common development by creating an account on GitHub.
github.com
GitHub - retiredtab/vendor-samsung-gt5note10wifi
Contribute to retiredtab/vendor-samsung-gt5note10wifi development by creating an account on GitHub.
github.com
In addition, there is a repo diff file for device specific tweaks needed to work and a roomservice.xml (local manifest file) file so you can build this rom yourself.
Q2. Is this BETA rom suitable as a daily driver?
A2. It can be depending on your requirements. I can't test every app so you try it yourself to see if it's suitable. I've been using this rom myself since mid March 2021 with no major issues.
Q3. What if my app, xyz, doesn't work?
A3. I won't answer questions regarding why your app doesn't work. If your app, whatever it is, doesn't work, then go back to your old rom. It's difficult enough building and maintaining these roms. Remember, I'm an unpaid volunteer making a rom for free for your benefit.
Q4. Your rom is laggy and buggy.
A4. If you find the above, then go back to your old rom. There's only so much software can do on a 2015 budget level tablet. Remember a budget tablet will have the slower SoC/CPU and less DRAM than a top of the line model. Your tablet will also run slower when you use gapps (google apps). You can run a lot of software without using gapps. Research fdroid, newpipe, Aurora store etc.
Q5. What TWRP should I use?
A5. You MUST use TWRP 3.5.2_9-0. Get it at
retiredtab - Browse /SM-P550/TWRP at SourceForge.net
sourceforge.net
Q6. Why should I use this rom?
A6. You don't. If you don't like this rom, then don't use it. Yes, it's that simple.
Q7. Will you offer monthly updates with security patches?
A7. I will try to offer monthly security patches, but that all depends on if I continue to have high speed Internet in the future.
Q8. Can you help me? I'm a newbie. Can you provide step by step instructions?
A8. Do your own research. There are lots of tutorials, videos, etc on how to flash roms. Newbie questions must be posted in the Questions and Answers forum, not here.
Q9. Can I report a bug with respect to the rom?
A9. Yes, but you need to supply the following information. If you don't, I won't look at it.
You must provide an adb logcat of the problem and tell me how to reproduce it. Note I will not be downloading any apps that require money or an userid/password. For example, if you have problems with Netflix, I cannot help you since I don't have a paid subscription. If you use some app that requires an userid/password, I cannot help you as I'm not willing to create another userid/password even if it's free.
To get a logcat, open up a terminal window.
Code:
# clear the logcat first
adb logcat -c
# start logcat trace
adb logcat > problem.txt
# reproduce problem
# wait until problem has occured, then stop trace by hitting ctrl-c
Q10. Will you still build 17.1 for this device?
A10. Yes, for now, but I will probably discontinue building 17.1 at the end of 2021. I will likely be trying to build 19.0 once it's released so I don't want to maintain 3 releases.
Q11. Do I need to erase everything and format my data?
A11. Yes, you MUST erase all the partitions (system, data, dalvik/art cache, cache) using TWRP and MUST format your data before installing 18.1 when you are coming from stock or an earlier version of LineageOS or from another custom rom. If you get stuck at the boot animation for more than 5 minutes, it's likely because you didn't follow the instructions I just wrote. Dirty flashes from stock, other custom roms or older LineageOS versions are not supported and not likely to work.
Q12. What gapps should I use?
A12. I don't use gapps anymore. I use Aurora Store. As of Nov 6, 2021, I no longer make recommendations on which gapps to use as your mileage may vary. It's reported that opengapps does no testing on their daily builds and some version results in bootloops, bitgapps may run out of disk space will installing apps and Mindthegapps as causing overall slowdown of the system.
The only recommendation I can make is to use the SMALLEST version of gapps which is PICO or equivalent naming convention. DO NOT use anything other than PICO. That is, do not use nano, mini, stock, etc.
If you are going to install gapps, flash the rom first, reboot into system/OS, reboot to recovery, flash gapps, reboot into system/OS. That is, do not flash/install the rom and gapps at the same time.
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I will not answer any questions regarding gapps. This thread is about the rom, not gapps and I don't use gapps so I cannot help you. Android does not depend on gapps in order to work.
Q14. Why isn't my post answered?
A14. It's probably because it's answered in the FAQ or not relevant to the rom. Again, I do not run Windows OS or use gapps. Questions already answered in the FAQ will be completely ignored.
Q15. Can I turn off the on screen navigation keys?
A15. To turn off on screen navigation, go to settings, system, advanced, gestures, system navigation, gesture navigation. It's enabled by default because I find it useful. If you don't like it, you only need to disable once and your preference will be remembered. If you want to invert the onscreen keys, goto settings, system, buttons and enable invert layout
Q16. What speed up/optimization tips do you suggest?
A16.
1. Turn off animations. Go into developer settings, scroll down to the drawing section, and set window, transition and animator scale all to "off".
2. If you don't have a google account, don't install gapps. Use Aurora Store to get your apps as you can get all the same apps from the play store using an anonymous login.
3. Dont' run more than 2 apps at the same time. You can probably listen to music in the background and use a web browser at the same time, but don't expect great performance from a 2015 entry level tablet.
4. Use a web browser like Brave that has built in adblock and privacy features.
5. Use newpipe to watch your streaming content. It has built in adblock so you don't have to watch forced ads.
6. Look for apps that are open source, ad free and lightweight.
Q17. Does this rom support Magisk?
A17. I don't use Magisk myself so I don't know and Magisk is always being updated to fool Google's certification process. Others have reported Magisk as working, but I won't answer any questions regarding it.
Q18. Will this rom ever become official?
A18. Never. I don't want the responsibilities that come with being an official maintainer. In addition, I know my device trees, code organization and git commits will NOT meet LineageOS standards. Remember, I'm an unpaid volunteer doing this in my free time and sharing my work with you for free so you can get hundreds of hours of enjoyment from this tablet.
Q19. What is the difference between this rom and others?
A19. This rom tries to be pure LineageOS with little to no modifications. Other roms may have different UI, different bundled apps, etc. Use whatever meets your requirements.
Q20. Will there be any major 18.1 code modifications in the future?
A20. I don't anticipate any major modifications. There may be some slight tweaking to the sepolicy, small bug fixes and minor code cleanup, but all the hard work in getting the rom up and running and fixing all the major bugs have been done completed. This doesn't mean the code is perfect or well organized, but I won't be doing any major changes now that 18.1 is working. Any major changes will be done in 19.0.
Q21. Why did you fork the device and vendor trees for 18.1?
A21. The msm8916 repos seem geared towards phones and sometimes do not work or cause boot animation loops for tablets so I decided to fork their repos. In other words, what's deemed as msm8916-common code isn't common to all devices.
In addition, since I'm building SM-T350, SM-T550, SM-P550 and SM-T560NU (all use the same msm8916 code), it seems easier to maintain all of them if I can control my own code repos and not worry if my changes affects the phones or not. I still have not figured out the best way to manage all my repos and it's a work in progress.
Q22. Can you build a variant of this device? For example, a LTE or S-pen version.
A22. If I don't physically have the device, I cannot and will not build it unless I can boot and test it myself. Even then, there's no guarantee that I can get those variant features working.
Q23. Can I load this rom on a variant devivce like LTE or S-pen version?
A23. The rom is built for the device explicitly listed. If you are an advanced user and understand TWRP, adb, odin, heimdall, you can try loading it on a LTE or S-pen variant by modifying the updater-script, but it may cause a bricked device, bootloops or non functionality of LTE/S-pen. You have been informed and warned!
Q24. Will this run on the SM-P555?
A24. No. Someone has tried and it will result in a bootloop.
Q25. Will S-pen ever work?
A25. The S-pen code is highly unstable as it changes 40 or more kernel parameters. While the S-pen works, the tablet randomly reboots so I will not release any rom with S-pen. I spent several weeks trying to troubleshoot the problem, but it's too hard to narrow down the problem.
Q26. Okay, I understand the consequences and that this is BETA rom and willing to take the risks outlined, now where can I find the rom?
A26. Downloads are at
retiredtab - Browse /SM-P550/18.1 at SourceForge.net
sourceforge.net
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
June 10, 2023 release notes
1. June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-06
2. Whatever LineageOS changed since last May release (about 5,600 files had to be recompiled).
May 8, 2023 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-05
2. Whatever LineageOS changed since last Apr release (about 7,400 files had to be recompiled).
Apr 15, 2023 release notes
1. Apr 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-04
2. Whatever LineageOS changed since last Mar release (about 4,500 files had to be recompiled).
March 22, 2023 release notes
1. Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-03
2. Whatever LineageOS changed since last Feb release (about 24,500 files had to be recompiled).
Feb 13, 2023 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-02
2. Whatever LineageOS changed since last Jan release (about 12,500 files had to be recompiled).
Jan 8, 2023 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-01
2. Whatever LineageOS changed since last Dec release (about 5,000 files had to be recompiled).
Dec 10, 2022 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-12
2. Whatever LineageOS changed since last Nov release (about 5,000 files had to be recompiled).
Nov 12, 2022 release notes
1. Nov 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-11
2. Whatever LineageOS changed since last Oct release (about 5,000 files had to be recompiled).
Oct 8, 2022 release notes
1. Oct 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-10
2. Whatever LineageOS changed since last Sept release (about 5,500 files had to be recompiled).
Sept 11, 2022 release notes
1. Sept 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-09
2. Whatever LineageOS changed since last Aug release (about 12,500 files had to be recompiled).
Aug 5, 2022 release notes
1. Aug 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-08
2. Whatever LineageOS changed since last July release (about 4,000 files had to be recompiled).
3. Fix stock camera issue where preview is not shown after first picture is taken. See
https://github.com/retiredtab/andro...mmit/93aca9eb1910dc64e0868f3e1fdea1c9daf29584
July 8, 2022 release notes
1. July 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-07
2. Whatever LineageOS changed since last June release (about 2,000 files had to be recompiled).
June 12, 2022 release notes
1. June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-06
2. Whatever LineageOS changed since last May release (about 15,000 files had to be recompiled).
May 6, 2022 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-05
2. Whatever LineageOS changed since last April release (about 11,000 files had to be recompiled).
April 11, 2022 release notes
1. April 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-04
2. Whatever LineageOS changed since last Mar release (about 11,000 files had to be recompiled).
Mar 13, 2022 release notes
1. Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-03
2. Whatever LineageOS changed since last Feb release (about 5,800 files had to be recompiled).
Feb 11, 2022 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-02
2. Whatever LineageOS changed since last January release (about 34,500 files had to be recompiled).
Jan 20, 2022 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-01
2. Whatever LineageOS changed since last December release (about 9,900 files had to be recompiled).
Dec 11 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2021-12
2. Whatever LineageOS changed since last November release (about 8,800 files had to be recompiled).
Nov 7 release notes
1. Nov 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/318560
2. Whatever LineageOS changed since last Oct release (about 7,200 files had to be recompiled). One of these changes has removed the built in terminal program from LineageOS as AOSP deprecated this app as per https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/304043
Oct 10 release notes
1. Oct 1 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/317001
2. Added https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/316839 to fix landscape mode system UI. This patch is not yet officially merged as of Oct 10 release.
3. Whatever LineageOS changed since last September release (about 6,100 files had to be recompiled).
Sept 9 release notes
1. Reverted the patch to https://github.com/retiredtab/andro...mmit/a32c7a0bed536281d20b7c1cf8d41c84a268cc80
Removing systemUI from pinner services causes a 4 to 6 delay in bringing up the home screen. This is seen when loading or playing a game for about 20 minutes and then either hitting the recents or home button. By reverting this commit, pressing recents or home button brings up the systemUI right away.
2. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/315661
3. Whatever LineageOS changed since last August release (about 7,000 files had to be recompiled).
Aug 8 release notes
1. Fix battery status icon. When you plug in AC adapter, settings, battery does not show it charging even though it is. This is due to the sepolicy being too restrictive. I added https://github.com/retiredtab/msm89...mmit/c1eca9f7740b6a384d4fab8a1e8d812f59c17a99
2. Aug 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/314477
3. Whatever LineageOS changed since last July release (about 12,000 files had to be recompiled).
July 9 release notes
1. Initial public release to XDA. This is an ALPHA build.
2. July 5 security patches as per https://review.lineageos.org/q/topic:"android-11.0.0_r39"+(statuspen OR status:merged)
3. Small bug in settings, battery where the charging lightning symbol is not displayed when AC adapter is plugged in. This will be fixed in the August security patches.
Reserved.
To be an alpha going pretty well at the moment I don't and found bugs.
Appreciated your work never thought to see my device with lineage os 18.1! :'D
Thank you <3
damismtz said:
To be an alpha going pretty well at the moment I don't and found bugs.
Click to expand...
Click to collapse
For every build I post and upload, I probably have 100+ or more failed builds. I try to find most of the bugs and use the rom myself for several months before letting others try it.
New build called lineage-18.1-20210808-UNOFFICIAL-gt5note10wifi.zip
Aug 8 release notes
1. Fix battery status icon. When you plug in AC adapter, settings, battery does not show it charging even though it is. This is due to the sepolicy being too restrictive. I added https://github.com/retiredtab/msm89...mmit/c1eca9f7740b6a384d4fab8a1e8d812f59c17a99
2. Aug 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/314477
3. Whatever LiineageOS changed since last July release (about 11,500 files had to be recompiled).
4. 18.1 continues to be my daily driver since March 2021.
New build called lineage-18.1-20210909-UNOFFICIAL-gt5note10wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 continues to be my daily driver since March 2021.
Sept 9 release notes
1. Reverted the patch to https://github.com/retiredtab/andro...mmit/a32c7a0bed536281d20b7c1cf8d41c84a268cc80
Removing systemUI from pinner services causes a 4 to 6 delay in bringing up the home screen. This is seen when loading or playing a game for about 20 minutes and then either hitting the recents or home button. By reverting this commit, pressing recents or home button brings up the systemUI right away.
2. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android/+/315661
3. Whatever LiineageOS changed since last August release (about 7,000 files had to be recompiled).
New build called lineage-18.1-20211010-UNOFFICIAL-gt5note10wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 continues to be my daily driver since March 2021.
Oct 10 release notes
1. Oct 1 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/317001
2. Added https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/316839 to fix landscape mode system UI. This patch is not yet officially merged as of Oct 10 release.
3. Whatever LiineageOS changed since last September release (about 6,100 files had to be recompiled).
New build called lineage-18.1-20211107-UNOFFICIAL-gt5note10wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 continues to be my daily driver since March 2021.
Nov 7 release notes
1. Nov 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/318560
2. Whatever LineageOS changed since last Oct release (about 7,200 files had to be recompiled). One of these changes has removed the built in terminal program from LineageOS as AOSP deprecated this app as per https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/304043
Thank you for make this rom available for this device.
the november version is mirroring the touchscreen, if I click in a button on the left of the screen, the button on the right receives de action the way around also happens.
the october version works fine.
Vinicius7 said:
Thank you for make this rom available for this device.
the november version is mirroring the touchscreen, if I click in a button on the left of the screen, the button on the right receives de action the way around also happens.
the october version works fine.
Click to expand...
Click to collapse
You likely flashed the incorrect rom.
The SM-T550 = gt510wifi. The SM-P550 = gt5note10wifi. I use the P550 myself. If the x-axis was reversed, I would have noticed it immediately.
The SM-T550 and SM-P550 use virtually identical code except the x-axis is mapped reversed.
retiredtab said:
You likely flashed the incorrect rom.
The SM-T550 = gt510wifi. The SM-P550 = gt5note10wifi. I use the P550 myself. It the x-axis was reversed, I would have noticed it immediately.
The SM-T550 and SM-P550 use virtually identical code except the x-axis is mapped reversed.
Click to expand...
Click to collapse
that's it, thank you for clearing it out. I installed the november version correctly.
one question:
the encryption is working? here my device restart when I proceed to encrypt it.
Vinicius7 said:
one question:
the encryption is working? here my device restart when I proceed to encrypt it.
Click to expand...
Click to collapse
No idea. I don't encrypt any of my portable devices so I never tried it. There's nothing important on them and I use disposable ids when needed.
New build called lineage-18.1-20211211-UNOFFICIAL-gt5note10wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 continues to be my daily driver since March 2021.
Dec 11 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2021-12
2. Whatever LiineageOS changed since last November release (about 8,800 files had to be recompiled).
Flashed few minutes ago... Works great!
just fine
New build called lineage-18.1-20220120-UNOFFICIAL-gt5note10wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 continues to be my daily driver since March 2021.
Jan 20, 2022 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-01
2. Whatever LiineageOS changed since last December release (about 9,900 files had to be recompiled).
hey can u try making one for smp585 dont need lte or s pen just one flashable rom with a few bugs i can help u with testing if ya want!
New build called lineage-18.1-20220211-UNOFFICIAL-gt5note10wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 continues to be my daily driver since March 2021.
Feb 11, 2022 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-02
2. Whatever LiineageOS changed since last January release (about 34,500 files had to be recompiled).

[UNOFFICIAL][ROM]ALPHA LineageOS 19.1 Galaxy Tab A [SM-T350] May 6, 2023

PLEASE BEFORE YOU decide to try this rom, you MUST read all of post 1, 2, 3 and 4 (about 10 minute read). If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.
I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this rom.
BACKUP YOUR DATA AND OLD rom BEFORE trying my rom.
If you are NOT an expert in using fastboot, adb, odin, heimdall, twrp, DO NOT use this rom. You must know how to use these tools to revert back to your old rom. If you are new to flashing custom roms, do NOT attempt this.
If you need your tablet for work and something important, do NOT flash this rom. This rom could result in a bricked device or boot loop or non booting device or you not being able to revert back to your old rom.
What works
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. audio over bluetooth
8. camera
What doesn't work
1. selinux is permissive. I have tried to make this build enforcing for weeks, but when I do, the OS doesn't boot and there is no adb logcat output despite making an "eng" build. Without adb logcat output, it's virtually impossible to determine what is wrong and I'm not spending anymore time on it. If having enforcing mode is important to you, use my 18.1 builds.
2. keyboard bug workaround. When prompted to enter something like a Bluetooth pin or text based password, sometimes the keyboard is not shown on the screen or off screen. The workaround is to goto settings, system, languages & input, on-screen keyboard, Android Keyboard (AOSP), appearance & layout, theme and choose "Material - follow system settings".
This keyboard bug is a LineageOS bug as per
https://review.lineageos.org/c/LineageOS/android_packages_inputmethods_LatinIME/+/325438
3. gapps. Some of you require gapps for whatever reason. I use Aurora Store for my purposes and thus have NO KNOWLEDGE of the current state of gapps.
There are various gapps projects (at least 5 in 2022). Each has pros and cons. It's your job to do the research and find a suitable gapps project. I suggest you allocate at least a couple of hours doing your own research. My rom works by itself fine without gapps. DO NOT talk about gapps in this thread. As a courtesy to gapps users, if you want to talk about gapps, I have opened a new thread at
https://forum.xda-developers.com/t/...m-t35x-sm-t550-sm-t560nu-and-sm-p550.4479285/
so you may discuss gapps wrt to the msm8916 platform. I will NOT be participating in that thread as I do NOT use gapps.
Source Code
Links and instructions on how to build this rom from source are in post #2 FAQ 1.
Thanks
1. LineageOS team for source code.
2. Kyle Harrison
- looking through the adb logcat and suggesting that my binder code was too old to work with Android 12's keystore2 code
- for the graphics and legacy camera patches to allow msm8916 to work with Android 12
- for his Motorola LineageOS 19.1 device trees so I could use his patches as a template for msm8916
3. @tarkzim
- adding back audio hal 2.0 and legacy camera hal 1.0 into the LineageOS trees
- helping me think through the msm8916 random reboots which was due to the TCP/IP patches
- maintaing and updating his repos so I can study them for learning purposes
4. @lpedia
- testing gapps, video conferencing, stability, reliabilty, paid apps
- helping verify my 19.1 repos are buildable by anyone
FAQ - I spent hundreds of hours building this rom. It was frustrating process from Nov 2021 to Aug 2022 running into bug after bug. The least you can do is spend a few minutes reading everything before posting.
Q1. Where are the source and kernel source files?
A1. The kernel source files are at
https://github.com/retiredtab/android_kernel_samsung_msm8916
The device tree files are at
https://github.com/retiredtab/android_device_samsung_msm8916-common/tree/lineage-19.1
https://github.com/retiredtab/android_device_samsung_gt58ltebmc/tree/lineage-19.1
https://github.com/retiredtab/device_samsung_gte-common/tree/lineage-19.1
The vendor tree files are at
https://github.com/retiredtab/android_vendor_samsung_gt58ltebmc
https://github.com/retiredtab/vendor_samsung_msm8916-common/tree/lineage-19.1
The manifest.xml (or roomservice.xml) and build instructions for 19.1 are at
https://github.com/retiredtab/LineageOS-build-manifests
Q2. Is this ALPHA rom suitable as a daily driver?
A2. It can be depending on your requirements. I can't test every app so you try it yourself to see if it's suitable. I've been using this rom myself since mid March 2022 with no major issues. I suggest you do a clean install, see FAQ 11, and flash this 19.1 ROM BY ITSELF (no gapps, magisk, etc) and see if you like it. If you do like it and want to add gapps then see FAQ 12.
Q3. What if my app, xyz, doesn't work?
A3. If your app doesn't work, then go back to your old rom.
Q4. Your rom is laggy and buggy.
A4. If you find the above, then go back to your old rom. There's only so much software can do on a 2015 budget level tablet. Remember a budget tablet will have the slower SoC/CPU and less DRAM than a top of the line model. Your tablet will also run slower when you use gapps. You can run a lot of software without using gapps. Research fdroid, newpipe, Aurora store etc.
Q5. What TWRP should I use?
A5. You MUST use TWRP 3.5.2_9. Get it from
https://forum.xda-developers.com/t/...-0-v7-10-android-11-galaxy-tab-a-8-0.4293577/
Q6. Why should I use this rom?
A6. If you don't like this rom, then don't use it.
Q7. Will you offer monthly updates with security patches?
A7. I will try to offer monthly security patches, but that all depends on if I continue to have high speed Internet in the future.
Q8. Can you help me? I'm a newbie. Can you provide step by step instructions?
A8. I don't have the time to help newbies, so please do your own research. There are lots of tutorials, videos, etc on how to flash roms. Newbie questions must be posted in the Questions and Answers forum, not here.
Q9. Can I report a bug with respect to the rom?
A9. Yes, but you need to supply the following information. If you don't, I won't look at it.
You must provide an adb logcat of the problem and tell me how to reproduce it. Note I will not be downloading any apps that require money or an userid/password. For example, if you have problems with Netflix, I cannot help you since I don't have a paid subscription. If you use some app that requires an userid/password, I cannot help you as I'm not willing to create another userid/password even if it's free.
To get a logcat, open up a terminal window.
Code:
# clear the logcat first
adb logcat -c
# start logcat trace
adb logcat > problem.txt
# reproduce problem
# wait until problem has occured, then stop trace by hitting ctrl-c
# attach the problem.txt ZIPPED as text files don't seem to get attached properly
Q10. Will you still build 18.1 for this device?
A10. Yes, for rest of 2022, but I will make a decision in January 2023 on how 18.1 and 19.1 will be maintained. If you like to help by building 18.1/19.1, please let me know.
Q11. Do I need to erase everything and format my data?
A11. Yes, you MUST erase all the partitions (system, data, dalvik/art cache, cache) using TWRP and MUST format your data before installing 19.1 when you are coming from stock or an earlier version of LineageOS or from another custom rom. If you get stuck at the boot animation for more than 5 minutes, it's likely because you didn't follow the instructions I just wrote. Dirty flashes from stock, other custom roms or older LineageOS versions are not supported and not likely to work.
Q12. What gapps should I use?
A12. I don't use gapps anymore. I use Aurora Store. As of Nov 6, 2021, I no longer make recommendations on which gapps to use as your mileage may vary.
Let me by crystal clear. YOU NEED TO DO YOUR OWN HOMEWORK selecting between the various gapps offered. There are 5: opengapps, nikgapps, mindthegapps, flamegapps and bitgapps. Each one will have it's own installation instructions. The only recommendation I will offer to use the SMALLEST version of gapps.
Don't be surprised that whatever gapps you use might have problems like "Just a sec", voice not working, updating google play store please wait, etc. These are NOT problems of the OS as the OS will run fine without gapps. These are gapps problems and you must ask in the gapps forum why it doesn't work.
In addition, some of the gapps may not install properly when using TWRP and say "cannot /mnt/system". For those cases, please use the LineageOS recovery.img you can download from
https://sourceforge.net/projects/retiredtab/files/SM-T350/LineageOS-recovery/
By flashing the LineageOS recovery.img, it will overwrite the existing TWRP and you will get a different UI.
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I WILL NOT answer any questions regarding gapps. This thread is about the rom, not gapps. Android does not depend on gapps in order to work.
Questions about gapps, for your courtesy, should be asked at
https://forum.xda-developers.com/t/...m-t35x-sm-t550-sm-t560nu-and-sm-p550.4479285/
Q14. Why isn't my post answered or ignored?
A14. Questions already answered in the FAQ will be completely ignored. Again, I do not use Windows OS or gapps.
Q16. What speed up/optimization tips do you suggest?
A16.
1. Turn off animations. Go into developer settings, scroll down to the drawing section, and set window, transition and animator scale all to "off".
2. If you don't have a google account, don't install gapps. Use Aurora Store to get your apps as you can get all the same apps from the play store using an anonymous login.
3. Dont' run more than 2 apps at the same time. You can probably listen to music in the background and use a web browser at the same time, but don't expect great performance from a 2015 entry level tablet.
4. Use a web browser like Brave that has built in adblock and privacy features.
5. Use newpipe to watch your streaming content. It has built in adblock so you don't have to watch forced ads.
6. Look for apps that are open source, ad free and lightweight.
7. Remove all unused quick setting "bubbles" from the quick pull down menu. I only need and have 6.
Q17. Does this rom support Magisk for root?
A17. I don't use Magisk myself so I don't know and Magisk is always being updated to fool Google's certification process. Others have reported Magisk as working, but I won't answer any questions regarding it.
Q18. Will this rom ever become official?
A18. With 19.1, legacy devices like ours will NEVER be official due to lack of ebpf support. See https://lineageos.org/Changelog-26/
Also, I don't want the responsibilities that come with being an official maintainer.
Q19. What is the difference between this rom and others?
A19. This rom tries to be pure LineageOS with little to no modifications.
Q20. Will there be any major 19.1 code modifications in the future?
A20. I don't anticipate any major modifications. There may be some small bug fixes and minor code cleanup, but all the hard work in getting the rom up and running and fixing all the major bugs have been done completed. This doesn't mean the code is perfect or well organized, but I won't be doing any major changes now that 19.1 is working.
Q21. Why did you fork the device and vendor trees for 19.1?
A21. The msm8916 repos seem geared towards phones and sometimes do not work or cause boot animation loops for tablets so I decided to fork their repos. In other words, what's deemed as msm8916-common code isn't common to all devices.
In addition, since I'm building SM-T350, SM-T357W, SM-T550, SM-P550 and SM-T560NU (all use the same msm8916 code), it seems easier to maintain all of them if I can control my own code repos and not worry if my changes affects the phones or not.
I have completely decommonized and rearranged the 19.1 msm8916-common tree so it's easier for me to maintain and build.
Q22. Can you build a variant of this device? For example, a LTE or S-pen version.
A22. If I don't physically have the device, I cannot and will not build it unless I can boot and test it myself. Even then, there's no guarantee that I can get those variant features working.
Q23. Can I load this rom on a variant devivce like LTE or S-pen version?
A23. The rom is built for the device explicitly listed. If you are an advanced user and understand TWRP, adb, odin, heimdall, you can try loading it on a LTE or S-pen variant by modifying the updater-script, but it may cause a bricked device, bootloops or non functionality of LTE/S-pen. You have been informed and warned!
Q24. How do I know if I have a BOE panel?
A24. Some ST-350 tablets have a BOE display panel. In order for it to work with TWRP and any custom rom, you must have the correct bootloader installed on a BOE panel otherwise you will see a black/blank screen. To check to see if you have a BOE panel, open a terminal and
Download an app called devcheck by flar2. In the hardware tab, scroll down to the display section and look at the panel.
If you see BOE anywhere in that string, then you have a BOE panel.
There is a fix as documented at post #41
https://forum.xda-developers.com/t/...galaxy-tab-a-8-0.4158163/page-3#post-83488241
This fix loads the Android 6.0 stock rom bootloader so that it works with TWRP and the custom rom.
Q25. Why is this NOT a GO build when 18.1 was a GO build.
A25. A GO build uses less DRAM, disk space and supposed to be better suited for devices with 2GB DRAM or less. I have no idea whether it's true or not vs a NON GO build, but I figured I would try a GO build for 18.1.
With Android 12L, the settings panel requires a split screen feature which is not in the GO build. When I made a 19.1 GO build in March 2022, half the setting screen would not show up so. When I made a NON GO build, then both sides the settings panel showed up on the screen.
Q26. What major code changes are in 19.1 vs 18.1.
A26.
- iptables has been removed in favour of ebpf
- keystore v1 has been replaced with keystore v2 which requires that the binder calls have some built-in security
- audio hal 2.0 has been deprecated
- legacy camera hal 1.0 and snap app have deprecated
Q27. I don't like the taskbar, how do I turn it off?
A27. Choose settings, type task into the search bar. Choose enable taskbar and disable taskbar. This will leave the on screen nav bar. If you want to disable that, go to settings, system, gestures, system navigation, gesture navigation.
Q28. Okay, I understand the consequences and that this is ALPHA rom and willing to take the risks outlined, now where can I find the rom?
A28. You can download it from https://sourceforge.net/projects/retiredtab/files/SM-T350/19.1/
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.
19.1 has been my daily driver since March 2022.
May 6, 2023 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-05
2. Whatever LineageOS changed since Apr 5 patches. About 7,400 files had to be recompiled.
Apr 13, 2023 release notes
1. Apr 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-04
2. Whatever LineageOS changed since Mar 5 patches. About 23,000 files had to be recompiled.
March 18, 2023 release notes
1. Mar 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-03
2. Whatever LineageOS changed since Feb 5 patches. About 24,000 files had to be recompiled.
Feb 12, 2023 release notes
1. Feb 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-02
2. Whatever LineageOS changed since Jan 5 patches. About 12,500 files had to be recompiled.
Jan 7, 2023 release notes
1. Jan 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-01
2. Whatever LineageOS changed since Dec 5 patches. About 4,400 files had to be recompiled.
Dec 9, 2022 release notes
1. Dec 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2022-12
2. Whatever LineageOS changed since Nov 5 patches. About 4,700 files had to be recompiled.
Nov 11, 2022 release notes
1. Nov 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2022-11
2. Whatever LineageOS changed since Oct 5 patches. About 5,400 files had to be recompiled.
Oct 6, 2022 release notes
1. Oct 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2022-10
2. Whatever LineageOS changed since Sept 5 patches. About 7,200 files had to be recompiled.
Sept 11, 2022 release notes
1. Sept 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2022-09
2. Switched to different timekeep repo that works with Android 12 and up.
3. Whatever LineageOS changed since Aug 5 patches. About 9,500 files had to be recompiled.
Aug 9, 2022 release notes
1. Aug 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2022-08
2. Initial ALPHA release to public.
Reserved.
Thanks for making this! So far I haven't found any other issues than the ones you have listed. Stability so far is pretty solid too. Had no idea a12 had a taskbar until today, I quite like it.
One thing, the twrp you have listed does not seem to work by default, as the install script thinks its a different device. I stuck with using nubianprince's build and it worked fine. If people do the research they're supposed to though they can probably noodle around that .
lividhen said:
Thanks for making this! So far I haven't found any other issues than the ones you have listed. Stability so far is pretty solid too. Had no idea a12 had a taskbar until today, I quite like it.
Click to expand...
Click to collapse
I like the taskbar, but disabling it is a FAQ in many 19.1 threads.
lividhen said:
One thing, the twrp you have listed does not seem to work by default, as the install script thinks its a different device.
Click to expand...
Click to collapse
Oops, that's a cut and paste error. I put the T357 TWRP in T350 thread and vice versa. Thanks I have fixed that now. That's what I get for announcing 7 (yes, seven) 19.1 roms in a 24 hour span.
lividhen said:
I stuck with using nubianprince's build and it worked fine. If people do the research they're supposed to though they can probably noodle around that .
Click to expand...
Click to collapse
Yes, my FAQ now correctly points to @nubianprince's TWRP build. I've been using that one as well. It works so I haven't bothered to make an updated version. It's the same build that I recommended in my 18.1 FAQ as well.
Thanks for catching my cut and paste TWRP error and glad you find the 19.1 build working well so far.
Holy crap! 7?!
You have been very busy.
Also I don't know if this was you or if this was the lineage team, but thank you to whoever made the lowest android setting brightness actually be 1 on the soc lcd block instead of 5.
(I swear there is a name for when a device is mounted like that but I can't remember, eg /sys/devices/soc.0/1a00000.qcom,mdss_mdp/qcom,mdss_fb_primary.132/leds/lcd-backlight/brightness is the hardware brightness value I think)
Just saw it, will flash and will reply with an update later
John007778 said:
Just saw it, will flash and will reply with an update later
Click to expand...
Click to collapse
There are definitely bugs but the name says it but it booted
Why is the file size displayed as 558.8MB on the download page, but only 533MB when it is actually downloaded? Is this normal?
uOySsElNu said:
Why is the file size displayed as 558.8MB on the download page, but only 533MB when it is actually downloaded? Is this normal?
Click to expand...
Click to collapse
Yes it is. Source forge is funky. I am not sure if they somehow calculate the file size differently, or store it different. I think androidfilehost.com does this too. If you want to check it, click the (i) on the right side of the file on source forge to get some checksums.
uOySsElNu said:
Why is the file size displayed as 558.8MB on the download page, but only 533MB when it is actually downloaded? Is this normal?
Click to expand...
Click to collapse
Do "man ls" and you know why.
Bash:
gt58wifi:/sdcard $ ls -alh lineage-19.1-20220809-UNOFFICIAL-gt58wifi.zip
-rw-rw---- 1 root everybody 533M 2022-08-09 18:00 lineage-19.1-20220809-UNOFFICIAL-gt58wifi.zip
gt58wifi:/sdcard $ ls -al lineage-19.1-20220809-UNOFFICIAL-gt58wifi.zip
-rw-rw---- 1 root everybody 558839729 2022-08-09 18:00 lineage-19.1-20220809-UNOFFICIAL-gt58wifi.zip
lividhen said:
If you want to check it, click the (i) on the right side of the file on source forge to get some checksums.
Click to expand...
Click to collapse
The above is the correct answer. Each time I upload a file, I check the sha1sum on my local drive to make sure it matches with the uploaded sha1sum. While sha1sum takes longer than md5, it's more "tamper" resistant.
The build process also includes a sha256sum file, but based on other rom download stats, very few people download that sha256sum file to check the integrity of the download. And yes, doing a sha256sum takes longest of the three.
To anyone wondering how this performs compared to the 18 build, it runs just as good. So dont let the alpha scare you off. I have been using for 3 days now and haven't encountered any issues.
Thank you for your continued work on these ROMS.
tried turning it on today and it's bootlooping, will try to send the log
my tab boot looped when i was using ur other custom lineage 18.1 rom, and when i tried to re-flash using this new rom it is still boot looping, what do you think the problem is??
Tested dirty flash update from your last LineageOS 18.1 build to your 19.1 build on a T355Y device.
Confirmed working.
F-Droid will lose privileged extension and Aurora services will be gone though, but I easily re-installed via adb root.
Root manager (Lygisk) is also lost but is easily re-installable via TWRP 3.5.2_9-0 recovery. Now confirmed working with Lygisk version 25.1
In Aurora Store, I reviewed the blacklist because upgrading to Android 12 has a few extra bits and pieces which are sometimes "updatable" via Google Play Store but I didn't want to be interfered with during automatic app updates.
Nova launcher required permission confirmation again for notification badges and my custom keyboards needed permissions again too, so maybe other apps with permission requests might need to be granted again.
Thanks for supporting this device. I don't really use it for much other than as an occasional ebook reader, but it is fun to show friends that it is running Android 11 (now 12) when they see it on the coffee table and that old devices can have an extended life.
Hi @retiredtab
First of all, thanks for all your help and hardwork in keeping Galaxy Tab A devices alive.
I am trying to build your sources to start development for my SM-P555 device and following the instructions detailed in your https://github.com/retiredtab/LineageOS-build-manifests/blob/main/191-build-instructions.txt
While executing https://github.com/retiredtab/LineageOS-build-manifests/blob/main/191-build-instructions.txt#L43, I am hitting this prompt and seeking your advice on what needs to be done.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Many thanks!
psuryatej said:
While executing https://github.com/retiredtab/LineageOS-build-manifests/blob/main/191-build-instructions.txt#L43, I am hitting this prompt and seeking your advice on what needs to be done.
Click to expand...
Click to collapse
Please start a new thread called "How to build 19.1 for SM-P555" in the Q&A subforum.
New build called lineage-19.1-20220911-UNOFFICIAL-gt58wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.
19.1 has been my daily driver since March 2022.
Sept 11, 2022 release notes
1. Sept 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2022-09
2. Switched to different timekeep repo that works with Android 12 and up.
3. Whatever LineageOS changed since Aug 5 patches. About 9,500 files had to be recompiled.

Categories

Resources