yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] NZgeek:
1.8 issue

I may have found an issue with Siyah 1.8 and GPS.

Last night I did my first full charge since flashing Siyah 1.8. Today I noticed that my battery usage was a lot higher than normal - 25% in 5 hours, normally less than half that.

BetterBatteryStats seems to point to GpsLocationProvider being the cause. The phone has been off the charger for about 5h 30m, and GpsLocationProvider has been keeping the phone awake for the entire time. I also checked CPU Spy, and it confirms that the phone has not been able to go into a deep sleep state at all.

I've just flashed 2.0beta2, and it appears to have the same issue. The phone does not go into a deep sleep at all. I've even tried turning GPS off via the status toggle, and it doesn't help.

I haven't had this issue with Siyah 1.7.8 or any other kernels. Only Siyah 1.8/2.0beta2 have given me these problems.

I'm going to revert to 1.7.8 for now (or maybe give SpeedMod another go). I'll try newer kernel versions as they become available, but can't use Siyah until this GPS issue is resolved.

Note: Running Cognition S2 1.5.1, not using Set CPU or anything else to change the governor, CPU speeds or voltage.
[Galaxy S II Original Android Development] Denwa:
Yes. Its the new "omg. I bricked my f*cking phone!!!" animation I mentioned earlier.

--sent from a faster than light sub-atomic particle (sgs2) via xda subspace communications
[Galaxy S II Original Android Development] CA3iR0:
DAMN... There it goes my USB... :C

I hope it gets fixed soon :D

BTW, this boot animation works!

http://xdaforums.com/showthread.php?t=1296138
[Galaxy S II Original Android Development] uronfire:
First of all thanks for your efforts in making this awesome kernel ,

im testing your 2.0 beta 2 kernel on cm7 build 80 .

everything is fine except two things for me

1 is the colour binding , too green .

2 lose heptic feedback after a deep sleep.

no problems on stock kernel ,

keep up the good work.
[Galaxy S II Original Android Development] CA3iR0:
I don't have any of those, but the USB bug. (no USB connection with the PC)
[Galaxy S II Original Android Development] compuguy1088:
I have a feeling that is a bug (its beta, you know ;)). Also, custom boot animation support is broken.
[Galaxy S II Original Android Development] PsychicSaint:
Fix usb please

Thanks for the greatest kernel ever... but FIX USB PLEAAAAAASSSSEEE and do not remove boot animation...
[Galaxy S II Original Android Development] uronfire:
1+

usb doesnt connect.
[Galaxy S II Original Android Development] S2_fa_007:
I haven't a Bootanimation, only sound! :eek::confused:

And can you pleas add that ntfs mount automatically?? :D
[Galaxy S II Original Android Development] ebliss:
There is a freaking reason why 2.0 is beta. And in post 2 of this thread, the OP has already stated the 2 freaking known problems - the bootanimation and usb issues.

So for freaking sake, stop posting them again and again.

And for freaking sake, read at least the 1st 2 posts and the last few posts before posting.
[Galaxy S II Original Android Development] PsychicSaint:
why are you freaking so much? we have read the posts and we are only asking gokhan to fix it soon and release an update... no pressure.. just eagerness... cool down dude...
[Galaxy S II Original Android Development] rickyticky-v-:
you have to read the second post before asking any questions ;)
[Galaxy S II Original Android Development] S2_fa_007:
Thanks dude but i know :D
[Galaxy S II Original Android Development] Xairo:
Working without any problems so far, even the bootscreen!

Using MIUI 1.10.8

Thanks for your good work!
[Galaxy S II Original Android Development] tanoxxx:
+1

same situation on MIUI

All work so great for now... but only vibration feedback dont work corretly...

i hope this will fix...

anyway really thanks for your work.. great kernel
[Galaxy S II Original Android Development] gokhanmoral:
I did look at the commit but I could not see anything else other than patching to .14

I don't feel that the battery gain is not as much as it is expected. It just made me feel better by not seeing something huge in my battery stats, that's all.

I will wait for new drivers before working on driver related fixes as they will be released really soon.

for boot animation, it works on touch-x on my phone but I can never be sure which version I install on my phone :)

I will upload a fix for boot animation and support for some boot-time features for aosp side.

for usb support I will wait for new drivers.
[Galaxy S II Original Android Development] gtizon:
How much screen on time do you have for these stats sir?
[Galaxy S II Original Android Development] cmchenth:
just don't get the reason of removing auto-root
[Galaxy S II Original Android Development] :
OH, now that beta is public I can go back to samsung rom. thank you cm team, but some habbits never die.

