yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] DestroyerEU:
Can you tell me good kernel for Tab Pro 10.1 to flash over CyanogenMod 12.1?! Thanks.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] ntdouglas:
Have you searched the forums?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] DestroyerEU:
I can't find anything. :(
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Xenomorph:
New Kernel Update in the Next Time?

Gesendet von meinem SM-T320 mit Tapatalk
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Yup. Working on it. Made too many changes and now its unstable. No point releasing unstable stuff. Hopefully by weekend something.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Xenomorph:
Nice to see you work on this. I can wait on a stable Version. Thanks for answer.

Gesendet von meinem SM-T320 mit Tapatalk
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Google play services crash

To folks who are getting google play services has stopped issue - Please make sure you don't restrict "Awake" and "Keep Awake" permissions in Privacy guard for Google Play Services. I guess one of these is required (not sure which one).

Edit : Ignore it. It worked on one of my other device. Not on the tab.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Sachiru:
Thanks for this!

Can the 2.5 ROM be dirty flashed over 2.4?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Yes.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Sachiru:
How do we enable transparent compression?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
I have already enabled kernel support. But I think it still needs to be enabled somewhere ROM build flags. I will try enabling it after some testing in next build.

Edit: Try this test build with transparent compression enabled. [This one though can't be dirty flashed over regular builds]
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Sachiru:
Thanks for the quick build. I'll do so after my backup.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] JaylanPHNX:
I finally got around to trying this on SlimLP using the anykernel version. So far so good. Now to tweak some settings and see what kind of performance/battery improvements I can squeeze out. Thanks.

From my SlimTab Pro 8.4
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] thecdn:
Let us know your results. I want to try the same thing but know little of the various kernel settings.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] JaylanPHNX:
So far it seems to be getting better battery life, but I haven't done a full cycle. I'm still messing with TCP congestion settings, cause Westwood had Chrome locking up the whole device.

Edit: I'm still getting freezes and system force closes. I'm still trying different settings (governor, hotplug, I/O, etc).

Edit 2: After 4-5 fatal lockups in one afternoon, I had to restore my backup of stock SlimLP. I'll try the next iteration and if it's still happening, I'll try to get a logcat.

From my SlimTab Pro 8.4
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Yup, it has become a bit unstable. I will probably need to rebase and or remove some of the stuff. But, currently I don't have any plans to do that.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] otyg:
Thanks, Kx kernel is awesome , I tried CM12.1 before and was pretty disappointed in it, broken 3d , buttons light up when touching screen...etc

but I decided out of the blue to try this firmware, gapps, and the kx kernel, and almost everything is working great,

though if I did have to complain,

I did find a few bugs when trying to open AudioFX it crashes, the other day I had installed a firmware I think it was UnofficialTemasek v18 and the GUI had small windowed install boxes (like stock rom) instead of full screen, can you add this into your rom, the DPI seem to be the same so not sure how they did it.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] otyg:
New bug I think,

Under Synapse I limit the CPU to 2265Mhz on all cores (stock speed), "MSM Limiter" is also enabled, initial everything works fine, but when I run a benchmark app like AnTuTu, I noticed that after a few minutes the max speed breaks from 2265Mhz and changes to 2726~ Mhz in Synapse and even in the 'system cpu overlay'.

Maybe this bug has something to do with the Thermal Driver?, I think it happens after the SOC heats up to 75C~80+ish), so far I have only seen this happen in AnTuTu, geekbench works fine

The bug is present in Kernels 2.2, 2.4, 2.5, (with the exception kernel v2.2 it gets set to 2.3 then slowly goes to 1.9Ghz, leaving max set to 1.9 in synapse)

So I think the device hits max thermal temp then throttles speed according to Thermal Driver settings and when it's cooled back down the thermal driver sets max freq (2.7Ghz) (overriding the mhz specified in Synapse / MSM Limiter)

I guess the only solution for now it to stop running benchmarks as it probably won't get that hot under normal usage.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Thanks for reporting. Sorry but I am not planning to support this kernel/ROM anymore. I might do a stablish build some time or may be start fresh with marshmallow. But no promises. Thanks.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] otyg:
Yeah a stable build would be nice though the recent kernels are pretty stable, only had a few crashes that are mostly my fault, only real issue is the overclock breaking loose,

btw could you build a kernel with just the stock speed, and with the default gov set to interactive, everything else is perfect.

This is the best kernel I found for the SM-T320, for some reason the official CM12.1 kernel (or kernels built off it) has messed up opengl drivers and half the games have bugs or black screens, so I hope you continue to make new builds..

Though a marshmallow kernel / rom would be even better so I see your point :)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] jbarcus81:
Anyone ever figure out the issue as to why Google Play Services keeps 'stopping'? I've been on stock CM12 nightlies and wanted to come back as I love this rom and setup but the issue with the play services..
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] BraianV:
Any chance you could adapt your kernel to cm13?

