Jump to content

Android 1.6 / 2.0 development effort


Guest martinbrook

Recommended Posts

Guest martinbrook

Back to getting us up to 2.6.29 ready for 1.6 and 2.0...

I noticed that a lot of the msm kernel source files have an attribution to https://www.codeaurora.org/ so I checked them out. The have a git repository which at first look is much closer to the pulse kernel source than the ASOP tree :D. They have 2.6.29 and 2.6.31 trees also.

Martin

Edited by martinbrook
Link to comment
Share on other sites

Over to the userspace devs then.

I've grabbed a stock 1.6 system.img and flashed with a number of kernels and modified kernels to no avail. I get the ANDROID splash, then a cursor in the top left ... nothing =[

logcat

I/Zygote  ( 1420): ...preloaded 1355 classes in 7124ms.

I/Zygote  ( 1420): Preloading resources...

I/Zygote  ( 1420): ...preloaded 48 resources in 881ms.

I/Zygote  ( 1420): ...preloaded 15 resources in 22ms.

I/dalvikvm( 1420): Splitting out new zygote heap

I/dalvikvm( 1420): System server process 1421 has been created

I/Zygote  ( 1420): Accepting command socket connections

I/sysproc ( 1421): Entered system_init()

I/sysproc ( 1421): ServiceManager: 0x116430

I/SurfaceFlinger( 1421): SurfaceFlinger is starting

I/SurfaceFlinger( 1421): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

E/SurfaceFlinger( 1421): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake

E/libEGL  ( 1421): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)

I/SurfaceFlinger( 1421): EGL informations:

I/SurfaceFlinger( 1421): # of configs : 6

I/SurfaceFlinger( 1421): vendor	: Android

I/SurfaceFlinger( 1421): version   : 1.31 Android META-EGL

I/SurfaceFlinger( 1421): extensions: 

I/SurfaceFlinger( 1421): Client API: OpenGL ES

I/EGLDisplaySurface( 1421): using (fd=22)

I/EGLDisplaySurface( 1421): id		   = msmfb22_10001

I/EGLDisplaySurface( 1421): xres		 = 320 px

I/EGLDisplaySurface( 1421): yres		 = 480 px

I/EGLDisplaySurface( 1421): xres_virtual = 320 px

I/EGLDisplaySurface( 1421): yres_virtual = 960 px

I/EGLDisplaySurface( 1421): bpp		  = 16

I/EGLDisplaySurface( 1421): r			= 11:5

I/EGLDisplaySurface( 1421): g			=  5:6

I/EGLDisplaySurface( 1421): b			=  0:5

I/EGLDisplaySurface( 1421): width		= 51 mm (159.372543 dpi)

I/EGLDisplaySurface( 1421): height	   = 76 mm (160.421051 dpi)

I/EGLDisplaySurface( 1421): refresh rate = 0.08 Hz

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.qcom.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.default.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.default.so' not found

W/SurfaceFlinger( 1421): ro.sf.lcd_density not defined, using 160 dpi by default.

I/SurfaceFlinger( 1421): OpenGL informations:

I/SurfaceFlinger( 1421): vendor	: Android

I/SurfaceFlinger( 1421): renderer  : Android PixelFlinger 1.0

I/SurfaceFlinger( 1421): version   : OpenGL ES-CM 1.0

I/SurfaceFlinger( 1421): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap 

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.qcom.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.default.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.default.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/overlay.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/overlay.qcom.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/overlay.default.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/overlay.default.so' not found

I/sysproc ( 1421): System server: starting Android runtime.

I/sysproc ( 1421): System server: starting Android services.

I/SystemServer( 1421): Entered the Android system server!

I/SystemServer( 1421): Starting Entropy Service.

I/sysproc ( 1421): System server: entering thread pool.

I/SystemServer( 1421): Starting Power Manager.

I/SystemServer( 1421): Starting Activity Manager.

W/UsageStats( 1421): Usage stats version changed; dropping

W/dalvikvm( 1421): threadid=19: thread exiting with uncaught exception (group=0x4001da18)

E/AndroidRuntime( 1421): Uncaught handler: thread ActivityManager exiting due to uncaught exception

E/AndroidRuntime( 1421): *** EXCEPTION IN SYSTEM PROCESS.  System will crash.

E/AndroidRuntime( 1421): java.lang.NumberFormatException: unable to parse '' as integer

