yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Original Android Development] chwads2k8:
'What app u all using to configure
[Galaxy S III Original Android Development] shahzaib.khan:
Whats so special in this kernel I have just install it ....I mean what is speciallity of this kernel
[Galaxy S III Original Android Development] robogo1982:
Why don't you just flash it and see? Use it for a couple of days and if it fits your needs, good.

Everything relevant to this kernel is in the OP.
[Galaxy S III Original Android Development] BaGRoS:
How i log cpu consuption per applications?

Wysłane z mojego GT-I9300
[Galaxy S III Original Android Development] EViollet:
One word: choice.

It has overclocking/undervolting, and several tweaks that you may (or may not) find useful (sound for instance). It's a more customisable kernel than stock.

You may see no difference compared to stock, so it's really up to you to determine if you like it or not.

Regards,

---------- Post added at 10:45 AM ---------- Previous post was at 10:44 AM ----------

Bettery Battery Stats. Definitely. You can find it for free in the forum.
[Galaxy S III Original Android Development] danielg90:
Is for Samsung based?

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Original Android Development] AndreiLux:
Si.
[Galaxy S III Original Android Development] aydc:
900 mah is safe for USB2 ports too. I'm currently using siyah, usb charging is set to 900mah, my phone is connected to a USB2 port and I have no problems. USB ports give whatever current they can give anyway. You can set it to 999999mah if you want, it's still safe.

I want to switch from siyah to Perseus since I don't like the bloat due to dual booting, but the only reason keeping me is unadjustable charging speeds with Perseus.
[Galaxy S III Original Android Development] LenAsh:
USB 2 is limited to 500mA per node.

The USB 2 spec only allows this, after which the current is limited by a Polyfuse.

USB 3 is limited to 1.5A
[Galaxy S III Original Android Development] andreasy:
Andrei, with all due respect for your work and support in this thread, I noticed that in Siyah, the dock mode bug is fixed. I don't know how hard it is to fix but I just wanted to ask if there are any plans In fixing it in Perseus, since its my preferred kernel. no request or anything, just asking.
[Galaxy S III Original Android Development] MBurns2:
is there some app for changing setting ? ty
[Galaxy S III Original Android Development] eseregin:
Grey dock you mean?

It is not the bug, it is how it should be from Sammy point of view.
[Galaxy S III Original Android Development] andreasy:
No, default Android docking mode or car mode. If you connect SGS3 on an i-bolt or Samsung Holder (any holder actually), with JB, it won't do anything, not even charge the phone. In ICS, dock mode is initiated. Since JB, this is broken. I've read that it was fixed in Siyah latest kernel so I tried it today and it is indeed fixed so I thought it would be nice to have it in Perseus as well.
[Galaxy S III Original Android Development] AndreiLux:
I already fixed this some time ago (Coincidentally before Siyah) but haven't released it into the main kernel here, you can find a fixed version here in this post.. The next versions here will have it of course.
[Galaxy S III Original Android Development] LenAsh:
Audio quality with this kernel is "not good". I realise this is likely to be a function of the Voodoo implementation, but it is THE only reason I have had to revert to the stock kernel. I know I can disable it, but the means to do this is unclear, so avoided.
[Galaxy S III Original Android Development] andreasy:
Thanks a million. I'm glad it was fixed before Siyah ::D.

Can I install it with latest Perseus and with any JB release or is it ROM-related?
[Galaxy S III Original Android Development] jayden2009:
There are mods to make the sound "better" :)

Verstuurd van mijn GT-I9300 met Tapatalk
[Galaxy S III Original Android Development] LenAsh:
They are the problem...
[Galaxy S III Original Android Development] habylab:
Great news, well done.
[Galaxy S III Original Android Development] Jokerovski:
France	2012 October	4.1.1	I9300XXDLJ2

