yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] dtrail1:
In fact you don't have to sign your zips in most cases - by default the signature checks are disabled in our recoveries.

To create a flashable zip you need to create a new empty folder called like you want.

For the beginning you can take any flashable zip, extract it and replace/add files you want to have inside the zip.

But the most important thing you have to know about is how to write/edit updater-scripts! Therefor you need to learn more about EDIFY Syntax. Check this: http://xdaforums.com/showthread.php?t=994940

The best way to learn is to read existing updater-scripts and read about the meanings of the lines in the link above.

For simple first steps to create flashable zips, check in this thread:

http://xdaforums.com/showthread.php?t=1721680

YOu may get further informations by searching google :)
[Motorola Droid RAZR] RandomPooka:
Yeah, dtrail's right. You really don't need to sign them. In this case, I just took the 3.0.8 zip, opened it with 7zip, and dragged the proper 3.0.31 modules into it (while navigated to the proper directory in the zip)

7zip will insert/overwrite the files in the zip. Since there's no manifest or specific file naming in the update script, it just copies the modules directory into your existing modules directory. No need for any modification to this particular zip

But it's pretty useful to look up how to write one from scratch, for sure
[Motorola Droid RAZR] macondo62:
for new modules to load may it be done with the 90modules in Op or must it be edited?

Very noob question:confused:

Inviato dal mio XT910 con Tapatalk 2
[Motorola Droid RAZR] RandomPooka:
You can add the appropriate 'insmod' and 'export' commands to the end of an existing script in your /etc/init.d in CM, or create a new script if you like
[Motorola Droid RAZR] blackhawk_LA:
No kernel goes to deep sleep while charging.

Enviado desde mi XT910 usando Tapatalk 2
[Motorola Droid RAZR] shubham412302:
any way to get gpu oc
[Motorola Droid RAZR] shubham412302:
Is there a way to load all modules on boot. I have the version posted in the first thread and don't support load modules on boot. So I have to load all modules on all boots
[Motorola Droid RAZR] garywojdan81:
Do you have working init.d? The only other way I know of is to use something like script manager to do it. ROM toolbox will do it but you have create or import a script into it.
[Motorola Droid RAZR] RandomPooka:
What ROM are you using? Stock or some other custom ROM? On stock, it's probably easier to use Script Manager as suggested, or ROM Toolbox has script management functions if you already have that installed.

If you're running a custom ROM, you can create a script at "/data/local/userinit.sh" and load the modules from there.

This is preferable in my opinion. When flashing an update to your ROM, data doesn't get wiped. This means your script will stay intact and function after an update as long as you have also included the kernel modules in your flash

---------- Post added at 09:36 AM ---------- Previous post was at 09:36 AM ----------

If you need an example of a userinit.sh file, I will upload mine for you
[Motorola Droid RAZR] shubham412302:
I have atrix 2 with cm 10.1 and kexec kernel 3.0.31
[Motorola Droid RAZR] garywojdan81:
All the cm10.1 builds have working init.d so a script run from the init.d folder will work best.

Here's what has worked for me:
[Motorola Droid RAZR] garywojdan81:
All the cm10.1 builds have working init.d so a script run from the init.d folder will work best.

Here's what has worked for me:View attachment 1880800
[Motorola Droid RAZR] RandomPooka:
While you're right about the init.d folder working in CM10.1, I will disagree that it's the best location. It will get wiped every time you flash an update because it's in /system/etc/init.d

/system gets wiped

/data/local/userinit.d/<scriptname> or /data/local/userinit.sh will persist across flashes
[Motorola Droid RAZR] garywojdan81:
Never tried that. Thanks for sharing
[Motorola Droid RAZR] RandomPooka:
Glad to! If I find something that works for me, I like to let people know. That's why we're here, after all.
[Motorola Droid RAZR] stigers:
have tried, /data/local/userinit.d/ worked for me, if you cannot see the content of the script, just change the owner of the userinit.d to "shell" and "shell" group. And further more, I moved the modules from /system/lib/modules to /data/modules, and all modules work now. Now I need not to concern The overclock/voltage issue. Every time I flashed new CM 10.1 nightly, the frequency/voltage/governer/IO will work. :)
[Motorola Droid RAZR] dtrail1:
You can try my kernel for much better OC/UV experience (JBX-Kernel BSE).

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] RandomPooka:
Sweet! I never noticed /data/modules even existed

