yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] psaikia:
Could you please try to implement the lower screen brightness level feature on your future kernels.

I asked Christopher about this, But, may be he is too busy with some other important stuff.

It would be grateful, if you implement this feature,

http://xdaforums.com/showpost.php?p=42564498&postcount=161
[Galaxy S Plus I9001 Android Development] educk:
Well, you can set some lower values.

Go to Settings -> Display -> Brightness -> Adjust - and play with the Lux levels until you find the right one.
[Galaxy S Plus I9001 Android Development] psaikia:
Sorry, I was not referring to auto brightness level.

By tweaking the kernel , if the brightness be further lowered than the lowest level.

Can it be implemented like Castangalt Kernel .;)
[Galaxy S Plus I9001 Android Development] educk:
OK, CastagnaIT sources are private so I can't implement it exactly like him.

I'm now checking the source code for the display driver and I'll upload a test kernel with lower min brightness values for you in a few minutes.
[Galaxy S Plus I9001 Android Development] psaikia:
Thanks for your effort and time.:highfive:

EDIT : Moreover , I am searching XDA for such sources , And if I get , Will let you know
[Galaxy S Plus I9001 Android Development] educk:
There is no need for other sources.

OK, so the test kernel is ready, I attached it, please let me know how it works.

Lowered Min GAMMA Level values.

If it gives you soft reboot while changing the values please post the last_kmsg log:

su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt

If it doesn't lower the screen brightness as you expected, if you can, post here the dmesg log which is generated while you are modifying the Brightness value:

su
dmesg > /sdcard/dmesg.txt

Or ADB:

adb shell dmesg > /sdcard/dmesg.txt

Let me know ;)
[Galaxy S Plus I9001 Android Development] psaikia:
Thank you very much .

Right now I am testing it.:)

I found this , might be helpful

http://xdaforums.com/showthread.php?t=2268937

---------- Post added at 08:44 PM ---------- Previous post was at 07:58 PM ----------

Yeah , Found considerable difference.

Till now no such soft reboots . Further testing

From 4.05 kernel with brightness mod with lowest brightness level

____________

From 4.04 kernel without brightness mod with lowest brightness level
[Galaxy S Plus I9001 Android Development] polluzet:
[MENTION=4772199]Eric[/MENTION]:

hi Eric; does your 4.0.3 or 4.0.4 working wifi- tethering or not ? 'Cause I need this feature sometimes .. I wanna use your kernels , because they are working very good in combination with slim-Rom and they are battery saving.
[Galaxy S Plus I9001 Android Development] educk:
Update

Hello guys! Thank you for testing the experimental version.

I decided to upgrade to 1.2.2 and switch to 3.0.64. User available RAM is 369 MB with everything working. (no BigMen)

Download links in the OP, changelog in 2nd post.

Regards,

Erik
[Galaxy S Plus I9001 Android Development] jcah73:
Battery goes really fantastic, good job, thanks for actualise
[Galaxy S Plus I9001 Android Development] omegaRED7:
Re: [Kernel][JB][3.0.64]PhenomKernel by Erik-OC-UV/exUV v1.2.2 [16.02.2013]-HP-

How did you increase the memory, did you reduce the allocated PMEM or some other way? I'll test this, but normally for any version with more memory than stock - 350 or so, the allocated PMEM isn't enough and Android reverts to ASHMEM. I don't know what the repercussions are, but I don't think it's good for non-laggy, non-stuttering experience.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] drnjstj:
So far so good. Looks as smooth as the previous release.

Thanks m8.
[Galaxy S Plus I9001 Android Development] omegaRED7:
Re: [Kernel][JB][3.0.64]PhenomKernel by Erik-OC-UV/exUV v1.2.2 [16.02.2013]-HP-

Same as in other bigmem kernels, runs out of PMEM. If possible, please make a standard RAM version.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Kernel][JB][3.0.64]PhenomKernel by Erik-OC-UV/exUV v1.2.2 [16.02.2013]-HP-

