yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Original Android Development] radicspeter:
I dont give up too. ;)

Now i experience that when a push test button in bln app my button light automatic turn off after 4 second (by the system settings) and after that immeduately swirch off and then switch on for again 4 second!!! But i couldnt touch my screen.

It do when i set the button light up for less then 5 second. If i set 5 or more second, the bln test doesnt "switch on" my light as i write in first.

And yeah when i switch off my screen i still not working...

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Original Android Development] junkyde:
I only tested it on cm-10.2-20131102-SNAPSHOT-M1-serranoltexx.zip and for me it works. I really don't know why it's not working for you. If you haven't done it already, I would recommend you to make a full wipe, then install cm-10.2-20131102-SNAPSHOT-M1-serranoltexx.zip and then install only bln app (latest from play store) and nothing else. Then flash my kernel and test if bln is working.
[Galaxy S 4 Mini Original Android Development] shayne77:
Getting constant mp-decision errors?

Edit: Also bln works perfectly for me.

Edit: my phone has rebooted twice now since using this kernel.
[Galaxy S 4 Mini Original Android Development] jemeljsh:
junkyde, the only bug I have experienced twice with this kernel is that in some random circumstances Back and Menu buttons were not responding in certain apps. Once it was in Dialer (I could not exit with Back button nor could I use Menu button) and once in WhatsApp (same as with Dialer) <- in both situations Back and Menu buttons were half-lit and not responding. Solving this is easy - simply hit power button, then power button again and issue resolves itself -> both Back and Menu buttons are fully-lit and working.
[Galaxy S 4 Mini Original Android Development] Blulmn:
That's actually happened to me before once or twice, even before i started using the Vikinger kernel so chances are it's got to do with the ROM.
[Galaxy S 4 Mini Original Android Development] jemeljsh:
Probably. I only noticed it just recently after installing this kernel ;).
[Galaxy S 4 Mini Original Android Development] Ezylife:
Same here
[Galaxy S 4 Mini Original Android Development] arco68:
Look in system/vendor
[Galaxy S 4 Mini Original Android Development] junkyde:
you are right! The lights.msm8960.so is located at system/vendor/lib/hw

However if I replace it with my modified one, the BLN App tells me, that my liblights are not bln ready.

