yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] asad007:
it reached the boot animation?

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] asad007:
if it is related to governors i may know a fix , but as of now it is only occurring when device boots up and goes to sleep.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] :
It happens when you plug in and charge sometimes, after plug in to charge and screen is off but yes it happens mostly after the device booted up. I had to keep the screen on for a bit after it booted up/plugged in to prevent it. Might be powersuspend driver tho cuz it use display state/ kernel autosleep as hook
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
sorry man ,does not go at boot stuck in samsung s4 i9500 logo and restarted all time same happen ...
[Galaxy S 4 i9500 Android Development] asad007:
Wait i will release a test version :good:
[Galaxy S 4 i9500 Android Development] asad007:
REUPLOADED UPDATE : 31082016

First of all i have renamed this thread as beta unless it becomes bug-free.

* FIXED SCREEN OFF BUG with ONDEMAND at least (other governors need testing.)

I Need you guys to test each and every governor and post which one gives the bug.

* Removed Some CMDLINE options in TW which probably caused boot problems

* Add Back vibration control only for AOSP versions

* Removed Fast Charge (just realised that i have already set up those values into the kernel, so not needed)

* Added some more synapse options (needs testing)

* Using 1GB zram

* Don't Remember

PS : If you want bugs to be fixed , give feedbacks regularly as i cannot test everything alone.[emoji14]
[Galaxy S 4 i9500 Android Development] esbatulembek:
I tried every governor and i didn't face that issue

Everthing stable so far

I'm on aosp
[Galaxy S 4 i9500 Android Development] asad007:
wait till you charge your phone[emoji14]This is how the bug arises (try it and tell whether it occurs or not) :

1) set a governor except ondemand and alucard

2) plug in your charger

3) let screen turn off

4) wait 2min

5) now turn it on.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Followed this steps to test all governors happy to say that all working fine no screen thing issue even installing apps no issue there

Only intellimm governor while listening to music after turning screen off sounds is like there's cutting in the song..every thing else working fine so far. TW version...
[Galaxy S 4 i9500 Android Development] pemulacupu:
Everything working fine, even i didnt get any screen bug at all build on any governorson any build

On prev build synapse wont auto apply on my phone. Now its auto applied. Everyrhing awsomeee thx :highfive:
[Galaxy S 4 i9500 Android Development] esbatulembek:
Yeah me too everything works fine on the latest version

Even on the final version i didn't encounter that issue

Although i didn't try all of them

I just got bootloop when tried to update

But i came from nevermore into this and everything works fine :)
[Galaxy S 4 i9500 Android Development] New Life:
after testing kernel on mm AOSP : For CM based rom .. i don't recommend this not fully work yet as it says beta version
[Galaxy S 4 i9500 Android Development] asad007:
it says beta because there maybe a minor bug you may encounter.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] asad007:
Strange, i encountered the bug while charging.

probably it occurs randomly and rarely.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
Hi now i installed lwk tw 310816 booted ok install of app is ok ,no suport synapse (maybe i didnt install correctly) and no fast charge option via kernel auditor maybe fastcharge is problem for all bugs ...
[Galaxy S 4 i9500 Android Development] asad007:
i removed fast charge because i think it is not worth it as we already hardcoded max limits.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
about synapse ,you remove support or

and is possible to have these governors on lwk kernel

http://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828
[Galaxy S 4 i9500 Android Development] asad007:
FINAL UPDATE

* I am done with this development

* Fixed Screen off bug ( probably was related to charger )

* Remove Auto hotplug to avoid any conflicts

* Do not remember

JUST ENJOY !! AND POST FEEDBACK !!

PS : No new versions will be added.

Have a nice day.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
thenks ,more stable is this one

https://www.androidfilehost.com/?w=files&flid=104615 ur release i mean
[Galaxy S 4 i9500 Android Development] BenDroid1:
I don't understand. All the final versions. .the ones that you used "anykernel2" to compile with are all giving me bootloops (samsung logo alone keeps rebooting , boot animation) i use alev6. I really wonder what might problem be considering other touchwiz guys saying they running pretty fine
[Galaxy S 4 i9500 Android Development] CrySpy:
same issue here, seems that the kernel didnt like anything above 5.0.1

