yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Cloudstripe:
Thanks Zach,

Another question if you don't mind.

If have recoded some of the codes in S98screenstate_scaling. Since I want to try changing governor to see what works best for me without commenting/uncommenting their value so i did this.

So my question is, how would i know that it really did changed the value? where can i check these values?

Thanks!

if [ $AWAKE_GOVERNOR = "smartass" ]; then
# =========
# Smartass settings (slightly more battery friendly than Glitch Kernel defaults - peformance penalty unclear)
# =========
echo "50" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/max_cpu_load # 76 # 47
echo "35" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/min_cpu_load # 30 # 39
echo "800000" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/up_min_freq
echo "400000" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/sleep_max_freq

elif [ $AWAKE_GOVERNOR = "conservative"]; then
# =========
# Conservative settings [SavagedZen governor-like] (recommended)
# =========
echo "50" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold # 50 # 76 # 76
echo "35" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold # 35 # 12 # 30 (higher will lead to noticable lags) # 35
echo "30" > /sys/devices/system/cpu/cpufreq/conservative/freq_step # more aggressive ramping up (50)
###### echo "280000" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate # 375000 # 500000

# =========
# Conservative settings [all frequencies using, noticably laggy - needs time to ramp up] (compromise between speed/lags)
# =========
# echo "70" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold # 50 # 76 # 76
# echo "30" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold # 35 # 12 # 30 (higher will lead to noticable lags)
# echo "10" > /sys/devices/system/cpu/cpufreq/conservative/freq_step # more aggressive ramping up (50)
# echo "500000" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate # 375000 # 500000

elif [ $AWAKE_GOVERNOR = "ondemand"]; then
# =========
# Ondemand settings [more aggressive power savings]
# =========

echo "98" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
####	echo "300000" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate

# =========
# Ondemand settings [experimental] (max frequency at 800 MHz,
# more aggressive up- and down-sampling while staying longer at higher frequencies during load)
# =========

# echo "100" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
# echo "200" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias
# echo "100000" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

# VM parameters;

fi
[Galaxy S I9000 Android Development] fireymint:
Hi! sorry but i dont really get the uncomment part.

After changing to

# =========

# One governor to rule them all

# =========

AWAKE_GOVERNOR="smartass"

SLEEP_GOVERNOR="conservative"

what else is needed to be done? Thanks!
[Galaxy S I9000 Android Development] Cloudstripe:
going below the script there is a script for Smartass and Conservative. The smartass is commented out so you need to uncomment it like you see below and then comment the conservative by putting # at the beginning of the script, removing it will uncomment it.

# =========
# Smartass settings (slightly more battery friendly than Glitch Kernel defaults - peformance penalty unclear)
# =========
echo "50" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/max_cpu_load # 76 # 47
echo "35" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/min_cpu_load # 30 # 39
echo "800000" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/up_min_freq
echo "400000" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/sleep_max_freq

# =========
# Conservative settings [SavagedZen governor-like] (recommended)
# =========
#echo "50" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold # 50 # 76 # 76
#echo "35" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold # 35 # 12 # 30 (higher will lead to noticable lags) # 35
#echo "30" > /sys/devices/system/cpu/cpufreq/conservative/freq_step # more aggressive ramping up (50)
###### echo "280000" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate # 375000 # 500000
[Galaxy S I9000 Android Development] glavos:
battery stats report using NEO7 kernel and MiUi v6.13.1

Display ON - 1h30m

- 30m xda app surfing

- 20m facebook surfing

- 30m ebuddy chat

- 10m sms, gmail etc

- wifi on 4h10m

sync on facebook,gmail, weather etc..... clock 1200mhz, no UV.. after 10h45m 75% battery left :D
[Galaxy S I9000 Android Development] Guzmanus:
I just wanted you to know this kernel is awesome, got a drop of just a 5% overnight, the best i've had in months, thankyou zach!
[Galaxy S I9000 Android Development] mdfaiz:
u OC'ed and u got that kinda battery life. means it would be even better for someone who doesnt OC/UV, yes?
[Galaxy S I9000 Android Development] cashyftw:
No neo 7 love for the Vibrant, it sounds amazing!
[Galaxy S I9000 Android Development] :
unfortunately I hv random reboot problem on Neo7 even though only OC to 1.2ghz...back to Neo6 now...never reboot even on 1.4ghz...

MIUI MCGv6.13.1.
[Galaxy S I9000 Android Development] Funnnny:
I did have a test with smartass, conversative and ondemand, using the phone for like 1,2 days with my normal usage (reading RSS, playing game, check mail etc) and check the CPU usage with CPUSpy.

