yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] T_I:
I'm going to now, all stuff that was crucial for me is fixed. Next will be a correct solution for the su daemon, but first some research.

Sent from my T810 running cm 12.1
[Galaxy Tab S2 Android Development] T_I:
Ok, the rest is out the window. With the Moto G the switch from cm 12.1 to cm13 could be achieved with a dirty flash... shouldn't be to much difference between the versions. Lets see if a recompile for cm 13.0 doesn't give to much trouble. (compiling as I type ;) )
[Galaxy Tab S2 Android Development] CTXz:
The compile will break due some differing variables from the 13 exynos5433 sources. I got mine compiled. Got to the cm logo but it gave me a very unclear log.
[Galaxy Tab S2 Android Development] T_I:
AH well, I made a big mess of my first cm 12.1 builds, survived that mess, so lets see what kind of mess I can get myself in with cm 13.0. I already nicked a 3.4.42 kernel, ran a make oldconfig on the kernel configuration and added (hopefully) the correct BCM device for wifi. Pushing the stuff to the repo and then compile... (indeed, first compile died on lots of stuff ;) )
[Galaxy Tab S2 Android Development] pilspeda:
I'm following your progress and I wish I could give you a big high-five for your effort.

It is much appreciated.

Thanks !
[Galaxy Tab S2 Android Development] suzook:
Wow, this is unbelievable! Cm 13???? Wowee!
[Galaxy Tab S2 Android Development] T_I:
Looks like there aren't major differences in the device/kernel area. [MENTION=6584695]CTXz[/MENTION] did all the work to port his version to CM13, but got stuck with a weird error. Looks like it's something with selinux. My first attempt to compile the kernel with selinux gave me an enforcing kernel, with loads of issues. I'm hoping I've found the correct way to enable selinux in permissive mode. This could help getting cm13 booting. Would be nice if I got it working this year.
[Galaxy Tab S2 Android Development] suzook:
Well there is only 1 day left this year, so yea, that would be awesome!:) Good luck.
[Galaxy Tab S2 Android Development] T_I:
7 hours to go here, compile started. Would be nice if this one boots.
[Galaxy Tab S2 Android Development] T_I:
Ok, fix not working, not even reaching a stage I can grab a logcat. Reverting and trying something different. First a cm13 build for my titan, the nightly for that one is b0rken.
[Galaxy Tab S2 Android Development] suzook:
Thanks for the update.
[Galaxy Tab S2 Android Development] bamfsig45:
I know this rom is still Alpha and all. But just curious if anyone else has tried Netflix? It wont stream a video until you flash some netflix_Fix.zip. Then there is no sound. Hulu, youtube have no issues. Probably some DRM issue, but the sound I dont know how to fix.

Rom is running awesome BTW, keep up the great work Dev. So Netflix and, I dont think the Mic is working at this point either.
[Galaxy Tab S2 Android Development] T_I:
Could be DRM, haven't looked into that.

I'm currently battling with getting cm13 up and running. It hangs in the CM bootanimation, vold cashing because it can't funs the selinux keystore and "Failed to setexeccon". Looks like we need to enable selinux permisssive to get it running. It looks like i need to set a boot option, got even the one Ineed to set and loads of cnfiguration options on which kernel options you can set, but I'm totally lost where to set them. Can't find the file(s) in the kernel/cm tree where to set them.
[Galaxy Tab S2 Android Development] T_I:
Ok, cm 13 needs selinux, but I just can't get it to boot in permissive mode. Looks like I need to get selinux working in permissive mode in 12.1 first.

Sent from my T810 running cm 12.1
[Galaxy Tab S2 Android Development] suzook:
So permissive, not disabled like in your cm12 build?
[Galaxy Tab S2 Android Development] T_I:
Yep, the disable was a quick work around that works in cm12, but is giving issues in 13. The vold and others use a routine that requires setexeccon to be usable, which it isn't with selinux disabled. In permissive mode setexeccon can do something, although the environment just logs if a selinux rule is failing, instead of logging and blocking the operation. The unavailability of the command is holding vold and with it a successful cm13 boot back. (cm13 won't boot without all filesystems) At least hat is all info I can find on-line.
[Galaxy Tab S2 Android Development] CTXz:
[MENTION=4557146]T_I[/MENTION], selinux is more than messed up on this chipsets kernel. It lies in the DTB and that's because the kernel doesn't have a cmdline. Unfortunately there is no dtbtool for this SoC so you have to build the kernel with selinux changed outside of the CM dir and then use the dtb from it.
[Galaxy Tab S2 Android Development] T_I:
That will be something to sink my teeth into then. The kernel boots nicely and with setenforce permissive the kernel can be switched to permissive mode. Without it, wifi (amongst others) doesn't work. At least we have an option to fix the selinux part for the functionality we were able to fix in a kernel without selinux.
[Galaxy Tab S2 Android Development] T_I:
I've uploaded the selinux build. Don't know what isn't working with selinux enforcing, next to wifi and gps. Add /system/bin/setenforce Permissive to /data/local/userinit.sh to be able to use the device. (at least, that should set permissive via this script, restorecon of the file could be needed, testing a the moment.
[Galaxy Tab S2 Android Development] suzook:
Your unstoppable!:good:
[Galaxy Tab S2 Android Development] T_I:
Just installed and configured the selinux build. Looks like the set enforce permissive needs to be set manually.

