yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] fariez:
The EOL GCM kernel works superbly, it works even better on the latest version than the

previous GCM--smoother and no more frozen UI after unlocking screen.

I'm on Intellim CPU governor, 250-1200MHz, 'enable load threshold' set at 250 on CPU hotplug.
[Galaxy S 4 i9500 Android Development] munimjaffer:
Hey? How to switch back to old kernel(the stock one).?
[Galaxy S 4 i9500 Android Development] Dang !!!:
Hey asad.. Ur work is awesome.. I use ur eol kernel n freaking awesome.. Thanks for bringing back usb fast charging.. I will look forward for ur work appreciation with a beer.. Lol.. :silly:

---------- Post added at 05:28 AM ---------- Previous post was at 05:27 AM ----------

Flash in custom recovery with ur wishing kernel..

Plz dnt forget to wipe dalvik as well as cache first. n then flash selecting boot partition.
[Galaxy S 4 i9500 Android Development] kios19:
Is there an ir fix for the cm kernel coz i seriously don't wana switch back to the default one, the stability and battery life on this is better
[Galaxy S 4 i9500 Android Development] zozoz13:
[MENTION=4296690]asad007[/MENTION] Hey mate, is there a way to increase Max frequency? I've disabled hotplug, but the lags are still there when doing multitasking.

Also could you update the kernel to the latest GearCM source?
[Galaxy S 4 i9500 Android Development] asad007:
Try using Lionheart governor ,

right now I'm having a different problem, sometimes when the screen goes off it doesn't turn back on and needs a reboot (some data is lost such as if you created a widget it won't show after reboot )

I'm using f2fs partition for /data and /cache

I need confirmation whether this occurs with ext4 or not

Edit : the bug seems rare (now it is not happening) need feedback from you guys about it.

(This is probably not related to file system as I previously thought)
[Galaxy S 4 i9500 Android Development] BenDroid1:
Hello [MENTION=4296690]asad007[/MENTION] this will sound strange but will you please develop this same kernel for Android Nougat (7.1.1) for the resurrection remix ROM for Galaxy s5 klte(g900f) .. There are absolutely no good custom kernels in this development
[Galaxy S 4 i9500 Android Development] krasCGQ:
Yep. I actually think the same.

I think it's more related to CPU (Sleep of Death).
[Galaxy S 4 i9500 Android Development] :
also think its probably related to how to cpu suspend its activities, happens once in a while in my kernel too, both my old one and my new one based on voltaqe's source
[Galaxy S 4 i9500 Android Development] zozoz13:
Solved. Using Alucard and some changes to LMK.

It happens on me too. Sometimes I have to press power button three times to wake up the phone. Not to have to restart. Even with or without hotplug.

I'm using ext4 btw.

Sent from my Zenfone 2
[Galaxy S 4 i9500 Android Development] :
Could very low min. freq. cause this? I once experienced this type of problem with min. 100 MHz and I decided to raise it to 250 MHz and looks great for a month. By the way, I use alucard and my hotplug settings are set to minimum 3 cores active.
[Galaxy S 4 i9500 Android Development] ridershahmir:
Hi [MENTION=4296690]asad007[/MENTION] Bro , just installed the latest version and getting no UCI support error , any fix?
[Galaxy S 4 i9500 Android Development] esbatulembek:
Dude this kernel doesn't support synapse
[Galaxy S 4 i9500 Android Development] ridershahmir:
I think back in the days of v5. 2 it used to support ucpi if I'm not wrong .
[Galaxy S 4 i9500 Android Development] zozoz13:
Yep. Earlier version of the kernel has Synapse support. But it was removed from a few last build.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] ridershahmir:
Guys any way to improve the CPU performance on latest version the eol version the CPU hotplugging appears to be very aggressive although I disabled multi core power saving but still there's always a delay in response , tried changing the Governor but no luck . Any suggestions?
[Galaxy S 4 i9500 Android Development] asad007:
Disable hotplug.
[Galaxy S 4 i9500 Android Development] ridershahmir:
Self edit

