[Legend Android Development] Robbie_G:
Force close problems on HTC Hero with CM7.0.2

I just started using data2ext (ext4 version) and I followed the instructions in the OP on my HTC Hero with CyanogenMod 7.0.2 with aospCWMod-HC-20110421 for recovery (which is made from ClockworkMod 3.0.2.4). I am getting force closes on various applications, including Market when the phone initially boots, and this didn't start until I started using data2ext. I wiped the phone, reflashed CM7, gapps, and data2ext4-V4. As soon as phone booted (without touching the screen at the initial "tap here to start using your android device"), I used adb to run the code again from the OP, enabled data2ext, and rebooted. Resetting up the phone went fine, but now I cannot open many apps, which either force close, or simply close without a force close message. Here is my logcat:

I//system/xbin/run-parts( 61): --START OF SCRIPT, PASTE LOGCAT FROM HERE ON!--

I//system/xbin/run-parts( 61): Waiting for SD card to settle...
I//system/xbin/run-parts( 61): sd-ext is not a mountpoint
I//system/xbin/run-parts( 61): I'm checking the ext partition. Hang tight
I//system/xbin/run-parts( 61): /dev/block/mmcblk0p2: 148/62592 files (67.6% no
n-contiguous), 34732/250021 blocks
I//system/xbin/run-parts( 61): Success! Mounting /dev/block/mmcblk0p2 to /data
...
I//system/xbin/run-parts( 61): The ext partition has been mounted to /data
I//system/xbin/run-parts( 61): Data2EXT enabled...
I//system/xbin/run-parts( 61): I DON'T NEED ANY MORE OF THE LOGCAT!

Here is the logcat when I try to open the market again and it force closes:

I/ActivityManager( 181): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.vending/.Asset
BrowserActivity bnds=[83,339][157,418] } from pid 272
I/ActivityManager( 181): Start proc com.android.vending for activity com.androi
d.vending/.AssetBrowserActivity: pid=1040 uid=10048 gids={1015, 3003}
D/dalvikvm( 181): GC_CONCURRENT freed 1026K, 44% free 5956K/10503K, external 60
5K/1117K, paused 8ms+33ms
D/szipinf ( 1040): Initializing inflate state
I/ActivityThread( 1040): Pub com.android.vending.SuggestionsProvider: com.androi
d.vending.SuggestionsProvider
W/dalvikvm( 1040): Exception Ljava/lang/NoClassDefFoundError; thrown while initi
alizing Lcom/android/vending/model/ApiDefsMessageTypes;
D/AndroidRuntime( 1040): Shutting down VM
W/dalvikvm( 1040): threadid=1: thread exiting with uncaught exception (group=0x4
0018560)
E/AndroidRuntime( 1040): FATAL EXCEPTION: main
E/AndroidRuntime( 1040): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 1040): at com.android.vending.VendingApplication.onCrea
te(VendingApplication.java:141)
E/AndroidRuntime( 1040): at android.app.Instrumentation.callApplicationOn
Create(Instrumentation.java:969)
E/AndroidRuntime( 1040): at android.app.ActivityThread.handleBindApplicat
ion(ActivityThread.java:3424)
E/AndroidRuntime( 1040): at android.app.ActivityThread.access$2200(Activi
tyThread.java:123)
E/AndroidRuntime( 1040): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:977)
E/AndroidRuntime( 1040): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 1040): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1040): at android.app.ActivityThread.main(ActivityThrea
d.java:3835)
E/AndroidRuntime( 1040): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1040): at java.lang.reflect.Method.invoke(Method.java:5
07)
E/AndroidRuntime( 1040): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1040): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:599)
E/AndroidRuntime( 1040): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 1040): Caused by: java.lang.NoClassDefFoundError:
E/AndroidRuntime( 1040): at com.google.common.io.protocol.ProtoBufType.<i
nit>(ProtoBufType.java:47)
E/AndroidRuntime( 1040): at com.android.vending.model.ApiDefsMessageTypes
.<clinit>(ApiDefsMessageTypes.java:10)
E/AndroidRuntime( 1040): ... 13 more
E/AndroidRuntime( 1040): Caused by: java.lang.ClassNotFoundException: in loader
dalvik.system.PathClassLoader[/data/app/com.android.vending-1.apk]
E/AndroidRuntime( 1040): at dalvik.system.PathClassLoader.findClass(PathC
lassLoader.java:240)
E/AndroidRuntime( 1040): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:551)
E/AndroidRuntime( 1040): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:511)
E/AndroidRuntime( 1040): ... 15 more
W/ActivityManager( 181): Force finishing activity com.android.vending/.AssetB
rowserActivity
W/ActivityManager( 181): Activity pause timeout for HistoryRecord{40851048 com.
android.vending/.AssetBrowserActivity}

