yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] yodan4:
Which 6.x.x can i flash via Odin. I have found some threads with people saying they've flashed TWRP first. However, I have done that, and still fail once I get to the 6.x.x FW part. I tried to flash the RaymanFX CM 13 after flashing TWRP, and that failed also. Obviously because there's no 6.x.x base for it to adhere to. Any suggestions, or steps necessary for me to start an action plan on liberating my tablet? Thanks again!
[Galaxy Tab S2 Android Development] pfftdives:
I flashed the stock Samsung t810 mm. Google something like Samsung t810 marshmallow stock and there are many places you can download it from.

I Odin'd this on. Then reboot, then twrp and the rest was easy.

I did manage to download a 5.1.1 stock image accidentally and cm13 did boot loop till I got 6.0 on, then twrp again then cm13.

Good stuff but the video reboot thing is killing it for me for now.
[Galaxy Tab S2 Android Development] lewmur:
Camera problems

I've tried three different camera apps and they all load fine. No mention of camera not working. But when I take a picture, or start a video recording, the tablet reboots.
[Galaxy Tab S2 Android Development] T_I:
As pfftdives states, odin stock image of MM first, then odin twrp, then install cm-13.0 via twrp.

That's what I found as well, the stock image flashes a boot section that's needed to get MM working.

Some lag is driving me mad as well, but I just found a prop blob in the device tree tat does something with the lte radio. As I already killed of the rest of the telephony stuff, this could be the cause of the McDaemon errors we're seeing. I hope it also interferes with mounting of ext sd and video playback, but I guess that's wishful thinking.

Hmmm, strange, just tested and here it saves the picture nicely. Haven't tested video recording. (but it still reboots on playback, probably an omx or codec issue. Will look into it tomorrow.
[Galaxy Tab S2 Android Development] lewmur:
I don't know if it makes any difference which stock version you flashed first, but I used the NZ version. When I reverted to it, the camera worked fine. Also, the gapps I used was the pico version.
[Galaxy Tab S2 Android Development] pfftdives:
I looked- got my 6.0.1 MM for T810 here -- http://www.theandroidsoul.com/download-galaxy-tab-s2-stock-firmware-86982/
[Galaxy Tab S2 Android Development] T_I:
I've used the T810XXU2CPD9 version to get the blobs from.
[Galaxy Tab S2 Android Development] T_I:
After the acceptance of the gts210wifi kernel config I could build with the cm gts2 kernel. Video works thanks to a kernel patch. OP updated to reflect this. Only issue I know of now is the external sdcard. Hunting it down as I type.

Edit: Hunt is still on, asked for help on the forum. Meanwhile a patch that's not yet merged killed off the restarting McDaemon. Replaced the 17-6 upload from a but earlier with a new one. OP updated.
[Galaxy Tab S2 Android Development] lewmur:
This also fixed my camera problems. Now taking photos and recording videos.
[Galaxy Tab S2 Android Development] Fritzy62:
You're definitely cooking! Excellent to read.
[Galaxy Tab S2 Android Development] T_I:
Thanks, only issue is that external sd, I can't think of any reason why the darn thing just won't mount under storage. First mount (/mnt/media_rw) works, why not the second (/storage). It's not the sdcard, works in other devices, it must be something stupidly simple in vold or it's config. Logging is just to little. Will probably need to up the debug output.

Sent from my T810 running cm-13.0
[Galaxy Tab S2 Android Development] pilspeda:
Thanks for the ROM. Installed flawlessly, but I can't figure out how to get the quick settings "activated" (you know, that quick settings menu that appears, when you swipe down from the status bar ?)

Is it a bug or a feature ? ;)
[Galaxy Tab S2 Android Development] T_I:
Well, on my tab it's neither, it just works. :confused: Swipe down from the top of the screen and I get the menu.

I'm currently feeling brave and I'm recompiling with the gts2-common from CyanogenMod (should work, my patches are in) and selinux in enforcing state. (should work, would be first seandroid enforced build...) Will still be a userdebug version, so it can be switched to permissive, but I'm curious if it'll boot without problems now. (except for the ext_sd on /storage issue, still working on that)

Edit: Uploaded first selinux enforcing build. (I expect to replace it later this day) Runs nice on my tablet, I even get the feeling it's a bit faster. I'm now cleaning out system.prop and doing a complete clean build to see if that helps a bit with the ext sd. OP updated.
[Galaxy Tab S2 Android Development] Alikzus:
Thank you

