[UNOFFICIAL][ROM]ALPHA LineageOS 19.1 for SM-T710 - Mar 18, 2024

Search This thread

retiredtab

Senior Member
Nov 16, 2017
1,895
1,802
If not, you probably have the same problem as I came across with some versions of VLC. There's no audio output at all with VLC's default audio output method, AudioTrack. Changing that to OpenSL ES fixed the problem for me.

That setting is in VLC Settings > Extra settings > Audio > Advanced > Audio output.
Yes, I was just about to write the same thing, but lpedia beat me to it. I can play audio and video with sound if I switch to OpenSL ES.

@Kyrat, For the reboots, send me the zipped file via PM from

Bash:
mkdir temp
cd temp
adb root
adb pull /data/tombstones
# zip the directory above

No guarantees that I will find or solve the problem. In addition, it could be an application that you are using that causes the reboots. The tombstones will have the information.
 
  • Like
Reactions: Kyrat

Kyrat

Senior Member
Jul 30, 2015
189
21
Hi Ipedia! Sorry for the delay, thanks for the tip. It works!!

@Kyrat - does VLC audio work otherwise, eg to play music? If not, you probably have the same problem as I came across with some versions of VLC. There's no audio output at all with VLC's default audio output method, AudioTrack. Changing that to OpenSL ES fixed the problem for me.

That setting is in VLC Settings > Extra settings > Audio > Advanced > Audio output.
 
  • Like
Reactions: lpedia

Kyrat

Senior Member
Jul 30, 2015
189
21
Yes, I was just about to write the same thing, but lpedia beat me to it. I can play audio and video with sound if I switch to OpenSL ES.

@Kyrat, For the reboots, send me the zipped file via PM from

Bash:
mkdir temp
cd temp
adb root
adb pull /data/tombstones
# zip the directory above

No guarantees that I will find or solve the problem. In addition, it could be an application that you are using that causes the reboots. The tombstones will have the information.
Ok, I have to search information about bash, its new for me
 

Kyrat

Senior Member
Jul 30, 2015
189
21
Looking at your past post history, you were on 18.1. When you upgraded to 19.1, did your format data in TWRP? If not, it could explain your reboot problem.
Hi, yes. In 18.1 I had some reboots with my tablet and for this reason I did a dirty flash to 19.1 because I thought it would dissapear. I could try a clean flash and test again the rom. No problem 😁
 

Kyrat

Senior Member
Jul 30, 2015
189
21
Yes, I was just about to write the same thing, but lpedia beat me to it. I can play audio and video with sound if I switch to OpenSL ES.

@Kyrat, For the reboots, send me the zipped file via PM from

Bash:
mkdir temp
cd temp
adb root
adb pull /data/tombstones
# zip the directory above

No guarantees that I will find or solve the problem. In addition, it could be an application that you are using that causes the reboots. The tombstones will have the information.

Hi retiredtab I'll send you a PM
 

Kyrat

Senior Member
Jul 30, 2015
189
21
@Kyrat - If you're not familiar with bash, note that the commands @retiredtab specified should work in Windows command shell or Powershell as well as in most other linux/unix shells. adb commands in particular are the same, regardless of shell. 🙂
Thanks I tried but a red message appears in my powershell so I take a logcat by cmd. I hope it can help
 

lpedia

Senior Member
Sep 18, 2020
394
1
210
Samsung Galaxy Tab S2
HTC 10
Thanks I tried but a red message appears in my powershell so I take a logcat by cmd. I hope it can help
If you haven't used powershell before on that PC (or that Windows build), it'll issue a red message complaining that it can't run a .ps1 startup script because PS scripts are disabled by default. That's easily fixed if you want to run PS scripts or use PS as an everyday command shell. Otherwise, cmd's fine for most purposes - except scripts. It's horrible to script in. 🙁
 

Kyrat

Senior Member
Jul 30, 2015
189
21
If you haven't used powershell before on that PC (or that Windows build), it'll issue a red message complaining that it can't run a .ps1 startup script because PS scripts are disabled by default. That's easily fixed if you want to run PS scripts or use PS as an everyday command shell. Otherwise, cmd's fine for most purposes - except scripts. It's horrible to script in. 🙁
 

Attachments

  • 312500507_1164057384319262_2132476138342577504_n.png
    312500507_1164057384319262_2132476138342577504_n.png
    33.8 KB · Views: 21

Kyrat

