yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] grinder777:
This N4 is so bad? With my SGS I've 10h screen time...

SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
[Nexus 4 Original Android Development] masterchif92:
This is a quad core has a bigger screen higher resolution and the battery isn't a lot bigger than yours so....

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] BlueFlame4:
Obvious troll is obvious.

Sent from my Gameboy Color
[Nexus 4 Original Android Development] android88:
Wtf? How? Lol. Anything special you did?
[Nexus 4 Original Android Development] grinder777:
:)

2500mAh (org. size, ebay 10EUs)

Smartass2 (tuned), row

Stratosk auto-bright, linear, normal mode

Wifi@Home

DSBS

Greenify

I'm not a heavy user, just tapatalking, opera-mini whatsapp etc.

So I come along with that phone. At sleep it uses just 0,25%/h

I'm happy with that

:)

SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
[Nexus 4 Original Android Development] android88:
Oh, I thought it was your mako lol. Yeah, I've heard of i9000's getting amazing battery life.
[Nexus 4 Original Android Development] masterchif92:
Is referred to me man ahabahahhaha

Set CPU profiles matrix kernel and carbon ROM ;)

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] davwman:
Thought I would chime in by saying semaphore 0.2.0 with latest paranoid android is getting me close to 2 hours sot per 30% battery usage with the conservative gov. 3g 90% of the time WiFi about 7% and airplane mode about 2% of the time. The last 1% is for low 3g where the radio is working hard to pull in some signal. Sabermod just updated to latest linaro tool chain, so I'll be giving that a go today. Also want to add that this kernel kicks a s s! And the stock colors, I actually enjoy. Not overwhelmingly deep in color and easy on the eyes. Sound is great as well without the tweaks that are implemented in some other kernels. Phone runs extraordinarily cool too.

Sent from my Nexus 4
[Nexus 4 Original Android Development] -iNSiGhT-:
This kernel looks promising.

Using Harsh one and I'm tempted to test this Semaphore...

Can anyone tell me if we can set custom colors with Semaphore?

Paranoid mako
[Nexus 4 Original Android Development] davwman:
No color support yet. Everyone's different, but in my opinion, the performance/ battery life of semaphore out ways that option

Sent from my Nexus 4
[Nexus 4 Original Android Development] grinder777:
Uups... lol

SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
[Nexus 4 Original Android Development] a g bell:
Hi appear to have problem with 0.2.0 running slim can't change governer or scheduler with slim settings:eek:
[Nexus 4 Original Android Development] stratosk:
Please try this in terminal emulator (to change to interactive, for example):

su
echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Nexus 4 Original Android Development] -iNSiGhT-:
Now I tried Moles colors, I can't go back to default washed out colors...

Hope it will be implemented soon to Semaphore so I can test it!

Paranoid mako
[Nexus 4 Original Android Development] Sad56:
Use trickster or another app, performance settings are buggy.

I came from slim and no problem with trickster.

N4 - Xenon HD - Semaphore Kernel
[Nexus 4 Original Android Development] masterchif92:
Share that

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] JmPTaz09:
While I like some aspects of the PA colors, I find the gamma terrible; I.e. it is way too dark and you lose clarity in heavily shaded or low light areas in photos. It's very apparent and not worth it to me. The screen looks really good on my model with this kernel as is. This kernel is pairing perfectly with the new Sabremod release; it's like greased lightning :eek:
[Nexus 4 Original Android Development] spr33:
[MENTION=3750240]stratosk[/MENTION] do you ever test your kernels and measure battery usage (monitoring how much power in mA the phone is using in different scenarios)?
[Nexus 4 Original Android Development] stratosk:
I thought about this, but I'm not sure it's necessary.

I always test my kernels and measure the battery on a full charge cycle.

The instant measurement of power in mA may lead to fault results.
[Nexus 4 Original Android Development] capoooro:
B5 stable. Perhaps a little laggy when screen switch on... But normal after a second.

pizza mandolino pasta
[Nexus 4 Original Android Development] hellsgod:
Auto Hotplug was a little laggy too on some devices when screen turned on (on other Kernels). Workaroud was to force all Cores online for a short period of time when you turn on the screen.

hells
[Nexus 4 Original Android Development] manjee:
After a full day, I feel hotplug is a tad less snappy than 1.3.0 but it's definitely easier on battery !

So it's a good one :thumbup::D

Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4 Beta
[Nexus 4 Original Android Development] DesmoDavid:
I've found 1.2.0 more gently with battery than 1.3.0! :)

