I've finally managed to compile smartass v2 governor (source code) and get it to work on X10 mini.
Few members insisted if I could give it a try and I accepted the challenge
It is ment for X10 mini stock kernel 2.6.29 preempt mod_unload ARMv6.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can configure various parameters:
Code:
-sh-3.2# pwd
/sys/devices/system/cpu/cpu0/cpufreq/smartassV2
-sh-3.2# ls
debug_mask
up_rate_us
down_rate_us
sleep_ideal_freq
sleep_wakeup_freq
awake_ideal_freq
sample_rate_jiffies
ramp_up_step
ramp_down_step
max_cpu_load
min_cpu_load
Installation guide:
Download the archive and copy the cpufreq_smartass2.ko onto the root of your /sdcard/. Then, type in the following commands:
Code:
mount -oremount,rw /dev/block/mtdblock0 /system
cd /system/lib/modules
cp /sdcard/cpufreq_smartass2.ko .
insmod cpufreq_smartass2.ko
Then you can switch to the smartassV2 governor using SetCPU.
Configuration:
SetCPU does not support configuring it - so you will have to manage from command line. Have a look at this thread to understand how to configure - it is for the old smartass module for X10 - but the configuration is done the same way.
Each parameter (and its meaning) is defined in the source code found above.
Download:
Use it at your own risk!
cpufreq_smartass2_x10mini.zip
Enjoy!
I just installed the module, but now I want to manage it to load at startup. Which is the correct sentence?
echo "smartass" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor [OR]
echo "smartassV2" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
The last one - with smartassV2.
viulian said:
The last one - with smartassV2.
Click to expand...
Click to collapse
how about detial?
i want it at startup, too
Got Mini Pro. Flashed Xperian Blaze, but it's 11W40, so only stock kernel is in play. But when trying to insmod this governor device freezes and reboots.
Is there any other thing I'm missing? Or maybe other way to get additional governors for stock kernel?
Related
This is for anyone who is rooted!!
Lets see those variant's cpu's you have for more undervolting and saving battery:good:.
Where can I find that Variant?
You have to have BLADE kernel by maxwen installed. Then use
Code:
cat /sys/kernel/tegra3_dvfs/cpu_millivolts
and it will be printed on top (process_id) is your variant.
Here is a screenshot from my device:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is a variant, and where did it come from?
This is mainly the type of build quality your chip has and allows a more accurate way to determine how hard you can push you're chip with Undervolting(UV) and Overclock(OC).
Click to expand...
Click to collapse
AP37 have 2 different types (3 and 4) of variant's.Hox has 4 types.
Please note that there are even more variants in each variant. You can easily have a variant 3 and another person has the same but you still have different performance. "They qualified the chips based on random sampling of the wafers and mark the ENTIRE wafers as such. It just means that the "average" performance of that wafer is of certain quality, but it does NOT mean every chip on that wafer would behave exactly the same.... ". Remember the golden rule: No two chips are created equal!
Also people should not blame HTC as they don't test every chip Nvidia made. They only test a few and then the phones will go in to production. So if you want to rage at someone please don't do so at HTC
Click to expand...
Click to collapse
All credit goes to our Blade kernel developer maxwen and timlambo for his poll
I have variant #4 in my HOX+
variant 3. so which is which?
You can try undervolting by using blade kernel.
For example undervolting -50mV:
Code:
echo -50 > /sys/kernel/tegra3_dvfs/cpu_millivolts
For -100 mV just change value:
Code:
echo -100 > /sys/kernel/tegra3_dvfs/cpu_millivolts
My device has variant 3 and undervolted -100mV.Seems stable for my variant.Please just try and post your undervolting results.
Also i will have request for more undervolting support(for now max -100mV supported) for blade kernel from maxwen.
Best regards
4 here
I 've a rooted (SuperSu) XMP stock Gingerbread 2.3.4 build .84, with the Project Fluid build.prop tweaks and Init.d scripts.
I 've configured SetCPU to make the processor run at 368MHz, and made two profiles: One to run at 122MHz when the screen is off and another one to run at 1024MHz while playing GTA III, GTA Vice City and Dead Trigger.
The problem is the processor runs at 368MHz all the time, profiles aren't working (I know they aren't because the games run slow). What can i do to solve the problem?
I dint got actually what you are talking about. ?
I ever had any issues overclocking & underclocking my phone.,
Try selecting the governor - ondemand
IO scheduler - sio
Apply on boot tick it. :good:
Hit thanks if i helped
This is the problem: Processor speed doesn't change to 1024MHz when I start GTA Vice City, and it should, because I've made a profile to change processor speed to that value when I start GTA.
Thank you for trying to help anyways.
Edit: Here are some images of my SetCPU configuration.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
.-083 said:
This is the problem: Processor speed doesn't change to 1024MHz when I start GTA Vice City, and it should, because I've made a profile to change processor speed to that value when I start GTA.
Thank you for trying to help anyways.
Edit: Here are some images of my SetCPU configuration.
Click to expand...
Click to collapse
Delete all the profiles and set the speed as per my 1st post hope it will work now , you have unlocked your bootloader yes..??
Sent from my Live with Walkman using xda app-developers app
I've switched to xNXT (ICS ROM). Now it works. Maybe it was some kind of Gingerbread bug. Thank you.
-Optimization custom kernel and android system
-Remove changes in build.prop and init.d scripts folder will not only serve Encourage the device
-Note: roms covers this does not bring this optimization must modify please cook ROM -
Code:
-Requirements:
-Apk manager
-Java install pc
-Framework-res.apk
-Decompile and compile knowledge framework-res.apk
-Notepad++
-Just a little patience
-now have to decompile the framework-res.apk and wait Aque finished extracting the files
-locate the next file in the framework-res.apk
Code:
framework-res.apk/res/xml/power_profile.xml
( here you'll find related signal, wifi, radio frequencies and codes Processor )
( to add missing values use this <value> </ value> )
example capture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Faq
this is for those who have unlocked bootloader and the ability to use a custom kernel remember that when porting the rom there are certain modifications that must be done carefully so that the xperia performs to a good performance otherwise the kernel can have cpu frequency however the file I mention power_profile.xml frequencies may not be on the well known lag this causes problems and delays when executing common tasks on your smart phone
this is an example:
custom kernel:
cpu frequency 100, 200, 400, 800, 1000
power_profile:
cpu frequency 200,500,700,1000
as can usually observe the roms covers do not match the code of the rom that's why there are problems in the terminal I hope you can understand the objective of the subject
-Here we verify that the value of the frequencies of all matching kernel with this file so that the entire operating system to work as it should be fast without lag
-Now compile the framework-res.apk and flash in your terminal and check optimization.
Good guide mate. :good:
But i am a bit confused. Can you please give some more intro and purpose about the thread?
Thanks!
aggregate information :good:
best kernel
where i find the best kernel for custom roms?:crying:
WARNING: I do not own a lg g watch, all of the modifications were copied from my zenwatch 2 kernel and might not work but they should, this kernel might not even work at all so be careful!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello everyone!
Here is another kernel for the LG G Watch and this kernel is called NKernel.
Download:Nightly: Link (Scheduled for 9:30PM CEST)
Release: Link
Jenkins Status: Link
Current features:Governors:
PegasusQ
SmartMax
ThunderX
InteractiveX
IntelliActive
IntelliDemand
Interactive
I/O Schedulers:
Row
SIO
FIOPS
Hotplug;
IntelliPlug
Other:
Kcal color control
Dory Specific:CPU: Can scale above 787mhz
Vibration set to 100
Intellidemand is the default governor
Current version:0704: Available
Changelog:0704: Initial Release
Enjoy!
XDA:DevDB Information
NKernel6.0Dory, Kernel for the LG G Watch
Contributors
noahvt
Source Code: https://github.com/nnvt/NKernel6.0Dory
Kernel Special Features:
Version Information
Status: Alpha
Current Beta Version: 0704
Beta Release Date: 2016-04-07
Created 2016-04-07
Last Updated 2016-04-06
This kernel doesn't boot on my LG G watch...
So if anyone else would try it - have another bootable boot.image at hand!
Thanx anyway for your work @noahvt!
Edit:
Was trying to get any log(s) - but can't do this. The watch stays on LG boot logo, no usb connect possible until pressing Reset button on back for 10 secs... & swiping from top left to bottom right screen corner to go to fastboot mode & flashing another bootable kernel (boot.img)
Same as @bitstra, mine stays on LG logo forever
konradit said:
Same as @bitstra, mine stays on LG logo forever
Click to expand...
Click to collapse
I modified the ramdisk a little and just manually unpacked and repacked it so that might be why it's not booting, I'll try fixing it
does this work on 6.0.1 now?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
neither I nor the forum we do for the partial and total damage of equipment
Information:
files provided you has been tested for more than 14 days some moderate use in achieving the not so normal temperature but moderate
Requirements:
Unlocked Bootloader
Root (SuperSU)
Root Explorer
Compilation: 26.1.A.3.111
Instructions:
- move the files to the path: /system/etc
- 0644 root permissions apply to files
- reset terminal
- download application Kernel Toolkit
- apply the following values
- and ready to enjoy
- They should use it without 3G data for 24hrs and 24hrs moderately during use as enough recommendation xperia overheating M4 be reduced
Faq:
I can try some other compilation: yes
you need to open bootloader to test the mod: only been tested with open bootloader and probably to do with the root closed bootloader is lost so you have to test
Files in folder Profiles i should replace too?
Yes
Ok, thanks
Thanks
I think Change In temp a little
Here is a mod, just the post script for system / etc.
It applies all changes for our device, so you won't need an app to change cpu frequencies on boot.
The settings are a little bit different, this version works without a wakelock, better battery life and no random reboots (used it one day)
http://cloud.tapatalk.com/s/5762cb99e306f/update1.zip
Instructions : install version from first thread (you need the profiles files) but the attached script.
If the device overheats it goes down to 400 MHz, and after cooling to minimum of 960, my settings say minimum 533 so overheat protection wins... But only the minimum value of big core, so this solution is acceptable.