The different is very small :)

So stick with the thing you like.
[Galaxy S I9000 Android Development] glavos:
if you dont oc and use uv battery life must be better
[Galaxy S I9000 Android Development] dpi295:
There's a problem with the new neo 7 kernel. My Wi-Fi refuses to scan for networks, I mean it can be enabled but it just won't show any networks and it keeps force-closing. I tried clearing dalvik and re-flashing but nothing works. In neo 6, the Wi-Fi was working all fine. Any solutions?
[Galaxy S I9000 Android Development] dpi295:
And to top it off, my Wifi MAC address is unavailable. Any tips?
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi dpi,

looks like a symptom of the wifi module not loading and not properly being install

try re-installing the kernel-package again

also:

in CWM Recovery:

- Advanced -> Fix permissions

- Advanced -> wipe /dalvik cache

- wipe /cache

then reboot (this will take some time ... since the dalvik cache needs to be regenerated)
[Galaxy S I9000 Android Development] yagami:
hi...

i installed neon7 ( no led ) yesterday night along with latest nightly CM7.

i dont think there is a big battery drain ( havent checked properly yet ) but during the night, the phone just turned it self off ( not firing my wakeup for work alarm ) :)

after i connected it to the battery charger and it showed it still had some 15 % battery.

all in all it seems to work fine, but just to report what happened.

thanks
[Galaxy S I9000 Android Development] dpi295:
Still does not work :(
[Galaxy S I9000 Android Development] :
anyone else experiencing the reboot problem? when running cpu intensive app eg. papago.

no problem at 1ghz with pimpmycpu.
[Galaxy S I9000 Android Development] kevin2516:
Hey zac, i don't think my phone likes your kernel lol, i can turn on wifi and it connects, but i can't browse or download anything, i tried the kernel cleaning script, fixing permissions, wiping dalvik and cache, still no wifi. I really want to try this kernel lol.
[Galaxy S I9000 Android Development] dpi295:
I think the latest kernel is botched. Wifi is totally unusable for me.
[Galaxy S I9000 Android Development] jimmy72:
WIFI issue with NEO7

Hi all

For people who have problem with wifi, it's not cause by the kernel, many people report that it's a bout the modem radio, so try these radios http://codeworkx.de/download/cyanogenmod/

I use JV5 + CM7#27 + NEO7 => all is working like a charm @ 1,44GHZ OC and UV ok

For Asia you may use JL2 ( optimised for Asia)
[Galaxy S I9000 Android Development] SilverMist1:
i cant get app protector working on neo7, its service never starts. but if i change the kernel to some other, it works :S
[Galaxy S I9000 Android Development] dpi295:
Tried that, but still no dice. It just does not work. I reinstalled CM7, cleared everything and still no go. If this helps, when I dial *#*#4636#*#* and go into the wifi submenu, it says that the supplicant state is uninitialized. I think the supplicant is the wifi driver right? I already even tried going back to NEO 6 but still the same problem occurs! I really hope this problem can be rectified because I love this kernel!
[Galaxy S I9000 Android Development] kevin2516:
Why would it be a modem issue? The glitch kernel works fine with the modem i have, and the other modems i tried.
[Galaxy S I9000 Android Development] sambwel:
This has come up repeatedly in the CM7 thread - the modem does not affect wifi, only 2G/3G connectivity. It must be something else... And FWIW I am using NEO7 atm and wifi is working for me...
[Galaxy S I9000 Android Development] zurchpet:
This is cause Zach disabled logcat. And App Protector needs it to work properly.
[Galaxy S I9000 Android Development] polariscon:
For me wifi working ok, but I have different problem. Have strange battery drain caused by cell standby. Have looked on your scripts in init.d directory and found s98systemtweak where is some ril tweaking, just thinking that could be a drain reason. And BTW after installing kernel two scripts in init.d where starting with s98 so I changed name of system tweak to s89 and left screenstate_scalling unchanged with s98, I hope I have done it correctly. So my question now, is systemtweak script needed, or how to avoid drain.

Sent from MIUI MCG 6.13.1
[Galaxy S I9000 Android Development] :
just wondering, nobody has reboot problem with oc 1.2ghz on Neo7 + mcgv6.13.1 ?

im using the led-notif version.
[Galaxy S I9000 Android Development] drew071:
Hi zach,

I recently tried NEO 7 but iv noticed a funny problem. When scrolling in apps or through msgs or contacts, i get graphical breaks and rips in the bottom left of my screen. Like when on old versions of MIUI on first boot and start scrolling across the homescreens and you would get breaks and pulls and tears before locking and then unlocking to resolve the issue.

Well thats what im experiencing except locking and unlocking does not stop it.

I reinstalled tk's kernel and it no longer does i, put neo 7 back on and it continues again.

Just thought i would let you know

cheers

drew
[Galaxy S I9000 Android Development] glavos:
@polariscon

your cell standby using 56,7 uAh/min, my is using 56,9 uAh/min practicality the same, i wait 2-3 battery cycles and then i see how it perform, then i try diferent modems to see the diference and post back..
[Galaxy S I9000 Android Development] Mi3lp0ps:
Thanks for this !

I try it immediatly ;)
[Galaxy S I9000 Android Development] Mi3lp0ps:
Ok, i have do it and so now i have the led notifications settings in general setting but BLN is no enabled and i don't know why :(

