[Q] IMAP/EMAIL issues with rooted NC2 KitKat - Verizon Galaxy Note 3 Q&A, Help & Troubleshooting

I was running MJE rooted for months with no issues.
Yesterday I followed the instructions and flashed the Rooted NC2 Odex KitKat ROM.
Everything went fine, except for one thing.
I have several E-Mail accounts set up. Two of them are IMAP. They can check for new messages and download the Inbox, but it will not show Sent or Spam folder messages. I have reset it several times, and it simply will only show messages in the Inbox.
What is weird is that an Exchange Server for another E-Mail account works fine and shows sent messages.
Has anyone had issues with their IMAP account not displaying sent messages?

Apparently, I have the same issue, too. I cleared the caches of the Email and Exchange services apps and restarted Exchange services, which didn't work out. I even checked the Android issue tracker, but I couldn't find anything.
EDIT: I discovered that an exception occurs after navigating to the sent folder. Here is the logcat output:
Code:
W/System.err( 5864): android.content.pm.PackageManager$NameNotFoundException: com.samsung.helphub
W/System.err( 5864): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:104)
W/System.err( 5864): at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:4790)
W/System.err( 5864): at android.app.Activity.onPreparePanel(Activity.java:2606)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java)
W/System.err( 5864): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
W/System.err( 5864): at android.view.Choreographer.doCallbacks(Choreographer.java:603)
W/System.err( 5864): at android.view.Choreographer.doFrame(Choreographer.java:572)
W/System.err( 5864): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
W/System.err( 5864): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 5864): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 5864): at android.os.Looper.loop(Looper.java:157)
W/System.err( 5864): at android.app.ActivityThread.main(ActivityThread.java:5293)
W/System.err( 5864): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 5864): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 5864): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
W/System.err( 5864): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
W/System.err( 5864): at dalvik.system.NativeStart.main(Native Method)
W/System.err( 5864): android.content.pm.PackageManager$NameNotFoundException: com.samsung.helphub
W/System.err( 5864): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:104)
W/System.err( 5864): at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:4790)
W/System.err( 5864): at android.app.Activity.onPreparePanel(Activity.java:2606)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java)
W/System.err( 5864): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
W/System.err( 5864): at android.view.Choreographer.doCallbacks(Choreographer.java:603)
W/System.err( 5864): at android.view.Choreographer.doFrame(Choreographer.java:572)
W/System.err( 5864): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
W/System.err( 5864): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 5864): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 5864): at android.os.Looper.loop(Looper.java:157)
W/System.err( 5864): at android.app.ActivityThread.main(ActivityThread.java:5293)
W/System.err( 5864): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 5864): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 5864): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
W/System.err( 5864): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
W/System.err( 5864): at dalvik.system.NativeStart.main(Native Method)
I'm not sure if this is related to the issue.
EDIT: Now I feel totally stupid. The reason why I wasn't seeing any of my sent messages was because I failed to realize how much time passed since I sent my last message. When I set the sync period of the Sent folder to one month, I can see all the messages I have sent in the past month. I guess this issue doesn't affect me after all, but at least I helped by showing that a trivial import of the Email app from the MJE ROM doesn't work.

I wonder if someone can get the E-Mail app from the MJE ROM (or the NC4) and we can replace/install it and see if it works?

