Jump to content

[KERNEL] Sub501 Kernel, mods and control apk


Guest Sub501

Recommended Posts

Guest snapilica
what is the different between your signed_ril.zip (946.88K) and the one from XDA update_signed_radio_RIL_HK.zip (3.11MB)?

That one is made specifically for OpenDesire and includes the files needed for OD that's build from AOSP. This one is based on that but only installs the files that are different for MCR. So this mod only works on MCR R8.

Link to comment
Share on other sites

Guest Albert Poon
That one is made specifically for OpenDesire and includes the files needed for OD that's build from AOSP. This one is based on that but only installs the files that are different for MCR. So this mod only works on MCR R8.

Thanks mate!

Link to comment
Share on other sites

Guest zombiefly
Same here :P Although i don't know if I should get lower than the 75-100 already in the script. It seems stable as it is.

when you apply the undervolt driver using the supplied zip (from xda) does it do the init script bit itself after flashing or is that something I need to do manually?

Link to comment
Share on other sites

Guest spammyspam

So if this RIL bit is so important, why were we all flashing radios so willy nilly during initial Desire development? Were we just chancing it that the existing RILs would work?

Link to comment
Share on other sites

Guest snapilica
So if this RIL bit is so important, why were we all flashing radios so willy nilly during initial Desire development? Were we just chancing it that the existing RILs would work?

Preety much, yes :P

That's why Paul was relented to try out the new radio, he wanted the RIL's.

In other news: See post #3

CFQ Scheduler was added, Undervolt on it's way.

Link to comment
Share on other sites

Undervolt and CFQ sched are being prepared.

* CFQ IO Sched attached. The archive is not signed as issues were reported with signed files. I can't test it here. Waiting for your feedback. Normally you should see

'CFQ scheduler support activated for /sys/block/mtdblock' in logs.

If you're familiar with Linux you may try:

cat /sys/block/mtdblock0/queue/scheduler

The result of the above command should contain 'cfq' text.