:)

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

I posted screenshots at some points, yesterday I was moving all day between cm7 and ki8 so I can not tell, going back to ki8 now so I will let you know in a few days.
[Galaxy S II Original Android Development] bandit79:
Hm, i'm still searching for the best settings to run smooth and save battery. I'm thinking OC Daemon and No-Frill together won't be so good. smartassV2 is sometimes laggy in v1.8 and the combination

OC Damon wake 100 - 1200 ondemand

OC Damon sleep 100 - 500 conservative

No-Frills 100-1200 ondemand/ deadline

costs 3% battery in about 4½ hour with DS.... I'm getting freaky ;)
[Galaxy S II Original Android Development] chandyperry:
For info : works perfectly on MIUI Galnet ROM!! :)

Thanks a lot!!
[Galaxy S II Original Android Development] coolfire:
Have you tried Beta2 with stock KI8 yet, mate? Would like some comments, please. ;)
[Galaxy S II Original Android Development] yio643:
Mount Ntfs

Hi this is my first question, I used v1.8 but I want to know how mount Ubs with filesystem ntfs I was finding a solution. I hope that someone help me please :D sorry for my english
[Galaxy S II Original Android Development] andromeda1968:
great kernel....:)

works perfectly on stock KI8.......bug(bootanimation)...:)
[Galaxy S II Original Android Development] ceragon:
restart on kernel 2.0

When exits the browserdolphin to restart on kernel 2.0 beta2 rom ki8. When mounts a ntfs sd card with the aid of Gscript lite restart
[Galaxy S II Original Android Development] cbeckstein:
Anybody else with this problem on Siyah 2b2:

1) script manager app no longer works (just black screen upon start, must be killed); it did on all rpevious Siyahs

2) charging currents can no longer be read from the kernel via script

in my case its occuring on stock KI8 (default voltages, lagfree gov 2-1200, VR scheduler) --- 100% reproducable
[Galaxy S II Original Android Development] lorenzo.themax92:
hi, it's only my problem, or the touchwiz homescreen scrolling is slow and not smooth in kernel 1.8 and 2.0b2? because with 1.7.8 is very smoother..
[Galaxy S II Original Android Development] :
so far so good, known boot animation thing, ondemandx on default values smooth as always.. will need some more time to see the battery life :)
[Galaxy S II Original Android Development] KennyLegend:
Very good..gave me a laugh :D

Sent using XDA Premium App & Tricky103s Rom Kitchen Ki8 .
[Galaxy S II Original Android Development] Kenpel:
I agree with all of the...

SSrom (Stock rom + SiyahKernel v2.0b2)
[Galaxy S II Original Android Development] KennyLegend:
U still having that horrible drain mate?

Sent using XDA Premium App & Tricky103s Rom Kitchen Ki8 .
[Galaxy S II Original Android Development] KennyLegend:
Id be inclined to agree. Important not convinced it fixes AOS but rather stops it showing in stats and gives display and others s higher %.

Sent using XDA Premium App & Tricky103s Rom Kitchen Ki8 .
[Galaxy S II Original Android Development] jeffojeff:
It's not only your problem but mine, too :) I reported the same thing before but no far no comment. I believe Gokhan is aware of the situation and will fix it soon but I wonder how soon :)
[Galaxy S II Original Android Development] Piretia:
And the BT work?
[Galaxy S II Original Android Development] terodeg:
i tried 2.0b2... gps keep goes ON also if i dont have any apps open using GPS.

i have to force gps OFF via powerwidget.

ROM LEOMAR 2.7.1 KI3, with 1.8 version no GPS bug...
[Galaxy S II Original Android Development] lorenzo.themax92:
what rom are using? i try with checkrom and batista70phone and .. same situation.
[Galaxy S II Original Android Development] Denwa:
Didn't try script manager but my charging and sqllite scripts are ignored. I think everything in init.d was ignored.

--sent from a faster than light sub-atomic particle via subspace communications tapped in binary by a finicky evil dragon with a broken wing... er.. wait... I'm *not* a dragon??
[Galaxy S II Original Android Development] Denwa:
For his beta releases gok should create a boot animation where the screen goes black and "YOUR PHONE WAS JUST PWNED!" appears on the screan, then the screen explodes with a firey animation complete with corrosponding sound fx.

But I'm evil like that.

