Guest pier11 Posted November 23, 2011 Report Posted November 23, 2011 How about that: <5>[ 0.000000] Linux version 2.6.32.9-perf (eclipse@eclipse3) (gcc version 4.4.3 (GCC) ) #3 PREEMPT Tue Nov 22 15:57:37 EST 2011 <4>[ 0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ), cr=00c5387f <4>[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache <4>[ 0.000000] Machine: QCT SURF7201A Board full dmesg got via adb !
Guest pier11 Posted November 23, 2011 Report Posted November 23, 2011 (edited) Source code: github.com/pier11/kernel_huawei_u8220 Build Instructions: wiki Works (with CM7.2 RC0): - display - touchscreen - keypad - jogball - usb: mass storage, adb - sd card - wifi - mobile data network - backlight/brightness - sound/mic - vibrator - keypad LEDs - hardware acceleration - bluetooth - sensors/compass - headset Edited January 21, 2012 by pier11
Guest arlindo.costa Posted November 23, 2011 Report Posted November 23, 2011 Am I dreaming? Or something? :D :D :D Seems like christmas is coming early this year!
Guest huawei8220 Posted November 23, 2011 Report Posted November 23, 2011 Hi, what does kernel 2.6.32 mean for CM7.1? What are the "real" benefits? Could this solve issues like "non-working-camera"? ...
Guest Dr Who Posted November 23, 2011 Report Posted November 23, 2011 Some discussion of the potential advantages of the newer kernel is this thread
Guest pier11 Posted November 24, 2011 Report Posted November 24, 2011 Is the kernel finished? Opposite. Just started.
Guest FunYeg Posted November 25, 2011 Report Posted November 25, 2011 Opposite. Just started. Is it start to boot?
Guest pier11 Posted November 25, 2011 Report Posted November 25, 2011 Is it start to boot? kernel itself boots fine. Android 2.1UK I tested on doesn't start properly - FC. But I'd guess it shouldn't start, as it was compiled against 2.6.29 kernel (?)
Guest FunYeg Posted November 25, 2011 Report Posted November 25, 2011 kernel itself boots fine. Android 2.1UK I tested on doesn't start properly - FC. But I'd guess it shouldn't start, as it was compiled against 2.6.29 kernel (?) I think .32 is better test on 2.2 or 2.3 I haven't see 2.1 is using .29
Guest pier11 Posted November 25, 2011 Report Posted November 25, 2011 I think .32 is better test on 2.2 or 2.3 I haven't see 2.1 is using .29 You are right, I might need to try to implant it into twrock's CM6 (android 2.2) and see. (But again it was compiled against 2.6.29 kernel) Just wanted to use official rom - hence UK's 2.1 - to not fight with "unofficial" android bugs :) Ideally I think new Android recompilation is needed for 2.6.32 kernel. (Or maybe borrowed from Ascend... Might be time consuming to adjust it Pulse)
Guest FunYeg Posted November 25, 2011 Report Posted November 25, 2011 (edited) You are right, I might need to try to implant it into twrock's CM6 (android 2.2) and see. (But again it was compiled against 2.6.29 kernel) Just wanted to use official rom - hence UK's 2.1 - to not fight with "unofficial" android bugs :) Ideally I think new Android recompilation is needed for 2.6.32 kernel. (Or maybe borrowed from Ascend... Might be time consuming to adjust it Pulse) Yes, you are right, CM is not like the official rom. I think you can take some rom from the other, just like you mention that Ascend, I think U8150 may help also. And you can look for the device is using the same CPU like HTC Hero, Magic, etc. Edited November 25, 2011 by FunYeg
Guest rangeoshun Posted November 27, 2011 Report Posted November 27, 2011 Great job! Could you post a zImage or boot img? I'd love to try this and that! And again, thank you, high5!
Guest pier11 Posted November 27, 2011 Report Posted November 27, 2011 (edited) Great job! Could you post a zImage or boot img? I'd love to try this and that! And again, thank you, high5! Thanks. That's zImage-U8220-2.6.32-v0.02 Beware, it's in very early stages of development. Refer to post#2 for what works (not much). It doesn't loop, Android UK2.1 stops on FC with 'Process system is not responding.' Weird, but it doesn't want to boot properly unplugged from usb - afraids to be in wild :) It'd be helpful if one try to run some Android 2.2 compiled against 2.6.32 kernel (not against 2.6.29 as all our roms). For example Ascend Froyo ... Edited November 27, 2011 by pier11
Guest pier11 Posted November 28, 2011 Report Posted November 28, 2011 (edited) played with Huawei's 2.6.32 U8150 kernel sources - wanted to run this version too to see if more stuff will work. Patched to make it compiled for our chipset - MSM7200A. (Those MSM7X27 trees don't regard our chipset) But no luck - doesn't load at all, no kernel messages... Then started to transfer parts from this successful kernel. Ended up with mutant: - board replaced (arch/arm/mach-msm/*) - all drivers replaced (drivers/*) Started to load fine after that. But that beast loads even further! I see for a couple of secs Android's unlock screen with home wallpaper! (UK2.1) Then it reboots entirely. Something to investigate... Edit: narrowed down issues to: - board itself (arch/arm/mach-msm/board-halibut.c) - "videocard" (drivers/video/msm/*) Edit2: Figured issue with board-halibut.c - platform_device structure without dev/msm_handset_platform_data Now original board-halibut.c loads just fine. Edit3: Fixed issue with jogball GPIOs which prevented it to load and it also disabled some keys on keypad. Plugged in keypad and jogball. No luck with touchscreen on this kernel either... So to summarize - I can boot now patched Huawei's U8150 2.6.32 kernel all the way to Android unlock screen with home wallpaper on the background. Then all restarts. Edited November 29, 2011 by pier11
Guest rangeoshun Posted November 28, 2011 Report Posted November 28, 2011 I also had time to try it on the current CM7, just for fun, and itt seems to boot up fine, but after the kernel boots, it restarts inmediatly can't even see the android loading screen. I'll have time this evening, I'll get a dmsg out of it!
Guest Dr Who Posted November 28, 2011 Report Posted November 28, 2011 Keep going chaps - very exciting developments!
Guest pier11 Posted November 29, 2011 Report Posted November 29, 2011 Interesting development with U8150 Kernel, I'm experimenting with. That issue causing phone only boot properly while connected via USB looks is due to usb drivers. I hacked them initially to switch back to "usb function" as in 2.6.29 kernel to obtain adb. While default usb system in 2.6.32 msm kernels is "usb gadget". I had no luck with the latter. So decided to turn off usb drivers at all and see. Now: - phone boots fine unplugged from usb; - It doesn't reboot in android! - (obviously no usb :) Now it complains on empty battery (not true) and forcefully shuts itself down. But I've been behind unlock screen already :) Need to add battery support...
Guest pier11 Posted November 29, 2011 Report Posted November 29, 2011 worked out! just initialized existing battery driver on board. see screenshot :)
Guest zignas Posted November 29, 2011 Report Posted November 29, 2011 (edited) 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 November 29, 2011 by zignas
Guest pier11 Posted November 29, 2011 Report Posted November 29, 2011 (edited) 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 November 29, 2011 by pier11
Guest sun lbx Posted November 29, 2011 Report Posted November 29, 2011 Maybe I ask too early, but... Is it working faster than 2.6.29 in general?
Guest rangeoshun Posted December 1, 2011 Report Posted December 1, 2011 (edited) 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 December 1, 2011 by rangeoshun
Guest zignas Posted December 1, 2011 Report Posted December 1, 2011 (edited) sun lbx, its not that faster or not.. Of cource more speed does not hutr, but development of the kernel is not this. Now there is a very early stage, do not work most of the phone (touchscreen,usb,can somebody else) important to solve the problems with drivers is kernel, if all goes well.. and everything should be good)) we can all foget about the problems with custom firmwares 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)) sorry for bad english, sometimes uses google) Edited December 1, 2011 by zignas
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now