Jump to content


Photo

kernel 2.6.32

* * * * * 14 votes

  • Please log in to reply
488 replies to this topic

#21
zignas

zignas

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male
  • Location:Belarus
  • Devices:Huawei u8230 (8220)
pier11, amazing!)) please upload kernel if you can)
And your custom kernel compatible with huawei u8230 or not? I try to boot previous kernel.. but it not successfuly..
It seems boot normal (Linux logo is displayed) after a few seconds phone restarts immediately and I cant even see android loading...
sorry for bad english=)

Edited by zignas, 29 November 2011 - 12:44 PM.

  • 0

#22
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

pier11, amazing!)) please upload kernel if you can)
And your custom kernel compatible with huawei u8230 or not? I try to boot previous kernel.. but it not successfuly..
It seems boot normal (Linux logo is displayed) after a few seconds phone restarts immediately and I cant even see android loading...
sorry for bad english=)


If you wish: zImage-U8220-hw2.6.32-v0.03

Beware - highly experimental build
:
- no touchscreen
- no usb
Works:
- boots into Android, no reboots
- keypad and jogball
- (new) battery driver

Boot your phone UNplugged from usb, otherwise you will likely get reboot soon after android's unlock screen.

----
As for you questions - yes, I think it should works on U8230, the only internal difference I know of is that U8230 have larger memory.

Edited by pier11, 29 November 2011 - 01:32 PM.

  • 0

#23
sun lbx

sun lbx

    Regular

  • Members
  • PipPip
  • 146 posts
  • Devices:u8230
Maybe I ask too early, but...
Is it working faster than 2.6.29 in general?

  • 0

#24
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 263 posts
Hi!

Still didn't have time to test, working like a maniac every day, but the next week I'll have planty! It's good to see someone has the will, the potencial, and the time to develop for this relic :) Cheers!

Edited by rangeoshun, 01 December 2011 - 02:14 PM.

  • 0

#25
zignas

zignas

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male
  • Location:Belarus
  • Devices:Huawei u8230 (8220)
sun lbx, its not that faster or not..
Of cource more speed does not hutr, but development of the kernel is not this.
Spoiler


And now on, i could not start kernel normally.. well as the kernel is loaded like, but the stage before android boot never came. I possibly could not properly make boot image.. please tell me to find working kitchen))
Spoiler

Edited by zignas, 01 December 2011 - 09:20 PM.

  • 0

#26
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 263 posts
Hey Pier!

Do you know a good boot.img packer/unpacker for windows, or osx? Right now I don't have linux on any of my machines, althogh I would appriciate if you'd a linux version, I might have a live Knoppix cd around somewhere! I only ask, because I do not want to post that I couldn't boot your kerner, until I know it was not my own fault!

Thx!

Edited by rangeoshun, 02 December 2011 - 01:53 PM.

  • 0

#27
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Hey Pier!

Do you know a good boot.img packer/unpacker for windows, or osx? Right now I don't have linux on any of my machines, althogh I would appriciate if you'd a linux version, I might have a live Knoppix cd around somewhere! I only ask, because I do not want to post that I couldn't boot your kerner, until I know it was not my own fault!

Thx!


Hi rangeoshun,

I use linux in fact - latest Ubuntu 11.10.

I used usual linux utils to unpack/pack boot img.

in case here is how I pack boot.img:

./mkbootimg --cmdline 'mem=128M fbcon=font:VGA8x8 console=tty0 fbcon=rotate:1 quiet no_console_suspend=1 rootdelay=20 androidboot.hardware=qcom console=ttyUSBCONSOLE0 androidboot.console=ttyUSBCONSOLE0' --kernel ~/dev/git/msm/arch/arm/boot/zImage --ramdisk ramdisk-repack.cpio.gz --output pulse-2.6.32.img

  • 0

#28
sun lbx

sun lbx

    Regular

  • Members
  • PipPip
  • 146 posts
  • Devices:u8230
Err... just gave it a try.
The error was like "invalid boot image header" on the fastboot screen, u8230.

  • 0

#29
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Err... just gave it a try.
The error was like "invalid boot image header" on the fastboot screen, u8230.

Try to look at your original boot.img in any HEX editor. You will see your original 'cmdline' options there close to the beginning. Try to repack boot.img with that options... Might help...

  • 0

#30
snowboy.vs

snowboy.vs

    Newbie

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Belarus
  • Devices:U8230
If you have compiled kernel 2.6.32 img, could you please put it here, I gather from the sources can not.<BR closure_uid_j2i05f="2368">P.S. I am a russian, wrote via google translator))


  • 0

