[n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002b3

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby guaneet » 15 Nov 2014, 11:16

yank555 wrote:
guaneet wrote:love your work

just wanted to ask if you ever ended up putting fast charge for wireless charging into the kernel?


Well it's in (not available in faux clock, though), but never got any real feedback if it was working ... and I can't test myself, don't have a wireless backcover for the Note 3.

If you have the necessary hardware, you could try and if it doesn't work, maybe we can debug this together ?

JP.



Sure I'm up for it.
guaneet
 
Posts: 9
Joined: 11 May 2014, 22:01
Has thanked: 13 times
Been thanked: 4 times

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby yank555 » 15 Nov 2014, 11:32

guaneet wrote:
yank555 wrote:
guaneet wrote:love your work

just wanted to ask if you ever ended up putting fast charge for wireless charging into the kernel?


Well it's in (not available in faux clock, though), but never got any real feedback if it was working ... and I can't test myself, don't have a wireless backcover for the Note 3.

If you have the necessary hardware, you could try and if it doesn't work, maybe we can debug this together ?

JP.



Sure I'm up for it.


You can set the charge rate in : /sys/kernel/fast_charge/wireless_charge_rate

If you set failsafe (in the same folder) to 0 you can set any value in wireless_charge_rate, you could try setting it very low, like 100 (mA/h) to validate it's doing anything, going lower won't harm in any way.

Let me know if that works or has no impact.

Thanx, JP.

Sent from my Nexus 5 running stock Lollipop on Yank555.lu v1.1-beta1 kernel.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby devilsdouble » 16 Nov 2014, 22:06

yank555 wrote:
devilsdouble wrote:Oh mate. Didn't know that. Kindly make an init.d script for this idiot then. I just need to have the LED at maximum brightness always, regardless of ambient lighting. Also I would love to set the interval too, could you guide me how to make an init.d script, how to change values to what according to my need? I would love to know, unless it's really difficult.


Not complicated a all ;)

Here you go :

Code: Select all
#!/system/bin/sh
# - Enable notification LED with maximum intensity
echo 255 > /sys/class/sec/led/led_intensity

# - Enable notification LED on at normal speed
echo 1 > /sys/class/sec/led/led_speed_on

# - Enable notification LED off at normal speed
echo 1 > /sys/class/sec/led/led_speed_off


And that's it already.

Values can be changed according to this :

led_intensity : 0 - 255 (0 = off, 255 = max. brightness)
led_speed_on : 1 - 5 (1 = stock, 2-5 as "on time" shorter)
led_speed_off : 1 - 5 (0 = never off, 1 = stock, 2-5 as "off time" shorter)

So say you want it to blink twice as fast as it does normally, set led_speed_on/off to 2. Set it to 3 for 3 times as fast, etc.

You need to place this file in /system/etc/init.d, call it like "99_LED" and need to give it proper rights (rw-rw-rw-).

JP.

Sorry for late reply, thanks a lot for this.

But I don't really get the speed on/off part, LED On, does that mean for how long the LED will stay on? Say I set something like 3, that means the LED will stay on for 3 seconds, and same applies for LED Off, I set LED Off at 3, meaning the LED will stay off for 3 seconds? So say I set LED On/Off both at 3/3, meaning the LED will stay on for 3 seconds, then will go out for 3 seconds and so on?

And I just need to enter the figure/value next to the empty field of the specified lines? I mean that line you mentioned, say led_intensity, I just need to add 255 next to it right? Is that with a space or without? I mean led_intensity255, or led_intensity 255?

I know I sound rubbish, but I don't wanna mess it up :p
devilsdouble
 
Posts: 25
Joined: 13 Nov 2014, 10:10
Has thanked: 14 times
Been thanked: 1 time

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby yank555 » 16 Nov 2014, 22:20

devilsdouble wrote:
yank555 wrote:
devilsdouble wrote:Oh mate. Didn't know that. Kindly make an init.d script for this idiot then. I just need to have the LED at maximum brightness always, regardless of ambient lighting. Also I would love to set the interval too, could you guide me how to make an init.d script, how to change values to what according to my need? I would love to know, unless it's really difficult.


Not complicated a all ;)

Here you go :

Code: Select all
#!/system/bin/sh
# - Enable notification LED with maximum intensity
echo 255 > /sys/class/sec/led/led_intensity

# - Enable notification LED on at normal speed
echo 1 > /sys/class/sec/led/led_speed_on

# - Enable notification LED off at normal speed
echo 1 > /sys/class/sec/led/led_speed_off


And that's it already.

Values can be changed according to this :

led_intensity : 0 - 255 (0 = off, 255 = max. brightness)
led_speed_on : 1 - 5 (1 = stock, 2-5 as "on time" shorter)
led_speed_off : 1 - 5 (0 = never off, 1 = stock, 2-5 as "off time" shorter)

So say you want it to blink twice as fast as it does normally, set led_speed_on/off to 2. Set it to 3 for 3 times as fast, etc.

You need to place this file in /system/etc/init.d, call it like "99_LED" and need to give it proper rights (rw-rw-rw-).

JP.

Sorry for late reply, thanks a lot for this.

But I don't really get the speed on/off part, LED On, does that mean for how long the LED will stay on? Say I set something like 3, that means the LED will stay on for 3 seconds, and same applies for LED Off, I set LED Off at 3, meaning the LED will stay off for 3 seconds? So say I set LED On/Off both at 3/3, meaning the LED will stay on for 3 seconds, then will go out for 3 seconds and so on?

