AOSP equals future support?

CNemo7539

Senior Member
Feb 3, 2008
178
6
0
They can! Loot at the number of kernels laying around!

Kernel doesn't know anything about device. It is very generic. Memory, process management, security etc. To work with hardware it needs proprietary drivers. I'm not 100% sure, but I guess in Linux is pretty monolithic system which require compilation. So, if driver is linked to particular version it possibly might work with this version only. I do not remember that C/C++ have some sort of build-in versioning, but it might be simply hardcoded at the points where modules need to be loaded, or something like this. But as always there are workarounds.

All this things that people do with kernels here leave me curious up to how system stability is insured. Everyone is free to change code, even whole parts and compile his own version. No wonder that later something doesn't work as expected.

I can understand developer who knows what he does and has his own sources, but it is definitely not for regular user.

Sorry, I went off topic a little bit.
 

ChrisDDD

Senior Member
Sep 26, 2010
493
147
0
They can! Loot at the number of kernels laying around!
But they started with a full, complete, working kernel. All these custom kernels are basically just the existing, stock kernel with some settings tweaked or twiddled with, AND they had the source code to it all.

Compiling a NEW and DIFFERENT version of the kernel with NO source code and only drivers designed for a previous version is totally different.

To again use the DOS analogy, think of the many 2.6.29 kernels we have as taking an existing install of DOS, tweaking the config.sys and autoexec.bat file, and making an image of the install.

To build a new kernel, as I said, you're creating DOS from scratch, along with all the hardware and driver support to go with it.

It's like the difference between painting an existing car and building a car from scratch. I don't know how else to convey the difference.

Look, if it was as easy as you suggest, the devs would be doing it. It's not.
 

CNemo7539

Senior Member
Feb 3, 2008
178
6
0
I'm talking about custom Linux kernel. What is new about compiling kernel with different settings or even drivers? Are talking about same thing here?

What I do not understand is why are you saying that they do not have Linux source code. Ain't Linux freely available? What is this then?
 

AlexDeGruven

Senior Member
Mar 24, 2008
685
213
0
Ann Arbor
www.structuredthought.org
Kernel doesn't know anything about device. It is very generic.
The kernel itself doesn't know about the devices (unless the code has been integrated into the source tree already), but the opposite is not true. Device drivers are compiled against a kernel version, and generally will only work with that version (with plenty of exceptions).

As a general rule, a device driver that was compiled against a 2.6.18 kernel will have trouble loading properly with a 2.6.35 kernel version.

Calls change, memory locations change, api hooks change, etc.

If a device driver's code is looking at a specific feature of a kernel and it's not there, it won't load properly.
 

Bwangster12

Senior Member
Jan 3, 2011
922
95
48
New York
The kernel itself doesn't know about the devices (unless the code has been integrated into the source tree already), but the opposite is not true. Device drivers are compiled against a kernel version, and generally will only work with that version (with plenty of exceptions).

As a general rule, a device driver that was compiled against a 2.6.18 kernel will have trouble loading properly with a 2.6.35 kernel version.

Calls change, memory locations change, api hooks change, etc.

If a device driver's code is looking at a specific feature of a kernel and it's not there, it won't load properly.
So can someone, relatively easily, explain how a ROM (like a Cyanogenmod, for example) is able to get a Froyo running on something like a G1?

Are they hacking the guts out of an old kernel so that it works with the ROM and the devices drivers?
 

CNemo7539

Senior Member
Feb 3, 2008
178
6
0
The kernel itself doesn't know about the devices (unless the code has been integrated into the source tree already), but the opposite is not true. Device drivers are compiled against a kernel version, and generally will only work with that version (with plenty of exceptions).

As a general rule, a device driver that was compiled against a 2.6.18 kernel will have trouble loading properly with a 2.6.35 kernel version.

Calls change, memory locations change, api hooks change, etc.