--sent from a faster than light sub-atomic particle via subspace communications tapped in binary by a finicky evil dragon with a broken wing... er... wait... I'm *not* a dragon??
[Galaxy S II Original Android Development] jeffojeff:
I'm using stock rom, KI8...
[Galaxy S II Original Android Development] 2bullish:
Sorry mate how is this Samsungs fault. First of all you're comparing apples and oranges between s + s2. The phone has a lot more power drain due to the increased hardware but the battery tech is the same. Its like saying I used to get 50 mpg with my Fiat Panda but since I bought my Ferrari I'm only getting 15 mpg, what the feck is wrong with Ferrari!!

Secondly, the fact you a replying in this thread presupposes you are not using stock firmware/kernel etc so again how can this have anything to do with Samsung. This thread is highly experimental and the latest release is Beta.

Thirdly, and perhaps the most pertinent. If you had no problems with 2.3.4, go back to it. Or, upgrade to a 2000 battery with back cover and you can have your Ferrari with Panda hours "in use" performance and have the luxury of participating in Beta experiments.
[Galaxy S II Original Android Development] netchip:
@gokhanmoral

I will tell you something what might be useful for you.

If I had it not wrong, XDA forces to release source code in 5 days, due to GPL.

Sent from my GT-I9100
[Galaxy S II Original Android Development] :
1. so you want to say samsung releases sourcecode 5 days after kernel IS released (not in beta testing)?

2. gokhan releases sourcecode usually the same day the kernel IS released.

So what's your point?
[Galaxy S II Original Android Development] androidkid311:
Nope. People seem to just download file... experience bug and write about it lol :-/.

Sent from my iphone look a like powered by android!
[Galaxy S II Original Android Development] lsj_87:
there is something i wanted to ask, how come the benchmark points drops alot if i use interactiveX governor? i see the performance for 3d and 2d seems very smooth but benchmark points so low. sorry for asking such a noob question.
[Galaxy S II Original Android Development] :
I have mixed feelings about interactivex governor, I would really like to use it, but it is not as smooth as ondemandx. I have no idea why. In theory it should be my favorite governor, but it is not..
[Galaxy S II Original Android Development] Denwa:
Yes but for 2.0 gok said he can't release it yet due to some other but similar issue. I think that was just a heads up that xda will be wanting source released soon.

--sent from a faster than light sub-atomic particle via subspace communications tapped in binary by a finicky evil dragon with a broken wing... er... wait... I'm *not* a dragon??
[Galaxy S II Original Android Development] rauschkugl:
Somehow i can't upload my screencapture via xda app but my phone had the screen off for 4,5 hours now. Wifi and gps was turned off, autosync was on. In that time the battery drained 10%.

On my hd2 which wasn't designed to run android i lost 1% in that time with wifi and gps on.

I know that this is on almost all kernels but someone really has to fix it. This drain is just not acceptable for a phone that wasn't even used (I'm on version 1.8 on ki3 rom using ondemand governor with 200-1400MHz).

Leaving this issue out this is just the greatest kernel out there. Keep up the great work.

Sent from my GT-I9100
[Galaxy S II Original Android Development] PINki92:
How can I fix stuttering when I watch videos, which I recorded and even youtube videos stutter every few seconds.

I tried smartassV2 ondemand and ondemandX governor. Still stutters.

My max frequency is 1200mhz.

Please help, that makes me wanna cry over the "beast" I own.
[Galaxy S II Original Android Development] jdmcivic:
been experiencing the same since 1.8 rc versions..
[Galaxy S II Original Android Development] chandyperry:
Nope but I think this related to the ROM not the kernel... :)
[Galaxy S II Original Android Development] dica:
video register

i am using the 1.8 version and when i recod a video the sound quality is really bad and sometimes doesnt register any audio only video.

any idea ?? i am on leomar 2.7.1
[Galaxy S II Original Android Development] olifee:
Try this (second half of my post):

http://xdaforums.com/showpost.php?p=18237825&postcount=2922

You can enter those lines in a root-terminal or put them in gScript or anything like that.

Automatic NTFS-mounting is planned by gokhanmoral, but still in the works (I think).
[Galaxy S II Original Android Development] Piretia:
But with the Kernel CM7, works in rom Galnetmiui
[Galaxy S II Original Android Development] colli666:
My stock rom doesnt work with 2.0b2 ...Im back to 1.8 now.
[Galaxy S II Original Android Development] netchip:
1. The 5 day rule is from xda

2. It is required EVERY REPEASE

Sent from my GvT-I9100
[Galaxy S II Original Android Development] YaocH:
Love the latest kernel! V2.0 b2. 7411 in antutu! Nothing short of amazing I must say.
[Galaxy S II Original Android Development] :
1. OK.

