[G1 Android Development] looktall:
i'm a bit confused as to what settings i need for this.

i have a 32B Magic, which normally is set up the same as a G1, except in this case i don't want to use A2SD, so do i still need an ext4 partition?

i've tried installing this with a just a single partition (no swap) and i was able to get to the lock screen, beyond that all i got was a black screen with HTC written on it.

so i tried adding a swap file (of varying sizes, i'm currently up to 160mb) and i can no longer even get that far.

i get to the multi coloured splash screen and it freezes.

logcat is below, but it's pretty much meaningless to me. :o

D/dalvikvm( 2709): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 2709): Trying to load lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 2709): Shared lib '/system/lib/libwebcore.so' already loaded in same
CL 0x0
I/dalvikvm( 2709): threadid=3: recursive native library load attempt (/system/li
b/libwebcore.so)
D/dalvikvm( 2709): GC freed 339 objects / 18872 bytes in 47ms
D/dalvikvm( 2709): GC freed 481 objects / 30144 bytes in 47ms
D/dalvikvm( 2709): GC freed 291 objects / 27000 bytes in 48ms
D/dalvikvm( 2709): GC freed 383 objects / 27520 bytes in 49ms
E/DMAgent ( 2726): SMD Port open failure.[v1.1.2.12231200]
D/dalvikvm( 2709): GC freed 1102 objects / 93648 bytes in 55ms
D/dalvikvm( 2709): GC freed 664 objects / 35952 bytes in 56ms
D/dalvikvm( 2709): GC freed 709 objects / 41256 bytes in 56ms
D/dalvikvm( 2709): GC freed 13474 objects / 481880 bytes in 68ms
D/dalvikvm( 2709): GC freed 10661 objects / 456304 bytes in 71ms
D/dalvikvm( 2709): GC freed 10778 objects / 470104 bytes in 77ms
D/dalvikvm( 2709): GC freed 7943 objects / 470936 bytes in 80ms
D/dalvikvm( 2709): GC freed 8919 objects / 526296 bytes in 75ms
D/dalvikvm( 2709): GC freed 8907 objects / 519224 bytes in 81ms
E/DMAgent ( 2727): SMD Port open failure.[v1.1.2.12231200]
D/dalvikvm( 2709): GC freed 6621 objects / 372096 bytes in 79ms
D/dalvikvm( 2709): GC freed 847 objects / 51216 bytes in 78ms
D/dalvikvm( 2709): GC freed 540 objects / 38784 bytes in 73ms
D/dalvikvm( 2709): GC freed 460 objects / 31168 bytes in 74ms
D/dalvikvm( 2709): GC freed 426 objects / 29800 bytes in 75ms
I/Zygote ( 2709): ...preloaded 1942 classes in 16624ms.
D/dalvikvm( 2709): GC freed 117 objects / 14856 bytes in 76ms
I/Zygote ( 2709): Preloading resources...
D/dalvikvm( 2709): GC freed 5 objects / 224 bytes in 78ms
D/dalvikvm( 2709): GC freed 327 objects / 16712 bytes in 76ms
D/dalvikvm( 2709): GC freed 242 objects / 11288 bytes in 77ms
I/Zygote ( 2709): ...preloaded 48 resources in 691ms.
I/Zygote ( 2709): ...preloaded 15 resources in 25ms.
D/dalvikvm( 2709): GC freed 141 objects / 10104 bytes in 82ms
D/dalvikvm( 2709): GC freed 211 objects / 8304 bytes in 76ms
D/dalvikvm( 2709): GC freed 19 objects / 784 bytes in 83ms
I/dalvikvm( 2709): Splitting out new zygote heap
I/dalvikvm( 2709): System server process 2729 has been created
I/Zygote ( 2709): Accepting command socket connections
D/dalvikvm( 2729): Trying to load lib /system/lib/libandroid_servers.so 0x0
D/dalvikvm( 2729): Added shared lib /system/lib/libandroid_servers.so 0x0
E/BatteryService( 2729): batteryUnsupportChargePath not found
I/sysproc ( 2729): Entered system_init()
I/sysproc ( 2729): ServiceManager: 0x15c538
I/SurfaceFlinger( 2729): SurfaceFlinger is starting
I/SurfaceFlinger( 2729): SurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
I/gralloc ( 2729): using (fd=27)
I/gralloc ( 2729): id = msmfb
I/gralloc ( 2729): xres = 320 px
I/gralloc ( 2729): yres = 480 px
I/gralloc ( 2729): xres_virtual = 320 px
I/gralloc ( 2729): yres_virtual = 960 px
I/gralloc ( 2729): bpp = 16
I/gralloc ( 2729): r = 11:5
I/gralloc ( 2729): g = 5:6
I/gralloc ( 2729): b = 0:5
I/gralloc ( 2729): width = 45 mm (180.622223 dpi)
I/gralloc ( 2729): height = 67 mm (181.970154 dpi)
I/gralloc ( 2729): refresh rate = 60.00 Hz
D/gralloc ( 2729): UPDATE_ON_DEMAND supported
D/libEGL ( 2729): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2729): loaded /system/lib/egl/libGLES_qcom.so
D/EGL.oem ( 2729): system process, deny GL context
E/libEGL ( 2729): No EGLDisplay for hardware EGL!
I/SurfaceFlinger( 2729): EGL informations:
I/SurfaceFlinger( 2729): # of configs : 8
I/SurfaceFlinger( 2729): vendor : Android
I/SurfaceFlinger( 2729): version : 1.4 Android META-EGL
I/SurfaceFlinger( 2729): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_im
age_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROI
D_get_render_buffer
I/SurfaceFlinger( 2729): Client API: OpenGL ES
I/SurfaceFlinger( 2729): EGLSurface: 5-6-5-0, config=0x1000000
I/SurfaceFlinger( 2729): flags : 00160000
I/SurfaceFlinger( 2729): OpenGL informations:
I/SurfaceFlinger( 2729): vendor : Android
I/SurfaceFlinger( 2729): renderer : Android PixelFlinger 1.2
I/SurfaceFlinger( 2729): version : OpenGL ES-CM 1.0
I/SurfaceFlinger( 2729): 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_OES_EGL_image GL_ARB_
texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane G
L_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap
I/sysproc ( 2729): System server: starting Android runtime.
I/sysproc ( 2729): System server: starting Android services.
I/SystemServer( 2729): Entered the Android system server!
I/sysproc ( 2729): System server: entering thread pool.
I/SystemServer( 2729): Entropy Service
W/EntropyService( 2729): unable to load initial entropy (first boot?)
W/EntropyService( 2729): java.io.FileNotFoundException: /data/system/entropy.dat