regardless, thank u for actively developing this far

wish u the best of luck
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Flashed last TW version no problem just synapse gives me no uci support any 1 else have this problem?
[Galaxy S 4 i9500 Android Development] :
+1. Yeah everythings fine now. No FCs and apps now installing, just no synapse :/
[Galaxy S 4 i9500 Android Development] asad007:
Try to flash stock kernel and then flash this one.

Try clearing synapse data.

if that doesnt work try this via terminal.

su

/sbin/uci reset

otherwise use kernel adiutor.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] AzizbekN1:
I say it again & again THE LWK KERNEL IS THE BEST FOR I9500 .

"Lazy plug" i love it. better than smiple hotplug.

THANK YOU ASAD
[Galaxy S 4 i9500 Android Development] MostaphaHida:
I think speaker sound is being low anyway tested it ?
[Galaxy S 4 i9500 Android Development] asad007:
impossible.

i think there is another script in either /sbin or /system/etc/init.d which are changing the values i set on boot.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
phone flying ,its not important for synapse we can use kernel auditor ,thanx man

---------- Post added at 09:32 PM ---------- Previous post was at 09:10 PM ----------

try now ,i installed stock kernel and back this final lwk (tw) and everything fast and work good
[Galaxy S 4 i9500 Android Development] BenDroid1:
Please give link for stock kernel.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
http://www.voltaqe.com/Stock-Kernel.zip

just install and dont need to wipe dalvik or any and boot then again rebot to recovery and instal final lwk but remember synapse ...only kernel auditor
[Galaxy S 4 i9500 Android Development] Rajeev2401:
Excellent job

Tested LWK-26082016-RR-MM-i9500.zip on my S4 I-9500 with Resurrection Remix ROM.

Working very well. No issues observed over a few hours.

Overclocking and undervolting working very well.

Overnight (standby) battery drop also very less (< 0.5% per hour with Doze Powersave on but with Calendar Storage frozen through LINK2SD and another app installed (Just Reminder from Google Play Store) which does not need Calendar Storage for reminders / alarms & built-in calendar).

There were some problems with a later version though the one named FINAL for RR MM. But that download seems to have been deleted now by the developer. This 26082016 version works very well.

Great job! Thanks a lot!!

:svetius:
[Galaxy S 4 i9500 Android Development] charlysalloum:
which governor do u recommend ? stable and good for battery and performance ( not gaming )
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
intellimm sorry
[Galaxy S 4 i9500 Android Development] SeanGarcia:
Bootloop for touchwiz idk why help :(
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
install stock kernel boot phone and reboot to recovery and install again final lwk tw without wipe ...but dont remember to see if you got latest final
[Galaxy S 4 i9500 Android Development] asad007:
Update 01092016

i renamed the thread as stable instead of final cause i may update from time to time.

Added a new version with probably no bugs.

What changed ?

* ZRAM optimisations and improvements

* increased charging currents

* Disabled dynamic fsync (caused problems)

Enjoy !!!

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] MostaphaHida:
i have a bootloop phone keep rebooting at s9500i logo...TW any 1 have the same issue ?
[Galaxy S 4 i9500 Android Development] ayyyiii:
Flashing stock kernel before flashing LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
look and download stable 01092016 ...

this stable working fine and charg more fast than other kernels
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
Hi [MENTION=4296690]asad007[/MENTION] ,which governor on lwk is best for gaming
[Galaxy S 4 i9500 Android Development] asad007:
Lionheart with lazyplug disabled and gpu max freq set to Max.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] AzizbekN1:
& Which gov is best for battery saving ?
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
thenks man
[Galaxy S 4 i9500 Android Development] u7Xz:
-70 voltage, Alucard. (For me)
[Galaxy S 4 i9500 Android Development] asad007:
Set max cpu freq 900mhz

max gpu freq 266mhz

undervolt,

-50 on all big cores