---------- Post added at 10:59 PM ---------- Previous post was at 10:21 PM ----------

If you mean multi core power saving option in kernel auditor in cpu section , already did that but no noticeable change.
[Galaxy S 4 i9500 Android Development] asad007:
Use Kernel adiutor mod app (search XDA) and you'll find hotplug section there to disable hotplug
[Galaxy S 4 i9500 Android Development] ridershahmir:
Sorry for stupid question but can you please tell me how to disable it? Please don't mind such stupid questions .
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Set the first 3 sliders to 0.
[Galaxy S 4 i9500 Android Development] ridershahmir:
Thanks
[Galaxy S 4 i9500 Android Development] asad007:
LWK EOL 2.0 is UP !!!

Thanks to jwchen17 for compiling ............
[Galaxy S 4 i9500 Android Development] zozoz13:
Changelog? I can't seem to find it in your Github (latest commit Nov 28).

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] :
disabled fsync is the main change :)
[Galaxy S 4 i9500 Android Development] ari25:
Awesome work asad, the SD card issue is solved. Always felt that the I9500 was the less loved sibling as it had good rom development but nothing on the kernel side, well after andrei and maxfu stopped developing. Thanks and kudos to you I9500 can hold its own against i9505 again :thumbup: :thumbup:
[Galaxy S 4 i9500 Android Development] Xpid3r:
New version works great..

Using Galaxy S4
[Galaxy S 4 i9500 Android Development] Halcyon:
Yeas thanks to asad , but still we're far to reach even i9505 developments as we dont have Custom recoveries or many available Sources , but asad is holding the flag of i9500 Kernel Development for now and i wish to hear Continued Future developments from him.. i will be glad if he ports or create custom recoveries as well
[Galaxy S 4 i9500 Android Development] asad007:
All the credits goes to Andre and Maxfu

I used their sources to enable most of the significant features of this kernel
[Galaxy S 4 i9500 Android Development] asad007:
OP updated with Version 5.5

Major Change

- Added ROW i/o Scheduler

Btw it is Semi-Tested

I am using it and seems very stable :)
[Galaxy S 4 i9500 Android Development] alaa96:
what is the difference between noop i/o and row i/o ? :)
[Galaxy S 4 i9500 Android Development] Martillero:
V 5.5 gave me some troubles, slowdowns and didn't work so well, maybe it was my kernel set up, but I flash 5.4 and all is working great again.

Btw, is it possible to add fiops or sio scheduler? With fiops i always had amazing results on my other phone.

Thanks a lot again mate, you're doing some great stuff here.
[Galaxy S 4 i9500 Android Development] RoCorral:
+1 reverted back and all is good again
[Galaxy S 4 i9500 Android Development] khatkhatik:
Im using 5.4 I think there is something wrong in voltage chart. In 350 MHz voltage is 750 mV but I think it must be 950mV [MENTION=4296690]asad007[/MENTION] pls check it again
[Galaxy S 4 i9500 Android Development] asad007:
same here initially it was snooth then it started hanging

I'll remove the link

It is your previous value i guess

Clear the app data and reboot

Then check the values
[Galaxy S 4 i9500 Android Development] AkshayJ09:
Cam anyone please tell Mr the benifits of using this kernel over the one in Norma Rom ?

Thanks !
[Galaxy S 4 i9500 Android Development] alaa96:
you can tweak it as you like i got all the cpu steps uv by -100 mv with 100% stability and the 100 mhz step is uv by -125 ! :)
[Galaxy S 4 i9500 Android Development] asad007:
Link removed
[Galaxy S 4 i9500 Android Development] aakashdahake:
Asad..man... Plz build something for lollipop AOSP builds (5.x & 5.1.x)

To improve battery life and performance.. Many of us had stopped using TW ..

We hope for the best.. ?
[Galaxy S 4 i9500 Android Development] asad007:
I need tester for cm cause i dont use CM
[Galaxy S 4 i9500 Android Development] Martillero:
I ve test the kernel and come here to say it wasn't stable but u already remove the link ?
[Galaxy S 4 i9500 Android Development] codybank_789:
No problem i can be a tester, but just make sure that your kernel wont blow my phone up. :D
[Galaxy S 4 i9500 Android Development] asad007:
Cause i am also testing lol :p

