yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] robsonsilva:
Wow! New Version! Thanks again bro. I love this kernel.

---------- Post added at 11:23 PM ---------- Previous post was at 11:22 PM ----------

Downloading ...
[Galaxy S 4 i9500 Android Development] :
Update!

v4.2

- Enabled Link Time Optimization again

- Updated Hyper toolchain to June 26 version but switched back to GCC 4.9.4

- Lower default min freq to 350MHz

- Now using AnyKernel template thanks to [MENTION=4544860]osm0sis[/MENTION]

Kernel can boot in AOSP ROM from Android 4.4 to 6.0 now since with AnyKernel template flashing kernel does not edit ramdisk. Despite that, I only support GearCM, RRemix and Temasek if there is any bugs. If you don't want Synapse just flash kernel, if you are on one of the 3 ROM I support and want Synapse just flashed the Synapse.zip on first page before kernel.

Have a nice day guys :D
[Galaxy S 4 i9500 Android Development] Phamtung30h:
Used for rr5.7.1!!!
[Galaxy S 4 i9500 Android Development] :
no not possible for now
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

can you fix 700 and 650 frequencies voltages , I change it in synapse but it not changed

and when I set my speaker volume value it back to default value and when I disable privacy mode it enable back , fix it please.
[Galaxy S 4 i9500 Android Development] :
man please stop report known issue, everytime i post new version i already said that problem with values not stick is not fix, when its fixed i will let u guys know :o
[Galaxy S 4 i9500 Android Development] AzizbekN1:
IR not working on RR 5.7.0 & you forgot changing version nuber its still 4.1
[Galaxy S 4 i9500 Android Development] :
Did it work in older version for you? And yes I was building some test version and I forgot to change it.
[Galaxy S 4 i9500 Android Development] AzizbekN1:
I dont know other versions I realized it just now . But I know that something wrong with RR sources. Cause Temasek working fine ( also the same source) .

Maybe you will find solution from Alberto's github. There were some changes for IR ( device tree not kernel)

Again something wrong with RR sources ( I mean kingdevil's sources not Alberto's or RR)

I know that "kingdevil" (RR builder for i9500) made his own changes in device tree
[Galaxy S 4 i9500 Android Development] Speedspaz:
So we still cannot use v4.2 for RR 5.7.1?
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Yes dev. said it many times . Plz read posts
[Galaxy S 4 i9500 Android Development] Speedspaz:
If you look old posts you can see that I'm following the thread. I just doesn't sure about the last version. Why no kernel can be used on RR v5.7.1 I love the rom :/
[Galaxy S 4 i9500 Android Development] mash20:
ok thanks,

but can you correct and fix 650 and 700 frequencies voltages ?

(when I change 700 and 650 frequencies it change 800 and 600 frequencies and the 700 and 650 not changed voltages)

volts values change in synapse but not change in kernel files like in the photo in my previous post .

,,

and can you add "dirty expire centisecs" and "dirty writeback centisecs" options in memory tab please ?
[Galaxy S 4 i9500 Android Development] :
because i cant make it works with 5.7.1 yet, usually we just need to replace ramdisk but for 5.7.1, the rom changed so that it need selinux permissive also i think, selinux disabled like now doesnt boot
[Galaxy S 4 i9500 Android Development] :
yeh i know try to use kernel adiutor to edit them for now, use kernel adiutor and set on boot on thing that get revert by synapse too so it doesnt revert anymore
[Galaxy S 4 i9500 Android Development] :
Small update!

v4.3

- Switched to custom Link Time Optimzation Linaro 5.3.1 by [MENTION=4898097]arter97[/MENTION] -experimenting-

- Removed many items in config for lighter kernel

- Disabled some governors and schedulers

- Merged some parts with [MENTION=2386505]Alberto96[/MENTION] and [MENTION=4296690]asad007[/MENTION] source to fix some issues

- Tuned ondemand and interactive

- Some minor optimizations

