yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] zacharias.maladroit:
most likely

"PEBKAC" -> #user error

(no offense)

possible reasons:

- MAC filter

- kernel script (S98system_tweak) <-- try removing that and see if it works

- kernel module not loading, similar error <-- try re-installing the kernel

- ...

at least for me it works on channel #6 and NOT and channel #13
[Galaxy S I9000 Android Development] vukandric:
So zach, how's battery? You reported nice results, so I wanted to know are they still good? :) I am on neo8 right now, everything is ok for me (no wifi problems).
[Galaxy S I9000 Android Development] toto313:
Omg... Please let us to choose if we want or not LED notif ! :(
[Galaxy S I9000 Android Development] drew071:
Thanks very much :)

Drew
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi vukandric,

the battery consumption seems lower

so - yeah, they're still good =)

thanks for your report & using !

I figured out which commit it was

so likely the better reception might go back to stock (cm7) kernel levels

hopefully/maybe nikademus (he's also using these commits) can figure out a way on how to fix it

chill ;)

meh - I don't use it so I won't compile it in and automatically cause higher battery consumption

attached you'll find the kernel with fixed wifi + led-notification

as flavor

Kernel

CM7 & MIUI only

NEO 08

(app installation broken)

before you ask for any ETAs:

The first rule of CyanogenMod [and this project]: DO NOT ASK FOR AN ETA!

Changelog (from NEO_07):

characteristics:

- conservative governor (screen: on & off)

- touchkey timeout (no led-notifcation) | led-notification (2nd kernel)

- some more battery savings & speed-ups

