Hi Yi.

Eureka!!!!
I can see Android UI on VirtualBox .
Thanks for your advice

I've not thought the logcat till the end. Your advice is right !!

I could see this message as logcat result.

E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneLayoutInflater
E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneWindow
E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneWindow$1
E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneWindow$DecorView
E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneWindow$PanelFeatureState
E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneWindow$PanelFeatureState
$SavedState
E/Zygote  ( 2124): Class not found for preloading:
com.android.internal.policy.impl.PhoneWindow$PanelFeatureState
$SavedState$1
....
E/Zygote  ( 2124): Zygote died with exception
E/Zygote  ( 2124): java.lang.IllegalStateException: Missing class(es)

And the next step is here (this Thread).
And I applied your framworks.patch.

And I see popup dialog.
" The application Android keyboard(process
com.android.inputmethod.latin) has stopped unexpectedly. "

But This is working well on QEMU.

any advice?

Thanks
shlee.


On 4월12일, 오후4시19분, Yi Sun <[email protected]> wrote:
> You _must_ apply frameworks.path. Otherwise, Zygote will crash during
> the preloading the PhoneWindow classes and BatteryService will crash due
> to wrong sys fs path then you will never see the UI to come up.
>
> to get output of logcat, you only need to run the logcat command.
> Yi
>
>
>
> On Sun, 2009-04-12 at 00:14 -0700, shleeforandroid wrote:
> > sorry Yi. I don't know the method to output logcat. Would you tell me
> > howto please?
>
> > I didn't apply frameworks.patch yet.
>
> > On 4월12일, 오후4시09분, Yi Sun <[email protected]> wrote:
> > > logcat output please.
>
> > > Also> > And I applied boot_able_img.patch, alarm.patch, e2fsprogs.patch.
>
> > > Is this a typo or you did not apply frameworks.patch?
> > > Yi
>
> > > On Sun, 2009-04-12 at 00:05 -0700, shleeforandroid wrote:
> > > > Hi Yi.
>
> > > > I've just tested your patch.
>
> > > > EXT2-fs problem is resolved.
> > > > but
> > > > "sh:can't access tty; job control turned off "  message is still.
>
> > > > I am wating android UI for 10 minutes.
> > > > any suggestion?
>
> > > > Here is result message.
>
> > > > ...
> > > > [time..] init: /init.rc: 89: invalid option 'enabled'
>
> > > >                       ANDROID   [time..] atl2: disagrees about version
> > > > of symbol struct_module
> > > > [time..] softcursor: disagrees about version of symbol struct_module
> > > > [time..] bitblit: disagrees about version of symbol struct_module
> > > > [time..] font: disagrees about version of symbol struct_module
> > > > ...
> > > > [time..] drm: disagrees about version of symbol struct_module
> > > > [time..] i915: disagrees about version of symbol struct_module
> > > > [time..] fbcon: disagrees about version of symbol struct_module
> > > > sh: can't access tty: job control turned off
> > > > #
>
> > > > Thanks
> > > > shlee.
>
> > > > On 4월12일, 오전11시38분, Yi Sun <[email protected]> wrote:
> > > > > Shlee, thank you for trying this out.
> > > > > Yes I did not remove these modules from init.rc. And they are 
> > > > > harmless  
> > > > > for VB env anyway.
>
> > > > > The ext2 errors maybe a concern and it is the first time I see this. 
> > > > > I  
> > > > > will see if  I can reproduce the same.
>
> > > > > The typo in the line 89 of init.rc should be fixed and I will do.
>
> > > > > The sh error message is harmless as well.
>
> > > > > Suppose, when you reach current stage, you should see android UI to  
> > > > > come up in around 30 seconds. Have you seen the Android UI to come up?
> > > > > Yi
>
> > > > > On Apr 11, 2009, at 2:13 AM, shleeforandroid <[email protected]>  
> > > > > wrote:
>
> > > > > > Hi Yi
>
> > > > > > environment:
> > > > > > VirtualBox : Sun xVirtualBox 2.1.4
> > > > > > Host : Windows XP, guest: Ububtu8.10
>
> > > > > > I did android building process on guest environment(Ubuntu).
>
> > > > > > I downloaded above patches from
> > > > > >        
> > > > > > http://code.google.com/p/patch-hosting-for-android-x86-support/
> > > > > > (boot_able_img.patch,
> > > > > > alarm.patch,
> > > > > > frameworks.patch,
> > > > > > e2fsprogs.patch )
>
> > > > > > And I applied boot_able_img.patch, alarm.patch, e2fsprogs.patch.
> > > > > > And I could accept installed.img successfully.
> > > > > > And I converted *.img to *.vdi on DOS cmd using VBoxManage.exe.
> > > > > > ( VBoxManage.exe convertfromraw -format VDI c:\installer.img c:
> > > > > > \installer.vdi )
>
> > > > > > I
>
> > > > > > finally I can see this result.
> > > > > > ....
> > > > > > [time..] init: /init.rc: 89: invalid option 'enabled'
>
> > > > > >                      ANDROID   [time..] EXT2-fs warning: mounting
> > > > > > unchecked fs, running e2fsck recommended
> > > > > > [time..] EXT-fs warning: mounting unchecked fs, running e2fsck
> > > > > > recommended
> > > > > > [time..] atl2: disagrees about version of symbol struct_module
> > > > > > [time..] softcursor: disagrees about version of symbol struct_module
> > > > > > [time..] bitblit: disagrees about version of symbol struct_module
> > > > > > [time..] font: disagrees about version of symbol struct_module
> > > > > > ...
> > > > > > [time..] drm: disagrees about version of symbol struct_module
> > > > > > [time..] i915: disagrees about version of symbol struct_module
> > > > > > [time..] fbcon: disagrees about version of symbol struct_module
> > > > > > [time..] attempt to access beyond end of device
> > > > > > [time..] sda: rw=0, want=1022448, limit=1021432
> > > > > > [time..] attempt to access beyond end of device
> > > > > > [time..] sda: rw=0, want=1022448, limit=1021432
> > > > > > [time..] EXT2-fs error (device sda8): ext2_readdir:bad page in #505
> > > > > > [time..] Remounting filesystem read-only
> > > > > > sh: can't access tty: job control turned off
> > > > > > #[time ..] eth0: link up, 100Mbps, full-duplex
> > > > > > _ <== if enter
> > > > > > #
>
> > > > > > If I modified /vendor/asus/eee_701/init.rc not to include modules
> > > > > > (atl2.ko, softcursor.ko ... etc),
> > > > > > I did see
>
> > > > > > ...
> > > > > > some logs
>
> > > > > >              ANDROID
> > > > > > sh: can't access tty: job control turned off
> > > > > > [time..] eth0: link up, 100Mbps, full-duplex
>
> > > > > > What can I do to fix this problem? Any suggestion?
>
> > > > > > Thanks
> > > > > > shlee
>
> > > > > > On 4월10일, 오전3시43분, Yi Sun <[email protected]> wrote:
> > > > > >> THen you don't need to worry about i915 at all. forget about it, 
> > > > > >> just
> > > > > >> make sure you have config the vesa fb correctly as Chen said. And  
> > > > > >> make
> > > > > >> sure you have passed in the correct cmdline.
>
> > > > > >> On Thu, 2009-04-09 at 11:36 -0700, shleeforandroid wrote:
> > > > > >>> hi Yi.
> > > > > >>> I have no eeePC.
> > > > > >>> so, I am testing on just VM.
>
> > > > > >>> On Apr 10, 3:24 am, Yi Sun <[email protected]> wrote:
> > > > > >>>> Are you going to run it on the real eee PC target or just a VM?
>
> > > > > >>>> On Thu, 2009-04-09 at 11:11 -0700, shleeforandroid wrote:
> > > > > >>>>> Hi Brian.Yi
>
> > > > > >>>>> thaks for your early reply.
> > > > > >>>>> I've struggled with android 2.6.25 kernel building with  
> > > > > >>>>> modifying some
> > > > > >>>>> config option. T.T;;
>
> > > > > >>>>> I did like this to make latest drm module.
> > > > > >>>>>                       aa$ git clone git://
> > > > > >>>>> anongit.freedesktop.org/git/mesa/drm
> > > > > >>>>>                       aa$ cd drm/linux-core && make
> > > > > >>>>>  aa/drm/linux-core$ ls *.ko
> > > > > >>>>>          drm.ko   mach64.ko  nouveau.ko  radeon.ko  sis.ko    
> > > > > >>>>> via.ko
> > > > > >>>>>          i810.ko  mga.ko     r128.ko     savage.ko  tdfx.ko  
> > > > > >>>>> xgi.ko
>
> > > > > >>>>>  aa/drm/linux-core$ cp drm.ko ~/mydroid/vendor/asus/eee_701/
> > > > > >>>>> modules/
> > > > > >>>>> drm.ko
> > > > > >>>>>  aa/drm/linux-core$ cd ~/mydroid
> > > > > >>>>>               mydroid$ TARGET_ARCH=x86 TARGET_PRODUCT=eee_701
> > > > > >>>>> DISABLE_DEXPREOPT=true make -j2 installer_img
>
> > > > > >>>>> and I will modify init.rc.
> > > > > >>>>>        <out/~/eee_701dir>$ vi rootimg/init.rc
> > > > > >>>>> ### Load some modules
> > > > > >>>>> #    insmod /lib/modules/atl2.ko
> > > > > >>>>> #    insmod /lib/modules/softcursor.ko
> > > > > >>>>> #    insmod /lib/modules/bitblit.ko
> > > > > >>>>> #    insmod /lib/modules/font.ko
> > > > > >>>>> #    insmod /lib/modules/cfbimgblt.ko
> > > > > >>>>> #    insmod /lib/modules/cfbfillrect.ko
> > > > > >>>>> #    insmod /lib/modules/cfbcopyarea.ko
> > > > > >>>>>     insmod /lib/modules/drm.ko
> > > > > >>>>> #    insmod /lib/modules/i915.ko modeset=1
> > > > > >>>>>     insmod /lib/modules/fbcon.ko
>
> > > > > >>>>> and will follow the Chen's method.
> > > > > >>>>> I just remove i915 module like above.
>
> > > > > >>>>> Is this step ok?
> > > > > >>>>> I'm waiting the result of this steps.
> > > > > >>>>> How to fix fbcon problem?
>
> > > > > >>>>> thanks
> > > > > >>>>> shlee.
>
> > > > > >>>>> On Apr 10, 1:03 am, Brian <[email protected]> wrote:
> > > > > >>>>>> Hi Shlee,
>
> > > > > >>>>>> In the end, I used 2.6.27. But 2.6.25 should also work.
> > > > > >>>>>> The way I addressed the fb problem is to build and use the 
> > > > > >>>>>> latest
> > > > > >>>>>> intel drm driver modules.
> > > > > >>>>>> Afterwards, you need to modify init.rc and some service files 
> > > > > >>>>>> as
> > > > > >>>>>> posted in this mailing list.
>
> > > > > >>>>>> -Brian
>
> > > > > >>>>>> On Apr 9, 7:58 am, shleeforandroid <[email protected]> wrote:
>
> > > > > >>>>>>> hi brian
> > > > > >>>>>>> Congratulate your work !!!!
>
> > > > > >>>>>>> I've just reached to some part of your work that is posed " 
> > > > > >>>>>>> On  
> > > > > >>>>>>> Mar 30,
> > > > > >>>>>>> 8:49 am, Brian <[email protected]>" below.
>
> > > > > >>>>>>>>>>>>>> Thanks, Jerry!
> > > > > >>>>>>>>>>>>>> I'm using kernel 2.6.27, and the modules have version  
> > > > > >>>>>>>>>>>>>> 2.6.25 as you
> > > > > >>>>>>>>>>>>>> can see below.
> > > > > >>>>>>>>>>>>>> There are inconsistencies in the cupcake branch.
> > > > > >>>>>>>>>>>>>> I will either get kernel 2.6.25 or try to compile  
> > > > > >>>>>>>>>>>>>> 2.6.27 modules.
> > > > > >>>>>>>>>>>>>> Thanks,Brian
> > > > > >>>>>>>>>>>>>> ./kernel/include/config/kernel.release:2.6.27-00120-
> > > > > >>>>>>>>>>>>>> g453dc2b-dirty
> > > > > >>>>>>>>>>>>>> $ modinfo ./out/target/product/eee_701/rootimg/lib/
> > > > > >>>>>>>>>>>>>> modules/i915.ko
> > > > > >>>>>>>>>>>>>> filename:       ./out/target/product/eee_701/rootimg/
> > > > > >>>>>>>>>>>>>> lib/modules/
> > > > > >>>>>>>>>>>>>> i915.ko
> > > > > >>>>>>>>>>>>>> license:        GPL and additional rights
> > > > > >>>>>>>>>>>>>> description:    Intel Graphics
> > > > > >>>>>>>>>>>>>> author:         Tungsten Graphics, Inc.
> > > > > >>>>>>>>>>>>>> license:        GPL
> > > > > >>>>>>>>>>>>>> srcversion:     73F81EDC4CAE593AA695C49
> > > > > >>>>>>>>>>>>>> depends:        drm,cfbfillrect,cfbimgblt,cfbcopyarea
> > > > > >>>>>>>>>>>>>> vermagic:       2.6.25-00101-gb6922fa SMP preempt  
>
> ...
>
> 추가 정보 »- 따온 텍스트 숨기기 -
>
> - 따온 텍스트 보기 -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to