yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] engine95:
Maybe I'm not understanding, but I just watched a video from an ext HD. I also transferred the video to the Tab.

NTFS isn't enabled in the kernel and neither is OTG. And yet both work already. I just enabled them in the kernel. I think it's something in the ROM's. Maybe Knox and/or encryption?

I'll still mess with the kernel and see what I can find for NTFS so that it works both ways

From this post here. https://xdaforums.com/showpost.php?p=70133277&postcount=86

3. I will need an "UNROOTED boot.img. You'll need to pull this from the .tar. Just remove the .md5 at the end and it will extract. Then upload it for me.

If not, I guess we can try your rooted kernel. But I'm sure you'll still need to flash SU 2.79. Which may or may not work.
[Galaxy Tab S2 Android Development] xdalemons:
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t817w give you
[Galaxy Tab S2 Android Development] engine95:
That is source which I already have and builds the zImage. And that's built now. But I don't have the ramdisk.

It takes a zimage and a ramdisk to make the kernel/ boot.img.

This needs to come from either your tablet or the Odin .tar. Preferably the Odin .tar which I've been wanting all along.

Edit. But you should already have the Odin .tar as I'm not waiting 4-5 hours to download something I personally don't need.
[Galaxy Tab S2 Android Development] engine95:
[MENTION=7788423]Jackz314[/MENTION] Are you sure you want T815CCHC2APF2? Source has NEVER been posted for that Tablet. I just went through Samsung source to see if I could find something else that would work. No luck. So if this is the one you want, then I guess we'll still wait.
[Galaxy Tab S2 Android Development] Jackz314:
[MENTION=1280108]engine95[/MENTION] I guess the reason you didn't find it is because it's a Chinese ROM version, if you want, I can send you the ROM file of my device, but actually all the T815 Android 5.0.2 files should work just the same way, so maybe you can see if there are other sources for t815 5.0.2, thanks very much!
[Galaxy Tab S2 Android Development] engine95:
Too funny. Just got the email they posted it today. I should have it done shortly.
[Galaxy Tab S2 Android Development] engine95:
815c is up in OP!!! Regular and Permissive

This one built very differently, so let me know if they work. The permissive may not be permissive.

For all:

I'm working on removing Knox, Dm-verity, and forced encrypion. Forced encryption is being a pain. I've spent a lot of time trying to make it work. NTFS isn't working because of the encryption, I've found.
[Galaxy Tab S2 Android Development] xdalemons:
give you UNBOOT.IMG from gmail.
[Galaxy Tab S2 Android Development] NeWONEx:
Thanks for your time. Is there any possibility to build kernels for T815 and T815Y ?

Here samsung released T815Y source :

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=T815Y
[Galaxy Tab S2 Android Development] engine95:
Sure. I'll need to have an unrooted boot.img. for both. Also, I need the build numbers.

What I need is 1 page back. There's a link in that post.
[Galaxy Tab S2 Android Development] NeWONEx:
I'll download both firmware and send you every boot.img with its build number .

Is that right ?
[Galaxy Tab S2 Android Development] engine95:
Source I can get or request

I don't need, nor have time to dl the firmware.

All I need is the build number, and the kennel/ boot.img pulled from the Odin .tar/firmware
[Galaxy Tab S2 Android Development] NeWONEx:
[MENTION=1280108]engine95[/MENTION] here is the build number (Picture)

with boot.img untouched for T815 .

http://cloud.tapatalk.com/s/5870f94622dda/untouched boot image (T815) .zip

And for T815Y I'll send it when i get the build number .

Thanks for your time
[Galaxy Tab S2 Android Development] jaidev.s:
i have T815YDVU2BPK3_T815YODD2BPJ1_INS , latest Indian firmware, will upload boot.img really soon

edit [MENTION=1280108]engine95[/MENTION] have send u a dm, please check
[Galaxy Tab S2 Android Development] engine95:
817w Regular and Permissive are up in OP. [MENTION=7934229]xdalemons[/MENTION]

[MENTION=6055205]NeWONEx[/MENTION] I'll need to request source for the 815 2BPK4. It'll take a week to a month

