yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] JavaScout:
Friends, have someone else experienced Slide2Wake issues? I cannot turn it off! As long as I have stweaks installed and the settings reset to default - s2w is off. After I uninstall and reboot - it's back :(
[Galaxy S II Android Development] ahmedelhofy:
Use Synpase... Never had any issues with it...
[Galaxy S II Android Development] JavaScout:
Synapse doesn't work for me: 'no uci detected'

---------- Post added at 11:45 PM ---------- Previous post was at 11:35 PM ----------

Btw, I still have the corruption with Lanchon's 2-process app…
[Galaxy S II Android Development] Gustavo_s:
Uploaded new kernels with FPBug fix and TRIM support. Thanks to [MENTION=4141005]Lanchon[/MENTION] and [MENTION=5948587]zeitferne[/MENTION] for the hard work.

I'll work on stweaks in the next weekend
[Galaxy S II Android Development] OmarWatson:
Wifi not working with your 23/12 kernel bro. I'm using a modded partition. Your kernel was the only one that worked properly with the modded Pit files. All the rest I tried, Dorimanx etc would break the Wifi with the modded Partition.
[Galaxy S II Android Development] Gustavo_s:
Download the attached file, extract and replace the existing one in /system/lib/modules

on terminal:

reboot and check if wifi works
[Galaxy S II Android Development] OmarWatson:
Worked bro! Thanks alot!! :)
[Galaxy S II Android Development] DarkJohn:
TWRP version please ? :D
[Galaxy S II Android Development] Gustavo_s:
It's not 2.8.3 yet
[Galaxy S II Android Development] 089man:
Hi [MENTION=4217277]Gustavo_s[/MENTION] have Flash your new build twrp, all works fine. No WiFi issue here. WiFi works perfectly.. Thanks for your work and development our s2.

I9100 Tapatalk 4, Spirit-Rom 4.4. 4
[Galaxy S II Android Development] mauriciognr:
Some noob info

I am no new or afraid of testing with my phone, but i had never use another kernel different that the one that comes with the ROM. I know how to make nandroid backups, use titanium backups, usea adb, odin, etc, i used a pit file to repartition my cel memory... yeah im fearless jaja. Anyway these are my main doubts:

1-. What do i get with this kernel? In plain words.

2-. I am using PACMAN ROM Android 4.4.4 and every 10 days or so i install the latest nightly. Horrible battery life when on mobile data, sleeps ok on wifi. Ive tried a lot of things, other roms, greenify, wakelock blocker.... and several roms, even changed my modem from XXLS6 to XXLS8. Can i use this Kernel with PACMAN ROM? Yes? No? Which kitkat rom do i need?

3-. Lets say i don't whant to use PACMAN anymore, can i use this kernel on spirit or the Linaro CM11 ?

Thanks and sorry for my english.
[Galaxy S II Android Development] chrhei:
Best kernel ever, all tools included, perfect. Thank you very much. And to all sponsors, too.
[Galaxy S II Android Development] patrickph:
The gsk systemmstatus always show CPU 100%, I use last twrp version with cm 11.
[Galaxy S II Android Development] jnetode:
Man, it's soooooooo good to have you back!

Thanks

