yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] Skrillex2911:
Guys if you really want to wipe data on flash of kernel just delete the setup wizard apk on the rom through recovery.

[MENTION=4296690]asad007[/MENTION] Did you try cross compiling your kernel with the stock ndk toolchain? What are your thoughts on that? Are you using uber now? Have you used saber mod? Have you seen the optimized toolchain that arter97 has on its github? Why you dont work anymore with TW kernels?
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Now LL working amazing

Thanks

PS

Bring back onedemand in next version plz

Interactive gov is very hungry
[Galaxy S 4 i9500 Android Development] AntiBillOS:
Does this really 3.4.5 or make file edit? You done apply patching?
[Galaxy S 4 i9500 Android Development] asad007:
1) No

2) Not needed

3) No , Linaro

4) in the past

5) Haven't seen ,provide a link I'll see when I have time

6) TW is different from CM , makes things difficult sometimes to manage both side by side

In the next version it will be less power hungry

Most of it , I'm uploading it , help me out if I missed somethings
[Galaxy S 4 i9500 Android Development] asad007:
Kernel updated to 6.4.1
[Galaxy S 4 i9500 Android Development] Skrillex2911:
I see. Thanks for answer. Heres the link to the LTO toolchain https://github.com/arter97/linaro-lto
[Galaxy S 4 i9500 Android Development] asad007:
Your patches were all for 3.4.0 to 3.4.x

For proper incremental patches :

https://www.kernel.org/pub/linux/kernel/v3.x/incr/
[Galaxy S 4 i9500 Android Development] yabguhan:
What is LL mean?
[Galaxy S 4 i9500 Android Development] asad007:
LL : Lollipop

MM : Marshmallow
[Galaxy S 4 i9500 Android Development] yabguhan:
So can i use this on Infernus 5.1.1 Port?
[Galaxy S 4 i9500 Android Development] Sylite:
This kernel is only for GearCM ROMs or those that are based on GearCM.
[Galaxy S 4 i9500 Android Development] asad007:
Updated to 6.4.2

Changes :

* Optimise interactive governor

* Disable ZSwap at boot ( to test the effect on battery )

* Enable ondemand-sec ,performance & powersave governors

* Update kernel version to 3.4.11

" Don't use Ondemand governor , it doesn't seem to work properly "
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Thank you for amazing updates & LL support

But I have a question:

Is there any way to get touch to wake or dt2w support ?

I know you'll say this is battery eating

But we have many apps for controling it

Thanks
[Galaxy S 4 i9500 Android Development] AntiBillOS:
When you enable T2W any app not help you get less batterry eating, only disable this feature. Battery life on this korean ctap so bad and we dosen't need any T2W coz it kill battery life finally.
[Galaxy S 4 i9500 Android Development] asad007:
Update

Version 6.5

* Update kernel version to 3.4.21

* Tweak LMK ( halaszk ,Commit )

* Compiled with SaberMod (gcc 4.9)

* Tweak interactive governor

* Enabled ZSWAP

* Increased Maximum Swappiness

* Disable other governors
[Galaxy S 4 i9500 Android Development] robsonsilva:
Great job. It was better with sabermod. The governor interactive is not very good with exynos. It would be better to use another governor as zzmoove, pegasusq or other.
[Galaxy S 4 i9500 Android Development] krasCGQ:
On Exynos 3475 SoC (like Galaxy J2), we can't select ondemand and userspace is set by default, so I change the default governor to interactive on my kernel releases and it's stable according to my kernel users.

So, it's actually hardware-dependent. Mostly, devices that released in 2014 and later are using interactive now. Galaxy S4 released in 2013, so ondemand governor suits better than interactive.

If I'm going OT, sorry man. :fingers-crossed:
[Galaxy S 4 i9500 Android Development] asad007:
Because interactive suits better with hotplug
[Galaxy S 4 i9500 Android Development] asad007:
Version 7

* Update Kernel version to 3.4.40

* Governors : Ondemand, Ondemand-sec, Performance, zzmoove, alucard, intelliactive, powersave, conservative

* I/O schedulers : Row, Noop, Cfq, Zen, Sio

* Improved Hotplug values

* Set Some powersaving defaults on boot