I'm kinda busy lately so can't look into RRemix 5.7.1 fix yet. I applied the fix by asad but it conflicted with some features in my kernel so I will still keep selinux disabled for now until I have time to fix it. Good day guys ! :fingers-crossed:
[Galaxy S 4 i9500 Android Development] lamhoang:
I think it is best to have hotplugging off since ondemand and interactive don't work that well with hotplug. Then you can add like abyssplug and governors like that for users who wants hotplug :D
[Galaxy S 4 i9500 Android Development] mido_senpai:
I have a problem with custom kernels on resurrection remix , i always endup with a bootloop even after clearing cache

Am using Chinese pit file

I have tried this kernel upto 4.0

Any help ?

Thanks in advance
[Galaxy S 4 i9500 Android Development] krasCGQ:
Hotplug drivers are optimized mostly for Qualcomm-powered devices.

The dev has problems with RR and currently investigating that problem.
[Galaxy S 4 i9500 Android Development] :
krasCGQ explained it for you :D im still fixing it, pretty busy lately

I thought people wants it lol cuz I don't like hotplug on our devices either, will be removed next version :fingers-crossed:
[Galaxy S 4 i9500 Android Development] mido_senpai:
Am sorry that i didn't read the previous comments

And thank you both for explaining

I'll wait and hope for the best

Best of luck :)
[Galaxy S 4 i9500 Android Development] :
Update!

v5.0

- Switched to lastest Hyper toolchain 6.1.1 LinaroxSabermod again

- ROW as default to improve boot time

- Powersuspend hybrid as the default

- Cleaned up unnecessary features in synapse

- Added multi-core power saving

- Disabled hotplug since it doesn't work well on our devices

- Disabled A7 1300MHz freq, A15 700Mhz freq

- Tuned governors for battery

- Mimicked charging tweaks by [MENTION=4296690]asad007[/MENTION]

- Permissive selinux ( thanks [MENTION=4296690]asad007[/MENTION] again ), now boot in 5.7.2, tested by me

- Some minor tweaks and optimizations

Enjoy guys!
[Galaxy S 4 i9500 Android Development] Recrs23:
Wuu thanks a lot bro :) Now i can flash it to 5.7.2. You are the man [emoji14]
[Galaxy S 4 i9500 Android Development] Speedspaz:
Yey! I'm still using 5.7.1. Does it boot on 5.7.1?
[Galaxy S 4 i9500 Android Development] :
yes it will, since selinu is permissive now, try and report back if there is any problem :D
[Galaxy S 4 i9500 Android Development] robsonsilva:
Wow! SaberMod + GCC 6.1.1 + jwchen17 = Perfetc Kernel for I9500!
[Galaxy S 4 i9500 Android Development] robsonsilva:
Only one bug: It is not possible to use mtp or other through usb.
[Galaxy S 4 i9500 Android Development] MostaphaHida:
That's cuz battery current is hacked to the max to give u fast charging..tho u still can use usb functions through recovery.
[Galaxy S 4 i9500 Android Development] mido_senpai:
Thank you very much its working on RR

but i don't seem to have the charging options...

Anyway thanks alot
[Galaxy S 4 i9500 Android Development] :
already use charging tweak by [MENTION=4296690]asad007[/MENTION], now it charges at the maximum safe current so i think battery charge control section is not needed anymore
[Galaxy S 4 i9500 Android Development] Speedspaz:
It booted on 5.7.1 but I don't find synaps anywhere :(
[Galaxy S 4 i9500 Android Development] Toggie:
If i flash kernel right after flash rom, i have FC at CyanogenSetupWizard(GearCM12.1)(at stage after disable|enable network of operator). Kernel v5.0 AIO

And can u upload to your GoogleDisk all version of Nevermore kernel?)

And if u can, please add support synapse for Android 12.1(for official CM|GearCM|Mokee) or it's very difficult for you to supported so many ROMs?

At GearCM13 Synapse in some menu error, denied permission(About, CPU, GPU, Screen, Battery, Network, I/O, Memory, Entropy, PowerSuspend). And can't find another CPU Governor(only ondemand, interactive, consevative). Kernel v5.0G
[Galaxy S 4 i9500 Android Development] krasCGQ:
Known bug
[Galaxy S 4 i9500 Android Development] :
flash after you are done with setup, in chagelogs previous version i removed some governors, will be added next version