I can see this one on top... Isn't this one better than the UK and Polish ones...
[Galaxy S III Original Android Development] robogo1982:
This is a kernel topic, not a ROM discussion. :)
[Galaxy S III Original Android Development] sachs:
+1...is the only reason I have had to revert to the GM kernel.(wonderful sound). Maybe in the future.
[Galaxy S III Original Android Development] estanenmi:
this kernel works on slim bean room?

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Original Android Development] naveediftikhar:
no..only stock jb!
[Galaxy S III Original Android Development] rowlers:
I'm fairly certain it has the same voodoo ports that Siyah has, so sound quality is the same.

You need to enable the sound features tho via init.d
[Galaxy S III Original Android Development] LenAsh:
Same sound? Hope not, Perseus sound is awful.

You need to DISABLE via init.d script not enable... it is enabled by default IIRC
[Galaxy S III Original Android Development] AndreiLux:
Well my friend, revert no more! I have re-configured the kernel and now you can enjoy wonderful sound here too! /sarcasm

I just happened to not listen to any music on my phone in some time and didn't notice the regression, the sound settings were mis-configured. Anyway that's fixed.

Also new version is up. Enjoy.
[Galaxy S III Original Android Development] cmajetic:
the .tar file has only 8 kbs, please fix that so nobody does something wrong

sorry seems to be uploading just slow :P

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Galaxy S III Original Android Development] nfsmw_gr:
Thank's for the new version...

But i'm a bit confused about gpu.

The script i had until now won't work right?

But i don't get this part:

"- freq_table outputs a list of the current frequency table. You can use this interface for configuring the frequencies themselves in two ways:

Pair-wise target setting: echo 533 500 > /sys/devices/system/gpu/freq_table will change the 533 step frequency to 500.

Whole-table echo: echo 54 108 160 266 350 440 500 640 733 800 > /sys/devices/system/gpu/freq_table"

I understood how to set min clock an how to set max,i also understood about how to set voltages..

But could you give me some help here? :(

This is my current script.

I use the standard 160/266/350/440mhz plus a 533mhz step.

How can i make it work with the new version with the same values?

Thanks for your work AndreiLux. :)
[Galaxy S III Original Android Development] AndreiLux:
I'll take you as an example.

Old script:

#!/system/bin/sh

echo "160 266 350 440 533" > /sys/class/misc/gpu_clock_control/gpu_control

echo "90% 65% 80% 55% 70% 45% 60% 35%" > /sys/class/misc/gpu_clock_control/gpu_control

echo "775000 825000 875000 925000 1000000" > /sys/class/misc/gpu_voltage_control/gpu_control

echo "0 1 0 0 0" > /sys/class/misc/gpu_clock_control/gpu_staycount

transforms into:

#!/system/bin/sh

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

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

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

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

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

echo 533 1000 > /sys/devices/system/gpu/volt_table

You're a good example of why I got rid of the threshold settings. Your values are stupid and won't benefit fluidity at all, and they're more battery inefficient. Staycounts also don't exist anymore.
[Galaxy S III Original Android Development] nfsmw_gr:
Got it.

Thanks man. :)

---------- Post added at 03:04 AM ---------- Previous post was at 02:48 AM ----------

Thresholds don't work...

Used: echo 75 30 > /sys/devices/system/gpu/thresholds but values are still 90-10.
[Galaxy S III Original Android Development] brunodmjr:
Great work, keep up the good job! :)

A sugestion: It would be so nice if the kernel had an app to controll all this nice features... =D
[Galaxy S III Original Android Development] nfsmw_gr:
The only thing i miss from siyah kernel...:p

But i still prefer perseus. :D
[Galaxy S III Original Android Development] :
Alpha 25 is rebooting my phone all the time. I'll try to debug somehow, because I don't have access to a computer right now to use adb.

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] KS_Ho:
Have you tried running script manager to see if it works?
[Galaxy S III Original Android Development] nfsmw_gr:
Yes i have...it still doesn't work.

Does it work for you?
[Galaxy S III Original Android Development] Kaboosey:
Same here. Running on FoxHound 1.0 Essential.
[Galaxy S III Original Android Development] nfsmw_gr:
I'm running the same rom...

Try with cwm install?

I flashed it this way and it works fine...(except thresholds)
[Galaxy S III Original Android Development] :
I flashed on CWM. It's some kind of incompatibility maybe. I really can't see anything that may cause those issues, at least from changelog.