In a previous post I saw you ask someone for this, so I thought I'd do it, too:

df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.4M 32.0K 95.4M 0% /dev
tmpfs 95.4M 0 95.4M 0% /mnt/asec
tmpfs 95.4M 0 95.4M 0% /mnt/obb
/dev/block/mtdblock3 170.0M 95.0M 75.0M 56% /system
/dev/block/mtdblock5 159.5M 31.0M 128.5M 19% /mnt/asec/data
/dev/block/mtdblock4 130.0M 51.1M 78.9M 39% /cache
/dev/block/mmcblk0p2 961.3M 120.3M 840.9M 13% /data
/dev/block/vold/179:1
13.8G 1.3G 12.4G 10% /mnt/sdcard
/dev/block/vold/179:1
13.8G 1.3G 12.4G 10% /mnt/secure/asec
/dev/block/dm-0 2.0M 260.0K 1.8M 12% /mnt/asec/com.scheffsble
nd.schottgunn-1
/dev/block/dm-1 7.1M 5.9M 1.2M 83% /mnt/asec/com.fishingcac
tus.shiftlite-1

Any advice?

Update: I wiped and reinstalled everything again. Things were going well until I rebooted the phone for the first time. Now market is working, but other apps won't open or force close. here is what gmail does when I try to open it:

I/ActivityManager( 172): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.gm/.Con
versationListActivityGmail } from pid 277
I/ActivityManager( 172): Start proc com.google.android.gm for activity com.goog
le.android.gm/.ConversationListActivityGmail: pid=887 uid=10058 gids={3003, 1015
}
I/ActivityThread( 887): Pub gmail-ls: com.google.android.gm.provider.MailProvid
er
I/ActivityThread( 887): Pub com.google.android.gm.attachmentspreviews: com.goog
le.android.gm.AttachmentPreviewProvider
I/ActivityThread( 887): Pub com.google.android.gmail.SuggestionProvider: com.go
ogle.android.gm.SuggestionsProvider
W/dalvikvm( 887): VFY: not expecting optimized instructions
W/dalvikvm( 887): Verifier rejected class Lcom/google/common/collect/Sets;
W/dalvikvm( 887): threadid=8: thread exiting with uncaught exception (group=0x4
0018560)
I/ActivityThread( 887): Pub gmail-downloads: com.google.android.gm.downloadprov
ider.DownloadProvider
E/AndroidRuntime( 887): FATAL EXCEPTION: AccountManager Listener
E/AndroidRuntime( 887): java.lang.VerifyError: com.google.common.collect.Sets
E/AndroidRuntime( 887): at com.google.android.gm.provider.MailProvider.o
nAccountsUpdated(MailProvider.java:160)
E/AndroidRuntime( 887): at android.accounts.AccountManager$11.run(Accoun
tManager.java:1153)
E/AndroidRuntime( 887): at android.os.Handler.handleCallback(Handler.jav
a:587)
E/AndroidRuntime( 887): at android.os.Handler.dispatchMessage(Handler.ja
va:92)
E/AndroidRuntime( 887): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 887): at android.os.HandlerThread.run(HandlerThread.ja
va:60)
I/dalvikvm( 887): Rejecting re-init on previously-failed class Lcom/google/comm
on/collect/Sets; v=0x405432b8
D/AndroidRuntime( 887): Shutting down VM
W/dalvikvm( 887): threadid=1: thread exiting with uncaught exception (group=0x4
0018560)
I/Process ( 887): Sending signal. PID: 887 SIG: 9
W/ActivityManager( 172): Force finishing activity com.google.android.gm/.Conv
ersationListActivityGmail
I/ActivityManager( 172): Process com.google.android.gm (pid 887) has died.
W/InputManagerService( 172): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@405fde00

And this is what google voice does when I try to open it (and nothing happens on my device):

