yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
anybody help the [MENTION=5963088]jwchen17[/MENTION] ? We all look forward to the new kernel!
[Galaxy S 4 i9500 Android Development] :
zram is not so stable at the moment so i dont think i'll enable it in v9.0, the kernel will be up tonight after i re-arranged synapse a bit
[Galaxy S 4 i9500 Android Development] kongacute:
If u zram stable, can u make zram upto 1,5gb?
[Galaxy S 4 i9500 Android Development] :
Update!

i'll try :)

v9.0

- Reverted ondemand changes to fix freq stuck

- Fixed TW issues on v8.9

- Fixed optimize database tool in synapse

- Added some simple build.prop options in tweaks tab

- Added screen modes tab, allows changing resolution and color mode

- Removed google service scripts on TW for now

I only had time to test TW version so far. CM and RR are untested but they should boot, tell me if synapse works or not on these two versions as I added new synapse features and they might cause issues. Happy lunar new year guys :D
[Galaxy S 4 i9500 Android Development] Toggie:
Hello [MENTION=5963088]jwchen17[/MENTION], can you add support TTL Targets at you kernel?
[Galaxy S 4 i9500 Android Development] Aakrep:
Thanks bro, I will test TW version :good:

Edit: I view some bug now bro... CPU is freezing with 1700 and up freq

Touchkey cpu boost freq not chance... Audio menu has a failed message...intellim governor's cpu up settings is not stabil, sometimes cpu freq is not up freq and that is use min cpu freq on work.... But LWK kernel's intellim governor is stabil.
[Galaxy S 4 i9500 Android Development] MostaphaHida:
GCM version black OS ..no boot animation no LED glowing.
[Galaxy S 4 i9500 Android Development] :
i alr said it many times that >1.6ghz freqs are not recommended, i'll remove OC next ver

thanks for reporting im installing gcm now
[Galaxy S 4 i9500 Android Development] :
Small update!

v9.1

- Added more dpi options in resolution changing

- Enabled swap

- Fixed synapse errors

- Disabled OC, now max freq 1.6GHz

- Changed some init values in ramdisk

Have fun ;)
[Galaxy S 4 i9500 Android Development] FaySAL Majoka:
Thanxxx For Thiz Great Kernel ???

My Gt i9500 was CPU overheating issue..... Goes up to 85-90 C. some times....

But With thiz Kernel i hanlde it by under clocking cpu to 1400 Mhz and little under voltage Cpu......

Now its on 50 to 60 C .... Is it Normal??????

One issue is not solving unstable Wifi......

Connect Always with router...... But some times freeze and no downloading and uploading......

Thiz issue was since Stock ROM.......

Is it my Modem issue ??????

mine is

Baseband: I9500XXUHOG2
[Galaxy S 4 i9500 Android Development] :
good to hear u like my kernel, but if the issue exists since stock rom with stock kernel then i'm afraid it might be your router or sth hardware related and not kernel
[Galaxy S 4 i9500 Android Development] himuslg123:
does this kernel support ir remote or private mode feature ?
[Galaxy S 4 i9500 Android Development] :
ir is working, private mode i dont remember if i applied fix or not actually
[Galaxy S 4 i9500 Android Development] himuslg123:
thanks for your reply ..but need to confirm it from other users as its very important for me to have working private mode...
[Galaxy S 4 i9500 Android Development] FaySAL Majoka:
Yes u r Right....... I think its all cause by cpu overheating.......

Can u give me some tips to Reduce Cpu overheating ......

Voltage or any other settings?????
[Galaxy S 4 i9500 Android Development] :
Update!

v9.2

- cfq as default I/O scheduler

- Compiled gpu with Ofast

- Added wakelocks tab with google service drain fix

- Added wipe init.d option in case init.d scripts interfere with kernel settings

- Optimized hotplug and ondemand for battery