You boost and improve screen colors so much by letting us use your kernel on cm12.1
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] dustywax:
What do you use to open up an .img file?? I have looked all over for an answer. it seem all downloads have them in it. please help!!!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] DowntownRDB:
[MENTION=8144272]dustywax[/MENTION] Check out this article here. It works for me. Has easy to follow instructions with images. You can also check here for another article. Hope this helps.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] dustywax:
Can someone make a flash able Odin for this please? I am a noob and always have trouble with zip files.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] chenhanxuan:
I really want to experience your kernel and rom, but

访问遭拒

Access denied
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
I also got screen of death after flashing just the kernel on standard CM nightly.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] seilogeo:
I flashed the kernel on latest euphoria and I could not boot.

I reflashed euphoria to boot.

Is there any incompatibility with euphoria because it is a mix of aosp and cm or I am doing something wrong.

I cleaned cache and dalvik only.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Ok. Which nightly are you using ? And were you able to go to recovery after black screen ?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] xpdragon:
I just flashed the kernel with latest CM nightly build. No problem so far.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Good news! KCal was a success. Expecting to release soon after I figure out kernel issues with CM12.1 nightly. Meanwhile, please use ROM zips.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
I believe it was the 5/23 nightly. I was able to get to recovery after holding power/volume for like 30 seconds
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
OK! I just tested with 5/27 Nightly and faced no issues. Anyways, unless someone reports the issue on latest nightly I am ignorning this for the moment. By the way why are you guys still flashing standard nightlies. ;)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] norcalsfinest:
Flashed V1-KxKernel-SMT320.zip at 7.4mb. Flashed it over Official 5/26 CM12.1 Nightly
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
Just what I had installed at the time. Do you plan to update pretty frequently?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Yes I plan to. As and when I add new features and in worst case a week.

But even if I don't, that's the exact reason I am not using a third-party ROM base. Because you can always "dirty flash" CM12.1 nightlies and ROMs here over each other. As long as you are forward flashing. So you don't have to start afresh if I stop releasing

BTW what are you doing on Tab pro, you seem to have a Nexus 9. :)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Just did this:

- Wiped and clean installed official 5/26 nightly.

- Boot once. Let the dalvik compile

- Back into recovery. Flashed V1 kernel

- Booted fine.

Same with 5/27

Looks like something off your side. Daring to try once more with a clean install ? Or you can wait for an hour or two. A new build with Kcal is cooking.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
Strange. Tried flashing the entire rom zip, off a clean wipe. It went through optimizing apps and then immediately into a SOD. Tried twice, same result both times.

Edit: CM nightlies, Resurrection Remix, Euphoria and Slim all seem to boot fine.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] michal1148:
hello,

I try this ROM KX kernel. But unfortunately, I have a major mistake. I have a big problem connecting to wifi. I was about 1m from the router and tablet wifi sees must leave and come back to wifi appeared. This u stock kernel or TW kernel does.

Do not know what to do, please? ROM is otherwise great but it bothers me that I have to run around the house to find wifi. After the wifi connects else had at that point still works.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Hmm! Did it get too hot ? What happened when you forcefully rebooted ?

I am going to put up a new build soon. I wanted you to take full zip because certain kernel parameters tuning are delegated to ROM based scripts.

Edit: It may also be that your device can't tolerate the overclock. Can you let us know PVS Speed and BIN from Synapse first screen (You need the customized UKM). Thinking about this further I think, I may have to limit max CPU to stock frequencies 2265 by default and leave it to user if they wish to overclock.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
Didn't notice any heat. Synapse didn't list it, so used terminal.

root@mondrianwifi:/ # dmesg | grep PVS

<6>[ 0.598354] clock-krait-8974 f9016000.qcom,clock-krait: PVS config version: 1

<6>[ 0.598396] clock-krait-8974 f9016000.qcom,clock-krait: PVS bin: 1

<6>[ 0.598408] clock-krait-8974 f9016000.qcom,clock-krait: PVS version: 0

root@mondrianwifi:/ #
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
If you are on this kernel and used the custom UKM - https://goo.gl/BEnlXL, you can see these at first page:

I was able to reproduce the black screen on boot problem. Not sure how. It happened once. But a simple reboot and it was fine. I will continue looking into it.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
New builds are up.

-== 28/5/15 ==-

Kernel V1.1

Kernel: KCAL - To see KCAL settings in Synapse you have to re-install the UKM (same old one)

Kernel: Alucard / AutoSMP hotplugs tuning

Kernel: CPUBoost - Enable wakeup boost by default

Kernel: Swappiness from 60 to 10 by default