[emoji122] [emoji122] [emoji122] [emoji122]
[Galaxy S II Android Development] JavaScout:
Cannot get rid of slide2wake :(
[Galaxy S II Android Development] oL00No:
Wifi killed after hard reboot on latest. Anyone had that problem?
[Galaxy S II Android Development] oL00No:
Edit : ls9 modem fixed it, but surfaceflinger process is getting stuck, and phone hot reboots.
[Galaxy S II Android Development] j1gga84:
For me battery consumption is very high when phone is in use, compared to Dorimanx Kernel, and I don't know why.. BBS does not show any misbehaviour..

There are not much settings you can set for battery consumption but every tip is appreciated.

I also found a bug in stweaks. I am on slimsaber and in advanced settings I disabled the touchkey illumination, I did the same in stweaks on the BLN tab and set the touchkey illumination to always off but after a reboot of the phone they are active again, although disabled in stweaks.. What could be the reason?

I also think that display brightness in lowest level is much too bright, even if I set gamma to - 15.. Compared to other kernel..

Regards and merry Christmas

Gesendet von meinem i9100 mit Tapatalk
[Galaxy S II Android Development] Spaulding89:
[MENTION=4699854]j1gga84[/MENTION] try Synapse. It should work good.

Sent from my lollipopped Bacon with loaded AK Kernel
[Galaxy S II Android Development] JavaScout:
Battery drain is high because 'slide2wake' is set by default, and there's no way to shut it down completely. So far I didn't find any workaround…
[Galaxy S II Android Development] ajrajr155:
Works good for me with synapse also battery life is AMAZING :D

I will post screenshots later
[Galaxy S II Android Development] Gustavo_s:
stweaks settings are outdated and bugged, i recommend to use synapse until it is fixed
[Galaxy S II Android Development] souler456:
Type this on Terminal Emulator:

echo 0 > /sys/devices/virtual/sec/sec_touchscreen/tsp_slide2wake

This will disable S2W. For an easier life, create an init.d script for it. You're welcome... :good:

:D :) ;) :good:
[Galaxy S II Android Development] Alucard:
Can u add support for UV,UC nd lowset brigtness level,these features are a must for me,just like the new s5 that has amazing low brigtness.Please do consider my suggestion.
[Galaxy S II Android Development] JavaScout:
Yeahhhh! Thanks ,mate [emoji33] [emoji28] [emoji106] [emoji106]
[Galaxy S II Android Development] Gustavo_s:
underclock is not efficient on i9100, wastes battery and performance is poor, 200 mhz is the ideal lowest frequency for smdk4210, undervolting is there, and lower brightness is there too with gamma shift setting in synapse
[Galaxy S II Android Development] j1gga84:
But gamma shifting is not the same I think..

And what about touchscreen settings (sensitivity)?

I ask because when scrolling and holding display flickers when device is on charger.. I hope you know what I mean.

Regards

Gesendet von meinem i9100 mit Tapatalk
[Galaxy S II Android Development] Alucard:
Thanks for replying.
[Galaxy S II Android Development] Giobio:
[MENTION=4217277]Gustavo_s[/MENTION] and who will read,

I tried latest 12/23 kernel and it seems to me it works fine. As usual for old versions, when I run Antutu I get better results with your kernel flashed.

Thanks for your work from my part too
[Galaxy S II Android Development] rabbo3:
my synapse does not apply personal settings after boot....
[Galaxy S II Android Development] rabbo3:
http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986 secondo link flash this 3.6.1 [MENTION=4577303]JavaScout[/MENTION]
[Galaxy S II Android Development] farisyi1:
Waited for a minute after boot
[Galaxy S II Android Development] souler456:
About Gamma Shifting, it's the same. If screen's still too bright even when brightness is set to the lowest, adjust its Gamma to make it even lower. :good:

About Touch Sensitivity... Uhmm... I think it's better if the Kernel Dev would add Touch Sensitivity controls (like on Dori). But for now, you could try manually adjusting it on Settings > Advance Options on KK ROMs (specifically SlimSaber) :p

:D :) ;) :good:
[Galaxy S II Android Development] ahmedelhofy:
[MENTION=4217277]Gustavo_s[/MENTION] : I lost my access to the Sim card (baseband went unknown and imei unknown as well) when I trimmed the system with your 23/12 kernel... Anyone faced that issue ?
[Galaxy S II Android Development] LiL_Assassin:
I face it too, and I have to fix permission and it comes back.
[Galaxy S II Android Development] ahmedelhofy:
Fix permission... How ?

DAT option in the cwm recovery, or there is a different way ?
[Galaxy S II Android Development] 089man:
How you trimed?

I9100 Tapatalk 4, Spirit-Rom 4.4. 4
[Galaxy S II Android Development] LiL_Assassin:
With twrp recovery
[Galaxy S II Android Development] ahmedelhofy:
Flash Gustavo's kernel