This will be the last update for now as I don't have the phone with me anymore starting from tomorrow. My cousin need a phone so I decided to give him my S4 :D Have fun guys!

I added donation link ;) consider donate if you enjoy my kernel :D
[Galaxy S 4 i9500 Android Development] wooser:
Which part of the world is February already?!
[Galaxy S 4 i9500 Android Development] :
You can further decrease your max freq, do about -50mV in every freq and max gpu freq at 480MHz ( or even 350MHz like me ). Be careful with voltage settings tho don't go too low :D You can check my second post, I posted my settings there in the code box
[Galaxy S 4 i9500 Android Development] :
well I planned to release it tomorrow but then I changed my mind and wanted to upload it today, then all my kernel build were named for tomorrow already and I'm too lazy to renaming them

edit: changed the thread name ;)
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Nice! Many files in few days. We like that the kernel compilation process is very active!

this new kernel 9.2 is Perfect! no more lag and it have good battery saving.

thanks very much [MENTION=5963088]jwchen17[/MENTION]
[Galaxy S 4 i9500 Android Development] kongacute:
Can someone share me cpu goverbor and io for balance?
[Galaxy S 4 i9500 Android Development] FaySAL Majoka:
I want to report that latest kernel 9.2 CPU is not goes up to 800 Mhz......

And also some Random Freezing issue and phone become unresponsive......

Then i reinstall previous 9.1 and its working to full CPU 1.6 MHZ......but Random Freezing issue still........
[Galaxy S 4 i9500 Android Development] :
I couldn't find wakelock control tab on v9.2. Still has wakelock issues with UHPJ3. Restored my GCM backup.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
no issues with TW version of 9.2 kernel.

nevermore other kernel...
[Galaxy S 4 i9500 Android Development] aashuG:
Deep sleep issue

After flashing My phone is always remains awake deep sleep is not working. Any suggestions what to do?
[Galaxy S 4 i9500 Android Development] :
im working on blocking more wakelocks next version, stay tuned

you can also use apps like greenify, amplify and power nap to further force your phone to sleep
[Galaxy S 4 i9500 Android Development] aashuG:
In the starting I also feels that is due to some app misbehaving but after using greenify the issue remains as it is. Then I flashed the stock kernel to check and phone is entering deep sleep

The kernel is amazing screen on time is just awesome but only thing is deep sleep is not working may b on my phone. :(
[Galaxy S 4 i9500 Android Development] :
​

probably my kernel because many others also reported that deep sleep doesnt seem to work so i will look into it soon :)
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
my phone sleep like a children.

