[Q] Log Cut-Off Paths - Greenify

Hi to all.
First of all i would like to greet the developer for such a piece of software.
I've been searching around and can't find a way to log all the wake up paths as they happen.
For example, a few days ago I discovered that Twitter was waken up whenever I recieve an SMS. I didn't cut-off that wake up path at the moment and hibernated the app. Later I tried to cut it but it wasn't there anymore.
I don't know if this feature is implemented (just couldn't find it) but I think it would be nice for Greenify to log whenever an app is awaken by something different than the launcher and keep a DB of it maybe counting the number of events for each one.
Thanks in advance and sorry for my english!
Best regards.

Related

[Q] Beginner questions about contacts

Hi,
firstly, let me introduce myself:
My name is Tony and from my signature and amount of posts, you can see, I am a very active XDA user and used to do a lot of first and second level support for the blueangel and the blackstone and today my SGS2 arrived, which is my first native android phone. As soon, as i figured out all the tiny beginner's questions, i will start supporting this awesome device for all you fellow users out there.
But for now, excuse me, that I have to ask a few stupid questions that I encountered while setting up the device:
1. My phone is set to English (US) and my keyboard and voice input options are set to German (so that writing or voice inputting sms and german addresses are easier). However, Vlingo does not exactly support the dual language and sometimes produces problems when reading out english information, anybody else experiencing mixed language problems there? any advice?
2. i decided to set my up contacts from scratch. i put in all the correct formal names for my contacts, but when i connect these users to their respective facebook accounts (who are sometimes based on nicknames), the display name automatically changes to the facebook name, while i prefer the formal name. is there a way to change it?
3. contacts allow me to add several im accounts, e.g. ICQ. when i click the icq# of a user, it opens up im and states that only windows live, google talk and yahoo are supported. is there a way to either connect that to the official icq for android, or add other messengers to the stock im? if not, why bother inputting all the information, if one cannot use it?
i wonder why nobody else seems to experience problem #2.
i found it again here: http://code.google.com/p/android/issues/detail?id=6067
apparently, when you connect contacts through one or more platforms, like facebook, twitter, last.fm, skype... and there names vary, your contacts app will always prefer the last name with the latest letter in the alphabet. in my case, there is one contact first name r. last name b., but one facebook, he goes by another variation of his name, "zu b.", so contacts prefers the facebook name, as z is greater than b. there is no logical reason why facebook names should be preferred to the phone's own stored name. after all, i entered those names because i wanted to find the contacts by that name. why does the phone tell me, my choices are no good and facebook's are better?
strike issue #1 and #3, i will find a workaround some time, but it would be extremely nice, if someone could check if this contacts issue is present in their device and firmware?
i have ke7 dbt (latest german stock rom).
My nexus one does the same thing. If I sync contacts with Facebook it changes to their Facebook displayed name. I'm still not clear on exactly how it does it too.
i tried several ways of bypassing the issue, starting by assuming the sorting of contacts would be determined by the regular ascii order of letters, or linux's, so i tried renaming every contact to minuscules, so R.B. -> r.b. which didn't help and i wouldn't even bother starting any contact with z or any symbol, as that would render the letter navigation bar on the right useless.
so the only way i could bypass the issue was to sort and display contacts by first name. after many years of windows mobile use i'm having trouble getting used to it but apparently, there is no other way so far.
if anyone else has trouble with this, please go to http://code.google.com/p/android/issues/detail?id=6067 and star the issue and post your experiences.

[Q] Gmail app crops photos from ads etc..