can you be more clearly with synapse in gearcm13, what does the screen show?
[Galaxy S 4 i9500 Android Development] :
what does it show you when synapse open?
[Galaxy S 4 i9500 Android Development] :
Small update!

v5.1

- Attempt to reduce battery drain in some places

- Enabled all governors and I/O schedulers

- Some minor optimizations

Small update today :D have fun tweaking!
[Galaxy S 4 i9500 Android Development] Pesimistadam:
2.0 GHz processor is harmful to
[Galaxy S 4 i9500 Android Development] Toggie:
It's all screenshot that i take... now i'm use AIO version of kernel.
[Galaxy S 4 i9500 Android Development] :
then dont use that freq, default freq only set from 350mhz to 1400mhz

oh ok ill take a look at that, i'm using rremix so can't test gearcm beforehand
[Galaxy S 4 i9500 Android Development] Pesimistadam:
I want to use 2.0 Ghz but damages the equipment he'd like to ask
[Galaxy S 4 i9500 Android Development] :
what do you mean? it's bad for the devices cuz OC make the chip hotter, 2.0ghz is not so stable as well i recommend 1.9ghz max if you want to do benchmark, for daily use i wouldn't recommend higher than 1.6ghz
[Galaxy S 4 i9500 Android Development] zozoz13:
Screen turns grey when I enable Register hook and Master sequence. It happens after first reboot. Other than that, the latest version are rock stable and good battery life. Using RR v5.7.2 btw.

Oh, I had error in GearCM13 too. Just like [MENTION=6282669]Toggie[/MENTION] had. In RR it works finely.

EDIT: The culprit is the SCR filter changed to gray values on all colors. Made it to default values, the screen goes fine again. But still on grey values, even though I changed it.

I must make it back to default values every single reboot.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] :
Small update!

v5.2

- Fixed freq got stuck on 600MHz ( A7 1200MHz )

- Re-added A7 1300MHz and A15 700MHz

- Re-enabled performance and powersave governor

- Removed some unnecessary optimization codes for smaller kernel

- Tweaked some governors

- Fixed synapse permission in GearCM ( need test as I don't run GearCM now )

ill work on it soon :D
[Galaxy S 4 i9500 Android Development] Toggie:
Nice=) Synapse at GearCM work :good:
[Galaxy S 4 i9500 Android Development] :
Small update!

v5.3

- Added back hotplug

- Fixed freq got stuck on 600MHz ( A7 1200MHz ) again

- Removed multi-core power save

- Re-added charge control and reverted charging tweaks

I don't like hotplug on our devices but without it my device heated up faster. Reverted stuffs for charging is also to reduce heat when charging too.
[Galaxy S 4 i9500 Android Development] Speedspaz:
Doesn't the zzmove and alucard governors do hotplug? Also why did you removed multi-core power saving? :)
[Galaxy S 4 i9500 Android Development] :
yes but those governors are not as stable, i reverted the commit with hotplug changes, in that commit was also where i added multicore, i will add it again tho :D
[Galaxy S 4 i9500 Android Development] Speedspaz:
Hahah that explains that. :D Also I'm using intelliactive governor not having any heating issues and the device is buttery smooth.

I noticed that nova launcher uses eats up the whole cpu and the cores always works at high speed and phone heats a lot on normal tasks I removed nova and the problem solved. Run the cpu monitor option in the developer options to see if someting uses cpu a lot. :D
[Galaxy S 4 i9500 Android Development] MarcoIgnacio:
Hello guys, im noob at this things, I recently flashed 5.0.1 and rooted. I wanted to know if there's really a big change by overclocking the phone. Because all this looks really complicated and I want to make sure its worth it if I do it. I hope you understand my concern giving the fact that all this is chinese to me. Just so you know, Im looking for better games experience.

Thank you all.
[Galaxy S 4 i9500 Android Development] :
no cpu wont change much, but u can set the graphics chip gpu to min 350mhz and max 532mhz for a better gaming experience