[MENTION=4357855]jaidev.s[/MENTION] Why do you need 2 different firmwares if both are from India? It should just be the most current for you. Or the one you are running. I haven't checked your PM yet.
[Galaxy Tab S2 Android Development] jaidev.s:
[MENTION=1280108]engine95[/MENTION]

Oops,

PDA T815YDVU2BPK3

CSC T815YODD2BPJ1

I copy pasted the whole file name, sorry for the confusion..
[Galaxy Tab S2 Android Development] engine95:
Yeah, they were the same kernel. I just looked at the ramdisk's. So 2BPK3 it is. I need to request it, so same thing to you. It'll take 1-4 weeks for Samsung to release it.

Edit: [MENTION=6055205]NeWONEx[/MENTION] is your Tablet just 815 or 815MEA the build numbers are the same but source seems to differ
[Galaxy Tab S2 Android Development] NeWONEx:
It is T815
[Galaxy Tab S2 Android Development] engine95:
Sorry, I'm having a hard time bouncing back and forth between here, PM's and Samsung source. :silly:

[MENTION=6055205]NeWONEx[/MENTION] It still doesn't show me which one. So did you use USA software or Mediterranean? That's the difference in source.

Edit: I ask because of the difference between WiFi and LTE connections, between the 2.
[Galaxy Tab S2 Android Development] NeWONEx:
Ooh I got you.

You asking if my device is MEA or Normal . It doesn't matter I flashed (T815XXU2BPJ5) which is T815-MEA (as in OSRC) and now I have (T815XXU2BPK4) and it is BTU firmware. I guess it's only software difference not hardware as T815c or T815Y .

As you can see model number is T815 even when i flash T815XXU2BPJ5 it will be T815.
[Galaxy Tab S2 Android Development] NeWONEx:
[MENTION=1280108]engine95[/MENTION]

Is it lollipop ? [emoji19] we need kernel for mm
[Galaxy Tab S2 Android Development] engine95:
Yup. It's M. Just got email from Samsung and they are working on source

[MENTION=4357855]jaidev.s[/MENTION] I requested wrong source for you. Do you have SM-T815Y_SEA or SM-T815Y_SWA?
[Galaxy Tab S2 Android Development] vinay9898:
[MENTION=1280108]engine95[/MENTION] [MENTION=6055205]NeWONEx[/MENTION]

Hi, any chance for

MMB29K.T815YDVU2BPG6 (build number)

permissive.

I would be really greatful if you can help.

Thanks :)
[Galaxy Tab S2 Android Development] engine95:
Which version though? SEA, SWA, or LA? The way to know is, which Odin firmware do/or will, you use for it.
[Galaxy Tab S2 Android Development] vinay9898:
Hi, I have flashed this : 6.0.1 - T815YDVU2BPG6_T815YODD2BPE4_INS.zip
[Galaxy Tab S2 Android Development] engine95:
You flashed that. But what ODIN file would you use? That's the same issue I'm having with the one above your original post.

If I don't request the right source, they won't release it , regardless.

I'll also need your UNROOTED boot.img/kernel pulled from said ODIN .tar

I'm getting really tired of having to post the same answers over and over. This is directed to everyone, not just you.

I need:

1. The UNROOTED boot.img pulled from the ODIN .tar. Just remove the .md5 and it will extract. Then upload it for me.

2 What Tablet version: 815,817,715 etc

3. What Odin .tar are you using? 710, 815y_SEA, 817w_CNN etc. Samsung will not release anything that isn't specifically requested. And the source does differ. Also, see edit below

I will not be asking for this info anymore if you just post asking me to build a kernel. You MUST provide the above things in your post. Or they will be ignored. Sorry, but I just don't have the time to keep posting here.

Edit To go with number 3 above. I need to know your REGION AND/OR COUNTRY, to get the right source. To find the CSC, I'd need to go through every firmware.
[Galaxy Tab S2 Android Development] ComputerNmyPocket:
Thanks for keeping on developing engine. And thanks for CIFS support most of all! A couple months ago I was using Linux Deploy to run Ubuntu on my 810, banged my head against a wall trying to mount my network drives, as most programs I use require them to be mounted as a local folder, then finally realized it was the Tab's kernel, no CIFS support. Gonna try it tonight. Other problem is the SUDO command doesn't seem to work in linux, but maybe this is not kernel related.
[Galaxy Tab S2 Android Development] vinay9898:
hi [MENTION=1280108]engine95[/MENTION],