Yesterday I upgraded to MM, from 5.0.1, with the German stock image; no OTA updates in Sweden => I am not impressed with Samsung. TWRP, backup and your (then) latest image followed suit. Wonderful! Thanks to you the software now matches the hardware; it is appreciated. :)
[Galaxy Tab S2 Android Development] Fritzy62:
Maybe I am lazy and missed it, but does the fingerprint scanner work with the MM build?
[Galaxy Tab S2 Android Development] T_I:
Haven't got a clue, haven't tested it. (I prefer a pin to unlock, that works on all my devices) Didn't heard it didn't work, but also I didn't hear it did. When someone knows, please let me know if it works or not.

I compared the fstab/vold configuration we use in the gts2 devices with that used in titan and I hope I've found the reason why ext_sd is not working.
[Galaxy Tab S2 Android Development] suzook:
Latest build has broken mdlne controls. Just a heads up.
[Galaxy Tab S2 Android Development] T_I:
I'll look into it, I expect this is caused by setting changing the selinux setting in init.
[Galaxy Tab S2 Android Development] lewmur:
Cast problem

Just a heads up. Cast isn't working right for me. Screen turned 90% and displaying on the the upper right corner of the TV screen. Works fine in the NZ stock MM.
[Galaxy Tab S2 Android Development] T_I:
The rotation could be caused by the 270 degree we had to rotate the screen. We had to tell the camera not to use the rotation, could be the same for cast.

Just tested the latest build and we have ext_sd available under /storage. Titanium Backup, the app I had to test it with, complains it's not writable, but that's usually the case when the directory is not exactly where it wants it. Need to check if this is the case or I forgot something. Patch is in gts2-common, uploaded with remark.

Updating OP, could others test of they can access the sdcard with their apps for writing? (reading is no problem) The only other apps I have that write there are rooted, so no fair test.
[Galaxy Tab S2 Android Development] Dekan54:
I will test and report back. I also want to say you are doing some awesome work. THANK YOU
[Galaxy Tab S2 Android Development] T_I:
You're welcome.

BTW tested myself, Titanium Backup needs the backup folder under Android/data/com.keramidas.TitaniumBackup on the external sdcard, not data/com.keramidas.TitaniumBackup . :D TB works, I'm totally happy. Will apply for submission of the sources in CyanogenMod tomorrow. As soon as it's accepted and stable enough, it could be an official image :D (Nice, after all those months of work)

Edit: Oh drat, killed wifi with a wrong choice... will build and upload tomorrow.
[Galaxy Tab S2 Android Development] attiliovergano:
WIFI WORK?
[Galaxy Tab S2 Android Development] T_I:
Ok, latest build, from scratch, got both wifi and storage at the right place. Deleted both older images, uploading latest as I type.

Edit: upload done, updated OP with link to the image. Sources offered to CyanogenMod for upload in their github.
[Galaxy Tab S2 Android Development] pilspeda:
Thanks for the update.

Unfortunately though the Quick Settings are still not available :(

Anyway I can provide more information ? Would a logcat be helpful ?

And btw: when my Tablet boots up, a funny tune starts (seems like a boot-up sound). Any chance you know where I can fix that ?

Lock-Screen protection mode Swipe doesn't seem to work either. Pattern works fine.
[Galaxy Tab S2 Android Development] T_I:
That would be helpful.

Weird, did you do an advanced wipe before installing this image after installation of stock and twrp?

I haven't put any sounds in the bootup and as far as I know CM never had as well. Swipe is the default in this image, so that lock mode should work. (does on my tab, switched to pin ASAP)
[Galaxy Tab S2 Android Development] pilspeda:
I did exactly as it stated in the op, but I might just have to do a clean flash...

Sent via my bacon device
[Galaxy Tab S2 Android Development] T_I:
Could be useful, just to exclude old settings beging left behind.
[Galaxy Tab S2 Android Development] T_I:
Uploaded an seandroid permissive, building an enforcing one as well for upload.

When people want, they can compare functionality between the two (same sources except for init being forced permissive or not), I noticed mDNIe working with seandriod set to permissive. (could be an upstream fix that has been applied, did a resync of the sources)
[Galaxy Tab S2 Android Development] pilspeda:
No change :(

Will try and provide a logcat
[Galaxy Tab S2 Android Development] T_I:
Drat, my bad, the lib was marked as one for Telephony, so we moved it to from common to lte tree. As I was hunting for the storage, I forgot to recheck the camera. Included it back and marked it as a security/camera/ril dependency.
[Galaxy Tab S2 Android Development] poteck:
Great, that was fast : )

Are you going to publish one more build today with the fix? I ask Just in order to re-check that is solve.

Thanks.

Regadrs.
[Galaxy Tab S2 Android Development] T_I:
[MENTION=3463426]RaymanFX[/MENTION] and I had a discussion about the library, we weren't sure if the T810 needed it or not. As my prio is same as his on this point, include as little as possible and leave out what's not, this lib was moved out. As I never use the camera in the tab (only to test if it works, when I think about it) but I'm heavenly dependent on the ext_sd, I missed this one. The log triggered an aha moment.

Done, untested, as the upload takes less time then a backup of my tab. (first backup, then test... saved me lots of times :D )
[Galaxy Tab S2 Android Development] poteck:
:good::D It works now, fixed. Good job.
[Galaxy Tab S2 Android Development] bert73:
Thanks for the rom. But i have some issues. Some apps can not access ext sd card (f.i. QuickPic). Games (like BBTAN) are not running smooth.
[Galaxy Tab S2 Android Development] T_I:
Drat, a local patch has disappeared due to a sync of the sources... drat, this'll kill the ext_sd (again :( ) Patching and rebuilding.

Edit: uploading cm-13.0-20160619-permissive-gts210wifi.zip, selinux permissive, camera fixed and external sdcard available. (I hope, not yet tested, backing-up at the moment)
[Galaxy Tab S2 Android Development] T_I:
Ok, running latest build, can confirm ext_sd is mounted and camera works.

Edit: uploading enforcing image, untested.

Sent from my T810 running cm-13.0
[Galaxy Tab S2 Android Development] skawtnyc:
How is it handling video and ads? Crashes gone?
[Galaxy Tab S2 Android Development] iteam:
Excuse my ignorance, but I always hear the terms "permissive" and "enforcing".. I do not really know or understand the difference between them and what would be the best choice for me... I usually just roll with whatever happens to be available and or what is the most popular.. Could you enlighten me briefly when you have a moment? :)

