yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] daogiahieu:
I am using FF v6 with rom control.

Well just flash your rom. I think stock settings is fine.

But when i try to raise cpu max from 1400 to 1600. Min from 700 to 200. Gpu max from 177 to 640. And set intelliactive instead of ondemand.

I test my phone by Antutu ben. And it shutdowns automaticlly.

If i set every things to stock it doesn't happen :(

And i have read this in voltaqe kernel topic, hope it will useful for you. This is from

senzatiOn-'s comment.

Hi guys!

Little thing about this kernel...

Performance

CPU: If u want performance use 300-1700Mhz ( if u don't have freeze can use 1800 Mhz ondemand gov working perfectly with s6 ported ROM ) A7 1.5 Mhz

- Governor interactive / intelliactive

- For game play use performance or intellidemand governor ( more fps and performance )

GPU:

- GPU: 266 - 640

Balance

If u want balance of performance & battery use 100-1600Mhz ( or 1400 )

- Governor voltaqe / ondemand / adaptive / darkness / wheatley / nightmare

Battery

If u want big battery life use 100-1000 Mhz ( 4 core online )

- Governor voltaqe / ondemand / powersave / adaptive

- Max core number 2 core ( 1400 Mhz max )

- GPU: 177 - 350
[Galaxy S 4 i9500 Android Development] daogiahieu:
update:

i tried again

But when i try to raise cpu max from 1400 to 1600. Min from 700 to 600. Gpu max from 177 to 640. And set perfromance instead of ondemand.

I test my phone by Antutu ben. And when it run a 3D ben, the screen is ... well i don't know how to say. It is crash and show many line with many color.

I can't say it in English but it show something not good.

And my phone restart automaticly. When it turn on back, the battery from 98% to 20% =)), i don't know why. I just charge it full before that.

---------- Post added at 21:26 ---------- Previous post was at 20:56 ----------

update:

this is so strangle.

With stock settings. I test on antutu

i have 34253 core.

3D: 736

UX:13799

CPU:15565

RAM:4153

And now

I set cpu max from 1400 to 1600. Min from 700 to 600. Gpu max from 177 to 600 ( 640 doesn't work) . And set perfromance instead of ondemand.

This is the new antutu score:

23443

3D: 1545 -> seem gpu max to 600 worked

UX:8584

CPU:9565

RAM:3749

why ? it descreased
[Galaxy S 4 i9500 Android Development] lamhoang:
cpu throttling, performance bumped the freq to the max makes the phone heat up quickly, together with 640 on gpu makes the temp very high so i think the system throttled cpu on the way to decrease temp

i also think that ondemand is the best governor for exynos since its alr there with the stock source while other governors dev must port it to work with exynos thats why its unstable and reboot like u said with intelliactive, the phone might reboot also if the temp is too high or the cpu is stressed too much
[Galaxy S 4 i9500 Android Development] daogiahieu:
I think performance doesn't work. I try to change it to intelliactive and this is my antutu score

37658

3D:1817

UX:14757

CPU:16936

RAM:4148

And this is the highest score i had in the past with stock kernel of samsung
[Galaxy S 4 i9500 Android Development] krasCGQ:
Whatever, you guys...

Don't rely too much on benchmarking software as this doesn't represent performance on daily usage. :silly:
[Galaxy S 4 i9500 Android Development] :
I need two testers: 1 for TW and 1 for CM :D pm me if u want to test
[Galaxy S 4 i9500 Android Development] daogiahieu:
I think antutu is like gaming. If i play game to check peformance, it takes a long time for me to sit back and play. But if i use antutu, it does everything automaticlly when i can do my job.

If my phone doesn't have a good score in antutu i think it won't work well with game ?

I can be your testers. But i don't know anything about programing. I don't know much about kernel. Just flash and use. Can i be a tester ?

Another thing:

In the version 9.7 , deep sleep didn't work on TW rom. I am using FF V6.

If i set the lowest CPU from 700 Mhz to 600 Mhz. My phone is always run in 300 Mhz when i turn of the screen.

If i set the lowest CPU from 600 Mhz to 200 Mhz. My phone is always run in 100 Mhz when i turn of the screen.

I dont' know why it doesn't deep sleep. It drinks my battery like water.

I check this by CPU Spy
[Galaxy S 4 i9500 Android Development] krasCGQ:
You're fine to run benchmarking software, but do you really need benchmarking, even multiple times until your phone starting to throttle and overheating just to find 'optimal' scores? I'd be better tweak the kernel and find what the best my device could do instead of benchmarking everytime.

It won't represent your normal usage at all.
[Galaxy S 4 i9500 Android Development] :
well benchmarks, like krasCGQ said, barely reflects your daily usage, i personally only use benchmarks to stress test my settings, meaning that testing to set if my synapse settings like ( undervolt, etc ) is stable

ppl report about battery drain differently so i think it might be that the apps and user config u guys have on your phone cuz i alr tried many wakelock reduction method, freq in synapse is the real freq of the cpu, while other apps will display (read freq)/2 for a7 cores since thats how the system report a7 freq
[Galaxy S 4 i9500 Android Development] daogiahieu:
I think my problem is because i change some governer. I restart my phone after change governer and deep sleep come back :D.
[Galaxy S 4 i9500 Android Development] daogiahieu:
New score with cpu 1600 mhz. Gpu max 640 mhz and ondemand

It is the best score in antutu i have. I know it didn't show much like you guy said but it is the kernel is good and stable in this setting i think
[Galaxy S 4 i9500 Android Development] pradeepunde:
Great :). Could you please share how is the battery performance with these settings? How long does it last etc...
[Galaxy S 4 i9500 Android Development] daogiahieu:
My battery is old :D. Well i have 4 years battery.

