yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Original Android Development] Alpha1BA:
trying to upgrade to latest v of this and lost recovery. Everytime i flash twrp 3.0.2 im getting error "could not do normal boot" i do not know how to convert img to tar to flash via odin so im a little stuck at mo everything goes back to normal if i reflash stock but i prefer this rom. any ideas??
[Galaxy Tab S2 Original Android Development] LuK1337:
Use Heimdall instead of Odin.
[Galaxy Tab S2 Original Android Development] Alpha1BA:
how do i use it??? downloaded front end but its a pile of caca
[Galaxy Tab S2 Original Android Development] LuK1337:
I don't know how frontend works. I use it from command line like so : `heimdall flash --RECOVERY recovery.img`.
[Galaxy Tab S2 Original Android Development] Alpha1BA:
Ahhhhh ok, makes sense! if u got a spAre 5 mins id be grateful if u could do me a quick walkthrough as im sure it would benefit other members too!

Much appreciated
[Galaxy Tab S2 Original Android Development] LuK1337:
Ugh https://youtu.be/NJ4n-Vm_bns
[Galaxy Tab S2 Original Android Development] Alpha1BA:
lol thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

will report back soon :P

---------- Post added at 03:49 PM ---------- Previous post was at 03:45 PM ----------

you know wha im gonna ask now?

where do I get terminal from?

---------- Post added at 03:58 PM ---------- Previous post was at 03:49 PM ----------

ok bare with me, up to point where its asking for a pit file where/what is it?

---------- Post added at 04:03 PM ---------- Previous post was at 03:58 PM ----------

dude dont give up on me now

---------- Post added at 04:12 PM ---------- Previous post was at 04:03 PM ----------

nitialising connection...

Detecting device...

ERROR: Failed to access device. libusb error: -12

thats from using the img dunno what else to do???
[Galaxy Tab S2 Original Android Development] LuK1337:
>ERROR: Failed to access device. libusb error: -12

Something related to drivers / permissions. idk, I don't use Windows.
[Galaxy Tab S2 Original Android Development] Alpha1BA:
i need to find and or create the pit file
[Galaxy Tab S2 Original Android Development] LuK1337:
Watch the video again?
[Galaxy Tab S2 Original Android Development] Alpha1BA:
do i use the twrp image in odin and pit?

---------- Post added at 04:24 PM ---------- Previous post was at 04:21 PM ----------

re the vid im upto where you type gts @16 seconds then u press download and it automatically does that whereas mine asks for the pit file at this point!
[Galaxy Tab S2 Original Android Development] LuK1337:
I guess you are in the wrong tab then, why would it ask for a pit when you're downloading it from a device?
[Galaxy Tab S2 Original Android Development] Alpha1BA:
because i have the recovery image on my desktop

---------- Post added at 05:44 PM ---------- Previous post was at 05:41 PM ----------

it wont flash correctly anymore from download

---------- Post added at 05:45 PM ---------- Previous post was at 05:44 PM ----------

I really could do with a gts210 tar
[Galaxy Tab S2 Original Android Development] sniady:
Hi guys,

Did any of You have this weird issue that the screen changes colors (it's a bit more red) ? I get this each time I connect to the WiFi router on the wizzard.

I tried 3 times already, always with the same result. I didn't get this when on the stock with TouchWiz.
[Galaxy Tab S2 Original Android Development] LuK1337:
Settings -> Display -> LiveDisplay
[Galaxy Tab S2 Original Android Development] dapat:
Switching from mtp to charging or even to ptp in dev options. Still same tablet is not recognized by PC. And there is no notification for selecting USB configuration. Once tablet is plugged to PC it is always charging. No mtp.
[Galaxy Tab S2 Original Android Development] LuK1337:
Nothing I can do about that, it just works here.
[Galaxy Tab S2 Original Android Development] fecht:
great responsiveness --- Thank you!!

Anyone having issues with WIFI dropping out constantly?
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Working good here too.

It may sound silly but try using a different cable and also see if it works in another pc.
[Galaxy Tab S2 Original Android Development] Lupin The Third:
It is really great to read official changes

https://download.lineageos.org/gts210vewifi/changes/
[Galaxy Tab S2 Original Android Development] techguy615:
Yes. Seems to drop when I connect to network with PEAP security at work. Connects and then disconnects. Have to manually reconnect and then drops again. Home network with regular WPA2 works fine. No issues.
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Brief report: rom is running great. Very smooth and solid.

The only small annoyance is that sometimes, very randomly, Fingerprint sensor fails to recognize a fingerprint so i have to unlock the device with the pin number.

Other than that the rom is awesome. :)
[Galaxy Tab S2 Original Android Development] luca020400:
[MENTION=3859635]varben[/MENTION] can you run getprop ro.boot.revision ? thanks
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Result is: 4
[Galaxy Tab S2 Original Android Development] luca020400:
Great, f**k ....
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Hmmm... Meaning? :)
[Galaxy Tab S2 Original Android Development] luca020400:
What I wanted to do is not possible
[Galaxy Tab S2 Original Android Development] Lupin The Third:
For whatever you were trying to do... Thank you! :)
[Galaxy Tab S2 Original Android Development] HaloTechnology:
I keep getting a black screen after booting from 28th build ?
[Galaxy Tab S2 Original Android Development] LuK1337:
1. Did you try wiping data?