+1
[Galaxy S Plus I9001 Android Development] educk:
OK then, many users requested to free up some more RAM, and so far you guys are the first who asked me to revert to stock (351 MB) ok then, I'll do it, just tell me what version (OC/UV or OC/exUV)?

BTW:

Here are the PMEM values used:

In board-ariesve.c:

#define MSM_PMEM_SF_SIZE 0x600000
......................................................................
#define MSM_PMEM_ADSP_SIZE 0x2C00000
.........................................................................
+#define MSM_PMEM_AUDIO_SIZE 0x000000

I'll update my github and give you links.

Erik
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
ExUV/OC please
[Galaxy S Plus I9001 Android Development] dr.wtf:
i personally don't see any performance difference between the two versions so i'll go with whatever you do.
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Kernel][JB][3.0.64]PhenomKernel by Erik-OC-UV/exUV v1.2.2 [16.02.2013]-HP-

I don't know what omegaRed7 thinks, but I prefer OC exUV... I'm not pushing you doing something you don't want to do. It was just a request, if it is possible it is OK, otherwise no problem. I suppose you need time to do compile new kernel and I think you have also a life, so don't worry if it isn't possible.

Thanks

Stefano
[Galaxy S Plus I9001 Android Development] omegaRED7:
Re: [Kernel][JB][3.0.64]PhenomKernel by Erik-OC-UV/exUV v1.2.2 [16.02.2013]-HP-

I have no preference actually, I never bother with exUV kernels because I don't think a slight undervoltage will grant any significant improvement in power efficiency. I could be wrong though. But since the other guys here prefer an exUV, I'm ok with it. And thanks BTW, you can try and consult with Arco/Ivendor/CastagnaIT to see what the effects of low PMEM allocation are.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] EB20XY:
The new 1.2.2 version (exUV) works very fine since the morning.

(RAM management, battery drain, speed, all is very good sofar)

Thanks !

:good:
[Galaxy S Plus I9001 Android Development] educk:
OK guys, OP updated with new kernels, choose the one that fits to your needs ;).

Also, I made an BigMem version because many users requested that too. I will do some reasearch about pmem, thanks omegaRED7.

Regards,

Erik
[Galaxy S Plus I9001 Android Development] jcah73:
fantastic, you are very quick, I'll test it

thanks
[Galaxy S Plus I9001 Android Development] cezaralboiu:
i have one question: are you using ubuntu 12.04.02? or just 12.04?

thanks!:D
[Galaxy S Plus I9001 Android Development] educk:
Ubuntu 12.04 with 3.2 kernel. :)
[Galaxy S Plus I9001 Android Development] billy1billy:
Erik its time to add you special signature at booting with your kernel.
[Galaxy S Plus I9001 Android Development] educk:
What do you mean? Bootsplash or Bootanimation?
[Galaxy S Plus I9001 Android Development] billy1billy:
Bootsplash mainly and why not a bootanimation. Like CastagnaIt and Nexus kernel.
[Galaxy S Plus I9001 Android Development] educk:
Hello polluzet!

The WiFi tethering was a ROM bug, not a kernel one. I'm not sure if Kris applied the fix in his latest SlimBean ROM though...
[Galaxy S Plus I9001 Android Development] polluzet:
I know that, but I didn't know if someone of ADT, or you other good guys had fixed that bug meanwhile ...

Send from my NEXUS 10 using xda app-developers app
[Galaxy S Plus I9001 Android Development] ZordanKV:
[MENTION=4825437]Christopher83[/MENTION] has fixed it. Just wait for the new ROM version. :)
[Galaxy S Plus I9001 Android Development] polluzet:
Wonderfull, I love these marvellous awesome devs from our SGS+ ...
[Galaxy S Plus I9001 Android Development] krislibaeer:
i never had this problem on slimbean :good:

the problem with wifi tethering was only a problem with ADC Team device tree because of a whitespace

a few weeks ago i had problems with wifi tethering too because i deleted accedantely a flag too much but fixed that

