HI YiSun:
     Thanks for your help. The compling process was over this morning.
I'll check later why it's so time consuming. Now I can boot android on
x86 netbook now. Just when boot from usb disk, it erases the WinXp I
installed, and only have the standard linux .so files and none of
Android software packages are included. Is there any configrations to
boot from usb and does not erase the hard disks? And is that the
intaller.img does not contain the Android software packages? Thanks
again for your efficent help. Now the most difficult part for my
porting is over.

On 6月2日, 上午6时43分, Yi Sun <beyo...@gmail.com> wrote:
> I also combine all the mouse cursor fixes as well. Now the 0002* is
> removed.
>
>
>
> On Mon, 2009-06-01 at 12:13 -0700, Yi Sun wrote:
> > Ok, I have just checked out one new cupcake and built it with the
> > patches I posted.  I did not see any problem. I attached my screen.
> > Also, I apply the patch 0002*. It works as well.
> > I think your build env has issues. You may need to try to build the
> > standard cupcake without any patches first to isolate the problem.
> > Yi
>
> > ote: Recompile with -Xlint:deprecation for details.
> > Copying
> > out/target/common/obj/APPS/ApiDemosTests_intermediates/classes-full-debug.j­ar
> > Copying:
> > out/target/common/obj/APPS/ApiDemosTests_intermediates/classes.jar
> > target Dex: ApiDemosTests
> > target Package: ApiDemosTests
> > (out/target/product/eee_701/obj/APPS/ApiDemosTests_intermediates/package.ap­k)
> > Finding NOTICE files:
> > out/target/product/eee_701/obj/NOTICE_FILES/hash-timestamp
> > Combining NOTICE files: out/target/product/eee_701/obj/NOTICE.html
> > gzip -c out/target/product/eee_701/obj/NOTICE.html >
> > out/target/product/eee_701/obj/NOTICE.html.gz
> > Target system fs image:
> > out/target/product/eee_701/obj/PACKAGING/systemimage_unopt_intermediates/sy­stem.img
> > tune2fs 1.41.4 (27-Jan-2009)
> > tune2fs -C 1
> > out/target/product/eee_701/obj/PACKAGING/systemimage_unopt_intermediates/sy­stem.img
> > tune2fs 1.41.4 (27-Jan-2009)
> > Setting current mount count to 1
> > e2fsck -fy
> > out/target/product/eee_701/obj/PACKAGING/systemimage_unopt_intermediates/sy­stem.img
> >  ; [ $? -lt 4 ]
> > e2fsck 1.41.4 (27-Jan-2009)
> > Filesystem did not have a UUID; generating one.
>
> > Pass 1: Checking inodes, blocks, and sizes
> > Pass 2: Checking directory structure
> > Pass 3: Checking directory connectivity
> > /lost+found not found.  Create? yes
>
> > Pass 4: Checking reference counts
> > Pass 5: Checking group summary information
>
> > system: ***** FILE SYSTEM WAS MODIFIED *****
> > system: 324/816 files (1.9% non-contiguous), 391629/411380 blocks
> > Install system fs image: out/target/product/eee_701/system.img
> > Installed file list: out/target/product/eee_701/installed-files.txt
> > y...@ysun-desktop:~/android/cupcake_1.5$ ls
> > bionic  bootable  build  dalvik  development  external  frameworks
> > hardware  kernel  Makefile  out  packages  prebuilt  system  vendor
> > y...@ysun-desktop:~/android/cupcake_1.5$ cd frameworks/base/
> > y...@ysun-desktop:~/android/cupcake_1.5/frameworks/base$ git apply
> > ~/Desktop/0002-fixed-screen-flicking-caused-by-wrong-mouse-location.patch
> > /home/ysun/Desktop/0002-fixed-screen-flicking-caused-by-wrong-mouse-locatio­n.patch:112:
> >  trailing whitespace.
>
> > RawInputEvent.CLASS_TOUCHSCREEN,
> > warning: 1 line adds whitespace errors.
> > y...@ysun-desktop:~/android/cupcake_1.5/frameworks/base$
>
> > On Mon, Jun 1, 2009 at 9:18 AM, Yi Sun <beyo...@gmail.com> wrote:
> >         I'm checking out the cupcake and rebuild the tree with all
> >         these patches
> >         to see if I have the same issue. Otherwise, you may need to
> >         check your
> >         build environment.
>
> >         On Mon, 2009-06-01 at 02:26 -0700, GrainWang wrote:
> >         > HI YiSun:
> >         >      I have applied the 4 patches(and only the 4 patches),
> >         >      0001-1.-added-scripts-to-build-install-image.patch
> >         >      0001-1.-fixed-crash-caused-by-wrong-preload-class.patch
> >         >      alarm.patch
> >         >      e2fsprogs.patch, but I'm so depressed that after 5 ours
> >         > building,it still hangup at
> >         >      "Target Dex: framework", though there is little hope
> >         that it will
> >         > pass the build, I still hope that maybe tomorrow, I may got
> >         the
> >         > result.
> >         >       See the brief log below. If still not pass tomorrow,
> >         I'll give
> >         > you all the compile logs and the correspoding source files
> >         after
> >         > appling the patches. Do you still need other infromation for
> >         helpping
> >         > me to find out the reason? Thanks in advance!
> >         >      logs:
> >         >       ..........
> >         >      Install:
> >         out/target/product/eee_701/system/bin/system_server
> >         > Install:
> >         out/target/product/eee_701/system/lib/libandroid_servers.so
> >         > Note: Some input files use or override a deprecated API.
> >         > Note: Recompile with -Xlint:deprecation for details.
> >         > Note: Some input files use unchecked or unsafe operations.
> >         > Note: Recompile with -Xlint:unchecked for details.
> >         > Copying
> >         out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/
> >         > classes-full-debug.jar
> >         > Copying:
> >         out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/
> >         > classes.jar
> >         > target Dex: core-tests
> >         > Copying
> >         out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/
> >         > classes-full-debug.jar
> >         > Copying:
> >         out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/
> >         > classes.jar
> >         > target Dex: framework
>
> >         > On 6月1日, 上午10时35分, Yi Sun <beyo...@gmail.com> wrote:
> >         > > 0002 should be applied on top of the 0001. I don't have
> >         conflict on my
> >         > > tree. But anyway, I will combine them later.
> >         > > For now, don't apply 0002 patch. Without it you should be
> >         fine for
> >         > > now.
>
> >         > > On Sun, 2009-05-31 at 18:33 -0700, GrainWang wrote:
> >         > > > HI YiSun:
> >         > > >      The new patches confilt too. 0001*.patch and
> >         0002*.patch try to
> >         > > > patch the same KeyInputQue.java and
> >         WindowManagerService.java, See the
> >         > > > log below
> >         > > > r...@ubuntu:/home/cupcake_new/frameworks/base# git apply
> >         0001-1.-fixed-
> >         > > > crash-caused-by-wrong-preload-class.patch
>
> >         0001-1.-fixed-crash-caused-by-wrong-preload-class.patch:2427:
> >         trailing
> >         > > > whitespace.
> >         > > >                                       (di, di.mDownTime,
> >         curTime,
>
> >         0001-1.-fixed-crash-caused-by-wrong-preload-class.patch:2429:
> >         trailing
> >         > > > whitespace.
> >         > > >                                        ((ev.flags &
>
> >         0001-1.-fixed-crash-caused-by-wrong-preload-class.patch:2430:
> >         trailing
> >         > > > whitespace.
>
> >         > > > WindowManagerPolicy.FLAG_WOKE_HERE)
>
> >         0001-1.-fixed-crash-caused-by-wrong-preload-class.patch:2441:
> >         trailing
> >         > > > whitespace.
>
> >          ((classes&RawInputEvent.CLASS_MOUSE) !
> >         > > > = 0))) {
>
> >         0001-1.-fixed-crash-caused-by-wrong-preload-class.patch:2464:
> >         trailing
> >         > > > whitespace.
> >         > > >                                 if (false)
> >         > > > error: patch failed: services/java/com/android/server/
> >         > > > KeyInputQueue.java:278
> >         > > > error:
> >         services/java/com/android/server/KeyInputQueue.java: patch
> >         does
> >         > > > not apply
> >         > > > r...@ubuntu:/home/cupcake_new/frameworks/base# pwd
> >         > > > /home/cupcake_new/frameworks/base
> >         > > > r...@ubuntu:/home/cupcake_new/frameworks/base#
> >         cp /home/patch_new/0002-
>
> >         fixed-screen-flicking-caused-by-wrong-mouse-location.patch .
> >         > > > r...@ubuntu:/home/cupcake_new/frameworks/base# git apply
> >         0002-fixed-
> >         > > > screen-flicking-caused-by-wrong-mouse-location.patch
>
> >         0002-fixed-screen-flicking-caused-by-wrong-mouse-location.patch:112:
> >         > > > trailing whitespace.
>
> >         > > > RawInputEvent.CLASS_TOUCHSCREEN,
> >         > > > error: patch failed: services/java/com/android/server/
> >         > > > KeyInputQueue.java:41
> >         > > > error:
> >         services/java/com/android/server/KeyInputQueue.java: patch
> >         does
> >         > > > not apply
> >         > > > error: patch failed: services/java/com/android/server/
> >         > > > WindowManagerService.java:4578
> >         > > > error:
> >         services/java/com/android/server/WindowManagerService.java:
> >         > > > patch does not apply
>
> >         > > >  It seemed that the path is not correct.I'll try on
> >         mysite. Thanks!
> >         > > >      preloaded-classes.x86
> >          | 1156 ++++++++
> >         > > > +++++++++++
> >         > > >  .../java/com/android/server/KeyInputQueue.java     |
> >         45 +-
> >         > > >  .../com/android/server/WindowManagerService.java   |
> >          120 ++-
>
> >         > > > On 5月31日, 下午12时00分, Yi Sun <beyo...@gmail.com>
> >         wrote:
> >         > > > > Ok,I think you broke something when you apply the
> >         patches.
> >         > > > > Could u create a new tree and apply the new patches I
> >         loaded to the
> >         > > > > project page?
> >         > > > > Just use go to each project dir and apply the patch by
> >         using git apply
>
> >         > > > > On May 30, 2009, at 7:48 PM,
>
> >         > > > > GrainWang <wlc...@yahoo.com.cn> wrote:
>
> >         > > > > > HI YiSun:
> >         > > > > >   The same result when do not using step7,also are
> >         the steps "How to
> >         > > > > > build and install image for EeePC701" also the
> >         have-to-steps? I
> >         > > > > > modifid the all the .mk files and init.rc after
> >         appling the patch,but
> >         > > > > > I'm confused by this statement "compile kernel by
> >         disable VESA
>
> ...
>
> 阅读更多 »- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to