Normally with stock kernel of FF rom, I can use it more than 1 days with 2 hours on screen.

With nevermore kernel. You can change thing with synapse and now i have more than 45 minutes on screen every days.

Wih new battery i think it will better. Maybe 5 hours on screen.

But it is depend on you. If you play game many time, i don't think it will good as we thought. Personally, i don't play game. The most of time i use my phone to read website and forums, facebook and mess.

About peformance, it seem great. No laggy when the last time i charge. I am keep testing this version. I am using v9.7
[Galaxy S 4 i9500 Android Development] :
Small update!

v9.8

- Hyper LxSM 6.1.1 toolchain again

- LZMA ramdisk compression

- Removed ramdisk network tweaks

- Minor init values tweaks
[Galaxy S 4 i9500 Android Development] daogiahieu:
Thank you for new update. I am Testing

Can i ask where i can change the number of app running multitask.

I means if i open too much app. When i change between them, it often reload and i don't want that. [MENTION=5963088]jwchen17[/MENTION]
[Galaxy S 4 i9500 Android Development] :
read about changing low memory killer it might help you to tweak the values for multitask, check the low memory killer tab in synapse and change the profile, more aggressive = more free ram but more reload or less aggressive = better multitask
[Galaxy S 4 i9500 Android Development] daogiahieu:
OK i got that.

And another thing. I see in Backup/restore tab.

I fill the profile Name: "battery" and i press save this prolife, but it said that i should fill the name of profile and try again., like it doesn't know that :confused:
[Galaxy S 4 i9500 Android Development] omideagle:
How can i back to stock kernel if i get problem after flashing this kernel?
[Galaxy S 4 i9500 Android Development] daogiahieu:
Yes. of course you can. Just remember make a nandroid backup by using TWRP.
[Galaxy S 4 i9500 Android Development] :
btw guys do you guys want a minimal version to revert back if u guys dont need many features and stuffs??