and now i use the ADC Team device tree with some changes :good:
[Galaxy S Plus I9001 Android Development] psaikia:
Hi Erik,

If all your loyal kernel users agree than you can make the modified RGB values Official.

Because :

1. It does not affect performance.

2. enhanced screen time.

3. User can select their own level of brightness.

4. Added feature
[Galaxy S Plus I9001 Android Development] polluzet:
Okay, thanks, krislibaeer & Erik, I'll try slim Rom v6.2 with phenom 4.04 next days and report result .
[Galaxy S Plus I9001 Android Development] polluzet:
Slim - Rom v6.2 + Phenom 4.04 :wlan tethering is running :thumbup: more next days ...
[Galaxy S Plus I9001 Android Development] Pilone92:
Hi Educk why you don't update the op with last 4.0.5 kernel?
[Galaxy S Plus I9001 Android Development] Tears for Fears:
Because 4.0.4 is just for testing and 4.0.5 has a modified brightness control.
[Galaxy S Plus I9001 Android Development] Pilone92:
Yes i know that right but I test personally 4.0.4 and works very well and for me the best for battery.. This is the reason for my question:D

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] polluzet:
I have tested this combination for several days. Wifi-tethering works fine , battery had <1% in 8 h (over night) - all good ,Erik :thumbup:,

I'm sorry, Erik, but I had one or two reboots ( hadn't have this issue with former kernels during last weeks ), and several heavy lags coming out of deep sleep. I have noticed, not from apps or so on.

I had made all this wiping stuff and fix permissions, ofcourse.

Now I'm on christopher's new 1.4
[Galaxy S Plus I9001 Android Development] educk:
v4.0.6

Hey guys!

Phenom Kernel v4.0.6 now available. It is compatible with CM10.1 RC2 and updated AriesParts :)

Changelog:

[B]v4.0.6 [24.06.2013][/B]
*Switch to 3.4.50
*Fixed the high brightness for a second when turning on the display (thanks to Krislibaeer)
*Corrected auto-brightness values (thanks to Christopher83)
*Tweak the lowest brightness level (now you can set the screen brightness even lower)
*Update Interactive Governor
*Enabled Clean Cache
*Customizable activation status of touchkeys backlight on touchscreen press (credits Chirstopher83)
*Compatible with the new CM10.1 RC2 and Updated AriesParts
*Sync with arco/DevCon repos

Enjoy!
[Galaxy S Plus I9001 Android Development] Philhy:
Thanks Erik for your constantly work at our Phone!!!

I think you can link the AriesParts at OP or a reference about that, since it is compatible.

I'll test your new gem now.
[Galaxy S Plus I9001 Android Development] educk:
That's a very good idea! Thank you Philhy!

I will compile it and publish on the OP :highfive:
[Galaxy S Plus I9001 Android Development] educk:
Attached updated AriesParts to second post :)
[Galaxy S Plus I9001 Android Development] teachmeluv:
Hi educk.

Thanks for your work! There is one thing i need to know for upcoming updates, hope you can help me.

I know the mainly difference between UV and EXUV...but are there any dangers for my phone using an EXUV Kernel? For what kinda use should i prefer a UV version and for what an EXUV version? I need performance, stability and battery life (as everybody does ;) )

P.S. Was this already mentioned anywhere?
[Galaxy S Plus I9001 Android Development] chocotermi:
ExUv version is better for longer battery use, but You must try if Your phone works good on Extremaly Uv, sometimes they are resets or system works very slowly. It depends indyvidually of Your internal electronic parts of the phone
[Galaxy S Plus I9001 Android Development] stuffynet:
Salut educk

I'm not gonne write all the message again so here it is. :p

Posted in k^kernel thread first. Hope you can make it work to.

Numai bine :good:
[Galaxy S Plus I9001 Android Development] educk:
Hey!

That is very interesting, I'll surely try to implement it when I get back from my vacation (next week).

Thank you for pointing it out for us!

