yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] urim225:
[MENTION=3750240]stratosk[/MENTION] Can you please tell me which kernel module to download when using Touch Control ? I tried for Semaphore 1.5.8 and when enabling touchwake from Semaphore Manager i cant slide2wake, just slide2lock, any idea ?
[Nexus 4 Original Android Development] PetritH:
Is it performance default governor? which governor are u guys using? Thanks
[Nexus 4 Original Android Development] szucsgf:
Default CPU governor is ondemand, and that's what I use.
[Nexus 4 Original Android Development] PetritH:
Thank you sir, because to me it has been performance, I cleared trickster app data.
[Nexus 4 Original Android Development] l33chpda:
I use Semaphore 1.6.0j and it works great with Touch Control 1.8.1

all modules enabled.
[Nexus 4 Original Android Development] kundica:
Had another reboot today just as I set down the phone. CM Nightly, Semaphore 1.6.0j, no chrome beta.
[Nexus 4 Original Android Development] snak3ater:
Are you sure that you have enabled slide to wake option in touch control app?
[Nexus 4 Original Android Development] jdsvec:
Screen timeout

Hi. I dont know if its the problem of kernel or touchcontrol app but my screen timeout is not working. After 30s (set to 30s) screen is still on. Any idea?
[Nexus 4 Original Android Development] apatal:
Have you tried disabling touch control to see if the problem persists?
[Nexus 4 Original Android Development] stratosk:
Please let's keep thread clean.

TouchControl issues and discussion in the respective thread.

About reboots:

1) Please try to unload touchcontrol modules and retry.

2) Chrome beta causes sometimes reboots. It's a stock kernel issue. Kernel shouldn't reboot in any case. But we can easily workaround this until Chrome beta will be fixed. The issue is somewhere in gpu driver suspend operation, but it's too tricky for me to understand it and fix it.

If you still have issues, please send:

1) kmsg

2) last_kmsg

3) Information about your ROM, Semaphore settings and what was your last action before reboot.
[Nexus 4 Original Android Development] stratosk:
Thanks for logs.

I'm searching the issue. Lost in stock code labyrinth... :(
[Nexus 4 Original Android Development] fr0d0#2:
Thank you for the fantastic work.

I've seen no information on the SAI tab settings, and can't find anything on the website FAQ/help pages. What are the proximity settings for? How does pick up phone without touch the screen work, and what does SAI stand for?

Thanks!

[PureSpeedXv6+Semaphore1.6.0JWR]
[Nexus 4 Original Android Development] snak3ater:
Most of the reboots that are being reported are coming from CM rom..Why is that so..

Also it's good to see that Chrome has been identified as one of the reason of these annoying reboots..
[Nexus 4 Original Android Development] stratosk:
SAI is a service in userspace, not in the kernel. I started this as an experiment to add some 'smart' functionality.

Proximity settings change the vibration level according to proximity sensor value.

When proximity's value is far (e.g. the phone is on a table with the screen uncovered) you may want a low vibration level.

When proximity's value is near (e.g. the phone is in your pocket) you may need a strong vibration when the phone rings.

'Pick up phone' read the orientation and proximity sensor values at tries to pick up the phone as soon as you have the device near your ear.

SAI means... :) forget it. It just initials.... :)

Yes, I thought it too, but I have no evidence...

You are watching closely, Semaphore thread... :)
[Nexus 4 Original Android Development] MuertoKo:
A bit of topic but I read the new and couldn't resist thinking on strasotk: Note 3 to cost 700€ at Greece (leaked price from SamMobiles) xD Guess unless you go for Nexus 5 whenever it comes that's a device most won't get O.o Oh jesus... 700€... Oh well, couldn't resist to post this xD

After your SAI post I decided to try this experiment, nice stuff with vibration! Just a little thing I noticed, when you see Proximity Near / Far vaules both show 0 even if you tweak them, guess that's due to showing an integer and the value being considered a %? Small thing to check when you keep developing this smart features anyway ^^

PS: 100% Vibration is a hell of strong xD Had it on the table face-down (so Near mode active) on a business meeting when it rang... so much fun seeing ppl have a collective heart-attack due to the vibration on the table xD
[Nexus 4 Original Android Development] stratosk:
700€ !?! No way... :)

About SAI vibration settings. Yes, there is a small issue there. But it should be OK when you select your values.
[Nexus 4 Original Android Development] carminelnx:
I do not touchwake works, is on ...
[Nexus 4 Original Android Development] Bonvaz:
I'm on psx with semaphore..no reboots,no problems,no deadlocks..just amazing battery and speed:)..

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Original Android Development] Biporch:
Does chrome beta causes a reboot even if it isn't being used at all?

