yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] Phamtung30h:
30/7/2016 rr5.7.1 lod touch
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Again IR not working
[Galaxy S 4 i9500 Android Development] asad007:
Didn't get you

I don't think it is related to kernel.
[Galaxy S 4 i9500 Android Development] mash20:
thanks for update,

why you remove some of gpu and cpu freqs its better with removed freqs :(, and can you add back under clock :(

and now its overheating when I charge the phone !
[Galaxy S 4 i9500 Android Development] asad007:
I have planned to underclock to 200mhz.
[Galaxy S 4 i9500 Android Development] mash20:
250 min cpu freq is very good like older versions and open 350,450,550,650 freqs,its better like older versions, and can you add back 177 and 266 gpu freqs ?
[Galaxy S 4 i9500 Android Development] asad007:
Only 266 because they have the same voltage so it's useless lower than this.

I'll enable the "odd" freqs.
[Galaxy S 4 i9500 Android Development] :
350mhz is pretty good since it keeps things smooth and the voltage differences is not big so the battery wont be affected much
[Galaxy S 4 i9500 Android Development] asad007:
Update: 30072016 #2

* Added back "odd" freqs

* Fix GPU freq

* Enabled KSM

* Enabled cleancache

* Further tuned lwk profile ( smoother ! )

* Disabled logger on boot

* don't remember

In a nut shell everything is smoother.
[Galaxy S 4 i9500 Android Development] u7Xz:
Can you check the file please? I can't download it. It downloads corrupted.
[Galaxy S 4 i9500 Android Development] mash20:
+1 [MENTION=4296690]asad007[/MENTION]

edit: rename the file and put in the end ".zip"

I think it will work , i will test it now.
[Galaxy S 4 i9500 Android Development] asad007:
I think it's fine as I downloaded myself and using it.
[Galaxy S 4 i9500 Android Development] u7Xz:
Yes sorry. Xda Labs told that the post didn't posted. Link works but need to add ".zip" to file name. I am on latest version at the moment. Thanks.
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=4296690]asad007[/MENTION] Very thanks, update is great.

But the cpu don't go to 200mhz freq, just I change min_freq value to 200000 in iks-cpufreq file the cpu start go to 200mhz freq
[Galaxy S 4 i9500 Android Development] asad007:
As per permission of that file I don't think you can change it.

Edit : it is more governor related.

Set

down_threshold_hotplug_freq1

down_threshold_hotplug_freq2

down_threshold_hotplug_freq3

To 200000 ( 200 MHz in kHz )

Then you will be able to use it.
[Galaxy S 4 i9500 Android Development] mash20:
I can change the min_freq value and Its works,

and tried to change governor values you tell, and not work and the hotplug turn off automatically.

(I think if you remove 200mhz freq it will be better like older versions "250mhz min freq")
[Galaxy S 4 i9500 Android Development] asad007:
I'll put a final update today with removed 200mhz freq.

Also I'll remove KSM (too much CPU usage)

Also Tune lwk profile to use less cores more often.

And probably enable zzmoove's inbuilt touch boost with battery saving defaults

# update will be uploaded in a while.

Wipe appdata of your kernel app before flash !
[Galaxy S 4 i9500 Android Development] ridershahmir:
Asad which version to use with teamsek cm13? Gear cm version will be OK?
[Galaxy S 4 i9500 Android Development] asad007:
Give GCM a try if it doesn't boot I'll need the boot.img of temasek cm13
[Galaxy S 4 i9500 Android Development] u7Xz:
Is the #3 finished? Just saw it on your AndroidFileHost.
[Galaxy S 4 i9500 Android Development] asad007:
Yep
[Galaxy S 4 i9500 Android Development] asad007:
Update : 30072016 #3

* Disabled KSM

* Enabled Input boost

* Removed cpu-boost

* Tuned lwk profile to use less cores

* Tweaks to save battery

Enjoy!!
[Galaxy S 4 i9500 Android Development] ridershahmir:
Going to give it a try but let me suggest you one thing , check the stock kernel of teamasek cm13 , it got something very useful in it , my phone charges very fast on this rom it even shows " rapidly charging" message on the lockscreen , give it a try may be something useful can be found to improve lwk if possible. Thanks for reply
[Galaxy S 4 i9500 Android Development] u7Xz:
We also see rapid charging on LWK. :silly:
[Galaxy S 4 i9500 Android Development] ridershahmir:
Well I didn't understand what is written their[emoji14]but I understood what you wanna say , but on my device that message never showed up on gear cm, are you using gear cm?
[Galaxy S 4 i9500 Android Development] asad007:
Updated OP with Kernel features.
[Galaxy S 4 i9500 Android Development] u7Xz:
Yes using GCM.
[Galaxy S 4 i9500 Android Development] ridershahmir:
Well that never appeared on my device , don't know why ,

Lwk gcm is totally working on teamasek cm13 , thanks
[Galaxy S 4 i9500 Android Development] asad007:
I'm thinking of adding TouchWiz support but I would need a tester but it would be too much time consuming as my source is adapted to AOSP.
[Galaxy S 4 i9500 Android Development] asad007:
Update : 31072016

* Proper Over/Under clocking

* Various optimisations and improvements

* improve lwk profile

* A little surprise for you all

CPU max : 1.8 GHz

CPU min : 100 MHz
[Galaxy S 4 i9500 Android Development] BenDroid1:
Omg please do... ale95 is the most popular so you would have a steady source to build from especially since it's in its final version. .. you would also be the only kernel dev cause every one else went.
[Galaxy S 4 i9500 Android Development] asad007:
Test build uploaded for TW ;)
[Galaxy S 4 i9500 Android Development] bhuvan9111:
Downloading and will inform how it performs. Thanks for the tw support again.
[Galaxy S 4 i9500 Android Development] BenDroid1:
Ok. On Ale V6