p/s: just so u know, this kernel is for 6.0 marshmallow aosp rom :D if u flash it on samsung 5.0.1 u will have bootloop
[Galaxy S 4 i9500 Android Development] MarcoIgnacio:
Thank you for the comments. I'll have that in mind when I make the decision.

:good:
[Galaxy S 4 i9500 Android Development] TaylinG:
Will it work on aicp?
[Galaxy S 4 i9500 Android Development] :
use the gearcm version, it should work since aicp is based on gearcm, let me know if it doesnt ;)
[Galaxy S 4 i9500 Android Development] :
Update!

v5.4

- Disabled A7 1300MHz freq, A15 700Mhz freq again

- Removed VoLtaqe custom busybox 1.25.0

- Fixed screen control not working

- Fixed CRC control not working

- Removed many unnecessary synapse features

- Removed many makefile tweaks and flags for more stable kernel

- Used -O2 flag for smaller and more stable kernel

- Many more minor optimizations

I removed LMK control in synapse too so please use Kernel Adiutor to configure it for now. Screen control works fine now tho. Most of the changes in this version aims for a more stable kernel :) Have fun!
[Galaxy S 4 i9500 Android Development] hakfur5328:
My phone is fast charging when I use v5.2 but my phone is slow charging when I use v5.3 or v5.4 İ tried change some settings for battery tab but its every time slow charging. How can I fix it?

(Sorry for my English)
[Galaxy S 4 i9500 Android Development] :
thanks for reporting, must be problems with my source then, i tested it this morning and it works fine but now you report it i tried again and it not working again
[Galaxy S 4 i9500 Android Development] :
Increase that 1600 current bar to 1900 like the bar above, and also i dont think that charging info on the lockscreen is accurate either, check the current on the battery tab, if its ~1600ma ( ~1900 if u increase to what i said ) then its running fine already, if not then might be problems with ur charger or cable
[Galaxy S 4 i9500 Android Development] hataw:
what is the best options for best battery life ? any guide ?
[Galaxy S 4 i9500 Android Development] esbatulembek:
My phone kept freezing and rebooting while testing my speed using Speedtest
[Galaxy S 4 i9500 Android Development] Speedspaz:
It is not related with kernel probably.
[Galaxy S 4 i9500 Android Development] esbatulembek:
I don't know but the issue has fixed after i changed another kernel
[Galaxy S 4 i9500 Android Development] :
probably because i disabled some network stuffs in my defconfig
[Galaxy S 4 i9500 Android Development] esbatulembek:
Well, would you like to fix it? :D
[Galaxy S 4 i9500 Android Development] :
yes ill enable them next version :D
[Galaxy S 4 i9500 Android Development] ThunderSky7:
S View Cover is not working after flashing Kernal.

Its working on stock cm Kernal.

Galaxy S4 (GT-I9500) Resurrection Remix 5.7.1
[Galaxy S 4 i9500 Android Development] :
Update!

v5.5

- Switched back to -O3 flag

- Re-enabled debugging and logger to get logs

- Attempt to fix some reported app problem by re-enabled some config settings

- Tuned some governors

- Added Dynamic Range Compression control in Audio tab

- Added Wi-Fi power management control in Network tab

- Added scripts to set some default values

- Added [MENTION=5189040]MD500[/MENTION] script in kernel init script to temporary fix MDNIE

No major changes in this update cuz I don't have much time. Enjoy guys :D
[Galaxy S 4 i9500 Android Development] 084153:
Thanks for update but since 5.4 and 5.5 i can't change the cpu governor in Synapse. I am on GearCM.
[Galaxy S 4 i9500 Android Development] MD500:
In terminal emulator(as root):

chmod -R 777 /sys/devices/system/cpu/cpu0/cpufreq

Force Close Synapse and should work.

If you want make an init.d file and put in /etc/init.d/<file> (same location: /system/etc/init.d/<file>)

