CDMA + GSM = love? - Hero, G2 Touch Android Development

Come on guys. We are all developers here and multiple times it has been asked but nobody has even cared about answering. CDMA and GSM heros are different phones, yes but most of the hardware is the same. The Dream guys obviously don't care about us because they have their own phone to worry about. That is totally understandable. But I think to fully enjoy our hero and see it grow to it's full potential we need to work together as a team.
I have tried countless times to boot GSM roms on the CDMA hero and I always fail. I actually tried Mlign's Hero rom for the Dream and it actually booted but Rosie didnt load. I suspect that has something to do with the app_s hack but regardless it is possible to boot a GSM rom on a CDMA Hero. I just can't get the Hero GSM roms to boot on CDMA Hero.
Basically, my request is this. Can someone, anyone, please clear up the confusion and help us figure out why the GSM Hero roms will not boot on the CDMA Hero. The only thing I can think of is the fact that we are CDMA and you are GSM. But that shouldnt matter for booting. We should at least be able to get past the initial HTC bootloader screen, right?

chuckhriczko said:
Come on guys. We are all developers here and multiple times it has been asked but nobody has even cared about answering. CDMA and GSM heros are different phones, yes but most of the hardware is the same. The Dream guys obviously don't care about us because they have their own phone to worry about. That is totally understandable. But I think to fully enjoy our hero and see it grow to it's full potential we need to work together as a team.
I have tried countless times to boot GSM roms on the CDMA hero and I always fail. I actually tried Mlign's Hero rom for the Dream and it actually booted but Rosie didnt load. I suspect that has something to do with the app_s hack but regardless it is possible to boot a GSM rom on a CDMA Hero. I just can't get the Hero GSM roms to boot on CDMA Hero.
Basically, my request is this. Can someone, anyone, please clear up the confusion and help us figure out why the GSM Hero roms will not boot on the CDMA Hero. The only thing I can think of is the fact that we are CDMA and you are GSM. But that shouldnt matter for booting. We should at least be able to get past the initial HTC bootloader screen, right?
Click to expand...
Click to collapse
The CMDA has a different kernel and therefor the software has problems communicating with the hardware. Simple as that

I think it is likely be a little more complicated than that. The version of Cupcake on the CDMA Hero has had CDMA support back ported onto it. Whilst much of that work may be in the kernel, there are going to be CDMA specific options (e.g. UI elements such as CDMA status) that need to be in the ROM as well.
Regards,
Dave

Big difference is in the kernel and RIL library.
If you get those replaced in ROM it should atleast boot. Trying to boot on GSM kernel is not gonna go well at all.

Ok. So replacing the kernel (in the boot.img I presume) and the RIL should at least boot. I will try doing that and seeing if that works. Now, once the official 2.1 comes out, it will have native CDMA so theoretically, many of the roms should be CDMA/GSM cross platform with a little work, right?

There is also a new 2.1 Hero for G1s/32Bs by Drizzy/barak/eugene373.
It seems to have a new RIL in it (the function names mention CDMA), and most of the 2.1 Hero leak.
http://www.4shared.com/file/163349957/d6c766c4/Hero_21.html
Havn't gotten much time to look at it myself, but it might be useful.

packetlss said:
There is also a new 2.1 Hero for G1s/32Bs by Drizzy/barak/eugene373.
It seems to have a new RIL in it (the function names mention CDMA), and most of the 2.1 Hero leak.
http://www.4shared.com/file/163349957/d6c766c4/Hero_21.html
Havn't gotten much time to look at it myself, but it might be useful.
Click to expand...
Click to collapse
I've been following the development of this and didnt see the Dream thread until now. Thanks. This could help us all