Appreciate the heads up on that. I'll be able to stop flashing the modules during updates now and just flash the ROM/gapps
[Motorola Droid RAZR] stigers:
have tried, not very stable at the moment.

---------- Post added at 04:04 PM ---------- Previous post was at 03:59 PM ----------

I think it is not needed to flash gapps every time.
[Motorola Droid RAZR] dtrail1:
Battery kernel is quite stable - except a few little things. But if you use it normal it will work.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] RandomPooka:
For an extra fifteen seconds, I'll flash them. I haven't looked in the gapps zip to see where they're installed to, but it can't hurt to flash them.
[Motorola Droid RAZR] shubham412302:
the kernel modules for 3.0.8 are working properly.

but I am facing problems with kernel module 3.0.31

the oc works good for few minutes but after sometime the max frequency is shown as 1ghz but the oc frequency is also shown in the table of frequencies.

don't know why it gets revert back to 1ghz.

I have tried this on atrix 2
[Motorola Droid RAZR] BADDINOROX99:
what script would I need to use in order for this to work?
[Motorola Droid RAZR] RandomPooka:
http://db.tt/4sPUSIBW

That's mine. I have it in /data/local
[Motorola Droid RAZR] BADDINOROX99:
is it a problem if I already flashed the one from the op?
[Motorola Droid RAZR] HSD-Pilot:
Delete the 90modules Script out of your System/etc/init.d Folder and reboot. Problem solved, script won't run anymore.

Gesendet von meinem XT890 mit Tapatalk 2
[Motorola Droid RAZR] BADDINOROX99:
What's the difference in the scripts... Will One allow me to overclock more than the other?.... Sorry for asking so many stupid questions its my first time trying to overclock my phone
[Motorola Droid RAZR] RandomPooka:
You change the values in the script to whatever you want to overclock or underclock to. I have no idea what your stock settings are. I have a 1ghz bionic with 4 clock speed slots. You may have something completely different. I was just posting that as an example of what needs done with a script, not saying you should use my settings by any means
[Motorola Droid RAZR] BADDINOROX99:
oh ok because I installed the modules and flashed the scrip from the op and installed tweakers.apk and I'm running my max frequency at 1318 and its running fast and smooth
[Motorola Droid RAZR] RandomPooka:
Well, if it ain't broke, don't fix it
[Motorola Droid RAZR] BADDINOROX99:
lol

---------- Post added at 05:35 PM ---------- Previous post was at 05:33 PM ----------

I'm just having trouble making my frequency settings stick after I reboot they go back to 1200 max but I don't mind
[Motorola Droid RAZR] Semseddin:
XT910 with cdt secure version 7 , can it flash boot.img from lower secure version ?
[Motorola Droid RAZR] artur0588:
No, you can not boot then.
[Motorola Droid RAZR] RandomPooka:
Anyone know if there's a working set of OC modules for the current 3.0.8 kexec kernels? I tried manually inserting the symsearch.ko into the latest targa kexec kernel with insmod and got a hard reboot that required a battery pull
[Motorola Droid RAZR] dtrail1:
I built these modules some weeks ago for that kernel. But we have custom kernels which provides much better oc options. I got it stable on 1,5ghz - but the kernel itself isn't finished yet.

But for 3.0.31 based Roms (aokp) you can use my jbx-kernel bse 0.2d which is almost stable. But I'm working on the 3.0.8 kernel and hope to get it working more stable soon...

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] ferspider3:
Not estarting...

when installing BMM via the same has not started more...
[Motorola Droid RAZR] RandomPooka:
What? Having trouble understanding that
[Motorola Droid RAZR] oguzpasa:
this modules work with china jb?
[Motorola Droid RAZR] Semseddin:
Yes, they do. :laugh::good:
[Motorola Droid RAZR] oguzpasa:
:) geçen ay bunlarla kullanmıştım china romu. hatırlatma için sağol yinede :laugh:
[Motorola Droid RAZR] ravvio:
Need help in OCing my atrix 2 on SCV7 leak 2

