yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] sathya80:
How to enable profiles in zzmoove governor? . Am using 15.5.1.. i would like to try zanezame battery plus profile. I can't see profile option in governor tunable
[Galaxy S 4 i9500 Android Development] nevinjoseph:
I've been testing the v16 tw for a few days now and everything is working great in this version except for a couple of niggles like blue tint in stock camera and the Selinux which is set to enforcing preventing v4a from working.

The battery life however has been quite exceptional with this version. Better than v11.7 and 12.1 I must say. Also the memory management is better with this variant than any previous one I tested. Also the IR blaster is working without a hitch.

As a work around if anyone wants to make v4a working, just download and install selinux mode changer app from XDA and set selinux mode to permissive on each boot.

For the blue tint, just use snap camera app which works fine and has way more features than the stock camera app.
[Galaxy S 4 i9500 Android Development] asad007:
Or use the terminal and type

Su (hit enter )

Setenforce 0

Or maybe an init.d script
[Galaxy S 4 i9500 Android Development] asad007:
I don't really have any time for this guys

I need to discontinue now

Sorry for the sudden exit
[Galaxy S 4 i9500 Android Development] nevinjoseph:
I understand and really appreciate what you do for us. Before your kernel my s4 was like a dead weight but now my phone has been given a new life. I would say v16 is almost perfect. I was able to enable permissive mode with the app and battery life is really good as well. Only thing that seems to be broke is the inverted colours in the stock camera app and that is also the case when mirroring the phone display to my Samsung TV. Would really appreciate if you could just have a look into this issue and release one final bug free update. The rest of the features are just perfect. This kernel only needs a bit of bug fixing to make it perfect.
[Galaxy S 4 i9500 Android Development] gio_b:
Pls :set discontinued.

Giovanni.
[Galaxy S 4 i9500 Android Development] asad007:
Check This Version : https://www.dropbox.com/s/o0s270koc9hdgn0/TW-16.5-LWK.zip?dl=0 [MENTION=5709742]newfern[/MENTION]

Based on Perseus Sources

Thanks to Andreilux and Alberto96

Changelog :

* Initial Version
[Galaxy S 4 i9500 Android Development] gp545:
Kernel boots fine but seems to be few of the apps crashing or fail to open.. Probably because I didn't wipe data??! Wait for Newfern reply, may be its only on my device..
[Galaxy S 4 i9500 Android Development] yuber26:
flash ok with wipe cache, dalvik cache and preload.. when the phone end finishes updating the system and try to start, said system ui and alot of apps crash and never show the lockscreen and I can not do anything
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Glad to see you back mate.. Testing v16.5 now. Kernel boots fine and no fc for me on aurora 8.5 . But both internal and external sd card not showing in file manager. Cannot mountsd card from settings as well. And the ondemand-sec governor doesn't feel as smooth as ondemand.
[Galaxy S 4 i9500 Android Development] asad007:
Bugs (as per me )

*sensors are not working

*can't mount SD cards (related to fat/vfat support)

Did you guys check the camera ?
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Yes camera opens but couldn't snap pics as 'insert a sd card to take pictures' message comes up. Couldn't test other stuff as I have office today and need a working kernel. So switched to a stable one. Will be more than happy to test the kernel if a new version is released with bug fixes.
[Galaxy S 4 i9500 Android Development] michaelbelachev:
+ don't work vinration
[Galaxy S 4 i9500 Android Development] deepak179:
Onde suggestion Asad bro....

Please start with stock stable version , with making it permissive and capable of undervolting. That's it. No more playing around and that will give one Asad kernel which is rock stable like stock and can give better battery with undervolting.

Once you achieve this, then go on with more changes but always keep the link to stable one. people who want to test or want adventure can try the other versions and people like me who prefer stock stable kernel with minimum featureless like undervolting and permissive will stick by the stable one.

This is just a suggestion. It's totally upto you how you want to proceed.
[Galaxy S 4 i9500 Android Development] coolfx89:
i thought so..

