Uv initd? - ONE Q&A, Help & Troubleshooting

Can i create initd script for UV if the kernel does not support undervolting?
Also if it's possible can someone point me out a script for OPO?

Fatsodonkey said:
Can i create initd script for UV if the kernel does not support undervolting?
Click to expand...
Click to collapse
It's not possible: if the kernel doesn't give access to the voltage table, there's no way you can modify it.

Related

[KERNEL] UVOC or OC-only + CFQ + ext4 + tun + 8MB hack + Audio-mod (up to 1267 MHz)

Kernel 2.6.29 (OC + UV patched)
8 MB Ram Hack
CFQ Scheduler
Pershoot's audiomod (loudness).
EXT4
tunnel module (automaticaly loaded on boot)
cifs + nfs module
Apply with recovery console.
There are 2 versions . (MCR and CM, If you have a Stock rom use the MCR version)
uvoc_v14 and oc_v14:
patched with UV-OC values up to 1267MHz.
8 Mb Ram Hack
CFQ scheduler
Audio-mod and some minor config changes.
setcpu.txt in package.
You need setcpu + the setcpu.txt for the OC kernels (copy it to the root of your sdcard) and choose "Custom Frequencies" in setcpu.
Please don't use setcpu's active widget (battery drain)
Dropped the auto-detection because of a contrast bug.
If you need other modules let me know.
Credits go to:
coolbho3000 for providing the oc-uv patches.
Version history:
V14 (oc and uvoc version):
compiler optimizations (-mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -O3 -Os)
Special Overclock only version
Audio-mod values lowered (some people reported echo)
uvoc_V13:
8 MB Ram Hack (thanks to coolbho3000)
uvoc_v12:
Pershoot's audio-mod values added
There is now an Overclock only update available (apply after one of the uvoc_v12 versions)
uvoc_V11:
Reverted to V7 config with just CFQ added.
No setcpu install means stock 245-998 Mhz (undervolted by 50 mV on all frequencies)
Only max-frequency 1267 MHz is running at stock 1300mV. (1113 MHz at 1275mV)
Special CM version available.
uvoc_V10:
changed CPU_FREQ_ONDEMAND_MIN to 245000.
Some minor tweaks.
uvoc_V9:
Change to voltages.
if you don't use setcpu stock frequency = 998MHz
CPU_FREQ_ONDEMAND_MIN = 128800
uvoc_V8:
CFQ standard scheduler
Included setcpu.txt with max 1113 MHz (if you want more edit setcpu.txt)
Some other kernel optimalisations based on Paul and Teknologist config.
uvoc_V7 :
switched the kernel modules tun.ko and cifs.ko because of a bug.
uvoc_V1-V6:
Lots of testing going on.
how to flash it? apply zip file from sd card in recovery, right?
Thanks! it boots..
fstluxe said:
This Kernel Doesn't Boot!
Click to expand...
Click to collapse
Tested on MCR (3) and using it with apps2sd + dalvik-cache on ext4
fstluxe said:
This Kernel Doesn't Boot!
Click to expand...
Click to collapse
booted for me
fstluxe said:
This Kernel Doesn't Boot!
Click to expand...
Click to collapse
What rom is on your device? I'm very sure the kernel can't be the problem. Just a different ramdisk maybe. I can make one specific for your rom.
Nice Kernel
Any chance to put in oc and uv?
richardtrip said:
What rom is on your device? I'm very sure the kernel can't be the problem. Just a different ramdisk maybe. I can make one specific for your rom.
Click to expand...
Click to collapse
The stock 1.5xx rom
sorry if this is a "noob" question but what exactly does this do?
fstluxe said:
The stock 1.5xx rom
Click to expand...
Click to collapse
Try attached zip. No automatic tun module loading (the stock boot ramdisk doesn't start init scripts).
bananapie said:
sorry if this is a "noob" question but what exactly does this do?
Click to expand...
Click to collapse
The update replaces the stock kernel and put some extra modules in /system/lib/modules. The compiled kernel does include some extra options (ext4,tun,cifs and a different scheduler named "The Brain F*ck Scheduler")
DocRambone said:
Nice Kernel
Any chance to put in oc and uv?
Click to expand...
Click to collapse
Yes, tested already, but i can't see the max above stock 998MHz in setcpu, so don't know if it's working. Used the same patch as coolbho3000 (http://forum.xda-developers.com/showthread.php?t=681733).
hmm are there Anny possibility's to use this with the stock rom because the stock rom is for me the most stable..
Edit : sorry i see a second file for the stock
richardtrip said:
Yes, tested already, but i can't see the max above stock 998MHz in setcpu, so don't know if it's working. Used the same patch as coolbho3000 (http://forum.xda-developers.com/showthread.php?t=681733).
Click to expand...
Click to collapse
Maybe we can use UV without OC for starters?
Hi i see you have test a own compiled version of your kernel with the acpulock patch of coolbho3000 .Can you maybe upload that Binary ? for us to test.
isn't it helping if you try to use the setcpu.txt and add there the OC LINES LIKE 1036800,1075200,1113600
richardtrip said:
Yes, tested already, but i can't see the max above stock 998MHz in setcpu, so don't know if it's working. Used the same patch as coolbho3000 (http://forum.xda-developers.com/showthread.php?t=681733).
Click to expand...
Click to collapse
Can you put up the CM version again?
fstluxe said:
Hi i see you have test a own compiled version of your kernel with the acpulock patch of coolbho3000 .Can you maybe upload that Binary ? for us to test.
isn't it helping if you try to use the setcpu.txt and add there the OC LINES LIKE 1036800,1075200,1113600
Click to expand...
Click to collapse
Tried that, but it didn't change anything (i can select higher, but it never goes above 998).
Hmm thats strange .. can this be caused by the bootloader
richardtrip said:
Tried that, but it didn't change anything (i can select higher, but it never goes above 998).
Click to expand...
Click to collapse
fstluxe said:
Hmm thats strange .. can this be caused by the bootloader
Click to expand...
Click to collapse
Check the first post (oc-uv is stable on my phone, but no better linpack-score's)
stingerpl said:
Maybe we can use UV without OC for starters?
Click to expand...
Click to collapse
ocuv version in first post.

(OC)Official GingerBread Kernel/**Multitouch fix added Aug 08**/Ring no Fade updated

********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Personal Thanks to Andy, Mik_os, Franciscofranco, Ciaox, Noejn and all other devs.
AmonRA to flash it with the need to disable the verification of signatures.
Overclocking
Smartass
Smoothass
Cifs
Supports EXT4
+upstream to 2.6.35.13
+oc, interactive, smartass, smoothass, cifs, ext4
+governor added SavagedZen
+autogroup scheduler (the patch of 200 lines)
+ smoothass smartass with a capped rate (standby) to set minimum
V3 Kernel -Old kernel:
ADB Bugfix for device
Reconfigured various kernel parameters (For better power management, CPU profiles)
-Added for the inversion axes Sippola in the new touch screen driver.
-Simple-inserted I / O scheduler (sio)
-Included various other patches 5-6
-Removed references-debug (smaller kernels)
-Small fix to reduce the impact on the CPU more pressure on the display (you can check with Neocore first ... the difference came in 8-well 9fps now settles down to 2-3fps)
******Updated 25 July*********
Magazine-routine to increase the stability and overclocking performance, cameraflick is absent up to 729mhz
Touch-fix which decreases the occupation of the CPU when you press your finger on the display (should no longer have the lag that had the first version of V4 (I hope))
Magazines-and reinsert all the previous patches (66 patches in total)
Inserted by the kernel-2.6.36 backport of block, and mtd workque
Backport-inserted by the kernel 3.0rc6 and cpufreq of cpuidle
http://www.mediafire.com/?g8r37pzsr3ig21j
+same kernel but without the fix for employment cpu (maybe better in the scroll lag if you have one) **No touch fix kernel***
http://www.mediafire.com/?bed0ht9kcz0071c
******Updated 08 Aug*********
Touch V6 2.6.35.14
V5-like, but updated to version 2.6.35.14
-Added 2.6.36 kernel backported from the i2c
-Support Module tun.ko
-Vsync enabled
http://www.mediafire.com/?otpne0w1v8bhnp8
If you want to try the version NoTouch kernel
http://www.mediafire.com/?4wuiscjcu5xal58
After flashing, wipe cache and davlik.
If you have a2sd then run the following in terminal:
su
a2sd cachesd
The phone will reboot automatically.
Download Ringing with No fade :Now supports Gingerbread 2.3.3 :
http://www.mediafire.com/?1xqcc0jppl2w9ic
Flash and enjoy
To know more the original idea, please visit the thread here :
Special Thanks to Januka for the idea.
For devs :
I/Paolo doesn't have a repository, So its uploaded here :
Kernel Ginger Source
http://d-h.st/jvn
u only need to change one line in Makefile
at line 193 change from
Code:
CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- #CROSS_COMPILE ?= arm-eabi-
to
Code:
#CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- CROSS_COMPILE ?= arm-eabi-
Yes, I know I should use search, but please, can anyone explain to me how do smartass and smoothass work in comparison to, for example, conservative and ondemand?
And massive thanks to you mansirawat!
If you already know that you should use the search function, maybe you don't know HOW to use it...
Here's a "tutorial": http://lmgtfy.com/?q=android+governors
Otherwise, you're just plain lazy... which one is it?
Ciaox should see this thread , he is waiting for GB OC Kernel
P.S : Thank you for the Kernel
Otherwise, you prefer wasting perfectly good post space in order to lecture me. Just like half the members of XDA. And the fact that you supposedly come from Romania as well just shows...nah, why bring that up here, all foreigners know it already.
Great! Awesome! Pure awesome!
Thanks a lot!
Stock rooted GB with this kernel (652/320)-> 1152 in quadrant. I don't care too much about those points, but my phone is smoother.
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
do i have to flash a new baseband before flashing this on any custom rom? thanks
Flashed it,let's see!
Thanks!
Best!
Great!
Awesome!
Pure awesome!
mansirawat said:
********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Overclocking
Smartass
Smoothass
Cifs
Doesn't support EXT4
Click to expand...
Click to collapse
Hey mansi hows the performance??? If its good then it will be included in my new ROM.
CWM can also be used to flash this zip. Tested(CWM 3.1.0.0) and worked.
sajjan said:
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Why would you use this on a custom rom? We have Francisco's kernels for that.
devlin2427 said:
Why would you use this on a custom rom? We have Francisco's kernels for that.
Click to expand...
Click to collapse
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Well I tried it out of curiousity ....and if not better it's definitely at par.....I still have to check battery life....
Sent from my LG-P500 using XDA App
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
does this kernel require a new baseband?thanks
roi14 said:
does this kernel require a new baseband?thanks
Click to expand...
Click to collapse
Yes, of course.
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
devlin2427 said:
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
Click to expand...
Click to collapse
ya you can use franco's kernel on any custom ROM other then those which are built from official 2.3.3
doktornotor said:
Yes, of course.
Click to expand...
Click to collapse
No. kernels have nothing to do with baseband. I flashed on v20g and its improved performance and another guy flashed on void forever and it improved performance.

? new bootmenu and kernel modules for more governors ?

Who can be able and have time to write new bootmenu and kernel modules for more governors choice? (Smoothass, SmartassV2) link
http://wiki.rootzwiki.com say:
SmartassV2 A rewrite of Smartass that is easier for developers to program
Click to expand...
Click to collapse
porhaps all this governor will work beter on custom kernel
with "unlocked botloader"

[MOD] Get Governers of your choice on your Custom-ROM or Kernel

Hello people!
Here is something interesting for everyone..
You can get the Governer of your choice on your Custom ROM or Kernel.
Governers Present in this pack-
Lazy
Scary
Brazilianwax
Minmax
Lionheart
SmartassV2
Conservative
Userspace
Ondemand
Interactive
InteractiveX
Savagedzen
Lagfree
Download this zip and flash it via CWM
Make sure you have atleast 2mb of space free in /system.
Incase you do not wan't to use a particular governer.
Using Root Explorer , go to /system/etc/init.d
Open up 'insmod_governers' with text editor.
For Eg. If you do not wan't lagfree governer, strike out this line.
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Same applies for other Governers.
NOTE TO ALL ROM Developers:
If you wish to use a particular governer, simple copy over the module to /system/lib/modules/governers
In your updater script add this line while setting permissions,
For Example:
Code:
set_perm(0, 0, 0777, "/system/lib/modules/governers/cpufreq_lagfree.ko");
Now final step,
Open up any init.d script and add this line,
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Here I have taken lagfree as an example , you may use any governer of your choice.
PS: This will work only on Universal-CF-ROOT or Kernels with CF-ROOT Ramdisk.
The Idea-
The idea here was building the cpufreq drivers as Loadable modules. Here by 'insmod' we load the module thereby making the Cpufreq driver i.e Governer to work.
Hit Thanks if this helped you! Enjoy, Cheers , bye
WOW! Nice work!
Will this work on Bam Custom Kernel #13.. yes I am using the universal one with the CF-root ramdisk. Will this work?
Silentkiller101197 said:
Will this work on Bam Custom Kernel #13.. yes I am using the universal one with the CF-root ramdisk. Will this work?
Click to expand...
Click to collapse
Yes it will work.
Sent from my GT-I9003 using xda premium
Adi_Pat said:
Yes it will work.
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
i am little confused. Do u mean if I am using xda_bam kernel & if that kernel dont have lagfree governer then using this mod we can add that governer in kernel. Please correct me I am wrong
vishal24387 said:
i am little confused. Do u mean if I am using xda_bam kernel & if that kernel dont have lagfree governer then using this mod we can add that governer in kernel. Please correct me I am wrong
Click to expand...
Click to collapse
Yeah right.
Sent from my GT-I9003 using xda premium
vishal24387 said:
i am little confused. Do u mean if I am using xda_bam kernel & if that kernel dont have lagfree governer then using this mod we can add that governer in kernel. Please correct me I am wrong
Click to expand...
Click to collapse
And then, by editting init.d can we delete some governers of the list?
Are all the governors optimized to work well with our device?
Simply brilliant dude !
Can we use it with ICS kernel ? Currently that's the one which needs lot of love
silentvisitor said:
Simply brilliant dude !
Can we use it with ICS kernel ? Currently that's the one which needs lot of love
Click to expand...
Click to collapse
Yes I concur. Great work, is it implementable on the ics kernel?
Edit:btw, I saw that in the op that only amit's kernel will work, just clarifying. And if not possible can this be ported? Thanks for your work
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
bscraze said:
Yes I concur. Great work, is it implementable on the ics kernel?
Edit:btw, I saw that in the op that only amit's kernel will work, just clarifying. And if not possible can this be ported? Thanks for your work
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
Click to expand...
Click to collapse
This shud work on All galaxy sl software combos,including ICS
It should work since ics also has init.d and updater-script (i think). The best way is trying and testing
Enviado desde mi GT-I9003 usando Tapatalk
luiseteyo said:
It should work since ics also has init.d and updater-script (i think). The best way is trying and testing
Enviado desde mi GT-I9003 usando Tapatalk
Click to expand...
Click to collapse
Send me any module from ICS kernel ramdisk. I will change the vermagic and recompile the governers.
Sent from my GT-I9003 using xda premium
great job!
sakindia123 said:
This shud work on All galaxy sl software combos,including ICS
Click to expand...
Click to collapse
This imho will work in actual version of ICS for our device because the kernel is the simply samsung kernel with modifier ramdisk to boot ics and not kernel 3.x
( of course , maybe , it can work also in 3.x kernel )
anyway great idea, thanks!
Adi_Pat said:
Hello people!
Here is something interesting for everyone..
You can get the Governer of your choice on your Custom ROM or Kernel.
Governers Present in this pack-
Lazy
Scary
Brazilianwax
Minmax
Lionheart
SmartassV2
Conservative
Userspace
Ondemand
Interactive
InteractiveX
Savagedzen
Lagfree
Download this zip and flash it via CWM
Make sure you have atleast 2mb of space free in /system.
Incase you do not wan't to use a particular governer.
Using Root Explorer , go to /system/etc/init.d
Open up 'insmod_governers' with text editor.
For Eg. If you do not wan't lagfree governer, strike out this line.
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Same applies for other Governers.
NOTE TO ALL ROM Developers:
If you wish to use a particular governer, simple copy over the module to /system/lib/modules/governers
In your updater script add this line while setting permissions,
For Example:
Code:
set_perm(0, 0, 0777, "/system/lib/modules/governers/cpufreq_lagfree.ko");
Now final step,
Open up any init.d script and add this line,
Code:
insmod /system/lib/modules/governers/cpufreq_lagfree.ko
Here I have taken lagfree as an example , you may use any governer of your choice.
PS: This will work only on Universal-CF-ROOT or Kernels with CF-ROOT Ramdisk.
The Idea-
The idea here was building the cpufreq drivers as Loadable modules. Here by 'insmod' we load the module thereby making the Cpufreq driver i.e Governer to work.
Hit Thanks if this helped you! Enjoy, Cheers , bye
Click to expand...
Click to collapse
Nice idea to distribute IO governor as a kernel module. Althought I do not own a I9003 any more, I still feel nice to see such a development on I9003 forum.
btw, since you are distributing the binary compiled from GPL src code, make sure you upload and distribute the src code as well.
UnknownzD said:
Nice idea to distribute IO governor as a kernel module. Althought I do not own a I9003 any more, I still feel nice to see such a development on I9003 forum.
btw, since you are distributing the binary compiled from GPL src code, make sure you upload and distribute the src code as well.
Click to expand...
Click to collapse
Please see my github Its the same as my i9003 source
Sent from my GT-I9003 using xda premium
Hey adi_Pat. Shouldn't the init.d insmod_governers have numeration? Something like....
01insmod_governers
02insmod_governers~
?
Hey adi_pat dont works for me, i have KPU and cf-root bam kernel 12. I flashed your zip and gives me bootloop, i had deleted insimod_goveres from init.d
luiseteyo said:
Hey adi_Pat. Shouldn't the init.d insmod_governers have numeration? Something like....
01insmod_governers
02insmod_governers~
?
Click to expand...
Click to collapse
Numbers are useful to organize init.d scripts, because they are always executed in alphabetic order (numbers have the priority over letters).
Sometimes scripts need to be executed in a determined order, but not this/these.
You can delete insmod_governers~. Usually, files that end with '~' are a backup copy made by text editors: http://en.wikipedia.org/wiki/Tilde#Backup_filenames
@Adi_Pat
I think it's better to remove it from the flashable zip, because when you extract a zip, extracted files usually get "Execute" permission, so users will have the same script executed two times, but I'm not sure.
(there's updater-script~ too, but this one shouldn't give problems)
EDIT:
The backup copy is different and I think it does nothing, but it's still better to remove it.
@IoSconoscutio
I actually set permissions for modules to chmod 777 as well as chmod 777 for the init.d script. I made it flashable because people may find it difficult to manually insert each module.
Sent from my GT-I9003 using xda premium

[Q] Ways to add vdd_levels control

into MikTouch ROM. Anybody know?
It's kernel related. You need to recompile it's kernel source and add vdd control support.
Riyal said:
It's kernel related. You need to recompile it's kernel source and add vdd control support.
Click to expand...
Click to collapse
I haven't such skills...
maybe You know modified kernel for this rom with voltage control add-on?
Not sure but try the one from bulletproof
Or I could make one for you if you can wait a little bit more . Just busy at the moment.

Categories

Resources