Erik
[Galaxy S Plus I9001 Android Development] stuffynet:
You're welcome. Have a nice one.
[Galaxy S Plus I9001 Android Development] educk:
Phenom Kernel v4.3

Hello everyone!

You might be wondering what took so long for an update. Well, I was sunken in code and I finally managed to achieve what I wanted so here is the release.

Because PMEM is deprecated and not used anymore on new devices/kernels and ION delivers much better performance than PMEM and noticeable differences in overall smoothness and stuff, I was struggling to get ION Memory Allocation working with our camera drivers, but as you know this is not possible because our camera drivers are hard-coded to use PMEM.

So, I managed to partially allocate ION, breaking only camera recording and H/W Acceleration (no Video Playback only in SW Mode with MX Player). Taking pictures with 5Mpx works as it should.

Because the camera recording is broken, I disabled the allocated RAM for it so now the kernel offers 400MB of user available RAM, this should be ideal for Gamers.

This is pretty much still a work in progress but I felt that the kernel reached a point where it can be released, so here it is.

Standard PMEM versions are still available for those who want full camera functionality.

[B]v4.3 [07.07.2013][/B]
*Switch to 3.4.51
*Sync to latest repo from arco
*Clean Code
*mm: decrease default dirty ratio (Con Kolivas Tweaks)
*mm: Drop swap cache aggressively (Con Kolivas Tweaks)
*mm: Enable swaptoken only when swap is full (Con Kolivas Tweaks)
*mm: kswapd inherit prio (Con Kolivas Tweaks)
*Timer Slack Controller (Thanks to Christopher83, Kirill A. Shutemov and Stuffynet)
*Implement suspend/resume for cpufreq driver (thanks to Anji Jonnala)
*touchscreen: fixed lost of the configuration after suspend (credits CastagnaIT)
*Other minor fixes from CAF team and arco
*New Static Boot image (thans to Stefano187)
Best for last:
[B][COLOR="DeepSkyBlue"]*400MB ION Memory allocated kernel versions available.[/B][/COLOR]

As you can expect, my goal is adapt the new Adreno drivers for 4.2.2 but there is still a long way until there, I don't even know if it's possible, maybe some KGSL adaption will be required too, we'll see in the future. For now the next objective will be to get the Camera recording working on partial ION Memory Allocation...

Thanks to smeroni68 and XeLLaR* for testing!

Erik
[Galaxy S Plus I9001 Android Development] kunal998:
Amazing work educk...keep up the good work mate :good::good::good:
[Galaxy S Plus I9001 Android Development] fulcsa:
Congratulation educk!

Thanks for all your work. :good:
[Galaxy S Plus I9001 Android Development] davidteri91:
Good work Erik I am very happy to see our dev make this you re awesome bro
[Galaxy S Plus I9001 Android Development] jabrif:
Oh man...Erik,

What else surprises are yet to unearth for our device...:D

Amazing... Blessed to have you with us... Keep it ON...:highfive:
[Galaxy S Plus I9001 Android Development] Madridii:
Greeeeat work Mr Erik .. Can I build it for ancora?!
[Galaxy S Plus I9001 Android Development] educk:
Hey Madridii!

Yes you can, but there are 2 problems:

1. I didn't push the source to github yet.

2. It's only adapted for the Ariesve board so you'll have to make the adaptions for Ancora yourself.
[Galaxy S Plus I9001 Android Development] Madridii:
Yeah I saw

I will try when the source ready on github

Thanks for your reply

Edit: I think you will push 2 Versions ( Stock and Phenom ) right?
[Galaxy S Plus I9001 Android Development] metalrules321:
This kernel should be ideal for me. I dont record or watch videos on my phone often, so it shouldnt be much of a headache. Thanks a lot erik, Flashing away now

