yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Drhedphuk:
After reading through the posts, I'm guessing that I'm the only person having this problem. On the latest version I get random freezing and it causes stuttering while scrolling. I have tried it on 3 different Roms with the same result. I have gone back to the 20140111 release and no problems whatsoever. Anyone have the same problem or any idea why I am having this problem if no one else is?
[Galaxy S I9000 Android Development] iluha_ua:
Try switching off zRAM if it is enabled.

I have found better performance without it. Memory given by CMA feature is enough for me.
[Galaxy S I9000 Android Development] Drhedphuk:
I'll give it a go. Thanks bud
[Galaxy S I9000 Android Development] didhiy:
maybe in next build ;)

I'll disable zram for android from faux123 in next build to see if that can help
[Galaxy S I9000 Android Development] zapbrannigan00:
This is an awesome Kernel!
[Galaxy S I9000 Android Development] didhiy:
Need Tester: <unstable> xx-aries

This kernel rebooted many times when installed in my sc-02b (aries_ntt japan), let me know if this stable or not when installed in your i9000

https://dl.dropboxusercontent.com/u/820341/xx-aries-cm-11.0-20140131-mtwrp-cma.zip

With same kernel configuration for sc-02b, video recording with KSM enable seems never failed & no reboot too. I tested for 3 hours, still might fail in longer time...

Make sure you have nandroid backup & other kernel to install if this test give you crazy random reboot :angel: :fingers-crossed:
[Galaxy S I9000 Android Development] L_S:
Is possible you release this kernel for i9000B/galaxysbmtd too? I am only a simple user, but i think this device is only a bit different than galaxysmtd, this has official support of cm by pawitp too. I can be a beta tester for you :angel:
[Galaxy S I9000 Android Development] didhiy:
Upload boot.img from latest cm-11 nightly, I'll try to build with it.
[Galaxy S I9000 Android Development] L_S:
Here i have the boot.img from a old (some weeks ago i think) version of cm11, can be it or must to be latest?

EDIT: Uploaded old version. If need i download latest cm11 for galaxysbmtd and upload boot.img from it.
[Galaxy S I9000 Android Development] didhiy:
thanks, I'll try it tomorrow & will pm you if the build complete for test :)
[Galaxy S I9000 Android Development] L_S:
Thanks :laugh: Just curious, in this first test you already will try with all the changes (cma, TWRP, different boot logo and other things) or pure with Linaro 4.8?
[Galaxy S I9000 Android Development] didhiy:
will upload both if no error where compile ;)
[Galaxy S I9000 Android Development] KIYOSH:
Dear all

Can anyone provide me list of kernel for GT i9000

I am currently using Mackay ROM 4.4.2 with Mackay Kernel 0.609
[Galaxy S I9000 Android Development] L_S:
OMG, a million of thanks to you :)

Both works, now i am using x-aries version with carbonrom :D
[Galaxy S I9000 Android Development] Drhedphuk:
I didn't get any crazy random reboots, but for me the back and menu buttons didn't work, but they did for my wife who has the same rom installed and, obviously, the same phone.
[Galaxy S I9000 Android Development] didhiy:
thanks for your feedback, maybe you can wipe dalvik cache to fix home & back button (afaik it's not kernel related)

can you test video recording with ksm enable?

and please try front camera too, since I don't have front camera on my SC-02B
[Galaxy S I9000 Android Development] vigneshnallamad:
hey bro tried the test kernel and video recording is working fine with ksm enabled... also to be frank web page scrolling is very smooth now... nice mate :) sorry for testing late :)
[Galaxy S I9000 Android Development] didhiy:
build 20140131

Since the test build looks not as bad as I though, I add it to op as new build ;)

Additional changes in x-aries version:

build 20140131

A bunch of patches from faux123, semaphore, codeaurora & linux-next, starting from here till this.

Some part maybe useless and here is the noticeable part:

- Update LMK, CMA and KSM.

- Use LZ4 compressor for zram.