Sorry for incomplete info, but still i didn't understand "what ODIN file would you use?" means .

What i did was, used Odin 3.09 Software to flash the rom, Added file "T815YDVU2BPG6_T815YODD2BPE4_T815YDVU2BPG5_HOME.tar.md5" to AP in Odin Software.

Things you require

1. http://www.mediafire.com/file/xxlzgs8ykx9z37x/boot.img (pulled from the tar.md5 above)

2. Tablet Version : 815Y

3. Region - INS , Country - INDIA - https://samsung-firmware.org/download/Galaxy Tab S2/4f8x/INS/T815YDVU2BPG6/T815YODD2BPE4/

Where do i find what Odin . tar (_SEA, _CNN etc)?

Please guide.

Thanks
[Galaxy Tab S2 Android Development] engine95:
It's all good. I know what I need now. Your country is the thing. Now I have to figure out what region. SEA, CNN, LA

Edit: Thing is, I can't find the "odd" CSC. Yet
[Galaxy Tab S2 Android Development] vinay9898:
Hi,

What if i flash this Stock rom - https://www.sammobile.com/firmwares/download/72173/T815YDVU2BPE4_T815YODD2BPE4_INS/

I think its source is available on OSRC - http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t815y
[Galaxy Tab S2 Android Development] engine95:
The Latin one is actually newer, but may not work right for you. But if the number you asked to be built is newer _SWA then I just have to request it.

For me, it's nearly impossible to tell if the kernel is new or changed between builds. So that kernel may well be the same as a new build number.

So I just need to know what kernel you want built, and I'll need the boot.img from that ROM. If you're staying with what you've requested, then we just have to wait for Samsung. That's the one I've rerequested.
[Galaxy Tab S2 Android Development] vinay9898:
Ok thanks.. will wait
[Galaxy Tab S2 Android Development] vinay9898:
[MENTION=1280108]engine95[/MENTION]

Hi,

Any updates on kernel?

Thanks
[Galaxy Tab S2 Android Development] NeWONEx:
It takes really long he still waiting samsung to release codes source. And it depends on how long time they need but most of the time 2 weeks (at minimum)
[Galaxy Tab S2 Android Development] vinay9898:
Yes true, I hope they release it soon :)
[Galaxy Tab S2 Android Development] IngoPan:
Hi,

I am on CPK1 Stock and would like to root my T810. Can i use the permissive PG1 Kernel from post #1

to root my device ?

Thanks in advance.
[Galaxy Tab S2 Android Development] vinay9898:
Hi [MENTION=1280108]engine95[/MENTION]

Can you please build Permissive Kernel for an older version of SM-T815Y MM. Cant wait for Samsung to release the latest source :)

Stock Rom - T815YDVU2BPE4_T815YODD2BPE4_INS - MM

Checklist you require:

1. boot.img pulled from the ODIN .tar - http://www.mediafire.com/file/ewq11978o8l1sj5/boot_(T815YDVU2BPE4_T815YODD2BPE4).img

2. Tablet version: 815Y INDIA INS

3. Source - Released on OSRC - (SM-T815Y_SWA_MM_Opensource.zip) - http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t815y

Thanks :)
[Galaxy Tab S2 Android Development] engine95:
815y - 2BPE4 regular and permissive are up in OP!!

Source is out for 815-2BPK4 as of today. But it's not building right for me and git. Spent 2hrs this morning trying to make it work, but something has either changed or is uploaded wrong. Give me some time, as I can build it, but I can't post it until it's on git. So it's not my fault. ;)

Edit. Source for 815y-2BPG6 has just posted also. But it's gonna have to wait till I get the 815 done.
[Galaxy Tab S2 Android Development] NeWONEx:
It's okay take your time [emoji4] [emoji106]

