yashsingh1/xdaforums huggingface dataset:
[Galaxy Grand 2 Original Android Development] avid.ririz:
Thank You Very Much....
[Galaxy Grand 2 Original Android Development] -->:
No problem :good:
[Galaxy Grand 2 Original Android Development] Shirsh raj:
while starting my phone i get this text written on top left of my phone ,

" KERNRL IS NOT SEANDROID ENFORCING

Set Warranty Bit : kernel "

and in recovery mode

" RECOVERY IS NOT SEANDROID ENFORCING

Set Warranty Bit : recovery "

will this new kernel solve the problem??
[Galaxy Grand 2 Original Android Development] -->:
Well that message WILL always shows up if you are using any custom rom / kernel / recovery unless you are using official and unmodded stock samsung roms.
[Galaxy Grand 2 Original Android Development] Themonster19:
How long is the boot? Mine's already been booting for 30 mins.
[Galaxy Grand 2 Original Android Development] hungtv2002:
my phone using ROM] Project Lucky S7 Style ROM for ms013g/ms01lte [RELEASED/1.2] by*Ciro. can i flash this kernel. thanks pro
[Galaxy Grand 2 Original Android Development] kaiserfakinaway:
"Boot partition too small. Aborting"

on JSERROM Version 3.1

Edit: successful on the Non Repack of R4.
[Galaxy Grand 2 Original Android Development] :
r3 and r4 is only for aosp 6.0.1
[Galaxy Grand 2 Original Android Development] Aditya.L:
Using this kernel will cost immense battery life is short time only.

Am I correct.?

Plz answer :)
[Galaxy Grand 2 Original Android Development] S4uL:
Some make my phone lag..

But its nice info..
[Galaxy Grand 2 Original Android Development] neonkat:
you can try.i think it should work with v16.x.

keep backup of original boot.img incase of bootloops.
[Galaxy Grand 2 Original Android Development] MDabrar:
keep backup of original boot.img incase of bootloops.[/QUOTE]

According to you which is the best way to backup and restore kernel
[Galaxy Grand 2 Original Android Development] neonkat:
take the boot.img from the rom.zip and keep it anywhere.

if incase wifi doesn't work even after flashing the stock kernel,then clean "dalvik cache" and "cache" and reflash rom.zip and reboot to system.
[Galaxy Grand 2 Original Android Development] Anzd:
Can you make kernel when opens app faster? And CPU min freq 192Mhz battery improvement ;)
[Galaxy Grand 2 Original Android Development] neonkat:
yeah, will add lots of updates in next build.but i still can't make it as better as aosp roms because tw :\.

and about uc,already added,need to fix it :v.
[Galaxy Grand 2 Original Android Development] -->:
can you make cm-based kernel one that has these features? that would be amazing :D
[Galaxy Grand 2 Original Android Development] neonkat:
working on it.(but only ms013g):D
[Galaxy Grand 2 Original Android Development] ABHISHARMAKMJ:
today in morning i dwnld this kernel and flash via twrp recovery then clear dalvik cache, and my phone does not boot but every time gone to RECOVERY MODE, then i flash aokp rom again
[Galaxy Grand 2 Original Android Development] neonkat:
atm this only works with tw motion rom v17.0(and maybe v16.x).

please read op posts.

will support aosp/cm roms soon.
[Galaxy Grand 2 Original Android Development] ABHISHARMAKMJ:
sir aokp rom is touch wij rom or motion rom?
[Galaxy Grand 2 Original Android Development] Anzd:
Thanks for great job, This kernel have support f2fs (all data, cache)? Watting R2:good:
[Galaxy Grand 2 Original Android Development] neonkat:
its touchwiz
[Galaxy Grand 2 Original Android Development] neonkat:
yeah,it supports.
[Galaxy Grand 2 Original Android Development] ABHISHARMAKMJ:
sir ur kernel is working with rr rom which is made by aditya upreti sir by today?
[Galaxy Grand 2 Original Android Development] neonkat:
nope.only tw rom.