2. yes RELEASE (betas and rcss are not releases AFAIK)
[Galaxy S II Original Android Development] gokhanmoral:
It is not something to discuss in this thread.

If somebody has a problem with my statement in the first post he can send a mail to moderators and I will talk to them about it. I am sure everybody (including the moderators) agrees that I have shared EVERYTHING in v1.8. Compiling a kernel has never been easier...

apart from that, I will release as I have been releasing. No source for beta's and release sources will be available in a week (it was available in the same day, but I may need some time. so no promises)
[Galaxy S II Original Android Development] lalit.kultham:
How is the battery performance with the latest update?
[Galaxy S II Original Android Development] dtekkt:
I think he wants it, so he can update his own kernel... such a bad attitude. I think you should ignore it and speak with a mod one writes you.

@netchip, he does this as a hobby and nothing else, he doesn't get paid for his work. So if you can't accept his answers let it be...
[Galaxy S II Original Android Development] Ferdimage:
Thanks for the Kernel, using the current MIUI 1.10.* version and mixed with 2.0 beta2

First thing i noticed after boot was the excessive sharpness.. bit too much makes the text look ugly on the edges, also the Haptic feedback is very very low..

Just my 2c

Thanks
[Galaxy S II Original Android Development] :
lets see Siyah 1.8 has like 7000 downloads and the other kernel 400 downloads. hmmh..
[Galaxy S II Original Android Development] mikebike20:
Hi Gokhan, i'm really pleased by this first beta. Thank you so much. I run it on Miui Galnet 1.10.10. Just want to tell you about an issue i think, my phone never go to deep sleep with kernel 2.0b2 as you can see in this screen capture. Thank you to help us all with this future great kernel...
[Galaxy S II Original Android Development] 2bullish:
I'm sure this is a noob request but can you tell me, have you had:

the phone connected to charger?

is the wifi on?
[Galaxy S II Original Android Development] mikebike20:
Not charging but wifi on yes...even though charging is the same, i never had deep sleep since this kernel and ever before...
[Galaxy S II Original Android Development] chadouming:
Maybe that an app is preventing your phone to go into deepsleep
[Galaxy S II Original Android Development] mehmetenis:
Gökhan:

Im install 1.7b.I think not problem but I must said that...

İn firefox or dolphin web browser open app set writing adress bar phone is restart.

This event took place two times.

After did not do any more then.

Why do you think might be?

---------- Post added at 01:11 PM ---------- Previous post was at 01:07 PM ----------

If you become a member by a wider audience out there Gokhan .Shiftpda.com
[Galaxy S II Original Android Development] sasho36:
825 was stable with Ninphetamine-2.1.3 but froze @100Mhz. But my battery was low (<10%) and I think that settings that might be stable with a charged battery may not be when the battery is low.

On a side note, the "Touchscreen fix" seems less sensitive than with Ninphetamine-2.1.3 as a capacitive stylus doesn't work well while charging (with a screen-protector) and it worked very well with Ninphetamine.

Thanks a lot for your great work!
[Galaxy S II Original Android Development] :
so now I have to have both setcpu and no-fills installed to undervolt and change to sio.. damn you :D
[Galaxy S II Original Android Development] gokhanmoral:
yes I noticed that I forgot to apply touchscreen fix...

I will apply it before the next release.
[Galaxy S II Original Android Development] gokhanmoral:
:D

I will try to make no-frills to support voltage interface (it's open-source).

I have the same problem. I don't like to have too many applications installed.
[Galaxy S II Original Android Development] :
neither do I :) .. btw. with SIO Plume seems to be smooth again w/ smartassv2, lets see how it will react in other situations-
[Galaxy S II Original Android Development] gokhanmoral:
that feedback is very precious.. test it more. maybe we will have it as default so that we both can uninstall nofrills :)
[Galaxy S II Original Android Development] gokhanmoral:
I really have no idea. that is weird.. which rom are you using?

and what is your clock/voltage settings?
[Galaxy S II Original Android Development] :
have you ever tried this app?

http://xdaforums.com/showthread.php?t=829731
[Galaxy S II Original Android Development] gokhanmoral:
one more thing:

since v1.7 is based on new sources (AT&T version) we have new drivers.

please keep in mind while testing and give feedback if you have any problems.

I can revert back to old drivers if you notice any problem in anything such as wireless, screen, haptic feedback, etc...

I have changed the title of the thread because I have enabled autobrightness back on :)