ronjwright said:
Apparently, I have the same issue, too. I cleared the caches of the Email and Exchange services apps and restarted Exchange services, which didn't work out. I even checked the Android issue tracker, but I couldn't find anything.
EDIT: I discovered that an exception occurs after navigating to the sent folder. Here is the logcat output:
Code:
W/System.err( 5864): android.content.pm.PackageManager$NameNotFoundException: com.samsung.helphub
W/System.err( 5864): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:104)
W/System.err( 5864): at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:4790)
W/System.err( 5864): at android.app.Activity.onPreparePanel(Activity.java:2606)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java)
W/System.err( 5864): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
W/System.err( 5864): at android.view.Choreographer.doCallbacks(Choreographer.java:603)
W/System.err( 5864): at android.view.Choreographer.doFrame(Choreographer.java:572)
W/System.err( 5864): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
W/System.err( 5864): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 5864): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 5864): at android.os.Looper.loop(Looper.java:157)
W/System.err( 5864): at android.app.ActivityThread.main(ActivityThread.java:5293)
W/System.err( 5864): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 5864): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 5864): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
W/System.err( 5864): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
W/System.err( 5864): at dalvik.system.NativeStart.main(Native Method)
W/System.err( 5864): android.content.pm.PackageManager$NameNotFoundException: com.samsung.helphub
W/System.err( 5864): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:104)
W/System.err( 5864): at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:4790)
W/System.err( 5864): at android.app.Activity.onPreparePanel(Activity.java:2606)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java)
W/System.err( 5864): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
W/System.err( 5864): at android.view.Choreographer.doCallbacks(Choreographer.java:603)
W/System.err( 5864): at android.view.Choreographer.doFrame(Choreographer.java:572)
W/System.err( 5864): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
W/System.err( 5864): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 5864): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 5864): at android.os.Looper.loop(Looper.java:157)
W/System.err( 5864): at android.app.ActivityThread.main(ActivityThread.java:5293)
W/System.err( 5864): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 5864): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 5864): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
W/System.err( 5864): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
W/System.err( 5864): at dalvik.system.NativeStart.main(Native Method)
I'm not sure if this is related to the issue.
Click to expand...
Click to collapse
I don't have any issues with mailbox folders syncing with Exchange server (inbox, sent, drafts, spam).
But the issue for me is with two different IMAP accounts (personal and work) as only the Inbox is syncing and showing messages, while the sent and spam do not sync at all.
I still think if someone could do an APK backup of the E-Mail app from the MJE ROM for us to install, that may fix the problem, as I never has E-Mail issues with it.

FAUguy said:
I don't have any issues with mailbox folders syncing with Exchange server (inbox, sent, drafts, spam).
But the issue for me is with two different IMAP accounts (personal and work) as only the Inbox is syncing and showing messages, while the sent and spam do not sync at all.
I still think if someone could do an APK backup of the E-Mail app from the MJE ROM for us to install, that may fix the problem, as I never has E-Mail issues with it.
Click to expand...
Click to collapse
No go. I imported SecEmail_J.apk from Hyperdrive RLS 7 (MJE) to /system/app, and when I fixed permissions and rebooted, it FC'd. When I restored the original SecEmail_J.apk and rebooted again, I had to re-set up my one account that was attached to it.
Here was the logcat when the app FC'd:
Code:
E/AndroidRuntime( 9672): FATAL EXCEPTION: main
E/AndroidRuntime( 9672): Process: com.android.email, PID: 9672
E/AndroidRuntime( 9672): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.email/com.android.email.activity.Welcome}: android.database.sqlite.SQLiteException: Can't downgrade database from version 2202 to 2113
E/AndroidRuntime( 9672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282)
E/AndroidRuntime( 9672): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2340)
E/AndroidRuntime( 9672): at android.app.ActivityThread.access$800(ActivityThread.java:157)
E/AndroidRuntime( 9672): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
E/AndroidRuntime( 9672): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 9672): at android.os.Looper.loop(Looper.java:157)
E/AndroidRuntime( 9672): at android.app.ActivityThread.main(ActivityThread.java:5293)
E/AndroidRuntime( 9672): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9672): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 9672): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
E/AndroidRuntime( 9672): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
E/AndroidRuntime( 9672): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 9672): Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 2202 to 2113
E/AndroidRuntime( 9672): at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)
E/AndroidRuntime( 9672): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)
E/AndroidRuntime( 9672): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
E/AndroidRuntime( 9672): at com.android.email.provider.EmailProvider.getDatabase(EmailProvider.java:889)
E/AndroidRuntime( 9672): at com.android.email.provider.EmailProvider.applyBatch(EmailProvider.java:3299)
E/AndroidRuntime( 9672): at android.content.ContentProvider$Transport.applyBatch(ContentProvider.java:260)
E/AndroidRuntime( 9672): at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:377)
E/AndroidRuntime( 9672): at android.content.ContentResolver.applyBatch(ContentResolver.java:1230)
E/AndroidRuntime( 9672): at com.android.emailcommon.provider.EmailContent$Account.save(EmailContent.java:6725)
E/AndroidRuntime( 9672): at com.android.email.AccountBackupRestore.doRestoreAccounts(AccountBackupRestore.java:462)
E/AndroidRuntime( 9672): at com.android.email.AccountBackupRestore.restoreAccountsIfNeeded(AccountBackupRestore.java:106)
E/AndroidRuntime( 9672): at com.android.email.activity.Welcome.onCreate(Welcome.java:280)
E/AndroidRuntime( 9672): at android.app.Activity.performCreate(Activity.java:5389)
E/AndroidRuntime( 9672): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 9672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2246)
E/AndroidRuntime( 9672): ... 11 more
Apparently, the old email app uses an old database format, and I have a feeling that this would require a non-trivial change to make it compatible with the newer database format.

