yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
NEVERMOREX KERNEL

​

Features

Full synapse control

Based on latest Samsung source I9500XXUHPI2

XZ kernel compression - GZIP ramdisk compression

Link-Time, RWSEM, ARM, NEON, big.LITTLE optimizations

Overclock A7 up to 1.5GHz, A15 up to 2.0GHz, GPU to 700MHz

Underclock A7 min to 200MHz, A15 min to 700MHz, GPU to 177MHz

Full voltage control for CPU, GPU, MIF

Governors

ondemand, ondemand-sec, alucard, interactive, conservative, powersave, performance, intelliactive, lionheart, darkness, nightmare, intelimm, badass, abyssplug, wheatley, intellidemand

Power efficient workqueue control & multi-core power savingsl

Wolfson sound control & Dynamic Range Compression toggle

MDNIE screen control control

Full charging current control

TCP congestion algorithms

westwood, cubic, bic, reno, htcp, highspeed, hybla, vegas, scalable, lp, veno, yeah, illinois

GPS, DNS, IPv6 & network security tweak

I/O schedulers

sioplus, noop, deadline, sio, cfg, bfq, fiops, zen, row, tripndroid

Kernel samepage merging

LMK & Dynamic Fsync control

Doze modes control

CortexBrain and Crontab services

OTG USB support

IR blaster working

Backup-restore option

And many more ....
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
Works in progress​

None, don't have the device anymore :D
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
Removed
[Galaxy S 4 i9500 Android Development] ktouy:
Wow cool to see some new stuff!
[Galaxy S 4 i9500 Android Development] krasCGQ:
Good work, buddy...

But, I don't see anything except README.md on your source. Could you upload your valid sources? It's a GPLv2 requirement.
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
ill upload it as soon as i arrive home because im still transiting in airport and internet here is quite slow :D im still learning how github work and stuff also
[Galaxy S 4 i9500 Android Development] jmwuxtfz:
Thanks...
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
whats wrong all time u say that and that

---------- Post added at 03:56 PM ---------- Previous post was at 03:50 PM ----------

Hi [MENTION=5963088]jwchen17[/MENTION] and were is file to download
[Galaxy S 4 i9500 Android Development] zozoz13:
Because it's needed by GPLv2 requirement...
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
sorry guys i messed up something and the kernel didnt boot, the first time i test it boot because i misflashed v1 so i thought it is ok, im also dont have time to fix it now but ill fix when i have time
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
tw kernel u release today ,or its same file for cm and tw ?
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
they are two version, tw and cm and its not the same file
[Galaxy S 4 i9500 Android Development] lamhoang:
Feature requests

I just tried v1.2 this morning and noticed that the device get hotter compared to virus kernel or light weight, any ideas? Please add synapse support also bro.
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
I rarely noticed heating problems on my device but I will try to figure it out, also try the new v1.3 and let me know what you think :D I'm also thinking about synapse but i'm not sure yet cuz I felt like kernel adiutor is enough to manage the kernel.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Weird. I can't access both of your v1.3 link and your kernel folder. Firefox redirects me into Google sign-in page

Could you adjust the permission a bit?
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
Just checked and confirmed that links are not working :( Sad that I didnt login to google account before on my oneplus so now cant fix cuz need the code sent to my s4 for login, my bad my bad, will fix asap
[Galaxy S 4 i9500 Android Development] ridershahmir:
For i9500???
[Galaxy S 4 i9500 Android Development] zozoz13:
Yes.

For Dev, please be more clear. You didn't mention which variant support this kernel in OP, nor in the title. Just want to remind to prevent other variant users brick their device by flashing this kernel.

And the download link still not accessible..

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] Deleted member 5963088:
I thought it's not necessary since people should already know that this forum is S4 I9500 Android Development so things should be for I9500 but I add it anyway on the title :D