-100 on all LITTLE cores

gov intellimm

with following parameters:

This is my preference.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
all have option cpu core power saving set to agresive...you need performance and limit cpu frequency max to 1000 and min 100 or 150 and u dont have any lag.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Synapse?!!!

How to run Synapse if for me show "No UCI support" !!!
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
synapse dont suport my kernel on tw i use kernel auditor set gov. for gaming to lionheart ,i disabled lazyplug but to change gpu in kernel auditor i dont have any option

thenks i try just lion... gov with lazyplug disabled gpu by default
[Galaxy S 4 i9500 Android Development] u7Xz:
03.30 SOT and not a very clean one. Rebooted my phone a lot and installed some xposed modules. Had also some problems with wakelocks and alarms just set up Amplify maybe i can see 4 hours next time.
[Galaxy S 4 i9500 Android Development] jitendra purohit:
Which gapps are you using??
[Galaxy S 4 i9500 Android Development] u7Xz:
Pico.
[Galaxy S 4 i9500 Android Development] u7Xz:
Another one.
[Galaxy S 4 i9500 Android Development] asad007:
Can anyone try installing synapse as system app on TW and see whether it works or not.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Still no uci...
[Galaxy S 4 i9500 Android Development] :
Deleted

Edit: sorry an old post notification showed up lol
[Galaxy S 4 i9500 Android Development] asad007:
Do this,

install busybox installer from playstore

like here : https://play.google.com/store/apps/details?id=stericson.busybox

then install busybox and do a reboot.

then clear synapse data.

now open synapse.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
testing ,not working

i remove kernel auditor restart my phone installe busybox from playstore and synapse grant acces in supersu and stil show no uci .

now im goin to recovery and install lwk stable wipe cache dalvik and see if it work ...

not working
[Galaxy S 4 i9500 Android Development] asad007:
one last effort,

open terminal and type

su

press enter and the then type

/sbin/uci

hit enter.

now clear synapse data and open synapse.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
not problem man ...i will try

result from command

line 8: can't create /res/synapse/config.json: read-only file system

can i change permission of that file (config.json) to make not read only?

edited /res/synapse/config.json cant find config.json ,synapse need that file by lwk to work or what

now its ok man i find file and i change permmissions and synapse suport is ok i will do screenshots

---------- Post added at 09:13 AM ---------- Previous post was at 08:36 AM ----------

fix for synapse

open terminal and type

su

press enter and the then type

/sbin/uci

hit enter.

and close terminal

now open root explorer and change permission of this file config.json to rwxr-xr-x

close root explorer and go to setings/applications/application manager and find synapse

clear data of synapse and close settings

now open synapse and see everything work
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
only I/O line dosent work good or need any changable se on last photo i make screens

at all after ristart ,they show no uci again

my android backed up these perrmissions that i make from root explorer...
[Galaxy S 4 i9500 Android Development] asad007:
wait i will try doing that automatically on boot.

new version soon!

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
u known after every restart with lwk android is upgraiding ,just say boot complete and then started ...maybe in that startup command changed this config...to read only

maybe u need to remove that startup command (finishing boot) .
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Wow I saw your github ITS AMAZING
[Galaxy S 4 i9500 Android Development] atakanadil:
you are awesome.

Edit: Delete because of misunderstanding :D

Edit: Yes it was about wake thingy :D But you are still awesome :)
[Galaxy S 4 i9500 Android Development] asad007:
you guys are probably talking about sweep2sleep

i added that and it was working fine BUT, had to disable it because it somehow caused sound to be lost (no sound at all).

i have no idea why.

therefore it is now disabled.

Double tap 2 wake did not even compile and gave lots of errors so it was removed.

otherwise performance improvements are there.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
and i dont known why synapde is more good than kenrel auditor ,it have same things to tweak kernel's ,right ?

for me more important is how kernel work by default setings ...