* Undervolt (http://forum.xda-developers.com/showpost.php?p=8023043&postcount=1)

Credits: XDA's FloHimself and iscaela for modules.

What is that CFQ thingy for? Do I have to flash both files if I want the undervolt?

Link to comment
Share on other sites

Guest Streetdaddy
using r8 + the power MOD + Calibrating my Desire Battery using the instructions from here I have much beter results today ...

My first day using this Mod - 12 hours in and I've got 75% battery left. Not as good as what others are reporting in this thread, but definitely better than it used to be... normally by this point i'd be below 50% at least.

I'm keen to try the calibration process linked above - has anyone else tried it and had noticeable improvement in battery life?

Link to comment
Share on other sites

Guest zombiefly
Undervolt and CFQ sched are being prepared.

* CFQ IO Sched attached. The archive is not signed as issues were reported with signed files. I can't test it here. Waiting for your feedback. Normally you should see

'CFQ scheduler support activated for /sys/block/mtdblock' in logs.

If you're familiar with Linux you may try:

* Undervolt (http://forum.xda-developers.com/showpost.php?p=8023043&postcount=1)

Credits: XDA's FloHimself and iscaela for modules.

is this different to the orig undervolt from xda?

Link to comment
Share on other sites

Guest zombiefly
Undervolt and CFQ sched are being prepared.

Normally you should see

'CFQ scheduler support activated for /sys/block/mtdblock' in logs.

I restored back to before I applied the undervolt from xda, applied yours (applied from recovery) but I can see no evidence of CFQ in the log in aLogcat?

Link to comment
Share on other sites

Guest System of a pWne!^

Is there a reason you only added CFQ support for the ROM and not also for the SD-Card? At least that's what the script is doing (deadline for the SD-Card, cfq for the ROM).

Edit:

Oh wait, the script isn't doing anything. I pushed the required stuff manually with adb rather than installing the zip. I also took care about the rights, correct users and groups etc. But somehow I can't get the cfq scheduler working.

# cat /sys/block/mtdblock0/queue/scheduler

cat /sys/block/mtdblock0/queue/scheduler

noop anticipatory [deadline]
Manual insmod:
# insmod /system/lib/modules/cfq-iosched.ko

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

insmod: can't insert '/system/lib/modules/cfq-iosched.ko': invalid module format

Edit2:

Somehow the module I pushed was either corrupted or not for my kernel (default MCR8 kernel). The size is the same as the module I already had on my PC but the hash was different. Pushed that module and cfq works now. But still the question is, why not to use cfq for the SD-Card as well?

Edited by System of a pWne!^
Link to comment
Share on other sites

Guest zombiefly
# cat /sys/block/mtdblock0/queue/scheduler

cat /sys/block/mtdblock0/queue/scheduler

noop anticipatory [deadline]

i see the same results as you after installing the zips via recovery :P

Link to comment
Share on other sites

Guest System of a pWne!^
i see the same results as you after installing the zips via recovery :P

Try this cfq-module. Push it via adb push cfq-iosched.ko /system/lib/modules in recovery mode after you have mounted the system partition.

Link to comment
Share on other sites

Guest lubo777
Undervolt and CFQ sched are being prepared.

* CFQ IO Sched attached. The archive is not signed as issues were reported with signed files. I can't test it here. Waiting for your feedback. Normally you should see

'CFQ scheduler support activated for /sys/block/mtdblock' in logs.

If you're familiar with Linux you may try:

cat /sys/block/mtdblock0/queue/scheduler

The result of the above command should contain 'cfq' text.

* Undervolt (http://forum.xda-developers.com/showpost.php?p=8023043&postcount=1)

Credits: XDA's FloHimself and iscaela for modules.

hmmm, very strange I flashed it twice just in case, but the CFQ IO sheduler is missing and the module isnt loaded automagically ...

# cat /sys/block/mtdblock0/queue/scheduler

noop anticipatory [deadline]

# lsmod

bcm4329 202947 0 - Live 0xbf015000

cpufreq_powersave 668 1 - Live 0xbf012000

cpufreq_interactive 2368 0 - Live 0xbf00c000

undervolt 2644 0 - Live 0xbf006000

perflock_disable 752 0 - Live 0xbf000000

BUT .. the module and the init.d script are there :P

# ls system/lib/modules

bcm4329.ko cpufreq_interactive.ko perflock_disable3215.ko undervolt.ko

cfq-iosched.ko cpufreq_powersave.ko tun.ko

# ls -all /etc/init.d/98*

-rwxr-xr-x 1 0 2000 153 Aug 1 2008 /etc/init.d/98ase

-rwxr-xr-x 1 0 2000 2577 Aug 1 2008 /etc/init.d/98mods00

-rwxr-xr-x 1 0 2000 2137 Aug 1 2008 /etc/init.d/98mods01_screenstate_scaling

-rwxr-xr-x 1 0 0 856 Aug 1 2008 /etc/init.d/98mods02cfq-iosched

The problem is with the module version ...

If I load it manualy I have got:

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

insmod: can't insert '/system/lib/modules/cfq-iosched.ko': invalid module format

dmesg

...

[ 679.698944] cfq_iosched: version magic '2.6.32.15-g6a358a9 preempt mod_unload ARMv7 ' should be '2.6.32.15-gf9c0527 preempt mod_unload ARMv7 '

In R8 the kernel version is not 2.6.32.15-g6a358a9, but 2.6.32.15-gf9c0527

Link to comment
Share on other sites

hmmm, very strange I flashed it twice just in case, but the CFQ IO sheduler is missing and the module isnt loaded automagically ...

BUT .. the module and the init.d script are there :P

The problem is with the module version ...

If I load it manualy I have got:

In R8 the kernel version is not 2.6.32.15-g6a358a9, but 2.6.32.15-gf9c0527

Fixed kernel version issue. Please re-download and let me know if is working.

Link to comment
Share on other sites

What is that CFQ thingy for? Do I have to flash both files if I want the undervolt?

Taken directly from Linux kernel:

"The CFQ I/O scheduler tries to distribute bandwidth equally │

│ among all processes in the system. It should provide a fair │

│ and low latency working environment, suitable for both desktop │

│ and server systems. │

│ │

│ This is the default I/O scheduler."

More info here:

http://kerneltrap.org/node/580

http://en.wikipedia.org/wiki/CFQ

No, there's no need to flash both.

Link to comment
Share on other sites

How can I tell if CFQ is active? :)

Also when I ran:

ls -all /etc/init.d/

from within adb shell, it keeps telling me the directory doesn't exist? :P

what is the output of 'lsmod'?

Edited by Sub501
Link to comment
Share on other sites

what is the output of 'lsmod'?

adb shell lsmod

adb server is out of date.  killing...

* daemon started successfully *

bcm4329 210375 0 - Live 0xbf01f000

cfq_iosched 17976 1 - Live 0xbf018000

cpufreq_powersave 668 0 - Live 0xbf012000

cpufreq_interactive 2368 1 - Live 0xbf00c000

perflock_disable 752 0 - Live 0xbf006000

undervolt 2644 0 - Live 0xbf000000

Nice, it's loaded, so it's working? :P

Link to comment
Share on other sites

adb shell lsmod

adb server is out of date.  killing...

* daemon started successfully *

bcm4329 210375 0 - Live 0xbf01f000

cfq_iosched 17976 1 - Live 0xbf018000

cpufreq_powersave 668 0 - Live 0xbf012000

cpufreq_interactive 2368 1 - Live 0xbf00c000

perflock_disable 752 0 - Live 0xbf006000

undervolt 2644 0 - Live 0xbf000000

Nice, it's loaded, so it's working? :P

cat /sys/block/mtdblock0/queue/scheduler

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.