yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] ts1506:
Nice work. I have been looking at the sets of patches needed for Linaro 4.8, but didnt try building one yet.

Last I tried 4.8 was almost 3 months ago, and it didnt boot up, although it build fine.

Would you be willing to add the extra OC steps ( 1100 , 1300 and 1400 ) into the kernel ?
[Galaxy S I9000 Android Development] didhiy:
maybe... right now, I just let it same as stock to see if there's any improvement
[Galaxy S I9000 Android Development] florum:
just flashed over mackay 4.1.3 and i get better score on antutu, 4985.

keep up good work.
[Galaxy S I9000 Android Development] didhiy:
thanks for testing & comparing, I think mackay compiled with linaro 4.8 will scored much better :)
[Galaxy S I9000 Android Development] Rohitdahiya:
Wow!! That's amazing. See my score. I never managed to go beyond 4930 in the past.

Can you please describe me what is linaro 4.8 and how does it increase performance.

I flashed bigmem libs for KitKat by Kaspar_h but still got 368 MB of available RAM. Maybe it's my fault, but still curious to know if bigmem libs works on this kernel.

Thanks in advance
[Galaxy S I9000 Android Development] didhiy:
you can read the technical details here:

http://gcc.gnu.org/gcc-4.8/changes.html

in short words, it promising better optimization to the codes compiled with it

the memory size was set inside the kernel, installing bigmem libs won't change the size
[Galaxy S I9000 Android Development] Nezys:
This kernel is a beast,thank you very much didhiy!:D

[MENTION=5259337]Rohitdahiya[/MENTION]:

You should enable a bigmem setting to make the available amount of RAM bigger.

Flashing only the libs doesn't change the current configuration ;)

Inviato dal mio GT-I9000 utilizzando Tapatalk
[Galaxy S I9000 Android Development] vigneshnallamad:
thank you for the wonderful kernel :) please make an option to enable bigmem or atleast 396mb as in case of mackay kernel... thank you :)
[Galaxy S I9000 Android Development] didhiy:
I've upload a version with "x-" prefix, bigmem enable (397mb) + 1.32GHz oc steps and some configs changes to make a small kernel (mostly taken from semaphore kernel)

let me know if that version works too

download link was on op
[Galaxy S I9000 Android Development] zakitheracer:
Does this kernel have zram as it's based on stock?
[Galaxy S I9000 Android Development] didhiy:
yes it have zram just like stok
[Galaxy S I9000 Android Development] vigneshnallamad:
wow i got 5200 on antutu if u believe in benchmarks... but performance overall is wonderful...

edit : any plans of including smartass v2 and wheatly :) just a request :) as of now this is my daily kernel :D

edit 2 : see the score :D my phone is ready for android 5.0 with help of u devs :)
[Galaxy S I9000 Android Development] didhiy:
temple run 2 is my only "benchmark" :D thanks for your nice report

Hope it's stable enough for daily driver too

I use same kernel configuration in sc-02b aries_ntt and epic4g, it's running fine for daily
[Galaxy S I9000 Android Development] Alexandre_Silva:
Guys,

This kernel gives you to put in Mackay Rom 4.1.3 (kk 4.4)?

Thank you for your answers already.
[Galaxy S I9000 Android Development] didhiy:
I don't understand exactly what you mean, but I guess you can flash this kernel on top of mackay cm-11 rom and maybe mackay omni too (tested on my sc-02b only) with caution, mackay setting won't work!
[Galaxy S I9000 Android Development] vigneshnallamad:
in mackay omni rom description kasper h has mentioned about other kernels rom not working... didnt try it yet... will test and report back if works :)
[Galaxy S I9000 Android Development] didhiy:
I've download omni mackay 1217, after comparing initram between omni & stock cm-11 I've found no different except the binaries. Then I flashed that rom & my kernel (which have 1219 cm-11) & it boot fine.

make sure you have a backup & semaphore tar if you wanna try
[Galaxy S I9000 Android Development] vigneshnallamad:
That's great will give it a try tomo :) of possible please include smartass v2 in our next version :)
[Galaxy S I9000 Android Development] didhiy:
no promise, but it's possible ;)
[Galaxy S I9000 Android Development] solar666:
Thanks for your great work. Hope you will be able to manage a new pc.
[Galaxy S I9000 Android Development] solar666:
Didhiy, you should combine your force with derRomtester who is already using your build tree ;)
[Galaxy S I9000 Android Development] ..::WD40::..:
Well, didhiy after several days of testing various kernel I can only say that I will use your last kernel as long as it is compatible.

"Semaphore" is abandoned, "Mackay" was neglected and "Neo" is not battery friendly as your kernel.

