yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] :
Okay, I got around to testing this. I don't have that problem. I can use the same settings as above, and my lights come on as expected.

If your ROM doesn't support init.d then that might be why. I saw you posted in knzo's thread, and there's no init.d in that ROM afaik (if you are indeed using that one).

You can still trigger the file. Move it to /data/local and append .sh to the title. Create a link to it using root explorer (if you want a convenient icon on your homescreen) then you can trigger it once after any reboots.
[Nexus S Android Development] :
If you have a clone of my repository, then for CM:

cp drivers/video/samsung/s3cfb.c.cm /home/dave/android/androidkernel/drivers/video/samsung/s3cfb.c
cp drivers/video/samsung/s3cfb.h.cm /home/dave/android/androidkernel/drivers/video/samsung/s3cfb.h
[Nexus S Android Development] :
Are you using init.d? Or terminal emulator?

If you are using terminal emulator, then after issuing the commands, check /sys/class/misc/backlightnotification/ and check

all

the parameters reflect the settings you entered. If any do not, please report back about the faulty ones.
[Nexus S Android Development] :
I'm going to have to wait and see how many bug reports come in. If other users are having reboots then it is the kernel. Otherwise, you may need a full wipe and re-install ROM/Kernel/Apps etc.
[Nexus S Android Development] Mario Christian Oquias:
I have paranoid android 2.13 .. just want to ask if what version should i use ? Im a bit worried of compatibility problems..
[Nexus S Android Development] wujiyu305:
I see...

trying...

Thanks~~~
[Nexus S Android Development] :
Does daXmax say what base he's using? Or can you look in your settings?

You could always download both cm and all ROM versions. If one doesn't work, the other will.
[Nexus S Android Development] sperelli:
complex beauty indeed... there are more then ten files within that dir.

i'll give a further look asap
[Nexus S Android Development] Mario Christian Oquias:
Its cm based ,from what i know. If thats ok ill flash away :)
[Nexus S Android Development] :
If it's the most recent version i believe it's built on cm nightly, so the cm kernel should work
[Nexus S Android Development] polobunny:
Nope, using euroskank CM10 like in my signature. Using init.d as usual.

I'm surprised. I'll check to see what's up with that if you tell me it's working fine. :|

Thanks a bunch as always.
[Nexus S Android Development] deani77:
For PA 2.13 you need to use all ROM kernel. Only PA 2.15 need CM Kernel
[Nexus S Android Development] beppegg:
I've got two reboots, one while composing a gmail message, one trying to composing this message.

Second try to compose this message, I had freeze (had to pull out battery).

This is my first try, seems the good one :D

Inviato dal mio Nexus S con Tapatalk 2
[Nexus S Android Development] polobunny:
You need to extract a last_kmsg and specify which rom and kernel version you're running to help bedalus fix this.
[Nexus S Android Development] caliban2:
But if he pulled battery, that last_kmsg is useless because it isn't updated that way. He'll pull the one from last normal reboot or even the one created by recovery.

Beppegg, at least have the courtesy to post your ROM and what kernel-version you flashed. The above "bug-report" is crap. Sorry.

Next time wait if it reboots by itself. Freezes caused by marmite tend to do that. That way a last_kmsg is created and it's very likely it was caused by kernel. What you described could very well be caused by ROM too. (Be it the ROM being buggy or something's messed up on your phone and you should do a full wipe)

@bedalus, guess who's a happy camper. This machine flies and is stable now. *knocksonwood* :D
[Nexus S Android Development] polobunny:
The last crash yeah, but the first was a reboot. =)

See what's funny now, your phone is stable, everyone else is crapping. hahaha
[Nexus S Android Development] caliban2:
I think he's messing up freeze and reboot. ;) Doesn't change anything about the quality though... ^^

And yeah, it's funny how my problems seem to have gone and others popping up. He he. But so far it doesn't really look like marmite is to blame...
[Nexus S Android Development] rrohanjs:
FAREWELL

finally sold my nexus s, got a white gnex :)

firstly i would like to thank everyone who helped me understand stuff and answered all my newb questions, i have learnt a lot

bedalus, i specially want to thankyou, i loved your rom ranking a lot :D i hope you do it someday again it was really fun :) .. i really like your support and how nice you are with your replies, i wish more devs have an attitude like yours :) .. i love your work currently, i sold the phone running your kernel lol.

without you guys i wouldnt have been able to use this device for this long, been like arnd 18 months with that phone

thanx again, see you guys !!!
[Nexus S Android Development] beppegg:
Got it, thanks man for your explanation. I'll learn how to extract last_kmesg and I'll be more accurate next time, I promise! ;)

