yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] :
Small update

v10.6

Nougat builds

- Added charging control

- Added ROW I/O scheduler

- Fixed synapse & cleaned up files for not implemented features

- Compressed ramdisk in GZIP for SuperSU supports

- Some minor fixes and tweaks in ramdisk

Pre-Nougat builds

- Reverted some stuff for better stability

- Compressed ramdisk in GZIP

- Some minor fixes and tweaks in ramdisk

Got a bit of free time so I made some small adjustments. Should all boot now except CM & RR 6.0 since no one test them yet, TW & Nougat builds confirmed working with Synapse support :D Added a non-Synapse AIO version as well ( should work for any AOSP ROMs lower than Nougat & using GZIP ramdisk)
[Galaxy S 4 i9500 Android Development] m.h.mahadi:
New 10.6 build stuck on Samsung logo on RR 6.0 marshmallow//
[Galaxy S 4 i9500 Android Development] Muhammed Suhail:
Come on man just read the post carefully
[Galaxy S 4 i9500 Android Development] :
Pre-Nougat ONLY: Updated the link with new 09092017 builds. RR confirmed booting, thanks [MENTION=5536144]reaperlinkz[/MENTION] for helping me test. I made some small tweaks for CM, RR and TW also.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
[MENTION=5963088]jwchen17[/MENTION] your most welcome bro, it was a pleasure. [emoji3][emoji3][emoji3]
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
someone known why my touch keyes dont work on android ,on recovery they work ...its kernel problem or what ,i try to many kernels ,stock nevermore voltaqe but same ,keyes on twrp recovery work but on android no
[Galaxy S 4 i9500 Android Development] Coffinator:
V10.6 confirmed booting on GearCM.
[Galaxy S 4 i9500 Android Development] Atrix2dBeast:
Hi [MENTION=6966128]Ngadhnjim[/MENTION] ,

It could be the rom, what rom you are using?

I had faced the similar issue sometime back, factory restore fixed it for me.
[Galaxy S 4 i9500 Android Development] bobdoblo:
Do you have a link to stock kernel please?

Updated to 5.xx recently from 4.4 and the battery life is horrendous whatever i try
[Galaxy S 4 i9500 Android Development] robcore:
This is a thread for custom development. Use Google or the built-in search for stock kernels.

Rude.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
no man because i install stock via odin and same again ,im using firstflight 6 .

thenks
[Galaxy S 4 i9500 Android Development] kongacute:
Stock kernel;)
[Galaxy S 4 i9500 Android Development] Atrix2dBeast:
You can extract it from the stock rom, boot.img is the file and flash it.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
i will try now
[Galaxy S 4 i9500 Android Development] :
Test builds

Compiled some test builds for you guys regarding the l2_hsic issue.

Added a small switch to turn off l2_hsic ( Synapse -> Misc tab -> l2_hsic ). Haven't test anything so idk if it works :) if it works then I'll upload them as v10.7