then run lagfix app Or execute some scripts from Lanchon's trim kernel OP...

Reboot... Done..
[Galaxy S II Android Development] rabbo3:
gpu

What do you suggest about these settings..

merry christmas
[Galaxy S II Android Development] ajrajr155:
This kernel has AWESOME battery life :D
[Galaxy S II Android Development] JavaScout:
What rom, gov, sheduler? [emoji54]
[Galaxy S II Android Development] TheMatrix2000:
Wi-Fi toggle don't work on latest kernel.
[Galaxy S II Android Development] ajrajr155:
Works good with this version (latest?)
[Galaxy S II Android Development] ajrajr155:
ROM: latest cm11 build by markox89

Gov : neox (aggressive tweak by me :D)

Scheduler : noop

[MENTION=308280]gustav[/MENTION]u_s or someone

Please Can give me guide how to add custome frequency and undervolt them :D

Or its some serious thing to add that?
[Galaxy S II Android Development] TheMatrix2000:
Yes. Same version.
[Galaxy S II Android Development] Grigster:
Woohoo! Finally FPBug Fix + TRIM.

Thank you, [MENTION=4217277]Gustavo_s[/MENTION]! Merry Christmas and all the best of everything!
[Galaxy S II Android Development] stefan_city:
Trim is enabled by default, or need to do something for it?
[Galaxy S II Android Development] Grigster:
Yes! It is enabled by default and works like a charm. Best kernel I have ever used so far. :highfive:

---------- Post added at 16:47 ---------- Previous post was at 15:57 ----------

Is it really necessary to replace the module file if the Wi-Fi works properly? Is there any diference between your file and the one from SlimSaber 4.4 ROM?

I have cleanly flashed everything ( ROM -> Kernel -> SuperSu -> GApps with System and Data/Cache wiped :) )

I am asking this since I flashed it over the stock kernel from SlimSaber and after one restart it was working anymore. ( previous attempt)
[Galaxy S II Android Development] j1gga84:
Is this necessary only when using STweaks or also with synapse? Although disabled in synapse?

Hmm, I see but without the lowest brightness settings I have to go to -30 or -40 with gamma shift and with Dorimanx -5 for example.. But if it is the same, okay, I can live with it..

Touch sensitivity controls would be perfect because when device is on charger the screen is not very good responsible at all.

Use Synapse, these settings are badly wrong!

Mainly the threshold settings, they are different (and correct) with synapse!

Hmm, not for me..

Quite good consumption in Deep Sleep (still not as good as with dorimanx) but in usage it is not very good.

Why? See screenshot. I can do what I want but frequency is not going under 500 MHz, why ??? Is that a bug? BBS shows no missbehaviour!

Any suggestions [MENTION=4217277]Gustavo_s[/MENTION] ?

And another question: I want to fetch a logcat with catlog app but alltough I activated logging (screenshot) it does not work, what must I do?

Regards
[Galaxy S II Android Development] Saber:
What cpu governor are you using? Is there a process that is keeping your phone active so the frequency is above or at 500mhz? Never had this problem before with this kernel. Perhaps you could try reflashing the kernel.

Edit: nvm, I'm actually experiencing the same issue too. According to nofrills CPU control, the phone can go to 200mhz but it only happens rarely. It seems that our phone goes to 500mhz on idle and deep sleep when screen is off.
[Galaxy S II Android Development] j1gga84:
I am using Ondemand/row combination, maybe I will test Pegasusq/row to check it.

What is very strange: The sampling rate min is at 100 MHz for Ondemand, I think that is wrong !?

Ondemand settings in attachment.

Regards
[Galaxy S II Android Development] Saber:
I was with pegasusq and sio when i tested and the same scenario was observed. For now, i'm using dorimanx 10.44 v007 (yes, cybernetus himself released this update) until this problem is fixed.
[Galaxy S II Android Development] j1gga84:
I think I will do the same until [MENTION=4217277]Gustavo_s[/MENTION] can have a look into it because battery drain is too high for me ATM :(

regards
[Galaxy S II Android Development] ahmedelhofy:
Looks normal I think from my side...
[Galaxy S II Android Development] killar_aka_arabu:
im so waiting for a Lollipop version of this kernel...i hope it will be relase, maybe just one single relase, with sound boost and bln))