Anyway, v1.4 is out guys, fixed Google Drive permission
[Galaxy S 4 i9500 Android Development] ridershahmir:
Well ideally it should be like that but in the reality some beginners won't get it and it's on the safe side, BTW thanks for a new kernel
[Galaxy S 4 i9500 Android Development] :
you wont get past if you wipe data, clean install rom first and finish setup wizard, after that install kernel, just for the first time tho you can just update kernel later without need to reflash rom
[Galaxy S 4 i9500 Android Development] robsonsilva:
Thank you for another update and have added alberto's changes. The synapse is now also working. The only problem I had was the ir. In alberto kernel it is running smoothly but in 3.2 and 3.3 does not work very well. Thanks again.
[Galaxy S 4 i9500 Android Development] Kazafar:
I clean installed it (wipe system, dalvik cache, cache, data) let it boot first & finish setup wizard, then install kernel & wipe cache & dalvik. Still setup wizard force closing
[Galaxy S 4 i9500 Android Development] :
thats wierd what recovery do u use, setup wizard shouldnt show up when u have finished setup
[Galaxy S 4 i9500 Android Development] Kazafar:
I use GearRecovery 20160220

I've tried lwk and it works like a charm, but I still want to try this kernel...
[Galaxy S 4 i9500 Android Development] :
I just dont get why setup wizard show up again after you finished setup :S cuz it only stuck with setup wizard if u flash it together with a rom
[Galaxy S 4 i9500 Android Development] Kazafar:
Ah yeah, and google play is force closing too.
[Galaxy S 4 i9500 Android Development] :
ill update the kernel again today hope the issue will be fixed :D
[Galaxy S 4 i9500 Android Development] :
Update :D

v3.4

- Remove not working tabs in synapse

- Fix synapse layouts

- Fix live state function in synapse

- Attempt to fix issue with setup wizard force close

- Some more minor stuffs I dont remember

Enjoy guys ! Feedback and logs when reporting would be appreciated :o
[Galaxy S 4 i9500 Android Development] Kazafar:
The issue has been fixed! Thanks
[Galaxy S 4 i9500 Android Development] 084153:
Both on v3.3 and v3.4 YouTube crashes when starting playing videos you can reproduce it yourself and see it better what i mean. But anyways here are the logs. The problem looks like something about audio drivers as i can see but you know it better.

Edit: It does not start in first videos. Switch 3-4 vidoes or maybe 10 but it will happen. I have get stock kernel back and tried if it will happen it didnt happened. So there is something with the kernel. Thanks
[Galaxy S 4 i9500 Android Development] :
thanks for the logs ill look at it, i also have this problem too, videos in other apps too not just youtube :o
[Galaxy S 4 i9500 Android Development] RaNoS25:
What is the best settings for games for v3.4?
[Galaxy S 4 i9500 Android Development] :
well i dont play games a lot but games require more performance so set governor to interactive with higher cpu gpy max and min would be a suggestion, turn off hotplug too, ill add option to tune hotplug today if i have time
[Galaxy S 4 i9500 Android Development] RaNoS25:
How to turn off hotplug?
[Galaxy S 4 i9500 Android Development] :
Update!

v3.5

- Add CPU hotplug control in CPU tab

- Add options to disable GPU Debug and GPU Vsync in GPU tab

- Add option to set read-ahead for sd-card in I/O tab

- Add low memory killer in memory tab ( currently not working )

- Add options to mount system partition as R/W or R/O, show filesystem for /cache, /data and /system ( EXT4 or F2FS )

Again RRemix version is not tested since I use GearCM, also let me know if IR works or not. Happy tweaking :D !

Get the latest version v3.5, go to CPU tab and scroll down to hotplug section, set the up load to "Normal" then set both cpu up boost and well as cpu down to 0% to disable hotplug :highfive: If you are gaming set cpu min 700 max 1600, gpu min 350 max 480 with some undervolts, it should run games fine without overheating too much
[Galaxy S 4 i9500 Android Development] Kazafar:
One question, can I use Kernel Adiutor-Mod instead of synapse?
[Galaxy S 4 i9500 Android Development] zozoz13:
You can, but most of kernel features only avalaible in Synapse.
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

