[KERNEL] Semaphore JB 3.3.0 / KK 3.4.3

Search This thread

kathees

Senior Member
Feb 8, 2012
145
13
Singapore
Hi stratosk,

I'm in CM 10 like 3 weeks and was waiting until I feel it stable. I thought let's try your Kernel later so that I can see the difference :). In ICS I was using yours.

Today for a by mistake wireless issue (I forgot one character in password so couldn't connect) I flashed your kernel. Accidentally I flashed 's' version Semaphore_JB_2.0.6s version. And for fast few hours I didn't had any problem with the phone. My Ram showing as 391MB. And I never done any modification to my phone so I'm pretty sure I don't have the patch. (Stock CM10).

How it's possible? Since it's working why can't I use 's' version. What I'll be missing. I know 720p vider recording will not be available for BigMem version.

Thanks for your great work...
 

matesc

Senior Member
May 19, 2012
637
320
Vienna
For those on CM10 latest build and Semaphore what governors and settings are people using that is giving optimal performance without much compromise to battery life? Please share. Thanks.

Sent from my GT-P3113 using xda app-developers app

My settings:
ondemand or ondemand40
smooth ui disabled
lock min freq to 100 enabled
scheduler - CFQ
Deep idle disabled
bigmem enabled
touchwake- 15s
sdcard read ahead - 1024
auto brightness driver - dark (with turned on automatic brightness in android settings)
 
Last edited:

jdogzilla

Senior Member
My settings:
ondemand or ondemand40
smooth ui disabled
lock min freq to 100 enabled
scheduler - CFQ
Deep idle disabled
bigmem enabled
touchwake- 15s
sdcard read ahead - 1024
auto brightness driver - dark (with turned on automatic brightness in android settings)

Thanks. Any indication of how much these setting have helped? In battery life? Performance? ANybody else wants to add in their settings?
 

stratosk

Recognized Developer
Mar 3, 2011
6,224
31,853
Thessaloniki
www.semaphore.gr
Hi stratosk,

I'm in CM 10 like 3 weeks and was waiting until I feel it stable. I thought let's try your Kernel later so that I can see the difference :). In ICS I was using yours.

Today for a by mistake wireless issue (I forgot one character in password so couldn't connect) I flashed your kernel. Accidentally I flashed 's' version Semaphore_JB_2.0.6s version. And for fast few hours I didn't had any problem with the phone. My Ram showing as 391MB. And I never done any modification to my phone so I'm pretty sure I don't have the patch. (Stock CM10).

How it's possible? Since it's working why can't I use 's' version. What I'll be missing. I know 720p vider recording will not be available for BigMem version.

Thanks for your great work...

Hi,
's' version will work fine on cm10, except the issues in camera and in video playback. If you don't have these then most probably you have patched your ROM.
 
  • Like
Reactions: kathees

kathees

Senior Member
Feb 8, 2012
145
13
Singapore
Hi,
's' version will work fine on cm10, except the issues in camera and in video playback. If you don't have these then most probably you have patched your ROM.

Hi,

Thanks for the reply. Can I know what is the issue in camera and video playback? I tested it my self. Camera I can take photos without any problem. But video 480p/720p both I can't shoot.
As for video I tried a .avi video in MoboPlayer and it's playing.

I'm pretty sure I haven't patch the CM10. It's stock except your kernel.

It's looks like if we can give up video recording we can have more ram :) (Without 's' version even if we enable BigMem we can't get 391MB - But in that 480p video record-able.)

Anybody have any idea CM10 by default includes the patch??



I tried to enable BigMem and checked what happens. It's same again camera photo taking working and video playback working. Can't shoot video. In that case can I assume 'if we use "s" version in CM10 we will only lose video recording no matter normal/BigMem version'?
 
Last edited:

yahyoh

Senior Member
Nov 7, 2011
4,867
1,929
Amman
Hi,

Thanks for the reply. Can I know what is the issue in camera and video playback? I tested it my self. Camera I can take photos without any problem. But video 480p/720p both I can't shoot.

As for video I tried a .avi video in MoboPlayer and it's playing.

I'm pretty sure I haven't patch the CM10. It's stock except your kernel.

It's looks like if we can give up video recording we can have more ram :) (Without 's' version even if we enable BigMem we can't get 391MB - But in that 480p video record-able.)

Anybody have any idea CM10 by default includes the patch??