It seems like the app is only looking for modified lights.msm8960.so file in system/lib/hw :(

But putting the file there results in, the app telling me everything is fine, but bln isn't working...
[Galaxy S 4 Mini Original Android Development] arco68:
You can delete the one in vendor/lib/hw and put yours in system/lib/hw
[Galaxy S 4 Mini Original Android Development] junkyde:
Didn't help. Still the same issue...
[Galaxy S 4 Mini Original Android Development] BushTechy:
[MENTION=4111741]junkyde[/MENTION]

Working on i9190, although with one of the tests, lights went dim and then buttons didnt work anymore ( menu and back, after restart fine again ).

Let you know if it happens again, but app test shows blinking working.

Thanx allot man, this is f ing awesome
[Galaxy S 4 Mini Original Android Development] junkyde:
Just noticed the following bug: If I open the bln app and deactivate bln and activate it again, the bln test inside of the app doesn't work. I had to close the bln app (while bln is still marked as active in the app) with the back button of my phone and start it again to make the test work.

Edit: Can somebody confirm that?
[Galaxy S 4 Mini Original Android Development] Keon91:
I've tried this kernel with arco68 cm 10.1 latest nightly...

It doesn't work, like expected....

Could you make a 10.1 kernel, because 10.2 is not yet stable?
[Galaxy S 4 Mini Original Android Development] junkyde:
Not as long as the Snapshot of CM 10.2 is stable for me. If I will experience unstability with it and decide to move to stable 10.1, then I will consider it. But sorry, I have to much other things to do...

[MENTION=3044346]arco68[/MENTION]

On the issue with the stock kernel:

So I added BLN files like I did on the AOSP Kernel version. And used the same liblights for stock, because I couldn't find the stock version of the "lights.c" file. So anyway, here is the modified lights.c file which becomes after compiling the lights.msm8960.so file, which we put in our /system/lib/hw directory: http://pastebin.com/pQVmSyPx

I read the Logcat in Eclipse while I tested BLN and searched for the tag "lights" which is defined in the lights.c file. And found the error!

It says: "write_int failed to open -1" So the function "static int write_int(char const* path, int value)" is not working properly. But I have no idea why. The path to the button backlight file (/sys/class/leds/button-backlight/brightness) seems correct, because if I change the value in that file with root explorer, it effects the button backlight.

Maybe someone has any ideas or could tell me how I can debug this...

Edit: Maybe it also has to do something with the _defconfig file. Because this is also different on stock kernel. I got mine from pulling it with adb from my device while it had your modified stock kernel on it.

I don't know what changes you made from stock kernel to cm kernel. So I also don't know if its kernel or rom related.
[Galaxy S 4 Mini Original Android Development] impactor:
Correct me if I'm wrong, but how can the LED drain more battery when blinking then when always ON? It is a LED so always takes the same amount of power, which means that if a blinking led is on for 33% of time, then it consumes 33% of energy that it consumes when it's on all the time.
[Galaxy S 4 Mini Original Android Development] Darktitor:
To make it blink you need to wake up the device or maybe more CPU usage...

Correct me if I'm wrong

Envoyé de mon GT-I9195 en utilisant Tapatalk
[Galaxy S 4 Mini Original Android Development] shayne77:
I don't notice any greater battery loss by using blinking bln.
[Galaxy S 4 Mini Original Android Development] junkyde:
I don't know why, but neldar writes it in his app description in the play store. since he invented this mod, I trust his opinion on this^^
[Galaxy S 4 Mini Original Android Development] impactor:
So I installed the kernel, and pro version of the app. In testing mode, it works, but when I actually get an SMS, it doesn't.

I have stock MMS.apk uninstalled and I have only GoSMS installed. In BLN for Android-OS apps, I only have "call notification".
[Galaxy S 4 Mini Original Android Development] junkyde:
I never tested it with sms and I am not familiar with GoSMS, but I think it could have something to do with the screen lightning up, when receiving a sms. Can you configure that inside the GoSMS App? Maybe turn off popup notification or something like that...

The problem is, when you receiving a notification and the screen is lighten up afterwards, bln thinks you read/noticed the notification and the touchkeys woun't light up. That's why there is this extra setting inside the app for missed calls. Because a call lights up the screen. unfortunately there is no such setting for sms.

edit: in GOsms settings, make sure you uncheck "screen wake"

edit2: just google "bln sms". There are some solutions for this. Tell us which works ;)
[Galaxy S 4 Mini Original Android Development] jonasb_dk:
Works like a charm on Carbon JB (v20131105-2029) :)
[Galaxy S 4 Mini Original Android Development] tomogo:
Great work, thaks,

Is it possible to add Over-clocking support? It should be nice :)
[Galaxy S 4 Mini Original Android Development] junkyde:
don't think so, because I don't need overclocking. I think 1,7ghz is enough. Maybe while playing games or something like that, OC would be an advantage, but since I don't play games on my phone, I don't need it. Besides that I think overclocking would cause stability issues...
[Galaxy S 4 Mini Original Android Development] tomogo:
You are right, it was only loud thinkink :) But for Android is nothing enough ;)
[Galaxy S 4 Mini Original Android Development] impactor:
I need it to turn on the screen, so that's not a solution for me. I tried playing around with GoSMS settings and during testing it sometimes works, sometimes doesn't, but it never does in real life so I will have to stick to periodic sound notification.

