yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] TsarFlow:
I'm using AOSP kernel on SlimBean Beta 3, seems good, OC at 1,2GHz. Just continue to tweak :) Seems that row scheduler disappeared.
[Nexus S Android Development] ottoemezzo:
Everything seems to work fine except for the camera. I'm also on SlimBean Beta 3.

I really appreciate your continuous support, thank you Bedalus!
[Nexus S Android Development] Zahih:
Boots fine, I'm on Carbon Nightly 0830,

Camera not works, other than that all good.
[Nexus S Android Development] adm1jtg:
I can confirm camera issues on the cm version as well. Errors like gallery crashing or a message that it cannot connect to camera.

Update: Googlemusic also seem to not work with this kernel an issue I have seen with all the test builds since 8.7 It just says it cannot play the track.

I have an aside question [MENTION=4128576]bedalus[/MENTION] I have been following your kernel for a very long time and unlike most kernels you NEVER have included many gov or io choices. This is obviously by design is your belief that the ones you include are really the only ones worth using or does adding in the extra choices somehow take away from performance or memory use of the kernel. As an example I would love to see gov like interactivex and smartassv2 (smartassv2 disappeared in last build) and for io it seems sio, noop (in current test build) , and deadline are listed alot as personal choices. With you basically rebuilding from scratch should we expect to see more choices or as i asked above do these extra choices somehow detract?
[Nexus S Android Development] TsarFlow:
I can't watch Youtube videos anymore, saying there is an error.
[Nexus S Android Development] leap_ahead:
Try to delete libstagefright.omx.so from kernel zip and flash rom again with kernel

i dont have any problem here !!all ok like before !
[Nexus S Android Development] :
Can you upload the current version for me please?
[Nexus S Android Development] 123go!:
I have the 8.7 bigmem version with that stage fright file deleted, is that what you want?
[Nexus S Android Development] leap_ahead:
what ????

here my libstagefright.omx.so View attachment 2225467 unzip !!
[Nexus S Android Development] :
Yeah, I think it will work in both cm and aosp 4.3 and is required for bigmem and the camera to work properly
[Nexus S Android Development] nishantsikri13:
i tried CM now. it booted now but it got stuck at homescreen and again and again...
[Nexus S Android Development] Zahih:
Thanks .. Now camera works
[Nexus S Android Development] :
New marmited versions for 4.3 ROMS:

AOSP version: http://d-h.st/9aH

cm/custom io control: http://d-h.st/q4g

These have been tweaked with the usual stuff I do. Camera should work fine. Anything missing? Anything broken?
[Nexus S Android Development] 123go!:
Awesome! Flashing now, will report back later on :D

Thanks!

OK, flashed the version above, worked fine. I went to NS tools to change the settings to what I usually run, and as soon as I changed the I/O scheduler from "CFQ" to "deadline", it rebooted and was stuck on the boot logo. I am on CM 10.2 nightlies Aug 31 build.

Pulled the battery and rebooted, seems ok now, I was able to tweak the settings...

Editing again. Cameras don't work, neither stock camera or Focal.
[Nexus S Android Development] Serris:
Stock camera working fine for me, havent tried focal. Also on latest CM10.2 nightly
[Nexus S Android Development] Zahih:
Great...! Thanks [MENTION=4128576]bedalus[/MENTION]...

Should I delete libstagefright.omx.so before flash this?

Edited:

I flashed CM version on Carbon 0830 nightly:

Camera works without delete libstagefright.omx.so

And I can see this is high bigmem ⇝ good.

But there is no BLN & BLD ? Can you add them again Bedalus? Thanks
[Nexus S Android Development] :
New versions with SELINUX enabled

AOSP: http://d-h.st/HVn

CM/custom io control: http://d-h.st/dwE

BLN and BLD should be working for cyanogenmod users using cm settings. Can someone check?
[Nexus S Android Development] leap_ahead:
flash now..

no boot ...stuck at google

---------- Post added at 10:12 AM ---------- Previous post was at 10:04 AM ----------