I've had 3 kernel panics.

PSX Rom

Undervolted -100 (This is most likely the issue I think)
[Nexus 4 Original Android Development] gialakias:
I have it installed but no. It is doing it when is running in the foreground and the phone goes to sleep most of the times.
[Nexus 4 Original Android Development] Thisseas:
First time flashing a kernel on this phone and it's pretty rock solid. No reboots whatsoever, everything works great. For those of you having trouble with Touch Control app try to disable “touch wake” from Semaphore manager and enable touch control app afterwards.
[Nexus 4 Original Android Development] stratosk:
If Chrome is still running in background it still may crash the kernel.

https://code.google.com/p/chromium/issues/detail?id=286378

Although, you use aggresive undervoltin, I think your crash is due to Chrome beta. Please uninstall it and retry.
[Nexus 4 Original Android Development] aimcr7:
I got those reboots when chrome beta not in use, yes i use it, but it reboots when I am not on Chrome beta (not in the foreground).
[Nexus 4 Original Android Development] LuffyPSP:
Anyone have a sample gamma value that are close to PA half-breed colour?
[Nexus 4 Original Android Development] urim225:
yes i am sure
[Nexus 4 Original Android Development] szucsgf:
You can use trickster mod to directly set PA halfbreed.
[Nexus 4 Original Android Development] capoooro:
After few weeks on Paranoid Android I can only say that your kernel is rocky stable. Tnx

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] LuffyPSP:
ah i thought must use the Semaphore Manager for seamless integration with the kernel. the numbering is just..confusing. :D thanks!
[Nexus 4 Original Android Development] soumoks:
I am currently running 1.6, is it ok adjusting the kernel with 2 apps? Do I have to set on boot for both the apps then? I need trickster to adjust the max frequency and Semaphore Manager for everything else..
[Nexus 4 Original Android Development] apatal:
Not really advisable to do this as these apps may conflict each other, even if you're really careful. Why do you need to set max frequency? Do you underclock?
[Nexus 4 Original Android Development] soumoks:
No underclock,the device seemed to be booting at 1.2Ghz,so set it to 1.5Ghz using trickstermod

edit: uninstalled trickster and the issue has been resolved :D,thanks again for this amazing kernel :)
[Nexus 4 Original Android Development] szucsgf:
You were thermal throttled to 1.2ghz. Max CPU would go back to 1.5Ghz after CPU cooled a bit.
[Nexus 4 Original Android Development] PetritH:
Im having some lags while scrolling on web, other than that is great kernel
[Nexus 4 Original Android Development] GreenSGS:
Semaphore manager app settings reseted

Hi Stratos,

I had low battery yesterday, 10%, had no charger so left it as is. In morning phone was off, later I connected to charger and phone booted. then for my surprise Semaphore app was completely reset to original settings. All LCD color calibration, scheduler settings etc. gone. Can you please check? Thanks. Collected last_kmsg, don't know if it's useful.

Thank you.
[Nexus 4 Original Android Development] meangreenie:
Try Aosp browser. Settings... full screen, quick controls, open new tab in background, turn off preload stuff in bandwidth management.

With this kernel equals heaven.
[Nexus 4 Original Android Development] stratosk:
Hi, my friend!

Unfortunately, I can't see anything from last_kmsg. Only that your device booted in charger mode and then rebooted (to normal mode).

This is really weird.

Semaphore Manager settings are absolutely independent from kernel. You may reset to default through app (reset to default menu) or delete Semaphore Manager app data.

Did you have any data loss on other apps?
[Nexus 4 Original Android Development] GreenSGS:
Thanks for reply.

No buddy, other apps are fine. Only semaphore manager lost all the settings after power drain. I had put them back all again. That's why I asked. Weird.

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

Just remembered another weird thing, I had all default except LCD calibration and touch wake. Colors were gone but touch wake was still set to on with the time I set but it was not working at all had to do on/off. May ring a bell.
[Nexus 4 Original Android Development] stratosk:
I guess, it's an app's bug. But I've never seen it.

I'm really sorry for the inconvenience. :(
[Nexus 4 Original Android Development] GreenSGS:
My friend, when you say sorry it's a shame for me. No inconvenience sir, just a software thing. Kernel is super as always. Thank you for looking into it.
[Nexus 4 Original Android Development] stratosk:
Of course, it's not shame for you.

I hope we can catch this app's bug. But 2.9.5 is released for a long time. Never heard this and have no idea what happened. I will keep my eyes on it.
[Nexus 4 Original Android Development] jdsvec:
Yeah I tried. I freezed few apps and find out that 7zipper 2.0 is doing this mess. Thanks for help.
[Nexus 4 Original Android Development] stratosk:
New version 1.6.5

