yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 Original Android Development] wujekandrzej:
yeah, that's the first thing that came to my mind when i noticed this thread. when doixanh focused on improving his rom, there is a new module-star rising up :D

thanks, andyx! i haven't tried it yet, but i'll sure test it in a few days. actually, i came up with a simmiliar idea, but i have no programming/scripting/whatever skills (ability to write a "hello world" prog in pascal doesn't count, does it? LOL) :p
[XPERIA X8 Original Android Development] deedii:
Does this module has conflict with the other modules if i push it or it will work with itself? I mean if this is safe in all ROM without conflicts from racht or dx modules?
[XPERIA X8 Original Android Development] fifo171:
i have one question: if i reboot my x8, will i have to insmod it again ??? or can i add these 2 lines in hwconfig ??? thanks for reply :)
[XPERIA X8 Original Android Development] AnDyX:
This module adds completely new functionality, so should work in all ROM-s.
[XPERIA X8 Original Android Development] deedii:
Oh thanks much andyx.x0x0 :)
[XPERIA X8 Original Android Development] DeFcOn:
this thing works well!:D applications start quickly and everything runs smoothly. :)Thank you very much for all your modules AnDyX. You're doing really useful and necessary moduls;) and I'm use all your modules.

Good job!
[XPERIA X8 Original Android Development] shaggoth:
wow! it appeared :) now i'm happy with my minicm6. thanks for everything!

---------- Post added at 09:24 PM ---------- Previous post was at 09:22 PM ----------

just for a record: it appeared after i once again executed those strings in adb shell :)
[XPERIA X8 Original Android Development] zhuhang:
Please note that not only DSPManager fails to work.

Equalizer apps like Equalizer also failed

Means any app to customize sound quality will not work. except in-built EQ in music player.
[XPERIA X8 Original Android Development] chequebo1:
music freeze

My Rom is GingerDX with stock kernel.

When I hear music becomes slow and freeze.

DSP uninstalled Manager

Listen to music programs.

Walkman fails

original failure

MixZing fails

With "ondemand" everything perfect.
[XPERIA X8 Original Android Development] Nyl94:
Guys, someone could explain to me the goal of this module? Thanks :)
[XPERIA X8 Original Android Development] DougTheModder:
This module is simply AMAZING!!! Thank you AnDyX for your great work!

I've just installed GingerDX with the stock kernel and I was having a battery drain of about 30-40% per night, in flight mode.

I really considered to turn back to the stock Eclair, before trying your gorvernor. I pushed it with the preset values and this night, in 10 hours of flight mode, i had NO battery drain at all!!! :D :D :D

THANK YOU!
[XPERIA X8 Original Android Development] T!b:
This module make my phone laggy, buggy, and, weird, videos on utube in HD were freezing... everything disepear when I removed it.

Going back to setCPU or waiting for futur versions
[XPERIA X8 Original Android Development] bhavneesh:
hello... i am on STOCK kernel.. and primehd v8.0 rom.. and i have installed ram manager pro in it.. now i am having problem installing smartass v2 on my rom.. i mean i followed the steps to install the module.. and i do the same way using the terminal emulator.. and the smartass option comes in the cpu settings>cpu governor .. but-- when i do a reboot, the smartass module is gone!.. i have to install that again and again!.. the cpu governor changes to ONDEMAND again.. as was default in the rom.. please suggest a solution to it.. and yes.. i dont know if ram manager pro is causing this.. i have set the settings in it to 'balance' !.. my max cpu freq is 691
[XPERIA X8 Original Android Development] shaggoth:
is there a way of installing this governor on xperia mini (not x10 mini) ?
[XPERIA X8 Original Android Development] SpyderX:
Around the same performance as ondemand, but has better battery life. Great job AnDyX! :D
[XPERIA X8 Original Android Development] DeFcOn:
Sorry to other tread i want to wrote.
[XPERIA X8 Original Android Development] Imppy:
Could this be combined with Oc module ?
[XPERIA X8 Original Android Development] SpyderX:
I am using it with x8oc, no problems, and governor turns up in SetCPU. I have also added it to hw_config.sh without any problems.
[XPERIA X8 Original Android Development] Imppy:
Thanks for your reply, should I still set screen off profile in setcpu?
[XPERIA X8 Original Android Development] green2005:
Can someone post an automatic installation with an update.zip ? Please thx
[XPERIA X8 Original Android Development] ekstrom79:
Always get module nöt found what ever i try to do

sent from x8 with xgin 5.4 using tapatalk
[XPERIA X8 Original Android Development] proadi96:
Sorry i have a problem ... why when i type the command the terminal says : not found?
[XPERIA X8 Original Android Development] CM-PRo:
Can this work on the x10 mini/pro?
[XPERIA X8 Original Android Development] Imppy:
ok smartass governor show up on setcpu :)

good job Man...lets see how it performs now
[XPERIA X8 Original Android Development] ahmedz_1991:
Good job, Andy; the governor is gr8. i use it with setCpu but unfortunately the scrolling performance is so much bad especially inside text editor. Also in Angry birds i get very laggy performance while none in doixanh's ondemand !! btw i changed the max freq to 787 using setCpu. setCpu works well with ur governor, right ?? Hope u fix those issues next time

i use racht's floyobread 1.0 currently.
[XPERIA X8 Original Android Development] proadi96:
Sorry but in mine terminal says the directory or file is not found. What to do?
[XPERIA X8 Original Android Development] AnDyX:
SetCPU is not needed. You can set this governor and any changed values in hw_config.sh if you want.

You can change how this governor behaves, e.g:

-you can change ramp_up value:

echo "320000" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/ramp_up_step

or change value to max so governor behaves like 'interactive' governor:

echo "999999" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/ramp_up_step

after 25% load - governor set speed to max,

- you can experiment with:

echo "0" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/ramp_down_step

set it to 100000, 200000, 300000 and check what works best for you.
[XPERIA X8 Original Android Development] Imppy:
Could u tell us whet settiñgs u use?
[XPERIA X8 Original Android Development] biscoitu:
I think that the defaults should be ok, the rest is self intend :) you should try all the possibilities and leave it as you wish
[XPERIA X8 Original Android Development] proadi96:
sorry AnDyX but , i put the file to system/lib/modules and when i run command in terminal emulator it says

No such file or Directory

What to do make it work? Thanks

Wysłałem z mojej zajebistej x8 za użyciem TapaTalk !
[XPERIA X8 Original Android Development] kiratheone:
Good Job man,, fantastic modul :D. now when startup n do anything soo fast. its faster than before with using FroyoBeard. thanks

maybe wrong input :)
[XPERIA X8 Original Android Development] bbeanss:
i used this for a couple of days, and at first it was brilliant, but after the second day of use my cpu was left running at a constant 100% (691mhz) ive had to reinstall froyobread v019 because of it, i uninstalled it but was still left with my cpu clocking a constant 100%

sent from my X8 high on pure froyobread v019
[XPERIA X8 Original Android Development] ahmedz_1991:
maybe u messed things up, try pushing smartass into system/lib/modules and just insmod it in hw_config, don't modify values. use setCpu and choose "smartass" preset, now u should c CPU scale up and down normally. U can also push doixanh's x8oc.ko and also insmodding it and choosing "ondemand" preset in setCpu. pick which best suits u
[XPERIA X8 Original Android Development] bbeanss:
ive done all the above, checked it through twice to ensure no faults, followed it to the letter, but i still ended up with my problem, i do the same thing with all the modules i aplly, ive never had a fault until now... :(

sent from my X8 high on pure froyobread v019
[XPERIA X8 Original Android Development] _JoaoCampos:
Also noticed some big performance drops with this module. :( By default values need to be changed a bit. I'm staying with ondemand for now :)
[XPERIA X8 Original Android Development] AnDyX:
So we need to find out best settings.
[XPERIA X8 Original Android Development] patriciocs:
Don't be lazy man! just do it in the manual way, it is not hard and you will learn more. I think developers already have a lot of work so don't bother them asking for update.zip
[XPERIA X8 Original Android Development] _JoaoCampos:
Yep :) I gave it a try myself but my knowledge is too limited, don't really know the real impact of values.

Right now it's really fast starting apps and coming back from "standbye" but sometimes scrolling in the menus and stuff, performance becomes sluggish.
[XPERIA X8 Original Android Development] patriciocs:
I used this since a little more than a day ago with the default settings, x8oc.ko module and SetCPU. Everything goes right with little lags openings e-mail and surfing web pages, but the battery usage of my phone is awesome now. Around 20 hours of use with sync, 3G, GPS, some calls (around 20 minutes) and only 43% of battery usage.

For me this governor has made a huge improvement in my phone. Great work!
[XPERIA X8 Original Android Development] Minioglowy:
Nice to hear that ! Im gona check it today if i find some time cheers

Minio
[XPERIA X8 Original Android Development] racht:
great idea, thanks a lot for the battery improvement !
[XPERIA X8 Original Android Development] SpyderX:
Speed might be improved if sampling rate is changed to 500000 (in SetCPU), however I am unable to change it. Default is apparently 200000 for smartass governor. Also, changing up threshold to 90% might help. I say this because on ondemand with these settings, things load and are fast.
[XPERIA X8 Original Android Development] biscoitu:
@AnDyX: is that normal that SystemPanel shows "CPU Clock" always at 600MHz after loading module??? Only there, on the circle it shows different % of use. Is it a small bug caused by the behavior?

Thx in advance :)
[XPERIA X8 Original Android Development] dmcb123:
ok so after pushing the module to /system/lib/modules and adding

