yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] hansip87:
Read Post 2 to find out how, it involves manual init.d file editing, because the author can't guarantee at what speed your phone can handle. Mine can only handle 1.3Ghz, nothing more :(
[Motorola Droid RAZR] abcrndm:
alright, i'm trying to get these to run at boot. would the below script properly set HotPlugX as the governor? Also

1 - Do i have to also set hotplugx as the governor for the other core?

2 - How do i enable SIO scheduler at boot?

Thanks!

#!/system/bin/sh
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_hotplugX.ko
insmod /system/lib/modules/sio-iosched.ko
echo hotplugx> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Motorola Droid RAZR] whirleyes:
I'm closing this thread as I'm no longer interested in developing for Razr.

Good luck
[Motorola Droid RAZR] whirleyes:
Re-open this thread so that people can have a discussion. I didn't subscribe to this thread anymore. No dev work/info will happen in these thread.
[Motorola Droid RAZR] rovaris:
Hi i flashed 2 .zip for extra kernel modules but noghting happend....set cpu doesn't see extra governors or overclock....noghting...
[Motorola Droid RAZR] HSD-Pilot:
If you're on JB the init.d doesn't work. Start the Script through SManager. Anyway, HotplugX doesn't work right on JB after going into Deep Sleep (Black Screen after unlock), so use Pegasusq ore any other.

