yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] DualJoe:
Try to configure it manually:

/sys/class/misc/backlightnotification/enabled gives me '1' so i don't see why it shouldn't work.

Edit: BLN does work out of the box here (tested with K9-Mail v4.307 with LED notification enabled).

@CastagnaIT:

Maybe a minor bug. If BLN gets triggered (LEDs are on) and phone will be unlocked the LED state remains in 'always on' (instead of 1.6s timeout) until phone will be locked again (LEDs off). After that everything's fine again (until another BLN event).

Edit: Out of a sudden it behaves differently. Instead of 'always on' backlight is 5-6 seconds (should be 1.6s). This happens because the app still lights the LEDs (i think). If i go to K9 and mark the new mails read (so the BLN goes off i think) standard backlight timeout (1.6s) kicks in again immediately.

Edit2: Seems like BLN can't be deactivated (bug or wrong sysfs option?). BLN still lights up with enabled=0.

Edit3: More useful sysfs options for the FAQ:
[Galaxy S Plus I9001 Android Development] cologne83:
The only thing that works is the timeout of the keys...

Blinking ist not working, no matter what I try:(

Maybe I flash completely new including complete wipe :(

Sent with Tapatalk from:

Samsung SGS+ i9001

ROM: BioHazard v3

Kernel: CastagnaIT 6.3exUV
[Galaxy S Plus I9001 Android Development] DualJoe:
Blinking is not enabled at default (it's 'always on'). If you want blinking set /sys/class/misc/backlightnotification/in_kernel_blink to 1.

You can put these commands into /data/local/userinit.sh (root/root 744) for example to keep these settings persistent (after reboot). They will also survive a rom/kernel reflash.
[Galaxy S Plus I9001 Android Development] cologne83:
Nstools already has set these values by creating an own script in init.d...

I don't understand the problem :( no matter which values I edit... The only thing I get working is cmled timeout :(

Sent with Tapatalk from:

Samsung SGS+ i9001

ROM: BioHazard v3

Kernel: CastagnaIT 6.3exUV
[Galaxy S Plus I9001 Android Development] smeroni68:
The problem is the ROM you are using... BioHazard must be checked by Hypnos to let it works... same problem found on italian forum... do not loose time!!
[Galaxy S Plus I9001 Android Development] cologne83:
And what about the liblights?

Why does bln control tell, they don't support?

Sent with Tapatalk from:

Samsung SGS+ i9001

ROM: BioHazard v3

Kernel: CastagnaIT 6.3exUV
[Galaxy S Plus I9001 Android Development] smeroni68:
Probably the installation will not perform the correct update of the libs and the BLN app will not recognise them...
[Galaxy S Plus I9001 Android Development] cologne83:
Thanks for the answers! ;)

So we will see what hypnos can do ;)

Sent with Tapatalk from:

Samsung SGS+ i9001

ROM: BioHazard v3

Kernel: CastagnaIT 6.3exUV
[Galaxy S Plus I9001 Android Development] DualJoe:
Can anyone disable BLN (with 3rd party tools)?

Look here: http://xdaforums.com/showthread.php?p=31926592#post31926592

Edit: Weird... now i have 2 secs (instead of always-on) BLN with enabled=0.
[Galaxy S Plus I9001 Android Development] Tut_Ank:
I noticed thet the addromizer was gettting superuser access at unexpected times, so I unistalled it and checked cpu spy and the problem was gone, I had created a copy using titanium back up and was planning on uninstalling one by one and checking after each and restore the rest when the problem was found, but it was not necessary. :fingers-crossed:
[Galaxy S Plus I9001 Android Development] kufikugel:
same problem here on arcos rom ;)
[Galaxy S Plus I9001 Android Development] smeroni68:
The libs to support the BLN functions where prepared by ivendor for CastagnaIT, so may be they are different from arco ones... anyway Castagna will answer directly, I'm not the dev... It is confirmed that on RC2 all is working fine.

