Jump to content

Multitouch possible in theory?


Recommended Posts

Guest BigBearMDC
Posted

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

Guest BigBearMDC
Posted (edited)

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
Guest BigBearMDC
Posted (edited)

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
Posted
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.

Guest BigBearMDC
Posted
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

Guest xangma
Posted

Which source are you compiling? The pulse source?

Guest BigBearMDC
Posted
Which source are you compiling? The pulse source?

Yap

Guest BigBearMDC
Posted

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

Posted
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?

Guest BigBearMDC
Posted (edited)
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
Posted
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 ??

;)

Can you post the output of

sudo update-java-alternatives -l

See here for details: https://help.ubuntu.com/community/Java

Guest xangma
Posted

I honestly don't know. It all compiles properly yeah?

Guest BigBearMDC
Posted
Can you post the output of
sudo update-java-alternatives -l
See here for details: https://help.ubuntu.com/community/Java
Yap
java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun

I honestly don't know. It all compiles properly yeah?

I don't get any errors, no.

Posted
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.

Guest BigBearMDC
Posted
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.

Posted
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.

Guest BigBearMDC
Posted (edited)
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
Guest BigBearMDC
Posted (edited)
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
Posted
"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..?

Guest BigBearMDC
Posted
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.

Guest mapero
Posted

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

Guest BigBearMDC
Posted
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.

Posted (edited)
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
Guest BigBearMDC
Posted
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.

Guest BigBearMDC
Posted

Okay, I uploaded my source with zImage and the .config.

Download

MD5 (binary): 62ae831081a951616c66b0aa796c5963

Greetings,

BigBear

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.