yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] Setting.Out:
Shhh.. Don't tell anyone, but I went ahead and did a small update to CyanAOSP.. thus I had to do a clean install of the rom and then installed your kernel, hopefully eliminating any outside factors.. So far I have had over 10hrs of problem free fun and a good battery life as well..
[Nexus S Android Development] drac0:
How much is this zcache in trading of CPU time and whats the impact on the system/battery? Thanks!

---------- Post added at 11:46 PM ---------- Previous post was at 11:45 PM ----------

I'm chilling with latest Omni past two days and working like a charm :)
[Nexus S Android Development] giorgis91:
Does it work on latest slimmest(4.4.2)?
[Nexus S Android Development] :
Zcache doesn't use much battery because the compression algorithm is pretty efficient. Being able to recover cached data from ram is cheaper than reloading it from disk, so it could save battery.
[Nexus S Android Development] :
I've got new versions I will push later today
[Nexus S Android Development] :
Should work with everything
[Nexus S Android Development] SEK610i:
JellyBean ROMs also?

Great to see you are back. :victory:
[Nexus S Android Development] drac0:
Great news! Did you maybe had time to look for CM version not firing up those BLN and BLD with CM nightly/M8?
[Nexus S Android Development] :
Please try it and let us know. If it doesn't work, most likely I will have to disable selinux. I'm happy to make a separate jellybean build if necessary
[Nexus S Android Development] :
Maybe I'm missing some required library
[Nexus S Android Development] SEK610i:
Ok, I will try it in the afternoon. Will the stock ROM be ok, or should I test with any specific ROM?
[Nexus S Android Development] kriout:
10.2 on cm nightly wifi-AP doesn't work.
[Nexus S Android Development] drac0:
Hmm it works under Omni but CM has it different cos of BLD, maybe this could help,

https://github.com/CyanogenMod/andr...rameworks/base/core/res/res/values/config.xml

https://github.com/CyanogenMod/android_device_samsung_crespo/blob/cm-11.0/liblight/lights.c

Maybe lights.herring.so in /system/lib/hw
[Nexus S Android Development] :
Version 10.3

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

* * *

CM based: http://d-h.st/IIy

Changelog: v10.3

- Move kernel module to correct location (thanks [MENTION=5165039]Setting.Out[/MENTION])

- update backlight library for CM for BLN

- switch to JRCU

- Con Kolivas recommended tweaks

- Update LZO algorithm to 2012 version
[Nexus S Android Development] :
Sorry - noticed that the modules path was still wrong! D'oh!

Re-uploading now.

When ready, can someone let me know that BLN is now working in CM please?

EDIT: Links are live!
[Nexus S Android Development] Setting.Out:
Only 403mb.. Any chance we can see more bigmem and a couple more scheduler/governor options?

Thanks for yet another build.. Its like Christmas in July.. ;)
[Nexus S Android Development] leap_ahead:
hey u have update cyanaosp and working marmite on this ?? please share with us !
[Nexus S Android Development] ottoemezzo:
I've just checked, and I have to say it doesn't work for me either, I'm on slimkat 6.4 which was clean flashed with 10.2 yesterday (haven't tried 10.3 yet). Since I haven't set up my phone yet I decided to perform another clean install but this time I didn't change the default kernel. Now tethering works.

It's more than possible that it is a simple user error, but I'd appreciate if someone else would try it too.