E/AndroidRuntime( 1421):	 at java.lang.Integer.parseInt(Integer.java:364)

E/AndroidRuntime( 1421):	 at java.lang.Integer.parseInt(Integer.java:333)

E/AndroidRuntime( 1421):	 at java.lang.Integer.valueOf(Integer.java:590)

E/AndroidRuntime( 1421):	 at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:1443)

E/AndroidRuntime( 1421):	 at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:122)

E/AndroidRuntime( 1421):	 at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1282)

E/AndroidRuntime( 1421): Crash logging skipped, no checkin service

I/Process ( 1421): Sending signal. PID: 1421 SIG: 9

I/ServiceManager(  981): service 'SurfaceFlinger' died

I/ServiceManager(  981): service 'entropy' died

I/ServiceManager(  981): service 'power' died

I/Zygote  ( 1420): Exit zygote because system server (1421) has terminated

I/Zygote  ( 1441): Preloading classes...

I/dalvikvm( 1441): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

I/dalvikvm( 1441): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

I/dalvikvm( 1441): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

Edited by xangma
Link to comment
Share on other sites

"/system/lib/hw/copybit.default.so' not found"

We will need to use some files such as this one from the Huawei ROM. This is certainly the cause of some of your errors, although the /sys one looks like a kernel error :-\. Perhaps we need to configure the userspace differently somehow...

Link to comment
Share on other sites

Guest martinbrook

I'd start with the missing libfiles.

You could try the 1.5 pulse versions.

I've grabbed a stock 1.6 system.img and flashed with a number of kernels and modified kernels to no avail. I get the ANDROID splash, then a cursor in the top left ... nothing =[

logcat

I/Zygote  ( 1420): ...preloaded 1355 classes in 7124ms.

I/Zygote  ( 1420): Preloading resources...

I/Zygote  ( 1420): ...preloaded 48 resources in 881ms.

I/Zygote  ( 1420): ...preloaded 15 resources in 22ms.

I/dalvikvm( 1420): Splitting out new zygote heap

I/dalvikvm( 1420): System server process 1421 has been created

I/Zygote  ( 1420): Accepting command socket connections

I/sysproc ( 1421): Entered system_init()

I/sysproc ( 1421): ServiceManager: 0x116430

I/SurfaceFlinger( 1421): SurfaceFlinger is starting

I/SurfaceFlinger( 1421): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

E/SurfaceFlinger( 1421): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake

E/libEGL  ( 1421): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)

I/SurfaceFlinger( 1421): EGL informations:

I/SurfaceFlinger( 1421): # of configs : 6

I/SurfaceFlinger( 1421): vendor	: Android

I/SurfaceFlinger( 1421): version   : 1.31 Android META-EGL

I/SurfaceFlinger( 1421): extensions: 

I/SurfaceFlinger( 1421): Client API: OpenGL ES

I/EGLDisplaySurface( 1421): using (fd=22)

I/EGLDisplaySurface( 1421): id		   = msmfb22_10001

I/EGLDisplaySurface( 1421): xres		 = 320 px

I/EGLDisplaySurface( 1421): yres		 = 480 px

I/EGLDisplaySurface( 1421): xres_virtual = 320 px

I/EGLDisplaySurface( 1421): yres_virtual = 960 px

I/EGLDisplaySurface( 1421): bpp		  = 16

I/EGLDisplaySurface( 1421): r			= 11:5

I/EGLDisplaySurface( 1421): g			=  5:6

I/EGLDisplaySurface( 1421): b			=  0:5

I/EGLDisplaySurface( 1421): width		= 51 mm (159.372543 dpi)

I/EGLDisplaySurface( 1421): height	   = 76 mm (160.421051 dpi)

I/EGLDisplaySurface( 1421): refresh rate = 0.08 Hz

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.qcom.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.default.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.default.so' not found

W/SurfaceFlinger( 1421): ro.sf.lcd_density not defined, using 160 dpi by default.

I/SurfaceFlinger( 1421): OpenGL informations:

I/SurfaceFlinger( 1421): vendor	: Android

I/SurfaceFlinger( 1421): renderer  : Android PixelFlinger 1.0

I/SurfaceFlinger( 1421): version   : OpenGL ES-CM 1.0

I/SurfaceFlinger( 1421): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap 

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.qcom.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/copybit.default.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.default.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/overlay.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/overlay.qcom.so' not found

W/HAL	 ( 1421): load: module=/system/lib/hw/overlay.default.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/overlay.default.so' not found