In led notification setting, i can't choose any color or else setting.

I need help please :)
[Galaxy S I9000 Android Development] nexxx85:
Thanks for the MIUI Kernel!

But the Performance with conservative is by far not so goot as with interactive governor! why did you change it? For battery isnt much difference I think
[Galaxy S I9000 Android Development] currydude:
Actually, I've been testing interactive against conservative. Conservative is better. I had across some problems with interactive (such as the CPU speed getting stuck at 100mhz requiring a reboot) and the smoothness is equally as good for scrolling through the homescreen/folders (I have a folder with over 100 apps)
[Galaxy S I9000 Android Development] nexxx85:
I have much better performance and godlike smoothness with interactive (not with conservative) on MIUI 1.4.29 (Nex-S) and no problems so far
[Galaxy S I9000 Android Development] currydude:
Haha godlike? :LL I personally notice no difference, all you need to do is edit 1 line in the init.d script anyways.
[Galaxy S I9000 Android Development] nexxx85:
[sarcasm]o rly, change only one line?[/sarcasm] ;)

adb shell

su
cd /system/etc/init.d/
sed 's/^AWAKE_GOVERNOR="conservative"*/AWAKE_GOVERNOR="interactive"/' 90screenstate_scaling > screenstate_scaling
mv screenstate_scaling 90screenstate_scaling
chmod 750 90screenstate_scaling

Anyway...also the benchmark results are better with interactive.
[Galaxy S I9000 Android Development] currydude:
no need for adb :P I just use root explorer
[Galaxy S I9000 Android Development] Razer(x):
Sorry for being late, but there's no such file in init.d :confused:
[Galaxy S I9000 Android Development] runedrune:
:S u sure? /system/etc/init.d