chuckhriczko said:
I've been following the development of this and didnt see the Dream thread until now. Thanks. This could help us all
Click to expand...
Click to collapse
Hey Chuck, can you take a look at this ROM as well:
http://forum.xda-developers.com/showthread.php?t=592666
I'm not sure if the Behnaam's 2.1 ROM would work since it requires a new radio, and I don't know if we want to flash the radio (if the CDMA Hero lets you)...
I was hacking away at lokx Hero build configs last night, but the Eclair compile stops because it can't compile libcamera.so (no, I do not mean libqcamera). I did a generic build and that went fine all the way through, so I don't know what is wrong with my config yet. I've since found kiall's cupcake build configs, so I think I'll try his files and see if I can get a Eclair build tonight. This is a good learning exercise, but I do wonder if the current CDMA Hero 2.6.27 kernel will work with a AOSP Hero 2.0 build.

quietcblongs said:
Hey Chuck, can you take a look at this ROM as well:
http://forum.xda-developers.com/showthread.php?t=592666
I'm not sure if the Behnaam's 2.1 ROM would work since it requires a new radio, and I don't know if we want to flash the radio (if the CDMA Hero lets you)...
I was hacking away at lokx Hero build configs last night, but the Eclair compile stops because it can't compile libcamera.so (no, I do not mean libqcamera). I did a generic build and that went fine all the way through, so I don't know what is wrong with my config yet. I've since found kiall's cupcake build configs, so I think I'll try his files and see if I can get a Eclair build tonight. This is a good learning exercise, but I do wonder if the current CDMA Hero 2.6.27 kernel will work with a AOSP Hero 2.0 build.
Click to expand...
Click to collapse
No the current 2.6.27 kernel won't work with AOSP HERO 2.0. We need to get 2.6.29 ported to the cdma hero. The main problem we face is our kernel. When compiling the kernel for the cdma hero we lack a few things. One being a board_heroc. There are no rules to make. It seems they released the source for the hero but its lacking what it takes to build for the cdma hero.(I.e. heroc) atleast this is from what I've found. But.:. I'm not a pro. It's gonna take some hacking for sure....

toastcfh said:
No the current 2.6.27 kernel won't work with AOSP HERO 2.0. We need to get 2.6.29 ported to the cdma hero. The main problem we face is our kernel. When compiling the kernel for the cdma hero we lack a few things. One being a board_heroc. There are no rules to make. It seems they released the source for the hero but its lacking what it takes to build for the cdma hero.(I.e. heroc) atleast this is from what I've found. But.:. I'm not a pro. It's gonna take some hacking for sure....
Click to expand...
Click to collapse
Will the 2.6.27 CDMA Hero kernel work with an AOSP 1.6 (Donut) build? I think 2.6.27 is what the GSM 1.6 ROMs are using.

quietcblongs said:
Will the 2.6.27 CDMA Hero kernel work with an AOSP 1.6 (Donut) build? I think 2.6.27 is what the GSM 1.6 ROMs are using.
Click to expand...
Click to collapse
No itwont work with 1.6 either. U ne3d a different kernel for that also. I think they did some patching to get msm-2.6.27 to work. Then they've used that to patch msm-2.6.29. Or atleast that's the route I believe they took. Our problem is we can't even get the HTC kernel source to compile. An idea... is maybe make a board-heroc using board-hero as a template. But then were gonna need some real know how. I know we also need some modules. Those can be gotten from the phone. So basically until HTC releases the source for cdma were gonna need to reverse engineer the kernel we have to build our own patches and fixes to get it to build a working kernel.

Related

At this point...