#31
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

If you have compiled kernel 2.6.32 img, could you please put it here, I gather from the sources can not.
...

OK, full boot.img: pulse-hw2.6.32_v0.03a.img

As one may know, boom.img contains ramdisk that correspond to android version installed. The ramdisk in this boot.img is from UK2.1 year 2010. And my android is the same - UK2.1 year 2010.
(If one want to be 100% certain - install first stock UK2.1 android from year 2010. And after that, flash my boot.img. Phone is Pulse (U8220) I use.)

You should boot phone with that image:
- with battrey
- connected to usb (PC or charger - doesn't matter).

This way it boots into android just fine and stays there. USB/adb is available this time. No touchscreen.

I figured issue that prevented circulating power/charging events. Now phone understands better when it's plugged to power source. (but crashes when not plugged/unplugged)

  • 0

#32
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 263 posts
Hey!

I managed to make and boot an .img file from OSX onto CM7. Thanks for the mkbootimg options! But, your battery fix isn't working on it. It boots up just fine, but screams for battery, and restarts. I'll try it on different roms now, and get back to you! My perversion is, to run a benchmark even if it is too early :D


Great progress!

  • 0

#33
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Hey!

I managed to make and boot an .img file from OSX onto CM7. Thanks for the mkbootimg options! But, your battery fix isn't working on it. It boots up just fine, but screams for battery, and restarts. I'll try it on different roms now, and get back to you! My perversion is, to run a benchmark even if it is too early :D


Great progress!


It's good to know that it boots CM7, even if restarts soon after.
It's too early for performance tests. I'm not sure at all that hardware acceleration is plugged in properly for our board.

I'm fighting with usb subsystem. Phone doesn't want to run unplugged from cable when usb is compiled in.

My last upload (*.img) stays fine into android (UK2.1 year 2010). It has usb subsystem, but need to be plugged with usb cable... Adb works.

Touchscreen is my another annoyance. If I set up proper interrupt, it hangs...

  • 0

#34
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 263 posts
I just tried twrocks latest FTB rom, but the same behaviour as the CM7. BTW, I have a u8230, not a -20, so somebody asked if it would work on it, and I assume yes, I'm only trying the wrong roms :D

I'd send you dmesg too, but I forgot how to obtain the dmesg of the previous boot, so I only see the one after yours. Be a fellow and tell me how to get it please! :)

Edited by rangeoshun, 04 December 2011 - 06:53 PM.

  • 0

#35
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

I'd send you dmesg too, but I forgot how to obtain the dmesg of the previous boot, so I only see the one after yours. Be a fellow and tell me how to get it please! :)


./adb shell dmesg > ~/dmesg.txt

Execute it right before phone reboots.

But it'll be incomplete. Better run the following while adb is available already and phone is still booting:

./adb shell
su
cat /proc/kmsg > /sdcard/dmesg.txt &

Take it from sdcard.

The latter constantly dumps messages right to reboot event.

You can do the same with 'logcat'. It's android level logs.

Edited by pier11, 04 December 2011 - 07:16 PM.

  • 0

#36
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 263 posts
Is it possible, that I can't get to adb, but the system boots till the unlockscreen? When I tried it said it's waiting for the device.. any ideas, where and what I might do wrong?

  • 0

#37
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Is it possible, that I can't get to adb, but the system boots till the unlockscreen? When I tried it said it's waiting for the device.. any ideas, where and what I might do wrong?


Which kernel do you use? If from the latest *.img - you should be fine. It has USB/adb compiled in. But if the previous zImage - you are out of luck - usb/adb were not compiled in that image.

if you are reaching android unlock screen, adb should be active already. It starts on very early stages of android load - I'd say even before android's boot animation.

  • 0

#38
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 263 posts

Which kernel do you use?


Now that's where I made my mistake! I used the latter, I'll go and extract it from your image and be back!

  • 0

#39
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Now that's where I made my mistake! I used the latter, I'll go and extract it from your image and be back!

exactly. I suspect that when you told about battery panic. It was solved in "*.img" kernel by adding battery driver.

  • 0

#40
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 263 posts
I'm back!

I (actually You!) got it :) The only problem was, that on CM7 I haven't turned on unlock with menu button, so I couldn't get into preferencies, to take a pic.

All in all they went OK, as far as I can tell!

+U8230 confirmed ;)

Dmesg via ADB shell

- On Cm7
- On FTB


Cheers!

Waitin' the next one to test! :D

Attached Files


Edited by rangeoshun, 05 December 2011 - 03:11 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users