it should be there.
[Galaxy S I9000 Android Development] Razer(x):
Yeah man, i even tried to search it but same result
[Galaxy S I9000 Android Development] :
with r3 miui, i noticed that the governor setting won't be set properly (with pimp my cpu).
[Galaxy S I9000 Android Development] runedrune:
you don't change the governor using an app. you have to edit a file. read above.
[Galaxy S I9000 Android Development] currydude:
As runedrune has mentioned above, here are the instructions: http://xdaforums.com/showpost.php?p=13315857&postcount=76
[Galaxy S I9000 Android Development] sn0wjie:
hi, can i have some feedbacks on whether conservative is better or interactive is better? i m using r3 conservative and found tat sliding screen wise is abit laggy. haven try interactive yet. Battery wise I have no comments either..
[Galaxy S I9000 Android Development] currydude:
I was using interactive and it was smooth but I have since switched back to conservative and it feels as equally as smooth. Just try it yourself :) Takes like 5 seconds.
[Galaxy S I9000 Android Development] evilfry:
does this work with CM7 2.3.4 latest?
[Galaxy S I9000 Android Development] zacharias.maladroit:
yes, just make sure you install quorra r4 ;)
[Galaxy S I9000 Android Development] VeloC!ty:
With the quorra r4 my phone can't establish a WLAN-connection... another one with this issue?
[Galaxy S I9000 Android Development] runedrune:
gets stuck on obtaining ip address? :p
[Galaxy S I9000 Android Development] Higadeb:
My Cell Standby is draining horribly, it uses 78.2 uAh/min. Any ideas on how I can cut this down? I don't think I should change modem given I'm on JVK which has always been the best for me in the past.
[Galaxy S I9000 Android Development] glavos:
do you use 2G or 3G network...
[Galaxy S I9000 Android Development] kevin2516:
=(, I'm sad now, *cries in corner*
[Galaxy S I9000 Android Development] Jarod1k:
Hm my cell standby is in 7h at 78%

Modem JV6
[Galaxy S I9000 Android Development] Higadeb:
2G & wifi. I'm at home most of the time so it's mostly on wifi
[Galaxy S I9000 Android Development] maisi:
@polariscon: How you can get those uA values o.O I've never seen them showing up , do you have some special app ?
[Galaxy S I9000 Android Development] GodStrongArms:
Good job Zach, ur kernel neo 07 combined with cyanogenmod 7#25 finally matched the autonomy of gingerbread standard Roms.

70% after 9h, included one hour of music and half an hour of other usage (1h30 of 3g kinda)

Cheers

SGS@1.3GHZ
[Galaxy S I9000 Android Development] polariscon:
That function is embedded in miui settings / system / battery settings and turn on - monitor battery usage. Not sure about cm7.
[Galaxy S I9000 Android Development] kkube:
I have the sane issue but it is not a big deal hardly affects working

Sent from my GT-I9000
[Galaxy S I9000 Android Development] drew071:
I know it hardly affects the operation of the kernel but aesthetically its horrible lol. Neo6 doesn't do it. wonder what causes it.

Drew
[Galaxy S I9000 Android Development] sambwel:
#28 + NEO7 working nicely for me so far :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
Kernel

MIUI Edition

NEO 07

Changelog:

- switched to MIUI boot splash

(I'm using MIUI now, too, so it must be aesthetically pleasing / matching :p)

Acknowledgements

thanks to teamhacksung|cmsgsteam for providing this nicely working AOSP / kernel port ! <3

thanks to the MIUI hackers & of course Mambo, Galnet & Currydude <3

edit:

kernel with led-notifications will follow later !

edit2:

done ...

edit3:

for those who feel that the GUI is not smooth enough with current conservative settings: you're right !

replace the S98screenstate_scaling in the kernel-package with the one you find in this post attached

prior to that rename it from S98screenstate_scaling.txt to S98screenstate_scaling

[limit that only certain file-types can be attached here]

then flash the kernel again

after that the GUI and everything else should be smoother :)
[Galaxy S I9000 Android Development] glavos:
my battery run out youice after first cycle of testing neo7 :D here are the result:

OC - 1200mhz

UV - NO

Network - 2G ( 56,6 uAh/min )

SYNC - ON (facebook, gmail, weather)

Display was on for 3h30min using it for xda app, gmail, facebook, ebuddy, market etc... ( 626 uAh/min )

WiFi was on for 7h25m ( 66,7 uAh/min )

Batery from 100% - 5% after 38h of moderate usage...
[Galaxy S I9000 Android Development] yuktsi:
what are the stable UV for neo 07?
[Galaxy S I9000 Android Development] jeebspawnshop:
UV (and OC) is different for every phone, even identical ones.

You have to find your own settings, dude.
[Galaxy S I9000 Android Development] fackamato:
Go back to stock.
[Galaxy S I9000 Android Development] sptorrent:
Hi,

Could you please give your impressions on MIUI? To your opinion, how does it compare to CM7 in terms of performance?

Thanks
[Galaxy S I9000 Android Development] sambwel:
Check out shaolin95's Mini Overclocking Guide. It's not just about OC settings but also UV.

You will probably find, though, that the programs he mentions are not necessarily the best way to assess stability... But they are a good simple way to discover any obvious problems.

The main thing to understand is that you will need to experiment to find the right settings for your particular phone. Have fun :)
[Galaxy S I9000 Android Development] utsmaster18:
Cm7 is fastest. miui is faster than stock. Miui looks nicest. Depending on what your priority is you decide.

if themes and looks are important then go for miui. If you want the fastest and most responsive phone then go for cm7. I've noticed that miui has increased in speed so if speed isn't too big a deal then try out miui first. If you feel its too slow then go to cm7 and never look back
[Galaxy S I9000 Android Development] sambwel:
My 2 cents :D

I haven't tried MIUI because based on the screenshots in the MIUI thread, it doesn't really have the look-and-feel that I want... So, I went for CM7 and applied custom themes.

I guess my point is that I don't want people to get the impression that you can't customize the look of CM7!

I'll attach a few screenshots of my setup, if you like what you see send me a PM and I'll be happy to give you more information (I don't want to derail zach's thread too much!)
[Galaxy S I9000 Android Development] Funnnny:
No, Miui isn't just the look, it's a collection of many app done right: launcher, music, camera, sms, notification....and theme framework is just one of them. And yes the theme is very good
[Galaxy S I9000 Android Development] sambwel:
Just to clarify - I know MIUI is a lot more than a themed CM7. It's just that the post I was replying to made it sound like if you didn't like the way CM7 looks, MIUI is your only real option. I wanted to point out how customizable CM7 really is.