In KK I've found maxfour is rock stable with enough features..maybe you can use it as based
[Galaxy S 4 i9500 Android Development] asad007:
Its outdated that's why I dont use it

I'll compile from lwk 16 sources using arm toolchain instead of linaro this may fix the warning issue
[Galaxy S 4 i9500 Android Development] nevinjoseph:
[MENTION=4296690]asad007[/MENTION]. I really liked v16. The only thing that bugged me was the colour rendering in camera app and screen mirroring to a TV. But the performance was rock solid. It was perhaps the smoothest kernel o used to date. I think it is a good decision that you're working on v16 as the base. All it needs is a bit of bug fixing and the rest is just perfect.
[Galaxy S 4 i9500 Android Development] asad007:
Just hope using arm toolchain fixes those issues
[Galaxy S 4 i9500 Android Development] asad007:
Test This :

https://www.dropbox.com/s/djq6o10pgr4krfg/LWK-16.6-TW.zip?dl=0
[Galaxy S 4 i9500 Android Development] shiruuu.samad:
Hey mate can pm me AOSP one ur using now?
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Sorry mate but v16.6 doesn't boot. The phone just went into a infinite bootloop after flashing.
[Galaxy S 4 i9500 Android Development] yuber26:
+1 same to me :(
[Galaxy S 4 i9500 Android Development] asad007:
New Version Soon

and it will be stable
[Galaxy S 4 i9500 Android Development] asad007:
op updated with latest version 17

enjoy the

light weight kernel
[Galaxy S 4 i9500 Android Development] asad007:
Uploaded the CM version

The front camera still won't work
[Galaxy S 4 i9500 Android Development] asad007:
Please review the TW version guys
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Testing v17.1. Haven't felt it to be much different from v16. But overall it is smooth and stable. The bugs like blue tint on camera and selinux set to enforce still persists. I hope you'll be able to squash those bugs soon. I've tried the workaround and ticked disable hw overlay but it seems to make the phone sluggish and graphics glitchy. The speaker volume and tuning seems perfect. It is loud and clear.
[Galaxy S 4 i9500 Android Development] fAIyaZ:
Have anyone try the latest version, plz review it
[Galaxy S 4 i9500 Android Development] VoLTaqe:
Now should work. I forget header use attachment for front fix. Include/linux/Kbuild
[Galaxy S 4 i9500 Android Development] sathya80:
How to include? I don't find any /linux folder in root directory
[Galaxy S 4 i9500 Android Development] shiruuu.samad:
I think its for asad while in building kernel he should include.Next version it will be there....i think.
[Galaxy S 4 i9500 Android Development] asad007:
Yeah its for me

Thanks [MENTION=5592093]VoLTaqe[/MENTION]
[Galaxy S 4 i9500 Android Development] asad007:
TEST VERSION FOR TW : https://www.dropbox.com/s/ed69jt1publbtjw/LWK-17.1.7-TouchWiz.zip?dl=0
[Galaxy S 4 i9500 Android Development] asad007:
CM Version Updated to Version 17.1.7

Test the TW Version so that i can add to OP
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Wow that was fast. Downloading and testing new version. Will report back the results.

Quick update: Kernel is smooth and stable as always and nothing too different from v17.1. The blue tint in camera bug is still there and the kernel is still enforcing rather than permissive.
[Galaxy S 4 i9500 Android Development] shiruuu.samad:
Testing.

Edit1;Boots well,No UCI in synapse

Edit2:Blue tint still present
[Galaxy S 4 i9500 Android Development] asad007:
In terminal

Type "Su" and hit enter

Type "setenforce 0" and hit enter

Then check for permissive
[Galaxy S 4 i9500 Android Development] sathya80:
But it resets after each boot.
[Galaxy S 4 i9500 Android Development] asad007:
Yeah I think there must be a typo in my code where I set it to permissive
[Galaxy S 4 i9500 Android Development] alaa96:
good thing to see that you are still maintaining this master peice ;) good job your kernel is smooth and stable :) all the respect and Appreciation
[Galaxy S 4 i9500 Android Development] Einsamjager:
is kernel fully compatible with rr 5.5.1 frapeti build?
[Galaxy S 4 i9500 Android Development] majid.a505:
hi dear ,, why every time i reboot my phone the Hardware Overlays in Developer its be on...need again to make it off,, fix the inverted colour,, of tw version
[Galaxy S 4 i9500 Android Development] 7outa:
If you have xposed installed there is a module to automatically enable "disable hardware overlay" in developper option

