yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] tac07:
Tried running OMNIs 4.4.4-20150128 nightly with this kernel - works quite nice!

Just one thing - the proximity sensor doesn't seem to be working, screen doesn't turn off during calls.

Functionality returned when i reflashed the original nightly (without formatting /system before)

Any tips on how to solve this?
[Galaxy S II Android Development] Saber:
Don't use this kernel then. Some of these features don't work properly in this kernel. Use a different one or keep stock kernel.
[Galaxy S II Android Development] tac07:
That sir, is just a rude answer, not helpful at all.

Of course i'm not going to use the kernel if it isn't going to work well on my device and i have not the slightest problem with that.

I'm merely asking if a problem i've encountered is already known and/or there is a fix/workaround known.

You could even call it "giving feedback".
[Galaxy S II Android Development] Saber:
Sorry for offending you sir. I'm not sure if it's a known problem or not.
[Galaxy S II Android Development] pilotn:
It works well on AOSP NeatRom 4.4.4 based on slimkat sources, so is not kernel related
[Galaxy S II Android Development] j1gga84:
I used hawkerpauls cleaning script as everytime before flashing a new kernel (version).

The first time it goes to 200 MHz but after a reboot only 500 MHz!?

Very strange..

Also the CPU behaves very 'stressfull', when I touch screen it goes up to 1200 MHz for a short time and that is useless in my opinion.. It would be better if we could limit that to 600 MHz for example like on other kernels..

So at the moment I am back on dorimanx with TRIM support, new linaro 4.9.3 and new WiFi drivers which works good for now..

Regards

Sent from my GT-I9100 with german Tapatalk
[Galaxy S II Android Development] el_dobre:
try to recalibrate the proximity sensor
[Galaxy S II Android Development] tac07:
I have since switched to CM 11 and like expected, the error is gone.

If somebody is interested in solving this for OMNI he can contact me for trying stuff out, but i preferred the quick and not-so-dirty fix. ;)
[Galaxy S II Android Development] mauriciognr:
About battery Life

I have a probloem, my battery drains very fast. is a new battery and is the same thing with the old one. Lets say i left my S2 in home while i work, is fully charged with 3g enabled and when i come home hes dead, 0% on battery have been about 9 hours since i left him. Ive tried settings, governors, underclock, modems, kernesls, xposed modules, deep sleep battery saver, you name it. Now i just have the lastest CM11 nightly Jan-25 with 24-01 Kernel in order to ask here. Can some of you gays tell me how long your battery last? So i can have idea about this thing and see what can i do about this. thanks
[Galaxy S II Android Development] RuffBuster:
Have you tried "wakelock detector" or "better battery stats" apps? They will tell you what apps or processes are keeping your device awake. Also "CPU spy" is a nice little app that will show you what speeds your CPU has been running at and also how much 'deep sleep' your phone has achieved, which is what you want while your phone isn't being used.

I've tried this combo of ROM and kernel for a day or so and didn't see anything overly negative. Though didn't test for extended time.
[Galaxy S II Android Development] Saber:
I'm not having the same problems you have. Even after a reboot, CPU still scales down to 200mhz. I'm using Ondemand CPU governor right now and it's working fine. But your problem does seem very weird.
[Galaxy S II Android Development] deyan:
I don't know if it is kernel or rom or neither of those.

My device does not stop showing that it is charging when i pull the charger, and it doesn't make the charging sound. It continues to show charging long after I pull it off.

Reboot doesn't work, wipe cache and reloading rom and kernel doesn't work...
[Galaxy S II Android Development] mauriciognr:
When im on wifi phone sleeps, i mean i can letf my phone for the same 9 hours with wifi and when i come home it only has discharge around 15% so theres around 85% left in battery always,. Whem im on 2G phone sleeps adn battery last mucho more than on 3G, but when im on 3G is hell. I installed BBS and xposed framewrok with implify module to block some wakelocks and alarms, but phone is not sleeping at all, i have CPU Spy installed too. ideas?
[Galaxy S II Android Development] sharp87:
Jan 24/1 build is much stable on my side :D:D:D..no single reboots, freezes, sods.. and the battery life is improved much..:good:

I'm an internet guy and all ways b using internet [emoji6] , I get 5 hrs awake time on 2G network and 4~4.30 hrs awake time when on 3G (from 1650mah battery [emoji51] ) wit Gustavo kernel ..

[MENTION=4217277]Gustavo_s[/MENTION] : thanks for the stable kernel :good::good:

screenshots:

Link