and lwk work great...just for fastcharging if u can do anything...fastcharge work but not all times ,wee need to restart to work
[Galaxy S 4 i9500 Android Development] asad007:
most of them are same, but device specific controls like screen and audio are not there in KA.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] krasCGQ:
Yep. KA is universal, but you could do a full kernel control using Synapse. However, Synapse depends on JSON and requires UCI support.
[Galaxy S 4 i9500 Android Development] asad007:
New update is up !

* Performance improvements

i intended to add sweep2sleep but i caused some problems.

probably I'll add that later.

Enjoy.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
nice to see 04 and i will test and let u known

---------- Post added at 05:36 PM ---------- Previous post was at 05:06 PM ----------

synapse say still no uci but its ok i use kernel auditor to tweak ,new update have fastcharge option ...:good:
[Galaxy S 4 i9500 Android Development] sajalsh25:
Cpu Voltages

Thankyou for the Kernel Man :good: :good:

using the Latest AOSP GCM MM with Latest GCM MM Rom

just wanted to Know am i Pushing it too Much with the Voltages

I didn't have any Forcestop or and Freeze.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
this new kernel have UCI support?
[Galaxy S 4 i9500 Android Development] asad007:
all of latest versions have uci support, in tw there is a permission issue that's why synapse doesn't work ( but you can make it work by setting permission )

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
yes it worked but every restart of phone one screept executed (finishing bot) this mean for synapse need to set permision of config... in every restart of phone

that file config.json changed by default setings and synapse dosent work just need again and again to make it work

here r screen shots when i set permissions and when i ristart
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
after start android screen look like this and that set by default every change that i make on /res/synapse/config.json
[Galaxy S 4 i9500 Android Development] asad007:
https://www.dropbox.com/s/7skt42jk2pgn87p/00synapse?dl=0

this is an init.d script, put this in /system/etc/init.d/ and set permission like others.

now reboot and check synapse.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] henser05:
happened with the version for Resurrection Remix Rom?:confused:
[Galaxy S 4 i9500 Android Development] asad007:
flash AOSP

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I repeated that this kernel haven't UCI Support for me, but other kernel, like NeverMore has support.
[Galaxy S 4 i9500 Android Development] esbatulembek:
Nope

Aosp works perfectly
[Galaxy S 4 i9500 Android Development] BenDroid1:
No uci support for synapse unless manually configured. Its not yet default configuration inside kernel scripts. Im assuming that will be in next update

Cant wair for clash of clans September update tho!! Woot woot
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
i try and talk later

dosent work
[Galaxy S 4 i9500 Android Development] esbatulembek:
What do you mean?

Everthing works

I have no issue regarding uci

All my configuration i did within synapse

The only issue I've been encountered when i changed zram

Kernel auditor suddenly got freeze and i can't open system setting
[Galaxy S 4 i9500 Android Development] BenDroid1:
Well maybe its an AOSP issue. All i know is . alot of people having no UCI support and it's currently being fixed
[Galaxy S 4 i9500 Android Development] esbatulembek:
The only thing i know that people complain on tw version not aosp
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
no synapse support on touchwiz ,i got no problem with kernel auditor i try virtual ram change z-ram and everything works set apply on boot and have no problems
[Galaxy S 4 i9500 Android Development] asad007:
Btw, Zram is set to more than 1GB (higher than max limit of KA) so no need to change it.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
for synapse to work tw verzion need to execute 2 times command via terminal emulator - su - /sbin/uci - set perrmission of file config.json than clear synapse data

is possible to add start-up command for that ,maybe work
[Galaxy S 4 i9500 Android Development] asad007:
i know, I'll add it on boot but i did not get the time to do so.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] asad007:
New Update : 07092016

* Pre-tuned headphone gains

* synapse in Touchwiz should be fixed

* Removed ondemand governor

* Enabled Zswap

* Makefile tweak

Enjoy !!

PS : Need confirmation about synapse.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] esbatulembek:
Synapse works on aosp as always

Zwap finally working without freeze

May i ask why did you remove ondemand?
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
now i see update i will install and test everything and let u known

im trying but no ,can be problem with other roms because when i write /sbin/uci on terminal say read only file system i dont whats that ...
[Galaxy S 4 i9500 Android Development] asad007:
because it's too mainstream XD