#!/system/bin/sh
sleep 4
chmod -R 777 /sys/devices/system/cpu/cpu0/cpufreq
[Galaxy S 4 i9500 Android Development] 084153:
Hey thanks but unfortunately didn't worked. Tried both methods.
[Galaxy S 4 i9500 Android Development] :
Small update!

v5.6

- Fixed battery capacity

- Fixed governor control in synapse

- Some minor changes and optimizations

- Removed some leftover lines in synapse

try new version :D
[Galaxy S 4 i9500 Android Development] 084153:
Thanks its fixed but can you fix Register Hook and Master Sequence like you add the fix in 5.5, it was working well on 5.5 but not now. I really like how the colors were in 5.5. Thanks.
[Galaxy S 4 i9500 Android Development] :
synapse has issues setting values, try using both synapse and kernel adiutor to enable Register Hook and Master Sequence
[Galaxy S 4 i9500 Android Development] esbatulembek:
Why this is happening?

I'm on rr remix with the latest kernel
[Galaxy S 4 i9500 Android Development] krasCGQ:
Seems like either:

res/synapse/actions is not found on the ramdisk.

Failed to set proper permissions for Synapse files.
[Galaxy S 4 i9500 Android Development] zozoz13:
Same here...

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] esbatulembek:
It's obvious there's an issue on rr kernel

Hope op fix it soon

If he have spare time of course :)
[Galaxy S 4 i9500 Android Development] krasCGQ:
I think it comes from the ramdisk because /res/synapse/actions is missing...

If it comes from the kernel then the path would be /proc or /sys instead...
[Galaxy S 4 i9500 Android Development] :
sorry guys, i'll release a new version synapse fixed asap when i have time :D
[Galaxy S 4 i9500 Android Development] :
Small update!

v5.7

- Added multicore power saving control

- Used -Ofast flag and removed some other optimization flags

- Used less saturated screen colors as default

- Tuned some default values

- Fix permissions for RRemix version ( need test )

If you don't like the colors, turn Register Hook and Master Sequence off in synapse and kernel adiutor also in case value don't stick. I'm using AICP right now so can't test RRemix version. Tell me if synapse is working or not :D Enjoy!
[Galaxy S 4 i9500 Android Development] esbatulembek:
404 not found
[Galaxy S 4 i9500 Android Development] :
I just removed links for GearCM and RRemix because of some synapse problems, will be reuploaded

e
[Galaxy S 4 i9500 Android Development] :
New changelogs for v5.7 here

v5.7

- Added multicore power saving control in synapse

- Used -Ofast flag

- Used less saturated screen colors as default

- Tuned some default values

- Fixed permissions for RRemix version

- Added snappy compressor

Links are up again too :D I also edited the instructions for synapse after install on the first post
[Galaxy S 4 i9500 Android Development] Toggie:
Hello, I'm use kernel for gearcm v5.7, set Alucard governor(without any other change). ROM - latest GearCM.

Phone can't awake, if i don't touch it at few minutes.

Link for logcat(630kb, can't download on xda server)

P.S. I don't see lionheart, intelliactive, userspace governors.

P.P.S. At ZZmoove profile 2 also I can awake phone.
[Galaxy S 4 i9500 Android Development] :
Removed them cuz of stability, and yes sometimes phone cant wake, ill work on them for next version hopefully
[Galaxy S 4 i9500 Android Development] todays4:
how to overclock more than 1,6mhz? :confused:
[Galaxy S 4 i9500 Android Development] 084153:
Just to let you know on 5.7 is everything really fine. Everything is working.
[Galaxy S 4 i9500 Android Development] JhonnK:
Don't work link for RR
[Galaxy S 4 i9500 Android Development] yesh8352:
Here you go:)

https://www.androidfilehost.com/?fid=24686681827312637
[Galaxy S 4 i9500 Android Development] :
Update!

v5.8

- Improved GPU performance

- Fixed a possible memory leak