Envoyé de mon SM-G9250 en utilisant Tapatalk
[Galaxy S 4 i9500 Android Development] bornlivedie:
it's not even advised to turn that off... but whatever

it seriously impacts on performance
[Galaxy S 4 i9500 Android Development] gp545:
AOSP version fails to connect to WiFi connection.. Latest 17.1.7..
[Galaxy S 4 i9500 Android Development] batuhur:
How does it impact performance? Can you explain it a bit i'm curious..
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Phone would become sluggish.. There is noticeable lag when scrolling the ought home pages and in Web browser. The camera preview lags too much even when it ain't recording any videos.
[Galaxy S 4 i9500 Android Development] asad007:
Decrease the up threshold to 80 and then tell
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Made the tweak like you said so and now yeah there is an improvement in smoothness. BTW I do hope you can find a more longterm solution to the hardware rendering that is messing up the camera interface and screen mirroring. It is really annoying as I watch a lot of movies on my phone and in mx player enabling hw+or hw decoder gives the same blue tint issue.
[Galaxy S 4 i9500 Android Development] asad007:
Due to my limited knowledge I don't think I'll be able to fix

I'll ask other devs for help especially voltaqe
[Galaxy S 4 i9500 Android Development] asad007:
op updated with 17.3
[Galaxy S 4 i9500 Android Development] Aayan 123:
If your talking about aosp version the rom needs to be fixed for that...

Right now only fix available is to enable (disable hw overlays) in dev options that fixes it
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Not AOSP mate.. I was talking about TW variant. And disabling hw overlays makes the phone sluggish. So I've reverted back.

---------- Post added at 07:18 PM ---------- Previous post was at 06:36 PM ----------

Flashed v17.3. Phone booted fine but soon after the phone went into a bootloop. Had to revert to a older version to make the phone boot again
[Galaxy S 4 i9500 Android Development] asad007:
Did you wipe dalvik and cache ?

How much time you gave to the "bootloop" ?

Your ROM?

Also try booting again
[Galaxy S 4 i9500 Android Development] asad007:
Try 17.4 i changed the compression
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Tried everything you mentioned but still the phone keeps rebooting. I'm using Aurora n4 port v8.2. Never had issues with v17.1. So I suspect the problem to be with v17.3. Will test v17.4 and see how it works out.

Just tested v17.4 tw and sorry to say it is the same with bootloops.
[Galaxy S 4 i9500 Android Development] samuelgonzales:
17.4, it is stable to use on Aurora Full S6 port v7.0? Now am using the stock kernel build on June by aurora.
[Galaxy S 4 i9500 Android Development] asad007:
UPDATED VERSION 17.5

Tested The TW Version With PRISM BB V16 ROM , Works Fine

ENJOY !!
[Galaxy S 4 i9500 Android Development] yuber26:
Boot fine and works fine on Halcyon Rom v9.1 [HOD4] :good: Testing anothers things Thanks for all...
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Flashed v17.5 twice and each time the phone reboots at random at frequent intervals. V17.1.7 on the other hand works fine. So I think the problem is kernel related. I'm using aurora b4 port v8.2. V17.3,17.4, and 17.5 all seem to have the same apparent issue.
[Galaxy S 4 i9500 Android Development] asad007:
Clear your kernel tweaker app data

And don't undervolt much