- OC up to 1.6 GHz (but it seems the power-saving measures don't let it scale up performance correctly - so max frequency recommended is 1.4 GHz)

- 339 MB (that's nearly 340 MB of RAM !)

- Juwe11's OOM killer settings

- tweaked memory settings & stuff (too much to remember what all was changed)

- disabled logcat & printk output [thanks to existz for ideas !] -> battery savings & less overhead

- some voodoo color improvements [thanks to nikademus !]

- 2011.03 toolchain + optimization flags :D [thanks to hardcore for help !]

- some more tweaks to ondemand governor

- lots of other performance and battery consumption related fixes

- known to work on nightly #24 + #25 (SGS numbering scheme) [probably up to #30 and higher]

- different compiler optimization flags for NEON, floating point usage + level 3 optimization

- re-added memcopy-memmove optimization

- some mmc/sd changes

- wifi fixes & optimizations (thanks to nikademus !)

- additional security stuff (thanks for nikademus !)

- upstream updates up to 2.6.35.13 (thanks to nikademus for porting it !)

- gannet (kineto gan) kernel module

- loop module compiled in as module (on user request - not into the kernel as before)

- fixes: clocksource rounding, usb-mass-storage [writes], ARM: irqsoff trace, ...

- built the modemdriver (RIL part) with stock CM7/android toolchain for max stability and comparable (or lower) battery consumption like stock kernel

testing/need feedback:

- stability / reboots [it uses some new optimization-flags so I need to know if those affect stability]

- any regressions with games, apps, etc. ? [none known so far]

Troubleshooting and other stuff:

other governors:

http://xdaforums.com/showpost.php?p=14676468&postcount=1127

it's not really "forced"

if you take the older additional scripts into account it was "forced smartass", "forced ondemand", etc. ^^

just change the awake_governor like Cloudstripe wrote

in S98screenstate_scaling in the kernel-package (system/etc/init.d/)

and re-install the kernel

then you should have smartass governor
[Galaxy S I9000 Android Development] quaff:
Take it easy. That's an internal build, he's trying to test for things not working like wifi. I'm sure he'll post the version with led-notifications ADDED when things are to his liking.
[Galaxy S I9000 Android Development] zacharias.maladroit:
already up :eek: (1 page back)
[Galaxy S I9000 Android Development] quaff:
damn you're too fast :) i was waiting for the led version too!! thanks dude! I am going to install it right now :D:D
[Galaxy S I9000 Android Development] domy1985:
Now wifi is working :-) can you also fix the problem with external SD? My external SD is not recognised on latest build #30
[Galaxy S I9000 Android Development] adrianmak:
I'm on MIUI MCGv6.15 and it is with neo7 as default kernel.

If I want to flash latest neo8 kernel, should I flash the cleaning script posted on 1st post ? (As they are the same kernel , I classify neo7,8 are same kernel as from they are from same kernel developer)
[Galaxy S I9000 Android Development] bungknees:
Same here, Im on miui.us version and when I flash 08 all sd card apps are gone, Flash back to miui.us kernel and all is fine.
[Galaxy S I9000 Android Development] zacharias.maladroit:
Will MIUI&CM7 Cleaner (1).zip (171.38 KB)

this is essentially lippol94's updated script cleaner

more info: http://xdaforums.com/showpost.php?p=14805606&postcount=21739

Hi bungknees,

please post all necessary steps so that I can reproduce it in a faster manner (what apps, how to install what behavior, etc. etc.)

thanks to you and domy1985 for your report !
[Galaxy S I9000 Android Development] dawgpound6985:
Having the same issues as above. Using MIUI.us 1.6.10 build. Can't install apps that utilize the external SD Card. Worked fine with Fugu Kernel and I used Lippol94's Script cleaner and cleared cache and Dalvik-cache before changing kernels. Gonna try the TK-Glitch kernel in a bit. Apps that won't install for me:

Bejeweled 2

FPSe 10.53

HyperJump

Medscape

MegaJump

Worms

X-Men

a couple others.

EDIT: Apps install and stay installed using TK-Glitch V10C-VC. Not sure what's going on.
[Galaxy S I9000 Android Development] bungknees:
Any apps that are installed on my sd card dont show up, only the little icon that means the app that was there aint there anymore(hopefully you know the icon im talkink about). the apps are Homesmack, angry birds, can knockdown 1 and 2, and a couple of others.

So it not that im trying to install them from my sd, the ones that were already there dont show up.

Edit: I did use the kernel cleaning script before flashing your Neo 8. Always do.
[Galaxy S I9000 Android Development] kevin2516:
I tried the kernels, didn't seem to help, my wifi can connect, but i still cant download or browse anything. I remember your r8 quorra kernel working though.
[Galaxy S I9000 Android Development] glavos:
tested first version of neo 8 (-03), gsm(2G) and wifi battery drain same as before WiFi signal strength is better, here are the results:

NEO7

wifi drain - 66uAh

wifi signal - 31%-47%

gsm signal - 77%-84%

gsm drain - 56uAh

NEO8

wifi drain - 66uAh

wifi signal - 44%-53%

gsm signal - 77%-81%

gsm drain - 56uAh
[Galaxy S I9000 Android Development] adrianmak:
does neo kernel adopt voodoo sound driver ?
[Galaxy S I9000 Android Development] toto313:
Thx a lot for the Kernel with LED Notif :p

Yep !
[Galaxy S I9000 Android Development] mr. phillip:
+1...

It gets sync'ed for a while but shortly after it looses the ability to do anything with the net...
[Galaxy S I9000 Android Development] R34L2Pac:
UV tutorial needed

Hi,

can somebody write short instructions how to proceed with settings UV value to reach the best stable values?

I tried to set UV values (1000MHz@-100mv, 800MHz@-75mV, 400MHz&200MHz@50mV and 100MHz@-25mV) and test it with Asphalt 6, but few rounds later it gets stuck and reboot, so now I dont know which value should I edit to get it more stable. How should I proceed now?

Thanks in advance.
[Galaxy S I9000 Android Development] Gyunikuchan:
ur UV values are too high, try UVing less

might wanna do some stability test with mobo player playing 720p videos

if it crashes, ur voltage and clockspd are unstable

personally, i start from a lower max clockspd and then slowly increment it to ensure that the phone is stable on all spd
[Galaxy S I9000 Android Development] PAGOT:
you did it the wrong way.... HIGH UV on LOW FREQ .(NOT HIGH UV ON HIGH FREQ )

If that would have worked you would be lucky. Basically your 1000Mhz is too high , -100 mV is too much. you can go for -50 others are ok. But usually you go

100 Mhz @ -250, 200 Mhz @ -225, 400 Mhz @ -125, 600Mhz @ 0, 800 Mhz @-75, 1000Mhz @ -50 these are my stable values . Might not work for you though :) ( also am not on this kernel ) but just to give you an idea how to do it :)
[Galaxy S I9000 Android Development] skye9342:
Regarding the screenstate scaling, I require a specific app to open in order to edit the file. Which app should I use?