Enviado de meu GT-I9300 usando o Tapatalk 2

---------- Post added at 10:13 PM ---------- Previous post was at 10:09 PM ----------

Oh wait. It's saying some dvfs change, and after some changelogs it says I can delete TwDVFSApp.apk, because it might conflict. Can someone try it please?

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] AndreiLux:
Somehow swap got disabled in my defconfig (For the second time already? Wtf.) And I suppose you have MultiTaskingFix or something and that causes the kernel to behave funny. I'm recompiling and new version will be up in 10 minutes.
[Galaxy S III Original Android Development] nfsmw_gr:
Anything to say about the thresholds mate?

Am i doing something wrong here..?
[Galaxy S III Original Android Development] :
No, I have no weird mods which can affect the kernel.

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] AndreiLux:
Yes, I forgot to mention that in the OP. I put in an anti-stupid value filter in it. Down differential cannot be below (99 - up). In your case 30 is greater than 24 (99 - 75).

75 20 works fine for example. And again, I repeat that these are silly values. Please just keep the thresholds as they are.

I'm reuploading a new compile with working swap again. Download if you had issues. If you still get reboots I need a last_kmsg, I can't reproduce any reboot.
[Galaxy S III Original Android Development] nfsmw_gr:
Okay,thanks for confirming...

Well i just don't care about battery life as i always carry a second battery with me,so i want to use my "stupid' values if you don't mind.

This is the second time you offend me today about my choices without any obvious reason.

I didn't say "wooaah this kernel makes my phone lag,help me please!"or something similar.

The battery life was always great with these "stupid" values and it was smooth as butter all the time.

I said that the interface doesn't work.

Also you created this interface so that users use their custom values other than using fixed ones if i'm correct

I appreciate your work and i respect you as a dev for that but please try to be more polite with others next time.
[Galaxy S III Original Android Development] AndreiLux:
Yes and I'm starting to regret it.

Reducing the thresholds will not make things drastically smoother because we're still on a 50ms sampling rate. If you want smoothness please use Siyah with the Touch GPU Boost, as that would be the optimal solution for what you're trying to do. Set the min_freq to 266 or something.

And remember that there are other people reading these forums and you posting the setting might lead to some more uninformed users thinking that these are good values. They may be good for you and you can do whatever you want. I still call them stupid and will stay by that. I called the values stupid and not you stupid. If you cannot take technical criticism, then you're in the wrong thread. I'm not wasting time to sugar-coat things.
[Galaxy S III Original Android Development] :
Re uploaded it already?

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] AndreiLux:
Yes.

I didn't change anything new and it works just fine on my device. Honestly don't know, maybe throw me a last_kmsg if possible.
[Galaxy S III Original Android Development] nfsmw_gr:
Well i came from siyah and once again i am not talking about smoothness.!

I just said the interface doesn't work man,relax.

Look...i won't engage into an argument.

This is your opinion and i can't change it(and i dont want to).

I can take critisism but using my choices as a public example of stupidness makes me also look stupid(because i'm the one i use the values you called stupid) to anyone in here without knowing why i use these values..

That's the reason for the above post.

Anyway this won't end up somewhere so i think it needs to close here.

Just take the example as bug reporting and nothing more...

If i find anything else i'll post back.

Goodnight..
[Galaxy S III Original Android Development] :
Thanks. If I could upload it I would, as I tried already, but the reboot is faster then me. But I'll see if this time everything is okay.

Could be your dvfs change conflicting with TwDVFSApp.apk as you said?

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] nfsmw_gr:
Latest one you uploaded now doesn't boot...

The previous one is..

Foxhound 1.0 ro,no mods,clean build.prop.
[Galaxy S III Original Android Development] :
Now it's even worse. Freezes on Samsung logo, freezes on charging animation.

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] AndreiLux:
If you have the previous version as CWM or another kernel for that matter, you can enter the bootloop, just keep Vol-up & home & power pressed in the boot loops (Can take a few seconds) and it will boot into recovery, quickly flash a working kernel and reboot. If you then gather last_kmsg it will still have logs from the boot loops.

