Error sending MMS - Android Software Development

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?

Related

Exchange 2003 sync issues

hi, i'm trying to sync my phone with an exchange server 2003.
after successfully authenticating and choosing what i want to sync (mail, contacts and calendar) i get: "Error: failed to create account. Please try again later"
Shall i try with a different ROM?
the message i get when logcat-ing is:
D/EAS_AppSvc( 704): 06021143 < chooseProtocol(), ver = 2.5
D/dalvikvm( 121): GC freed 2648 objects / 109736 bytes in 234ms
W/System.err( 704): com.htc.android.mail.eassvc.core.SyncException: Internal Server Error
W/System.err( 704): at com.htc.android.mail.eassvc.core.SyncManager.getHttpStatusError(SyncManager.java:6197)
W/System.err( 704): at com.htc.android.mail.eassvc.core.SyncManager.getFolderHierarchy(SyncManager.java:666)
W/System.err( 704): at com.htc.android.mail.eassvc.core.SyncManager.syncMailFolderAndUpdAccount(SyncManager.java:628
5)
W/System.err( 704): at com.htc.android.mail.eassvc.core.SyncManager.createAccount(SyncManager.java:6393)
W/System.err( 704): at com.htc.android.mail.eassvc.EASAppSvc$MailBlockCommandHandler.createAccount(EASAppSvc.java:49
89)
W/System.err( 704): at com.htc.android.mail.eassvc.EASAppSvc.createAccount(EASAppSvc.java:5228)
W/System.err( 704): at com.htc.android.mail.eassvc.EASAppSvc$1.createAccount(EASAppSvc.java:391)
W/System.err( 704): at com.htc.android.mail.easclient.SynchronizationSetting$VerifyAccountThread.run(Synchronization
Setting.java:535)
I'm not an Android expert by any means, but can you tell us what ROM and email program you're using?
atm i'm using this rom http://forum.xda-developers.com/showthread.php?t=532902
i tryied with other ROM-s, it's the same.
there is only one exchange client, it's called Mail.
Is there other exchange client i could try?
scrissti said:
there is only one exchange client, it's called Mail.
Click to expand...
Click to collapse
there are several.
there is another one that only does email, not calendar and contacts (i think it's called work email?).
then there are the paid apps that can be downloaded from the market.

[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?

[Q] Stuck on Bootloop after Rooting + Side Loading Market Help

Hi guy maybe a more experienced dev can help me, after I followed the instructions on installing and side-loading the market, I went to my adb command and sent the:"adb reboot" command and have been stuck on boot loop (only Kindle Fire) splash screen. I can power the device off buy cannot get passed the bootanimation. Any help is appreciated.
I had same problem, solution to work for me was poweroff, unplug from pc, let sit for a minute then power back on. Hopefully that will work.
ok I will try it thanks!
Hi, yeah I tried waiting hours and I still have the same issue, any more suggestions anyone?
what happens if you run 'adb logcat' while it boots?
Still stuck
I'm still stuck on the bootloop.
Attempted suggestions from another post:
http://forum.xda-developers.com/showthread.php?p=19488566#post19488566
I attempted to push the Kindle 6.1 update to the sdcard,
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb push update-kindle-6.1_D01E_2017120.bin /sdcard/kindleupdates
failed to copy 'update-kindle-6.1_D01E_2017120.bin' to '/sdcard/kindleupdates':
Permission denied
When I attempt to get in via adb shell, I get:
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
# su
su
[1] + Stopped (signal) su
# exit
exit
You have stopped jobs.
[1] Segmentation fault su
#
Here's what I'm seeing in adb logcat:
/1181K, paused 4ms+5ms
I/SystemServer( 2723): Telephony Registry
I/SystemServer( 2723): Package Manager
I/installd( 1300): new connection
I/Installer( 2723): connecting...
I/installd( 1300): new connection
D/dalvikvm( 2723): GC_CONCURRENT freed 324K, 46% free 3270K/6023K, external 847K
/1181K, paused 4ms+3ms
D/dalvikvm( 2723): GC_CONCURRENT freed 324K, 46% free 3270K/6023K, external 847K
/1181K, paused 4ms+3ms
D/PackageManager( 2723): No files in app dir /vendor/app
D/PackageManager( 2723): No files in app dir /vendor/app
I/PackageManager( 2723): Unpacking native libraries for package com.pandora.andr
oid
D/dalvikvm( 2723): GC_CONCURRENT freed 359K, 45% free 3426K/6215K, external 847K
/1181K, paused 1ms+2ms
D/dalvikvm( 2723): GC_CONCURRENT freed 359K, 45% free 3426K/6215K, external 847K
/1181K, paused 1ms+2ms
I/PackageManager( 2723): Unpacking native libraries for package mobi.mgeek.Tunny
Browser
I/PackageManager( 2723): Unpacking native libraries for package com.gau.go.launc
herex
D/dalvikvm( 2723): GC_CONCURRENT freed 242K, 42% free 3731K/6407K, external 847K
/1181K, paused 2ms+4ms
D/dalvikvm( 2723): GC_CONCURRENT freed 242K, 42% free 3731K/6407K, external 847K
/1181K, paused 2ms+4ms
I/PackageManager( 2723): Unpacking native libraries for package com.google.andro
id.gm
I/PackageManager( 2723): Unpacking native libraries for package com.google.andro
id.youtube
I/PackageManager( 2723): Unpacking native libraries for package com.android.vend
ing
D/dalvikvm( 2723): GC_CONCURRENT freed 393K, 43% free 3899K/6727K, external 847K
/1181K, paused 1ms+5ms
D/dalvikvm( 2723): GC_CONCURRENT freed 393K, 43% free 3899K/6727K, external 847K
/1181K, paused 1ms+5ms
I/PackageManager( 2723): Unpacking native libraries for package com.google.andro
id.gsf
W/ResourceType( 2723): Failure getting entry for 0x7f020000 (t=1 e=0) in package
0 (error -75)
I/PackageManager( 2723): Unpacking native libraries for package com.zynga.words
W/ResourceType( 2723): Failure getting entry for 0x7f020000 (t=1 e=0) in package
0 (error -75)
W/PackageParser( 2723): Unknown element under <application>: supports-screens at
/data/app/com.rovio.angrybirds.free-1.apk Binary XML file line #51
I/PackageManager( 2723): Unpacking native libraries for package com.rovio.angryb
irds.free
W/PackageParser( 2723): Unknown element under <application>: supports-screens at
/data/app/com.rovio.angrybirds.free-1.apk Binary XML file line #51
D/dalvikvm( 2723): GC_CONCURRENT freed 454K, 43% free 3962K/6855K, external 847K
/1181K, paused 1ms+5ms
D/dalvikvm( 2723): GC_CONCURRENT freed 454K, 43% free 3962K/6855K, external 847K
/1181K, paused 1ms+5ms
I/PackageManager( 2723): Unpacking native libraries for package com.sketchbook
I/PackageManager( 2723): Unpacking native libraries for package com.timeinc.time
.digimag
D/dalvikvm( 2723): GC_CONCURRENT freed 458K, 42% free 4086K/6983K, external 847K
/1181K, paused 2ms+7ms
D/dalvikvm( 2723): GC_CONCURRENT freed 458K, 42% free 4086K/6983K, external 847K
/1181K, paused 2ms+7ms
D/szipinf ( 2723): Initializing inflate state
D/szipinf ( 2723): Initializing inflate state
I/PackageManager( 2723): Unpacking native libraries for package com.estrongs.and
roid.pop
I/PackageManager( 2723): Unpacking native libraries for package com.rovio.angryb
irdsrio
I/PackageManager( 2723): Time to scan packages: 1.796 seconds
W/PackageManager( 2723): Not granting permission com.android.vending.CHECK_LICEN
SE to package com.sketchbook because it was previously installed without
W/PackageManager( 2723): Unknown permission com.android.launcher.permission.INST
ALL_SHORTCUT in package com.estrongs.android.pop
W/PackageManager( 2723): Unknown permission com.android.launcher.permission.UNIN
STALL_SHORTCUT in package com.estrongs.android.pop
W/PackageManager( 2723): Unknown permission com.estrongs.android.pop.PERMISSION
in package com.estrongs.android.pop
W/PackageManager( 2723): Not granting permission com.android.vending.BILLING to
package com.timeinc.time.digimag because it was previously installed without
W/PackageManager( 2723): Not granting permission android.permission.BIND_APPWIDG
ET to package com.gau.go.launcherex (protectionLevel=3 flags=0xbe44)
W/PackageManager( 2723): Unknown permission com.android.launcher.permission.INST
ALL_SHORTCUT in package com.gau.go.launcherex
W/PackageManager( 2723): Not granting permission android.permission.SET_PREFERRE
D_APPLICATIONS to package com.gau.go.launcherex (protectionLevel=2 flags=0xbe44)
W/PackageManager( 2723): Unknown permission android.permission.ADD_SYSTEM_SERVIC
E in package com.pandora.android
W/PackageManager( 2723): Not granting permission android.permission.ACCESS_CACHE
_FILESYSTEM to package com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Unknown permission android.permission.ACCESS_DOWNLOAD_M
ANAGER in package com.google.android.gsf
W/PackageManager( 2723): Unknown permission android.permission.ACCESS_DOWNLOAD_M
ANAGER_ADVANCED in package com.google.android.gsf
W/PackageManager( 2723): Not granting permission android.permission.BACKUP to pa
ckage com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Not granting permission android.permission.DUMP to pack
age com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Not granting permission android.permission.MASTER_CLEAR
to package com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Not granting permission android.permission.REBOOT to pa
ckage com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Not granting permission android.permission.SET_TIME to
package com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Not granting permission android.permission.STATUS_BAR t
o package com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Not granting permission android.permission.WRITE_GSERVI
CES to package com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Not granting permission android.permission.WRITE_SECURE
_SETTINGS to package com.google.android.gsf (protectionLevel=3 flags=0x8be44)
W/PackageManager( 2723): Unknown permission com.android.launcher.permission.INST
ALL_SHORTCUT in package mobi.mgeek.TunnyBrowser
W/PackageManager( 2723): Unknown permission mobi.mgeek.TunnyBrowser.permission.R
EAD_HISTORY_BOOKMARKS in package mobi.mgeek.TunnyBrowser
W/PackageManager( 2723): Unknown permission mobi.mgeek.TunnyBrowser.permission.W
RITE_HISTORY_BOOKMARK in package mobi.mgeek.TunnyBrowser
W/PackageManager( 2723): Unknown permission com.dolphin.browser.magazines.DETECT
_WEBZINE in package mobi.mgeek.TunnyBrowser
W/PackageManager( 2723): Not granting permission android.permission.SET_PREFERRE
D_APPLICATIONS to package mobi.mgeek.TunnyBrowser (protectionLevel=2 flags=0x8be
44)
W/PackageManager( 2723): Unknown permission android.permission.READ_EXTERNAL_STO
RAGE in package com.android.vending
W/PackageManager( 2723): Not granting permission android.permission.CHANGE_COMPO
NENT_ENABLED_STATE to package com.android.vending (protectionLevel=3 flags=0xabe
44)
W/PackageManager( 2723): Unknown permission android.permission.ACCESS_DOWNLOAD_M
ANAGER in package com.android.vending
W/PackageManager( 2723): Unknown permission android.permission.ACCESS_DOWNLOAD_M
ANAGER_ADVANCED in package com.android.vending
W/PackageManager( 2723): Unknown permission android.permission.SEND_DOWNLOAD_COM
PLETED_INTENTS in package com.android.vending
W/PackageManager( 2723): Not granting permission android.permission.INSTALL_PACK
AGES to package com.android.vending (protectionLevel=3 flags=0xabe44)
W/PackageManager( 2723): Not granting permission android.permission.DELETE_PACKA
GES to package com.android.vending (protectionLevel=3 flags=0xabe44)
W/PackageManager( 2723): Unknown permission com.google.android.voicesearch.AUDIO
_FILE_ACCESS in package com.google.android.gm
D/dalvikvm( 2723): GC_CONCURRENT freed 692K, 45% free 3982K/7111K, external 847K
/1181K, paused 3ms+32ms
D/dalvikvm( 2723): GC_CONCURRENT freed 692K, 45% free 3982K/7111K, external 847K
/1181K, paused 3ms+32ms
D/dalvikvm( 2723): GC_EXPLICIT freed 490K, 50% free 3560K/7111K, external 847K/1
181K, paused 45ms
I/SystemServer( 2723): Account Manager
D/dalvikvm( 2723): GC_EXPLICIT freed 490K, 50% free 3560K/7111K, external 847K/1
181K, paused 45ms
I/SystemServer( 2723): Content Manager
I/SystemServer( 2723): System Content Providers
I/SystemServer( 2723): Battery Service
I/SystemServer( 2723): Lights Service
I/SystemServer( 2723): Vibrator Service
W/dalvikvm( 2723): threadid=17: thread exiting with uncaught exception (group=0x
40015560)
E/ActivityThread( 2723): Failed to find provider info for settings
W/dalvikvm( 2723): threadid=17: thread exiting with uncaught exception (group=0x
40015560)
I/Process ( 2723): Sending signal. PID: 2723 SIG: 9
E/AndroidRuntime( 2723): *** FATAL EXCEPTION IN SYSTEM PROCESS: PowerManagerServ
ice
E/AndroidRuntime( 2723): java.lang.NullPointerException
E/AndroidRuntime( 2723): at android.content.ContentQueryMap.<init>(Conten
tQueryMap.java:65)
E/AndroidRuntime( 2723): at com.android.server.PowerManagerService.initIn
Thread(PowerManagerService.java:622)
E/AndroidRuntime( 2723): at com.android.server.PowerManagerService$2.onLo
operPrepared(PowerManagerService.java:547)
E/AndroidRuntime( 2723): at android.os.HandlerThread.run(HandlerThread.ja
va:59)
E/AndroidRuntime( 2723): Error reporting crash
E/AndroidRuntime( 2723): java.lang.NullPointerException
E/AndroidRuntime( 2723): at android.os.DropBoxManager.isTagEnabled(DropBo
xManager.java:288)
E/AndroidRuntime( 2723): at com.android.server.am.ActivityManagerService.
addErrorToDropBox(ActivityManagerService.java:6830)
E/AndroidRuntime( 2723): at com.android.server.am.ActivityManagerService.
handleApplicationCrash(ActivityManagerService.java:6546)
E/AndroidRuntime( 2723): at com.android.internal.os.RuntimeInit$UncaughtH
andler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 2723): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:854)
E/AndroidRuntime( 2723): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:851)
I/Process ( 2723): Sending signal. PID: 2723 SIG: 9
I/ServiceManager( 1293): service 'SurfaceFlinger' died
D/BootAnimation( 2734): SurfaceFlinger died, exiting...
I/ServiceManager( 1293): service 'sensorservice' died
I/ServiceManager( 1293): service 'batteryinfo' died
I/ServiceManager( 1293): service 'usagestats' died
I/ServiceManager( 1293): service 'telephony.registry' died
I/ServiceManager( 1293): service 'package' died
I/ServiceManager( 1293): service 'activity' died
I/ServiceManager( 1293): service 'meminfo' died
I/ServiceManager( 1293): service 'cpuinfo' died
I/ServiceManager( 1293): service 'permission' died
I/ServiceManager( 1293): service 'power' died
I/ServiceManager( 1293): service 'entropy' died
I/ServiceManager( 1293): service 'account' died
I/ServiceManager( 1293): service 'content' died
I/ServiceManager( 1293): service 'hardware' died
I/ServiceManager( 1293): service 'vibrator' died
I/ServiceManager( 1293): service 'battery' died
I/ServiceManager( 1293): service 'SurfaceFlinger' died
D/BootAnimation( 2734): SurfaceFlinger died, exiting...
I/ServiceManager( 1293): service 'sensorservice' died
I/ServiceManager( 1293): service 'batteryinfo' died
I/ServiceManager( 1293): service 'usagestats' died
I/ServiceManager( 1293): service 'telephony.registry' died
I/ServiceManager( 1293): service 'package' died
I/ServiceManager( 1293): service 'activity' died
I/ServiceManager( 1293): service 'meminfo' died
I/ServiceManager( 1293): service 'cpuinfo' died
I/ServiceManager( 1293): service 'permission' died
I/ServiceManager( 1293): service 'power' died
I/ServiceManager( 1293): service 'entropy' died
I/ServiceManager( 1293): service 'account' died
I/ServiceManager( 1293): service 'content' died
I/ServiceManager( 1293): service 'hardware' died
I/ServiceManager( 1293): service 'vibrator' died
I/ServiceManager( 1293): service 'battery' died
E/installd( 1300): eof
E/installd( 1300): failed to read size
I/installd( 1300): closing connection
E/installd( 1300): eof
E/installd( 1300): failed to read size
I/installd( 1300): closing connection
I/Zygote ( 2713): Exit zygote because system server (2723) has terminated
I/Zygote ( 2713): Exit zygote because system server (2723) has terminated
I/ServiceManager( 1293): service 'media.audio_flinger' died
I/ServiceManager( 1293): service 'media.player' died
I/ServiceManager( 1293): service 'media.camera' died
I/ServiceManager( 1293): service 'media.audio_policy' died
I/ServiceManager( 1293): service 'media.audio_flinger' died
I/ServiceManager( 1293): service 'media.player' died
I/ServiceManager( 1293): service 'media.camera' died
I/ServiceManager( 1293): service 'media.audio_policy' died
I/Netd ( 2752): Netd 1.0 starting
I/Netd ( 2752): Netd 1.0 starting
D/AndroidRuntime( 2753):
D/AndroidRuntime( 2753): >>>>>> AndroidRuntime START com.android.internal.os.Zyg
oteInit <<<<<<
D/AndroidRuntime( 2753): CheckJNI is OFF
D/dalvikvm( 2753): creating instr width table
D/AndroidRuntime( 2753):
D/AndroidRuntime( 2753): >>>>>> AndroidRuntime START com.android.internal.os.Zyg
oteInit <<<<<<
D/AndroidRuntime( 2753): CheckJNI is OFF
D/dalvikvm( 2753): creating instr width table
I/ ( 2751): ServiceManager: 0xada8
D/AudioHardwareInterface( 2751): Running in emulation - using generic audio driv
er
W/AudioHardwareInterface( 2751): Using stubbed audio hardware. No sound will be
produced.
D/AudioHardwareInterface( 2751): setMode(NORMAL)
I/CameraService( 2751): CameraService started (pid=2751)
I/AudioFlinger( 2751): AudioFlinger's thread 0xc6b8 ready to run
I/ ( 2751): ServiceManager: 0xada8
D/AudioHardwareInterface( 2751): Running in emulation - using generic audio driv
er
W/AudioHardwareInterface( 2751): Using stubbed audio hardware. No sound will be
produced.
D/AudioHardwareInterface( 2751): setMode(NORMAL)
I/CameraService( 2751): CameraService started (pid=2751)
I/AudioFlinger( 2751): AudioFlinger's thread 0xc6b8 ready to run
I/SamplingProfilerIntegration( 2753): Profiler is disabled.
I/SamplingProfilerIntegration( 2753): Profiler is disabled.
I/Zygote ( 2753): Preloading classes...
D/dalvikvm( 2753): GC_EXPLICIT freed 47K, 78% free 233K/1024K, external 0K/0K, p
aused 3ms
I/Zygote ( 2753): Preloading classes...
D/dalvikvm( 2753): GC_EXPLICIT freed 47K, 78% free 233K/1024K, external 0K/0K, p
aused 3ms
D/dalvikvm( 2753): GC_EXPLICIT freed 1K, 73% free 284K/1024K, external 0K/0K, pa
used 2ms
D/dalvikvm( 2753): GC_EXPLICIT freed 1K, 73% free 284K/1024K, external 0K/0K, pa
used 2ms
D/dalvikvm( 2753): GC_EXPLICIT freed 20K, 69% free 317K/1024K, external 0K/0K, p
aused 2ms
D/dalvikvm( 2753): GC_EXPLICIT freed 20K, 69% free 317K/1024K, external 0K/0K, p
aused 2ms
D/dalvikvm( 2753): GC_EXPLICIT freed 17K, 66% free 355K/1024K, external 0K/0K, p
aused 3ms
D/dalvikvm( 2753): GC_EXPLICIT freed 17K, 66% free 355K/1024K, external 0K/0K, p
aused 3ms
D/dalvikvm( 2753): No JNI_OnLoad found in /system/lib/libidme.so 0x0, skipping i
nit
D/dalvikvm( 2753): No JNI_OnLoad found in /system/lib/libidme.so 0x0, skipping i
nit
D/dalvikvm( 2753): GC_EXPLICIT freed 26K, 63% free 383K/1024K, external 0K/0K, p
aused 4ms
D/dalvikvm( 2753): GC_EXPLICIT freed 26K, 63% free 383K/1024K, external 0K/0K, p
aused 4ms
D/dalvikvm( 2753): GC_EXPLICIT freed 26K, 57% free 446K/1024K, external 0K/0K, p
aused 3ms
D/dalvikvm( 2753): GC_EXPLICIT freed 26K, 57% free 446K/1024K, external 0K/0K, p
aused 3ms
D/dalvikvm( 2753): GC_EXPLICIT freed 99K, 47% free 551K/1024K, external 0K/0K, p
aused 3ms
D/dalvikvm( 2753): GC_EXPLICIT freed 99K, 47% free 551K/1024K, external 0K/0K, p
aused 3ms
Thanks I will try and run the logcat tonight and let you know how it went. Amazon is sending me a replacement. I would still like to get to the bottom of this in case someone else runs into a similar issue.
I'm having the same issues, but I was able to investigate further.
http://forum.xda-developers.com/showthread.php?t=1355371
I was having the same issues. I just made a thread on what my friend and i did to fix it/unbrick. We figured out a way to get the device to factory restore. Fixed my kindle fire that was bootlooped after rooting and sideloading google apps. Hope it helps: forum.xda-developers.com/showthread.php?t=1356257