BTW marmite is running really great.
[Nexus S Android Development] Setting.Out:
Wifi tethering isn't working here either.. the option is there, it says I have set it up, but I am not broadcasting a signal.. v10.3
[Nexus S Android Development] :
Cool, so just WiFi to sort? CM BLN working?
[Nexus S Android Development] drac0:
Nope, BLN nor BLD still non functional :(
[Nexus S Android Development] Setting.Out:
BLD seems to work, but not BLN...
[Nexus S Android Development] leap_ahead:
the lib is correct..but not working
[Nexus S Android Development] :
OK I'll take another stab at BLN too
[Nexus S Android Development] Setting.Out:
Smartassv2 and Row.. ?? It may just be me, but it is a good mix of performance and battery life.. :D
[Nexus S Android Development] :
I'm probably going to write my own governor. I don't think ROW is a good choice for anyone regardless of device
[Nexus S Android Development] drac0:
Preservative coming up! :D
[Nexus S Android Development] Setting.Out:
Can you call your new governor Vegemite?
[Nexus S Android Development] :
I think Vegemite actually sounds like a pretty good idea!
[Nexus S Android Development] :
Version 10.4

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

* * *

CM based: http://d-h.st/xky

Changelog: v10.4

- Use generic BLN code

- More free memory

- Updates to LZO compression (speed boost for zcache)

- Enable network file systems (NFS)

Changelog: v10.3

- Move kernel module to correct location (thanks [MENTION=5165039]Setting.Out[/MENTION])

- update backlight library for CM for BLN

- switch to JRCU

- Con Kolivas recommended tweaks

- Update LZO algorithm to 2012 version
[Nexus S Android Development] :
I know that was a rapid release, but hopefully some of you are up for a second flash!

Is BLN working?

Notice any general performance improvement in this version?
[Nexus S Android Development] drac0:
BLN not working but now BLD does, CM latest nightly. Tried various settings on both Lights and Buttons section but cant get BLN to work.

For performance issue cant tell, but now firing up the device is like instant, no delay whatsoever, screen goes up same as capacitive buttons, awesome! :laugh:

EDIT: no OC, min freq 100 MHz, ONDEMAND/CFQ
[Nexus S Android Development] Setting.Out:
Tethering still isn't working, BLD is fine, BLN is not working
[Nexus S Android Development] :
Wifi teathering and BLN are working in cyanogenmod's own kernel?

EDIT: bookmarks for cm's BLN

https://github.com/CyanogenMod/andr...mmit/5ec390edb672597cb245ee8341441d3bc818f326

https://github.com/CyanogenMod/andr...mmit/c5ef0ba3e77bcc4f5473459f8d96f2936e5f4f72

https://github.com/CyanogenMod/andr...mmit/70581d1da3b827b615c31a43b854280df8c0d974
[Nexus S Android Development] mypat:
Yes.
[Nexus S Android Development] drac0:
Battery life with 10.4 is simply phenomenal! Gone to sleep with 42% and woke up after 8 hrs with 41%. Fantastic deep sleep.

Few more hiccups like BLN and this turns out to be the best kernel ever for this device, at least for me.

For CM M8/nightly users: this is the first time I'm not experiencing wakelock bug using this kernel, it fires up both screen and capacitive buttons instantly every time always.
[Nexus S Android Development] treesurf:
Great to have you back bedalus. :)
[Nexus S Android Development] :
Hey, it's nice to be back. Feels like home!
[Nexus S Android Development] :
Version 10.5

AOSP: http://d-h.st/6fG

* * *

CM based: http://d-h.st/VYk

Changelog: v10.5

- disable BLN/D for now

- add more network file systems

- update network drivers

Changelog: v10.4

- Use generic BLN code

- More free memory

- Updates to LZO compression (speed boost for zcache)

- Enable network file systems (NFS)
[Nexus S Android Development] :
feedback please: tethering/ap stuff fixed?
[Nexus S Android Development] benji82:
noob question, are you supposed to see 9x6=54 ERROR when installing this kernel?

reason i ask, still getting play store FC when i try and download an app after kernel install... on cn.fyodor 4.4.3 release

tried reinstalling gapps after kernel install but still no dice.

using cm11 gapps from link in cn.fyodor rom thread.

coming from sense 6 roms so not sure if i'm flashing the right kernel. i'm using the AOSP one for the above rom.