W/EntropyService( 2729): at org.apache.harmony.luni.platform.OSFileSystem
.open(OSFileSystem.java:244)
W/EntropyService( 2729): at java.io.FileInputStream.<init>(FileInputStrea
m.java:77)
W/EntropyService( 2729): at java.io.FileInputStream.<init>(FileInputStrea
m.java:130)
W/EntropyService( 2729): at com.android.server.RandomBlock.fromFile(Rando
mBlock.java:45)
W/EntropyService( 2729): at com.android.server.EntropyService.loadInitial
Entropy(EntropyService.java:88)
W/EntropyService( 2729): at com.android.server.EntropyService.<init>(Entr
opyService.java:75)
W/EntropyService( 2729): at com.android.server.ServerThread.run(SystemSer
ver.java:118)
I/SystemServer( 2729): Power Manager
I/SystemServer( 2729): Activity Manager
I/ActivityManager( 2729): Memory class: 48
D/ ( 2729): unable to unlink '/data/system/batterystats.bin.bak': No such
file or directory (errno=2)
D/dalvikvm( 2729): Total arena pages for JIT: 2
I/SystemServer( 2729): Telephony Registry
I/SystemServer( 2729): Package Manager
I/Installer( 2729): connecting...
I/installd( 2712): new connection
D/libEGL ( 2739): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2739): loaded /system/lib/egl/libGLES_qcom.so
D/EGL.oem ( 2739): smi: offset=10000000, len=00700000, phys=0x0
D/EGL.oem ( 2739): ebi: offset=00000000, len=00800000, phys=0x16500000
D/EGL.oem ( 2739): reg: offset=20000000, len=00100000, phys=0xa0000000
D/gralloc ( 2729): smi: offset=10000000, len=00700000, phys=0x0
D/gralloc ( 2729): ebi: offset=00000000, len=00800000, phys=0x16500000
D/gralloc ( 2729): reg: offset=20000000, len=00100000, phys=0xa0000000
D/gralloc ( 2729): allocating GPU size=307200, offset=0
W/zipro ( 2739): Unable to open zip '/data/local/bootanimation.zip': No such f
ile or directory
I/PackageManager( 2729): Libs: javax.obex:/system/framework/javax.obex.jar com.h
tc.android.easopen:/system/framework/com.htc.android.easopen.jar com.htc.framewo
rk:/system/framework/com.htc.framework.jar com.htc.rss:/system/framework/com.htc
.rss.jar android.test.runner:/system/framework/android.test.runner.jar com.htc.a
ndroid.pimlib:/system/framework/com.htc.android.pimlib.jar com.google.android.da
tamessaging:/system/framework/com.google.android.datamessaging.jar com.google.an
droid.gtalkservice:/system/framework/com.google.android.gtalkservice.jar com.goo
gle.android.maps:/system/framework/com.google.android.maps.jar com.scalado.util.
ScaladoUtil:/system/framework/com.scalado.util.ScaladoUtil.jar
I/PackageManager( 2729): Features: android.hardware.camera android.hardware.wifi
android.hardware.bluetooth android.hardware.sensor.light android.hardware.camer
a.autofocus android.software.live_wallpaper android.hardware.touchscreen android
.hardware.sensor.accelerometer android.hardware.sensor.compass
I/PackageManager( 2729): No current settings file!
W/PackageManager( 2729): Library not found: /system/framework/com.htc.rss.jar
W/PackageManager( 2729): Library not found: /system/framework/com.google.android
.datamessaging.jar
D/PackageManager( 2729): Scanning app dir /system/framework
D/gralloc ( 2729): allocating GPU size=307200, offset=307200
D/BootAnimation( 2739): play animation 0!
D/dalvikvm( 2729): GC freed 4710 objects / 221248 bytes in 292ms
E/DMAgent ( 2728): SMD Port open failure.[v1.1.2.12231200]
I/PackageManager( 2729): /system/framework/framework-res.apk changed; collecting
certs
D/dalvikvm( 2729): Total arena pages for JIT: 3
D/dalvikvm( 2729): GC freed 1892 objects / 325384 bytes in 277ms
D/dalvikvm( 2729): GC freed 1192 objects / 248296 bytes in 291ms
D/BootAnimation( 2739): play animation 1!
D/dalvikvm( 2729): GC freed 29 objects / 176608 bytes in 265ms
D/dalvikvm( 2729): GC freed 56 objects / 60592 bytes in 264ms
D/dalvikvm( 2729): GC freed 15 objects / 154872 bytes in 269ms
D/dalvikvm( 2729): GC freed 4 objects / 43176 bytes in 284ms
I/dalvikvm-heap( 2729): Grow heap (frag case) to 4.488MB for 178878-byte allocat
ion
D/dalvikvm( 2729): GC freed 0 objects / 0 bytes in 341ms
D/dalvikvm( 2729): GC freed 2545 objects / 375496 bytes in 176ms
E/DMAgent ( 2748): SMD Port open failure.[v1.1.2.12231200]
D/dalvikvm( 2729): GC freed 3080 objects / 350136 bytes in 201ms
D/dalvikvm( 2729): GC freed 3183 objects / 122408 bytes in 218ms
I/PackageManager( 2729): /system/framework/com.htc.resources.apk changed; collec
ting certs
D/dalvikvm( 2729): Total arena pages for JIT: 4
D/dalvikvm( 2729): Total arena pages for JIT: 5
D/dalvikvm( 2729): Total arena pages for JIT: 6
D/dalvikvm( 2729): Total arena pages for JIT: 7
D/dalvikvm( 2729): Total arena pages for JIT: 8
D/dalvikvm( 2729): Total arena pages for JIT: 9
D/dalvikvm( 2729): Total arena pages for JIT: 10
D/dalvikvm( 2729): GC freed 4973 objects / 432032 bytes in 222ms
D/dalvikvm( 2729): GC freed 31595 objects / 1838120 bytes in 212ms
D/dalvikvm( 2729): GC freed 7 objects / 115152 bytes in 174ms
I/dalvikvm-heap( 2729): Grow heap (frag case) to 4.650MB for 245118-byte allocat
ion
D/dalvikvm( 2729): GC freed 0 objects / 0 bytes in 203ms
D/dalvikvm( 2729): GC freed 3 objects / 122072 bytes in 175ms
D/dalvikvm( 2729): GC freed 29 objects / 307800 bytes in 182ms
D/dalvikvm( 2729): GC freed 5 objects / 60776 bytes in 179ms
I/dalvikvm-heap( 2729): Grow heap (frag case) to 4.828MB for 245076-byte allocat
ion
D/dalvikvm( 2729): GC freed 0 objects / 0 bytes in 208ms
D/dalvikvm( 2729): GC freed 3 objects / 122552 bytes in 175ms
I/dalvikvm-heap( 2729): Grow heap (frag case) to 4.886MB for 184088-byte allocat
ion
D/dalvikvm( 2729): GC freed 0 objects / 0 bytes in 186ms
E/DMAgent ( 2749): SMD Port open failure.[v1.1.2.12231200]
D/dalvikvm( 2729): GC freed 17 objects / 420320 bytes in 281ms
D/dalvikvm( 2729): GC freed 4 objects / 182960 bytes in 183ms
D/dalvikvm( 2729): GC freed 1867 objects / 452856 bytes in 199ms
D/dalvikvm( 2729): GC freed 2999 objects / 116264 bytes in 224ms
D/dalvikvm( 2729): GC freed 3787 objects / 362056 bytes in 242ms
E/DMAgent ( 2750): SMD Port open failure.[v1.1.2.12231200]
D/dalvikvm( 2729): GC freed 3407 objects / 316592 bytes in 275ms
D/PackageManager( 2729): Scanning app dir /system/app
E/System ( 2729): Failure starting core service
E/System ( 2729): java.lang.NullPointerException
E/System ( 2729): at com.android.server.PackageManagerService.scanDirLI(Pa
ckageManagerService.java:1976)
E/System ( 2729): at com.android.server.PackageManagerService.<init>(Packa
geManagerService.java:584)
E/System ( 2729): at com.android.server.PackageManagerService.main(Package
ManagerService.java:335)
E/System ( 2729): at com.android.server.ServerThread.run(SystemServer.java
:133)
E/AndroidRuntime( 2729): Crash logging skipped, no checkin service
I/SystemServer( 2729): not beta version and not show watermark
I/SystemServer( 2729): Status Bar
E/SystemServer( 2729): Failure starting StatusBarService
E/SystemServer( 2729): java.lang.NullPointerException
E/SystemServer( 2729): at android.app.ActivityThread.getPackageInfo(ActivityThr
ead.java:2187)
E/SystemServer( 2729): at android.app.ApplicationContext.createPackageContext(A
pplicationContext.java:1319)
E/SystemServer( 2729): at com.htc.res.HtcResources.getContext(HtcResources.java
:53)
E/SystemServer( 2729): at com.android.server.status.StatusBarService.<init>(Sta
tusBarService.java:316)
E/SystemServer( 2729): at com.android.server.ServerThread.run(SystemServer.java
:254)
E/AndroidRuntime( 2729): Crash logging skipped, no checkin service
I/SystemServer( 2729): Clipboard Service
I/SystemServer( 2729): Input Method Service
E/SystemServer( 2729): Failure starting Input Manager Service
E/SystemServer( 2729): java.lang.NullPointerException
E/SystemServer( 2729): at android.app.ApplicationContext.registerReceiverIntern
al(ApplicationContext.java:743)
E/SystemServer( 2729): at android.app.ApplicationContext.registerReceiver(Appli
cationContext.java:718)
E/SystemServer( 2729): at android.app.ApplicationContext.registerReceiver(Appli
cationContext.java:712)
E/SystemServer( 2729): at com.android.server.InputMethodManagerService.<init>(I
nputMethodManagerService.java:426)
E/SystemServer( 2729): at com.android.server.ServerThread.run(SystemServer.java
:269)
E/AndroidRuntime( 2729): Crash logging skipped, no checkin service
I/SystemServer( 2729): NetStat Service
I/SystemServer( 2729): Connectivity Service
D/dalvikvm( 2729): GC freed 9706 objects / 761040 bytes in 281ms
E/installd( 2712): eof
E/installd( 2712): failed to read size
I/installd( 2712): closing connection
V/ConnectivityService( 2729): ConnectivityService starting up
W/dalvikvm( 2729): threadid=27: thread exiting with uncaught exception (group=0x
4001e2d8)
E/AndroidRuntime( 2729): Uncaught handler: thread ConnectivityThread exiting due
to uncaught exception
E/AndroidRuntime( 2729): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 2729): java.lang.NullPointerException
E/AndroidRuntime( 2729): at android.app.ActivityThread.getProvider(Activi
tyThread.java:4232)
E/AndroidRuntime( 2729): at android.app.ActivityThread.acquireProvider(Ac
tivityThread.java:4272)
E/AndroidRuntime( 2729): at android.app.ApplicationContext$ApplicationCon
tentResolver.acquireProvider(ApplicationContext.java:1491)
E/AndroidRuntime( 2729): at android.content.ContentResolver.acquireProvid
er(ContentResolver.java:759)
E/AndroidRuntime( 2729): at android.content.ContentResolver.query(Content
Resolver.java:197)
E/AndroidRuntime( 2729): at android.provider.Settings$NameValueCache.getS
tring(Settings.java:499)
E/AndroidRuntime( 2729): at android.provider.Settings$Secure.getString(Se
ttings.java:1921)
E/AndroidRuntime( 2729): at android.provider.Settings$Secure.getInt(Setti
ngs.java:1961)
E/AndroidRuntime( 2729): at com.android.server.ConnectivityService.getPer
sistedNetworkPreference(ConnectivityService.java:692)
E/AndroidRuntime( 2729): at com.android.server.ConnectivityService.<init>
(ConnectivityService.java:460)
E/AndroidRuntime( 2729): at com.android.server.ConnectivityService.<init>
(ConnectivityService.java:63)
E/AndroidRuntime( 2729): at com.android.server.ConnectivityService$Connec
tivityThread.run(ConnectivityService.java:421)
E/AndroidRuntime( 2729): Crash logging skipped, no checkin service
I/Process ( 2729): Sending signal. PID: 2729 SIG: 9
I/ServiceManager( 2704): service 'batteryinfo' died
I/ServiceManager( 2704): service 'telephony.registry' died
I/ServiceManager( 2704): service 'entropy' died
I/ServiceManager( 2704): service 'power' died
I/ServiceManager( 2704): service 'netstat' died
I/ServiceManager( 2704): service 'clipboard' died
I/ServiceManager( 2704): service 'SurfaceFlinger' died
I/ServiceManager( 2704): service 'usagestats' died
D/BootAnimation( 2739): SurfaceFlinger died, exiting...
I/Zygote ( 2709): Exit zygote because system server (2729) has terminated
E/DMAgent ( 2751): SMD Port open failure.[v1.1.2.12231200]
E/DMAgent ( 2753): SMD Port open failure.[v1.1.2.12231200]
E/DMAgent ( 2754): SMD Port open failure.[v1.1.2.12231200]
E/DMAgent ( 2755): SMD Port open failure.[v1.1.2.12231200]
E/DMAgent ( 2756): SMD Port open failure.[v1.1.2.12231200]
E/DMAgent ( 2757): SMD Port open failure.[v1.1.2.12231200]
E/DMAgent ( 2758): SMD Port open failure.[v1.1.2.12231200]

do i need to use a larger swap?

EDIT: i followed burn317's post above and it is working.

i didn't realise that i could still use that patch if i wasn't using A2SD.

now i'm just trying to sort out internet access on my phone. i'm pretty sure i've got the APN settings correct.