yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] zacharias.maladroit:
yeah but it only seems to hinder buggy apps from direct access to system resources (which is a good thing) [e.g. GPU bench doesn't work at all - it closes right after opening lol]

and limiting some others (such as quadrant)

Nena Mark seems to be a good program since it has almost the same possibly even higher marks: around 45 FPS vs. 46 FPS :)

Gun Bros & Angry Birds Rio also don't seem to be affected at all (== good coding :) )

so if you favor stability over benchmarks and some fancy numbers (which shouldn't be your daily usage anyways ;) )

it probably would be better to enable

JNI checking:

adb shell setprop dalvik.vm.checkjni true

<-- good stuff ^^

edit:

argh ! :mad:

enabling extended JNI checks:

cons:

- breaks playback with Mobo Player for some Video files (tested with Music Player)

- some apps don't work (Skype, etc.)

- somewhat noticably slower

- potentially higher battery usage during usage

pros:

- overall more stability

- buggy apps and apps that have direct access to hardware & system don't work

- (probably) higher security

disabling extended JNI checks:

pros:

- more things are working at the price of less stability

- more speed

- less laggy overall feeling

- probably also less battery usage since the overhead goes away

- doesn't feel like a develop phone with debugging on

cons:

- less stability

- potentially less stability

- in the worst case data integrity issues

seems like I'll switch back to extended JNI checks disabled and simply use a different browser for certain (complicated) sites
[Galaxy S I9000 Android Development] zacharias.maladroit:
He's using the wifi driver I'm using ;)
[Galaxy S I9000 Android Development] :
yeap im used build.sh galaxys command

it will be pleasure, if you can make one for telus fasinate users
[Galaxy S I9000 Android Development] DocMAX:
@zach & all

no kernel in this thread is stable. i have 1-2 reboots per day. swiched to this kernel:

http://xdaforums.com/showthread.php?t=979206

runs very stable!
[Galaxy S I9000 Android Development] zacharias.maladroit:
everyone has his own needs & apps that make the phone unstable :p

could you be more specific what you do prior to that reboots ?

thanks !
[Galaxy S I9000 Android Development] alerems:
Zach, I have one suggestion: if you can remove the frequency of 600mhz, the frequencies were replaced with 400 to 800. This will speed up the transition, and possibly a work.

add:

I want to ask u - do u use UV-settings from the "changelog"-post? Or ur own settings? If so, can u put them here? Or by PM. :)
[Galaxy S I9000 Android Development] diyanaeric:
hi.

i flashed CM7_SGS_platypus-kernel_20110417_18_core.zip but my phone still doesnt read my external.. i already followed the instruction.. please help
[Galaxy S I9000 Android Development] diyanaeric:
hi..

i flashed CM7_SGS_platypus-kernel_20110417_18_core.zip to MIUI RC5b.. but phone still doesnt read my external SD .. please help
[Galaxy S I9000 Android Development] barome:
Bootloader error. Flash EZbase Rom
[Galaxy S I9000 Android Development] DocMAX:
no problem. mostly its crashing while beeing in browser (no specific page). the screen freezes and after 3-4 seconds it reboots. but this also often happens in gmail, while reading emails. as i said, other kernels are working fine.
[Galaxy S I9000 Android Development] zacharias.maladroit:
could you or anyone facing reboots with the browser try a different browser besides stock browser, dolphin HD and miren (that probably also uses webkit) -

so in a nutshell any other browser that doesn't use webkit ?

of course - only if you want to & want to kind of troubleshoot this issue a little bit

thanks !
[Galaxy S I9000 Android Development] currydude:
I tried both low latency and core and I've never had restarts with using Miren, Opera and MIUI Stock
[Galaxy S I9000 Android Development] zacharias.maladroit:
kernel test-release (for stability, overall feedback)

Introducing "Core chameleon" release

04/20/2011 (release name: "Core" chameleon speed edition ("one edition fits all" - already containing parts of Samsung's GB source (thanks teamhacksung !)); Testing )

kernel:

1st Mirror / Host

: [recommended]

"core chameleon" (thanks a lot to Roland !)

2nd Mirror

:

this thread (XDA)

3rd Mirror

:

CM7_SGS_platypus-kernel_20110420_04_core_chameleon.zip (3.92 MB)

md5sum:

f14b31997ef87061d9fc978114903184 CM7_SGS_platypus-kernel_20110420_04_core_chameleon.zip

Changelog:

Installation steps:

Troubleshooting:

Please test specifically for the following sticking points:

enjoy ! :)

FYI:

for your convenience the kernel zip-files are also attached to this post

thanks !
[Galaxy S I9000 Android Development] currydude:
awesome, I will test it now.
[Galaxy S I9000 Android Development] ock:
Thanks for the quick update, so tempted to try this out ;)