ronjwright said:
No go. I imported SecEmail_J.apk from Hyperdrive RLS 7 (MJE) to /system/app, and when I fixed permissions and rebooted, it FC'd. When I restored the original SecEmail_J.apk and rebooted again, I had to re-set up my one account that was attached to it.
Here was the logcat when the app FC'd:
Code:
E/AndroidRuntime( 9672): FATAL EXCEPTION: main
E/AndroidRuntime( 9672): Process: com.android.email, PID: 9672
E/AndroidRuntime( 9672): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.email/com.android.email.activity.Welcome}: android.database.sqlite.SQLiteException: Can't downgrade database from version 2202 to 2113
E/AndroidRuntime( 9672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282)
E/AndroidRuntime( 9672): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2340)
E/AndroidRuntime( 9672): at android.app.ActivityThread.access$800(ActivityThread.java:157)
E/AndroidRuntime( 9672): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
E/AndroidRuntime( 9672): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 9672): at android.os.Looper.loop(Looper.java:157)
E/AndroidRuntime( 9672): at android.app.ActivityThread.main(ActivityThread.java:5293)
E/AndroidRuntime( 9672): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9672): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 9672): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
E/AndroidRuntime( 9672): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
E/AndroidRuntime( 9672): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 9672): Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 2202 to 2113
E/AndroidRuntime( 9672): at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)
E/AndroidRuntime( 9672): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)
E/AndroidRuntime( 9672): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
E/AndroidRuntime( 9672): at com.android.email.provider.EmailProvider.getDatabase(EmailProvider.java:889)
E/AndroidRuntime( 9672): at com.android.email.provider.EmailProvider.applyBatch(EmailProvider.java:3299)
E/AndroidRuntime( 9672): at android.content.ContentProvider$Transport.applyBatch(ContentProvider.java:260)
E/AndroidRuntime( 9672): at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:377)
E/AndroidRuntime( 9672): at android.content.ContentResolver.applyBatch(ContentResolver.java:1230)
E/AndroidRuntime( 9672): at com.android.emailcommon.provider.EmailContent$Account.save(EmailContent.java:6725)
E/AndroidRuntime( 9672): at com.android.email.AccountBackupRestore.doRestoreAccounts(AccountBackupRestore.java:462)
E/AndroidRuntime( 9672): at com.android.email.AccountBackupRestore.restoreAccountsIfNeeded(AccountBackupRestore.java:106)
E/AndroidRuntime( 9672): at com.android.email.activity.Welcome.onCreate(Welcome.java:280)
E/AndroidRuntime( 9672): at android.app.Activity.performCreate(Activity.java:5389)
E/AndroidRuntime( 9672): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 9672): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2246)
E/AndroidRuntime( 9672): ... 11 more
Apparently, the old email app uses an old database format, and I have a feeling that this would require a non-trivial change to make it compatible with the newer database format.
Click to expand...
Click to collapse
Then the only hope would be to try the E-mail app from the released NC4 build, if anyone can get it.

It might be worth to try and flash this new NC4 rooted ROM:
http://forum.xda-developers.com/showthread.php?t=2760380
Version 1.0 is pretty much stock, with 1.1 coming with added features.
Maybe it will not have the IMAP Email issues.

