Jump to content

pulse mini kernel source - has anyone built a kernel with it?


Guest kallt_kaffe

Recommended Posts

Guest kallt_kaffe

The pulse mini kernel source has been available for some time now and I've tried using it to compile a kernel for my U8100 and it boots but it seems it can't read the battery status so it turns the phone of after 30 seconds. I'm starting to suspect that the battery driver in the pulse mini source is not compatible with the U8100 but I'd like to hear if anyone of you pulse mini guys have had any success with the released source.

Link to comment
Share on other sites

Guest kallt_kaffe

Just some info...

Huawai has released a kernel source today... guess what. It's the same code that was released by T-mobile in June. So far Huawei has released two(2) kernel sources and both are identical to what has allready been released by T-mobile.

Other models like the U8100, U8120 and U8150 has not had their sources released. Huawei has so far accomplished NOTHING that wasn't allready done by T-mobile UK.

I have to write off some of my frustration here because, guess what, the Huawei forum has regulations that forbids a lot of thing, like critisizing their company, comparing their company with others, critisize the socialist system (yes, it's true) etc.. They even censor the word "censor"... Getting them to release a source (that isn't allready available) is like trying to milk a stone...

Nontheless, if anyone wants to compile the pulse mini source code to run it on an U8100 or U8120 here's what you need to do:

1. Get the /proc/config.gz from the phone you want to compile a kernel for.

2. In your .config (created from /proc/config.gz) change:

CONFIG_UEVENT_HELPER_PATH=""

to:

CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"

(this is needed to get the battery status to work.

3. In drivers/i2c/chips/akm8973.c

Change:

static struct miscdevice akm_aot_device = {
.minor = MISC_DYNAMIC_MINOR,
.name = "compass_aot",
.fops = &akm_aot_fops,
};

static struct miscdevice akmd_device = {
.minor = MISC_DYNAMIC_MINOR,
.name = "compass_dev",
.fops = &akmd_fops,
};[/code] to:
[code]static struct miscdevice akm_aot_device = {
.minor = MISC_DYNAMIC_MINOR,
.name = "akm8973_aot",
.fops = &akm_aot_fops,
};

static struct miscdevice akmd_device = {
.minor = MISC_DYNAMIC_MINOR,
.name = "akm8973_dev",
.fops = &akmd_fops,
};

That's it... If anyone gets as far as creating a zImage and want to proceed making a bootable boot.img, let me know. Thanks to bmxninja in the swedroid forums I have well-working tools for splitting a boot.img, replace the kernel, and create a new boot.img.

I also have a modified acpuclock.c with the overclocking code ready to share if anyone wants it.

Edited by kallt_kaffe
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.