You are suggested to apply the patches on a fresh source. 1. cursor patch is for <android-src>/frameworks/base directory 2. 2nd one is for init.rc file. You need to cd into <android-src>/vendor/asus/eee_701
On Tue, May 5, 2009 at 1:16 PM, adhi <rad.naraya...@gmail.com> wrote: > > Hi ! > > I have some doubts. > > 1) the new Mouse-cursor-patch is okay . So I guess we should undo the > old patches "cursor.patch" since some of then went through ? > > 2) Since I am doing manually I need to CD to the proper directory. The > second patch "0001-1.-new-kernel.config-to-enabled-mouse-and-vesa-fb- > dr.patch" there is no project descriptor, So do not know where to > go ? > > Cheers > > Varadarajan > > www.thinteknix.com > Ottawa > Canada > > > > On May 5, 2:49 am, Ravishankar Haranath <rav...@gmail.com> wrote: > > Both the patches got applied properly. Need to check the cursor working > > after building the installer.img. > > > > Rgds, Ravi > > > > > > > > On Mon, May 4, 2009 at 10:40 PM, Yi Sun <beyo...@gmail.com> wrote: > > > try attached. And let me know if it works. If it is ok, then I will > > > upload it. > > > > > BTW--- you need to make sure that your kernel has wake_lock enabled > > > otherwise, current cursor patch will not work. > > > Yi > > > On Sun, 2009-05-03 at 23:45 -0700, adhi wrote: > > > > Hi ! > > > > > > I am following the steps mentioned in this forum and I am the stage > of > > > > applying patches. All the patches namely, > > > > alarm.patch, boot_able_img.patch, cursor.patch, e2fsprogs.patch and > > > > frameworks.patch are okay except the cursor.patch. > > > > > > Following is the output , > > > > > > varadara...@thinteknix:~/Desktop/mydroid/frameworks/base$ git apply > -- > > > > reject --whitespace=fix ~/Desktop/x86-patches/cursor.patch > > > > /home/varadarajan/Desktop/x86-patches/cursor.patch:38: trailing > > > > whitespace. > > > > if (test_bit(BTN_LEFT,key_bitmask) && > > > > /home/varadarajan/Desktop/x86-patches/cursor.patch:78: trailing > > > > whitespace. > > > > (di, di.mDownTime, curTime, > > > > /home/varadarajan/Desktop/x86-patches/cursor.patch:80: trailing > > > > whitespace. > > > > ((ev.flags & > > > > /home/varadarajan/Desktop/x86-patches/cursor.patch:81: trailing > > > > whitespace. > > > > > > WindowManagerPolicy.FLAG_WOKE_HERE) > > > > /home/varadarajan/Desktop/x86-patches/cursor.patch:92: trailing > > > > whitespace. > > > > ((classes&RawInputEvent.CLASS_MOUSE) > ! > > > > = 0))) { > > > > Checking patch core/java/android/view/RawInputEvent.java... > > > > Checking patch include/ui/EventHub.h... > > > > Checking patch libs/ui/EventHub.cpp... > > > > Checking patch services/java/com/android/server/KeyInputQueue.java... > > > > Checking patch services/java/com/android/server/ > > > > WindowManagerService.java... > > > > error: while searching for: > > > > int eventType; > > > > if (ev.classType == > > > > RawInputEvent.CLASS_TOUCHSCREEN) { > > > > eventType = eventType((MotionEvent) > > > > ev.event); > > > > } else if (ev.clas > > > > error: patch failed: services/java/com/android/server/ > > > > WindowManagerService.java:5079 > > > > Applied patch core/java/android/view/RawInputEvent.java cleanly. > > > > Applied patch include/ui/EventHub.h cleanly. > > > > Applied patch libs/ui/EventHub.cpp cleanly. > > > > Applied patch services/java/com/android/server/KeyInputQueue.java > > > > cleanly. > > > > Applying patch services/java/com/android/server/ > > > > WindowManagerService.java with 1 rejects... > > > > Hunk #1 applied cleanly. > > > > Hunk #2 applied cleanly. > > > > Hunk #3 applied cleanly. > > > > Hunk #4 applied cleanly. > > > > Hunk #5 applied cleanly. > > > > Hunk #6 applied cleanly. > > > > Hunk #7 applied cleanly. > > > > Hunk #8 applied cleanly. > > > > Hunk #9 applied cleanly. > > > > Rejected hunk #10. > > > > Hunk #11 applied cleanly. > > > > varadara...@thinteknix:~/Desktop/mydroid/frameworks/base$ > > > > > > Any idea why this is happening ? Is this okay or to be ignored ? > > > > > > Cheers > > > > Varadarajan > > > > Ottawa > > > >www.thinteknix.com > > > > -- > > ________ > > / ______ ) Ravishankar Haranath > > / / ____ > > / | / __) http://www.linmaya.net > > | |__/ / > > | ___/ > > || || > > > -- ________ / ______ ) Ravishankar Haranath / / __ / |__/ __) http://www.linmaya.net | / | ___/ || || --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---