Edit: I'm removing the kernel momentarily.
[Galaxy S III Original Android Development] naveediftikhar:
Stuck at sammy logo!
[Galaxy S III Original Android Development] :
I actually did that before. Let me get it for you.

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] jayden2009:
Same here :o

Verstuurd van mijn GT-I9300 met Tapatalk
[Galaxy S III Original Android Development] :
That's what I said...

Last_kmsg here: http://db.tt/dOgcMha6

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] Kaboosey:
Nah, no multitaskingfix or other tweaks installed. Will reflash the re-uploaded kernel later and will try again. :)
[Galaxy S III Original Android Development] AndreiLux:
I'm a huge retard.

Re-uploaded again... lets hope it sticks this time. Also added previous version for safety.
[Galaxy S III Original Android Development] naveediftikhar:
Ok flashed the reuploaded version and it booted fine but the kernel is auto locked at 1.8ghz no matter what app i use to tone it down it wont happen..:s!..another words..the max freq used is 1.8!
[Galaxy S III Original Android Development] jayden2009:
Reboot again ...had the same..now it's ok I can set it to anything i want

Verstuurd van mijn GT-I9300 met Tapatalk
[Galaxy S III Original Android Development] :
What was the problem?

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] AndreiLux:
Thanks. This was the tip I needed.

During the change for fixing power savings mode I also reactivated Samsung's minimum CPU frequency power control. I didn't have TwDVFSapp active as a service anymore so it didn't affect me and I couldn't see the difference. However people having it, will cause it at boot to lock the minimum frequency to a certain level. Samsung takes the CPUFreq table and instead of choosing a definite frequency, they just take the maximum one in the table. So people whose phones might have deep issues with 1800MHz will crash immediately at boot.

So I neutered the min frequency lock again and userspace requests for it won't have any effect. Please download 25.1.
[Galaxy S III Original Android Development] :
So you recommend to delete TwDVFSApp.apk?

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Original Android Development] AndreiLux:
Basically yes. The only thing it does right now is limit the screen frequency when the camera app is running. I froze it just to gain a few more MB of memory, as I don't care about the camera thing.
[Galaxy S III Original Android Development] Kaboosey:
@AndreiLux

Flashed 25.1 and now my device is fine and no reboots now. :thumbup:
[Galaxy S III Original Android Development] kart_y_26:
i've been trying to undervolt the gpu frequencies through a script and noticed that the 1050mv and 1113mv values dont change. i've attached the script here. am i doing something stupid here?
[Galaxy S III Original Android Development] saywhatt:
After flashing v25.1

This is what i found.. mmmm
[Galaxy S III Original Android Development] beaver2233:
not the kernel's fault - happens randomly some times after flashing something... should reset next time you charge the phone, or just reset battery stats.
[Galaxy S III Original Android Development] DroidRevenge:
You have to wipe battery stats or wait for a complete charge, that is the same thing because battery stats are resetted.

bye
[Galaxy S III Original Android Development] qwerty12:
Am I being dense and not reading the first post properly or is volt_table meant to read the inputted values from right-to-left (or is volt_table just showing the values in reverse)?

#Original values
uid=0 gid=0@android:/ # cat /sys/devices/system/gpu/volt_table
54MHz 825mV
108MHz 850mV
160MHz 938mV
266MHz 963mV
350MHz 1013mV
440MHz 1075mV
533MHz 1138mV
640MHz 1125mV
733MHz 1175mV
800MHz 1200mV

#After attempting to undervolt by -50mV
uid=0 gid=0@android:/ # echo "775 800 888 913 963 1025 1088 1075 1125 1150" > /sys/devices/system/gpu/volt_table

uid=0 gid=0@android:/ # cat /sys/devices/system/gpu/volt_table
54MHz 1150mV
108MHz 1125mV
160MHz 1075mV
266MHz 1089mV
350MHz 1025mV
440MHz 964mV
533MHz 914mV
640MHz 889mV
733MHz 800mV
800MHz 775mV