thx, and sorry (shy)
[Galaxy S II Android Development] notabenem:
The very first lines in logcat (/dev/log/main) contain the following errors:

12-27 01:07:25.700: E/DirectVolume(1902): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p8' has a different major than its disk!
12-27 01:07:25.700: D/DirectVolume(1902): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 1, PARTN 9
12-27 01:07:25.700: E/DirectVolume(1902): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p9' has a different major than its disk!
12-27 01:07:25.700: D/DirectVolume(1902): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 2, PARTN 10
12-27 01:07:25.700: E/DirectVolume(1902): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p10' has a different major than its disk!
12-27 01:07:25.700: D/DirectVolume(1902): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 3, PARTN 11
12-27 01:07:25.700: E/DirectVolume(1902): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p11' has a different major than its disk!
12-27 01:07:25.700: D/DirectVolume(1902): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 4, PARTN 12
12-27 01:07:25.700: E/DirectVolume(1902): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p12' has a different major than its disk!
12-27 01:07:25.700: E/DirectVolume(1902): Dv:partAdd: ignoring part_num = 12 (max: 11) Override MAX_PARTITIONS to use these partitions

This is with the 23/12 build
[Galaxy S II Android Development] stylemessiah:
So what am i doing in your thread? Trying this kernel, some think im too pro-DorimanX :) and theres also the odd person who keeps misinforming people that DorimanX is dead (its not, new builders are in the process of cloning the git and building build PC's. and DorimanX himself has already added the fpbug to his repo) and [MENTION=1670821]cybernetus[/MENTION] just released a new kernel build today :)

So i thought id test this kernel.

My impressions so far after 4 days:

+ stable (even with my usual tweaking to uv etc)

+ i like not having to temp flash a trim enabled kernel to trim :) (although no discard option in mount output, so manually have to trim)

+ the fpbug solution

- the lack of customisation compared with DorimanX (as a Stweaks user for years i find synapse limited)

- battery life is much less than my DorimanX setup

So nothing thats a complete deal breaker (with the possible exception of the battery life), and some pluses. Overall very good work by [MENTION=4217277]Gustavo_s[/MENTION]
[Galaxy S II Android Development] Lanchon:
no discard mount option is the right way to do it. i removed that option. android 4.3+ is supposed to automatically trim during maintenance windows. is there a problem with this? you know something i dont?
[Galaxy S II Android Development] stylemessiah:
Geez, where did you come from :) Lol, im starting to think youre omnipresent

As for the discard option, everything ive seen refers to discard, but im not going to second guess you on this, especially since i discovered more info since my last post :)

Consider me corrected sir.

But since youre here, you can perhaps answer the only query i have left, will my ext4 formatted internal scdard get the same treatment

Lagfix of course doesnt refer to internal memory...

Nevetheless, i ran fstrim on it manually after installing the kernel (fstrim -v /mnt/media_rw/sdcard0) as an initial cleanup
[Galaxy S II Android Development] Lanchon:
lol!

i think "removable" partitions are not candidates for autotrim. you can invoke the maintenance manually (with /sdcard mounted!) and then check the log.
[Galaxy S II Android Development] stylemessiah:
I think youre exactly right

Mean while doing

vdc fstrim dotrim | logcat | grep fstrim

The only mounts that are trimmed are /cache, /data, /efs, and /preload.....no sign of /system or of course as mentioned sdcard

Nevermind, ill just:

su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload; fstrim -v /mnt/media_rw/sdcard0"

Which finishes just fine

