yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Original Android Development] KritonK:
If I understand this correctly, this method will only update some critical blobs, leaving the rest of the system intact, so as long as the tablet was already running Lineage OS, and the newer version is flashed immediately afterwards, the net effect will be that of an off the air update, with user data left intact.

Of course, taking a backup before doing this is a good idea. In fact, having a backup is always a good idea, so use this as an excuse to take one!

Am I correct in assuming that, for users still running stock OS, the above should be done after having installed TWRP and as the last thing to be done before flashing Lineage OS, as the stock OS may no longer work after this update?
[Galaxy Tab S2 Original Android Development] LuK1337:
Yes, that's right.

I shouldn't really add T819 bootloader into T813 specific repos but you should be able to find QB1 firmware for T819 and be able to manually install T813 builds after removing the assert from the updater-script.
[Galaxy Tab S2 Original Android Development] martyg7:
20170328 Install Notes

Here is a deep link for the Samsung blob required for this update

http://updato.com/firmware-archive-select-model?record=B697BA8E0F6011E7963AFA163EE8F90B

On my Arch Linux machine, the trunk version of heimdall (1.4.1-2 )did not work for me.

I had to build and install the version in the AUR. (heindall-git 1.4.1.r37.gb6fe7f8-1)

The heimdall command provided earlier in the thread ran without a hickup.

I am now upgraded to 20170328, and the fingerprint reader still works, so I assume the blobs updated properly.

All I did is a quick test before posting this, but this load appears to be stable.

Question - Is there a way to query the installed version of these blobs from the tablet?
[Galaxy Tab S2 Original Android Development] LuK1337:
You can check the bootloader version with `adb shell getprop ro.bootloader`.
[Galaxy Tab S2 Original Android Development] musashiken:
Ok so after struggling to install Heimdall in Windows and the necessary drivers for the tablet, I tried using the command line and the first thing Heimdall does is to download the PIT file which is not found... and download failed and session ended.

This looks like a pain in the as* if it doesn't work...

I'll probably need to do the hard way by going back to stock and rerooting...

[Edit]

Ok, so I'm now rocking latest build. I had to flash the latest samsung firmware through Odin, wiping everything in the process. I had a huge panic because there was bootlooping of the samsung firmware, it kept restarting every time it starts into android. I was lucky to be able to shut down the tablet in a 2 second window during one of the bootloops ( I removed the sd card and this helped prolonged the time before it restarted again). I went into stock recovery, factory reset and somehow the stock samsung android os is working fine.

From there I flashed TWRP via Odin and the latest lineageOS and now everything is back to normal.
[Galaxy Tab S2 Original Android Development] LuK1337:
Maybe it's bit harder for windows users then heh. It works like charm here on Linux.
[Galaxy Tab S2 Original Android Development] musashiken:
Under the button settings, the option to re orient the volume buttons according to screen orientation doesn't seem to work. I hope this gets fixed in future builds.
[Galaxy Tab S2 Original Android Development] LuK1337:
I fixed it but my change is currently waiting for a review ~ https://review.lineageos.org/#/c/167351/
[Galaxy Tab S2 Original Android Development] Lupin The Third:
I went the easy way to flash the new bootloader/modem.

Downloaded the firmware from updato. Opened it with 7zip and extracted these files:

NON-HLOS.bin

modem.bin

tz.mbn

sbl1.mbn

rpm.mbn

hyp.mbn

aboot.mbn

Using 7zip, I created a .tar file with the above files.

Flashed with odin.

Boom! All good!

Much easier than figuring out how to use heimdall on windows :)

Download the .tar file here:

AQB1 bootloader/modem
[Galaxy Tab S2 Original Android Development] LouK:
Could you please post the tar file ?