From Nexus⁴
[Nexus 4 Original Android Development] franciscofranco:
[MENTION=3750240]stratosk[/MENTION]

Nice idea to use cpufreq_notify_utilization for exporting load to your new hotplug driver. I was unaware of that function but now that I read your code I'm going to use that function call to get the avg load on my hotplug implementation.

I have some suggestions:

- You could use a dedicated WQ instead of queuing the work to the global workqueue. The usage of the WQ flags can provide some flexibility on how the dedicated WQ is scheduled by the Kernel scheduler. Also to should offline all the cores during early_suspend because otherwise cpu0 won't be able to reach the deepest idle state due to hardware restrictions. To counter wakeup lag inherent of that you can online all cpus on late_resume and then queue your work 1 or 2 seconds after wakeup. That will remove completely any wakeup lag.

Good job :)
[Nexus 4 Original Android Development] stratosk:
Thanks and... thanks for your comments. :)

I guess they use cpufreq_notify_utilization to notify userspace (mpdecision) about the load over a threshold.

I used it in slightly different way, passing the value of an "average" load, because policy->util will change every sampling period.

About your suggestions, I will most probably add online all CPUs on late_resume.

Are you sure about this early_suspend procedure? I thought that the standard suspend procedure should take care of it.
[Nexus 4 Original Android Development] franciscofranco:
Yes, I'm sure. I turn my device off and previously online cpus are still online unless I turn them off manually on early_suspend.
[Nexus 4 Original Android Development] X DoZ3R:
After 2 days i got micro laggs on 1.3 ,im using interactive gov. Anyone exp. The same?

Tapatalk 2-vel küldve az én Nexus 4-ről
[Nexus 4 Original Android Development] stratosk:
[MENTION=3292224]franciscofranco[/MENTION]

Please let me understand correctly.

You do this because you want CPUs in deeper sleep state when the screen off or when the phone suspends?

I suppose that the stock kernel will work properly and put the CPUs in deeper sleep when the phone suspends, no?
[Nexus 4 Original Android Development] franciscofranco:
According to the pm-8x60 driver code and commit messages from CAF cpu0 will only be able to enter the deepest idle state if all other cores are unplugged when the device is with the screen off. If other cores are online cpu0 won't be able to reach the deepest state.

I don't remember stock Kernel behaviour, but I believe MPdecision offlines them all as well during screen off.
[Nexus 4 Original Android Development] stratosk:
I just checked. mpdecision works normally and online/offline CPUs during screen off.

I think there is some other mechanism that put the CPUs in deeper sleep state.

I will check the code and let you know if I'll find something.
[Nexus 4 Original Android Development] LibiSC:
Stratosk

http://xdaforums.com/showpost.php?p=43572083&postcount=39862
[Nexus 4 Original Android Development] capncybo:
SuperSU

I am just coming this kernel from Bricked kernal, but when I attempt to run. Semaphore application SuperSU says I need root. I seem to have root from a terminal... Any advise please thanks, otherwise it seems impressive.
[Nexus 4 Original Android Development] Stef@67:
Busybox is installed ? If not, install it... ;)
[Nexus 4 Original Android Development] a g bell:
/?back to b4 for me runs cooler :eek:
[Nexus 4 Original Android Development] Ümit:
Hey everyone, I use this voltage settings:

View attachment 2124891

Because I want undervoltig without slowdown. The CPU stands on 348mhz (min frq) if I do not use my phone. But when I use it, is it on just voltage.

So, when I do not use it, saving battery.

is it wise?
[Nexus 4 Original Android Development] stratosk:
You could just reset ondemand tunables to b4 and also have hotplug with b5.

Undervolting is unrelated with speed. You may undervolt all frequencies.
[Nexus 4 Original Android Development] Ümit:
Oh, I did not know! related to what then? with stability?

thx.
[Nexus 4 Original Android Development] stratosk:
Yes, undervolting too much will definitely cause instabilities.
[Nexus 4 Original Android Development] coloxim:
Sorry but where are the beta?
[Nexus 4 Original Android Development] pitjago74:
Only 3 pages back!!!!!!!:rolleyes::rolleyes::rolleyes::rolleyes:

http://xdaforums.com/showthread.php?p=43496859

N4 Revolution&Demolition&NBK
[Nexus 4 Original Android Development] coloxim:
Sorry....in was searching in the semaphore homepage...
[Nexus 4 Original Android Development] pitjago74:
Not sorry......

We are here to help :D:thumbup::D

