yashsingh1/xdaforums huggingface dataset:
[Nexus S 4G Android Development] mdean1981:
I am working on an 11 hour uptime on Matr1x bedalus, and GPS is still locking. It usually on Marmite happens by now but I will run it overnight and see if it is still locking. I just wanted to follow up with you but as of right now I am almost certain whether is be my phone or the kernel something is up. Just didn't want you to think I forgot about ya.
[Nexus S 4G Android Development] srthimsen:
Here's what I have:

CM10 nightly 10-26

I'm guessing screen time was reported because it was rebuilding dalvik during boot? I turned off screen immediately after it got to lock screen.
[Nexus S 4G Android Development] mdean1981:
Update for bedalus, Working on a 26 hour uptime and an overnight charge and Matr1x is still locking. At this point with at least my phone Air, MatriX, Stock, all lock and never need restarting. So now the question is, my phone which although not impossible highly unlikely has a problem specifically with Marmite or it is something to do with the kernel. So where do we go from here?
[Nexus S 4G Android Development] :
It certainly could be a problem with the kernel, but I've not had any complaints in the Non 4G thread, so there's a good chance I just need to figure out what the difference is. Keep pestering me every few days to make sure I don't forget.
[Nexus S 4G Android Development] mdean1981:
Will do..
[Nexus S 4G Android Development] :
v6.3 is here: http://goo.gl/HvUrp

-Merged to mainline 3.0.49

-New wifi commits from android-3.0/common

-Bugs fixed in CPU frequency code

-RWSEM_XCHGADD_ALGORITHM: possible 6% increase in the number of read/writes compared to RWSEM_GENERIC_SPINLOCK, but I'm taking this one someone else's authority (i.e. I didn't personally attempt any measurement)

I'm hoping this release brings a new smoothness and stability. Please feedback in the usual manner.
[Nexus S 4G Android Development] DMardroid:
V6.2

Im happy with these results

On aokp milestone jb 1

Best battery life I've gotten on the old ns4g with pretty heavy daily use. :thumbup:

Gonna give 6.3 a go now
[Nexus S 4G Android Development] rjones9902:
Hey DMardroid, just wanted to know if you had any reboots with Marmite 6.2 also what governor and scheduler you are using as i'm on the same ROM. I liked your stats from 6.2 and figured that i'd rock it as well. Hope to hear from you soon, thanks in advance.
[Nexus S 4G Android Development] :
v6.5 is released: https://docs.google.com/spreadsheet/ccc?key=0AntDDKv-lS6IdEt6NWVkX01vNmpfbEh4MHo4eDRCbXc
[Nexus S 4G Android Development] polobunny:
Although I don't have a NS 4G, I get a GPS fix within 10 seconds. I've used Fasterfix from the play store because before I wouldn't get a fix for a whole minute if not more.

Just my 2 cents. :)
[Nexus S 4G Android Development] mdean1981:
I've personally tested all these quick theories people have. Obviously this issue is toward the NS4G so it is not surprising you say you don't have a problem. I've ran the top 4 kernels and all them locked but Marmite after a reasonable update. This isn't something that happens shortly after boot or after days of uptime. If bedalus tracks down the issue (if it's not my phone but unlikely since the other kernels don't have this issue) I will gladly make my NS4G his guinea pig.

Just my 3 cents ;)
[Nexus S 4G Android Development] polobunny:
Alrighty. Don't get offended, simply trying to help. :)
[Nexus S 4G Android Development] DMardroid:
No reboots

I left everything on default settings
[Nexus S 4G Android Development] mdean1981:
Oh I wasn't offended. Did I come off that way? I'm sorry. I just woke up, still working on that first cup of coffee. I meant no harm. My apologies. :o
[Nexus S 4G Android Development] 2VULGAR:
Random Reboots