Cant promise you that XD
[Galaxy S 4 i9500 Android Development] asad007:
CM test version :

https://mega.co.nz/#!IcNnQYgS!RdBZ-cdY2xo-KEyZElI7F_PwpoSY1XNgo61yaaPrgc8
[Galaxy S 4 i9500 Android Development] asad007:
LWK 5.5 TW

(tested)

https://mega.co.nz/#!oJ0DEQTB!Og6lDoqe4mVyii-3WwwwUchOp4UIP3jG2tJ180uND7I
[Galaxy S 4 i9500 Android Development] asad007:
* Disabled Dynamic Fsync

* Some Ramdisk changes to minimise hotplug and increase performance

* Sleep of death problem seems to be fixed
[Galaxy S 4 i9500 Android Development] :
Could you adapt LWK to nian's MIUI7 5.11.14? The default kernel of it burns the charging ic i think, that burn smell when charging you know and there is no other kernel compatible with that rom. Galaxy Charging Current says the battery is being charged with 1380 mA. I think the problem is, unlike other kernels do, charge input is 1900 mA but kernel forces it to lower to 1380 mA at charging ic that overheats the charging ic and it smells like it's burning. If you say yes and dont want to download the whole rom, I can send you its kernel by pm. Thank you in advance.
[Galaxy S 4 i9500 Android Development] Aakrep:
dear [MENTION=5963088]jwchen17[/MENTION] and [MENTION=4296690]asad007[/MENTION]

What do you think about this article?? I agree this article...I think hotplug doen't provide saves battery.

https://xdaforums.com/showthread.php?t=1494653
[Galaxy S 4 i9500 Android Development] krasCGQ:
I've left i9500 development some while ago. However, I personally think that hotplug on non-Qualcomm devices is useless and doesn't have benefit on saving battery. My Intel device with hotplug just drains more (lol).
[Galaxy S 4 i9500 Android Development] zozoz13:
Same with my Zenfone 2. Hotplug just makes the phone more sluggish and causing huge battery drain. Also sometimes the phone didn't want to wake up.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] esbatulembek:
I'd reboot while testing my internet speed

Gearcm
[Galaxy S 4 i9500 Android Development] Aakrep:
Thaks brothers, I agree with you :good::good:
[Galaxy S 4 i9500 Android Development] Aakrep:
EOL V1 TW sounds is very loud [MENTION=4296690]asad007[/MENTION]

How can I get back to the original?
[Galaxy S 4 i9500 Android Development] Ale95:
[MENTION=4296690]asad007[/MENTION] You have private mode enabled?
[Galaxy S 4 i9500 Android Development] asad007:
What is I based on ? (TW or CM)

Yes.

Simple keep your volume low , other way is via terminal.
[Galaxy S 4 i9500 Android Development] :
CM11 based. Unfortunately, I have deleted the rom but if you can compile one and send me to test, i will download and send you its boot.img

This one here. I am downloading it right now.
[Galaxy S 4 i9500 Android Development] mickiemas:
Is there a miui8 ROM for our device?
[Galaxy S 4 i9500 Android Development] ridershahmir:
]https://mega.nz/#!l89H1Byb!N-G8kz_BrerHGd257ibkUEutdMV4ib8dmZjpSpTc8ss[/url]
[Galaxy S 4 i9500 Android Development] mickiemas:
Have u used it? Is it stable. Is there a link to the developers page?
[Galaxy S 4 i9500 Android Development] ridershahmir:
Well used it , it's pretty stable , but it has got those Chinese junk apps , besides that it's stable but if u want to get rid of them , you will have to Freeze them ( if you uninstall those apps then you will face boot loop) . Actually Its being developed by some Chinese developers may be and I can't find its links. Though download link was provided by a member . Check out miui 7 thread for i9500 and you will find whole discussion there
[Galaxy S 4 i9500 Android Development] mickiemas:
OK I will check it out thanks
[Galaxy S 4 i9500 Android Development] mickiemas:
Got this error when I tried installing it
[Galaxy S 4 i9500 Android Development] krasCGQ:
Seems to be in wrong place, but: Are you on 11 GB pit?
[Galaxy S 4 i9500 Android Development] ridershahmir:
You have to install philz touch recovery , place this file on sd and flash it , it will flash philz recovery. Then install the rom.
[Galaxy S 4 i9500 Android Development] mickiemas:
No I'm not on 11 GB pit.