thanks for your help.
[Nexus S Android Development] :
Hmmm. Have you tried installing it in base 13?
[Nexus S Android Development] benji82:
no, only base 10. :fingers-crossed::fingers-crossed:
[Nexus S Android Development] Setting.Out:
Still no tethering.. I tried usb tethering as well.. notta..
[Nexus S Android Development] Setting.Out:
I just had a soft reboot, I pulled the last_kmsg file for you...
[Nexus S Android Development] drac0:
Try dirty reflashing ROM, then these gapps http://xdaforums.com/showthread.php?t=2397942 Micro or Mini Modular package, then the kernel and see what happens after that ...
[Nexus S Android Development] mypat:
maybe we shold make a logcat while trying to open wifi or usb tether?

i could't right now.
[Nexus S Android Development] :
The last kmsg doesn't show anything except a binder fault. I'll look into this more

EDIT: Yep, I think I see there are some binder commits that might be required. I'll pull them in. And I still need to get to the bottom of this tethering issue!
[Nexus S Android Development] :
Version 10.6 final

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

* * *

CM based: http://d-h.st/Lf7

This is the final version. Feel free to fork and add features:

https://github.com/bedalus/marmite

(please use the same zip package to ensure MTP works)

Changelog: v10.6

- disable network file systems

- merge binder commits up to 3.10 kernel level

Changelog: v10.5

- disable BLN/D for now

- add more network file systems

- update network drivers
[Nexus S Android Development] :
The binder commits should ensure trouble free compatibility with android 4.4.x versions, and the zip should work just fine with Android L builds if and when these start arriving.

I'm leaving the world of smartphones behind for a while, and getting the dumbest phone I could cope with, a Samsung E1270 to deal with my addiction to the internet. Once I can get through a day without seeing a cat fall off something, then I may return to active kernel development.

In the interim I suggest one of the active developers picks up the marmite kernel and forks it from its current state (the v10.6 branch). From there BLN/BLD can be added if desired, and someone with more patience and/or insight can figure out what broke tethering.

I believe the kernel in it's current state would make a very good jumping off point for someone just getting into kernel development, as the features and config are extremely stripped down. It's a good platform to build on.

