The problem comes from the lack update in init.rc on x86, you may need
to put those lines in the vendor/asus/eee_701/init.rc.
# Define the oom_adj values for the classes of processes that can be
# killed by the kernel.  These are used in ActivityManagerService.
    setprop ro.FOREGROUND_APP_ADJ 0
    setprop ro.VISIBLE_APP_ADJ 1
    setprop ro.SECONDARY_SERVER_ADJ 2
    setprop ro.HOME_APP_ADJ 4
    setprop ro.HIDDEN_APP_MIN_ADJ 7
    setprop ro.CONTENT_PROVIDER_ADJ 14
    setprop ro.EMPTY_APP_ADJ 15

You can reference the system/core/rootdir/init.rc
--
Chen

On Tue, Mar 31, 2009 at 5:45 PM, Androidphan <niels.kee...@tass.nl> wrote:
>
> Thanks, removing the classes in preloaded-classes dit work.
> The Android screen  is loading now. But now I'm getting the following
> errors:
>
> I/SurfaceFlinger( 2238): SurfaceFlinger is starting
> I/SurfaceFlinger( 2238): SurfaceFlinger's main thread ready to run.
> Initializing graphics H/W...
> E/MemoryHeapBase( 2238): error opening /dev/pmem: No such file or
> directory
> E/SurfaceFlinger( 2238): Couldn't open /sys/power/wait_for_fb_sleep
> or /sys/power/wait_for_fb_wake
> E/GLLogger( 2238): couldn't load <libhgl.so> library (Cannot find
> library)
> ....
> W/HAL     ( 2238): load: module=/system/lib/hw/copybit.default.so
> error=Cannot find library
> ....
> W/HAL     ( 2238): load: module=/system/lib/hw/copybit.default.so
> error=Cannot find library
> W/HAL     ( 2238): load: module=/system/lib/hw/overlay.default.so
> error=Cannot find library
> .....
> E/GLLogger( 2238): couldn't load <libhgl.so> library (Cannot find
> library)
> I/SystemServer( 2238): Starting Power Manager.
> I/SystemServer( 2238): Starting Activity Manager.
> W/dalvikvm( 2238): threadid=17: thread exiting with uncaught exception
> (group=0xb0064df8)
> E/AndroidRuntime( 2238): Uncaught handler: thread ActivityManager
> exiting due to uncaught exception
> E/AndroidRuntime( 2238): *** EXCEPTION IN SYSTEM PROCESS.  System will
> crash.
> E/AndroidRuntime( 2238): java.lang.NumberFormatException: unable to
> parse '' as integer
> E/AndroidRuntime( 2238):        at java.lang.Integer.parseInt
> (Integer.java:364)
> E/AndroidRuntime( 2238):        at java.lang.Integer.parseInt
> (Integer.java:333)
> E/AndroidRuntime( 2238):        at java.lang.Integer.valueOf
> (Integer.java:590)
> E/AndroidRuntime( 2238):        at
> com.android.server.am.ActivityManagerService.<init>
> (ActivityManagerService.java:1288)
> E/AndroidRuntime( 2238):        at
> com.android.server.am.ActivityManagerService.<init>
> (ActivityManagerService.java:110)
> E/AndroidRuntime( 2238):        at
> com.android.server.am.ActivityManagerService$AThread.run
> (ActivityManagerService.java:1130)
> E/AndroidRuntime( 2238): Crash logging skipped, no checkin service
> I/Process ( 2238): Sending signal. PID: 2238 SIG: 9
> I/ServiceManager( 2076): service 'SurfaceFlinger' died
> I/ServiceManager( 2076): service 'power' died
> I/Zygote  ( 2237): Exit zygote because system server (2238) has
> terminated
>
> On 31 mrt, 11:23, Chen Yang <sunsety...@gmail.com> wrote:
>> Tha seems to be from the mismatch of the eee_701's policy profile, you
>> can remove those classes in frameworks/base/preloaded-classes or
>> replace them with Mid related classes, and rebuild the image.
>> --
>> Chen
>>
>> On Tue, Mar 31, 2009 at 4:51 PM, Androidphan <niels.kee...@tass.nl> wrote:
>>
>> > I'm getting the following error when having built the latest source of
>> > Android for x86:
>>
>> > 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)
>> > for preloading, update preloaded-classes
>> > [com.android.internal.policy.impl.PhoneLayoutInflater
>> > com.android.internal.policy.impl.PhoneWindow
>> > com.android.internal.policy.impl.PhoneWindow$1
>> > com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
>> > com.android.internal.policy.impl.PhoneWindow$DecorView
>> > com.android.internal.policy.impl.PhoneWindow$PanelFeatureState
>> > com.android.internal.policy.impl.PhoneWindow$PanelFeatureState
>> > $SavedState com.android.internal.policy.impl.PhoneWindow
>> > $PanelFeatureState$SavedState$1]
>> > E/Zygote  ( 2124):      at
>> > com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:299)
>> > E/Zygote  ( 2124):      at com.android.internal.os.ZygoteInit.main
>> > (ZygoteInit.java:512)
>> > E/Zygote  ( 2124):      at dalvik.system.NativeStart.main(Native
>> > Method)
>> > D/AndroidRuntime( 2124): Shutting down VM
>>
>> > Is something not comE/Zygote  ( 2124): Zygote died with exception
>> > E/Zygote  ( 2124): java.lang.IllegalStateException: Missing class(es)
>> > for preloading, update preloaded-classes
>> > [com.android.internal.policy.impl.PhoneLayoutInflater
>> > com.android.internal.policy.impl.PhoneWindow
>> > com.android.internal.policy.impl.PhoneWindow$1
>> > com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
>> > com.android.internal.policy.impl.PhoneWindow$DecorView
>> > com.android.internal.policy.impl.PhoneWindow$PanelFeatureState
>> > com.android.internal.policy.impl.PhoneWindow$PanelFeatureState
>> > $SavedState com.android.internal.policy.impl.PhoneWindow
>> > $PanelFeatureState$SavedState$1]
>> > E/Zygote  ( 2124):      at
>> > com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:299)
>> > E/Zygote  ( 2124):      at com.android.internal.os.ZygoteInit.main
>> > (ZygoteInit.java:512)
>> > E/Zygote  ( 2124):      at dalvik.system.NativeStart.main(Native
>> > Method)
>> > D/AndroidRuntime( 2124): Shutting down VM
>>
>> > Why is this? Did I miss something during compiling?
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to