2. Logs?
[Galaxy Tab S2 Original Android Development] HaloTechnology:
I should've mention i am updating from the previous build , I just wiped the cache and dalvik still in boot animation probably building dalvik will report back in a min

PS : I didnt wipe data
[Galaxy Tab S2 Original Android Development] nupi:
It takes quite a while so just be patient, wiping data wasn't needed for me
[Galaxy Tab S2 Original Android Development] HaloTechnology:
Yep i guessed so plugged it in waiting ..... I need to study though :(

I gave up didn't work I don't know why ....... backing data to restore through Titanium Back up

---------- Post added at 11:54 AM ---------- Previous post was at 11:08 AM ----------

Anyone had a problem like me before ?
[Galaxy Tab S2 Original Android Development] Lupin The Third:
I used the inbuilt updater and I have no issues at all. Everything works nicely.
[Galaxy Tab S2 Original Android Development] TanayPoddar56:
I'd like to thank the developer for this epic ROM. It's super stable and has given a new life to my Tab S2 Thanks!
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Quite often when trying to unlock the device (FP and PIN protected) the lock screen crashes and I end up with a black wallpaper.

I'll try to catch a log next time it happens.
[Galaxy Tab S2 Original Android Development] Lupin The Third:
[MENTION=5075128]LuK1337[/MENTION]

Is this log helpful for the above error?
[Galaxy Tab S2 Original Android Development] LuK1337:
Fix'd.
[Galaxy Tab S2 Original Android Development] Lupin The Third:
Thanks heaps!!!
[Galaxy Tab S2 Original Android Development] Sraichvold:
So I just picked up one of these tabs. I installed TWRP without any problem. Then I flashed the latest build of LineageOS in TWRP and wiped my Dalvik before rebooting the device. But I get stuck on a screen that says "Encryption Unsuccessful." thing is, I didn't encrypt anything. Anyone know how to fix this?

Edit: I figured it out.
[Galaxy Tab S2 Original Android Development] LuK1337:
Did you wipe data?
[Galaxy Tab S2 Original Android Development] GETCASHMONEY:
Does this ROM improve the laggy left side of the screen while scrolling in portrait mode? I already prefer stock Android to TouchWiz, but if this also improves that odd bug it's a slam dunk. I just got this tablet and it's very distracting.
[Galaxy Tab S2 Original Android Development] Sraichvold:
OK, so scratch my last question about the encryption. Now I can get LineageOS to install and set up and everything. But then I tried rooting the tablet using TWRP and Supersu zip. It flashed just fine, so then I wiped Dalvik and rebooted. Now it's stuck in a boot loop. Anyone have any thoughts? Much appreciated in advance.
[Galaxy Tab S2 Original Android Development] Lupin The Third:
What left side lag? You mean in settings?
[Galaxy Tab S2 Original Android Development] GETCASHMONEY:
See this thread for more discussion: https://xdaforums.com/tab-s2/help/tab-s2-display-issue-t3196542

It's very apparent to my eyes.
[Galaxy Tab S2 Original Android Development] scanno:
Does encryption of the data partition work?
[Galaxy Tab S2 Original Android Development] LuK1337:
Never tried it on enforcing selinux, in theory it should be working tho. Also it shouldn't be too hard to fix either.
[Galaxy Tab S2 Original Android Development] scanno:
I almost got omni working. Only problem is that in enforcing rebooting into recovery is not working (just reboots into system or off mode charging if power is connected). Have not seen any denials and pstore is empty. Encryption is not working at all. Also in permissive. Gets into a bootloop.

Must be missing something.
[Galaxy Tab S2 Original Android Development] LuK1337:
If it's not working in permissive then it's just broken. I tested enc in permissive for sure.

Also, last log is stored in /proc/last_kmsg, not pstore.
[Galaxy Tab S2 Original Android Development] GETCASHMONEY:
Just flashed the ROM, to answer my own question, it does not fix the wavy left side of the screen while scrolling quickly in portrait mode, but it does seem to slightly improve it.

I am extremely impressed by the performance of this ROM. Touch latency seems lower and animations are much quicker and with higher FPS. Really great work by this DEV - one of the most stable ROMs I have used over the years.

Bug Report: Currently I cannot trigger Google Now On Tap by holding the Home Button. Has this bug been previously reported? Is there any way to fix this? I believe I have it enabled correctly in settings.
[Galaxy Tab S2 Original Android Development] LuK1337:
Settings -> Buttons -> Home button :: Long press action -> "Search assistant".
[Galaxy Tab S2 Original Android Development] martyg7:
Quick install report.

Clean installed lineage-14.1-20170307-nightly-gts210vewifi-signed.zip

Factory ROM was brought up to date before install, just in case

Everything looks good.

Minor issue with WiFi dropping out randomly (like once an hour)

This may be related to coming out of sleep

Workaround is to cycle in/out airplane mode.

Nothing else I can see so far.

This is an impressive upgrade from my old SM-T320 Tab Pro. Thank you developers!
[Galaxy Tab S2 Original Android Development] martyg7:
It appears this flakey WiFi issue is specific to the 5GHz band.

I forced the tablet onto my 2.4Ghz hotspot, and the connection then became stable.

Am I the only one observing this?
[Galaxy Tab S2 Original Android Development] nupi:
I am seeing it on stock even,many but so far far was assuming it was my access point :)