Will do so once I get some JVB themes sorted out.

Nice kernel names btw
[Galaxy S I9000 Android Development] currydude:
LOLS Just flashed the new kernel. Wifi/autorotation not working (3 hard reboots, tried pull battery too) and it's really laggy...)

Going to try various things to resolve this :P Might just be my end.
[Galaxy S I9000 Android Development] diyanaeric:
Sorry for being a noob here..but what is EZbase rom?
[Galaxy S I9000 Android Development] currydude:
I'm sorry I do offend, but have you ever heard of the search button? http://www.google.com/cse?q=ezbase&...ub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1
[Galaxy S I9000 Android Development] diyanaeric:
Haha..yeah sorry for asking while im actually did the search my self after that n found it...thanks any way...meaning i hv to flash all the way from base then flash miui back is it?
[Galaxy S I9000 Android Development] currydude:
Yes. 10 characters.
[Galaxy S I9000 Android Development] currydude:
No one else having problems with wifi and autorotation with new kernel?
[Galaxy S I9000 Android Development] diyanaeric:
hi..

is it normal after u flashed CM7_SGS_platypus-kernel_20110417_18_core then u go into recovery mode the one u'll see is CWM 3 mode not the custom mode (ie. voodoo,speedmod mode) i cant see any OC/UV option since i only able to get in normal CWM 3 mode...
[Galaxy S I9000 Android Development] currydude:
Yes that's normal.
[Galaxy S I9000 Android Development] diyanaeric:
ok thanks currydude for quick rep! there other thing that confusing me.. but never mind... downloading EZbase rite now hope will solve my ext SD card prob...

Cheers!:D
[Galaxy S I9000 Android Development] currydude:
GAAAH I can't solve this stupid wifi/autorotation issue with the new kernel. Time to flash back to core kernel :(

Report: Flashed back to core kernel and everything is working again... I think there's something wrong with the new kernel zach :(
[Galaxy S I9000 Android Development] Bonta768:
(I actually came to this thread to say I had been using the "interactive" governor with 0417_18, and battery life and performance are great. Quadrant FCs on me.)

zm, what build environment do you use? Windows or Ubuntu or ? If you have 4.4.1, can you get 4.4.2 thru 4.4.6?