Thanks a bunch. =)
[Galaxy S I9000 Android Development] mohamobo:
Waiting port neo 8 for vibrantmtd :D
[Galaxy S I9000 Android Development] thunderteaser:
I'm on MIUI MCG v7.5 which uses the awesome NEO 08v2 . I don't have the haptic feedback for the keyboard anymore, but it works overall the UI. Though, sometimes, I get a double feedback for one press. Is the kernel possibily causing this? :confused:

P.S.: I was in a rush. Looking around I found that it's due to MIUI 1.6.17. So... take this as a congratulation topic! :)
[Galaxy S I9000 Android Development] Funnnny:
too high uv may cause sleeping of death, some phone can't wake at too low voltage

Swyped from my I9000 using Tapatalk.
[Galaxy S I9000 Android Development] :
wanna share my experience:

neo8 v2 causes random reboot to me (on oc 1.2-1.4ghz)

neo8 (wifi-upd-speed) doesn't like sdcard apps or some apps couldnt work with it (known issue on this kernel)

-------------------------

back to neo7 latest version, all is good with oc 1.2-1.4ghz.
[Galaxy S I9000 Android Development] tincmulc:
I'm using NEO 08_v2 @ 1500 MHz with undervolt values:

-175 @ 100

-125 @ 200

-75 @ 400

-50 @ 800

0 @ 1000 - 1500