TIA
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Check my post above.
[Galaxy Tab S2 Original Android Development] LouK:
Thanks muchly!
[Galaxy Tab S2 Original Android Development] T_I:
Ok, had to flash with odin, heimdall flash failed. However, with the new blobs, I keep getting wifi disconnects on own build of 28-03. (Will test build of today as soon as it's on the tab) Europe band, 2.4Ghz channel 13 is missing, where one of my AP's is and a lot of 5 GHz channels are missing as well. Probably has to do with this build is base don Asian blobs instead of blobs with world coverage.
[Galaxy Tab S2 Original Android Development] Gii226:
Will it work with FlashFire?
[Galaxy Tab S2 Original Android Development] Lupin The Third:
I highly doubt. Modem and bootloader are Flashed on protected partitions. I don't think flashfire can handle that.

If something goes wrong with flashfire flashing protected partitions you can brick your device.
[Galaxy Tab S2 Original Android Development] Gii226:
Oh okay​, thanks. Than I try it with Odin when I'm home...
[Galaxy Tab S2 Original Android Development] musashiken:
Dirty flashed the latest build. Working great!

Now volume button re orientate according to screen works.

The new boot screen animation is kinda weird though... So the jelly fish is here to stay?
[Galaxy Tab S2 Original Android Development] shahed26:
How is the battery life compare to stock. I mostly use my tablet for youtube, chrome and watching videos/movies. I never really liked samsung's touchwiz, and would like to switch to this rom.
[Galaxy Tab S2 Original Android Development] Lupin The Third:
It's very decent and acceptable. Go for it!
[Galaxy Tab S2 Original Android Development] mark1003:
Can you please give us hints for flashing the needed bootloader files (and others) with odin? Or is it possible to flash it with twrp too?
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Read the last two pages and you will have all the hints!
[Galaxy Tab S2 Original Android Development] Hrc4u:
Nice so far! :) good you removed that annoying 1 miljon lumen boot animation!.. Hurt my eyes..

Cheers /H :good:
[Galaxy Tab S2 Original Android Development] musashiken:
Dirty flashed and working great! I look forward to flashing new nightlies this day every week.

Now that nougat is coming out for the older s2 tablets, hopefully this means nougat firmware will be out soon and we'll get to flash new blobs for this tablet again!
[Galaxy Tab S2 Original Android Development] dfkt_:
What option do you use in Odin to flash that? AP?
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Yes.
[Galaxy Tab S2 Original Android Development] dfkt_:
Oh my god, it's finally working! Thank you so very much.

Without exaggeration, this was the most obnoxious custom ROM install of all time. I'm not a noob, I usually know my way around Android (even ported CWM/TWRP to devices, etc.), and I put custom ROMs on dozens of devices so far.

*NONE* of the "official" guides work. Heimdall doesn't work at all (Odin does), TWRP doesn't work out of the box, Lineage doesn't work out of the box - if you don't know all the tiny magic that's needed to get the Samsung software plague off the Samsung hardware device, you're pretty much stranded.

Glad I got the Lineage boot screen in the end. :^)
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Enjoy! :)
[Galaxy Tab S2 Original Android Development] oxyle:
After I flashed, LineageOS boots up and everythings stays black. I can press the power button and see options to turn my device on/off/reboot...

Any suggestions?

Nevermind, I've completed the LineageOS update afterwards via TWRP and it booted fine :)
[Galaxy Tab S2 Original Android Development] zuettu:
How do I check the bootloader version?
[Galaxy Tab S2 Original Android Development] dfkt_:
Just a heads up - after installing this, going back to a 6.0.1 ROM based on APK6 will break Wifi. It simply won't turn on anymore.

I tried to create a .tar with the relevant modem/bootloader files for reverting to APK6 (same as Varben did for AQB1), but I couldn't get it to work. So I had to re-flash a full APK6 ROM with Odin. Now Wifi is working again.
[Galaxy Tab S2 Original Android Development] dapat:
How can I flash the tar file? My t813 is not detected by my laptop so Odin is out as an option. I hope the bootloader/modem file is twrp flashable. I don't know how to make a flashable zip. I'm still stuck on the last build before new bootloader requirement for an update.
[Galaxy Tab S2 Original Android Development] musashiken:
Unfortunately you need Odin to flash those files, no such thing as TWRP flashable zip using those files.

If you are on a Linux machine, you can probably try Heimdall, otherwise you have to install the samsung usb drivers on your laptop and figure out how to detect your tablet on it and use Odin.
[Galaxy Tab S2 Original Android Development] Sebacestmoi:
Hi,

My mother just bought a Samsung Galaxy Tab S2 T813 and I want to install the latest LineageOS on it because I think it's more easy than messing with all the Samsung crap.

I've installed the latest official Nougat update with Odin but I'm a bit confused with all the bootloader/modem update and other things that need to be done...

Can someone give me some steps to go from the official stock Nougat version to the latest LineageOS version with TWRP and Magisk ?

I've done these kind of things a million times on Nexus device but I'm not used to Samsung's ones...

Thank you
[Galaxy Tab S2 Original Android Development] Sebacestmoi:
OK I was able to flash the latest nightly and the latest GApps package (took me around 4 hours...) but startup assistant force close as soon as I choose to set up a new device... Any help ?
[Galaxy Tab S2 Original Android Development] musashiken:
Which gapps did you install? There was some problem with certain gapps for some android 7.1.2 roms. Not sure if that's the case here.