I'll leave the thread open to field questions. I would very much like to see some forks appear, and will be happy to give advice where I can, knowledge and time permitting.
[Nexus S Android Development] drac0:
Noooo dude, aaarhg so sorry to hear that! :(

My hopes were on your CPU/GPU hack you were talking about and that new governor ... ouh well just do what makes you happy in life and good luck with it, kudos for your immense work here, and sir I take my hat down! :good:

Hmm now I'm considering to build my own kernel and fork your tremendous work, maybe I'll just jump into this kernel development and see how it goes ... thanks again [MENTION=4128576]bedalus[/MENTION]!
[Nexus S Android Development] Setting.Out:
Thanks for building again, but you know, you are free to hang out and just enjoy yourself too.. though we love your builds, this isn't all that you have to offer us.. It is always a pleasure to hear from you in any capacity.. :)
[Nexus S Android Development] :
My Nexus S is going on ebay! Hopefully it will serve someone else just as well

Here's the advert:

http://www.ebay.co.uk/itm/Samsung-G...B-Unlocked-running-KitKat-4-4-4-/161372452021

I figure there's a small chance someone around here might actually be interested in this lump of history!
[Nexus S Android Development] Setting.Out:
1. This is very sad to see a good friend on ebay.. :(

2. Can I just buy it for you? you'll get the money and keep the phone?

3. Your ad has a flaw, 4.1.2 is Jellybean, not Ice Cream Sandwich.. ;)

4. I do like that you are donating to a charity with this sale, but I am still sad to see your phone go...

5. Good luck.. :)
[Nexus S Android Development] drac0:
Man, too bad seeing you quit for good! This is truly a sad day! :(

Take care and good luck!
[Nexus S Android Development] -[-Xehanort-]-:
Well, Its time to say Goodbye. :'(
[Nexus S Android Development] :
Yes, I've developed a serious and debilitating addiction to kernel tinkering, and it needs to be addressed head on! But at least someone out there will get a bargain!
[Nexus S Android Development] ironia.:
which version for android stock 4.1.2??

tnx
[Nexus S Android Development] cheeze.keyk:
Thank you for the support [MENTION=4128576]bedalus[/MENTION]

youre so great! :good:
[Nexus S Android Development] leap_ahead:
bln not work on cm rom ?
[Nexus S Android Development] drac0:
Nope.

After version 10.2 it doesnt work on CM ROMs, but it does work on latest Omni and SlimKat.

Version 10.3 and 10.4 only BLD working.

Latest 10.6 both BLN and BLD disabled.

Check the last few pages of the thread to see the full changelog.
[Nexus S Android Development] wana7262:
10.6 compatible with JB?
[Nexus S Android Development] Setting.Out:
Should be, make a back up and give it a try...
[Nexus S Android Development] :
SElinux might cause problems with jellybean, but I'd be happy enough to rebuild a version with it disabled if the current one refuses to boot
[Nexus S Android Development] leap_ahead:
pls fix bln ;p
[Nexus S Android Development] :
I've no idea what the problem with BLN is. If it works with AOSP it doesn't work with CM, and visa versa.

The kernel's in a pretty good state. Someone else should pick it up and sort these issues out, and I will no longer have the device in two days!

I've got a cool 2G flip phone now, like I've always wanted! I rule!
[Nexus S Android Development] leap_ahead:
ok no prob !! good luck :P
[Nexus S Android Development] CataHd:
Any one experiencing FC's on play store on aosp 4.4.3 with 10.6?
[Nexus S Android Development] Setting.Out:
Aosp or CM version?
[Nexus S Android Development] CataHd:
AOSP
[Nexus S Android Development] joaor10:
I have that problem too since the first version of aosp kitkat. No problem with stock kernel though...
[Nexus S Android Development] CommanderDuplex:
Camera doesn't work on my Slimbean (and Slimkat) ?? :confused:

i can make pictures but then i got "blackscreen" on Camera app.
[Nexus S Android Development] drac0:
Try using version 10.3 it should work.

For me its the best one and all key features are working except tethering and BLN with CM ROMs.
[Nexus S Android Development] CommanderDuplex:
thx on 10.3 it works !
[Nexus S Android Development] Po0yAn:
Helo to bedalus and all still active nexus S users!

I searched the net, the forums and the thread and couldn't find a kernel which enables USB host (usb otg) for i9020. I'm using slimbean rom v2.9 which considering speed and stability is the best rom for me in my long experience. Mermite was the main kernel for this rom for a long time. Does anyone here, specially the developer, know if there is a kernel for jb 4.1.2 (the mentioned rom android version) which enables usb otg on the NS? I'm asking here be cause this kernel has been in development for 2 years and was the main kernel for slim roms for a long time,

Your help is truly appreciated.
[Nexus S Android Development] Po0yAn:
Oh... com'on... Don't be like dead thread...! :(
[Nexus S Android Development] leap_ahead:
for usb otg try matrix kernel
[Nexus S Android Development] leap_ahead:
also work on 4.1.2 ! but I delete light herring
[Nexus S Android Development] Flak:
So, what happened to Bedalus?
[Nexus S Android Development] ej8989:
Maybe enjoying his vacation from developing andhappy with his family.
[Nexus S Android Development] leap_ahead:
all about the kernel here https://www.facebook.com/MarmiteKernelByBedalusXda?fref=nf
[Nexus S Android Development] :
Thanks. If your phone reboots via recovery, then that's a mini-OS in itself, and it has it's own kernel log which overwrites my kernel log. Thanks though. If you get more reboots, try again to catch the last_kmsg. :)

No, if you install TWRP it will just go over the top of where CWM lives (in the recovery partition). It won't touch the boot partition.

If I understand simms22 correctly, he seems to imply that TWRP doesn't write a log, so the last_kmsg will always survive...?
[Nexus S Android Development] :
That's good to hear! That's my preferred combination too.
[Nexus S Android Development] Articudos:
Hmm I didn't reboot via recovery, Just I turned off screen then turned on, Then it freezed. Just four backlight button was on and statusbar, freezed but able to turn on/off screen. Then, suddenly restarted. Same thing happened in Air kernel, so I guess this is problem of ROM maybe.:)

Edit:

Just found how to reproduce bug.

Killin launcher via back button causes it.
[Nexus S Android Development] d_phekt:
Hey bedalus, Decided to try this kernel again and I gotta say nice work sir. One problem since flashing here... My phone no longer recognizes USB when plugging into computer.

i9020T running Kalim's Cyanogenmod 10 v1.2
[Nexus S Android Development] shivasrage:
Hello bedalus

same for me..

my phone is a i9023,jelly bean stock

since the v3 version my phone is no more recognized via usb i´m not sure if it is a special i9023 problem but

i tested some other kernel and it works.

so i think its a kernel problem.

the 2.1 test version works in this case.

i only want to report this to you....

thanks for the kernel..

S.R.
[Nexus S Android Development] 309041291a:
Down to 3%, 6 minutes away from 7 hours!!!! I realized the reason my battery is so good is because my signal was nearly perfect all day haha

Got to the 7 hours, FINALLY! My phone got an extra 5 minutes before it actually died. I'm going to turn DI off so I can't gave better idling time.

Nexus S (GMS i9020a)

Paranoid (1.6 - 4.0.4)

Matrix Kernel (CFS - 20.0)

Ondemmand (800/100)

Deep Idle (On - Deadline)

Live OC - 100 (400/800)

BLX - 98 (Inverted Apps)
[Nexus S Android Development] alen1901:
Confirmed. PC not recognizing phone anymore. Please fix that. There is no popup dialog where i can press to connect to usb. Also in notification bar, there is nothing. Phone is just charging.

EDIT: in recovery, phone is mounting.

Sent from SpeedMachine i9023
[Nexus S Android Development] leap_ahead:
but you can use adb on recovery ?

this kernel have bld and bln ?thanks
[Nexus S Android Development] alen1901:
I didnt try adb, i dont have time. BLN yes, BLD no.

Sent from SpeedMachine i9023
[Nexus S Android Development] leap_ahead:
ok thanks,.i wait for fix version to test it !
[Nexus S Android Development] siddhesh.raikar:
i flashed this kernel and the rebooted... the phone didnt go past the boot animation...

on stock jb rom..

then flashed other kernels but same prob, so had to restore to an earlier boot image...

so i guess prob with this kernel... can someone help?
[Nexus S Android Development] shivasrage:
Is stock rom rooted??
[Nexus S Android Development] siddhesh.raikar:
yeah...
[Nexus S Android Development] shivasrage:
I´have tested some of the new kernels including the bedalus v3.1

only problem is the pc not recognize phone..i had never had a bootloop.

try to wipe cache/dalvik and fix permissions

S.R.
[Nexus S Android Development] siddhesh.raikar:
tried... the problem persists...
[Nexus S Android Development] :
Hello, yes, it won't.

Did I forget to mention I disabled USB on this one?

You might try just to unplug the USB cable, keep the screen on, plug it back in. If it goes into IDLE2 mode while USB is in, it will kill it, because TOP=OFF doesn't support USB. It's deliberate, to prove TOP=OFF is working.

Sorry if I forgot to mention that. Of course this won't be in future builds!
[Nexus S Android Development] :
Hi, 7 hours is impressive. It's the longest screen on time I've heard of.

I just want to point out that you can't disable IDLE2 on this kernel, there's no user-accessible switch.

EDIT: Wait, are you on ICS?
[Nexus S Android Development] leap_ahead:
thats mean is no problem and phone can connect to pc with usb ?
[Nexus S Android Development] :
Uh, it's a deliberate problem. I think I just forgot to warn people. I'll flash it, now I've finished my testing, and see if I can get a USB connection.

EDIT: No, no connection. That's fine, I disabled some code for testing, and I will fix that in 3.2
[Nexus S Android Development] :
Jesus. Did I forget to merge in BLD again?

See, this is what I mean. Why should I include BLD when I don't even notice when I haven't included it. People who watch films say BLD improves the experience, because the buttons are distracting or something? But what about everything else in your field of vision? Your brain is filtering that out right?

I think I'll just leave it out. It's my kernel, I'm just sharing! :p

EDIT: OMG, it IS in there. I don't even notice when I DO include it. I might as well leave it in there. :p :p :p
[Nexus S Android Development] alen1901:
Yes, its only estetic. Newer phones has it. Its nice but not must have. Decision is all yours. ;)

