PDA

View Full Version : [Android] Kernel V2(fixed mplaya, N800 touchscreen)-No n00b friendly install, not tested.


qwerty12
07-08-2008, 12:14 PM
No need for the warning anymore, seems like it was tested on N800 and N810 successfully, enjoy!

Oh, yes, I'm very sorry for forgetting :(. Thanks to josiahg777 for testing this kernel and a past one I made! I'm sorry for forgetting :(

What's improved:
- Now, framebuffer now defaults to manual so proggies using XSP are full sized, mplayer isn't green. (yum, green...)
- Rotation :)
- N800 touchscreen works :)


N800 Kernel:
http://www.mediafire.com/?xz2ccezr3td

N810 Kernel:
http://www.mediafire.com/?hhdtyydgcg8

(The tablet will not blow up if you use the wrong kernel on the wrong device. Instead, your tablet's ghost will haunt you and kill you for flashing a wrong kernel :)). Nah, it's just that the touchscreen fix is different so your touchscreen won't work in android if you flash the wrong kernel.

Use fanoush's kernel_flasher to flash this kernel and then modify /usr/bin/android.sh to run "fb_update_mode auto" right before the chroot line.

fb_update_mode: http://www.internettablettalk.com/forums/showthread.php?p=196179

Patches I used:
N800 Patch:
http://www.mediafire.com/?dz1gtw8wttw

N810 Patch:
http://www.mediafire.com/?gzcgggvcdxr

(The N810 patch is a lot more cleaner than the N800 one but it still does the same thing :)).


(BTW, If even I could compile this in windows, the rest of you have no excuse for making your own modded kernels :P)

For the rotation, I applied this:
http://sse2.net/rotate/Updated_blizzard_rotation_support_v2.diff

And then replaced omapfb_main with one that already had android changes on it and then added in the rotation stuff:
http://pastebin.com/f208a0fcb


Those patches apply straight onto an original linux 2.6.21 kernel tree. Ported to the diablo kernel by me ^-^ and the N810 touchscreen fix was ported to the N800 touchscreen by me. I take no credit in making these patches in the first place, that goes to the elinux/android on omap crew and android on n8xx team.

Thanks to fanoush for his kernel flasher and for fb_update_mode.

josiahg777
07-08-2008, 01:03 PM
Okay... It works!! And beautifully too!

Rotation works, Android will boot (it presents you with a blank white screen for about 30 seconds while the chroot command runs, just be patient) and the touchscreen works in Android!

You rock Qwerty12!

The blank white screen scared the crap outta me the first time I started Android 'cause it never went away. I thought I had WSODed my tablet! But I soon realized it was 'cause I had forgotten to follow directions >.< and hadn't added the "fb_update_mode" line to android.sh

Anyway, thank you again Qwerty! :)

Benson
07-08-2008, 01:04 PM
WSOC?

(White screen of coma...)

qwerty12
07-08-2008, 01:05 PM
Woot, thank you josiahg777 for testing!

Maybe penguinbait (pretty please) will update the installer to include this kernel ^-^ :P :)

josiahg777
07-08-2008, 01:06 PM
WSOC?

(White screen of coma...)

lol, perhaps :P

It was easily fixed by the removal of and subsequent re-application of mild electric stimulation. (to the tune of 3.7 volts) :P

And you're welcome qwerty :) Thank you! and is penguinbait back from his 4th of july vacation yet?

b-man
07-08-2008, 10:28 PM
Thanks qwerty12!!, you rock!!!!

Bundyo
07-09-2008, 03:31 AM
Um, could it be too much to ask you to add this patch? :)

http://intr.overt.org/4.2008.23-mmc-kernel/

b-man
07-09-2008, 10:46 AM
Everything is working great!! but there is only one little bug that i have discoverd, but i'm shure that this is an Android related bug and not kernel related, i've noticed that when using a stylis, you need to tap just above a menu item in order for it to respond. My guess it that the screen calibration gets displaced when running android?

qwerty12
07-09-2008, 11:07 AM
Um, could it be too much to ask you to add this patch? :)

http://intr.overt.org/4.2008.23-mmc-kernel/

If I get time :)

(But I have uploaded the patches I used so it's not just me that can do stuff with this now :))

Everything is working great!! but there is only one little bug that i have discoverd, but i'm shure that this is an Android related bug and not kernel related, i've noticed that when using a stylis, you need to tap just above a menu item in order for it to respond. My guess it that the screen calibration gets displaced when running android?

It may be, maybe I ported the touchscreen driver dodgily to the N800 touch screen :)

But in all honesty, that android touchscreen patch isn't perfect (on the N810 as well)

emil10001
07-09-2008, 01:50 PM
Wow, this is really great! I've been wanting to play with android since it was announced, and now it's living on my n800! Very exciting.

Thanks guys!

jzencovich
07-09-2008, 05:28 PM
Touchscreen works on my n800. I had a little hiccup with the fb_update_mode, I assumed that it came installed by default on the tablet (didn't know what it was). But eventually I got back to my shell, poked around, reread the thread, and downloaded a copy of fb_update_mode.

Qwerty, you referenced the right thread, but the wrong post (imo)

Thread(post): http://www.internettablettalk.com/forums/showthread.php?p=167871
fb_update_mode: http://fanoush.wz.cz/maemo/fb_update_mode.tar.gz
Kernel Flasher: http://fanoush.wz.cz/maemo/kernel_flasher.tgz

Thanks for the neverending work Qwerty, I really appreciate your compiling and brain usage :)