I really hope you'll be able to do something with your PC because i9000 society is in critical dissipation.
[Galaxy S I9000 Android Development] DerRomtester:
The problem with my kernel (neo) is that i made some tweaks to row scheduler. Only if you use row battery isnt friendly :D .
[Galaxy S I9000 Android Development] ..::WD40::..:
I used your kernel with the recommended "bfq" scheduler. And leakage of the battery is significantly. On stand by everything is fine but when you start using the phone battery is visibly worse than the didhiy kernel where I used "row". I tried your kernel with "row" and it really is even worse. If you say you changed the settings for the "row" you did it wrong.

Kernel is the most important part of the software and you have to watch carefully what you do with the kernel, some tweaks are not good ...

Ask yourself why Stratosk not want a lot of things to add or change at his kernel.
[Galaxy S I9000 Android Development] DerRomtester:
Do you have any proof for this my battery live is great.
[Galaxy S I9000 Android Development] afaneh92:
compiled my kernel with linaro 4.9 and battery descharge while on charger maybe my charge port get lossing but linaro 4.9 is battery eater.
[Galaxy S I9000 Android Development] steevo_bass:
[MENTION=3878858]didhiy[/MENTION] do you have news??

are you again online??
[Galaxy S I9000 Android Development] didhiy:
I lurking g2 thread now ?

Still no pc , no dev activity for me ?
[Galaxy S I9000 Android Development] #Selfiee:
How to install and what download?Please help ?I am using Mackay Rom 2014 4.4.4 ,Is there a need for other?
[Galaxy S I9000 Android Development] Saber:
Mackay rom comes with mackay kernel, which is already one of the exceptional kernels available for our device. If you want to use a different kernel, it is better if you go with semaphore kernel since it is slightly more updated. here is the link: http://xdaforums.com/showthread.php?t=1786220

If you want to reflash mackay kernel, here is the thread link: http://xdaforums.com/showthread.php?t=2532813

regards, gsstudios
[Galaxy S I9000 Android Development] #Selfiee:
Thank you very much, I have another question, whether there is a kernel that provides free Ram 409+, or Roma, which contributes so much?
[Galaxy S I9000 Android Development] althafvly:
Try domensu kernal
[Galaxy S I9000 Android Development] #Selfiee:
http://xdaforums.com/galaxy-s-i9000/i9000-development/kernel-domnesukernel-galaxy-s-i9000-t3205937 I flash this , There is a problem with the camera, First Camera not working ,Whether it can be tackled or both.... all other super fast :)
[Galaxy S I9000 Android Development] althafvly:
Also flash the libs. I tested it on latest omni 4.4.4 final build and cm11 latest
[Galaxy S I9000 Android Development] roshan2989:
did you add LMK whitelist support?
[Galaxy S I9000 Android Development] kma221:
Didhiy bro does this kernel also support our sc-02b???.?
[Galaxy S I9000 Android Development] didhiy:
no, I think kk have good memory handling

so I never need that great patch

no!

you can download cm-11 for sc-02b in my other goo.im folder
[Galaxy S I9000 Android Development] DerRomtester:
In my opinion a smaller kernel is a faster kernel. If he would include 20 governeurs and 10 schedulers the kernel will become slower. :)
[Galaxy S I9000 Android Development] vigneshnallamad:
I agree but smartass v2 is a really good one... I don't think it would consume much resource including it...
[Galaxy S I9000 Android Development] Equinos:
i think this might not be entirely true, if it was, wouldn't you think Linux should stop adding new features.

And governors are something that guide the cpu, so choosing one governor means its enabled and others are not. So they don't come into effect anywhere else. I don't see it making the kernel any slower.

just my opinion though.
[Galaxy S I9000 Android Development] Equinos:
Awesome!!! Dec 30 version up with Smartass V2 scheduler.

Thanks and happy New year didhiy.
[Galaxy S I9000 Android Development] gverma1:
Hi. Can we use Semaphore Manager to tweak the kernel if using CWM version?
[Galaxy S I9000 Android Development] didhiy:
nope, maybe only limited feature can be use
[Galaxy S I9000 Android Development] vigneshnallamad:
had a soft brick by installing the latest version bro... its struck at samsung logo... no recovery but lucky got into download mode and did an odin flash... :) have a look :) in case its my mistake pls let me know..
[Galaxy S I9000 Android Development] gverma1:
What app should we use to tweak? Basically I tweak the following: Governor, Scheduler, Deep Idle, Touchwake.