- Disabled CPU Boost and Hotplug (

- Disabled some old governors and added intellimm, impulse, nightmare governors

- Tuned governors for balanced between performance & battery

- Attempted to fix problems with phone sometimes can't wake up

- Optimized memory use and tweaked default values

- Many optimizations to source to better performance

Enjoy guys :D
[Galaxy S 4 i9500 Android Development] :
Small update!

v5.9 - August 30, 2016

- Used A7 optimization flag

- Fixed ondemand stuck at 600MHz ( A7 1200MHz )

- Implemented readpages() to optimize sequential read speed

- Some minor changes and optimizations to CPU
[Galaxy S 4 i9500 Android Development] jabia:
Could we please get hotplug back? Me likey. I experienced issues with the phone waking up, good to know it's been looked into.

Thanks jwchen17!
[Galaxy S 4 i9500 Android Development] :
Apparently phone only hotplug when screen off, it is not efficient in our phones so until i can implement new hotplug mechanism, old hotplug wont be added back
[Galaxy S 4 i9500 Android Development] jabia:
Surprised to hear. When I checked (in synapse), it actually hotplugged with the screen on. The only thing out of hand I noticed was that the CPU usually just ramped up to 1400MHz, behaviour which I put up to the default ondemand governor.
[Galaxy S 4 i9500 Android Development] :
yes, thats why that on screen hotplug is not very good, its better to have 4 cores so it run at low freqs than having hotplug and cores have to ramped up to the highest when more performance needed

p/s: did u try to newest version 5.9? the cpu doesnt ramped up and stay at max freq anymore :D
[Galaxy S 4 i9500 Android Development] jabia:
Oh... That makes sense. I was holding off on flashing the latest update, assumed it would result in poorer battery life. I guess that accounts for why my device was always running warm (not hot, mind you but warmer than I was used to).

I'd let you know my thoughts on v5.9!
[Galaxy S 4 i9500 Android Development] Yeison93:
this kernel work in Rom Ale95 note5? plz answer
[Galaxy S 4 i9500 Android Development] :
No it wont, AOSP/CM rom only
[Galaxy S 4 i9500 Android Development] :
Update!

v6.0 - 02092016

- Increased default max freq to 1600MHz

- Tuned default values a bit

- Made Software CRC control available in synapse again

- Re-added scrolling caches control, drop caches and some network features back to synapse

- Disabled logging and debugging stuffs again

- Switched back to -O3, disabled -fgraphite

- Disabled Dynamic Fsync & ZRAM for stability

- Some more minor optimizations..
[Galaxy S 4 i9500 Android Development] mash20:
Good kernel

I have a random reboot

this is a log

https://www.dropbox.com/s/zujcnlrq5faprhj/last_kmsg5?dl=0
[Galaxy S 4 i9500 Android Development] :
thanks ill check it out asap
[Galaxy S 4 i9500 Android Development] mash20:
Thanks for Kernel

But I cant find FIOPS
[Galaxy S 4 i9500 Android Development] :
Hm I might forgot to activate it, thanks for reporting, it will be there next version :D
[Galaxy S 4 i9500 Android Development] Skrillex2911:
Really good work Jun Wei. I like it. I would like to see in future a way to Manage the audio configs, Synapse could do the work. And Fast Charge support in Adiutor or just set the input current at 1900 ma. Thanks for your work Chen.

-Khan

Edit 1: I just tested the kernel with f2fs cache and data partitions and its working really good. You should place that Feature on OP and tell guys how to format partitions on f2fs
[Galaxy S 4 i9500 Android Development] :
Thanks for the quick review bro, I just studied other devs github like asad and alberto for many of the features, big thanks to them :p and yes im working on adding synapse but I think it will take sometimes for me to learn

p/s how do u know my name tho :victory: ?
[Galaxy S 4 i9500 Android Development] Skrillex2911:
There is a Facebook addres in your profile mate LOL. Dont worry about time. We can wait for Synapse. But im kind of eager to see Fast Charge. If you want you can pm me your Whatsapp number. Id like to keep in touch.
[Galaxy S 4 i9500 Android Development] :
Oh yeh haha :D forgot about that :silly: . I'll do fast charge next version :good:
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

Can you add Wolfson sound control

to make audio better
[Galaxy S 4 i9500 Android Development] :
yes ill try to add it with control in synapse in upcoming updates :highfive: