Help installing smartass in Gintonic1.3? - Sony Ericsson XPERIA X10 Mini

Ok..
I can push the modules into the appropriate folder on the phone and I can run the commands which add it to the cpu governer selection (it took me awhile to realise I had to run 'su' command first ooops!).
However, upon rebooting the smartass governer dissappears from the selection tab and returns to 'ondemand' even if restore upon boot is selected. I assume the module is only temporarily loaded via the 'insmod' and 'echo' commands.
So I pulled the hw_config.sh and added the commands to the end under a new #tag (for ease of keeping things seperate). The same commands listed in the smartass thread. Pushed in back to the phone, But... smartass still wouldn't load and the cpu governer switched permanantly to 'performance' - even when I removed the commands from the config file
Had to restore my cwm backup to fix the issue.
I noticed that the config file makes reference to the ondemand module so wondered if this causes conflict with the smartass one??
I'm fairly new to modding stuff. Anyone got smartass working on gintonic1.3? Can they tell me the proceedure they used?
Sent from my U20i using Tapatalk

sory,i u use minicm7 v7 u can use it w/o problem..just edit hw config.sh
#x8smartass
insmod /system/lib/modules/x8_smartass.ko

azadtaufiq said:
sory,i u use minicm7 v7 u can use it w/o problem..just edit hw config.sh
#x8smartass
insmod /system/lib/modules/x8_smartass.ko
Click to expand...
Click to collapse
I'll give it a go. Thank you very much!
Sent from my U20i using Tapatalk

Related

V6+SuperCharger! script.

