[Q] How to build an costom overclocking kernel? - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

I think I need more levels of CPU frequency,and if there's no one working on overclocking kernel,I want a try.

Have you tried SetCPU and apps like this?
You don't need a new kernel to do that!

Apps like SetCPU don't have the possibility to overclock, do they?
But I've found out, that there are files including the max frequency of the CPU.
These files are at /sys/devices/system/cpu/cpu0/cpufreq.
So, could we change the cpuinfo_max_freq and the scaling_max_freq files to allow overclocking?

Flix123 said:
So, could we change the cpuinfo_max_freq and the scaling_max_freq files to allow overclocking?
Click to expand...
Click to collapse
They did this
search for artadat (or so) OC Kernel, it overclocks the kernel until 1.28GHZ

Lennb said:
They did this
search for artadat (or so) OC Kernel, it overclocks the kernel until 1.28GHZ
Click to expand...
Click to collapse
I know that, but can we change the max frequency only with edit the files? I don't want to install a new kernel.

Flix123 said:
I know that, but can we change the max frequency only with edit the files? I don't want to install a new kernel.
Click to expand...
Click to collapse
I dont know
but i would pm artadat at your position

Moved to proper forum

Flix123 said:
Apps like SetCPU don't have the possibility to overclock, do they?
But I've found out, that there are files including the max frequency of the CPU.
These files are at /sys/devices/system/cpu/cpu0/cpufreq.
So, could we change the cpuinfo_max_freq and the scaling_max_freq files to allow overclocking?
Click to expand...
Click to collapse
I've tried to edit them but they're read-only.I guess these files are located in zImage,so in order to change the freqency,we must edit the zImage file.

Related

[Q] Kernel Lingo - Pershoot's page

