yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] crisis_trustee:
What about new NevermoreX Kernel for lineage-14.1-unoficial ofAlberto96 (Android 7.1.1)?
[Galaxy S 4 i9500 Android Development] nebrass farfoor:
thanks so much dear

this is the best Kernel for our i9500 for TW based ROMs Merci
[Galaxy S 4 i9500 Android Development] daogiahieu:
Is this a problem ?
[Galaxy S 4 i9500 Android Development] :
known issues
[Galaxy S 4 i9500 Android Development] daogiahieu:
I have another problem with synapse.

everytime i restart, the settings in synapse disappeared.

I am using madit rom
[Galaxy S 4 i9500 Android Development] :
untick stability check in synapse settings yet?
[Galaxy S 4 i9500 Android Development] daogiahieu:
Yes i did it. I relfashed the kernel and it worked.

But the gpu tab still didn't work. Every time i change it and close synapse. When reopen synapse, the settings of gpu restore default setings. Other worked.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Another question, now my phone takes 2 hours to full charge from 15% to 100%. Now i want it charge faster, may be 1h30 to full charger. What settings should i set in tab battery of synapse ?
[Galaxy S 4 i9500 Android Development] irvinehooi:
Sorry, just ignore this post.

I made a mistake.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Can i set this ?

Before, this is the default setting in the first pictures.

The after pictures is the setting i change.

Is it save ?

And what is the differnt between input and charge line ?
[Galaxy S 4 i9500 Android Development] :
for gpu cuz i set defasult value using script, and for charging 2000 is a bit high, 1600 is also a bit high for on screen so i would not say that its totally safe so be careful
[Galaxy S 4 i9500 Android Development] daogiahieu:
Ok i see about battery charge.

But so that i can't change in gpu tabs, right ?

I see the minium gpu is 177 ghz, is that so low ?
[Galaxy S 4 i9500 Android Development] :
u can change it after device finished boot to whatever u like, everytime the device restart it reset the values so u have to adjust them manually
[Galaxy S 4 i9500 Android Development] davypacheco:
Now android 7.1 is stable enough for daily use. Can we get support of this kernel for it in the near future?
[Galaxy S 4 i9500 Android Development] $eVe7n:
9.9 best version thanx man :svetius:
[Galaxy S 4 i9500 Android Development] daogiahieu:
What problem with the final version ?

