Jump to content

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


Guest phhusson

Recommended Posts

Guest Piter1225
Must I flash your mod_100.15 update?

Do not know if you tried to flashed OC kernel in 1.100.15.FET original ROM?

Thank you for your advising ! :lol: :D

I use it with mod and it works O.o

Edited by Piter1225
Link to comment
Share on other sites

Guest sunshine333

Two questions:

Does a nandroid backup include boot?

and

Has anybody successfully used the 1170mhz patch, or is it just for novelty?

Link to comment
Share on other sites

Guest Quipeace
Two questions:

Does a nandroid backup include boot?

and

Has anybody successfully used the 1170mhz patch, or is it just for novelty?

Chances are (very) low the 1.2GHz kernel would boot, but perhaps there's a liquid out there that can match the nexuses :lol:.

Nandroid does backup boot, so yes.

Link to comment
Share on other sites

Guest bahamut54321

Hey guys.

I'm just wondering, how can i go back to the original 768mhz Kernel ?

Cuz i tried google navigation yesterday in my car while the phone was plugged in the lighter socket.

The phone heated up (setCPU reported something like 45°C) and the battery icon in the notification bar had an exclamation mark in it (i don't know what it means but it doesn't look good)

Maybe the 920mhz Kernel is responsible for this overheating matter ? What do you guys think about this ?

Link to comment
Share on other sites

Guest csics5
Hey guys.

I'm just wondering, how can i go back to the original 768mhz Kernel ?

Cuz i tried google navigation yesterday in my car while the phone was plugged in the lighter socket.

The phone heated up (setCPU reported something like 45°C) and the battery icon in the notification bar had an exclamation mark in it (i don't know what it means but it doesn't look good)

Maybe the 920mhz Kernel is responsible for this overheating matter ? What do you guys think about this ?

The exlamation mark means that the battery reaches the maximum temperature. The 45C is the maximum temperature, defined in kernel if I remember good.

Link to comment
Share on other sites

Guest bahamut54321
The exlamation mark means that the battery reaches the maximum temperature. The 45C is the maximum temperature, defined in kernel if I remember good.

Is it dangerous if i keep the phone plugged in ? while the max temp is reached ?

Link to comment
Share on other sites

Guest csics5
Is it dangerous if i keep the phone plugged in ? while the max temp is reached ?

I have probed to search something in the source, but I didn't find anything yet about what's happening in this case at kernel level, the kernel changes the battery status, and sends a battery error log, this is sure. At Android level I don't no what's happening in this case.

I think now that it's better to remove the charger and leave the phone alone for awhile.

Edited by csics5
Link to comment
Share on other sites

Guest Shange