Anyway I'm on rasbeanjelly (22 Sept) and problems showed on 4.7.5 version.

Now I've updated to 4.7.6!
[Nexus S Android Development] stojshic:
You man are one of the few guys who's name I recognize on XDA, that ain't some kind of developer... :) even tho you ain't developer, and by your own words, are a n00b in android world, your voice did got heard. Good luck with Gnex...
[Nexus S Android Development] :
What a nice message. Made me happy and sad simultaneously. The galaxy nexus forum will be lucky to have you! Enjoy your new nexus! Feel free to stop by any time.
[Nexus S Android Development] polobunny:
Got a freeze just now, black screen, soft keys light up. Can't pull last_kmsg or kmsg via adb because it's disabled. Good job me and my security... :p

Likely a ROM issue, but yeah it sucks not being able to look at it!

/pulls battery
[Nexus S Android Development] rrohanjs:
yes i will keep checking because my brother uses a nexus s, so maybe ill just root his phone now :D
[Nexus S Android Development] spider623:
noob question I use miui, it's based on stock but extremely modified, what version should I download?

stock or any other rom.?

thanks in advance.

Sent from my Nexus S
[Nexus S Android Development] CrackerTeg:
Any other ROM.
[Nexus S Android Development] linuxxp:
I do a full wipe and install Slim Beam 2.5 amd last marmite. For 10 hours without use battery is droped 2%. No random reboots. Thanks bedalus :)
[Nexus S Android Development] caliban2:
Quiet as it is in here, 4.7.6 must be virtually bug-free. :D At least for me it is...

Let's talk features then:

Is pm_fast working for you guys? Whenever I'm downloading or transferring data (airdroid) via WiFi, the data-rate drops as soon as the phone enters standby. Wake it up and speed is restored.
[Nexus S Android Development] sidnoit22:
Same with me, wifi issues.
[Nexus S Android Development] polobunny:
Same for me. Sometimes it also seems to make my downloads fail.
[Nexus S Android Development] sperelli:
Same here... Sometimes my dls do fail!
[Nexus S Android Development] towelboy:
Yep me too, WiFi is too slow when screen is off, I wish it was the opposite since I don't leave my screen on while downloading things
[Nexus S Android Development] :
I'll look into it. May have reverted something by mistake.
[Nexus S Android Development] :
Asphalt 7 was on sale the other day, downloaded all 1.2GB of it with screen off no problem.
[Nexus S Android Development] mixtapes08:
Ns can handle it??

Sent from my Galaxy Nexus
[Nexus S Android Development] :
It seemed fine to me on smartassv2, but I'm not into games, so no basis for comparison.
[Nexus S Android Development] CrackerTeg:
bedalus, giving this current version a go. I can't tell you too much of my impressions so far as I just flashed it a little while ago and the phone is charging. This kernel has everything I'm looking for in a kernel thus far. I'm not too sure on this version's stability just yet for reasons I mentioned previously. As it stands, I didn't mess with your color settings as I like them just as cool and bright as you have them, bumped the speed to 1200, on smartassv2 and left the default scheduler. I'll give it a few days at those settings and give my thoughts. Also, I'm sure you saw in my sig my previous setup but I decided to boycott that particular one for reasons that don't need to be shared here. Anyway, I do like how quick you are to respond to issues that may come up and I appreciate that you don't have a cocky attitude. I've said it before and I'll say it again. I like your style.
[Nexus S Android Development] aladin6:
But what did you implement in that kernel :eek:! Completely AWESOME :good:. But i never seen my NS with that great smoothness (im using the latest MIUI build), a very good combination. Keep up the good work dude, we're all with you :good::good::good:
[Nexus S Android Development] towelboy:
Very true
[Nexus S Android Development] sidnoit22:
When i wake my phone up then it reconnects to Wifi, and when i lock my phone it drops the connection.. :confused:
[Nexus S Android Development] :
I'll be checking into that today. As i said before though, i managed to download a game bigger than 1gb with the screen off.

Did you check in wifi > menu button > advanced? You can modify some screen off settings there too.
[Nexus S Android Development] sidnoit22:
You were right. I checked in Wifi Advance and there is a option Keep Wifi on During Sleep and it was set on never. Thanks! :cool:

Sent a Jellybean from my Jar
[Nexus S Android Development] :
PM me if you want to compare notes.
[Nexus S Android Development] :
Yeah, I still have PM_FAST. No accidental reverts! Probably anyone with wifi issues just needs to check their wifi settings.
[Nexus S Android Development] caliban2:
Well, pm_fast isn't working on CM then.