Enjoy !!

PS: Sources are not on my github

( I'm new to git BTW)
[Galaxy S 4 i9500 Android Development] kaankkaraman:
Colours changed a little bit with this kernel, whats can i do?
[Galaxy S 4 i9500 Android Development] husseinholmes:
Use v7 ??
[Galaxy S 4 i9500 Android Development] kaankkaraman:
I dont remember but not 7, its 6.x
[Galaxy S 4 i9500 Android Development] husseinholmes:
Then flash v7 and see if its fixed
[Galaxy S 4 i9500 Android Development] robsonsilva:
The v7 is perfect. Now with the source on github can all help. Continue with your great job.
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Scrolling little bit lagy & freezes

V7 LL
[Galaxy S 4 i9500 Android Development] asad007:
Governor?
[Galaxy S 4 i9500 Android Development] AzizbekN1:
I tested all governors all the same

Freezes only in settings app

But when i use stock kernel everything is ok
[Galaxy S 4 i9500 Android Development] asad007:
Version 7.1

* Update Kernel Version to 3.4.44

* Remove Powersave governor

* Tidy up available frequencies

* Improve ondemand

* Make Hotplug little aggressive

* Synapse support for LL version
[Galaxy S 4 i9500 Android Development] asad007:
Version 7.2

* Update kernel to 3.4.111

* Optimise ondemand

* Add few new options in synapse

* Exynos core control

* Set GPU max freq 480mhz

* Attempted to add synapse support in MM ( need feedback )
[Galaxy S 4 i9500 Android Development] gp545:
No UCI support detected... MM
[Galaxy S 4 i9500 Android Development] asad007:
Well then selinux permissive is required for synapse
[Galaxy S 4 i9500 Android Development] gp545:
Yes I guess
[Galaxy S 4 i9500 Android Development] robsonsilva:
The 7.1 is with the perfect battery. I'm testing the 7.2 now. In mm the synapse is not supported yet. The alberto said it is because of selinux and if I'm not mistaken busybox.
[Galaxy S 4 i9500 Android Development] fariez:
The v.7.1 has better battery for standby, v.7.2 is even better. But on-screen time might not differ much. I'm on cpu max 1.200MHz and Ondemand governor, coz there were noticeable lags for cpu max below 1100MHz.
[Galaxy S 4 i9500 Android Development] asad007:
Updated to version 8

This should be very stable now (except for zzmoove) and battery life should be very decent

(Feedback? :p )
[Galaxy S 4 i9500 Android Development] robsonsilva:
Thanks man! LWK is the best kernel for s4 actually.
[Galaxy S 4 i9500 Android Development] :
agreed :D voltaqe is best in TW but in CM we have asad :D good to see our s4 still alive :fingers-crossed:
[Galaxy S 4 i9500 Android Development] asad007:
Use the latest 8.1 as Hotplug was still causing issues, it is now disabled for the sake of stability
[Galaxy S 4 i9500 Android Development] Aayan 123:
Hi can you please provide us with v8.2 changelog? You have a file v8.2 in the i9500 folder
[Galaxy S 4 i9500 Android Development] asad007:
I just uploaded it, I'm updating the post
[Galaxy S 4 i9500 Android Development] asad007:
Updated to v8.2

Main things :

* enable vnswap

* enabled Samsung Hotplug and tweaked it

* disable powersave and zzmoove governors

* Lzma compression for ramdisk

Note : Voltage control causes hangs, don't use it
[Galaxy S 4 i9500 Android Development] fariez:
I"ve just flashed v.8.2 and i assume it has caused the 'compressing ramdisk' process during SuperSU-2.7.1 installation to stop, as I compared flashing logs of v.8.2+supersu with v.8.1+supersu. This has caused my first reboot to crash after 'optimizing apps' section (the screen went distorted black), the second boot went okay but it never woke up after screen off. The third was after I reflashed v.8.2 and watched the process, and it went black again. Thanks, [MENTION=4296690]asad007[/MENTION]
[Galaxy S 4 i9500 Android Development] asad007:
Version 8.3

* disable voltage control

* optimise all governors with new hotplugging

* set min cpu freq to 300mhz

* strip down synapse to audio , screen and battery (use a different app for other things)
[Galaxy S 4 i9500 Android Development] robsonsilva:
Every day there has been update. Every update the kernel is better. Thank you're the guy.
[Galaxy S 4 i9500 Android Development] asad007:
Just found out interactive governor doesn't work
[Galaxy S 4 i9500 Android Development] asad007:
Updated to 8.4

* disabled zswap and vnswap

* disabled compaction

* added multicore power saving

* added cpu boost

Enjoy!
[Galaxy S 4 i9500 Android Development] Aayan 123:
Voltage control worked great for me in 8.2
[Galaxy S 4 i9500 Android Development] asad007:
So it must be synapse which was causing problems
[Galaxy S 4 i9500 Android Development] Aayan 123:
I actually cannot use synapse in v8.2

No UCI support
[Galaxy S 4 i9500 Android Development] asad007:
You must be on GearCM 13
[Galaxy S 4 i9500 Android Development] Aayan 123:
Im using the 0305 build Gear Cm 13
[Galaxy S 4 i9500 Android Development] alaa96:
Can i use twrp recovery to flash the kernel ? Also is it stable for cm13
[Galaxy S 4 i9500 Android Development] krasCGQ:
1. Yes, but your bug reports will be possibly ignored.

2. Try it yourself. It should be stable.
[Galaxy S 4 i9500 Android Development] asad007:
Synapse doesn't work on marshmallow because selinux is disabled
[Galaxy S 4 i9500 Android Development] alaa96:
Will changing the selinux state using selinux mode changer fix this issue ?
[Galaxy S 4 i9500 Android Development] fariez:
I guess noone is having similar issues on RR-M-5.6.5, which have been persisted on 8.4. Not flashing SuperSU 2.71 or flashing 2.56 didn't solve either. So, I guess I will have to settle at 8.1 after all.
[Galaxy S 4 i9500 Android Development] asad007:
No it wont , selinux is disabled so that the rom can boot

I would need to manually add those changes to ramdisk (later ....)

Or

You could try a different root app
[Galaxy S 4 i9500 Android Development] asad007:
Updated to LWK-9

* Hotplug only when screen off (and aggressive too = maximise standby)

* Add support for KSM

* -fgraphite optimisation

* Voltage control

* LED control

* Optimise all governors to save battery

* don't remember
[Galaxy S 4 i9500 Android Development] Aayan 123:
Bro download link is broken....

The download folder to be exact
[Galaxy S 4 i9500 Android Development] asad007:
Fixed!!
[Galaxy S 4 i9500 Android Development] alaa96:
So is there an alternative to synapse ? Because i see that some features do require it are implimented
[Galaxy S 4 i9500 Android Development] asad007:
Just type "kernel" in playstore
[Galaxy S 4 i9500 Android Development] fariez:
So it is an issue after all, not a coincidence. Take your time, [MENTION=4296690]asad007[/MENTION], your consistency for this device is remarkable already. Thumbs up!
[Galaxy S 4 i9500 Android Development] asad007:
UPDATE LWK 9.1 FINAL

- No new updates will be added( apart from small updates ) , i think i already did what i could to this kernel , enjoy the final version !

Changes :

* Enabled KSM on boot

* Enabled Dynamic Hotplug

* Remove All makefile tweaks ( for sake of stability )

* Used GZIP Compression for Ramdisk ( to avoid supersu issues )

* Decreased Ondemand Thresholds For Choopy UI
[Galaxy S 4 i9500 Android Development] asad007:
1) [MENTION=4296690]asad007[/MENTION]

