Getting dropsync to work - Nook Touch Themes and Apps

I know quite a few users round here use Dropsync. Did you do something special to get it to work?
I've definitely got a working wireless connection, have got my account connected correctly (can find the folder to sync with), but when I hit "sync now" it spins for less than a second and then drops back to status: IDLE. With nothing having updated.
I've made all the settings as unrestrictive as possible (I think) and my battery is 90%.
I use this app fine on my phone, so I can't think what's wrong with it.
I've tried using something else -- "Real sync" -- but that is terrible. Can't do version control properly and creates a huge number of conflicts (including directories that are in fact identical).
If I can't get anywhere with Dropsync, does anyone have recommendations for what works on the Nook: Wuala, Ubuntu One, or anything else (must have linux client)? [Ubuntu One also used to create masses of conflicts back in the day, but I'm hoping that is fixed now]

Fixed: device was full
If anyone else has this problem, have sense to check "Sync History". And if it says "your device storage is almost full" then maybe you should delete something and try again.
I would mark this thread as "solved" but apparently that's something else I'm too stupid to do.
Next problem: how to get the phone to accept the 32gb sd card without crashing, so that the nook can have the phone's 16gb sd card.... (there have been many attempts at this game already).

How about a fix for a device which is not full?
My entire sync history states: "autosync started... sync interrupted... autosync started... sync interrupted..."

I have discovered another error source:
I had the problem that Dropsync would start syncing, but somehow never complete the sync and would say something like "Conditions for autosync not met."
I discovered the reason was that in the settings there was the setting to sync only if battery is more than 80% full (I think that is the default setting). It would happen that the sync would "wear" out the battery enough to drop below 80, and then the sync would stop.
This way I only got working sync while charging. It took me a while to see that pattern, so maybe this note can help some other people.

trebuchet76 said:
How about a fix for a device which is not full?
My entire sync history states: "autosync started... sync interrupted... autosync started... sync interrupted..."
Click to expand...
Click to collapse
I got the same thing the fixed it with uninstall and clean the app data then reinstall it.

tuangd said:
I got the same thing the fixed it with uninstall and clean the app data then reinstall it.
Click to expand...
Click to collapse
After that app works properly, without issues?

Try Dropsync 1.68 instead of newest version
tl;dr: Try dropsync pro 1.68 apk
So I've done a lot of troubleshooting this app over the last couple weeks since I flattened and re-rooted my NST. I as well was getting tons of "sync interrupted" and the sync just going to IDLE state shortly after starting a manual sync (mind you this is without Autosync even being in play). I would run the manual sync over and over and maybe get three or four files to download before it crapped out.
This was frustrating to me since I had this app working PERFECTLY for the last year and a half before re-rooting.
So.... in an act of desperation I tried out an old version of Dropsync that seemed to be from about the time that I had rooted and installed before. In this case I tried the 1.68 APK which was one of the last ones before he jumped up to 2.x version numbers.
In the first couple of days since installing this version it seems to be rock solid again. I don't need any of the additional features - just downloading my Calibre files on demand when I need them.
Do a web search for 1.68 or another version and sideload it to see if it helps out.
For reference, here is the main excpetion I was getting in the log file (when I could get the damn log file to show up)
[2013-07-16 09:45:38-0500] [3874] [W] Exception
c.t.ds.ap: java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number (external/openssl/ssl/s3_pkt.c:284 0xaf58a08b:0x00000000)

Similar probs, using Dropsync Free
I'm experiencing the same problem with my NST. I even contacted the software's author. He looked at the log and advised that the problem was with dropped connection. Given that the problem exists on all three connections I have tried (work, home and using my phone as WiFi relay), I was inclined to think that the problem lay with the device's wifi, maybe dropping packets and making dropsync think that there's no connection. Does anyone know how to do a ping from this device?
Since NST's in the UK were on an amazing special offer of £30 (around $48), I bought a spare, and I have the same issues on that!
Someone here suggested uninstalling, clearing the app's data and reinstalling -- what data do you suggest I remove? I use Relaunch as a file browser, have searched for anything with dropsync. It came up with two files (I forget the locations) and one of them, was the log file that is only generated if selected in the app's menu...
Will report back if un-re works.
---------- Post added at 11:26 PM ---------- Previous post was at 10:51 PM ----------
Uninstall reinstall, no different.
Changed folders I was syncing to include only two new files, to a new location on the Nook. Attempted to sync the approx 2MB. Synced fine!! Changed settings back to the folders I was trying to sync, a total of 471 files in 170 folders. Ran for 93 seconds while it analysed I estimate about 80% of my folders, then threw the towel in without getting to the one new file I wanted it to sync.
Conclusion -- the device's WiFi is a bit intermittent or the software is flakey on this device (suspect the latter).
Might invite the author to check this post.
Pertinent part of the log file (I suspect)
java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number (external/openssl/ssl/s3_pkt.c:284 0xaf58a08b:0x00000000)
at c.t.ds.ad.a(SourceFile:653)
at c.t.ds.ad.a(SourceFile:145)
at c.t.ds.an.a(SourceFile:69)
at c.t.ds.an.b(SourceFile:64)
at com.ttxapps.dropsync.m.a(SourceFile:1354)
at com.ttxapps.dropsync.m.b(SourceFile:1259)
at com.ttxapps.dropsync.m.b(SourceFile:115)
at com.ttxapps.dropsync.m.b(SourceFile:175)
at com.ttxapps.dropsync.m.b(SourceFile:175)
at com.ttxapps.dropsync.m.b(SourceFile:175)
at com.ttxapps.dropsync.m.a(SourceFile:73)
at com.ttxapps.dropsync.SyncService.a(SourceFile:383)
at com.ttxapps.dropsync.SyncService.onHandleIntent(SourceFile:152)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:30)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.os.HandlerThread.run(HandlerThread.java:60)
Caused by: java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number (external/openssl/ssl/s3_pkt.c:284 0xaf58a08b:0x00000000)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeconnect(Native Method)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:305)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:92)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:321)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
at c.t.ds.ad.a(SourceFile:563)
at c.t.ds.ad.a(SourceFile:651)
... 16 more
[2013-09-16 00:15:03+0100] [1906] (90186 ms) Processed /sdcard/My Files <=> /Nook
[2013-09-16 00:15:03+0100] [1906] Closing /sdcard/My Files/.dropsync
[2013-09-16 00:15:03+0100] [1906] [D] File CLOSE_WRITE(0x8) /sdcard/My Files/.dropsync
[2013-09-16 00:15:03+0100] [1906] [W] Sync failed with exception:
c.t.ds.ap: java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number (external/openssl/ssl/s3_pkt.c:284 0xaf58a08b:0x00000000)
at c.t.ds.ad.a(SourceFile:653)
at c.t.ds.ad.a(SourceFile:145)
at c.t.ds.an.a(SourceFile:69)
at c.t.ds.an.b(SourceFile:64)
at com.ttxapps.dropsync.m.a(SourceFile:1354)
at com.ttxapps.dropsync.m.b(SourceFile:1259)
at com.ttxapps.dropsync.m.b(SourceFile:115)
at com.ttxapps.dropsync.m.b(SourceFile:175)
at com.ttxapps.dropsync.m.b(SourceFile:175)
at com.ttxapps.dropsync.m.b(SourceFile:175)
at com.ttxapps.dropsync.m.a(SourceFile:73)
at com.ttxapps.dropsync.SyncService.a(SourceFile:383)
at com.ttxapps.dropsync.SyncService.onHandleIntent(SourceFile:152)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:30)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.os.HandlerThread.run(HandlerThread.java:60)
Caused by: java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number (external/openssl/ssl/s3_pkt.c:284 0xaf58a08b:0x00000000)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.nativeconnect(Native Method)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:305)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:92)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:321)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
at c.t.ds.ad.a(SourceFile:563)
at c.t.ds.ad.a(SourceFile:651)
... 16 more
[2013-09-16 00:15:03+0100] [1906] Sync finished in 93 seconds
[2013-09-16 00:15:03+0100] [1906] 0 change(s) detected and synced
[2013-09-16 00:15:03+0100] [1906] [V] (10) INSERT 2013-09-16 00:15:03 Sync interrupted
[2013-09-16 00:15:03+0100] [1906] --- Sync failed, duration 93 seconds
[2013-09-16 00:15:03+0100] [1906]