If a device driver's code is looking at a specific feature of a kernel and it's not there, it won't load properly.
That's is exactly what I wrote before. I guess my point was that changes in minor version number, should not preset any problem unless something absolutely important is not supported anymore.

Point of initial question in my understanding was, how I read it - why we have problems with kernel if kernels used by Eclair and Froyo have to be pretty much the same? And is it possible to customize Eclair kernel to be used with Froyo?
 

ivorycruncher

Senior Member
May 19, 2010
612
90
0
Wow, there is a lot of confusion going on in this thread. To address the OP, in response the question of what's the hangup, my response is that there isn't any one major roadblock at this point. The major roadblock was the RIL, because the source code Samsung released for it was garbage, and I think the other source may have been messed up too, full of bugs. That's why it's taken so long to get where we are now.

At this exact point in time, due to the work of birdman, jt1134, and punk.kaos, we have alpha builds of an AOSP 2.2 ROM and a CyanogenMod-based 2.2 ROM in the works. The kernel being used is a modified Eclair kernel (2.6.29), since we have no source for an actual Froyo kernel yet. The challenges right now are primarily hardware compatibility issues, since as it's been stated, device driver code doesn't necessarily work with Froyo the same way as Eclair, and correct me if I'm wrong, but the buggy source code plays into that as well. Oh, and jt and kaos pulled off a miracle by being able to reverse engineer the bad code into a working RIL, so that should also no longer be an issue, except for maybe some small remaining bugs.

So again, there is really no hangup, pursae, and we are not really waiting for anything at this point, as the devs are charging ahead with their ROMs. Kaos is killing bugs and enabling more hardware left and right, and will probably have another release soon with fully working wifi and GPS, and the camera is on his radar too. Once all the hardware is at least sort of working, it will probably graduate to beta status, and be acceptable as a daily driver for many. It's true that having these ROMs may very well help accelerate the development of additional ROMs, but there's nothing we can do to speed up the process at this point, other than give the devs the time they need to do their thing. It's possible that an official Froyo release from Samsung may help somewhat, assuming the source code they release with it is good, but even if it never comes out (which it will, I'm sure), it's looking like they're managing okay without it.
 

Bwangster12

Senior Member
Jan 3, 2011
922
95
48
New York
Again, that you everyone for these answers. I'm beginning to understand what is going on a lot better. Silly question though... If we are basically sure that Samsung will release 2.2, why is JT and other devs spending so much time and hard work on 2.2 roms? It sounds like the Fascinate probably wi be on it's own after 2.2 is released... So why wouldn't they be working harder and spendin all their time on 2.3.

I mean once 2.2 is released, won't shootin out roms for I be easier? If they are going to work as hard as they are, why not do it for a version we are pretty confident won't be officially released?
 

ChrisDDD

Senior Member
Sep 26, 2010
493
147
0
Again, that you everyone for these answers. I'm beginning to understand what is going on a lot better. Silly question though... If we are basically sure that Samsung will release 2.2, why is JT and other devs spending so much time and hard work on 2.2 roms?
Because when Samsung/Verizon finally release 2.2, it'll be the same bloated POS we have now with 2.1, so there will still be an interest in Cyanogen and AOSP roms.

It sounds like the Fascinate probably wi be on it's own after 2.2 is released... So why wouldn't they be working harder and spendin all their time on 2.3.
Not sure, it could be that it's just that much more complicated, because they'd then be working 2 full releases advanced of a base kernel for which source code and drivers exist.

There is a dev working on 2.3, but I'm sure it's a lot of work. And again, you have to realize people are doing this in their spare time, after work/school/life.
 

Bwangster12

Senior Member
Jan 3, 2011
922
95
48
New York
So... Taking for a fact that 2.2 will come out at some point, what are the odds that they figure out a 2.3?

I mean, correct me if I'm wrong, but THE only knock I've seen on this phone is updates... And it sounds like we will definitely get a 2.2 and then a 2.3 at least from the devs?

