[UNOFFICIAL][ROM]BETA LineageOS 18.1 for SM-T710 - May 8, 2023

Search This thread

retiredtab

Senior Member
Nov 16, 2017
1,498
1,194
Just one thing though that's been causing me a small problem that I thought I'd try and resolve today - I've not rooted and although I'm passing Safety Net and most root checking apps confirm not rooted, some apps are detecting root, such as SkyGo and some banking apps
By default, none of the modern/recent LineageOS are rooted and I don't change that on any of my builds. Some apps, as you discovered, incorrectly think it's rooted when it's not.
Checking with RootBeer reported the Tab as 'Rooted' due to test-keys and dangerous props, so, after a bit of digging on the net, I booted into TWRP and used ADB to grab a copy of default.prop, which is located at "/" and build.prop, which is located at "/system"

In default.prop I changed ro.secure=0 to 1 and ro.debuggable=1 to 0
In build.prop I changed ro.build.type=userdebug to user and ro.build.tags=test-keys to release-keys
Yes, ro.debuggable is set in the code at

https://github.com/retiredtab/andro...mon-selinux/blob/lineage-18.1/system.prop#L78

When trying to get 18.1 up and running, I want adb starting immediately so it can send logcat messages to my terminal.
With the Tab still in TWRP, ADB was then used to push the files back. After a reboot, RootBeer now showed everything OK and reported 'Not Rooted'. SkyGo now worked and so did the banking apps.
I'm glad you found a workaround. Just remember that when the next monthly security patch comes out, the prop file changes will be overwritten and you will have to apply your changes again.
 
Last edited:

keyap

Member
May 2, 2016
27
9
Installed around ten days ago with retiredtab's 3.5.2_9 TWRP recovery, BitGapps and ~50 apps, and haven't had any problems. Tab is running super fast, no reboots and all 'secure' apps such as banking etc are working normally (after tweaking the default and build props). Thanks to the dev and all who supported/contributed 👍👍👍👍👍👍👍
 
Last edited:

retiredtab

Senior Member
Nov 16, 2017
1,498
1,194
New build called lineage-18.1-20230319-UNOFFICIAL-gts28wifi.zip

@lpedia has compiled and @pflyaz has tested all the functionality as to what works as per post #1 before uploading the build. 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.

March 19, 2023 release notes

1. YOU MUST read posts 1-4 if you haven't already

2. Incorporates Feb 5 and Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-02 and https://review.lineageos.org/q/topic:R_asb_2023-03
3. If you are upgrading from the April 10, 2022 build or later, you may dirty flash to this build. If you are NOT coming from the April 10th 2022 or later build, you MUST BACKUP your data because YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA. You cannot dirty flash at all. See FAQ Q11.
 
  • Like
Reactions: keyap

gt203

New member
Mar 25, 2023
1
0
Dear retiredtab, dear all,
thank you very much for your efforts to make the tabs2 usable. I'm currently using your build 18.1 and i have only one problem: don't know why, but the wifi speed is dropping from time to time. If i disabel/enable wifi, it's going up to 170..180 mbit/s. After a while (sometimes half a day) it's dropping to 30 mbit.
Then i disable/enable wifi and everything is ok.

I made the installation accord to the first post (modified twrp, wipe, format, install, wipe).
I don't installed gapps, only stock lineage with aurora store.

Maybe somebody else had this problem?

THanks!
 

keyap

Member
May 2, 2016
27
9
Dear retiredtab, dear all,
thank you very much for your efforts to make the tabs2 usable. I'm currently using your build 18.1 and i have only one problem: don't know why, but the wifi speed is dropping from time to time. If i disabel/enable wifi, it's going up to 170..180 mbit/s. After a while (sometimes half a day) it's dropping to 30 mbit.
Then i disable/enable wifi and everything is ok.

I made the installation accord to the first post (modified twrp, wipe, format, install, wipe).
I don't installed gapps, only stock lineage with aurora store.

Maybe somebody else had this problem?

THanks!
WiFi is fine for me, although we're capped at 40 mbits by our provider

I'm on the 20230108 release
 
Last edited:

retiredtab

Senior Member
Nov 16, 2017
1,498
1,194
New build called lineage-18.1-20230418-UNOFFICIAL-gts28wifi.zip

@lpedia has compiled and @pflyaz has tested all the functionality as to what works as per post #1 before uploading the build. 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.