Tethered to my phone on 2.4ghz it is stable
[Galaxy Tab S2 Original Android Development] martyg7:
20170314 Sanity Report

Upgraded to 20170314 released earlier today.

Problem I reported earlier with 5GHz WiFi appears to be gone.

Regression - GPS is broken on this build - GPS Status app sees no satellites

Might be more, but nothing obvious after running for an hour or so

A very usable build.
[Galaxy Tab S2 Original Android Development] LuK1337:
GPS seems to work just fine on my personal builds.
[Galaxy Tab S2 Original Android Development] musashiken:
I moved to the T-813 from my trusty Nexus 10 and straight away flashed this rom.

Working fine and it's good enough as my daily driver.

I guess the only issue I see here is the fingerprint is a little wonky. Sometimes it works but after a long time sleeping, it doesn't seem to work.

Also I tried to manually delete existing fingerprints and settings FC, but that's not a big issue as I can add a new one again later.

Not a big issue, I guess this can be improved in time. Can't wait for next nightly.
[Galaxy Tab S2 Original Android Development] martyg7:
20170321 Sanity Report

Looks good over here. My GPS problem is gone too. :)
[Galaxy Tab S2 Original Android Development] Lupin The Third:
[MENTION=5075128]LuK1337[/MENTION]

Hi, i saw you asking for this in lineage gerrit. This is from stock rom.

I hope it is useful.
[Galaxy Tab S2 Original Android Development] LuK1337:
[ UPDATE ]

Future builds will require T813ZSS2AQB1 firmware / bootloader. You can download it from updato / sammobile, have fun.
[Galaxy Tab S2 Original Android Development] KritonK:
Would you care to elaborate on this?

What is "updato"?

Is "sammobile" www.sammobile.com? They have all sorts of firmware over there, and T813ZSS2AQB1/T813OZS2AQB1 seems to be the Hong Kong and the (different?) Taiwan version. Is that really required, or do you mean that the tablet firmware must be fully updated before installing Lineage OS? My firmware, e.g., is T813XXU2APK6/T813OXX2APJ1, which is a couple of months older than the Hong Kong version, but the most recent for my region.

What about people, who have already installed Lineage OS? Do they need to install that version, too? If so, does this mean that they'll have to switch temporarily back to stock, so that they can get the latest bootloader, before they can upgrade, and what will be the effects on the tablet, if they do so? I assume that, at the very least, they will lose their files and apps, so that a full backup will be required beforehand.