please read op,only motion rom is supported.
[Galaxy Grand 2 Original Android Development] sherry94:
bro plz fix dim colors after unlocking device on manual brightness because most of users facing this issue on motion 17.0 and this problem is becuz of kernel now you have released kernel but plz fix dim colors also
[Galaxy Grand 2 Original Android Development] munny_sun:
Can somebody plz provide grand 2 stock kernel ?
[Galaxy Grand 2 Original Android Development] Igor2906:
Maybe add gpu oc cuz cpu oc a little boost fps in games

Kernel work smooth,no problems)
[Galaxy Grand 2 Original Android Development] -->:
yaaayy :D
[Galaxy Grand 2 Original Android Development] Subhashis:
To [MENTION=5991747]neonkat[/MENTION],

Dont know if its a bug or not but if you select ondemand mode in GPU,it freezes the phone and it automatically reboots(signifying error in that mode).
[Galaxy Grand 2 Original Android Development] neonkat:
the issue is in stock kernel(v17.0) and so it came to my kernel too:v.

thanks for reporting,will look into it.
[Galaxy Grand 2 Original Android Development] Rutambh:
Perfect Kernel...Solved All My Issues.. Thank YOu :)
[Galaxy Grand 2 Original Android Development] MDabrar:
What where your issues?
[Galaxy Grand 2 Original Android Development] Rutambh:
I had heating issue whenever I use my mobile while charging..

take very long time for charging.

performance isssue...

All solved.
[Galaxy Grand 2 Original Android Development] MDabrar:
I am on 16.x version does this kernel work
[Galaxy Grand 2 Original Android Development] Rutambh:
I didn't Try..Try It..

if works Tell me...Or When I will do I will Mention U :good:
[Galaxy Grand 2 Original Android Development] Anubhav001:
You are saying <if this is not compatible with 16.x> and i flash this without any backup (noob knowledge), and something happens to phone, then can't it be solved by reflashing rom again?

OR

If i flash it over 17.0, then i can never go back to 16.x version?
[Galaxy Grand 2 Original Android Development] sherry94:
neonkat plz fix dim colors
[Galaxy Grand 2 Original Android Development] ShehabElkhaligy:
Great work thanks
[Galaxy Grand 2 Original Android Development] neonkat:
one of my tester tried it and reported it that it works with v16.x,so you can give it a try.if you get bootloops,wipe cache and dalvik and reflash rom.
[Galaxy Grand 2 Original Android Development] android_smater:
Sir after using 2 day days

The following are observe by me even i reinstall the rom

That phone become laggy and lockscreen problem

Even i set on performance

This first time i face in motion rom

I am uploading logcat using syslog
[Galaxy Grand 2 Original Android Development] ShehabElkhaligy:
actually the same thing happened to me on aditya rom

i tried to restart and then got bootloop
[Galaxy Grand 2 Original Android Development] neonkat:
and the problem is tw.even with a fresh install,we already have very less free ram(about 400mb,even less because swap is already running)and all the memory gets used after installing some apps so our device runs mostly with swap memory which slow the device.

i could disable swap but that will be a nightmare because you won't be able to use the phone.

i can make ram management more aggressive but at the same time it will thrash more apps and no possibility of multi-tasking.-_-

anyways,do you see any improvement from stock kernel?or performance is worse than stock?

btw you are using xposed so you can try greenify.
[Galaxy Grand 2 Original Android Development] MDabrar:
Does Fast charge really works
[Galaxy Grand 2 Original Android Development] neonkat:
*that's usb fast charge.

it will increase charging speed when connected with usb,not with wall chargers.
[Galaxy Grand 2 Original Android Development] android_smater:
Yap i used greenfiy but no change and already uninstall many system app which ntuse for me

I perfoance imporve but only if i able to open any app but i cause lot of lag means very difficult to silde drwaer or open app

But ya stock motion kernal is better than infected kernal because in it no lagging problem
[Galaxy Grand 2 Original Android Development] ShehabElkhaligy:
I think it would be perfect if u made a kernel like this but for cm13 because there's alot of free ram in aosp roms
[Galaxy Grand 2 Original Android Development] neonkat:
yeah,i will make one more build for tw(with those dt2w stuffs) and then switch to aosp kernels.
[Galaxy Grand 2 Original Android Development] MDabrar:
I perfoance imporve but only if i able to open any app but i cause lot of lag means very difficult to silde drawer or open app