I/sysproc ( 1421): System server: starting Android runtime.

I/sysproc ( 1421): System server: starting Android services.

I/SystemServer( 1421): Entered the Android system server!

I/SystemServer( 1421): Starting Entropy Service.

I/sysproc ( 1421): System server: entering thread pool.

I/SystemServer( 1421): Starting Power Manager.

I/SystemServer( 1421): Starting Activity Manager.

W/UsageStats( 1421): Usage stats version changed; dropping

W/dalvikvm( 1421): threadid=19: thread exiting with uncaught exception (group=0x4001da18)

E/AndroidRuntime( 1421): Uncaught handler: thread ActivityManager exiting due to uncaught exception

E/AndroidRuntime( 1421): *** EXCEPTION IN SYSTEM PROCESS.  System will crash.

E/AndroidRuntime( 1421): java.lang.NumberFormatException: unable to parse '' as integer

E/AndroidRuntime( 1421):	 at java.lang.Integer.parseInt(Integer.java:364)

E/AndroidRuntime( 1421):	 at java.lang.Integer.parseInt(Integer.java:333)

E/AndroidRuntime( 1421):	 at java.lang.Integer.valueOf(Integer.java:590)

E/AndroidRuntime( 1421):	 at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:1443)

E/AndroidRuntime( 1421):	 at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:122)

E/AndroidRuntime( 1421):	 at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1282)

E/AndroidRuntime( 1421): Crash logging skipped, no checkin service

I/Process ( 1421): Sending signal. PID: 1421 SIG: 9

I/ServiceManager(  981): service 'SurfaceFlinger' died

I/ServiceManager(  981): service 'entropy' died

I/ServiceManager(  981): service 'power' died

I/Zygote  ( 1420): Exit zygote because system server (1421) has terminated

I/Zygote  ( 1441): Preloading classes...

I/dalvikvm( 1441): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

I/dalvikvm( 1441): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

I/dalvikvm( 1441): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

Link to comment
Share on other sites

I'd start with the missing libfiles.

You could try the 1.5 pulse versions.

Just done that, trying to find the yaffs2 tool so I can make a system.img out of my folder =[

Link to comment
Share on other sites

Heh, we are at exactly the same point. It's at out/host/linux-x86/bin/mkyaffs2img

I am unsure whether to use the -f or convert options. Presumably we should use both since ARM is big (=stupid) endian, and the user permissions will probably be wrong.

Link to comment
Share on other sites

Heh, we are at exactly the same point. It's at out/host/linux-x86/bin/mkyaffs2img

I am unsure whether to use the -f or convert options. Presumably we should use both since ARM is big (=stupid) endian, and the user permissions will probably be wrong.

I've gone for the update_signed.zip through nandroid recovery =] Need a fraggeling update-script though

Link to comment
Share on other sites

I've gone for the update_signed.zip through nandroid recovery =] Need a fraggeling update-script though

logcat

I/Zygote  ( 1225): ...preloaded 1355 classes in 7285ms.

I/Zygote  ( 1225): Preloading resources...

I/Zygote  ( 1225): ...preloaded 48 resources in 886ms.

I/Zygote  ( 1225): ...preloaded 15 resources in 23ms.

I/dalvikvm( 1225): Splitting out new zygote heap

I/dalvikvm( 1225): System server process 1230 has been created

I/Zygote  ( 1225): Accepting command socket connections

I/sysproc ( 1230): Entered system_init()

I/sysproc ( 1230): ServiceManager: 0x116430

I/SurfaceFlinger( 1230): SurfaceFlinger is starting

I/SurfaceFlinger( 1230): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

E/SurfaceFlinger( 1230): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake

W/SurfaceFlinger( 1230): couldn't grant gpu core to pid 1230

E/libEGL  ( 1230): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS)

I/SurfaceFlinger( 1230): EGL informations:

I/SurfaceFlinger( 1230): # of configs : 6

I/SurfaceFlinger( 1230): vendor	: Android

I/SurfaceFlinger( 1230): version   : 1.31 Android META-EGL

I/SurfaceFlinger( 1230): extensions: 

I/SurfaceFlinger( 1230): Client API: OpenGL ES

I/EGLDisplaySurface( 1230): using (fd=22)

I/EGLDisplaySurface( 1230): id		   = msmfb22_10001

I/EGLDisplaySurface( 1230): xres		 = 320 px