Just and informations regarding BT and deep sleep: I tested this morning the BT with car kit... I was surprised because also with BT connected to the kit, the deep sleep is working... so indipendently from connection or standby status, deep sleep is working.
[Galaxy S Plus I9001 Android Development] bruzzler2809:
Can confirm that.

Also bln works great on cryberts aokp rom
[Galaxy S Plus I9001 Android Development] omegaRED7:
Something weird happened to my phone last night, it seems it just turned itself off, see screenshot:

Battery was around 70% when I went to bed, in the morning it was switched off and battery was 19%.

I'm running AOKP v4 with CastagnaIT 6.3. Don't know if it's kernel or ROM related, but I've been running AOKP for a few days now without issues with 6.2.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] c0dac0da:
which app u use nstools ???
[Galaxy S Plus I9001 Android Development] lontu:
With 6.3 extreme my Miui even flying...

Thanks
[Galaxy S Plus I9001 Android Development] bruzzler2809:
Yes
[Galaxy S Plus I9001 Android Development] xeGox:
great!

which program do you use to activate it?

edit:sorry..i don't read previous post

...I hate nstools...what about bln control?

Device: Samsung Galaxy S Plus (I9001)

ROM: AOKP Milestone 6 b4 Crybert ed.

Kernel: CastagnaIT v6.2 exUv Kernel

Recovery: TWRP TeamWin Recovery Project 2.2.1

USING XDA-APP
[Galaxy S Plus I9001 Android Development] bruzzler2809:
Due to a perfectly working nstools i have not tried any other app...
[Galaxy S Plus I9001 Android Development] edpo1976:
Hi, guys.

I've a question related to scripts and values of free memory on this kernel.

I've flashed 6.3 Ex and the content of init.de hasn't been overwrited. I've exactly the same as before flashing (zerocompression script and LMK values of v5.9). If I'm not wrong, only the flashing of new ROMs overwrites that files.

Ok, there is a guy on our spanish forum (Ehndroix+v6.3 Ex, with all clean installation, including wipe data) that has checked the content of init.de after flashing the kernel and it has the file 91lmk_agressive. Before flashing, he had the scrpt of 5.9 values (balanced, I think). If I've understood well, previous versions of CastagnaIT kernel has the values for multitasking by default. Is it still the same with 6.3?.

Thanks, as always.
[Galaxy S Plus I9001 Android Development] smeroni68:
Hi, v6.3 LMK management/adjustment is exactly the same via script... if you remove the 91lmk_... after a reboot you will have the default values... for your informations they are a bit balanced respect to v5.9 (they are multitasking but a bit aggressive)... I'm using now the default one because they well satisfy my needs... no more need for me to use script's... bye
[Galaxy S Plus I9001 Android Development] Invicta:
i believe with 6.3 and RC2 we have approached perfection
[Galaxy S Plus I9001 Android Development] edpo1976:
Thanks, Smeroni68.

Then, i assume that v6.3 has by default the following LMK values:

Aggressive 8,14,75,90,95,125 MB (this is really aggressive, no app will stay open... let's say FREE MEM FOREVER...).

Anyway, isn't it weird that the script agressive is present in init.de after flashing? I thought that, when you make a full wiped installation, you have no script in that folder and you have values by default. As i told you, that guy had made a full clean installation, including data, and he had the 5.9 values before flashing. So, how that agressive script did show?.

Sorry for asking, i just want to understand it,

Regards
[Galaxy S Plus I9001 Android Development] smeroni68:
... sorry I made a bit of confusion... on v6.3 the LMK values are: 8 16 24 39 65 80MB... they are a bit aggressive than v6.0, not v5,9... bye

EDIT: in the v6.3 kernel THERE IS NO LMK FILE!!! The values are implemented in the kernel... if you find the aggressive file in init.d it is not made by kernel installation... only manually...
[Galaxy S Plus I9001 Android Development] DualJoe:
There is no script in init.d indeed.

If you want to check your minfree values enter:

Divide values by 256 to get MB.
[Galaxy S Plus I9001 Android Development] edpo1976:
Well, we are getting to the point.

The question is that this guy had, before flashing, the first script you made (with 5.9 values, I think); then, he made a full wipe (including data), flashing Ehndroix ROM+v6.3 and he checked init.de: agressive script was there. I attach his screen, and the values agressive of minfree.

That's because I asked: if default values are implemented in the kernel, how has this guy the script agressive in init.de?. Could it be related to Ehndroix ROM?.

Thanks for the support.
[Galaxy S Plus I9001 Android Development] DualJoe:
There are some things backed up before /system gets overwritten (like etc/hosts) during reflash. Maybe even custom init.d. I don't know for sure.

Fact is, there is no custom init.d script in 6.3. Whatever he has done it was either migrated during update or it survived any other way.
[Galaxy S Plus I9001 Android Development] Sgace:
Hello,

I can confirm that bln works, but only with latest version of bln control app v0.17.5.

Thnx, love it very much.

Cheers

Sent from my MIUI powered GT-I9001.
[Galaxy S Plus I9001 Android Development] DualJoe:
@Sgace:

And can you disable it with that control app (check if LEDs stay dark at BLN event)?
[Galaxy S Plus I9001 Android Development] smeroni68:
I think the answer is more easy than you think... the ENDROIX rom has integrated in init.d folder the aggressive file!!!

Tell to the guy to open the ROM zip file,and check the internal folder system/etc/init.d... I think he will find the 91lmk_aggressive file!!!

The builder of the modded rom has integrated also the aggressive file to overwrite the original default settings of v6.3!!!

Let me know if I'm right!!! Ciao
[Galaxy S Plus I9001 Android Development] edpo1976:
I agree, but the weird thing is that he had never that script before flashing 6.3, he had the one with 5.9 values.

In my case, those files haven't been overwrited, so everything was normal. I still don't understand how agressive script has gotten to init.de, when it had never been set manually.

Thanks for your response.

---------- Post added at 05:29 PM ---------- Previous post was at 05:27 PM ----------

Smeroni68, I've just read your response. Thanks, that would explain everything. We'll check it and report.
[Galaxy S Plus I9001 Android Development] smeroni68:
You wrote that the guy made a wipe data... and the ROM flashing has made a system format... after these erase procedure the phone is absolutely clean.

The aggressive file HAS BEEN INTEGRATED IN THE ENDROIX ROM ZIP FILE... tell to the guy to check internally in the zip of the rom if this assumption I made is correct... hope it's clear...

EDIT: I've seen your edit now... please report me if I'm correct... from my side it is NOT A GOOD IDEA to integrate in a ROM file a LMK file, because as invicta wrote before, we are getting the kernel more and more "near perfection", so a custom LMK file will prevent an objective evaluation of default settings... so for all people that build Integrated rom, please avoid any customization if not really needed!!

My 2 cents...

EDIT2: I builded and pubblished on Italian forum the AIO ROM for RC2 with v6.3 integrated + 22zerojpgcompression... I do not put any custom file, and I always declare if and what is included... and I think this is more correct than putting something not declared...

My other 2 cents...
[Galaxy S Plus I9001 Android Development] edpo1976:
Thanks, Smeroni68. You're right, again. I attach the screen of the ROM Ehndroix zip, with the script agressive integrated.

I agree with you, actually I've asked this because it seems very weird to me that ROM integrate a MLK values so different than kernel's one.

Thanks again for your support,
[Galaxy S Plus I9001 Android Development] smeroni68:
I can imagine this "choice" to leave a LMK custom file inside the rom was a "forgotten" file leaved after new kernel integration... I always start from scratch when I create an AIO... thanks for your feedback...

PS: The aggressive settings give a "speedy phone" but on the other side I think is an unusable phone!! I never used these settings...
[Galaxy S Plus I9001 Android Development] edpo1976:
I am testing now, just for curiosity, the agressive script. It is true that the phone seems a little bit smoother. Anyway, could you tell me a pair of situations where phone turns unusable because of that?. The truth is that I don't usually run many apps at the same time, althought balanced script is OK for me too.

Thanks
[Galaxy S Plus I9001 Android Development] saprer:
hey can someone give link to the rom u made? :D

thx
[Galaxy S Plus I9001 Android Development] Flextrick:
Hey guys!

I ve got a question: Which Governor do you use with this Kernel and why? What about battery life and smoothness?

would be happy about some answers. :)