I have updated the sheet regarding ram memory.. " I repeat This is not an bug":fingers-crossed:
[Galaxy S II Android Development] Unexist6969:
Lol . give 'em features/updates they complain, "too risky, not so stable. . use old version ..better" i need working device

No updates for a week; "we need new stuff to flash, why there're so few options.. Linux 3.x is out! Patch it! Where's mcms siyah tweaks, 5gpu steps and 520mhz oc. I guess dev left us..."

Giving features/updates everyday which are rockstable, supporting Gb to Jb; posts of benchmark scores, woah it scores high, it's fasztt.

battery pics, only ½% battery drain overnight, still got 80%+ battery after 20H not using my phone, "i have best device, use latest version, it's smoothest, change your rom.

:p....
[Galaxy S II Android Development] kalpik:
I sincerely hope you revert your decision! This was the *only* good kernel for AOSP for our device! In case you do get this thread closed, I'd love to try out new kernels, if you decide to make them for your own via PM.

Thanks for your work!
[Galaxy S II Android Development] dredremon:
anyone help me? why i always overheat when im using custom kernel like this kernel even on dorimax kernel but on stock cm10kernel no overheat. i would prefer this kernel bcoz its fast and i got more ram free. sorry in my english
[Galaxy S II Android Development] eskriminal:
Regardless if it is locked or not, i'm sorry people bothered you when you specifically said other roms weren't supported, and i would like to thank you for the hard work you put in and for releasing your project

thanks so much gustavo, sorry some people have put you off
[Galaxy S II Android Development] msquared:
Another victim of kids complaining about this kernel....

We respect your decision gustavo, but we hope you'll be back soon coz we need more kernel devs here :)

M^2 from mobile
[Galaxy S II Android Development] :
This infected_ guy :rolleyes: is the one to blame if Gustavo is now upset.
[Galaxy S II Android Development] Resync:
Can someone please explain to me where and how I get the latest kernel? Thx
[Galaxy S II Android Development] msquared:
You can't, link removed and thread will be closed...

M^2 from mobile
[Galaxy S II Android Development] deepongi:
Yoh French dude... go eat some croissant's ... i was working with Gustavo_S in the first stages of the kernel development, FYI ... i left the project because it was not going in the "right" and working way... Gustavo_S tried to please everyone, and ended up screwing devices... thats all i stated! messing with kernels, the bridge between "software/hardware" is dangerous...

so back off, and go bungee jumping from Eiffel Tower... :)

regards,

infected_
[Galaxy S II Android Development] :
Hi,

I don't know what you've got against french people, but calm down as I personaly don't mind your portuguese origins...until now.

I understand your point of view about how dangerous it may be to play with kernels.

But what I really dislike is your disrespectful way of speaking and answering.

All you have achieved by acting in such way is to force-close this thread and put an end to this kernel.

W00t! You did it. Great.

So I'll let you continue satisfying you selfishness.

No need to discuss with you anymore.

Goodbye
[Galaxy S II Android Development] kalpik:
This is where you're wrong. Gustavo didn't screw devices, people themselves did. If you are not capable of reading, you have no place on a developer forum. And by "you", I mean people who got bootloops because they installed the kernel on unsupported ROMs.
[Galaxy S II Android Development] deepongi:
disrespectful?! for stating, affirming and telling the truth? god... please arrest me then !

PS: i have nothing against french ppl... you poked me, i poked you back ... :)

regards,

infected_

---------- Post added at 12:25 PM ---------- Previous post was at 12:22 PM ----------

random freezes, SOD's, bootloops, not able to enter recovery, etc .. yeah.. that wasn't the kernel ... :)

regards,

infected_
[Galaxy S II Android Development] leechseed:
OT

Im looking forward to your kernel, as you were "..working with gustavo_s in the first stages of dev.." you should be able to build a super stable kernel without any bugs :D xD

Close the thread - this is ridiculous guys

Greetz

SlimBean-b4.2|Dorimanx9.14|i9100¬Tapa2
[Galaxy S II Android Development] readon1:
Dude, shut up. Stop licking his derrière and be realistic. I am on cm10.1 and still got bootloops etc. So no, not all people screwed it up, the kernel just isn't optimal. I respect the work of the developer, but the work isn't perfect and that's is normal. Nothing is. And if you still think I'm wrong, then... you're wrong. I have flashed many, many ROMs and kernels so I am quite confident I know what I do ;).
[Galaxy S II Android Development] deepongi:
another smart ass... must be because its monday... YES, i was testing the first kernels... gish..

Someone close the thread then... it's going of rails already...
[Galaxy S II Android Development] leechseed:
Hard work though xD xD lmao..

Nice, keeping calm and not beeing offensive.. Just quit the c*ap an move on, kiddy..