Tab feels faster though, downloading atutu to check.

Edit: 63k2, not faster, slightly slower even.

Sent from my T810 running cm 12.1
[Galaxy Tab S2 Android Development] suzook:
So all is working except what is broke on cm12??
[Galaxy Tab S2 Android Development] CTXz:
He's talking about cm12
[Galaxy Tab S2 Android Development] T_I:
Indeed, as it proves to be impossible to boot cm13 with selinux disabled.

The 20160103 image has selinux enabled, in dev mode, but defaults to enforcing. Via adb (or local terminal and su -) it's possible to switch to permissive with setenforce 0. After the switch most (all) of the fixes we included in the non-selinux kernels work again.

I'm going to implement the optimal kernel settings in our kernel to see if we can default it to permissive, so it boots with all warnings, but no blocking. That way we can determine what is missing in the selinux settings and fix it.

What I know that's not working in selinux enforced mode:

Wifi connection (finds network, lets you enter password, won't connect... wpa_client?)

gpsd (no context for gpsd, exiting)

/data/local/userinit.sh (won't start or start with user other then root)
[Galaxy Tab S2 Android Development] T_I:
Ok, I took the permissive patch [MENTION=4549354]BigBot96[/MENTION] applied to get his OptimalKERNEL to get our kernel permissive. Just tested the image and it boots permissive and even runs the userinit.sh script. Uploaded 20160105 image and updated OP, including a screenshot. Screen is dark due to my theme and an issue with resetting to default. (don't know if that is a result of me meddling with it)
[Galaxy Tab S2 Android Development] westernmg:
Got the T810 today and flashed this Rom immediately.

Except of the mentioned problems (GPS,mtp,cam) its running really nice.

Will definitely keep it and follow your excellent work.

Gesendet von meinem SM-T810 mit Tapatalk
[Galaxy Tab S2 Android Development] T_I:
I'm currently busy with life, things in the house, car that needs fixing (brakes are pretty crucial to have) and stuff like that. Hopefully I'll have a bit more time next week. (as soon as the weather gets worse and we finaly will be getting a winter overhere)
[Galaxy Tab S2 Android Development] suzook:
Brakes??? Cmon! We need cm13!!! LOL. Take your time. Really enjoying the latest build.
[Galaxy Tab S2 Android Development] TotorSMT:
Hello T_I after a first successful flash I worked a little, installed some apk, reboot several times. after some minutes : the tablet does not boot after a shutdown.

I've done a backup before the flash, reinstal stock rom, reflash CM : same story, after shutting down the tablet, can't boot it, it's stuck on the first samsung message (cf pic)

[IMG="samsung boot blocked"]http://imgur.com/JE7J1Eh[/IMG] http://imgur.com/JE7J1Eh
[Galaxy Tab S2 Android Development] bassie1988:
I also have that problem. If I boot into recovery and wipe cache and dalvik cache it will boot.. but it takes a while since it has to load all apps again!

Verstuurd vanaf mijn SM-G925K met Tapatalk
[Galaxy Tab S2 Android Development] TotorSMT:
Ok good to know .. I'm starting a ROM dev for SM-T810 and knowing I'm not the only one having the problem and the solution helps me a lot ;)
[Galaxy Tab S2 Android Development] CTXz:
:D It wipes the cache. Of course it needs to load the apps again xD
[Galaxy Tab S2 Android Development] bassie1988:
I know! But it's the only way to boot into CM after shutting down the tablet.

Verstuurd vanaf mijn SM-G925K met Tapatalk
[Galaxy Tab S2 Android Development] kisypher:
Just curious, has development ceased on this project?

Sent from my not-so-stock SM-T810
[Galaxy Tab S2 Android Development] T_I:
Not really ceased, just put on hold. Got lots of ill animals (buried 2 in the last week) and my wife will need treatment for cancer. This image isn't the main thing on my mind just now. The spare time I have is needed to get things in place for the busy time that's ahead.
[Galaxy Tab S2 Android Development] pilspeda:
All the best.
[Galaxy Tab S2 Android Development] optionalmgrr.la:
Please take care. Just take your time. All the Best.
[Galaxy Tab S2 Android Development] hga89:
Removing GAPPS individually

I installed CM 12.1 on my Tab S2 9.7 and am very happy with that. I, perhaps too hastily, also installed the "stock" version of gapps but would really like to get rid of some Google applications, essentially taking me down to a "minimum" installation where I have what is necessary for the Play Store with preference for third-party applications to substitute for the majority of the other gapps.

Is this possible at this stage? Or am I forced to reinstall the ROM and choose a "more minimal" gapps package for installation?
[Galaxy Tab S2 Android Development] kisypher:
Sorry to hear that. Take care of your wife, that's most important. Hoping for better days for you and your family.

Sent from my not-so-stock SM-T810
[Galaxy Tab S2 Android Development] Depressed T.Bear:
Real-life, especially family, always comes first! Take your time to help your wife through the damn cancer thing. It's hard but nowadays there're very promising therapies out there. I wish you and your wife all the best. And your pets of cause too.

Hopefully we'll see you one day back here helping us to get cm. :) greeting from Germany!

Gesendet von meinem D5803 mit Tapatalk
[Galaxy Tab S2 Android Development] Fritzy62:
Sterkte!
[Galaxy Tab S2 Android Development] zalso:
Bug SMT810

on the smt810 when charging and turning off and back on it gets stuck on the battery charging logo it can be fix by power and volume down with out charger in
[Galaxy Tab S2 Android Development] halloarno:
Wow, great rom. Now I can (dark) theme my tablet.

No su is not a bug. Cm root access is available. But I found it not stable, so flashed su anyway. Performance is like optimal rom (more or less equal). I only miss Samsung store for the office apps. Will test and report further.
[Galaxy Tab S2 Android Development] zalso:
Headphones and YouTube bugged

On my tablet(smt810) I have exposed 74 sdk 22 installed with no modules just to say.

When I open any sound application it rufuses to play though headphones and YouTube will not play with awesome player or default one

Also how will one update without a cm recovery for this tablet

---------- Post added at 11:24 PM ---------- Previous post was at 11:11 PM ----------

Headphones don't play audio from any app

YouTube freezes even with different playes enabled

Notes smt810 and exposed 74 installed . double post?
[Galaxy Tab S2 Android Development] T_I:
Good question. I've always installed the pico opengapps package, the bare minimum needed, and installed google apps that I wanted afterwards, so I could kick them off when I changed my mind. I'm using Titanium Backup, which can uninstall system apps. When you don't want to reflash, that's an option.

You can also make a backup of your current install, clean install this rom and install pico gapps, check what apps you're still having, restore your backup and kick off all that aren't in pico.

BTW I've just cleaned my build tree and I'm recompiling from scratch, just to check if there are security patches and fixes in the regular tree that are useful. Mostly because headphones would be nice, as would be adaptive brightness. (doesn't seem to work at my device) Maybe I can spend some time at the rom again and hunt these 2 down.

Edit: just discovered that CTXz fixed the headphones. Copied his fix to see if that's the fix for the 810 as well. Compiling.
[Galaxy Tab S2 Android Development] T_I:
Then don't power down while charging. :D Weird one, need to check.

That's correct. When you edit /data/local/userinit.sh and give it this content:

#!/system/bin/sh

/system/xbin/su --daemon &

It's stable trough reboots.

For some strange reason my build refuses to start the su daemon on reboots. Haven't found the cause of this issue yet, the T710 version of the rom doesn't have it, so we can't compare what's the issue. (Same code base, for this section)
[Galaxy Tab S2 Android Development] T_I:
Hmmm, build with the headset fix failed due to weird issues in my build environment. Started from a clean checkout, compile is running.

Also changes ALPHA status in header and PRE_ALPHA status in OP to BETA. I've been using the rom for over a month now and think it's usable as daily, when you don't expect to much of GPS, camera and other extras. ;)
[Galaxy Tab S2 Android Development] pilspeda:
Thanks for this. I am planning on flashing you're latest build. Where can I find it? The op points me to a January 6th build.
[Galaxy Tab S2 Android Development] suzook:
Another bug. If battery dies, when you plug in to charge it gets stuck on Boot screen that says samsung. Only way to get it to rebooot, is unplug, boot into download mode, then reboot into revovery mode, and reboot to system using recovery. No complaints here, loving the ROM, Just figured I would let you know. Thanks again.
[Galaxy Tab S2 Android Development] T_I:
That's the latest. Haven't been able to develop since then.

I'm suspecting that he patches I added to enable selinux in permissive mode killed a few things. I'm now trying a build with selinux disabled again, so it's closer to the T710 build of [MENTION=6584695]CTXz[/MENTION] .
[Galaxy Tab S2 Android Development] T_I:
Ok, build new version, disabled selinux (I suspect it to cause some issues) and added headphone fix from the T710 build of [MENTION=6584695]CTXz[/MENTION]. Upload is currently running to the beta section. Will update the link in OP to latest file as soon as it's there. (And I've had lunch)
[Galaxy Tab S2 Android Development] T_I:
Indeed, headphones are working, killed off selinux. My testing shows a faster responding tablet.

I;m currently working on the camera and I plan to split the sources to a gts2-common part and a gts210wifi specific section. [MENTION=6584695]CTXz[/MENTION] and I need almost identical sources, it's time to move those to a common section. This way development for the 715 and 815 can be started by people that own those devices without having to opy everything we done.= for the 710 and 810.
[Galaxy Tab S2 Android Development] ivanox1972:
Hey boss, can you support t715/ t815, even without gsm functions?
[Galaxy Tab S2 Android Development] suzook:
Great News! Thanks!
[Galaxy Tab S2 Android Development] T_I:
Wouldn't know where to start, need blobs from those devices, device name and it would be a separate build all together. Haven't got a clue how to build for more then 1 tab s2 at a time. I'm happy when I can split off the common parts from the T710/810 specific sections.
[Galaxy Tab S2 Android Development] ivanox1972:
Maybe somebody can help. If helpful, we know that note 4 with same cpu now have very good cm13 (cm 12.1 was buggy ).
[Galaxy Tab S2 Android Development] T_I:
I've already downloaded their 12.1 sources, got the common idea from their sources.

Biggest issue we now have with 13 is that it doesn't boot. When it would boot I could look into that version.

Sent from my T810 running cm 12.1
[Galaxy Tab S2 Android Development] pfftdives:
Thanks for this, running very well so far (on the 0206 build, dirty flashed from 0105 build). Better battery life and responsiveness than TW. I have had some odd issues with app installation though. When I let the Google restore all apps thing go, it was unable to install the xda developers app (error93?) I attempted to restore it from a recent tibackup.. It sat there for hours and finally failed. When I had tibackuptibackup run a mass restored of all missing apps and data there were other apps with this issue- sattrack, hamgps, and others.

Thinking I'll wipe it fresh and reflash 0206, not let google restore, and just try and restore xda dev app via tibackup... Don't have any other clever ideas...?

Thank you for the ROM it kicks ass being back on CM!
[Galaxy Tab S2 Android Development] halloarno:
You could try to delete data from playstore and playservices (eventually downloadmanager) in appsettings. And reboot ofcourse.
[Galaxy Tab S2 Android Development] pilspeda:
First of all: thanks for the great ROM. After a lot of hesitation, I decided to install your CM 12.1 build as all of that Samsung bloatware was really getting me enoyed.

Funny thing I have noticed, although it does not influence usability at all: when I hit the power-off button to lock the screen, just before the screen shuts off, it rotates by 90°. No matter if I switch the tablet off in landscape or portait mode, the screen switched by 90° and then goes off.

Keep the good work up!
[Galaxy Tab S2 Android Development] T_I:
That's correct, Haven't looked into it. I had to rotate the screen 270 degrees to get the LCD output alligned with the touchscreen. :confused: When it works, it works.

Currently trying to split the gts2 common sections from the gts210wifi sections, so when an update is added to T710, I can use it, and vice versa.
[Galaxy Tab S2 Android Development] Katzenstreu:
Hi T_I!

I am using a Samsung Galaxy Tab S2 8.0 LTE (T715N). You asked for blobs. Google translator didn't helped me to understand (in German). Wich information do you need? How I can support you?

With TWRP and backups I would do some tests with your ROM on T715N.

Best regards

Tim
[Galaxy Tab S2 Android Development] T_I:
I'll need the device name (settings, about phone and then the device code) I'm guessing gts28lte, not sure. The System info for android app could also give the correct device code.

I guess we need to take [MENTION=6584695]CTXz[/MENTION] his 710 sources, replace 710 with 715 and see what that will do. I'd start with the T710 build, not the T810 build. I had to change a few tings, like LCD driver and screen rotation, to get it working on the T810. The T710 build would not install as you don't have the correct device. (I guess)

When a clean recompile doesn't work, we need for the binaries of your device (instead of the binaries of the T710).
[Galaxy Tab S2 Android Development] CTXz:
Blobs sind die binär Dateien die in /system liegen (enden mit .so)

Blobs are the binary files that are located in /system (ending with .so)
[Galaxy Tab S2 Android Development] Katzenstreu:
Hi,

yes, it's called similar: GTE28LTEXX.

Another developer edited the stock ROM, see XDA. Could it help?

My tablet uses his ROM. So could you need my blobs (so files)?

Best regards

TimView attachment 3643867View attachment 3643868
[Galaxy Tab S2 Android Development] Katzenstreu:
In /system/ I found 803 files with ". so". Which files are needed? Are my files (modded stock ROM) usable?
[Galaxy Tab S2 Android Development] T_I:
Your device is running android 5.0.2, cm-12.1 is android 5.1.1. We'll need to get the blobs from a 5.1.1 rom. There was one for the 710/810, don't know (haven't looked yet) if there is one for the 715 and 815.

BTW I'm currently battling with my common split. For reasons unknown to me a split of the device tree resulted in an unwilling kernel. It refuses to compile now. I'm preparing for a holiday at the moment, and after that my wife is starting her chemo treatment. I hope I can find some spare time after the holiday, but I have to say, it doesn't look good for my spare time. I've asked [MENTION=6584695]CTXz[/MENTION] is he has time to look into the source split. I made a mistake I can't find. (And he had a bit more experience with a -common setup in cm for other devices)
[Galaxy Tab S2 Android Development] CTXz:
I'd help you, but not only does my friend have my Tab at the moment, but i'm quite busy with the Xperia Z5 project
[Galaxy Tab S2 Android Development] anks329:
Would it be possible to undo the split? I'd like to try building a slimlp rom for the 810 leveraging your trees.
[Galaxy Tab S2 Android Development] ivanox1972:
So we need cm12 for lte tabs if I understand?
[Galaxy Tab S2 Android Development] T_I:
I've locally reverted everything back to commit of 7 feb (8aaab83). With that commit I was still able to build. You can just checkout and revert commits. I'm checking where my split went wrong.

Nah, there is just the need to find a stock 5.1.1 rom and get the blobs from there. The T710 and T810 roms are using the blobs of a Canadian rom.
[Galaxy Tab S2 Android Development] ivanox1972:
As i know both lte's not have 511, just 502
[Galaxy Tab S2 Android Development] T_I:
When the only difference is the gsm module, maybe the firmware can be taken from the 5.0.2 version. It's worth a try I would say. It's either that or start with the T710 sources and downgrade those from cm-12.1 to cm-12.0.

BTW my revert of the split results in the same errors, so I'm suspecting my build environment. (again) Doing a re-init, but I'm going on a holiday within a couple of hours. Will test more when I'm back.
[Galaxy Tab S2 Android Development] ivanox1972:
I can only say, I do not have this knowledge. Can be alpha tester of course
[Galaxy Tab S2 Android Development] T_I:
Hmmm, just digged around in my build environment and found several crucial libraries missing. Must have been deleted when doing major upgrades on my machine. Having all the libraries seems to be crucial for the build environment. Also the cm sources decided to nick the environment settings from my machine, which don't match anything in the cm sources, since the start of this year. Both were not helping in the build. New build attempt is running.
[Galaxy Tab S2 Android Development] TheEvilVirus:
Hi T_I, looking forward to the new build. Just installed CM12 and runs very smooth. There are some minor issues I discovered, I think they have been mentioned before:

From power off, I can only boot to System from Recovery, otherwise there is a bootloop (coming from 5.0.2 OJ4, could that be the issue?)

When screen turning off, you can see the screen orientation changing at the last moment.

Restoring apps didn't quite work out, but that could be on my end.

Thank you for your development, much appreciated!
[Galaxy Tab S2 Android Development] T_I:
Haven't tried restoring apps, I personally never use it. Been battling with build so much I decided to reinstall my laptop that's used for the build from scratch and still having issues with the stock titan cm13. :confused: Haven't got a clue what's going wrong, clean Debian Jessie install should do the trick.

Unless I know my build environment is sound (i.e. I can build a known-good cm), I can't be sure my changes are the cause of a non-build or not. (especially since the last 'known good' of my sources build perfectly the first time, but failed to build the second time I tried.
[Galaxy Tab S2 Android Development] ptfdmedic:
I was wondering if anyone using this still has the wavy effect when scrolling up and down while in portrait mode???