EDIT: and please release usb fix or tell us how to mount USB. It wont work with screen on. :D

Sent from SpeedMachine i9023
[Nexus S Android Development] shivasrage:
yes please... usb is one of the things absolutley needed.

thanks, S.R.
[Nexus S Android Development] :
I can't do it right now. Gimme a few hours.
[Nexus S Android Development] siddhesh.raikar:
dude... try the airdroid app.. free on market.. pretty awesome..

and u can use it without external wifi also.... with the portable wifi hotspot.. try it..
[Nexus S Android Development] shivasrage:
O.K. thanks i try it later...

S.R.
[Nexus S Android Development] :
Actually, I know thalamus is working on some patches, and is trying to squeeze some more efficiency out of the IDLE2 state, so if he looks like making the new patches public soon, I might just hold on a little longer for the 3.2 version.
[Nexus S Android Development] 309041291a:
Yuppers. Not ready to make the JB jump yet.

Nexus S (GMS i9020a)

Paranoid (1.6 - 4.0.4)

Matrix Kernel (CFS - 20.0)

Ondemmand (800/100)

Deep Idle (On - Deadline)

Live OC - 100 (400/800)

BLX - 98 (Inverted Apps)
[Nexus S Android Development] tchaari:
I am testing bedalus kernel on Slim JB pre-release and it is running really smooth ;)
[Nexus S Android Development] :
I need to check that out. I'm so engrossed in my own thread and thalamus' that I haven't looked at Vincent for a while.
[Nexus S Android Development] KrisMurdrum:
So you do a lot of looking at boys, huh? ;) :P