ronjwright said:
Apparently, I have the same issue, too. I cleared the caches of the Email and Exchange services apps and restarted Exchange services, which didn't work out. I even checked the Android issue tracker, but I couldn't find anything.
EDIT: I discovered that an exception occurs after navigating to the sent folder. Here is the logcat output:
Code:
W/System.err( 5864): android.content.pm.PackageManager$NameNotFoundException: com.samsung.helphub
W/System.err( 5864): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:104)
W/System.err( 5864): at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:4790)
W/System.err( 5864): at android.app.Activity.onPreparePanel(Activity.java:2606)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java)
W/System.err( 5864): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
W/System.err( 5864): at android.view.Choreographer.doCallbacks(Choreographer.java:603)
W/System.err( 5864): at android.view.Choreographer.doFrame(Choreographer.java:572)
W/System.err( 5864): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
W/System.err( 5864): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 5864): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 5864): at android.os.Looper.loop(Looper.java:157)
W/System.err( 5864): at android.app.ActivityThread.main(ActivityThread.java:5293)
W/System.err( 5864): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 5864): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 5864): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
W/System.err( 5864): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
W/System.err( 5864): at dalvik.system.NativeStart.main(Native Method)
W/System.err( 5864): android.content.pm.PackageManager$NameNotFoundException: com.samsung.helphub
W/System.err( 5864): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:104)
W/System.err( 5864): at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:4790)
W/System.err( 5864): at android.app.Activity.onPreparePanel(Activity.java:2606)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java)
W/System.err( 5864): at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java)
W/System.err( 5864): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
W/System.err( 5864): at android.view.Choreographer.doCallbacks(Choreographer.java:603)
W/System.err( 5864): at android.view.Choreographer.doFrame(Choreographer.java:572)
W/System.err( 5864): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
W/System.err( 5864): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 5864): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 5864): at android.os.Looper.loop(Looper.java:157)
W/System.err( 5864): at android.app.ActivityThread.main(ActivityThread.java:5293)
W/System.err( 5864): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 5864): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 5864): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
W/System.err( 5864): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
W/System.err( 5864): at dalvik.system.NativeStart.main(Native Method)
I'm not sure if this is related to the issue.
EDIT: Now I feel totally stupid. The reason why I wasn't seeing any of my sent messages was because I failed to realize how much time passed since I sent my last message. When I set the sync period of the Sent folder to one month, I can see all the messages I have sent in the past month. I guess this issue doesn't affect me after all, but at least I helped by showing that a trivial import of the Email app from the MJE ROM doesn't work.
Click to expand...
Click to collapse
That is interesting, since I have mine set to 1 month and no sent emails are shown, even though I send daily.
They will so how up on my Note 2 and PC, but not on the Note 3 with NC2...but it was OK with MJE.

I was able to obtain the SecEmail_J.apk file from the newly released JasmineROM (which, of course, is based on NC4). I imported the apk, fixed permissions, rebooted, re-set up my account, and tested it out. I have not noticed any FCs so far. I am attaching the SecEmail_J.apk file from the JasmineROM for you to try out.

Related

[Q] My First Try to build a nand android

hey
today i started to build my first ever android nand build, and what i did is the follwoing:
1- i get an existed build and extracted the system.img using unyaffs2(under windows)
2- i made some changs on the applicatoins, i only removed some applicatoins.
3- repacked the system.img again using the (mkfs.yaffs2.x86) under unix - i am using ubuntu 10.10)
4- now i atried to install on my phone it via magldr and it worked, but the build did not started (hehe)
i used droidexplorer to debug and i got the following:
logcat
# --------- beginning of /dev/log/main
logwrapper( 125): executing /system/xbin/busybox failed: Permission denied
logwrapper( 120): /system/xbin/busybox terminated by exit(255)
AndroidRuntime( 131):
AndroidRuntime( 131): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
AndroidRuntime( 131): CheckJNI is OFF
dalvikvm( 131): creating instr width table
AndroidRuntime( 131): --- registering native functions ---
ServiceManager( 131): error in getService
ServiceManager( 131): android.os.DeadObjectException
ServiceManager( 131): at android.os.BinderProxy.transact(Native Method)
ServiceManager( 131): at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:120)
ServiceManager( 131): at android.os.ServiceManager.getService(ServiceManager.java:55)
ServiceManager( 131): at android.app.ActivityManagerNative.getDefault(ActivityManagerNative.java:78)
ServiceManager( 131): at com.android.commands.am.Am.run(Am.java:81)
ServiceManager( 131): at com.android.commands.am.Am.main(Am.java:65)
ServiceManager( 131): at com.android.internal.os.RuntimeInit.finishInit(Native Method)
ServiceManager( 131): at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
ServiceManager( 131): at dalvik.system.NativeStart.main(Native Method)
AndroidRuntime( 131): AndroidRuntime onExit calling exit(1)
AndroidRuntime( 143):
AndroidRuntime( 143): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
AndroidRuntime( 143): CheckJNI is OFF
dalvikvm( 143): creating instr width table
AndroidRuntime( 143): --- registering native functions ---
ServiceManager( 143): error in getService
ServiceManager( 143): android.os.DeadObjectException
ServiceManager( 143): at android.os.BinderProxy.transact(Native Method)
ServiceManager( 143): at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:120)
ServiceManager( 143): at android.os.ServiceManager.getService(ServiceManager.java:55)
ServiceManager( 143): at com.android.commands.pm.Pm.run(Pm.java:73)
ServiceManager( 143): at com.android.commands.pm.Pm.main(Pm.java:63)
ServiceManager( 143): at com.android.internal.os.RuntimeInit.finishInit(Native Method)
ServiceManager( 143): at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
ServiceManager( 143): at dalvik.system.NativeStart.main(Native Method)
AndroidRuntime( 143): Shutting down VM
jdwp ( 143): adbd disconnected
AndroidRuntime( 154):
AndroidRuntime( 154): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
AndroidRuntime( 154): CheckJNI is OFF
dalvikvm( 154): creating instr width table
AndroidRuntime( 154): --- registering native functions ---
ServiceManager( 154): error in getService
ServiceManager( 154): android.os.DeadObjectException
ServiceManager( 154): at android.os.BinderProxy.transact(Native Method)
ServiceManager( 154): at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:120)
ServiceManager( 154): at android.os.ServiceManager.getService(ServiceManager.java:55)
ServiceManager( 154): at android.app.ActivityManagerNative.getDefault(ActivityManagerNative.java:78)
ServiceManager( 154): at com.android.commands.am.Am.run(Am.java:81)
ServiceManager( 154): at com.android.commands.am.Am.main(Am.java:65)
ServiceManager( 154): at com.android.internal.os.RuntimeInit.finishInit(Native Method)
ServiceManager( 154): at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
ServiceManager( 154): at dalvik.system.NativeStart.main(Native Method)
AndroidRuntime( 154): AndroidRuntime onExit calling exit(1)
-End of debug-
can some one please help me in this issue, what i did wrong, or i am missing somthing?