Thanks
[Galaxy S I9000 Android Development] didhiy:
in which version (mtwrp or smcwm)? I'll test it again when I'm home
[Galaxy S I9000 Android Development] didhiy:
deep idle & touchwake not supported in this kernel
[Galaxy S I9000 Android Development] Equinos:
i got stuck in bootscreen samsung logo using semaphore version smcwm too,

using the latest Slimbean beta 2
[Galaxy S I9000 Android Development] didhiy:
confirmed, at least on smcwm version I got softbricked too

I don't know about mtwrp, I suggest all to not flashing 20131230 build

I'll try to fix the problem soon when I got home

sorry for this trouble
[Galaxy S I9000 Android Development] roshan2989:
twrp version is working fine here...:good:
[Galaxy S I9000 Android Development] vigneshnallamad:
cwm version bro...
[Galaxy S I9000 Android Development] didhiy:
uploaded build 20131231

just found that I've missed two latest commits from here

hope this fix the problem
[Galaxy S I9000 Android Development] joebacsi72:
Hi!

2013/12/31 x-aries CWM version works with 2013/12/30 CM11 NIGHTLY.

THX!

GT-I9000 CM11_NIGHTLY_KK4.4.2 latest
[Galaxy S I9000 Android Development] Equinos:
Hi didhiy, is it possible for a kernel for 4.3 version. The current 4.4 ROMs are not that stable and would like to see linaro magic on stable 4.3 releases. Thanks

Sent from my GT-I9000
[Galaxy S I9000 Android Development] didhiy:
I never use cm-10.2 as daily driver, but I think I can build a kernel for it. Just upload boot.img from that rom, I need ramdisk for kernel build.
[Galaxy S I9000 Android Development] Equinos:
I'm not on CM 10.2, I'm on Slimbean 4.3.1

Sent from my GT-I9000
[Galaxy S I9000 Android Development] didhiy:
if it use semaphore kernel repo, I can't build that

it have different ramdisk style & o3 optimizing with gcc 4.8 still not boot for me

maybe you could try alberto gear kernel, it based on semaphore & last time I've read he already build with gcc 4.8
[Galaxy S I9000 Android Development] DerRomtester:
I also tried compiling with o3 and your source still no success. Kernel wont boot.

---------- Post added at 02:40 AM ---------- Previous post was at 01:57 AM ----------

CMA?
[Galaxy S I9000 Android Development] didhiy:
cma from pawitp was boot, I already upload a kernel just for fun :) it's really amazing patches from genius dev, I applied those patches & compiled it just to admire how hard to get them works... really cool stuffs :thumbup:

update:

build 20140104

mtwrp cma = 419mb (with bigmem commit)

smcwm cma = 417mb (revert bigmem commit)

don't expect for any fix related to cma, because I'm far behind that level

just install it if you curious to taste the amazing works by pawitp, maybe someone got lucky to finishing "WIP" tasks as described by pawitp

feel free to experiment with this (toggling zram & ksm, test video record etc)

WIP: https://github.com/didhiy/android_k...mmit/5b2812709891c72aefeba59d264ddf8e33316ec8
[Galaxy S I9000 Android Development] vigneshnallamad:
working fine bro... and thank you for including this amazing feature... and ofcourse pawitp for that commit... :)
[Galaxy S I9000 Android Development] didhiy:
x-aries 20140105

Additional changes in x-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..
[Galaxy S I9000 Android Development] marcinowozniako:
I install last version CWM and i got bootlop. I must install 2.3.6 stock, but now its fine. I will try version TWRP.

Edit On TWRP version i dont have the issue.
[Galaxy S I9000 Android Development] didhiy:
Thanks for your report & so sorry this still happened

Maybe I'll try stock cwm in next build
[Galaxy S I9000 Android Development] vigneshnallamad:
im on ur 4th jan release of CMA its working very fine but mp4 and 3gp dont play even after flashing bigmem libs...

didnt try 5th jan release as i just read somebody got bootloop... :)
[Galaxy S I9000 Android Development] joebacsi72:
Hi! This is incredible! CMA provides in the latest TWRP kernel 417MB of RAM and there is no need for the patch / BigMem libs /! No problem for high-definition video playback / 1280 * 720p MP4 videos are playable /. I thank You for the kernel but most of all to pawitp for the great MOD! :)

GT-I9000 CM11_NIGHTLY_KK4.4.2 latest
[Galaxy S I9000 Android Development] didhiy:
I already hide the smcwm version, mtwrp should fine

no problem for me in mp3 or mp4 playing, but video recording is buggy, sometimes work & sometimes failed

disabling zram & ksm should give better chance for video recording to work
[Galaxy S I9000 Android Development] iluha_ua:
bootloop