If updates are my concern, what stops me from upgrading right now? It sounds like the fascinate will get 2.2 and as good a chance as any to get 2.3, right?
 

ChrisDDD

Senior Member
Sep 26, 2010
493
147
0
If updates are my concern, what stops me from upgrading right now? It sounds like the fascinate will get 2.2 and as good a chance as any to get 2.3, right?
The phone will get 2.2 officially, no doubt, but I'd think it would be foolish to ever expect it to get 2.3 officially. It might get 2.3 from the devs, but who knows if that'll be a true 2.3 (rom + whatever version of the kernel 2.3 is supposed to run on) or 2.3 on a hacked 2.6.29 or 2.6.35 kernel. And there's only 1 developer that I'm aware of working on 2.3, so if his interest turns to a different phone, so will his development efforts.

If you're trying to decide whether or not to buy the phone, just ask yourself if you'd be happy for the life of the 2 year contract on Android 2.2 with the *chance* of getting an unofficial 2.3. If you would be, then buy it. If not, wait for another phone, or buy the Nexus S which gets it's updates directly from Google.
 

Bwangster12

Senior Member
Jan 3, 2011
922
95
48
New York
I'm a Verizon guy, so unfortunately the Nexus S is not an option.

That "chance" that you speak of is what I'm trying to understand. I'd be very happy with an official 2.2 and a very good chance of a 2.3 But If I know going in that 2.3 is like less than 50/50, then i don't know. I mean, by the end of the year, with just 2.2, we'd already be 2 versions behind and I'd still have over 1 year on my contract.

Won't more devs turn to 2.3 once 2.2 is out?
 

ChrisDDD

Senior Member
Sep 26, 2010
493
147
0
I'm a Verizon guy, so unfortunately the Nexus S is not an option.
Same here, unfortunately.

Won't more devs turn to 2.3 once 2.2 is out?
By the time 2.2 does come out, so will the next generation of phones, and they'll have all kinds of new capabilities like dual core cpu's, 4G support, no doubt more memory, possibly things like NFC chips, etc.

The fascinate is but one of literally dozens of Android phones, and dozens more will be coming out in the near future. The issue of developer support is one of how long will an independent developer be interested in this particular phone. The reality for ANY phone is - not really all that long.


That "chance" that you speak of is what I'm trying to understand.
If you will not be happy if the phone never sees 2.3, then you're best bet would be to play it safe and hold off for a phone that the manufacturer/carrier states will be upgraded.

As far as odds go, there's exactly 1 developer working on 2.3, what do you think the odds are? He's not going to guarantee he'll get 2.3 totally working, and no one else will guarantee that either. You're asking for concrete answers to questions that don't have concrete answers.

This is perhaps why the developers can be a little hostile to these types of questions - they're not being paid to do this, the odds are stacked against their success and it's a race of time getting something working before new releases make their work irrelevant. How much effort was put into DI01 roms, only to have DJ05 come out and not be compatible, only to itself be replaced by DL09 a matter of a week or two later.

And to top it all off, you have people asking for exact dates or exact odds when or if they'll get version X.X working, and what's taking them so long, and shouldn't it be easy to do, and so on. It comes across as demanding and ungrateful.

I bought the phone. Sure, I'd like to have seen it get 2.2 by now, but it hasn't. Thanks to the devs, I have a 2.1 rom that's incalculably better than stock. If they get 2.2 or 2.3 working, great, if not, I'll completely understand. At the end of the day, it's futile to chase the next version, because there will always be another version after that one.
 
Last edited:

ivorycruncher

Senior Member
May 19, 2010
612
90
0
If updates are my concern, what stops me from upgrading right now? It sounds like the fascinate will get 2.2 and as good a chance as any to get 2.3, right?
The Fascinate will get Froyo from Samsung/Verizon. Whether or not it will get Gingerbread officially is anybody's guess, but I'm willing to bet not. I don't believe any Android phone has ever gotten more than one official OS upgrade before it reaches EOL, except for the official Google phones like the Nexus One, so don't count on it. However, if you don't mind getting your updates fro XDA devs, then I think it's all but guaranteed that you will see Gingerbread on this phone.