Sent from my XT910
[Motorola Droid RAZR] rovaris:
ok , now with tweakerz i have loaded governors but i can't make them load on boot.... i don't know why...(i'm on miui Ics)
[Motorola Droid RAZR] HSD-Pilot:
MiUi is crap and doesn't support init.d from what i know. Use SManager to start on boot.

Sent from my XT910
[Motorola Droid RAZR] rovaris:
i'm really noob xD and my english is bad.....can u tell me how to use script manager to load governors at boot?
[Motorola Droid RAZR] Jack'O:
Open SM and navigate to the script you want to run, pic on it and select "su" and "at boot" save.
[Motorola Droid RAZR] rovaris:
thanks!...

btw i think that this problem afflict all roms i've installed on my razr with safestrap....if i installa rom that in the changelog have "overclock and extra governors" when i boot the rom in set cpu max speed is 1200 and there are only standard governors....

sorry for my bad english
[Motorola Droid RAZR] Jack'O:
Not sure but it should be a SS problem/feature.
[Motorola Droid RAZR] couillu44:
I'm on MIUI (I modified a little the rom, with this and tornado rom (for private use so no problem)) and everything is working.
[Motorola Droid RAZR] deboyz1014:
I use hotplugx with noop and i have not encounter issue with black screen when trying to wake device up. It could be that I'm using SetCPU profile to set my freq, governor and i/o.
[Motorola Droid RAZR] yoyurik:
bullsh*t. I'm on leaked JB xt912 and have init.d scripts working. but not from this thread. and not for cpu tweaks
[Motorola Droid RAZR] HSD-Pilot:
Dude calm down. I got init.d working on JB, too. This was an Thread Specific Answer and i meant the init.d.zip that is linked here.

Have an look @ Droidrzr.com especially @ the first posts, when Rom Development for the XT912 JB started. I was not the only one that had to search an workaround to start the Tweaks over init.d.

Sent from my XT910
[Motorola Droid RAZR] St33l:
Guys from droidrzr said, that there is issue with deep sleep with hotplugx at VZW JB kernel (
[Motorola Droid RAZR] blackops11252:
I am still on ICS 4.0.4 6.16.211.XT912.Verizon.en.US

Ok i got the modules installed and they show up in the governor list, I have hotplugx selected, but when any other profiles are used and changes the governor it does not go back to hotplugx. How do I get this to work using scripts? Please answer in Noobish....Hold my hand language. Thanks
[Motorola Droid RAZR] desertmod1:
Really great work (this and bootmenu, you single handedly made razr awesome) I flashed both zip files, installed the Tweakers.apk, then in Smanager I selected boot and su for hotplugx, sio, symsearch and cpu_control .ko files and now everything works great and persists after reboot.

The only problem I have is to keep the frequency and voltage I modified in the tweakers app to persist after a reboot, any suggestions would be appreciated.
[Motorola Droid RAZR] blackhawk_LA:
If your ROM have init.d support, you can use a script like the one attached, setting permissión to 755.

Just edit it, save and copy to system/etc/init.d using any root explorer or adb. Then delete the extension (leaving it just as 80cputweak, without the .txt)Then set permissions to 755 and you got it.
[Motorola Droid RAZR] RandomPooka:
If you don't have init.d support, just mod that script to reflect your settings and add it to the end of your script manager script so it not only loads the right modules, but sets the frequency and voltage too
[Motorola Droid RAZR] desertmod1:
Not sure if I have init.d support (I use an official ICS 4.0.4) also, not sure what you mean by to set the permission to 755 (I use Smanager).

Anyway, I added the the sleep 2 and echo lines with modified V and Mhz to the "90modules" file I have in my init.d folder and it works now!

Thanks guys.
[Motorola Droid RAZR] persano:
adding governors will work on other device? like the kindle fire hd ?
[Motorola Droid RAZR] artur0588:
Modules do not work with latest Verizon jb kernel.
[Motorola Droid RAZR] Vatazhka:
Binaries don't, but their source can be recompiled when Motorola releases kernel source.
[Motorola Droid RAZR] persano:
kindle fire hd have the same kernel 3.0.8
[Motorola Droid RAZR] Hashcode:
persano you can d/l the KFire HD's kernel from amazon, start a git, add whirleyes remote and then cherry pick his commits and make the modules that way.
[Motorola Droid RAZR] persano:
thanks, will do that, where can i get them to amazon, if they hate developers
[Motorola Droid RAZR] jordanchow725:
Why I can't lock the CPU at 1300, it always down to 1000 after lock the phone
[Motorola Droid RAZR] dtrail1:
Some reasons:

Depends on the governor, try stock hotplug.

How did you set the frequency? Set an init.d script with full freq/voltage for all clock frequency steps:

e.g.

0 300 975 > /proc/cpu-control/..

1 600 1000 > /proc/cpu-control/..

2 800 1075 > /proc/cpu-control..

..continue...

Read the instructions on first page to get the right commands!

But why 1000? Usually it should be set back to 1200mhz in case of kernel qos request..

In case you are running these modules on Moto JB Kernel you may experience some more weird issues because Moto changed some things there so the modules may not work correct..
[Motorola Droid RAZR] jordanchow725:
I use performance. and I used tweakerz to set the cpu, 200, 400,700,1000,1300

how to check my kernel is jb or ics
[Motorola Droid RAZR] dtrail1:
AW: [KERNEL MODULE] Extra modules pack v0.1.3 (feat. overclock) [OMAP4 kernel 3.0.8]

How to check? Depends on your rom, whether it's ics or jb. Open system settings and phone info.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] jordanchow725:
oh i am using JB kernel
[Motorola Droid RAZR] phrir1:
we have a temp work around that helps stick the Clock

you have to use SetCPU.

So lets get to it

1. Once you have the modules installed and you actually overclock go into SetCPU

2. go into the profiles section and enable profiles

3. add a new profile for screen on

4. set your max and min cpu speeds

5. make sure you check the box for persistent

(option: set cpu govenor also if you want)

6. set priority

7. save and make sure it is checked

after this is done you can just exit out and everytime your screen comes on SetCPU will make sure the clock is in place.

PROFIT!!
[Motorola Droid RAZR] davidsonsjesus:
whirleyes thank you for your work.

Since the GB version I have used these modules, passed the ICS and JB CH and VZW no problems, however when using the version 98.72.16-XT910 with kernel gbacb1cf_vzw boot_3.0.8 the modules do not work, both as cpu_control.ko cpufreq_hotplugX .ko restart the device. It would be incompatible with the kernel? Someone more experienced this? Any solution (using this kernel)?
[Motorola Droid RAZR] dtrail1:
AW: [KERNEL MODULE] Extra modules pack v0.1.3 (feat. overclock) [OMAP4 kernel 3.0.8]

They have to be recompiled with the new kernel.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] triplex76:
do you use performance governor for daily?

if so... you will kill your battery ... performance governor is only for benchmarking cause it simply max out cpu ... ignoring load and idle.

no good idea ever
[Motorola Droid RAZR] xtam:
and whats best ?

for daily use?

i heard about pegasusq..but not sure...
[Motorola Droid RAZR] dtrail1:
The best is still hotplug! The only governor which is able to shutt off the second core while screen is on. And much better is a modified hotplug, e.g. by init.d script or custom kernel.

Overclock modules for MR1JB Kernel have been compiled by me, and they are working! Keep in mind that you have to set "ondemand" governor BEFORE you change custom voltage/frequency for the first time! After that you can set any governor you want!

DOWNLOAD
[Motorola Droid RAZR] artur0588:
Is it working with Vodafonе JB Kernel?
[Motorola Droid RAZR] Smilez:
Same install, through recovery?

Or extract and move manually?
[Motorola Droid RAZR] phrir1:
It's not a flashable zip, move manually

And the modules work perfectly, thank you

Also for testing purposes the tweekers app can be used to edit the values after you manually load the modules. Just FYI I just tried it
[Motorola Droid RAZR] Smilez:
move them to /system/lib/modules?
[Motorola Droid RAZR] phrir1:
Yes, and don't forget to set permissions

Rw-r-r
[Motorola Droid RAZR] Smilez:
I did and when I went to load SymSearch.ko the phone rebooted.

Edit: nevermind, I was using tweakers app and when I did it manually through Terminal it worked fine.
[Motorola Droid RAZR] xtam:
i moved modules to /system/lib/modules

on KEXEC-test-kernel-cm-10.1-20130315-UNOFFICIAL-umts_spyder.zip

http://144.76.40.180/Devs/dhacker29...l-cm-10.1-20130315-UNOFFICIAL-umts_spyder.zip

but terminal says:

insmod: init_module 'symsearch.ko' failed (exec format error)

uname -a:

3.0.23 g4a6bcaec
[Motorola Droid RAZR] phrir1:
Did you set permissions?
[Motorola Droid RAZR] xtam:
yes, rw -r- r
[Motorola Droid RAZR] bladehu2:
No, it's not working.

---------- Post added at 10:21 PM ---------- Previous post was at 10:12 PM ----------

yup, but low cpu usage (when hotplug can shut off 2nd core) is very rarely when screen is on :)
[Motorola Droid RAZR] dtrail1:
I need the Vodafone Kernel Source (should be the same like VZW .16 Kernel) , then I can compile it for this kernel. But have you test it the right way yet?

