yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Original Android Development] yhrn:
Hi everybody,

I was thinking I might give this kernel a try now that the atmosphere over at Siyah has become a bit, shall we say, strained. I've been thinking about this for a while but the main thing keeping me is the ability to easily change the sound settings. However, I now sat down and compared what STweaks shows and whats in /sys/class/misc/scoobydoo_sound/ to make myself a script that I can use with this kernel.

This is what I have come up with so far (the comments are basically the headings from STweaks):

#!/system/bin/sh

# Scoobydoo enabled (0/1)
echo 1 > /sys/class/misc/scoobydoo_sound_control/enable

# Negative digital gain in dB (0 - 12)
echo 0 > /sys/class/misc/scoobydoo_sound/digital_gain

# Headphone amplification in dB offset by 57, e.g. 0 is -57 dB, 60 is 3 dB (0 - 63)
echo 60 > /sys/class/misc/scoobydoo_sound/headphone_amplifier_level

# Headphone equalizer enabled (0/1)
echo 1 > /sys/class/misc/scoobydoo_sound/headphone_eq

# Equalizer bands in dB (-12 - 12)
echo 4 > /sys/class/misc/scoobydoo_sound/headphone_eq_b1_gain

echo 2 > /sys/class/misc/scoobydoo_sound/headphone_eq_b2_gain

echo 0 > /sys/class/misc/scoobydoo_sound/headphone_eq_b3_gain

echo 2 > /sys/class/misc/scoobydoo_sound/headphone_eq_b4_gain

echo 3 > /sys/class/misc/scoobydoo_sound/headphone_eq_b5_gain

# 3D stereo expansion effect enabled (0/1)
echo 1 > /sys/class/misc/scoobydoo_sound/stereo_expansion

# 3D stereo expansion effect gain (0 - 31)
echo 4 > /sys/class/misc/scoobydoo_sound/stereo_expansion_gain

# Force mono enabled (0/1)
echo 0 > /sys/class/misc/scoobydoo_sound/mono_downmix

# DAC direct enabled (0/1)
echo 1 > /sys/class/misc/scoobydoo_sound/dac_direct

# FLL tuning enabled (0/1)
echo 1 > /sys/class/misc/scoobydoo_sound/fll_tuning

# DAC oversampling enabled (0/1)
echo 1 > /sys/class/misc/scoobydoo_sound/dac_osr128

# Speaker tuning enabled (0/1) - better bass response on main speakers
echo 0 > /sys/class/misc/scoobydoo_sound/speaker_tuning

# Speaker amplification offset (-6 - 6)
echo 0 > /sys/class/misc/scoobydoo_sound/speaker_offset

# These could not be controlled in STweaks from what I understand

# Some other kind of oversampling I guess
echo 0 > /sys/class/misc/scoobydoo_sound/adc_osr128

# Obviously related to speaker tuning but I have no idea really
echo 44 > /sys/class/misc/scoobydoo_sound/speaker_tuning_level

What do you think? Do the comments seem correct and did I get all relevant options?

Also If somebody more knowledgeable could improve on my comments a script like this could maybe be attached to the OP to give non-experts like me a template to start out with.
[Galaxy S III Original Android Development] AndreiLux:
You covered all of the relevant settings, but since 25 I already preset some of the new settings to better values. Btw if people find it too loud now I'll tune it down a bit.
[Galaxy S III Original Android Development] rowlers:
I'd say thats a pretty good start (although I'm know expert!).

I use script manager to check the script for errors and then move it to init.d
[Galaxy S III Original Android Development] Erahgon:
Hi! If you don't mind, could you share the new values you default to? Thanks!
[Galaxy S III Original Android Development] shahulvm:
Undervolting Ref

My device works well with the following undervolt values...Sticking to stock 200-1400Mhz :)

1700mhz: 1300 mV

1600mhz: 1250 mV

1500mhz: 1150 mV

1400mhz: 1100 mV

1300mhz: 1050 mV

1200mhz: 1000 mV

1100mhz: 975 mV