- Add Semaphore Auto Brightness from stratosk (build as a module)

Download xx-aries as usual in this folder

And for I9000B only:

- ariesbr-cm-11.0-kernel-20140201-mtwrp.zip

- x-ariesbr-cm-11.0-20140201-mtwrp-cma.zip
[Galaxy S I9000 Android Development] Drhedphuk:
All works fine, although only have problem with back & menu buttons with this release no problem with other versions.
[Galaxy S I9000 Android Development] didhiy:
will check it further to see any patch can cause that problem... I can't promise you the fix sooner or later, meanwhile maybe better to stay with older version
[Galaxy S I9000 Android Development] ohtoulouz:
Feedbacks

Hi,

I installed the latest Kernel (0131) on latest Mackay ROM (4.2.2) and everything is running smooth (video, camera, back and menu keys) on my i9000. Difficult to say if it is better than 0121 or not, but I keep testing !! Nevertheless, both kernels are wondefull.

Many thanks!
[Galaxy S I9000 Android Development] tsatomas:
Flashed latest build on my sgs with cm11 (unofficial by rodman01). coming from bigmem patched kernel video 720p record not working good, flashed previous posted unpatched libs and is fixed. Still testing and working good so far.

Could it be possible to include fast charge?

Thank you

Edit: for kernel tweak (and more ) performance control is free and working perfect:

http://xdaforums.com/showthread.php?p=44522561
[Galaxy S I9000 Android Development] turtuv:
Hi, i flashed last version, but i noticed that BLN doesn't working. How come?
[Galaxy S I9000 Android Development] didhiy:
BLN & fast charge not implemented yet, maybe I'll upload a test kernel if I can add the patches.
[Galaxy S I9000 Android Development] turtuv:
What a shame. I have to change kernel, i use BLN :(

Inviato dal mio GT-I9000 utilizzando Tapatalk
[Galaxy S I9000 Android Development] tsatomas:
That would be nice, I miss both;)
[Galaxy S I9000 Android Development] didhiy:
build 20140209

Additional changes in x-aries version:

build 20140209

- Merge android-3.0 kernel common.

- Enable CLEANCACHE, FRONTSWAP & ZCACHE

- Another CMA try.

build 20140207

- Add BLN & Fast Charge from Semaphore kernel.

Note for BLN: Need to manually rename lights.aries.so.bln in /system/lib/hw/ to lights.aries.so

Rename original file to lights.aries.so.cm or else for backup. Repeat this step in every rom flashing.

- Use newer linaro toolchhain 14.01

- Merge android-3.0 kernel common.

build 20140131

A bunch of patches from faux123, semaphore, codeaurora & linux-next, starting from here till this.

Some part maybe useless and here is the noticeable part:

- Update LMK, CMA and KSM.

- Use LZ4 compressor for zram.

- Add Semaphore Auto Brightness from stratosk (build as a module)

build 20140121

- Add ZRAM_FOR_ANDROID from faux123

- Remove KSM to prevent video recording failure

- Use LZ4 for initram

- Update recovery to Mackay TWRP 2.6.3.0

- Some cherry-pick related to CMA, low memory killer & binder

build 20140111

- Same as aries version exclude merge upstream (already added)

- Replace xvmalloc with zsmalloc for zram

build 20140106

- Same as aries version

build 20140105

- Add pawitp cma-test with 417mb memory (no need bigmem libs) and possible bugs.

- Fix lpm (charging when phone off)

build 20131231

- different boot logo

- add smartass2 cpu gov

build 20131221/22

- 1.32ghz OC step and revert sleep call gpio to prevent SOD

- 397mb memory (install bigmem lib by kasper_h separately for 720k video record fix)

- kernel config for smaller kernel size (mostly taken from semaphore kernel by stratosk)

- merged to aosp android-3.0 kernel common (big changes in wifi driver and interactive gov)

- update gpu driver to DDK 1.8@2198402 (as on mackay kernel and others)