But ya stock motion kernal is better than infected kernal because in it no lagging problem[/QUOTE]

I too faced the app drawer lag and homescreen lag, but after changing governor to zzmoove the lag has gone.

Try it and press thanks if it works☺???
[Galaxy Grand 2 Original Android Development] sherry94:
plz make a kernel to fix dim colors
[Galaxy Grand 2 Original Android Development] android_smater:
Nopes not goen
[Galaxy Grand 2 Original Android Development] SaifInamdar:
[MENTION=5991747]neonkat[/MENTION] This kernel is awesome..! I never faced any lags whatsoever..!! Battery life is also good...

Will u add GPU OC in next build?? :)
[Galaxy Grand 2 Original Android Development] neonkat:
Updates!

R2 is up!

changelog:

*Franco's thermal drivers

*new gov.-intellidemand,intelliactive,intellimm

*wakelock toggles

*intelliplug

*simple gpu algorithm

*new i/o and updated other i/o's

*headset high performance & soundcontrol v3.6

*introduced workqueues

*Fully permissive kernel

*disabled DVFS

*fixed kcal

*lots of miscellaneous updates

*enabled last kernel_logs

Download links in post #2.
[Galaxy Grand 2 Original Android Development] SaifInamdar:
[MENTION=5991747]neonkat[/MENTION] is doubletap2wake included?
[Galaxy Grand 2 Original Android Development] neonkat:
sorry buddy,i tried my best to get it working but it didn't work(though toggles were there,but not worked as expected):(.i will look into it again.

anyways,if anyone can help with dt2w,then the branch is open here,if anyone can help in fixing them,let me know:).
[Galaxy Grand 2 Original Android Development] android_smater:
Downloading....

Feedback soon with log....

And thank you
[Galaxy Grand 2 Original Android Development] SaifInamdar:
[MENTION=5991747]neonkat[/MENTION] This kernel is really awesome..!! I will test new features and report if something doesnt work..! :)

Dt2w is cool but no need to smash your head for that..!! ;) GPU overclocking would be great though :)
[Galaxy Grand 2 Original Android Development] priendy:
How to restore previous kernel?
[Galaxy Grand 2 Original Android Development] :
Dim light fix or not
[Galaxy Grand 2 Original Android Development] neonkat:
i used this rom today for about 4 hours,didn't get any.

Ps-i haven't applied any fix.
[Galaxy Grand 2 Original Android Development] :
Brightness stable ... In law brightness
[Galaxy Grand 2 Original Android Development] neonkat:
dunno about that(i mean who uses such low brightness?)

note- this is a custom kernel,and NOT a bug fixing thread/kernel.:rolleyes:
[Galaxy Grand 2 Original Android Development] neonkat:
you mean stock kernel?

if yes,then wipe cache and dalvik cache and flash rom.zip.

or flash the kernel boot.img(take from rom.zip)and also replace wlan.ko from the rom.zip (you will get that in system/lib/modules) to appropriate location.
[Galaxy Grand 2 Original Android Development] android_smater:
Yap working gr8

Only lag in lockscreen

Net slow otherwize i upload the log
[Galaxy Grand 2 Original Android Development] android_smater:
Ok here i come my internet now work fine

Following are observe

Bug

Some time screen lag(when i use wifi other wise no problem with mobile data)

Lockscreen lag still present

When i change my sd card phone hang

System ui lagging

+ve result are

Mobile become fast

No lag in game even in hd game

Performance improve

Battery charging speed improve(wall charger)

Uploading logs

Cup governer smartmax freq on max

I will upload other log on performance wait for it
[Galaxy Grand 2 Original Android Development] android_smater:
[MENTION=5991747]neonkat[/MENTION]

I suppose that i found the problem of laging

Ut the problem with gpu governance

Because when i set my cpu ondemand and gpu on powersaving it cause laging

But when i set gpu on performance and cup in any governers it not casue any lag accept on powersaving

So i think the problem asries from gpu governer

If you want i can become your tester
[Galaxy Grand 2 Original Android Development] ShehabElkhaligy:
[MENTION=5991747]neonkat[/MENTION] will u build a custom kernel for cm now ?