Everything force closed. It didn't even make it to the system UI
[Galaxy S 4 i9500 Android Development] bhuvan9111:
1st boot without any wipe of cache makes system and apps give fc and wont let to boot ( display shows odd colours )

2nd boot with wiping cache and art booted the device properly ( after optimization of apps ) but still the screen glitches and shows odd colours. No synapse support i think ( as to change the colours by my self )

Ram usage is abnormal but system ui is smooth with lags considerably less.

Reverting back to stock kernel as of now and willing to test the next version. Thanks.
[Galaxy S 4 i9500 Android Development] u7Xz:
I can see that you added the governors and i/o'ses back. Thank you. Really great update. :fingers-crossed:
[Galaxy S 4 i9500 Android Development] Phamtung30h:
sound calls and app listening to music there was no
[Galaxy S 4 i9500 Android Development] asad007:
Check for sdcard and front camera.

Do they work properly?

Didn't get you

Edit : I need to reupload with a fix for over and under clock
[Galaxy S 4 i9500 Android Development] bhuvan9111:
Network was not working, now i am back to stock kernel because it was pretty unstable and with odd colors the whole ui. Will inform you about cam and sd card in few hrs and if possible will provide a log too. Thanks.
[Galaxy S 4 i9500 Android Development] asad007:
The colors are not odd, they are how they should have been.

You find them odd because your eyes became accustomed to the highly saturated Samsung profiles.

Anyways if anyone wants to increase saturation do it with terminal or a script.

And if you want colors same as stock , disabled master sequence and register hook in Kernel adiutor
[Galaxy S 4 i9500 Android Development] asad007:
Update : 31072016#2

* Fix oveclock

* Fix underclock

* CPU max - 2GHz min- 100mhz

* GPU oveclock : Max-532. Min- 350

* And Yeah , Increase saturation as people here like it saturated.

Attempt to Fix TW issues

#Just noticed, zzmoove may not work in TW version because of a typo. I'll fix it in next version first I need to make sure everything works in TW or not.

Enjoy !!
[Galaxy S 4 i9500 Android Development] mash20:
Thanks for update ,

Can you add in next version option to enable/disable crc control ?