i also intended to remove performance but forgot about it (maybe next time).

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Still no uci TW.

Even no uci on cm13 !!!
[Galaxy S 4 i9500 Android Development] asad007:
See First post, there is some red text saying

"CLEAR SYNAPSE DATA BEFORE FLASHING."

as you have already flashed, clear synapse data and open synapse, it will work[emoji14]

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] MostaphaHida:
I always do this steps but idk it's keep telling me no uci !
[Galaxy S 4 i9500 Android Development] asad007:
first force stop synapse and then clear it's data.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] BohArie:
i flash aosp on resurrection remix.. bootloop on s4 logo..
[Galaxy S 4 i9500 Android Development] Asifjaved007:
Can anyone guide me through the process of flashing this kernel or is it just like flashing any other ROM?
[Galaxy S 4 i9500 Android Development] esbatulembek:
Wipe data kernel auditor and synapse if you have one

Then flash like any other rom
[Galaxy S 4 i9500 Android Development] Asifjaved007:
I don't have kernel aduitor and what is synapse? And clear data from twrp recovery?
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Just go to play store and download synapse

Clearing data from app setting>>
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
i try everything about synapse on tw

only way to have synapse is to download this config.rar and to extract then send in your phone ,via root explorer copy config.json to /res/synapse and set permission to rwxr-xr-x ,synapse work but not good

but after restart everything changed when look at folder res/synapse theres no more config.json .

and [MENTION=4296690]asad007[/MENTION] i dont known whats that ,look on atachment i make screenshot of synapse I/0
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
maybe that's reason why our settings changed default ...not sure ,u can do test ver. without that
[Galaxy S 4 i9500 Android Development] asad007:
Can you do this,

clear synapse data and

reboot your phone and when it turns on leave it for 2 mins.

then

open synapse.

as i added a delay in launching uci, maybe this will work otherwise I'll think of something else.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
ok i try

---------- Post added at 06:31 PM ---------- Previous post was at 06:21 PM ----------

i clear data of synapse and do all like u say but no man for me dosent work ,is anyone else here to try that
[Galaxy S 4 i9500 Android Development] Kmello95:
Bootloop en RR 5.7.3 and flash kernel stock before kernel final lwk but nothing solution.

sorry for my bad english
[Galaxy S 4 i9500 Android Development] asad007:
Anyone with rr 5.7.2 with lwk working ?

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Can any 1 help me to get synapse work again i cleaned flash my rom GCM..cleared apps data..even reverted back to 17/8 version nd still no uci i cant fix it.. any help ?

Edit: flashed another kernel then flashed back LWK synapse works nw thanks.
[Galaxy S 4 i9500 Android Development] Asifjaved007:
Thanks.. I'll do this. :)
[Galaxy S 4 i9500 Android Development] Portal_Gun:
Does it work on RR 5.7.3 ?
[Galaxy S 4 i9500 Android Development] asad007:
I'll upload next version without anykernel as it seems to cause problems for most of you.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi I'm new to this kernel. Just want to check with you a few things:

1. Although in the OP mentioned it needs Gear Recovery to flash the kernel, is anyone else successfully flash this kernel using TWRP without any issues ?

2. May I know which I/O Scheduler is included in this kernel ? (I can't seems to find it at the OP).

3. I've read some where in this thread mentioned that the "Ondrmand" is too mainstream and will be removed. How about adding "Ondemand plus" it is a very rare governor that not available in most of the i9500 kernel.

Thanks in advance ?
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
nice man ,i try new v. EOL Ver. thenks
[Galaxy S 4 i9500 Android Development] asad007:
End of life (EOL) version dated 09092016

* Now this kernel is no longer under development, I'll be here for a few days to check on the feedbacks *

*ENJOY*

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
Its best verzion ,only one core working to save more battery ,when CPU need use all 4 core right
[Galaxy S 4 i9500 Android Development] asad007:
when device is idle.

btw what about synapse?

Sent From S4 Powered By LWK