I/EGLDisplaySurface( 1230): yres		 = 480 px

I/EGLDisplaySurface( 1230): xres_virtual = 320 px

I/EGLDisplaySurface( 1230): yres_virtual = 960 px

I/EGLDisplaySurface( 1230): bpp		  = 16

I/EGLDisplaySurface( 1230): r			= 11:5

I/EGLDisplaySurface( 1230): g			=  5:6

I/EGLDisplaySurface( 1230): b			=  0:5

I/EGLDisplaySurface( 1230): width		= 51 mm (159.372543 dpi)

I/EGLDisplaySurface( 1230): height	   = 76 mm (160.421051 dpi)

I/EGLDisplaySurface( 1230): refresh rate = 0.08 Hz

W/HAL	 ( 1230): load: module=/system/lib/hw/copybit.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.qcom.so' not found

W/SurfaceFlinger( 1230): ro.sf.lcd_density not defined, using 160 dpi by default.

I/SurfaceFlinger( 1230): OpenGL informations:

I/SurfaceFlinger( 1230): vendor	: Android

I/SurfaceFlinger( 1230): renderer  : Android PixelFlinger 1.0

I/SurfaceFlinger( 1230): version   : OpenGL ES-CM 1.0

I/SurfaceFlinger( 1230): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap 

W/HAL	 ( 1230): load: module=/system/lib/hw/copybit.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/copybit.qcom.so' not found

W/HAL	 ( 1230): load: module=/system/lib/hw/overlay.qcom.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/overlay.qcom.so' not found

W/HAL	 ( 1230): load: module=/system/lib/hw/overlay.default.so error=Cannot load library: load_library[984]: Library '/system/lib/hw/overlay.default.so' not found

I/sysproc ( 1230): System server: starting Android runtime.

I/sysproc ( 1230): System server: starting Android services.

I/SystemServer( 1230): Entered the Android system server!

I/SystemServer( 1230): Starting Entropy Service.

I/sysproc ( 1230): System server: entering thread pool.

I/SystemServer( 1230): Starting Power Manager.

I/SystemServer( 1230): Starting Activity Manager.

W/UsageStats( 1230): Usage stats version changed; dropping

W/dalvikvm( 1230): threadid=17: thread exiting with uncaught exception (group=0x4001da18)

E/AndroidRuntime( 1230): Uncaught handler: thread ActivityManager exiting due to uncaught exception

E/AndroidRuntime( 1230): *** EXCEPTION IN SYSTEM PROCESS.  System will crash.

E/AndroidRuntime( 1230): java.lang.NumberFormatException: unable to parse '' as integer

E/AndroidRuntime( 1230):	 at java.lang.Integer.parseInt(Integer.java:364)

E/AndroidRuntime( 1230):	 at java.lang.Integer.parseInt(Integer.java:333)

E/AndroidRuntime( 1230):	 at java.lang.Integer.valueOf(Integer.java:590)

E/AndroidRuntime( 1230):	 at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:1443)

E/AndroidRuntime( 1230):	 at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:122)

E/AndroidRuntime( 1230):	 at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1282)

E/AndroidRuntime( 1230): Crash logging skipped, no checkin service

I/Process ( 1230): Sending signal. PID: 1230 SIG: 9

I/ServiceManager(  976): service 'SurfaceFlinger' died

I/ServiceManager(  976): service 'entropy' died

I/ServiceManager(  976): service 'power' died

I/Zygote  ( 1225): Exit zygote because system server (1230) has terminated

I/Zygote  ( 1251): Preloading classes...

I/dalvikvm( 1251): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

I/dalvikvm( 1251): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

I/dalvikvm( 1251): threadid=3: recursive native library load attempt (/system/lib/libmedia_jni.so)

Damn. I need those files. Work now though. Will be back later to finish off.

EDIT: I thought I copied them in. Apparently not.

Edited by xangma
Link to comment
Share on other sites

Guest martinbrook

You can just pull them from your pulse with adb instead of doing all that yaffs stuff.

The overlay.default.so dos not exist on my u8320 rom and gives the same errors. So don't worry about finding that one.

Your last log seems to have found the copybit.default.so now.

Martin

I've gone for the update_signed.zip through nandroid recovery =] Need a fraggeling update-script though
Link to comment
Share on other sites

Ok, well I tried my own system.img, with a mix of Huawei and 1.6 files, but I must have got the mix of libraries wrong (guess they depend on each other more than I thought). Getting this error when running app_process:

link_image[1831]: 1537 could not load needed library 'libandroid_runtime.so' for '/system/bin/app_process' (link_image[1831]: 1537 could not load needed library 'libskiagl.so' for 'libandroid_runtime.so' (link_image[1831]: 1537 could not load needed library 'libsgl.so' for 'libskiagl.so' (reloc_library[1245]: 1537 cannot locate '_ZN7android5MutexC1Ev'...)))CANNOT LINK EXECUTABLE

Which I think is trying to say that the libsgl.so I included doesn't have a symbol that libskiagl.so needs. A bit weird since I used the following:

libandroid_runtime.so from AOSP

libskiagl.so from Huawei

libsgl.so from Huawei

We may have issues with trying to use the propeitary Huawei libraries with the AOSP 1.6 ones...

Link to comment
Share on other sites

Ok, well I tried my own system.img, with a mix of Huawei and 1.6 files, but I must have got the mix of libraries wrong (guess they depend on each other more than I thought). Getting this error when running app_process:

link_image[1831]: 1537 could not load needed library 'libandroid_runtime.so' for '/system/bin/app_process' (link_image[1831]: 1537 could not load needed library 'libskiagl.so' for 'libandroid_runtime.so' (link_image[1831]: 1537 could not load needed library 'libsgl.so' for 'libskiagl.so' (reloc_library[1245]: 1537 cannot locate '_ZN7android5MutexC1Ev'...)))CANNOT LINK EXECUTABLE

Which I think is trying to say that the libsgl.so I included doesn't have a symbol that libskiagl.so needs. A bit weird since I used the following:

libandroid_runtime.so from AOSP

libskiagl.so from Huawei

libsgl.so from Huawei

We may have issues with trying to use the propeitary Huawei libraries with the AOSP 1.6 ones...

Oh wow that makes me give up already =P

Link to comment
Share on other sites

Oh wow that makes me give up already =P

Love double posting ...

Update: What I have done is ... I have grabbed the stock 1.6 system.img and added all the files from the original tmobile system.img ... NOT overwriting any that were already there. Just adding the missing ones. I then grabbed the tmobile kernel and merged it with the 1.6 ramdisk, editing the init.rc to include hauwei's modifications.

It booted. It booted up completely. Showing the system version as 1.5 and there was NO difference whatsoever. Maybe it's cause I didn't delete my userdata partition ... I don't know. Anyone know what i'm doing here? Cause I sure don't.

Link to comment
Share on other sites

How weird!

I would be inclined to grab the Ion / ADP 1.6 image, drop the Pulse kernel and support files into the boot image and see if it boots... :D

P

You mean the HTC update one?

EDIT: Maybe I should have erased the cache too. and userdata.

Edited by xangma
Link to comment
Share on other sites

I have grabbed the stock 1.6 system.img and added all the files from the original tmobile system.img ... NOT overwriting any that were already there. Just adding the missing ones.

Showing the system version as 1.5 and there was NO difference whatsoever.

Well that's not too surprising. Obviously all the new libraries and config files you added will be ignored, and all the .apk's in /framework have the same name so they haven't been replaced. I might have thought that the new apk's you added in /apps would do something - I can't see at a glance how android knows which ones to load.

What happens if you delete everything in /framework and /apps and replace it with the 1.6 files?

I might go and ask in the xda-developers forum if they had library issues and how they solved them...

Link to comment
Share on other sites

Well that's not too surprising. Obviously all the new libraries and config files you added will be ignored, and all the .apk's in /framework have the same name so they haven't been replaced. I might have thought that the new apk's you added in /apps would do something - I can't see at a glance how android knows which ones to load.

What happens if you delete everything in /framework and /apps and replace it with the 1.6 files?

I might go and ask in the xda-developers forum if they had library issues and how they solved them...