battery usage screenshot while it sleep
[Galaxy S 4 i9500 Android Development] :
Once I used v8.4.1 with FirstFlight and had no problems with both usage and deep sleep. But when I tried NvM with other TW roms such as stock UHPF1 and stock UHPJ3 and also an S6 port rom, my phone have never slept. But I'm sure jwchen will overcome these wakelocks. We just need some patience.
[Galaxy S 4 i9500 Android Development] :
thanks bro, new versions are coming, but my screen just broke recently so you guys will test if they work and report back to me cuz I can't test them myself now
[Galaxy S 4 i9500 Android Development] Aakrep:
I have sometimes random reboot and wakelock problems on TW 9.2 octanote vm... And tw 9.0 performance is better than TW 9.2 (I'm not test TW 9.1) [MENTION=5963088]jwchen17[/MENTION]
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Use the FirstFlight TW rom
[Galaxy S 4 i9500 Android Development] :
Update!

- Re-enabled some configs for both versions

- Tweaked some init values for snappier kernel

- Disabled power save bias by default in ondemand

- Added back google service drain fix for TW by default

- SYNAPSE: Added more control for wakelocks

- SYNAPSE: Added live display for active cluster A15/A7

- SYNAPSE: Added a switch for kernel log

All versions are untested as (again) I don't have my S4 anymore. Report if anything is broken :)
[Galaxy S 4 i9500 Android Development] kongacute:
Wakelocks tab broken bro. Plz fix it soon.:(
[Galaxy S 4 i9500 Android Development] :
[MENTION=5963088]jwchen17[/MENTION] i also have a huge problem, cpu is always stuck in max 600 MHz (haven't tried v9.3 yet). Even i don't change any parameter i mean with the default settings (install kernel, reboot, open synapse and hit the tick) max 1.6 GHz and min 700 MHz but the real values are min 350 MHz and max 600 MHz. Also Synapse settings are bugged. While sliding a slider e.g touchboost, it jumps from a value to a far value. I will try to shoot a video as soon as possible. I know this's been a long text, sorry for that.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
How can the man of best kernel of i9500 have not a s4? nevermore don't have a s4 anymore...

Please, anybody can give a phone for he continue
[Galaxy S 4 i9500 Android Development] :
its ok bro, my friend is helping me to test with his s4, might as well borrow his s4 for sometimes
[Galaxy S 4 i9500 Android Development] :
Small update!

v9.4

- Disabled most configs in prev version, seems to slow down the device

- Enabled modules support in TW version

- Optimize ondemand for more battery

- Re-adjusted some memory init tweaks

- SYNAPSE: Remove some unnecessary options and wakelock tab for now

Small update disabling some configs I enabled earlier since you guys said it lags more than previous versions.

I havent look at this but it maybe that the cpufreq display is bugged also, try using like kernel adiutor to see if the frequency scales properly or not, and I think I forgot to look at touchboost again lol probably because I didn't remove some code
[Galaxy S 4 i9500 Android Development] Aakrep:
Why bro? Is FF Rom better than Octanote Rom?
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
[MENTION=5746787]Aakrep[/MENTION] I think that the FF is more stable and as this man of nevermore had a mod 11gb for FF then I used and can say that a ROM is perfect even without updates recently...

error.

in Synapse the 9.4 version show 0 ma for current now:
[Galaxy S 4 i9500 Android Development] Aakrep:
But anyway Octanote rom is FF based Debloated rom and very stabil, everything works good. I think Octanote is lighter than FF Rom.
[Galaxy S 4 i9500 Android Development] :
I rememberk I had checked and tried to change the freq values using No Frills but nothing changed and it was visible too. I had very laggy UI and delays on transitions between tasks/apps. Also touchboost was just an example, other sliders are bugged too. As I said before I will try to shoot a video of my problems ASAP.
[Galaxy S 4 i9500 Android Development] :
v9.4.1

- SYNAPSE: Attempted to fix live cpufreq display

- Some minor fixes

I tried to fix what you said in 9.4.1, give it a try if you have time :) I haven't test it fully yet
[Galaxy S 4 i9500 Android Development] aashuG:
I also have the same xprience with V 9.4. The UI is very laggy.

But somehow managed to check the deep sleep which was working good. But sluggish UI forced me to switched 2 stock.

Now saw the update, will give the try to the update
[Galaxy S 4 i9500 Android Development] :
try v9.4.2, I reduced the performance in previous versions :o

v9.4.2

- Increased performance of ondemand

- Enabled vnswap

- Updated Touchwiz module files

- Disabled network filesystem
[Galaxy S 4 i9500 Android Development] aashuG:
I tried the version 9.4.1 but performance was still laggy. I also try to change the governor to interactive but problem still remains the same.

Now will try the new version and report.
[Galaxy S 4 i9500 Android Development] :
Yay! CPU Freq is now correct, thank you! But.. wakelocks still seem as an issue. At first device was able to sleep 10 mins then stuck awake :/
[Galaxy S 4 i9500 Android Development] :
Previous post didn't let me attach 4 images o.O
[Galaxy S 4 i9500 Android Development] RaNoS25:
This kernel is better than ale95 rom kernel?

Does this nevermore kernel is better than ale95 also this nevermore kernel is flashable on ale95 latest rom update?
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
better battery drain with same performance.
[Galaxy S 4 i9500 Android Development] aashuG:
I m currently on latest version every thing is close to OK now but there is lots of redraws like launcher is redrawing every time when home button is pressed plus kernel is closing background app also like music player, battery monitor etc.

Deep sleep is working now also I switched to interactive Governor which is also giving good battery backup.

After long deep sleep like half an hour when phone is unlocked it glitches a lots and it takes time to get normalize.
[Galaxy S 4 i9500 Android Development] daogiahieu:
I am using FF v6. When flash voltaqe v15.0 i have some error and must come back to stock kernel.

hope you will make the most stable kernel for our TW roms :D. Nice to see a Vietnamese dev here.
[Galaxy S 4 i9500 Android Development] hero355:
I installed this kernel. But in Synapse there is no option to overclock cpu to 2.0ghz only 1.6ghz stock
[Galaxy S 4 i9500 Android Development] :
i removed overclock a few builds ago, above 1.6ghz is not stable
[Galaxy S 4 i9500 Android Development] hero355:
Ah. Thanks. Any tip for battery life. Because phone itself drain battery in idle mode.
[Galaxy S 4 i9500 Android Development] :
take a peek a my #2 post under OP, it's the settings I use to improve battery :D I use the pretty popular setup (amplify + greenify + naptime) also so Iguess u might want to try if you haven't :highfive:
[Galaxy S 4 i9500 Android Development] hero355:
Thanks. Will try and report back.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
good battery drain in idle state. I get 1 day more
[Galaxy S 4 i9500 Android Development] hero355:
If i disable wifi, in 7 hours no use it only drains 1%. But when i turn on wifi, it's draining blazing fast.

Maybe you can give me your method for battery life.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
WiFi drain very fast your battery can be your modem. Flash other modem via recovery mode.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Did you try this:

Go to wifi-> more -> advanced -> and turn of "always allow scanning" :p
[Galaxy S 4 i9500 Android Development] todays4:
CM is not havent "option always".....bla bla
[Galaxy S 4 i9500 Android Development] daogiahieu:
sorry i don't know that. I thought he use TW rom like me :angel:
[Galaxy S 4 i9500 Android Development] BeeOS:
lun max sectors limit

Hi there!

I'm using your kernel with DriveDroid app to mount iso's for PC, there is one issue with lun max sectors count limit in the kernel. Can you please patch /drivers/usb/gadget/storage_common.c for next version? Need to delete 702-707 rows.

if (num_sectors >= 256*60*75) {
num_sectors = 256*60*75 - 1;
LINFO(curlun, "file too big: %s\n", filename);
LINFO(curlun, "using only first %d blocks\n",
(int) num_sectors);
}

Thanks any way.

Sorry for my bad english :)
[Galaxy S 4 i9500 Android Development] :
sure bro i'll take a look in next version :fingers-crossed:
[Galaxy S 4 i9500 Android Development] vahillah:
I installed the last version on ARKROM, all nice and good, but deep sleep only 4s for last night until this morning. It drains the battery a lot.
[Galaxy S 4 i9500 Android Development] thaimmeo:
How to Wipe kernel control app data?
[Galaxy S 4 i9500 Android Development] daogiahieu:
Which rom are you using with this kernel ?

Can you make a report for it :D
[Galaxy S 4 i9500 Android Development] lamhoang:
tw seems confusing since some reported battery working fine but some reported battery drain, he said will try to fix :good:

go to app info > clear data, or go to synapse > wipe > wipe synapse data
[Galaxy S 4 i9500 Android Development] :
Small update!

v9.5

- Patched storage like [MENTION=3563179]BeeOS[/MENTION] request

- Used gzip as kernel compression

- Optimized for ARM & size

- Tweaked ramdisk a bit

Haven't test them thoroughly yet :p good day bois!
[Galaxy S 4 i9500 Android Development] Skrillex2911:
You should first get your source on Github mate. That way we could see how to help you easily and make commits to it.
[Galaxy S 4 i9500 Android Development] :
yup its on github check first post, i started github but then forgot to update the source on first post for a while :D the commits i made seem a bit messy tho cuz sometimes i forgot to clean after build and i was not familiar with git command lol
[Galaxy S 4 i9500 Android Development] Skrillex2911:
Ok. Right now im going to see if i can make your ondemand governor to actually use the 2000 mhz frenquency. Because the only way to use those frequencies is to set the min freq to 2000 mhz. Ill try to make the commits and you give permissions

Edit: 1 Commit made already. Dont have time to test it but should work now like a charm ;D
[Galaxy S 4 i9500 Android Development] :
merged it, thanks for the addition, 700mhz should be fine tho, the problem is that the voltage for 700mhz should be 1250000 instead of 1150000, i think that why it fail cuz i did some undervolt, havent test 700mhz myself lol
[Galaxy S 4 i9500 Android Development] robsonsilva:
Of course I can help with something. Your kernel is excellent but we can try to improve. As the [MENTION=6172162]Skrillex2911[/MENTION] said the source on github help work.
[Galaxy S 4 i9500 Android Development] Skrillex2911:
Does'nt matter what voltage you use with 700 mhz, it will fail. The PowerVR GPU in our devices has been proofed to fail in 700mhz since KitKat. But you can try. By the way, keep me informed about ondemand new update behaviour please.
[Galaxy S 4 i9500 Android Development] MostaphaHida:
kernel is pretty smooth but i think there's a problem in sound it's being lower nw and distortion.. using v4android alongside,overall it''s a great kernel.Thanks
[Galaxy S 4 i9500 Android Development] Skrillex2911:
Already in Github [MENTION=7281608]robsonsilva[/MENTION] Feel free to help.
[Galaxy S 4 i9500 Android Development] :
oh ok thanks for the info i didnt know that :D i havent got time to compile new version, maybe ill do it today, might try to add uksm again too
[Galaxy S 4 i9500 Android Development] robsonsilva:
I would like to compile the new version only sabermod? I also think that limiting the maximum frequency to 1400 not greatly improves the battery and affect performance somewhat. I not added anything yet at github why I think the kernel has everything I need right now.
[Galaxy S 4 i9500 Android Development] :
i think it would be ok, we can have a sabermod only version and a sabermod hybrid version :D
[Galaxy S 4 i9500 Android Development] Mr.Virus00:
Offline charging?
[Galaxy S 4 i9500 Android Development] :
what do u mean bro?
[Galaxy S 4 i9500 Android Development] krasCGQ:
I think he means:

Is the offline charging work?

Offline charging = Charge when the phone is turned off
[Galaxy S 4 i9500 Android Development] :
of course bro :D why would it not ;)
[Galaxy S 4 i9500 Android Development] Mr.Virus00:
Thanks;)