I think the problem needs to be solved on the level of BLN app just as it handles call notification after the screen has been on.
[Galaxy S 4 Mini Original Android Development] junkyde:
new version is up. added/merged some changes from the cm source.
[Galaxy S 4 Mini Original Android Development] Blulmn:
Yeah, mine still doesn't work - tried every nightly and official. Tried killing the app, reinstalling it.. etc. Still nothing.

Amy more new suggestions maybe?
[Galaxy S 4 Mini Original Android Development] BushTechy:
Blinking is irregular with the latest update. I put mine on 500 msec off 4 sec. With app test it stayed on for 2 sec then barely flashed, then on for 4 then half second , very irregular pattern. I reverted to first version, all fine again except for few stability issues. 3g phone gt i9190
[Galaxy S 4 Mini Original Android Development] junkyde:
just tested your blinking settings and it worked fine for me.
[Galaxy S 4 Mini Original Android Development] BushTechy:
Pity, because its definitely irregular on my device.

I would have liked the updated kernel, since my devices restarts were minimal with the latest cm, and has increased allot since i flashed your first kernel, was hoping the update would sort that out...

now ill have to wait for the next one. Still im super greatfull to have bln working.

Thanx again
[Galaxy S 4 Mini Original Android Development] xdamala:
Any progress on bln for stock?

I am on stock and could help with testing.

As I understood the problem is with the lights.msm8960.so being in a different location. And the theory is that BLN App expects it to be in /system/lib/hw.

Maybe one could try to put the modified version in /system/lib/hw and make a hard link to system/vendor/lib/hw/lights.msm8960.so?

That way it would be in both locations.
[Galaxy S 4 Mini Original Android Development] junkyde:
[MENTION=5504763]BushTechy[/MENTION]

why use blinking anyways? :D It drains more battery and static lightning is better to notice.

[MENTION=1339729]xdamala[/MENTION]

At first I thought, that the location is the problem, but I don't think so anymore, because it works the same way on the s3 mini.