IMO 4.5.2 should be fine, but it will be interesting to note if there are any reports of better reliability.
[Galaxy S I9000 Android Development] quaff:
+1 with issues. First boot after flashing new kernel was extremely laggy. Couldn't do anything. Every boot after that would loop at boot animation.
[Galaxy S I9000 Android Development] currydude:
+1 Boot takes much longer (before and after clearing dalvik cache) Wifi and autorotation also doesn't work for me with the new kernel. But I'm back to core kernel and everything is working perfectly :( It just irks me that there's a new (and better) kernel out that just doesn't work for me :(
[Galaxy S I9000 Android Development] diyanaeric:
YES YES YES !! its working!! thanks for all ur help! and shud be linking the EZbase ROM at the 1st post for other noob user like me..heheh..before this i used darkys 9.2 base rom..like in the video tutorial
[Galaxy S I9000 Android Development] Bonta768:
I flashed 0420-core-chameleon and am having no issues. Very smooth right after boot. Auto rotation worked first time I tried it right after boot, no special action required to kick start it. Wifi fine.

It seemed to boot after a fresh cache and Dalvik cache clear quicker than 0417_18-core.

I am on JVK modem, bfq scheduler and max cpu freq 1000MHz.

& I have not tried more than 1 boot - the initial boot after flashing 0420. &
[Galaxy S I9000 Android Development] currydude:
Haha no worries ;)
[Galaxy S I9000 Android Development] currydude:
I'll try your settings LOLS I was using JQ1 (also tried JVE mode), noop scheduler and overclocked to 1200mhz. It could also be a MIUI compatibility issue with this new kernel.

REPORT: OK wifi is working now, maybe my overclock settings/scheduler settings were causing hte problem. Time to resolve autorotation problem LOLS
[Galaxy S I9000 Android Development] Bonta768:
I think overclocking has been known to cause problems with wifi. Try turning autorot on and off, and phone sleep and wake.

zm, how about gcc 4.6.0? :D because:
[Galaxy S I9000 Android Development] currydude:
LOLS I"m back to square one, hard reboot and now both autorotation and wifi no longer working again -.-" And again, reboot is MUCH longer. Back to the awesome core kernel :P
[Galaxy S I9000 Android Development] kickassdave:
the new kernal is the first one I where I have been totally unable to get auto-rotation working at all.... everything else seems stable enough... just not bloody auto-rotation haha....

tried a million (ok maybe less) reboots/wipe cache&dalvik to no avail...
[Galaxy S I9000 Android Development] currydude:
+1 I've been using zach's kernel for a while and never needed to do anything after upgrading a kernel. Upon upgrading this,, I had to do various things (over 2 hours wasted) and autorotation just doesn't work :(
[Galaxy S I9000 Android Development] Bonta768:
Lol too much curry, dude! :D (*)

Why cant we have a perfect kernel, compiled with gcc 4.6.1 (not out yet), super ARM version (I wish), with tomorrows kernel improvements, built yesterday and already installed!

(*) Said in jest only. No offense ment. In fact I like lots of curry, chilli or wasabi :D Not necessarily all at once tho...
[Galaxy S I9000 Android Development] currydude:
LOLS ironically I hate curry,chilli and wasabi o.O I don't even know why I choose the name "currydude" ... LOLS (no offence taken :P) but I do love indians though :P I love the "free" and unexpected international cals to india and they pretty much make my day when calling up to their call centres (sarcasm LOLS and just kidding)
[Galaxy S I9000 Android Development] Guzmanus:
This chameleon kernel is unusable for me :/

even clearing dalvik caché first boot is slow as hell and then the system lags like it's runnin over a intel 4004 :/

And wifi doesn't work. I'll paste the logcat if you need to
[Galaxy S I9000 Android Development] codeworkx:
After clearing dalvik cache the first boot will take a long time on every kernel. Theres a lot to do after wiping cache.
[Galaxy S I9000 Android Development] currydude:
Yea but I just tried clearing dalvik cache and cache after flashing the core kernel and the core kernel loaded up faster than the chameleon kernel. Furthermore, subsequent hard reboots with the chameleon also showed that the boot was slower than the core kernel and that wifi and autorotation remained unstable (wifi would occasionally work, autorotation never worked)

But then again there has been reports that autorotation and wifi is working. So maybe it is just my end (problems seem to only occur with MIUI users) where as CM7 users seem to be flying :(

(OMG It's the first time I've seen the famous codeworkx in action LOLS Also, I would like to thank for your continued support to the Galaxy S community, despite buying a new device)
[Galaxy S I9000 Android Development] l3enjamin:
Seems my problem is also like that. Because my logcat looks like looping, I think that I was a boot loop, but it boots in 5-10 min.

BTW, I got both my wifi and sensor working.
[Galaxy S I9000 Android Development] brujoand:
Hey, thanks for making this, and thank you for cleaning up the first post. It stopped me from testing your kernel earlier :P

I have one question though. I just tested 04/20/2011 "Core" chameleon speed edition, and it lags , _alot_. I can't see any errors in logcat. Quadrant, however is off the hook >_< Is this just me? (running latest cm7 build ofc)
[Galaxy S I9000 Android Development] currydude:
How? :( Did you come from the previous core kernel?
[Galaxy S I9000 Android Development] currydude:
How? :( Did you come from the previous core kernel? (I see that you are using MIUI too, so it isn't MIUI's fault and it must be my side.)

I've tried clearing dalviuk and cache, dufferent modems (JVK, JVE, JQ1, JPM). Also, I've done multiple hard reboots, waited 30 minutes for it to do it's thing, but never managed to get wifi and autorotation to work :(
[Galaxy S I9000 Android Development] runedrune:
flashed the latest and phone has been trying to boot for the past like 5 min. i'm guessing that isn't normal. or is it? :o
[Galaxy S I9000 Android Development] currydude:
After clearing cache/dalvik cache it is, but normal reboot isn't. After clearing cache/dalvik cache my phone was able to reboot within 10 minutes but wifi and autorotation was not work (phone felt lag free though, very snappy). So I initated a hard reboot, and 30 minutes later, the phone is still booting up, eventually gave up and flashed back to the previous core kernel and the phone booted up without seconds -.-" I really think there is something wrong with this new kernel and MIUI combined :( [Despite having another fellow who is also using MIUI being successful)
[Galaxy S I9000 Android Development] runedrune:
well it has been around 20 min now. that definitely isn't normal. well. time to flash back to the last one then :p
[Galaxy S I9000 Android Development] diyanaeric:
Hi...

1st, sorry if this is not the place to ask this... not sure its the rom or kernel... i cant send text msg.. but i can receive them... so confused

edit: get this sort out.. just manually put the message centre number...
[Galaxy S I9000 Android Development] currydude:
Sadly, that's what I had to do :( But the previous core kernel was pretty damn good so I'm not too fussed, could have something to do with the new Samsung implementations.
[Galaxy S I9000 Android Development] PrimeDeluxe:
For me also wifi and rotation doesnt work
[Galaxy S I9000 Android Development] mertkan:
same here!!can't work with the latest kernel. i had to go to the previous one.
[Galaxy S I9000 Android Development] R4yn0r:
Everything works fine here running the latest kernel + miui, took 20 min to boot up though after cleaning cache/dalvik cache.
[Galaxy S I9000 Android Development] currydude:
Have you tried rebooting? Because after a reboot, I waited over 30 minutes and it kept looping... I was able to reboot only once (and that was after clearing cache/dalvik, but subsequent reboots, took WAY too long)
[Galaxy S I9000 Android Development] l3enjamin:
Yes, I upgraded from last core kernel. I got wifi as soon as I booted. For the sensor I need to press power for 10 sec to reboot. Did you flash CM7/MIUI from 2.2 stock rom or 2.3 stock rom?
[Galaxy S I9000 Android Development] currydude:
2.2 stock and all the previous zach kernels are working perfectly so I know that it's not a bootloader problem. I'm just having problems with this new one
[Galaxy S I9000 Android Development] R4yn0r:
Yes, tried hard reboot aswell as normal reboot. No problems at all here

Edit: After my 4th? reboot the same problem you have is happening... reboot is taking years.
[Galaxy S I9000 Android Development] kalvinlou:
Any change in 20/4 one?
[Galaxy S I9000 Android Development] zacharias.maladroit:
it's CodeSourcery's Sourcery Lite G++ with the 4.4.1 toolchain, specifically optimized for ARM and other (?) embedded architecture

OS is Gentoo Linux - everything custom built :D

not really, to be honest I've had enough trouble in the past with point-zero (4.X.0) releases on my Linux system (where, like with CM7 EVERYTHING is built with your own toolchain & settings) - including instabilities, a broken system, yadda yadda yadda

I'll wait until 4.6 gets released with Codesourcery and that probably first will be next year ;)

thanks !

yeah, I also noticed that the "Interactive" governor seems to be a little troublesome - sometimes lagging needing some time to rest itself

and the auto-rotation / acceleration sensor being very very fragile in terms of compiler optimizations, timer frequencies, cpufreq governor (with tight timings), etc. etc.

thanks !

it's only a TEST kernel - I specifically tagged it that way so I might need to look for another cpufreq governor

everything's smooth but quite heterogenous (most of the time smooth but also quite laggy :( )

sorry that you had to go through all of that trouble

but I named it "test" to warn you guys in advance ;)

so it's either hit or miss

I'll look for another governor then

if you like you could try to change from

AWAKE_GOVERNOR="interactive"

to

AWAKE_GOVERNOR="conservative"

or ondemand

in 90screenstate_scaling

with

conservative it would be best to also uncomment:

# echo "50" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold # 50

# echo "35" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold # 35

# echo "30" > /sys/devices/system/cpu/cpufreq/conservative/freq_step

to

echo "50" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold # 50

echo "35" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold # 35

echo "30" > /sys/devices/system/cpu/cpufreq/conservative/freq_step

thanks !

sure, the 1st post got a little cluttered after a while ;)

no, I've also got very bad lags after some time the screen was off and it took several seconds for it to settle & get better

I guess interactive is not quite the right governor for a phone after all

will look for a better suited one

thanks !

yeah, my bad,

it seems to be the interactive governor,

don't know if you're that experienced but it should be not too difficult:

could you try the above mentioned steps to change the governor from "interactive" to another one you'd like to try (if you'd like to) ?

that should make things better

ondemand still needs some tweaks so I'll see what I can do

thanks !

ok, thanks for the report !

are you using MIUI ?

if yes that seems to trigger some trouble with the auto-rotation/acceleration sensor with my kernel code, couldn't exactly figure out all factor until now

"core" or "core low-latency" works fine for you ?

wow, that's really long

but, like codeworkx already explained it should be due to regeneration of the dalvik cache & cache

hopefully following boots also don't take that long

thanks !
[Galaxy S I9000 Android Development] currydude:
zach you don't need to be sorry. I'm thankful that you are trying new things and that I was well aware that the kernel was test so there are no hard feelings. l hope you didn't take my comments personally and that I was just trying to report back about my experience and questioning about the legitimacy* (can't think of the proper word atm) of the problems I was encountering.
[Galaxy S I9000 Android Development] DocMAX:
ok i'll give it a try again... will flash