"insmod system/lib/modules/ax8_smartass.ko" to the hw_config.sh do i add the line:

"echo "smartass" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" to that file as well?
[XPERIA X8 Original Android Development] ASHLEY117:
gonna try out module for a couple of days and report bk then tweak if necessary, thanx andyx for another module to add into my phone,:D:D:D:D:D:D
[XPERIA X8 Original Android Development] AnDyX:
Speed can be improved by:

- lower 'up_rate_us' value,

- higher value of 'ramp_up_step' - this seams to be better solution (300000 or 400000 instead of 220000).

what do you mean ?

OS Monitor shows correct CPU Speed.

yep, this line enables 'smartass' governor.
[XPERIA X8 Original Android Development] biscoitu:
I´m talking about this on system panel

Look at the bar from CPU Speed, It is always at 600MHZ, but on circle graphics it shows littler %. I´m using kuyaDROID 2.6.127 and after loading the modules this starts.

PS: I didn´t tested on another ROM.
[XPERIA X8 Original Android Development] deedii:
Why i only have 600hrz, i thot it will be inproved to something 700hrz after installing, currect me if im wrong.

Sent with love!
[XPERIA X8 Original Android Development] biscoitu:
Hi Honey, it isn´t OC module, it´s just an additional governor for your phone. It won´t give you 700Mhz clock, it´s only about configuring how phones adjusts it´s clock while idle and other things not OC. if you want 700MHZ, you have to use OC module instead of this :)
[XPERIA X8 Original Android Development] deedii:
Oh that explains it. Many thanks. Xoxo hugs.

Sent with love!
[XPERIA X8 Original Android Development] SpyderX:
Now using 85 for max cpu usage, 20 for min cpu usage, 0 for min before ramp up time and min ramp down time and 320000 for ramp up step. Will test and report :D.
[XPERIA X8 Original Android Development] ASHLEY117:
not sure if this is relevent but smartass doesn't show up in latest version of setcpu and one question which is that should i just use smartass on its own or together with setcpu? be nice:D:D:D lol
[XPERIA X8 Original Android Development] ahmedz_1991:
no u don't need it to use smartass. but u could use setCpu to set ur max freq (overclock). and smartass is showing up with my setCpu, not sure which version, it does the job.
[XPERIA X8 Original Android Development] timpot07:
im using v020 and it gives me bootloop everytime i put oc + smartass module.. so for the mean time i only use smartass.. how did you manage to put both modules in your phone?
[XPERIA X8 Original Android Development] proadi96:
I dont know, i have smartass, oc, mddi, uv( i think) , and x8gesture and everything is working properly.
[XPERIA X8 Original Android Development] timpot07:
Maybe i have to perform fullwipe again and put oc and smartass first before i restore my data...thanks bro...
[XPERIA X8 Original Android Development] deedii:
I have a problem with smartass it makes my phone freeze on music, and lags my phone a lot. Here's the scenario, i opened my hwconfig and the setting for OC is:

and the setting for smartass is:

When i changed CM setting for governor into smartass, that causes the problem in music player which freezes my phone and when i use its default "ondemand" setting my phone works well without any problem. Im thinking if i substitute the "ondemand" setting on my OC to "smartass" will it fix my problem? Or is it should i leave 'ondemand" setting for governor in CM setting as it is used by OC? Should i leave the setting for OC? Will the smartass will still work with that? Coz im so satisfied with its battery saving.

edit Ok i get it, it seems the governor setting in CM settings is only for CPU which is for OC. correct me if im wrong.
[XPERIA X8 Original Android Development] ahmedz_1991:
the usual way; i pushed both .ko files and insmodded hw_config then restarted, as simple as that. both governers; ondemand and smartass are shown in setCPU