Very Thanks for update, now all red lines fixed

the only red lines its on LMK section

Very Thanks !!
[Galaxy S 4 i9500 Android Development] Kazafar:
Erhhh.. yare yare daze.
[Galaxy S 4 i9500 Android Development] jmwuxtfz:
RR5.7.1 refresh kernel can not start
[Galaxy S 4 i9500 Android Development] 084153:
Known.
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

I have one problem, when I enable (Register hook and Master sequence) screen colours go to black and white (greyscale)

Can you fix it ?
[Galaxy S 4 i9500 Android Development] daogiahieu:
me too.

I have done all of this

But it shows "starting apps..." and nothing.

i am using RR 5.7.1
[Galaxy S 4 i9500 Android Development] :
ok thanks for reporting, will fix :)
[Galaxy S 4 i9500 Android Development] :
maybe ramdisk problems, i didnt have rremix to test :D will fix later when i have time, is v3.4 working for you guys?
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

zzmoove governor not working , also sometimes my changes went to default values in (gpu min max , IO read ahead and swappiness )
[Galaxy S 4 i9500 Android Development] jmwuxtfz:
3.4, 3.3not work
[Galaxy S 4 i9500 Android Development] :
Small update!

v3.6

- Removed some scripts at boot so people can set their own values :D

- RRemix version ramdisk based on lastest update to fix boot problems

Enjoy! Tell me if RRemix boot or not, IR working or not if you can :D

Now working on fixing screen control & lwk for next version :silly:
[Galaxy S 4 i9500 Android Development] mash20:
Thanks for update , and if you can fix zzmoove governor ,I can select it only with kernel adiutor so it is synapse issue in synapse its written "zzmove" and its wrong the right one is "zzmoove"

and if you can also add toggle to enable "software crc" in sysnapse ,and if you can add "impulse" and "darkness" governors it will be nice :) :)

[MENTION=5963088]jwchen17[/MENTION]
[Galaxy S 4 i9500 Android Development] :
i will fix zzmoove and add crc control but im notvsure new gov will be add
[Galaxy S 4 i9500 Android Development] syahradzi:
Stuck in Starting Apps in RR 5.7.1 with Nevermore 3.6.. Any ideas? I flash kernel, flash SuperSU, wipe cache and dalvik, still no luck. Please help :(
[Galaxy S 4 i9500 Android Development] :
I will try to figure it out tomorrow when I have time :)
[Galaxy S 4 i9500 Android Development] kingdevil731:
Lol

That bcz its newer ramdisk than the one the the nevermore kernel has

The dev need update

Has new ramdisk has permissive mode enabled

---------- Post added at 09:56 PM ---------- Previous post was at 09:55 PM ----------

Update ramdisk

New kernel in my latest build is different than all others

One of difference is it now has permissive permission

Its not disabled Anymore

If u want the files of kernel drop pm will send to you
[Galaxy S 4 i9500 Android Development] syahradzi:
Thanks! :)
[Galaxy S 4 i9500 Android Development] YlberGashi:
Accelerometer sensor stopped working!

After I installed the kernel, i realized that accelerometer(gyroscope)sensor isn't working. I'm in GearCM 07/11 build. Any idea here?
[Galaxy S 4 i9500 Android Development] :
anyone want to be a tester for RRemix version? I'm running 11gb pit on my device so I can't install the lastest version of RR 5.7.1 to test it yet

which recovery are you using?
[Galaxy S 4 i9500 Android Development] aboodyaiman:
I'll provide the 11GB today, hopefully in hours.