I think it will be better. :angel:
[Galaxy S 4 i9500 Android Development] $eVe7n:
Sometime the phone freezes :(
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Charging is slow and there seems to be some random freezing issues that cause me to have to reboot sometimes
[Galaxy S 4 i9500 Android Development] irvinehooi:
[/COLOR]

Hi, just want to check with you do you changed any settings in Synapse when you are in this final version ?

Thanks.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Yea I changed a few things but nothing earth shattering like voltages why?
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi just want to know by not changing any of the default settings of this final version will it working fine without any freeze or random reboot.

Thanks.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
I will have to test that and let you know, I will keep you posted.
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi mate, changing the screen on charging value so high will give you a very hot phone when you are using your phone while charging.
[Galaxy S 4 i9500 Android Development] :
Small update!

v10.2

- Changed toolchain to LxSM 5.x

- Tuned governors & init scripts

- Removed unnecessary optimization flags for smaller kernel

- Compressed ramdisk in LZMA for smaller package

- Small changes for kernel and install script

Happy Easter ! Shout out to [MENTION=8089787]halbinger[/MENTION] again for making this version.

Btw guys I made a guide regarding 11GB pit, head here if u are interested
[Galaxy S 4 i9500 Android Development] halbinger:
Hi guys! Hope you guys enjoy it and give me some feedbacks :D First post on XDA lol
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Testing now and I will get back to you..
[Galaxy S 4 i9500 Android Development] reaperlinkz:
This kernel causes boot loops that don't stop until I go back to my old kernel, did you test this before uploading it?
[Galaxy S 4 i9500 Android Development] krasCGQ:
Nope, check i9506 section for the working kernel for your device.
[Galaxy S 4 i9500 Android Development] :
which version?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
10.2 the latest version for RR (resurrection remix)
[Galaxy S 4 i9500 Android Development] john seyers:
10.2 causes bootloop in TW as well .... had to revert back to 10 final tw
[Galaxy S 4 i9500 Android Development] :
probably wait a while for a fixed version, halbinger said that it might be the toolchain and opt flags that he used
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Ok kool thanks
[Galaxy S 4 i9500 Android Development] daogiahieu:
Is halbinger your friend ?

And two of you are working together to develop this kernel ? :angel:

Why i don't see him in here, where are you another dev ?
[Galaxy S 4 i9500 Android Development] :
he just posted on his account some posts above lol, and yes he is my close friend

edit: and sorry bois, i changed the ramdisk compression to lzma but didnt tell halbinger to enable lzma ramdisk support so thats why kernel did not boot, my bad :d
[Galaxy S 4 i9500 Android Development] :
v10.3 - 17042017

- Removed gpu init scripts

- Decreased the default RQ Affinity to 1

- Fixed some minor issues regarding Synapse

- Attempted to fix logging function

- Attempted to improve big.LITTLE switching

Was about to just release a ramdisk fix for 10.2 but made some more changes so I guess here is 10.3
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Good work on the latest version it boots fine, testing underway.

I can confirm that the mobile crashes or freezes up when there is quite a bit of multitasking going on I am not sure if that's something you can look into though since I notice this with quite a few kernels for i9500

Otherwise great job.
[Galaxy S 4 i9500 Android Development] $eVe7n:
What is this ? problem ?
[Galaxy S 4 i9500 Android Development] davypacheco:
Is not nothing important, just ignore it
[Galaxy S 4 i9500 Android Development] $eVe7n:
Last version battery is excellent
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Anyone else getting random freezing on the latest version?
[Galaxy S 4 i9500 Android Development] $eVe7n:
Okey thanx bro :o

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

Nope but maybe once a day
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Hmm that's strange I have been getting random freezing a lot especially when I try to run multiple apps at once or open my camera
[Galaxy S 4 i9500 Android Development] hansonchen:
Random freezing for me too on the latest version (older versions too), kernel is fast & gives very good battery when idling though. I'm not into tweaking kernel nowadays, so i went back using stock kernel that comes with rom without reporting here
[Galaxy S 4 i9500 Android Development] :
I want to say that v10.3 is probably the last version for those who use Touchwiz, GearCM & RRemix Marshmallow! I'm working on kernel for Nougat AOSP ROMs at the moment so I don't think I'll have time managing too many kernel variants.. So stay tuned!
[Galaxy S 4 i9500 Android Development] reaperlinkz:
There is still random freezing with the latest version 10.3 so maybe you should fix that before writing it off altogether, no use leaving it like that if it can be fixed right??
[Galaxy S 4 i9500 Android Development] :
as i said, im using lineage at the moment, i cant test and fix the old versions for now, nougat kernel will be rebased on alberto's source so it is completely separated from jwchen's old nevermore source. furthermore, i already tried to improve jwchen's old kernel by building 10.0 -> 10.3 for u guys, jwchen's nevermore should be already end of life but its just that i still want to continue it for nougat roms, i really like to have synapse on my nougat rom, thats all

-halbinger-
[Galaxy S 4 i9500 Android Development] aalxx:
Just use v9.9. I've been using it for a couple of days, 0 freezes.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Edit: running 9.9 now that is for the tip

Anyone have a link for version 10.0 RR?
[Galaxy S 4 i9500 Android Development] :
Link

Here is the latest test builds for those who want to try! Many of u already know if u r in my telegram group that halbinger lost his S4 as well so these might be the last builds. If these builds boot then tell me I'll add to AFH.
[Galaxy S 4 i9500 Android Development] davypacheco:
Tw Kernel boots
[Galaxy S 4 i9500 Android Development] :
v10.4 - 24042017

- More governors & I/O schedulers

- Disabled some unnecessary configs

- Clean up some synapse related stuff

Seems like they are working so here is the changelog of the last build and re-uploaded them to AFH :)
[Galaxy S 4 i9500 Android Development] LordRiddle:
bootloop on this version!
[Galaxy S 4 i9500 Android Development] :
which rom?
[Galaxy S 4 i9500 Android Development] esbatulembek:
Gcm
[Galaxy S 4 i9500 Android Development] $eVe7n:
Not work :(
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Bootloop on RR as well
[Galaxy S 4 i9500 Android Development] :
cm doesnt work i guess, but which rr did u test on? remember nougat rr is not supported
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Naa it's marshmallow I am running Verison 9.9 of the same kernel right now.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Has the boot loop been fixed for 10.4?

Edit: is 10.4 for linage?
[Galaxy S 4 i9500 Android Development] :
no nougat is not supported, and its not fixed yet

btw since ppl said 9.9 was very good for them i might revert some of the tweaks as well as reuse v9.9 ramdisk
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Yea 9.9 is currently my daily driver and it's running like a champ so that might be a great idea.
[Galaxy S 4 i9500 Android Development] aalxx:
Also please fix the charging. It works perfectly on LWK but on the default kernel and nevermore the phone charges incredibly slowly. Didn't have this problem on touchwiz, maybe you can look through the LWK code and find why it charges faster?

LWK has an option in Kernel Adiutor for fast charging which is enabled by default, maybe that's a place to start?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Would be great if you could look into the low voice call issues with 9.9 if you plan to use it as a baseline, I can hardly hear anything in call when not using a headset.
[Galaxy S 4 i9500 Android Development] :
call quality is a known issue for gearcm based rom so i cant do anything about it, its not kernel related i believe
[Galaxy S 4 i9500 Android Development] coolfx89:
20160526 release

Yes, I wipe cache and dalvik before flashing using gearcm recovery
[Galaxy S 4 i9500 Android Development] zozoz13:
Same here. Stuck at Bootsplash. Flashed with GearRecovery.

I'm on 20160530 build.
[Galaxy S 4 i9500 Android Development] jmwuxtfz:
RR, also
[Galaxy S 4 i9500 Android Development] MostaphaHida:
I think it stuck at bootflash as soon as u wipe dalvik and cache also bcz selinux is disabled i think!
[Galaxy S 4 i9500 Android Development] aboodyaiman:
I confirm the issue, stuck at bootflash.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Everyone here is complaining about stucking at Samsung splash screen, right?

Even without testing v2.3 myself, try to revert CPU change and re-compile the kernel. It should boot.

Why?

Take a look at [MENTION=6172162]Skrillex2911[/MENTION]'s commit on GitHub. It forces the kernel to use overclocked CPU frequency that would cause early CPU failure. Instead of booting, it would stuck forever at the splash screen because the kernel is gone panic before booting...

And what makes this look insane:

The kernel is forced to use up to 2000 MHz CPU frequency at boot!

On Exynos5410 CPU frequency driver, by default:

big core aka A15 core has CPU frequency range between 100-1700 MHz, but only 800-1600 MHz used.

LITTLE core aka A7 core has CPU frequency range between 100-1500 MHz, but only 250-1200 MHz used.

Even if you could be able to overclock your kernel without any problem, you shouldn't modify the tuneables to use the overclocked frequency.

Or if you insist to do it. Try to lock it at 1700 MHz first and look if it could boot, then try higher value until your kernel couldn't boot anymore :p
[Galaxy S 4 i9500 Android Development] asad007:
Use freq_table.c

To set stock clock speeds at boot ( no need to change governor setting)

And then after boot change min/max freq to your liking ...

Here have a look :

https://github.com/AndreiLux/Perseus-UNIVERSAL5410/commit/1f068a6f9fa0d8b61b3c6987c8501a4b8953572b
[Galaxy S 4 i9500 Android Development] krasCGQ:
Ah I didn't look on that further lol. Will edit my post.

Edited
[Galaxy S 4 i9500 Android Development] :
[MENTION=4296690]asad007[/MENTION] [MENTION=6589753]krasCGQ[/MENTION] thanks for the info guys, so i must set in freq_table min max at 250 and 1600 like stock for it to work? cuz even tho his commit changed ondemand i thought since my min max in freq_table is 400 and 1400 with default gov interactive so if ondemand is not working properly it shouldnt affect boot
[Galaxy S 4 i9500 Android Development] Skrillex2911:
Hey Jun Wei. Lets try reducing the ondemand max freq to 1700 and see if it boots. Okay?
[Galaxy S 4 i9500 Android Development] krasCGQ:
I looked over his source again and it's true. He only modified ondemand behavior to use overclocked frequency. The offending commit

Don't set interactive as default on boot by modifying kernel source. I was told by Volt before that we need to use script instead.

Even if it's compiled and booted successfully, after the screen is off, kernel panic would happen and it would reboot instantly.
[Galaxy S 4 i9500 Android Development] :
Ok we will try to set restore ondemand and stock freqs and see if it boot :D thanks for the info again
[Galaxy S 4 i9500 Android Development] :
seems like changing min max in freq_table didnt fix, ondemand default as well, now trying adjust ondemand to use max 1700
[Galaxy S 4 i9500 Android Development] :
Update!

v2.4

- Revert ondemand to use max freq at 1700MHz

- Some more changes to hotplug

- Default set to stock min and max clock speed

- Changes in v2.3 included

It boots now guys :highfive: Enjoy the update :fingers-crossed:
[Galaxy S 4 i9500 Android Development] robsonsilva:
Tested on gearcm and rr. Working perfectly! Thanks.
[Galaxy S 4 i9500 Android Development] :
glad that it works ;)
[Galaxy S 4 i9500 Android Development] robsonsilva:
The multitask is a bit of lag. And it's not as smooth as previous versions sometimes giving a little lag. But the battery is average or better.
[Galaxy S 4 i9500 Android Development] Skrillex2911:
---------- Post added at 07:07 PM ---------- Previous post was at 07:06 PM ----------