EDIT, found an answer. Sorry for the dumb question... https://www.samsungknox.com/en/faq/...roid-status-enforcing-permissive-and-disabled

---------- Post added at 03:14 PM ---------- Previous post was at 03:13 PM ----------

I would gather from the info posted that it is not an issue anymore...;)
[Galaxy Tab S2 Android Development] T_I:
We're all here to learn. For developers there are 3 states of seandroid (and selinux)

Off: Don't care, just do what I tell you.

Permissive: Hmmm, this should work, but doesn't. Please complain when I figure this out.

Enforcing: Ok, got it, when I set ... it does just what it supposed to, nothing more.

At the moment, in this image, selinux kills off mDNIe (and maybe more, didn't find any or read reports about anything else breaking though) and I haven't got a clue why. I'd expect the seandroid settings needed to get this working to be included with the routines to get it working. Looks like it either isn't or has an error in it. At the moment I'm inclined to just let it be, after a week of almost spending all spare time to get from the first build to this is enough for a while. (day or 2 I guess :D )

Haven't had crashes myself, didn't hear of any problems from other users regarding this.
[Galaxy Tab S2 Android Development] bert73:
No problem with ext sd card anymore. Games still stutter a little. (only tested with BBTAN)
[Galaxy Tab S2 Android Development] iteam:
Thanks!

Thank you for ALL YOUR time it is appreaticed!:good: I get it now:o:good
[Galaxy Tab S2 Android Development] T_I:
Ok, 'quick' build with just the cm an my sources, nothing extra patched except for seandroid set to permissive as enforcing breacks mDNIe. Image uploaded, OP updated.
[Galaxy Tab S2 Android Development] T_I:
I'm now at the hospital where my wife has some exams, wanted to have a fully functional tablet before that. I'm glad I managed that.

Sent from my T810 running cm-13.0
[Galaxy Tab S2 Android Development] DAE1964:
Thanks for all your efforts on this project. Best wishes for you and your wife.
[Galaxy Tab S2 Android Development] T_I:
It's not the end, will have to slow down this week.

Sent from my T810 running cm-13.0
[Galaxy Tab S2 Android Development] ivanox1972:
Rom is great, it got t810 today and install it after 5 min. Had 2,3 last phones, tabs without CM support/ forgot how good is! It is definitely dealbreaker for me... of course we need great developers for it! Thanks
[Galaxy Tab S2 Android Development] Fritzy62:
Hi. Does fingerprint scanner work? I'm very tempted to take the plunge....
[Galaxy Tab S2 Android Development] DAE1964:
As far as I know fingerprint scanner is not working. I'm running the latest build and did not locate any settings for it. The initial setup does not ask to set it up either. The ROM is great otherwise. ?
[Galaxy Tab S2 Android Development] T_I:
We got a lot fixed today, screen rotation issues on lock and with cast were in the virtual display. This is fixed. (cast needs confirmation, as I can't test) and selinux context for mDNIe is created, so that works now in seandroid enforcing. Uploaded a temp version, doing a clean build at the moment for upload later.
[Galaxy Tab S2 Android Development] Fritzy62:
Excellent! Ik hoop dat alles goed ging met vrouwlief.
[Galaxy Tab S2 Android Development] freaky deaky:
I just want to thank you for making my tab awesome again.. :svetius: I'm running your build for couple of hours now and everything seems to be working great.. So thank you very much mate ;)
[Galaxy Tab S2 Android Development] lewmur:
Just d/l and installed the latest. Cast still not fixed. Looks the same as before. But kudos for trying. Keep up the good work.
[Galaxy Tab S2 Android Development] T_I:
Het onderzoek is goed verlopen, amandag de uitslag. (2e controle PET tijdens d'r chemo's)

This is the reason I bought the Tab and started building, loads of potential with the right software.

Drat. To bad I don't have a chromecast dongle. Ah well, the new clean build is online and linked in OP, will remove the dirty one.
[Galaxy Tab S2 Android Development] ivanox1972:
Rom is great, thanks boss

I have 1 issue, I am sure can be fixed. I can not run sdmaid. I installed it normally, got root access, but wnen try to do anything it said no busybox and must be reinstall. What to try
[Galaxy Tab S2 Android Development] T_I:
I'd say install busybox. [emoji6]

Busybox is an extra app, go to app store and install the app. Then in the app, install busybox, reboot devise and use SD Maid. Works fine here, did when I had the free version of busybox, still does with free SD Maid and busybox pro.

Sent from my T810 running cm-13.0
[Galaxy Tab S2 Android Development] Kevin36:
No 710 support?
[Galaxy Tab S2 Android Development] T_I:
[MENTION=6584695]CTXz[/MENTION] is working on it. Hardware is not exactly the same, screen orientation for one, some drivers differ too.

Sent from my T810 running cm-13.0
[Galaxy Tab S2 Android Development] Kevin36:
Thank you for the quick reply
[Galaxy Tab S2 Android Development] CTXz:
I already have a working build on my Android file host under the CM13 dir. Cam not working and mic too. I'll see when I'll make a thread about it.
[Galaxy Tab S2 Android Development] deezid:
Sounds great, but I'll definitely miss the fingerprint sensor.

Does the integrated kernel support conservative governor for fluent scrolling?

Gesendet von meinem SM-T810 mit Tapatalk
[Galaxy Tab S2 Android Development] hurray:
Does the mic works with the current version for the T810?
[Galaxy Tab S2 Android Development] poteck:
Oooops!!! camera is not working again on latest build. Maybe you forgot the library again?
[Galaxy Tab S2 Android Development] Vardenf:
Any idea why it shows, with red letters, "Kernel is not Seandroid enforcing" during boot (while there is Samsung logo)?
[Galaxy Tab S2 Android Development] CuckooPenguin:
Small things .. but hey a CM13 - Thanks TI ;)

Hi all -

I can confirm

- MIC works

- Camera seems to be broken

also

- the symbol (or option) to change the keyboard (i need to switch between hacker's and swift keyboard ;) all the time) is not shown

- /mnt/extSdCard points to non existent /sdcard 1

Thanks to all - making this CM13 build possible.

Is there another way a noob can help ?

Cheers
[Galaxy Tab S2 Android Development] T_I:
Because it's a userdebug build, in which it is possible to turn seandroid to permissive mode for testing. Until it's completely working, that message will be there. (and as the first working build was on the 12th, I don't think I'll have everything working perfectly soon)

Thanks and drat. Did test is with previous build. Uploading a new one, still untested. (backing-up)

Hmmm, legacy paths... looks like there is need to either fix or drop them.

Edit: Updated OP, paths haven't changed so still dangling, with some luck camera works as it should. (stil in back-up)
[Galaxy Tab S2 Android Development] T_I:
Ok, installed latest upload, mDNIe works, camera works (on my tab), gps works, sdcard is available.

Sent from my T810 running cm-13.0
[Galaxy Tab S2 Android Development] DAE1964:
Will give it a test run after work today. Thanks again.
[Galaxy Tab S2 Android Development] Lightn1ng:
I wonder what it would take for me to build CM for the new T713/T813. My guess is not much because Snapdragon is historically easier to work with than Exynos, but with my little experience, I don't know :eek:
[Galaxy Tab S2 Android Development] DAE1964:
Installed today's build + open_gapps-arm-6.0-pico-20160622.zip.. Everything seems to be working great. Installed Arise viper4android mod and the sound is fantastic. Thank you very much. Truly awesome.
[Galaxy Tab S2 Android Development] T_I:
Hmmm, will be a tough one I guess, when you want to take the current gts2 builds as base. Snapdragon is easier, but not a Exynos.
[Galaxy Tab S2 Android Development] poteck:
I can confirm camera is working again. Apparently no issues on my tab, Good job.
[Galaxy Tab S2 Android Development] deezid:
How long does the first boot take? Already waiting like 5 minutes ?

Edit: 10 minutes

Edit 2: something must be wrong.

Wiped Data, System, Cache and Dalvik before installing. Used open gapps arm stock

Edit 3: tried nano open gapps as well. No luck :(
[Galaxy Tab S2 Android Development] CuckooPenguin:
Did you odin-flash the stock 6.0.1 version before once ?

@ti: great - cam works just fine. Btw is there any harm in activating the systeminit in init.cm.rc so we could have then /data/local/userinit.sh to fool around ?
[Galaxy Tab S2 Android Development] deezid:
Was on 6.0.1 DBT stock rooted before.

Installed as an OTA
[Galaxy Tab S2 Android Development] hurray:
So today i tested the first time CM13 on my TabS2... with success! :)

- mic => works

- camera => works

- GPS => works (with a fix within a minute and an accuracy of about 6 meters)

- external sdcard => works (and is usable with MTP over an usb-cable)

The only thing which I can't get to work (and this was the reason to restore my backup) is that I am unable to use this new xposed-module, which gives write access to external sdcards of Marshmellow-roms again =>

http://xdaforums.com/xposed/modules/xposed-marshmallow-sd-fix-write-t3403263

With the Samsung rom the xposed module works pretty good and gives back the write access to e.g. Titanium Backup without the slow Document Handler.
[Galaxy Tab S2 Android Development] T_I:
Hmmm, it isn't active? I'll check how to enable it, when it's in common (which I guess it is) I'll suggest an activation. Could be useful.

Weird, should work. This image is based on the T815 by [MENTION=3463426]RaymanFX[/MENTION] which started iwth a german tab as well. Do any of the older images work?

Just installed the module, rebooted and it's indeed a lot faster with the TB backups. Thanks for the tip. It works here, using xposed 85. (been using it with minminguard for a while)
[Galaxy Tab S2 Android Development] hurray:
Hmm okay, if you are able to get the xposed module to work correctly I must investigate this deeper... Perhaps it has something to do with the way I installed it:

- coming from stock 6.01 rom wiping /data, /system, /cache and dalvik-cache

- install cm13, pico open gapps, and systemless root (2.74.2)

- install Titanium Backup Pro from google

- restore all user apps (this works pretty good in the past)

- install xposed framework 85 in recovery

- all restored modules are recognized again and are working after a second reboot
[Galaxy Tab S2 Android Development] T_I:
After install of the image (I do together with image the opengapps pico and xposed in first install round) the modules need to be disabled and enabled again, then a reboot, then they'll work.

Same with busybox, after an image install, reinstall busybox and reboot. An image install patches /system unconditionally, so all alterations need to be done again. (even if it wasn't nessesary, just do it to be 100% sure you get the result you want)
[Galaxy Tab S2 Android Development] CuckooPenguin:
Ha, and i was wondering where my modifications to init.cm.rc etc. disappeared. So after any zip flash everything will be reverted ?
[Galaxy Tab S2 Android Development] hurray:
Thanks very much for the hint!!

So I missed the point to deactivate and re-activate the xposed modules after the restore.

The point with busybox is okay, after every installation where /system gets wiped I have to install the busybox again (and some other things such as my adblocker etc :D ).

I will make a second try to make this all work if I have a little bit time and give feedback!
[Galaxy Tab S2 Android Development] Lightn1ng:
I requested the kernel+platform source last night, lets hope they follow the GPL this time...:rolleyes:
[Galaxy Tab S2 Android Development] hawkjm73:
First off, thank you for your awesome work on this ROM. It's so nice to get away from buggy stock.

After trying everything I can think of, I've been unable to get Netflix to work on any of the available builds. I've gotten rid of the liboemcrypto file which many Google entries pointed to. I even tried merging in all the lib files from a MM nexus phone where Netflix works. Cleared app data, uninstalled and reinstalled, tried older app versions. Even tried the old closed workaround module.

Netflix will launch and log in fine, and shows the program list. When I click on a show, it sits on loading, spinning it's red circle indefinitely. It does not give an error, nor does it lock up. I've waited as long as ten minutes, and it still sits, but is happy to return to the show list when I press the back button. Other devices on the same network are playing shows without issue.

Does anyone have a similar issue, or any ideas how to fix it?