Flashing now:fingers-crossed::D
[Galaxy S 4 i9500 Android Development] :
Update!

Enjoy guys :D some feedback would be greatly appreciated :fingers-crossed:

v2.3

- Fix ondemand to use all freqs thanks [MENTION=6172162]Skrillex2911[/MENTION]

- Removed 700Mhz gpu freq for stability

- Disabled optimize for size config

- Changed hotplug for lil more performance

- Applied [MENTION=6043425]melekbarca[/MENTION] wifi drain fix for RRemix version
[Galaxy S 4 i9500 Android Development] robsonsilva:
Another amazing update. Thank you.
[Galaxy S 4 i9500 Android Development] coolfx89:
gearcm 13

stuck at samsung logo
[Galaxy S 4 i9500 Android Development] robsonsilva:
With the release of cm? Try deleting the cache and dalvik and install again.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Thank for update.

But

I see this

Instructions

-Lastest Gear Recovery recommended to avoid sensors not working-

Why if i don't use Gear Recovery it make sensors not working bro ?

i am using twrp 3.0.2.2 and have an backup, i don't want to make another backup for my rom.

and a small question.

I read that Known issues in #2

Wakelock issues are still there

Random reboots :s

Did you fix it in this version ?
[Galaxy S 4 i9500 Android Development] :
TWRP 3 or newer should be fine, and no but random reboots happen rarely. I have no issues with wakelocks on gearcm, but people still report wakelocks problem on tw
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I get bootloop in 9.5
[Galaxy S 4 i9500 Android Development] lamhoang:
which version? stuck on which part, boot animation or the s4 bootsplash?
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
in s4 i9500 bootsplash I had bootlooop.... TW version
[Galaxy S 4 i9500 Android Development] krasCGQ:
Hi [MENTION=5963088]jwchen17[/MENTION]