I'm not having such problems here
[Galaxy S 4 i9500 Android Development] yuber26:
me don't undervolt, only change on cpu parametrers is conservative_mode to 1 and i/o governor to noop the rest by default :good: im testing the battery backup, the rest works well for now no FCs or any random reboots for now still testing
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Getting a lot of random reboots with 17.5 in Aurora S6 V7

Wiped cache,dalvik,preload
[Galaxy S 4 i9500 Android Development] yuber26:
well.. after couple of hours used v17.5 this is my experience:

1- Early test for battery Backup (need more test) but also good for now

2- Smooth and Fast (Recent Apps, Open Apps)

3- no overheat

* But i feel random freezes and random rebots (4 for now using whatsapp or write sms texts or when the phone stay on standby) and need to push the power button to restart the phone.. so not at all stable for now, the rest is fine.. already wipe data and cache from Kernel Adiutor, dont undervolt only i tweak conservative_mode to 1 and i/o scheduler to noop the rest by default, send you my last kmsg.log and dmesg.log hope that help you asad :good:

Edit: Change conservative_mode to 0 and test maybe that cause the random reboots or freezes idk... testing again :good:
[Galaxy S 4 i9500 Android Development] sathya80:
I see that the kernel which runs smooth in aurora has more FC in Halcyon.. and the kernel which runs smoothly in Halcyon has more FC in Aurora .. lol
[Galaxy S 4 i9500 Android Development] asad007:
So it can be a ramdisk issue
[Galaxy S 4 i9500 Android Development] sathya80:
I dunno. . But this is what i am observing in both your and voltaqe kernel
[Galaxy S 4 i9500 Android Development] asad007:
UPDATED VERSION 17.6 To OP

ENJOY !!
[Galaxy S 4 i9500 Android Development] yuber26:
Thanks mate i will test later because im working now :good:
[Galaxy S 4 i9500 Android Development] thierryhenry1886:
Omega v28 with 17.6 TouchWiz after upgrading android its says apps opening but its bootloop then i plug off battery opened again it doesnt boot ( some boot then off and again boot)
[Galaxy S 4 i9500 Android Development] Asha60:
Same hier many times self reboot (Aurora N4 v 8.2) ( after wipe cache, Dalvik cache and preload)..
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Same thing happened to me as well on aurora 8.2. Seems like a ram disk issue.
[Galaxy S 4 i9500 Android Development] asad007:
Give your boot.img

Give your ROM boot.img
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Here is the boot.img of aurora n4 port 8.2 kernel. Hope this helps.
[Galaxy S 4 i9500 Android Development] avokain:
17.6 AOSP , screen dont turning off while call. 17.5 this working fine
[Galaxy S 4 i9500 Android Development] Asha60:
And this boot.img runs very well with Aurora N4 and S6 port. Thank you for your efforts sir.
[Galaxy S 4 i9500 Android Development] thierryhenry1886:
Okey sir, i will give but I'm not on home 1 2 hours later i will be. The post will be edited :)
[Galaxy S 4 i9500 Android Development] yuber26:
well... testing 17.6 for for a few minutes.. flash it with dalvik cache, cache and preload boot fine i cant test the battery because when i use the phone (open apps or something) the phone freeze and then reboot, automatic brightness does not work, that is, not lower or increase the brightness when the light decreases or increases and can not be changed from Kernel Adiutor or activating or deactivating the power saving mode those are my reviews of version 17.6 with the naked eye, the rest I feel very good kernel, send you my files agian for you to review and find those problems and others that they appear:good: using Halcyon Rom v9.1 [HOD4]
[Galaxy S 4 i9500 Android Development] turquoise.blue:
proximity sensor and light sensor doesnt work with gear cm 06.09.2015 (aosp 17.6)
[Galaxy S 4 i9500 Android Development] asad007:
Test version : https://www.dropbox.com/s/gv67qk4jwyk7t66/LWK-17.7-TW.zip?dl=0

* Disabled KSM