here the latest patch it was posted 2 or 3 page back ( i didn't test it :eek: )
 

Attachments

  • JB_BigMem_23-aug-12.zip
    249.5 KB · Views: 47
  • Like
Reactions: kathees

kathees

Senior Member
Feb 8, 2012
145
13
Singapore
here the latest patch it was posted 2 or 3 page back ( i didn't test it :eek: )


Thanks for the patch. I don't want to use any modifications for now :). I was just wondering whether this patch is included in Cm10 by default. Because I observed I can use 's' version in Cm10 with/without BigMem and only video recording not working. (Both 480p and 720p)
 

yahyoh

Senior Member
Nov 7, 2011
4,867
1,929
Amman
Thanks for the patch. I don't want to use any modifications for now :). I was just wondering whether this patch is included in Cm10 by default. Because I observed I can use 's' version in Cm10 with/without BigMem and only video recording not working. (Both 480p and 720p)

no its not include and it will not

big mem will break 720p , S version will not break anything if use it on patched rom or if use the patch on any rom
 

kathees

Senior Member
Feb 8, 2012
145
13
Singapore
no its not include and it will not

big mem will break 720p , S version will not break anything if use it on patched rom or if use the patch on any rom


Thanks, I'm aware that BigMem in normal version will break 720p.

My doubt is if we use 's' version in a unpatched rom what will break? For me only Video record breaks both 480p and 720p. I'm doing more tests to findout. Problem is with 's' version in un patched rom 480p video record also fails.
 

yahyoh

Senior Member
Nov 7, 2011
4,867
1,929
Amman
Thanks, I'm aware that BigMem in normal version will break 720p.

My doubt is if we use 's' version in a unpatched rom what will break? For me only Video record breaks both 480p and 720p. I'm doing more tests to findout. Problem is with 's' version in un patched rom 480p video record also fails.

it will break some video types playback and maybe 720p playback idk and it will break the camcorder :(
why u don't wanna use the patch and make things easier :)
 
  • Like
Reactions: kathees

kathees

Senior Member
Feb 8, 2012
145
13
Singapore
it will break some video types playback and maybe 720p playback idk and it will break the camcorder :(
why u don't wanna use the patch and make things easier :)

Hi,

You're correct. I tried to copy some of the 720p videos and play it in MoboPlayer. They are playing but very snappy. Frame rate is very very slow. But normal videos play fine. (Both with/without BigMem)

I'm going to use patch, thanks for the suggestion. :) I'm just curious to find out things ;)

Anyway now my final conclusion is, if we use 's' version in unpatched rom

1) Video recording won't work (Both 480p and 720p)
2) 720p video playback very snappy
3) camera photo taking no problem

Strange same observation for BigMem enabled and disabled :confused:

BTW,
I guess for 's' version also (if we patch the rom) enabling BigMem is same effect as normal. (i.e 720p video recording won't work) How about 720p playback? Will it work? Correct me if I'm wrong...
 
Last edited:

jugster

Senior Member
Aug 4, 2010
348
147
Hi,

You're correct. I tried to copy some of the 720p videos and play it in MoboPlayer. They are playing but very snappy. Frame rate is very very slow. But normal videos play fine. (Both with/without BigMem)

I'm going to use patch, thanks for the suggestion. :) I'm just curious to find out things ;)

Anyway now my final conclusion is, if we use 's' version in unpatched rom

1) Video recording won't work (Both 480p and 720p)
2) 720p video playback very snappy
3) camera photo taking no problem

Strange same observation for BigMem enabled and disabled :confused:

BTW,
I guess for 's' version also (if we patch the rom) enabling BigMem is same effect as normal. (i.e 720p video recording won't work) How about 720p playback? Will it work? Correct me if I'm wrong...

You probably don't mean snappy. Stuttering is probably what you want to say. Right?

Signature? Signature!
 

kathees

Senior Member
Feb 8, 2012
145
13
Singapore
You probably don't mean snappy. Stuttering is probably what you want to say. Right?

Signature? Signature!

Yeah, that's what I meant :). Video breaks play like step by step and not good sound also. Some videos I couldn't hear anything and it was like screaming :)


But just now I flashed CM10 stock kernel but still video playback is stuttering. It's some mkv format 720p videos. I play it in MoboPlayer. One song is around 250MB. Anyone can play videos this size? If not any player I can play without issues?