Yeah so I'm abandoning that idea. I'm gonna start on the ION 1.6 image now and see if I can get that running =] ... not now though. Gotta go =[ Wish I had more time, I bet I could nail it then.

EDIT: Just flashed the system.img from the ION straight off, and i'm getting the exact same logcat as before. Will start editing when I get back =]

Edited by xangma
Link to comment
Share on other sites

Yeah so I'm abandoning that idea. I'm gonna start on the ION 1.6 image now and see if I can get that running =] ... not now though. Gotta go =[ Wish I had more time, I bet I could nail it then.

EDIT: Just flashed the system.img from the ION straight off, and i'm getting the exact same logcat as before. Will start editing when I get back =]

Back again. Sorry for the silly long logcats ... but it helps. I'm confused. This is what my logcat looks like normally when the device boots up:

- waiting for device -

I/DEBUG   (  986): debuggerd: Nov 21 2009 00:28:46

E/vold	(  985): Error - unable to lookup partition for blkdev 179:1

E/vold	(  985): Internal consistency error

W/vold	(  985): part_no = 0

E/flash_image(  994): error opening /data/recovery.img: No such file or directory

E/QC-QMI  (  987): Client: qmux_client ID is 3db

E/AudioHardwareMSMQSD(  990): Going to standby

E/A2DP	(  990): bt_audio_service_open failed

E/A2dpAudioInterface(  990): a2dp_init failed err: -111

I/Zygote  (  989): Preloading classes...

I/Zygote  (  989): ...preloaded 1166 classes in 9379ms.

I/Zygote  (  989): Preloading resources...

I/Zygote  (  989): ...preloaded 64 resources in 808ms.

I/Zygote  (  989): ...preloaded 15 resources in 22ms.

I/Zygote  (  989): Accepting command socket connections

E/SurfaceFlinger( 1046): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake

W/SurfaceFlinger( 1046): couldn't grant gpu core to pid 1046

E/GLLogger( 1046): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS)

W/HAL	 ( 1046): load: module=/system/lib/hw/copybit.qcom.so error=Cannot find library

W/HAL	 ( 1046): load: module=/system/lib/hw/copybit.U8230.so error=Cannot find library

W/SurfaceFlinger( 1046): ro.sf.lcd_density not defined, using 160 dpi by default.

W/HAL	 ( 1046): load: module=/system/lib/hw/copybit.qcom.so error=Cannot find library

W/HAL	 ( 1046): load: module=/system/lib/hw/copybit.U8230.so error=Cannot find library

W/HAL	 ( 1046): load: module=/system/lib/hw/overlay.qcom.so error=Cannot find library

W/HAL	 ( 1046): load: module=/system/lib/hw/overlay.U8230.so error=Cannot find library

W/HAL	 ( 1046): load: module=/system/lib/hw/overlay.default.so error=Cannot find library

I/SystemServer( 1046): Entered the Android system server!

I/SystemServer( 1046): Starting Power Manager.

I/SystemServer( 1046): Starting Activity Manager.

I/SystemServer( 1046): Starting telephony registry

I/SystemServer( 1046): Starting Package Manager.

I/Installer( 1046): connecting...



...etc
---------------------------------- Now this is what it looks like with my new 1.6 ROM:
I/DEBUG   (  987): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   (  987): Build fingerprint: 'T-Mobile/U8220/U8220/U8220:1.6/DRC83/14721:user/ota-rel-keys,test-keys'

I/DEBUG   (  987): pid: 1884, tid: 1884  >>> zygote <<<

I/DEBUG   (  987): signal 11 (SIGSEGV), fault addr deadbaad

I/DEBUG   (  987):  r0 00000003  r1 deadbaad  r2 00000027  r3 ffff61a8

I/DEBUG   (  987):  r4 ffff6180  r5 afe2ff50  r6 afe39dd0  r7 afe39dd0

I/DEBUG   (  987):  r8 00000000  r9 00000000  10 00000000  fp 00000000

I/DEBUG   (  987):  ip 0000001b  sp be9e25a8  lr afe1ff8b  pc afe106be  cpsr 20000030

I/DEBUG   (  987):		  #00  pc 000106be  /system/lib/libc.so

I/DEBUG   (  987):		  #01  pc 0000afce  /system/lib/libc.so

I/DEBUG   (  987):		  #02  pc 0003fa92  /system/lib/libdvm.so

I/DEBUG   (  987):		  #03  pc 00058532  /system/lib/libdvm.so

I/DEBUG   (  987):		  #04  pc 000585ec  /system/lib/libdvm.so

I/DEBUG   (  987):		  #05  pc 00058752  /system/lib/libdvm.so

I/DEBUG   (  987):		  #06  pc 0003a432  /system/lib/libdvm.so

I/DEBUG   (  987):		  #07  pc 0003e984  /system/lib/libdvm.so

I/DEBUG   (  987):		  #08  pc 0002aac4  /system/lib/libandroid_runtime.so