Test build 1609 [Removed, doesn't boot properly]

Test build 1709 https://drive.google.com/open?id=0B4Mn7J1xXUWXWGR2RXFYMWMyTjg
[Galaxy S 4 i9500 Android Development] Atrix2dBeast:
Okay...couldn't control my self after reading the first line only:laugh: , I will give it a try and let you know the outcome soon.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
and i try stock kernel for my solution but without any succes ,in recovery mode my touchscreen work ,maybe problem is when i changed lcd . but after change my touch worked ok after long time back key and home dosent work on android but in recovery yes
[Galaxy S 4 i9500 Android Development] Huezildo:
Please, add "fast_charge" module to lock charging amperage at 1.9A...
[Galaxy S 4 i9500 Android Development] :
I'll consider it ;)
[Galaxy S 4 i9500 Android Development] Huezildo:
Thank you so much bro. It will save my s4 from discharging while AC plugged in...
[Galaxy S 4 i9500 Android Development] :
i still need someone to test and give me some feedbacks for the pre nougat variants

the charge should be slow but not to the degree of discharging ur phone, might want to check ur cable and charger :d
[Galaxy S 4 i9500 Android Development] Atrix2dBeast:
Edit: test build 1709 TW is working, and the l2_hsic switch too good:

Yes charging is bit slow but manageable.
[Galaxy S 4 i9500 Android Development] :
Test build 24092017

Changelog for these test builds:

- Adjusted LMK values

- Removed unstable governors & I/O scheds

- Increased the charging speed, creds to asad007

- Minor optimizations
[Galaxy S 4 i9500 Android Development] Huezildo:
i9500 RR doesnt boot.
[Galaxy S 4 i9500 Android Development] :
Test build 25092017

Changelog for these test builds:

- Same as 24092017 but hopefully will boot now

- NOUGAT : added sound & screen control

Edit: Nougat builds did not boot. Updated links with new Nougat builds!

Edit 2: Removed Nougat builds for now, stay tuned for next test build! Screen & sound control need some fixes

Pre-nougat builds should boot fine I guess. I added sound & screen stuff in nougat builds so hopefully they works too.
[Galaxy S 4 i9500 Android Development] eddylkwst62:
Flash with this new test builds 25092017, my phone i9500 RR doesn't boot so reflash back to previous stable 10.6, work as normal.
[Galaxy S 4 i9500 Android Development] :
Yeh seems like sound & screen control need some fixes
[Galaxy S 4 i9500 Android Development] :
Nougat test builds!

For Nougat only!

TestBuild02-08102017
[Galaxy S 4 i9500 Android Development] Stolb:
i9500 Lineage os/TestBuild02-LG.N-i9500-01102017 doesnt boot.

10.6 work as normal

Update: TestBuild03-LG.N-i9500-01102017.zip doesnt boot , throws back in the recovery ((

wait for test TestBuild04 )))
[Galaxy S 4 i9500 Android Development] :
New test build, for nougat only

v10.7 Beta 06 14/10/2017 : https://drive.google.com/folderview?id=0B4Mn7J1xXUWXRFhoQm0zTmFCUWc

EDIT: I will be constantly update this post with test builds so check regularly if you want to test :d

new build is up if u want to test xD
[Galaxy S 4 i9500 Android Development] Stolb:
Good

Testbuild02-LG.N-i9500-08102017 now works fine

LG.N-v10.7b-02-09102017 Well this one also works xD
[Galaxy S 4 i9500 Android Development] SignetSphere:
Latest beta is causing PowerAmp not to play any music. Reverted back to the latest stable build for now.
[Galaxy S 4 i9500 Android Development] :
sound is broken on last beta version :D

btw guys, beta 04 is up now :d
[Galaxy S 4 i9500 Android Development] SignetSphere:
Sound working? I can't test it yet cause my S4's battery is dead (new battery will arrive after 2 days).
[Galaxy S 4 i9500 Android Development] :
i dont think so at the moment xd
[Galaxy S 4 i9500 Android Development] SignetSphere:
Lol okay then, guess i'll stick to the stable version for now. Will wait patienly until you fix it lol. Good luck! :highfive:
[Galaxy S 4 i9500 Android Development] :
Beta 05 is up!

Only poweramp with no sound or the whole system?
[Galaxy S 4 i9500 Android Development] SignetSphere:
I've only tried using PowerAmp and i was using beta 3 at that time.
[Galaxy S 4 i9500 Android Development] Fares Lassoued:
Can I overclock gpu ?
[Galaxy S 4 i9500 Android Development] SignetSphere:
Can you also provide changelogs when you update the beta?
[Galaxy S 4 i9500 Android Development] :
sure :D changes made regarding Beta 06 below

Changelogs for new builds - Beta 07

Prenougat:

- Tuned for stability and adjusted some ramdisk scripts

- Reduced aggressiveness on default low memory killer profile

- [SYNAPSE] Removed experimental screen mode tab

Nougat:

- Removed sound control since it caused unstability

- Updated with all recent commits by Alberto on LOS

- Updated ramdisk with the current ones in LOS and RR

- Fixed paths and permissions to control l2-hsic wakelock and mdnie

- [SYNAPSE] Removed some non working features like sound, misc control, etc

Download:

https://drive.google.com/open?id=0B4Mn7J1xXUWXWGR2RXFYMWMyTjg
[Galaxy S 4 i9500 Android Development] :
I'll assume that this development is totally dead as no one even test and report back anymore. I'll just put whatever working as the final version on Monday.
[Galaxy S 4 i9500 Android Development] SignetSphere:
This includes the PowerHAL right? I also assume that this project has reached its maximum potential. S4's pretty old anyway... still I thank you for developing a more the adequate type of kernel for the S4. Unto your next projects then! Whatever that is :)
[Galaxy S 4 i9500 Android Development] TaylinG:
It's not dead mate.
[Galaxy S 4 i9500 Android Development] :
Lol no one test my betas and report back if they works or not xD
[Galaxy S 4 i9500 Android Development] SignetSphere:
I just flashed the latest beta and all additional governors and i/o schedulers are no longer present?
[Galaxy S 4 i9500 Android Development] :
unfortunately no :) since no one test them and report back, I think it's best to keep them minimal and stable.
[Galaxy S 4 i9500 Android Development] :
Hi everyone! It has been a pleasure to share my personal kernel for people here on XDA to use. I learned a lot through this little project I maintained in my free time. I will say that my kernel is not unique, I just tried to achieve a better kernel with a combination of good commits from other old kernels and my personal taste. Thanks to other devs and people here whether you helped me build or test the kernel. I wish you guys all the best and see you guys in other XDA threads.
[Galaxy S 4 i9500 Android Development] f.a.tonmoy:
Can u add support for SKT devices?!
[Galaxy S 4 i9500 Android Development] :
Update!

v2.5

- Enabled Link Time Optimization

- Revert to -O3 flag

Just a update to test out the Link Time Optimization but it somehow I lost root after I flashed 2.5 so I have to flash SuperSU again, link to SuperSU zip on first post if you need. Enjoy this small update!
[Galaxy S 4 i9500 Android Development] robsonsilva:
Thansk. Great update! Testing ...
[Galaxy S 4 i9500 Android Development] robsonsilva:
Another great update. Thank you. Waiting for the link...
[Galaxy S 4 i9500 Android Development] :
I was trying to make kernel compression as LZ4 but then it is too big so it can't boot, had to disable Link Time Optimization too cuz of compatibilty issues.

Anyway, links are up now sorry for the long wait :D ! Enjoy the update :silly: Remember to flash SuperSU after u flashed kernel :D

v2.6

- Tweaked wakelocks

- Decreased thermal throttling

- Fix hotplug for less lag

- Disabled IO Stats and add_random

- Improve network speed

- Slightly tweak governors

- Enabled software CRC control

- Enabled ZRAM control

- Enabled vnswap

- Enabled snappy compressor

- Enabled frontswap
[Galaxy S 4 i9500 Android Development] robsonsilva:
Wow! Thanks! Testing ...
[Galaxy S 4 i9500 Android Development] :
forgot to mention that vnswap, snappy compressor and frontswap are enabled in v2.6 too :D test if they drain more battery or not :D
[Galaxy S 4 i9500 Android Development] lucasromero-:
Thx. great kernel! i dont know how to configure the vnswap, snappy compressor and frontswap. but the rest is working so good on MM RR 5.6.7!
[Galaxy S 4 i9500 Android Development] :
they are enabled by default, no way to configure it manually :D
[Galaxy S 4 i9500 Android Development] lucasromero-:
hahaha ok!

the kernel is ok, but with heavy use like, chatting with wifi on and gps on.. the phone overheat.. with governor alucard and 1100 mhz max y min 300 mhz.. any ideas why is heating so much?

Thx
[Galaxy S 4 i9500 Android Development] :
i dont know exactly yet, thru my experience cm always heat up faster than tw :rolleyes: did u try undervolt? do -50mV on all freqs, i have -75mV on all freqs but there are different limits on different phone
[Galaxy S 4 i9500 Android Development] lucasromero-:
Ok, im gonna try it.. and let you know if works.
[Galaxy S 4 i9500 Android Development] marinos97:
sensors

You have made a good work but you disable all of them by make non of the sensors work..

Why did you do that?

Please enable all the sensors.