I have been getting random reboots since updating to the 6.X series of kernels. I have cleared the cache partition and the dalvik cache on every update. Still randomly rebooting the phone. All settings are left stock except for the BLN. I turn that on. Anyone else had this issue and have worked it out, or still having the issue?
[Nexus S 4G Android Development] polobunny:
Have you tried to fix permissions in recovery? I had a reboot straight after installing 6.2 when it came out. I usually fix my perms but for some reason I forgot on that time and strangely got a reboot...
[Nexus S 4G Android Development] rjones9902:
Thanks bro, appreciate you replying back to me. So far everyting seems pretty good.
[Nexus S 4G Android Development] 2VULGAR:
I have done that with other versions, I just back rev'd to 6.2 I will try it on this version to see what happens.
[Nexus S 4G Android Development] :
Do you think you can flash another ROM not Slim Bean or Black Bean which both include my kernel (and do not flash my kernel after the ROM) and test to see if it has good GPS behaviour all day? Do a nandroid first so you can restore back.

If you have a good experience, can you let me know which ROM you tried?

Then I can look at what the differences are between their ramdisk and mine.
[Nexus S 4G Android Development] mdean1981:
Just got home from trick or treating with the family so I wanna relax tonight, but yeah I will flash something tomorrow sometime and give it a run. let me make sure I read this right. You do not want me to flash Marmite and rather run the other ROM with a different kernel?
[Nexus S 4G Android Development] :
Yes, if you flash CM stable that would probably be best. Don't flash any kernels afterwards, just use the one included with the ROM
[Nexus S 4G Android Development] 2VULGAR:
Well, I fixed permissions yesterday, and so far no random reboots... but I did notice the clock on the lock screen gets messed up from time to time. It does not show correctly. It tries to show up on the left side of the screen... instead of across the top like it is supposed to. But that is cosmetic. I can deal with that.
[Nexus S 4G Android Development] mdean1981:
Ok I had downloaded AOKP to flash today. I will get to it sometime today. I just got informed my day is booked...Ugh!
[Nexus S 4G Android Development] mdean1981:
Ok been running 18 hours with AOKP with default kernel. GPS was still working. Took a bit to get a lock but it was also very cloudy yesterday, but today it is clear and locked within seconds.

Ok to flash back to Slim now as they released a new temptation?
[Nexus S 4G Android Development] androidforeve:
Awwww first reboot ever on 6.5
[Nexus S 4G Android Development] :
Yes, go ahead and flash to Slim Bean. If you did a nandroid, you should flash the new Slim Bean, the new Slim Gapps (or the old one if there is no new version), then advanced restore your data, Then wipe cache and dalvic, fix permissions and reboot. It should give you Slim 2.9 with as little hassle as possible.

Actually, maybe you can save me some time... Inside the AOKP zip that you flashed, is there a boot.img file? If so, could you upload it somewhere for me?
[Nexus S 4G Android Development] mdean1981:
I will take a look. Went back on SlimBean and now when I plug USB in its not recognizing. Ugh..Try to fix permissions again.

Edit: Fixed it with "fix permissions"

Here is that boot.img you wanted. https://www.dropbox.com/s/ujo19l12mu87ijw/boot.img
[Nexus S 4G Android Development] :
Here you go: http://d-h.st/ADc (Will work with CM and Slim Bean, and any other ROM with the custom IOControl / VSYNC tweak from CM)

-updated to match the AOKP ramdisk but with added init.d support and MTP

-some config changes, hopefully improve speed and stability

-better GPU power management code, more reliable, more efficient. (I think... :p)

Thanks for your help, you saved me a lot of time and hassle. Of course, check the GPS works properly before you thank me.
[Nexus S 4G Android Development] mdean1981:
Oh goodies.. I will flash and let you know. Glad I could help out.
[Nexus S 4G Android Development] mdean1981:
13.30 hours into a boot and we aren't locking again. I will give it the weekend though as it is a cloudy day today and we got a chance of rain. Let the skies clear up before I go declaring it's broke. So many factors of elements when it comes to GPS pulling enough satellites to lock.