edit: latest kernel is still crap. cpu is at 100% load after reboot. did a wipe cache/dalvik...
[Galaxy S I9000 Android Development] l3enjamin:
OK, my wifi is also not working now. Did anyone tried the camera? I only get black from from it.
[Galaxy S I9000 Android Development] runedrune:
1. if you're getting an error message, reflash the kernel. if it stops at obtaining ip address, set a static ip address.

2. open camera. lock screen. unlock screen.
[Galaxy S I9000 Android Development] kickassdave:
I agree with the currymeister. (Lol)

Do not appologise, consider us testers and we should be well aware as you said. Looks like you have worked out it is the governor that was the problem, so valid and necessary testing obviously helped confirm this.

Keep up the good work.
[Galaxy S I9000 Android Development] webstar1:
I used tk-glitch kernel for 10 min and it destroyed auto rotation. Now even when i flashed back to this, it doesnt auto rotate. I have cleared cache and dalvik cache. What shall i do? I was using this kernel before trying that kernel. Then auto rotation worked perfect!
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi webstar1 !

Thanks for using this kernel :)

0) make sure you have auto-rotation on

1) well, try to turn the phone off, then boot into Recovery

wipe /cache & dalvik cache

reboot - after logging in & pin entering give it some time to settle (lock & unlock screen 2-3 times - not too fast)