[MENTION=7281608]robsonsilva[/MENTION] the lag only occurs on multitask? [MENTION=5963088]jwchen17[/MENTION] i think thats because highzone on Ondemand. I set it too 1000 MHz, i did for batery savings and it works but i hate lag. If you want you can get highzone to 1300, and next version use 1800 max freq :D lets see if it boots. It will be blazing fast :)
[Galaxy S 4 i9500 Android Development] robsonsilva:
I think it must be for this reason. It's like having limited the frequency to 1000 or 900 MHz.
[Galaxy S 4 i9500 Android Development] :
[MENTION=6172162]Skrillex2911[/MENTION] i dont think so cuz i also revert high freq zone to 1200, must be something else :eek: maybe hotplug value
[Galaxy S 4 i9500 Android Development] SignetSphere:
So is 10.4 working properly on RR 5.7.4 MM ROM?
[Galaxy S 4 i9500 Android Development] sandersantos:
Could anyone pass me the tw 9.9 version, thank you
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Nope
[Galaxy S 4 i9500 Android Development] atakan33:
this kernel support f2fs but Does samsung's stock 5.0.1 rom support f2fs ??
[Galaxy S 4 i9500 Android Development] aalxx:
it most likely doesn't, they have no reason to add f2fs support, the S4 is dead. AOSP-based roms do support it though.
[Galaxy S 4 i9500 Android Development] LordRiddle:
gear cm 13 10.3 working, 10,4 bootloop!!!
[Galaxy S 4 i9500 Android Development] :
in order to use f2fs in tw the rom need a patch to allow f2fs i believe