Thanks for your response, appreciate it.
[Galaxy Tab S2 Android Development] vinay9898:
You are awesome! Flashing it right now :)

Edit: Shows Permissive, But sadly the App (Scr Pro) for which i needed a permissive kernel still does not work :(
[Galaxy Tab S2 Android Development] engine95:
815 2BPK4 is up in OP. Let me know if it works. It built just fine. But the git is ugly.

Are you sure it doesn't need "system root"? Search XDA and you'll find "system root" easily.

I can make some more changes in the ramdisk easy enough. I'll post the kernel here shortly.

Edit: [MENTION=4632590]vinay9898[/MENTION] give this one a shot. https://www.androidfilehost.com/?fid=457095661767130404
[Galaxy Tab S2 Android Development] vinay9898:
Thanks but even this does not work.. i think there's something to do with the samsung system apps that is not allowing the scr pro to function.

I had flashed Resurrection Remix rom and the app works on that. But for some games the sound is weird cracking.

I guess i need to search for another screen recorder.
[Galaxy Tab S2 Android Development] NeWONEx:
Will flash it today [emoji106]

---------- Post added at 04:40 AM ---------- Previous post was at 04:38 AM ----------

Did you try system mode supersu ?
[Galaxy Tab S2 Android Development] vinay9898:
Yes i tried that too
[Galaxy Tab S2 Android Development] engine95:
Have you de-crypted /data?

Meaning, in TWRP, format data where you have to type "yes". It WILL wipe your internal SD, so make a backup first of your int SD.
[Galaxy Tab S2 Android Development] vinay9898:
Yes, i did rhat before flashing kernel. Do i need to do that after flashing kernel?
[Galaxy Tab S2 Android Development] engine95:
Odin is the only thing that will encrypt it again. Flashing Rom's and Kernels won't encrypt it.

So no, it should still be de-crypted flashing the kernels.
[Galaxy Tab S2 Android Development] vinay9898:
Will try flashing again by following this flow.

1. Stock rom via odin

2. TWRP via odin

3. Erase internal (format) via TWRP

4. Flash kernel

5. Flash super su

6. Clear delvik/cache

7. Reboot to system

Please correct me if i missed something.

Thanks :)
[Galaxy Tab S2 Android Development] NeWONEx:
[MENTION=1280108]engine95[/MENTION]

It is running very well [emoji106]
[Galaxy Tab S2 Android Development] Jason0208:
Hi engine95,

I flashed your permissive Kernel for my T815. At the first glance everything works.

The reason for me to flash was the option to mount SMB shares (cifs)

This worked Perfectly!! But today I fired up KODI and I have horribly video stutter 😟

After flashing the standard kernel video stutter is gone.

Do you have an idea to solve this issue?

Thanks

JASON0815
[Galaxy Tab S2 Android Development] engine95:
Like I mentioned when I posted the 815 kernel, both built just fine. But to look at the Git, it's very... messy, compared to all the other kernels. As soon as I made it permissive, a bunch of files changed as far as Git. But from what I saw, nothing that matters as far as the build.

Because both kernels built with no warnings or errors, they should be fine.

The ramdisks, I think are the same also. Although I may have removed KNOX on the permissive. But again, that shouldn't matter.

I use KODI, but I have the 710. And it works fine. I don't use SMB/CIFS so I can't test.

I'm not sure what to say or do. Both kernels are Identical, other than being permissive. I've left all stock values.

Maybe try enabling/disabling KSM. Disabled by default. I've tweaked some values there that may help if enabled.

I don't think encryption would be an issue, but that may be something to think about if your using permissive.

In case you don't know, in TWRP, you have to "Format Data" where you have to type "yes". It will wipe your internal sd, and you'll be starting all over again. Like a clean install. Backup your files first!!!!!!

I'll take another look at the 815 kernel again, and maybe try rebuilding them a little differently. I'll also go through the git and see if a needed file got modified.

Edit: You could also try tweaking read ahead (io scheduler) to 512 or 1024. I think stock is 128, which to me is low, for a tablet.

My other settings I use are:

read ahead - 512 for both sd's

KSM enabled, 256 pages and 1100 sleep - some of the earlier kernels didn't get these numbers

