Jump to content

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


Recommended Posts

Guest xaueious
Posted

Well we redid the interactive cpufreq patch, and phhusson also has had a shot at it. But it's a little weird and it might be another issue.

My custom kernel results in kpanic

<3>[  100.024315] init: untracked pid 232 exited

<1>[  119.464875] Unable to handle kernel NULL pointer dereference at virtual address 00000000

<1>[  119.464901] pgd = 80004000

<1>[  119.464913] [00000000] *pgd=00000000

<4>[  119.464935] Internal error: Oops: 0 [#1] PREEMPT

<4>[  119.464948] Modules linked in: dhd

<4>[  119.464974] CPU: 0	Not tainted  (2.6.29.6 #15)

<4>[  119.464991] PC is at 0x0

<4>[  119.465026] LR is at cpufreq_idle+0x18/0x8c

<4>[  119.465041] pc : [<00000000>]	lr : [<80253464>]	psr: 60000013

<4>[  119.465049] sp : 8049bf88  ip : 8049bfa0  fp : 8049bf9c

<4>[  119.465063] r10: 00000000  r9 : 510f00f2  r8 : 200294ec

<4>[  119.465078] r7 : 804db5c4  r6 : 80034fd8  r5 : 8049a000  r4 : 808f37b8

<4>[  119.465093] r3 : 00000000  r2 : 00000000  r1 : a0000013  r0 : 00000001

<4>[  119.465110] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

<4>[  119.465128] Control: 10c5787d  Table: 3f3d4019  DAC: 00000015

<4>[  119.465142] Process swapper (pid: 0, stack limit = 0x8049a2e8)

<4>[  119.465158] Stack: (0x8049bf88 to 0x8049c000)

<4>[  119.465170] bf80:				   8025344c 8049a000 8049bfbc 8049bfa0 80034fa8 80253458 

<4>[  119.465230] bfa0: 808e6780 00000000 8002aea8 8049eb10 8049bfcc 8049bfc0 8035a2e8 80034f74 

<4>[  119.465285] bfc0: 8049bff4 8049bfd0 8000897c 8035a284 80008494 00000000 00000000 8002aeac 

<4>[  119.465339] bfe0: 10c5387d 804db6b0 00000000 8049bff8 20008034 80008720 00000000 00000000 

<4>[  119.465395] Backtrace: 

<4>[  119.465410] [<8025344c>] (cpufreq_idle+0x0/0x8c) from [<80034fa8>] (cpu_idle+0x40/0x70)

<4>[  119.465454]  r5:8049a000 r4:8025344c

<4>[  119.465474] [<80034f68>] (cpu_idle+0x0/0x70) from [<8035a2e8>] (rest_init+0x70/0x84)

<4>[  119.465516]  r7:8049eb10 r6:8002aea8 r5:00000000 r4:808e6780

<4>[  119.465548] [<8035a278>] (rest_init+0x0/0x84) from [<8000897c>] (start_kernel+0x268/0x2b8)

<4>[  119.465585] [<80008714>] (start_kernel+0x0/0x2b8) from [<20008034>] (0x20008034)

<4>[  119.465617] Code: bad PC value.

<0>[  119.465647] Kernel panic - not syncing: Fatal exception

I'll wait on this a little.

By the way guys, learned that using binder.c from a newer kernel is a bad bad bad idea. It boots but it does some really odd things.

Guest xaueious
Posted (edited)

Apparently the CodeAurora forums board files for 2.6.29 don't allocate any memory for ram_console, and ram_console_device nor it's resources are defined under platform_device? Or something else missing that makes the last_kmsg not there in userland?

Just a future note for someone who knows how to modify the memory structure and add the last_kmsg feature for debugging ROMs.

Would be nice feature?

Edited by xaueious
Guest Calcvictim
Posted

so do these kernell work on 1.8 since they're all on top of the 39 rom

Guest Shange
Posted (edited)

Is there any differences in performance, battery drain etc when using these two kernels ?

I understand that they are different but is it noticable in bad/good way?

- For LCR1.7 998MHz

- For LCR1.7 998MHz @ 1.3V + static voltage scaling + ramzswap + TS fix (im using this ontop of 1.100.39 +LCR1.8)

Edited by Shange
Guest Elisha82
Posted
Is there any differences in performance, battery drain etc when using these two kernels ?

I understand that they are different but is it noticable in bad/good way?

- For LCR1.7 998MHz

- For LCR1.7 998MHz @ 1.3V + static voltage scaling + ramzswap + TS fix (im using this ontop of 1.100.39 +LCR1.8)

I believe that the first one is default voltage for 998mhz and the second one is 1.3v for 998mhz.

Guest L0cu7us
Posted (edited)

i hope that when you say "apply kernel XYZ to lcr 1.xx (or other rom)", you mean ONLY THE KERNEL, because as i have see

kernel != boot.img...

eg, the lcr 1.8 rom boot.img have into its ramdisk also some initialization script that doesn't exists in others boot.img !

so i think that a rom MUST use its own kernels/boot.img studied explicity for its own boot procedure.

am i right ?

Edited by L0cu7us
Guest xaueious
Posted (edited)
i hope that when you say "apply kernel XYZ to lcr 1.xx (or other rom)", you mean ONLY THE KERNEL, because as i have see

kernel != boot.img...

eg, the lcr 1.8 rom boot.img have into its ramdisk also some initialization script that doesn't exists in others boot.img !

so i think that a rom MUST use its own kernels/boot.img studied explicity for its own boot procedure.

am i right ?

Kernel is packed in with boot.img. http://android-dls.com/wiki/index.php?titl...recovery_images

But our init scripts are pretty much identical at this point, so it doesn't really matter for the Eclair ROMs since they are all based off the same Acer Liquid/Stream dumps. So flash away.

AOSP builds and phhusson's Froyo are different.

Edited by xaueious
Guest phhusson
Posted
I believe that the first one is default voltage for 998mhz and the second one is 1.3v for 998mhz.

The default voltage being 1.3V... :(

Actually for 998MHz, there is no difference, the difference is that on all frequencies <= 880MHz, it stays at 1.3V for default voltage, and it lowers for the SVS kernel.

Guest L0cu7us
Posted
Kernel is packed in with boot.img. http://android-dls.com/wiki/index.php?titl...recovery_images

But our init scripts are pretty much identical at this point, so it doesn't really matter for the Eclair ROMs since they are all based off the same Acer Liquid/Stream dumps. So flash away.

AOSP builds and phhusson's Froyo are different.

i don't think so, for example, xian boot.img is different from lcr 1.8 boot.img....

lcr 1.8 initialize its script calling (from ramdisk) /system/bin/autostart that initialize also ramzswap and many other things, the boot.img from xian initialize ramzswap from /etc/init.d/ramzswap.sh script...

Guest xaueious
Posted

Ya but that script isn't all that critical :(

  • 2 weeks later...
Guest astuermer
Posted (edited)
I made one, check

http://www.mediafire.com/?3m4xj2gdyow

Flash using .bat file

Hi there

I tried this one, OC works - but it seems the TS hack isn't included here, am I right? ;)

So I tried these two here:

http://code.google.com/p/acer-liquid-froyo...mp;can=2&q=

and

http://code.google.com/p/acer-liquid-froyo...mp;can=2&q=

The first one does wrong touchscreen handling (I click "2" and "3" is pressed).

The second one results in continous boot-loops.

Update: Found out, my Liquid keeps rebooting if CPU speed is higher then 883 MHz.

Any idea or help?

An 883 MHz Kernel with TS and netfilter would be perfect :D

I am currently on stock/rooted 1.100.09 ROM and don't want to change this :D

Edited by astuermer
  • 2 weeks later...
Posted (edited)

Hi, I´m looking for 960MHz kernel without TS fix, SVS (with or without ramzswap, it should be useful, but it is not a necessity)which can be used with official ROM...

Now, Im using 920mhz kernel on 1.100.63 (kernel designed for 1.100.15) without TSfix,SVS,ramzswap and it runs perfectly for me, but I tried CM6 Froyo and also 960mhz was OK for my liquid, so I´m power hungry ;) (998 doesnt boot for me or immed. freeze/reboot)

- Unfortunatelly, I cant use any of kernels with TS,svs, maybe also ramzswap, because, and really dont know why, It causing me random reboots, not depending on CPU freq.

Is here any "god blessed" dev who can compile it? Thx :huh:

Edited by Nesli
Posted
Hi, I´m looking for 960MHz kernel without TS fix, SVS (with or without ramzswap, it should be useful, but it is not a necessity)which can be used with official ROM...

Now, Im using 920mhz kernel on 1.100.63 (kernel designed for 1.100.15) without TSfix,SVS,ramzswap and it runs perfectly for me, but I tried CM6 Froyo and also 960mhz was OK for my liquid, so I´m power hungry ;) (998 doesnt boot for me or immed. freeze/reboot)

- Unfortunatelly, I cant use any of kernels with TS,svs, maybe also ramzswap, because, and really dont know why, It causing me random reboots, not depending on CPU freq.

Is here any "god blessed" dev who can compile it? Thx :huh:

If ure using 1.8, then try the boot.img in my signature, i don't know whether or not it has ts, svs but its really good and stable, and its at 960

let me know about ure experience

Posted

Perfect, thx for a million :huh:

It works for me, I hope that no random reboots will appear ;)