Senior Member
Jul 30, 2015
189
21
I have this message always. I dont like powershell hahahaha I usually have to look for help in google but nothing :(
 

Kyrat

Senior Member
Jul 30, 2015
189
21
Looks like it's saying it can't find a cmdlet, function, script, or executable called "adb". Have you installed the platform-tools package on that PC and added the installation folder to your PATH variable?
Mmm no, I don't remember but probably not. Do you have any tutorial for try it?
 

Kyrat

Senior Member
Jul 30, 2015
189
21
Hi pals, after doing the clean flash I can say (again lol) the rom is so smooth. I like it. Only have a question, where do I find the setting to make visible status bar? Cant see the hour or battery percentage
 

Attachments

  • Screenshot_20221102-154421_Oxford Books.png
    Screenshot_20221102-154421_Oxford Books.png
    713 KB · Views: 25

retiredtab

Senior Member
Nov 16, 2017
1,895
1,802
Hi pals, after doing the clean flash I can say (again lol) the rom is so smooth. I like it. Only have a question, where do I find the setting to make visible status bar? Cant see the hour or battery percentage
Assuming you did a format data and answered yes in TWRP to load 19.1, the status bar is on by default. In your screenshot, some apps will hide that status bar. For example, when I play Clash Royale that status bar is not visible because the game takes up the entire screen.
 
Last edited:

Kyrat

Senior Member
Jul 30, 2015
189
21
Assuming you did a format data and answered yes in TWRP to load 19.1, the status bar on by default. In your screenshot, some apps will hide that status bar. For example, when I play Clash Royale that status bar is not visible because the game takes up the entire screen.
Yes a format data. My status bar doesn't appear with any app, including settings. Can't see the hour or anything
 

retiredtab

Senior Member
Nov 16, 2017
1,895
1,802
Every build I've made has working status bar since it's the one of the first things I change. I've never had a problem with it.

If you are restoring from a backup, it's possible your backup is corrupted causing the status bar not to show.

I suggest you save your data, go back to TWRP and do another clean install + format data, load ONLY the ROM (no gapps, magisk, etc) and you can see that status bar is working.
 
  • Like
Reactions: Kyrat

Kyrat

Senior Member
Jul 30, 2015
189
21
I only install the rom in my clean flash. No restores from a backup.

Edit: ok, after a reboot the status bar appeared! 😃
 
  • Like
Reactions: lpedia

djcasl

Senior Member
Oct 3, 2011
88
12
Its working so smooth I like it! The only problem I found is the audio when I play videos in VLC player, didn't play the audio. Can't hear anything. ah! And sometimes my tablet reboots
Does this restore settings and apps from a previous build when logging into google or do you have to do this manually?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5

    LineageOS 19.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
    11. camera

    1. fingerprint is completely removed in 19.1. When I tested it in March 2022, it wasn't compatible with keystore2 and as I wrote in post 1891 at

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

    it never worked properly after deep sleep. 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. workaround to disable scoped storage. In 18.1 there was a workaround to disable scoped storage, but that no longer works in 19.1. So if you have a lot of apps or data on an external microsd, the performance may be severely degraded.

    4. 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.

    5. 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

    6. If you are repeatedly seeing “Connected to device. Can’t provide internet” (CPI), it's mandatory that you do a complete clean install including formatting data in TWRP and reinstalling all your apps. It's highly likely that CPI is because you did a dirty flash or one or more of your apps/configuration is messed up.

    7. 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. In alphabetical order.

    @ananjaser1211
    - helping out with libGLES_mali problem when I couldn't figure out why T810, for 3 months, wasn't booting with graphics
    - answering more 5433 related questions wrt to certain features.

    @bluess57
    - joining the team and helping fix some of the legacy code problems
    - pending code commits to come in the future

    @bmwdroid
    - testing many pre ALPHA builds and reporting the results

    @CuckooPenguin
    - testing many pre ALPHA builds and reporting the results, but sadly his T810 was killed by a cat (true story)

    exynos5420 team
    - making suggestions regarding radare2 debugger/code analyzer when I couldn't figure out why T810, for 3 months, wasn't booting with graphics

    Kyle Harrison
    - giving me a clue on how to fix the binder/keystore2 problem with msm8916 which ultimately led me to fix the same problem on the exynos5433 devices
    - sharing his code on his github repos where I could study his commits to help bring up 19.1
    - making code commits on LineageOS wrt to legacy devices like ours
    - sharing the repopicks necessary to bringup 19.1

    @lpedia
    - testing many pre ALPHA T710 builds starting in April 2022 and reporting the results
    - verifying my build instructions work so that the technically inclined can build this from source
    - building, maintaining and most importantly, testing the T710 18.1 builds before monthly security patches release
    - volunteering to build, maintain and test T710 19.1 builds

    @metterschling
    - reaching out and joining our group to help with code and fix problems
    - testing many pre ALPHA builds and reporting the results
    - pending code commits to come in the future

    @pflyaz
    - testing many pre ALPHA builds and reporting the results
    - writing install instructions for the newbies

    @simon-edwards
    - reaching out and joining our group to help with code and fix problems
    - testing many pre ALPHA builds and reporting the results

    @tarkzim
    - helping me fix the gpsd crash problem because I was missing the libutils library in my Android.bp file
    - sharing his code on his github repos where I could study his commits to help bring up 19.1 especially wrt to hal audio 2.0 and camera 1.0

    @Yogi555
    - testing many pre ALPHA builds and reporting the results
    - building, maintaining and most importantly, testing the T810 18.1 builds before monthly security patches release

    As you can see, it's truly a team worldwide effort in getting this ALPHA 19.1 build out.
    4
    Tab S2 T710 Upgrade Procedure for the LineageOS 19.1 ROM by retiredtab

    These installation instructions work for both Tab S2 T710 and T810, starting from a device running stock Android 7.0. I have both devices and have tested the procedure on both. I am a Windows guy, so these instructions assume a Windows PC. I am a lifelong techie guy and an Android enthusiast. My current “production” devices are Samsung S22 Ultra and Samsung Tab S7, but I do love the size and performance of the Tab S2 T710 so am extremely happy that @retiredtab and @lpedia have been successful at making Lineage 19.1 run on the Tab S2. But I am not developer, so these instructions will work for any competent newbie who’s looking for LOS 19.1 on their Tab S2 tablet. I do realize there may be alternative approaches for those who have deeper Android tech knowledge than me, but this procedure does work every time.

    Step 1 – Preparation
    1. Update your Tab S2 to the latest stock software.
    2. Install a micro-SD card into your Tab S2.
    3. Enable Developer Options – tap Build Number seven times.
    4. In Developer Options, turn on USB debugging.
    5. Connect your Tab S2 to your PC via USB and download onto the micro-SD card three files:
    6. Download to your PC TWRP_3.5.2_9_SM-T710_20210719_Unofficial.tar from retiredtab - Browse /SM-T710/TWRP at SourceForge.net (T710) or twrp-3.5.2_9-0-gts210wifi.img.tar from Download TWRP for gts210wifi (T810)
    7. Download to your PC Odin, from https://technastic.com/wp-content/uploads/2020/02/Odin3_v3.14.4.zip, and extract the zip.

    Step 2 – Install TWRP Recovery
    1. Power off your Tab S2.
    2. Launch Odin on your PC and press OK.
    3. Power up your Tab S2 into Download mode by holding down Home+VolDown+Power.
    4. Then at the Warning screen hit VolUp.
    5. Connect your Tab S2 via USB to your PC, and you should see Added!! in Odin.
    6. Click AP in Odin and select the downloaded TWRP.
    7. In Odin Options, uncheck Auto Reboot.
    8. Click Log tab again.
    9. Click Start in Odin.
      • Installing TWRP only takes a couple of seconds.
    10. You will see progress in the Log, and Pass at the top of Odin when done.

    Step 3 – First boot into TWRP
    1. This part is tricky!
    2. Power down your Tab S2 by holding down VolDown+VolUp+Power.
    3. IMMEDIATELY the screen goes blank, hold down Home+VolUp+Power.
    4. Keep holding down until you see the TWRP home page.
    5. If you end up booting into Android rather than TWRP then you will have to repeat Step 2 and Step 3 again.

    Step 4 – Backup your stock ROM
    1. In TWRP, select Backup, Select Storage to choose your micro-SD card, check all the partition boxes, and then swipe Backup.
    2. Confirm your backup is good
    1. In TWRP, select Wipe, then Advanced Wipe.
    2. Select all partitions except Micro SD Card (and USB OTG).
    3. Swipe to Wipe.
    4. Back, Back again, then Format Data
    5. Type yes, and tap check.
    6. Back, Back, Back, and select Restore.
    7. Select Micro SD card and your backup.
    8. Restore all partitions and allow restore to complete.
    9. Reboot to System, and confirm you are back to stock.

    Step 5 – Install ROM and NikGApps
    1. In TWRP, select Wipe, then Advanced Wipe.
    2. Select all partitions except Micro SD Card (and USB OTG).
    3. Swipe to Wipe.
    4. Back, Back again, then Format Data
    5. Type yes, and tap check.
    6. Back, Back, Back, and select Install.
    7. Select your micro-SD storage.
    8. Select the Lineage-19.1 ROM.
    9. Add more Zips, and select nikgapps.
    10. Swipe to confirm Flash.
    11. Install takes about 3 minutes.
    12. Wipe Cache/Dalvik, and Swipe to Wipe.
    13. Reboot System.

    Step 6 – Build your Android 12 Tab S2
    1. First boot into Lineage is less than a minute, and then the Lineage boot animation takes less than 1 minute before “Welcome to LineageOS” appears.
    2. At the end of the initialization process, be sure not to choose the Replace Lineage Recovery option, otherwise TWRP goes away.
    3. Set up your Android device per your preference. I am a mainstream Google/Google Play Apps user, and I have loads of Apps, so it takes me a long time to install my Apps and set the tablet up for daily use. If you are less of a pack-rat, it shouldn’t take long!
    4. I have found that, by not installing Magisk initially, I can restore all my Apps, including the sensitive ones such as Peacock, Netflix, Disney+, etc. All Apps run normally, and when I check Google Play/Settings and scroll to the bottom, I see “Device is certified”.
    5. I recommend leaving tablet completely alone during the initial Apps and Data restore process. When I get impatient and fiddle around as it’s copying I’ve seen crashes.
    6. Once all copying is done, do your unique Android setup. My go-to Android settings are:
    • Nova Prime Launcher (actually, gets selected during the initialization process, but I load my layout from backup at this time)
    • Microsoft Swiftkey
    • Screen timeout 30 minutes, and screen saver Clock
    • Dark theme off
    • Disable taskbar.
    • Plain dark blue wallpaper
    • Touch, screen locking, and charging sounds off
    • Battery %age next to icon
    • Default USB = File Transfer
    • Developer Options enabled, and USB and Rooted debugging selected
    • Window/Transition/Animator Scale all set to Animation Off
    • FX File Explorer
    • Microsoft Edge as default browser (with AdBlock enabled and Google as search and sync to my PC)
    • Raindrop, for all my cross-platform/device bookmarks
    • Advanced restart menu (to allow reboot into TWRP).

    Step 7 – Make Root – Optional
    1. Restart Tab S2 into TWRP.
    2. In TWRP, install Magisk-v25.2.apk.
    3. Reboot System
    4. In Android install Magisk-v25.2.apk.
    5. Open Magisk and select zygisk in settings.
    6. Restart again.
    7. You now have root. I test by enabling root in FX File Explorer and granting root.

    Step 8 – All done! Enjoy!
    1. I do a final and full TWRP backup once the device is solid on Lineage 19.1.
    2
    I am a happy user of retiredtab's Lineage 18.1 for T710. Are there any advantages to moving to 19.1? I am not a power user, although I sometimes look for specific files though myfiles types of apps and copy or move them.
    If you're happy with 18.1, just stay with that unless you need a feature that's only in Android 13.
    2
    New build called lineage-19.1-20240318-UNOFFICIAL-gts28wifi.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.

    Mar 18 , 2024 release notes
    1. Mar 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2024-03
    2. The built in files, camera and music apps crash unless SElinux policy is updated. This is precisely WHY each build is tested before being uploaded. See
    https://github.com/retiredtab/andro...mmit/519a249a5fd8105817fbc033b78fa10a82304acb
    3. For 2024, going forward 19.1 will be built on March, June, September and December ONLY.
    2
    Its working so smooth I like it! The only problem I found is the audio when I play videos in VLC player, didn't play the audio. Can't hear anything. ah! And sometimes my tablet reboots
    @Kyrat - does VLC audio work otherwise, eg to play music? If not, you probably have the same problem as I came across with some versions of VLC. There's no audio output at all with VLC's default audio output method, AudioTrack. Changing that to OpenSL ES fixed the problem for me.

    That setting is in VLC Settings > Extra settings > Audio > Advanced > Audio output.