If I had problems with the connection dropping completely, I would've said so. It's about the speed, not the connection.
[Nexus S Android Development] towelboy:
Once I changed the WiFi settings, everything is going great! No complaints except I now notice that either max brightness setting has very little toll on battery life or automatic kills a lot of battery on s-amoled lol
[Nexus S Android Development] :
There used to be some claims that automatic brightness was bad for battery, but I was never able to observe this. I mainly use my phone indoors, with minimum brightness, so I set it manually.
[Nexus S Android Development] :
It's not the kernel, so it must be the OS. Do a nandroid and try an aosp ROM?
[Nexus S Android Development] beppegg:
Yesterday I had another reboot, anf just like the other times I was composing some text. I think there's something wrong with my IME, forma real...

Anyway, I should have a last_kmsg, although it seems pretty messed up to me :S

ROM: Rasbeanjelly (Sept, 22nd)

Kernel: 4.7.6

IME: SlideIt Keyboard

I've now switched to default keyboard, let's see what'happen.

Inviato dal mio Nexus S con Tapatalk 2
[Nexus S Android Development] gummie:
That is not Kernel related. Its a ROM's fault, even Init.d NS Settings wont apply on startup. Try to change/install another Busybox, preferably that one on the V6Supercharger Thread. There is this Starter Kit, you only need to install the Busybox no other. Anyway 2.9.29 is already out, havent tried other Kernel on it cause I'm still on testing phase but I might change later cause I cant live w/out BLN and Voodoo :laugh:
[Nexus S Android Development] :
Other people have been reporting problems with keyboard on rascarlo's ROM.
[Nexus S Android Development] leap_ahead:
I use rascarlo rom and your kernel without any problem !!!
[Nexus S Android Development] :
What keyboard are you using?
[Nexus S Android Development] beppegg:
UPDATE: I Just had another reboot, comping a messagge with default keyboard.

Here is last_kmesg: https://www.dropbox.com/s/ct0bgfxl2yvinp2/last_kmsg_20120930_1205.txt

Anyway: apart of this issue, I have to thank bedalus one thousand times for giving me a new, refreshing experience with my nexus s. I was very disappointed by the slugghines and laggyness of my device, that I was advicing everybody NOT to buy android phones. Now you showed their real power, Google should pay you a million dollar! XD
[Nexus S Android Development] leap_ahead:
aosp keyboard
[Nexus S Android Development] :
Thanks, I had a look at your last_kmsg, but it doesn't appear to be a kernel problem. You can use the 'debug' version, or maybe do a full wipe and re-install ROM/Kernel/apps. It's possible it might be a ROM bug, so you could try a different ROM, or go back to an earlier version.
[Nexus S Android Development] sperelli:
Wifi seems ok now
[Nexus S Android Development] infernalMan:
i currently set BLN+blink on via init.d configuration.

when a notification coming to my phone BLN+blink works normally.

but after unlocking phone sometimes soft key button light doesn't turn on sometimes on.

its randomly happened.

anyone??

ps : i set bln mode in mode 2 and blink speed 7
[Nexus S Android Development] :
What about when you touch the buttons. Do they light up?

Anyone else noticed this problem?
[Nexus S Android Development] infernalMan:
still off.

they will turn on again if i turn my scren off and i turn on again.
[Nexus S Android Development] :
Can you post a copy of your init.d script please?
[Nexus S Android Development] infernalMan:
actually i'm in experiments to find closest blink to my taste.

this issue come since previously i use blink mode 1.

and i try to mode 2 still same.
[Nexus S Android Development] :
Would you mind trying this:

1) Backup your script

2) Reboot to recovery

3) Format /system and /cache

4) Flash previous version of ROM

5) Flash kernel

6) Reboot

7) Restore script

8) Reboot again
[Nexus S Android Development] infernalMan:
ok will reporting back later.
[Nexus S Android Development] CrackerTeg:
Bedalus, after taking off charge last night, the phone sat idle over 7 hours on spotty 3g signal and only dropped 5% battery. Thoroughly impressed thus far.
[Nexus S Android Development] :
That's good idling.
[Nexus S Android Development] CrackerTeg:
Hell yeah that's good idle! I'm waiting for a random reboot based on previous reports but so far, none.
[Nexus S Android Development] alen1901:
why do you have bld set on 20000. thats 20 seconds. its a lot. :P
[Nexus S Android Development] jayjay3333:
Good call. Mine

echo 1 > /sys/class/misc/backlightdimmer/enabled