Best CPU settings , perfect balance between Performance and Battery

CPU max : 500mhz

CPU min : 250mhz

Governor : Ondemand

2) [MENTION=4657154]ktouy[/MENTION]

Cpu max : 1600mhz

Governor : Alucard

Io scheduler : Noop

PS: this post will be updated with best settings that can be applied (from users) ....
[Galaxy S 4 i9500 Android Development] asad007:
Post your settings for the kernel and maybe screenshot of your sot and battery graph

I'll update previous post with them

Only post those settings which are really awesome !
[Galaxy S 4 i9500 Android Development] asad007:
Small update 9.1.1

Set up some defaults
[Galaxy S 4 i9500 Android Development] gp545:
I use default set up of Kernel, coz I have uninstalled all kernel tweaking apps.. :D
[Galaxy S 4 i9500 Android Development] Sylite:
I have my governor set to alucard with max. CPU to 1000MHz for underclocking, do you think the battery life is better with these settings or the first one you posted? Slight performance loss is not really a big deal for me.
[Galaxy S 4 i9500 Android Development] ktouy:
Default As is with alucard, max 1600 no underclock, noop, kms enabled and everything else default and no issue whatsoever, decent battery life, great performance and so happy !

Awesome kernel! Thanks!
[Galaxy S 4 i9500 Android Development] asad007:
I'm having issues with screen off drainage , in standby my battery drains to zero in a few hours ( I think it's ROM related )
[Galaxy S 4 i9500 Android Development] asad007:
LWK 9.1.2