Ill blame you for my foray into TRIM, and even though i didnt find a big difference in performance (as in that post of mine you replied to the other week in the slimsaber thread), im still looking into it :) My excuse today was that it was built into [MENTION=4217277]Gustavo_s[/MENTION]'s kernel which im testing...unlike the first time i tried it via temp kernel flash whilst on DorimanX
[Galaxy S II Android Development] Lanchon:
:)

read only mounts are not considered for autotrim (explains /system). IMHO they should. the thingy could detect modifications (partition's last mod date, last seen free space, or whatever way they want to do it) and trim. or just trim on every window, the effort is negligible.

trim seems to work on read-only mounted partitions anyway, so it'd be trivial to implement. but this fact may be considered a kernel bug; trimming is very very not read-only! trim a partition that is corrupted and you may loose data. IMO trim shouldnt work on ro mounted partitions.
[Galaxy S II Android Development] Zile995:
Is this a bug in the kernel?
[Galaxy S II Android Development] JavaScout:
[MENTION=5839502]Zile995[/MENTION]

Try to let the phone sleep a little bit and then open the freq monitor- you can spot 200MHz as well. This freq, 200, is available. It is just that ondemand and neox takes a lot of time to 'cool down'.
[Galaxy S II Android Development] j1gga84:
[MENTION=5839502]Zile995[/MENTION]

That's a bug me and another user already mentioned and hopefully [MENTION=4217277]Gustavo_s[/MENTION] will find a fix for that but anyway thanks for the Screenshots :)

Regards

Sent from my GT-I9100 with german Tapatalk
[Galaxy S II Android Development] MikiGry:
[MENTION=5190299]ZeiL[/MENTION]e

I dont have that issue.

Wysłane z w pełni zomptymalizowanego Cyano-fonika 11 powered by Gustavo kernel...
[Galaxy S II Android Development] Zile995:
No, i think that there is some problem. As you can see min freq is 200MHz and max freq is 200MHz...
[Galaxy S II Android Development] Cirra92:
Is the TRIM enabled by default, or do we have to run the script manually?

There were claims for both cases, so who to believe now?
[Galaxy S II Android Development] MikiGry:
[MENTION=5070317]Cirra92[/MENTION]

I think Trim is off by default.

Wysłane z w pełni zomptymalizowanego Cyano-fonika 11 powered by Gustavo kernel...
[Galaxy S II Android Development] rabbo3:
When i boot wait 10 mimutes same screen when i open synaspe .. Understood.. i press x but setting doesn t return .. Why?
[Galaxy S II Android Development] j1gga84:
That settings can be stored/applied after a reboot it is necessary that Synapse is in the list of autostart apps, otherwise it will not work.

regards
[Galaxy S II Android Development] rabbo3:
how i can control???
[Galaxy S II Android Development] j1gga84:
[MENTION=5092741]rabbo3[/MENTION]

I control autostarts with 3C Toolbox (former Android Tuner) ?

Regards

Sent from my GT-I9100 with german Tapatalk
[Galaxy S II Android Development] JavaScout:
Does someone have problem with Twrp - zip signature verification?
[Galaxy S II Android Development] Alucard:
Not me,the only bug ive encountered is that it cant get after restart to sim unlock screen and therefore i dont have network,also pedestres brigtness level is lower,is there a way to lower it from synapse or will it be an update on the kernel with this feature plus bug solved?Battery life seems really good plus really smooth!
[Galaxy S II Android Development] Resync:
Omg awesome thx gustavo I almost thought this kernel is dead!

Happy new year to all!
[Galaxy S II Android Development] Saber:
Uploaded odin flashable gustavo kernel for kitkat. Will remove if gustavo says so.

Download: https://drive.google.com/folderview?id=0B3ApZsjOd2bzMzFsMVRHTlBUMXM&usp=sharing
[Galaxy S II Android Development] 089man:
Here the link not works? Have test with any difficult browsers...

I9100 Tapatalk 4, RR 5.0.2 Lollipop
[Galaxy S II Android Development] Saber:
You mean my link??? Probably ISP firewall.
[Galaxy S II Android Development] 089man:
Yes, mean your link... Ok, must look. Have firewall from Dr. Web, but have no blocked...

I9100 Tapatalk 4, RR 5.0.2 Lollipop
[Galaxy S II Android Development] Saber:
Ok. Uploading to mediafire right now. See if this will fix your problem

Download link: https://www.mediafire.com/folder/v7knda6rcxyp7/Gustavo_Kernel
[Galaxy S II Android Development] 089man:
Thanks, have the link copied and pasted in the browser, now it's works. Thanks for help..

I9100 Tapatalk 4, RR 5.0.2 Lollipop
[Galaxy S II Android Development] Gustavo_s:
First 2015 kernels uploaded.

Changelog:

Download

Guys i can't track all bugs here in the thread, i don't have time to read all posts here and my i9100 is not my daily driver, even if i wanted to take it with me one or two days in the week to test the stability i can't because i don't have a sim card that fits on it anymore (my moto x uses a nano sim card). I created a sheet on google docs, please report bugs there, it will make bug fixing a lot easier for me.

https://docs.google.com/spreadsheets/d/1CBiv3KYTGeOKMnrXVAr1_SqKXDxq1E_6wvBb2Vs8Ttw/edit?usp=sharing
[Galaxy S II Android Development] LiL_Assassin:
I've been trying your kernel, I do like it. Is there anyway you can add nightmare kernel and alucard? Or however it's spelt.
[Galaxy S II Android Development] Saber:
Thanks for your wonderful kernel. Will report any bugs asap. Will also make tar files too.

---------- Post added at 06:30 AM ---------- Previous post was at 06:19 AM ----------

Lol. First bug is that we can't edit the google spreadsheet. :confused:

For the time being, I will list some bugs:

- Dynamic fsync can not be disabled via synapse

- Wifi is disabled at every reboot

- Slide to wake is still enabled by default

- Maximum frequency is 1400mhz by default (should be 1200mhz)

- After trimming partitions and mucking around with this kernel, found that synapse was freezing when I changed the CPU governor.

ODIN flashable kernel (based on 05/01) has been uploaded

Download (Google drive): https://drive.google.com/folderview?id=0B3ApZsjOd2bzMzFsMVRHTlBUMXM&usp=sharing

Mirror (Mediafire): https://www.mediafire.com/folder/v7knda6rcxyp7/Gustavo_Kernel
[Galaxy S II Android Development] sharp87:
[MENTION=4217277]Gustavo_s[/MENTION] thanks [emoji1] ...bug report in doc sheet is an good idea [emoji106] ..
[Galaxy S II Android Development] j1gga84:
[MENTION=5811506]gsstudios[/MENTION]

Do you also have the problem that kernel is not going to 200 MHz when idle? On my side only 500 MHz and so battery drain is very high when I use device (in DS no problem)

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S II Android Development] Saber:
This seems to affect slimsaber users (those who are on newer versions). There is something breaking compatibility between slimsaber and this kernel and as of a result loads of battery is lost. Must gather more results to confirm this issue. Right now I'm testing cmsaber by markox and not experiencing this issue, but there are a some other issues though.

Update 1: Seems to affect all versions of slimsaber kitkat.
[Galaxy S II Android Development] Mockingbird:
In the past I had issues with this kernel loosin baseband after reboot. Is it fixed?
[Galaxy S II Android Development] Twiq:
sim toolkit is not part of the kernel, anyway.. to use the sim toolkit you need to ENABLE SIM PIN then reboot, sim toolkit will automagically appear
[Galaxy S II Android Development] farisyi1:
Testing latest version and thanks [MENTION=4217277]Gustavo_s[/MENTION] for updating zzmoove to v1.0 beta 4 all working good except if i chose zzgame profile it's name "default" not zanezam gaming but it doesn't matter at all and yeah TWRP still 2.8.1.0 not 2.8.3.0 :)
[Galaxy S II Android Development] Gustavo_s:
Fixed permission to edit :)
[Galaxy S II Android Development] chrhei:
You are right, I've forgotten this, but I have enabled SIM pin andthe toolkit is still missing. Not a big deal.....