Update: This morning it was seeing 1 or 2. Now after several minutes of running it isn't even finding satellites.
[Nexus S 4G Android Development] mikegleave13:
GPS locking fine here.
[Nexus S 4G Android Development] mdean1981:
Yes thanks. This is an odd ehh bug I think. Been working to try and figure it out. Gonna wait out the weekend and see.
[Nexus S 4G Android Development] joeyddr:
When I connect to 4g it doesn't pass data 3g works and WiFi works fine
[Nexus S 4G Android Development] :
Anyone else getting this bug?
[Nexus S 4G Android Development] androidforeve:
Sometimes there is a small hickup when 4g almost freezes for a couple of minutes not sure if that's Sprint's network I doubt it if its the kernel

---------- Post added 4th November 2012 at 12:02 AM ---------- Previous post was 3rd November 2012 at 11:31 PM ----------

Fix permissions and it's all good
[Nexus S 4G Android Development] :
Cheers, keep an eye on it
[Nexus S 4G Android Development] joeyddr:
sorry i live in the northeast.... http://corporate.clearwire.com/releases.cfm this must be why.
[Nexus S 4G Android Development] mdean1981:
I cannot test 4G at all. I live in a small country town and we got 1 tower in the area and I am lucky to be pulling 3G on it.
[Nexus S 4G Android Development] sceptor:
Kernel is actually producing decent battery so wanted to say thanks. Newest update seems to have fixed drainage issues .
[Nexus S 4G Android Development] :
The high Android OS stat has been fixed for a while. Every version for the past month has had stability issues, but they are solved as of v6.7.3 onwards

v6.7.10 will be out soon with 4MB extra memory
[Nexus S 4G Android Development] mikegleave13:
Running great here:)
[Nexus S 4G Android Development] androidforeve:
What version do I use for slim rom
[Nexus S 4G Android Development] :
You need the cm version for slim bean.
[Nexus S 4G Android Development] androidforeve:
Great thanks man
[Nexus S 4G Android Development] :
v7 is now available: http://goo.gl/HvUrp

-Stable version

-Ensure memory is not an issue by reverting bigmem and restore some memory to the camera module to ensure ROM compatibility for all users. Overall, lose 8MB free RAM.

Use this version if in doubt whether the latest version works properly for you.
[Nexus S 4G Android Development] mikegleave13:
6.7.11 working here.
[Nexus S 4G Android Development] androidforeve:
Just flashed it on new slim 3.0 will report back later

---------- Post added at 11:25 PM ---------- Previous post was at 11:12 PM ----------

Bedalus I will let 7.0 settle but is it normal for my android system to be at 18%? Battery seems to be going a little quick maybe after it settles it will go to normal
[Nexus S 4G Android Development] :
It'll settle with use!
[Nexus S 4G Android Development] androidforeve:
I will report back after a day or so
[Nexus S 4G Android Development] Cannon20:
So far so good this is day 2 with bb6 and 7.0.3 android sys is at 8% and os is at 4% and is running really smooth so far

Sent from my Baked NS4G xda premium
[Nexus S 4G Android Development] :
Because of the extra memory, some people may experience FCs with the gallery. You can get around this by installing the 4.2 camera, reboot to recovery, wipe cache and dalvic cache, fix permissions, reboot.
[Nexus S 4G Android Development] ebs512:
Unfortunately we don't get 4.2 ota, we are doing everything in our power for 4.2 black bean on nexus devices
[Nexus S 4G Android Development] sceptor:
Seems WiFi is broke for some reason
[Nexus S 4G Android Development] :
Reboot to cwm, wipe cache and dalvic and fix permissions. What version are you using?
[Nexus S 4G Android Development] :
v7.1.2 is here: http://goo.gl/HvUrp

-Backport oom_score_adjust from android-3.4

-I think the kernel might work correctly on 4G ROMs without a separate version. 4G users please test and feedback! Thanks!

Anyone remotely interested in the code should look here: https://github.com/bedalus/marmite/commit/d09728099665dcfdcccba3f3653c157b4d021f9f