I've something to merge on your kernel ramdisk's repo. xD
[Galaxy S 4 i9500 Android Development] yenalarslan:
While using screen mirroring , if the screen turns of when I open it I face issues. The page I was screen mirroring and the home backround are blinking one by one and I can not stop them.

I have to reboot the phone.

Except this issue everything seems fine for me.
[Galaxy S 4 i9500 Android Development] :
merged xD thanks

will try to look into it :fingers-crossed:
[Galaxy S 4 i9500 Android Development] vahillah:
Yes I can confirmed it. On arkrom tw version
[Galaxy S 4 i9500 Android Development] MostaphaHida:
S4 logo shows up then keep restarting GCM version.
[Galaxy S 4 i9500 Android Development] dhaval2010:
splash bootloop

Same Here on FF

Just s4 splash and bootloop
[Galaxy S 4 i9500 Android Development] :
Update!

kernel was too big I didn't notice that's why they don't boot

v9.6

- Back to xz kernel compression & O3 flag

- Changes regarding pm_wakelock configs

- Fixed possible memory leak

- Some kernel fixes and upstream changes

- Minor ramdisk changes and tweaks

Should all boot fine now :D Have fun flashing!
[Galaxy S 4 i9500 Android Development] vahillah:
Still can not get the device to deep sleep. I don't know whats wrong. On arkrom tw version.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
9.6 version is very good. Battery drain very slow. Good performance and no wake up phone problem.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Which rom are you using ?