cheers
[Galaxy S Plus I9001 Android Development] MaliMravac:
WiFi is eating battery very fast. I'm not sure is this is only on current rom/kernel or on all cm9 versions but stock rom didn't have that issue.

Settings "Keep Wi-Fi on during sleep" is set to Always. I had the same settings on the stock rom.
[Galaxy S Plus I9001 Android Development] Tut_Ank:
Im using ivendor - RC2 with CastagnaIT Kernel v6.3 Ex (since a few minutes ago, I was using 5.9 and then 6.2 for a couple of days) smoothnes and response are great, I use the UV kernel for better batery life but CastagnaIT's kernel because of the no freezes and the smoothnes, I get (much) better response with it.

I use LIONHEART governor

245 Mhz Min

1401 Mhz Max (I don't overclock, I have tried 1516 and works fine but I'm more interested in batery life)

Memory I use KSM and allow to free resources when needed. I don't use zRAM because on previous versions I got the impresion that it slowed the phone. I haven't tried since 5.9 maybe is improved.

I also use Toggle 2G/3G (http://xdaforums.com/showthread.php?t=739530) since I want 3G when using internet but only 2G when just waiting for calls, messages/ notifications with the screen off. That really saves battery.

Hope it helps
[Galaxy S Plus I9001 Android Development] Sgace:
Hi dualjoe,

Im sorry, but dont know what u mean exactly:o

Sent from my MIUI powered GT-I9001.
[Galaxy S Plus I9001 Android Development] cologne83:
Dualjoe means if you can disable backlight completely, I think...

Disabling is not possible, but you can set timeout to 1msec, so button backlight flashes shortly when you press them, but it seems as they are nearly without any light ;)

Sent with Tapatalk from:

Samsung SGS+ i9001

ROM: BioHazard v3

Kernel: CastagnaIT 6.3exUV
[Galaxy S Plus I9001 Android Development] smeroni68:
Try to use a navigator (like Sygic) and do a call or receive a call... app will close and after you must restart it from scratch... this is enough for me!!

EDIT: with default v6.3 it's perfectly working...

---------- Post added at 08:36 PM ---------- Previous post was at 08:35 PM ----------

Post #2 of Italian 3d...

http://www.androidiani.com/forum/sa...-3-standard-extreme-uv-oc-uv.html#post2245044

Bye
[Galaxy S Plus I9001 Android Development] edpo1976:
Well, that's actually enough for me too. I return to balanced script .

Regards
[Galaxy S Plus I9001 Android Development] DualJoe:
Actually i meant BLN this time. The notification when the screen is off. It can't be disabled i think.

Also, the 1.6s value is not persistent. It falls back after some time to 6secs. Pressing one of the hardware keys will reinitialize the 1.6s value for some time again.

The annoying thing about this is that in 6 sec mode the leds go on every time i touch the display. This doesn't happen in 1.6s mode. Leds remain dark. That's cool as long as it lasts.. :p
[Galaxy S Plus I9001 Android Development] Daniel.96:
How it's possible to turn off buttons backlight at all ?
[Galaxy S Plus I9001 Android Development] DualJoe:
Actually, it is turned off at default (for touchscreen usage) but it falls back after some time to stock behavior. You can re-enable it by triggering one of the hardware keys. Maybe CastagnaIT will take a look again.
[Galaxy S Plus I9001 Android Development] cologne83:
In my case, it works perfect.