Sorry if I kept you waiting :)
[Galaxy S 4 i9500 Android Development] syahradzi:
[MENTION=5963088]jwchen17[/MENTION] i will be happy to test it for you :)
[Galaxy S 4 i9500 Android Development] YlberGashi:
I'm using twrp
[Galaxy S 4 i9500 Android Development] :
use gear recovery to avoid sensor problem, i recommened in first post to use gear recovery ( based on twrp 3.0 ) since it more updated to android M
[Galaxy S 4 i9500 Android Development] :
thank you ill send you links to test version if i need :D

its ok its not your fault or anything bro dont be sorry :D i need to do a clean wipe today so i flashed 8gb pit, then cant boot my kernel and data so small i went back to 11gb lol :silly:
[Galaxy S 4 i9500 Android Development] :
Update :D

v3.7

- Added back values for sound & screen control

- Added tweaks for battery and network performance

- Added CPU Boost control in Synapse CPU tab

- Added custom busybox 1.25.0 and files for all features to work properly, thanks to [MENTION=5592093]VoLTaqe[/MENTION]

- Fixed zzmoove not working

- Fixed low memory killer, screen control in Synapse not working

- Moved hotplug option to a separated hotplug tab

Synapse is pretty much flawless now :) almost all tweak options are there. Unfortunately, only GearCM version for now since I couldn't get RRemix to get pass starting apps. A RRemix test version have been uploaded if you wanna try, I have not tested it and I don't think it can get to homescreen. I don't know if it gonna boot in Temasek's CM so if you guys want a version it send me the boot.img :D

Edit: nevermind, my friend tested RRemix v3.7 version and it is not working again so I won't upload it anymore
[Galaxy S 4 i9500 Android Development] mash20:
Very Thanks for update all works perfectly,

Can you add option in synapse to enable "crc software" ?
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

screen settings not fixed and its very annoying always went to "black and white colours" after first reboot

and Lmk values went to default after boot

and I got random reboot log: https://www.dropbox.com/s/7v46stkvkjo8qf0/last_kmsg?dl=0
[Galaxy S 4 i9500 Android Development] :
ill look into it, do you use any mod or app to tweak the kernel?
[Galaxy S 4 i9500 Android Development] mash20:
no.
[Galaxy S 4 i9500 Android Development] :
it probably because some scripts i set at boot last version :D ill remove those next version
[Galaxy S 4 i9500 Android Development] :
Update!

v3.8

- Re-enabled conservative and intelliactive

- Re-enabled zen scheduler

- Remove some scripts to avoid random reboots

- Switched to XZ compression for minimal size

- Added new File System tab - CRC & scrolling cache control with wipe options

- Added frandom

Screen control sometimes not working. RRemix version is up to but not tested so backup your kernel before trying it :D
[Galaxy S 4 i9500 Android Development] mash20:
Very Thanks for update!!!,

Can you fix FStrim button not work on File System tab :), and when I change DNS to google it back to default And too when I change speaker volume it back to default.

and waiting for screen control fix :)
[Galaxy S 4 i9500 Android Development] :
v3.8.1

- Added lionheart, darkness governors

- Fixed issues with values not sticking in Synapse

try new version to see if the problem with values went back to default is fixed :D
[Galaxy S 4 i9500 Android Development] daogiahieu:
This is the boot.img file of Temasek's rom.

Hope you can make a version for it :angel:
[Galaxy S 4 i9500 Android Development] Hamster_sumy:
Hi, where is a Gear Recovery link?

I don't see it in first post.

TWRP => sensors are not working.

Thanks.
[Galaxy S 4 i9500 Android Development] daogiahieu:
This is the link:

https://www.androidfilehost.com/?fid=24421527759883765
[Galaxy S 4 i9500 Android Development] :
here you are, I'll include it in first post too

GearRecovery (based on TWRP Recovery) 20160220

Instruction by Alberto96:

Reboot into Recovery using 3-button-combo

Do a Backup!

Install latest GearRecovery