Edit: The kernel seems rock-stable and smooth. Im a happy bunny again
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
Wooow !!! It's Christmas and i don't know !??? Very good job Erik !!! Thank you for all your efforts !!!!
[Galaxy S Plus I9001 Android Development] anuseb89:
First i flashed chris kernel..then casta released new version..flashed that one..then it was u..couldnt stop myself from flashing ion version..seems a good weekend for our community..thanks all..

Note::using kernel for 30 minutes now..looks good in first round using..will let you know in case any issues.. :thumbup:

---------- Post added at 01:24 AM ---------- Previous post was at 01:22 AM ----------

S/w decoder is working fine in mxplayer..so i dont think you wil be having issues evenif you wanna watch vidz..
[Galaxy S Plus I9001 Android Development] metalrules321:
Thanks for the tip man :good:

To educk : This kernel is amazing, and the increase in general smoothness is kickass. Really looking forward to its further updates :D
[Galaxy S Plus I9001 Android Development] chocotermi:
Great idea with this new kernel, 400MB is a big step forward SGS+ future!
[Galaxy S Plus I9001 Android Development] mikapharm:
The kernel is very smooth but the videos in YouTube and dailymotion apps doesn't work but very good work
[Galaxy S Plus I9001 Android Development] signs23:
i thought it would be impossible to use both, ion and pmem, but nice that you get it to work partially :good:
[Galaxy S Plus I9001 Android Development] silverTwins:
erik.. ION memory allocation is stark different from using PMEM allocations.. I really nvr thought it was possible to use both.. it indeed is a big step forth.. cheers buddy..
[Galaxy S Plus I9001 Android Development] CdrGladius:
Hello [MENTION=4922835]educk[/MENTION]!

Is your v4.3 kernel fully compatible with the new ADC Team Release 4? :confused:
[Galaxy S Plus I9001 Android Development] educk:
Yes, sources are always synced :)
[Galaxy S Plus I9001 Android Development] Seraphim401:
Thanks.My phone is more responsive than ever.
[Galaxy S Plus I9001 Android Development] RobyRc:
Gaming on this kernel? :confused: Better than one with PMEM ?
[Galaxy S Plus I9001 Android Development] metalrules321:
As far as I could see, Yes, the perfomance definitely increased and is way more smoother now :)
[Galaxy S Plus I9001 Android Development] AnandMuralidhar:
Gaming is so much smoother! I can play Real Racing 3,Most Wanted, Minion Rush and as usual Temple Run 2 at medium settings. NO LAGS! Awesome work with the kernel [MENTION=4922835]educk[/MENTION] !
[Galaxy S Plus I9001 Android Development] Pilone92:
Can you make a bigmem kernel with 480p videorecording works with 395mb as old Diablokernel?

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Alpha120:
There is nothing impossible for ADC Team :victory:

Maybe in the near future we will have fully working camera with ION... Nobody could expect our phone getting JB or even ICS some months ago.

So I am sure this is just the beginning.

Thanks for all your hard work.
[Galaxy S Plus I9001 Android Development] anuseb89:
Hi,

In normal that is in pmem version 480p video recording is working..op is trying to implememnt fully working ion kernel..so at this stage he succeeded upto camera and recording is completely broken..sooner or later we can expect video also..but as far as i know from devs here it is nearly impossible to make such a kernel..

Note::it may sound foolish..but just telling..i have read that if pmem is running out of space it will force kernel to fall into ashmem..similarly can we forcefully push kernel to pmem from ion wenever we open camera related functions ? Forgive me if this is utter foolishness..
[Galaxy S Plus I9001 Android Development] educk:
Hey guys!

I have some bad news.

After some internal research, it looks like the ION kernel I provided in this thread still uses PMEM. It only supports ION but it is not used.

This is mainly because ION support is not enabled in ROM and the system still tends to use PMEM. The very same kernel might work properly on an "ION ROM" but I need to test that and there is a chance of 99% that the camera will not work at all.

The reason for why the ION kernel feels smoother that the PMEM one is in my opinion, because there is more RAM memory available.

There are a lot of confusing things around here, for example, why doesn't the camera fully work if only PMEM is used? So, I will need time to understand these and get everything right.