- Linux kernel 3.4.62

- mach-msm: dyn_hotplug: Schedule driver's work only on CPU0

- mach-msm: dyn_hotplug: Offline the CPU with the lowest current frequency (thanks to Skkip)

- cpufreq: Fixes from Code Aurora

- cpufreq: conservative/interactive: Update the CPU utilization in policy for dynamic hotplug driver (should fix issues with hotplug)

- networking: Include Westwood TCP congestion control algorithm (CuBIC still the default)
[Nexus 4 Original Android Development] spr33:
Just updated, just in time for work time too which means I'll be able to test idle performance :) looks like a great update.
[Nexus 4 Original Android Development] Fenvarien:
Thanks for the new version, Stratosk! :good: :)
[Nexus 4 Original Android Development] lilgiz:
I'm curious if there is any particular reason why you've been building with gcc 4.7? I was thinking you were building with 4.8 previously on 4.2? Either way, thanks for your hard work!
[Nexus 4 Original Android Development] GreenSGS:
Hi Friend,

Something weird is still happening with app, I cleared app data, rebooted the phone, set everything again but the touch wake keep resetting. Tried 5 times, every 20-25 min it's turns off. Any idea? I notice it easily as touch wake visible thing.

Thanks for new version.
[Nexus 4 Original Android Development] nadiros:
Just out of curiosity, which rom are you on? Are you using any other tweaking app?
[Nexus 4 Original Android Development] GreenSGS:
Everything stock, no tweak, no other app, only root and semaphore kernel+ app. Clean phone.
[Nexus 4 Original Android Development] apatal:
My next unnecessary request of course, is for an option to be made available on the next Semaphore Manager update. :)

Still, another awesome update to a great kernel! Thanks [MENTION=3750240]stratosk[/MENTION]. :)
[Nexus 4 Original Android Development] MementoMoriM:
Thanks stratosk, your kernel work very well :sly:

Enviado desde la muerte a través de un Nexus4
[Nexus 4 Original Android Development] aaron.bufc:
Just before I was about to go to sleep and I see Semaphores been updated. Now I've been reading post for 10/15mins!

Thanks for update, I'm confident it'll be great as usual.
[Nexus 4 Original Android Development] eep2378:
Has anyone converted obsanity_amoled colors from the faux app to semaphore. For my device it looks the best for color and gamma.

Sent from my Nexus 4
[Nexus 4 Original Android Development] bobo1337:
Me too lol :D

Poslano sa mog Nexus 4 koristeći Tapatalk 4
[Nexus 4 Original Android Development] PetritH:
Flashed the new one, working great, thanks a lot Sir.
[Nexus 4 Original Android Development] The_Rainmaker:
Uowww, vivid colors! Thanks!
[Nexus 4 Original Android Development] PRGUY85:
I'm using PureSpeed V6. Any tips you guys recommend to increase battery life in terms of modifying kernel settings in trickstermod? Or just leave as is?
[Nexus 4 Original Android Development] rofik_gitara:
how to flash new version,im from 1.6.0

just flash or any wipe??

thanks
[Nexus 4 Original Android Development] aimcr7:
Just flash
[Nexus 4 Original Android Development] PetritH:
Just flash via recovery bro, no need to wipe anything
[Nexus 4 Original Android Development] rofik_gitara:
Thanks dude;)
[Nexus 4 Original Android Development] Devin Cuthbertson:
Why might the mp decision keep turning off on this kernel?
[Nexus 4 Original Android Development] eep2378:
Because this kernel has its own hotplug driver implementation.
[Nexus 4 Original Android Development] Devin Cuthbertson:
Oh so keep mp decision off and let the kernel do its own thing and don't mess with min max frequencies either?
[Nexus 4 Original Android Development] rwaempires:
This kernel is my new favorite.... Thanks for the effort...Very silky smooth....
[Nexus 4 Original Android Development] eep2378:
yup :)
[Nexus 4 Original Android Development] apatal:
Or just don't use any other kernel app aside from Semaphore manager. It has all you need and will prevent you from messing with unnecessary tunables. :)

Everytime I hear those words next to each other, I always think of the Zohan. :D
[Nexus 4 Original Android Development] galaxys:
Just started using this kernel with PSX and it's a keeper! Awesome work!!
[Nexus 4 Original Android Development] eep2378:
yup :)

---------- Post added at 10:36 PM ---------- Previous post was at 10:25 PM ----------