Hi all,
I witnessed an issue regarding all android phones/versions between 2.1-4.2 without any solution, and I couldn't find any thread that talks about it in the proprietary+google search.
The issue: pic's get cropped, and I'm forced to click the "can't view properly? click here" link to the web page.
Here's a screeenshot:
https://docs.google.com/file/d/0B1-naiwBRz1aRlprYWNyUmNWMDA/edit?usp=sharing
The issue isn't for all mails, and there are some mail that can be viewed properly within the Gmail app itself.
I'm currently running the latest Gmail app as you can see with the top nav buttons.
Anyone else experiencing this issue ?
Go into : Menu -Settings - General settings - Auto -fit messages. Check it, and back out. The message should now be entirely seen in the screen. To Zoom in just tap the screen, or use the two finger spread method.
Tried that already...just forgot to mention.
any other ideas?
It's something a bit more complicated than a just a setting or wrong usage.
Other than that, the only other thing I can suggest is to unistall mail. Then reinstall.
TEAM MiK
MikROMs Since 3/13/11
Thanks again for your answer !
Well I've uninstalled the gmail several times when tried the leaked Gmail apps(the first one that supports swipe to archive+pinch to zoom, and obviously the last one who supports the new tabs interface).
I'll just mention it's not a specific problem but cross device and cross android+Gmail versions.
I tried every version of android/gmail combo(forwarding lots of mail to friends etc) but each time they all get the same problem.
The only thing I figured out who kinda gave me an alternative is use the stock mail client and not the gmail one, but in that case I'm loosing lots of the Gmail app functionality.
This is really something that just myself noticed? this is not one mail or a specific sender.
In the OP you mentioned that it does not happen on all your Gmail Email. Is it just from certain People / Companies ?
No, it's usually when I get promotion emails from my bank or some online shopping websites that uses big photos that are basically links.
Moreover, it's always from automated mails BUT I think that's only because I'm not receiving large photos in personal emails.
I would recheck settings. I know sometimes when I'm frustrated, I miss stuff.
TEAM MiK
MikROMs Since 3/13/11
Thanks again for your effort, I'm really certain that I haven't miss an option as every new app version that releases I'm scanning all of the features.
Here's a screen shot of my settings, I've highlighted the only possible option that can affect this, by my understanding:
https://docs.google.com/file/d/0B1-naiwBRz1aSU5od1hmOWtUT3M/edit?usp=sharing
BTW In case that I'm not clear enough with the issue I can forward(if you want to PM me with your mail) you one of those mails, I got lots of them. Of course if it's ok by you...
I'd love to hear any other ideas
bump

Google hidden sync items