known issues, probably selinux or ramdisk related, ill make a fix version soon :)
[Galaxy S 4 i9500 Android Development] :
Which is the last version working with RR5.7.4? And where can I find them? Older versions link is broken.
[Galaxy S 4 i9500 Android Development] :
Small update!

v10.5 - 11052017

- Adjusted init values

- Reverted some small changes for more stable kernel

- Drecrease latency multiplier on ondemand

- SYNAPSE: Re-added doze control for CM and RR

Only have my friend tested this with TW so I don't know if CM and RR works. Report back if u guys found some issues. Again no nougat support
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Edit: RR boot loop
[Galaxy S 4 i9500 Android Development] :
can u redownload and try again to see if it works, i uploaded new 10.5 :D
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Ok it boots fine now I am testing for stability issues and I will update you tomorrow, good work man your awesome.
[Galaxy S 4 i9500 Android Development] davypacheco:
Tested on the TW versión on morphose and it didnt boot after the Samsung logo goes into back screen.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Yea well he said his Friend tried it on TW and I can confirm that this boots on RR since the last update this morning, I am testing for stability/randomreboots or crashes right now, will update tomorrow or the day after that on stability.

Edit: I am still getting random freezing and have to reboot the phone pretty often why is 9.9 so stable and most of the recent versions keep crashing under load?
[Galaxy S 4 i9500 Android Development] davypacheco:
Would you send me the v9.9? 10.5 didnt boot for me
[Galaxy S 4 i9500 Android Development] john seyers:
Can you please share the link for 9.9 ... i would really appreciate that. Currently running morphose
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
This kernel boot with LineageOS ?

Edited: Noooo... Don't work in LOS
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Version 9.9 is there in the folder guys just check
[Galaxy S 4 i9500 Android Development] esbatulembek:
I tried 10.5 suddenly lost signal
[Galaxy S 4 i9500 Android Development] :
u guys think u should just go back with the old source? from v10 kernel based on new source but due to im unable to test too much bugs are there
[Galaxy S 4 i9500 Android Development] atakan33:
is this kernel compatible miui 8 ( cm based ) ?
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi just want to clarify with you guys, what is the default original min cpu frequency for our beloved i9500 ? Because with NevermoreX kernel the min cpu frequency is 350Mhz, but with Voltaqe kernel the min cpu frequency is 250Mhz.