Error sending MMS

I'm writing an application in android that is supposed to send SMS and MMS messages. MMS base code was based on the official Mms app (android.git.kernel.org/?p=platform/packages/apps/Mms.git)
I'm testing with a cellphone which uses Verizon. Using the default application works fine and MMS messages can be sent; however, using my fork does not work and I get this error:
Code:
07-15 14:04:46.536 W/System.err( 5552): java.io.IOException: mms.vtext.com
07-15 14:04:46.552 W/System.err( 5552): at com.myapp.android.transaction.HttpUtils.handleHttpConnectionException(HttpUtils.java:230)
07-15 14:04:46.552 W/System.err( 5552): at com.myapp.android.transaction.HttpUtils.httpConnection(HttpUtils.java:216)
07-15 14:04:46.552 W/System.err( 5552): at com.myapp.android.core.ConversationList.send(ConversationList.java:249)
07-15 14:04:46.552 W/System.err( 5552): at com.myapp.android.core.ConversationList$2.run(ConversationList.java:164)
07-15 14:04:46.552 W/System.err( 5552): at java.lang.Thread.run(Thread.java:1096)
07-15 14:04:46.559 W/System.err( 5552): Caused by: java.net.UnknownHostException: mms.vtext.com
07-15 14:04:46.567 W/System.err( 5552): at java.net.InetAddress.lookupHostByName(InetAddress.java:513)
07-15 14:04:46.567 W/System.err( 5552): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:278)
07-15 14:04:46.567 W/System.err( 5552): at java.net.InetAddress.getAllByName(InetAddress.java:242)
07-15 14:04:46.567 W/System.err( 5552): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:136)
07-15 14:04:46.567 W/System.err( 5552): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
07-15 14:04:46.567 W/System.err( 5552): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
07-15 14:04:46.567 W/System.err( 5552): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
07-15 14:04:46.567 W/System.err( 5552): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
07-15 14:04:46.567 W/System.err( 5552): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
07-15 14:04:46.567 W/System.err( 5552): at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:253)
07-15 14:04:46.567 W/System.err( 5552): at com.myapp.android.transaction.HttpUtils.httpConnection(HttpUtils.java:203)
The APN configured in that handset is: mms.vtext.com/servlets/mms and I guess that's the one used by the default MMS app.
As you can see, the error happens on the HttpUtils.java file (line 203, android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob;f=src/com/android/mms/transaction/HttpUtils.java;h=168803fea9575f6e348f5e7fee236de431c100e7;hb=HEAD )
Have any idea of how to solve this problem?

freeze on unlock??