Hi Guys I need help in OCing my atrix 2 which is running on Super Charged V7 leak 2 by rdavisct.. I think it has inti.d support....

I am a bit confused with the instructions and few posts... I already see below files in my etc/inti.d folder

00modules

01speed

02darky_zipalign

02overclock

03goooooo

90modules

91scoc

inti.d.loader.test

ss99SuperCharge

I have tried few OC zips from the foll link http://xdaforums.com/showthread.php?t=1988411&highlight=overclock and checked with ROM Toolbox Pro but my Cpu speed remains max to 1000 :silly:

Can someone please assist me for the same ? Awaiting your help :confused:
[Motorola Droid RAZR] dtrail1:
This is the wrong section, it's about kernel modules for the razr.

But you can use a kexec rom (any port by deveshmanish, I.e) and the use my JBX-Kernel. It allows you to OC up to 1,5ghz and much more.

Gesendet von meinem XT910 mit Tapatalk 4 Beta
[Motorola Droid RAZR] ZiViTi_13:
This scripts don't work for me. I installed all, as says in 1st post. Then I open NO Frills, but don't see any changes. I have XT912 and MIUI 3.9.20. Pls help.
[Motorola Droid RAZR] Vatazhka:
See here.
[Motorola Droid RAZR] ZiViTi_13:
Yes I know. I tested your modules, but in No Frills CPU I don't see schedulers and governors, exept standart. I installed XT912 version in BMM.
[Motorola Droid RAZR] Nandeh:
I had problems too when loading modules using init.d script in any ROMs. Try loading them manually with Terminal... :good:
[Motorola Droid RAZR] RandomPooka:
Did you compile the OC kernel drivers into the kernel, or are they modules? I'm able to build the modules and use them fine, but when I build a complete kernel it bombs and boot loops
[Motorola Droid RAZR] rhyan_red:
does it support other devices or it is for all devices?
[Motorola Droid RAZR] ch3mn3y:
I don't have RAZR yet (it will be xt910), but if I flash Resurrection Remix on it, and it will lack additional governors, will I be able to use this to add them? Mostly I think about pegasusq one.
[Motorola Droid RAZR] macondo62:
No, these modules are for stock kernel not for aosp

Inviato dal mio Nexus 5X utilizzando Tapatalk
[Motorola Droid RAZR] Dildoman:
Is this module will support compatible with my device tecno i2 id5a mtk processor stock kernel?
[Motorola Droid RAZR] leisures:
Using this modules sio and pegasusq, i share battery stats by tbe end of the day.

Thx for all your work! I really appreciate all the work you doing for the razr community. :thumbup:

Enviado desde mi XT910 usando Tapatalk 2
[Motorola Droid RAZR] dtrail1:
There is no new governor in the list after installation...

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] whirleyes:
All I did was compiling other Dev work. (In my quest for learning)

This pegasusq by default is little aggressive. It eats battery in trade of performance. But it still power off 2nd-core when screen off.

It need to be fine tune. It takes long time for repeating such boring process.

As always.. you need to insmod before it being recognized by kernel.

Refer post 2 to create your own init.d script.
[Motorola Droid RAZR] dtrail1:
Last time it was installed by flashing the zip.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] draga277:
Someone did an automatic init.d?
[Motorola Droid RAZR] dtrail1:
Just the Pegasusq has to be inserted by insmod command.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] sreeman:
First of all want to thank whirleyes for the hacks.

JUst want to confirm if i did this right. Went to recovery and installed both zip files. Rebooted and chose hotplugx as my governer in setcpu (onboot). DId i do it right?Tried moving the files to system/lib but it kept prompting me that i have to move it within my sdcard. I have root access and have selected move upto root for my es file explorer..

thanks!
[Motorola Droid RAZR] whirleyes:
Overclock/Voltage test module

Yes. Try use other file manager.