And can you improve battery saving when the phone in idle mode ?
[Galaxy S 4 i9500 Android Development] asad007:
It is already disabled.
[Galaxy S 4 i9500 Android Development] asad007:
Update : 31072016 #4

* fixes and improvements

* Enabled vnswap (didn't realise it was disabled)

* Enabled Faster LMK

* Completely Renewed lwk zzmoove profile (you should try it !!)

* Disabled some debug

Enjoy
[Galaxy S 4 i9500 Android Development] AzizbekN1:
I can not find it
[Galaxy S 4 i9500 Android Development] asad007:
I'm uploading most stable version of today with all the fixes.
[Galaxy S 4 i9500 Android Development] asad007:
RR and TW uploaded

GCM version is on it's way.

Need feedback guys !

This may be the most stable and the best build ever.

Further, Overclocking brings instability, do at your own accord. I'm not to blame for data loss or anything
[Galaxy S 4 i9500 Android Development] asad007:
Uploaded all versions,

Don't forget to drop in your feedback
[Galaxy S 4 i9500 Android Development] fariez:
And on 31072016#2, downclocking to 100MHz may bring snail-like lag when the RAM is filled up due to browsing.
[Galaxy S 4 i9500 Android Development] AzizbekN1:
You are right, this is best build of lwk

Question : How to create init.d script for zzmoove governor & your lwk profile ?

Thanks for hard work
[Galaxy S 4 i9500 Android Development] asad007:
Why would you need a script for that ?

Download Kernel Adiutor and set governor to zzmoove and set profile no. to 12
[Galaxy S 4 i9500 Android Development] fariez:
How come I don't see any profile enlisted on Profile tab? Do I just need to add one, select all, and name it to '12'?
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=4296690]asad007[/MENTION]

I have a lot of lags in YouTube Videos only when I on zzmoove governor in any profile.
[Galaxy S 4 i9500 Android Development] MostaphaHida:
After using for some hrs there's some lags around yea.. im using lwk profile..also battery life is great .
[Galaxy S 4 i9500 Android Development] asad007:
First choose zzmoove governor

Then in governor parameters find "profile"

And set it's value to 12 or any other as per post #2

That is due to hotplug

You can increase min CPU freq to prevent that

Zzmoove is all about saving battery.
[Galaxy S 4 i9500 Android Development] asad007:
Final Version

*This Version is more of a battery saver than a performer*

* Optimisation for Battery life.

* Rework lwk profile for max battery.

* LMK fixes.

* Tune Speaker Volume ( now it's perfect !)

* Added crontab service from voltaqe kernel (thanks to him)

* Can't remember

Wipe /cache and if possible /dalvik-cache as well

Enjoy !

Don't forget to give feedback !!

Especially TW users[emoji14]
[Galaxy S 4 i9500 Android Development] atakanadil:
rr version is stuck on logo. Logo is stuck also :D
[Galaxy S 4 i9500 Android Development] asad007:
This theoretically can not happen.

Wipe /cache and flash again.
[Galaxy S 4 i9500 Android Development] atakanadil:
it happened to me for the first time :D i flashed kernel 3 three times (w/ gcm recovery) and same everytime. And flashed back your latest kernel before this one and worked normal :)
[Galaxy S 4 i9500 Android Development] asad007:
Let's see whether you are the only one or not.
[Galaxy S 4 i9500 Android Development] BenDroid1:
Touchwiz version loaded to the system ui on the New V4 UX ROM which is based on Alev6 ROM

The kernel bugs were the battery metre resetting all the way to 1%

I couldn't control brightness and it was really low

All network connections were also shut off..

Please dont give up on us [MENTION=4296690]asad007[/MENTION]

You seem to have mastered the battery saving secret to AOSP. Please help us. Also. Please see if you can remove whatever audio tweaks u have... because we like to use . Well i like to use dolby sound and its incompatible with the audio tweak.. i believe its wolfson sound control. Yes . It makes dolby sound crash on opening

---------- Post added at 04:04 PM ---------- Previous post was at 04:03 PM ----------

Touchwiz version loaded to the system ui on the New V4 UX ROM which is based on Alev6 ROM