---------- Post added at 05:47 AM ---------- Previous post was at 05:45 AM ----------

Does flashing that file change to 11 GB pit?
[Galaxy S 4 i9500 Android Development] ridershahmir:
Well I don't think so , when I tried to install miui8 for the first time I faced same issue but after installing philz it worked , now running gear recovery coz I shifted back to cm13 and its actually easy to change recoveries . Regarding the pit I actually don't have any idea of the pit . I am running I think the stock pit size that came with the phone as I never installed any pit file yet
[Galaxy S 4 i9500 Android Development] krasCGQ:
Unmount /system manually and flash the zip again.
[Galaxy S 4 i9500 Android Development] mickiemas:
i flashed with twrp and its working fine now. only problem is battery life. so i made a bavkup of my system then flashed the LWK miui8 kernel but system wont boot up so i restored the system. did any of u guys tried flashing the kernel when u flashed the rom
[Galaxy S 4 i9500 Android Development] asad007:
Which miui version as far as I remember I compiled for 6.10.31
[Galaxy S 4 i9500 Android Development] mickiemas:
6.12.31

---------- Post added at 06:32 AM ---------- Previous post was at 06:31 AM ----------

6.12.31
[Galaxy S 4 i9500 Android Development] asad007:
I need to change ramdisk for that.

pm me the boot.img

Also , I'll be putting up a new version with some optimisations over previous one and keep them as the only version on afh to avoid confusion
[Galaxy S 4 i9500 Android Development] asad007:
New version is up with some optimisations !!

Enjoy !
[Galaxy S 4 i9500 Android Development] Yusuf EROĞLU:
sounds is very loud

How can I get back to the original?
[Galaxy S 4 i9500 Android Development] mickiemas:
OK. Will flash it and see

---------- Post added at 08:42 AM ---------- Previous post was at 08:09 AM ----------

Well I flashed it and it has booted. Now waiting to see how the battery life is and how well the fast charge works.

---------- Post added at 09:33 AM ---------- Previous post was at 08:42 AM ----------

Does anyone know which xposed framework works with miui8
[Galaxy S 4 i9500 Android Development] Aakrep:
Yes, I agree... EOL 1.0 TW version's sound is very loud. .. Orjinal sound settings is very good on TW [MENTION=4296690]asad007[/MENTION]
[Galaxy S 4 i9500 Android Development] mickiemas:
On the mini 8 I find that it lags. Bad like it freezes for a few milliseconds but it happens very often. I use to happen when I was on RR with that kernel too. Help to fix plz
[Galaxy S 4 i9500 Android Development] asad007:
It don't know RR about miui probably is giving problem because it is kind of heavy ROM.

I'm using GCM with zero lags.
[Galaxy S 4 i9500 Android Development] mickiemas:
Maybe I'm saying it wrong. It doesn't really lag in the normal way it is fast but it sticks for less than a second and then it's OK for another few seconds then sticks again. I'm bk on the stock kernel for now with miui.
[Galaxy S 4 i9500 Android Development] Adham mustafa:
im on rr 5.7.4 and installed the kernel but how can i be sure that it is installed ?
[Galaxy S 4 i9500 Android Development] mickiemas:
Go to setting then scroll to bottom select the about and then scroll down to the kernel version.
[Galaxy S 4 i9500 Android Development] asad007:
Some testing results :

Every kernel setting was set to default except the hotplug disable load was set at 120

Time on battery : 12 hr

SOT : 2 hr 30 min

I usually get 2hr of SOT.
[Galaxy S 4 i9500 Android Development] asad007:
New version Uploaded !!