1000mhz: 925 mV

900mhz: 900 mV

800mhz: 875 mV

700mhz: 850 mV

600mhz: 825 mV

500mhz: 825 mV

400mhz: 775 mV

300mhz: 725 mV

200mhz: 700 mV

These are extreme values, I would suggest other to start with +100mv of this...

@1800Mhz the device was unstable and rebooting...
[Galaxy S III Original Android Development] bala_gamer:
what app did you use to test the stability??
[Galaxy S III Original Android Development] shahulvm:
3 Apps :-

1. CPU usage monitor to check the freq

2. Stability Test

3. Stress test using Setcpu
[Galaxy S III Original Android Development] mp3geek:
Is there a CWM Recovery method rather than ODIN for this kernel (or both)?
[Galaxy S III Original Android Development] shahulvm:
Only ODIN as of now...cwm should be easy...
[Galaxy S III Original Android Development] silitek:
'

Mobile Odin..click, reboot and ready:D
[Galaxy S III Original Android Development] Cristiano Matos:
Probably a silly question.

I'm already rooted with cf-root and have mobile Odin either.

If I flash this kernel do I keep my root and recovery?

Thanks in advance.
[Galaxy S III Original Android Development] BoneMo:
yes,,, and remember kernel and recovery are separated in SGS III
[Galaxy S III Original Android Development] Chris_84:
With Perseus and Omega V 4.1 ON 1700MHZ :-) Thx for your great work. No problems so far and pretty stable.
[Galaxy S III Original Android Development] Cristiano Matos:
Thanks.

I would press Thanks button but I already spent all my 8 thanks per day!
[Galaxy S III Original Android Development] sstanton86:
Could anyone comment on the battery life with this kernel compared to stock? :D
[Galaxy S III Original Android Development] kloodee:
Aside from oc, how is the battery life with this kernal specially the bug of cell standby eating the battery. I hope this kernal can solve it
[Galaxy S III Original Android Development] AndreiLux:
There's no modifications to reduce power consumption for the moment unless you count undervolting. The cell drain is related to the modem firmware and the developers can't do nothing against it.
[Galaxy S III Original Android Development] 9Lukas5:
What's about uv deepsleep?

L

Gesendet von meinem GT-I9300 Galaxy SIII
[Galaxy S III Original Android Development] bradputt:
it's strange after i flashed this kernel, my antutu and quadrant score went down a lot.

i even clock it to 1700 mhz still very low scores.
[Galaxy S III Original Android Development] Reviewers:
I can't wait for Alpha 11.
[Galaxy S III Original Android Development] crissbm:
Benchmark scores are not that important . Fluidity and battery is important .
[Galaxy S III Original Android Development] sak500:
Use nstools and set gov to pegasus and noop in ioscheduler and try again.
[Galaxy S III Original Android Development] 9Lukas5:
If the processor gets too hot (because of overclocking e.g.) it will be trothled automaticly.

L
[Galaxy S III Original Android Development] nickwarn:
Que? Alpha 11 has been out since early this morning.
[Galaxy S III Original Android Development] rowlers:
Can share these default values. I've already ran my own script so they are overwritten.

I recall reading that fll tuning and dac direct made little (if any) diiference. Is this still the case?

Thanks

EDIT beaten too it!
[Galaxy S III Original Android Development] SirCanealot:
Hey, couple of small things... ;)

First of all +1 to all the people saying Andrei is an awesome dev. His support to his users is clear and his innovations are awesome! I am meaning to send him some coffee/beer/sweeties money as he does deserve some support for his awesome work!

Anyway, Andrei, one question for you! Does the new GPU configuration limit us to 5 steps still? Or if I, say, set min to 108 and max to 640 will it simply scale along the table as it does for cpu? Eg, jump from 108 to 160 to 266, etc...

If so, I am literally releasing my brick as this makes a lot more sense than the normal Samsung implementation! :D

Thanks very much! And I've had no problems with the new kernel so far. Seems very smooth (I think the new gpu scaling is a lot nicer?) and battery is as bad as it usually is for me :p (or good. Pretty random for me...)
[Galaxy S III Original Android Development] aydc:
I hope you don't apply any equalizer settings by default. Since I have set the equalizer of PowerAmp just as I like it and anything other than flat sound set by the kernel will interfere with it. Most good headphones don't need much equalizing anyway, so I believe it's best to have default settings as all flat.

By the way, thank you very much for the increased charger current. I've finally switched to this kernel.
[Galaxy S III Original Android Development] diego9016:
Please do... It's just too loud.

Thanks
[Galaxy S III Original Android Development] ginzo:
25.2 is running great with the last Wanamlite :)

Thanks! ! :rolleyes:

★ live! S3 powerphone & Tapatalk ★

Rom: Wanamlite 4.1

Kernel: Perseus 25.2

Operator: Vodafone

City: Padua
[Galaxy S III Original Android Development] AndreiLux:
Please, if you want to say something, say it. I can't stand political correctness or valuing politeness over facts, you can do that on other threads and in my mind in other forums and websites. Siyah became a black hole for unknowing, uneducated users because of its popularity and because of ExTweaks/STweaks. People have no clue what they are doing. I have to admit that I was happy that it attracted all of the "stupid" as it left this thread relatively unscathed for several months, but as popularity grows so does the risk of getting in a similar situation. Frankly the way people behaved there was pretty disgusting and I understand why Gökhan got sick of it. Please remember the amount of work that went into that product...

I don't mind people posting non-development posts here as long as it is something constructive in any kind of form. We're not on Facebook. I also try to keep my explanations as thorough as possible, but sometimes that still goes over people's heads. Looking @ SirCamelot; I already explained exactly that question in the you're posing in the OP and even made a graphic in hoping that it would be clear and that people wouldn't come into asking that question... sigh.

I'm using Siyah's default's plus a slight equalizer setting linearly biased towards the low bands.

echo 1 A 0x0FBB > /sys/class/misc/scoobydoo_sound/headphone_eq_bands_values

echo 1 B 0x0407 > /sys/class/misc/scoobydoo_sound/headphone_eq_bands_values

echo 1 PG 0x0114 > /sys/class/misc/scoobydoo_sound/headphone_eq_bands_values

echo 2 A 0x1F8C > /sys/class/misc/scoobydoo_sound/headphone_eq_bands_values

echo 2 B 0xF073 > /sys/class/misc/scoobydoo_sound/headphone_eq_bands_values

echo 2 C 0x040A > /sys/class/misc/scoobydoo_sound/headphone_eq_bands_values

echo 2 PG 0x01C8 > /sys/class/misc/scoobydoo_sound/headphone_eq_bands_values

echo 1 > /sys/class/misc/scoobydoo_sound/fll_tuning

echo 1 > /sys/class/misc/scoobydoo_sound/dac_osr128

echo 1 > /sys/class/misc/scoobydoo_sound/speaker_tuning

echo 57 > /sys/class/misc/scoobydoo_sound/headphone_amplifier_level

echo 4 > /sys/class/misc/scoobydoo_sound/headphone_eq_b1_gain

echo 3 > /sys/class/misc/scoobydoo_sound/headphone_eq_b2_gain

echo 2 > /sys/class/misc/scoobydoo_sound/headphone_eq_b3_gain

echo 2 > /sys/class/misc/scoobydoo_sound/headphone_eq_b4_gain

echo 3 > /sys/class/misc/scoobydoo_sound/headphone_eq_b5_gain

echo 1 > /sys/class/misc/scoobydoo_sound/headphone_eq

I'll change the amplifier back to 50 next.

I tested it with 2 pairs of in-ear buds and 2 pairs of headphones, all of them good quality. Aside from the volume being a bit too loud, I think this fits the demands of most people. Please change your PowerAmp settings or disable the hardware equalizer yourself if you don't like it.
[Galaxy S III Original Android Development] nodstuff:
Manipulating the equalizer in the hardware directly is infinitely better than some crappy digital equalizer in an average-at-best media player.