The kernel bugs were the battery metre resetting all the way to 1%

I couldn't control brightness and it was really low

All network connections were also shut off..

Please dont give up on us [MENTION=4296690]asad007[/MENTION]

You seem to have mastered the battery saving secret to AOSP. Please help us. Also. Please see if you can remove whatever audio tweaks u have... because we like to use . Well i like to use dolby sound and its incompatible with the audio tweak.. i believe its wolfson sound control. Yes . It makes dolby sound crash on opening
[Galaxy S 4 i9500 Android Development] MostaphaHida:
GCM stuck.. logo don't even make it to load.. stops then phone restart...
[Galaxy S 4 i9500 Android Development] asad007:
I think the kernel is right and its the ramdisk tweaks causing the problems

Wait I'll remove them.
[Galaxy S 4 i9500 Android Development] asad007:
Guys we have a problem here,

It was not the ramdisk it was the kernel.

Now I applied the commits to my github.

But problem is that I lost my build environment (I ran ubuntu in VMware )

The virtual machine got deleted.

I would need someone to compile the Final Version ( who wants that honour ? )

I just need the zimage.
[Galaxy S 4 i9500 Android Development] :
;) i got you bro
[Galaxy S 4 i9500 Android Development] asad007:
You the man!
[Galaxy S 4 i9500 Android Development] asad007:
Final version is fixed !!

Just need [MENTION=5963088]jwchen17[/MENTION] to compile the kernel with my latest commits.

Then I'll release the kernel!
[Galaxy S 4 i9500 Android Development] asad007:
The boot problem is still there,

One of my recent commits may be causing that unless I find out which, final version is delayed.
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=4296690]asad007[/MENTION]

Thanks for your hard work !!

Can you add in final version tweaks to make boot faster ?
[Galaxy S 4 i9500 Android Development] asad007:
I can add performance governor as default.

It will make or boot faster.
[Galaxy S 4 i9500 Android Development] BenDroid1:
[MENTION=4296690]asad007[/MENTION].

Will you please remove any sound mods in the kernel like wolfson sound control. Because it is interfering with Dolby sound which if you ask anyone is much better with AudioFX
[Galaxy S 4 i9500 Android Development] asad007:
I'll enable a switch to disable that :)
[Galaxy S 4 i9500 Android Development] BenDroid1:
Great. Thanks
[Galaxy S 4 i9500 Android Development] olegas94:
+1
[Galaxy S 4 i9500 Android Development] asad007:
Update Final Version

* Synapse Support !

* Remove "faster lmk" tweak

* increase min USB charging current

* Remove Most makefile tweaks (+stability & +Battery)

* New reworked zzmoove lwk profile

* Enabled DRC switch in synapse

* LOTs of ramdisk tweaks

* Tweaked every governor for Maximum battery life.

* Speaker sound is now perfect !

* Display colors perfect !

* Don't remember find yourself.

Enjoy !!

As always Feedback required.

For TW users , disabling auto brightness may fix the brightness issue (feedback).
[Galaxy S 4 i9500 Android Development] Phamtung30h:
Use for RR5.7.2??? Sir.
[Galaxy S 4 i9500 Android Development] sajalsh25:
Final Version stuck at Samsung Logo

bootloop

Prism-Barebone-V16-OD4

Clean Flash with GCM-Recovery
[Galaxy S 4 i9500 Android Development] asad007:
Need feedback from other users as well who use different TW ROMs

Because if they can boot then its a ramdisk issue which can be solved easily.

Previous versions worked on 5.7.2 , this should too.
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Charging is slow !
[Galaxy S 4 i9500 Android Development] mash20:
Is latest version boot for you ?

And do a reboot while your phone on charge.(OP)
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Yes im on latest version GCM.
[Galaxy S 4 i9500 Android Development] BenDroid1:
Omg .. im sorry. I dont know why. Im getting the swme same exact bugs.. please fix. Maybe i download wrong version. Let me check again.

---------- Post added at 11:36 AM ---------- Previous post was at 11:26 AM ----------

@asad007