@OMNI-DEVS: VM-Settings

in my build for crespo (Nexus S) it is not possible to change VM-Settings in Power menu, due to permission problems. Here's part of logcat while trying to change 'swappiness'
D/dalvikvm( 437): GC_EXPLICIT freed 1558K, 15% free 10394K/12176K, paused 6ms+8ms, total 106ms
D/dalvikvm( 2218): GC_CONCURRENT freed 413K, 15% free 3081K/3592K, paused 2ms+2ms, total 22ms
D/dalvikvm( 967): GC_CONCURRENT freed 505K, 14% free 3747K/4320K, paused 3ms+3ms, total 53ms
D/dalvikvm( 967): WAIT_FOR_CONCURRENT_GC blocked 27ms
E/PerformanceControl( 2676): Error writing to /proc/sys/vm/swappiness. Exception:
E/PerformanceControl( 2676): java.io.FileNotFoundException: /proc/sys/vm/swappiness: open failed: EACCES (Permission denied)
E/PerformanceControl( 2676): at libcore.io.IoBridge.open(IoBridge.java:409)
E/PerformanceControl( 2676): at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
E/PerformanceControl( 2676): at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
E/PerformanceControl( 2676): at java.io.FileWriter.<init>(FileWriter.java:80)
E/PerformanceControl( 2676): at com.brewcrewfoo.performance.util.Helpers.writeOneLine(Helpers.java:198)
E/PerformanceControl( 2676): at com.brewcrewfoo.performance.fragments.VM$4.onClick(VM.java:297)
E/PerformanceControl( 2676): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
E/PerformanceControl( 2676): at android.os.Handler.dispatchMessage(Handler.java:102)
E/PerformanceControl( 2676): at android.os.Looper.loop(Looper.java:136)
E/PerformanceControl( 2676): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/PerformanceControl( 2676): at java.lang.reflect.Method.invokeNative(Native Method)
E/PerformanceControl( 2676): at java.lang.reflect.Method.invoke(Method.java:515)
E/PerformanceControl( 2676): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/PerformanceControl( 2676): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/PerformanceControl( 2676): at dalvik.system.NativeStart.main(Native Method)
E/PerformanceControl( 2676): Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
E/PerformanceControl( 2676): at libcore.io.Posix.open(Native Method)
E/PerformanceControl( 2676): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
E/PerformanceControl( 2676): at libcore.io.IoBridge.open(IoBridge.java:393)
E/PerformanceControl( 2676): ... 14 more
D/dalvikvm( 2218): GC_CONCURRENT freed 413K, 15% free 3081K/3596K, paused 3ms+1ms, total 22ms
D/dalvikvm( 967): GC_CONCURRENT freed 524K, 14% free 3732K/4324K, paused 9ms+3ms, total 32ms
D/dalvikvm( 967): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/BluetoothAdapter( 2676): 1100192384: getState() : mService = null. Returning STATE_OFF
Is this a known bug in all releases or did i miss something ?
Greetz
lagloose said:
in my build for crespo (Nexus S) it is not possible to change VM-Settings in Power menu, due to permission problems. Here's part of logcat while trying to change 'swappiness'
D/dalvikvm( 437): GC_EXPLICIT freed 1558K, 15% free 10394K/12176K, paused 6ms+8ms, total 106ms
D/dalvikvm( 2218): GC_CONCURRENT freed 413K, 15% free 3081K/3592K, paused 2ms+2ms, total 22ms
D/dalvikvm( 967): GC_CONCURRENT freed 505K, 14% free 3747K/4320K, paused 3ms+3ms, total 53ms
D/dalvikvm( 967): WAIT_FOR_CONCURRENT_GC blocked 27ms
E/PerformanceControl( 2676): Error writing to /proc/sys/vm/swappiness. Exception:
E/PerformanceControl( 2676): java.io.FileNotFoundException: /proc/sys/vm/swappiness: open failed: EACCES (Permission denied)
E/PerformanceControl( 2676): at libcore.io.IoBridge.open(IoBridge.java:409)
E/PerformanceControl( 2676): at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
E/PerformanceControl( 2676): at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
E/PerformanceControl( 2676): at java.io.FileWriter.<init>(FileWriter.java:80)
E/PerformanceControl( 2676): at com.brewcrewfoo.performance.util.Helpers.writeOneLine(Helpers.java:198)
E/PerformanceControl( 2676): at com.brewcrewfoo.performance.fragments.VM$4.onClick(VM.java:297)
E/PerformanceControl( 2676): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
E/PerformanceControl( 2676): at android.os.Handler.dispatchMessage(Handler.java:102)
E/PerformanceControl( 2676): at android.os.Looper.loop(Looper.java:136)
E/PerformanceControl( 2676): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/PerformanceControl( 2676): at java.lang.reflect.Method.invokeNative(Native Method)
E/PerformanceControl( 2676): at java.lang.reflect.Method.invoke(Method.java:515)
E/PerformanceControl( 2676): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/PerformanceControl( 2676): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/PerformanceControl( 2676): at dalvik.system.NativeStart.main(Native Method)
E/PerformanceControl( 2676): Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
E/PerformanceControl( 2676): at libcore.io.Posix.open(Native Method)
E/PerformanceControl( 2676): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
E/PerformanceControl( 2676): at libcore.io.IoBridge.open(IoBridge.java:393)
E/PerformanceControl( 2676): ... 14 more
D/dalvikvm( 2218): GC_CONCURRENT freed 413K, 15% free 3081K/3596K, paused 3ms+1ms, total 22ms
D/dalvikvm( 967): GC_CONCURRENT freed 524K, 14% free 3732K/4324K, paused 9ms+3ms, total 32ms
D/dalvikvm( 967): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/BluetoothAdapter( 2676): 1100192384: getState() : mService = null. Returning STATE_OFF
Is this a known bug in all releases or did i miss something ?
Greetz
Click to expand...
Click to collapse
good work
Hmm, probably a bug. Probably need to change the perms of that file in the init scripts.
Entropy512 said:
Hmm, probably a bug. Probably need to change the perms of that file in the init scripts.
Click to expand...
Click to collapse
... one possible solution, the other one would be to change the way the values are written. See: ...packages/apps/PerformanceControl/src/com/brewcrewfoo/performance/fragments/VM.java, around line 300:
Code:
...
if (Helpers.isSystemApp(getActivity())) {
Helpers.writeOneLine(path, Integer.toString(newProgress));
} else {
new CMDProcessor().su.runWaitFor(
"busybox echo " + newProgress + " > " + path);
}
...
perhaps change this, so that values are always written by "busybox echo ".
greetz
lagloose said:
... one possible solution, the other one would be to change the way the values are written. See: ...packages/apps/PerformanceControl/src/com/brewcrewfoo/performance/fragments/VM.java, around line 300:
Code:
...
if (Helpers.isSystemApp(getActivity())) {
Helpers.writeOneLine(path, Integer.toString(newProgress));
} else {
new CMDProcessor().su.runWaitFor(
"busybox echo " + newProgress + " > " + path);
}
...
perhaps change this, so that values are always written by "busybox echo ".
greetz
Click to expand...
Click to collapse
Honestly since our PC will always be a system app, we should be removing all of those isSystemApp checks
Entropy512 said:
Honestly since our PC will always be a system app, we should be removing all of those isSystemApp checks
Click to expand...
Click to collapse
Ok, perfect.
additionally you should check if values stay resident after reboot. As far as i remember not all values do this.
Greetz

[Q] IMAP/EMAIL issues with rooted NC2 KitKat

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.

Categories

Resources