I/ActivityManager( 172): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.apps.go
oglevoice/.SplashActivity } from pid 277
I/ActivityManager( 172): Start proc com.google.android.apps.googlevoice for act
ivity com.google.android.apps.googlevoice/.SplashActivity: pid=902 uid=10072 gid
s={3003, 1015}
D/dalvikvm( 133): GC_EXPLICIT freed 12K, 54% free 2498K/5379K, external 0K/0K,
paused 93ms
D/dalvikvm( 133): GC_EXPLICIT freed <1K, 54% free 2498K/5379K, external 0K/0K,
paused 173ms
D/dalvikvm( 133): GC_EXPLICIT freed <1K, 54% free 2498K/5379K, external 0K/0K,
paused 104ms
I/DEBUG ( 842): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 842): Build fingerprint: 'google/passion/passion:2.3.3/GRI40/102588
:user/release-keys'
I/DEBUG ( 842): pid: 902, tid: 902 >>> com.google.android.apps.googlevoice <
<<
I/DEBUG ( 842): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 4526803
8
I/DEBUG ( 842): r0 00095ad8 r1 45268038 r2 00095aa0 r3 01220010
I/DEBUG ( 842): r4 aca9e5c0 r5 00095ad8 r6 440a0258 r7 405188e0
I/DEBUG ( 842): r8 aca11f80 r9 0000ce60 10 4214fc40 fp bebcb400
I/DEBUG ( 842): ip aca9e740 sp bebcb030 lr aca64899 pc aca63f3e cpsr 200
00030
I/DEBUG ( 842): #00 pc 00063f3e /system/lib/libdvm.so
I/DEBUG ( 842): #01 pc 00064894 /system/lib/libdvm.so
I/DEBUG ( 842): #02 pc 00064ada /system/lib/libdvm.so (dvmDefineCl
ass)
I/DEBUG ( 842): #03 pc 0005e5ec /system/lib/libdvm.so
I/DEBUG ( 842): #04 pc 00017014 /system/lib/libdvm.so
I/DEBUG ( 842): #05 pc 0001c100 /system/lib/libdvm.so (dvmMterpStd
)
I/DEBUG ( 842): #06 pc 0001affc /system/lib/libdvm.so (dvmInterpre
t)
I/DEBUG ( 842): #07 pc 000593e2 /system/lib/libdvm.so (dvmCallMeth
odV)
I/DEBUG ( 842): #08 pc 00059606 /system/lib/libdvm.so (dvmCallMeth
od)
I/DEBUG ( 842): #09 pc 00064288 /system/lib/libdvm.so
I/DEBUG ( 842): #10 pc 00064336 /system/lib/libdvm.so (dvmFindClas
sNoInit)
I/DEBUG ( 842): #11 pc 0006586c /system/lib/libdvm.so (dvmResolveC
lass)
I/DEBUG ( 842): #12 pc 00065b0a /system/lib/libdvm.so (dvmResolveM
ethod)
I/DEBUG ( 842): #13 pc 00013be8 /system/lib/libdvm.so
I/DEBUG ( 842): #14 pc 0001c100 /system/lib/libdvm.so (dvmMterpStd
)
I/DEBUG ( 842): #15 pc 0001affc /system/lib/libdvm.so (dvmInterpre
t)
I/DEBUG ( 842): #16 pc 0005958e /system/lib/libdvm.so (dvmInvokeMe
thod)
I/DEBUG ( 842): #17 pc 00060f36 /system/lib/libdvm.so
I/DEBUG ( 842): #18 pc 00017014 /system/lib/libdvm.so
I/DEBUG ( 842): #19 pc 0001c100 /system/lib/libdvm.so (dvmMterpStd
)
I/DEBUG ( 842): #20 pc 0001affc /system/lib/libdvm.so (dvmInterpre
t)
I/DEBUG ( 842): #21 pc 000593e2 /system/lib/libdvm.so (dvmCallMeth
odV)
I/DEBUG ( 842): #22 pc 000459e4 /system/lib/libdvm.so
I/DEBUG ( 842): #23 pc 00034124 /system/lib/libandroid_runtime.so
I/DEBUG ( 842): #24 pc 00034ebe /system/lib/libandroid_runtime.so
(_ZN7android14AndroidRuntime5startEPKcb)
I/DEBUG ( 842): #25 pc 00008ca2 /system/bin/app_process
I/DEBUG ( 842): #26 pc 00015000 /system/lib/libc.so (__libc_init)
I/DEBUG ( 842):
I/DEBUG ( 842): code around pc:
I/DEBUG ( 842): aca63f1c 4c69b5f0 447c698b b0891c17 1c0e1c05
I/DEBUG ( 842): aca63f2c 2b006802 e0a6d100 18c96ad1 d1002900
I/DEBUG ( 842): aca63f3c 780be0a1 2b7f1c4a 7849dd20 91033201
I/DEBUG ( 842): aca63f4c 217f9803 400b4008 930201c0 98034303
I/DEBUG ( 842): aca63f5c dd13287f 32017810 40089003 43030380
I/DEBUG ( 842):
I/DEBUG ( 842): code around lr:
I/DEBUG ( 842): aca64878 d0012b00 e00562eb 99034887 22004478
I/DEBUG ( 842): aca64888 fcf6f7da e0f92400 9a051c38 fb42f7ff
I/DEBUG ( 842): aca64898 1c046aeb d0092b00 d1002800 f7fee0ee
I/DEBUG ( 842): aca648a8 1c20fe6d f7ea2100 e0e7f813 1c211c28
I/DEBUG ( 842): aca648b8 ff40f7e6 63606828 f7ff1c20 2800fc07
I/DEBUG ( 842):
I/DEBUG ( 842): stack:
I/DEBUG ( 842): bebcaff0 aca84515 /system/lib/libdvm.so
I/DEBUG ( 842): bebcaff4 124cbad1
I/DEBUG ( 842): bebcaff8 405386e0
I/DEBUG ( 842): bebcaffc bebcb048
I/DEBUG ( 842): bebcb000 40538690
I/DEBUG ( 842): bebcb004 40018158
I/DEBUG ( 842): bebcb008 0000ce60
I/DEBUG ( 842): bebcb00c aca5960b /system/lib/libdvm.so
I/DEBUG ( 842): bebcb010 0000ce60
I/DEBUG ( 842): bebcb014 aca4e8fb /system/lib/libdvm.so
I/DEBUG ( 842): bebcb018 40538690
I/DEBUG ( 842): bebcb01c 000e4d08
I/DEBUG ( 842): bebcb020 acaa3d9c
I/DEBUG ( 842): bebcb024 00000000
I/DEBUG ( 842): bebcb028 df002777
I/DEBUG ( 842): bebcb02c e3a070ad
I/DEBUG ( 842): #00 bebcb030 aca11f80 /system/lib/libdvm.so
I/DEBUG ( 842): bebcb034 0000ce60
I/DEBUG ( 842): bebcb038 442634d0
I/DEBUG ( 842): bebcb03c aca79801 /system/lib/libdvm.so
I/DEBUG ( 842): bebcb040 00000d3a
I/DEBUG ( 842): bebcb044 00000fff
I/DEBUG ( 842): bebcb048 44048028
I/DEBUG ( 842): bebcb04c 00124920
I/DEBUG ( 842): bebcb050 aca11f80 /system/lib/libdvm.so
I/DEBUG ( 842): bebcb054 00000000
I/DEBUG ( 842): bebcb058 0000ce60
I/DEBUG ( 842): bebcb05c aca9e5c0
I/DEBUG ( 842): bebcb060 00095ad8
I/DEBUG ( 842): bebcb064 aca64899 /system/lib/libdvm.so
I/DEBUG ( 842): #01 bebcb068 00000284
I/DEBUG ( 842): bebcb06c 00097d98
I/DEBUG ( 842): bebcb070 acaa3d08
I/DEBUG ( 842): bebcb074 00124920
I/DEBUG ( 842): bebcb078 00000000
I/DEBUG ( 842): bebcb07c 405188e0
I/DEBUG ( 842): bebcb080 4214fc40
I/DEBUG ( 842): bebcb084 440a0258
I/DEBUG ( 842): bebcb088 00000000
I/DEBUG ( 842): bebcb08c 00097d98
I/DEBUG ( 842): bebcb090 aca9e5c0
I/DEBUG ( 842): bebcb094 00000000
I/DEBUG ( 842): bebcb098 00000000
I/DEBUG ( 842): bebcb09c aca64adf /system/lib/libdvm.so
D/Zygote ( 133): Process 902 terminated by signal (11)
I/ActivityManager( 172): Process com.google.android.apps.googlevoice (pid 902)
has died.
W/InputManagerService( 172): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@40827e00