1) Disable wakelocks

2) optimise ondemand and hotplug

3) ARM: implement KERNEL_MODE_NEON

4) ARM: full neon-vfpv4 support & compile with -mfpu=neon-vfpv4

& hard float

5) Desaturate the display ( too much saturated previously )
[Galaxy S 4 i9500 Android Development] darkmxd:
[MENTION=4296690]asad007[/MENTION] the previus kernel v9.1 it's awesome, only the battery drain by wifi persist. But that is ROM related. I read that google already fix wifi battery drain on latest MM source. I compile a new version of gearcm 13 but it don't boot with external sd card, i'm trying to figure out how to solve it
[Galaxy S 4 i9500 Android Development] asad007:
Ask Alberto96 he must have the fix
[Galaxy S 4 i9500 Android Development] darkmxd:
I ask already, but sems like he is bussy

Look here

Fix issue with WiFi scan reporting MM
[Galaxy S 4 i9500 Android Development] asad007:
But I also have this issue on lollipop GearCM

( Happens sometimes , not always )
[Galaxy S 4 i9500 Android Development] ridershahmir:
Well for me it solved by disabling wifi always on in advanced options but yet sometimes very rare wifi drain still occurs on MM
[Galaxy S 4 i9500 Android Development] zozoz13:
Music crackling when trying to open/close an app and swiping down the notification bar. Also happen when open recent task. I think it because the hotplugging is too aggressive. Could you reduce it?

And in my opinion, screen calibration in v9.1.1 is better than the latest one.

Other than that, the latest version is great.

EDIT: Music crackling only happen sometimes. For now I don't getting it. Weird.. :/

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] krasCGQ:
It could also because the CPU stays on the lowest frequency for a prolonged time. 250-300MHz is enough for playing music with hotplugging disabled...

This is just a preception and I couldn't test LWK on my i9500 because my brother uses my phone so much (as Hotspot + playing games). Maybe I would switch to Temasek's CM tomorrow (hopefully) and test LWK...
[Galaxy S 4 i9500 Android Development] asad007:
Added Untested Zip for Official CM
[Galaxy S 4 i9500 Android Development] suntish:
too much desaturation

i notice a big difference in the color

i revert back to 9.1.1
[Galaxy S 4 i9500 Android Development] zozoz13:
I'm using default settings which the lowest frequency is 500mhz. It should be enough for play a music. But nevermind, now the music playing finely without crackling.

Well, your brother is a very hard gamer lol.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] asad007:
Use terminal emulator to increase saturation

su (press enter)

echo xx > /sys/class/misc/mdnie/hook_control/cs_weight

Where "xx" is your value

In previous versions it was 20
[Galaxy S 4 i9500 Android Development] invincible authority:
Tested!

Bugs :-

1. Wifi not working - Maybe replacing wifi module of CM's boot.img might help?

2. Saturation is too much (doesn't matter if it saves battery!)
[Galaxy S 4 i9500 Android Development] darkmxd:
Wifi is working, i don't have trouble with it
[Galaxy S 4 i9500 Android Development] invincible authority:
You talking about OfficialCM?
[Galaxy S 4 i9500 Android Development] asad007:
LWK-9.2

1) Enable zswap with google snappy

2) tweak sio scheduler

3) make kernel permissive by default

4) misc changes