Nevermind, I went back and found it. Big thanks to [MENTION=4642249]Anrikus[/MENTION] for putting together the spreadsheet with the converted values. If anyone is looking for Obsanity Amoled gamma input this in Semaphore manager: 0 119 119 1 0 0 119 7 1. Put these values for all three sections, Red, Green, and Blue. Enjoy :D
[Nexus 4 Original Android Development] hulicow:
Thanks for the update sir [MENTION=3750240]stratosk[/MENTION]. This is the most stable kernel that i used.

P.S. OT Nexus 5:

http://www.gsmarena.com/unannounced_lg_nexus_makes_another_unscheduled_appearance-news-6806.php

http://www.gsmarena.com/casemaker_spigen_hints_october_31_as_the_nexus_5_launch_date-news-6804.php
[Nexus 4 Original Android Development] snak3ater:
Even if you turn mpd on using trickster, it wont make any difference.Because mpdecision was dropped from Semaphore

The hottplug driver is working great
[Nexus 4 Original Android Development] pitjago74:
Well,1.6.5much much better,no freezer:cool: Thanks Stratosk

Enviado desde mi Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] stratosk:
I had some issues since 4.3, so I decided to build it with gcc 4.7 and O2.

Hi,

No idea. Could you please send a logcat and kmsg after this will happen again?

Are you sure that no other app conflicts with Semaphore Manager?

I use touchwake since day 1 and never faced something similar.

Yes, in next Manager will be implemented and option to change TCP congestion algorithms.
[Nexus 4 Original Android Development] MuertoKo:
Never had issues and using Touchwake (never TC though) since day 1. Pretty usefull if it blocks while reading or something!

About TCP I always wondered... even if we can switch from one to another (and there are many algorithms out there claiming the best and better, Westwood updates bla bla) is there a real way to test yourself which one suits more? I mean, many net tests and so.. but still couldn't find something like "this or that" decisor myself...

Anyway, will test as soon as you manage to release the app update, no rush as for me at least, will be just for the testing challenege as it already works like a charm now :P

(New JLS release, let's see if it improves JSS fail!)
[Nexus 4 Original Android Development] stratosk:
I don't think that changing TCP congestion algorithm will have noticable difference in a phone.

Maybe, you can try some net speed tests in different environments.

I just included as an alternative to default cubic and reno.
[Nexus 4 Original Android Development] deeppans:
Semaphore version for CM Sep 17 nighty

Today's Sep 17 nighty will have Update upstream refs to android-4.3_r3 commit.

So which version of Semaphore (1.6.5 or 1.6.5j) one should use for Sep 17 nighty?

Thanks in advance
[Nexus 4 Original Android Development] MuertoKo:
Considering 1.6.5 is for JWR ROM's and 1.6.5 for JSS Rom's and the fact that:

1.6.5 (17/09/2013)

- Linux kernel 3.4.62

- mach-msm: dyn_hotplug: Schedule driver's work only on CPU0

- mach-msm: dyn_hotplug: Offline the CPU with the lowest current frequency (thanks to Skkip)

- cpufreq: Fixes from Code Aurora

- cpufreq: conservative/interactive: Update the CPU utilization in policy for dynamic hotplug driver (should fix issues with hotplug)

- networking: Include Westwood TCP congestion control algorithm (CuBIC still the default)

Didn't bring any new regarding 4.3 r3 (tagged JLS36C) (wasn't even released when 1.6.5 was xD) most posible you shouldn't try any custom kernel until they explicitly say they've updated to that base. You can always try and end up bootlooping or kill smdy's cat, so pls be careful.
[Nexus 4 Original Android Development] edwardeutsch:
Great work as always stratosk!

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Original Android Development] apatal:
So far, I've heard of no change kernel-wise in the new update. So if you've been able to use 1.6.5j in the last nightly, it should still work in the next one. As the poster above said though, stock kernel is always the safest bet. :)
[Nexus 4 Original Android Development] elite_gamer04:
Just came across this great Kernel (suggested by mate) - one quick question about the Manager, it seems you can't set Min/Max CPU etc - is this correct or a planned feature in the future :)?
[Nexus 4 Original Android Development] alen1901:
You flashed 1.6.5? Any noticed differences? Also, question of the year, will you upgrade to nexus5? :p
[Nexus 4 Original Android Development] MuertoKo:
Correct afaik, and really I can't see a point on trying that really... OC is pretty hard with this device, it's still lightning fast so why bothering? Lowering low freq can end up in dead-locks, so why risk for no gain? UC higher freq... well, you have some nastily aggresive throttling on Nexus 4 (which I kinda love, cool device is perfect device, and N4 feels cooler thanks to that throttling)...