BTW: I'fe make a mistake! You don't have to set ondemand governor before insmod. Just insmod Symsearch.ko folowed by the other modules. If you want to set custom frequency, DON'T start lower than 300 min! First set all other frequencies, wait and confirm that it works and then you can start underclocking! NOTE: On JB-Kernel you cannot UV that deep like with ICS Kernel. Around +/- 50mV is enough, otherwise it can freeze!

---------- Post added at 10:27 PM ---------- Previous post was at 10:27 PM ----------

They are ONLY for the MR1JB-Kernel builds!
[Motorola Droid RAZR] bladehu2:
I tried it of course. permission set to rw-r-r

from terminal: insmod: init_module '/system/lib/modules/symsearch.ko' failed (operation not permitted)

btw, is it normal that old ICS symsearch.ko is 3912b while this new one is 43204b?
[Motorola Droid RAZR] dtrail1:
YOu have to be root! Type "su" before "insmod".
[Motorola Droid RAZR] evonc:
Already checked it. Still needs to be recompiled for ICS and they're waiting for the kernel sources to come out.
[Motorola Droid RAZR] core720:
what changes this new version?
[Motorola Droid RAZR] whirleyes:
Only I/O scheduler.
[Motorola Droid RAZR] HSD-Pilot:
Works flawless on the new EU Update. No I have to figure out, which one is the best for me... :what:

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] evonc:
I'm trying out hotplugx with miui 2.7.6 currently. Will update my post with results after a few days of regular usage!
[Motorola Droid RAZR] tbhall77:
Awesome work!