5) increase color saturation
[Galaxy S 4 i9500 Android Development] robsonsilva:
A tip: why not change the name to lts instead of the final? So instead of thinking that the kernel was discontinued they will know that yet supported. Another tip: Always before compiling run these commands : make clean && make mrproper. This helps a lot in avoiding problems.
[Galaxy S 4 i9500 Android Development] asad007:
1) This kernel is almost discontinued

(As I remove only shortcomings of previous versions and don't add any new big changes )

2) I know that ( duh ! )
[Galaxy S 4 i9500 Android Development] robsonsilva:
The 9.2 is with lag must be because the cpu is 1200mhz or other changes that you added. I know I'm just trying to collaborate with the project (duh).
[Galaxy S 4 i9500 Android Development] asad007:
Haha :p

I decreased min freq to 250 MHz ,

Increase it to 500 MHz
[Galaxy S 4 i9500 Android Development] asad007:
Version 9.3

-> this version is aimed at fixing all kinds of lags

* Used -Ofast flag for a performance boost

* Disabled CRC

* Enabled cleancache

* Make KSM more silent

* Fix hotplug lag

* Tons of Ramdisk Tweaks for

- Netspeed

- buildprop

- VM
[Galaxy S 4 i9500 Android Development] fariez:
Unfortunately it's stuck at RR boot logo on my MM rom. I've waited it to boot long enough until it got hot and the battery dropped from 98% to 10%.
[Galaxy S 4 i9500 Android Development] asad007:
I would need RR boot.img cause it must be a ramdisk issue

On GearCM13 and GearCM12 there should not be any issue
[Galaxy S 4 i9500 Android Development] BenDroid1:
Had to reinstall my entire ROM cause 9.3 messed up everything. I foolishly had no backup of course.. I kept trying to just reinstall 9.2 but it wouldn't fix..just bootloop. I also restore system. And it didn't work. Soo ill stick to 9.2 till there is a fix..and by the way im using RR 5.5.9
[Galaxy S 4 i9500 Android Development] bhuvan9111:
This is only for aosp or cm based roms right?? And not for stock samsung tw based roms. Correct me if i am wrong.
[Galaxy S 4 i9500 Android Development] fariez:
Correct, as you should've read on the first line of OP.

That makes it both RR 12.1 and 13 went bootloop on 9.3.

It didn't cause SuperSu 2.71 decompressing ramdisk to stop though, RR-MM-5.6.5 boot image is attached, thanks [MENTION=4296690]asad007[/MENTION]
[Galaxy S 4 i9500 Android Development] asad007:
I'll upload a version for RR soon
[Galaxy S 4 i9500 Android Development] asad007:
Two New Versions Uploaded

* RR-MM (For Resurrection Remix Based on Marshmallow)

* Official CM (self explanatory :P , wifi fix included)

P.S. : Both the versions are not tested , give feedback after flashing [MENTION=4166346]invincible authority[/MENTION]
[Galaxy S 4 i9500 Android Development] asad007:
Updated to Final version (yes this one is really final )

* GPU overclock

* Tweak hotplug

* Remove -Ofast

* More stability !
[Galaxy S 4 i9500 Android Development] fariez:
Thanks for your RR-MM special edition, [MENTION=4296690]asad007[/MENTION]. Everything work fine. I set CPU at 250-500MHz, Ondemand, Aggressive Multicore Save, both SIO at 1024kB , KSM On, and this setup provides no/unnoticeable lag with good battery benchmarking during standby (12-23hrs at 80-90% idle). Can't give you SOT, coz I tend to plug it anywhere I can whenever it reaches 60% or less. Thanks again:good:
[Galaxy S 4 i9500 Android Development] BenDroid1:
Uhm Which one do i download for RR Lollipop as in 5.5.9 version
[Galaxy S 4 i9500 Android Development] asad007:
There's no RR lollipop version

I can make one but would need the boot.img to extract the ramdisk
[Galaxy S 4 i9500 Android Development] BenDroid1:
Ok. Here is the link for RR v5.5.9 the only fully functional RR ROM thats lollipop

The bootimg link

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