Anyway, stratosk cananswer easily about that but just wanted to pin-point what I knew as a fast reply
[Nexus 4 Original Android Development] rodeo_calling:
Just updated and I notice the thermal led is always on during charging. All stock settings except for color calibration. Running Purity.

This didn't happen on 1.6.

Otherwise great work as always. Thanks.
[Nexus 4 Original Android Development] apatal:
Hey buddy! Glad to run into you again. Yes I've flashed 1.6.5, but I'm running GN0M3, not cm. And yes, there is a slight difference in performance. I'm guessing it has something to do with the last changes to [MENTION=3750240]stratosk[/MENTION] 's dyn-hotplug. And of course, it's stable as we've come to expect from him.

Oh and yes, I'm planning to upgrade to the next Nexus, if only so that my chance to break glass is reduce by half (no glass back). I'm already conspiring with some friends how we can score a unit once it's available in the States. :)

Are you sure that's the thermal led or a battery charging led? Check if you have an option like that in your ROM and if you have it enabled. :)
[Nexus 4 Original Android Development] rodeo_calling:
Yeah mate, it's definitely the thermal led and not the charging one. I'm not new to this stuff :p
[Nexus 4 Original Android Development] alen1901:
You remember old nexus s days? :p well, now with purity and semaphore 1.6.0 i have soooo silky smooth browsing in aosp browser. Better than iPhone, it flies even on the verge heavy desktop site. *.* so i really am afraid to flash anything more to loose that. My phone is runing 165 hours without any problems now. Ill wait for next purity release, than cross fingers and flash this both. Also awesome battery on semaphore 1.6.0. I might just stay with current combo until my phone hiccups, reboots itself or something :p
[Nexus 4 Original Android Development] MuertoKo:
Check you CPU temp with some app like System Tuner during charge to make sure the temp is higher enough to cause the led to blink, if it's the case I'd really recommend you to check your charged or try another one, I have my device plugged almost 8h at work and the led only blinks if I surf heavily... so nope, that shouldn't happen, at all (enviornment temp is over 27ºC here)

I'm in the same issue xD I'm running 1.6.5 and I'm SO glad of it, not a singl issue on stock + semaphore combo and having superb... everything. I wanted to try Paranoid Android but.. all I read is people having this or that issue, maybe user or maybe not user's fault but... Well, I won't flash posibly until 4.4 is out xD
[Nexus 4 Original Android Development] snak3ater:
If the led is bothering you.. Just Turn it off from trickster or semaphore manager.. Otherwise it'll turn on every time the temp reaches near the threshold
[Nexus 4 Original Android Development] apatal:
Oh ok. No offence meant, mate. :)

Are you using the phone while it's charging? Browsing, gaming?

Oh I've said that millions of times before. Trust me, the itch to flash something will get to you sooner or later. ;)

And of course, I remember the crespo days. It's my formative years here at xda. :)

That's why a nandroid backup is a root users best friend. :)
[Nexus 4 Original Android Development] MuertoKo:
But then you read ppl having issues restoring a Nandroid and you're done xD Anyway I may try someday soon as long as they keep beinb JWR compatible and so, semaphore supported.
[Nexus 4 Original Android Development] rodeo_calling:
I reverted to 1.6.0 to test the issue since I didn't have the thermal led turned on before. With the exact same setup and charger, it does not turn on while charging. I'm actually typing this with the phone connected to a charger and no thermal led. I'll flash 1.6.5 again in a bit to do what you advised, but with everything else the same but the kernel, I'm not sure if it'll help.

That's one solution, but I'm curious to know the real issue :what:.

None taken mate :cool:. I wasn't using the phone at all. It was lying on the desk screen turned off.
[Nexus 4 Original Android Development] stratosk:
Yes, setting cpufreq min/max in my plans for next Semaphore Manager version.

Please make sure that you have assigned the thermal trigger in red LED, running the command bellow in terminal emulator:

cat /sys/class/leds/red/trigger
[Nexus 4 Original Android Development] rodeo_calling:
Well it got worse. I flashed V1.6.5 to test the issue and noticed that the thermal led was turning on more frequently, getting noticeably hot (never happened before) and for longer times as compared to V1.6.0.

Anyway, I put the phone aside for a short while, and when I came back, the screen wouldn't turn on :eek:. Had to hold down the power button to turn it back on. Using the phone now seems fine so far though.:what:

Oh, and I don't know if it's useful but here is the last_kmsg

http://db.tt/CwfwMOb8

Thanks

P.S.: do you guys use an app for pastebin? Coz the website was a nuisance trying to use from my phone.