Okay, I downloaded some 720p videos from youtube and they work fine. But their size is less than 100MB. So I guess my files are too big to play.... :(
 
Last edited:

kasper_h

Inactive Recognized Developer
Oct 8, 2010
5,308
16,087
Xiaomi Mi Mix 2S
Samsung Galaxy A52 4G
The patch is a change in the CM10 source code:
https://github.com/kasperhettinga/a...mmit/c0d128613c026d1a8c685cb6bd40cd0981738b3f
The changed libs which have been created after CM10 building go in the zip.

I don't notice any disadvantages of these patched libs compared to the stock libs. But because reliability of both recording and playback is theoretically reduced, it will not go in stock CM10. A decision I can understand. Same is true for many of the additional functions in custom kernels. They may work well for 99% of people, but stock CM10 will not include them easily...
 
  • Like
Reactions: kathees

rkaede

Senior Member
no its not include and it will not

big mem will break 720p , S version will not break anything if use it on patched rom or if use the patch on any rom

so how do we know if its a patched rom? in order for us to use the s version? is there like separate patch that we can apply to make any rom consider as a patched?
im talking about the possibility using the s version. not the 720p patch thing.
 

Top Liked Posts

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



    This is a kernel based on the pawitp's one and it works for Android JB ROMs.

    Semaphore <= 2.6.6 for 4.1.2
    Semaphore >= 2.8.0 for 4.2
    Semaphore >= 3.1.0 for 4.3
    Semaphore >= 3.4.0 for 4.4



    Features

    - Linux kernel 3.0.101
    - LiveOC
    - Custom Voltage
    - Voodoo Sound
    - BLN & CM LED
    - 384MB - 409MB available RAM
    - Compiled with Linaro 4.7.3
    - O3 optimization
    - Auto brightness driver
    - Touch Wake
    - Vibration intensity
    - Deep Idle
    - USB host driver
    - Governor ondemand (default)
    - ondemand: sampling_down_factor tunable by momentum, smooth_ui
    - Governor conservative (module, smooth_ui)
    - Governor smartassV2 (module, smooth_ui)
    - Governor interactive
    - Noop I/O scheduler (default)
    - Deadline I/O Scheduler (module)
    - Simple I/O Scheduler (module)
    - ROW I/O Scheduler (module)
    - CFQ Scheduler (module)
    - CIFS as module
    - TUN as module
    - Logcat disabled (as module only)
    - Standard network packet scheduler
    - Kernel log buffer size 4KB (from 128KB)
    - Reduced debug info
    - TinyRCU
    - Fast Charge support
    - WiFi PM_MAX when suspend
    - CWM: AROMA Filemanager
    - /system/etc/init.d directory creation if not exist

    How to use
    Please read How to use Semaphore JB guide for information about the features

    In order to load various modules of the kernel and enable or disable features use Semaphore Manager or use HM.Carbide's Semaphore Script Manager application. It automatically copies and runs the respective scripts from /res/scripts to /system/etc/init.d directory.
    Custom Voltage may be configured with Voltage control or similar applications.

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

    For questions or issues about Semaphore Manager please visit this thread

    For questions or issues about Semaphore Script Manager please visit HM.Carbide thread

    Thanks to Superuser, you may download a wonderful custom bootanimation for CM9 from http://www.semaphore.gr/downloads/boot-animations


    Thanks to

    pawitp for his kernel.
    zacharias.maladroit for his useful information about CM's initramfs
    HM.Carbide for his Semaphore Script Manager application.
    Ezekeel for LiveOC, Custom Voltage
    sztupy for USB host driver
    koush for CWM
    xcaliburinhand for his work about dock support
    mialwe for his vibrator intensity and other fixes
    ShadowInkDesigns for Android logo
    trailblazerz11 for his help with Linaro and other changes
    amarullz for Aroma file manager
    DerTeufel1980 for various hints
    Maroula Th. for Semaphore Logo
    sUsH667 for Aroma FM configuration and theme
    grinder777 for his great support
    n8r for UHID

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


    Change log

    Please note that there are 2 variations:
    Normal versions: for CM10 or ROMs without hugemem configuration, available RAM 384MB - 396MB
    's' versions: for Slim Bean ROM or patched ROMs with hugemem configuration, available RAM 397MB - 409MB

    3.4.3 (12/03/2014)
    - initramfs updates for CM11 latest nightly compatibility
    - CWM upstream sync


    3.4.2 (23/02/2014)
    - Fix AromaFM execution issue in recovery

    3.4.1 (20/02/2014)
    - Merge changes from CM kernel (blue screen issue, JPEG memory optimization, initramfs thanks to pawitp)
    - CWM 6.0.4.7

    3.4.0 (06/12/2013)
    - Support for KitKat 4.4
    - CWM 6.0.4.5
    - SELinux enabled
    - FUSE built-in

    3.3.0 (28/10/2013)
    - Linux kernel 3.0.101
    - CWM 6.0.4.4
    - initramfs changes for CM compatibility

    3.2.0 (27/09/2013)
    - Linux kernel 3.0.97
    - CWM 6.0.3.8
    - initramfs updates to sync with CM

    3.1.0 (17/08/2013)
    built for JB 4.3 (thanks to CM team)
    - Linux kernel 3.0.91
    - CWM 6.0.3.6
    - SELinux disabled

    3.0.0 (30/06/2013)
    - Linux kernel 3.0.84
    - gpu: pvr: Update to DDK 1.8@2198402
    - net: wireless: bcmdhd: Update to version 5.90.195.104
    - cpufreq: ondemand: Drop early demand
    - CWM: upstream updates

    -new version AromaFM 1.90 (thanks to amarullz)
    Changes by sUsH667 (many thanks)
    -base updated to aromafm 1.90
    -deleted all languages except english
    -deleted all iconsets
    -deleted all fonts except roboto
    -added german language
    -added iconset "generic" from older aromafm-version
    -added preconfigured config
    -added bookmarks for often used folders: /system, /sdcard, /emmc, /sdcard/Download

    Full changelog: http://www.semaphore.gr/changelog/jb-kk-version
    Deep Idle Guide and FAQ


    Sources

    The Linux Kernel
    Samsung Kernel sources
    Semaphore kernel sources

    How to build
    http://www.semaphore.gr/how-to/build-semaphore-jb-kernel


    Please use it at your own risk!

    The attachment zip files are for flashing from CWM recovery.
    The attachment tar files are for flashing through Heimdall/ODIN.

    Attachment files md5sum:

    5cc7e55133a55f5c9a24b1b975ffa7ac Semaphore_KK_3.4.2s.tar
    9bc3f0532c24e08e1a6eca3c4063f788 Semaphore_KK_3.4.2s.zip
    296bce6b0abfd5edc0cfacd7e1cdebed Semaphore_KK_3.4.2.tar
    e5ec4b188f957e4432663897e3bec67e Semaphore_KK_3.4.2.zip
    e315e9b37600810a542ee512ae1b2841 Semaphore_KK_3.4.3s.tar
    ce50f3479c46658e8dccafede6598058 Semaphore_KK_3.4.3s.zip
    37cda08f74bbae8fd2529ab3682ca28f Semaphore_KK_3.4.3.tar
    483468c3cec23c1198ec94f66627b553 Semaphore_KK_3.4.3.zip

    Alternative download from http://www.semaphore.gr/downloads/gt-i9000-jb-kk
    118
    Thanks everybody for your words and your support!
    Your huge support and interest about Semaphore makes me want to try even more for something better.

    Maybe it's not obvious, but I'm working hard on this project. Last weeks, I try more to expand my knowledge and contribute to Linux kernel.
    As I said, this may not have immediate affect in Semaphore versions. But I hope for some results in near future.

    Semaphore is here. I'm here. Semaphore will not stop. I will try to contribute to Linux kernel, through this project. Maybe using other device, but with the same goals.

    Thanks again for everything.
    110
    New version 3.0.0

    - Linux kernel 3.0.84
    - gpu: pvr: Update to DDK 1.8@2198402
    - net: wireless: bcmdhd: Update to version 5.90.195.104
    - cpufreq: ondemand: Drop early demand
    - CWM: upstream updates

    -new version AromaFM 1.90 (thanks to amarullz)
    Changes by sUsH667 (many thanks)
    -base updated to aromafm 1.90
    -deleted all languages except english
    -deleted all iconsets
    -deleted all fonts except roboto
    -added german language
    -added iconset "generic" from older aromafm-version
    -added preconfigured config
    -added bookmarks for often used folders: /system, /sdcard, /emmc, /sdcard/Download
    102
    New version 2.9.5
    - Linux kernel 3.0.58
    - fix to interactive from 3.4