Right now, there is no danger in using the ION kernels, if you are a gamer and don't care about the camera recording, it's ok but you must know that ION is not being used! In a combination of ION supported kernel + non-supported ION ROM, PMEM is still used...

I'm not sure if I should continue on this track so I ask you guys, is anyone interested in an ION ROM + Kernel without working camera?

I'm really sorry about this misunderstanding!

Erik
[Galaxy S Plus I9001 Android Development] mrjraider:
Thanks for the clarification Erik.

If you can give it a shot about rom+kernel do it it will help the most of us determine if we want pmem or ion.
[Galaxy S Plus I9001 Android Development] Calin:
I think it will be better if we have liquidsmooth updated with the ION technology :D

Besize that i dont think is good to leave this way you maket for this kernel beacuse this is only the beginning not all the stuff could work at first time so i think you should continue this kernel :D

nilac
[Galaxy S Plus I9001 Android Development] adomm420:
I think you should continue what you started here, I'm voting for cm10.1 ion + 3.4.x ion kernel.
[Galaxy S Plus I9001 Android Development] Christopher83:
Hi Erik,

as I told you, the camera is not fully working simply because you set a too lower adsp PMEM allocation for camera/video, 10 MB are not a good choice.

40 MB are needed for a fully working camera and video recording (480p and 720p)

20 MB for a fully working camera and 480p video recording only

10 MB breaks video recording and video playback

Yes, the smoothness feeling is simply due to the high amount of free ram.
[Galaxy S Plus I9001 Android Development] educk:
Yes, that would be the logical answer.

But with 40MB, the camera doesn't work at all !!! That's why I'm confused...

The camera started to work only when I set 8MB to ADSP (only preview).

Than, with 10 MB it can take pictures.

With let's say, 30MB it doesn't work at all, I will do more tests though...
[Galaxy S Plus I9001 Android Development] Christopher83:
Because there are some errors on code side, I carefully checked your patch yesterday, tonight I'll give you the correct patch to enable ION support for our kernel.

But, remember that even with that patch the kernel coudn't be considered as a ION kernel, the driver will be ready, but not used from rom side...
[Galaxy S Plus I9001 Android Development] Madridii:
Thank you Erik and Christopher ..

I build it for ancora .. 400 MB ram make the phone smother ..

I hope you can do it. Good luck
[Galaxy S Plus I9001 Android Development] educk:
OK, thank you!

I'll handle the ROM side...
[Galaxy S Plus I9001 Android Development] metalrules321:
Count me in for this ride. Im extremely happy with the new 400 mb kernel (even tho ion is not being used).Moreover I dont use the camera much so I wont miss it (much). So I'd say, I support Ion Rom+Kernel

Christopher and educk working together could produce BIG results :good: *fingers crossed*
[Galaxy S Plus I9001 Android Development] yowanvista:
I think an ION ROM + Kernel without the camera would be beneficial especially if the new Adreno libs are ported. The obsolete PMEM Adreno libs are abysmal anyways.
[Galaxy S Plus I9001 Android Development] metalrules321:
DELETE
[Galaxy S Plus I9001 Android Development] silverTwins:
I still don't understand.. is the big amount of ram available coz the memory allocated to the camera has been released for the rom usage? as I had told earlier ion and pmem memory allocations are way different.. and I do believe that the kernel is not able to use the ion memory.. so I am confused as to whr the free memory is coming from?
[Galaxy S Plus I9001 Android Development] Christopher83:
Because it's allocated only 10MB for adsp pmem, instead of 40MB...
[Galaxy S Plus I9001 Android Development] EB20XY:
Will the development of this kernel go on ?
[Galaxy S Plus I9001 Android Development] rickvrolings:
Only three days ago educk said he was working on it. So i guess that there is some development going on atm.
[Galaxy S Plus I9001 Android Development] przemekamag:
Please! Last release was five days ago. Do you think that author spent all his time on the computer?