guerrerolor / android-x86

Automatically exported from code.google.com/p/android-x86
2 stars 1 forks source link

Why Integration SetupWizard.apk can not boot the system #875

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We integration SetupWizard.apk to the system.img,but can not boot?Any body 
please help me,Thanks.
1.cp SetupWizard.apk out/target/product/XXXXX/system/app
2. make snod
3. flash system.img 
4.fastboot reboot

then the device can not boot normally,always Zygote(294): Preloading classes...
log
05-08 07:45:31.609: D/PowerManagerService(188): system ready!
05-08 07:45:31.609: I/ActivityManager(188): Sending system update to: 
ComponentInfo{com.google.android.gsf/com.google.android.gsf.loginservice.Migrate
ToAccountManagerBroadcastReceiver}
05-08 07:45:31.609: I/ActivityManager(188): Sending system update to: 
ComponentInfo{com.android.providers.calendar/com.android.providers.calendar.Cale
ndarUpgradeReceiver}
05-08 07:45:31.609: I/ActivityManager(188): Sending system update to: 
ComponentInfo{com.android.providers.contacts/com.android.providers.contacts.Cont
actsUpgradeReceiver}
05-08 07:45:31.619: I/Zygote(188): Process: zygote socket opened
05-08 07:45:31.619: I/SystemServer(188): Enabled StrictMode for system server 
main thread.
05-08 07:45:31.629: I/ActivityManager(188): Start proc com.google.process.gapps 
for broadcast 
com.google.android.gsf/.loginservice.MigrateToAccountManagerBroadcastReceiver: 
pid=273 uid=10000 gids={3003, 1015, 2001, 1007}
05-08 07:45:31.679: I/ActivityManager(188): Starting: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.HOME] 
flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity } from pid 
0
05-08 07:45:31.699: W/dalvikvm(188): threadid=9: thread exiting with uncaught 
exception (group=0x40018560)
05-08 07:45:31.709: E/AndroidRuntime(188): *** FATAL EXCEPTION IN SYSTEM 
PROCESS: android.server.ServerThread
05-08 07:45:31.709: E/AndroidRuntime(188): java.lang.RuntimeException: Unable 
to start activity 
ComponentInfo{android/com.android.internal.app.ResolverActivity}: 
java.lang.NullPointerException
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.app.ActivityThread.access$1500(ActivityThread.java:117)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.os.Looper.loop(Looper.java:130)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
com.android.server.ServerThread.run(SystemServer.java:567)
05-08 07:45:31.709: E/AndroidRuntime(188): Caused by: 
java.lang.NullPointerException
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.content.res.Configuration.setTo(Configuration.java:227)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.content.res.Configuration.<init>(Configuration.java:223)
05-08 07:45:31.709: E/AndroidRuntime(188):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1591)
05-08 07:45:31.709: E/AndroidRuntime(188):  ... 6 more
05-08 07:45:31.719: I/ActivityManager(188): Launching preboot mode app: 
ProcessRecord{4068b230 273:com.google.process.gapps/10000}
05-08 07:45:33.469: E/installd(86): eof
05-08 07:45:33.469: E/installd(86): failed to read size
05-08 07:45:34.299: E/AudioHardwareMSM72XX(292): failed to open 
AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt: No such file or 
directory (2)
05-08 07:45:34.319: I/SamplingProfilerIntegration(294): Profiler is disabled.
05-08 07:45:34.329: I/Zygote(294): Preloading classes...
05-08 07:45:34.569: W/MediaProfiles(294): could not find media config xml file
05-08 07:45:35.289: W/Zygote(294): Class not found for preloading: 
android.widget.TextView$SelectionModifierCursorController$1
05-08 07:45:38.339: I/Zygote(294): ...preloaded 1829 classes in 4003ms.
05-08 07:45:38.339: E/Zygote(294): setreuid() failed. errno: 17
05-08 07:45:38.379: I/Zygote(294): Preloading resources...

Original issue reported on code.google.com by wugu...@gmail.com on 24 May 2012 at 2:41