Very stable, and everything runs smoothly (tried a few games, all work as they should), wifi works great (speed test show an additional 100 Kbps! :D ) although I am using static IP (don't know if DHCP dropping connection 3 times per minute is fixed or not, static is a no biggie for me)

Thanks for the great kernel!
[Galaxy S I9000 Android Development] xdaShex:
Random question, how much ram have you guys got using neo8? kernel ? i checked my seems to be around 310 is that normal ? instead of the 339 i see on the front page.
[Galaxy S I9000 Android Development] R34L2Pac:
I have claimed value 339MB with NEO8v2.
[Galaxy S I9000 Android Development] xdaShex:
Anyway to fix that?
[Galaxy S I9000 Android Development] fireymint:
Im on MCG v7.6 with CM7_SGSMTD_20110618-07_platypus-revolutions-kernel_NEO_08-loop-MIUI(led-notif) but im not getting led notif.

Am i the only one?
[Galaxy S I9000 Android Development] Funnnny:
Hello Zach again, have some stability problem report

Look at the picture, the 1000Mhz freq is rarely use, and the 400Mhz isn't used much. 1200Mhz is the most used freq.

I flashed tk-glitch's kernel and use the same UV/OC, and the time in state is the same for most freq (I rarely use the phone to play game, most of the time is browsing stuff). I had this problem for a long time and now I think we should have a look at this :)

The gorvenor isn't the problem here, since with glitch's kernel + conversative or smartass, I get the same result
[Galaxy S I9000 Android Development] kkube:
Hey zach,

Huge fan of your kernel.

I am on miui 7.7 with neo 8.2(led notification)

I see you hav implemented ondemand awake governor

It is working fine but I prefered conservative awake governor, which was the main reason I switched from glitches kernel to yours.

I know the method of changing the S98screenstate_scaling file from ondemand awake to conservative awake, but there was also some need of commenting and uncommenting some lines.

I can't figure out which ones in neo8.2, though I did in neo7.

Any help on this. Coz I like to change governor now and then depending on my usage.

Keep the good work coming.

Sent from my GT-I9000
[Galaxy S I9000 Android Development] sambwel:
I was not able to load this site, but I think it was just a DNS issue so it wouldn't affect most people. But if anyone else has the same problem, I was able to access it using a free proxy (that one let me download the files, many have small filesize limit). :)
[Galaxy S I9000 Android Development] necropedofile:
Zach,

On neo 08 n MIUI 7.7 Cannot get data traffic under a VPN connection. I tried using the script tweaks from neo02 yet they dont seem to work anymore. Could u please look into it

It wont make ur kernel more awesome but could make my life simpler
[Galaxy S I9000 Android Development] fireymint:
@kkube

Hey man, you got led notif working with v7.7?
[Galaxy S I9000 Android Development] kkube:
Yeah, I have you have to download the latest 8.2 version with led notification as default kernel on miui 7.7 is with no-led.

Sent from my GT-I9000
[Galaxy S I9000 Android Development] zacharias.maladroit:
good thing my crappy dev phone also seemed to have had the same issue

here kernel builds with different optimization flags

this should fix things

hopefully stability won't suffer from this ...

NEO 08(wifi03)
[Galaxy S I9000 Android Development] mr. phillip:
Gonna try it...

Nope... same problem persists...

Is there anyway to reflash CM7 stock kernel without reflashing the whole thing?
[Galaxy S I9000 Android Development] kashortiexda:
Use a root file manager and go to /system/etc/init.d and delete S98 system tweaks file. REBOOT. .

Then try connect to wifi - if it works, then your problems lie within that file.

I modified this file ( enabled re-routing on ipv4 and 6 ) and my wifi now works fine

Let us know
[Galaxy S I9000 Android Development] fireymint:
Hey Zach. I can't seem to get led notification working on v7.7 with v8_2( led). Is there anyway I can post a log?
[Galaxy S I9000 Android Development] kevin2516:
Yep removing that file fixes it for me, my wifi now actually works (i can browse etc) when it connects, so zach, what do you think could be the issue then?

Edit: could you show me what you modified? is the stuff in the system tweaks file important to use? xD
[Galaxy S I9000 Android Development] rschenck:
Will this kernel version work with #34 and after?
[Galaxy S I9000 Android Development] rschenck:
I was also having the same trouble with WiFi before going back to stock...will deleting that file cause any problem or is it a solid fix?
[Galaxy S I9000 Android Development] kevin2516:
So far, deleting the file hasn't caused any problems for me, so i guess you could call it a fix.
[Galaxy S I9000 Android Development] Moudii:
+1 for deleting the file. Works now. I'm sure deleting it made my phone like a sitting duck for hackers or something :D

Edit: I'm on MIUI latest.
[Galaxy S I9000 Android Development] rschenck:
Anyone running Neo08v3 with Nightly 34?
[Galaxy S I9000 Android Development] kashortiexda:
Other kernels don't seem to insert that particular EXTRA file, only Zach's so far from what I've seen.

Zach has my modified file and I'm sure is working on what/why/when and a fix, if needed.

I actually still have the system tweaks file - I just modified some of the router/rerouter/ipv4 settings from disabled '0' to enabled '1' depending on how your router is set up.

My fix is probably less safe than Zach's original file, but given that other kernels dont even have those extra settings, I assume its still as safe as stock.

Zach?
[Galaxy S I9000 Android Development] zacharias.maladroit:
I actually wanted to build a new kernel some days ago but my system keeps on hardlocking so it'll take some time until I release a new kernel

the kernel might work with #34 + #35 but you will miss out on the SOD (sleep of death ?!) "fix" (I didn't have any SOD so far but it will help users that had)

sure, it's still much more secure than stock =)

Thanks for pointing out the issue & cause !
[Galaxy S I9000 Android Development] rschenck:
Well, I am using the latest Neo 8 with 34 and it seems just fine. I deleted the file as suggested to get my wifi to transfer data on all connections (interestingly it worked on my home wireless network, but didn't on my office wireless).

What is the zip file you attached here, Zach?
[Galaxy S I9000 Android Development] zacharias.maladroit:
the fixed scripts to get WIFI + network working

=)

so you don't have to miss out on the dozen other tweaks in that file

thanks !
[Galaxy S I9000 Android Development] rschenck:
so just flash the zip from recovery over the kernel, even though I deleted the tweaks file?
[Galaxy S I9000 Android Development] zacharias.maladroit:
no no no :p

it's just a zip-file with a folder packaged

the included files are for replacement for the existing files in the kernel-package you guys downloaded

after that flash the updated kernel-package (with the new scripts inside)

do not attempt to flash that zip-file (with the scripts only)

I should do no harm though (I expect CWM to be intelligent enough not to do any harm if there's no updater-script but you never know)

hope that makes it clear :)

this is a temporary solution until I can sync the repo & build a new kernel
[Galaxy S I9000 Android Development] rschenck:
OK, did as you suggested....and lost wifi on my office network again.

Could it be relevant that here at the office I am connected by Connectify to a laptop running Win7, connected to the new by a USB Cellular modem? It has always worked before.

Ideas?
[Galaxy S I9000 Android Development] kashortiexda:
I connect through wifi/usb3G also.... here are my settings that work for me on both wifi and wifi/USB 3g..... in system/etc/init.d/S98system tweaks

# disables IP source routing (for ipv4)

#for i in /proc/sys/net/ipv4/conf/*; do

# /bin/echo "0" > $i/accept_source_route

#done # does not get applied - FIXME

echo "1" > /proc/sys/net/ipv4/conf/all/accept_source_route

#for i in /proc/sys/net/ipv6/conf/*; do

# /bin/echo "0" > $i/accept_source_route

#done # does not get applied - FIXME

echo "0" > /proc/sys/net/ipv6/conf/all/accept_source_route

# These commands configure the server to ignore redirects from machines that are listed as

# gateways. Redirect can be used to perform attacks, so we only want to allow them from

# trusted sources:

#for i in /proc/sys/net/ipv4/conf/*; do

# /bin/echo "1" > $i/secure_redirects

#done

echo "0" > /proc/sys/net/ipv4/conf/all/secure_redirects

#for i in /proc/sys/net/ipv6/conf/*; do

# /bin/echo "1" > $i/secure_redirects

#done

# disables IP redirects (for ipv4)

#for i in /proc/sys/net/ipv4/conf/*; do

# /bin/echo "0" > $i/accept_redirects

#done # does not get applied - FIXME

echo "1" > /proc/sys/net/ipv4/conf/all/accept_redirects

#for i in /proc/sys/net/ipv6/conf/*; do

# /bin/echo "0" > $i/accept_redirects

#done # does not get applied - FIXME

echo "0" > /proc/sys/net/ipv6/conf/all/accept_redirects

# If this server does not act as a router, it does not have to send redirects, so they can be

# disabled:

#for i in /proc/sys/net/ipv4/conf/*; do

# /bin/echo "0" > $i/send_redirects

#done # does not get applied - FIXME

echo "1" > /proc/sys/net/ipv4/conf/all/send_redirects

# Configure the server to ignore broadcast pings and smurf attacks:

# (smurf-attacks)

echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts

echo "1" > /proc/sys/net/ipv6/icmp_echo_ignore_broadcasts

# Ignore all kinds of icmp packets or pings:

echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all

echo "1" > /proc/sys/net/ipv6/icmp_echo_ignore_all

# Some routers send invalid responses to broadcast frames, and each one generates a

# warning that is logged by the kernel. These responses can be ignored:

echo "1" > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses

echo "1" > /proc/sys/net/ipv6/icmp_ignore_bogus_error_responses
[Galaxy S I9000 Android Development] :
hi zach, I'm still having reboot problem since Neo08 onwards with OC 1.2ghz (if no OC, no reboot problem). Reboot problem can be reproduced by calling someone for more than say 8minutes...:rolleyes:

However, I can OC 1.2ghz or even 1.4ghz on Neo07.

Just FYI and if that can be fixed in later release it would be great! :D
[Galaxy S I9000 Android Development] rschenck:
Mine is set just like that...still no dice. Very very strange.
[Galaxy S I9000 Android Development] kevin2516:
Ok i did that, my wifi doesn't work properly again, it only works when i remove that file.
[Galaxy S I9000 Android Development] rschenck:
Mine as well..so there must be SOME setting in there that is screwing us up.

Again, it works fine for me on a normal wireless AP, but goes hinky with no data transfer on Connectify.
[Galaxy S I9000 Android Development] omiks3:
Hi zach

On cm7 #35 there is a new kernel I'm guessing neo 8 isn't compatible with this?
[Galaxy S I9000 Android Development] kashortiexda:
try enabling the ipv6 portions too. ( ie change the zeros 0 to 1 ones )

I only enables the ipv4 because thats what my particulart 3G USB wifi uses
[Galaxy S I9000 Android Development] rschenck:
Already tried that...still no good.

This is getting sort of mysterious.

EDIT...This is interesting, I notice there is no option to enable or disable secure redirects via IPv6, just IPv4. There is a comment discussing it, saying it should be set to 1. However, no actual switch.
[Galaxy S I9000 Android Development] rschenck:
This may help, or it may not...but I just found that the same WiFi data problem is present in Glitch v10 VC as well.

In fact, the same file is in init.d, written by Zach. Is Tk using one of your files or did the kernel cleaning script fail?
[Galaxy S I9000 Android Development] zacharias.maladroit:
the kernel cleaning script failed

take a look at the first post :) (like I already wrote in Tk's thread)
[Galaxy S I9000 Android Development] kasper_h:
I have no S98system_tweaks (running Glitch's V10C-VC kernel)
[Galaxy S I9000 Android Development] zacharias.maladroit:
also

this poverty & limited resources mentality SUCKS

I've decided to only share newer kernel releases as MONOLITHIC commit / patch from now on

until the situation gets better

there are some exceptions (like nikademus) but the "optimal" way to distribute kernel changes nowadays seems to be to provide only one whole monolithic patch without git history and anything else to be able to understand and follow the changes & thoughts that were made to improve the source

in this environment the kernel can't be further developped for the common good at a reasonable investment of time & resources and cost

and I'm fed up with this sh*t

enough is enough
[Galaxy S I9000 Android Development] lippol94:
Where the hell does this frustration come from? :(
[Galaxy S I9000 Android Development] rschenck:
Thanks Zach...just experimenting back and forth to understand what is causing this.

As I will be depending on my phone while abroad soon, I want to make sure I can make use of any and all wifi signals I may find.
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi rschenck,

if you're really dependent on the functionality,

then delete from lines 150 to 280

this should remove all of the additional network-security related settings of my kernel

after that replace the S98system_tweak script in the kernel-package with the modified one

meanwhile you could try using droidwall or some other firewall app if needed

we can try to solve this issue later

currently I've also not much time to see what might cause it (I also can't reproduce it so it's kinda hard to figure out what goes wrong)

the icmp* settings however are some candidates that might make it harder to establish a connection or transfer data (I had issues with it in the past)

so you might want to try modifying / reverting those settings

Thanks for flying platypus !
[Galaxy S I9000 Android Development] rschenck:
NO worries..thanks a lot Zach
[Galaxy S I9000 Android Development] rschenck:
I am having trouble making sense of the line numbers...can you tell me the text to start deleting at, and the text to stop deleting at?
[Galaxy S I9000 Android Development] zacharias.maladroit:
sure :)

notepad++, ultraedit, etc.

might show line numbers in a convenient way

anyway:

starting:

--> 150

ending:

<-- 280
[Galaxy S I9000 Android Development] rschenck:
Excellent, thanks...

One last stupid question from a non coder....what format do I save it as?