Well, we have a bunch of roms for hour HERO, in one rom the camera works at 5mpx, in another at 3.
We've opengl working and not working.
In another rom we have Sense UI, in another we don't have it...
So, why don't you unify all those efforts and create a unique rom with
camera working
sense/non-sense (2 version of the same rom)
And all other stuff???
Is this idea so bad?
They are all based on different Kernals (the basis of the rom) so therefore they are built up differently leading to different things working and not working.
It may be possible to get everything working but certainly would nto be a quick and easy task.
Best thing to do is think of what you regularly use and pick whatever 2.1 rom suits your needs until we get a fully working 2.1 dump.
I think, at this point, i'll wait for a HTC official update, and i'll keep using Exit93 roms...
I second that.
As a fairly long time xda-user i often find it frustrating to find a good rom for my phone.
Just the other day i got my hero and this time there seems to be slightly fewer roms floating around but it's still pretty hard to find a suitable one.
I think alot of us have a good idea of what exactly we want and alot of roms have a bunch of stuff we really dont care about as much as the chef.
What i would really appreciate is a clean rom with a repository of optional components, i don't mind there being a chinese keyboard, but please make it optional.
If i could i would love to get in to the cooking game, i've thought about it several times over the last few years. Alas, i don't know where to start, at least not with Hero.
If anyone can point me to a good starting place i would love to give it a try and make the rom im talking about.
Cheers
[xstream] said:
I second that.
As a fairly long time xda-user i often find it frustrating to find a good rom for my phone.
Just the other day i got my hero and this time there seems to be slightly fewer roms floating around but it's still pretty hard to find a suitable one.
I think alot of us have a good idea of what exactly we want and alot of roms have a bunch of stuff we really dont care about as much as the chef.
What i would really appreciate is a clean rom with a repository of optional components, i don't mind there being a chinese keyboard, but please make it optional.
If i could i would love to get in to the cooking game, i've thought about it several times over the last few years. Alas, i don't know where to start, at least not with Hero.
If anyone can point me to a good starting place i would love to give it a try and make the rom im talking about.
Cheers
Click to expand...
Click to collapse
i believe CKDroid is the one for you. it comes with a small kitchen (windows only) to enable you to customize the rom. it's quite stable too
also ... look here for a start to your cooking career.
Lennyuk said:
They are all based on different Kernals (the basis of the rom) so therefore they are built up differently leading to different things working and not working.
Click to expand...
Click to collapse
this is wrong. all the 2.1 roms are based on the exact same kernel from the only leaked 2.1 rom we have. as soon as the sources are out a lot will change, but until then the kernel is one of the biggest limitations.
kendong2 said:
this is wrong. all the 2.1 roms are based on the exact same kernel from the only leaked 2.1 rom we have. as soon as the sources are out a lot will change, but until then the kernel is one of the biggest limitations.
Click to expand...
Click to collapse
I was sure that the sense based 2.1 roms and the normal android 2.1 roms were based on different sources.
Lennyuk said:
I was sure that the sense based 2.1 roms and the normal android 2.1 roms were based on different sources.
Click to expand...
Click to collapse
kernel != rom
there is only one binary 2.6.29 kernel for the 2.1 roms. compare the roms, you will see that the kernel is always:
Code:
2.6.29-8d063048
[email protected]
even if some (one) devs try to make it look like they have a custom kernel...
kendong2 said:
kernel != rom
there is only one binary 2.6.29 kernel for the 2.1 roms. compare the roms, you will see that the kernel is always:
Code:
2.6.29-8d063048
[email protected]
even if some (one) devs try to make it look like they have a custom kernel...
Click to expand...
Click to collapse
ok didn't know that. thanks
Lennyuk said:
I was sure that the sense based 2.1 roms and the normal android 2.1 roms were based on different sources.
Click to expand...
Click to collapse
There is only one set of freely available source code for Android 2.1 and that is the AOSP version. Note that this is quite distinct from the kernel source code, and is license separately.
For the most part, the Sense-based 2.1 ROMs will be using precompiled elements taken from leaked HTC ROMs, though may have some AOSP elements too.
When HTC do finally release 2.1 for Hero, they must then make the kernel source code as per the terms of the GPL. However, HTC do not ever have to release the source code for their version of Android because the Apache Software Licence (ASL) that Google released Android under is not a copyleft license.
Regards,
Dave
foxmeister said:
There is only one set of freely available source code for Android 2.1 and that is the AOSP version. Note that this is quite distinct from the kernel source code, and is license separately.
For the most part, the Sense-based 2.1 ROMs will be using precompiled elements taken from leaked HTC ROMs, though may have some AOSP elements too.
When HTC do finally release 2.1 for Hero, they must then make the kernel source code as per the terms of the GPL. However, HTC do not ever have to release the source code for their version of Android because the Apache Software Licence (ASL) that Google released Android under is not a copyleft license.
Regards,
Dave
Click to expand...
Click to collapse
Always learning...
Thanks
None of the current 2.1 ROMS is worth using, they're all just useful for experiments with Android 2.1 - no more than that.
I'm happy with MCR 3.1 so far, it's fast stable, working and relyable, nothing of that could be said of any 2.1 custom ROM so far. So please wait 2 or 3 more weeks until we finally get a real working 2.1 ROM from HTC.
Nemo0815 said:
None of the current 2.1 ROMS is worth using, they're all just useful for experiments with Android 2.1 - no more than that.
I'm happy with MCR 3.1 so far, it's fast stable, working and relyable, nothing of that could be said of any 2.1 custom ROM so far. So please wait 2 or 3 more weeks until we finally get a real working 2.1 ROM from HTC.
Click to expand...
Click to collapse
That's just your opinion
VillianRom is currently offering me everything I need to use in a ROM with no issues at all.
Sure some people have problem with different roms but thats because everyone has different needs and uses with their devices.