--Jon

Edit: Added a link to Fanoush's kernel flasher. Found some good instructions on how to use it over at the Screen Rotation thread: http://www.internettablettalk.com/forums/showthread.php?t=17842&highlight=fanoush

murphy
07-10-2008, 01:48 PM
could someone explain me how to flash the kernel ?
is it with initfs_flasher ? how ?

Benson
07-10-2008, 01:51 PM
No, kernel_flasher, also by Fanoush; alternatively, you can use flasher-3.0 under Linux to flash it from your PC...

murphy
07-10-2008, 04:23 PM
I've flashed the kernel but after reboot there's a new problem in maemo: all message windows are no more centered ! (up left or down right)

PS : Mplayer plays fine now. Nokia-to-nokia video chat too (it was also affected!).

EDIT : the windows can be dragged ! since when ???

qwerty12
07-10-2008, 04:39 PM
That's nothing to do with this kernel ;) :)

I presume you have installed the movable windows hack via qole's excellent chroot deb?

murphy
07-10-2008, 04:49 PM
I've installed the his easy-Debian package, it must be that :)

murphy
07-10-2008, 04:55 PM
about fb_update_mode, i've extracted all of it in /usr/bin
is it necessary to extract all the files in archive or just "fb_update_mode" ?

Benson
07-10-2008, 04:59 PM
:confused:
What did "nothing..." mean?

I think you may not quite get what qwerty12 was saying...

Included in Qole's Debian chroot package is a tweak that makes all dialogs draggable; it helps a lot with some apps. An unpleasant side-effect is that they always show up in the top-left corner...

And it only takes effect next time the tablet's restarted, which is why you only saw it after rebooting with the new kernel.

jzencovich
07-10-2008, 05:02 PM
about fb_update_mode, i've extracted all of it in /usr/bin
is it necessary to extract all the files in archive or just "fb_update_mode" ?

Only fb_update_mode needs to be in /usr/bin
The rest of the files are source if I recall...

Bundyo
07-10-2008, 05:25 PM
Yup, you recall right :)

drizek
07-11-2008, 05:59 PM
I put fbupdatemode in /usr/bin and added the line into the script but I still get the white screen of death. Am I missing a step or something?

murphy
07-12-2008, 12:34 AM
Maybe : #"chmod +x fb_update_mode" ?
Try "./fb_update_mode" in /usr/bin to see if it works.
When I extracted it in sdcard and put it in /usr/bin it doesn't worked but extracted directly in /usr/bin do it well.

josiahg777
07-24-2008, 01:23 AM
Also, like I said it takes a while even when it works right. About a minute.

But yeah, try chmodding it.

rednos
08-01-2008, 04:21 AM
Thanks guys!
I have a N800((OS2008), and I was able to find Android on my device using the android_installer.deb & android_image from previous post. It was really greate!, but it didn't work touchscreen.(It works navigation keys on left top) so I found this imaging post. I flash the kernel using N800zImage, and extracted fb_update_mode file to usr/bin, and added "./fb_update_mode auto" line before chroot to the android.sh. Touchscreen doesn't still work on android, even the navigation keys on the left top!. I guess this situation stared after the kernel flash. I think it's my fault. but i don't know how to solve this problems.
please advise to me about touchscreen problem.

p.s. How can I use the 'patch' tool on N800? I found the message "command not found".

mrant
09-27-2008, 01:48 PM
Does anyone else have a problem with bringing up the thumb-board after flashing this kernel? I like to have the stylus keyboard popup by default and bring up the finger keyboard with a finger-press, but that has stopped working after I installed android and flashed this kernel. I am going to try a different kernel and see if the problem is related to the touchscreen patch for this kernel.

--MrAnt--

Just flashed the base kernel with rotation support and the thumb-press to bring up the thumb-board works beautifully again. Just in case someone else is suffering the same problem, I downloaded the kernel with rotation support from here: http://www.internettablettalk.com/wiki/index.php?title=How_To:_Enable_screen_rotation_on_ OS2008_/_N800
Then extracted the kernel from the deb (/usr/share/osso/zImage...) and flashed it with the kernel flasher.

djasmith
11-02-2008, 09:58 AM
Hi all

Fabulous work getting Android ported over :)

I'm now trying to get the touch screen working on my N800 using the guide here.

I've clearly failed to interpret the fb_update_mode aspect of the install ?

I've patched the kernel using fanoush's kernel_flasher and modified /usr/bin/android.sh

Now when android launches none of my input controls work. The d pad now fails me ?

How does one implement this fb_update_mode ?

Many thanks

Dave

cyrus
11-02-2008, 06:00 PM
Question regarding this patch. Does this patch just contain the Android specific stuff (plus a few other tweaks) to the N8x0 kernel source available from Nokia. Or is it a patch to the base 2.6.21 kernel with the Android plus N810 specific stuff?

JustNick
11-13-2008, 11:26 AM
I was feeling adventurous, so I decided to try Android on my N800...
Success :D
Can't wait till we have a full port of the latest release (plus some good installable apps :D )
Thanks to everybody whose efforts made this possible :)