[Touch CDMA General] lagloose:
Hi mssmison,

first of all, a big thanks to you who did such a great job on getting Android to run on HTC Phones. I use your Cupcake build on my HTC Nike (yes NIKE :-)) and it works very well except some minor things (In Call Volume is always at MAX).

Anyway, just to see, what's goin on in the Phone while booting, i created a 'logcat' using adb and discovered some things which might be of interest, Maybe, you're already aware of that stuff, but nevertheless here are some "error snipplets" (correct word... ?) of the logfile.

...

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

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

I/SurfaceFlinger( 1155): OpenGL informations:

I/SurfaceFlinger( 1155): vendor : Android

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

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

I/SurfaceFlinger( 1155): 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 ( 1155): load: module=/system/lib/hw/copybit.htc.so error=Cannot find library

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

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

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

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

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

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

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

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

...

mising libs seem not so relevant to me, cause i'd guess that this are device related libs...

...

E/MediaPlayer( 1155): start called in state 0

D/dalvikvm( 1155): GC freed 4436 objects / 216912 bytes in 139ms

I/dalvikvm( 1155): Zip is good, but no classes.dex inside, and no .odex file in the same directory

W/PackageManager( 1155): Exception reading jar: /system/framework/com.htc.resources.apk

W/PackageManager( 1155): java.io.IOException: /system/framework/com.htc.resources.apk

W/PackageManager( 1155):	at dalvik.system.DexFile.isDexOptNeeded(Native Method)

W/PackageManager( 1155):	at com.android.server.PackageManagerService.<init>(PackageManagerService.java:439)

W/PackageManager( 1155):	at com.android.server.PackageManagerService.main(PackageManagerService.java:261)

W/PackageManager( 1155):	at com.android.server.ServerThread.run(SystemServer.java:113)

D/PackageManager( 1155): Scanning app dir /system/framework

D/PackageManager( 1155): Scanning app dir /system/app

D/dalvikvm( 1155): GC freed 7314 objects / 404952 bytes in 164ms

...

could this be a problem ?

...

D/dalvikvm( 1155): Trying to load lib /system/lib/libsoundpool.so 0x0

D/dalvikvm( 1155): Added shared lib /system/lib/libsoundpool.so 0x0

I/SystemServer( 1155): Starting HeadsetObserver

W/HeadsetObserver( 1155): This kernel does not have wired headset support

I/SystemServer( 1155): Starting AppWidget Service

I/WindowManager( 1155): Menu key state: 0 safeMode=false

I/WindowManager( 1155): Config changed: { scale=1.0 imsi=0/0 locale=de_DE touch=3 key=2/1/2 nav=1 orien=1 }

D/KeyguardViewMediator( 1155): screen is locked

D/PowerManagerService( 1155): system ready!

...

see line 4... does not have wired headset support ????

so much for the logcat.

But there's another thing, I do not understand. In the 'rogers.user.conf' there are sequences concerning SWAP functions

...

#compcache related parameters

compcache{

compcache_en=1	# enable(1) or disable(0) compcache

cc_disksize=64	# Ram swap disksize - any number between 1 to 98 should work; default is 1/4 of the RAM (24)

cc_memlimit=32	# Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM)

cc_backingswap_en=0	# enable(1) or disable(0) backing swap

cc_backingswap=/dev/block/mmcblk0p3 # pointing to the backingswap partition device, swap

}

...

and

...

#Linux swap parameters

#

# linux swap can only be enabled if cc_backingswap_en is set to "0"

#

linux_swap{

linux_swap_en=0	# enable(1) or disable(0) linux swap

linux_swap_partition=/dev/block/mmcblk0p3 # swap partition device

}

...

But when I look in the /dev/block directory using adb, there is no visible mmcblk0p3 Partition. And due to the fact that 'compcache_en is set to '1', I'd suggest that mmcblk0p3 should be there. (?) Did I oversee or miss something ?

Greetz, lagloose