Got bootloop too with latest cwm.

But here is shortest way to restore functionality after bootloops - just flashed Semaphore kernel with Odin:

1. Put phone in Download mode

2. Download corresponding kernel with .tar extension from here http://xdaforums.com/showthread.php?t=1786220

3. Connect phone and flash Semaphore kernel as PDA

If it fails to flash first time - just flash again.
[Galaxy S I9000 Android Development] joebacsi72:
With CMA kernel on CM11-NIGHTLY-2014.01.05 /it has no ZRam and I turned off the KSM/ the 720p video recording is perfect for me. It has no lag.

GT-I9000 CM11_NIGHTLY_KK4.4.2 latest
[Galaxy S I9000 Android Development] astrosp4c3:
I confirm all working in last cm11 nightly with last kernel version.

This is the first time that i try this kernel , all that i can say is: Thanks !

Our sgs still rock with hacks. Keep it up , love how the kernel work. Will test more in these days

Sent by i9000 KitKat ^-^
[Galaxy S I9000 Android Development] didhiy:
build 20140106

Different from stock (changelogs):

build 20140106

- Update ramdisk with Kitkat zRAM setting

- Fix lpm (charging when phone off)

- Cherry-picked optimize JPEG memory configuration & add ioctl to export memory configuration

- Only build with Mackay TWRP

Additional changes in x-aries version:

build 20140106

- Same as aries version
[Galaxy S I9000 Android Development] roshan2989:
Thanks a lot mate..:good:..Your kernel is awesome...
[Galaxy S I9000 Android Development] iluha_ua:
Thanks for this fast kernel!

Just for information.

Seems like here are some issues with CMA: can't play some trailers(1280x720) from official IMDB application, can't playback recorded video from camera and can't pass 3D test in Antutu.

With Semaphore 3.4.0s(without cma) works fine.
[Galaxy S I9000 Android Development] djdeeles:
If u cant play videos restart device problem gones. I think memory allocation problem.
[Galaxy S I9000 Android Development] didhiy:
try to disable ksm in performance setting

if the problem still occur, then try disable zram too

from terminal, type this:

su

swapoff /dev/block/zram0
[Galaxy S I9000 Android Development] iluha_ua:
I have disabled ksm and zram early.

Reboot doesn't help.

But changing video resolution in IMDB app from 720 to 480 helped (only for this app).

So this indicating some problem with memory allocation for HD video.
[Galaxy S I9000 Android Development] vigneshnallamad:
bro no cwm version of xaries 20140106???
[Galaxy S I9000 Android Development] didhiy:
I've installed the app for test, 720HD works for me. I watch Paranormal Activity and few other trailers, all played well.

Make sure you don't have bigmem libs because it might cause the problem.

It's possible too if that problem came from cma failure

Yep, it's easier for me to compile one version only + 2 times in the past that cwm version not boot properly
[Galaxy S I9000 Android Development] vigneshnallamad:
Yeah that's true... Then I will get used to twrp ;)
[Galaxy S I9000 Android Development] iluha_ua:
Just replaced bigmem libs with original ones from CM11-M2 and... video works fine!!! :)

But Antutu stops on 3D test, maybe it is not compatible with CMA or something... not critical for me.

Maybe it is a good idea to include original video-related libs for those who coming from another kernels? ;)

Anyway, BIG THANK for great kernel and help!

P.S. Maybe I can be useful as developer or anything related. Have some experience with C++ but no exp with linux kernel development. So maybe I could be helpful with guru guiding ;)

Thanks!
[Galaxy S I9000 Android Development] didhiy:
Maybe I'll upload a stock libs as an install zip like bigmem libs so I only need upload it one time. I have poor upload network speed, so I'll try to make a smaller kernel ;)

About a development help, maybe you can take a look at pawitp aries-wip commit (link on op), who knows you'll find a finishing touch of that great works.

tbh, I don't have any skills in program language :D only knew a little about Linux basic command & shell scripts

All the additional patches in my github are only cherry-picked & easy modification from other works ;)
[Galaxy S I9000 Android Development] iluha_ua:
I think that I can make it and upload, just need to know how to properly pack it. Can I use zip with bigmem libs and just replace libs inside it with original ones?
[Galaxy S I9000 Android Development] didhiy:
yes, only need that step
[Galaxy S I9000 Android Development] ioannis_m:
Why no CMA support for CWM to download?
[Galaxy S I9000 Android Development] iluha_ua:
unpatched video libs

I have made update zip with unpatched video libs :)

Checked it on my phone - all working as expected.

Here is a download link: http://d-h.st/ZdB

Also have attached file to this post just in case.