Get rid of poweramp, install neutron and use a script to set up the sound as you see fit, it is much better.

As for everyone complaining that it is too loud, just use a script to drop the headphone amplifier to around 50 or so, it takes about one minute to do.

@Andreilux

Thanks man, much appreciated.

Liking the new GPU scaling.
[Galaxy S III Original Android Development] rowlers:
thanks Andrei, thats great.

I'm using powerAmp with no equaliser settings. I set it all using a script. I also tried Neutron, sound was pretty good, but not vastly better than poweramp.

tweaking the kernel is the way to go imo, and perseus makes this possible...
[Galaxy S III Original Android Development] nodstuff:
Did you turn on 64bit rendering in neutron?

I have both poweramp and neutron and I find neutron infinitely better.

But ya I agree that tweaking the voodoo sou.... ahem, I mean Scooby doo sound settings in the kernel is the best way.
[Galaxy S III Original Android Development] rowlers:
Yeh I tried the 64bit rendering, whilst I could here the difference, it was not worth putting up with Neutron's horrific interface!:laugh:
[Galaxy S III Original Android Development] bigr1979:
Hi all, thanks for the kernel Andreilux.

I have come from siyah and wanted to try your kernel. I have setup an init.d script for my preferred scoobydoo sound settings and I have checked with root explorer and my script seems to have worked successfully. I have also tried to use a script to set a max 533mhz gpu step and also to set a gpu underclock but it doesnt seem my script is being applied.

Could someone kindly have a look at the following script and let me know where I am going wrong.

#!/system/bin/sh

echo 533 > /sys/devices/system/gpu/max_freq

echo 160 800 > /sys/devices/system/gpu/volt_table

echo 266 850 > /sys/devices/system/gpu/volt_table

echo 350 900 > /sys/devices/system/gpu/volt_table

echo 440 950 > /sys/devices/system/gpu/volt_table

echo 533 1025 > /sys/devices/system/gpu/volt_table
[Galaxy S III Original Android Development] Skander1998:
Now i *just* got mine to work somehow, only difference was i am running 25.1 so i upgraded to 25.2, everything worked and got applied.

If you are in 25.1 upgrade to 25.2 and put this

#!/system/bin/sh

echo 533 > /sys/devices/system/gpu/max_freq

echo 160 800 > /sys/devices/system/gpu/volt_table

echo 266 850 > /sys/devices/system/gpu/volt_table

echo 350 900 > /sys/devices/system/gpu/volt_table

echo 440 950 > /sys/devices/system/gpu/volt_table

echo 533 1025 > /sys/devices/system/gpu/volt_table
[Galaxy S III Original Android Development] bigr1979:
Hmm, I have tried again but when I go to the sys/devices/system/gpu folder with root explorer the values havent been changed.
[Galaxy S III Original Android Development] EViollet:
Probably a stupid question, but what are the access rights to your file? Does it have execution rights?

Envoyé depuis mon GT-I9300 avec Tapatalk
[Galaxy S III Original Android Development] bigr1979:
I have set permissions the same as the other init.d scripts I have....

Owner = R W E

Group = R E

Others = R E

I have changed ownership to 0 - root for both Owner and Group. Is there something I am missing ?

(also my scoobydoo init.d script is setup exactly the same way and is working so I am scratching my head a bit on this one)
[Galaxy S III Original Android Development] KS_Ho:
Here you go my friend, here's my init.d scripts for Max Voltage/ Voltage Table, feel free to edit them to your needs or echo new GPU stuff :) If it still doesn't work, use Script Manager to run the scripts that aren't working; they're working all fine here for me :)