I guess I should add that there are a lot of other things I have changed in my CM7 installation - different launcher, keyboard, kernel etc - so I would say that if you like the package the MIUI devs have put together, by all means, use it and enjoy! But if you like to customize a lot, CM7 is a good starting point... after all, it's what MIUI is based on. :)
[Galaxy S I9000 Android Development] Higadeb:
IMHO I agree completly with Funnny. I've used both MIUI & CM7. While I love the speed of CM7 I much prefer MIUI. The Music app is amazing and the SMS popups etc are great. I didn't really like the sms app on CM7 so installed GOSms which ended up draining even more battery and caused performance issues. Oh and don't forget that MIUI has a handy auto-backup to cloud feature in too. So even if you completly wipe your device you can get it all back quickly & easily. (that's the main deal breaker for me).

P.S. I don't actually like the stock MIUI launcher, I use Launcher Pro instead and have done on all my builds for about a year now.
[Galaxy S I9000 Android Development] IINexusII:
have you guys changed/uncommented the setprop pm.sleep_mode 0; setting for improved battery life? i havent noticed any changes yet
[Galaxy S I9000 Android Development] kevin2516:
Ok about the wifi not fully working, my encryption is wpa-psk, and I'm just connecting to my home wifi network, no static ip or anything.
[Galaxy S I9000 Android Development] zacharias.maladroit:
NEO 08 (internal build)

(WIFI broken)

does one of the following attached kernels help ?

the full-wifi-upd might stay speed-wise the same but fix some issues

the other one 'full' might speed up WIFI

also: different compiler flags are used and the RIL / modem part got newly compiled with "stock" (CM7 4.4.3) compiler to reduce the massive 3G drain

I don't have it up long yet on the phone but it seems to help ...

not sure about your wifi issue

those are INTERNAL builds - thus work in progress

all source should be spread across the branches in the repo ...

edit:

argh - seems attachments or my system are going crazy

kernels later ...

edit2:

looking good

kernels up

if it still doesn't help - try using the kernel without the scripts and see whether that makes a change

if yes - it's one of the network-related security settings or one of the new patches that soon will also get into the cm7 stock kernel ...

it's an internal build

so it should fix several issues

let me know which kernel works better for you

the one without the bleeding edge WIFI fixes seems to have much faster WIFI (only change between them)

several fixes & improvements,

don't know about stability, smoothness, battery usage, etc.

edit3:

those kernels DO NOT include led-notification (!) since I don't use it

battery runtime seems crazy so far

starting with 50% battery (3G + data, no syncing) on MIUI v6.16 Alpha

1h 30 minutes later

it's at 58 or 59 % ^^

let's see if it stays that low
[Galaxy S I9000 Android Development] glavos:
THX zach for neo8, i will download and post the results, battery drain and signal strenght..

my contribution :D
[Galaxy S I9000 Android Development] stassano:
I can't seen to get gprs working on neo7 and 8. Any ideas how this might come? It shows as on, connected and active but actually doesn't work...
[Galaxy S I9000 Android Development] stassano:
Zach, u invented a kernel that adds battery life over time or you made a hilarious typo and meant 60% starting battery :p
[Galaxy S I9000 Android Development] Ramalama:
Nono, he developed really a kernel, that adds battary life over a time:-) nice xD

You can run your phone, with this kernel, without a battery:-)

Cheers:-)
[Galaxy S I9000 Android Development] domy1985:
i can not find my wifi at home anymore when flashing the kernel (tried both)
[Galaxy S I9000 Android Development] zacharias.maladroit:
set a lower channel (11 or below) as a "workaround"

the issue is being investigated

seems like the newest commits caused a regression (not again :\ )

thanks for reporting !
[Galaxy S I9000 Android Development] drew071:
Hi zach

I tried the kernel labelled full.zip at the end and had 'wifi' error so flashed the other longer titled one and it works again.

Also I don't suppose you know anywhere I can get hold of a cm7 compatible jvp modern do you, I've heard good stuff about it.

Cheers

Drew.
[Galaxy S I9000 Android Development] domy1985:
Does Not work at all even if i change channel settings
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi Drew,

thanks for the report,

perhaps re-installing the "full" kernel would have fixed it too

concerning JVP modem:

post #4

(scroll down)

and I have to confirm: it indeed has pretty good perception and low battery consumption