N4 Revolution&Demolition&NBK
[Nexus 4 Original Android Development] snak3ater:
[MENTION=3750240]stratosk[/MENTION]:Your kernel is really good.Buttery smooth performance.Tried 1.0.4 b5...great performance but battery life has decreased a bit.The performance is so good that i had to check if mpdecision was turned off in trickster :P..Also is it normal that 2 CPU's running all the time even if we dont touch the screen ie very low load?

I tried to monitor the CPU frequencies.While the mobile untouched,2 cores turned offline one after another after a few secs gap.But the remaining 2 cores stayed On...Will it remain like that or you planning to make changes in future releases :confused:
[Nexus 4 Original Android Development] stratosk:
Thanks for your comments! :)

Yes, 2 cores will be always online by default.

In 1.4.0 you will have the option to set the minimum online cores in dynamic hotplug driver.

You will also have the option to disable the hotplug driver completely.

For better battery life you could set less aggressive touch options in ondemand governor.
[Nexus 4 Original Android Development] Midomad:
Stratos my friend how are you?

I just bought the Nexus 4 and I have flashed your kernel I can tell you that all works great :good:

And i missed you're sai features since I've changed my i9000 :D

Thank you.
[Nexus 4 Original Android Development] stratosk:
Hi my friend! I'm sure you'll enjoy your N4! :)

Thanks for your comments!

Why did you miss SAI? It works OK in N4 too.
[Nexus 4 Original Android Development] a g bell:
Could l be cheeky and ask for someone to post the command to disable boost voltage with terminal l know its in the thread like some where:)

Forget it found it :banghead:
[Nexus 4 Original Android Development] coloxim:
What is sai?
[Nexus 4 Original Android Development] Midomad:
I miss SAI because i changed my phone to a galaxy nexus before N4!

Envoyé depuis mon Nexus 4 avec Tapatalk

---------- Post added at 09:13 PM ---------- Previous post was at 09:11 PM ----------

When enabled if someone call you can pick up phone without touch the screen.

Also you can choose vibrator level on phone ringing(for exemple if you're phone is on table vibrator will be lower than if you're phone is in you're pocket)

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] Naa Laa:
So its not useful if you don't want to pick all your calls? Am I correct?

Thanks!
[Nexus 4 Original Android Development] coloxim:
Or if the Phone is in the jeans..
[Nexus 4 Original Android Development] Slymobi:
maybe a silly theory but.......

regarding sai

what if your phone is in your pocket,your moving and someone rings. sai activates before you really hear the ringtone thus resulting in a missed call ??

I don't really understand sai so I'm just asking !!

great explanation though thanks :)

MokeeOs Flying
[Nexus 4 Original Android Development] Naa Laa:
Same here. Tried it once but didn't really understand its purpose. I am sure [MENTION=3750240]stratosk[/MENTION] doesn't add any unnecessary feature or add-on to his kernel so there is a REAL purpose. With all respect, just trying to understand.
[Nexus 4 Original Android Development] Midomad:
No because to answer a incoming call you need to close the phone to your ear.
[Nexus 4 Original Android Development] coloxim:
Oh...cool...thanks...I'm trying to understand too..
[Nexus 4 Original Android Development] Midomad:
it has no relation :)

Wholesale SAI allow you to answer incoming call without touch the screen you just have to place the phone near to your ear. and controlling vibrator level on call ringing to reduce some battery ;)
[Nexus 4 Original Android Development] pitjago74:
Stratosk.....awsome....this 1.4.beta5 is the smoother kernel I ever try.....the battery is ver y good(I do have Ondemand governor)waiting for Stable 1.4.0:D:D:D

N4 Revolution&Demolition&NBK
[Nexus 4 Original Android Development] stratosk:
Thanks for the explanation.

Actually, the basic idea about vibration was the possibility to have different levels when the phone was in the pocket or on surface.

Usually on a table the vibration is much more loud than in your pocket.
[Nexus 4 Original Android Development] stratosk:
Thanks!

I just came home from vacation. I'm preparing the 1.4.0. Hopefully, will be released in next days.
[Nexus 4 Original Android Development] Armin_van_buuren:
I had the pleasure to try your last beta and I want to but I have a doubt.

It is usually very hot with daily use?

Thanks for sharing your work, I find worthy of admiration.
[Nexus 4 Original Android Development] stratosk:
Thanks!

It depends on usage. Did you find it _very_ hot?

In my usage it's getting hot, when I play a game for more that 15-20 minutes continuously.
[Nexus 4 Original Android Development] Armin_van_buuren:
No, I have not tried yet and so was wondering if you usually warm.