The kernel is the same as previous only tweaked the hotplug settings. Now they are almost perfect !

And increased Max GPU frequency.
[Galaxy S 4 i9500 Android Development] asad007:
Again New Update !!

This update is special with snappy performance.

Changes :

* Disabled Hotplug (Arm autohotplug)

* Add back the Stock hotplug ( occurs when screen off )

* Enabled Zswap + vnswap Combo for snappy multitasking

* Overclock upto 2Ghz ( do at your own risk )

* Added Some patches from GCM source

* Enabled more io schedulers

* Enabled for Governors

* Enabled for TCP algorithms (Westwood default)

* Ramdisk Tweaks

* Don't Remember.

Now I Always keep the latest version in the LWK folder.

Enjoy !!
[Galaxy S 4 i9500 Android Development] sahin_811:
Where is the link new update tw rom ?????????? : ((
[Galaxy S 4 i9500 Android Development] asad007:
Probably later if I get time.
[Galaxy S 4 i9500 Android Development] :
alucard and intellimm are laggy on GCM with 280117 build. Switched back to ondemand.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Alucard is permissible, since it doesn't have any big.LITTLE mechanism implemented on the code.

Edit:

So it'll always stuck and stuck on A7 core.
[Galaxy S 4 i9500 Android Development] :
I got it, thank you.

The weird thing is I've been using LWK with alucard up to 1 GHz since first EOL build with no lags at all but it started lagging on 280117 build and I had to raise it to 1.3 GHz but experienced no changes. Anyways, ondemand has good performance and battery life.
[Galaxy S 4 i9500 Android Development] asad007:
Intellimm is stuck to A7 (just noticed)

But alucard seems to work fine (goes beyond A7 freqs)

Edit : intellimm is also working great just needs a little tweaking of parameters to fix. (Not stuck on one type of cluster)

Just need to set optimal frequency and two stage frequency parameters higher.
[Galaxy S 4 i9500 Android Development] u7Xz:
Can you exactly tell us the values? Thanks.
[Galaxy S 4 i9500 Android Development] asad007:
Here

PS I use 1ghz Max freq
[Galaxy S 4 i9500 Android Development] asad007:
Soon I'll be uploading a refined version in the folder, and I'm thinking of discontinuing support for MIUI Roms as they are not stable enough and less number of people use it.

GCM and RR users stay tuned !
[Galaxy S 4 i9500 Android Development] asad007:
New Update!!

Changes :

* Optimised Ondemand to save more battery

* Fix (almost) lags with intellimm but at the same time made it extremely battery friendly (uses a7 freqs almost always)

* optimised ROW io scheduler

* More Snappy performance
[Galaxy S 4 i9500 Android Development] Dang !!!:
Please Dont Withdraw Support of MIUI

A less no of users may use this kernel.. but more stable with this kernel.. u r light and so does ur kernel.. thank you..
[Galaxy S 4 i9500 Android Development] Dang !!!:
Hi asad it seems ur latest builds 25/01/17 and 28/01/17 are causing me trouble to boot after patching and installing with dual patcher.. EOL version is being used.. Help from you is HELPFUL.
[Galaxy S 4 i9500 Android Development] asad007:
What's dual patcher , brief me about it.
[Galaxy S 4 i9500 Android Development] Dang !!!:
DualBootPatcher

Sorry to Say Asad.. You'll miss the fun if dont use this..

[PATCHER][APP] Dual boot any ROM on all Galaxy S4 variants!

DualBootPatcher is an open-source app that allows multiple ROMs to be installed on a single Android device. It does its best to work with existing code and does not require explicit support from ROMs. There are currently 140 supported devices and their variations.

This will allow any number of ROMs to be installed at the same time. It works by patching the secondary ROM's installation scripts and boot image to load the ROM files from an alternate location (/system/multiboot, /cache/multiboot, and /data/multiboot). Because of the way this is implemented, no changes to the primary ROM are necessary :D

It patches...

Custom kernels for dual boot support

ROMs so that they can be installed as secondary

Google Apps packages for AOSP-based ROMs

SuperSU so that it can be used in the secondary ROM

In My view and usage xposed, supersu, custom kernel, gapps, rom backups, flash new rom without wiping daily driver and test the newest rom and zips compatbility.. Nandroid backup a must..

NOTE: If you want to dualboot a TouchWiz ROM, I highly recommend installing TW as the primary ROM. Otherwise, any mods will need to be patched before flashing.

Latest build: 9.1.0.r152.g2cb576d4

try this.

forum xda link: https://xdaforums.com/showthread.php?t=2447534

apk link: https://dbp.noobdev.io
[Galaxy S 4 i9500 Android Development] asad007:
I'll check when I have time.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Can't wait for intellimm to be fixed but great work so far man your awsome
[Galaxy S 4 i9500 Android Development] asad007:
It will be fixed in next version till then set optimal freq parameter to 1GHz
[Galaxy S 4 i9500 Android Development] himuslg123:
does this support android 5.01 based roms along with 6.0 CM based roms in i9500 s4 ?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Awesome keep up the good work
[Galaxy S 4 i9500 Android Development] Dang !!!:
Yes, Dude.. it patches everything..
[Galaxy S 4 i9500 Android Development] FaySAL Majoka:
Thanxxx For your Great Work bro [MENTION=4296690]asad007[/MENTION] ??......

For Thiz light Kernel?

M new on S4 Gt i9500 with GCM 13 ... I have a issue whenever i install this kernel i never succeed..... Installation run properly but after reboot i got same kernel that was already on device....?
[Galaxy S 4 i9500 Android Development] himuslg123:
will try it today and let you know..
[Galaxy S 4 i9500 Android Development] asad007:
New Update !

Changes :

* optimised ondemand, intellimm, alucard and barry allen

* Tweaked ZSWAP for snappier performance

* Enabled Dynamic Fsync

* Decreased the charging current a bit (to be more safe)

* Can't Recall.

Now I don't think there will be any updates except if nougat (lineage 14.1) gets released I'll adapt the kernel.

Otherwise the kernel feels perfect.

Enjoy.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Thanks man what scheduler give the best battery life vs performance in your opinion?
[Galaxy S 4 i9500 Android Development] asad007:
Sio or deadline
[Galaxy S 4 i9500 Android Development] asad007:
New Update !!

Changes :

* Properly add lazyplug now

* Decrease Entropy

* Increase Swappiness

* tweaked Governors for more battery

* Removed Dynamic Fsync (caused "sleep of death" bug)

* Decrease Vibration strength

* Decrease Max speaker volume

* Decrease Screen Color saturation

* Screen off battery drain should be minimum even when WiFi is on

* can't recall.

Enjoy ...

PS : I got almost 4hr SOT on this one ?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Thanks man and what governer do you recommend for best performance and battery life
[Galaxy S 4 i9500 Android Development] asad007:
Ondemand : good battery + moderate performance

Intellimm : good battery + good performance

Alucard : great battery + low performance

Rest : great performance + moderate battery

Pick your best.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Thanks a lot keep up the good work.
[Galaxy S 4 i9500 Android Development] u7Xz:
Latest kernel is REALLY good. Thanks [MENTION=4296690]asad007[/MENTION]
[Galaxy S 4 i9500 Android Development] himuslg123:
true ..performance and battery backup is very good
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Intellimm seems to have issues scaling up to higher frequencies when doing heavy tasks like paying hearthstone for instance it will not go above certain frequencies why is that and there also seems to be a wake up issue as well, from where I am standing it seems to be a bit too aggressive with staying in those low frequency ranges

Battery life is awesome though if only we can get the performance when we need those higher frequencies while having it stick to low frequency for the majority of the time that would be awesome, you have done some great work so far though it's much appreciated thanks.

See the following screenshot

http://cloud.tapatalk.com/s/58965b4bd543e/Screenshot_20170204-175031.png?
[Galaxy S 4 i9500 Android Development] u7Xz:
Got a random reboot today. Maybe something with my settings. Here is the last_kmsg.txt