Related

Flurry agent, sending out data!!!

I saw something in my logcat about "Flurry Agent" sending out data to its server. It looks like it collects analytics about certain apps and uploads it.
Does anyone know how to remove/disable this?
A hosts file addition is one way.
Some google search results:
Flurry-Legal
flurry-legal-dcma
Comes with Locale. (I don't have locale installed anymore, yet Flurry was running)
A search on my phone turned up nothing. It may be a library inside an apk.
find / -name "*lurry*"
I've added these line to my hosts file ( /etc/hosts )
127.0.0.1 data.flurry.com
127.0.0.1 flurry.com
127.0.0.1 dev.flurry.com
The below data shows up on the dashboard once flury is added to an app.
Application The name of the application.
New Users The number of new users who used the application for the first time during the specified time period.
Active Users The number of unique users who used the application during the last complete week of the specified time period.
Sessions The total number of user sessions that occurred during the specified time period.
Weekly Growth The percentage increase of new users between the last two complete weeks of the specified time period.
User Retention The percent of users that signed up during the time period have used the app during the last 7 days before today.
Click to expand...
Click to collapse
Also:
Device Model,
Firmware,
Carrier,
Location,
Errors and Exceptions,
Custom 'Events'.
Omg man i just noticed the same thing and was about to post!! I have no idea what app it is though because I don't have locale installed
It could be inside any app you have. Flurry is a company that collect statistics on app usage afaik and developers add the library to their apps. Don't know how widespread it is for developers to do this though.
SBS_ said:
It could be inside any app you have. Flurry is a company that collect statistics on app usage afaik and developers add the library to their apps. Don't know how widespread it is for developers to do this though.
Click to expand...
Click to collapse
Yes I figured that out and even downloaded the sdk.
Found out that BetterTermEmulator pro uses this and sends an error report whenever it crashes.
Code:
I/BetterTermEmulator( 3440): Command: '/system/bin/sh logcat'
I/BetterTermEmulator( 3440): chdir() to '/'
I/BetterTermEmulator( 3440): title is: 'BTEP'
I/BetterTermEmulator( 3440): Starting subprocess '/system/bin/sh logcat null'
I/BetterTermEmulator( 3440): waiting for: 463
D/FlurryAgent( 3440): Starting new session
D/NetworkLocationProvider( 141): addListener(): com.magicandroidapps.bettertermpro
D/NetworkLocationProvider( 141): setMinTime: 0
D/WifiService( 141): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/FlurryAgent( 3440): Sending report to: http://data.flurry.com/aar.do
I/BetterTermEmulator( 3440): Subprocess exited: 2
I/NotificationService( 141): enqueueToast pkg=com.magicandroidapps.bettertermpro [email protected] duration=0
I/BetterTermEmulator( 3440): Subprocesses exited with code 2
E/BetterTermEmulator( 3440): onSizeChanged: W:480 H:762old W:0H:0
D/FlurryAgent( 3440): Ending session
D/LocationManager( 3440): removeUpdates: listener = [email protected]
D/NetworkLocationProvider( 141): removeListener(): com.magicandroidapps.bettertermpro
I use the custom hosts file found over in android app, gonna have to open that up and addd them in if its not already there.
I just noticed this too while working with the Eclipse IDE DDMS and logcat views. Edited my /etc/hosts as well.
for info: the AdFree application is adding these lines to the hosts file

[Q] MS Store doesn't work via Fiddler proxy

I am trying to use Fiddler proxy for my Windows Phone 8 device. It works for almost everything (like Internet browsing, ActiveSync, Calendar and most of the apps) but it fails to work with the Store. I can see in the Fiddler's trace log that every time I try to install or update an app, the tunnel to login.live.com:443 gets opened correctly and nothing else happens after that. And the phone shows an error message "MS account service is unavailable right now"
Fiddler's Root certificate is installed on the phone. Fiddle is not complaining about client certificate, as it sometimes does. Turning proxy off for the WiFi connection brings everything back to normal.
Browsing the store works over a proxy, but the actual app download process (or possibly the license check process, or maybe both) is certificate-pinned. You can't MitM it without Microsoft's cert. (This has been known for months, if you read the threads about using a proxy with the store they all say you have to turn it off before hitting Install).
GoodDayToDie said:
Browsing the store works over a proxy, but the actual app download process (or possibly the license check process, or maybe both) is certificate-pinned. You can't MitM it without Microsoft's cert. (This has been known for months, if you read the threads about using a proxy with the store they all say you have to turn it off before hitting Install).
Click to expand...
Click to collapse
Tried doing a search you couldn't link me a few of the post on this could you please?
There's nothing to search for. He told you why it doesn't work. There's no way around it... Use the proxy to enable the download button for unavailable apps, but turn it off right before you tap download.
Yeah, you're not going to find actual details of the certificate pinning, as it's not documented by Microsoft. We only know about it from observing the phone's behavior.
I suppose we could reverse engineer the code to get more details, but that seems like a waste of time.

[Q] Good for Enterprise crashes when Xposed is enabled

Hi folks...
I am using a T-Mo Galaxy Note 3 with 4.3 (jellybean) and the latest Xposed Framework 2.7.1 (for reference, I did also try 2.4 through 2.5.1, with the same results).
I have installed the "Good for Enterprise" application to access my organization's email system. Our policy does NOT restrict use of root, so my issue is NOT with the fact that I am rooted.
However, whenever I enable the framework, even with NO modules enabled, launching Good crashes the app right after I enter my password into it. This is 100% repeatable. If I disable Xposed and reboot, Good works perfectly. This is also 100% repeatable.
I have looked through the logcat output and don't know what to look for, as I see a good amount of recurring debug messages. Any suggestions for how to proceed? Also, is it possible to blacklist an application so Xposed does not try to hook only that app?
Any suggestions are appreciated, and please remember that my organization does NOT restrict root via Good policy, so I don't have to worry about RootCloak, etc.
Thanks folks!
- SG
Xposed Framework Causes Good Mobile Messaging to not function
Hey there, not sure if there is anything that you can do about this but I wanted your input:
For some reason when I activate the xposed installer framework (my Verizon HTC One Max is running the most recent version of the NuSenseSix rom), it causes an app I have installed called "Good for Enterprise" to stop functioning. (Good for Enterprise is used for corporate email). if I disable the framework, then the app functions normally. Is there any way you can give me some advice or a resolution regarding this? the framework version I am running is 2.6.1
Thanks,
Slappy_G said:
Hi folks...
I am using a T-Mo Galaxy Note 3 with 4.3 (jellybean) and the latest Xposed Framework 2.7.1 (for reference, I did also try 2.4 through 2.5.1, with the same results).
I have installed the "Good for Enterprise" application to access my organization's email system. Our policy does NOT restrict use of root, so my issue is NOT with the fact that I am rooted.
However, whenever I enable the framework, even with NO modules enabled, launching Good crashes the app right after I enter my password into it. This is 100% repeatable. If I disable Xposed and reboot, Good works perfectly. This is also 100% repeatable.
I have looked through the logcat output and don't know what to look for, as I see a good amount of recurring debug messages. Any suggestions for how to proceed? Also, is it possible to blacklist an application so Xposed does not try to hook only that app?
Any suggestions are appreciated, and please remember that my organization does NOT restrict root via Good policy, so I don't have to worry about RootCloak, etc.
Thanks folks!
- SG
Click to expand...
Click to collapse
I am experiencing the exact same issue with good and my device. If I keep the framework disabled, good for enterprise works perfectly. As soon as I enable the framework and reboot, good hangs every time when attempting to connect after putting in my password and then just force quits back to the home screen.
I opened a seperate thread regarding the issue not seeing this thread until after I had already posted. I am hopeful that a resolution can be found. I have a Verizon HTC One Max, rooted with NuSenseSix Rom. I have also verified that they do not block access to good when it detects a rooted device. And as stated before, it functions normally on my rooted device as long as I keep the framework disabled.
Please describe in detail what you mean with "stop functioning". Does it crash? Please provide a logcat of the error.
I have merged these two threads. As mentioned, please post a logcat. A blacklist to avoid "loading" Xposed is not possible, because Xposed is initialized at system start and "inherited" by all apps.
rovo89 said:
I have merged these two threads. As mentioned, please post a logcat. A blacklist to avoid "loading" Xposed is not possible, because Xposed is initialized at system start and "inherited" by all apps.
Click to expand...
Click to collapse
Understood. I'll post a logcat this evening of both a positive and a negative case.
I am experiencing the excact same behaviour as stated in the OP, and are working under the same conditions (rooted rom with latest xposed and NO anti-root policy). I would LOVE to help providing logcats, and i happen to be part of the IT department enforcing Good, so i can really test this (they wont blacklist me).
I will produce som logcat for you, any advice on how to best do this? Otherwise i will just throw something at best effort :good: :laugh:
Update: Back with a log, see attatched.
I started Catlog (app), pressed home and launched GFE. I then entered my password, and the app crashed. After this i clicked the shortcut on my launcher to start (resume) catlog, and paused the logging. I then exported the whole thing to the attatched textfile. The loglevel is Verbose.
If any system information is needed, other than those in the log file, please ask.
Kind Regards
TwinAdk
Thanks. I don't see any crash/exception of the application there. Is it a normal crash ("<app> has stopped working" or whatever that message says)? If so, can you get the stack trace from it?
But what I noticed is that you have at least one module with quite verbose output (all those lines with "Xposed" tag, they don't come from the framework). Could you please make sure that it crashes even without any active modules?
rovo89 said:
Thanks. I don't see any crash/exception of the application there. Is it a normal crash ("<app> has stopped working" or whatever that message says)? If so, can you get the stack trace from it?
But what I noticed is that you have at least one module with quite verbose output (all those lines with "Xposed" tag, they don't come from the framework). Could you please make sure that it crashes even without any active modules?
Click to expand...
Click to collapse
I will deactivate all modules and re-take the log. It still crashes, that's for sure. When i will screen record the crash, it's not a stopped working crash, the app just closes with it's 'switch to launcher animation'. Once reopened it loads from scratch.
---------- Post added at 11:23 PM ---------- Previous post was at 10:32 PM ----------
Back with log of crash two times in a row, and screen record of working and failing good app. Notice that good cannot he screen recorded, hence the black screen when I'm inside the app. After the working recording I enabled xposed framework and rebooted.
Video and log here:
https://www.dropbox.com/sh/zrkivu9u0k4u2od/AAA5io6UfphGumblJCduRp8da
When you got the files, tell me, I'll remove them from dropbox then.
Kind Regards
TwinAdk
Twin, thanks for uploading the log files and the sharing the videos. i've been super busy and haven't had a chance to do this. what you are showing in your videos is exactly what is happening on my device when the framework is enabled (with no modules enabled/loaded). good prompts for my password and then force quits back to the home screen. it does this over and over again until I disable the framework and restart my device. then good functions normally.
Rovo, let me know if you need me to also supply logs from my device, or if what twin provided is enough to troubleshoot this.
thanks,
No problem, i know that far too well The phone having the problem is a HTC One, m7_ul, running the AICP project rom from here: http://forum.xda-developers.com/showthread.php?t=2632667
I also have an Samsung xCover 2 i can test it on (the wifes) and the former phone, the HTC One X, running a similair AICP rom, in a slightly older version. If this has any intereset, let me know. It would
Also, it occured to me, the Good app also hangs during the initial setup of Good (you have to pair the Good app with your company, by entereing your email address and a one-time key. This is done upon starting the app for the first time).. It has a process where it, after the email and onetime key is submitted, will "log in" - "check stuff" [NOT root policies etc i believe] - "preforms the secure connection" [between phone and company] - "fetches corporate settings" (this is the step where it freezes with XPosed enabled, hence never allowing the initial setup to complete) - "saving settings" [initial setup done, the app loads, if no xposed is present].
Are you interested in a logcat of that process aswell? I am quite sure its the same thing stopping the app from working.
Kind Regards
TwinAdk
EDIT: I just realised the video of the Good app working, was unable to play anywhere else than on my phone, so i screenrecorded it playing on my phone, and posted the screenrecord of a screenrecord to dropbox
you are correct, if i uninstall good and attempt to reinstall while the framework is enabled, it hangs on "retrieving corporate settings". If i disable the framework and reinstall, installation completes with no issues and functions normally. Again this is just enabling the framework on my device, not loading or enabling any modules. I am using a verizon htc one max running rooted nusensesix rom
TwinAdk said:
Video and log here:
https://www.dropbox.com/sh/zrkivu9u0k4u2od/AAA5io6UfphGumblJCduRp8da
When you got the files, tell me, I'll remove them from dropbox then.
Click to expand...
Click to collapse
Thanks, you can remove them.
This isn't a crash - the app deliberatly goes back to the launcher:
Code:
07-16 22:53:08.172 I/ActivityManager(585): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.good.android.gfe/com.good.android.ui.LaunchHomeActivity bnds=[540,960][540,960]} from pid 1068
07-16 22:53:08.312 I/ActivityManager(585): Start proc com.good.android.gfe for activity com.good.android.gfe/com.good.android.ui.LaunchHomeActivity: pid=4604 uid=10161 gids={50161, 3003, 1028, 1015, 1023, 1006}
07-16 22:53:08.943 W/ActivityManager(585): Unable to start service Intent { cmp=com.dell.enterpriseservices/.EnterpriseService } U=0: not found
07-16 22:53:09.633 I/WindowManager(585): Screenshot max retries 4 of Token{41ca04d8 ActivityRecord{41ab9a78 u0 com.good.android.gfe/com.good.android.ui.LaunchHomeActivity t5 f}} appWin=Window{41d18a68 u0 Starting com.good.android.gfe} drawState=4
07-16 22:53:09.643 W/WindowManager(585): Screenshot failure taking screenshot for (1080x1920) to layer 21015
07-16 22:53:09.653 I/ActivityManager(585): START u0 {cmp=com.good.android.gfe/com.good.android.ui.activities.AppLockActivity (has extras)} from pid 4604
07-16 22:53:09.663 W/ActivityManager(585): startActivity called from finishing ActivityRecord{41ab9a78 u0 com.good.android.gfe/com.good.android.ui.LaunchHomeActivity t5 f}; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=com.good.android.gfe/com.good.android.ui.activities.AppLockActivity (has extras) }
...
[B][COLOR="Red"]07-16 22:53:22.687 I/ActivityManager(585): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.teslacoilsw.launcher/com.android.launcher2.Launcher} from pid 4604[/COLOR][/B]
...
07-16 22:53:23.208 I/ActivityManager(585): Process com.good.android.gfe (pid 4604) has died.
07-16 22:53:23.208 I/WindowState(585): WIN DEATH: Window{41f2c360 u0 com.good.android.gfe/com.good.android.ui.activities.AppLockActivity}
I have decompiled the app and it indeed has code for that. Unfortunately, they have used Proguard to obfuscate the code, so it's very hard to understand why exactly they show the launcher. Maybe they have detected Xposed or something done by it, or it caused an unexpected situation.
You could try one more thing - disable the Xposed resources APIs in the installer settings and reboot. That disables a good part of Xposed. If that doesn't help, someone would need to analyse the app in detail. I'm saying "someone" because I don't have enough free time for that.
rovo89 said:
Thanks, you can remove them.
This isn't a crash - the app deliberatly goes back to the launcher:
Code:
07-16 22:53:08.172 I/ActivityManager(585): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.good.android.gfe/com.good.android.ui.LaunchHomeActivity bnds=[540,960][540,960]} from pid 1068
07-16 22:53:08.312 I/ActivityManager(585): Start proc com.good.android.gfe for activity com.good.android.gfe/com.good.android.ui.LaunchHomeActivity: pid=4604 uid=10161 gids={50161, 3003, 1028, 1015, 1023, 1006}
07-16 22:53:08.943 W/ActivityManager(585): Unable to start service Intent { cmp=com.dell.enterpriseservices/.EnterpriseService } U=0: not found
07-16 22:53:09.633 I/WindowManager(585): Screenshot max retries 4 of Token{41ca04d8 ActivityRecord{41ab9a78 u0 com.good.android.gfe/com.good.android.ui.LaunchHomeActivity t5 f}} appWin=Window{41d18a68 u0 Starting com.good.android.gfe} drawState=4
07-16 22:53:09.643 W/WindowManager(585): Screenshot failure taking screenshot for (1080x1920) to layer 21015
07-16 22:53:09.653 I/ActivityManager(585): START u0 {cmp=com.good.android.gfe/com.good.android.ui.activities.AppLockActivity (has extras)} from pid 4604
07-16 22:53:09.663 W/ActivityManager(585): startActivity called from finishing ActivityRecord{41ab9a78 u0 com.good.android.gfe/com.good.android.ui.LaunchHomeActivity t5 f}; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=com.good.android.gfe/com.good.android.ui.activities.AppLockActivity (has extras) }
...
[B][COLOR="Red"]07-16 22:53:22.687 I/ActivityManager(585): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.teslacoilsw.launcher/com.android.launcher2.Launcher} from pid 4604[/COLOR][/B]
...
07-16 22:53:23.208 I/ActivityManager(585): Process com.good.android.gfe (pid 4604) has died.
07-16 22:53:23.208 I/WindowState(585): WIN DEATH: Window{41f2c360 u0 com.good.android.gfe/com.good.android.ui.activities.AppLockActivity}
I have decompiled the app and it indeed has code for that. Unfortunately, they have used Proguard to obfuscate the code, so it's very hard to understand why exactly they show the launcher. Maybe they have detected Xposed or something done by it, or it caused an unexpected situation.
You could try one more thing - disable the Xposed resources APIs in the installer settings and reboot. That disables a good part of Xposed. If that doesn't help, someone would need to analyse the app in detail. I'm saying "someone" because I don't have enough free time for that.
Click to expand...
Click to collapse
See the dropbox folder. I ticked the option and rebooted, then I had same experience and found the shown in the logcat....
Mornig,
I just noticed that i get a notification from Good, saying that "GFE does not have connection [to the corporate network]. Unlock GFE to initiate the connection". See the screenshot (_20140718_072316.JPG) posted in the dropbox folder. I received this while GFE was unable to open, and it confirms that GFE is indeed running in the background..
I tried to rename the Xposed app in the phone, to test, using xSuite (weak attempt, but you never know). Also, i stripped GFE of some permissions using the App Settings module:
- Read External storage
- Read Logs
- com.dell.enterpriseservices.SET_PROPERTY_THIRDPARTY_APPINSTALL (custom GFE permission added to the manifest i belive). Possibly a permission used for corporate inforced rules (that do not apply here yet, but i still nuked it)
I will try stripping permissions to see where it gets me.
Also, there is this module, - http://repo.xposed.info/module/com.phantasm.xposed.gfesecuritypatcher - but it does not work for me at least.
Then there is this thread - http://forum.xda-developers.com/showthread.php?t=2040163 - but the "4.3+ xposed way" mentioned in the very first post, is also no good...
I also tested the rootcloak app, where the developer says it may work with GFE, but he needs more testing. It does not.
I fear however, that all these past efforts have been nullified by some recent GFE update, because the case here is that we dont even get to start the program.
Kind Regards
TwinAdk
EDIT: Okay, that was quick.. I stripped GFE of EVERY SINGLE permission. This caused it to FC on me the first time. The dump report revealed it needed the WAKE_LOCK permission, so i granted it that and retried.. On the second launch, it returned to my launcher as we have seen before...
In fact, i find this behaviour unacceptable, as my company has NOT decided against Xposed, rooting, etc, and a company could for all we know depend on both GFE and Xposed (unlikely, yes, impossible, no). But GFE seems to be dead set against opening up when Xposed is active.
Would it be possible to intercept and block the return to launcher call to android? Just to see where it gets us? This would require a module, i know.
---------- Post added at 08:32 AM ---------- Previous post was at 07:36 AM ----------
Okay, i read up on another thread, and found this post here: http://forum.xda-developers.com/showpost.php?p=53198439&postcount=833
It states the following:
Information Notification: Good for Enterprise (GFE) Good Mobile Messaging Client (GMMC) for Android v2.5 running Android OS v4.4.2 May Encounter Application Restarts After Entering the Password on the Nexus 4 and Nexus 5 Device
Date: June 3, 2014
Problem:
Good for Enterprise (GFE) Good Mobile Messaging Client (GMMC) for Android version 2.5 running Android OS 4.4.2 may encounter application restarts after entering the password on the Nexus 4 and Nexus 5 Device. This problem has occurred after upgrading from GMMC for Android version 2.4 to GMMC for Android version 2.5 and with doing a fresh installation of GMMC for Android version 2.5.
Environment:
· Good for Enterprise (GFE) Good Mobile Messaging Client (GMMC) for Android version 2.5
· Nexus 4 and Nexus 5 devices with Android OS 4.4.2
Please Note:
A re-install of the GFE GMMC Android version 2.5 will not resolve the problem.
Workaround:
Please install the older version of Good for Enterprise (GFE) Good Mobile Messaging Client (GMMC) for Android version 2.4 on your device and disable the auto update setting for this application.
· Here is the link to get the GFE for Android 2.4 release - https://get.good.com/ea/android/
· It's very important to disable the auto update for the application, so it does not auto update to GFE version 2.5.
o Open the Google Play Store
o Hit Menu (3 dots in the upper right)
o Select Settings
o Uncheck 'Auto-update' apps
FIX:
Good Engineering is currently working on a permanent fix for this issue. We will keep you updated on the availability of the new software version.
If you have questions, please contact our technical support team at 1-408-352-7100, 1-866-448-8458 or submit an online support ticket at www.good.com/gmp.
Thank you,
Click to expand...
Click to collapse
Provided this information, i downloaded the 2.4 release of GFE, instead of the 2.5 from Google Play Store - and it just works.
After uninstalling 2.5, rebooting and installing 2.4, i can open up GFE with Xposed fully enabled. I also have the GFE Patcher module (http://repo.xposed.info/module/com.phantasm.xposed.gfesecuritypatcher) installed, just in case.. even though my company does not block root.
Summa summarum - It seems we can call off the witch hunt, and conclude that its a bug in 2.5 of GFE causing the issues.
Also, the GFE Patch module seems to work for people with root, and in the thread where i found the bug-info, people are reporting that 2.5 of GFE works, when installed on top of 2.4, via playstore. This is however not the case for me, 2.5 still returns to launcher.
@revo89, thank you for all your time and effort in this matter, and once again, thank you for the xposed framework as a whole, its is a truly amazing piece of art, and my phone is not my phone without it! :good::good:
@twin
You are absolutely correct buddy. After reading your recent update to this thread, I removed and reinstalled w/ GFE 2.4 via the link you provided. that took care of my issue. I can use GFE 2.4 with the framework & modules enabled with no issues. as soon as I upgrade again to 2.5, I start experiencing the same issue as before where it force quits back to the home screen. for now I will use 2.4 until a newer version of GFE is released and will test again with that version. but at least now I have a working solution to the issue.
thanks again for all your time and assistance in troubleshooting this problem.
Thanks so much everyone for working on this thread. I run xposed on a Verizon note2 and I have been having this same issue described here. Its been driving me crazy and I've had to live without xposed since this 'bug' arrived. I'll try 2.4 as well and then wait for GFE to fix the newer versions. Thanks again.
I had this issue.. It's rom dependant.
I had one rom on my Note2 that had this issue. But a rooted stock rom does not have this issue.
I'm running a HTC One M8 as of today. It's got rooted stock, it also does not have this issue.
Hope that helps (but yeah 2.4 works, I kept a backup in titanium)
Indeed, it seems that the rom makes a difference, because some people say it works (2.5), and some doesnt.. Must be parts of the rom that is the issue, and that part is used only in some roms
Kind Regards
TwinAdk
Awesome, this thread was a lifesaver! I couldn't figure out why and kept reinstalling and on the phone with tech support at my company who basically told me to do a hard reset (right....). The older version 2.4 works fine. Thanks TwinAdk!

AOSP EMail (and exchange sync) apps

On the nexus6, google dropped their AOSP "Email" app, and replaced it with a more function GMail app. The new gmail app was given the ability to sync MS Exchange accounts (as well as pop, imap, etc.)
However, I personally don't like using gmail for my email. There are a couple of reasons, but the biggest one is that gmail doesn't allow a "combined" inbox view. (I sync with multiple MS Exchange servers, and I really like being able to look at a single list instead of having to tap all around to check individual accounts.)
So, I recompiled AOSP (for lollipop, of course) and pulled out the email (and exchange server service) apps, copied them to my device, and everything works the way I want again.
I'm sharing this non-work with other XDA users with the following caveats:
1. This is google's work, not mine. I've just recompiled it. The source is completely unaltered from AOSP 5.0.0.r5.
2. I'm not going to support this. I'll give detailed instructions on how to copy the files to your nexus device, and I might even package them into a recovery installable .zip file (if I remember tomorrow and have free time), but that's it.
3. If you understand and accept everything that might go wrong in doing this, then great. If you don't, please ignore this post and read another one.
That being said...
You need to have a rooted device, and be fluent with adb and a shell. If you aren't, just wait until I (or someone else) packages this into a zip you can install in recovery.
Really quickly, then:
Code:
adb push Email.apk /sdcard/
adb push Exchange2.apk /sdcard/
adb shell
su
mount -o remount,rw /system
cd /system/app
mkdir Email
chmod 755 Email
cp /sdcard/Email.apk Email
chmod 644 Email/Email.apk
mkdir Exchange2
chmod 755 Exchange2
cp /sdcard/Exchange2.apk Exchange2
chmod 644 Exchange2/
reboot
After that, you'll now have two "email" apps in your app drawer. One is a shortcut to gmail, and the other is the one you just copied in. (I think the gmail shortcut one is located in "/system/app/PrebuiltEmailGoogle" in case you want to get rid of it -- or read on for another way to get rid of it) Figure out which one is which, and you'll be good to go!
Yes, the AOSP email and gmail stuff can co-exist. Even the exchange services can co-exist.
However, the second "email" app icon is annoying. Instead of deleting the apk from /system, you can just go into settings->apps->all, and find the "Email" app that's 6.7MB (or the smaller of the two) and disable it.
If you want to disable the gmail version of MS Exchange support, go into settings->apps->all and notice that there are two "Exchange Services" apps. One of them is "version 6.xxx" (which is the one for gmail), and the other is "version 5.0.50.50.50.-eng-garyd9.xxxx". So, you'll disable the one for gmail and leave the one with "garyd9" in the version tag enabled.
Note: Nova Launcher's "teslaUnread" plugin will not work with this email.apk as a native google email app. The reason is simply because this isn't "com.google.android.email". It's "com.android.email". (It's different...)
Edit: For a recovery installable .zip file: scroll down (or just click here: http://forum.xda-developers.com/showpost.php?p=57161503&postcount=6)
Another Edit: Be warned that there are some problems with this. If you have multiple email accounts and used the "combined view", it can crash when you try to view an email. As well, under some circumstances, it will stop picking up mail (and contacts, etc) all together (unless it's manually polled.) I'll get around to looking at these issues at a later time.
Take care
Gary
UPDATE (2014-12-12): updated the email.apk with one that doesn't crash when viewing the "combined" view. Exchange2.apk still doesn't do push email properly, but that's going to take a bit more time.
Awesome! Thanks, I'll have to check this out....as I miss not having a combined inbox.
A flashable zip would be great if possible thank you
It might be a bit before I get around to making a flashable zip file... When I'm at my computer, I'm digging in the LED related code. Perhaps someone else would be kind enough to throw one together. (If so, I'll update the top post with a link to it.)
Sent from my Nexus 6
Oh this is awesome! I was just complaining about being forced to use GMail for my work email in another thread.
NICE!
Thanks for the hard work OP. The flashable zip below should take care of everything:
http://www.mediafire.com/download/mwbaqqsslqmaj9u/Old+School+Email+Restore.zip
ericwgarza1 said:
Thanks for the hard work OP. The flashable zip below should take care of everything:
Click to expand...
Click to collapse
Thanks - will link to this. FYI, leaving "PrebuiltEmailGoogle" intact can cause some issues with software that looks for com.google.android.email before checking for com.android.email. (It can impact TelsaUnread, buit that's broken right now anyway.)
garyd9 said:
Thanks - will link to this. FYI, leaving "PrebuiltEmailGoogle" intact can cause some issues with software that looks for com.google.android.email before checking for com.android.email. (It can impact TelsaUnread, buit that's broken right now anyway.)
Click to expand...
Click to collapse
I can edit the script to delete that folder when flashing if that would make things work easier and more compatible for everyone.
Using the attached... I'm noticing a crash if I have two exchange server accounts, set the message list to be the "combined" inbox, and then try to read any message.
I guess I'm going to have to debug google code again.
Code:
E/AndroidRuntime(10733): FATAL EXCEPTION: main
E/AndroidRuntime(10733): Process: com.android.email, PID: 10733
E/AndroidRuntime(10733): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()
' on a null object reference
E/AndroidRuntime(10733): at android.support.v4.text.BidiFormatter.unicodeWrap(BidiFormatter.java:374)
E/AndroidRuntime(10733): at android.support.v4.text.BidiFormatter.unicodeWrap(BidiFormatter.java:427)
E/AndroidRuntime(10733): at com.android.mail.browse.SubjectAndFolderView.setFolders(SubjectAndFolderView.java:155
)
E/AndroidRuntime(10733): at com.android.mail.browse.ConversationViewHeader.setFolders(ConversationViewHeader.java
:102)
E/AndroidRuntime(10733): at com.android.mail.ui.SecureConversationViewFragment.setupConversationHeaderView(Secure
ConversationViewFragment.java:159)
E/AndroidRuntime(10733): at com.android.mail.ui.SecureConversationViewController.onActivityCreated(SecureConversa
tionViewController.java:132)
E/AndroidRuntime(10733): at com.android.mail.ui.SecureConversationViewFragment.onActivityCreated(SecureConversati
onViewFragment.java:141)
E/AndroidRuntime(10733): at android.app.Fragment.performActivityCreated(Fragment.java:2061)
E/AndroidRuntime(10733): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:912)
E/AndroidRuntime(10733): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
E/AndroidRuntime(10733): at android.app.BackStackRecord.run(BackStackRecord.java:833)
E/AndroidRuntime(10733): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)
E/AndroidRuntime(10733): at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:483)
E/AndroidRuntime(10733): at com.android.mail.utils.FragmentStatePagerAdapter2.finishUpdate(FragmentStatePagerAdap
ter2.java:147)
Yes, I am getting Email FC's after installing the .zip. Figured I'd give it a shot.
So, I did it the long way through ADB Shell.
UPDATE: That was a no go too. Still getting a Force Close when opening Email.
Quick question.
I used the OP's method of installing this for the most part. I made my folders, copied my files and set my folder and file permissions with Root Explorer. The Email app works fine as far as I can tell but I'm not getting notifications. I have the app set to push but if I send myself emails or anyone else sends me emails, my phone doesn't notify me.
Now if I manually open the app and pull down it refreshes no problem and snatches my new email from our server.
If I setup my work email in the GMail app, it gets notifications.
Any suggestions?
I'm actually going to kill it from my phone and start over one more time and see if that helps.
So...
I just flash this .zip via recovery and thats all? Sorry, I was reading through and it looks like there are some issues and some folder permissions that need to be changed. I guess I missed something. LOL. I'm at work so I don't have access to my ADB on my home PC. I will try this later tonight when I get a chance to plug in. If I can keep my boy off of Minecraft long enough.
kdoggy said:
The Email app works fine as far as I can tell but I'm not getting notifications. I have the app set to push but if I send myself emails or anyone else sends me emails, my phone doesn't notify me.
Click to expand...
Click to collapse
I've noticed this as well. It appears that the exchange service can die (and doesn't come back until it's forced by email.apk.) In fact, the device isn't notifying because it's not talking to the exchange server whatsoever.
(I have a slight advantage: I have my own exchange server to test again, and can monitor the ports.)
Assuming another solution isn't found before then, I'll probably work on this more after I get the LED notifications working properly on the phone.
Added to top post:
Be warned that there are some problems with this. If you have multiple email accounts and used the "combined view", it can crash when you try to view an email. As well, under some circumstances, it will stop picking up mail (and contacts, etc) all together (unless it's manually polled.) I'll get around to looking at these issues at a later time.
Thank you for the reply! Yes definitely do not let me take you away from the LED project! I know I would much rather have the LEDs working because I keep forgetting to check my damn phone when I come into the room a lot of times lol. Thanks for all your hard work man!
I installed the AOSP Email from the Play Store last night and it works just fine. (shrug) So glad to have my regular mail back.
https://play.google.com/store/apps/details?id=com.google.android.email&hl=en
Baldilocks said:
I installed the AOSP Email from the Play Store last night and it works just fine. (shrug) So glad to have my regular mail back.
https://play.google.com/store/apps/details?id=com.google.android.email&hl=en
Click to expand...
Click to collapse
Lucky you. Tells me its already installed and wont let me do anything with it.
I just wanted to give a Thanks to the OP. I just completed this and it works wonderfully so far. I will keep you posted on any changes.
Thanks to the Devs and XDA, this site is awesome!
So, I found the bug that causes email.apk to crash in combined mode. The issues with exchange are a bit more involved and will take longer to fix. (I can't post the fix right now... I'm not at my computer and likely won't be until tomorrow night. )
Sent from my Nexus 6 using Tapatalk
Sorry it's taken me so long.... My paying job has been seriously eating into my personal time.
Anyway, I've updated the original post with a new Email.apk that fixes the combined view crash. (The problems with push exchange still exist, however.)
The patch to AOSP's Email client, in case anyone cares, is against packages/apps/UnifiedEmail:
Code:
diff --git a/src/com/android/mail/ui/SecureConversationViewFragment.java b/src/c
index 7c4a9d9..fc10f6e 100644
--- a/src/com/android/mail/ui/SecureConversationViewFragment.java
+++ b/src/com/android/mail/ui/SecureConversationViewFragment.java
@@ -156,8 +156,8 @@ public class SecureConversationViewFragment extends Abstract
@Override
public void setupConversationHeaderView(ConversationViewHeader headerView)
headerView.setCallbacks(this, this, getListController());
- headerView.setFolders(mConversation);
headerView.setSubject(mConversation.subject);
+ headerView.setFolders(mConversation);
headerView.setStarred(mConversation.starred);
}

Gmail app keeps kicking out/closing

I have a brand new kindle fire 7, just did the steps for installing Google play store, installed a few apps but the gmail app won't stay open and work.... What do I do now?
Same with me. I would love to find the answer to this. Thanks.
I'm having the same problem... Have tried most of the standard attempts to fix it. It did refresh the messages initially, but it still opens, then immediately closes. (Still shows it's running and have cleared that, rebooted, etc). Very frustrating! (Sorry.... probably the wrong thread, but's happening on my new Fire 8HD 2017 too)
Getting the same error here, so I did a logcat on it:
Code:
E/DatabaseUtils(15437): Writing exception to parcel
E/DatabaseUtils(15437): java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/all_downloads/73 from pid=15497, uid=10016 requires android.permission.ACCESS_ALL_DOWNLOADS, or grantUriPermission()
E/DatabaseUtils(15437): at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:539)
E/DatabaseUtils(15437): at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:452)
E/DatabaseUtils(15437): at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:443)
E/DatabaseUtils(15437): at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:388)
E/DatabaseUtils(15437): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:313)
E/DatabaseUtils(15437): at android.os.Binder.execTransact(Binder.java:446)
W/GAV2 (15497): Thread[Background tasks,5,main]: dispatch call queued. Need to call GAServiceManager.getInstance().initialize().
--------- beginning of crash
E/AndroidRuntime(15497): FATAL EXCEPTION: Background tasks
E/AndroidRuntime(15497): Process: com.google.android.gm, PID: 15497
E/AndroidRuntime(15497): java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/all_downloads/73 from pid=15497, uid=10016 requires android.permission.ACCESS_ALL_DOWNLOADS, or grantUriPermission()
E/AndroidRuntime(15497): at android.os.Parcel.readException(Parcel.java:1548)
E/AndroidRuntime(15497): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
E/AndroidRuntime(15497): at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:148)
E/AndroidRuntime(15497): at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:691)
E/AndroidRuntime(15497): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1080)
E/AndroidRuntime(15497): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:921)
E/AndroidRuntime(15497): at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:778)
E/AndroidRuntime(15497): at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:733)
E/AndroidRuntime(15497): at android.app.DownloadManager.openDownloadedFile(DownloadManager.java:1040)
E/AndroidRuntime(15497): at ene.a(SourceFile:636)
E/AndroidRuntime(15497): at ene.a(SourceFile:439)
E/AndroidRuntime(15497): at com.google.android.gm.job.DownloadCompleteJob.a(SourceFile:40)
E/AndroidRuntime(15497): at eks.run(Unknown Source)
E/AndroidRuntime(15497): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(15497): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(15497): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(15497): at android.os.HandlerThread.run(HandlerThread.java:61)
It appears that com.google.android.gm doesn't have the permissions it needs (ACCESS_ALL_DOWNLOADS), so I tried to grant this permission with:
Code:
adb shell pm grant com.google.android.gm android.permission.ACCESS_ALL_DOWNLOADS
but I got:
Code:
Operation not allowed: java.lang.SecurityException: Package com.google.android.gm has not requested permission android.permission.ACCESS_ALL_DOWNLOADS
Anyone find a solution to this?
Try disabling "Download attachments" under Gmail's account settings while disconnected from WiFi.
Zeranoe said:
Try disabling "Download attachments" under Gmail's account settings while disconnected from WiFi.
Click to expand...
Click to collapse
Yes, I tried that...
Having the same issue. Can we downgrade the gmail app or something?
cduced said:
Having the same issue. Can we downgrade the gmail app or something?
Click to expand...
Click to collapse
Nope - characteristic if the underlying components that Gmail relies on. Can't downgrade those; will either fail or immediately self-updating to latest version. Look to another mail client (many fine options in Play Store) or use web interface.
gmail app quits
same problem - same with inbox spp. starts for few seconds then goes away. is still running but not in screen!
---------- Post added at 04:51 PM ---------- Previous post was at 04:38 PM ----------
just got off the phone with Amazon. needless to say they do not troubleshoot Google's apps! Nice guy, second tier informed him. so either Google fixes this or we are SOL! Maybe if we get a long enuf thread here! Anyone here work for Google?
carlscheider said:
same problem - same with inbox spp. starts for few seconds then goes away. is still running but not in screen!
---------- Post added at 04:51 PM ---------- Previous post was at 04:38 PM ----------
just got off the phone with Amazon. needless to say they do not troubleshoot Google's apps! Nice guy, second tier informed him. so either Google fixes this or we are SOL! Maybe if we get a long enuf thread here! Anyone here work for Google?
Click to expand...
Click to collapse
Unlikely either party will pursue a 'fix' as Amazon and Google don't pursue mutual business objectives or cross validate apps. Especially hacks. Best option IMO is to consider a different mail app (there are many fine alternatives in the Play Store) or use the Gmail web interface (spartan but serviceable).
thanks
that makes perfect sense. i do use an email app but prefer gmail direct.
i will hold out hope. Had the same problem with Amazon's washington post - it finally fixed itself! found i could sometimes get it to work by just shutting it off normally.
i used to be a cto - crappy code lives forever. no attention to zero defect.
appreciate the wisdom. saves a few frustrating calls.
carlscheider said:
that makes perfect sense. i do use an email app but prefer gmail direct.
i will hold out hope. Had the same problem with Amazon's washington post - it finally fixed itself! found i could sometimes get it to work by just shutting it off normally.
i used to be a cto - crappy code lives forever. no attention to zero defect.
appreciate the wisdom. saves a few frustrating calls.
Click to expand...
Click to collapse
I suspect (but have no direct evidence to support) a new dependency on a core Google component not included with the basic Play Store install for this device (FireOS v5 in general). Haven't peeled back the onion to identify root cause as I do not run FireOS on any of my devices. Do have temporary access to a 'stock' HD 8. Will take a look if time permits.
Could simply be a version mismatch on Android code shared between FireOS and Google components. That would be a tougher fix on unrooted devices.
Davey126 said:
I suspect (but have no direct evidence to support) a new dependency on a core Google component not included with the basic Play Store install for this device (FireOS v5 in general). Haven't peeled back the onion to identify root cause as I do not run FireOS on any of my devices. Do have temporary access to a 'stock' HD 8. Will take a look if time permits.
Could simply be a version mismatch on Android code shared between FireOS and Google components. That would be a tougher fix on unrooted devices.
Click to expand...
Click to collapse
I am a little surprised too. You can download it from the Play Store from the tablet so it's not to do with compatibility I don't think. I had the same problem earlier with Weather Underground and I downgraded a few versions and it worked. Could be an update Amazon snuck by us too. The tablet kicks you out right after you setup Gmail. It's like you can do everything else except read your Email. It even still sends you notifications. I thought it was working after my reset an hour ago because of the notifications. I tapped the icon, it went to setup and when it got to the inbox, it kicks me out. I'll reinstall it later using an older version and see if it works. I don't worry about auto update as I don't let my play store apps auto update.
EDIT: I recall when I had my Fire 7 working, you could go back a few versions of an app and update it from the play store to most recent and that fixed the issue. Perhaps try that?
Old version - good thinking
Didn't realize I could do that. I grew up coding assembly language on an IBM 50 - left when Smalltalk and C++ were all the rage.
I will stop auto updates and see about getting an older version.
I am kind of amazed that Amazon allows this "side loading" - it isn't really a root - just a sidestep.
Glad it works. The Fire 8 is a marvelous little gadget for the price. It will change EVERYTHING - like FIRE..
And it makes Jeff just a bit richer - like he needs it.
Many thanks.
cannot regress in Fire
carlscheider said:
Didn't realize I could do that. I grew up coding assembly language on an IBM 50 - left when Smalltalk and C++ were all the rage.
I will stop auto updates and see about getting an older version.
.
Click to expand...
Click to collapse
OK, after a bit of a search, I found a repository of older versions.
Is this reliable? https://gmail.en.uptodown.com/android/old
I am on 7.7.2 - I see there is even a newer one.
OK, 7.5.21 lasts a little longer - not much.
7.5.7 nope. 7.4.23 , 6.11.27, nope.
I am going to stop for now. I did find that it seems useful to delete the storage BEFORE uninstalling. It's like the next install picks up on the existing memory and just uses it. If you delete that, it starts fresh. Not that it is getting me anywhere. Thanks. Later.
carlscheider said:
OK, after a bit of a search, I found a repository of older versions.
Is this reliable? https://gmail.en.uptodown.com/android/old
I am on 7.7.2 - I see there is even a newer one.
OK, 7.5.21 lasts a little longer - not much.
7.5.7 nope. 7.4.23 , 6.11.27, nope.
I am going to stop for now. I did find that it seems useful to delete the storage BEFORE uninstalling. It's like the next install picks up on the existing memory and just uses it. If you delete that, it starts fresh. Not that it is getting me anywhere. Thanks. Later.
Click to expand...
Click to collapse
Older versions are also available on APKMirror. Not that it matters as it would seem an underlying dependency is missing. Becomes a cat-and-mouse game. Consider using a different mail app or the Gmail web interface.
Davey126 said:
Older versions are also available on APKMirror. Not that it matters as it would seem an underlying dependency is missing. Becomes a cat-and-mouse game. Consider using a different mail app or the Gmail web interface.
Click to expand...
Click to collapse
Damn shame no one these days has built in POP options anymore. I'd take a totally manual interface over an app any day.
---------- Post added at 10:45 AM ---------- Previous post was at 10:42 AM ----------
carlscheider said:
OK, after a bit of a search, I found a repository of older versions.
Is this reliable? https://gmail.en.uptodown.com/android/old
I am on 7.7.2 - I see there is even a newer one.
OK, 7.5.21 lasts a little longer - not much.
7.5.7 nope. 7.4.23 , 6.11.27, nope.
I am going to stop for now. I did find that it seems useful to delete the storage BEFORE uninstalling. It's like the next install picks up on the existing memory and just uses it. If you delete that, it starts fresh. Not that it is getting me anywhere. Thanks. Later.
Click to expand...
Click to collapse
Google is good about putting updates across all versions. If that is the case with Gmail, no older ones will work.
Gmail used to work. I did have it on the tablet a while back. Though I never reinstalled it after I did my first reset.
Davey126 said:
Look to another mail client (many fine options in Play Store) or use web interface.
Click to expand...
Click to collapse
You were right, there are other email apps that are fine... Thanks.
Would having root allow one to give the gmail app the proper permissions?

Categories

Resources