Is to know whether at that lower voltages or advise if you have any other adjustment to reduce temperature.
[Nexus 4 Original Android Development] stratosk:
Undervolting will reduce heating a little. If you need even less heating, you will have to use less aggressive touch tunables to ondemand
[Nexus 4 Original Android Development] Armin_van_buuren:
Thank you.

I will try a few complete cycles with default settings and see as I try to adjust.
[Nexus 4 Original Android Development] coloxim:
There is a instruction about touch on demand?

I want set it..
[Nexus 4 Original Android Development] snak3ater:
Try increasing up threshold and touch load..Awaiting Stratosk's reply. let's see what settings he suggests

Sent from my Nexus 4
[Nexus 4 Original Android Development] snak3ater:
Any chance of adding simple Gpu governor in future release :confused:
[Nexus 4 Original Android Development] stratosk:
At the moment: http://xdaforums.com/showpost.php?p=43228030&postcount=1881

I'm sorry, no chance.
[Nexus 4 Original Android Development] Luigi_2:
waiting for last update for 4.2.2 :D
[Nexus 4 Original Android Development] karol1981:
I used your kernel on sgs and was awsome, now it's time for the Nexus, and therefore I have a question. How to move the display settings (gamma, color etc) from franco updater to semaphore manager. My favorite set of calibration and I'd like to have the semaphore but i dont know how i must set in manager to have this same settings in franco.
[Nexus 4 Original Android Development] snak3ater:
Franco-Semaphore Gamma Values

Set the Franco values in Semaphore manager like that...

greys, mids, black, 1, contrast, brightness, saturation, white, 1

But anyways Thanks to Stratosk for the kernel & Anrikus for making the Job easier & putting all the values in a spread sheet..
[Nexus 4 Original Android Development] karol1981:
Big thanks ,Now I can use my favorite kernel :)
[Nexus 4 Original Android Development] snak3ater:
I am getting this error while trying to check out the cpu states...

Tried flashing the kernel again but same error..

Sent from my Nexus 4
[Nexus 4 Original Android Development] spr33:
Same here.
[Nexus 4 Original Android Development] snak3ater:
Got this error earlier.I re flashed the kernel & this issue was sorted out.But after some time this thing came back again..Dont know what's wrong here
[Nexus 4 Original Android Development] pitjago74:
+1

:confused:

+1:confused:

N4 Revolution&Demolition&NBK
[Nexus 4 Original Android Development] snak3ater:
:confused:
[Nexus 4 Original Android Development] stratosk:
I confirm this.

It seems there is some conflict with hotplug driver that breaks cpufreq statistics after some time.
[Nexus 4 Original Android Development] stratosk:
New version 1.4.0

- Linux kernel 3.4.54

- Dropped mpdecision (and related driver for exporting statistics to userspace)

- Introduce dyn_hotplug driver to automatically online/offline CPUs according to load. Parameters:

/sys/module/dyn_hotplug/parameters/enabled, valid values 0,1,Y,N,y,n. Default Y (enabled)

/sys/module/dyn_hotplug/parameters/up_threshold, over this threshold the driver will put one more CPU online

/sys/module/dyn_hotplug/parameters/min_online, minimum number of CPUs that will be always online. Default 2.

- Introduced new ondemand tunables to support touch boost:

touch_load: the simulated load when there is touch in the screen (default 75)

touch_load_threshold: over this load will be applied the touch_load (default 10)

touch_load_duration: the duration of the simulated load in msec (default 1100)

- cpufreq: ondemand: Default sampling rate to 20000

- leds: ledtrig-thermal: Rework code

- leds: Default led triggers to "none"

- built with Linaro 201306 (gcc 4.8.2)

- an update to framebuffer to fix some visual glitches (thanks to CM team, thracemerin)

Semaphore Manager will be updated in next days to support the new tunables
[Nexus 4 Original Android Development] snak3ater:
How can i change the value of min Cpu online?

No option in trickster or semaphore manager..
[Nexus 4 Original Android Development] apatal:
Find this file using root explorer and change the value accordingly. Or use a script. Or use a terminal emulator. :)
[Nexus 4 Original Android Development] snak3ater:
I tried to do it using root explorer but the settings were reverted back..Ill try terminal emulator

---------- Post added at 03:15 AM ---------- Previous post was at 03:10 AM ----------

Done... Thanks

Sent from my Nexus 4
[Nexus 4 Original Android Development] Slymobi:
[MENTION=3750240]stratosk[/MENTION]

got a strange issue... I will pm you my kmsg from your app.

