Ravi, THanks, please do let me know the test result. Yi On Tue, 2009-05-05 at 12:19 +0530, Ravishankar Haranath 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 > | |__/ / > | ___/ > || || > > >
--~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---