It would be awesome if u overclocked the cm
[Galaxy Grand 2 Original Android Development] neonkat:
yeah,working on it.
[Galaxy Grand 2 Original Android Development] neonkat:
gpu with powersave will try to use lower gpu freq,hence you face lags.

keep it to stock(adreno-tz)or other choice.

i will be focusing on cm now,if you can he me in testing,drop me a pm.
[Galaxy Grand 2 Original Android Development] LaughAtYou:
fast charge

force fast charge active
[Galaxy Grand 2 Original Android Development] kha dang:
power off.. not display % charging
[Galaxy Grand 2 Original Android Development] ibunfree:
Bug animation off charger .. gan??

Not fix
[Galaxy Grand 2 Original Android Development] neonkat:
first of all,remove that quote.

and about the animation,you can flash the fixed boot.img given by riasat at the motion rom v17 thread(now don't ask for link)and then flash my kernel(R2).
[Galaxy Grand 2 Original Android Development] sedi_aze:
Awesome work [MENTION=5991747]neonkat[/MENTION] . Oc support awesome. Remaining cm-based oc kernel....And Adreno İdler added?
[Galaxy Grand 2 Original Android Development] neonkat:
yup,but i will need some testers for cm.if you can help,then drop me a pm.;)

yup,adreno idler is there+simple gpu algorithm too.check post #1 and changelog in post #2.

Enjoy!
[Galaxy Grand 2 Original Android Development] sedi_aze:
İm newer in xda. İ can accept but you must help me...
[Galaxy Grand 2 Original Android Development] neonkat:
how can i?
[Galaxy Grand 2 Original Android Development] sedi_aze:
İ write you a pm for testing?

EDİT:sorry for my noob question :)
[Galaxy Grand 2 Original Android Development] neonkat:
okay!
[Galaxy Grand 2 Original Android Development] Anubhav001:
Worked perfectly on 16.8 great work :)
[Galaxy Grand 2 Original Android Development] Bryaaaaaaan:
Can i flash this eventhough i'm on a custom rom? I'm using CM 12.1 by mukulsoni. thanks!
[Galaxy Grand 2 Original Android Development] kha dang:
great..

thằg kùi pắp
[Galaxy Grand 2 Original Android Development] neonkat:
no,only motion rom.
[Galaxy Grand 2 Original Android Development] Nekwoott:
not work for me

Offline charge not work

How to fix it .