no zcache on this version ..
[Nexus S Android Development] ottoemezzo:
Flashed AOSP version for SlimBean beta 4. Everything is working fine, including stock camera and Play Music. I'm missing BLN and BLD though.

I tried the SELinux enabled kernel too, but I stuck on boot too.
[Nexus S Android Development] :
Wait for tarak to see if he can make it work
[Nexus S Android Development] leap_ahead:
good :p
[Nexus S Android Development] ottoemezzo:
Sure, will do. But maybe he already did make it work, because the 4.3 builds of SlimBean are still coming with marmite kernel.

Sorry if you meant something else.

EDIT:

You must have meant SELinux status, sorry.
[Nexus S Android Development] DerTeufel1980:
Crespo parts got removed by cm. Only way to control it is using nstools or deviltools

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Nexus S Android Development] 123go!:
Just flashed this version, stuck at google logo!

going back to the modified 8.7 bigmem with libstagefright deleted for now....
[Nexus S Android Development] spupuz:
what about fastcharge? do you have any plano to implement it?
[Nexus S Android Development] :
Unfortunately it's not something I'll ever use. I'm just sharing what I made for myself.
[Nexus S Android Development] spupuz:
no probelm :) just to know i like the effort you put in this comunity don't worry.
[Nexus S Android Development] leap_ahead:
hello i am i9023 user ..but i want the crt fix , sorry i cant test your kernel ..
[Nexus S Android Development] Tonyroid:
Can you add 65fps
[Nexus S Android Development] :
No, it's a battery sucker
[Nexus S Android Development] :
Any i9023 users on it yet?

In other news, just noticed that thalamus' IDLE2 code has it's own screen off fixed frequency, set at 800. Wonder if it'll work at 400. I'm going to apply his latest patch, then I'll build a few test versions with different frequencies to see if 400 is the most efficient. It'll be fun to bust out the amp-meter again!
[Nexus S Android Development] :
If only i could put in competence! :p
[Nexus S Android Development] semprom:
i9023 and no luck, can't boot.
[Nexus S Android Development] :
Looks like thalamus has squashed a very nasty bug in the late_resume function, which is called when you click your power button to bring the UI back up. I'm going to apply his latest patches, then I'll see if I can get a stable 400 MHz fixed IDLE2, which now seems quite possible. Yay!
[Nexus S Android Development] y3mita:
Haven't been here in a while. Noticed no voodoo colors on 2.3 . Thanks anyhow bedalus
[Nexus S Android Development] :
My as yet unavailable new version has voodoo colours, but they are still operating in a funky way due to morfic's multipliers. I need to look at that, but the priority is now getting i9023 support.

The new test version is to update thalamus' IDLE2 code. Unfortunately I'm getting SODs again.
[Nexus S Android Development] alen1901:
I would suggest something. Make identical kernel which you made for ics (1.4d), only for JB(based on cm10 jelly bean kernel). You cant go wrong there. I think.

Sent from SpeedMachine i9023
[Nexus S Android Development] Articudos:
Hmm...so No more "improved ezekeel's deep idle by you"?
[Nexus S Android Development] :
Well, the improvement was to get a fixed frequency for improved efficiency, but since ezekeel's DI is unstable on JB, and IDLE2 works and already has a fixed frequency, it's an easy choice. Also, thalamus seems obsessed with cheaper code paths, which is CPU cycle saving and therefore more efficient. When I look at the changes he's made, I can only understand some of it, and I know it would take me years to develop the skill to do code like that.
[Nexus S Android Development] :
Ok, I modified thalamus' code for IDLE2 to be fixed at 400MHz, which I believe to be the most power saving (not tested yet). I got instant SOD.

However, I've built a version of thalamus kernel from his source, and this tweak works fine. So I'm going to build one at 200, one at 400, one at 800, and test to see which is the most power saving.

If thalamus doesn't mind, once I've established which is the most power saving, I'll incorporate my usual tweaks and release.
[Nexus S Android Development] :
Here is v3: http://d-h.st/4fS

-Thalamus base

-fixed morfic's colours (thanks for voting)

-idle2 disabled for now

Can i9023 users please test too? EDIT: confirmed working :D

Thalamus said this was ok btw. Thanks for the awesome base.
[Nexus S Android Development] Nantaphan:
im on i9023 can boot now ^^ thx

but can u fix CRT ??
[Nexus S Android Development] sykomaniac:
Edit never mind

Sent from my Nexus S
[Nexus S Android Development] tchaari:
Yes it boots fine buddy. After including idle2, can you please think about putting ondemand back? The only included governor in thalamus kernel is "interactive". I found it too hungry in terms of battery but I need to compare them to be sure :)
[Nexus S Android Development] :
Thanks again. I will abandon the CM rebase and attempt to make it work on the most recent marmite instead.

People who had bootloops, can you please wipe cache and re-try?
[Nexus S Android Development] 123go!:
Did that, it was still stuck at google screen. Needed my phone so I flashed the older version!
[Nexus S Android Development] ottoemezzo:
I tried that, but wiping didn't help either: still bootlooping.
[Nexus S Android Development] :
Here is another to test,

AOSP: http://d-h.st/lUQ

CM/custom io control: http://d-h.st/scy

with SELinux enabled. Does it boot?
[Nexus S Android Development] tchaari:
Guys, when SeLinux is enabled in kernel, it will work only on ROMs supporting SeLinux. I am testing a slim bean version with full selinux support with the last changes from bedalus...
[Nexus S Android Development] ottoemezzo:
After wiping cache (and before the second attempt dalvik) the AOSP version still not booting.

EDIT:

Forgotten to add, that I was trying on SlimBean beta 4.
[Nexus S Android Development] tchaari:
That won't work. SlimBean beta4 doesn't have Selinux support. I didn't wanted to release it without deeply testing it.

I am building a test version with full SeLinux support (Rom level and kernel level)...
[Nexus S Android Development] ottoemezzo:
I wasn't aware of this. So it seems I couldn't help much :(, sorry if I misled anyone. Maybe someone who uses a rom with SELinux support could test the last releases, until tchaari builds a new test version.
[Nexus S Android Development] :
tarak, you can now use marmite8.5 branch again (Enabled SELinux there in the config, also zcache is disabled)

See which one works best!

Edit: Sorry everyone who was testing... I assumed all 4.3 ROMs required SELinux to work! :o
[Nexus S Android Development] tchaari:
No problem, you can go back to beta4 and I'll report back here soon about selinux test :)

Skitz is working with me. As we are 2 on it, I think we will get a final point quickly :)

---------- Post added at 03:33 PM ---------- Previous post was at 03:31 PM ----------

Thank you Dave. That's what i am doing with skitz now. Btw, do you know how to diable zcache in cm10_2 too? :)
[Nexus S Android Development] :
I'll check and push now...

EDIT: done! :D

EDIT2: Early signs are good that SELinux is working. Now tchaari is getting Slim Bean test builds together for his testers to test :p

If anyone else sees any 4.3 ROMs with SELinux enabled, I'll put out some more builds which should be compatibile.
[Nexus S Android Development] leap_ahead:
Sorry any build for non selinux ?
[Nexus S Android Development] tchaari:
For non selinux, normal marmite 4.2.2 works fine :)
[Nexus S Android Development] :
Yep, I'll do a fresh one tomorrow
[Nexus S Android Development] superng888:
Not sure whether its just me or its so beautiful seeing two devs working together :thumbup:
[Nexus S Android Development] leap_ahead:
good !!!
[Nexus S Android Development] morrigan91:
Hi Guys.. currently

1. With ROM Android 4.3 with SElinux disable i can flash without error Marmite 8.7 or previous and all work.

2. With ROM Android 4.3 with SElinux enable i can flash the last test kernel.

Right ????