Using this on Kebob's deodex 211 rom. Currently playing with hotplugx and sio.
[Motorola Droid RAZR] bb12489:
Does anyone know if these modules will work on a bionic? I just updated my friends Bionic to the latest ICS leak that they have, and he's still having battery issues. I was thinking that the kernel version may be the same on the bionic ICS as it is on the Razr ICS. So any possibility of these working?
[Motorola Droid RAZR] dtrail1:
I can't select the sheduler. Isn't it in the package?
[Motorola Droid RAZR] nespresso33:
It is not in the init.d flashable script.

You have to edit this script.
[Motorola Droid RAZR] whirleyes:
I think it's not a problem, if base kernel version is 3.0.8.

I don't like the idea of loading all of them through init.d, it's not memory efficient. I'm adding more new module each release...

Does anybody know a CPU/kernel tweak app that has the ability to load kernel module on-the-fly?

next update : Samsung pegasusq governor (I like this one), tweaked sio module

wip : overclock/downclock/vsel module. (Trying to port milestone overclock module)
[Motorola Droid RAZR] nespresso33:
What is wrong with hotplugX and sio-iosched ?

I lost all my battery in about 1 hour:eek:
[Motorola Droid RAZR] whirleyes:
Did your phone became warm after loading those modules?

Did you monitor whether CPU did turn off after using them??

This is something need to be investigated
[Motorola Droid RAZR] core720:
The easiest thing is to create an init.d to automatically load the desired profile....
[Motorola Droid RAZR] nespresso33:
I don't know what was happened but after a full charge and observation, I don't get this problem anymore ...
[Motorola Droid RAZR] draga277:
Hi guys,

I'm wondering, if I install zip files for the "easy way", select prefered governor with no-frills (or similar), and after this I'd like to return completely stock, is it sufficient to flash 180.33 sbf file with RSD? Or are there other ways?

tnx
[Motorola Droid RAZR] frog67:
Is this module for kernel version:

3.0.8-g71323c3rwxg47@zch45lnxdroid51 #1

Please correct first post with version kernel for compile it tanks

regards
[Motorola Droid RAZR] whirleyes:
Yes.

OP updated.

ICS is officially on kernel 3.0.8. I though everybody know that.
[Motorola Droid RAZR] FrAsErTaG:
Im loading via init (I renamed the file)

I am getting this

insmod: can't insert '/system/lib/modules/interactiveX.ko': unknown symbol in mo

dule or invalid parameter
[Motorola Droid RAZR] whirleyes:
by default, some function/symbol inside the stock kernel is not available to loadable module.

You need to insmod symsearch.ko to enable kernel hacking.
[Motorola Droid RAZR] whirleyes:
Updated to version 0.1.2

- Recompile with -O2 flag. I notice some instability when using -O3 flag

- Tweaked sio I/O Scheduler

- Add a tweaked pegasusq governor. I'm using this now.

Hopefully someone can share battery usage report/stability when using any of this module. It will help for improvement.
[Motorola Droid RAZR] bladehu2:
ah really, I forgot that :)

but the error message with su: insmod: init_module '/system/lib/modules/symsearch.ko' failed (No such file or directory)

my old script (running from rom toolbox pro) says the same. strange, symsearch.ko of course is under /system/lib/modules with proper permissons. there is the old one also, I just renamed it to symsearch.ko.old. if I change back the old one to .ko and running script then phone is rebooting, so the script is ok and it can see that folder and module. in worst case we have to wait US or EU JB kernel source :(
[Motorola Droid RAZR] phrir1:
Just for kicks this is how your doing it right?

Su

(enter)

insmod /system/lib/modules/symsearch.ko

(enter)
[Motorola Droid RAZR] bladehu2:
exactly what I did. would you like a screenshot about terminal and/or script? :)
[Motorola Droid RAZR] RandomPooka:
I think a screen shot of "about phone" showing your kernel version would probably help too.
[Motorola Droid RAZR] dtrail1:
Guys, YOu may know that I'm currently building my own Custom Kernel (JBX-Kernel) and it works GREAT!! I've recoded the CPU OPP Table settings and extended the CPU Freq Steps to:

100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1200 mhz :D :D :D

Now I want to figure out how high we can overclock directly by kernel! This is dangerous for the device, so

...let's note some things up:

- Max supported voltage (read from source code) is 1410mV. We MUST'NT NEVER try anything OVER this value!

- There is an easy calculating method to calculate the optimum vsel for each frequency

- The OMAP4430 is though locked at 1.0ghz, so our CPU is already OC at 1,2ghz

- The Samsung Galaxy S2+ (I9100G) has also OMAP4430 CPU and it's max stable OC is 1,6ghz

- The old SGS2 (I9100) has an older Cortex CPU (OMAP4430 is better) and it's max stable OC is also at 1,6ghz (by Siyah Kernel)

- This is taken from Gen9, which has also OMAP4430 CPU: - Omap 4430 1.2GHz stock => overclock max. 1.44GHz ;

- Our most stable max OC until now was overclocked by Whirleyes module: 1,35ghz

Any clue on this anyone? First thing I am going to try is VERY CAREFULLY how high we can push it with MAX mV of 1410!
[Motorola Droid RAZR] phrir1:
So far this is what I got

Once it's hits 1450 I get super lag
[Motorola Droid RAZR] bladehu2:
I have the leaked vodafone EU fw with 3.0.8-g7198280 (28.02.2013) JB kernel. I just tried that maybe dtrail1's new module is working with this kernel too, but unfortunately it doesn't.
[Motorola Droid RAZR] Dragusdrake:
i'm from LG L9 that runs JB and OMAP Ti 4430, these modules can be run in my phone?
[Motorola Droid RAZR] bladehu2:
I don't thinks so. But why don't you try to load them from terminal? In worst case your phone will freeze or reboot.
[Motorola Droid RAZR] dtrail1:
Yes, they could - but not for sure. For me they are running also on 3.0.23 kernel, but they were made for 3.0.8 kernel, so you may make some specific changes..Check the included libs in the source code and try to build as follows:

You need the exactly kernel source from your running rom. Compile the kernel with your device related defconfig, then insert the modules (grab them from the github link in OP) and do a "make modules". Grab them from their specific folder.
[Motorola Droid RAZR] RAD7:
Tweakerz for Atrix 2 ME865

I already have init.d support on my stock JB 4.1.2 Atrix 2 (ME865). I installed the tweakerz app but do not see any listings under respective tabs. When I click on for ex. pegasus (from the unloaded modules) I get a pop up saying load module (insmod) but nothing happens when I click the tab, What am I doing wrong here? Do I need to flash the zip first using CWMR? My interest in Tweakerz was that it does not alter system and is mainly a temporary OC app until phone is rebooted, guidance will be appreciated.
[Motorola Droid RAZR] demonshouter:
It means the modules havent been loaded and u need to load them manually...try to choose simsearch.ko and loaded it....and then choose all other .ko and load/insmod them one by one. After all have been loaded, use e.g set cpu to choose one of the available governor....e.g smartass etc.

Ndietya
[Motorola Droid RAZR] stigers:
anyone could compile the module for cm10.1 kexec? I am over 50, my eyes cannot bear long time in front of screen, thanks.
[Motorola Droid RAZR] Xrunner87:
You can try the kexec kernel.It seems that this modules cant load in kexec AOKP.

My english is bad....Or even worse than bad....
[Motorola Droid RAZR] dtrail1:
Kernel Modules for 3.0.31 Kernel:

DOWNLOAD
[Motorola Droid RAZR] garywojdan81:
Modules load perfectly, except for hotplugJBX. All else works, experimenting with some oc/uv settings now.
[Motorola Droid RAZR] prstorero:
Before I screw up, these will work on AOKP kexec, right? It's the same kernel number but I still prefer to check haha
[Motorola Droid RAZR] garywojdan81:
If you're unsure, just create a script in ROM toolbox & run it. If it forces a reboot you'll know not to run it at boot, if it executes w/o crashing, you should be safe.
[Motorola Droid RAZR] stigers:
Thank you dtrail, very good job. But hotplugx does not work, and result in error message in the log continuesly. Could you pls compile another OC project with overclock.ko for 3.0.31? This project provide correct information of frequencies and can overclock gpu. Thanks a lot.
[Motorola Droid RAZR] prstorero:
Got it to work :)
[Motorola Droid RAZR] dtrail1:
This module cannot overclock gpu except you or someone else would extend it with some code...

But there is no need for OC the gpu because it won't really increase performance of it. I did it in my modified kernel and it doesn't provide a real faster gpu, but it slows down the cpu a bit (if you OC a device, another one will decrease its power). Moto runs our gpu at 307 mhz by default, though it can run at 384 by factory. But there is not a real difference in power, no matter if it runs on 307 or 384. ALso you would need to increase voltage abit when OC the gpu (it can run on 384 on same voltage, but it could cause to eat more power because smartreflex will try to compensate the needed voltage). The better way is to let it run on 307, so you will have almost the same power and a faster CPU at all. ;)

HotplugJBX was a mistake, it shouldn't be there, sorry.
[Motorola Droid RAZR] Xrunner87:
Maybe it did:),I get more than 300 points in bencmark with 384MHz GPU.

My english is bad....Or even worse than bad....
[Motorola Droid RAZR] stigers:
I am not intended to oc the gpu, but another Opptimizer Projekt by Aloha Kakou, is more stable and user configurable, more over, it can change the system opps_table, frequency statement is accurate in many cpu tools, so I hope you can compile the projekt of cdma_spyder for me, if you like. p.s. I am nearly 50 yr old and not concern over gpu scores, em.
[Motorola Droid RAZR] artur0588:
Can you update for XT910 JB Kernel?
[Motorola Droid RAZR] Nandeh:
So this modules are for Kexec? As I know 3.0.31 kernel is just Kexec. And if yes, what's the way to implement them?

Thanks! :good:
[Motorola Droid RAZR] prstorero:
You can put them in system/lib/modules set permissions and load/make an init.d script to load them :)
[Motorola Droid RAZR] Nandeh:
Thanks! Working with kexec ROMs using this method I guess...
[Motorola Droid RAZR] dtrail1:
The OPPtimizer Project doesn't provide all of its features on the Razr.
[Motorola Droid RAZR] Nandeh:
Thanks again guys, installed in AOKP r6 and it worked. First boot I didn't get deep sleep with smartassv2 but after a reboot it worked fine.
[Motorola Droid RAZR] RandomPooka:
I'm curious, did you check that the overclock stuck during your second boot? If it did AND you still got deep sleep, awesome!
[Motorola Droid RAZR] RandomPooka:
Would you mind if I shared this download link on other forums?
[Motorola Droid RAZR] Nandeh:
I was wrong, smartassv2 with sio fails to enter in deep sleep. While charging at night lowest freq has been 300 MHz...

I have done no overclock
[Motorola Droid RAZR] tcuwolf:
Can someone make it into a flashable zip
[Motorola Droid RAZR] RandomPooka:
Here you go

kernel_modules_FLASHABLE_3.0.31.zip

---------- Post added at 06:33 AM ---------- Previous post was at 05:45 AM ----------

I didn't change the text displayed while flashing, so it will still say it's for the 3.0.8 kernel when you flash these. I just replaced the kernel modules with the new ones
[Motorola Droid RAZR] xtam:
thanks, how to make such flashable zips for cwm? do you know some tool to create it or is it just packing with zip like haozip or 7zip few files in proper structure? and how to sign it later? thanks.