I'm presently working on the answers to another question I asked recently regarding cifs. I got some great technical advice but it seems that I must do some work with the kernel in my vegan ginger tab to understand all the info I received. I was sent a link to Pershoot's kernel page http://droidbasement.com/db-blog/ and I went there but I do not understand what I am seeing. I see that there is a numbering system 2.6.32.39 and I can guess that UV means undervolted and that OC means overclocked. The rest ??? Which one works with gingerbread ??? Also, reading the posts in the kernel page on XDA, there seems to be a lot of experimentation going on with voltages and governors, etc to try and squeeze the max out of the g-tab. That's great but I'm not ready to play in that league yet. I want a basic, stable kernel that I can learn to load modules with. I don't want to be worrying about adjusting other things at the moment. How, can I determine which is the correct kernel for my vegan ginger? Actually the one that came with the ROM is working fine (2.6.32.36) but I need to have the zip file to look at the information inside to understand the answers to my original questions about loading cifs module. Any kernel wizards out there that can give me some basics on the labeling system?
My guess would be the one with....(Gingerbread)........after it....
Its not that hard to read.......
ViewSonic Gtab/Malata Zpad (Gingerbread):
boot-cm_2632.39_gb-oc-uv-xtra-vfp_fp-043011.zip
roguey said:
My guess would be the one with....(Gingerbread)........after it....
Its not that hard to read.......
ViewSonic Gtab/Malata Zpad (Gingerbread):
boot-cm_2632.39_gb-oc-uv-xtra-vfp_fp-043011.zip
Click to expand...
Click to collapse
Of course its not that hard to read if you know what you are reading!
"ViewSonic Gtab/Malata Zpad (Gingerbread):
boot-cm_2632.39_gb-oc-uv-xtra-vfp_fp-043011.zip
cm_2632.39 - kernel version (derived from cyanogen mod I presume)
gb - yup gingerbread
oc - overclocked - probably
uv - undervolted - another good guess
xtra - well he explains what is in that
vfp - no clue
fp - also no clue
043011 - yeah the date !!!
now there is all this reference to replacing the boot loader - which, based upon all the furor about the last viewsonic release might be a problem - or not. Do I need a new bootloader or is this just standard with kernels. I've flashed a few and never seen that before - but I was using clemsyn's. Will it mess up my clockworkmod?
Then it also looks like I have to install an app to manage the overclocking. Do I want to overclock? Should I overclock? Hmmm not working on that issue at the moment so I don't want to start a recursive thread in my mind investigating overclocking. Perhaps I shouldn't be using pershoot kernels at all if I want something less experimental. All I wanted really was to have cifs work. Clemsyn? Well cifs is built in but it didn't seem to work well with gingerbread rom. How to tell what works with what rom? Trying not to make a brick here. Anyway - I'm rambling but hopefully someone see the point. How do you find the information you need to make a decision? So far the only way I can see is to post questions like this, receive snarky answers and an occasional helping hand. Well if that's what it takes - bring it on because sooner or later I'm going to find out what I need to know to keep pushing forward with my g-tab.
There is a learning curve to anything, and Linux kernels are no different. First, don't over think it! It is sufficient to get the right kernel for whatever you are running. For us gtab folks that would be gtab, then either froyo or gingerbread as the major version, then either the original 1.1 or the new 1.2 bootloader. Combine all that and you will know which pershoot ron will work for you.
As to the overclocking, by default if you do nothing, the pershoot kernel will slightly underclock, so it will always work on any hardware. You can follow the directions to start pushing the overclock speed and see hot it works for you. Try 1200 for a few days, and if all goes well push it up to 1400
Ha-ha-ha Sorry I'm an INTJ - I ALWAYS overthink. Learning curves are my curse! That said - identifying the kernel makes more sense. I'm not sure I know how to determine what bootloader it is for - I prefer to stick with the old one for now. Is it something obvious that I just haven't seen? For example:
boot-cm_2632.39_gb-oc-uv-xtra-vfp_fp-043011.zip which bootloader???
Then there is the question of "In order for UMS (USB mount) to work on Gingerbread, this must be reverted:
https://github.com/CyanogenMod/android_device_harmony/commit/f51f9e2a1037b4e3fb1a" What does REVERTED mean?
Good news on the overclocking - I can just leave it alone and it will work and then when I'm ready I can try the overclocking. Is this usually true with kernels that have been undevolted or overclocked that the default settings are more or less normal and you have to actually tweak them to use the OC or UV? I know nothing is carved in stone but would that be "the norm" for most developers?
enigma0456 said:
Ha-ha-ha Sorry I'm an INTJ - I ALWAYS overthink. Learning curves are my curse! That said - identifying the kernel makes more sense. I'm not sure I know how to determine what bootloader it is for - I prefer to stick with the old one for now. Is it something obvious that I just haven't seen? For example:
boot-cm_2632.39_gb-oc-uv-xtra-vfp_fp-043011.zip which bootloader???
Then there is the question of "In order for UMS (USB mount) to work on Gingerbread, this must be reverted:
https://github.com/CyanogenMod/android_device_harmony/commit/f51f9e2a1037b4e3fb1a" What does REVERTED mean?
Good news on the overclocking - I can just leave it alone and it will work and then when I'm ready I can try the overclocking. Is this usually true with kernels that have been undevolted or overclocked that the default settings are more or less normal and you have to actually tweak them to use the OC or UV? I know nothing is carved in stone but would that be "the norm" for most developers?
Click to expand...
Click to collapse
You have to check out his blog page - it should clearly identify if a kernel is for the old or new boot loader. The vast majority are for the old boot loader, so if it's not mentioned at all, it's for the old one.
You can ignore the USB revert thing - that's not an instruction for you, it's what he did for gingerbread.
The way overclocking is implemented (at least in pershoot's case), you need to change something on your gtab to set the min/max clock. By default, on pershoot's kernel, the max will be just under 1Ghz, so doing nothing you get that. The undervolting is fixed in the kernel, you can't change it. Likewise the "steps" the cpu clock can take from min to max is fixed in the kernel and isn't changeable.
The other kernel (1.5ghz OC) I know nothing about, since I've never used it nor looked into it.
It's even easier than you are still trying to make it
There is only one bootloader for the Gtablet that supports "other" kernels and that is the one that is currently shipping and currently "officially the latest". There is a "newer" bootloader for the 1.2 system based stuff (3991 and above stock images...which were up for a day and then pulled for unknown reason) and there are zero replacement kernels for that bootloader.
If you read it says..
"Malata Zpad [New Bootloader] "
Click to expand...
Click to collapse
and no where does it mention new or old bootloader and Gtablet together.
So for Gingerbread based Viewsonic Gtablets you would want this one.
ViewSonic Gtab/Malata Zpad (Gingerbread):
boot-cm_2632.39_gb-oc-uv-xtra-vfp_fp-043011.zip
Download: boot-cm_2632.39_gb-oc-uv-xtra-vfp_fp-043011.zip
Click to expand...
Click to collapse
If you need extra filesystem or other support (CIFS, NTFS, etc..) you need the proper module from the lib file..
lib-2632.39_gb.tar.gz (kernel modules)
Download: lib-2632.39_gb.tar.gz
Click to expand...
Click to collapse
which you would open and extract the module you need and push it to your device however you want....ADB or Root Explorer, etc...
Pull the one you want from lib-2632.39.tar.gz (winrar can open this),
adb remount
adb push MODULE.ko /system/lib/modules/2.6.32.39-cyanogenmod/
adb shell chmod 644 /system/lib/modules/2.6.32.39-cyanogenmod/MODULE.ko
adb shell insmod /system/lib/modules/2.6.32.39-cyanogenmod/MODULE.ko
Note:
You can download gscript lite from the Market, and put the insmod line in there, and tap when you want to insert it and use its functionality.
Click to expand...
Click to collapse
if you want to use overclocking, download SetCPU or use the CPU settings in VEGAN-Ginger.
Overclocking-
How-To:
-Install the latest SetCPU (2.11a is current) from the market and/or XDA (http://forum.xda-developers.com/showthread.php?t=505419)
-Select auto
-If using CM7, then you can use the included CPU Settings within CyanogenMod Settings.
Note:
If you were using SetCPU prior, with ‘custom’ and this kernel set, please go to device selection and select auto. Please delete the custom setcpu file on your filesystem:
adb shell rm /data/local/setcpu
Note2:
Be aware, that if you leave it pinned to max, hammering it, it will get warm/warmer then your used to at 1GHZ, pinned.
It is advised not to select any of the 2 governor’s listed (but, at the very least, not performance).
It is advised to keep your min value at 216.
Click to expand...
Click to collapse
You don't need to worry about this statement
In order for UMS (USB mount) to work on Gingerbread, this must be reverted:
https://github.com/CyanogenMod/android_device_harmony/commit/f51f9e2a1037b4e3fb1a
Click to expand...
Click to collapse
If you are on a ROM based off the CyanogenMod source tree which VEGAn-Ginger is.
enigma0456 said:
vfp - no clue
fp - also no clue
Click to expand...
Click to collapse
FYI, vfp_fp = Vector Floating Point
Many Thanks
OK - all these postings have given me answers and ideas and things to try - now I'll go back into my cave for awhile, try them and digest the results. Thank you all for being so supportive - I really appreciate the time you have spent detailing your answers. I'm sure that others that find these posts will as well.

[q] Permanantly change cpu governer to smartass?

Hey guys just a quick question, i recently flashed the LOL rom with an updated kernel that has the smartass governor, what file / line do i change so that this is the default governor without the use of any app like setCPU?
note. that in the system_available_governors file smartass is listed, and thus can be set by setCPU without problems.... what im trying to do is avoid to have to run setCPU in the background to set smartass on bootup (default is interactive)
i have tried setting the system_governor to smart ass and setting it to read only but it ends up getting changed back to interactive somehow.
i have tried setting in the 05cpuclock file smartass instead of interactive to no avail... so it seems as if during the bootup process something after those scripts are referenced / executed another one is setting the cpu governor... question is where?!??!
Ginger LOL has script for overclocking so don't have to use any apk for overclocking... go to terminal and type su cpuclock and follow instructions on sceen
nd4spdbh said:
Hey guys just a quick question, i recently flashed the LOL rom with an updated kernel that has the smartass governor, what file / line do i change so that this is the default governor without the use of any app like setCPU?
Click to expand...
Click to collapse
By recompiling the kernel with CONFIG_CPU_FREQ_DEFAULT_GOV_SMARTASS=y
kubas87 said:
Ginger LOL has script for overclocking so don't have to use any apk for overclocking... go to terminal and type su cpuclock and follow instructions on sceen
Click to expand...
Click to collapse
LOL != GingerLOL
dr.notor said:
By recompiling the kernel with CONFIG_CPU_FREQ_GOV_SMARTASS=y
LOL != GingerLOL
Click to expand...
Click to collapse
ya... not using any of the GB roms... they all seem to have their problems... on the 2.2.2 froyo LOL rom.
i actually figured it out. the text editor i was using on my comp was messing with the file encoding so when i did edit the 05cpuclock init.d script it was never able to execute.... so editing the original script in eclipse proved to solved the problem.

[ROM]AxLor_HDBlog_KI3[2.3.5]Stock_MOD _Online_

AxLor_HDBlog​
XXKI3
Android 2.3.5
Info ROM:
PDA-XXKI3
PHONE-XXKI3
CSC Multi OXAKI3
NO FULL WIPE
ODEXED
MODIFICHE:
-Kernel RAGEmod 1.1b
-Auto efs_folder backup
-Zipalign
-Init.d
-Gps fix EU
-No bootsound
-Removed sound when charge your phone
-CWMManager.apk
-Gtalk Video
REMOVED:
All HUB and app Samsung except digital clock,clock allarm,accuweather apps and widget,Seven engine
-Download ROM zip
-Copiarla in SDCard
-Flash via CWM
Remember that this is stock rom with only few tweak....it was made just to flash the new rom in a file zip
INFO: FOR MY ERROR SUPERUSER AND BUSYBOX ARE MISSING
DOWNLOAD AxLor_HDBlog_KI3.zip
Hi Ale, from HD2.... your great roms!!!
Some screen....?
frankcilo said:
Hi Ale, from HD2.... your great roms!!!
Some screen....?
Click to expand...
Click to collapse
Hi mate
yes now i'm cook for GS2
no screen because is like stock rom...no mod graphic
but you can look this
alesscam said:
Hi mate
yes now i'm cook for GS2
no screen because is like stock rom...no mod graphic
but you can look this
Click to expand...
Click to collapse
No Battery % mod?
frankcilo said:
No Battery % mod?
Click to expand...
Click to collapse
no mate...but after flash my rom,you can flash this:
http://forum.xda-developers.com/showthread.php?t=1270147
works goods
alesscam said:
no mate...but after flash my rom,you can flash this:
http://forum.xda-developers.com/showthread.php?t=1270147
works goods
Click to expand...
Click to collapse
Ok!
...I think that you have missed dual_core folder in system\etc
Edit: io ok, your daemon/dualcore script is different!
im hoping you will theme this rom with same one from your kh3?
frankcilo said:
Ok!
...I think that you have missed dual_core folder in system\etc
Edit: io ok, your daemon/dualcore script is different!
Click to expand...
Click to collapse
yes mate...in system\etc you can find Dual_Core_script and Virtuos_Oc folder
and 74OC-Daemon in init.d
dead0 said:
im hoping you will theme this rom with same one from your kh3?
Click to expand...
Click to collapse
you mean the wallpaper?
alesscam said:
you mean the wallpaper?
Click to expand...
Click to collapse
i meant with your transparent notification bar which includes the data toggle and the circle battery mod
...and maybe some sort of ram tweaks?
dead0 said:
i meant with your transparent notification bar which includes the data toggle and the circle battery mod
Click to expand...
Click to collapse
No mate....jains06 is working on new version for KI4 rom
EDIT:
yes..all tweaks included...also ram tweak
is it possible to extract the apks or res file from your kh3 rom into this one for the notification bar? if so, do u know which ones?
dead0 said:
is it possible to extract the apks or res file from your kh3 rom into this one for the notification bar? if so, do u know which ones?
Click to expand...
Click to collapse
You can't use framework and systemUI from kh3 to KI4,because this file is not compatible
Anyway,i think that for two days,jains will release a new mod for ki4
Whats battery life like?
Anyone reccomend this over Congition 1.5.1?
Hi, I have installed this rom, but voltage of cpu not change in sys\device\system\cpu\cpu0\cpufreq\UV_mV_table
I had to create a script apart from that it go to change the voltages.
But perhaps it is in contrast with the Daemon Tweak?
frankcilo said:
Hi, I have installed this rom, but voltage of cpu not change in sys\device\system\cpu\cpu0\cpufreq\UV_mV_table
I had to create a script apart from that it go to change the voltages.
But perhaps it is in contrast with the Daemon Tweak?
Click to expand...
Click to collapse
Mmmm...i use daemon controller for change values and works...
you can try in adb shell if values are really changes
or you can try to change manually in System/etc/virtuos-oc
alesscam said:
Mmmm...i use daemon controller for change values and works...
you can try in adb shell if values are really changes
or you can try to change manually in System/etc/virtuos-oc
Click to expand...
Click to collapse
Daemon control not work for control voltage.
I have changed value in virtuos_oc (where there are two series of voltage value, why?) but not work.
I have put a script in system/etc/init with my value and now work!
frankcilo said:
Daemon control not work for control voltage.
I have changed value in virtuos_oc (where there are two series of voltage value, why?) but not work.
I have put a script in system/etc/init with my value and now work!
Click to expand...
Click to collapse
This is strange..have you another apps like Setcpu?This can make conflict..
In Virtuos_oc there are 2 values for voltage in Sleep mode and Wake mode
alesscam said:
This is strange..have you another apps like Setcpu?This can make conflict..
In Virtuos_oc there are 2 values for voltage in Sleep mode and Wake mode
Click to expand...
Click to collapse
No, i not have setcpu or other app...
frankcilo said:
No, i not have setcpu or other app...
Click to expand...
Click to collapse
Have you set permission in system folder?
Update first post with rom KI3 Android 2.3.5 zip file

HTC Explorer root

Hello all,
I am looking forward to root my mobile. But I am not sure which tutorial to follow as their are many.
Also I have few questions :
1. Will any feature wont work if I root my mobile?
2. Are their any harm in overclocking the mobile?
3. Do I need to follow any other tutorial to over clock it or by rooting it will be overclocked?
4. Will the layout be changed or can be chnaged than the default after rooting?
Thank you for reading
Praveer
1. Everything should work if u dont delete its parts
2. I dont see any
3. U need amother app to overclock - eg. No-frills.
4. No. U need to change it on ur own.
Sent using r800i with DoomKernel v11 (1.21ghz)
Hello,
Thank you for your reply. So can I change the whole layout? What I mean is that if we use go launcher ex then only home screen and menu changes buy if you access sub menu like settings then default layout will be shown. So can it also be changed by rooting?
Also please link to a tut for rooting which is perfectly working and all features working coz I read somewhere that for Explorer WiFi was not working. Also please link to overclocking app tut that is really good.
Thank you
for rooting try - Super One Click
for oc - SetCpu
Sent from my Nexus One using Tapatalk
Hi bro,
Will it work for HTC explorer? Also will all features will work?
Thanks
Praveer said:
Hello,
Thank you for your reply. So can I change the whole layout? What I mean is that if we use go launcher ex then only home screen and menu changes buy if you access sub menu like settings then default layout will be shown. So can it also be changed by rooting?
Also please link to a tut for rooting which is perfectly working and all features working coz I read somewhere that for Explorer WiFi was not working. Also please link to overclocking app tut that is really good.
Thank you
Click to expand...
Click to collapse
Yes. U can change everything but u need to find (or make) special, themed .apk for it (eg. Im using modified settings.apk and it looks like ics - on gb - or xperia s home.apk).
Praveer said:
Hi bro,
Will it work for HTC explorer? Also will all features will work?
Thanks
Click to expand...
Click to collapse
1. I dont know if superoneclick will work (i used other method for xperia's phone), but it should work
2. setcpu is paid app. No frills cpu control is free.
Sent using r800i with DoomKernel v11 (1.21ghz)
Thanks.....How is jaggyjags ROM for overclocking?
Thanks
Custom rom has nothing to overclocking. U need custom kernel. As I see there is custom kernel in jaggyjags ROM <- and this is what let overlclocking. U can use any rom (even stock) but u need to flash custom kernel.
What's the difference between jaggyjags Rom and no frills which you mentioned for overclocking.
Also how do we install custom ROM after rooting our mobile. Please let me know in detail or link me to a tutorial as me doing it for the first time.
Thank you
Rom has nothing to oc, but kernel (which is with this rom i think) can let u overclock, but u cant change it without 3rd party app - eg. No frills (free) or setcpu (paid).
However in this rom u got overclock to 800mhz without using anything.
Sent using r800i with DoomKernel v11 (1.21ghz)
Thanks....So if I got you correct then for I to install jaggyjags Rom I need no frills?
Thanks a lot for answering my questions patiently.
Praveer
No. No frills is only the example of program which let u overclock. U dont need to install it if u dont want to change oc more than it is.
If u dont need more than 800mhz (imcluded in rom - i dont know if it is possible to increase it on ur phone) u dont need to install any apps like no frills
Sent using r800i with DoomKernel v11 (1.21ghz)
Oh got it. Thanks a lot.
Well are their any benefits in overclocking?
Thanks
Praveer said:
Oh got it. Thanks a lot.
Well are their any benefits in overclocking?
Thanks
Click to expand...
Click to collapse
advantage - no lag, smoothness,apps and games open faster.
disadvantage - battery drains a bit quicker
if ur kernel supports ONDEMAND governor. select it for a balanced performance vs battery
Sent from my Nexus One using Tapatalk
Thanks mate but I don't know whether ondemand supported by my mob or not
Me new to all this.
Praveer said:
Thanks mate but I don't know whether ondemand supported by my mob or not
Me new to all this.
Click to expand...
Click to collapse
no probes mate. all start as noobs only
and those governors and over clocking are related to kernels..so u need to go thru that thread.
Sent from my Nexus One using Tapatalk
Thanks a lot mate
Praveer said:
What's the difference between jaggyjags Rom and no frills which you mentioned for overclocking.
Also how do we install custom ROM after rooting our mobile. Please let me know in detail or link me to a tutorial as me doing it for the first time.
Thank you
Click to expand...
Click to collapse
Jaggysrom provides what you need to over-clock with something like No-Frills, No-Frills lets you actually over-clock it.
Praveer said:
Hello all,
I am looking forward to root my mobile. But I am not sure which tutorial to follow as their are many.
Also I have few questions :
1. Will any feature wont work if I root my mobile?
2. Are their any harm in overclocking the mobile?
3. Do I need to follow any other tutorial to over clock it or by rooting it will be overclocked?
4. Will the layout be changed or can be chnaged than the default after rooting?
Thank you for reading
Praveer
Click to expand...
Click to collapse
Be careful when you root, rooting is officially irreversible and can cause problems such as the sd card not being recognized.
Rooting has done so many small problems to my phone, if I had another android phone, I would take advantage of the warranty and not root.
I have followed tutorials for my phone, mostly involving a computer, I can declare that my phone is not an independent device anymore. Be aware of these risks. Without the warranty of android, a phone's lifetime can shorten.
Guys I have sgy but going to get the explorer.
To explain the oc process.
No frills is an app that when you open it, it gives you the choices to set the minimum and maximum speeds in all modes of your device. On sgy the settings would be 832 MHz max and 33? On the low end. With a 400 + setting and 600+ setting. Then a choice of governors which is what limits the performance. Like conservative or performance. You choose. Hope that helps. Btw could it be called an upgrade from sgy to htc explorer? But the real question is, is there a way to install cwm recovery without pc and rooting without pc. Please share links and zips for root unroot and cwm. Thank you.
Proverbs 20: 7

[7840] Change governor with kernel stock

Hi,
Can I change the governor of kernel stock with kernel adiutor without bootloop ?
Thanks.
thedreamix said:
Hi,
Can I change the governor of kernel stock with kernel adiutor without bootloop ?
Thanks.
Click to expand...
Click to collapse
As long as you are rooted you can.
Ok thanks.
I suggest checking out Kernel Auditor. It's a ROOT-based app in the Google Play store. You can see all available options, tunables and the like. These settings can be configured to take place at reboot.
@thedreamix @vampirefo - Here are a few screenshots from Kernel Auditor. I have been working on a custom ROM for the Lenovo Yoga 2 whose Intel innards match those on the 7840.
I would test configs, measure results and ultimately went with a CLI app that ran as a task .
I have been using these settings in conjunction with System Monitor to track CPU cycles and the like. Give some settings changes a whirl, and see if you notice anything.
I'm going to create a separate thread about some kernel tweaks that improve system performance. We can work together to pick the best configs

Categories

Resources