Swappiness to 15

Add random - off (io sheduler)
[Galaxy Tab S2 Android Development] Jason0208:
Thank you for your suggestions. I tried all... Stutter is still there. Tried although the normal kernel. The same. Back to the kernel i had before and the Video is smooth.

So i wait patiently until you have time to try some things in building the kernel from the source. Thank you in advance. May the force be with you :cool:
[Galaxy Tab S2 Android Development] engine95:
Now I'm confused. What kernel before? I thought you said my regular kernel was fine. But the permissive one was giving you issues.

If it's just the permissive one giving you issues, then I'll build a permissive kernel, bone stock. No tweaks or addons. That's pretty easy.

Let me know if it's both of my kernels.

Also, make sure your ROM and kernel are from the same build. Build number is In the OP.

So far, you're the only one saying they have any issue with these kernels. And it's hard to trouble shoot issues when I'm building blind and don't have the same tablet.

Edit: [MENTION=8011037]Jason0208[/MENTION] This one is on my GDrive. https://drive.google.com/file/d/0B0okm-Hfdt8YQnJEMnNpeXVrcjg/view?usp=sharing It's a plain permissive kernel. Toolchain 4.8, CIFS, fix to build it right (unlike what Samsung releases). So yes, I took a couple liberties, but it's not what i would normally release.

Let me know if this one works for you. If it won't, then the problem is not the kernel. Other than CIFS or Permissive.
[Galaxy Tab S2 Android Development] Jason0208:
Hi engine95,

THANK YOU! This one works :D Smooth Video and SMB mount.

Greets Jason0208
[Galaxy Tab S2 Android Development] engine95:
V2 of the 815. Just added a few more things. I need it checked for video if that was the only issue.

I'm gun-shy now, so I'm building it in stages. Although I'm pretty sure Samsung released a dirty source and I THINK I have it fixed.

https://drive.google.com/file/d/0B0okm-Hfdt8YSFo5QzdjVUFlcUk/view?usp=sharing Again, its on my GDrive for now.
[Galaxy Tab S2 Android Development] Jason0208:
V2 is working too. What have you changed?
[Galaxy Tab S2 Android Development] Jackz314:
sorry for the delayed reply, I forgot to check messages recently, but Anyways, the T815c kernel worked perfectly, thanks very much!
[Galaxy Tab S2 Android Development] engine95:
This one has everything in OP, except toolchain and 1 tweak. GDrive https://drive.google.com/file/d/0B0okm-Hfdt8YVmZXcElrTXNaQzg/view?usp=sharing

Yes it's test 4, but it should work. If not, I have test 3 with me. If 4 works, then just one more test and it will be finally done. Let me know.
[Galaxy Tab S2 Android Development] Jason0208:
Test 4 works too!
[Galaxy Tab S2 Android Development] engine95:
The new, rebuilt 815 Regular and Permissive Kernels are in the OP. If you have the older ones, download these new ones.

It turned out to be Samsung source that was messed up. I had to clean it up. Now all seems fine.

The old git is deleted. So if you need it, the new one is up as V2

Next up is 815y-2BPK3
[Galaxy Tab S2 Android Development] Jason0208:
THX!
[Galaxy Tab S2 Android Development] engine95:
815y - 2BPK3 is done and in OP Regular and Permissive :D
[Galaxy Tab S2 Android Development] jaidev.s:
thank you very much :)
[Galaxy Tab S2 Android Development] wirelesskebab:
Hi there,

Can you explain what you meant by "Samsung Rooting Restrictions Removed", is this what assists windvine in breaking Netflix for me? I use Magisk systemless etc, just wondering if maybe this will fix that issue, I'm not referring to google safetynet.

Thanks
[Galaxy Tab S2 Android Development] engine95:
I can't really explain it. But it's needed to make the kernel permissive.

Hash checks, dm_ veridy, and other things also get modified with root. So it's many security features that can cause problems.

