Can you make flashable zip with 0xVALUE to be changed by us in idit.d file?
untested flashable zip. if it does flash then change VALUE in /system/etc/init.d/33smartass manually.Can you make flashable zip with 0xVALUE to be changed by us in idit.d file?
It's working but change the name to 33smartassv2 because there is other governor toountested flashable zip. if it does flash then change VALUE in /system/etc/init.d/33smartass manually.
do tell if it work, ill make for sio too.
I have stock kernel, and the value is samebtw im not really sure if the smartassv2 VALUE is different phone by phone or just the same on all phone because xperia 2011 uses the same kernel source. if everyone with stock kernel could posted their VALUE and confirmed its the same across all phone, i could recompile with VALUE hardcoded in the module so no need to define it manually in script.
80106b98
duh. seems like its different phone by phone afterall.This is my value. I was able to apply both zip and use SManager but I only have sio but smartassv2 is not available
The value is already modified.duh. seems like its different phone by phone afterall.
for smartassv2 u need to modify /system/etc/init.d/33smartass with your own value or else module wont be loaded.
sometimes it says"Error: Did you allow superuser permission?"
I have root access and I'm using SuperSU"Success!
Governor: ondemand
Scheduler: SIO"
#!/system/bin/sh
if busybox [ -e /system/lib/modules/cpufreq_smartass2.ko ];
then
chown root.root /system/lib/modules/cpufreq_smartass2.ko
chmod 0755 /system/lib/modules/cpufreq_smartass2.ko
insmod /system/lib/modules/cpufreq_smartass2.ko lookup_address=0xVALUE
echo smartassV2 > /sys/device/system/cpu/cpu0/cpufreq/scaling_governor
else
return 0
fi;
#!/system/bin/sh
if busybox [ -e /system/lib/modules/cpufreq_smartass2.ko ];
then
chown root.root /system/lib/modules/cpufreq_smartass2.ko
chmod 0755 /system/lib/modules/cpufreq_smartass2.ko
insmod /system/lib/modules/cpufreq_smartass2.ko lookup_address=0xVALUE
echo "smartassV2" >> /sys/device/system/cpu/cpu0/cpufreq/scaling_governor
else
return 0
fi;
#!/system/bin/sh
if busybox [ -e /system/lib/modules/cpufreq_smartass2.ko ];
then
chown root.root /system/lib/modules/cpufreq_smartass2.ko
chmod 0755 /system/lib/modules/cpufreq_smartass2.ko
insmod /system/lib/modules/cpufreq_smartass2.ko lookup_address=0xVALUE
echo "smartassV2" > /sys/device/system/cpu/cpu0/cpufreq/scaling_governor
else
return 0
fi;
I have now enabled the init.d in my rom using ini.d toggler from market and now I can see smartassv2 and SIO on nofrills, how about making SIO as default? is there also a modified script?no wonder. u need to have init.d sysinit for stock rom installed to have the script loads automatically on boot.
but if u want to use smanager then stay with it, both init.d sysinit and manually loading with smanager works either way.