Thanks in advance.
[Galaxy S 4 i9500 Android Development] krasCGQ:
OSRC goes with 250MHz (500MHz A7).
[Galaxy S 4 i9500 Android Development] aalxx:
Yes, please.
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi, thank you very much for the verification.

I also just found out that Snapdragon variant of i9505 has cpu min frequency at 384Mhz.
[Galaxy S 4 i9500 Android Development] krasCGQ:
384MHz because Krait is better than Cortex-A7 in many ways.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Yea that's a good idea, that should get rid of the constant reboots as I don't have those on 9.9
[Galaxy S 4 i9500 Android Development] john seyers:
Which is v9.9 can you plese guide the link?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Look in the folder provided in the first post.
[Galaxy S 4 i9500 Android Development] :
Provided v9.9 as the latest stable build on the first page :D

Anyw, 20052017 is the latest test build, rebased on v9.9 source but added more governors. Once I heard the beta builds are booting then I'll put them in Stable Release.

Changelog for 20052017 beta

- Rebased both kernel source and ramdisk on v9.9

- Removed -pipe flags

- Added governors: lazy, conservativex, interactivex, impulse, zzmoove, intellidemand, ondemandplus

- Tweaked some default init values
[Galaxy S 4 i9500 Android Development] reaperlinkz:
It booted fine on RR I am testing for stability now.
[Galaxy S 4 i9500 Android Development] aalxx:
Quote me on the results. I'm kinda weary on trying new versions.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Stable so far I did have one reboot yesterday but I wasn't using the phone at the time and it was sitting on a desk so that could have been anything since I used xposed among other mods that could have caused that particular reboot but no freezes or reboots under load so far it smooth and battery life is also very good.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
hi u do any for fast charge ?
[Galaxy S 4 i9500 Android Development] aalxx:
Try changing your cable, that worked for me.
[Galaxy S 4 i9500 Android Development] Ghrev:
The kernel is mighty stable. Running version 9.9 and there some few instances of stuttering or where the phone freezes for like a second and then resumes but barely noticeable but I have a question though. When I set the max CPU Freq to 1.6ghz after a while it sets back to 1.4ghz?

This gives me the feeling the phone is Hardly hitting 1.6hz for that extra performance I may need in some apps. All the same it's a great kernel and I'm glad you made it and it's as stable as it can get. All the best and thanks again
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Guys stop qouting the first post and also a update on the most recent version the thread creater uploaded.

Its Rock solid stable I am still testing battery life although so far it seems to.be great even on my old batteries and even better on the new ones, can we go up to 2ghz on this, Or will it be unstable and if so why not top out at 1.8?

This is now my daily driver after coming from version 9.9 so great work bro.
[Galaxy S 4 i9500 Android Development] :
thanks for the feedback, im making a new beta build using latest linaro 6.3.1 and some small tweaks :) hopefully will be stable to put as new v10.0
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Yay ??? looking forward to it.
[Galaxy S 4 i9500 Android Development] aalxx:
I'm pretty sure the S4 is one of the hottest ( if not THE hottest) on the Galaxy S line, I would not want it overclocked. Even 1600MHz seems a bit high to me. I don't think the 200MHz would be worth the heat, battery life and instability.
[Galaxy S 4 i9500 Android Development] :
yeh thats why i decreased the clock by default, to reduce heat when booting, s4 is the 1st gen of biglittle exynos after all
[Galaxy S 4 i9500 Android Development] irvinehooi:
Wow....At least my favorite cpu governor "ondemand plus" is coming back. This is my most wanted governor for i9500 kernel ?. Now I can discard Voltaqe v15 kernel, because I can't find any "ondemand plus" cpu governor in there.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
I see, well in that case it's fine I was just curious anyhow the extra 200 isn't really needed so.....
[Galaxy S 4 i9500 Android Development] :
Update!

v10.0 stable build

- All changes from 20052017 beta build

- Switched to latest Uber 6.x toolchain

- Back to -O2 optimization flags

- Updated kernel source to 3.4.112

29052017 beta build

- All changes from v10.0

- Used Uber 7.x toolchain

- Tweaked for performance

Lemme know if any version doesn't boot. Again, use stable build for a daily driver kernel. If you want to try out the new implementations then use the beta build and give me feedback. :highfive:
[Galaxy S 4 i9500 Android Development] esbatulembek:
I got bootloop both of them

Rom cm
[Galaxy S 4 i9500 Android Development] :
v10.0 or beta? it might be the newuber toolchain
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Both bootloop on RR as aswell the beta and the stable 10.0 version.