Please make a kernel for it :)
[Galaxy S 4 i9500 Android Development] asad007:
Done!
[Galaxy S 4 i9500 Android Development] hakfur5328:
İ dont see gpu overclock for kernel auditor

Can İ fix it?

I use cm13 and lwk final
[Galaxy S 4 i9500 Android Development] asad007:
/sys/devices/platform/pvrsrvkm.0/sgx_dvfs_max_lock

And

/sys/devices/platform/pvrsrvkm.0/sgx_dvfs_table

Normal max clock was 480 mhz , look at what are they now.
[Galaxy S 4 i9500 Android Development] hakfur5328:
Max lock 532

Table 177 - 640
[Galaxy Note 10.1 (2014 Edition) Themes and Apps] nogloww:
I have installed a multi window manager to add more apps to the multi window options. Kindle worked fine. Then I uninstalled Kindle and installed again and it no longer works. It doesn't show up on the options most of the time, and when it does, it doesn't actually open in split screen or pen window mode. Any ides on how to fix this? I've written the developer of the multiwindow app and he hasn't responded. Maybe there's something I can do on my end?
[Galaxy Note 10.1 (2014 Edition) Themes and Apps] jonling:
Might want to check and see it Multiwindow requires root.
[Galaxy S 5 Accessories] anubius:
I am having a great day today so I though why not make another give away. I got accidentally two of these cover so one can go to someone who like it. It is made of hard plastic and protects the phone from sides. It doesn't cover the back, but I don't mind since I see my nice blue color of the phone cover. It has holes to attach the strap which is convenient when you take photos so it will not fall. You can see from pictures how it look on my phone. If you like it and would like to have it please PM me. I will give the priority to Europe and whoever will write first. Good luck. Shipping is free as well.

Best,

A.
[Galaxy S 5 Accessories] DMF1977:
It doesn't cover the back?? So, basically you're only getting half of a case? Lol... :silly:
[Galaxy S 5 Accessories] klarof:
This case make your phone to look like brick ...
[Galaxy S 5 Accessories] Oz4225:
hahahahaha ;););)
[Galaxy S 5 Accessories] anubius:
Wow I even got mean comments. Anyway the case found a new home. Till next giveaway.
[General Topics] Red_Kop:
I've searched around, but can't seem to find it.

Looking for an old APK for The Guardian newspaper. Before they changed to their latest look. The old app was perfect in my eyes, this one is just too slow.

Also looking for Sky Sports Football Scores, old APK.

Both of these are free apps.

Thanks!
[Windows Mobile Development and Hacking General] jumpjack:
I come from years of Symbian PDA owning/development, and I had several languages available, besides C++: OPL (Basic-like), PersonalJava, J2ME, MidletPascal, Python, Jython, m-Shell... all of them for FREE! :)

What are the alternatives on a WM machine? Can I only develop in C++, or have I some FREE alternatives?
[Windows Mobile Development and Hacking General] Rudegar:
do you mean languages or programming envioments ?

embedded visual studio is free if you mean envioments
[Windows Mobile Development and Hacking General] jumpjack:
both.

I just found info about the embedded visual studio you talk about. I see c++ allows API access,but VB cannot. Any workaround?

I also found WABA and EWE: for the first, site states "you can write native code by modifing WABA sources"; I guess it means writing additional C++ code?

for the second, it says it allows accessing native functions: does it mean you can use EWE to start/receive calls, send/receive SMS, access COM port,...?
[Windows Mobile Development and Hacking General] anfd:
The following languages/interpreters are used nicely on HTC Typhoon:

1. Jython 2.2 for Java 1.1.8 SE (along with Personal Java CE 1.1 and the JDK runtime/library);

2. Perl CE 5.8.0 from the Rainer-Keuchel portings;

3. nScriptm HPCARM 0.104 by Nakka/ S/K;

4. Rebol CE 1.5.5 by Carl Sassenrath.

An advanced application manager such as SPHelper is needed to solve the pointing device stuff ...

There is a Smartphone patch for Python CE from one of the developers at SF.net released in March I did not try yet, (perhaps someone interested will) ... :rolleyes:
[Windows Mobile Development and Hacking General] jumpjack:
thanks, that's very interesting, especially Jython: Is Java 1.1.8 supported by all HTC devices?