- cherry-picked some commits related to zram, lzo and interactive gov

- display boot progress, etc..

Download

http://goo.im/devs/didhiy/aries_cm-11.0

http://goo.im/devs/didhiy/ariesbr_cm-11.0 (I9000B)

tips: check (short by) modification time to find the latest build
[Galaxy S I9000 Android Development] ayed78:
will try...freeze front camera or not

---------- Post added 9th February 2014 at 12:05 AM ---------- Previous post was 8th February 2014 at 11:31 PM ----------

test....no freeze front camera when taking picture..test with c-rom :D:D:D
[Galaxy S I9000 Android Development] tsatomas:
Hi didhiy, i downloaded last version and I see that kernel in now named x-aries while previous was xx-aries. Is this correct or I downloaded wrong kernel?
[Galaxy S I9000 Android Development] didhiy:
I change 0131 name from xx-aries to x-aries like the others since it's not a test kernel anymore. It will make latest build placed in bottom/last row too, looks better (arranged well) for me :)
[Galaxy S I9000 Android Development] tsatomas:
Thank you for adding bln and fast charge, both working.

Also video rec/play working, but I like to post my info for this. With bigmem libs it is working but not good (there is delay and few times it freezes) also same without ksm. Flashed unpatched libs and is working good without ksm(sort delay with). Also I know that zram does not suit my phone(causes lag), I used performance control to reduce it first to 10℅ ( little improvement) and stop it(phone working good). Unfortunately I cannot stop zram permantly and after reboot I must stop it again. Is there a way to stop zram?
[Galaxy S I9000 Android Development] didhiy:
zram turn on by default, it was set in initram just like stock cm-11

try this command from terminal to turn it off:

su

swapoff /dev/block/zram0

to check, type:

free

if swap=0, it already stop & will on again after reboot
[Galaxy S I9000 Android Development] tsatomas:
I can use function stop/start zram in performance control app to do it easier. I checked this command and it failed, but it is good to know about. I shall try different values to check. Thank you
[Galaxy S I9000 Android Development] didhiy:
build 20140212

Different from stock (changelogs):

build 20140211

- Add s3cfb: tl2796: do not read calibration data on aries from stock cm-11

- Use newer linaro toolchhain 14.01

- Update recovery to Mackay TWRP 2.6.3.0

Additional changes in x-aries version:

build 20140212

- Add s3cfb: tl2796: do not read calibration data on aries from stock cm-11

- Add backport SLUB from Linux 3.3 from Hellybean GT-I9300 + another 4 commits.

Download

http://goo.im/devs/didhiy/aries_cm-11.0

http://goo.im/devs/didhiy/ariesbr_cm-11.0 (I9000B)

tips: check (short by) modification time to find the latest build
[Galaxy S I9000 Android Development] archrae:
just wanna report ser didhiy, since our sc02b thread was discontinued..

there's something wrong in our latest build for sc02b..

the color display is bad..the white looks dirty white
[Galaxy S I9000 Android Development] didhiy:
that's a known issue from latest cm-11 kernel (merged for next nightly, last time I've check). not a big deal for me, because we can set color calibration to fix that

this value looks good to me:

red: 65

green: 75

blue: 100
[Galaxy S I9000 Android Development] roshan2989:
deleted..
[Galaxy S I9000 Android Development] archrae:
oh i see..btw thanks!!

I'm into 0209 build for now..
[Galaxy S I9000 Android Development] astrosp4c3:
Testing lastest CM11 (12/02/2014) with last version of this kernel.

For "fix" my colors , i have set this in "Other" section.

Colors:

Red and Green on 64%. Blue at 100%

Gamma Tweak

Red and green 10. Blue 0

For more perfomance (at least they increased for me after it) i used the command in terminal emulator which was suggested in the other page.

Its: swapoff /dev/block/zram0

It disables zram until you reboot (idk how to make it on boot , for now i set always whe i reboot) your phone.

For now im running very great with stock config. , using 200mhz as min frequency as it works better.