Thank you.
[Galaxy S 4 i9500 Android Development] :
i didn't remember disable any sensor, if i did i would state that in changelog or first post, it might have just been a bug or something cuz i didnt choose to make non of them work lol, thanks for reporting ill take a look
[Galaxy S 4 i9500 Android Development] Maxqa:
Hi, I do not work !, proximity sensor and CO regulation screen brightness!
[Galaxy S 4 i9500 Android Development] u7Xz:
Not a pro here but its because maybe of the Recovery. In LWK we need to use Gear Recovery to flash the kernel otherwise the sensors do not work maybe thats the problem. 2 days ago i tried your kernel also used Gear Recovery and didnt had any sensor problem.
[Galaxy S 4 i9500 Android Development] :
ye that might be the problem with sensor, virus kernel and lwk also has problems with sensors if not install with gear, i checked and didnt see any sensor disabled by myself, brightness and proximity working for me
[Galaxy S 4 i9500 Android Development] marinos97:
Hello again and thanks for the reply..i downloaded the cpu-z and the sensors are all disabled,i mean i didnt seen any values while i was seeing all o lf them at kingdevil kernel.
[Galaxy S 4 i9500 Android Development] zozoz13:
What recovery did you use?

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] :
please try reflash kernel with gear recovery and let me know if they work
[Galaxy S 4 i9500 Android Development] yesh8352:
MM RR 5.6.7? can you provide me the thread link?
[Galaxy S 4 i9500 Android Development] SignetSphere:
My device is not booting up on the final build. Reverted back to stock.
[Galaxy S 4 i9500 Android Development] :
wa! as you can see, nevermore is no more as I ended support for it so the answer is obvious

welp
[Galaxy S 4 i9500 Android Development] Gavin Capacitor:
Thanks for all your work on this; I've been using 10.6 as a daily driver for several months now.

Which version of the final should I use for alberto96's 7.1.2 rom? (I don't see an "LG.N" version - I tried the TW version but that didn't work.)
[Galaxy S 4 i9500 Android Development] :
should be LG.N, i named it wrong but i fixed the links now, you should be fine with 10.6 i guess, final builds are not fully tested anyw
[Galaxy S 4 i9500 Android Development] darekarraul:
Guys can I use this kernel on firstflight octanote vm?

If yes then which version of the kernel?

Thanks in advnace! :)
[Galaxy S 4 i9500 Android Development] Gavin Capacitor:
Hey! I tried the "v11" LG.N kernel, for what it's worth it worked fine with the little bit of testing I did. I ended switched back to v10.6 since I like the alucard governor; There's a phone game I play and it keeps the cpu at 600mhz for the most part (ie. on the small a7 cores) meaning I don't throttle due to heat.

Either way, I'm going to keep both around just in case. Thank you again for your hard work!
[Galaxy S 4 i9500 Android Development] ErenKAYA:
I am using resurrection remix and this kernel but my hardware keys lightning doesn't working. Please help me
[Galaxy S 4 i9500 Android Development] DIGITALKILLER_87:
im sorry, kinda confusing a bit but

synapse didnt detect UCI support on my I9500

also app info didnt have clear data button

is there anyway to "Wipe kernel control app data"?
[Galaxy S 4 i9500 Android Development] kaankkaraman:
And body tested this kernel with lineage 14.1 ?

How is Battery Life?
[Galaxy S 4 i9500 Android Development] Incinerator:
I've tested Voltaq, Aroma, a couple of other stock kernels on my stock lollipop S4 I9500 and found out that this is the only kernel that supports Xbox Controllers. Maybe that's got something to do with the fact that this is the only one of the set that's set to Permissive. But either way, if you want to use gamepads with your device, this one is a safe bet.
[Galaxy S 4 i9500 Android Development] apexi01:
Will this kerenel work on my Galaxy s4, shv-e300s
[Galaxy S 4 i9500 Android Development] irvinehooi:
No, this Nevermore kernel won't save you from battery drain. In fact, it will drain more battery than you expected due to this kernel never deep sleep even the screen is off.

Your choice of kernel only left Samsung stock kernel and Voltaqe kernel if you are using Samsung TouchWiz custom rom.

Thanks.
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi since you are using AOSP custom rom, you may try to have a look for this:

Virus Kernel https://xdaforums.com/showthread.php?t=3350836

Or

Light Weight Kernel

https://xdaforums.com/galaxy-s4/i9500-develop/kernel-lightweight-kernel-t3059266

Thanks.
[Galaxy S 4 i9500 Android Development] ISoreo:
Hi guys with version work with Magisk? i already flash NvmX TW 10.6 and flash the lastest magisk to root but after flash magisk i reboot and every apps on my device are force close and got black screen since boot finish it's said "Touchwiz force close" please help me thank
[Galaxy S 4 i9500 Android Development] irvinehooi:
My apologies, sorry for my earlier mentioned about this kernel. My personal comment, Voltaqe kernel best suited with the Samsung TW rom but not Nevermore kernel.

But Nevermore kernel is best suited to use with ported TW rom such as FirstFlight N7....etc.

Thanks.
[Galaxy S 4 i9500 Android Development] p4r4d0x86:
Where can we download the v15 Voltaqe Kernel please ? (only dead links :crying:)

Thank youm

Nico
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi, you can try this kernel instead of trying on Voltaqe kernel. Both Nevermore and Voltaqe kernel are heavily modified, you will have issues in long run.

Ethan Kernel:

https://xdaforums.com/attachment.php?attachmentid=3670772&d=1457164121

Voltaqe Kernel:

https://drive.google.com/drive/mobile/folders/0B3-YioqZRf1RM25DdDhYT3J4NG8

Thanks in advance.
[Galaxy S 4 i9500 Android Development] :
Update!

v2.7

- Disabled some debuggings

- Tune hotplug and governors for battery

- Enabled cpu-boost

- Disabled userspace powersave governors and zen scheduler since ppl dont actually use them

Enjoy guys :D

I think the thread is in S4 General, take a look there :D
[Galaxy S 4 i9500 Android Development] yesh8352:
RR is discontinued for I9500 and the last build is 5.6.4, so i asked for link:)
[Galaxy S 4 i9500 Android Development] bhuvan9111:
You are late to the party dude check this out

http://xdaforums.com/showthread.php?t=3404556
[Galaxy S 4 i9500 Android Development] :
this version is 5.7.0 tho :D there was a test build 5.6.7 i believe before we have 5.7.0 by kingdevil :highfive:
[Galaxy S 4 i9500 Android Development] krasCGQ:
Hi,

Any luck on init.d using steps I gave you yesterday? :)

EDIT:

My simple init.d script to test:

#!/system/bin/sh
#
# init.d test script
#

echo 1024 > /sys/block/mmcblk0/queue/read_ahead_kb
echo 70 > /proc/sys/vm/swappiness
done

Save as 00TEST and put it on /system/etc/init.d and take a look if init.d script is executed properly.

It would set read ahead cache for internal storage to 1024 kB and swappiness to 70.
[Galaxy S 4 i9500 Android Development] :
I forgot to repack the new ramdisk lol :D will update the kernel again this evening when i have time :D thanks again bro
[Galaxy S 4 i9500 Android Development] robsonsilva:
Thank you for new build. Testing... I'm not very active because i'm studying java. But always look to have an update for testing.

The supersu already has a more recent stable version.: https://download.chainfire.eu/969/SuperSU/UPDATE-SuperSU-v2.76-20160630161323.zip

It also came a new build of gearcm 13 with some changes in the source as permissive kernel. If you want to see: http://xdaforums.com/showpost.php?p=67648568&postcount=1212
[Galaxy S 4 i9500 Android Development] :
the problem of losing root is fixed for me tho so i dont think we need to reflash supersu anymore :D new update with synapse on the way ;D
[Galaxy S 4 i9500 Android Development] :
Synapse!

v3.0

- Fixed init.d thanks to [MENTION=6589753]krasCGQ[/MENTION]

- SYNAPSE SUPPORT !

Got synapse working few days ago but then I have to take a look at adding tabs lol :o I'll try to add more tab later, there is one problem with gpu tab that it shows a very big gpu freq, that is actually 89Mhz, I'll remove that next version