Hey guys,
When enabling the hidden sync option in experimental settings, it reveals quite a few new sync items and in wondering what they are and what some of them turn themselves back on when I disable them.
Game Data - this shows up twice.
Credentials State
Google Nearby (I'm assuming this is for maps)
Location Reporting and Location History (I have location completely disabled and location reporting disabled in Google settings... This keeps turning itself back on)
Push Subscriptions
People Details
Any light you can shed on this would be appreciated.
you're not alone wondering
The day I have been looking for an answer myself on this topic you started this thread.
The fine folks over here seem to have been ignoring your post, but so you know you are not alone wondering.
I have been disabling the hidden services for days now and tried to find a pattern or activity that turns them back on to no avail.
Even search engine results seem to be filtered of any useful answer, but this may be just another conspiracy theory...
If you found out more on this, post it here please.
And thanks.
lleo_ said:
The day I have been looking for an answer myself on this topic you started this thread.
The fine folks over here seem to have been ignoring your post, but so you know you are not alone wondering.
I have been disabling the hidden services for days now and tried to find a pattern or activity that turns them back on to no avail.
Even search engine results seem to be filtered of any useful answer, but this may be just another conspiracy theory...
If you found out more on this, post it here please.
And thanks.
Click to expand...
Click to collapse
All of them are self explanatory.
Game data: for games (whether you have them or not) so that your scores are uptodate.
Credentials state: for certificates in your device.
Google nearby: for maps and NFC
Location reporting and history: to keep your location details uptodate
Push subscriptions: to keep your push subscriptions uptodate (like mail Whatsapp etc)
People details: to keep your contacts list uptodate
I don't know why these are not obvious.
Regarding some of them automatically getting re-enabled, I don't have any such issues. If you continue to have these issues, you may have to use something like Myandroidtools or Disable Service etc to keep them under control.
tnsmani said:
All of them are self explanatory.
Game data: for games (whether you have them or not) so that your scores are uptodate.
Credentials state: for certificates in your device.
Google nearby: for maps and NFC
Location reporting and history: to keep your location details uptodate
Push subscriptions: to keep your push subscriptions uptodate (like mail Whatsapp etc)
People details: to keep your contacts list uptodate
I don't know why these are not obvious.
Regarding some of them automatically getting re-enabled, I don't have any such issues. If you continue to have these issues, you may have to use something like Myandroidtools or Disable Service etc to keep them under control.
Click to expand...
Click to collapse
Really thanks for your reply.
The visible items are self-explanatory indeed. As the OP reported, what is troubling why is there a hidden "location reporting and location history" sync option and why does it get re-enabled after being turned off. I also do not use any location service and turned off everything I could on my CM11 on Nexus 5
Can you tell which service do you suggest to be disabled to keep the "location reporting and location history" sync disabled?
lleo_ said:
Really thanks for your reply.
The visible items are self-explanatory indeed. As the OP reported, what is troubling why is there a hidden "location reporting and location history" sync option and why does it get re-enabled after being turned off. I also do not use any location service and turned off everything I could on my CM11 on Nexus 5
Can you tell which service do you suggest to be disabled to keep the "location reporting and location history" sync disabled?
Click to expand...
Click to collapse
I am not familiar with CM11 so I can't tell you any options in that. Also in my Nexus 4 and 7 with stock KK 4.4.4, I don't have a hidden sync for location.
If you use Myandroidtools or Disable Service, then disable anything connected with location. There are quite a few.
If you run Tasker you can make sure your sync settings stay put; location reporting isn't re-enabled, by using the Synker plugin for Tasker and having it set things how you want them at Display On, Display Off, and Screen Unlocked events.
Additionally, Shazam has a hidden sync that re-enabled itself when you run the app. I just use a Task shortcut: Launch Shazam
Wait Short period
Plugins-> Synker, and set it with the autisyncs you want.
Beware that Google services pushed to the phone can change the number of sync options, as can installing Shazam or Skype for examples, and the calls to plugin need to be adjusted. Its less hassle than it sounds.
Hi im facing an issue with google sync, im not able to get the game data sync option in google sync. i have updated google play services,play store..and also play games. kindly help me if know any solution.
I am currently running on cm11 rc3...it was working before..now its not...
il hit the thanks button guys..
srinikethan1392 said:
Hi im facing an issue with google sync, im not able to get the game data sync option in google sync. i have updated google play services,play store..and also play games. kindly help me if know any solution.
I am currently running on cm11 rc3...it was working before..now its not...
il hit the thanks button guys..
Click to expand...
Click to collapse
If you have disabled any sync option with DisableService or MyAndroidTools etc re-enable them.
CM's constant revision sometimes changes things unexpectedly. So try with a previous version of CM.
tnsmani said:
If you have disabled any sync option with DisableService or MyAndroidTools etc re-enable them.
CM's constant revision sometimes changes things unexpectedly. So try with a previous version of CM.
Click to expand...
Click to collapse
Hi,thanks for the reply...i finally solved it....
srinikethan1392 said:
Hi,thanks for the reply...i finally solved it....
Click to expand...
Click to collapse
How?
tnsmani said:
How?
Click to expand...
Click to collapse
Hey after flashing and updating the gapps..check in settings..in sync....if it stills hasnt appeared. use greenify and hibernate the google play services. then just restart your phone(Not necessary, sometimes it just works)then checck...the sync for game data and other hidden sync items just appear...
Press thanks if helped
They are spying on you. These HIDDEN accounts are there and the sheep who use stock android can't see them because they are HIDDEN in stock Android. They keep adding themselves back, they check themselves even if you unckeck them, they sync things you tell them not to sync, and it's NOT because you update something as I have not updated Cyanogenmod from 4.4 and it happens every time I start my tablet. Google will keep spying and can care less if its illegal to keep syncing things you don't want to sync because Google owns the US government. Google saved HHS when ACH Website failed, they have imbedded themselves so far into the government they are like a cancer that can't be removed. The US Gov "lent" Google GeoSat, one of our SPY satellites to make Google Earth, something that cost tax payers a lot of money. Google may provide Google Earth for free but they STEAL your personal information when you use the service, which means Google got free use of a US Government, taxpayer owned, SPY satellite so they could make more money for their private (not government run) company. Google gets free & subsidized aircraft fuel from NASA for their fleet of Attack Jets (IE fighter planes) also subsidized by WE THE PEOPLE. I am not some conspiracy theorist; I have worked for both sides of the isle on this one and can tell you Google is a problem.
Let's be honest, XDA has turned into a bunch of fanboys; it's not the site we had years ago. I have been fighting this crap for years (Look at my post history) and if you have not figured out yet, most of us who cared about privacy left XDA years ago. This is why no one is responding here; no one left cares. You are very correct, Google Play Services is MALWARE in disguise. I am not a crApple lover at all, and still use Android (for now), but am sick of Google's crap. I ported out my Google Voice number today and now have very little left to do with the company.
Google services is a framework that GApps and most stuff downloaded from the Play Store rely on to function. It used to be you can disable it and still have apps work, but a lot of them now wont even load if its removed or disabled. Google says its a way for app devs to take shortcuts, but it's there for one reason: Make App Devs LAZY so they they use Google's SPYWARE. App Devs (even most paid ones) don't give a crap about your privacy; most are adding ad code so they can steal your personal information. Google loves this as it opens up your device to have everything stolen, by not only Google but 3rd parties. Why do you think Google removed the ability to block app permissions then claimed it was a dev only feature? Google could care less about your privacy.
I sent the three main Google guys (@Google email not @gmail... Yes I know the Google Guys Real Emails) a project proposal from the company I own two years ago; they [legal, but Shady] stole the idea and nine months later made the announcement that in a few months they would be starting on Android Auto. My SMS messages going through Google Voice started to have issues shortly after with anything concerning to business coming in slow or didn't arrive at all, my Google+ posts were blocked for unknown reasons just saying they "didn't fit the community guidelines", and my Camera/Mic was constantly pushing popups saying they "couldn't start as they were already active" when I tried to use them on my Android Devices. I don't know why it's so hard for these sheep to believe a $500 Bil company, one of the most powerful in the world, wouldn't be spying on competitors or even stealing ideas from the community. I wouldn't be shocked if these creepy elite weirdo's havn't come up with their own version of "unReality TV" where they just spy on regular people like watching a television show. They are creepy vampires, all of them. I have had dating emails sent to gmail from the dating site I use not arrive despite the company I use tracking down the emails and saying they made it to gmail servers and thus should have gone through, client emails be delayed until after project deadlines, phone calls not make it, SMS/MMS delayed and/or lost, etc. I have people telling me they emailed or called me without reply, etc. My PC is virus free and My Android Tablet is as well. I now use a dumb phone and forward everything to that number, which no shock the dumb phone works when people call, but anything that goes through Google servers is still hit or miss. No one I know has these problems, but no one I know has called Eric Schmidt some foul names, so I guess people will say "it's my fault". Whatever; you just didn't get robbed several billion on a project by a garbage greedy scumbag company.
Screw Google.
I have attached a little of what I am talking about because the net is filled with BS. The I had to block out a lot of the proposal email as they only stole part of the idea so far and this was my SECOND email. The first one has some how gone missing from my sent box, but had a DOC attachment with a formal business proposal. That went through, but as you can see from the screen shots, Eric Schmidt has now blocked me with a policy rule on his email. Again, they received the original proposal back in January of 2014, before this screen shot of the second correspondence, after which they started blocking my Google+ Posts and when I send this second correspondence email I found out I was blocked by Eric. Nice! Steal my ideas, try and cover up email (missed one! OOPS!) then block me! Google "Does No Evil!" Oh wait, Google is nothing more than an advertising agency pretending to be a tech company... I guess thats where we get the lies "Do no evil". Everyone knows advertising lies.
Amen!
Unfortunately any resistance is futile. I'm in the same boat.
tnsmani said:
All of them are self explanatory.
Game data: for games (whether you have them or not) so that your scores are uptodate.
Credentials state: for certificates in your device.
Google nearby: for maps and NFC
Location reporting and history: to keep your location details uptodate
Push subscriptions: to keep your push subscriptions uptodate (like mail Whatsapp etc)
People details: to keep your contacts list uptodate
I don't know why these are not obvious.
Regarding some of them automatically getting re-enabled, I don't have any such issues. If you continue to have these issues, you may have to use something like Myandroidtools or Disable Service etc to keep them under control.
Click to expand...
Click to collapse
This helped already a lot !!!
Can someone please additionally explain those. As I translated them ... please write the correct name too ....
- *reminders (which ? cant be calender reminders)
- *offline sync of login data
- *state of login data
Where do u see the hidden sync items ? I am unable to find them.
dhananjay123 said:
Where do u see the hidden sync items ? I am unable to find them.
Click to expand...
Click to collapse
If you have enabled the option in Greenify, go to DEVICE>SETTINGS>ACCOUNTS>Google
can we disable/remove/delete them?
patrickdrd said:
can we disable/remove/delete them?
Click to expand...
Click to collapse
Can disable (although some reenable themselves)
how? my androidtools?
patrickdrd said:
how? my androidtools?
Click to expand...
Click to collapse
After enabling option in Greenify head to accounts in settings.

Questions on Doze and apps not working properly

I have a dual sim Sony Z5 running Android 6.0.1, but I am posting here because my question should be generic and not Sony-specific.
I have been doing lots of reading online, but cannot find the answer to these very basic questions:
When exactly does Doze kick in? Some sites say after 1 hour, some say after 3 or more, and Android’s website only says “after a period of time” (https://developer.android.com/training/monitoring-device-state/doze-standby.html ). Isn’t there any official documentation on this?
After a device enters Doze mode, how often does the system exit Doze and for how long? The previous link only says: Periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network. Again, isn’t there any official documentation on this?
Is there a way to monitor when the phone was in Doze and when in a maintenance windows
I want 3 apps to continue functioning normally even in Doze mode: whatsapp, k9 mail (on which I use imap idle for push email to my private email address), and Good Work (now owned by Blackberry) to connect to my company’s Exchange server and retrieve work emails etc. How can I achieve this? Is it documented anywhere if these apps issue the high priority GCM messages that Doze expects? I have excluded these apps from the battery optimization settings, yet I have been experiencing erratic behaviour (sometimes they sync, sometimes they don’t) when I leave the phone on a desk, connected to wifi (with keep wifi on during sleep set to always).
I am open to considering another email client which supports imap idle (as long as it doesn’t store my data and passwords on its servers (like Type App / Blue mail do), but I cannot replace Good Work with anything else as that is the only app which my employer allows to connect to its network.
Incidentally, I didn’t want Marshmallows on my phone, also because I believe Sony’s Stamina is more transparent and efficient (http://www.xda-developers.com/sonys-stamina-mode-did-it-first/ ); I was hoping my phone would ship with Lollipop, but unfortunately it came with Marshamllows. Ah, I cannot root because otherwise Good Work wouldn’t work.
This lack of transparency is a step in the wrong direction; Google is behaving like Apple in telling us not to worry our pretty little heads, but Google doesn't always know best! Apps which rely on push notifications may not work unless developers rewrite them, and there is no way to disable doze. it's crazy!
cdl2 said:
I
Is there a way to monitor when the phone was in Doze and when in a maintenance windows [...] ?
Click to expand...
Click to collapse
I have found that the GSAM battery app tracks it: https://play.google.com/store/apps/details?id=com.gsamlabs.bbm&hl=en_GB ( charts --> other).
I haven't found a way to monitor it from Android's system - not on my sony Z5, at least.
No one knows?
Anyway, this partial solution works for me: http://androidforums.com/threads/ma...x-is-preventing-doze-with-macrodroid.1058445/
It's about using MacroDroid to wake up the phone every 45 minutes, thus prveenting Doze mode from kicking in at all. Battery usage is acceptable (1% /hour with two push emails on)
No updates? Am I the only one who cares about push email not working?
cdl2 said:
No updates? Am I the only one who cares about push email not working?
Click to expand...
Click to collapse
Go to settings then go to power manager(in my phone) and click on battery optimization and select apps that you want to run in doze mode and select don't optimized.
I hope it solved your problem.
No, it does not. Android's official documentation explains that whitelisting is effectively useless, because 'other restrictions still apply' :
https://developer.android.com/train...doze-standby.html#support_for_other_use_cases
I have tried, and imap idle with k9 mail does not work when my Sony z5 is in doze, despite the whitelisting

Is there a way to get push email to work with Doze?

The doze mode introduced with Marshmallows breaks push email because email apps will no longer check for email when the phone is in doze. You can exempt apps from battery optimisation, but the exemption is only partial (read: useless). With Nougat it's even worse because Doze has become more aggressive.
My mailbox is on an imap server and I use imap idle for push (no, Apple fanboys, that's no battery drain).
AFAIK the only things which can wake a phone from Doze are phone call, sms messages, and high-priority google cloud messaging (or whatever they're called now) notifications.
Whatsapp, for example, relies on high-priority GCM notifications, and does wake phones up from Doze
There are some mail apps which rely on GCM notifications, but none which sends high-priority notifications - leaving aside the fact that I prefer imap idle because I don't like the idea of having a third-party server, which I somehow have to pay for, with access to my emails...
My question is: how on Earth are we supposed to get push email when the phone is in the doze? Or has google effectively decided that Android will no longer support real push email?
Rooting is not an option because the app I use to read my work email (Good by Blackberry) does not work on rooted devices.
Thanks!
PS Details of doze breaking push email are on another forum: http://androidforums.com/threads/mar...droid.1058445/
Anyone? yes, I know it's an old question, but it's still valid! Am I the only user for whom not having push email is an issue? I can live without getting instant notification of my private email, but work email is a different thing and I have had multiple situations where this has caused problems.
cdl2 said:
Anyone? yes, I know it's an old question, but it's still valid! Am I the only user for whom not having push email is an issue? I can live without getting instant notification of my private email, but work email is a different thing and I have had multiple situations where this has caused problems.
Click to expand...
Click to collapse
Try typeapp maybe. Works for me without whitelisting it
Are you sure it works when the device is in Doze? I ask because Google documentation explains very clearly
https://developer.android.com/training/monitoring-device-state/doze-standby
that whitelisting is only a partial exemption, and that the one and only way to be sure the device receives notifications when in Doze is to use high-priority FCM notifications.
Last I checked, typemail was using normal-priority FCM. has this changed?
To test it, you can force the app into doze by using adb:
adb shell dumpsys deviceidle force-idle
now send an email to yourself from your PC or another phone. Do you get a notification? If you do, typeapp uses high-priority FCM. if you don't, it doesn't, and there seems to be no way around it, because Google has decided to kill push email without providing a ******* alternative!!!
To exit doze and reactivate the phone:
adb shell dumpsys deviceidle unforce
adb shell dumpsys battery reset
A counter-test is to send yourself an email when the phone is not in doze - you should receive an immediate notification.
When talking about Doze, the most common mistakes are:
not understanding that whitelisting is only a partial exemption
mistakenly thinking that you are getting notifications despite doze, when, in fact, either doze hasn't kicked in, or you are getting them in the windows allowed by Doze (no push)
By the way, my key problem is with work email; I can live with private email not being delivered immediately, but work email is a different story!
You might also want to look at these two links about privacy:
https://mobilsicher.de/security-des...d-other-email-apps-transmit-login-credentials
https://androidforums.com/threads/email-which-apps-keep-it-private.935578/
Never heard of any email app using any information in a bad way, especially big ones like typeapp. Even if info is sent to their servers they plainly say they don't store it and even if they do, they can't use it for anything without implicating themselves.
Also first link includes misspellings in the header lmao. I wouldn't trust everything you read, you'll end up in a bubble.
As far as notifications from typeapp, they come through relentlessly if not turned off, dunno if it's preventing the doze somehow but it works well on my quarks running RR Oreo. Try it and do your own tests
Mrpookie said:
Never heard of any email app using any information in a bad way, especially big ones like typeapp. Even if info is sent to their servers they plainly say they don't store it and even if they do, they can't use it for anything without implicating themselves.
Also first link includes misspellings in the header lmao. I wouldn't trust everything you read, you'll end up in a bubble.
As far as notifications from typeapp, they come through relentlessly if not turned off, dunno if it's preventing the doze somehow but it works well on my quarks running RR Oreo. Try it and do your own tests
Click to expand...
Click to collapse
As for typeapp, what leaves me confused is that its documentation talks about whitelisting it in the battery settings. However, even though 99% of Android users fail to understand this, whitelisting is only a very partial exemption. You don’t need to whitelist Whatsapp in order to receive messages even while in Doze. Why? Because Whatsapp uses high-priority FCM notifications. Hence I suspect Typeapp does NOT use high-priority FCM. I have emailed them this question.
It’s very unfortunate that it’s now become very hard to get real push email; we have gone backwards since the early days of mobile devices! Also, Google forcing FCM down our throat means going back to a BIS/BES kind of solution, which was wildly criticised for being a single point of failure. But, most incredibly, AFAIK there is no email client that uses high-priority FCM, so Google is effectively saying: you can have push whatsapp but not push email! The crazy thing is that this was done because too many apps were misbehaving and connecting too often, not because there is anything wrong with push email – imap idle used to work brilliantly, without draining battery.
It has also become very hard to test for push in Doze: many manufacturers add their own app-killing optimisation tool, so the app must be whitelisted there, too. Also, it is never clear when a phone is in Doze, or if it is in a maintenance window: you may think you are getting emails, but you are only getting them because the phone is in a maintenance window, and the next email you might not see for 2 hours!
I have never heard of any email app using private data in a particular bad way, either, it’s just that the concept of giving access to my email to some server of some unknown company makes me uneasy. I don’t even use gmail for this reason, preferring to pay for my own email! The apps listed in my second link (k9 mail, aquamail etc) download mail from the server to the app and the developers of the app have no access whatsoever to my mail. For example, there have been cases of developers of email clients letting their employees read emails to “train the software”
https://www.cnet.com/news/third-party-gmail-apps-reportedly-let-employees-read-peoples-emails/
https://www.macrumors.com/2018/07/02/third-party-email-apps-reading-user-emails/
I understand many people don’t care; these things are very subjective and I have zero interest in convincing anyone – I am just explaining why I’d rather avoid this kind of email clients, unless maybe it’s the one and only way to get real push with Android Doze.
cdl2 said:
As for typeapp, what leaves me confused is that its documentation talks about whitelisting it in the battery settings. However, even though 99% of Android users fail to understand this, whitelisting is only a very partial exemption. You don’t need to whitelist Whatsapp in order to receive messages even while in Doze. Why? Because Whatsapp uses high-priority FCM notifications. Hence I suspect Typeapp does NOT use high-priority FCM. I have emailed them this question.
It’s very unfortunate that it’s now become very hard to get real push email; we have gone backwards since the early days of mobile devices! Also, Google forcing FCM down our throat means going back to a BIS/BES kind of solution, which was wildly criticised for being a single point of failure. But, most incredibly, AFAIK there is no email client that uses high-priority FCM, so Google is effectively saying: you can have push whatsapp but not push email! The crazy thing is that this was done because too many apps were misbehaving and connecting too often, not because there is anything wrong with push email – imap idle used to work brilliantly, without draining battery.
It has also become very hard to test for push in Doze: many manufacturers add their own app-killing optimisation tool, so the app must be whitelisted there, too. Also, it is never clear when a phone is in Doze, or if it is in a maintenance window: you may think you are getting emails, but you are only getting them because the phone is in a maintenance window, and the next email you might not see for 2 hours!
I have never heard of any email app using private data in a particular bad way, either, it’s just that the concept of giving access to my email to some server of some unknown company makes me uneasy. I don’t even use gmail for this reason, preferring to pay for my own email! The apps listed in my second link (k9 mail, aquamail etc) download mail from the server to the app and the developers of the app have no access whatsoever to my mail. For example, there have been cases of developers of email clients letting their employees read emails to “train the software”
https://www.cnet.com/news/third-party-gmail-apps-reportedly-let-employees-read-peoples-emails/
https://www.macrumors.com/2018/07/02/third-party-email-apps-reading-user-emails/
I understand many people don’t care; these things are very subjective and I have zero interest in convincing anyone – I am just explaining why I’d rather avoid this kind of email clients, unless maybe it’s the one and only way to get real push with Android Doze.
Click to expand...
Click to collapse
Dud... I'm not reading all that, lol
Why not try typeapp itself with a non important or dummy email and see. It could be something with my device or ROM causing it to come through but I think it may work for you.
Quick question: is it possible to get typeapp to retrieve mail from the inbox folder immediately (push), but to also retrieve mail from another folder every 4 hours or so? This is the setup I had with Aquamail and K9mail. I ask because I have a 'newsletter' folder where all the newsletters, notifications and non-urgent stuff gets filtered (server-side). I am testing typeapp but haven't found a way to do this.
cdl2 said:
Quick question: is it possible to get typeapp to retrieve mail from the inbox folder immediately (push), but to also retrieve mail from another folder every 4 hours or so? This is the setup I had with Aquamail and K9mail. I ask because I have a 'newsletter' folder where all the newsletters, notifications and non-urgent stuff gets filtered (server-side). I am testing typeapp but haven't found a way to do this.
Click to expand...
Click to collapse
Not sure abt other folders. I know you can set it up that way for different e-mails. Maybe there's a way to make a rule for such a thing. If I discover a way I will post here
Edit- does not appear to be a way to do this using typeapp alone. Maybe another email program could be in fetch mode on that folder and you could set typeapp to push and notifications enabled for certain contacts or something of the like.
You could always contact support and ask if it could be done or put in a feature request. That is a good idea and would be useful to many
Another idea: depending on the email client you use, you may be able to set up a rule to forward those emails you want in fetch mode to a dummy email, then set that email in fetch mode within typeapp
Nothing special about TypeApp in terms of quick notifications when in Doze. I left my phone unattended for 20 minutes then sent a test email and it took over 40 minutes to get the notification. Samsung Email got it first at 28 minutes and BlueMail / TypeApp got it around 42 minutes. This is without touching the phone. This is with Batttery Optimization OFF, Adaptive Battery OFF, Put unused apps to Sleep OFF. Note 10+ Factory Unlocked Android 11 One UI 3.1
Edison Mail sends INSTANT notifications even if your phone's been sleeping for hours, but I hate their GUI, let alone their privacy policy.
Will this ADB command stick after reboot?
Code:
adb shell dumpsys deviceidle unforce

Categories

Resources