I set led timeout to 1sec (less than one second) and it just blinks at the touch. Feels like it is off ;)

If you turn to 0, it disables timeout.

Notification can be disabled completely.

So what's your problem? ;)

Sent with Tapatalk from:

Samsung SGS+ i9001

ROM: BioHazard v3

Kernel: CastagnaIT 6.3exUV
[Galaxy S Plus I9001 Android Development] DualJoe:
Right, when touching hardware keys (cmleds). But notice the LEDs when you use the touch screen only. They remain dark (at least for some time). Then something re-sets the LED behavior to stock (6s timeout and lightup(!) on every display touch) until you press a hardware key again that refreshes CastagnaIT's LED value/behavior.
[Galaxy S Plus I9001 Android Development] cologne83:
On my phone they stay dark...

Sent with Tapatalk from:

Samsung SGS+ i9001

ROM: BioHazard v3

Kernel: CastagnaIT 6.3exUV
[Galaxy S Plus I9001 Android Development] DualJoe:
Idle for at least 6 secs, just do nothing. Then touch the screen.

The 6s stock counter seems still running in the background. If the 6s are passed it resets CastgnaIT's values.
[Galaxy S Plus I9001 Android Development] Numma1984:
To my mind the battery life is less than before. Can anyone confirm this? I use Lionheart with default 6.3 Kernel

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] davidrome:
Last night deepsleep doesnt work. I have restarted and works again. Anybody has this peobelm? My deepssleep works all day but at the night not
[Galaxy S Plus I9001 Android Development] cezaralboiu:
Why does the undervolt version is not working for me? I had v6.0 and v6.2 undervolt they were working perfect. Bit on v6.3, my phone stucks on the s plus logo. I made a full wipe and i have the same problem..
[Galaxy S Plus I9001 Android Development] smeroni68:
Strange. Did you try the Standard UV instead of Extreme?
[Galaxy S Plus I9001 Android Development] cezaralboiu:
Yes. I'm using it now. And it.doesn't stuck on the s plus.logo anymore. But i don't understand why the undervolt is not working anymore..btw: id it a big difference betwen the standardUV and the extreme?
[Galaxy S Plus I9001 Android Development] bruzzler2809:
I guess you are charging your phone at night. While charging there is no deepsleep.
[Galaxy S Plus I9001 Android Development] spaeter:
same problem for me (phone was in aereo mode and not charging)

checking the applications that have used the battery i've noted that tapatalk was active in background (??)

after closing tapatalk deepsleep works good.
[Galaxy S Plus I9001 Android Development] davidrome:
My phone wasnt charging, OS android is the application that used battery, any solution?
[Galaxy S Plus I9001 Android Development] smeroni68:
It is really strange, because the v6.3 and v6.2 extreme has voltages higher than v6.0 (see the yellow link in my signature)... I do not belive that more voltage is worst than less!! May be something not correct during update... try to reflash the extreme with all the wipe cache and dalvik and than a new restart in recovery with fix permissions... let me know...

EDIT: before that reflash, delete the 91lmk... custom file in init.d (if present)...
[Galaxy S Plus I9001 Android Development] Magic Stick:
Funny fact, i flashed this kernel so i can use SmartassV2 and don' t have problems with deepsleep, but with this govenor my phone was waking up really often. Then i tired Scary, as someone mentioned here it helped him to get the deepsleep. Same situation - waken all the time.

Then i though just to use Ondemand, and it works like a charm. Phone is woken only when screen is turned on :)

SmartassV2

Scary

System Android process keeping phone active for 4 hours when using scary govenor
[Galaxy S Plus I9001 Android Development] DreamerTKM:
I having this problem too but I couldn't figure out which app or something else causes this problem...day time deep sleep OK but night time phone stay awake for quite long time without charging.