Enjoy!
[Galaxy S 4 i9500 Android Development] kongacute:
Awesome bro. Will try when speed mobile data issue in rr rom fixed.
[Galaxy S 4 i9500 Android Development] robsonsilva:
I love you. The new version is incredible with gearcm 7/7. And the synapse is working perfect.
[Galaxy S 4 i9500 Android Development] :
glad to hear that :D

Small update to synapse control

v3.1

- Added active cores control in synapse

- Added more control to i/o tab

Also I looked at [MENTION=4296690]asad007[/MENTION] ramdisk to figure out most of synapse so credit to him for synapse control too
[Galaxy S 4 i9500 Android Development] robsonsilva:
Thanks but gear need to give acess.

(sorry for the english...)
[Galaxy S 4 i9500 Android Development] :
fixed links :D
[Galaxy S 4 i9500 Android Development] robsonsilva:
3.1 is awesome (battery and smoothness) with new build of gearcm13 but synapse have no uci support (3.0 synapse works perfectly).
[Galaxy S 4 i9500 Android Development] :
did u wipe synapse before update? uninstall syanpse and reinstall synapse from play store, try if that work :o
[Galaxy S 4 i9500 Android Development] mash20:
3.1 show no uci support
[Galaxy S 4 i9500 Android Development] :
Update!

v3.2

- Add script to clear synapse data during install

- Add many more tabs and things to tweak

Credits to our beloved [MENTION=5592093]VoLTaqe[/MENTION] for most of the synapse tabs. Also files are on XDA server now instead of Google Drive :highfive:

try new version :fingers-crossed:
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION] Thanks fr update!

Can you add cpu hotplug and LMK tab ?

And the cpu voltages are not include all cpu freqs (700)a15 (650)a7
[Galaxy S 4 i9500 Android Development] :
yes ill add back hotplug tab later, i didnt include all cpu freqs because adjust volt for values higher than 1600mhz for example will make them unstable
[Galaxy S 4 i9500 Android Development] mash20:
I mean (700mhz) big core a15/(650) little core

and can you fix this

and the 100 150 200 freqs not working ?
[Galaxy S 4 i9500 Android Development] :
what do you mean by 100 150 200 not working? live state works for me too

for the 650 and 700mhz freq thanks for reporting, will be fixed
[Galaxy S 4 i9500 Android Development] mash20:
I mean low cpu frequencies (100 150 200)
[Galaxy S 4 i9500 Android Development] :
so is it you cannot set the freq to 100 150 200mhz or the system dont use 100 150 200? setting lower freqs working for me, if u talking about system dont use lower freq is because the load is high so the cpu keep ramp up before it slowly decrease to those lower freq especially with hotplug on, i think the system only use that lower freqs when the screen if off and phone is idle
[Galaxy S 4 i9500 Android Development] bhuvan9111:
Is V3.2 same for both gearcm and rr ?
[Galaxy S 4 i9500 Android Development] :
no, different ramdisks
[Galaxy S 4 i9500 Android Development] aboodyaiman:
Hope you don't mind :D :D :D
[Galaxy S 4 i9500 Android Development] :
yup i wont mind, if u share to others somewhere just give credits
[Galaxy S 4 i9500 Android Development] aboodyaiman:
Of course :)
[Galaxy S 4 i9500 Android Development] :
just that im curious :D did u have any drain there in 4.4 with my kernel? synapse working fine?
[Galaxy S 4 i9500 Android Development] aboodyaiman:
I didn't use it much but it's blazing damn fast :D

Synapse shows No UCI support at the moment, but I'm working on it.
[Galaxy S 4 i9500 Android Development] aboodyaiman:
At least No *No UCI detection* anymore :D
[Galaxy S 4 i9500 Android Development] :
you have to move synapse file in ramdisk as well for it to work properly
[Galaxy S 4 i9500 Android Development] :
Update!

v3.3

- Added script to prevent google service at boot to reduce loads

- Attempt to reduce battery drain

- Included some of Alberto's kernel changes in his lastest build

- Fix some synapse layout

- Increase thermal throttling to reduce heat

Files are up in XDA servers :fingers-crossed: Enjoy guys, feedback about battery and performance would be appreciated :silly: ! I have not tested this verion a lot, especially RRemix version since I runs GearCM