Cheers and thank you again for this awesome kernel mod.

Sent by i9000 KitKat ^-^
[Galaxy S I9000 Android Development] gverma1:
Hi didhiy... since you have enabled Semaphore Auto Brightness, fast charge, etc... can I use Semaphore Manager to tweak the kernel? I basically want Sema auto brightness, deep idle (if available), no fast charge (I prefer normal charge). Pls suggest the best kernel tweaking app... I have previously used Semaphore Manager and NSTools. Thanks
[Galaxy S I9000 Android Development] harshad_kp:
Is it possible to use this kernel on omni roms...
[Galaxy S I9000 Android Development] ayed78:
im using now on dirty unicorn omni
[Galaxy S I9000 Android Development] didhiy:
yes, you can use semaphore manager to configure fast charge (off by default), bln (need manually replace light library first) & sema autobrightness

other semaphore specific feature like deep idle, live oc, sai & module things didn't supported in this kernel
[Galaxy S I9000 Android Development] Anistruk:
Thank you for this kernel! I have CM11 at my phone and was thinking in change the rom because my phone was very slow, with your kernel i have a new phone! :)

I'm using the cma version because of the 417mb of memory... is this bad or good? lol

Regards
[Galaxy S I9000 Android Development] idCyber:
Should be good but I can't see any improvement in performance between Mackay's 395 mb of ram and Mackay's cma or x-aries cma with 417mb of ram.
[Galaxy S I9000 Android Development] Turtuga:
your x-aries kernel is the best whith cma... front camera works fine where big thanks
[Galaxy S I9000 Android Development] gargeya_369:
+1

Thankyou for the x-aries kernel didhiy...

---------- Post added 26th February 2014 at 12:16 AM ---------- Previous post was 25th February 2014 at 11:58 PM ----------

my phone freezed while i tried to play youtube...

i think its the incomplete CMA problem....As it is a WIP..

reboot and the phone is normal..
[Galaxy S I9000 Android Development] didhiy:
I just upload new build (0226), please report back if YouTube still freeze for you

I test that on my sc-02b for 3 days with ksm enable & do a lot video capture in that time. In last day it still able to capture video (& should be same in video playback too) without unacceptable freeze. I mean, maybe it takes 10 seconds or more when start capture or open video, but it will work less than 1 minute.

That freeze imho may happen in low memory condition or heavy system load.

I test capture video while playing mp3 & browsing, camera will freeze for a few seconds but it still works after that.

I don't have many application installed, so the result maybe differ.
[Galaxy S I9000 Android Development] astrosp4c3:
Didhiy ,

I noticed that zram activates at each boot automatically..do you know how to make it disabled at each boot ? I use always the terminal emulator for turn it off but it became a bit annyoing :p

Ps: I ll flash the last version now

Inviato dal mio GT-I9000 utilizzando Tapatalk
[Galaxy S I9000 Android Development] didhiy:
yes, like stock cm-11 since old compcache things already removed, device that wanna use zram must their own init.rc & no user option to set it on or off

imho disabling zram in this kernel will cut off most of addition (zcache, lz4 etc ) in it ;)
[Galaxy S I9000 Android Development] astrosp4c3:
The problem is that when you have zram enabled with this kernel , after sometimes it become slowly alot and doesnt respond good to inputs.

So , are you telling me that i shouldnt disable it?

I didnt understand completly :)
[Galaxy S I9000 Android Development] ..::WD40::..:
Am I wrong or you did not put pawitp patch for colors?

With Mackay kernel 0.610 colors are okay and he says he has put patch. With your build 0226 colors are bluish.
[Galaxy S I9000 Android Development] didhiy:
sorry to hear that, but disabling zram not something that I want to do

I like new zram config from stock cm-11 & already add many patches on it like use zsmalloc, lz4, optimize zram for android & last add zcache too

I didn't feel any slowdown after long usage, maybe because my longest uptime was only 3 days :D lol