[Kernel/Drivers]Old 2.1 VS Eris leak

Hi,
I'm playing with ROM building recently and I when building 2.1 ROM, everyone say "We can't fix X issue because we don't have kernel sources".
I was shocked seeing all great hardware support is on the Eris leak based ROMs.
Why thoses ROMs have better hardware support ? I thought when we port a ROM, we take a working boot.img (kernel + drivers) and the new system.img together. So if I'm not wrong, what make thoses ROMs better ?
I'm probably missing some key understanding. If you can help me, I'll really appreciate.
Regards,
mik
Eris is basically Verizons Wireless's re-branded version of Hero.
The hardware and everything is same, just the physical appearance.
So our new kernel base is now this one ?
I'm asking because I'm building AOSP (cyanogenmod) ROMs so if this new kernel+drivers is the way to go, I'll start wirking with this as base and not the old HERO2.1 one
mik- said:
So our new kernel base is now this one ?
I'm asking because I'm building AOSP (cyanogenmod) ROMs so if this new kernel+drivers is the way to go, I'll start wirking with this as base and not the old HERO2.1 one
Click to expand...
Click to collapse
The kernel of the Eris is different to the Hero, they are still using the old kernel on the Eris port
l0st.prophet said:
The kernel of the Eris is different to the Hero, they are still using the old kernel on the Eris port
Click to expand...
Click to collapse
So why the hardware support is so good ?
hardware driver...
Isn't all of this supposed to be open source anyway? Like, if the official kernel has better hardware support, why isn't it in the Android Open Source Project (AOSP), if Android is GPL-licensed Free Software? Is there a violation of the GPL going on here?
FunkTrooper said:
Isn't all of this supposed to be open source anyway? Like, if the official kernel has better hardware support, why isn't it in the Android Open Source Project (AOSP), if Android is GPL-licensed Free Software? Is there a violation of the GPL going on here?
Click to expand...
Click to collapse
Because the official kernel isn't officially available, it's still technically in development. They are under no obligation to release it until they release it to the public, by which point we will have it anyway
FunkTrooper said:
Isn't all of this supposed to be open source anyway? Like, if the official kernel has better hardware support, why isn't it in the Android Open Source Project (AOSP), if Android is GPL-licensed Free Software? Is there a violation of the GPL going on here?
Click to expand...
Click to collapse
Common misconception number 1 - Android is *not* licensed under the GPL, it is licensed under the Apache Software License (ASL). This license is not a copy left license so OEMs who modify the Android source are under absolutely no obligation to make their modified source code available.
However, the Linux kernel upon which Android runs is licensed under the GPL, so HTC must provide the source for any *shipping* software that uses said kernel. Since HTC have not officially released their version of Android 2.1, again they are under no obligation to supply kernel source. The second that they official ship the update, this changes and they are obliged under the terms of the GPL to make the kernel source available.
Regards,
Dave
And I hate to be a complete noob, but are these drivers that provide the nice hardware support part of the kernel?
If not, what difference would it even make if we didn't have the official kernel sources?
Since the Eris has the exact same hardware as the Hero, why can't we use the same kernel as the Eris rom ?
Latoc said:
Since the Eris has the exact same hardware as the Hero, why can't we use the same kernel as the Eris rom ?
Click to expand...
Click to collapse
Because it isn't the same hardware.
The Eris is close, but not identical to the Hero. The major difference is it's CDMA, not GSM. And, it uses touch buttons instead of physical buttons.
Other than those two, I'm not sure if there are any other significant differences. Point being that those differences are enough to warrant a different kernel.
e.japonica said:
hardware driver...
Click to expand...
Click to collapse
So if I understand correctly, the Eris leak based ROM use the old kernel (2.6.29) but newer hardware drivers so my question is correct ... Should we use any Eris based ROM as base to make new AOSP ROMs ?
This way, we will keep the old kernel but new drivers ...
Please correct me if I'm wrong.
mik- said:
So if I understand correctly, the Eris leak based ROM use the old kernel (2.6.29) but newer hardware drivers so my question is correct ... Should we use any Eris based ROM as base to make new AOSP ROMs ?
This way, we will keep the old kernel but new drivers ...
Please correct me if I'm wrong.
Click to expand...
Click to collapse
Really, it's all going to change when we get to official Hero 2.1 ROM (and kernel,) because that's what we'll be using very soon (if we're to believe the hype about 2.1 finally coming this month.)
As for right now, it's up to you. If I were to start working on a ROM, I would use the Eris dump, although you'll have to change to the official kernel in a couple weeks anyway.
I'm not really sure what to say about using "the old kernel but new drivers. I'm not into kernel dev myself, but what's "old" and what's "new" is going to change soon anyway, so I don't think it matters too much at this point.
EDIT: Let me correct myself: If you're going to make an AOSP ROM, you won't use the Eris *ROM* as the base, you'd just use the kernel and drivers. The rest of the system would not have any HTC-ness attached to it (no Sense/HTC Mail/etc), so you'd actually use an AOSP image instead of an Eris/Hero image.
craig0r said:
Really, it's all going to change when we get to official Hero 2.1 ROM (and kernel,) because that's what we'll be using very soon (if we're to believe the hype about 2.1 finally coming this month.)
As for right now, it's up to you. If I were to start working on a ROM, I would use the Eris dump, although you'll have to change to the official kernel in a couple weeks anyway.
I'm not really sure what to say about using "the old kernel but new drivers. I'm not into kernel dev myself, but what's "old" and what's "new" is going to change soon anyway, so I don't think it matters too much at this point.
EDIT: Let me correct myself: If you're going to make an AOSP ROM, you won't use the Eris *ROM* as the base, you'd just use the kernel and drivers. The rest of the system would not have any HTC-ness attached to it (no Sense/HTC Mail/etc), so you'd actually use an AOSP image instead of an Eris/Hero image.
Click to expand...
Click to collapse
Yeah, I know. Sorry to not being clear enough. When we build AOSP build, we take an existing ROM to extract kernel and drivers to make the AOSP code working. When I say take Eris leak based Roms as base, I mean just the kernel/drivers part. I know the whole system will not be taken into account.
Eris and AOSP 2.1 roms
After looking at the previous 2.1 roms that were being used to cook and the Eris now being used by everyone, although both being 2.1 they do appear to be different versions of the same product
The Eris appears to be a cut down version of the ASOP 2.1 version, the mail app is still based around the 1.5 version HTC mail, rather than the mail app that is on ASOP which gives you global address list search etc on exchange, and new features on incoming mail for normal mail accounts.
Are features like this built into the kernel themselves ? or things like mail, dialers just apk files
A few forums are now reporting that the new official version of 2.1 for the hero will be a basic version compared to the versions running on desire and nexus. Which would be a disappointment

