[KERNEL] Semaphore N4 3.4.2

Search This thread

rschueg

Senior Member
Mar 31, 2006
58
12
Wien
currently running cm10.2 0902 with your new 1.5.9j "any" version. baseband now recognised, gsm works so far.

thx for your great job !

N4|CM10.2N|Semaphore1.5.9j
 
  • Like
Reactions: stratosk

snak3ater

Inactive Recognized Contributor
Jul 31, 2012
4,775
7,382
Land of Pathans
I will flash rasbeanjelly tonight and check myself.

If it is not hard for you, can you please send me init.* files located in / (as zip attachment here)?

Here is an update..I was finally able to get the baseband back in rasbeanjelly..I simply flashed the old Twrp (2.6.0.0) recovery & then flashed your Kernel (1.5.9j) again..
Baseband back :D
It was the problem of recovery..Not your Kernel :good:
 
Last edited:
  • Like
Reactions: cantevencode

Naa Laa

Senior Member
Mar 1, 2011
332
121
San Jose, CA
Here is an update..I was finally able to get the baseband back in rasbeanjelly..I simply flashed the old Twrp (2.6.0.0) recovery & then flashed your Kernel (1.5.9j) again..
Baseband back :D
It was the problem of recovery..Not your Kernel :good:

@Sak3ater
Are you able to get data connection? I got the baseband issue solved but cant connect to data (wifi works fine) with stock (0.84) and hybrid (0.33/0.84) radios.

Thanks for feedback!
 

Naa Laa

Senior Member
Mar 1, 2011
332
121
San Jose, CA
Yes.. Data connection working fine.. Just tested it now.. I am on radio 0.84 .

Sent from my Nexus 4 using Tapatalk 4

Got it working. Flashed stock radio and then flashed the hybrid radio without flashing the ROM or/and kernel. All good so far with all stock. Will report back after I flash kernel. Thanks again!

Sent from my Nexus 4 using xda app-developers app
 
M

metoyamoto

Guest
Got it working. Flashed stock radio and then flashed the hybrid radio without flashing the ROM or/and kernel. All good so far with all stock. Will report back after I flash kernel. Thanks again!

Sent from my Nexus 4 using xda app-developers app

Any idea as to why the Android system is using so much of my battery? I looked at better battery and it suggested the cause may be
"system_backoff". I've since gone back to Franco, as I need my phone today. If you guys have any ideas as to why this may be happening, I'd love to hear them.

Thanks!
 

snak3ater

Inactive Recognized Contributor
Jul 31, 2012
4,775
7,382
Land of Pathans
After using 1.5.9 j for one full day. Wanna report something..While trying to scroll the App drawer screens very slowly.There is a little jerk while swiping there..Also try to swipe the settings menu & there is a little jerk there as well..Vertical or horizontal,this jerk is there when scrolling slowly..
Anyone else experienced this thing :confused:
PS:Just to confirm if this is the Rom issue,i flashed another Kernel & all fine now..


Edit:Flashed 1.5.9j again & everything seems to be normal now..Weird things happening today lol :D
Accuracy & Jitter Filter were turned on that's why i was experiencing the Lags while scrolling..All okay now..



---------- Post added at 04:13 PM ---------- Previous post was at 04:00 PM ----------

Any idea as to why the Android system is using so much of my battery? I looked at better battery and it suggested the cause may be
"system_backoff". I've since gone back to Franco, as I need my phone today. If you guys have any ideas as to why this may be happening, I'd love to hear them.

Thanks!

suspend_backoff

It's not the kernel..Check your Apps.This Wakelock is the reason that Android OS & Android System keeps your phone awake..
The Apps that i could point out are Facebook,Chrome or greenify..
Excessive use of touch wake or touch control also triggers this wakelock..The bet possible way of troubleshooting is by disabling the Apps one by one & check if the wakelock stops.
Ps:I've been using touch control on 1.5.9j & this wakelock hardly triggered for not more than a few secs..This Wakelock is random.Sometimes it's high for me as well.& sometimes it hardly shows up.It's up to you how you identify the root cause.It's the not the kernel,that i can guarantee because this wakelock shows uf in all custom kernels including Franco as well
 
Last edited:

stratosk

Recognized Developer
Mar 3, 2011
6,224
31,853
Thessaloniki
www.semaphore.gr
How can I increase the sound with this kernel?

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2

I'm sorry, Semaphore does not include any sound 'fixes'