If nothing else, you can flash last week's nightly (7.1.1) and latest open gapps. See if that works. Then dirty flash this week's nightly (no need to flash gapps again).
[Galaxy Tab S2 Original Android Development] KritonK:
From which we learn that Samsung has started rolling out Nougat for the T813. (Seems to be available only for Germany, right now.)

According to www.sammobile.com, the Nougat version has a PDA/CSC version (whatever that is) of T813XXU2BQD1/T813OXA2BQD1, while the (now older) Hong Kong/Taiwan version required by Lineage OS has version T813ZSS2AQB1/T813OZS2AQB1.

Will current lineage OS users need to upgrade their boot loader to this newer version, or will people like me, who want to see the official version of Nougat, before switching to Lineage OS, need to downgrade their boot loader to the Hong Kong version, after the Nougat upgrade?
[Galaxy Tab S2 Original Android Development] LuK1337:
We are going to force users to use Nougat bootloader soon. You will also have to update your TWRP as 7.0 bootloader doesn't really like 6.0 kernel that is used in it.

The updated TWRP is not available right now, I'll ship patches for it this / next week.
[Galaxy Tab S2 Original Android Development] scanno:
Yeah I see what you mean. Nasty bootloop.

I guess it's not only kernel, but also qseecom and keystore.msm8952 that need to be updated (and other encryption related deps)
[Galaxy Tab S2 Original Android Development] LuK1337:
Yeah, we'll update those too.
[Galaxy Tab S2 Original Android Development] emvau:
Sorry, but i didn't get the last posts completly.

I bought a T813 last Friday and updated my tab s2 via OTA. Official Nougat is installed now.

Do i have the right bootloader etc. already or should i wait before you release that stuff here?
[Galaxy Tab S2 Original Android Development] scanno:
You should wait. If you use the current TWRP for flashing when you already have the N bootloader, you will have a bootloop trying to enter TWRP. The only solution so far is to flash back the M bootloader.

So wait for a new version of TWRP.

Verstuurd vanaf mijn ONEPLUS A3003 met Tapatalk
[Galaxy Tab S2 Original Android Development] basic086:
They've just released a new version of TWRP, and I've tested it and it works with 7.0 firmware. (twrp-3.1.0-1-gts210vewifi.img.tar)

https://dl.twrp.me/gts210vewifi/
[Galaxy Tab S2 Original Android Development] Lupin The Third:
The OP is "they" :)
[Galaxy Tab S2 Original Android Development] LuK1337:
I planned to get 7.0 in Lineage today too but I didn't get force push rights for the kernel so I am unable to do that...
[Galaxy Tab S2 Original Android Development] LuK1337:
Next week builds are going to require latest nougat bootloader / firmware ~ T813XXU2BQD1.

You can find it on updato or sammobile if you have 6 hours of free time lol.

~ Here's the command that will flash it using heimdall ~

heimdall flash --APNHLOS NON-HLOS.bin --MODEM modem.bin --TZ tz.mbn --SBL1 sbl1.mbn --RPM rpm.mbn --HYP hyp.mbn --ABOOT aboot.mbn
[Galaxy Tab S2 Original Android Development] scanno:
Can you check? Here light sensor is not seen and as such autobrightness not working. Would like to know if you have the same problem with the N blobs and new kernel
[Galaxy Tab S2 Original Android Development] LuK1337:
Fixed.
[Galaxy Tab S2 Original Android Development] emvau:
My new tablet is waiting... new bootloader, twrp flashed, no os installed... ;)

Current lineageos can't be installed with bootloader T813XXU2BQD1. Just to let people know.
[Galaxy Tab S2 Original Android Development] ArcSmurf:
Can I just check the version of heimdall you are using. with 1.4.0 it fails when trying to download the PIT files .
[Galaxy Tab S2 Original Android Development] scanno:
1.4.1

I need to run heimdall with root privelige. So try with sudo if you did not already.

Verstuurd vanaf mijn SM-T813 met Tapatalk
[Galaxy Tab S2 Original Android Development] ArcSmurf:
had to rebuild latest from git but that worked.

now have a tablet that boot loops - guess need to wait for the next build - or roll back to stock?
[Galaxy Tab S2 Original Android Development] scanno:
Yes you need a build that includes the new proprietary files. Guess that will be in the next nightly build.

Verstuurd vanaf mijn SM-T813 met Tapatalk
[Galaxy Tab S2 Original Android Development] Deltadroid:
The reason why you needed to run heimdall with root privs is because you need to have the correct udev rules added.