*And all my permissions are set 777
[Galaxy S III Original Android Development] :
Why is it called Scoobydoo sound anyway? Is my phone going to bark?
[Galaxy S III Original Android Development] 37_:
hm... with the 25.1 the battery drops very fast in flight mode, last night I lost 12% in only 6 hours without any activities, with 24.2 it was only 2% in 10 hours
[Galaxy S III Original Android Development] bigr1979:
Thank you everyone so much for your help. I fixed it in the end. I was writing the scripts in Notepad++ on the pc and copying them. I saw that for some reason my changes werent being saved on the phone. I tried to make the file on the phone and it wouldnt appear so I went into recovery and did a fix permissions. I then created the file with root explorer and wrote it on my phone and now it works fine :)
[Galaxy S III Original Android Development] qwerty12:
You can follow the (now-resolved through the changing of the name) drama that (I think) started here.
[Galaxy S III Original Android Development] Chillz88:
So if we set min freq for gpu at 106 and max at 600 using script and put the script paring votages for 106, 160,266, 350, 533 and 600, would we have 6 gpu steps then?? I did read the op.. maybe i understood something wrong
[Galaxy S III Original Android Development] AndreiLux:
You would need to shift the frequencies above 350, if you want it like that then you need to set 440 to 533 and 533 to 600. Then set the voltages.

New version:
[Galaxy S III Original Android Development] AbuYahya:
Has anyone tried gpu freq 800mhz. Any Significant benefits?
[Galaxy S III Original Android Development] androb0t:
if i dont have problem with .25 , i dont think i have to upgrade to 25.3, do I? :)

.25 is so perfect!!!
[Galaxy S III Original Android Development] jgalvez21:
well new build UK firmware looks like it have new kernel, or some tweaks stock kernel with root is faster than perses was with .23

if .25 an improvement?
[Galaxy S III Original Android Development] Jokerovski:
I have lags when using Live Wallpaper as background... With 24.2 it was smooth without problems....

My rom ARHD 13.0
[Galaxy S III Original Android Development] ginzo:
I am also noticing a laggy live wallpaper set as background and I have also noted that tonight the battery drained an 8% tonight, when the phone was in airplane mode and with energy saver ON. with 24.2 was different, the battery drain was between 1 and 2% in the same conditions..
[Galaxy S III Original Android Development] yhrn:
Thanks for the reply.

Here is a new version of the script that is a little bit reorganized and with values that match the alpha25.3 defaults. Everything is commented out so it won't do anything as it is and since un-commenting out will only make it set default values it won't do anything then either :). Really useful, right? Of course, it can be used as a template for playing around with all settings...
[Galaxy S III Original Android Development] aydc:
I only use this script in init.d to disable the equalizer. This line alone should be enough, right? I only want to disable the equalizer and keep all the other sound tweaks.

#!/system/bin/sh

echo 0 > /sys/class/misc/scoobydoo_sound/headphone_eq
[Galaxy S III Original Android Development] yhrn:
Yes, that should work.
[Galaxy S III Original Android Development] 37_:
yes same here, with 25 I lost 11% battery within 6 hours in flight mode, with 24.2 it was 2% in 10 hours
[Galaxy S III Original Android Development] codo2003:
Hi

I was having problem, the wifi not connecting, with version 23. Now I tried v 25.2 and 25.3, both works with me perfect.

Can you please add the complete version number in about (25.3) instead of (25).

Thank you very much for good job. Keep it up.
[Galaxy S III Original Android Development] ginzo:
I flashed 23.5 but tomorrow morning, if I'll see high battery drain during the night I will switch back to 24.2 :confused:
[Galaxy S III Original Android Development] ArbiterGR:
Same here with the battery drain, ON ARHD v13 also on Power saving mode. I will try a battery calibration first (myth or not, worth a try) before blaming it on the kernel though :P

To be honest, This kernel is that awesome, that the battery drains out of jealousy :P
[Galaxy S III Original Android Development] ginzo:
I love this kernel, so I will try the same, to make a battery calibration and let's see :)
[Galaxy S III Original Android Development] christo4:
hi, first time im trying this kernel. from what ive been hearing the battery life on the latest one isnt so great. i was wondering if there are any of the old kernels available for download?

thanks
[Galaxy S III Original Android Development] AndreiLux:
There's no change that would cause battery drain and I haven't noticed any idle difference, but I'll check it later tonight just to be sure. The only option is that I would have screwed up some GPU clock management but I doubt that.