So when I put the lights.msm8960.so in /system/lib/hw it's fine for the bln app, but somehow the touchkeys won't light up and after reading the logcat in eclipse I found "write_int failed to open -1" So the function "static int write_int(char const* path, int value)" is not working properly. But I have no idea why. Here you can take a look at the lights.c file where this function is (https://github.com/junkyde/bln_liblights_s4mini/blob/master/lights.c).

lights.c is the file that becomes after compiling the lights.msm8960.so

I used the same for stock as on CM and even compared it to neldars file for the s3 mini, which is looking pretty much the same.
[Galaxy S 4 Mini Original Android Development] xdamala:
Well it seems it is not able to open the file...

Before you released your mod, I fiddled a bit with echo'ing values into the files in /sys that I could see was done in an other bln mod. I remember that some of the writes returned i/o error (or something like that). Basically these files where not meant to be written to(?).

It would help if write_int would print the path in case of error.

Can you set up a flash package for me for stock? Then I will experiment a bit.

What do I need to compile lights.c? I have a cross compile environment set up somewhere for arm. Is that good enough?

I would need quite specific instructions here. I will like to help, but I do not have time to get acquainted with a lot of tools. It seems simple enough though...
[Galaxy S 4 Mini Original Android Development] junkyde:
yeah, that's why there is this in the function "ALOGE("write_int failed to open %s\n", path);" but sadly it's not printing the path...

Here you go (in case you have a gt-i9195): http://d-h.st/Tbh

I compiled it using proxusers tutorial on how to build carbon rom (http://xdaforums.com/showthread.php?t=2492806)

Just replaced the lights.c in carbon/device/samsung/serrano-common/liblights with my modified one and after rom build was finished I picked the lights.msm8960.so file from carbon/out/target/product/serrano/system/lib/hw or something like that, don't remember the whole path anymore.
[Galaxy S 4 Mini Original Android Development] leripe:
Try this: flash updated rom-boot up-reboot to cwm-flash older bln kernel-boot up-reboot to cwm-flash newer kernel.
[Galaxy S 4 Mini Original Android Development] BushTechy:
Still got this one long "on" every couple of blinks, but its bareable. Gonna test the stabilty, if the restarts are minimal ill keep the kernel
[Galaxy S 4 Mini Original Android Development] leripe:
Maybe it's model related? :think:
[Galaxy S 4 Mini Original Android Development] junkyde:
new version is up. added/merged some changes from the cm source.

In case you are using older CM 10.2 release like I was (Snapshot), you have to update to latest nightly or wifi will not work with new kernel version.
[Galaxy S 4 Mini Original Android Development] xperiaactive:
BLN

does the new version works flawlessly?

Call and sms are shown with blinking also when screen is off and locked?

Someone try to use BLN and NOLED together?

Thanks guys!
[Galaxy S 4 Mini Original Android Development] junkyde:
in general noled wakes the display and bln triggers only if display is off.
[Galaxy S 4 Mini Original Android Development] BushTechy:
Maybe its wise ass related, who knows
[Galaxy S 4 Mini Original Android Development] leripe:
Well if you have tried full wipe without restoring any apps/data or so, then there's not much left? Haven't read that people with x95 reporting this problem? Also it could just be your phone in general if nobody with the same model has reported this?
[Galaxy S 4 Mini Original Android Development] xperiaactive:
No good

In practise if you want BLN you cant have screensaver and viceversa?

No good.

Are you sure cause you tried this??

However i found that on samsung phones at least it is possible to activate ultra touch sensitivity, like glove mode. I started a thread but i still looking for some DEV...
[Galaxy S 4 Mini Original Android Development] Kopaxi:
My wifi doesnt switch on with with the last kernel. Anybody has the same problem?

---------- Post added at 08:17 PM ---------- Previous post was at 07:57 PM ----------

Back to the previous version, and it works fine...
[Galaxy S 4 Mini Original Android Development] leripe:
You need latest cm too with the latest kernel.
[Galaxy S 4 Mini Original Android Development] Kopaxi:
I'm on latest Carbon, maybe it not depend on latest cm :(
[Galaxy S 4 Mini Original Android Development] junkyde:
Carbon isn't up to date with the cm versions. Just use an older kernel version ;)
[Galaxy S 4 Mini Original Android Development] radicspeter:
And now it's up to date!! ;)

http://d-h.st/JXD

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Original Android Development] Kopaxi:
Yesss! :D
[Galaxy S 4 Mini Original Android Development] x10isrooted:
do you know that there is a bug in bln? when you get a notification and screen is off and then you turn the screen on then the lights keep shining until you turn off the screen again, usually they should turn off after 3 sec when the display is on. can this be fixed??:confused:

---------- Post added at 10:21 PM ---------- Previous post was at 10:18 PM ----------

i remember in the old i9000 times that i didnt need any bln app from market as this was all directly implemented in the kernel. cm led...
[Galaxy S 4 Mini Original Android Development] junkyde:
yeah I know, but don't know if it's a bug from porting bln to s4 mini or general bln bug. either way, I also don't know how to fix this.
[Galaxy S 4 Mini Original Android Development] Darktitor:
Could you add new governors like InterractiveX or smartassV2 in the next release ?
[Galaxy S 4 Mini Original Android Development] junkyde:
hmm, maybe when I decide to use CyanogenMod again.
[Galaxy S 4 Mini Original Android Development] radicspeter:
Do you use Stock deodex rom? :)

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Original Android Development] junkyde:
look at my signature :laugh:
[Galaxy S 4 Mini Original Android Development] jemeljsh:
junkyde, are you planning to update vikinger-JB4.3-AOSP- kernel now that stable CM 10.2 is released or latest version "Vikinger-JB4.3-AOSP-eur_lte-30.11.2013.zip" shall work perfect with it ?

---------- Post added at 07:58 PM ---------- Previous post was at 07:54 PM ----------