For thoso who dont know: flash this zip if having problems with 720 video playback coming from BigMem patched kernels.
[Galaxy S I9000 Android Development] didhiy:
I decide to build mtwrp only for some reasons, just read a few post before this question ;)

other reason, imho it's easier to use & I like the advance backup feature that allowed me to backup data only. It save my internal storage space since I don't have external
[Galaxy S I9000 Android Development] ioannis_m:
Testings on your kernel then come to an end for me.Too bad and i liked it .:(

Many thanks on your SGS kernel offer to all of us.:good:
[Galaxy S I9000 Android Development] mongoose:
didhiy

I use x-aries-cm-11.0-20140104-smcwm-cma.zip since you've published it and it works flawlessly. 417Mb really rocks! 720p recording is working without problems. Thank you!

Could you please compile the new one with the latest kernel patches from pawitp introduced in last nightly builds. Doesn't matter CWM or TWRP.
[Galaxy S I9000 Android Development] didhiy:
it's already in x-aries version since first build ;)

zram & lzo cherry-picked from aosp 3.4 kernel common
[Galaxy S I9000 Android Development] hussam91:
I dont have wifi with your kernel
[Galaxy S I9000 Android Development] didhiy:
try open the kernel zip, copy bcmdhd.ko to /system/lib/modules/ with rw-r--r-- permission & reboot

type this command from terminal:

if bcmdhd appear then that should be module not correctly installed to system
[Galaxy S I9000 Android Development] hussam91:
I tried doing that using the root browser but the operation failed again and again. Can you suggest how to copy paste the file?
[Galaxy S I9000 Android Development] didhiy:
Re-install the kernel again, then type the previous command from terminal.

I just upload a new build.. hope it works better for you
[Galaxy S I9000 Android Development] solar666:
Any changelog for the new kernel versions of yesterday?
[Galaxy S I9000 Android Development] didhiy:
build 20140111

Added in op now ;) thanks

Different from stock (changelogs):

build 20140111

- Update ramdisk to Tweak KSM Value

- Merge upstream CM-11

- Use newer linaro toolchhain 13.12

Additional changes in x-aries version:

build 20140106

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

- Replace xvmalloc with zsmalloc for zram
[Galaxy S I9000 Android Development] solar666:
I assume that the build date of the x-aries version is wrong since it still says 20140106.

??
[Galaxy S I9000 Android Development] didhiy:
thanks, you're right :D

fix typo in first post
[Galaxy S I9000 Android Development] roshan2989:
Should i use bigmen for the latest kernel...?
[Galaxy S I9000 Android Development] didhiy:
don't install bigmem libs in "-cma" version & it's recommended to disable ksm to avoid video recording failure
[Galaxy S I9000 Android Development] roshan2989:
thanks for the reply mate,awesome work.....i think you should put in OP.. known issue for video recording...
[Galaxy S I9000 Android Development] AmirAnwar:
How to get 417 mb ?
[Galaxy S I9000 Android Development] solar666:
Just flash x-aries version.
[Galaxy S I9000 Android Development] AmirAnwar:
Just flashed , not work. :(
[Galaxy S I9000 Android Development] didhiy:
make sure you've download a latest build with "-cma" name
[Galaxy S I9000 Android Development] didhiy:
build 20140121

Additional changes in x-aries version:

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
[Galaxy S I9000 Android Development] gverma1:
Hi didhiy.. I am very tempted to try your kernel to get 417mb RAM without loss of 720p video recording. But am hesitant as it seems there are issues in playing some videos even after disabling KSM and not installing bigmem libs. Could you clarify what is not working and what is rock solid? Thanks.
[Galaxy S I9000 Android Development] didhiy:
for me, no problem with playing video. the problem happened if you have bigmem installed, just make sure you have stock video lib (discussed few post before)

about video recording, with ksm removed seems the failure decrease significantly. for me 9 success from 10 attempt :)

the rest, so can try yourself :D report your problem here, maybe I or someone else can help you
[Galaxy S I9000 Android Development] Nezys:
Some days ago I said "this kernel is a beast".

Today I say..THIS KERNEL IS A MONSTER!!

Thanks again didhy, your work is awesome!

My Galaxy S is flying with the latest release :D
[Galaxy S I9000 Android Development] BeriCud:
Is it here some NSTool for this kernel or some similar app?
[Galaxy S I9000 Android Development] iluha_ua:
I'm using Andromizer

https://play.google.com/store/apps/details?id=com.j.y.daddy.customizer
[Galaxy S I9000 Android Development] steevo_bass:
It's possible have Semaphore auto brightness??

Thanks!