Jump to content


Photo

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


  • Please log in to reply
2 replies to this topic

#1
kallt_kaffe

kallt_kaffe

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,185 posts
  • Gender:Male
  • Devices:Nexus 4 + 10 + Asus Fonepad
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.

  • 0
Blog - App

#2
Gjole86

Gjole86

    Enthusiast

  • Members
  • PipPipPip
  • 176 posts
  • Devices:Pulse Mini with GM0d
nop didnt even tryed ... since source files are way above me :/ maybe some day. or u can build it and upload so i can flash it.

  • 0

#3
kallt_kaffe

kallt_kaffe

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,185 posts
  • Gender:Male
  • Devices:Nexus 4 + 10 + Asus Fonepad
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,
};
to:
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, 01 October 2010 - 02:04 PM.

  • 0
Blog - App




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users