2) try turning auto-rotation "on" and "off" - then "on" again

if no change

press power button 10+ seconds so that it reboots (ignore the power button menu)

3) do you have have OC/UV values still active ?

try removing any previous version of that S_volt_scheduler script and/or my scripts

(see attached in this thread)

[please make a nandroid backup - this script is new I haven't tested it yet !]

then reboot

4) if all else fails: try doing a factory wipe/reset, wipe dalvik cache

and see if rebooting fixes it

Thanks !
[Galaxy S I9000 Android Development] webstar1:
Will try the script. Aint gona wipe factory as i just dont wana lose all my apps :p. I now retired from developing got a chance to enjoy my sgs. :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
thanks currydude :)

no personal offense taken ^^

ok, thanks for your feedback

thanks kickassdave, yeah the governor seems to be a core factor in that

currently I'm looking on how to tweak conservative governor to make it smooth at minimally sacrificing battery runtime while working

optional quadrant score with it so far: 1650 (+ the new 3D library) :D

it's getting better & less laggy ^^
[Galaxy S I9000 Android Development] webstar1:
Zacharias. Your script is in amend format. Need to convert to edify. Would oof done it for you if i could be bothered to go on my laptop lol. Anyway a reboot fixed the problem :/. Weird
[Galaxy S I9000 Android Development] zacharias.maladroit:
does the following look correct now ?

show_progress(0.100000, 0);
delete ("/system/etc/init.d/S_volt_scheduler");
delete ("/system/etc/init.d/S90scheduler");
delete ("/system/etc/init.d/S99finish");
delete ("/system/etc/init.d/89system_tweak");
delete ("/system/etc/init.d/90screenstate_scaling");
show_progress(0.100000, 10);

thanks for letting me know ! :)
[Galaxy S I9000 Android Development] webstar1:
U need a updater script and update binary. Will upload a zip once i get online once i have some tasty unhealthy garbage :).
[Galaxy S I9000 Android Development] PrimeDeluxe:
Im using CM.

With the previous kernel (core) everything works but the rotation is slow

and i have to change the cpu to ondemand the stock mode is laggy.

Thanks for the great kernel and the work to solve the problems
[Galaxy S I9000 Android Development] :
I'm experiencing backlight toggle problem with latest "CM7_SGS_platypus-kernel_20110420_04_core_chameleon.zip (3.92 MB)", the backlight button (pull down notification -> toggle) just won't work :S

Anyone else?

works after few reboots...strange :D
[Galaxy S I9000 Android Development] PrimeDeluxe:
Ok after i read this, the rotation works but the wifi still doesnt works

Im using now again the Core chameleon" release

Wifi also works now. My router didnt sent a signal.
[Galaxy S I9000 Android Development] Mortify1:
I went back to your 04/17 kernel because my phone was running like 2.2.1 slow lol.. I can't have battery drain and no performance!
[Galaxy S I9000 Android Development] PrimeDeluxe:
Have you ever changed the settings under performance maybe in ondemand?

After i changed it, it´s very fast.