275 changed files with 1,126 additions and 797 deletions. It took a while! :p

Why bother? I think the soft reboots might have something to do with memory management. So I decided to look at the latest kernel to see how their low memory killer is working, and there were many substantial changes. So I tried to integrate them. But every file I changed seemed to cause another one to require a change. Eventually I nailed them all though.

I've tested this on my phone, and it seems to be working fine. Obviously I only test briefly, then I upload for others to test! So please feedback on your experience.

4G USERS: Please try the CM or Other ROM version. I think it may now work correctly for you without a separate version being required. Please report any problems.
[Nexus S 4G Android Development] androidforeve:
It booted fine with no problems will test out more and report back seems very quick

---------- Post added at 06:19 AM ---------- Previous post was at 06:06 AM ----------

So far no GPS
[Nexus S 4G Android Development] rockerblood:
seems USB connection not working :(

i installed v7.1.2 wipe cache and wipe dalvik.

when i go back to V7 the USB connects and detects my device for file transfer.
[Nexus S 4G Android Development] mikegleave13:
Can't get GPS to lock on 7.1.2. Rasbean other ROM version, should I try cm version? Thanks. Gobble gobble :D
[Nexus S 4G Android Development] :
No! You're on the right version. Thanks for the feedback. I'm going to look into the GPS issue tonight.
[Nexus S 4G Android Development] :
4G users: http://goo.gl/HvUrp

Version 7.1.2 is up for 4G. I've tried to get GPS working for you. Can you please test and feedback if GPS works? Does everything now work correctly?
[Nexus S 4G Android Development] mikegleave13:
GPS working testing everything else.
[Nexus S 4G Android Development] androidforeve:
GPS also working all seems good and smooth so far beladus

---------- Post added at 08:12 AM ---------- Previous post was at 08:11 AM ----------

I meant bedalus stupid typo:rolleyes:
[Nexus S 4G Android Development] :
Just so you guys know, the next release will be an any-kernel version, so compatibility will be much improved. But the first time you flash you will need to reflash your ROM or fastboot flash your ROM's included boot.img
[Nexus S 4G Android Development] :
http://xdaforums.com/showthread.php?p=34554152

Here's the link. It's been reported working fine on 4g
[Nexus S 4G Android Development] bnitty:
I've gotten the best battery life ever with this kernel & Miui ROM

courtesy of my Jelly Bean'd Nexus S 4G using Tapatalk 2.4.1
[Nexus S 4G Android Development] r_tarandus:
Throwing my own screenshot into the thread just so people can know about this yeast extract!

I've always had mixed results with previous marmite releases, but this recent one is working like a charm. I was able to push 18 hours of battery life on a day with light-to-moderate usage on the phone, which means that getting a normal day's worth of battery shouldn't be a challenge. This thing just sips on the battery when it's not in use; it's awesome! Bedalus, thanks for continuing development on these soon-to-be legacy devices.

Running AOKP Milestone 1 (JB 4.1.2) with Marmite 7.2
[Nexus S 4G Android Development] koeylondon:
If you don't use Maps often, you should use Titanium backup to freeze it. I got significant battery life improvements once I did that. Seems on any kernel, Maps likes to use up battery. I can get 20 some hours on a charge if I'm careful.
[Nexus S 4G Android Development] :
http://d-h.st/9r5

Just a test version for people to try out

-Mainline update to 3.0.56

-Revoke gamma control (I prefer my old colours)

-Include the backported binder code.

Please check to see if multi-tasking seems okay or not :)

NB - This is the CM version!
[Nexus S 4G Android Development] mdean1981:
Your old colors?
[Nexus S 4G Android Development] :
The colors before I allowed gamma were better
[Nexus S 4G Android Development] mdean1981:
Is this why I noticed such a whitish glare type when I flashed the latest last night?
[Nexus S 4G Android Development] :
Probably
[Nexus S 4G Android Development] mdean1981:
So do you plan on releasing another 7.2 build with your old colors?
[Nexus S 4G Android Development] :
I released the one I just posted to see if the binder code is helping or hurting. For versions beyond 7.2 I'm not decided yet.
[Nexus S 4G Android Development] :
Please use the thread in the other section, as I no longer have this device, so I am unsubscribing from most of my topics.