Magic Stick : I will try your suggestion tonight...now is my night time :)
[Galaxy S Plus I9001 Android Development] Karls0:
I use smartassV2 and battery life is better on wi-fi. Few versions ago it was about 2min/1% and now is 4min/1%. It's not so good result but better then before. If it will be 6-8min/% will be so good as on GB, or maybe even better.

But in one thing you have right - on GPS navigation battery life was better before.
[Galaxy S Plus I9001 Android Development] cistamlaka:
for me castagnal kernel doesnt work at all,when I install it(tried 5 times just kernel and once with biohazard rom that has it) but my phone just passes the samsung logo and then nothing,just a black screen
[Galaxy S Plus I9001 Android Development] Karls0:
I found interesting thing about our devaice:

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

http://www.phonearena.com/news/All-...vices-supporting-both-GPS-and-GLONASS_id24830

Our phones have Glonass support. It's russian version of GPS. If it will be possible to implement in kernel it may extramaly increass accuracy of navigation! But I think rom have to support it to. How do you think about it? It's extra 24 satellites ;)
[Galaxy S Plus I9001 Android Development] dr.wtf:
so only samsung device i found with glonass is galaxy note. also the droid dazr has it. i dont think that its easy to port...

edit: and samsung omnia w
[Galaxy S Plus I9001 Android Development] Sweetez:
I have problem with deepsleep as well, my phone was wake up all night.
[Galaxy S Plus I9001 Android Development] alaanto:
You should Close whatsapp or anoter app :)

tapatalkeggiando allegramente
[Galaxy S Plus I9001 Android Development] -ION-:
Were you charging your phone? Deepsleep doesn't work while charging
[Galaxy S Plus I9001 Android Development] 30adi:
check tapatalk app too, for those who use it. this app keeps phone awake
[Galaxy S Plus I9001 Android Development] peibol:
Me too, my phone is always awake when I put bluetooth ON. Also without charging...
[Galaxy S Plus I9001 Android Development] Sweetez:
I don't have any social apps like LINE, Whatsapp , facebook for android or whatever install in my phone. and no i don't charge my phone last night.

As I had read, lot of people have problem with deepsleep while night time. I believe the problem is from the kernel it self.
[Galaxy S Plus I9001 Android Development] Karls0:
I didn't say it's easy. But it's really worth time spend to do it. Now we have 27 satellites in gps system and we can't use extra 24 glonass satellites so we use half power of our device when we use navigation. We have hardware support but no software.

Some Sony phones from 2011 with our chipset have glonass support so is good start point.

Many people have problem with slow fix and disconnecting of gps. It's only solution which can work.

PS. Today my phone after reboot stuck on boot logo. I had to back to v6.2.

Edit: I flashed 6.3 again and it works, strange.
[Galaxy S Plus I9001 Android Development] 30adi:
Had some problems too with this kernel, at first charge. Since then I use stock kernel from paranoidandroid rom. Was the v6.3 extreme kernel
[Galaxy S Plus I9001 Android Development] alaanto:
You have to recalibre the battery stats, use an app or you have to do some charge :)

tapatalkeggiando allegramente
[Galaxy S Plus I9001 Android Development] dr.wtf:
no he doesn't.

https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT

stop wasting time recalibrating your battery. its nonsense.
[Galaxy S Plus I9001 Android Development] alaanto:
Yes i know :), ideed, I recommended the charging cycles ;)

tapatalkeggiando allegramente
[Galaxy S Plus I9001 Android Development] davidrome:
ivendor's new release RC3!!:laugh:
[Galaxy S Plus I9001 Android Development] :
Did ivendor make modifications on his kernel in rc3?

Sent from a phone surely better than iphone...
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
v6.3 need to be updated with rc3 ? thank's and sorry for a little stupid question:D
[Galaxy S Plus I9001 Android Development] crisk73:
IMO it's always better to stay with stock ivendors kernel until castagna releases the new oc/uv version based on it.