* Used stock arm toolchain ( may fix inverted camera colors )

* Used aurora n4 8.2 ramdisk
[Galaxy S 4 i9500 Android Development] gp545:
Kernel boots fine but keeps rebooting after showing up Locke screen soon after boot complete..

I'm on MBP V1 ROM.
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Same issue for me as well on aurora 8.2 n4 port
[Galaxy S 4 i9500 Android Development] asad007:
I'll check my sources and my defconfig maybe its an selinux issue
[Galaxy S 4 i9500 Android Development] asad007:
Test this one (specially Aurora Users) : LWK-17.x-Test-TW

For GearCM : LWK-17.8-CM
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Gonna test this version now.. Got my fingers crossed. Hope the reboot issue is resolved. Will update the results soon.

Sorry mate facing the same reboot issue with latest yest version. Could you please make a version based on the v12.1 classy test variant you released a while back. To me it was the almost perfect kernel. Everything was stable and battery was exceptional. The only thing that didn't work in that version was the IR blaster. If you could just look into that version and work as a base then it would resolve all the issues facing now I guess.

I'm attaching that variant if you wanna have a look at it.
[Galaxy S 4 i9500 Android Development] batuhur:
On latest Aurora N4 Port I got random reboot :(

Wiped cache and dalvik ofc
[Galaxy S 4 i9500 Android Development] asad007:
What's the frequency of the random reboot ?

Also try wiping preload also
[Galaxy S 4 i9500 Android Development] batuhur:
Its very frequent. Especially under load like downloading file from a browser or using Camera.

I will wipe the preload too and will report.

Do you need a logcat ?

Edit: Now phone just keeps rebooting itself I can't use it :D
[Galaxy S 4 i9500 Android Development] asad007:
Need a logcat yeah

Do this stepwise

1) wipe kernel tweaker appdata

2) Wipe cache and preload (don't wipe dalvik , not really needed )

3) Flash kernel

4) Reboot
[Galaxy S 4 i9500 Android Development] asad007:
TEST THIS : LWK-18-TW

* Used All Config Options Nearly Stock
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
I get an error while flashing: "unmount of /system failed; no such volume"

Using TWRP 2.8.7.0 and Halcyon ROM 9.1
[Galaxy S 4 i9500 Android Development] yuber26:
Boot fine with dalvik, cache and preload, overheating, no random reboots for now! bug on automatic brightness dont work, blue color on camera.. I think using interactive governor consumes more battery... the rest fine :good:
[Galaxy S 4 i9500 Android Development] SKARZz:
17.6 aosp support synapse?

GT-I9500 cihazımdan Tapatalk kullanılarak gönderildi
[Galaxy S 4 i9500 Android Development] asad007:
Nope

I also added conservative governor you can use that
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
There is a solution to my problem?
[Galaxy S 4 i9500 Android Development] asad007:
It says unmount of /system failed

So not really a problem

The kernel flashed fine check your kernel version in about phone ;)
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Ok, Thanks :)

Now testing v18 and will report soon.
[Galaxy S 4 i9500 Android Development] asad007:
https://www.dropbox.com/s/sn0spj1nt5t42gd/LWK-18.1-TW.zip?dl=0

* Test Version
[Galaxy S 4 i9500 Android Development] michaelbelachev:
This version work very good, but I can't find ondemand governor and sio I/O. This settings was deleted?
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Can't download (file deleted)
[Galaxy S 4 i9500 Android Development] asad007:
Yeah :P

Try This (enabled hotplug) LWK-18.2-TW : https://www.dropbox.com/s/1zgiixdgtj5nkym/LWK-18.2-TW.zip?dl=0