Also my girlfriend tells me that I screwed up the cooking, and I'll have to admit that I did and she was right and I was wrong.
[Galaxy S III Original Android Development] mariosraptor:
So is there something wrong with AHRD?

I guess So. Ask Mike why it does not like Perseus. In battery terms looks superb.

I don't know if Andrei is somewhere near his goal with his super secret of making this device nuclear powered :)

Great job Andrei!
[Galaxy S III Original Android Development] diego9016:
I'm having the same battery drain on insertcoin 2.2.0.
[Galaxy S III Original Android Development] mariosraptor:
ok. Fair enough. Personally i have no drain. With this kernel i get always about 5 hours screen time. I always use wanamlite roms always with the modem they come.

So can all people share just some more info about what is their configuration. Any apps, scripts, memory managements, oc, uv for both gpu and cpu?

Maybe a solution can be found.
[Galaxy S III Original Android Development] 37_:
in flight mode, just no activities, cpu set to 200-500mhz if screen is off, it seems not like a ROM (ARHD 13) issue because with 24.2 everything is fine
[Galaxy S III Original Android Development] aydc:
I have no battery drain whatsoever, actually battery life seems to be exceptional with this kernel. I'm using all settings at default other than that equalizer is disabled. Guys having battery drain may need to check their custom settings.
[Galaxy S III Original Android Development] mariosraptor:
+1. All settings default. Only 1 script in init.d for internal2external. Very good battery as i have already stated.
[Galaxy S III Original Android Development] Peeyar:
guys where can i download the previous kernels like 24.2 thnx.
[Galaxy S III Original Android Development] saywhatt:
I can give you a link to the v24.2 i downloaded but i dunno if the dev is okay with mirrors.. •_•
[Galaxy S III Original Android Development] ginzo:
I have Wanamlite 4.1 with its modem, no custom settings as I love Perseus kernel As it is...

This is why I was a bit surprised when I woke up this morning and found the battery drain...

I have many apps, but the apps that uses notifications have notifications disabled (like fb, tapatalk, etc) as I did same in the previous versions...

I didn't used new apps so I really don't know what could happen..

Last but not less important, I full wiped the s3 before flashing wanamlite 4.1 and then the 25.3 Perseus kernel.
[Galaxy S III Original Android Development] hanhav:
I have a problem with deepsleep. BBS show my phone is awake 100% of time.

Using latest Omega rom.

But I don´t have big drain on battery, consumption seems normal comparing to what it has been before.

Do you see your phone going in to deepsleep? Can there be something wrong in the kernel that deepsleep just don´t show up in BBS or CPUSpy?
[Galaxy S III Original Android Development] Carl.Brand.87:
Deep sleep working here in BBS on 25.3. You can't actually see your phone I deep sleep try checking wakelocks to make sure also in settings > battery > click the graph, does it show awake there all the time?
[Galaxy S III Original Android Development] hanhav:
Yes, it shows that phone was awake all the time.

In BBS partial wakelocks, AlarmManager/android-system on top. If I could just find out what causes it.

I´ve had this(no deepsleep) before but now nothing seems to cure it.

I think I have to keep on looking, maybe flash stock kernel and see how it goes.
[Galaxy S III Original Android Development] mariosraptor:
Download cpu spy to check deep sleep.
[Galaxy S III Original Android Development] ky0shiro:
Had the same problem with the lack of deep sleep.

At BBS it showed that the media scanner was the culprit, enabled it and disabled it again with the Rescan Media Root app and everything is ok now.
[Galaxy S III Original Android Development] AndreiLux:
I re-uploaded 24.3, but I think all of this is baloney. I didn't change anything in the kernel that would warrant worse battery life. Wakelocks are caused by userspace applications and have nothing to do with the kernel. In fact all wakelocks are caused by outside influences and the kernel has no direct business with them.

I have the same battery life as before and my battery graph flat-lines when I'm not using the device.