ROM V1.2 (No need to flash kernel if you flash this)

ROM: Sync with CM12.1 28/05 Nightly

ROM: Inbuilt adblocking (/etc/hosts replaced with a super blocking version)

ROM: Default governor / hotplug - Alucard / Alucard

Next versions planned:

- Frequency tuning to 2265 by default

- Elementalx governor

- ?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
I'm not on your kernel as it goes to SOD immediately upon boot.

Same result on kernel 1.1
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
So to summarize: Just to be clear when you say CM nightlies are fine you are saying without the custom kernet they are fine ? And when it goes to SOD does it have anything to do with "optimizing app" ? Or does it go to SOD also on already optimzed roms like CM / Remix ?

Can you help with following:

Once it is on SOD and if adb is working can you get the current live kernel logs:

$ adb shell

$ dmesg

And on next boot (restorng rom), see if you can get /proc/last_kmsg. I think if you restore rom this would be gone.

Also can you try the attached kernel. It has the overclock removed.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
On both CM, Remix, flashing just the kernel results in a SOD. Also a clean install of this rom Results in a SOD as well, so I would imagine it's a kernel thing. I don't have a computer to do adb, but will flash this testkernel, and if i get a SOD, i'll go to TWRP, flash the Remix boot.img and try and get the last_kmsg.

EDIT: TestKernel booted and seems to be working fine on Remix!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] ngoralph:
wow! great job man! big thumbs up!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Bruno_Tec:
How did you get it boot right by flashing this kernel ?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] 530farm:
[MENTION=3282465]vikrant82[/MENTION]

I tried flashing your 1.2 rom w/out the test kernel. Same SOD issue. Went back into TWRP and flashed the testkernel on the 1.2 rom and booted fine.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] b3ltazar:
i havent had any issues with v 1 kernel booting or sod. only problem witch i think is cm 12.1 related when i connect to my sony car stereo via bluetooth tablet freezes!!!! i tried vanir Resurrection and cdroid.......

pvs and bin is only 2
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Thanks buddy. This means your device can't handle the overclock. So in the next version I will default the kernel to stock maximum 2265 for your bin. The overclock frequencies would be there but you would have to manually overclock from synapse.

I incorrectly assumed that most tab pro can handle a small bump in frequency. Or it may be that your device needs more voltage for higher frequencies as your PVS bin is lower. But we can figure that out if you are willing to test along various frequencies and voltage combinations.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Swizzy88:
Absolutely amazing. Finally I have full control of the CPU which I've been missing. Thank you very much!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] ngoralph:
[MENTION=3282465]vikrant82[/MENTION]

i think i've found a small bug

take a picture with flash turned on, the picture produces colored bars

other than that everything seems to work good :D
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] aga2:
Just tested v1.1 kernel on latest CM12.1 nightly, booted fine but after a while screen freezed and then SOD, tablet was like totally dead for 10 minutes (thankfully now working, back to stock cm12.1 :D)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Can you try TestKernel.zip shared a few posts earlier (Also linked in main Downloads section) ? It's the overclock which is unstable on lower binned CPUs.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] aga2:
Thanks, will try & report back :good:

Don't care about O/C anyway due to tablet's poor battery...
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
I could not complete a cycle (since last week) too much modding / flashing. I am not sure it's the Lollipop or the Kernel I think after 2.5 hrs SOT I was at 60% which was much better than Kitkat. I did have most apps on Privacy Guard blocked for "Wake and Keep Awake" but that doesn't affect SOT. I am fairly optimistic that with all the tools available now in Kernel we'll be able to figure out a good combination for battery/performance.

By the way OOTB the kernel uses Alucard/Alucard which is more of a performance centric combination.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] aga2:
Very good to have such a full feature kernel for T320:good:

TestKernel works OK, so you may have to make optional any O/C in feature release.

By the way, Kernel Audiutor works fine to change some kernel parameters
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] old_pocket:
Testkernel boots fine now on cm-12.1-20150523-NIGHTLY. Thanks!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Kernel v1.2 Released

-== 29/5/15 ==-

Kernel v1.2

Kernel: Introduce ElementalX governor (Performance centric)

Kernel: Tune lots of default settings for governors / hotplugs / IO etc (Details see github 29th May)

Kernel: By default stock frequencies (but you can overclock)

UKM: Need new UKM - 3.8.1.2 to configure some new stuff in Alucard

Defaulting to stock clocks was not that straightforward. Our default hotplug - Alucard was bringing the cores back to overclocked frequencies under heavy load. So, I had to tweak it as well. And for that purpose I have exposed a new parameter in Alucard params - Max Frequency (in Synapse). Whenever you overclock, change this as well to match your overclock frequency. For this you have to flash new UKM.