http://forum.xda-developers.com/showthread.php?t=991276&highlight=http://forum.xda-developers.com/+V6+SuperCharger!
http://forum.xda-developers.com/showthread.php?t=991276&highlight=[Script]+V6+SuperCharger!+HTK+%26amp%3B+BulletProof+Launchers!
I know quite a few roms that use this script.. That run awesome!!
I was hoping that more roms here would make use of it.
OmegaRED^ said:
http://forum.xda-developers.com/showthread.php?t=991276&highlight=http://forum.xda-developers.com/+V6+SuperCharger!
http://forum.xda-developers.com/showthread.php?t=991276&highlight=[Script]+V6+SuperCharger!+HTK+%26amp%3B+BulletProof+Launchers!
I know quite a few roms that use this script.. That run awesome!!
I was hoping that more roms here would make use of it.
Click to expand...
Click to collapse
I do use this script, and I can say that it is a success!
1.0.2 Using the MiniCM6 Nobodyatall!
One of the best roms in Big X10 xda land "Wolfbreaks" uses this.
I hope the roms here start using it... It rapes!
I must say.. this is works very well on my mini with MiniCM 2.0.5 GingerBread
Before: Active launcher and Zeam launcher is redraw everytime I finish to play NFS Shift or even after I open Application manager
After: No redraw (Active Launcher and Zeam) when finished playing Angry Birds, NFS Shift and other RAM eater games
Great ..
So I tried this script, and now my launcher is hard to kill / supercharged
but then after reboot it still says my launcher is hard to kill, but also that my prior minfrees don't match my current minfrees.
it then shows my curent minfrees as the default minfrees and the prior as what i selected. is that supposed to happen?
I mean exactly as the screenshot moedjs posted
like isn't it supposed to set current minfrees to what i selected, and not to default?
moedjs said:
I must say.. this is works very well on my mini with MiniCM 2.0.5 GingerBread
Before: Active launcher and Zeam launcher is redraw everytime I finish to play NFS Shift or even after I open Application manager
After: No redraw (Active Launcher and Zeam) when finished playing Angry Birds, NFS Shift and other RAM eater games
Great ..
Click to expand...
Click to collapse
Exactly.. makes multi tasking rock.. keeps the memory free, locks in the home app.
It works badass!
I did not understand the installation
ops , I did find a help, sorry
hey guys, does this works in SE android firmware 2.1?
Another question, in a tutorial it says :
P.S. When Installing Programs, MAKE SURE Script Manager are installed on PHONE and NOT in the MicroSD Card!
I have app2sd installed already , how can I do this? thanks
can someone who tried this give his values and his results?
sounds like a great tool
thnx in advance
I have the same problem as Carpe-Dimi above regarding new minfrees not sticking after reboot, although the Launcher is "Hard to kill".
I used option 6 in the script set up.
I followed help file advice to have Script Manager run /system/etc/init.d/99SuperCharger "at boot" and "as root" but problem persists.
Otherwise seems to work fine at keeping launcher in memory. I don't see any boost in Quadrant Score... or any other noticeable improvements to be honest.
MiniCM 7 is pretty good as it is
Any advice on settings or getting minfrees to stick?
Anyone know if it works on mini pro?
That number 1-17 is best for my phone?
alanllew said:
I have the same problem as Carpe-Dimi above regarding new minfrees not sticking after reboot, although the Launcher is "Hard to kill".
I used option 6 in the script set up.
I followed help file advice to have Script Manager run /system/etc/init.d/99SuperCharger "at boot" and "as root" but problem persists.
Otherwise seems to work fine at keeping launcher in memory. I don't see any boost in Quadrant Score... or any other noticeable improvements to be honest.
MiniCM 7 is pretty good as it is
Any advice on settings or getting minfrees to stick?
Click to expand...
Click to collapse
there are config files in the ramdisk.tar (can't remember name atm, but they are init.rc files) that have lines regarding the setting of ram optimizations.
however. these are definatley meant to do the same as the script, but the values in them don't correspond to the ones the script readsout, so I'm thinking another script runs on top of that which overrides those values again.
that's just a theory tho, since I can't edit the ramdisk file as I dunno how to set the permissions back when unpacking and repacking ramdisk.tar but I'll get back when I find out.
as for the launcher being bulletproof, that definately makes the home button respond a lot faster ^^
Carpe-Dimi said:
there are config files in the ramdisk.tar (can't remember name atm, but they are init.rc files) that have lines regarding the setting of ram optimizations.
however. these are definatley meant to do the same as the script, but the values in them don't correspond to the ones the script readsout, so I'm thinking another script runs on top of that which overrides those values again.
that's just a theory tho, since I can't edit the ramdisk file as I dunno how to set the permissions back when unpacking and repacking ramdisk.tar but I'll get back when I find out.
as for the launcher being bulletproof, that definately makes the home button respond a lot faster ^^
Click to expand...
Click to collapse
Somewhere in the original post it says that in some Custom Roms the minfrees won't stay after reboot so you HAVE TO select 'run at boot' for it to stay.
edit: From original post:
Note: For some reason, the minfree levels do not stick on some Custom ROMs. I don't know why this is. Maybe a bug in GingerBread?
........ You can check /res/user.log to see if it ran...
........ If this happens to you, use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root"
And I also have a question(just like the one 2 above)
What is the best one to choose (1-17)?
ThankYou
I tried:
'........ If this happens to you, use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root"'
and still could not get values to stick
Has anyone else tried this and had more luck?
how do you install this.. i could not understand
Carpe-Dimi said:
there are config files in the ramdisk.tar (can't remember name atm, but they are init.rc files) that have lines regarding the setting of ram optimizations.
however. these are definatley meant to do the same as the script, but the values in them don't correspond to the ones the script readsout, so I'm thinking another script runs on top of that which overrides those values again.
Click to expand...
Click to collapse
u r correct...the memory free settings are modified by some file not located in ram disk...i have examined the init.rc files and ramdisk settings are quiet different form the one that is set in the roms during runtime
now only if v knew what that file was!!!
The values ​​are not equal with me, but I noticed a big improvement!
I am using the following values ​​in the original 6,8,16,20,22,60 MiniCM6 Froyo!
It must have some kind of file it impossible values ​​are equal, but it works it works!
I have done for mine and is awesome...
DareDan said:
I have done for mine and is awesome...
Click to expand...
Click to collapse
which values did you use?
please delete this post sorry

Android kernel default governor...

Hey all - hopefuly this is the correct place for this question. I am developing a custom kernel for the Samsung Replenish baseod off of samsungs open source code. I have thus far gotten the kernel to compile and run just fine on the phone. I have also added the SmartassV2 and Interactive governors. No matter which one i set as default through the phonemodel_defconfig, each time I recompile and load the new kernel, it always default back to OnDemand governor.
I have no problem selecting either of the 2 new governors through SetCPU (and the setting does stick from boot to boot as long as I select "Set at Boot") so I know the governors are properly linked into the kernel. I thought that the kernel would start with the default one I selected, but it does not. Is this how thigs are supposed to operate, or am I missing something. I did update the cpufreq.h file in the include directory.
Any suggestions - is this even the correct place for a post that is this low level.
Thanks!
dmrlook said:
Hey all - hopefuly this is the correct place for this question. I am developing a custom kernel for the Samsung Replenish baseod off of samsungs open source code. I have thus far gotten the kernel to compile and run just fine on the phone. I have also added the SmartassV2 and Interactive governors. No matter which one i set as default through the phonemodel_defconfig, each time I recompile and load the new kernel, it always default back to OnDemand governor.
I have no problem selecting either of the 2 new governors through SetCPU (and the setting does stick from boot to boot as long as I select "Set at Boot") so I know the governors are properly linked into the kernel. I thought that the kernel would start with the default one I selected, but it does not. Is this how thigs are supposed to operate, or am I missing something. I did update the cpufreq.h file in the include directory.
Any suggestions - is this even the correct place for a post that is this low level.
Thanks!
Click to expand...
Click to collapse
As far as i know, cpu scaling governor can also be set by init script in ramdisk and /etc/init.d other than default setting in kernel config. You might need to check if there's any init script that contain a line like :
'write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand '
or
'echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor'
Those lines will set the cpu scaling governor everytime the phone reboots.
In my device (xperia mini pro), that first line is in init.semc.rc in root folder of ramdisk. It should be different in your device
The second line is usually in a script in init.d folder, but stock rom usually doesn't support init.d, so afaik it only exists in custom rom.
greenAlgae said:
As far as i know, cpu scaling governor can also be set by init script in ramdisk and /etc/init.d other than default setting in kernel config. You might need to check if there's any init script that contain a line like :
'write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand '
or
'echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor'
Those lines will set the cpu scaling governor everytime the phone reboots.
In my device (xperia mini pro), that first line is in init.semc.rc in root folder of ramdisk. It should be different in your device
The second line is usually in a script in init.d folder, but stock rom usually doesn't support init.d, so afaik it only exists in custom rom.
Click to expand...
Click to collapse
Thanks for the response. the kernel does support init.d (now, stock did not) but there are not scripts in there as of yet. I also went through all the other startup *.rc scriipts and found one that was echoing ondemand into the scaling_governor file. I tried both comment the line out and reflashing new ramdisk, and chaning it to echo smartassV2 and reflashing new ramdisk. In all cases, Ondemand still comes up.
I've also added a script to init.d that echos governors other than ondemand to scaling_givernors, and still, when the phone is booted, ondemand it is. Note that if I echo some other governor to the file at this point, it does change (I imagine this is what setcpu does in the background anyway).
Could the android system system itself be changing it to ondemand?
Thanks for the help!
dmrlook said:
Thanks for the response. the kernel does support init.d (now, stock did not) but there are not scripts in there as of yet. I also went through all the other startup *.rc scriipts and found one that was echoing ondemand into the scaling_governor file. I tried both comment the line out and reflashing new ramdisk, and chaning it to echo smartassV2 and reflashing new ramdisk. In all cases, Ondemand still comes up.
I've also added a script to init.d that echos governors other than ondemand to scaling_givernors, and still, when the phone is booted, ondemand it is. Note that if I echo some other governor to the file at this point, it does change (I imagine this is what setcpu does in the background anyway).
Could the android system system itself be changing it to ondemand?
Thanks for the help!
Click to expand...
Click to collapse
Well, actually I never try to change the default governor from ondemand before. Partly because I compiled my kernel using official/stock kernel source, so there's only those stock governor options and ondemand seems to be the best option. My phone is SE Xperia Mini Pro / sk17i and currently running Freexperia CM7 rom. The kernel provided has very good performance but seems to cause the battery draining too fast for me, so I compiled a 'stock' kernel to use with it.
After your post above, I tried to add more governor options from freexperia kernel source, recompiled the kernel, edit the init script in ramdisk, and flashed it to my phone.
Here's my result:
- the script in init.d doesn't seems to change the default governor. I don't know exactly why. Other script in init.d seems to run just fine, I can set scaling_min_freq and scaling_max_freq with it. I also check the permission, it's rwxr-x-r-x, but it doesn't seem to be executed at boot.
- in every startup, the rom executes the script in /data/local/userinit.sh too, but setting default governor from that script also doesn't succeed.
- only thing that can change the default governor is adding the line 'write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor smartassV2' in 'on boot' section of the init.semc.rc file.
I'm not a developer and i know every rom might be different. So you might need to ask in your rom specific thread, one of the devs might be able to help you there.
Otherwise, you can always set the default governor at boot using app like 'setcpu' or ' No-frills CPU Control'
dmrlook said:
Hey all - hopefuly this is the correct place for this question. I am developing a custom kernel for the Samsung Replenish baseod off of samsungs open source code. I have thus far gotten the kernel to compile and run just fine on the phone. I have also added the SmartassV2 and Interactive governors. No matter which one i set as default through the phonemodel_defconfig, each time I recompile and load the new kernel, it always default back to OnDemand governor.
I have no problem selecting either of the 2 new governors through SetCPU (and the setting does stick from boot to boot as long as I select "Set at Boot") so I know the governors are properly linked into the kernel. I thought that the kernel would start with the default one I selected, but it does not. Is this how thigs are supposed to operate, or am I missing something. I did update the cpufreq.h file in the include directory.
Any suggestions - is this even the correct place for a post that is this low level.
Thanks!
Click to expand...
Click to collapse
today i was looking for a solution like you and watched this post,finally i could solve the problem.Look at the scripts on /system/etc folder, in my case there was a script located there that changed the governor to ondemand,its name init.qcom.post_boot.sh maybe on your device it has other name.
old thread, i know, but im attempting to root a samsung replenish thats running 2.3.6. can anyone help? nothing is working.
EDIT: LOL. i was thinking "this phone is that old...? this is ridiculous that its running a higher form of gingerbread than my 4 month old phone is......" but i was looking at the join date not the post date, and i thought the thread was 3 years old. LOL

[Q] Enabling ondemand CPU scaling governor

Hello.
I'm having a problem changing CPU scaling governor.
I'm using Jokersax's CM9 build (from 16/2/12) with the 1.3 kernel (stock), had the same problem with CM7 weeklies and any kernel I tried.
SetCPU doesn't allow me to change the governor at all, can't even select it.
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors lists only performance and powersave.
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor is an empty file.
Doing "modprobe cpufreq_ondemand" in a terminal as root says that the module can't be found.
Can any one point me in the right direction please?
masmddr said:
Hello.
I'm having a problem changing CPU scaling governor.
I'm using Jokersax's CM9 build (from 16/2/12) with the 1.3 kernel (stock), had the same problem with CM7 weeklies and any kernel I tried.
SetCPU doesn't allow me to change the governor at all, can't even select it.
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors lists only performance and powersave.
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor is an empty file.
Doing "modprobe cpufreq_ondemand" in a terminal as root says that the module can't be found.
Can any one point me in the right direction please?
Click to expand...
Click to collapse
I think those are the defaults on most custom Atrix kernels. Clemsyn is the only one who uses interactive instead of performance(that I know of).
If you look in /sys/device/system/cpu/cpu0/cpufreq/scaling_driver you'll notice it says "tegra cpufreq". I think this then uses the Tegra DVFS to scale frequencies using the two governors in scaling_available_governors. Hopefully someone else can jump in and clarify a bit better.
The reason ondemand can't be found is because the kernel probably wasn't compiled with that governor.
Try System Tuner if you want to be able to select between the two available governors (this worked for me when using Clemsyn's kernel on CM7), but I'm not sure what difference it will make. After using System Tuner, it also seemed to "unlock" the governor selection in SetCPU as well.
Thank you.
I didn't realize ondemand wasn't built in because modprobe-ing the other two modules also returned a not found error so I figured something must be wrong.
System tuner did enable me to change the governor in SetCPU, though selecting either of them changes nothing as you said.
Oh well, if there is no ondemand governor then I'll let it do its thing how ever it wants.
Again, thank you for the replay.

[Q] Problem with CPU frecuency after ICS update.

Hi, I've got a Xperia Neo V with locked bootloader, I had Gingerbread (compilation 0.42) but yesterday, I decided to install the oficial ICS update. I had installed Setcpu with these values: min245Mhz, max1024Mhz (governor: ondemand) , I updated to ICS and I noticed it was very slow, then I downloaded "Antutu cpu master", and the values were the same I used to use in GB, so I installed Gingerbread again, rooted it, installed setcpu and set these speeds, min1024Mhz, max1024Mhz (governor: performance) and that way I should have those values in ICS, but the problem is when I restart the phone, those values dissapear, and set 245,1024 and governor ondemand. When I select "Set on boot", it still being slow. I updated from GB to ICS (and vice versa) but there is no way to change those values (245,1024) and the governor(ondemand). Is there any way to modify cpu speed? For example modifying a specific configuration file without using setcpu or any other app?
I hope you understand me, and help if you can
Thanks!
Maybe a problem with the stock kernel.
You can try using terminal emulator if you can install the proper scripts.
But acc. to me it needs unlocked bootloader.
Sent from my MT11i
criscracker said:
For example modifying a specific configuration file without using setcpu or any other app?
[/COLOR]
I hope you understand me, and help if you can
Thanks!
Click to expand...
Click to collapse
You could write a script to be run at boot (init.d) that changes CPU speed, however (this might be an obvious question) which kernel are you running??, because AFAIK Sony stock kernel doesn't allow OC/UV, meaning that no matter what you do you won't be able to change CPU speed or governor.

Problem with lulzactive tweaks on Siyah. Pls help!

Hi,
I am running CheckROM RevoHD V6 and Siyah 2.6.14 (GB) on my I9100, using lulzactive governor in SetCPU, running on boot.
I have read the thread by droidphile on kernel tweaks (http://forum.xda-developers.com/showthread.php?t=1369817) and downloaded the app 'lulzactive' from market to set the tweak parameters (as in first screenshot) and checked the 'Set on Boot' flag as you can see.
The problem is that after a reboot, the parameters in the app are getting reverted to the default values. (2nd scrshot).
And then I tried init.d scripts, following the instructions I have created a file 'Stest' and made sure that there are no spaces, set appropriate permissions etc. I have tested the script with script manager app from market and ran as su to find there are no errors and exit code 0.(3rd scrshot).
Immediately after this script run from script manager, I went back to lulzactive app and found the settings are intact. (like in 1st scrshot). However, again after reboot (with the script in init.d folder) when I check in lulzactive app, the parameters are back to default.
Can you guys pls help me out, am I missing something here??
Thanks!!
Try using extweaks from the market, and set the governor from there, then try to reboot
Worked like charm! Thanks so much!!!!
I now got it.. Infact I already have ExTweaks installed. Though SetCPU has lulzactive as main profile governor, ExTweaks is having ondemand as the default one and hence the conflict! Hehe..
You're welcome!!

Categories

Resources