I reset my under volt settings as they are the only things I change in your kernels, wiped semaphore app data for good measure, rebooted into recovery,wiped cache and dalvik, flashed new kernel and wiped cache and dalvik again, rebooted system..... now it went as normal google splash screen and then normal bootanimation but never booted up !! it turned my phone off !! only a long press power to get my phone on !! strange I thought !! so I recovery wiped cache and data again and rebooted..... same scenario again so I took a kmsg. will test a normal plain reboot now too and update after.

check your pm for my kmsg.

regards.

update: normal reboot was fine.

MokeeOs Flying
[Nexus 4 Original Android Development] snak3ater:
Hotplug Driver seems to be working good..Turning it off is a bad idea...

Turning it off Puts all the Cores Online forever even with no load at all..
[Nexus 4 Original Android Development] a g bell:
Subjective :)
[Nexus 4 Original Android Development] Pumpino:
Thanks for the update. I just charged my handset and noticed that the green LED doesn't appeared once it's fully charged. :(
[Nexus 4 Original Android Development] Mercado_Negro:
It's disabled now in 1.4. You can enable it using Terminal Emulator or running a script. Do a search and you'll find how to do it.
[Nexus 4 Original Android Development] coloxim:
Is better... If u want it use semaphore app...
[Nexus 4 Original Android Development] stratosk:
It seems that there is some corruption in your file system.

Maybe a crash due to undervolting? Or because you reboot your device abnormally?

Did you have a crash?

If you want to turn off hotplug driver, it means you want all cores online all the time. This is the idea.

IMO it is not so bad idea... :)
[Nexus 4 Original Android Development] lyuz:
Somebody tried it with a single core, what parameters to set?
[Nexus 4 Original Android Development] Slymobi:
after resetting the old under volt settings and clearing semaphore app data i then cleaned my caches and flashed the new kernel so I hadn't done any changes to its settings.

I don't understand abnormal reboot !! I do it this way always and never before had the issue.

long press power button,

reboot into recovery,

wipe cache,

wipe dalvik cache,

flash kernel,

wipe cache/dalvik,

reboot system.

looks like its booting normally but never completes as it goes into a power off state.

I will go back to previous kernel and test exactly the same method.

Thanks.

Edit: thought I'd try 1 more time before flashing previous kernel, rebooted, wiped flashed new kernel again and didn't wipe again but rebooted this time.

All good on this test :)

very strange !! eeeeeek

MokeeOs Flying
[Nexus 4 Original Android Development] stratosk:
You said that boot process never completes. What do you see in the screen? bootanimation only?

If you use power button in this state you will have an abnormal reboot (or shutdown).
[Nexus 4 Original Android Development] Slymobi:
it starts with Google splash screen, then goes into boot animation, then android is updating / optimizing apps from the dalvik wipe etc. when that completes it goes into black screen off state.

like I said I've just tried again and its booted normally.

my phone is spooked lol

MokeeOs Flying
[Nexus 4 Original Android Development] "D":
@	stratosk

Thanks +1

best regards
[Nexus 4 Original Android Development] coloxim:
This kernel is very smooth... I'll check the battery now..
[Nexus 4 Original Android Development] snak3ater:
4 core always online would give a better performance but battery drainage would be high compared to hotplug driver where cores are turned off depending on load.I like this Driver.It's a balance between Performance & Battery life...

Sent from my Nexus 4

---------- Post added at 01:40 PM ---------- Previous post was at 01:33 PM ----------

You have to change the value in min_online file for that.but it would turn off 3 cores only when there is no load at all..Right now I've increased the up threshold value of hotplug driver to 95.its default value was 25.my device barely turns on the 4th core while doing normal tasks.performance is still good and so is battery life

Sent from my Nexus 4
[Nexus 4 Original Android Development] Luigi_2:
yeah, if you just use normal app then it's the best for you.
[Nexus 4 Original Android Development] snak3ater:
But the drier would adjust itself if playing games or doing heavy stuff..It's just that i dont want all 4 cores to be online for small tasks
[Nexus 4 Original Android Development] coloxim:
Sometimes I've sod...I'm alone?
[Nexus 4 Original Android Development] apatal:
Could be. Do you undervolt? Try using the kernel with stock voltages first, see if you still get SOD. :)
[Nexus 4 Original Android Development] Luigi_2:
yes, that's what I meant, increasing load to avoid light app waking up all 4 cores
[Nexus 4 Original Android Development] coloxim:
OK..I'll try...I have UV little bit ...just one step
[Nexus 4 Original Android Development] a g bell:
No problems here mate what ROM you using?

:banghead:
[Nexus 4 Original Android Development] coloxim:
Xenon HD...