Thank for this kernel.
[Galaxy Grand 2 Original Android Development] neonkat:
idk,please don't ask/post link of other roms here.if that is based on motion rom,then it will work perfectly.
[Galaxy Grand 2 Original Android Development] neonkat:
read faq(post #3).

and remove that quote in last post or else will have to call a mod for cleanup.

and i also told you how to fix it in my last post.
[Galaxy Grand 2 Original Android Development] Nekwoott:
I' m waiting for fix it.

This kernel is awesome.
[Galaxy Grand 2 Original Android Development] android_smater:
Really it working with 16.8 without any lag plz comfm
[Galaxy Grand 2 Original Android Development] neonkat:
one of my tester also reported it is working well with v16.x and i too think it will work.
[Galaxy Grand 2 Original Android Development] neonkat:
no problem!

motion rom-http://xdaforums.com/showthread.php?t=3295055

for other based roms,you can look at the android development section.

enjoy!
[Galaxy Grand 2 Original Android Development] Anubhav001:
your kernel is perfect, i tried for a day, battery and performance is good but there is one bug- when i enable hotspot, the wifi adabter gets reset and it does not turn on until reboot, fix the issue please [MENTION=5991747]neonkat[/MENTION]
[Galaxy Grand 2 Original Android Development] neonkat:
problem with the motion rom's kernel source,so it came to mine too.
[Galaxy Grand 2 Original Android Development] Anubhav001:
but it was not on v17 before flashing your kernel
[Galaxy Grand 2 Original Android Development] neonkat:
but someone said that it is bugged with stock kernel too,will check it today.
[Galaxy Grand 2 Original Android Development] Anubhav001:
it is awesome kernel just this small bug....btw thank you
[Galaxy Grand 2 Original Android Development] Anzd:
Maybe you should be OC GPU and oc cpu to 1.8Ghz the highest performance:D
[Galaxy Grand 2 Original Android Development] Baka Tenshi:
Have to jump in to reply to the above poster.

Wouldn't that drain the battery hard? 1.8GHz is a bit much for our little 2600mAh...

And finally, neonkat: I am grateful that you have created a Lollipop-ready kernel with OC support. I'll be waiting for the CyanogenMod one. :) Have my Thanks for this!
[Galaxy Grand 2 Original Android Development] SaifInamdar:
[MENTION=5991747]neonkat[/MENTION] will you add gpu OC?
[Galaxy Grand 2 Original Android Development] neonkat:
i did to 1.7ghz but was heating a bit so kept at 1.6ghz which seems stable till now.
[Galaxy Grand 2 Original Android Development] neonkat:
will add oc to 533Mhz but on several tests with adreno 305(i have 2 devices with 305)i found that 450mhz was more stable as oc was causing heating.about cm,i will add but for tw,can't say if it will work.

suggestions are always welcomed!

busy atm,will continue things from 30.;)
[Galaxy Grand 2 Original Android Development] joeBiever:
plz support on RR 5.6.7 MM base ???
[Galaxy Grand 2 Original Android Development] neonkat:
i already said i will support 6.x roms.wait for some days and no eta please.
[Galaxy Grand 2 Original Android Development] Wagnelles:
Yes! Thanks! I didn't knew you will support 6.0.1 roms, so thanks for clearing that up. Have your time to do it, thank you very much. I'm also waiting for the GPU OC options. The only thing holding me from donating is that I'm paying a few bills right now. I'd definitely do it as soon as I can.
[Galaxy Grand 2 Original Android Development] Anubhav001:
neonkat please tell how to correctly go back to older kernel, aditya was saying flashing modules, please tell in brief steps, thank you (or if you are going to fix the hotspot problem then its ok no issue).
[Galaxy Grand 2 Original Android Development] ShehabElkhaligy:
Thanks ?
[Galaxy Grand 2 Original Android Development] neonkat:
*flash boot.img from stock rom.zip(just google how to flash boot.img with flashify/flashr app)