I try to flash last test marmite ( CM version ) on Carbon and on Illusion both with SElinux enable but not boot and stack on google logo...
[Nexus S Android Development] :
I'll build one for you too
[Nexus S Android Development] spider623:
Oh [MENTION=4128576]bedalus[/MENTION] something tells me that you will buy a used nexus s :p
[Nexus S Android Development] :
I was thinking about this the other day. There was one on ebay yesterday with a faulty power button that sold for about £40 which would have been pretty good as a development object, but I just don't have the time that I used to, so really I can't justify spending the money on something that I would only use to flash kernels. I have kernel source for my current HOX+ and that's enough to keep my hand in.

I'll try to make sure you guys have something up-to-date now anyway!
[Nexus S Android Development] :
Here's one where SELinux should be working properly:

AOSP: http://d-h.st/C45

CM/iocontrol: http://d-h.st/H6S

I think one of these should work with your ROM.

tchaari says there are some performance issues compared to running without SELinux, but then again, these issues might be from rebasing on CM's source. I will continue to try to discover the source of any lags.
[Nexus S Android Development] :
[MENTION=1871006]leap_ahead[/MENTION] You're using cm nightlies on android 4.3 right?
[Nexus S Android Development] :
And these are ordinary marmite (should work with ROMs without SELinux)

AOSP: http://d-h.st/tfT

CM/custom io control: http://d-h.st/1Bn

With these can you report back if the camera is working properly. If not what android version are you running?

I may need more up-to-date copies of some libraries for 4.3 ROMs:

libOMX.SEC.M4V.Decoder.so

libstagefright_omx.so

libOMX.SEC.AVC.Decoder.so

libOMX.SEC.M4V.Encoder.so

libOMX.SEC.AVC.Encoder.so

libSEC_OMX_Core.so

If anyone on an android 4.3 cyanogenmod nightly can copy these from /system/lib before flashing my kernel, and upload them? I may need to ensure they are up-to-date with android 4.3 for compatibility. (These libs should work on AOSP too, I believe...)
[Nexus S Android Development] Serris:
Here you go, I just took them from rom zip, if thats ok? :)

EDIT: [MENTION=4128576]bedalus[/MENTION] any chance you might include noop scheduler in newer marmite releases?
[Nexus S Android Development] Zeratul91:
Both versions work on cm 10.2. The one without selinux is very similar to 8.7, the other one lacks bln (enabled under buttons but not working) and custom voltage control and has zram like cm kernels and feels quite snappy.

EDIT: Zram can be enabled but seems broken :D

Inviato dal mio Nexus S con Tapatalk 4
[Nexus S Android Development] TsarFlow:
For SlimBean this is AOSP one right?

Here is the files you wanted, original SlimBean kernel.

EDIT : Last AOSP non-Selinux kernel on SlimBean works well. Similar to 8.7.
[Nexus S Android Development] leap_ahead:
No is aosp rom

---------- Post added at 01:39 AM ---------- Previous post was at 01:35 AM ----------

For libs i think no problem to use the old one because i dont havevany problem ..only the libstagefright is the problem.on all 4.3 rom

[MENTION=4128576]bedalus[/MENTION] something wrong with kernel ..i try selinux and non and is boot now ... So whick one i must use?
[Nexus S Android Development] superhil:
currently i'm using CM 10.2 nightly, and it seems BLN isn't working... :'(
[Nexus S Android Development] morrigan91:
Hi, [MENTION=4128576]bedalus[/MENTION].

Many thanks for new version.

I try CM version on Carbon and illusion and boot, work all and fast ( bt,wifi,call,camera ecc.. no reboot ) Ram 409 Mb.

The AOSP version on Carbon and Illusion boot, but very slow and smartphone unusable

with menù performance of rom i can change Governor (performance,smartassv2,ondemand) and scheduler (noop,cfq,row,deadline) and active Zram

with Nstools not possible to change Governor, menù is gray ( i think app iusses ) and Zram.

missing BLN,BLD,BLX

Marmite 9 is ready :p????