EDIT: FroyoBread 020 is ready for both governers; u don't need to modify hw_config, just push'm into system/lib/modules
[XPERIA X8 Original Android Development] ahmedz_1991:
both CM7 performance settings and setCpu are the same; they select a governor and capable of changing max freq. (overclocking), so they should be set alike. if u have CM7 then u don't need setCpu, i say uninstall it, i only use it cuz i use cm6. And smartass's performance is generally slower and more laggy, i have it on my phone but couldn't stand it even after changing values, i'm back to doixanh's ondemand.
[XPERIA X8 Original Android Development] deedii:
@ahmedz_1991 in my opinion OC setting has different values from smartass that's why if i set Smartass in governor in CM setting it causes problem, but if i use dx ondemand setting it doesnt cause any problem, but still smartass is working. That's what i am observing now. coz really 0% batt loss when fone is idle for 3hours with biscoito settings that he gave me.
[XPERIA X8 Original Android Development] ahmedz_1991:
if by OC u mean doixanh's ondemand, then yes they handle performance utilization in different ways. but if u mean by OC the max freq, then no, no difference except for governor's approach like voltage and timing. Anyway i don't think both should be set in different places (cm7 settings and setCpu ). That is unless x8oc is still operational regardless of ondemand governor :confused:

maybe doixanh or Andy give us a hint here.
[XPERIA X8 Original Android Development] deedii:
Im also confused really coz it makes my phone unstable using smartass in my CM setting..hmm i already pm'ed Andyx hope he will reply soon. i think dx is on vacation after his success update..its beer time for him. :)
[XPERIA X8 Original Android Development] kuyagaol:
here is what I though.

1.the insmod for smartass in hw conf only to put the governor in our system. it doesn't activate it.

2.to activate it you have to select it in CPU setting or setcpu.

3.our default governor is ondemand. with or w/o OC activated.

4.when u activate OC, you still can change the governor.

5.with just install the SA module, not activate it, the phone is lag.
[XPERIA X8 Original Android Development] deedii:
youre sure kuya? coz even i activate OC or not, but if i choose smartass in CM setting is causes lag. i dont know if it has something to do with this setting:

coz Andyx said the module has already predefined settings so we will have just to put this by default in hwconfig;
[XPERIA X8 Original Android Development] kuyagaol:
1 to 4, I'm sure.

5, I sense it, I try it in quadrant, CPU is a bit lower.

its like oc activated but selecting Max freq 600.

maybe u have it different.
[XPERIA X8 Original Android Development] deedii:
ya maybe thats why i consulted andyx since we both using xgin right now. If that dont exit in your rom well i will probably change back to your rom again. i really like cm7, not to mention its video rec is sync.
[XPERIA X8 Original Android Development] kuyagaol:
well, andyx said it just fine in xgin.

biscoitu said its ok too after some setup in my rom.

I need to read few page back to see the review on other rom n user.

sense could be different, in fact, our processor is different.
[XPERIA X8 Original Android Development] timpot07:
This is exacly what i did bro but i always encounter bootloop..:-( nyway, thanks for the reply..
[XPERIA X8 Original Android Development] kuyagaol:
edited after some testing.

1.the insmod for smartass in hw conf only to put the governor in our system. it doesn't activate it.

(I didn't put echo smartass .. line)

2.to activate it you have to select it in CPU setting or setcpu.

(or put echo "smartass"... line in hw conf)

3.our default governor is ondemand. with or w/o OC activated.

(there is echo "ondemand".. line in hw conf, so your default governor is the last inserted when you put echo "smartass"..line)

4.-

5.with just install the SA module, not activate it, the phone is NOT lag.
[XPERIA X8 Original Android Development] deedii:
Yup kuya i agree with you, but i wonder if its activated or not? What's the use of putting it there if its not working right? Hmm i will try removing the echo of on demand and use smartass only. Ill reply back when im done experimenting..with smartass it really saves a lot batt only that it lags and freezes phone. Andyx will enlighten us when he get back from vacation. :) thanks much kuya somehow confirmed my theory.

Does echoing smartass and ondemand in hwconfig will not cause conflict? since the module is both activated with echo?
[XPERIA X8 Original Android Development] biscoitu:
Nope...it won´t cause any conflict, but the last line will remain active, since the script is read sequentially. :)
[XPERIA X8 Original Android Development] deedii:
What do you mean last line? so smartass is still running even tho it was not choosen as default governor in cm setting?
[XPERIA X8 Original Android Development] biscoitu:
I mean that if you have both lines, the last one uncommented, it will be the setting that you use, for example:

echo "smartass" > /sys/...

echo "ondemand" > /sys/...

if you have this on your hw_config.sh, it will use the ondemand governor, even you have the smartass setting aswell :)