overclock?

Hey guys I saw over in the cdma forum that they managed to overclock the hero. Is it possible to move that hack over to the GSM hero or no?
if your phone is rooted and running a 1.5 based rom you can overclock.
If your rooted and running a 2.1 based rom then at the moment you can't overclock but you can still underclock (as the Kernal overrides the ability to overclock)
Very cool find. I wonder too, if the hack can be ported to the GSM Hero. They both run very similar processors, after all.
It's very possible on 1.5, but for 2.1 we need the kernel sources.
So lenny your saying if I apply the kernel patch over a 1.5 rom it'll work? just like that? seems way too easy
If your running a rooted 1.5 rom then all you need to do is download overclock widget from the market.
It is that simple yes.
Lennyuk said:
If your running a rooted 1.5 rom then all you need to do is download overclock widget from the market.
It is that simple yes.
Click to expand...
Click to collapse
That doesn't overclock. You can just tell it to run full capacity.
edit: correct me if i'm wrong
Yes i belive your correct, we need to apply the patch to the 1.5 kernel source recompile sign and flash if I am correct
I'm going to try it.
maxisma said:
I'm going to try it.
Click to expand...
Click to collapse
Please report back, i'm very interrested
I'm gonna give it a go as well
To bad the official 2.1 release will come out soon. Still i'm so excited over this
when we get the kernel source for 2.1 it should work for that too, I would say
I thought the kernel level overclock for the hero turned out not to work?
If we are talking about the one that allegedly got to run at 660mhz?
they're putting out roms that run at 710 over in the cdma forum. there saying they can max it out to 750 ish though.
Sent from my Hero using the XDA mobile application powered by Tapatalk
ive already started porting drivers from .29 to .27 for the gsm hero as i did for the cdma hero. ive been busy for a while now trying to get overclocking to work. now that me and phh have gotten the ugly part out of the way and its working. i can say for sure that it can easily be ported to the gsm hero. im finishing up rewriting it and cleaning it up now. but once im finished ill try and get back on porting .29 drivers to .27 for the gsm hero. so far i have all but camera working on the cdma hero in eclair with .27. i know no camera is a big drag down. but hey its better then hardly anything with .27
Hey, thats great news I've been tryin..... but I'm an old winmo guy and this android stuff is all quite new to me. Thanks for your hard work!!
toastcfh said:
ive already started porting drivers from .29 to .27 for the gsm hero as i did for the cdma hero. ive been busy for a while now trying to get overclocking to work. now that me and phh have gotten the ugly part out of the way and its working. i can say for sure that it can easily be ported to the gsm hero. im finishing up rewriting it and cleaning it up now. but once im finished ill try and get back on porting .29 drivers to .27 for the gsm hero. so far i have all but camera working on the cdma hero in eclair with .27. i know no camera is a big drag down. but hey its better then hardly anything with .27
Click to expand...
Click to collapse
that are really great news! Thanks for your hard work!
toastcfh said:
ive already started porting drivers from .29 to .27 for the gsm hero as i did for the cdma hero. ive been busy for a while now trying to get overclocking to work. now that me and phh have gotten the ugly part out of the way and its working. i can say for sure that it can easily be ported to the gsm hero. im finishing up rewriting it and cleaning it up now. but once im finished ill try and get back on porting .29 drivers to .27 for the gsm hero. so far i have all but camera working on the cdma hero in eclair with .27. i know no camera is a big drag down. but hey its better then hardly anything with .27
Click to expand...
Click to collapse
!!! will be waiting eagerly for your work!! any seperate thread we should be looking/subscribing at?
Can anybody compile a kernel patch to overclock the htc hero on 1.5?

