Jump to content

Custom kernel for Éclair (LCR v1.7 and 1.6)


Guest phhusson

Recommended Posts

Guest gengaro86
download started, what about kernel sources? wich is the correct version to download? (i can use git/cvs/whatever)

thanks for your patience! :)

grazie! :D

Take a look at the gitorious git repo maintained by phhusson (http://gitorious.org/~phhusson branch is LiquidE IIRC).

A brand new kernel developer would be a great thing in this community =), the more we are, the better we work.

Link to comment
Share on other sites

Guest Riekr
Take a look at the gitorious git repo maintained by phhusson (http://gitorious.org/~phhusson branch is LiquidE IIRC).

A brand new kernel developer would be a great thing in this community =), the more we are, the better we work.

since this is my first experience with a cross compiler i have some trouble..

i downloaded git sources (git clone http://git.gitorious.org/liquide/kernel.git kernel)

installed sourcery xcompiler (setted up paths etc.)

fixed kernel makefile (CROSS_COMPILE ?= arm-none-eabi-)

but when i try a cs-make under the kernel sources i get:

P:\Projects\LiquidE\kernel>cs-make
Makefile:1213: *** multiple target patterns. Stop.
[/codebox]

any hint? should i fix something else inside makefile?

Link to comment
Share on other sites

Guest Riekr

i can run make menuconfig under cygwin but at the end i get:

  HOSTCC  scripts/basic/hash

  CC	  kernel/bounds.s

fixdep:

: No such file or directory

make[1]: *** [kernel/bounds.s] Error 2

make: *** [prepare0] Error 2

i think this is related to the fact it cannot be cross compiled under windows/cygwin, isn't it?

oterwhise i'll have to wait to go home :)

Link to comment
Share on other sites

Guest xaueious

Okay my post about the frequencies is wrong, kind of. Anyways you guys can figure it out.

Everyone who wants to build the kernel look at: http://wiki.cyanogenmod.com/index.php/How_...d_a_kernel_port

I got the cross-compile tools from an older repo sync and I don't know how to isolate them. They are quite big.

Then the boot.img pack and unpack scripts from here:

http://android-dls.com/wiki/index.php?titl...ack_Boot_Images

Finally, modify the pack script to use liquidmkbootimg 0.2 instead of mkbootimg. That's it!

You can unpack and play with the ramdisk, and stuff..

Edited by xaueious
Link to comment
Share on other sites

Guest xaueious

Sorry guys for the bump, but I'm running into some trouble with acpuclock-8x50.c

I have successfully compiled my custom kernel, and have arrived at what I think are satisfactory settings for undervolting, much based on pershoot's kernel sources. I also found some instability at 998 MHz and 1.3. Not wanting to go over 1.3 v, I have decided to drop the CPU down to 960 MHz, and it's been rock solid ever since.

These values should improve battery life. It still needs testing, but someone build this and give it a shot. I already built this an am using it. I posted it in the thread here:

http://android.modaco.com/content/acer-liq...e/#entry1334632

I can't seem to add any frequencies. Here's my latest acpu_freq_tbl_768:

struct clkctl_acpu_speed acpu_freq_tbl_768[] = {

	{ 0, 19200, ACPU_PLL_TCXO, 0, 0, 0, 0, 14000, 0, 0, 950},

	{ 0, 128000, ACPU_PLL_1, 1, 5, 0, 0, 14000, 2, 0, 950},

	{ 1, 245760, ACPU_PLL_0, 4, 0, 0, 0, 29000, 0, 0, 950},

	/* Update AXI_S and PLL0_S macros if above row numbers change. */

	{ 1, 384000, ACPU_PLL_3, 0, 0, 0, 0, 58000, 1, 0xA, 975},

	{ 0, 422400, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xB, 1000},

	{ 0, 460800, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xC, 1000},

	{ 0, 499200, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xD, 1025},

	{ 0, 537600, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xE, 1050},

	{ 1, 576000, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xF, 1075},

	{ 0, 614400, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x10, 1100},

	{ 0, 652800, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x11, 1125},

	{ 0, 691200, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x12, 1150},

	{ 0, 729600, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x13, 1175},

	{ 1, 768000, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x14, 1200},

	{ 1, 960000, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x19, 1300},

	{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

};

I did run into a roadblock of sorts: I find that adding new frequencies beyond the one after 768000 does not work.

Edited by xaueious
Link to comment
Share on other sites

Guest DasTisu

When running any of these kernel in recovery I get:

E: No signature (6 files)

E: Verification failed

I have tried with both LCR 1.7, LCR 1.71, 1.100.05 and 1.100.39 all combinations. Unmounting all FS doesn't help.

Link to comment
Share on other sites

Guest PhilNelwyn
When running any of these kernel in recovery I get:

E: No signature (6 files)

E: Verification failed

I have tried with both LCR 1.7, LCR 1.71, 1.100.05 and 1.100.39 all combinations. Unmounting all FS doesn't help.

In Malez recovery ?

There is a menu item to flash it without verifying signature

Link to comment
Share on other sites

Guest csics5
I did run into a roadblock of sorts: I find that adding new frequencies beyond the one after 768000 does not work.

What do you mean exactly? What did you do and what didn't work?

Link to comment
Share on other sites

Guest xaueious
What do you mean exactly? What did you do and what didn't work?

I tried adding in multiple frequencies after 768000 in the kernel source code, and the kernel did not recognize the new frequencies.

Link to comment
Share on other sites

Guest csics5
I tried adding in multiple frequencies after 768000 in the kernel source code, and the kernel did not recognize the new frequencies.

How did you do that exactly? Could you show me the exact code? I think you made something wrong.

Link to comment
Share on other sites

Guest Rajit

Ok, some info for all those curious...

I run LCR 1.7 flashed over the 1.100.39 bin. As some of you might be knowing, there was an issue with lcr on this rom because of which there was no backlight for some part of the boot.

I flashed this kernel (920 MHz) via the recovery (no sign check).

Now my liquid is running VERY fast... and the problem with no backlight during some part of boot is also fixed, and not a single crash till now... All in all, I'm very happy!!!

Thanks a ton phh!!!

Link to comment
Share on other sites

Guest BlackMagician

You just convinced me to try it out and it worked! Then I decided to go one further and try the 998MHz flavour. It now runs like the wind! Thanks phh!

UPDATE - Scratch that. It was fast for 20 minutes but now it's hanging up all the time! reverting back to 920MHz...

Ok, some info for all those curious...

I run LCR 1.7 flashed over the 1.100.39 bin. As some of you might be knowing, there was an issue with lcr on this rom because of which there was no backlight for some part of the boot.

I flashed this kernel (920 MHz) via the recovery (no sign check).

Now my liquid is running VERY fast... and the problem with no backlight during some part of boot is also fixed, and not a single crash till now... All in all, I'm very happy!!!

Thanks a ton phh!!!

Edited by BlackMagician
Link to comment
Share on other sites

Guest bbpoux
You just convinced me to try it out and it worked! Then I decided to go one further and try the 998MHz flavour. It now runs like the wind! Thanks phh!

UPDATE - Scratch that. It was fast for 20 minutes but now it's hanging up all the time! reverting back to 920MHz...

Try the 998 Mhz Kernel Without Touch screen patch. It's much more stable than the one with optimisation.

The download link is : http://acer-liquid-froyo.googlecode.com/fi...-998-lcr1.7.zip

Edited by bbpoux
Link to comment
Share on other sites

Guest Rajit
Try the 998 Mhz Kernel Without Touch screen patch. It's much more stable than the one with optimisation.

The download link is : http://acer-liquid-froyo.googlecode.com/fi...-998-lcr1.7.zip

Well can the touch screen patch be accomodated into the 998 MHz kernel without losing the stability??.. cuz once uve got used to the increased sensitivity, reverting back to simple mode is just painful!!!

Link to comment
Share on other sites

Guest bbpoux
Well can the touch screen patch be accomodated into the 998 MHz kernel without losing the stability??.. cuz once uve got used to the increased sensitivity, reverting back to simple mode is just painful!!!

You can apply the patch for touch screen sensitivity with Gscript lite (Download from the market).

(After installing Gscript, open it and launch the patch for sensitivity (It is on the SD after installing LCR 1.7))

The patch for the touch screen included in the 998 Mhz Kernel is not for sensitivity but for "error's correction --> like dona's say

Edited by bbpoux
Link to comment
Share on other sites

Guest Rajit
I think the TS patch is the multitouch fix not the sensitivity.

i get it now.. flashed it... will test now, and comment later on the performance and stability

Link to comment
Share on other sites

Guest azuwis
I can't seem to add any frequencies. Here's my latest acpu_freq_tbl_768:

struct clkctl_acpu_speed acpu_freq_tbl_768[] = {

	{ 0, 19200, ACPU_PLL_TCXO, 0, 0, 0, 0, 14000, 0, 0, 950},

	{ 0, 128000, ACPU_PLL_1, 1, 5, 0, 0, 14000, 2, 0, 950},

	{ 1, 245760, ACPU_PLL_0, 4, 0, 0, 0, 29000, 0, 0, 950},

	/* Update AXI_S and PLL0_S macros if above row numbers change. */

	{ 1, 384000, ACPU_PLL_3, 0, 0, 0, 0, 58000, 1, 0xA, 975},

	{ 0, 422400, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xB, 1000},

	{ 0, 460800, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xC, 1000},

	{ 0, 499200, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xD, 1025},

	{ 0, 537600, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xE, 1050},

	{ 1, 576000, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xF, 1075},

	{ 0, 614400, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x10, 1100},

	{ 0, 652800, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x11, 1125},

	{ 0, 691200, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x12, 1150},

	{ 0, 729600, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x13, 1175},

	{ 1, 768000, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x14, 1200},

	{ 1, 960000, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x19, 1300},

	{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

};

I tried this freq_tbl, it seems pretty stable, no problem for several days.

Have you tried [email protected]?

Link to comment
Share on other sites

Guest bbpoux
Looks like it worked! Thanks mate!

Your welcome,

Any news, does it work again :)

For example, me, i have random reboot with 998 Mhz + optimisation and 0 reboot with 998 Mhz without Optimisation :D

Link to comment
Share on other sites

Guest BlackMagician

Uhm yeah.. I have random reboots, even at 920MHz. Could be it's cause of the 1.100.39 ROM together with LCR1.7. I have the 998MHz version installed on my wife's Liquid, with LCR1.7 and the older 1.100.05.. It doesn't give her any hassle at all. :P

It's fast, that's for sure, but the reboots are getting a bit too much now! I'll have to stick with a slower speed until something new comes along!

Your welcome,

Any news, does it work again :)

For example, me, i have random reboot with 998 Mhz + optimisation and 0 reboot with 998 Mhz without Optimisation :D

Link to comment
Share on other sites

Guest BlackMagician

Trying the plain 920 now... :) So far so good!

Uhm yeah.. I have random reboots, even at 920MHz. Could be it's cause of the 1.100.39 ROM together with LCR1.7. I have the 998MHz version installed on my wife's Liquid, with LCR1.7 and the older 1.100.05.. It doesn't give her any hassle at all. :D

It's fast, that's for sure, but the reboots are getting a bit too much now! I'll have to stick with a slower speed until something new comes along!

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.