Posted from my DL09 SuperClean Fascinate with Voodoo
 

Eddog4DROID

Senior Member
Dec 2, 2010
333
10
0
This thread had been extremely helpful and informative. I hope no one else complains about the OP. Much better than Where is Froyo???

Sent from my Fascinate: Super Clean, DL09 with Voodoo
 

Bwangster12

Senior Member
Jan 3, 2011
922
95
48
New York
Its that will this phone see 2.3 that I think a lot of users are questioning deep down inside. As much complaining as everyone is doing and as many articles that are being written, 2.2 is definitely coming.

If I were to upgrade tomorrow and 2.2 came out in a month... that would mean I'd be stuck with 2.2 for almost two years before I could upgrade. My concern is all these new apps that seem to come out that aren't supported on prior versions of Android.

I'm 100% certain that as the phone sits with 2.2, I'd be extraordinarily happy with it. My concern is all those apps that come out that won't be compatible with 2.2. Like, Google Voice Actions has been for example.
 

ChrisDDD

Senior Member
Sep 26, 2010
493
147
0
If I were to upgrade tomorrow and 2.2 came out in a month... that would mean I'd be stuck with 2.2 for almost two years before I could upgrade. My concern is all these new apps that seem to come out that aren't supported on prior versions of Android.
And you'll be in precisely the same situation if you hold out for a phone with 2.3 - you'll buy the phone with 2.3, a few months later, it'll get 2.4 with no guarantees it'll ever get 2.5 or 3.0. These versions will come out, and some apps won't be supported on 2.4 or less, and you'll be stuck for the remainder of your two year contract with a phone that won't be supported by a relatively small number of apps.

As was said, virtually no Android phone has officially received more than 1 version upgrade (beside the Google Nexus branded phones), and that's why I said chasing a certain version is futile.

You can choose look at it two ways: 1 as a negative - that your phone will be left behind before the end of your contract, or 2 as a positive - that technology marches on at such a blistering pace that, by the end of your two year contract, the phones you'll be choosing from will be THAT much more advanced with THAT much greater capabilities.

1 is just the reality of the situation - your phone WILL be left behind before your contract is up, like it or not. So you might choose 2 and see it as a positive.
 

Bwangster12

Senior Member
Jan 3, 2011
922
95
48
New York
The way I was thinking about it though is that I sorta view 2.2 as the standard right now and if the Fascinate gets it's one update, then it would just be updated to the standard right now. If I waited, for whatever, then I'd conceivably get a phone with 2.2 or 2.3 (doubt it) and then my one update would put me to the newest or close to newest OS available.

I understand everyone in this forum has a Fascinate, and I really want to get it, but the fact that it feels that the Fascinate is like chasing the pack scares me.

I think the Fascinate as it stands now is perfect for me. The only thing that I wish it had is the full Google Voice Actions so I could send texts and emails via voice. I know I can do this with Vlingo, but it would be nice to have integrated.
 

ChrisDDD

Senior Member
Sep 26, 2010
493
147
0
I understand everyone in this forum has a Fascinate, and I really want to get it, but the fact that it feels that the Fascinate is like chasing the pack scares me.
It's a totally valid concern, and it may be that it's not the phone for you.

The only thing that I wish it had is the full Google Voice Actions so I could send texts and emails via voice. I know I can do this with Vlingo, but it would be nice to have integrated.
Not sure how much more integrated it would be with Google Voice, but it can already compose e-mails, SMS's or any other texts by voice, and dial a contact by voice - by clicking the mic button in the Google Search bar and saying "Call SoAndSo".

And, if I'm not mistaken, Google Voice Actions is a feature of Android 2.2, so the phone WILL get it with the update.