Minimum Linux Kernel Version required for Android porting

by Ashwin Bihari » Tue, 25 May 2010 22:17:50 GMT

Sponsored Links
 You can use ANY Kernel version to get Android up and running, but
you'd have to bring in all the Android-specific code for the Kernel
into it first..the problem is that Cupcake (Android 1.5) was based on
2.6.27, Donut was 2.6.29 and Eclair is 2.6.29/32 and FroYo is 2.6.32..

So you'd have to go back to the 2.6.27 tree, figure out what are the
Android-specific changes and then port those changes back to 2.6.18,
not a simple feat by any stretch of the imagination.

You'd be MUCH better served to use one of the Kernels that Android
already has support for and then bring in your BSP into that tree..

-- Ashwin


Other Threads

1. TextView scrolling (in case anyone finds this useful)

This is rough and quick, but after a couple of minutes looking aroudn
I didn't find anything about asking Google to auto-scroll my TextView
(I'm sure there are several ways to do this), so I used this for now.

    public void AdjustScroll( TextView in_oTextView )
                We know how big the control is, we know how big
                a line is, we know how many lines there are,
                so how much do we have to scroll to keep the latest
                data in view?
        int l_nLineCount = in_oTextView.getLineCount();
        int l_nViewHeight = in_oTextView.getHeight();
        int l_nPixelsPerLine = in_oTextView.getLineHeight();

        //The difference between view height and total text height
        int l_nDifference = ( l_nLineCount * l_nPixelsPerLine ) -

        if( l_nDifference < 1 )

        in_oTextView.scrollTo( 0, l_nDifference );

2. How do I remove/disable the bar displaying the app name.

Hi All,
I have put up a screenshot of the problem I am facing. I would like to
remove the bar on the top of the screen ( circled in blue). The
screenshot link is
. I am not sure what the name of that part of the UI is :) hence the
screenshot. I noticed that in the examples given here ( the
tabWidgett doesnt have the "bar" either. Same is with contacts app (as
shown in the screenshot).

Can someone point me to info which details this.


3. remove|delete res/raw files

4. How to specify the port when programmatically listening for SMS messages?

5. ImageView onclick, which area was clicked?

6. Power Management: LCD Back light resume 1 min after wakeup!

7. irc client using pircbot