Reboot into new Recovery using 3-button-combo (if needed)
[Galaxy S 4 i9500 Android Development] litvcom:
I try Kernel v3.8.1 and IR still not working.
[Galaxy S 4 i9500 Android Development] :
Update!

v3.9

- Added sioplus ( default now ), tripndroid schedulers

- Switched back to LZO kernel compression

- Added l2_hsic_ws wakelock control at bottom of Network

- Removed some unused synapse files

Guys I still don't know if RRemix is booting or not since no one said anything so I assume that RRemix is working fine?

For Gear or Remix version? Ill try to reapply the fix in next version.
[Galaxy S 4 i9500 Android Development] litvcom:
Gear 20160711
[Galaxy S 4 i9500 Android Development] lucasromero-:
im using the 3.8.1 in MM RR 5.7.0.. and i have some randomreboots, but i clear the kernel app. now is working.. i dont use synapse. IR don't work.
[Galaxy S 4 i9500 Android Development] :
ok thanks for the info :D will fix ir next

anyone using rremix 5.7.1?
[Galaxy S 4 i9500 Android Development] syahradzi:
I got bootloop in 3.8.1. (sorry for late report though). Tomorrow i will test your 3.9 :)
[Galaxy S 4 i9500 Android Development] :
Update!

v4.0

- Replaced IR files with IR files from [MENTION=2386505]Alberto96[/MENTION] 's kernel

- Replaced sio with sioplus, sio is removed

- Fix possible memory leak

- Disabled some unused stuffs

- Added more control in screen control

- Supports Temasek's CM now :)

Hope IR works now I did not test IR because I don't have anything that can be control with the phone's IR. Again RRemix version only works with 5.7.0 or older, if you flashed it in 5.7.1 you will get bootloop. Haven't tested Temasek version as well as I don't use the ROM but it should work :D
[Galaxy S 4 i9500 Android Development] :
I uploaded the wrong zips that synapse is not working and some of you already downloaded them. Correct zips will be reuploaded :D

Edit: will upload v4.0 tomorrow, revert the thread to v3.9 for now :D
[Galaxy S 4 i9500 Android Development] jabia:
Cm 12.1?

Can I use this kernel with cm 12.1? If so, which file(s) do I use? I've read through all 25 pages of the thread and can't find any leads.

Thanks as always:good:
[Galaxy S 4 i9500 Android Development] Martinmn:
Is your new update v4 compatible with RR v5.7.1 ?
[Galaxy S 4 i9500 Android Development] :
No the kernel supports marshmallow/cm13-based only :D

No I havent figure it out yet, I already used RR 5.7.1 ramdisk and tried some other ways but it still stuck at "Optimizing apps"
[Galaxy S 4 i9500 Android Development] mwakious:
hi @ll

is there a chance to get a version for official CM13 nightlies? :confused::highfive:
[Galaxy S 4 i9500 Android Development] kingdevil731:
really? ouch :rolleyes:

try asking for alberto for what you might need to implement , maybe something you missing :(
[Galaxy S 4 i9500 Android Development] :
Zips are up again :D sorry for the wait

yeh I think it is because of the changing selinux to permissive thingy, I'll try make the kernel permissive also so let see if that work :D
[Galaxy S 4 i9500 Android Development] AzizbekN1:
IR workin with v4

Temasek

---------- Post added at 04:30 AM ---------- Previous post was at 04:30 AM ----------

IR workin with v4

Temasek
[Galaxy S 4 i9500 Android Development] :
nice :D thanks for reporting
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Can you make it with RR 5.7.1 kernel

IR was not working there
[Galaxy S 4 i9500 Android Development] litvcom:
jwchen17, I didn't test v4.0... but on kernel for GearCM v3.8.1 & v3.9 I have random reboots. Can you provide me the link about how get the log?
[Galaxy S 4 i9500 Android Development] 084153:
IR works fine on GearCM13.
[Galaxy S 4 i9500 Android Development] :
I added frandom starting from v3.8 and I think that is where the random reboots came from. I'm running a v4.1 test build without frandom and it seems to work fine, no random reboots for me yet. I'll experiment with stuffs a bit before I upload new version :D. About getting logs, you can search up google with the keywords "get log xda" and you will find many threads with many ways to get a proper log.
[Galaxy S 4 i9500 Android Development] Speedspaz:
[MENTION=5963088]jwchen17[/MENTION] When could we get a version for RR 5.7.1?
[Galaxy S 4 i9500 Android Development] :
i dont know yet bro, maybe in a few days or even a week, im very busy with school works lately
[Galaxy S 4 i9500 Android Development] Speedspaz:
Thanks for the information bro :good:
[Galaxy S 4 i9500 Android Development] ridershahmir:
Superb kernel , thanks Bro
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

Can you add option to enable ZRAM ?

and can you add "dirty expire centisecs" and "dirty writeback centisecs" options in memory tab please ?

and when I set my value in smearing fix in screen tab it change to different value can you fix it ?
[Galaxy S 4 i9500 Android Development] :
I'll try to include next version :D will be no new version for the next few days since I don't have a proper pc to build
[Galaxy S 4 i9500 Android Development] ridershahmir:
Nice kernel but please increase charging speed ,
[Galaxy S 4 i9500 Android Development] :
synapse can do that for u
[Galaxy S 4 i9500 Android Development] ridershahmir:
Not working ,, increased the speed to 2000 but yet no difference
[Galaxy S 4 i9500 Android Development] :
what charger are u using, stock samsung or what? u need an actual 2A charger to be able to use that speed
[Galaxy S 4 i9500 Android Development] ridershahmir:
Well using a 2.1 amp charger but it's not oem one, I know that but been using it since 3 months and it had been working fine , and faced severe slow charging after flashing this kernel , this kernel is totally best but charging speed of something that is the problem
[Galaxy S 4 i9500 Android Development] Speedspaz:
Can you add doubletap2wake function in next version by chance?
[Galaxy S 4 i9500 Android Development] AzizbekN1:
It will be awesome
[Galaxy S 4 i9500 Android Development] TaylinG:
Agreed
[Galaxy S 4 i9500 Android Development] :
voltage has explained before how doubletap2wake will make our devices unstable and drain battery, so no i wont add it
[Galaxy S 4 i9500 Android Development] :
did you increase both ac main charge current and ac main input current to 2000 like u want? u might have to disable unstable power detection too, unplug ur charger and plug in again then check 'current now' you should be able to see about 2000
[Galaxy S 4 i9500 Android Development] Speedspaz:
I don't know what voltaqe said but the maker or elementalx which added doubletap2wake support by kernel for nexus devices and it doesn't even drain battery here. http://elementalx.org/the-truth-about-kernels-and-battery-life/

Also the feature can be disabled trough kernel aduitor. If it will be unatable one cna just disae the feature.

But in the end it is up to you to add or not. Its a neat feature :D
[Galaxy S 4 i9500 Android Development] :
oh okay ill try to add it :D
[Galaxy S 4 i9500 Android Development] RaNoS25:
how to improve battery life? its drains pretty fast..
[Galaxy S 4 i9500 Android Development] :
Update!

v4.1

- Disabled ZRAM

- Disabled some governors and schedulers

- Switched devfreq governor to userspace

- Switched to XZ kernel compression

- Removed fstrim and optimize database since they don't work

- Added some tweaks

- Increased config_hz from 200 to 300

- Merged with Alberto's kernel config

Just a small update with some minor changes. I'm still working on known issues for next version like values get reverted to default, booting issue with RR 5.7.1 and screen control.

Have fun tweaking!
[Galaxy S 4 i9500 Android Development] mash20:
link ?
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION] I can't find v4.1 in downloads list ?
[Galaxy S 4 i9500 Android Development] AzizbekN1:
try plz
[Galaxy S 4 i9500 Android Development] :
download for v4.1 is available :o