Thanks to a patch made from Sittiphol, now I've Android m5-rc15 run on N800.
After have downloaded the kernel obtained from android-on-n8xx and applied
the patch v1 from the same site and for the touchscreen in a my previous
post, you have to add the following line in omapfb_main.c in path
drivers/video/omap/:
line 579:
if (var->xres + var->xoffset > var->xres_virtual)
var->xoffset = var->xres_virtual - var->xres;
if (var->yres + var->yoffset > var->yres_virtual)
var->yoffset = var->yres_virtual - var->yres;
+ var->yres_virtual = var->yres_virtual * 2; // Add this line
line_size = var->xres * bpp / 8;
On the ramdisk of m5-rc15 I've applied the same changes of the m3-rc37a
(init.rc and qwerty.kl).
After I launch the m5 from maemo running with the following two script:
start_android_m5_script.sh
#!/bin/sh -x
echo "Starting Android m5..."
mount /dev/mmcblk1p2 /media/mmc1p2
rm -rf /media/mmc1p2/tmp/*
umount -l /proc
umount -l /sys
sleep 1
mount -t proc proc /media/mmc1p2/proc
mount -t sysfs sysfs /media/mmc1p2/sys
mount --bind /dev /media/mmc1p2/dev
chmod -R 777 /media/mmc1p2
echo z > /media/mmc1p2/proc/sysrq-trigger
umask 000
chroot /media/mmc1p2 /a.sh
a.sh:
#!/system/bin/sh -x
export PATH=/sbin:/system/sbin:/system/bin:$PATH
export LD_LIBRARY_PATH=/system/lib
export ANDROID_BOOTLOGO=1
export ANDROID_ROOT=/system
export ANDROID_ASSETS=/system/app
export ANDROID_DATA=/data
export EXTERNAL_STORAGE=/sdcard
export DRM_CONTENT=/data/drm/content
export
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework-tests.jar
cd /dev
mkdir /dev/log
ln -s /dev/log_main /dev/log/main
ln -s /dev/log_events /dev/log/events
ln -s /dev/log_radio /dev/log/radio
ln -s /dev/dsptask/pcm1 /dev/eac
/system/bin/app_process -Xzygote /system/bin --zygote &
# /system/bin/strace -f -ff -o /tmp/zygote -tt -s 400
/system/bin/app_process -Xzygote /system/bin --zygote &
/system/bin/dbus-daemon --system &
# /system/bin/strace -f -ff -o /tmp/runtime -tt -s 400 runtime &
runtime &
/system/bin/sh
I've noted that this version is very low than the previous...
Best Regards,
Andrea Bernardi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Android Internals" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---