Small donation on my behalf. Thanks for your efforts.
[Galaxy S 4 Mini Original Android Development] junkyde:
the last changes made on cm kernel are from 29.11

my version (30.11) includes them.
[Galaxy S 4 Mini Original Android Development] radicspeter:
Waiting for KK version too. ;)

Thx so much!

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Original Android Development] BushTechy:
Kk kernel please :) :) :)
[Galaxy S 4 Mini Original Android Development] afterglow:
thanks man,i was REALLY waiting for these. BLN is so damn useful!!!!

had it since my first galaxy S GT-I9000 and i loved it.
[Galaxy S 4 Mini Original Android Development] junkyde:
CyanogenMod 11.0 versions online!
[Galaxy S 4 Mini Original Android Development] radicspeter:
First! ;) Thanks you so much!!! You made my day bro!

Edit:

Working perfect on cm 11 (4.4.1). You are really fast dev.
[Galaxy S 4 Mini Original Android Development] leripe:
Thanks for the fast support! Have few beers on me!
[Galaxy S 4 Mini Original Android Development] jemeljsh:
Thanks man. Much appreciated.

Accept a donation on my behalf.
[Galaxy S 4 Mini Original Android Development] ViolentR:
Thank you very much for this! (CM11).

Just had a quick question, for the cm11 kernel would it basically be the latest kernel used in the cm11 nightly rom with your BLN support added into it? (Just want to clarify)

Thanks for your time.
[Galaxy S 4 Mini Original Android Development] junkyde:
yes
[Galaxy S 4 Mini Original Android Development] Blulmn:
Thanks for this.

My BLN is finally working now, when it didn't work with 10.2.
[Galaxy S 4 Mini Original Android Development] mav744:
it seems that something is wrong with the SELinux in your Kernel.

with the Cyanogenmod Kernel the state is moderat, with your Kernel it is strikt, see Screenshots

Gesendet von meinem GT-I9195 mit Tapatalk
[Galaxy S 4 Mini Original Android Development] leripe:
For me both cm and vikinger show it as enforcing.
[Galaxy S 4 Mini Original Android Development] mav744:
for me unfortunally not

i have tested it several times, with the same result. anyone has the same?
[Galaxy S 4 Mini Original Android Development] tomogo:
Hi,

1. I'm not able to mount microSDXC 64GB with your kernel it shows empty directory with 0GB.

2. Still not running screen mirroring (same in official CM11, CM10.2 in CM10.1 it is working fine)
[Galaxy S 4 Mini Original Android Development] radicspeter:
Same here too.
[Galaxy S 4 Mini Original Android Development] junkyde:
new version online.
[Galaxy S 4 Mini Original Android Development] radicspeter:
Can someone upload it other place? I'm unable to download from uploading... Grrr
[Galaxy S 4 Mini Original Android Development] junkyde:
there is a mirror in first post oO
[Galaxy S 4 Mini Original Android Development] tomogo:
Still not working:

1. sdcard1 Adata SDXC 64GB extfat.

2. screen mirroring
[Galaxy S 4 Mini Original Android Development] junkyde:
yeah. never told I fixed that :D
[Galaxy S 4 Mini Original Android Development] radicspeter:
Sorry :)) Now i see thx!
[Galaxy S 4 Mini Original Android Development] tomogo:
I hope that point no. 1 won't be problem. ;)

But second (about screen mirroring on Samsung cast dongle) is a long storry, last working kernel was in CM10.1 (Of course official stock kernel works fine too)
[Galaxy S 4 Mini Original Android Development] junkyde:
Does it work on CM 11.0 (stock) kernel?
[Galaxy S 4 Mini Original Android Development] tomogo:
Yes.
[Galaxy S 4 Mini Original Android Development] s.goten:
little question:

the latest vikinger kernel for cm10.2 is dated 30-11-2013. the cm10.2 stable is dated 2-12-2013. does it means that the latest vikinger kernel is compiled with sources earlier than kernel included in stable cm10.2? just out of curiosity.....:)
[Galaxy S 4 Mini Original Android Development] junkyde:
or look for yourself :D https://github.com/CyanogenMod/android_kernel_samsung_msm8930-common/commits/cm-10.2
[Galaxy S 4 Mini Original Android Development] s.goten:
sorry, i missed that post :D

last curiosity: this kernel add only BLN feature to stock cm kernel or also some other mods?

thanks
[Galaxy S 4 Mini Original Android Development] leripe:
There's another thread for stock bln and I'd guess only bln.
[Galaxy S 4 Mini Original Android Development] junkyde:
only what is written in the first post. therefor just bln.
[Galaxy S 4 Mini Original Android Development] leripe:
Noticed that the blinking sometimes bugs when blinking ON, it's like the blink isn't full bright. Doesn't really matter though. (cm11, latest kernel)
[Galaxy S 4 Mini Original Android Development] junkyde:
New CM 11.0 and CM 10.2 versions are online.
[Galaxy S 4 Mini Original Android Development] dwane3:
On my cm 10.2 M1 http://download.cyanogenmod.org/?device=serrano3gxx&type=snapshot do not turn on wifi.
[Galaxy S 4 Mini Original Android Development] junkyde:
then you have to use an older release which I made in the time the snapshot came online.
[Galaxy S 4 Mini Original Android Development] dwane3:
"older release"He is old,but very stable for me..)Please update the kernel for Snapshot.Thanks.
[Galaxy S 4 Mini Original Android Development] junkyde:
you don't really get it right? I already updated the "older release" with the changes made by cm-team! So your choices are:

1. new cm 10.2 version + new vikinger kernel

2. old (your current cm version) + old vikinger kernel
[Galaxy S 4 Mini Original Android Development] mav744:
There is something wrong with you newest CM11 Kernel and the newest Nightly 15.12., junkyde.

With the original cm11 kernel, all is fine. when i install the bln kernel from 15.12. on newest nightly, the Battery Stats are gone, in Quick Settings the Battery is not showing up and the percent in status bar are around 4000 when the Battery is near 100% charged. The problem with SELinux ist still persist on my phone, i must change it per an app.

Thanks in Advance
[Galaxy S 4 Mini Original Android Development] jemeljsh:
Same here. Everything works but battery is always full [MENTION=1627081]Some[/MENTION] crazy 3k state :D
[Galaxy S 4 Mini Original Android Development] SandeepEmekar:
@ junkyde:

Please can you make a i9192 kernel with wakelock bug fix? :crying:

Just able to reset my knox status by flashing Brazil Region firmware. :D

http://xdaforums.com/newreply.php?do=postreply&t=2486346
[Galaxy S 4 Mini Original Android Development] junkyde:
As far as I know, there isn't a cm rom available for the i9192, so a aosp kernel wouldn't make any sense.

edit: new versions are online. tell me if bugs are fixed.
[Galaxy S 4 Mini Original Android Development] jemeljsh:
You're da man :good: battery bug is gone with the wind :good:

http://www.youtube.com/watch?v=almbllyL7xk
[Galaxy S 4 Mini Original Android Development] dwane3:
Junkyde,in the 10.2 upload host new version from 16.12?Whats new?Thanks.
[Galaxy S 4 Mini Original Android Development] junkyde:
see changelog in second post or/and commit messages at github (link is in first post, https://github.com/junkyde/vikinger/commits/cm-10.2)
[Galaxy S 4 Mini Original Android Development] luisbraz:
Can you explain the Knox reset? The link don't work.
[Galaxy S 4 Mini Original Android Development] jemeljsh:
With latest cm-11-20131218-NIGHTLY-serranoltexx.zip + latest Vikinger kernel the battery stats are shown wrong again. Shows that is 1% left the whole time..