-------------------------------

I'm rewriting tekahuna's opptimizer module & Motorola Milestone overclock module. I had some success with it.

Anybody using opptimizer back in GB??

I just want to know how high your Razr can go when you're using opptimizer?

If possible, I would also like to know the voltage value used.

Currently I have it stable at 1350Mhz/1410mV (Antutu Bench Total @ 6755++)

Thanks

-------------------------------

Anyone interested can try the test module attached below (non configurable, overclock only @ 1350Mhz) (version : alpha 1)

To test

adb push fumoto.ko /system/lib/modules/
adb shell "echo hotplug > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
adb shell insmod /system/lib/modules/symsearch.ko
adb shell insmod /system/lib/modules/fumoto.ko

Back/Revert to stock

adb shell "echo hotplug > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
adb shell rmmod fumoto

or reboot

TODO :

CPU : Under Clock / Under Voltage

CPU : Wider frequency & voltage table

GPU to default 384Mhz (Currently underclock to ~308Mhz)

Configurable option

Android app (Maybe just clone NSTools & tweak)

Update 26/7 : test module remove (get the final build)
[Motorola Droid RAZR] sreeman:
Erm im not on GB. In on ICS already.
[Motorola Droid RAZR] core720:
Good job
[Motorola Droid RAZR] whirleyes:
good job doesn't help.. I need a lot of technical feedback.

Care to share some of your kernel log?? Please
[Motorola Droid RAZR] core720:
I'm in university exams
[Motorola Droid RAZR] J.Y.Daddy:
tested!

<6><6>[11164.586517,0] Default max value
<6>[11164.586517,0] - voltage : 1398000
<6>[11164.586517,0] - frequency : 1200000000
<6>[11164.586791,0] Stock voltage & frequency map
<6>[11164.586883,0] 0 : 1025 mV 300 Mhz
<6>[11164.587005,0] 1 : 1200 mV 600 Mhz
<6>[11164.587066,0] 2 : 1325 mV 800 Mhz
<6>[11164.587158,0] 3 : 1388 mV 1000 Mhz
<6>[11164.587280,0] 4 : 1398 mV 1200 Mhz
<6>[11164.587554,0] Optimize voltage & frequency map
<6>[11164.587646,0] 0 : 1025 mV 300 Mhz
<6>[11164.587768,0] 1 : 1200 mV 600 Mhz
<6>[11164.587860,0] 2 : 1325 mV 800 Mhz
<6>[11164.587921,0] 3 : 1388 mV 1000 Mhz
<6>[11164.587982,0] 4 : 1410 mV 1350 Mhz
<6>[11164.588165,0] mpu_clk_get_rate=1200000 gpu_clk_get_rate=153600
<4>[11169.844635,1] CPU1: Booted secondary processor
<6>[11169.847808,1] Switched to NOHz mode on CPU #1
<5>[11173.653778,0] CPU1: shutdown
<4>[11182.317810,1] CPU1: Booted secondary processor
<6>[11182.324371,1] Switched to NOHz mode on CPU #1
<5>[11188.794952,0] CPU1: shutdown
<4>[11189.661804,1] CPU1: Booted secondary processor
<6>[11189.668121,1] Switched to NOHz mode on CPU #1
<5>[11215.756317,0] CPU1: shutdown

module worked. but you can see that "CPU1: shutdown".

It seems that CPU1 does not work.

Anyway, i'll cheers for you.;)

Edit:

My RAZR information added.

Kernel : 67.42.17.XT910S.SKT.en.KR(ICS 4.0.4) 3.0.8

Rom : EpsilonProjectV3
[Motorola Droid RAZR] whirleyes:
Good luck!

You got it wrong.

Hotplug governor will turn off your 2nd core when it's not in use/low usage.

Did you try to play any game/benchmark?
[Motorola Droid RAZR] nespresso33:
I got 6862 in total score with Antutu Benchmark.

But it look like it make the radio unstable, I don't know if it is about my location or overclock.
[Motorola Droid RAZR] J.Y.Daddy:
You're right. My mistake.:silly:

Here, my RAZR Antutu benchmark.

Thanks for your good work!
[Motorola Droid RAZR] whirleyes:
maybe your location. Duno

After some test, I can get a stable 1350Mhz without over-volting the mpu.

1410mV is the safest max voltage define in kernel source code.

Will test this for few days to see it's stability
[Motorola Droid RAZR] farhanito:
fumoto... lol :laugh:

well, here's mine...

XT910

EU kernel

MIUI 2.7.13
[Motorola Droid RAZR] whirleyes:
FUMOTO - In japanese is foot of a mountain (kaki bukit in yours maybe)

Frequency Undervoltage Module.. TO??

Ok, we now get average 6800 with 1350Mhz..

Hopefully by tweaking GPU, it can go over 7000.

From your log, I can confirm that EU kernel is using same voltage table like other kernel & GPU is locked at 307.2Mhz

No need to post kernel log. Just report the stability issued / battery consumption.

Thanks
[Motorola Droid RAZR] farhanito:
FU-moto is suitable as well though :D

Anyway, why hotplug?

Is it necessary?
[Motorola Droid RAZR] whirleyes:
CPU need to be locked during transition period, hotplug do it best.

Milestone OC module has a code to do this automatically.

I have re-implement back this function on a2 version (with down-clock to 200Mhz & 950mv under-volt).

Very stable so far. I'm not sharing it yet
[Motorola Droid RAZR] prstorero:
Any idea if the over clock works on .215?
[Motorola Droid RAZR] whirleyes:
It should, but I don't have xt912.. so not tested & I don't have any report from xt912 user.

These module is for testing only.. If you you're interested, you can try.

If it don't work, just power off then reboot.
[Motorola Droid RAZR] prstorero:
First line just gives me error device offline.

Adb push fumoto.ko /system/lib/modules/
[Motorola Droid RAZR] sevenup30:
go to settings> developer's option> enable usb debugging
[Motorola Droid RAZR] farhanito:
He will then came up with "permission denied" :D

Just use any root explorer to put fumoto.ko there.
[Motorola Droid RAZR] prstorero:
The download is in a zip so I guess I gotta extract it and take the .ko file located inside and paste that in the modules folder then continue with the second line of the code? Adb shell.
[Motorola Droid RAZR] mattfox27:
How do i get the kernel logs? My device x912 works for about 5min then freezes with OC/modules...It OC'd for on ICS .215 but like i said it froze then rebooted my phone.
[Motorola Droid RAZR] whirleyes:
MAYBE : XT912 requires more voltage/current than other variant (LTE radio suck it/Voltage regulator can't provide enough).

1.3Ggz would be the stable freq for you.

If you're going to try again, try with airplane mode/wifi off. See whether you can complete a benchmark test.
[Motorola Droid RAZR] mattfox27:
It just restarts when i try to run a benchmark...
[Motorola Droid RAZR] Mobzter:
hey there whirleyes, thought id try the overclocking file so i got it placed in my /lib/modules folder however anytime i do the insmod command it just reboots the phone.. is there something im missing? or does that just mean its just not going to work for me?
[Motorola Droid RAZR] HSD-Pilot:
Two Benchmarks without Problems!
[Motorola Droid RAZR] whirleyes:
make sure cpu_freq governor is hotplug before insmod (you can change to others after fumoto successfully loaded)

Every device is not created equal. It will work for you guys..

but clearly your device can't stand 1350Mhz overclock.

As you can see, HSD-Pilot can reach 6963. My phone max at 6820.
[Motorola Droid RAZR] HSD-Pilot:
I've tested it the hard way > min & max 1350mhz

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] bogante:
I don't kow how to do this! yeah! but thanks :D
[Motorola Droid RAZR] whirleyes:
I know you care for batt life.. you should try the next version with undervolt(0.98mv) & underclock (196Mhz)

I'm testing it for for another day before upload.
[Motorola Droid RAZR] HSD-Pilot:
I'll try it later. Now I have to care about my Girlfriend, before my Head is rolling :D

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] HSD-Pilot:
Maybe I missed something, but where can I get a2?