I added this file "/etc/udev/rules.d/51-android.rules". These are the rules needed for Ubuntu 16.04:

SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", TAG+="uaccess"

---------- Post added at 12:52 AM ---------- Previous post was at 12:45 AM ----------

Heimdall must be build from the latest official sources in order to work correctly.

---------- Post added at 12:54 AM ---------- Previous post was at 12:52 AM ----------

The next build will support the nougat bootloader.
[Galaxy Tab S2 Original Android Development] pastorbob62:
This was previously discussed in detail. Try reading prior posts before posting redundant info.
[Galaxy Tab S2 Original Android Development] emvau:
I have got to tell you something: Not everybody is getting everything, when reading nerdy stuff. Especially when you buy a new device and start joining here. ;)

Well this post is redundant, fair enough now. But just like #347
[Galaxy Tab S2 Original Android Development] pastorbob62:
So your solution to not "getting everything, when reading nerdy stuff." is to come back and insult me by calling me boy? Go figure. The last line of your post explains your arrogance. There are countless posts throughout these forums that teach the basics for various devices. But it there are always those who are too lazy to do the required research and reading so as to learn and understand.
[Galaxy Tab S2 Original Android Development] ArcSmurf:
Big thanks to all the Devs and support with heimdall - latest build now installed and tablet booting.

next time won't jump the gun and install the latest bootloader until there is a rom :)
[Galaxy Tab S2 Original Android Development] srt10coupe:
TWRP don't decrypt the data Partition :(

*workaround*

install with twrp : lineage-14.1-20170502-nightly-gts210vewifi-signed.zip and su (SuperSU, etc) (without mount data)

reboot

install with FlashFire: lineage-14.1-20170502-nightly-gts210vewifi-signed.zip and optional su (SuperSU, etc)
[Galaxy Tab S2 Original Android Development] pastorbob62:
I downloaded the firmware but it is in tar.md5 format so it will only work with Odin. How do I extract the files I need so as to be able to flash it with Heimdall? Never used Heimdall before.
[Galaxy Tab S2 Original Android Development] Deltadroid:
Rename *.tar.md5 to *.tar
[Galaxy Tab S2 Original Android Development] netbuzz:
Just updated to 20170502 build using these steps:

1. Flashed new TWRP from https://dl.twrp.me/gts210vewifi/twrp-3.1.0-1-gts210vewifi.img.html

2. Downloaded the entire T813XXU2BQD1 firmware package and extracted bootloader files to use with Odin (NON-HLOS.bin modem.bin tz.mbn sbl1.mbn rpm.mbn hyp.mbn aboot.mbn).

3. Created and flashed my own Odin flashable file - https://drive.google.com/open?id=0B3i4Cdm8QYlLck5LU2dIRng2S2c

4. Rebooted to new recovery. Important - tablet will not boot to previous build. Must boot to new recovery. Old recovery will not work.

5. Flashed lineage-14.1-20170502-nightly-gts210vewifi-signed.zip.
[Galaxy Tab S2 Original Android Development] pastorbob62:
Thank you very much for the simplified procedure and the Odin friendly bootloader tar file. I wasn't really looking forward to learning a new flash program. :good::good::good::good::good:
[Galaxy Tab S2 Original Android Development] pastorbob62:
Not true. Format the /data partition and it decrypts it. But you need the latest version of TWRP (3.1.0-1). I know it works because I just did it.
[Galaxy Tab S2 Original Android Development] rumrunner4000:
Just a note:

If people do a clean install and get stuck with the setup wizard crashing, it seems open GApps breaks the setup wizard. Switch to Beans GApps as this will work.
[Galaxy Tab S2 Original Android Development] srt10coupe:
Then I make a TitaniumBackup and then it should work. Thank you
[Galaxy Tab S2 Original Android Development] netbuzz:
Alternatively, you can install the ROM only, boot up and go through the wizard, and then go back and install gapps of choice.
[Galaxy Tab S2 Original Android Development] pastorbob62:
Didn't do a clean install but I did update to the latest Opengapps without any issues. Must be strictly related to wiping and clean install. :confused:
[Galaxy Tab S2 Original Android Development] srt10coupe:
twrp 3.1.0-1, -> format /data, -> clean install, -> decrypt data, twrp will not encrypt the /data partition.
[Galaxy Tab S2 Original Android Development] pastorbob62:
RIght. But I'm not sure what you are telling me. :confused:

---------- Post added at 04:34 PM ---------- Previous post was at 04:26 PM ----------