Greetz

SlimBean-b4.2|Dorimanx9.14|i9100¬Tapa2
[Galaxy S II Android Development] grafenberg:
This isn't right...

First we lost mcm's roms...

Now this.... :(
[Galaxy S II Android Development] deepongi:
i'm not seeing you do any better ...

anyone can criticize the other ..

that only tell one thing about that person, kiddo ... :)

regards,

infected_
[Galaxy S II Android Development] Fatsodonkey:
:(

I dont understand why people are complaining about this kernel. Surely everyone know´s that sometimes something causes bootloops etc.

Btw im rocking with this kernel with absolutely zero problems. It´s the best for me and all i can do is say thank you Gustavo! :)

Flashing stuff is a hobby that can in some cases even break youre phone. People should understand that.

I broke one Galaxy Mini and altough the instructions were faulty on that case it is still my own fault.

I decided to test it. No one forced me with a gun to do it. :D

Btw. Developers do this for fun and give us free stuff.

If you wan´t to cry. Cry to to the big companys that take youre money.
[Galaxy S II Android Development] fsi09:
Thread is opend again!

I hope you will release new kernel versions :D
[Galaxy S II Android Development] xhoster:
I had the same issue, didn't get below 500Mhz (BBS-statistic). Was using the 24.01 cm11 build from markox.

Got one sod, too, but this was always a problem with my device and I don't know if it is the hardware or which software causes it. I have this problem with any kernel and ROM I ever used and don't feel like trying out stock ROM.
[Galaxy S II Android Development] kostelo:
I 've been trying this kernel combined with Marko's CM11 and is pretty stable. No 500MHz bug for me. The only thing that annoys me is that synapse settings do not apply at every boot and I have to set them again in every reboot. Other than that, everything is fine.
[Galaxy S II Android Development] mauriciognr:
I was in the same rom with the same problem. "synapse boot cancelled" stay way from hyper thats how i did it, never selec it, if u did it then wipe and reflash. Mine is "synapse boot completed" now with all my things selected. The only problem i found is with zzmoove governor i can select it, i can chenge his profile but with every reboot the profile go back to default. But again everything else sticks, undervolt, ksm, bln, i/o, logs, everything sticks but the profiles for zzmove governor.

---------- Post added at 06:40 PM ---------- Previous post was at 06:36 PM ----------

There is a version of this kernel for CM12? I know is a build from Lysergic but he now says "This is really outdated now, Gustavo_s is already working on a Lollipop version, so I'll not update this anymore. I do not recommended to use this on the most recent builds" Anyone?

I guess il have to use the one from lysergic meanwhile.
[Galaxy S II Android Development] deyan:
I couldn't find any solution to this problem... It continues to show that the battery is charging...

And i have found that it stays always on 200mhz and doesn't go to deep sleep. It draws 50% in about 6 hours without any use...

Does anybody knows?

P.S. Cleared fuel gauge from synapse, did clean install, neither of these worked...
[Galaxy S II Android Development] Rachid.Ala:
I think it's a hardware problem mate

Try cleaning your usb port with a toothbrush

Good luck
[Galaxy S II Android Development] gohanSS:
Have you tried a different modem?
[Galaxy S II Android Development] dongnguyen2301:
:) that's me, actually I lost the sound completely from speaker, it's different from bad sound :p, I moved back to the previous version and everything seems to be perfect again. One problem: the slide2wake has bug, it works 49/50 times but one the screen won't wake up, still have the hardware button light but the screen won't wake up, have to remove the battery, that bug is minor to me though :angel:
[Galaxy S II Android Development] mauriciognr:
Several XX with no change. Im on UHSM1 now
[Galaxy S II Android Development] Cirra92:
Try cleaning USB port, but be careful not to bend the pin in the middle. I had the same issue, but ultimately my USB port was faulty so i Had to replace it. I hope that won't be the case with your device.
[Galaxy S II Android Development] pilgrim011:
Does anyone have a problem with sudden disappearance of mobile network when device is at 20-25% of battery juice? It happend two times already - all of a sudden the phone loses signal, always when relatively low on battery...

Btw, cm11 2401 nightly, all default Gustavo settings.
[Galaxy S II Android Development] MikiGry:
[MENTION=964877]pilgrim011[/MENTION]

It was happening to me with any KitKat rom (after about 1 month of using). On lolipop it is fine. Mebay the volatge bacames really low and that is kind of extremal battery saving mode ? But is was happening when i had about 2-3% of battery left. How old is yours battery ?