Get it ?
[XPERIA X8 Original Android Development] SpyderX:
First report using my settings specified in previous post:

Things are faster now, but still noticeable lag when opening browser. Applications generally load faster and gameplay is much less laggy. Battery life is much better than than when using ondemand. Generally, it is slightly slower than using ondemand. That's my first report.
[XPERIA X8 Original Android Development] deedii:
@ bis, sir yes sir i get it! Danke schon!
[XPERIA X8 Original Android Development] biscoitu:
Well, after several changes on my hw_config.sh, I´m happy with the last results. I´ve managed to test lot of values there, and I got a good balance for my daily use.

@deedii, with my settings I got lag on music player (but I don´t use, listen daily on my notebook at work), but the rest of thing are superb and no battery drain :D. I got about 1% with the phone idle for 6 hours :).

I gonna test a bit more values when I get some free time :P, and also try another music players to see if it lags as this one :)
[XPERIA X8 Original Android Development] deedii:
Oh so you experienced it too.

With the setting you gave me it was awesome batt saver even tho im lame i followed your advice to switch each moment i wanted to use music. Hope andyx got fix for this.

Sent with love!
[XPERIA X8 Original Android Development] AnDyX:
I'm playing a bit with different settings similar to my previous post and I release new version.

I play mp3 using player from XGin and use phone and I don't feel that phone is laggy more than without 'smartass' governor, but of course lagginess depends on personal feelings.

Additionally I change behavior when screen is off so governor acts like 'conservative' governor and just measures CPU load using 500 ms rate - so it disturb CPU less.

I removed SetCPU and my hw_config.sh for 'smartass' looks like:

#Smart ASS :)
insmod /system/lib/modules/ax8_smartass.ko
echo "smartass" > cd /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

I must mention that CM can change governor (what I don't like) so remember to set it in CM settings too.

I can provide one - but I couldn't test it.

Sorry I forgot to install and check it :( I will try to do this.

I don't use OC module - I will try to check it too.
[XPERIA X8 Original Android Development] biscoitu:
I solved that issue AndyX, I´ve looked and my Governor was PERFORMANCE I don´t know why, since I installed the module and echo at hw_config. I don´t know why but seems to be something with permissions, and as it can´t load the smartass module, it changed to performance, instead of the default ONDEMAND governor, now it´s ok here. The only thing that I´m getting is laggy while music player is open, tried a lot of changes in settings, searched for some tips at google, made a lot of tests, I got a setting that it lags a bit and after few seconds become normal, but when the phone´s screen becomes black, after several minutes its starts lagging again :D

By the way, I got a lot of battery saving that was cool :)
[XPERIA X8 Original Android Development] AnDyX:
I think you should play with this value:

- sleep_max_freq:

When sleep_max_freq>0 the frequency when suspended will be capped by this frequency. Also will wake up at max frequency of policy to minimize wakeup issues.

Now it is set to:

echo "122880" > /sys/devices/system/cpu/cpu0/cpufreq/smartass/sleep_max_freq

Try it with 320000 or 245760.
[XPERIA X8 Original Android Development] biscoitu:
I´ve already tried this without success.

On the new version, changed anything????

If it helps, while playing music, I saw that the CPU doesn´t pass over ~275MHz, really don´t know why it lags, since many years ago I use to play mp3 files over a Pentium 100 processor :D

edit: Battery life is the best of this module, from yesterday at 3:05PM until now, I have 94% of battery :D that is amazing :)
[XPERIA X8 Original Android Development] deedii:
Not only playing music notice also when you try the music volume, when u pushed hi or low it causes lag and too slow to response. I tried uber music, it lags less than xgin walkman and music 3 from google.

Sent with love!
[XPERIA X8 Original Android Development] AnDyX:
We both have XGin - so probably difference is in installed apps.

You can send me 'logcat', 'ps' and 'dmesg' taken when phone starts to be laggy - I will try to figure out what happens.

When screen is on and phone is laggy OS Monitor helps with finding which app eat CPU.
[XPERIA X8 Original Android Development] biscoitu:
@AnDyX, just a question, do you have any idea of how much CPU/RAM we need to have a good performance to play music??? I think it is not too much. I´ve tried to play after killing all the apps on my phone, but seems that it is opening it again :(

Edit: I will see if I get some output from logcat