with GPU underclocked to 100-167@800mV and CPU@100-1400 w/ smartass2 battery life seems a lot better now. I don't think I need to save battery by decreasing brightness anymore...
[Galaxy S II Original Android Development] sasho36:
Take a look at this app "Daemon controller" :

http://xdaforums.com/showthread.php?t=1222020 (second post)

The last vesion can baypass the daemonOC (when using governors that have wake and sleep profiles built into them; like smartassV2). So with this app is easy to set governor and frequencies and the advantage is that it's not running all the time like setCPU because it only injects the right values into /cpufreq at boot.

As for UV, it can easily be done with an init.d script like this (stock values):

#!/system/bin/sh
echo "1425 1325 1275 1175 975 950 925 925" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

Edit: It can also be done with gscript lite for testing (no need to reboot). Just create a script with the second line above. Once you've found the right settings, make an init.d script
[Galaxy S II Original Android Development] gokhanmoral:
no, I have not. since it is also opensource, it will help me in my next contribution :)
[Galaxy S II Original Android Development] :
thanks for the post, I've heard about it.. it doesn't solve the scheduler issue :))
[Galaxy S II Original Android Development] spaxx24:
How do I underclock the GPU? Is that standard in kernel?
[Galaxy S II Original Android Development] sasho36:
What scheduler do you want to use?
[Galaxy S II Original Android Development] :
SIO

seems much better with smartassv2 for now, but will need few more days to test.
[Galaxy S II Original Android Development] gokhanmoral:
search for "gpu_clock_control" in this thread.

http://xdaforums.com/showthread.php?p=17753011&highlight=gpu_clock_control#post17753011

this post has a sample init.d script.

customize it according to your needs.

I have also modified that script a bit and put in the OP as an example CWM-flashable zip file
[Galaxy S II Original Android Development] r4stafari:
From setcpu scaling, there is lagfree and savagedzen?? What is it abt?
[Galaxy S II Original Android Development] holyshit1:
Noob guide, please !!!

How to undervolt gpu or it is undervolted in the lastest beta?
[Galaxy S II Original Android Development] kwerdenker:
@gokhanmoral You're one fast developing guy! I can't flash them as fast as you compile em ^^ Testing the 1.7 beta now with UV on 200MHz back to it's old value.

Concerning the app discussion: why use an app for something your system already can do via a simple script or two. I attached my three init-scripts to this post. The GPU one is the same as in the first post, the other two I hacked together myself. The undervolting one is "kernel adaptive" as it checks which steppings are available before it writes the UV values so if you switch between kernels with different steppings one should get no lock-ups on boot. If you use these scripts, remeber to change voltage and clock values to your own ones :)

96undervolting:

#!/system/bin/sh

#customize voltages to you values
#All Steps in MHz
#Steps are: 1400 1200 1000 800 500 200
NORMAL_STEPS="1275 1175 1075 975 875 850"
#Added Step is for 1600mhz
HIGHER_STEP="1425"
#Added Step is for: 100mhz
LOWER_STEP="850"

#Checking stuff
checkfreq1600=$(grep '1600mhz' /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table)
checkfreq100=$(grep '100mhz' /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table)

if [[ -z "$checkfreq1600" ]]; then
echo "No 1600mhz stepping found -> using 6 steps voltages"
echo $NORMAL_STEPS > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
else
if [[ -n "$checkfreq1600" ]]; then
echo "1600mhz max stepping found"
if [[ -n "$checkfreq100" ]]; then
echo "100mhz min stepping found -> using 8 steps voltages"
echo $HIGHER_STEP" "$NORMAL_STEPS" "$LOWER_STEP > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
else
echo "No 100mhz min stepping found -> using 7 steps voltages"
echo $HIGHER_STEP" "$NORMAL_STEPS > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
fi
fi
fi

98underclocking:

#!/system/bin/sh

checkgov=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | grep smartassV2 -)

echo "Setting scaling_max_freq to 800mhz"
echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "Setting scaling_min_freq to 100mhz"
echo 100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "Setting governor to smartassV2 (if available)"
if [[ -n "$checkgov" ]]; then
echo "smartassV2 found"
echo smartassV2 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
else
echo "smartassV2 not found, using standard governor"
fi

@TheRealWells if you want to change your scheduler via an init-script, you could add the following line:

echo <name_of_scheduler> > /sys/block/mmcblk0/queue/scheduler

.
[Galaxy S II Original Android Development] gokhanmoral:
did you flash the CWM version?

if not, did you clear cache&dalvik after flashing?
[Galaxy S II Original Android Development] mikebike20:
Yes by cwm but didn't clear cache and dalvik. I try it in 1 min and i report you. Thanks