TW or AOSP ?
[Galaxy S 4 i9500 Android Development] lamhoang:
kernel seems to work better with aosp roms i think, everything is good on gearcm but on touchwiz it's kinda laggy not sure rom or kernel
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
TW the FF rom. My phone have no lag. Good performance and battery (attach.). Thanks jwchen. " Other kernel nevermore"
[Galaxy S 4 i9500 Android Development] lamhoang:
are u using any wakelock blocker or greenify kinda stuff? many people report wakelock but i see u got a good battery chart there :D
[Galaxy S 4 i9500 Android Development] daogiahieu:
Thank you :p I am using FF too. In stock kernel, if i don't restart my phone after 3-4 days. It takes many ram so it is very laggy.

Do you use rom control on FF ? Do you think romcontrol work well with this kernel ?
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I don't have wakelock blocker or greenify. The 9.6 kernel is better than early versions (its had wakelock).

---------- Post added at 01:49 PM ---------- Previous post was at 01:46 PM ----------

Nice. I prefer don't use romcontrol because the developer no release the new version for FF v6.
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi mate, in your kernel setup did you changed any of the cpu governor and io scheduler ??

Thanks in advanced.
[Galaxy S 4 i9500 Android Development] :
Small update!

v9.7

- Reduced wlan_rx & wlan_ctrl wakelocks

- Reduced hotplug polling

- Removed limit on pm_wakelock config

- Tweaked ramdisk init values for more performance

- Minor synapse code changes and tab re-arrangements

Minor update :fingers-crossed:
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I just clear data for Synapse and I open the app to click in accept (v). Then I use stock configuration.