Hmm got worse battery lifetime with LCR1.6 883mhz patch :-(

With clean LCR1.6 i got 48hours. With 883mhz patch i get ~24hours. -25% battery during 9hours of sleep. Before i got minus 1% per hour. doh...

Any body got same problem and have solution?

Link to comment
Share on other sites

Guest azuwis

It seems SVS causes random reboots.

I cloned phh's kernel tree, reverted SVS commit, now 920 MHz worked quite stable for two days.

Link to comment
Share on other sites

Guest Splux
Hmm got worse battery lifetime with LCR1.6 883mhz patch :-(

With clean LCR1.6 i got 48hours. With 883mhz patch i get ~24hours. -25% battery during 9hours of sleep. Before i got minus 1% per hour. doh...

Any body got same problem and have solution?

I got 883MHz kernel for LCR1.6, and I recharged my phone for ~36h ago, and got more then 50% battery to go.

So I think you've done something weird :3

Link to comment
Share on other sites

Guest Shange
I got 883MHz kernel for LCR1.6, and I recharged my phone for ~36h ago, and got more then 50% battery to go.

So I think you've done something weird :3

Are you using profiles in setCPU? How does the profiles settings look like.

Link to comment
Share on other sites

Guest Dona'
It seems SVS causes random reboots.

I cloned phh's kernel tree, reverted SVS commit, now 920 MHz worked quite stable for two days.

What is SVS ?

Link to comment
Share on other sites

Guest xaueious

Can't we just have 1 kernel for all? Just use Koush's anykernel script. It describes it here:

http://wiki.cyanogenmod.com/index.php/How_...el_port_for_CM5

Wow I just discovered this. So just checking, the kernel source for CPU speeds is defined in acpuclock-8x850a.c?

460800 is the fastest clock speed at 1v then?

Which kernel is built to this right now? ...

My setcpu.txt then (nvm. Autodetect works)

I see these frequencies available:

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

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

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

	{ 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, 1050},

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

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

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

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

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

	{ 0, 806400, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x15, 1175},

	{ 0, 844800, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x16, 1200},

	{ 0, 883200, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x17, 1225},

	{ 0, 921600, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x18, 1275},

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

	{ 1, 998400, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x1A, 1275},

	{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
Compared to what pershoot is using for the Nexus One, we are still setting voltages a bit higher than we can achieve for the lower frequencies. We are already at lower operating voltages than the Nexus One for the mid range frequencies. We should also be able to define 128000 at 0.95v for undervolting. If the CPU is the same I don't see why we can't just use this table for reference :) http://github.com/pershoot/nexus-kernel/bl...lock-scorpion.c
 { 19200, CCTL(CLK_TCXO, 1), SRC_RAW, 0, 0, 950 },

{ 128000, CCTL(CLK_TCXO, 1), SRC_AXI, 0, 0, 950 },

{ 245000, CCTL(CLK_MODEM_PLL, 1), SRC_RAW, 0, 0, 950 },

{ 256000, CCTL(CLK_GLOBAL_PLL, 3), SRC_RAW, 0, 0, 950 },

{ 384000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0A, 0, 975 },

{ 422400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0B, 0, 1000 },

{ 460800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0C, 0, 1025 },

{ 499200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0D, 0, 1050 },

{ 537600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0E, 0, 1050 },

{ 576000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0F, 0, 1075 },

{ 614400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x10, 0, 1100 },

{ 652800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x11, 0, 1125 },

{ 691200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x12, 0, 1150 },

{ 729600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x13, 0, 1175 },

{ 768000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x14, 0, 1200 },

{ 806400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x15, 0, 1225 },

{ 844800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x16, 0, 1225 },

{ 883200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x17, 0, 1250 },

{ 921600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x18, 0, 1275 },

{ 960000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x19, 0, 1275 },

{ 998400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1275 },

{ 1036800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1B, 0, 1275 },

{ 1075200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1C, 0, 1275 },

{ 1113600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1D, 0, 1275 },

Edited by xaueious
Link to comment
Share on other sites

Guest Riekr

whoa! great observation!

i would like to try to compile a custom kernel (i'm a long time linux user) but can someone point me to a tutorial for cross compiling and build boot.img?

i'm asking here since i don't have internet connection at home and don't have time to search a lot at work :| i've seen a lot of informations in this thread but nothing summarized (at least for my searches)

thanks

Link to comment
Share on other sites

Guest MrVanes
whoa! great observation!

i would like to try to compile a custom kernel (i'm a long time linux user) but can someone point me to a tutorial for cross compiling and build boot.img?

i'm asking here since i don't have internet connection at home and don't have time to search a lot at work :| i've seen a lot of informations in this thread but nothing summarized (at least for my searches)

thanks

+1

Link to comment
Share on other sites

Guest gengaro86
whoa! great observation!

i would like to try to compile a custom kernel (i'm a long time linux user) but can someone point me to a tutorial for cross compiling and build boot.img?

i'm asking here since i don't have internet connection at home and don't have time to search a lot at work :| i've seen a lot of informations in this thread but nothing summarized (at least for my searches)

thanks

Quite easy: grab a xcompiler (I use the ones from CodeSourgery) for ARM-EABI architecture, and then make with the CROSS_COMPILE environment variable set to the path of the bin of the cross-compiler you've just downloaded.

After the kernel is done, take it from arch/arm/zImage and build the boot.img with the mkbootimg binary.

Link to comment
Share on other sites

Guest Riekr
Quite easy: grab a xcompiler (I use the ones from CodeSourgery) for ARM-EABI architecture, and then make with the CROSS_COMPILE environment variable set to the path of the bin of the cross-compiler you've just downloaded.

After the kernel is done, take it from arch/arm/zImage and build the boot.img with the mkbootimg binary.

this is payed app, isn't it? can someone point me to a free/oss/trial one? does a gcc cross compiler for arm (which is the correct one?) exists?

Link to comment
Share on other sites

Guest Riekr
for me not work..

mm.. actually i started using apps2sd with stock kernel and after that started using 880Mhz kernel.

i've activated apps2sd via latest malez recovery

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.