Download links updated in Download section.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] old_pocket:
Sadly v1.2 crashes like v1.1 right after booting up for me. Back to testkernel and everything is fine again.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Hmm. The only difference is between 2 is that TestKernel has those overclocked steps removed all together where as V1.2 have those steps but I am setting up max allowed step as 2265. I do this on "boot completion". May be there's a small window left where kernel manages to overclock. I don't want to maintain two seprate zips. I will take a further look. Hopefully you are willing to try a few more test zips.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Swizzy88:
Your latest 1.2 ROM and kernel work flawlessly for me. I'll report any weirs behaviour but so far it's rock solid. Managed to get 1 hour screen on time with 10% battery :good:
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] jotekman:
Seems to be working fine for me. How do you tell the difference between lower binned and otherwise cpu's? Came from Stock 12.1, full wipe, installed, with Gapps, and now liking it.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] old_pocket:
Yes. If I can help, I can do some testing, of course.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] BrandonE97:
Kernel is working well for me, will comment with longer term testing at a later date. Currently on the 1.2 version and changing around governors and IO schedulers to see how each one does. Thanks for developing a kernel for our Galaxy Tab's. This is an awesome tablet and deserves some love!
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] aga2:
Same here, tablet looks like 'dead' after crash and you need to continuous press power button for a minute to power up
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Swizzy88:
Tried a clean flash? Dirty flash worked for me. Not had a single crash with any of the versions.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Nathalex27:
I wiped cache, dalvik, system, internal storage, data. So realy clean flash but even after my 2nd download and md5 hash check I get freezes and serious hickups after connecting to a bt device.

Back to someting else for the time being.

Seems like a good project here! Will check back in the future.

Owh I noticed a minor overclock of 100 mhz. ( stock clock of your kernel ) That was my among other things my culprit. My device does not overclock.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Please use TestKernel.zip meanwhile I sort this out. Some tabs can't handle the overclock even for a moment. Working on some new features today - network speed in status bar / D2W etc along with overclock fix.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] Swizzy88:
That's the one thing I miss from KitKat and lollipop. I'm staying away from xposed until it gets more stable so thanks for introducing this.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Last try

For some reason, there's atleast a second's window where the overclocked frequency kicks in. No matter how early I hook in the frequency limits. At least it's better than previous kernel where the OC frquency kicked in for longer durations (10-20s).

So, one last try. Attaching one final version of TestKernel. If this works, then fine else henceforth I would be releasing two versions - one OCed and other stock frequencies (until i figure out) so that we can move ahead with new features and stuff and not be blocked by this.

I know it's being finicky, but I like my Tab clocked similar to a 801. And the overclock is very stable on PVS 2, BIN 1.

Can some braveheart who had black screen issue try the attached TestKernel.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] aga2:
Ι just got a SOD with the older TestKernel also, l 'll try the new one for a few hours & report back
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Any feedback on new TestKernel ?

I think the best way forward would be to disable the overclock all together for PVS 1 BIN 1. Is there anyone here with that BIN and PVS, who has been able to use the overclocked frequencies ? Unless I hear a concern, the OC would be gone for PVS 1 BIN 1 in next build.

And here's a kernel with OC removed for PVS and BIN <= 1. This means people like us will see the OC (ed) frequencies but the ones with SOD shouldn't.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] aga2:
TestKernel_2615 worked ok, left tab playing youtube 1080p and found it into black screen situation (no SOD, buttons lights on but not able to do anything), pressed power 10 secs & tab rebooted optimizing again all apps (?).

TestKernel_2615_2 shows available O/C options, when dmesg | grep krait , i get speed bin:1, PVS bin:3, so maybe last SODs issue is more complicated :D

If i can help in any way (logs / tests) you tell me

Thanks for your efforts :good:

(before any kernel flash, I flash latest CM12.1 nightly & boot to optimise ART/apps)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] vikrant82:
Nope, thank you for hanging on. We should sort this out.

OK then it might be the voltage issue. Can you use synapse (or kernel auditor) to increase the voltages for last three frequencies by 10-15 each. If you still face issues try reducing the voltage by 10-15. And how consitently you are able to re-create this issue ?

Also, I was working on the theory that it happens on boot. If the boot is completed, the frequency limits should be tightly in place. Are you manually overclocking ? Check CPU states times in a Synapse and see if you using frequencies >=2265

How about simply rebooting when this happens and grab last_kmsg for me on next boot ?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development] aga2:
Not problems so far, by checking frequency table in kernel auduitor i see that CPU goes to 2457MHz for 1 sec at boot.

I do not set any O/C, actually I set U/C at 1958MHz.:D

So this one second after boot of xtreme-self-O/C is the culprit to blame :D

---

New find: this one sec of self-O/C happens each time you change the governor (+ on boot)