Wysłane z Cyanofonika 12 beta...
[Galaxy S II Android Development] pilgrim011:
It's 3 years old... That's how it seems to me, too - some kind of battery power saving, but it shouldn't happen at 23%, like last night... Weird...
[Galaxy S II Android Development] MikiGry:
[MENTION=964877]pilgrim011[/MENTION]

I think it is time for re-placement. Or try CM 12 beta 12.

Wysłane z Cyanofonika 12 beta...
[Galaxy S II Android Development] gohanSS:
Has anybody experienced the screen switching to negative colors?
[Galaxy S II Android Development] Zile995:
Yes. Press home key 4 times quickly.
[Galaxy S II Android Development] jnetode:
It's a feature. Press home button 4 times.
[Galaxy S II Android Development] varun94:
[MENTION=4217277]Gustavo_s[/MENTION] can i flash your latest kernel with 3/02/15 nightly of i9100 cm11
[Galaxy S II Android Development] JavaScout:
You forgot to specify the rom.
[Galaxy S II Android Development] notabenem:
I am having the same problem with the proximity sensor (and I am too, using Omni). Will try to default omni kernel, if that helps or not.
[Galaxy S II Android Development] lilicaull:
Download link?
[Galaxy S II Android Development] Gustavo_s:
Thanks all for the bug reports, and sorry for slow updates.

I'll update TWRP today, replace dynamic fsync with a better solution to prevent data loss and build kernels with trim and kernels without trim.
[Galaxy S II Android Development] varun94:
does your kernel come with selinux enforcing
[Galaxy S II Android Development] sharp87:
Refer below [emoji116] [emoji4]
[Galaxy S II Android Development] jnetode:
Hi, [MENTION=4217277]Gustavo_s[/MENTION],

Do you plan to compile also a lollipop version of your amazing kernel?

I know it's already been asked, but I saw no answer. [MENTION=6159291]Lysergic Acid[/MENTION] said in his thread that you should be working on that.

Thanks anyway.
[Galaxy S II Android Development] lilicaull:
I have a problem everytime I get to about 40% battery I have a random reboot or a screen freeze. Also the settings in synapse reset with every reset they just don't want to save
[Galaxy S II Android Development] Gustavo_s:
Yes, its actually ready to be compiled, i just didn't have the time to test.

please provide the last_kmsg

using adb:

adb shell
cat /proc/last_kmsg > /storage/sdcard0/last_kmsg.txt

or terminal emulator:

cat /proc/last_kmsg > /storage/sdcard0/last_kmsg.txt

It will be copied to your internal storage.

About synapse, you have to wait ~2 minutes after boot, it's a security feature, i.e:

you undervolt too much and phone freezes:

stweaks: unsafe undervolt will be applied at boot and you will be stuck in an endless loop of freezing/restarting, until you flash something in recovery to wipe your settings

synapse: saved undervolting settings will be applied 2 minutes after boot, giving you time to revert it

LP Kernels:

I'll be uploading LP kernels in the next week, but there is something you should know:

You can't flash cyanogenmod 12 zips with the trim enabled kernels, if you try it will reboot immediately.

That happens because the brickbug (or something similar) is triggered and the safety measure in the kernel, a kernel panic, will reboot the device to prevent the brickbug.

<0>[ 271.417570] c0 Kernel panic - not syncing: secdiscard
<6>[ 271.421437] c0 notifier_call_chain : NOTIFY BAD sec_debug_panic_handler
<0>[ 271.427840] c0 Rebooting in 1 seconds..

Once the rom is installed you can install the trim enabled kernel over it with no problems, but you will have to revert to a trim disabled kernel before updating your rom.

TL; DR

Can i use trim kernel with LP? Yes.

Can i flash LP rom zips with trim kernel? No, but nothing will happen with your phone if you try, it will just reboot.
[Galaxy S II Android Development] lombartz:
Synapse doesn't restore the vpll setting automatically after reboot.

VPLL only works when reactivated manually in Synapse or via init.d script.

best regards,

lombartz
[Galaxy S II Android Development] j1gga84:
If I flash the kernel with TRIM under KitKat must I activate it or is it active by just flashing?

regards
[Galaxy S II Android Development] Catscratch:
You can e.g. use LagFix Free and run it once. Then TRIM should be working. So be safe, run lagfix after every kernel update.

But do not use the version in play store. There is a version running on the S2 in the regarding xda thread.

For more information take read: http://xdaforums.com/galaxy-s2/development-derivatives/rom-brickbug-aftermath-speeding-t2843238
[Galaxy S II Android Development] hecko:
Can i use the kernel with cm12?
[Galaxy S II Android Development] m1trand1r:
can't you just read backwards?

it's been posted so please read.