hey guys it's been like 2 days no when i try to unlock my phone the screen freezes..
sometimes i get this?
java.lang.SecurityException: Permission Denial: opening provider com.google.android.gm.provider.MailProvider from ProcessRecord{407c6ed8 1761:com.sec.android.app.twlauncher/10032} (pid=1761, uid=10032) requires com.google.android.gm.permission.READ_GMAIL or com.google.android.gm.permission.WRITE_GMAIL
at android.os.Parcel.readException(Parcel.java:1322)
at android.os.Parcel.readException(Parcel.java:1276)
at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:1882)
at android.app.ActivityThread.getProvider(ActivityThread.java:3351)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:3376)
at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:1826)
at android.content.ContentResolver.acquireProvider(ContentResolver.java:748)
at android.content.ContentResolver.query(ContentResolver.java:256)
at com.sec.android.app.twlauncher.Launcher.onGmailChanged(Launcher.java:30)
at com.sec.android.app.twlauncher.GmailObserver.onChange(GmailObserver.java:23)
at android.database.ContentObserver$NotificationRunnable.run(ContentObserver.java:43)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)

[Q] Mobile networks/Phone FC all the time

Alright i finally got a SIM card for my baby. Howerver for some weird reason i get a force close when trying to access the Mobile Networks menu in the system settings. Logcat snippet is below:
Code:
05-08 12:43:58.141 I/ActivityManager( 210): START {act=android.intent.action.MAIN cmp=com.android.phone/.Settings} from pid 913
05-08 12:43:58.144 D/AndroidRuntime( 913): Shutting down VM
05-08 12:43:58.144 W/dalvikvm( 913): threadid=1: thread exiting with uncaught exception (group=0x40a311f8)
05-08 12:43:58.154 E/AndroidRuntime( 913): FATAL EXCEPTION: main
05-08 12:43:58.154 E/AndroidRuntime( 913): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.phone/com.a
ndroid.phone.Settings}; have you declared this activity in your AndroidManifest.xml?
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1508)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Activity.startActivityForResult(Activity.java:3190)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.Activity.startActivity(Activity.java:3297)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.preference.Preference.performClick(Preference.java:957)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView.performItemClick(AbsListView.java:1083)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2539)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.widget.AbsListView$1.run(AbsListView.java:3193)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Handler.handleCallback(Handler.java:605)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Handler.dispatchMessage(Handler.java:92)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.os.Looper.loop(Looper.java:137)
05-08 12:43:58.154 E/AndroidRuntime( 913): at android.app.ActivityThread.main(ActivityThread.java:4424)
05-08 12:43:58.154 E/AndroidRuntime( 913): at java.lang.reflect.Method.invokeNative(Native Method)
05-08 12:43:58.154 E/AndroidRuntime( 913): at java.lang.reflect.Method.invoke(Method.java:511)
05-08 12:43:58.154 E/AndroidRuntime( 913): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-08 12:43:58.154 E/AndroidRuntime( 913): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-08 12:43:58.154 E/AndroidRuntime( 913): at dalvik.system.NativeStart.main(Native Method)
05-08 12:43:58.164 W/ActivityManager( 210): Force finishing activity com.android.settings/.SubSettings
05-08 12:43:58.681 W/ActivityManager( 210): Activity pause timeout for ActivityRecord{416a5ff8 com.android.settings/.SubSettings}
05-08 12:43:58.684 I/Process ( 210): Sending signal. PID: 913 SIG: 3
05-08 12:43:58.684 I/dalvikvm( 913): threadid=3: reacting to signal 3
05-08 12:43:58.688 I/dalvikvm( 913): Wrote stack traces to '/data/anr/traces.txt'
05-08 12:43:59.214 I/Process ( 210): Sending signal. PID: 913 SIG: 3
05-08 12:43:59.218 I/dalvikvm( 913): threadid=3: reacting to signal 3
Secondly, when trying to dial out, i get a FC logcat is below:
Code:
05-08 12:47:30.374 W/dalvikvm( 1315): threadid=1: thread exiting with uncaught exception (group=0x40a311f8)
05-08 12:47:30.374 I/ActivityManager( 210): START {act=android.intent.action.CALL_PRIVILEGED dat=tel:x flg=0x10000000 (has extras)} from pid 1315
05-08 12:47:30.384 E/AndroidRuntime( 1315): FATAL EXCEPTION: main
05-08 12:47:30.384 E/AndroidRuntime( 1315): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.
CALL_PRIVILEGED dat=tel:x flg=0x10000000 (has extras) }
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1512)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1482)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Activity.startActivityFromFragment(Activity.java:3488)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.Fragment.startActivity(Fragment.java:973)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.contacts.dialpad.DialpadFragment.dialButtonPressed(DialpadFragment.java:1174)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.contacts.dialpad.DialpadFragment.onClick(DialpadFragment.java:953)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.view.View.performClick(View.java:3511)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.view.View$PerformClick.run(View.java:14105)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Handler.handleCallback(Handler.java:605)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Handler.dispatchMessage(Handler.java:92)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.os.Looper.loop(Looper.java:137)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at android.app.ActivityThread.main(ActivityThread.java:4424)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at java.lang.reflect.Method.invokeNative(Native Method)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at java.lang.reflect.Method.invoke(Method.java:511)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-08 12:47:30.384 E/AndroidRuntime( 1315): at dalvik.system.NativeStart.main(Native Method)
05-08 12:47:30.398 W/ActivityManager( 210): Force finishing activity com.android.contacts/.activities.DialtactsActivity
05-08 12:47:30.891 I/TaskSwitcherService( 1098): Handle command: org.rabold.android.taskswitcher.action.UPDATE_THUMBNAILS
05-08 12:47:30.898 I/TaskSwitcherService( 1098): Querying thumbnail for task #11: ComponentInfo{com.android.contacts/com.android.contacts.activities.D
ialtactsActivity}
05-08 12:47:30.911 W/ActivityManager( 210): Activity pause timeout for ActivityRecord{414f2918 com.android.contacts/.activities.DialtactsActivity}
05-08 12:47:30.915 I/Process ( 210): Sending signal. PID: 1315 SIG: 3
05-08 12:47:30.915 I/dalvikvm( 1315): threadid=3: reacting to signal 3
05-08 12:47:30.921 I/dalvikvm( 1315): Wrote stack traces to '/data/anr/traces.txt'
Btw there is no traces.txt for some reason i looked -.-
Also this is NOT ROM related it is something to do with my data partition as when i factory reset or wipe my data partition everything works. I would PREFER to find and fix this problem as i have a lot of data and would NOT like to start over again -.-
Thanks all for looking
Bleh nobody has any idea?
Sent from my HTC HD2 using Tapatalk
Hey dude, once i had the same problem as you have it right now
it looks like no ROM issue at all
but after i did clean install. my device work flawlessly
you should try clean install
good luck
mainweb said:
Hey dude, once i had the same problem as you have it right now
it looks like no ROM issue at all
but after i did clean install. my device work flawlessly
you should try clean install
good luck
Click to expand...
Click to collapse
Thanks man however im trying to stear away from clean install. :/
as for an update: Ive narrowed it down to the directory /data/system upon deletion of that directory, it almost acts like a clean install. But all my apps get FC when trying to launch. So i deleted that directory and rebooted, then tried restoring the files but then i get a boot loop. i think clean install is the only option