fill the name of your profile then press the tick mark first, then save the profile
[Galaxy S 4 i9500 Android Development] daogiahieu:
I font see any tick mark :((

And i see this when i wake up this morning. My battery is more than 70% last night
[Galaxy S 4 i9500 Android Development] zozoz13:
That would be a great option for us! Just keep CPU, GPU, Battery, Screen, Audio, I/O, Network, and Wakelock control left in the feature list.

Btw, I had some random reboots with v9.7 TW. I tried to play with default settings, no luck. There's still random reboots. Didn't try v9.8 yet. Sorry, I didn't grab any logs because I'm already switch to GearCM.

Tbh, I'm always getting random reboots with your kernel since the earlier version. No matter what ROM I'm using. I hope it will gone if you release the minimal version.

Check any wakelock that keep your device from sleep. It might be l2_hsic wakelock that eating your battery. Reboot would fix it.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Yes, i restarted my phone and it can deep sleep again.

Hope jwchen17 will fix this with l2_hsic
[Galaxy S 4 i9500 Android Development] :
v9.9

- Disabled ondemand-sec

- Pipe optimization flag

- Optimized values in init scripts

- Removed build.prop tweaks in ramdisk

- Minor adjustments here and there

Used a new boot.img tool, hope it boot in every variant :)

v10 will be rebased on latest I9500XXUHPI2 source, stay tuned
[Galaxy S 4 i9500 Android Development] omideagle:
Anyone tested v9.9?:p
[Galaxy S 4 i9500 Android Development] Muntz01:
Do your personal values on the OP apply on any version? Also, does the busybox pro version on the market interfere with the kernel? can i install it with no problem on /system/bin or /system/xbin? Btw, thanks for the effort on keeping kernel up to date, without even having your phone, it is much apreciated. :good: :D
[Galaxy S 4 i9500 Android Development] :
1. No, I don't set those as default

2. You can try and see if its work, install it to xbin, if it doesnt then just reflash kernel if you want synapse back

3. I have my friend's phone ;)
[Galaxy S 4 i9500 Android Development] todays4:
is this normaly?
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
flash other modem in Recovery mode.
[Galaxy S 4 i9500 Android Development] todays4:
It does not help
[Galaxy S 4 i9500 Android Development] Muntz01:
I ment if I could use those on any version of the kernel.
[Galaxy S 4 i9500 Android Development] daogiahieu:
:p downloading :victory:
[Galaxy S 4 i9500 Android Development] :
on v9.9?

yes you can :D
[Galaxy S 4 i9500 Android Development] todays4:
v9.9
[Galaxy S 4 i9500 Android Development] todays4:
cm stock kernel

there is no standby
[Galaxy S 4 i9500 Android Development] daogiahieu:
[MENTION=5963088]jwchen17[/MENTION]

I set LMK profile to low. But my phone still kill apps when i see the ram is still not full.

I still reload mess and facebook :((. Can i set it lower ?
[Galaxy S 4 i9500 Android Development] daogiahieu:
I have twice time my phone frozen today. I full charge it, update some thing in ch play: and i open an app, I can't do anything with my phone. Can't touch the screen or press any button. I must take out the battery and take it in again, turn on the phone.

I am using v9.9, tw rom FF V6. No xposed.

This is the log file
[Galaxy S 4 i9500 Android Development] davypacheco:
wich configuration can I set to prioritize battery life over Performance? I'm new with kernels.
[Galaxy S 4 i9500 Android Development] lamhoang:
you can install synapse and mimic jwchen settings on the second post
[Galaxy S 4 i9500 Android Development] kongacute:
Bro. Can u add usb mode tab like volt 15?
[Galaxy S 4 i9500 Android Development] daogiahieu:
I think he is working for v10.

But can you tell me what usb mode tab do, use for ?
[Galaxy S 4 i9500 Android Development] kongacute:
When u connect ur phone with computer. Ur will have MTP or PTP connect mode (coppy file to ur sd card too slow) but if u choose UMS mode, u will have fastest speed too copy file from computer to sd card.:good:
[Galaxy S 4 i9500 Android Development] :
i removed earlier on, i can add it back if u guys want :) i need to fix new source for v10, but a stock version with minimal changes is coming tomorrow for those who dont need advanced features
[Galaxy S 4 i9500 Android Development] kongacute:
Bro. Can u improve memory manager of ur kernel? Playing WoT in 15min and all user restart (fix by reboot).:(
[Galaxy S 4 i9500 Android Development] tikanorcun:
I want to talk about gearcm. Everything is good with this kernel including battery draining problem. The only problem ı've faced is battery draining problem while playing music. Maybe this is the general problem for gearcm 13 but ı just wanted to say. Keep up good work sir [MENTION=5963088]jwchen17[/MENTION]
[Galaxy S 4 i9500 Android Development] :
had to review for exams so couldnt make stock version for today :rolleyes: hopefully sunday if i have time

will try to improve on v10 :D

did you try different music player?
[Galaxy S 4 i9500 Android Development] tikanorcun:
No. I'm using stock music player. Is there any player would you recommend? [MENTION=5963088]jwchen17[/MENTION]
[Galaxy S 4 i9500 Android Development] daogiahieu:
i think v9.9 for TW has some problem with LMK. I set LMK to low and sometime, when i update in CH play, i use facebook and some apps,... my phone goes to frozen or auto reboot.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
wait for the 10 version.
[Galaxy S 4 i9500 Android Development] daogiahieu:
I will try go back to v9.8 :crying:
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
nomore updates for nevermore?
[Galaxy S 4 i9500 Android Development] daogiahieu:
The dev is busy now bro :D, he said he must study at the present. When he releases new version (v10), you willl know :p
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Do you know about compile source code of kernel? yes: then you can help; no: then we are two. I would like know about which difficulties with a new Base of kernel...
[Galaxy S 4 i9500 Android Development] lamhoang:
i asked him and he saud "i just don't have time for now, lots of tests lately i cant spend time for kernel"
[Galaxy S 4 i9500 Android Development] :
I will at least release v10 but probably not until april when my quarter end, just gave the S4 back to my friend so I don't have the phone to test anyway
[Galaxy S 4 i9500 Android Development] daogiahieu:
Hope to see you in April.

I think that it the time we have some new roms come too :good:
[Galaxy S 4 i9500 Android Development] AleksandarRadivojevic:
lineage os 14.1 unofficial

will it work on lineage os 14.1? please say yes
[Galaxy S 4 i9500 Android Development] lamhoang:
it can, but he will need to make changes to ramdisk and selinux, when there is a stable-ish release of ln14.1 then i think he adapt kernel to work with it :)
[Galaxy S 4 i9500 Android Development] daogiahieu:
Do we have Lineage 14.1 for GT-I9500 ?

I just see topic about GearCM 13 ?
[Galaxy S 4 i9500 Android Development] AleksandarRadivojevic:
Its prettuyawesome i must say. For now
[Galaxy S 4 i9500 Android Development] AleksandarRadivojevic:
Great! Its pretty stable, few bugs here and there
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
i9505 then it's in wrong section.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Your phone is GT-I9505. I am using GT-I9500 and we don't have LeOS 14.1 :((
[Galaxy S 4 i9500 Android Development] :
https://drive.google.com/open?id=0B4Mn7J1xXUWXMTR3RE54bHNBREk

you guys can find v10 beta here, all is untested since i have no device, tell me if they boot or not :D have a nice day
[Galaxy S 4 i9500 Android Development] todays4:
bootloop
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
me too... bootloop in TW version and I tested both boot.img
[Galaxy S 4 i9500 Android Development] :
tw or cm?

anyone able to boot with v10 beta for cm?
[Galaxy S 4 i9500 Android Development] daogiahieu:
I read his post. I think he is using RR rom.
[Galaxy S 4 i9500 Android Development] todays4:
RR
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
RR version with boot OK?
[Galaxy S 4 i9500 Android Development] :
https://drive.google.com/open?id=0B4Mn7J1xXUWXMTR3RE54bHNBREk

updated test builds for cm and rr, untested as well :D tell me if they boot or not
[Galaxy S 4 i9500 Android Development] todays4:
RR bootloop
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Why no TW version?
[Galaxy S 4 i9500 Android Development] :
I didn't set selinux permissive for tw properly yet, btw guys I think my journey with the S4 end here since I don't have the phone anymore.

However, v10 is coming in a few hours and it will be the last update :D hopefully it works nicely even though I cannot test them on my own
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Nooooooooooooooo..... No more Nevermore? !!!

Anybody give a s4 for the developing continue, Please
[Galaxy S 4 i9500 Android Development] omideagle:
S4 i9500 is dying.......:crying::(
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
RIP i9500 ....
[Galaxy S 4 i9500 Android Development] krasCGQ:
Here lies the i9500 development, which has a great kernel development despite difficulties due to Samsung's incomplete source. Hope you'll be remebered, ever since.

Oops. I should stop that sh*tpost.

Here's my right comment:

The OP doesn't have the i9500 anymore, and end up with the same case of mine, blind development.
[Galaxy S 4 i9500 Android Development] :
haha nice one bro xD
[Galaxy S 4 i9500 Android Development] :
Last update!

v10.0 - NevermoreX

- Based on Samsung source I9500XXUHPI2

- Optimized ondemand

- Disabled some unstable governors

- Back to gzip ramdisk compression

- Various changes for stability

- Minor ramdisk tweaks

I thought I could improve many things in v10 but since I cannot test so this is it :D Hope it works fine
[Galaxy S 4 i9500 Android Development] MostaphaHida:
CM v. Just glowing led then reboot
[Galaxy S 4 i9500 Android Development] Ale95:
I recommend u do a Telegram group, so people that want help u can try if all is ok or no

And the most important, phone number not is necessary for add members
[Galaxy S 4 i9500 Android Development] :
w

i was thinking about a telegram group for testing until i can afford to get my screen replaced but the replacement will be pricey so dunno if its worth the money or not :rolleyes: ty for the suggestion tho :victory:
[Galaxy S 4 i9500 Android Development] todays4:
bootloop again and again (rr) :)
[Galaxy S 4 i9500 Android Development] :
prob my defconfig settings

anyone having boot problems with cm & tw?? i tried some new defconfig options, shuld have disabled them

edit: nvm bois i think i packed the wrong boot.img for cm & rr thats why they dont work
[Galaxy S 4 i9500 Android Development] :
I repacked CM & RR version, can you try them and let me know if they boot now?, download the one with the -FIXED in file name
[Galaxy S 4 i9500 Android Development] todays4:
not boot
[Galaxy S 4 i9500 Android Development] :
rip then, idk wat to do anymore since i cant test, i guess ill just put v9.9 up as latest again later
[Galaxy S 4 i9500 Android Development] :
I want to complete v10.0 before I leave cuz the number 9.9 annoys me :o feel free to join this telegram group to help me publish v10.0 lol, ETA/spam = bye bye

https://t.me/joinchat/AAAAAEIgtz4awBfU3oFdTg
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
nevermore one more time..... Pleeeeease
[Galaxy S 4 i9500 Android Development] krasCGQ:
Just join the Telegram group lmao
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
but this group doesn't exist.
[Galaxy S 4 i9500 Android Development] :
i made the old link expired, ill send u the new link if u want to test
[Galaxy S 4 i9500 Android Development] :
Final update!

v10.0 - 26032017

- Re-based on Samsung source I9500XXUHPI2

- Optimized governors & I/O schedulers

- Tuned init scripts & set GPU max 532MHz / min 266MHz as default

- Enabled modules support & modules tab in synapse

- Enabled NTFS, CIFS, ISO, UDF, XPAD support

- Enabled OTG USB & SideSync support in TW version

- Disabled remaining debugging and logging features

- Disabled some unstable governors

- Various tweaks here and there..

Kay guys this is it :victory: thanks to all the testers that help me to satisfy myself with the number 10.0 on my thread lol, very appreciate the help guys :cool: so have fun and stay safe ;)
[Galaxy S 4 i9500 Android Development] daogiahieu:
I have just flashed the X version for TW. The phone can boot now.

Will report back if have something wrong :D.

thank you for this great project.
[Galaxy S 4 i9500 Android Development] Pesimistadam:
Will nougat support later?
[Galaxy S 4 i9500 Android Development] ammar18:
Nougat isnt even released yet for our device (LOS 14).
[Galaxy S 4 i9500 Android Development] davypacheco:
Does the latest version for touch wiz is undervolted by default?
[Galaxy S 4 i9500 Android Development] daogiahieu:
Yes, i have flashed it.

But you can set it to any way you want by using synapse :good:
[Galaxy S 4 i9500 Android Development] Pesimistadam:
I have problems with the speaker sound in the latest version
[Galaxy S 4 i9500 Android Development] todays4:
me too
[Galaxy S 4 i9500 Android Development] davypacheco:
For me the device doesn't go to deep sleep neither touch wiz versions as well cm , I really love the kernel. The phone is warm even without using it for hours and drain the battery. Because of a kind of l2 wakelock
[Galaxy S 4 i9500 Android Development] :
Will check, if it is something i simple then ill fix it

People have been reporting good & bad battery life at the same time in test groups and on xda as well. As I already said many times, try to use solutions like greenify + amplify to limit wakelocks I guess cuz I already tried to decrease many kinds of wakelocks for you guys
[Galaxy S 4 i9500 Android Development] davypacheco:
I appreciate your work , the device on heavy use is great , the battery last what it has to be , the problem is deep sleep , I really wanted to use your kernel and though it Was related to touch wiz

This is the wakelock that I have

Battery was 100% when I went to sleep .
[Galaxy S 4 i9500 Android Development] daogiahieu:
I sometime have this problem with version X and FF V6. But i resloved it by restart my phone :good:
[Galaxy S 4 i9500 Android Development] hansonchen:
There's something wrong with those who complained about wakelocks. [MENTION=5963088]jwchen17[/MENTION] your final built is fine, many times it's users problem tinkering with the kernel without knowing what they do or installed some badly written apps.

But i do suspect my phone rebooted while i was sleeping because kernel adiutor's notification was on when i woke up to check my phone, twice. I'll monitor how it goes during the day. Here are my screen shots showing how my phone is sleeping like a log using morphose full rom + greenify & minor tweaking of the kernel
[Galaxy S 4 i9500 Android Development] hansonchen:
Another screen shot of my only tweaking of the kernel. [MENTION=5963088]jwchen17[/MENTION] I sympathise you for trying so hard to solve everyone's problem but i do believe the problem is non-existent. I don't find anything wrong with the sound thru speaker too, what's wrong with it? You're running in circles, have faith in your work, it's perfect now IMHO.
[Galaxy S 4 i9500 Android Development] :
v10.1 - 31032017 thanks to [MENTION=8089787]halbinger[/MENTION] for compiling

- Disabled dynamic hotplug

- Adjusted init values

- Increased latency multiplier on ondemand

Tiny update cuz ppl want hotplug off :D
[Galaxy S 4 i9500 Android Development] aalxx:
Not the same topic but I was curious to know; will you be supporting Nougat or will this kernel die? The GearCM nougat update doesn't seem very far and I'd hate to use the default kernel.
[Galaxy S 4 i9500 Android Development] :
I'm not gonna comment on the future of this project as I can't guarantee anything. However, [MENTION=8089787]halbinger[/MENTION] is on his way to create a tiny little gift before he buy a new device as well :silly:
[Galaxy S 4 i9500 Android Development] aalxx:
Oh ok. Thanks for what you've done so far, we really appreciate it.