Switching to Lineage OS on the T813 seems to become more and more daunting. It certainly seemed a lot easier on my old ASUS tablet, back when I installed CyanogenMod, which is one of the reasons I haven't done it yet. For this reason, could we have some detailed description in the first post of all the steps required to install Lineage OS, starting from installing TWRP, rather than having to rely on external, possibly outdated articles?
[Galaxy Tab S2 Original Android Development] LuK1337:
> What is "updato"?

Updato is an alternative to people who don't want to wait 6 hours to download firmware file from sammobile ~ http://updato.com

> Is "sammobile" www.sammobile.com?

Yes.

> They have all sorts of firmware over there, and T813ZSS2AQB1/T813OZS2AQB1 seems to be the Hong Kong and the (different?) Taiwan version. Is that really required, or do you mean that the tablet firmware must be fully updated before installing Lineage OS? My firmware, e.g., is T813XXU2APK6/T813OXX2APJ1, which is a couple of months older than the Hong Kong version, but the most recent for my region.

Yes, I flashed Hong Kong one on my EU region tablet.

> What about people, who have already installed Lineage OS? Do they need to install that version, too? If so, does this mean that they'll have to switch temporarily back to stock, so that they can get the latest bootloader, before they can upgrade, and what will be the effects on the tablet, if they do so? I assume that, at the very least, they will lose their files and apps, so that a full backup will be required beforehand.

Pretty much yes, people can always skip flashing stuff like system, cache, userdata if they are smart enough to do so. Also people with old bootloader won't be able to flash upcoming builds as they are actually checking for current bootloader version and if you for example try to remove the check then you'll boot into partially broken ROM where for example fingerprint sensor won't work.
[Galaxy Tab S2 Original Android Development] KritonK:
Thanks for the prompt reply. However, the above information is not something trivial, that can stay hidden in a random post in this thread, that nobody is going to notice after a couple of weeks, when it gets buried by follow-up posts. It really needs to be at the very beginning of this thread. At the very least, it's going to save you having to answer a lot of questions about why things break because of the wrong bootloader, not to mention having to deal with people becoming upset, when they find out that they have to essentially wipe their tablets, in order to install the correct firmware.

Finally, if the only thing that's really needed is the new boot loader, how does one go about flashing only that, instead of flashing 4 GB of firmware and having to reinstall from scratch? Extract boot.img from the tar archive, contained in the firmware zip file, and flash it from within TWRP? Or using Odin? If the latter, how?
[Galaxy Tab S2 Original Android Development] LuK1337:
Well, you need pretty much everything from factory package. Especially non-hlos / modem. BTW boot.img is not a bootloader.
[Galaxy Tab S2 Original Android Development] KritonK:
Combining this with your previous statement about not flashing system and cache, I think I now understand what you meant, but I'm not going to try it or even describe what I understood, as it's not worth the risk.

Given that I'd like to see how Samsung's version of Nougat will look like, before switching to Lineage OS, I suppose another alternative is to wait for a more recent firmware update from Samsung. I assume that this will contain the newer boot loader, and I won't need to flash the Hong Kong firmware to get it—or does the Hong Kong version contain special code that will not become available in other regions?
[Galaxy Tab S2 Original Android Development] LuK1337:
We updated our vendor blobs to HK ones and now older firmware is no longer compatible with them so fingerprint sensor doesn't work at all.
[Galaxy Tab S2 Original Android Development] KritonK:
Fair enough, but I was asking about newer firmware, i.e., versions that will be released in the near future, such as periodic updates or the promised Nougat update. Right now, the HK version is the most recent one, but as the tablet is still supported, and updates are expected, shouldn't the other versions catch up with the HK version in the near future?