wanam exposed error log

xposed log is eating all the space available.
Code:
java.lang.NoSuchFieldError: com.android.systemui.statusbar.policy.ClockCenter#mExpandedHeader
at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:69)
at de.robv.android.xposed.XposedHelpers.getBooleanField(XposedHelpers.java:628)
at ma.wanam.xposed.XSysUIStatusBarClockPackage$1.afterHookedMethod(Unknown Source)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.systemui.statusbar.policy.Clock.updateClock(Native Method)
at com.android.systemui.statusbar.policy.Clock$2$1.run(Clock.java:362)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5335)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
can any body know how to fix this?
bump
toinktoink said:
xposed log is eating all the space available.
Code:
java.lang.NoSuchFieldError: com.android.systemui.statusbar.policy.ClockCenter#mExpandedHeader
at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:69)
at de.robv.android.xposed.XposedHelpers.getBooleanField(XposedHelpers.java:628)
at ma.wanam.xposed.XSysUIStatusBarClockPackage$1.afterHookedMethod(Unknown Source)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at com.android.systemui.statusbar.policy.Clock.updateClock(Native Method)
at com.android.systemui.statusbar.policy.Clock$2$1.run(Clock.java:362)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5335)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
can any body know how to fix this?
Click to expand...
Click to collapse
Can you upload your SystemUI.apk on my main thread?

Categories

Resources