Don't know about you guys, but I'm extremely satisfied with Stratosk kernel.
I'm running PA and semaphore 1.5.7, I have excellent battery life, always over 5h of SoT with normal use.
Gaming performace an user experience is perfect and my n4 i cold as ice, even when on charger while web browsing.

Thaks Stratosk

Thank YOU for your kind words, my friend!
 

stratosk

Recognized Developer
Mar 3, 2011
6,224
31,853
Thessaloniki
www.semaphore.gr
Semaphore is one of my lovely kernels after Franco's and stock kernel. Good job dev ,you deserve all the compliments.

Thank you!

Semaphore is my favorite... after Franco's, stock, faux's, Matr1x, Harsh, bricked, anarkia1976' and some others (that I didn't test yet)... :laugh:

I'm just kidding. Thanks so much, mate! :)
 

redvw74

Senior Member
Jan 29, 2011
77
27
I have to thank you, once more, Strato, for your time and work, in 4.3 too. I have the best scrolling experience ever with semaphore. Especially in falcon pro app, nothing else gets near.
With touch control support and your automatic answer mode my N4 is like a dream machine.
"Χίλια ευχαριστώ φίλε:thumbup::D"

Sent from my Nexus 4 using Tapatalk 4
 
  • Like
Reactions: stratosk

snak3ater

Inactive Recognized Contributor
Jul 31, 2012
4,775
7,382
Land of Pathans
Semaphore is one of my lovely kernels after Franco's and stock kernel. Good job dev ,you deserve all the compliments.

You should've said that semaphore is my favorite kernel..franco & stock comes next.. Say the opposite while in Franco's thread :D

Ps: this kernel is really something. Scrolling is better than the other best kernels out there.. thanks a lot dev for giving us such a great kennel..

Sent from my Nexus 4 using Tapatalk 4

---------- Post added at 12:52 AM ---------- Previous post was at 12:45 AM ----------

Just moved onto AOKP 4:3 which is JSS based so just to be 100% which kernel do I need ? and just flash as normal ?

TIA [haven't followed to closely and don't wanna flash the wrong one :eek:]

If it's jss then flash semaphore 1.5.x j

Sent from my Nexus 4 using Tapatalk 4
 
Last edited:

stratosk

Recognized Developer
Mar 3, 2011
6,224
31,853
Thessaloniki
www.semaphore.gr
Just moved onto AOKP 4:3 which is JSS based so just to be 100% which kernel do I need ? and just flash as normal ?

TIA [haven't followed to closely and don't wanna flash the wrong one :eek:]