I/DEBUG   (  987):		  #09  pc 00008bf2  /system/bin/app_process

I/DEBUG   (  987):		  #10  pc 0001fd7a  /system/lib/libc.so

I/DEBUG   (  987):		  #11  pc 0000bcd2  /system/lib/libc.so

I/DEBUG   (  987):		  #12  pc b000163c  /system/bin/linker

I/DEBUG   (  987): stack:

I/DEBUG   (  987):	 be9e2568  0000a000  [heap]

I/DEBUG   (  987):	 be9e256c  00000010  

I/DEBUG   (  987):	 be9e2570  00000000  

I/DEBUG   (  987):	 be9e2574  00000000  

I/DEBUG   (  987):	 be9e2578  00000338  

I/DEBUG   (  987):	 be9e257c  00000007  

I/DEBUG   (  987):	 be9e2580  ad07ddf8  

I/DEBUG   (  987):	 be9e2584  6871325a  

I/DEBUG   (  987):	 be9e2588  00000010  

I/DEBUG   (  987):	 be9e258c  ffff6180  

I/DEBUG   (  987):	 be9e2590  afe2ff50  /system/lib/libc.so

I/DEBUG   (  987):	 be9e2594  afe39dd0  

I/DEBUG   (  987):	 be9e2598  afe39dd0  

I/DEBUG   (  987):	 be9e259c  afe106b7  /system/lib/libc.so

I/DEBUG   (  987):	 be9e25a0  df002777  

I/DEBUG   (  987):	 be9e25a4  e3a070ad  

I/DEBUG   (  987): #00 be9e25a8  000114d8  [heap]

I/DEBUG   (  987):	 be9e25ac  afe0e984  /system/lib/libc.so

I/DEBUG   (  987):	 be9e25b0  000114d8  [heap]

I/DEBUG   (  987):	 be9e25b4  afe3c988  

I/DEBUG   (  987):	 be9e25b8  00002bb8  

I/DEBUG   (  987):	 be9e25bc  fffffbdf  

I/DEBUG   (  987):	 be9e25c0  afe39dd0  

I/DEBUG   (  987):	 be9e25c4  000114d0  [heap]

I/DEBUG   (  987):	 be9e25c8  00002bb8  

I/DEBUG   (  987):	 be9e25cc  afe0afd3  /system/lib/libc.so

I/DEBUG   (  987): #01 be9e25d0  afe3c988  

I/DEBUG   (  987):	 be9e25d4  afe39dd0  

I/DEBUG   (  987):	 be9e25d8  afe3c988  

I/DEBUG   (  987):	 be9e25dc  afe39dd0  

I/DEBUG   (  987):	 be9e25e0  0000a000  [heap]

I/DEBUG   (  987):	 be9e25e4  be9e2638  [stack]

I/DEBUG   (  987):	 be9e25e8  ffffffff  

I/DEBUG   (  987):	 be9e25ec  ffffffff  

I/DEBUG   (  987):	 be9e25f0  ffffffff  

I/DEBUG   (  987):	 be9e25f4  00000000  

I/DEBUG   (  987):	 be9e25f8  00000000  

I/DEBUG   (  987):	 be9e25fc  ad03fa95  /system/lib/libdvm.so

I/DEBUG   ( 2278): debuggerd: Sep 21 2009 14:37:06

I/vold	( 2276): Android Volume Daemon version 2.0

I/vold	( 2276): New MMC card '00000' (serial 2051383320) added @ /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001

E/vold	( 2276): Error making device nodes for '/dev/block//vold/179:0' (File exists)

I/vold	( 2276): Disk (blkdev 179:0), 3964928 secs (1936 MB) 1 partitions

I/vold	( 2276): New blkdev 179.0 on media 00000, media path /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001, Dpp 1

E/vold	( 2276): Error making device nodes for '/dev/block//vold/179:1' (File exists)

I/vold	( 2276): Partition (blkdev 179:1), 3964677 secs (1935 MB) type 0x6

I/vold	( 2276): New blkdev 179.1 on media 00000, media path /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001, Dpp 0

Edited by xangma
Link to comment
Share on other sites

Guest immaculate

Hey guys, I have some donut leftovers from last night, are you in?

I have a relatively working donut build, but now i have to get back earning my paycheck.

Later today I will pack the mess in an update and upload here for testing...

BTW, Paul, I think I want my 'Chef's Lounge' ticket ;)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.