Sent from my LG-G3/d-855/16Gb/Titanium Black
[Galaxy S II Android Development] varun94:
[MENTION=4217277]Gustavo_s[/MENTION] which app is showing the correct cpu voltages?only synapse is showing wrong voltages.is it a common bug.also on zzmove governor while using playstore phone freezes.
[Galaxy S II Android Development] JavaScout:
Also, I find settings like gov, freq and io sched are being dropped during device reboot. I'm using jan5 build. It would be great if someone could post here init.d script, or at least the commands that are setting those values, 'cause I don't see any point to flash new builds, since jan5 build is the most stable I've ever had (500+ hours of uptime, easily).
[Galaxy S II Android Development] notabenem:
Yesterday I just passed the 400h uptime milestone with the 11/1/2015 build. However, I discovered I could crash the phone intentionally using the following steps:

Start Hangouts

Open a chat with a recipient

click "attach" icon

Select take a photo

(The camera app should start) and hit the button to take a snapshost

At this moment the screen goes blank, the buttons do not respond. The only solution is to force-turn-off(? - if the phone is even running, no idea) and restart the phone.

I did this yesterday 2 times with identical results straight after boot. Today I can't reproduce it any more. kmsg_last does not contain anything of interest. Did any of you encounter something similar?
[Galaxy S II Android Development] JavaScout:
Try using NeoX. I've noticed that freeze-o-death strongly depends on the governor.
[Galaxy S II Android Development] marouane80:
can someone beat this ?! :angel:
[Galaxy S II Android Development] x3dnd3x:
Erm, I can't seem to find the download link. :confused:
[Galaxy S II Android Development] lupumlisboa:
What settings do you have?
[Galaxy S II Android Development] marouane80:
This !
[Galaxy S II Android Development] lupumlisboa:
Can i just copy and paste?
[Galaxy S II Android Development] RuffBuster:
(Deleted)
[Galaxy S II Android Development] Heraku:
No I cant because I use my phone. You should post a screenshot when you have used your phone!

... Then we can compare.

I get 1h more on screen time if I am on a Stock based Rom(need rom). With 4.4 I lose that 1h as trade off for a newer android version...
[Galaxy S II Android Development] Zile995:
OT:

Max freq 1.4GHz

Min 1GHz

Ondemand/sio GPU 400MHz max

Battery life ~ 2h[emoji57]

end;
[Galaxy S II Android Development] ArioBarzan:
deleted ...sorry
[Galaxy S II Android Development] sourly64:
Hi! Today i try the new update of RR 5.3.4 and make a clean install .Everything fine for now ,but i want to change to this Kernel and make a wipe with UltimateKernelscript

and install the kernel and do after wipe cache/dalvik .The doesnt boot anymore :cool:
[Galaxy S II Android Development] pilotn:
This is a kk kernel... I don't think it can work with lollipop...
[Galaxy S II Android Development] thachphongphong:
when is download link?

Hi Guys, I hear new update with trim kernel support :D

But can't find the link on first page? :confused:
[Galaxy S II Android Development] Saber:
Downloads are on that black bar on top of the thread. Here is the link anyway: http://xdaforums.com/devdb/project/?id=7558#downloads

[MENTION=4217277]Gustavo_s[/MENTION], please update the OP to prevent any more confusion ;)
[Galaxy S II Android Development] DingoBat:
It's no longer a link, but rather at the top tab "Downloads"
[Galaxy S II Android Development] marouane80:
look up (in this page) , near discussion
[Galaxy S II Android Development] thachphongphong:
I got it

Thanks all bro. I got it :p
[Galaxy S II Android Development] -iHackerz-:
The anticipation for lollipop is high :D
[Galaxy S II Android Development] Heroeagle:
hope so :D
[Galaxy S II Android Development] JavaScout:
Hi friends! I'm using this init.d script to override some of the defaults, but governor, io scheduler and something esle is not reset to my values… why is that?

https://github.com/AnthraxBass/KernelBootParams/blob/master/01AnthraxBass.sh

P.S. [MENTION=4217277]Gustavo_s[/MENTION] , mate, how can I debug this script to find out what entity messes with my values?
[Galaxy S II Android Development] tanqueta207:
Is [MENTION=4217277]Gustavo_s[/MENTION] working on a lollipop kernel? I'm waiting to!
[Galaxy S II Android Development] x3dnd3x:
I'm on CM11 20141218 Nightly. Would the latest kernel with trim work with the ROM? I believe I'm still on stock kernel in this ROM's build.
[Galaxy S II Android Development] Heroeagle:
gustavo said that lollipop kernel is ready . waiting :)