EDIT: my phone is running Perseus alpha 25.1
[Galaxy S III Original Android Development] Falamo:
Use this example mate, It works perfectly

Sent by me & my s3
[Galaxy S III Original Android Development] ArbiterGR:
Thank you for fixing the power savings mode!
[Galaxy S III Original Android Development] Falamo:
Yes, AndreiLux satisfied all requests in the thread, power safe, mtp for osx, etc..

As Soon as possibile my donation for his hard work!

Sent by me & my s3
[Galaxy S III Original Android Development] AndreiLux:
No, you're perfectly correct. It's wrong. The inputs are being flipped. I fixed this just before you posted, download 25.2.
[Galaxy S III Original Android Development] gboydroid:
Im very happy bcoz im not using power saving option bcoz last tym i used it on other kernel it gives me headache. Now even im on power saving mode it's all smoothh :cool:

Thanks OP. :thumbup:
[Galaxy S III Original Android Development] Carl.Brand.87:
Never mind got it.

Great work AndreiLux working great on 25.2 using ARHD 13.0
[Galaxy S III Original Android Development] andreasy:
Thanks for incorporating the dock mode fix in the kernel. And thanks for being so helpful by involving yourself in person for support unlike other threads where many members have become the lawyers of the developer and are very rude.
[Galaxy S III Original Android Development] rowlers:
Is the sound interface still the same? So our current init.d sound scripts will still work?

Thanks
[Galaxy S III Original Android Development] enigmaamit:
You referring to the Omega thread?;)

But even I would like to commend the excellent grass root level support that AndreiLux is providing here. It's one thing to be really good at kernel/rom development and totally another to be good at support. I've seen one to one support quite rarely on these boards, and I'm glad Perseus has that kind of philosophy. This is probably a reason that one of the most famous kernels of the SII era has fallen short on user base on the SIII... which had such a pompous and "blow-your-own-trumpet" attitude that it felt shameful to be using work from such people. Hell, they even had a post dedicated to mocking users who don't fall in line with their idea of right and wrong. That led me me and a lot of my friends to decide never to support such a team again.

So I would like to take this opportunity to thank AndreiLux for the excellent kernel work he is doing here, and more importantly for being a an overall nice guy providing personal support for his project. I look forward to testing your kernel development on my device...:good:
[Galaxy S III Original Android Development] andreasy:
Not actually, not omega but it's not right to name any thread. It's not my intention. That's just something I noticed in a few other threads but let's not name anyone
[Galaxy S III Original Android Development] enigmaamit:
No, no... that wasn't my intention. I saw your signature and asked...because IMO the support over there is very very good. So was wondering why you were unhappy.

Anyway, sorry everyone for the off-topic. Let's drop this here and focus on Perseus.
[Galaxy S III Original Android Development] vegeta1:
i completly agree

and i have said it over and over and in many thread

that andrei has been providing support to his users like his priority is the people more then the anything else... i have seen people so called dev's written i will kick your as-s if you ask this and that..

well as a person according to me has no respect for the people and the work they do

this is my fav kernel andrei as a person and his work is so clear and nice i just wont go any where

keep up the good work mate and again cheers on your hard work and respect for people :)
[Galaxy S III Original Android Development] andreasy:
No problem mate. Don't worry, I didn't take you wrong. :)
[Galaxy S III Original Android Development] Fille84:
Wow, the volume is way too loud with headphones. Is there any mod to lower the volume steps?
[Galaxy S III Original Android Development] qwerty12:
You can use, uhm, Scooby Doo Sound to turn it down:

echo 40 > /sys/class/misc/scoobydoo_sound_control/headphone_amplifier_level

(default is 47)
[Galaxy S III Original Android Development] turilo:
Running great so far on 25.2 :D:thumbup:
[Galaxy S III Original Android Development] rowlers:
Edit - just checked sound quality thru my shure buds. Sound was good before, but somehow it is cleaner now. Bass is still there but not as fuzzy/wallowy if you know what i mean. (this is using same settings as previously)

Awesome - my favorite kernel

+1 working nicely

Thanks Andrei