Sio and Ondemand are Removed
[Galaxy S 4 i9500 Android Development] yuber26:
Boot fine :good: .. but when i flash for first time get 1 random reboots and get bootlop and reboots again and He seized Normal, with conservative i feel lag and freezes, increase the freq min to 250 and much better but i see the cores They are turned on and off every time.. i uncheck energy saving multicore and it does not change, i cant put off to check for that reason the cores turn on and off and uncheck to planning work queue CPU and as usual because i feel randoms reboots again, open phone app or camera app (still blu color) for now.. im testing opening anothers app o daily usage.. I forgot, try calling and when he entered the call interface stayed freeze, idk why the reason of freezes or randoms reboots but i send you my logs...
[Galaxy S 4 i9500 Android Development] asad007:
Try lower the up threshold to 80 and then tell
[Galaxy S 4 i9500 Android Development] yuber26:
i try to change couple of time and will not let me change because every time i try the phone freeze and restart, when I could do, and no problems but later try to unlock the phone and freeze and restart again it's frustrating :( with halcyon s6 port rom (v9.1) back for now to v14.6.2
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Same situation for me
[Galaxy S 4 i9500 Android Development] SXS4:
I flashed the latest version LWK-17.6-TW on Halcyon v9.1 lollipop 5.0.2 used TWRP 2.8.7, waped n dalvik cache, reboot n stopped working can't open, n rebooted automatically everytimes in this step. [MENTION=4296690]asad007[/MENTION]
[Galaxy S 4 i9500 Android Development] asad007:
Stop spamming !
[Galaxy S 4 i9500 Android Development] asad007:
OP updated for CM

For TW I'll need time
[Galaxy S 4 i9500 Android Development] asad007:
This Should Work Fine (TW) : https://www.dropbox.com/s/ux07guwe746ljuf/LWK-18.3-TW.zip?dl=0
[Galaxy S 4 i9500 Android Development] yuber26:
no boot for me still on samsung galaxy s4 gt-i9500 then autoreboot and go to recovery automatically
[Galaxy S 4 i9500 Android Development] asad007:
https://www.dropbox.com/s/pinhnuoe2ogs2w4/LWK-18.4-TW.zip?dl=0

* Removed most of the Tweaks for sake of stability
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Very stable but fast battery drain (undervloted to -100)

I'll check if there are wakelocks that causing that.
[Galaxy S 4 i9500 Android Development] asad007:
Wait For Stable Release

it is because of Governor is upscaling aggressively
[Galaxy S 4 i9500 Android Development] asad007:
Here [MENTION=4694405]galaxydroid_19[/MENTION]

Give this a shot :

https://www.dropbox.com/s/edj91taauv86mfs/LWK-18.5-i9500-TW.zip?dl=0
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
I'm charging the phone right now, i will test the battery life tomorrow :)
[Galaxy S 4 i9500 Android Development] asad007:
You are using 18.5 right ?
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Yep, and for now, the battery life is the best i saw in a lollipop rom. (4 minutes of screen per 1 percent of battery)

*I tweaked the governor a little bit :)
[Galaxy S 4 i9500 Android Development] asad007:
I'll update OP with this version
[Galaxy S 4 i9500 Android Development] Aayan 123:
Does screen rotation work on 18.5 AOSP
[Galaxy S 4 i9500 Android Development] asad007:
It does
[Galaxy S 4 i9500 Android Development] bilicool:
Was trying 18.5 on v7 aurora s6 port...but after initial boot, the phone goes on constant reboots. I cleared data and cache of kernel audiutor and everything but still same. Anything im doing wrong?
[Galaxy S 4 i9500 Android Development] ajay_gj09:
Same issue with me as well.
[Galaxy S 4 i9500 Android Development] yuber26:
it is not for spamming but Same to me on Halcyon v9.1 idk why i dont tweak nothing and got randoms reboots.. and automatic brightness not work or option reduce brightness on power saving mode idk one of them does not work properly... well idk how galaxydroid_19 works fine the kernel on halcyon, unlucky me :(
[Galaxy S 4 i9500 Android Development] batuhur:
Im on latest Aurora Note 4 port and phone just keeps rebooting after flashing.

Wiped cache, dalvik and preload.

Tweaked nothing.

Will provide log as soon as possible.