Thanks
[Nexus S Android Development] Serris:
You have to fix nstools permissions, in order to be able to change the governor, if you use older cwm recovery you can run fix permissions.

Or manually change permissions to every file that has been created by nstools to rwx-r_x-r_x (755).

Or you can try Deviltools, I have no issues with it.
[Nexus S Android Development] spider623:
Have a kit Kat or android 4.4 xD
[Nexus S Android Development] ej8989:
Works good on slimbean beta4. Camera works properly (and fast). Also BLN, BLD works fine.
[Nexus S Android Development] Lar5:
Yes, it boots and works fine on SlimBean beta 4.

SElinux status: "Permissive"

In Trickster MOD the option to adjust voltage is gone.

No BLN ,BLD or BLX
[Nexus S Android Development] leap_ahead:
I am on selinux kernel on non selinux rom and i dont have any problem ...only bln i miss
[Nexus S Android Development] morrigan91:
thanks I know, but do it all the time after flash is boring .. is faster and easier to install an apk.. ( Deviltool work fine )

maybe a Marmite tool.. :D
[Nexus S Android Development] leap_ahead:
where we can see zram on this kernel ? only i see slab and ksm
[Nexus S Android Development] morrigan91:
Is possible to enable on preformance ROM ( disable;10%;18%defualt;26% ), but seems broken.
[Nexus S Android Development] leap_ahead:
i mean a folder on phone
[Nexus S Android Development] morrigan91:
I browse carbon rom with es explorer root w/r permission but not find any folder zram,slab,ksm....

Sorry..

found sys/kernel

mm/ksm

slab

but no zram folder.. ok not work..
[Nexus S Android Development] leap_ahead:
yes that i mean
[Nexus S Android Development] ironia.:
if i flash your file 'stock_kernel_JB_JRO03E.zip' is ok for stock 4.1.2?

many thanks
[Nexus S Android Development] :
Here are some more SELinux enabled versions

AOSP: http://d-h.st/P8r

CM/Custom IO control: http://d-h.st/5e7

I'm not sure if they'll work, so make sure you have something ready to flash back to
[Nexus S Android Development] Zeratul91:
Working good on latest cm after cache&dalvik wipe, bln and custom voltage now supported again :D!

Zram still there (not tested) and swap works like last version. I think the only feature still missing is row scheduler, apart from that is perfect.

Thank you for the amazing work :D

Inviato dal mio Nexus S con Tapatalk 4
[Nexus S Android Development] :
Can you do a reboot and see if it goes into a boot loop?
[Nexus S Android Development] Zeratul91:
It goes in bootloop :eek:!

I did only a softreboot and didn't notice that... I had to wipe cache and dalvik to boot again without roolback.
[Nexus S Android Development] :
Hmm, I've missed some important commit somewhere...

EDIT: Ugh, I see it. It's going to be a pain to merge in. Not sure I'll get it done tonight.
[Nexus S Android Development] :
Over-estimated the complexity of the missing commit. Two new ones to test:

AOSP: http://d-h.st/9Fi

CM/custom io tweak: http://d-h.st/rbr

Does it reboot to a bootloop??
[Nexus S Android Development] Serris:
I would dare to say you uploaded aosp to supposedly cm one :P

EDIT: Actually just the links are same, didn't notice before

I'm guessing this is the CM/custom io tweak: http://d-h.st/rbr
[Nexus S Android Development] adm1jtg:
Testing aosp on a slim build with tchaari and the aosp one at least survives a reboot now. Testing further. Great work
[Nexus S Android Development] leap_ahead:
all ok with this http://d-h.st/rbr !!

---------- Post added at 01:14 AM ---------- Previous post was at 01:06 AM ----------

yes!
[Nexus S Android Development] TsarFlow:
Just a question, how can phone handle 1.3GHz OC ? I often get reboots :/
[Nexus S Android Development] adm1jtg:
Easy answer is most cannot and reboot or become unstable at that high oc unless you mess with raising voltages as well and even then most wont be stable past 1.2
[Nexus S Android Development] ej8989:
+100mV to all frequencies
[Nexus S Android Development] :
Hopefully I don't program like I copy/paste :p
[Nexus S Android Development] morrigan91:
all ok with this last CM Version http://d-h.st/rbr !!