What is the kernal for? and do I need to update it?

About to flash CM7. Seen some mention of 'kernal' in various threads. What does it do? and do I need to update it?
Cheers.
same question
The Kernel controls things like battery drain and CPU levels for overclocking etc... its not a must do but recommended for best performance. there is probably not a "best" one but more like the best that suits you. If you are running CM7 i would recomend Vork Kernel's or ManU kernels
Richardtrip's kernels are also very good: overcklocking, manual voltage level, Two-way call recording.
plohoi said:
Richardtrip's kernels are also very good: overcklocking, manual voltage level, Two-way call recording.
Click to expand...
Click to collapse
Have you used the call recording? If so how do you "activate" it or listen to the calls afterwards?
CdTDroiD said:
Have you used the call recording?
Click to expand...
Click to collapse
Yes call recording is working fine.
CdTDroiD said:
If so how do you "activate" it or listen to the calls afterwards?
Click to expand...
Click to collapse
There are several apps in http://forum.xda-developers.com/showthread.php?t=993793 thread, I used app by skvalex.
Since I'm new to Desire and HTC- what is the difference between Sense and AOSP kernels?
(before you ask- I know what AOSP is)
Do Sense firmwares require some extra drivers/modules/settings in kernel?
gen_scheisskopf said:
Since I'm new to Desire and HTC- what is the difference between Sense and AOSP kernels?
(before you ask- I know what AOSP is)
Do Sense firmwares require some extra drivers/modules/settings in kernel?
Click to expand...
Click to collapse
Hi there!
Sense is HTC proprietary software built over the top of Android. This code is not open source and is what HTC use to set themselves apart from other manufacturers like Samsung etc. Sense is what they sell as their user experience.
AOSP stands for Android Open Source Project. Since Android is an open source operating system, Google publish all the code and necessary tools to develop Android. Companies like HTC get the code and then write Sense over the top. Devs in this community like Cyanogen take the AOSP code and build their ROMS from scratch.
When you see ROMS that are for Sense 2.1 on Gingerbread for example this means that someone has been able to port software running on other phone models like the Desire HD or Incredible etc to your phone model (Desire)
As for the kernels you will need to make sure that the kernel you run is supported on the device and that's about it. The Kernel has to have some key components or the phone won't work so the ROM you use just uses them.
Having said that, ROM developers usually optimise around one or two particular Kernels. They are usually included in the ROM or the Dev will tell you which one they recommend for certain purposes.
You do have to have apps in the system that can access settings if customising the performance beyond what the dev has already done is what you want to do.
Thanks for the answer but it's not exactly what I'd like to know
Thing is- what makes Sense kernel incompatible with AOSP firmware (and vice versa)
Sorry for not answering what you were looking for. I'll try again.
The Kernels for Sense would have specific code that enables features in the phone that HTC build. LED control, light sensor etc. I assume Sense is quite strict about what it will work on and what it won't.
The AOSP Kernels are built without knowing the exact hardware maps of the internal components and as such won't work with Sense because they simply don't know how due to HTC keeping a lid on all source work for Sense and the handset itself.
The best developers can figure most of it out (certainly I am not a dev, just a geek ) and teams like CyanogenMod have it mostly discovered and configurable.
Is that more helpful?
Isn't Sense a HTC's android framework "mod"? I mean does it "just" provide more/different functionality than AOSP?
AFAIK all kernels must be built knowing exact hardware map, otherwise some devices will not work or kernel will not boot. The only autodetect I'm aware of is display panel type and filesystems (I did mess with kernels @samdroid.net)
i have a question about kernels an such from what i understand is you don't need to update the kernel but its a good idea too do so. couple questions i have.
1. how do you know what kernel you have installed currently.
2. How do you flash or get a new one installed if you need or want it.
3. scene i am using core droid 6.3 gb2.3.3 what kernel would be the most compatible or effective?
I have had my inspire phone for 3 months an finally rooted it 3weeks ago sence then i have used the rom manager too play with different roms an make backups of the 2 i have found i like the most. After reading i have seen it stated too get the most out of these roms though you should install a different kernel.
To know your currently version, you have to go in parametres and then logiciel version and look at build. Sorry for my bad English.
Sent from my HTC Desire using XDA Premium App
I don't want open a new thread, so I will ask here.
Now I have
kernel
2.6.32.15-gf5a401c
baseband
32.49.00.32U_5.11.05.27
Click to expand...
Click to collapse
on stock pre rooted 2.2 Froyo.
I want put this ROM. Can I put this ROM with my kernel and radio or I musst put latest kernel and radio?
GTRSkyR34 said:
I don't want open a new thread, so I will ask here.
Now I have
on stock pre rooted 2.2 Froyo.
I want put this ROM. Can I put this ROM with my kernel and radio or I musst put latest kernel and radio?
Click to expand...
Click to collapse
You will find that many roms contain a kernel in the zip file, so it will often change when you flash a rom. If not, the developer may recommend one.
Radio is independent of rom flash, and unless you start getting connectivity problems there is normally no need to change it. Again, some developers will recommend a radio (and maybe a RIL if they know a particular combination works well with their rom.

Sprint HTC One Kernels

Can Sprint HTC one kernels workon our VZW Ones?
jmotyka said:
Can Sprint HTC one kernels workon our VZW Ones?
Click to expand...
Click to collapse
No.
I figured that much. My thought behind the question was that maybe the kernels for the htc one were like the universal kernels for the S3.
jmotyka said:
I figured that much. My thought behind the question was that maybe the kernels for the htc one were like the universal kernels for the S3.
Click to expand...
Click to collapse
There could be but to the best of my knowledge NEVER flash another carriers kernel..
I'd like to see these universal kernels..
you aren't talking about ROMs that can be flashed on any carrier? that just has all the files for all the carriers, so it chooses your device by the coding in your phone and will select the correct one and flash the kernel for your ROM.
Imoseyon Had kernels that were universal. Im not sure if they had installers that detected which device you had or if the kernels were literally universal.
But how hard would it be to make a kernel from someones sprint source code? Did HTC ever release source code for VZW?
jmotyka said:
Imoseyon Had kernels that were universal. Im not sure if they had installers that detected which device you had or if the kernels were literally universal.
But how hard would it be to make a kernel from someones sprint source code? Did HTC ever release source code for VZW?
Click to expand...
Click to collapse
it's not possible to use sprints code..
or.. we would
This seems like an appropriate thread to post this:
Do the ROM's and Kernels from the general HTC One thread work for our Verizon version? Some of the threads read they work on all carriers except Sprint...
Anyone know when HTC will release the source code for the verizon or do you know if this version would work? I wouldn't mind putting something together...but I have only had this device a few days and I only starting to get a Sense of what's going on...
One HTC WWE MR 3.4.10 v4.2.2 99.7 MB 2.24.1136.1
I agree. I know that in some way a kernel would be able to be compiled because we have working CM, Vanir roms. Those dont run on sense kernels. So some how some way a kernel can be compiled.
jmotyka said:
I agree. I know that in some way a kernel would be able to be compiled because we have working CM, Vanir roms. Those dont run on sense kernels. So some how some way a kernel can be compiled.
Click to expand...
Click to collapse
Yes a kernel can and has been compiled using the International source code.
That doesn't mean it is ideal or going to work well on our stock rom or at all.
Once my device arrives on Thursday I plan to look into it.
But I would prefer that Verizon and HTC just get on the ball and drop our source so we can be sure to build proper kernels.
I just read something over at HTC elevate where someone mentioned we can use the Kernel Source code from the International LTE One to build a kernel for VZW.
jmotyka said:
I just read something over at HTC elevate where someone mentioned we can use the Kernel Source code from the International LTE One to build a kernel for VZW.
Click to expand...
Click to collapse
Correct, that's the one I meant. :good:
I updated my post above accordingly.
That was what was used for our CM10.2 and likely anything else we have that's AOSP based so far.
Would still like for HTC/Vzw to get with it and just release ours as well, as there could be slight variations in a few regards.
I prefer AOSP builds. With that being said id be looking for a kernel for AOSP builds. I just feel more comfortable using a lean kernel, stripped of unnecessary junk and optimized for speed and battery life. I feel custom ones give me that over stock.

Categories

Resources