Apr 18, 2023 release notes

1. YOU MUST read posts 1-4 if you haven't already

2. Incorporates Apr 5 as per https://review.lineageos.org/q/topic:R_asb_2023-04
3. If you are upgrading from the April 10, 2022 build or later, you may dirty flash to this build. If you are NOT coming from the April 10th 2022 or later build, you MUST BACKUP your data because YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA. You cannot dirty flash at all. See FAQ Q11.
 
  • Like
Reactions: keyap

retiredtab

Senior Member
Nov 16, 2017
1,498
1,194
New build called lineage-18.1-20230508-UNOFFICIAL-gts28wifi.zip

@lpedia has compiled and @pflyaz has tested all the functionality as to what works as per post #1 before uploading the build. 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.

May 8, 2023 release notes

1. YOU MUST read posts 1-4 if you haven't already

2. Incorporates May 5 as per https://review.lineageos.org/q/topic:R_asb_2023-05
3. If you are upgrading from the April 10, 2022 build or later, you may dirty flash to this build. If you are NOT coming from the April 10th 2022 or later build, you MUST BACKUP your data because YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA. You cannot dirty flash at all. See FAQ Q11.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    New build called lineage-18.1-20230508-UNOFFICIAL-gts28wifi.zip

    @lpedia has compiled and @pflyaz has tested all the functionality as to what works as per post #1 before uploading the build. 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.

    May 8, 2023 release notes

    1. YOU MUST read posts 1-4 if you haven't already

    2. Incorporates May 5 as per https://review.lineageos.org/q/topic:R_asb_2023-05
    3. If you are upgrading from the April 10, 2022 build or later, you may dirty flash to this build. If you are NOT coming from the April 10th 2022 or later build, you MUST BACKUP your data because YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA. You cannot dirty flash at all. See FAQ Q11.
  • 5

    LineageOS 18.1 UNOFFICIAL for 2015 Samsung Galaxy Tab S2 SM-T710 ONLY​

    Model: SM-T710 (wifi) - gts28wifi - 8" screen, Exynos 5433 SoC, no LTE
    This is the ONLY model that the ROM will work on.

    There is NO ROM for the T715 or T815 in this thread. Questions about T715 or T815 will be completely IGNORED.

    You MUST READ posts 1-4 (about 10 minute read) before deciding to install this rom. If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.

    DISCLAIMER


    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.

    All involved in bringing this build to you are working voluntarily on it in very limited spare time, and their other life commitments have much higher priority. Don't expect a prompt, or even any, response to questions and bug reports.

    Before attempting to install this ROM

    1. Ask yourself: would bricking your device be a disaster for you? If yes, don't try this ROM! It can't be guaranteed stable and reliable enough to depend on for daily use.
    2. BACKUP YOUR DATA AND EXISTING ROM. Be prepared for a complete restore if anything goes wrong.
    3. RESEARCH adb, fastboot, Odin/heimdall, and TWRP and how to use them, if not already familiar with these.

    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. DRM level 3 (SD definition)
    10. deep sleep

    What doesn't work

    1. fingerprint. As I wrote in post 1891 at

    https://forum.xda-developers.com/t/...t810-t815-t815y.3879302/page-95#post-85533725

    I will not spend anymore time looking at fingerprint. If you need fingerpint to work, stay with stock Samsung rom.

    2. DRM level 1 (no HD definition). There's more detail in post 1891 above. I will not be trying to achieve level 1 for HD definition. If you need HD definition for your $treaming media, stay with stock Samsung rom.

    3. If you charge the device while it's powered off and then want to power it on, you MUST wait at least 30 seconds AFTER disconnecting the charger cable before pressing the power button otherwise you might run into strange boot problems such as the touch screen not working.

    4. Possibly other features that I haven't tested or do not use.

    Source Code

    See FAQ 1 for links in post #2.

    Thanks

    1. LineageOS team for source code.

    2. @retiredtab, @ananjaser1211, @lpedia, @Yogi555 and @CuckooPenguin for spending nearing 1 month fixing the 2 most biggest bugs in 17.1 that plagued users for nearly 10 months: the wifi instability and random reboots. These are discussed in detail at

    https://forum.xda-developers.com/t/...rs-running-any-version-of-android-10.4308193/
    https://forum.xda-developers.com/t/...rs-running-any-version-of-android-10.4308203/

    3. All past contributors of the exynos5433 code.
    4. @rINanDO for his lmkd spam fix in 18.1.
    5. beta testers: lpedia, Yogi555 and CuckooPenguin
    6. lpedia for building the public T710 monthly roms starting April 2022
    7. lpedia for suggestions, proof reading and FAQ table format in post #2.
    4
    Frequently Asked Questions. You MUST READ this before posting any questions. Thank you.

    QuestionAnswer
    Q1. Can I build this ROM for myself? Where are the source and kernel source files?A1. Yes, you can. The source files are listed below.

    Kernel
    https://github.com/retiredtab/android_kernel_samsung_universal5433-selinux

    Device Tree
    https://github.com/retiredtab/android_device_samsung_gts2-common-selinux
    https://github.com/retiredtab/android_device_samsung_gts28wifi

    Vendor
    https://github.com/retiredtab/proprietary_vendor_samsung-selinux

    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. The other patch required for tcp/ip is at https://github.com/DerpFest-11/pack...mmit/22fd53a977eeaf4e36be7bf6358ecf2c2737fa5e
    Q2. Is this ROM suitable as a daily driver?A2. It might be, depending on your requirements. You would need to try it yourself, with your preferred apps, to see if suits your purposes. I've been using it myself since mid August 2021 with no major issues.
    Q3. What do I do if my app xyz doesn't work?A3. I can't help diagnose problems with random apps I know nothing about. If the app is critically important to you and it doesn't work on this ROM, go back to a ROM where it did work.
    Q4. Why is this ROM laggy and/or buggy?A4. The device will be noticeably slower if you're using any Gapps package. Consider going gapps-free. A lot of apps will work without Google's services, or there exist alternatives that will. Check out F-Droid, Aurora Store, NewPipe, etc.
    Q5. What TWRP should I use?A5. You MUST use my unofficial TWRP 3.5.2_9. Get it from

    https://sourceforge.net/projects/retiredtab/files/SM-T710/TWRP/
    Q6. Why should I use this ROM?A6. You don't have to! If you don't like it, go back to your old ROM.
    Q7. Will you offer monthly updates with security patches?A7. We plan to do so. lpedia will try to update the ROM with the monthly security patches after LineageOS has released them, free time permitting. Each monthly build will be tested to make sure all the "What's working" functionality listed in post #1 still works, before it's made available (which might in some cases delay the release).
    Q8. I'm a newbie. Can you provide step by step instructions?A8. We simply don't have the time to do this, but there are lots of tutorials, videos, etc online showing how to flash custom ROMs and how to deal with common problems. Newbie questions are also accepted in the XDA General Questions and Answers forum. Having said that, @pflyaz has kindly make a guide in post #37.
    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.

    Provide an adb logcat of the problem, and if possible describe how to reproduce it. Note that I can't help if it involves downloading any app I don't already use that requires payment or creating a userid/password.

    To get a logcat, open a terminal window on your PC, connect your device to it via USB, and do this:

    Bash:
    # clear the logcat first
    adb logcat -c
    # start logcat trace
    adb logcat > problem.txt
    # reproduce problem
    # wait until problem has occurred,
    # then stop trace by hitting ctrl-c then zip the problem.txt file
    # before uploading it.
    Q10. How long will you build 18.1 for this device?A10. For now, 18.1 will be built for all of 2022. After that, we will make a decision depending on a number of factors.
    Q11. Do I need to erase everything and format my data before installing this ROM for the first time?A11. Under most circumstances, yes.

    If you're coming from stock Samsung Android, or an earlier version of LineageOS, or a different custom ROM, you MUST 'clean flash': boot to TWRP recovery, wipe system, data, dalvik/art cache, and cache partitions, then Format Data, then install this ROM.

    If you don't do this you're likely to run into problems, such as getting stuck at the boot animation for more than 5 minutes.

    The ONLY exception is that if you are coming from LOS 18.1 with the April 5 2022 security patch or later, you can dirty flash the latest security patch build.
    Q12. What Gapps should I use?A12. Your choice! There are several well-known Gapps packages, such as NikGapps, BiTGapps, OpenGapps, and MindTheGapps. OpenGapps is being removed as per post #11. Do your own research as to what is the most reliable gapps option for you.

    I recommend installing the SMALLEST version of any of these, preferably with just the minimum Google services needed to access the Play Store and run apps that depend on Google services.

    You could also consider Google alternatives, such as Aurora Store, which mirrors the Google Play Store apps but doesn't need any Google services itself. Many Play Store apps do not actually depend on Google services.

    If you are going to install any Gapps package, follow the installation instructions given for that particular package.
    Q13. I'm having problems with Gapps. Can you tell me why it's not working?A13. I can't answer any questions about Gapps, because I don't use them. Ask your questions on the XDA thread for the Gapps package you're using.
    Q14. Why isn't my post answered?A14. There are several possible reasons: the question is answered in the FAQ (in which case it will be ignored completely); or it involves apps or operating systems that I don't use; or it's about Gapps, which I don't use; or I simply have not had time to answer any questions.
    Q15. What speed up/optimization tips do you suggest?A15. These steps can make a big difference to performance:
    • Turn off animations. Go to Settings > System > Developer options, scroll down to the Drawing section, and set Window, Transition and Animator scale all to "Animation off".
    • Don't install Gapps unless you depend on something that only Google is providing. Use Aurora Store to get your preferred Play Store apps - they will all be available on Aurora Store. You can choose to access this anonymously or use a Google account.
    • Don't run more than two apps at the same time. You can probably listen to music in the background and use a web browser at the same time.
    • Use a web browser with built-in adblock and privacy features, such as Brave.
    • Use NewPipe to watch your streaming content. It has built in adblock so you don't have to watch forced ads.
    • Look for apps that are open source, ad-free and lightweight.
    Q16. Does this ROM support Magisk so I can root my device?A16. Magisk works with this ROM as reported by beta testsers, but that could change with any revision and changes by Google. However I don't use it myself and can't help with any related issues. Direct any questions about Magisk to the XDA Magisk forum.
    Q17. Will this ROM ever become official?A17. Never. Official maintainers have onerous responsibilities, and I know my device trees, code organization and git commits will NOT meet LineageOS standards. I'm not able or willing to take on the responsibilities and commit the extra time to supporting an official build.
    Q18. What is the difference between this ROM and others?A18. This ROM tries to be pure LineageOS with little or no modification. Other ROMs may come with a different UI, different bundled apps, etc.
    Q19. Will there be any major 18.1 code modifications in the future?A19. 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 - getting the rom up and running, and fixing all the major bugs - has been done. This doesn't mean the code is perfect or well organized, but I won't be making any major changes.
    Q20. Why did you fork the trees?A20. I wanted my own private branch where I could make changes that would only affect my own personal builds.
    Q21. Can you build a variant of this device? For example, a LTE or S-pen version?A21. I cannot and will not try to build for a variant device if I don't physically have that device. I have to be able to boot and test it myself, and there's no guarantee that I can get those variant features working. So I will NEVER build T715, T810 and T815.
    Q22. Can I load this ROM on a variant device like LTE or S-pen version?A22. This ROM is for the device explicitly listed and will only work on that device. Do not try to install it on any other device.

    ONLY if you are an advanced user and understand TWRP, adb, odin, heimdall, etc, you could try loading it on a LTE or S-pen variant by modifying the updater-script, but be warned: there are likely to be problems, including a bricked device, bootloops, or the ROM not being able to support the functionality of LTE/S-pen.
    Q23. Does this ROM have any wifi connection issues?A23. This ROM's wifi has been stable on the specified device ever since lpedia and I determined the root cause of the wifi problems back in July 2021 and re-installed the original S2 network 'blobs' with LOS 17.1.
    Q24. Is this ROM secure so I can do financial transactions?A24. Although Android monthly security patches do improve general security, this ROM's outdated kernel and old proprietary vendor blobs/drivers will NEVER get updates of any kind, and could have significant security holes.

    In addition, although the ROM is SElinux enforcing, there's a good chance that the rules written (about 800+ lines of code) have some errors.

    If the device is rooted, this would further weaken the security.

    With this information, it's up to you to make an informed decision about whether you trust this ROM to be secure enough for your financial transactions.
    Q25. Okay, I understand the consequences and willing to take the risks outlined, now where can I find the BETA rom?A25. Downloads are at

    https://sourceforge.net/projects/lpedia-sf/files/gts28wifi/
    4
    Monthly release notes

    May 8, 2023 release notes

    1. Incorporates May 5 as per https://review.lineageos.org/q/topic:R_asb_2023-05

    Apr 18, 2023 release notes
    1. Incorporates Apr 5 as per https://review.lineageos.org/q/topic:R_asb_2023-04

    March 19, 2023 release notes
    1. Incorporates Feb 5 and Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-02 and https://review.lineageos.org/q/topic:R_asb_2023-03

    Jan 8, 2023 release notes
    1. Incorporates Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-01

    Dec 12 release notes
    1. Incorporates Dec 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-12

    Nov 12 release notes
    1. Incorporates Nov 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-11

    Oct 9 release notes
    1. Incorporates Oct 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-10

    Sept 11 release notes
    1. Incorporates Sept 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-09
    2. Fixes non working touchscreen and hardware buttons when powering up with power cable plugged in and device turned off. However, the recommendation is still to unplug your charger, wait 30 seconds before pressing power button when your device is turned off.

    https://github.com/retiredtab/andro...mmit/7e0657629efedc7f06f6f6fb57199fca0b4e8ea6
    https://github.com/retiredtab/andro...mmit/e17c44d2e282d67b243a1c99ce62127e83052c4f

    3. Removed settings menu option for fast charging. S2 tablet devices do not support this.

    https://github.com/retiredtab/andro...mmit/6db8e690141a98e5cf9e6952c3572c127c0cf8ea

    Aug 10 release notes
    1. Incorporates Aug 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-08
    2. Fixes saving of color profile in live display during a reboot/shutdown.
    https://github.com/retiredtab/andro...mmit/01b1ed6ba8c268a19762031415fde1b4e45d4ac3
    3. Fixes offline battery charging by writing rules to allow charger to access certain files. This removes the previous workaround. Thanks to @simon-edwards for providing an adb logcat that showed the denials.
    https://github.com/retiredtab/andro...mmit/041ae45960170e68410b059f4f709e9c14b79a99

    July 23, 2022
    1. Added argosd to improve wifi throughput as per https://github.com/retiredtab/andro...mmit/c181aa0c5192e46a5a03d4451e2648481a520c0f
    2. Incorporates July 5th security patches as per https://review.lineageos.org/q/topic:R_asb_2022-07
    3. Incorporates a workaround for offline charging.

    https://github.com/retiredtab/andro...mmit/9d019f0a3be789850a9add18d042990631f05b44

    Previously, if the device was off and you plugged in a charger, it would show a battery icon and this would display indefinitely giving no sign of charging animation. With this workaround, the battery icon is displayed for a few seconds and then a white circle with a charge symbol inside it is shown to indicate it's charging.

    After a few seconds, the screen will go blank and continue charging. The side effect of this workaround is that in order to turn on the device, you first must unplug the charger and then turn on your device. If you try to turn on the device with the charger cable plugged in, it won't turn on.

    June 12, 2022
    1. Removed vibrator code from gts2-common as wifi only models don't have vibrator motor (only LTE models).
    https://github.com/retiredtab/andro...mmit/e54aee73a98e3cef6e74f96c1815cec9c82ff10d
    https://github.com/retiredtab/andro...mmit/dd846b06378182398c55b57b2edc2537369bd509
    2. Incorporates June 5th security patches as per https://review.lineageos.org/q/topic:R_asb_2022-06

    May 12, 2022
    1. Added overlay for led capacitive led buttons as per https://github.com/retiredtab/andro...mmit/83551570e4627a0e353e358787f83aa65484b528
    2. Incorporates May 5th security patches as per https://review.lineageos.org/q/topic:R_asb_2022-05

    April 11, 2022
    1. YOU MUST read posts 1-4 if you haven't already

    2. First public BETA release of selinux enforcing T710 build.
    3. Incorporates April 5th security patches as per https://review.lineageos.org/q/topic:R_asb_2022-04
    4. BACKUP your data because YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA after as this is the first release of this build. You cannot dirty flash at all. See FAQ.
    4
    Initial public build called lineage-18.1-20220411-UNOFFICIAL-gts28wifi.zip. The sha256sum file is provided as well to ensure integrity of download.

    lpedia has tested all the functionality as to what works as per post #1 before uploading the build. 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.

    April 11, 2022
    1. YOU MUST read posts 1-4 if you haven't already

    2. First public BETA release of selinux enforcing T710 build.
    3. Incorporates April 5th security patches as per https://review.lineageos.org/q/topic:R_asb_2022-04
    4. BACKUP your data because YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA after as this is the first release of this build. You cannot dirty flash at all. See FAQ Q11.
    3
    Congratulations on the awesome release!