If I remember seeing right, it's a build.prop edit to fix hi res Netflix. If that's what you're referring to. Somewhere in this forum
[Galaxy Tab S2 Android Development] wirelesskebab:
I'm trying to figure out if the permissive or regular kernel mod will make magisk hide work, "Stock Samsung Kernel hides namespace of processes. Magisk Hide cannot work properly" on https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Then "- SM-T700/T705/T800/T805: Working with CUSTOM kernel, not working with STOCK kernel" It doesn't list T-710 at all in https://xdaforums.com/apps/magisk/magisk-discussion-thread-t3467229. I never had any problem with Magisk + magisk phhs superuser + systemless xposed but I do get cts profile mismatch.... I installed your permissive kernel then I installed magisk onto it and the seandroid not enforcing message went away... pretty sure it just overrode the settings. Not sure, nobody has replied to me. :eek:

Just installing TWRP makes netflix fail all together, thanks to sammy, breaks windvine garbage.
[Galaxy Tab S2 Android Development] Jackz314:
[MENTION=1280108]engine95[/MENTION]

Thanks for the previous version of permissive boot.img for T815c(5.0.2), but a couple of weeks ago, the official finally updated T815C to Android 6.0.1, so it'll be great if you update the permissive boot.img for us

Here's the new boot.img , thanks a lot for your help! :)
[Galaxy Tab S2 Android Development] idontcare427:
Kernel Request

Checklist you require:

1. boot.img pulled from the ODIN .tar - drive.google.com/file/d/0B76qJadGtaIFbkg4enBKR2tqdk0/view?usp=sharing

2. Tablet version: 815Y Vietnam XXV

3. PDA: T815YDVU2BPG5 CSC: T815YOLB2BPG3

Link: samsung-updates.com/details/73801//SM-T815Y/XXV/T815YDVU2BPG5.html

Stock rom: T815YDVU2BPG5_T815YOLB2BPG3_T815YDVU2BPE5_HOME.tar.md5.

Thank you
[Galaxy Tab S2 Android Development] engine95:
I really thought all of us were updated to M. Sorry, My bad. I'll get source requested. It'll take a couple weeks to get it and build it.

In the meantime, if you need a permissive kernel now, that tuner linked in the OP will do that for you. It does it through the ramdisk.

Edit [MENTION=7788791]idontcare427[/MENTION] Sorry, I just saw your post. I'll get source requested for this also.

Edit #2 [MENTION=7788791]idontcare427[/MENTION] Actually, you should be able to use 2BPK3 that is posted in the OP. Make a backup first, flash it and let me know if it works for you. It should.
[Galaxy Tab S2 Android Development] idontcare427:
Thanks, I'll give it a try.
[Galaxy Tab S2 Android Development] idontcare427:
[MENTION=1280108]engine95[/MENTION]

There is no bug till now. Maybe you can add a small description in your OP so the other members won't have to ask again. TY
[Galaxy Tab S2 Android Development] engine95:
I'm confused. What bug, and add what to the OP?
[Galaxy Tab S2 Android Development] idontcare427:
Oh sorry :D my bad english. I mean no bugs at all. Thank you.
[Galaxy Tab S2 Android Development] engine95:
815c - 3BPL3 Regular and Permissive in OP!!! Let me know if the Permissive one is permissive. Samsung made some changes to source for rooting. (As far as kernel building goes, that is)
[Galaxy Tab S2 Android Development] engine95:
710 2CPK1 Regular and Permissive in the OP!!!

Enjoy :)
[Galaxy Tab S2 Android Development] Dariusdd:
The new kernel version feels about the same as the one on the older firmware. I guess having the new security patch is nifty enough.
[Galaxy Tab S2 Android Development] suhridkhan:
Thanks for keeping it updated.

Just like to add that, it also works with the Nook version of the tablet.
[Galaxy Tab S2 Android Development] dcdead:
I tried the kernel on my T815 with latest firmware. Didn't change any settings, but with the kernel I'm cencountering an issue with the twitch TV app. When I open streams on highest quality (source), the video runs for about 1 second and then stops, the sound continues. The app itself is still responsive. With the original and your old permissive kernel this problems doesnt appear
[Galaxy Tab S2 Android Development] crowe840:
Just wondering will these help me pass safety net? as that seems difficult on stock samsung kernels.