Jump to content

Multitouch possible in theory?


Guest lemmyc

Recommended Posts

Guest BigBearMDC

Hi guys.

Ok I now also set up my flagship with Ubuntu Karmic.

I'm restoring all my data right now. See you in ~3hrs :)

Greetings,

BigBear

Link to comment
Share on other sites

Guest BigBearMDC

Update:

I'm recompiling the kernel right now.

I hope it works now!

Update:

WT...

it took only 10 minutes to compile :)

Stay Tuned!

Greetings,

BigBear

Edited by BigBearMDC
Link to comment
Share on other sites

Guest BigBearMDC

still rebooting .....

I'm doing something wrong...

So here's exactly what I do:

  • I set up Ubuntu 9.10
  • I installed thosse packages:
    git-core
    gnupg
    flex
    bison
    gperf
    libsdl-dev
    libesd0-dev
    libwxgtk2.6-dev
    build-essential
    zip
    curl
    libncurses5-dev
    zlib1g-dev
    sun-java5-jre
    sun-java5-jdk
    sun-java5-demo
    sun-java5-bin
  • I downloaded the Huawei kernel source
  • I downloaded the android 1.6 source
  • I downloaded the Pulse .config as described in the 1.6 ROM development thread
  • I run
    make clean
  • I run
    ~/pulse_kernel_source/make ARCH=arm CROSS_COMPILE=/path_to_android_1.6_4.4.0_toolchain/bin/arm-eabi-
  • When that finishes I run
    mkbootimg --cmdline "mem=128M console=ttyMSM2,115200n8 no_console_suspend=0" --kernel ./zImage --ramdisk ./ramdisk.img -o boot.img
  • Flash the image using
    fastboot-linux flash boot ./boot.img
    fastboot-linux boot ./boot.img[/code]


    Greetings,

    BigBear

Edited by BigBearMDC
Link to comment
Share on other sites

still rebooting .....

I'm doing something wrong...

So here's exactly what I do:

  • I downloaded the Huawei kernel source

  • I downloaded the android 1.6 source
  • I downloaded the Pulse .config as described in the 1.6 ROM development thread
  • I run
    make clean
  • I run
    make ARCH=arm CROSS_COMPILE=/path_to_android_1.6_4.4.0_toolchain/bin/arm-eabi-
  • When that finishes I run
    mkbootimg --cmdline "mem=128M console=ttyMSM2,115200n8 no_console_suspend=0" --kernel ./zImage --ramdisk ./ramdisk.img -o boot.img
  • Flash the image using
    fastboot-linux flash boot ./boot.img
    
    fastboot-linux boot ./boot.img


Greetings,

BigBear

Well this is just weird...

Can you try running without make clean?

I don't remember using this step when I was compiling stuff a few months ago (but I might be wrong). Seeing as it only takes 10 minutes to compile, I reckon it's worth a check.

Link to comment
Share on other sites

Guest BigBearMDC
Well this is just weird...

Can you try running without make clean?

I don't remember using this step when I was compiling stuff a few months ago (but I might be wrong). Seeing as it only takes 10 minutes to compile, I reckon it's worth a check.

Yap I only run make clean if I compiled the kernel already to delete the .o files and so on.

Maybe it just took 10 minutes because its running on a 4 x 3.0GHz machine with 3GB RAM...

Greetings,

BigBear

Link to comment
Share on other sites

Could it be that the problem is that Ubuntu installs packages from the German repo instead of the English one?

It shouldn't make a difference - the repos should be identical.

Just checking - when you install java5 you also removed java6, didn't you?

Link to comment
Share on other sites

Guest BigBearMDC
It shouldn't make a difference - the repos should be identical.

Just checking - when you install java5 you also removed java6, didn't you?

Uhm, no :)

I'll remove it.

Weird ... it has already been removed - I guess when I installed java 5?

Setting up the built environment should be very simple - hell, what am I doing wrong ??

;)

Edited by BigBearMDC
Link to comment
Share on other sites

Yap

java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun

Well java is in order at least.

The gcc 4.4 / 4.3 thing is more stuff to fuss over, but if it compiles without issue, then this won't be the problem.

Link to comment
Share on other sites

Guest BigBearMDC
Well java is in order at least.

The gcc 4.4 / 4.3 thing is more stuff to fuss over, but if it compiles without issue, then this won't be the problem.

I'll install gcc-4.3 and set it as default, but I don't really think that this will change anything, as I did this before on my other PC.

Link to comment
Share on other sites

I'll install gcc-4.3 and set it as default, but I don't really think that this will change anything, as I did this before on my other PC.

You could try comparing md5 sums of the zImages and ramdisks of both yours and xangmas versions. This might at least tell us if (for example) both your ramdisks are okay, but the kernel is compiling differently for some reason.

Link to comment
Share on other sites

Guest BigBearMDC
You could try comparing md5 sums of the zImages and ramdisks of both yours and xangmas versions. This might at least tell us if (for example) both your ramdisks are okay, but the kernel is compiling differently for some reason.

I know that my ramdisk is ok, as I can use it with the MCR without problems.

I first thought that I was maybe using an incorrect command with mkbootimg, and I that's why I tried to just unpack and repack the boot.img - everything worked fine :)

BTW I now installed gcc-4.3 and tried to configure it with

sudo update-alternatives --config gcc
And I get this output:
update-alternatives: error: Keine Alternativen für gcc.

Edited by BigBearMDC
Link to comment
Share on other sites

Guest BigBearMDC
I know that my ramdisk is ok, as I can use it with the MCR without problems.

I first thought that I was maybe using an incorrect command with mkbootimg, and I that's why I tried to just unpack and repack the boot.img - everything worked fine ;)

BTW I now installed gcc-4.3 and tried to configure it with

sudo update-alternatives --config gcc
And I get this output:
update-alternatives: error: Keine Alternativen für gcc.

"No alternatives for gcc."

why did I quote myself?

:)

Edited by BigBearMDC
Link to comment
Share on other sites

"No alternatives for gcc."

I can remember a bit of my GCSE german :)

Look in synaptic to see if you have gcc4.4 installed, I guess perhaps it was never installed in the first place..?

Link to comment
Share on other sites

Guest BigBearMDC
I can remember a bit of my GCSE german :)

Look in synaptic to see if you have gcc4.4 installed, I guess perhaps it was never installed in the first place..?

Nope, gcc-4.4 is installed as its meant to be.

Link to comment
Share on other sites

Guest BigBearMDC
Maybe the problem is while repacking the kernel and ramdisk into the boot.img?

Unfortunately not.

I already tried to repack the MCR boot.img, and it worked fine.

Link to comment
Share on other sites

Nope, gcc-4.4 is installed as its meant to be.

Strange. Don't know why that's happening then.

Can you upload your ramdisk and zImage, so we can test whether mapero's right?

Edit: just seen your post - nevermind.

Edited by jmmL
Link to comment
Share on other sites

Guest BigBearMDC
Strange. Don't know why that's happening then.

Can you upload your ramdisk and zImage, so we can test whether mapero's right?

Edit: just seen your post - nevermind.

What I could try is uploading my source and my zImage, somebody of you guys compile it and then we compare the checksums of those two zImages.

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.