Do you know how to enable ramzswap? When I type free in terminal, no swap is shown ?:0

Posted (edited)

i think there's a script for that included with 1.8

and yeah, know that this boot doesn't have superuser with it (because it was being constantly updated, l0cu7us decided to remove it from boot)... u can install the latest version from here

Edited by Rajit
Posted

Thanks for info, but....Damn, 960mhz and CPU intensive app -> freeze ;)( Do you know, does this kernel have [email protected] or 1.3V ? Cause [email protected] was stable for me on Froyo...Anyway, I think Im reaching the edge of Snapdragon installed on my Liquid :huh:

Posted
Thanks for info, but....Damn, 960mhz and CPU intensive app -> freeze ;)( Do you know, does this kernel have [email protected] or 1.3V ? Cause [email protected] was stable for me on Froyo...Anyway, I think Im reaching the edge of Snapdragon installed on my Liquid :huh:

oooo, well this had bits from xian's 1.0 boot as well as 1.8 and it was compiled by l0cu7us.. xian didn't mention whether oc boot for his rom was at 1.25 or 1.3, and since he's away for sometime, i guess u better ask l0cu7us...

Guest mang74
Posted

Noob question.

How much faster can i expect my LCR 1.8 A1 Liquid to be with this kernel? linpack? Scrolling phone list? Normal usage? Etc?

How do i uninstall it?

Tnx

Guest HustlinDaily
Posted

I think I was getting Linpack scores in the 7.x with the 998MHz when I had LCR 1.8.

Guest phhusson
Posted
Noob question.

How much faster can i expect my LCR 1.8 A1 Liquid to be with this kernel? linpack? Scrolling phone list? Normal usage? Etc?

How do i uninstall it?

Tnx

Don't expect anything but benchmarks to be actually faster. Perhaps some software video players (including flash) that framedrops at 768MHz might run at 1GHz, but that's mostly all.

Posted

Are you the answer to my prayers? I have the freeze problem after making a phone call and a "?" is displayed on battery indicator. Others have the same problems too: Acer Liquid E - Power/Battery Problems

I am crossing my finger that your ?undervolted?: 1.3V with overclocked: 998Mhz kernel should keep on working. I have it on setcpu to 576-998, on a lcr 1.8.0.1.

The way I see it, the problem is the hardware( at least my liquid e) have a discharging problem from an immediate low to high charge. Because games works and neocore works until the battery runs out, and only freezes in phone calls and sometime web browsing. Actually, while it freezes I can still speak through my call, but take the battery out just to hang up.

I'm testing it. Please please, oh please work.

In any case thank you very much.

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.