[MENTION=4128576]bedalus[/MENTION] is possible that with your kernel has fix this iusses ?

On All ROM 4.3 CM tweak's arrow don't show ( Kernel Stock CM ), with your Kernel show... :o
[Nexus S Android Development] ironia.:
i'm on stock 4.1.2 and use your kernel 8.7 which is the dafault settings?

thanks
[Nexus S Android Development] :
cfq ondemand is the default
[Nexus S Android Development] :
here is v9 beta

AOSP: http://d-h.st/qMP

CM tweak/Custom IO control: http://d-h.st/pfq

ROW is back, CFQ is default again.

Does anyone want to see if this still works on previous android too? I.e. 4.2.2. / 4.1? For android 4.3 it'd be really useful if people test at 1GHz all the different usages of the device to check for stability at the stock speed. Please feed back!
[Nexus S Android Development] ej8989:
Wrong link for AOSP. Should be this one: http://d-h.st/qMP
[Nexus S Android Development] :
Hmmm, yes, I got it wrong again!
[Nexus S Android Development] TsarFlow:
I'm using stock speed, it's smooth and it seems that everything works well. Gonna try a benchmark and report it back by editing this post.

EDIT : Got 5300 on AnTuTu, no reboot, I'll keep this speed and see how it goes with Facebook/Twitter/Youtube and games. Still faster than previous kernel :)
[Nexus S Android Development] sisterchick:
Thank you!

Thank you, kind sir, for this beta kernel. I

really

missed BLN control at night since going to CM 4.3. I'm running defaults and so far no issues. Will report back. Again, thank you.:)
[Nexus S Android Development] leap_ahead:
SELinux?
[Nexus S Android Development] Miguun:
Working here with CM10.1.3 :) !

Thanks for the update!
[Nexus S Android Development] adm1jtg:
Working great on slim beta 5 (its included now) only thing I have noticed is that at times the old green tint is back for screen off and screen on and that there are definitely some times the screen is VERY slow to wake up... aka hit power button and for 2-4 seconds you get a black screen as the phone wakes back up. It doesn't happen all the time I would say happens like 1 in 4 times. Seems more pronounced if you have a lock screen, which i don't usually use.

Other then that this kernel flies, extremely responsive and makes beta 5 smoother then butter. Also to whoever was asking selinux is enabled in permissive mode and works properly on slim beta 5 with this new marmite kernel.

Outstanding work. Nexus S lives on
[Nexus S Android Development] dark'em:
Thank you, glad to see that someone still cares enough to build kernels for our devices
[Nexus S Android Development] :
Yes, it should be possible to enable this now
[Nexus S Android Development] :
I know what's causing the green flash. It can be solved by increasing a particular delay. It's funny that it's back. I think the addition of the SELinux stuff is causing some additional processing in places... processing that needs completing before other things are allowed to happen. It's probably what's causing the delays with the screen

Is anyone else experiencing these problems since the addition of SELinux?
[Nexus S Android Development] TsarFlow:
Didn't notice it before but now I admit that sometimes it takes a bit longer to wake up.
[Nexus S Android Development] V_tunes:
i haven't wake problem, just notice that camera and focal doesn't work, btw, i am using cm 10.2 nightly.
[Nexus S Android Development] leap_ahead:
no problem for wake up !!i9023

---------- Post added at 02:25 PM ---------- Previous post was at 02:14 PM ----------

yes I see... but no zcache ..u can enable ?
[Nexus S Android Development] :
zcache is an experimental feature. When I'm satisfied the kernel works well, I'll add it back
[Nexus S Android Development] ej8989:
5300 on antutu @ 1GHz? I only get 5000+ antutu scores when i'm @ 1400mhz constant speed (performance governor), and on stock (1GHz) speed i can only get as low as 4000. Is this the latest antutu?