Okay. After attempting to restore my latest Lineage backup (verision 05/02, TWRP 3.1.0-1) and having it fail to boot I just tried doing this and you are correct. So it looks like I will need to do the workaround suggested because I do not like Bean Gapps since it is heavy with things I don't want.

After restoring my backup, my tablet would only power off when I attempted to boot the system from TWRP. This even though I did a full wipe/format of /data and /system before restoring. I even installed the same version Lineage that is in my backup, set it up and then attempted to restore. No good.

Any ideas?
[Galaxy Tab S2 Original Android Development] srt10coupe:
TWRP 3.1.0-1 does not decrypt after formatting and encryption
[Galaxy Tab S2 Original Android Development] pastorbob62:
Sure it does if you format the /data partition again. :)
[Galaxy Tab S2 Original Android Development] emvau:
Setup wizzard was crashing here too.

I rembered that little hidden trick to skip the setup wizzard: Just touch the display nearby the 4 corners clockwise.

No further issues yet.
[Galaxy Tab S2 Original Android Development] pclewis:
I seem to have lost the ability to manage files with Windows. Same USB Driver. No errors in Device Manager, just cannot see the internal or SD card. Happened on update to 2017/05/09. I am not having problem with other devices on Lineage, just the Samsung S2.
[Galaxy Tab S2 Original Android Development] mark1003:
Same to me. In addition i am loosing wifi connection every few seconds. It reconnects after a time and then it is gone again. No stable wifi connection. Reboot did not help. Deleting wifi connection and establishing new wifi connection did not help too. Are these problems caused by lineage-14.1-20170509-nightly-gts210vewifi-signed.zip or twrp 3.0.1 or T813XXU2BQD1.tar????

What is the correct way back after updating all these components?
[Galaxy Tab S2 Original Android Development] pclewis:
I doubt it is TWRP, so that leaves Lineage or the D1/D3 firmware. I get the bells in Windows, just no file access, so I think the drivers are fine. Let's see what happens with the next version on 5/16. I have no way to load it except OTA, AirDroid or put it on the SD card manually. We shall see.
[Galaxy Tab S2 Original Android Development] mark1003:
This is my solution (wifi problems gone, windows exlorer shows again internal and external sd card via usb):

- installed T813XXU2APK6 (modem, booloader) --> sorry, can't upload (file to big)

- installed twrp-3.0.3-5-gts210vewifi

- restored backup (14.1-20170314 lineage version)
[Galaxy Tab S2 Original Android Development] LuK1337:
I fixed MTP today btw. I have no clue about your WiFi issues tho, it works just fine here.
[Galaxy Tab S2 Original Android Development] pclewis:
How did you fix MTP?
[Galaxy Tab S2 Original Android Development] LuK1337:
https://review.lineageos.org/#/c/172516/
[Galaxy Tab S2 Original Android Development] pclewis:
USB File Transfer

So maybe wait for the next Lineage OS? Have not had good luck with patches.
[Galaxy Tab S2 Original Android Development] pastorbob62:
And how is the patch added to the ROM zip file?
[Galaxy Tab S2 Original Android Development] LuK1337:
Via a magic.
[Galaxy Tab S2 Original Android Development] mark1003:
Thank you for fixing MTP.

Is it possible that the wifi issue (periodical interrupts) is caused by a bootloader/modem package from a wrong region (maybe asian or us)?

I tried the files offered in post #354.
[Galaxy Tab S2 Original Android Development] pastorbob62:
Funny. But I was asking a serious question since I tried Lineage again and had no MTP. I wanted to know how to add the patch so I could fix it. But instead I had to restore my backup and go back to stock Nougat.
[Galaxy Tab S2 Original Android Development] LuK1337:
You can't do it without building a kernel image. You have to wait for next build.
[Galaxy Tab S2 Original Android Development] LuK1337:
The firmware that's required now is from EU.
[Galaxy Tab S2 Original Android Development] axlemilio:
can't install on my galaxy tab 2 :( I'm on twrp and when I INSTALL it says error 255

is there a newbie idiot proof guide?

thanks in advance
[Galaxy Tab S2 Original Android Development] LuK1337:
I would rather export it instead of adding that to BoardConfig.
[Galaxy Tab S2 Original Android Development] genesixxbf3:
Good job Guys !
[Galaxy Tab S2 Original Android Development] T_I:
Ah, ok, will change my build scripts. I guess this will giving the devs a few complaints about the nightlies, or will there be su and non-su nightlies?

Anyway great job getting it up and running. I'll dive into the code to see were the differences are between the code we were working on and the working code. I really need to learn how to bring a device up. (Have an intel I want to convert to Lineage)