On a serious note, love your work. Keep up the good stuff.

Carved into Runes with my Magic Rune Stone...
[Nexus S Android Development] gregorypeg1000:
Awesome job bedalus.Great kernel.Is there any way to install it on the newest version of Jellybelly?There is not script in init.d but if i install it i just get bootloops.
[Nexus S Android Development] leap_ahead:
any fix for usb ?
[Nexus S Android Development] :
Hello, and yes. I'll upload it now. It's a testing release again, because thalamus new IDLE2 patches are brand new.
[Nexus S Android Development] :
I can't remember what I read about it exactly, but if I put thalamus name in the config instead of mine, that might work. I'm happy to do that since this is a thalamus base with some very basic additions, deletions, minor parameter changes, and a little extra marmiteness.

I forgot to mention that I'm also kept thalamus' interactive governor, since I'm interested in how the touch-boost performs.

UPDATE: I've just tested the new-upcoming version... I reverted the code changes that I put in (which killed USB)... But it didn't restore usb...

I'll have a look at what exactly is preventing the USB connection. If I can restore it, I'll upload the new version.
[Nexus S Android Development] :
Here is a test version: http://d-h.st/KdH

It's got the new IDLE2 code which may offer better power savings, but still needs further optimisation, and USB IS NOT WORKING. Sorry, I haven't been able to sort that out, I need to go to work now!
[Nexus S Android Development] CrackerTeg:
If you mean newest being 1.0.0, then no. AdamG coded it into the framework.
[Nexus S Android Development] Articudos:
Bootloop with Jellybelly 1.0.

Maybe name trick didn't worked:/
[Nexus S Android Development] :
Thanks for trying. I guess AdamG wants to eliminate variables while he's building his ROM.
[Nexus S Android Development] alen1901:
Do i miss something or in 3.1 there is no bln?

Sent from SpeedMachine i9023