(I wouldn't be surprised if the Nougat update contains even newer blobs, that will require yet another boot loader update, so I think I'll definitely wait for that to come out, before switching to Lineage OS!)
[Galaxy Tab S2 Original Android Development] LuK1337:
Well, if newer versions will still work then for sure I'll add them to assert check. In case of nougat we'll likely drop support for all MM bootloaders ( that's a guess ).
[Galaxy Tab S2 Original Android Development] martyg7:
OK, I just read this again and again, and I am still confused.

Are we being told anyone currently running LOS 14.1 is going to have to wipe their tablet back to stock before being able to upgrade to the next weekly?
[Galaxy Tab S2 Original Android Development] LuK1337:
Well, flashing stock isn't exactly equal to wiping it. You can flash stock and without rebooting to it flash TWRP & restore /system and boot.

Or you could just flash everything but boot and system.
[Galaxy Tab S2 Original Android Development] martyg7:
With all due respect, I think what you are proposing is highly disruptive to your user base.

I have been using CM/LOS since the very beginning, and this is the first time I have ever had to do anything like this when not breaking stream.

Is this a one time deal? How often are we going to be asked to put up with this?
[Galaxy Tab S2 Original Android Development] LuK1337:
Uh, looks like you newer had a modern enough device that requires updating bootloader. It's pretty much a single command when using heimdall heh ( heimdall flash --APNHLOS NON-HLOS.bin --MODEM modem.bin --TZ tz.mbn --SBL1 sbl1.mbn --RPM rpm.mbn --HYP hyp.mbn --ABOOT aboot.mbn ).

I have no clue how often we'll require such changes but considering that samsung might release nougat this won't be a one time deal.
[Galaxy Tab S2 Original Android Development] scanno:
[MENTION=5075128]LuK1337[/MENTION] any reason for the blob update?

Verstuurd vanaf mijn ONEPLUS A3003 met Tapatalk
[Galaxy Tab S2 Original Android Development] LuK1337:
These blobs are newer than ones we have been using earlier.
[Galaxy Tab S2 Original Android Development] musashiken:
I understand how you feel as I'm also used to crack flashing roms on my nexus devices without much headache. But looks like this is the best rom support for our tablets and seeing that most modern Samsung devices now are a pain in the as* to modify, I guess I'm willing to take a few extra steps to flash the latest custom rom.

In any case, the steps I'm going to take are:

- Back up apps to external sd card using titanium backup. (I'm using mine as external instead of adopted storage since I kinda foresaw this)

- back up what ever data I need to the PC

- Remove sd card (maybe not necessary but in case Odin wipes it as well)

- Factory reset in TWRP. I don't really need a nandroid.

- Flash the latest stock samsung firmware using Odin

- Redo root and TWRP installation using Odin

- Install upcoming LineageOS

My primary android device is my Nexus 6P, so most of my important apps and data are on it. My Samsung Tab S2 is more of a media consumption and light gaming device so I don't have much stuff to back up anyways.

I'm also seeing Heimdall as another option to flash the updated blobs to cut down all the hassle, but I'm not that confident in using it so I'm still going to Odin route.

---------- Post added at 03:51 AM ---------- Previous post was at 03:17 AM ----------

Hi LuK1337, really appreciate your work on this since this is like one of the only fully workable custom roms for this tablet.

I understand that updating of bootloaders are necessary however it seems like samsung devices are a little different from the nexus devices I'm used too. For nexus devices, flashing of vendor images. radio, bootloader images is just a matter of fastboot commands in command prompt.

But seems like we need something called Heimdall for samsung devices? If Odin is too much hassle for some of us, looks like the Heimdall command you used is quite simple.

"heimdall flash --APNHLOS NON-HLOS.bin --MODEM modem.bin --TZ tz.mbn --SBL1 sbl1.mbn --RPM rpm.mbn --HYP hyp.mbn --ABOOT aboot.mbn"

I guess that's the whole command line to use for Heimdall?

Those files can be extracted from the firmware tar file right?

Can I do that now for the current LineageOS nightly build? Or it has to be done right before flashing the next nightly? I don't see any flashing of userdata or something similar so I'm guessing this will not wipe my current data and settings?
[Galaxy Tab S2 Original Android Development] LuK1337:
It has to be done before flashing next build. And yes, that's the whole command.
[Galaxy Tab S2 Original Android Development] musashiken:
Thanks. Couple more questions.

So I've been reading up on Heimdall, I suppose we don't need to have the PIT file?

And can I flash the files now? The current LineageOS build can still work right?
[Galaxy Tab S2 Original Android Development] LuK1337:
You don't need a pit file when using heimdall from command line. Don't flash updated firmware on current build, it'll break the fingerprint sensor.
[Galaxy Tab S2 Original Android Development] musashiken:
Thanks! Now I'm ready for the next build.
[Galaxy Tab S2 Original Android Development] Jens1969:
Thanks for your continuing hard work on the T813. :good:

One suggestion: Can you please update the OP with this information as soon as future builds are current builds?
[Galaxy Tab S2 Original Android Development] DeadPicsel:
Damn that means I can use your builds any more as I have the T819 and was using your ROM lol. Looks like I'll have to sell my tablet now, I can't use TouchWiz.