https://drive.google.com/file/d/0Bx7IAejj3aqtZXhZSWhNa01LOGM/view?usp=drivesdk

That is the bootimg for UX ROM V4.. though it is based on alev6.. they have two different kernels hence two different boot.img i suppose.

So how i see it maybe u built for ale v6 or u just got confused cuz u didnt name the zip files specific and uploaded the previous version

But its the same bugs. Synapse has alot of script errors.. no brightness control. No signal. Batttery metre is at 1%.. im pretty sure u might have uploaded the wrong zip i dont really know

Next time ill just send a bug report. But right now ill just play some clash of clans. Max my base to th8 lol
[Galaxy S 4 i9500 Android Development] asad007:
Next version will take a lot more time as in busy these days.
[Galaxy S 4 i9500 Android Development] BenDroid1:
[MENTION=4296690]asad007[/MENTION] its ok man. Enjoy your summer
[Galaxy S 4 i9500 Android Development] asad007:
Thanks.

Reverted :

https://github.com/asad007/LWK/commit/10efe21bbc8b043bd004f10f2668f4af893046d7

Edit # 2 find out as much bugs as possible and then I'll try fixing.[emoji14]
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=4296690]asad007[/MENTION]

Very Thanks for hard work and updates,Final version is best build I try it !!!

Can add in top of cpu tab the cores is online or offline, like this
[Galaxy S 4 i9500 Android Development] CraZy RaMpAgE:
[MENTION=4296690]asad007[/MENTION] BOOTLOOP on stock TW rom !!!!
[Galaxy S 4 i9500 Android Development] esbatulembek:
Yeah there's is a problem with charging
[Galaxy S 4 i9500 Android Development] asad007:
Need it's boot.img

PS : what charging currents do you guys usually get in previous versions ?
[Galaxy S 4 i9500 Android Development] mash20:
I was getting like this when the synapse support have battery tab settings,

and now charging slow and getting like this,
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Around 1600-1900.
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=4296690]asad007[/MENTION]

lwk profile is good, but can you tweak it to use low frequencies more than max cpu freq.
[Galaxy S 4 i9500 Android Development] asad007:
I can do little bit but that may cause lags.

Also when less cores are active , the CPU load reaches very high that's why CPU jumps up to max frequency.
[Galaxy S 4 i9500 Android Development] mash20:
I try ondemand governor and it stay in low freqs more than max cpu freq and its give more battery,,,

I think if tweak it to use low freqs and use more cores (make hotplug less aggressive) it will be better for battery.
[Galaxy S 4 i9500 Android Development] asad007:
Use These and Give feedback with SOT and battery graph.

If these values turn out great I'll add in next version !
[Galaxy S 4 i9500 Android Development] mash20:
I will test it after my phone finish charging.

But I set it now and the phone get a little bit slow not to much.
[Galaxy S 4 i9500 Android Development] asad007:
If it boots , you don't need different ramdisk,

I'll try to fix TW bugs in next version.
[Galaxy S 4 i9500 Android Development] esbatulembek:
Over 1500 I guess
[Galaxy S 4 i9500 Android Development] asad007:
I have a replaced USB I get only 680mA

:'(
[Galaxy S 4 i9500 Android Development] MostaphaHida:
I think i have tested all governors ..im just talking about performance they r all good and smooth but i have problem without ondemand it's lagging with me !!! Does any 1 else faced this problem? Im on 1.6ghzmax- 300ghz min

---------- Post added at 05:26 PM ---------- Previous post was at 05:20 PM ----------

For slowing charge it have been fixed for me following this steps:

1-in synapse set the current MA to the lowest which is 1300 then apply changes.

2-set it back to the max 1900 then apply changes.

3-plug usb charger out then pull it back again u should get the 1900ma.
[Galaxy S 4 i9500 Android Development] asad007:
In Next version I can hack the charging current (Highly Experimental ; but we run a 3year old device so why not) to highest recommended value that would force the phone to charge at that value.

But the things related to USB won't work like mass storage and the phone would take the same current from the USB even if its connected to a computer.