See you in the HTC one x+ section if anyone else upgrades like me!
[Nexus S 4G Android Development] mdean1981:
Sigh. I feel abandoned.. :(
[Nexus S 4G Android Development] wishmasterf:
BLN seems not to work in latest version :( In Cyanogenmod-Advanced settings it is greyed out :(
[Nexus S 4G Android Development] androidforeve:
New kernel out:D
[Nexus S 4G Android Development] amieldl143:
Awesome wow 8.1 alreaddy
[Nexus S 4G Android Development] Igetlaughs:
Kernel is amazing!
[Nexus S 4G Android Development] androidforeve:
Yeah so far great with slim bean
[Nexus S 4G Android Development] amieldl143:
Really great with slimbean.
[Nexus S 4G Android Development] jerusry:
No freakin clue how to navigate your download page and actually get anywhere to download a kernel for my phone. Anybody's help would be appreciated so I can try this kernel. Both regular and bigmem. Non cm. For ns4g.
[Nexus S 4G Android Development] jerusry:
May have figures it out. Gonna install what I downloaded. Hope bit was right files. Lol
[Nexus S 4G Android Development] jerusry:
Is there any possibility to put in a CPU setting between 200 and 400 MHz? Liking 8.5bigmem so far. Thank you.
[Nexus S 4G Android Development] paul279:
I have flashed the kernel 8.5 bigmem IO Custom tweak.

(Not really sure if i should install the kernel with the custom tweak or not)

I reboot my phone but the new kernel is not installed.

CWM said:

Ununderstandable message 3

LID is licked

Have I to format something before or where is my problem?

I have tried to install the kernel without custom tweak -> the same.

Thank you
[Nexus S 4G Android Development] angiest:
If you are using Slimbean then I don't think you want the custom IO tweak. That is just for CM-based ROMs. Otherwise, how do you know it is not installed? What does System Settings -> About Phone -> Kernel version say?
[Nexus S 4G Android Development] paul279:
Ok thank you for the information about the different kernels.

I know it because under system settings kernel version is lean kernel.
[Nexus S 4G Android Development] angiest:
I haven't used CWM in awhile, so I'm not sure what the screen should look like after a successful flash. I would say to wipe boot, but if it is not flashing properly that would leave you with an unbootable phone.
[Nexus S 4G Android Development] joeyddr:
Kernel runs fantastic but i tried almost all of them and gps does not work... otherwise its probably the fastest JB kernel i have used yet. I hope you get it sorted, I have tried clearing gps used gpstest and none of them restore it. Running codename android 3.4.1
[Nexus S 4G Android Development] :
Thanks, I now know where to start, so hopefully the problem will be gone in the next version.
[Nexus S 4G Android Development] :
TEST VERSION

http://d-h.st/cK3 for NS4G only

-Make a nandroid first

-DO NOT FLASH ON 3G!
[Nexus S 4G Android Development] androidforeve:
Bedalus I will try it curious on what governor's it has etc

---------- Post added at 01:16 AM ---------- Previous post was at 01:15 AM ----------

Does it have bln
[Nexus S 4G Android Development] :
Usually it's a good idea to take a look at the OP before asking this kind of question. Everything you need to know is here: http://xdaforums.com/showpost.php?p=27598370&postcount=1

The above link takes you to the non-4G android development section. The above link can also be found in this thread, in the OP
[Nexus S 4G Android Development] chappy824:
This is what I have been getting with your latest...not much screen on time (2hrs) but still really good! Going to try test version now...THANKS B
[Nexus S 4G Android Development] joeyddr:
working awesome gps locks in 5 seconds and its as snappy as the original one i tried thanks.
[Nexus S 4G Android Development] androidforeve:
My bad bedalus my apologies
[Nexus S 4G Android Development] 063_XOBX:
Test Kernel running smooth on CNA nightly 9/6. Was really "stuttery" on my first boot but after a reboot and giving it an hour to settle it's nice and buttery.
[Nexus S 4G Android Development] androidforeve:
Aww it boots but it won't go past android is updating applications it freezes on me running bakebean3 any ideas
[Nexus S 4G Android Development] :
Fix permissions?

You could always try

1 format system

2 flash ROM

3 flash kernel

4 boot

If you have any custom init.d scripts, back them up first.
[Nexus S 4G Android Development] androidforeve:
Will try and get back
[Nexus S 4G Android Development] noizy1234:
I'm running this without any problems so far haven't tested gps tho
[Nexus S 4G Android Development] androidforeve:
Noizy what rom
[Nexus S 4G Android Development] noizy1234:
Rasbeanjelly port
[Nexus S 4G Android Development] :
Updated download link in OP

- Now fully 4G compatible
[Nexus S 4G Android Development] androidforeve:
Will try again maybe it just does not like blackbean rom I did what you told me and still a no go
[Nexus S 4G Android Development] zackandethan:
Been running this since yesterday and just took the update. This has been a hell of a kernel for me so far . Quick ! Gotta test battery . Thanks sir !
[Nexus S 4G Android Development] :
There may be a battery drain issue, but I'm working on it.
[Nexus S 4G Android Development] androidforeve:
Maybe if I switched to codename I can get it to work:confused:
[Nexus S 4G Android Development] andrei1015:
No no don't go about wiping stuff. Those messages are normal!
[Nexus S 4G Android Development] Igetlaughs:
I'm on 8.5 and I keep getting random reboots. Do you think it is the ROM not working well with the kernel. I'm on AOKP M1 4.1
[Nexus S 4G Android Development] chalan30:
I had the same reboot issues on aokp. Had to switch kernels. That resolved it.
[Nexus S 4G Android Development] Igetlaughs:
Cool, thanks
[Nexus S 4G Android Development] addyct:
So, I accidentally flashed the wrong kernel. I'm on CM 10.1 RC2 and flashed 8.5, but not the custom IO version. How screwed am I?

EDIT: Nevermind. I stopped and thought for a second and realized I could just boot into the recovery and reflash the RC2 update.
[Nexus S 4G Android Development] N3V3RS3TTL3:
8.6 up :good:
[Nexus S 4G Android Development] Tyler83:
Thank you for releasing a 4.3 compatible version! You made my day! I was so frustrated with stock kernel on CM 10.2
[Nexus S 4G Android Development] leap_ahead:
all about the kernel here https://www.facebook.com/MarmiteKernelByBedalusXda?fref=nf
[Nexus S 4G Android Development] :
It should work on CNA, that's where I got the ramdisk template for NS4G
[Nexus S 4G Android Development] androidforeve:
Yeah kind of weird that it won't work on blackbean it sucks because I just switched roms
[Nexus S 4G Android Development] :
You should have done a nandroid!
[Nexus S 4G Android Development] androidforeve:
I did always do :D just wished it worked on blackbean but I want to try this so I will go to codename and try it
[Nexus S 4G Android Development] :
I've created a new one, identical to v4.5 (stable) but with init.d support and hopefully :fingers-crossed: better support for other ROMs, including blackbean.

If anyone wants to install it, feedback would be appreciated :)

Link: http://d-h.st/zXi
[Nexus S 4G Android Development] androidforeve:
Will give it a shot and let you know

---------- Post added at 09:51 AM ---------- Previous post was at 09:20 AM ----------

Alright got it to install will run it and keep you updated on how it goes
[Nexus S 4G Android Development] :
Excellent news, thanks!
[Nexus S 4G Android Development] mikegleave13:
Installed last night. Working well quick GPS lock. Thanks!