And I just need to enter the figure/value next to the empty field of the specified lines? I mean that line you mentioned, say led_intensity, I just need to add 255 next to it right? Is that with a space or without? I mean led_intensity255, or led_intensity 255?

I know I sound rubbish, but I don't wanna mess it up :p


Not quite, how long a led is to stay on and off is requested by the app setting the led.

Now suppose the app requests 3 seconds on, 6 seconds off.

If you set on speed to 3 and off to 2, the led will stay on 3/3=1 secs, off 6/2=3 secs.

So what you set is how much faster the led is to blink.

You need to replace the values after 'echo'.

JP.

Sent from my Nexus 5 running stock Lollipop on Yank555.lu v1.1-beta3 kernel.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby devilsdouble » 17 Nov 2014, 02:10

yank555 wrote:
devilsdouble wrote:
yank555 wrote:Not quite, how long a led is to stay on and off is requested by the app setting the led.

Now suppose the app requests 3 seconds on, 6 seconds off.

If you set on speed to 3 and off to 2, the led will stay on 3/3=1 secs, off 6/2=3 secs.

So what you set is how much faster the led is to blink.

You need to replace the values after 'echo'.

JP.

Sent from my Nexus 5 running stock Lollipop on Yank555.lu v1.1-beta3 kernel.

Oh okay, I get it, but I had no idea different apps could have different settings for the LED. I guess I will just play with it, shouldn't be that hard.

Anyway, thanks for your help mate.

PS: Right now the GPS issue is driving me all mad, wish it gets solved quick, if it's solvable that is!
devilsdouble
 
Posts: 25
Joined: 13 Nov 2014, 10:10
Has thanked: 14 times
Been thanked: 1 time

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby yank555 » 17 Nov 2014, 07:33

devilsdouble wrote:PS: Right now the GPS issue is driving me all mad, wish it gets solved quick, if it's solvable that is!


Well on my end, not much I can do, the kernel is 100% stock in that regard and working fine here :(

Maybe a ROM issue ?

JP.

Sent from my Nexus 5 running stock Lollipop on Yank555.lu v1.1-beta3 kernel.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby devilsdouble » 18 Nov 2014, 08:17

yank555 wrote:
devilsdouble wrote:PS: Right now the GPS issue is driving me all mad, wish it gets solved quick, if it's solvable that is!


Well on my end, not much I can do, the kernel is 100% stock in that regard and working fine here :(

Maybe a ROM issue ?

JP.

Sent from my Nexus 5 running stock Lollipop on Yank555.lu v1.1-beta3 kernel.

Right, it's some kind of problem happening after a reboot only it seems. Haven't rebooted my phone in last 24 hours and the locks are fine, in fact faster than previous phones, lol, I guess that's one type of fix, not rebooting the phone. I don't reboot anyway, but sometimes to flash some zip packages I am forced to.

Anyway, the problem which is bugging me now is Screen Mirroring. While I use this kernel the Screen Mirroring feature doesn't work, the phone won't simply connect to my TV! It's not new for me though, same happened with my S4, however as that was Exynos I could not find any fix. But the fixes I found for Note 3 are not working either. I have installed this apk from this topic, http://forum.xda-developers.com/hardwar ... e-t2812193, I have installed the Screen Mirroring patch from Play, the patch option in that app is not even activated, says no patch needed!

I am on Stock 4.4.2 ROM, NJ2, with this kernel obviously, I won't change kernel to stock to have Screen Mirroring working, needless to say that, so is there any way to have it working? I saw that some users said something regarding some lib files on JB ROMs, which fixed the issue, but for KitKat that's not applicable. I simply have no idea why Samsung has taken an oath to piss off everybody.

PS: This could be a ROM issue, as I earlier was using Jamal's S5 based ROM (or something like that) and Screen Mirroring was working in that ROM, with this kernel! But I am kinda obsessed with stock ROMs :D
devilsdouble
 
Posts: 25
Joined: 13 Nov 2014, 10:10
Has thanked: 14 times
Been thanked: 1 time

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby jackyaway » 18 Nov 2014, 12:01

To make screen mirroring works on 4.4.2 N9005 look here, http://forum.xda-developers.com/showthr ... p=55141822 it works on my GNG1 rom with faux kernel.
jackyaway
 
Posts: 27
Joined: 24 Dec 2013, 14:26
Has thanked: 22 times
Been thanked: 19 times

Re: [n9005][2014/NOV/08][TWKK] faux123/Yank555.lu kernel 002

Postby devilsdouble » 18 Nov 2014, 16:39

jackyaway wrote:To make screen mirroring works on 4.4.2 N9005 look here, http://forum.xda-developers.com/showthr ... p=55141822 it works on my GNG1 rom with faux kernel.

Worked great. Thanks a lot for this.
devilsdouble
 
Posts: 25
Joined: 13 Nov 2014, 10:10
Has thanked: 14 times
Been thanked: 1 time

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

Postby yank555 » 01 Dec 2014, 20:39

Beta Kernel Update

OK, so here's a tiny changelog for a more than worthy addition, welcome faux's latest intellimm governor. I really like it ... like ... a lot ! It really makes a very ballanced use of the CPU freqs, keep an eye on them using cpu spy or similar apps. I guess if you're on the highend gaming trip, this may not be for you, but you can try, the browsing users like myself will very likely be VERY pleased with it !

Changelog 002b3 (01/12/2014)

  • added intellimm governor (faux123)

    Make a Nandroid before flashing this...

Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

PreviousNext

Return to Kernels

Who is online

Users browsing this forum: No registered users and 9 guests

cron