Usually I can stop myself to add something that I think it's interesting to try, then compile it & flash new kernel :)

anyway, if you want try:

install the aries version which very identical to stock... use it for 24 hours then flash x-aries version for another 24 hours

if your problem happen in both, then you may right that zram is causing slowdown after sometimes...

if it only happen in x-aries, this mean the additions in zram is the real problem. no problem for me, because some of the addition like zcache, frontswap is being reverted in the past like (iirc) in devil kernel or mackay kernel... but, I choose to keep them because I think it still works fine for me ;)
[Galaxy S I9000 Android Development] didhiy:
it's already included since build 0214 :)
[Galaxy S I9000 Android Development] iluha_ua:
Also mentioned that problem before.

Phone really have lags with zram enabled. So I disabling it each time after kernel updating.

I'm using Andromizer to tweak kernel and disable zram

https://play.google.com/store/apps/details?id=com.j.y.daddy.customizer
[Galaxy S I9000 Android Development] didhiy:
build 20140308

Different from stock (changelogs):

build 20140308

- Merge stock cm-11 & use initram 0307 nightly

build 20140214

- Revert s3cfb: tl2796: do not read calibration data on aries and use s3cfb: tl2796: detect invalid factory calibration data as on stock cm-11

Additional changes in x-aries version:

Note: Video capture & playback (cma problem with or without ksm) mostly working, but in rare condition it need long time to start (5 minutes or more).

You can wait it if you have time (

recommended

) or simply restart your phone.

build 20140308

- Use initram 0307 nightly with 144 mb zram + minor change to cma & merge android-3.0 aosp

build 20140306

- Add 2 commits to improve swap/zram + ramdisk 0228 nightly with 256 mb zram size

(not stable)

build 20140226

- Add 2 commits related to video for linux + merge stock cm-11 & android-3.0 aosp

build 20140214

- Same as aries version + some commits related to memory
[Galaxy S I9000 Android Development] didhiy:
build 0308 is online...
[Galaxy S I9000 Android Development] MAQ7:
CM/BLN

Thanks for the new build.

However, CM/BLN notifications are not working for me. Any idea???
[Galaxy S I9000 Android Development] didhiy:
go to /system/lib/hw/ with file manager with root access, then

- rename lights.aries.so to lights.aries.so.bak

- rename lights.aries.so.bln to lights.aries.so

I never use it, I just check if it works by using neldar bln control free from play store
[Galaxy S I9000 Android Development] MAQ7:
I did so and it did not work!! That's why I reported it. Anyway, I will give it another try and see.
[Galaxy S I9000 Android Development] pacc:
Just made your kernel, my daily driver.

It's really smooth.

Can I ask you to add the 1100 overclocking step since it's more stable for most devices.

Thanks.
[Galaxy S I9000 Android Development] didhiy:
maybe in next build
[Galaxy S I9000 Android Development] MAQ7:
Nice kernel. So far so good :thumbup:

However, CM notifications still does not work for me.
[Galaxy S I9000 Android Development] didhiy:
Try to reboot after switch lib light from bln to stock.

I just test both bln (use neldar app to enable, no reboot required) & stock lib (need reboot) with whatsapp, both working normal for me.
[Galaxy S I9000 Android Development] didhiy:
build 20140311

Additional changes in x-aries version:

Note: Video capture & playback (cma problem with or without ksm) mostly working.

In rare condition it need long time to start (5 minutes or more).

You can wait it if you have time (

recommended

) or simply restart your phone.

build 20140311 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

- Add 1100 oc step from mackay and 2 other commits.

build 20140308 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

- Use initram 0307 nightly with 144 mb zram + minor change to cma & merge android-3.0 aosp
[Galaxy S I9000 Android Development] MAQ7:
Excellent kernel.

OC 1100 :thumbup:

BLN :thumbup:

Sorry, CM Notification still :thumbdown: for me :(

I tried every thing I could do but unfortunately it did not work.

Guys, please confirm if it works for you.
[Galaxy S I9000 Android Development] didhiy:
build 20140313

Additional changes in x-aries version:

Note: Video capture & playback (cma problem with or without ksm) mostly working.

In rare condition it need long time to start (5 minutes or more).

You can wait it if you have time (

recommended

) or simply restart your phone.

build 20140313 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

Builded at this HEAD

- Switch cflag from -Og (reverted to -O2 then) to -O3, the kernel size was much bigger & reduce user RAM to 416MB

- Use newer linaro toolchhain 14.02

- Add aries-common: zRAM: only read one page at a time

imo default linux value will give better performance, but I prefer to follow aosp guide like in stock cm.
[Galaxy S I9000 Android Development] aways:
hi [MENTION=3878858]didhiy[/MENTION]

Pac rom won't works with custom kernels kernels needed : framework-pac.jar below the line that specifies frameworks-res.jar (same path)

http://pastebin.com/vYWTNSiu

if you can update it with this patch rom will works with X-Aries Kernel.

Thanks..
[Galaxy S I9000 Android Development] DerRomtester:
Nice o3.

Could you pls use cortex a8 optimized toolchain from christopher pls :D
[Galaxy S I9000 Android Development] didhiy:
Unfortunately I only own 32bit old pc with pentium 4 single core :D it's not possible for now
[Galaxy S I9000 Android Development] DerRomtester:
Ah ok. I think it is time for an upgrade ( if you have the money) :)
[Galaxy S I9000 Android Development] Eleanor1967:
If you want I could compile the kernel for you. I got a Westmere-EP 4core/8threads xeon at 3.45 ghz spending a good amount of his time idling. I would only need a short heads up of how to do it :)

MfG Eleanor1967
[Galaxy S I9000 Android Development] didhiy:
thanks, but I think will takes some testing to make the kernel boot with 64bit compiler

fyi, I need several months to find out -O3 solution ;)
[Galaxy S I9000 Android Development] DerRomtester:
The solution is somewhere in my source code.
[Galaxy S I9000 Android Development] didhiy:
build 20140319

Additional changes in x-aries version:

Note: Video capture & playback (cma problem with or without ksm) mostly working.

In rare condition it need long time to start (5 minutes or more).

You can wait it if you have time (

recommended

) or simply restart your phone.

build 20140319 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

Compiled on this HEAD

- Add 2 patches to improve swap & revert aries-common: zRAM: only read one page at a time.

This time I prefer this kernel doc:

It is a logarithmic value - setting it to zero means "1 page", setting
it to 1 means "2 pages", setting it to 2 means "4 pages", etc.
Zero disables swap readahead completely.

The default value is three (eight pages at a time). There may be some
small benefits in tuning this to a different value if your workload is
swap-intensive.

Lower values mean lower latencies for initial faults, but at the same time
extra faults and I/O delays for following faults if they would have been part of
that consecutive pages readahead would have brought in.

over aosp guide:

By default, the Linux kernel swaps in 8 pages of memory at a time.
When using ZRAM, the incremental cost of reading 1 page at a time is negligible and may help in case the device is under extreme memory pressure.
To read only 1 page at a time, add the following to your init.rc:
`write /proc/sys/vm/page-cluster 0`

build 20140313 for 20140307-NIGHTLY and newer but not SNAPSHOT-M4

Builded at this HEAD

- Switch cflag from -Og (reverted to -O2 then) to -O3, the kernel size was much bigger & reduce user RAM to 416MB

- Use newer linaro toolchhain 14.02

- Add aries-common: zRAM: only read one page at a time

imo default linux value will give better performance, but I prefer to follow aosp guide like in stock cm.
[Galaxy S I9000 Android Development] BeriCud:
Thx for new kernel x-aries-cm-11.0-20140324-mtwrp-cma.zip andx-aries-cm-11.0-20140324-mtwrp.zip you are doing great job. Seems to be more smooth as the other version. Pleas keep going and don't give up.