echo 3000 > /sys/class/misc/backlightdimmer/delay
[Nexus S Android Development] ignito-nexus:
Are you considering this patch?

http://review.cyanogenmod.com/#/c/23540/
[Nexus S Android Development] infernalMan:
yea i don't like faster bld too much.

it makes my nexus look like an iphone in short time :p

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

after doing a clean reinstall my init.d script doesnt work.

i have installing busybox like i did before but still not work.

i dont know why :eek:
[Nexus S Android Development] polobunny:
Ok, I might be missing the obvious here, but I cannot get BLN to work properly with my setup

Content of 99blink file I created:

echo 1 > /sys/class/misc/backlightnotification/enabled
echo 1 > /sys/class/misc/backlightnotification/in_kernel_blink
echo 1 > /sys/class/misc/backlightnotification/blink_mode
echo 1 > /sys/class/misc/backlightnotification/blink_speed
echo 1 > /sys/class/misc/backlightnotification/max_blink_count
echo 1 > /sys/class/misc/backlightnotification/blink_finalstate

It works when I run each one by one using adb shell. Doesn't work when I run the script using Root Explorer. I'm using a CM kang. What the... I know it's not really the thread for that, but it didn't do that with past used kernels. :|
[Nexus S Android Development] infernalMan:
have you tried to change max_blink_count to some more number ??

i think if you choose mode 1 and blink count 1 it will only blinking once and then they come to blink final state.

imo.
[Nexus S Android Development] polobunny:
Yeah I know that. I just want it to light up. Running each one after the other works, but running the script doesn't work, neither does using init.d. That's where I'm confused. :|
[Nexus S Android Development] linuxxp:
Last night installed Slim Beam 2.6 and marmite 4.7.6. Battery consumption is worst. And now I have random reboot. Before 2 days I make full wipe and install Slim Beam 2.5 and everything was OK

last_kmsg
[Nexus S Android Development] infernalMan:
i found this http://xdaforums.com/showthread.php?t=1422061

you need busybox installed, then create file "install-recovery.sh" described in that post.

dont forget to set permission to rwx - rx -rx

