Guest HunteronX Posted January 25, 2010 Report Posted January 25, 2010 Doesn't the HTC hero have Android 1.5? I think 1.5 uses the 2.6.27 linux kernel, whereas 1.6+ uses the 2.6.29 one, which is why porting 1.6+ versions is so difficult, but once a 1.6 rom is working properly with the required drivers, then porting 2.0 and even 2.1 should be easier. Someone please tell if im wrong though...
Guest Spooke Posted January 25, 2010 Report Posted January 25, 2010 Doesn't the HTC hero have Android 1.5? I think 1.5 uses the 2.6.27 linux kernel, whereas 1.6+ uses the 2.6.29 one, which is why porting 1.6+ versions is so difficult, but once a 1.6 rom is working properly with the required drivers, then porting 2.0 and even 2.1 should be easier. Someone please tell if im wrong though... Well I also thought that Hero was 1.5, and I agree with the other stuff u say, but I dont know much :)
Guest Bakes Posted January 25, 2010 Report Posted January 25, 2010 Ah, I'm wrong! 1.5 and 1.6 do have different kernels! I must have read something wrong somewhere. Certainly, 2.0 has a different kernel. Hm. Anyway, you can apparently compile and run android 1.6 with the kernel from 1.5. Google reckons that the HTC Hero does have android 1.6.
Guest BigBearMDC Posted January 25, 2010 Report Posted January 25, 2010 1.5 , 1.6, 2.0, 14.567 with kernel xyz - who cares :D As long as it boots up No just kidding B) Thanks for the infos! I also thought that the Hero has another kernel with android 1.6. So if I'll get this to work, that would be the first kernel that has been ported to the Pulse :) I'll now go on compiling the kernel (I hope to finish it within the next hour) Stay Tuned! Greetings, BigBearMDC
Guest Spooke Posted January 25, 2010 Report Posted January 25, 2010 (edited) It does have 1.6, the HTC Tattoo runs Android 1.6 with Sense UI :) Hope it goes well and u get it running, Will be very nice to have 1.6 on Pulse Edited January 25, 2010 by Spooke
Guest Harash! Posted January 25, 2010 Report Posted January 25, 2010 AFAIK, the first HTC phone with Android 1.6 was Tattoo, which came after the Hero, what means that Hero has OS 1.5. You can take a look at GSMarena if you don't believe... http://www.gsmarena.com/htc_hero-2861.php And obviously there weren't any official updates for Hero, check: http://www.htc.com/www/supportdownloadlist...=sd&cat=all
Guest Spooke Posted January 25, 2010 Report Posted January 25, 2010 (edited) Ahh, well I understand now lol :), well Id rather see android 1.6 on Pulse rather than 1.5, however 1.5 looks good with sense ui B) and ofc Flash player Edited January 25, 2010 by Spooke
Guest david_dawkins Posted January 25, 2010 Report Posted January 25, 2010 1.5 , 1.6, 2.0, 14.567 with kernel xyz - who cares :D As long as it boots up No just kidding B) Thanks for the infos! I also thought that the Hero has another kernel with android 1.6. So if I'll get this to work, that would be the first kernel that has been ported to the Pulse :) I'll now go on compiling the kernel (I hope to finish it within the next hour) Stay Tuned! Greetings, BigBearMDC You know, if you pull this off, you'll probably be eligible for some kind of Android Nobel prize.
Guest BigBearMDC Posted January 25, 2010 Report Posted January 25, 2010 Well i think compiling the kernel will not be the problem. The problem will be that really many things won't work. Sorry guys I'm not gonna make it today. Just too less time :) But as fast as i can I'll go on with my work! Stay Tuned! Greetings, BigBearMDC
Guest feelmychi Posted January 27, 2010 Report Posted January 27, 2010 Well i think compiling the kernel will not be the problem. The problem will be that really many things won't work. Sorry guys I'm not gonna make it today. Just too less time B) But as fast as i can I'll go on with my work! Stay Tuned! Greetings, BigBearMDC Stop being sorry about things! We all think that you're brilliant, and are really grateful that you're doing this at all - there's no need to be sorry :)
Guest BigBearMDC Posted January 27, 2010 Report Posted January 27, 2010 Hi guys :) UPDATE: I think I'm pretty close now. But i get this error: LD .tmp_vmlinux1 ~/android-1.6-source/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ld: no machine record defined ~/android-1.6-source/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ld: no machine record defined make: *** [.tmp_vmlinux1] Fehler 1[/code] Does anyone know how to fix this? I tried to copy "CONFIG_ARCH_MSM7200A=y" into the .config file, but it makes no difference B) Please help me! I'm so close... Greetings, BigBearMDC
Guest david_dawkins Posted January 27, 2010 Report Posted January 27, 2010 Hi guys :) UPDATE: I think I'm pretty close now. But i get this error: LD .tmp_vmlinux1 ~/android-1.6-source/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ld: no machine record defined ~/android-1.6-source/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ld: no machine record defined make: *** [.tmp_vmlinux1] Fehler 1 Does anyone know how to fix this? I tried to copy "CONFIG_ARCH_MSM7200A=y" into the .config file, but it makes no difference B) Please help me! I'm so close... Greetings, BigBearMDC Some info here, might make more sense to you: http://forum.xda-developers.com/showthread.php?p=5080885 A few other forums have reported the same error, so you're in good company. It's not clear how they resolved it though, sorry :D
Guest BigBearMDC Posted January 27, 2010 Report Posted January 27, 2010 Thanks! But I made an decision: I'll start again from the beginning. I've made far too many changes to the source... And i can't correct them. I'll try to edit the most important Hero drivers to get them to work on the Pulse. That's gonna take some time. But i won't give up :) Stay Tuned! Greetings, BigBearMDC
Guest BigBearMDC Posted January 30, 2010 Report Posted January 30, 2010 (edited) Hi guys UPDATE: As said before, I'm now trying to edit the source code to get the Hero kernel working. It looks like the Pulse kernel is a kind of "enhanced" Hero kernel. The main functions stay the same but the Pulse kernel adds some features the Hero kernel hasn't. EDIT: Weird. It looks like its faster to adapt the kernel than commenting out all the code that doesn't work. I now get less errors than before. Stay Tuned :) Greetings, BigBearMDC Edited January 30, 2010 by BigBearMDC
Guest Spooke Posted January 30, 2010 Report Posted January 30, 2010 Hi guys UPDATE: As said before, I'm now trying to edit the source code to get the Hero kernel working. It looks like the Pulse kernel is a kind of "enhanced" Hero kernel. The main functions stay the same but the Pulse kernel adds some features the Hero kernel hasn't. EDIT: Weird. It looks like its faster to adapt the kernel than commenting out all the code that doesn't work. I now get less errors than before. Stay Tuned B) Greetings, BigBearMDC So if you get the Hero Kernal to run, and say u fix the problems, would we see sense UI on our pulses? Keep going, your doing great :D Thanks for ur time and effort :)
Guest BigBearMDC Posted January 30, 2010 Report Posted January 30, 2010 (edited) So if you get the Hero Kernal to run, and say u fix the problems, would we see sense UI on our pulses? I think the SenseUI should work :) Greetings, BigBearMDC Edited January 30, 2010 by BigBearMDC
Guest BigBearMDC Posted January 30, 2010 Report Posted January 30, 2010 (edited) UPDATE: Hi guys. Everything is working fine so far. Except this annoying "no machine record defined" error. But i found a way to bypass it (this could be intersting for other devs too): i just out-commented this line (in /kernel_dir/arch/arm/kernel/vmlinux.lds) ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support") /*ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined") */[/code] Thats not very elegant, but it works - at least for now. Stay Tuned! Greetings, BigBearMDC Edited January 30, 2010 by BigBearMDC
Guest Bakes Posted January 30, 2010 Report Posted January 30, 2010 UPDATE: Hi guys. Everything is working fine so far. Except this annoying "no machine record defined" error. But i found a way to bypass it (this could be intersting for other devs too): i just out-commented this line (in /kernel_dir/arch/arm/kernel/vmlinux.lds) ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support") /*ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined") */ Thats not very elegant, but it works - at least for now. Stay Tuned! Greetings, BigBearMDC Do the assorted sensors (camera, gps, etc) work?
Guest BigBearMDC Posted January 30, 2010 Report Posted January 30, 2010 Do the assorted sensors (camera, gps, etc) work? I did not finish compiling the kernel yet. But as soon as its done I'll test it and upload it so anybody can test it. Stay Tuned! Greetings, BigBearMDC
Guest Spooke Posted January 30, 2010 Report Posted January 30, 2010 I did not finish compiling the kernel yet. But as soon as its done I'll test it and upload it so anybody can test it. Stay Tuned! Greetings, BigBearMDC So you booted into what version of android? Im kinda confused here :), keep going!! Thank you
Guest BigBearMDC Posted January 30, 2010 Report Posted January 30, 2010 (edited) Okay, her is exactly what i tried: 1.5 Hero kernel / Pulse .config / 1.5 ramdisk -> boots up, but automatically restarts 1.5 Hero kernel / def_config / 1.5 ramdisk -> stuck at T-Mobile screen 1.5 Hero kernel / Pulse .config / original Hero ramdisk (1.5) -> boots up, but automatically restarts 1.5 Hero kernel / Pulse .config / 1.6 ramdisk -> stuck at T-Mobile screen 1.5 Hero kernel / def_config / 1.6 ramdisk -> stuck at T-Mobile screen What I'm trying to compile now: Modified* 1.5 Hero kernel / Pulse .config / 1.5 ramdisk / stock android 1.5 *: modified means that i copied all the drivers from the Pulse kernel and edited only header files. The last time i edited the source files - thus I screwed everything up. But at the moment I'm getting some weird errors. For example: There's one file called "irq.c". It includes the file "smd_private.h". In the "smd_private.h" a function of "irq.c" is declared. But the compiler wants to make me belive that the "smd_private.h" header file isn't included. But i don't get a "file or directory not found" error. And its getting even more weird. I copied the whole code from the header file into the source file. And guess what happened ... I got exactly the same error (undifined reference i think). So i tried to include the header file also. And what error did i get? "redeclaration of function bla BlA bLa..." So the compiler recognizes the function in the header file and also the function that i copied into the source file... But after 10 lines of code the compiler decides to just forget that the function is already declared and abborts with an "undifined reference" error... really weird oO BTW: i got the same error in a few other files that include the "smd_private" header file. Greetings, BigBearMDC Edited January 30, 2010 by BigBearMDC
Guest Spooke Posted January 30, 2010 Report Posted January 30, 2010 (edited) I dont know how to fix any of ur problems, however since ur having trouble with Hero, cant you try 1.6 kernal etc. I dont suspose it would be much trouble? Goodluck, hopefully u get it working anyhow Edited January 30, 2010 by Spooke
Guest BigBearMDC Posted January 30, 2010 Report Posted January 30, 2010 (edited) I dont know how to fix any of ur problems, however since ur having trouble with Hero, cant you try 1.6 kernal etc. I dont suspose it would be much trouble? I would need to get a 1.6 kernel source from the Hero or any other device. The problem is not to compile an already finished kernel but to edit the kernel. That causes some trouble... But if I don't edit the kernel, it won't boot. Maybe I'll have to start again from the beginning if I can't figure out how to fix this werid errors... Any help is greatly appriciated! Greetings, BigBearMDC Edited January 30, 2010 by BigBearMDC
Guest Spooke Posted January 30, 2010 Report Posted January 30, 2010 I would need to get a 1.6 kernel source from the Hero or any other device. The problem is not to compile an already finished kernel but to edit the kernel. That causes some trouble... But if I don't edit the kernel, it won't boot. Maybe I'll have to start again from the beginning if I can't figure out how to fix this werid errors... Any help is greatly appriciated! Greetings, BigBearMDC Maybe you could post on XDA Developers somewhere, asking for some help, Im sure they wouldnt mind it? would they :) ? lol
Guest BigBearMDC Posted January 31, 2010 Report Posted January 31, 2010 Hey guys I think I'm going to make a tutorial on how to edit the android kernel if I can manage to compile my one. There aren't any tutorials on the net... BTW I started again from the beginning - I now only copied the drivers (instead of the drivers and the mach_msm directory). I guess that won't work as there is still some HTC stuff in the kernel... like HTC_battery and things like that... I'll try it anyway. Stay Tuned! Greetings, BigBearMDC
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now