*take wlan.ko from stock rom.zip(system/lib/*here*)and paste it to current rom(system/lib/*here*)and reboot.

stock rom=motion rom
[Galaxy Grand 2 Original Android Development] SaifInamdar:
[MENTION=5991747]neonkat[/MENTION] my device stops video recording shows message about letting it cool down... how can i disable it??
[Galaxy Grand 2 Original Android Development] neonkat:
can i have a screenshot?
[Galaxy Grand 2 Original Android Development] SaifInamdar:
[MENTION=5991747]neonkat[/MENTION]

Actually the message disappears quickly and i wasnt able to get a screenshot that quick...

Video recording button gets disabled (see picture)..

Message is video recording has stopped... try again when the device is cooled down..
[Galaxy Grand 2 Original Android Development] parth5490:
about Zram

Hey OP, please give solution to remove zram. It is making device unstable and hotter . And plz remove that in next version of this great kernel....plz
[Galaxy Grand 2 Original Android Development] neonkat:
if i will remove zram then you won't be able to use the device(only a few hundred mbs of ram will be left).
[Galaxy Grand 2 Original Android Development] parth5490:
But than it is lagging so much...plz do something....
[Galaxy Grand 2 Original Android Development] Anubhav001:
did that already, wifi and hotspot completely got disabled :(
[Galaxy Grand 2 Original Android Development] neonkat:
go to recovery and wipe cache and dalvik.then flash motion rom and reboot.
[Galaxy Grand 2 Original Android Development] Anubhav001:
data :(
[Galaxy Grand 2 Original Android Development] Bryaaaaaaan:
I am gonna change my phone's rom. I will be using adityarom http://xdaforums.com/galaxy-grand-2/development/rom-adityarom-v2-1-t3345275 can i flash the kernel on this rom? Just making sure. Thank you!
[Galaxy Grand 2 Original Android Development] neonkat:
dirty flash doesn't wipe/remove data.

keep a backup and try it,you will never know if you don't try it ;).
[Galaxy Grand 2 Original Android Development] dhiraj1234:
After 1day Using R2 performance is good

But 2-3 days later mobile Is getting hot and laggy And Performance is bad and ASPHALT 8 is lagging candy crush also gives laggs So plz give a solution
[Galaxy Grand 2 Original Android Development] Subhashis:
Post logcat
[Galaxy Grand 2 Original Android Development] Anubhav001:
anyways r u goin to fix it?
[Galaxy Grand 2 Original Android Development] neonkat:
can't promise but will try to find a solution.
[Galaxy Grand 2 Original Android Development] neonkat:
go to kernel adiutor and under low memory killler section,slide down and tap on "medium" (check if values above change or not).

re-check if it lags in multi-tasking or not.

if still lags,select aggressive and then very-aggressive.

report which one is better.
[Galaxy Grand 2 Original Android Development] neonkat:
Updates!

R3 is UP!(6.x roms only!for ms013g)

Chnagelog:

*same as R1 and R2

*-O3 and Graphite optimisation

*3.4.0 kernel(stock)

*disabled gfs and ebaled arch power

*disabled zram

*improved cpu and gpu clocks

Note

*THIS WILL NOT FIX FRONT CAMERA.SECONDARY CAMERA DEPENDS UPON DEVICE TREE.

*i will skip R3 for tw/5.x due to lack of time(exams btw)

*no gpu oc(some reason i already explained)

*This only supports 6.x based roms(atm only ms013g) and will work with all 6.x based roms
[Galaxy Grand 2 Original Android Development] neonkat:
the tw builds(R1 and R2)work with 5.x cm/aosp roms too as reported by [MENTION=6404303]Subhashis[/MENTION] .please try and let me know the reviews!

bugs:

*hotspot not working
[Galaxy Grand 2 Original Android Development] Wagnelles:
You're my hero

---------- Post added at 09:27 PM ---------- Previous post was at 09:24 PM ----------

Question: Is it possible/safe to overclock the CPU to anything beyond 1.6GHz?
[Galaxy Grand 2 Original Android Development] neonkat:
what i have heard is that msm8226 can be oc to 2.2ghz(stable).

i did to 1.7ghz but it was heating up a bit and too its summer so i kept to 1.6ghz because it performs well.;)

as people were reporting about heating issue so the default max_cpu is set to 1.4ghz,you can bump to 1.6 via kernel adiutor app.:)

i will do a poll soon about 1.7ghz oc.:p
[Galaxy Grand 2 Original Android Development] Wagnelles:
In my opinion you should make 1.4GHZ stock just as you said, but add the option to make OC beyond 1.6GHz possible via Kernel Adiutor. Depending on where the user lives, the heating may not be an issue. :)
[Galaxy Grand 2 Original Android Development] Anzd:
R3 working good:good: and I think if you can do a flash zip kernel sock for those who want to return to the sock kernel:)
[Galaxy Grand 2 Original Android Development] adityaupreti:
Hey [MENTION=5991747]neonkat[/MENTION] ur 6.x kernel us for touchwiz so can I test it on my Touchwiz Marshmallow port ROM

Or it is for aosp ROMs
[Galaxy Grand 2 Original Android Development] neonkat:
its made of aosp device tree so i don't think it will work.(you may try,just in case:p)
[Galaxy Grand 2 Original Android Development] adityaupreti:
O

If its aosp kernel then it will go to download mode

Can u come in pm
[Galaxy Grand 2 Original Android Development] vj127:
Will r3 work in RR MM?
[Galaxy Grand 2 Original Android Development] neonkat:
yup!all 6.x based roms.
[Galaxy Grand 2 Original Android Development] Wagnelles:
After flashing this kernel and set the CPU to 1.6GHz, even my heaviest emulators (PPSSPP, Drastic) are now running much more smoother now, and gaming in general got really better. I sincerely ask you to add the option to overclock the GPU and the CPU beyond 1.6GHz again, this will make a world of diference for me. As for the heatig issues, it's definitely OK to leave the GPU on stock and the CPU set to 1.4, all I ask is to have the option there.

Thank you very much
[Galaxy Grand 2 Original Android Development] neonkat:
okay.

no new build for a few days because exams ;_;.