reboot into recovery, fix perrmission, reboot system (will appear warning message like "flash stock recovery bla bla )

just ignore it click no.

if your init.d script was successfully running, delete file "install-recovery.sh" then reboot.

my init.d now running with this method.

or :

imo (maybe)

this happened if we install v 4.7.6 directly without installing v 4.7.5 before.

at least this happened to me when i directly install v 4.7.6

so you can also flash v 4.7.5 before and flash v 4.7.6
[Nexus S Android Development] :
That patch is already included in the cm version
[Nexus S Android Development] Jamalsid:
Bedalus, does your latest cm kernel work with the latest nightlies? I was reading in the trinity kernel thread that CM have changed the ramdisk again. Don't know when that happened so not sure if you already accounted for that?

Thanks for the great kernel by the way. Use to be a devoted follower of Morfic's kernels but he does't seem to have the time to get a decent JB version going so been using your kernel for a couple of months now and it gives the best idling drain I have ever had. Keep it up.
[Nexus S Android Development] :
I can't open the doc. Can you check the share settings?
[Nexus S Android Development] linuxxp:
Sorry! I forgot to change the permissions. Now is visible.
[Nexus S Android Development] :
Unfortunately it doesn't appear to be a kernel error. Are you running a nightly?
[Nexus S Android Development] :
No-one has reported any issues with it. I expect what happened was that someone in the trinity thread reported it was a ramdisk issue, when in fact they meant this: https://github.com/CyanogenMod/andr...mmit/a4e6f9e6a547876d1dd57747544416a515644e0e

I expect morfic has lost interest in the Nexus S to a certain extent. He's building for the Nexus 7, the SGIII, and the Galaxy Nexus, all of which are considerably more cutting-edge than the Nexus S.
[Nexus S Android Development] :
New DEBUG release: http://goo.gl/HvUrp

-Amusingly titled 'bovril'

-This is just a more up-to-date debug version, reflecting the changes from the latest incremental release

-This is not intended for general use, only for people who experience reboots, and want to help determine where they came from.
[Nexus S Android Development] caliban2:
Working perfectly together.
[Nexus S Android Development] deani77:
Download your debug kernel now... Having 2 reboots while making call and once during composing message.
[Nexus S Android Development] xzilem:
I'm having fun with my new gnex now, so thanks to Bedalus for making an :good: awesome kernel for my nexus s. Your kernel keep me from changing phone :laugh: I hope to see you in gnex forum too.
[Nexus S Android Development] linuxxp:
No, Slim Beam 2.6. maybe the problem is in ROM. Thankyou!
[Nexus S Android Development] :
I'm on that too. Maybe try and get it to reboot on the debug kernel?
[Nexus S Android Development] linuxxp:
Now I make a full wipe, format /system and format /sdcard. I hope to resolve the problem
[Nexus S Android Development] mpjoe2000:
try to do this:

- open your great marmite kernel zip file and find this file: /system/etc/init.d/98mounts

- change the file's name to: 99zmounts

- repack

- install

some roms have some mounts tweaks in a file named 98tweaks like CNA (don't know slim beam) as this scripts run in alphabetical order, 98mounts will run before 98tweaks leaving bedalus mount tweak script unapplied. Maybe this tweak will avoid unwanted rom reboots (rom reboot: no google logo on reboot)

please feedback
[Nexus S Android Development] linuxxp:
I have phone reboot (appear google logo) not ROM reboot but if I have new random reboot I'll try this. Tanks!
[Nexus S Android Development] nightsky87:
OMG bedalus. I can't believe I'm already missing your kernel on my Galaxy Nexus. I just tried color calibrating it and the gamma doesn't seem stable (on Trinity kernel btw - no offense to morfic though since its still a great kernel)! The white point keeps changing at different brightness levels...

At least the Nexus S will still have great colors. :D Oh and the gamma project is still on... :p
[Nexus S Android Development] beppegg:
Grabbed! :good:
[Nexus S Android Development] caliban2:
Using latest cm-nightly plus marmite 4.7.6cm (not debug) and still am a very happy camper.

That said, I've got a strange glitch today. No idea if it's rom- or kernel-related, so I'm just posting this here for reference (!).

While browsing the web (opera), the phone became very laggy, including slideshow-graphics. First I thought it would now freeze and reboot by itself again. When it still didn't after five minutes, I opened cpuspy - turns out that it only used the steps from 100 to 400 MHz, 800 & 1000 were not used anymore at all. After a reboot everything was fine again. Sadly my batt went out soon after, before I could grab the last-kmsg.

As I said, no idea what triggered it and I never ever experienced something like this since I own this phone.
[Nexus S Android Development] :
Let us know if it helps!

Hmm. I will probably remove the one in my .zip. I didn't realise it was still in there. Most ROMs provide remount tweaks anyway.

I'm at work right now, but when I get home I will check!

Opera changed the CPU limit? Seems unlikely, but more likely than the kernel doing it by itself. See if you can reproduce the bug?
[Nexus S Android Development] caliban2:
No, just mentioned it because that's what I was using at the time. Don't think it caused it...

As I said, this is a really strange one - not blaming the kernel at all. Well, yet. :p Wonder if it will ever happen again. Or take another year to occur. (Don't think I'll still be using it then though... ^^)
[Nexus S Android Development] melvinchng:
Where does the msg store at? I have debug version and random reboot just now..

Accidentally sent from my Google Nexus S
[Nexus S Android Development] :
Hello to a fellow RC!

Yes, you can get it by copying the file /proc/last_kmsg somewhere safe like /sdcard.

You can do it with most file managers, or in terminal execute

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

Do asap after any random reboot. Upload it to somewhere I can see it!
[Nexus S Android Development] polobunny:
Got a reboot with 4.7.6 while using app Nine (9gag app). Not full reboot, because it didn't go through the Google logo, just ROM reboot.

Last kmsg is useless, but here anyway:

http://pastebin.com/jEHLiWFn

Kmsg is wtf (untracked PIDS?? caliban???):

http://pastebin.com/yN9hAFj2

Screen is black except for notification bar showing. When I go in the settings I can't see any options but I can see the menu title. I can bring the power menu by holding power and I can press screenshot, I hear the sound, but no screenshot is taken.

Got no choice but to reboot, work tomorrow and I need my alarm clock. :(
[Nexus S Android Development] leap_ahead:
here first for me..i dont know if is the correct file .. View attachment 1369486
[Nexus S Android Development] stojshic:
Had that black screen once, nothing helped, had to reboot... At time, I used rasbean + marmite, but can't remember what version of marmite
[Nexus S Android Development] :
Unfortunately that's a last_kmsg from recovery.

The ksmg (well done for grabbing this) shows the pvr driver crashing. It "fails to create a swap chain"

I used to get the same thing with mk's kernel when he updated to mainline .35, but not in .34

I'll have a look at what code was changed in the .35 update to see if any of it was graphics related
[Nexus S Android Development] :
It's the correct file, but unfortunately it's from recovery. It says kalimochoAz at the top when it should say bedalus