I would suggest you to flash 1.5.9j. Although, it's a test version, it's work fine.
Otherwise, you may try 1.5.7j (I hope AOKP use default SELinux configuration.

You should've said that semaphore is my favorite kernel..franco & stock comes next.. Say the opposite while in Franco's thread :D

Ps: this kernel is really something. Scrolling is better than the other best kernels out there.. thanks a lot dev for giving us such a great kennel..

Sent from my Nexus 4 using Tapatalk 4

I fully respect davidbar93's opinion. :)
 

dsmpampis

Senior Member
Oct 21, 2012
925
223
Hey Στράτο! One question!
On how many degrees have set the thermal point?
Can we set it a little bit higher with semaphore manager?
Thanks in advance!

Sent from my Nexus 4 using Tapatalk 4
 

BLADESMAN1889

Senior Member
Jun 18, 2010
1,355
505
SHEFFIELD
Huawei Mate 20 X
I would suggest you to flash 1.5.9j. Although, it's a test version, it's work fine.
Otherwise, you may try 1.5.7j (I hope AOKP use default SELinux configuration.

I flashed 1.5.7j as I'd already downloaded in prep [I was just asking to be 110%]

Anyway @stratosk

Kernel is working just fine with AOKP - I've not tried Touch Control yet - not sure if thats in the 1.5.9j kernel ?

As always thanks and great work :good:
 
  • Like
Reactions: stratosk

Top Liked Posts

  • There are no posts matching your filters.
  • 635
    semaphore_logo.png



    This is a kernel based on stock one, tested on stock KK 4.4.3, JB 4.2.2, CM10.1, JB 4.3, Lollipop 5.0


    Versions >= 3.0.0b are for Lollipop 5.1.x
    Versions >= 2.2.0 are for KK 4.4.3
    Versions >= 1.8.5 are for KK 4.4.1 / 4.4.2 only
    Versions >= 1.8.0 are for KK 4.4 only
    Versions >= 1.5.0 are for JB 4.3 only


    More features will be added soon. Please don't ask for ETA.


    Features
    - Linux kernel 3.4.112
    - built with Linaro gcc 4.8.2 201306
    - enabled O2 optimizations
    - ondemand (Changed calculation of frequency, tweaked)
    - conservative
    - mpdecision dropped
    - dyn_hotplug driver
    - Noop scheduler (default)
    - SIO scheduler
    - Touch wake
    - Double Tap to Wake
    - Gamma control
    - LED triggers: touchwake, thermal
    - Undervolting
    - removed many debug options

    For more information check the semaphore kernel website: www.semaphore.gr

    Please use Semaphore Manager application to control every kernel's feature.

    Thanks to
    - Linux developers
    - faux123 for ideas about gamma tables
    - Ezekeel for touchwake
    - my wife who always supports me
    - a German friend who helped to buy N4

    All people who support this kernel by testing, reporting issues, donating or simply using it.

    Thanks italia0101 for his review.

    Change log

    3.4.2 (19/05/2016)
    - Linux kernel 3.4.112

    3.4.1 (24/03/2016)
    - Linux kernel 3.4.111

    3.4.0 (02/11/2015)
    - Linux kernel 3.4.110

    3.3.0 (23/09/2015)
    - Linux kernel 3.4.109

    3.2.6 (16/08/2015)
    - Merge Android 5.1.1_r0.14 changes

    3.2.5 (21/06/2015)
    - Linux kernel 3.4.108

    3.2.0 (21/05/2015)
    - Merge Android 5.1.1 changes

    3.1.5 (20/04/2015)
    - Linux kernel 3.4.107
    - Double tap to wake: add option to temporarily disable after power key pressed. Auto enabled again after device resumed. Enable this feature using the command:
    echo 1 > /sys/devices/virtual/input/lge_touch/dt_wake_pwr_disable

    3.1.0 (15/04/2015)
    - Merge Android-5.1.0_r0.9 changes

    3.0.5 (22/03/2015)
    - cpufreq: new per cpu tunable util_threshold (default 25)
    - Dynamic hotplug: Change algorithm. If CPUs have different util_threshold, the CPU with the greater one will be chosen
    - ondemand: new tunable down_threshold. If load below this threshold lowest frequency will be user.

    3.0.2 (18/02/2015)
    - Linux kernel 3.4.106

    3.0.1 (11/12/2014)
    - Merge latest changes from Android source (5.0.1)

    3.0.0
    - Linux kernel 3.4.105
    - Fix initramfs issues (mpdfake, initscripts) due to SELinux. Semaphore init script uses Chainfire's supolicy tool (included in latests SuperSU) to patch sepolicy

    3.0.0b (18/11/2014)
    - Lollipop release
    - Merged latest lollipop branch
    - Linux 3.4.104

    2.4.0 (19/08/2014)
    - Linux kernel 3.4.103
    - ondemand: a small fix in check load condition (thanks to moddingg33k)
    - tick-sched: Remove unnecessary statistics calculation required by mpdecision (thanks to moddingg33k)
    - tick-sched: A couple of fixes from mainline

    2.3.3 (19/07/2014)
    - Linux kernel 3.4.99

    2.3.0 (27/06/2014)
    - Linux kernel 3.4.95
    - ondemand: Change the calculation of next frequency to utilize lower frequencies more (the governor will be more sensitive to lower loads)
    - ondemand: Change default touch load to 65 to keep the touch frequency to 1134MHz (because of the change in calculation)
    Please note that you have to change the touch load to 65 in Semaphore Manager until the app update.

    2.2.5 (15/06/2014)
    - Linux kernel 3.4.93
    - ondemand: Be friendly towards latency-sensitive bursty workloads (backport 2 patches that intended for 3.16)

    About Double Tap to Wake.
    Implemented from scratch and hints from show-p1984 and LG G pad kernels (thanks).

    The basic idea is known: touchscreen remains _always_ powered to handle input events
    and wake up the device with a double tap.
    User have to double tap on the _center_ of the screen (to limit accidentally wake ups).
    Double tap is disabled by default. To enable it run the command bellow as su:

    echo 1 > /sys/devices/virtual/input/lge_touch/dt_wake_enabled

    If you run the above command during screen off, the command will remain pending until
    the next power on. Then it will be actually executed.

    Touchwake functionality is still implemented and it should be disabled if double tap to wake
    is enabled.


    1.8.8 (22/12/2013)
    - Linux kernel 3.4.75
    - dyn_hotplug: Activate the driver 1min after boot (because during init scripts execution all CPUs should be online to get initial settings. Fixes issue where a CPU governor could be set with default performance governor. Thanks to ihancioglu for reporting and reproducing the issue).
    - cpufreq: set initial utilization to zero on device CPU addition

    Full changelog: http://www.semaphore.gr/changelog/n4-version


    Sources
    Semaphore kernel sources


    Please use it at your own risk!


    Zip files in download section are for flashing from CWM recovery.

    'j' versions are for JSS15J ROMs only
    The normal files are for JWR66V &JWR66Y ROMs only

    Alternative download from http://www.semaphore.gr/downloads/nexus-4

    XDA:DevDB Information
    Semaphore, Kernel for the Google Nexus 4

    Contributors
    stratosk
    Source Code: https://github.com/stratosk/kernel_msm

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 3.4.2
    Stable Release Date: 2016-05-19

    Created 2013-07-30
    Last Updated 2016-05-19
    189
    About undervolting

    As you may know, APQ8064 comes to 4 versions (PVS bin): Slow, Nominal, Fast, Faster.
    Every bin has it's own voltage table. Nominal bin chips use lower voltages than Slow bin,
    Fast lower than Nominal and finally Faster even lower voltages.

    Stock kernel uses a paramater boost_uV. By default, is added in voltages but it can be disabled.
    The value of boost_uV is 0 for Slow bin chips and 25000 uV = 25 mV for Nominal, Fast and Faster.

    The boost_uV may be disabled (= undervolting by 25000 uV in Nominal, Fast and Faster) using this command:

    Code:
    echo n > /sys/module/acpuclock_krait/parameters/boost


    I implemented 3 more paramater that handle undervolting:
    - lower_uV: undervolting value for lower frequencies
    - higher_uV: undervolting value for higher frequencies
    - higher_khz_thres: above this frequency (default 1350000KHz) higher_uV will be used. Else lower_uV will be used.

    Undervolting value is subtracted from stock voltage. The final voltage for each frequency is calulated:
    Vdd(final) = Vdd(core) + boost_uV - uV

    So, to undervolt frequencies 384000-1242000 by 25mV and the other frequencies by 12.5mV use these command:

    Code:
    echo 25000 > /sys/module/acpuclock_krait/parameters/lower_uV
    echo 12500 > /sys/module/acpuclock_krait/parameters/higher_uV

    The higher_khz_thres maybe changed using this command (for example to use higher_uV from 981000KHz):

    Code:
    echo 918000 > /sys/module/acpuclock_krait/parameters/higher_khz_thres

    Also, I added a debugfs file (acpuclk/acpu_table) to show the acpu table frequencies and voltages.
    For example to get the information about the current status use this command:

    Code:
    cat /sys/kernel/debug/acpuclk/acpu_table

    and the output:

    Code:
    CPU PVS: Fast
    Boost uV: 25000
    Boost uV enabled: No
    Higher KHZ threshold: 1350000
    Lower under uV: 37500
    Higher under uV: 25000
    
    CPU KHz  VDD(stock)  VDD(final)  Difference
     384000      875000      812500      -62500  
     486000      900000      837500      -62500  
     594000      925000      862500      -62500  
     702000      950000      887500      -62500  
     810000     1000000      937500      -62500  
     918000     1025000      962500      -62500  
    1026000     1050000      987500      -62500  
    1134000     1100000     1037500      -62500  
    1242000     1125000     1062500      -62500  
    1350000     1150000     1100000      -50000  
    1458000     1162500     1112500      -50000  
    1512000     1175000     1125000      -50000

    Please note that undervolting may cause instabilities in your phone. Be careful!
    126
    reserved for future use
    84
    New version 1.8.8
    - Linux kernel 3.4.75
    - dyn_hotplug: Activate the driver 1min after boot (because during init scripts execution all CPUs should be online to get initial settings. Fixes issue where a CPU governor could be set with default performance governor. Thanks to ihancioglu for reporting and reproducing the issue).
    - cpufreq: set initial utilization to zero on device CPU addition
    79
    New version 2.1.1
    - Linux kernel 3.4.87