And mass storage option will be available via recovery ( it won't affect that )
[Galaxy S 4 i9500 Android Development] CrySpy:
confirmed boot on atom rom v1 (tw)

still having the 1% and no network bug though

anyway, does the synapse support covers the touchwiz version too?

mine doesn't seem to work
[Galaxy S 4 i9500 Android Development] asad007:
It is there in TW too

Let me know whether it works correctly (which it should)

For 1% battery and no network bug I need to look into more things.
[Galaxy S 4 i9500 Android Development] esbatulembek:
I tried to change cpu governor in synapse

But it say "soptionlist has failed"
[Galaxy S 4 i9500 Android Development] asad007:
Clear data of synapse
[Galaxy S 4 i9500 Android Development] esbatulembek:
Still it doesn't work

It says:

com.af.synapse.utils.RunCommandFailedException: /res/synapse/actions//governor[18]: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: Permission denied
[Galaxy S 4 i9500 Android Development] asad007:
Update 04082016

* Improve lwk profile to use lower freqs

* improve performance of every governor

* Attempt to fix TW net problem

* Charging Hack (EXPERIMENTAL)

* Makefile tweaks (Kernel is now really fast)

* Faster lmk tweak

* Disabled Fast Charge ( not needed anymore[emoji14])

* Don't remember

Enjoy !!
[Galaxy S 4 i9500 Android Development] BenDroid1:
Gonna test soon. .. Like 40min

---------- Post added at 05:48 AM ---------- Previous post was at 05:14 AM ----------
[Galaxy S 4 i9500 Android Development] Nemeroz:
Headset error. Right channel stops producing sound. After flashing stock kernel, it works fine. Then I flashed the Lw kernel again. Error showed up again. What should I do? Im on Resurrection Remix 5.7.2.
[Galaxy S 4 i9500 Android Development] CrySpy:
will do

currently supersu log report as follows

running today's build on 5.0.2 tw

still having the same issue (despite wifi being all ok)

thanks for the update though, really looking forward to bugfixes as this kernel have an enormous potential

regards
[Galaxy S 4 i9500 Android Development] CraZy RaMpAgE:
[MENTION=4296690]asad007[/MENTION] this is boot.img
[Galaxy S 4 i9500 Android Development] esbatulembek:
Its works for me
[Galaxy S 4 i9500 Android Development] asad007:
I changed nothing related to headset, try different ones.
[Galaxy S 4 i9500 Android Development] Chuene:
Is it compatible with Cm 12.1 and flashing by CWM ?
[Galaxy S 4 i9500 Android Development] asad007:
The Kernel is compatible but ramdisk is probably not .
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=4296690]asad007[/MENTION]

Thanks for update !!

Can you improve ram management and make LMK more aggressive , and can you add LMK section in memory tab ?

and which swappines value is best for more free ram ?
[Galaxy S 4 i9500 Android Development] asad007:
I can make one for it BUT, CM13 is more stable more faster , it is better if you update.

First let me solve bugs with custom TW based ROMs then I'll add stock tw support.

Its useless to compile for stock tw right now.
[Galaxy S 4 i9500 Android Development] Speedspaz:
Can you add doubletap2wake function like LG phones in the next version by chance? :)
[Galaxy S 4 i9500 Android Development] asad007:
not sure whether it's possible but it's worth trying.
[Galaxy S 4 i9500 Android Development] asad007:
can someone enlist the bugs of TW version ?

also is the front camera working in TW?
[Galaxy S 4 i9500 Android Development] BenDroid1:
Will test now
[Galaxy S 4 i9500 Android Development] Speedspaz:
I installed latest RR version on 5.7.1 but not seeing wolfson or synapse othervise everything is runnig smooth. Am I missing something?
[Galaxy S 4 i9500 Android Development] asad007:
install synapse from playstore
[Galaxy S 4 i9500 Android Development] sajalsh25:
August 4 zip

Still Stuck at Samsung Logo Bootloop

TW Prism-Barebone
[Galaxy S 4 i9500 Android Development] asad007:
because i cant continue any further, I'm discontinuing this project.

Thank you