Edit: Alright, not uploaded till now :D

I should read a litlle better...

Will definetly try it!

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] HSD-Pilot:
Ok Guys, i got an way to Overcklock for Noobs

Of course all Credits belong to Whirleyes! I just used his knowledge and tried to make it easy to activate.

Download this Zip and unpack it on your PC

http://www.mediafire.com/?pehxq5cu7eytcdy

You have to got the Kernel Modules installed on your RazR, so flash them if they are not installed!

Put the Scripts 1350mhz & Default on your SD and use an Root Explorer to put the fumoto.ko in your System/libs/modules -folder

Toggle your Govenor to Hotplug

Use SManager (Store) to open the 1350mhz Script (Script/Executable) and set Su > Hit Run

Use the same way to get your default clock back.

It's confirmend by another User, so it should work for you guys, too.
[Motorola Droid RAZR] kintwofan:
I can confirm this works on the 912. Just ran a antutu and hit 6720, I did change governor to hotplugx though.
[Motorola Droid RAZR] mewan:
sorry guys ..bit of a noob..

im currently runing ICS 4.0.4

system version 676.226.3.xt910.Retail.en.EU

and my kernel is 3.08

my question is..do i have native NTFS support or do i have to flash this kernel?

if so...which one and how??

thanx :D
[Motorola Droid RAZR] kintwofan:
Just wanted to give an update, street running at 1350 for an hour it so the phone starts to reboot itself. Send there is something about the 912 that doesn't like OCing
[Motorola Droid RAZR] prstorero:
Tested and works on xt912. Quadrant score below :)

Sorry ignore the download picture haha chose the wrong option
[Motorola Droid RAZR] Bmali:
What Rom are you on and what governor set up are you using?
[Motorola Droid RAZR] prstorero:
Running Pegasus for governor, full throttle cm9 rom, sio scheduler
[Motorola Droid RAZR] Bmali:
@prstereo what is your vsel set at? I think 86% is what's stock and someone recommended 58%
[Motorola Droid RAZR] prstorero:
I'm not sure I haven't changed it on ics before so its probably default. Last time I did a vsel change was when I over locked on gingerbread.
[Motorola Droid RAZR] Mobzter:
i can see ur I/O is like pretty much twice as good as mine.. how is it thats possible? thanks
[Motorola Droid RAZR] prstorero:
couple posts above I listed the set up I use
[Motorola Droid RAZR] prstorero:
I noticed when running the over clock, almost every governor I use, the phone tries to keep itself at the highest frequencies even when nothing is happening. Watching set CPU if I set to Pegasus or hotplugx it sits at 1350 and doesn't move
[Motorola Droid RAZR] afzi:
Failure

Can u any help me bro.... just i install to files and sent my SDcard and go to phone recover but file is not install what happen, any one tell me whts correct way to install or clear way to install
[Motorola Droid RAZR] Mobzter:
you should try provide more details if you need help resolving any problems. try give more information like what rom are you running at the moment, what error is it that your exactly getting and so forth..
[Motorola Droid RAZR] afzi:
Stock ICS 4.0.4 (install/sdcard...finding yodate packages....opening update packages.... verifying update packages...... E:singnature verification failed installation aborted.

Please sent solution as soon as possible

Thanks to replay me
[Motorola Droid RAZR] HSD-Pilot:
You have to use an Custom Recovery. I recommend BootManager.

Stock Recovery won't let you flash Zip Files that not verified by Motorola.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] bogante:
how can i put "I/O scheduler", dont show in menu I/O :/
[Motorola Droid RAZR] Mobzter:
this is what i use.. should be fine

insmod /system/lib/modules/cpufreq_pegasusq.ko

insmod /system/lib/modules/sio-iosched.ko

echo "pegasusq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "sio" > /sys/block/mmcblk0/queue/scheduler

make sure the files are in correct place (see the first 2 lines for their location, if not use something like rootexplorer or similar to move the files there)

good luck!!
[Motorola Droid RAZR] bogante:
...

Omg i dont understand as f*ck, insmod? echo? files? God... im so sorry.