Ok everyone, I know there are a fair number of us out there that have rules setup in Exchange to redirect emails from certain people to folders. The problem with this is that will stop us from getting notifications on our phones (NOTE: I am not referring to syncing those folders. Obviously they need to be synced but the issue was that even with them synced you do not receive a notification when an email arrives in the folder even though it did sync properly). I was shocked when 4.4 came out and this issue hadnt been addressed. However as per the official issue on the android code site a user found out an incredibly easy way to make it work! It appears it is built-in by Google they just chose not to enable the feature.
See this post: https://code.google.com/p/android/issues/detail?id=50188#c59
I wasnt sure where to post this as it should work for any phone running the new email app in 4.4 but I didnt want to create a thread in each phone forum.
Here are some directions that may be a bit clearer than the original comment above.
NOTE: I used Root Explorer (paid version) for this
- Go to your email database folder. Located at: /data/data/com.android.email/databases
- Click on the "EmailProvider.db" file (open in Internal Viewer)
- Choose "Mailbox" from the list
- From this list write down the corresponding "serverId" of each folder that you want to have notifications on
- Convert those numbers to Base64 using the following tool: http://www.motobit.com/util/base64-decoder-encoder.asp (note that you will remove any "=" signs after your number)
- Now go back a folder to: /data/data/com.android.email/shared_prefs
- Now find a currently syncing folder from that same account (i.e. likely labelled: Folder-<ACCOUNT NAME>-<BASE64STRING).xml) So as an example lets say [email protected]. In that example the folder with serverId "5" is being synced. In this case its the "Inbox" folder of that account
- Long press on that file and choose "Copy" and then copy it back to the same directory
- Rename your newly copied file changing JUST the BASE64STRING part to the one that matches the folder you want to sync
- Reboot phone and enjoy!
I guess I should post them in some of the phone forums... there was a big thread somewhere I remember posting in at some point
Thanks for writing out these instructions! Glad to see there's a workaround -- this one little issue has driven me nuts for forever!
Just for reference, there is a thread I've followed for quite some time that's been focused on this issue, but it's buried in a Galaxy S II forum, so I think it could be easy to miss. They seem to be on to the same solution you posted here: http://forum.xda-developers.com/showthread.php?p=48140770#post48140770
EDIT: Actually, just noticed the XDA post I linked to is word-for-word the same as the Android Issue Tracker post you reference, so that's the same guy providing the solution. Small world.
Just an FYI that even in gmail 5.0 this issue still exists and is still easily fixed by adding the file as above (different folder now though). Apparently making this an option is beyond Google's ability
Have the same problem.
The real path to DB is:
/data/data/com.google.android.gm/databases/EmailProvider.db
Shared prefs:
/data/data/com.google.android.gm/shared_prefs
And the manual instructions at the first post of this topic didn't helped me.
I have OnePlus 3T A3003 with Oxygen OS 4.1.3 (beta7) (Android 7.1.1) and Gmail version 7.4.23.154506495.release.
Anyone have any ideas?
Related
Did a search, so sorry if I missed it. But, a couple of questions.
1) If you have root, is it possible to download and save PDF and Word files that come in on POP3 (or even gmail) email?
2) Otherwise, does anyone know the phone folder where these files are temporarily store while on the phone, and can they be accessed that way?
I spend a lot of time overseas, and going back and forth to the web to retrieve is a pain and expensive. Thanks
Forget it, I solved the issue.
Informing use how you solved the issue might help others
I'd be really interested in how you managed this, I've searched here, and Googled everywhere (almost). But I still haven't found what I'm looking for...
Mikey1022 said:
Informing use how you solved the issue might help others
Click to expand...
Click to collapse
lol...gotta love these types of posts right?
I'm able to save attachments like this using k-9 mail., for those interested
Sorry to go AWOL -- had to leave the country for a bit. My apologies.
Yeah, I also "solved" it by using K9. But, I find the program very buggie.
On a larger, related question, how does the Android platform make its file associations? In other words, when I receive an email attachment (with the stock app), it will allow me to download and save that attachment to my SD card only if there is an onboard, associated program. I can download .jpg, because Android has an application built in that will read a jpg. So, if I want to download a .doc file, I can't unless there is an appropriate app onboard. (Although k9 seems to have found a way). Where, in the Android platform, is this association made? And, is it possible (with a rooted phone) to somehow manipulate those associations to allow downloading of ANY (or a chosen few) files?
For instance, I find that if I change the file extension on a Word doc (for example) from "doc" to "jpg", my onboard email will allow me to download and save to SD card. So, it obviously CAN do it, what's stopping it?
Again, sorry for "skipping out" in the midst of a thread.
Download Crutch Lite in the market allows you to download any file by making Android believe it can open any filetype.
Theres a app called download crutch on the market that allows downloading of files that may not have associated applications. Not exactly sure what file types it supports but its worth a shot.
EDIT: Fushichou got it before me but heres a link to Cyrket http://www.cyrket.com/search?q=download+crutch
Thanks, but my experience is that Crutch will not work on email attachments. It seems to be an internet based device. I used it for a while. Partially, this is a kind of tech question -- how are the files associated?
When I sync a contact with my facebook account, it downloads a picture from facebook (if i choose that). This is a great functionality, however, it overlays a facebook icon in the bottom left of the contact picture. Is there any way to remove the facebook icon?
Since Windows\FBContacts has the picture without the icon, it must be sense that adds them. Also, SPB Mobile Shell doesn't have the icon.
I scoured the registry and found basically nothing:
HKLM\Software\HTC\HTCMsgEnhance\SupportFacebookIcon
and
HKLM\Software\HTC\HTCMsgEnhance\UseContactAgent
I thought disabling this would help, but it doesn't.
Also, sorry if this has been posted somewhere, i searched but hits for facebook were too many.
Thanks in advance.
I'm sad to say that this little icon is hidden somewhere within the Sense Code, not in the registry.
It may be possible to remove it, but I am no HTC Sense Developer, though there are plenty of them here.
I'd suggest PM'ing meltwater, in my personal opinion, and be sure to tell him that I directed you to him.
that's uncool. But thanks for the info.
I'll just pm him with a link too this thread.
Agent Zach said:
I'm sad to say that this little icon is hidden somewhere within the Sense Code, not in the registry.
It may be possible to remove it, but I am no HTC Sense Developer, though there are plenty of them here.
I'd suggest PM'ing meltwater, in my personal opinion, and be sure to tell him that I directed you to him.
Click to expand...
Click to collapse
Zach is right, it is the sense code which overlays the icon, you can see it happening quite often on the facebook tab.
By the way, the pictures are stored \windows\FBContacts, as it happens working with them at the moment. There's two keys which refer to this location, but interested if they would move the location for fb, not had chance to test.
Back to topic, the overlay will occur in many many places in the sense code, and no reg key is checked in the code (at least not in the sections I've seen) so removing would be a pain. HOWEVER...if you find the icon file used, you can replace it with a totally transparent one and that should do it.
Using the manila kitchen and the m9editor you can browse all the xxxxxxxx_manila files and see all the image files (QTC).
3c71439c_manila icon_facebook_indicator.qtc <-my best guess
66c2d17a_manila icon_facebook_indicator.qtc <-my best guess
5cdf5850_manila facebook_icon_small.qtc <-maybe
0c6d0e94_manila icon_holder.qtc appears to be transparent, might work if you replace the fb icon with that (just copy and rename).
It should work in theory. Have fun!
So, here's a simple solution:
1.) Start Menu
2.) File Explorer
3.) Windows
4.) FBContacts
5.) Copy ALL of the pictures
6.) Paste pictures in another location
7.) Manually set the Contact Pics with the recently moved images
The icon will no longer be visible.
[Yes this is a tedious method, and may take some time to set all of the Contact Pics manually, but hey, the Facebook Icon is gone! ]
Thanks to both of you.
However im not going to use method 2, as it takes way too long.
I'm also new to Cooking, since i got my hd2 a few weeks ago.
Is there a FAQ/Newbies thread i could refer to? Or if not do you think you could post up a 5 minute summary of how to do stuff? i can figure things out pretty quickly but i need some guidelines (is the kitchen a PC app? If so , and i export my ROM, i have to flash it, loosing all my contacts etc?)
surgency said:
Thanks to both of you.
However im not going to use method 2, as it takes way too long.
I'm also new to Cooking, since i got my hd2 a few weeks ago.
Is there a FAQ/Newbies thread i could refer to? Or if not do you think you could post up a 5 minute summary of how to do stuff? i can figure things out pretty quickly but i need some guidelines (is the kitchen a PC app? If so , and i export my ROM, i have to flash it, loosing all my contacts etc?)
Click to expand...
Click to collapse
Have a look through my tutorials may give you a clue.
But you should just be able to replace the files in your windows dir as mentioned (enable your file manager to see system/hidden files). The manila kitchen and the m9editor are the tools I use to look at the files and to find the icons you needed, so hopefully you won't need to do that now.
EDIT: I'm guessing that worked...
Another facebook icon files
I've found another png files in windows directory, which include facebook icons:
FB_Icon_Ph_L.png
FB_Icon_S.png
These files are marked as Read Only and ROM so I can't change or remove them... Using HD2, ROM Elegancia v9.0 WWE
Montsko said:
I've found another png files in windows directory, which include facebook icons:
FB_Icon_Ph_L.png
FB_Icon_S.png
These files are marked as Read Only and ROM so I can't change or remove them... Using HD2, ROM Elegancia v9.0 WWE
Click to expand...
Click to collapse
I'm guessing those files are used by the Microsoft facebook application, sense doesn't often refer to png files directly.
The above files are the most likely ones, since surgency didn't ask for more help, I'm guessing they were the files required.
Not sure if this is the right forum for this post, but here goes...
I've been using SugarSync for a few months now to see if it works for me the way I need. Now, after flashing a couple ROMs (and reformatting my SD card) for experimentation, I find that the SS website is listing two instances of my Inspire, one has a folder structure and synchronized files, the other does not have anything listed at all.
Unfortunately their system does not delete devices, but merely moves them into a 'recycle' area, so that you can reinstate them later. That's not what I want to do at this point, I'd rather start over "from scratch" by completely purging the two devices and adding my phone.
The reason I want to purge and begin over again is that when I tried to 'restore' my device, I wound up with duplicate pictures, and they were placed in a different path in a folder that was not the original - IOW, instead of using the DCIM/100MEDIA folder, SS was placing the synchronized pictures in the 'My Sugarsync Folders' directory.
Anyway, I have made two attempts at email support and one post on their forum, but none of these attempts have received any response.
Wondering if any of you guys have had this happen to you, and what the solution might be.
Nobody else is experiencing this problem?
Okay, well today, I picked up a new HTC One X. First impressions were pretty good, and I have to say that as of yet, it's looking like it's a pretty good handset.
However; there's one thing about it that really bugs me. SMS messages apparently force you to use these utterly horrific smileys. I was never a fan of the old android icons that occasionally popped up, but these icons are just plain god-awful. Is there any way of disabling them?
(To be honest, I'd much prefer just to have your standard ASCII faces... Not to mention, if you happen to need to send a message that just happens to have the characters in that order, I'd rather not have badly made face icons appearing in the middle of it..)
bump. I can't believe htc require you to install a 3rd-party sms app in order to be able to get rid of emoticons. I'm a 40-yr old man, I don't want to see a crappy cartoon face in my text messages...
thanks for this nice q
3lliot said:
bump. I can't believe htc require you to install a 3rd-party sms app in order to be able to get rid of emoticons. I'm a 40-yr old man, I don't want to see a crappy cartoon face in my text messages...
Click to expand...
Click to collapse
My thoughts exactly... Not to mention, they're so badly designed that I spend more time working out what emotion they're actually supposed to convey, rather than reading the actual message...
Seems slightly out of place, too. The rest of the UI is nice and clean, fairly sleek looking - then you have these ridiculous cartoon faces slapped accross all of your texts..
I'm going to go ahead and bring this thread back from the dead.
Last time I tired to fix this by modifying my framework files and ended up soft-bricking my phone.
There's got to be a better way.
bump?
Untested Solution
EDIT: I looked more into it, and it gets pretty complicated. According to a StackExchange post I found (link in the attached .txt file), you can go through a process to retrieve the source code from the original .apk file BUT it requires the classes.dex file to be intact. That means you have to de-odex the Message+Nonprime.odex file, "re-dex" it into classes.dex, and add it to the Message+Nonprime.apk archive (can simply change the extension to .zip and add the file before continuing the linked steps).
After following all of those steps, I ended up with the source code and readable XML files. Unfortunately, trying to open them in Eclipse does not work, as I'm apparently missing key HTC resources (or I just don't know where the resources files should be pointing). I was hoping for the ability to just change the name across any necessary files, then repackage, but it doesn't seem to work like this.
I've also tried taking the original APK, adding the .dex file (created from the .odex -> files/folders -> dex process) inside, and signing the package (after deleting the META-INF folder containing HTC's signed information). I was hoping that signing the package after renaming it to Message2.0.apk would allow me to install it as a user application (I don't have root or the ability to change the bootloader to overwrite system applications, due to the 4.2.2 update) but the install always fails since "the application is already installed." If I knew how to modify the files within classes.dex properly, I'm sure I could rename the entire package and create a "New" application, but for now I've hit a brick wall. Hopefully if anyone reads this they can build on my failed attempts.
======================================================
======================================================
I stumbled on this (admittedly old) thread, and I don't know if anyone cares, but I've figured out what seems to be key in disabling smiley images from appearing. Below is the information of the phone I'm working with:
Phone Model Number: HTC One X
Android Version: 4.2.2
HTC Sense Version: 5.0
Software number: 5.18.502.1
HTC SDK API level: 5.41
Android uses "SmileyParser" to watch for certain key combinations and replace them with preset images. The theory is that by changing the strings SmilelyParser checks, it won't ever find a match, and they won't be replaced.
I found the Message application under /system/app/Message+Nonprime.apk. HTC's Message application utilizes Android's android.com.mms but has custom functionality/themes (I'm assuming)
Using ADB (Android SDK tool to browse filestructure), I used "adb pull [source] [local]" to copy the .apk and .odex files
I used "smali-#-#-#.jar" and "baksmali-#-#-#.jar" to convert the .odex file
The output of the tool gives a file structure with editable files. I navigated to com/android/mms/util/
In this folder, there are two key files: SmileyParser.smali, and SmileyParserOne.smali. I believe the "One" version may be modified to work with HTC One phones, but I'm not 100% sure (content looks similar)
I opened each file with Notepad++ and found "const string" references with the text version of an emoticon. The code seems to match those with "aput objects" but I don't know 100%
I modified each string (within the quotes) by just adding an 'x' to hopefully thwart the string match. Basically, the phone should wait until x or x is fully matched before replacing the smiley
I'll note again, I did the EXACT same process in both .smali files I mentioned, and I touched ABSOLUTELY NOTHING ELSE. There's no telling what you'll break if those don't compile correctly (which is why I also avoided adding a longer string, in case memory allocation issues cropped up)
I then repackaged the entire output I created into a new .odex file
Now, here's where things get tricky. I don't have a rooted phone, so I can't actually replace the .odex inside of the /system/app folder. I may work on testing on my phone (but I don't get a lot of time and really would not like to brick it), but I'm worried since I'm running a very recently updated Sense version (and there may not be reliable root processes, I have no idea).
If anyone has a rooted HTC One X (check above for the exact software version I have) that would like to try out the modified .odex file (apk is mostly UI/theme, .odex contains the actual programming logic) I am providing the .zip containing the apk and odex files. I've also tried installing the apk+odex with "adb install X/X.apk" but the application has a name buried in the structure (probably everywhere) and I have no idea how to rename it everywhere that's required.
If someone knows how to take a package and re-compile it with a new name, I could potentially re-install "Message 2.0" as a user app without any root privileges required. That's another option I'm looking into (since I'd really rather not root and potentially lose my stored data).
The same problem is still occurring in 2018. I would try your solution, but it's outdated. I'll have to dive in and edit the files myself if a solution isn't found. Although, in that case, I would probably match something further from the x, preferably with 2 bytes because as you said, memory issues might pop up and I'm not sure just how far they went with this.
So how do you get it? The first step is to head over to this thread on the XDA Developers Forum. The top post includes a set of instructions and a download link for a zip archive containing three APK files that need to be installed in a particular order.
My Android 4.1 Galaxy Note II, with a KitKat launcher face-lift.
Now, advanced users who are already comfortable opening zip archives on their phone and managing files can do all of this downloading and installing directly on their Android phone. But in general, I recommend downloading the zip archive to your computer first, decompressing it, and placing the files somewhere you can access easily. To get them on your phone, email the each file individually (to limit the possibility of file size limitations) to an email account you can access from the phone. Alternately, you can send to Dropbox or Google Drive and then download them back down to your phone.
But before you proceed with installing them, make sure your phone is setup to work with files from sources other than Google. To do this, dive into your phone settings, select Security, and then with any luck you should see an option to accept files from "unknown sources." Make sure the box is checked and then back out to your home screen.
You'll also need to make sure you're comfortable with the worst case scenario: a factory reset. Members of the XDA Forum have reported mostly successful results using devices running Android 4.2 or later. Anything earlier is iffy. My Galaxy Note II running Android 4.1 was a rare exception, but even then, features such as Google Now voice commands did not work properly. This is a "use at your own risk" procedure, so make sure your photos, videos, data and settings are backed up before attempting this.
After installing the last of the APK files, you'll be walked through the introduction to the new KitKat launcher.
Once the files are accessible from your phone, via email or whatever method you chose, select the PreBuiltGMScore APK file first. You may be given a choice of how to install the APK. I went with the Package Installer, but other options may be just as viable. It may also warn you that you are replacing an existing file -- that's fine. Once installed, simply hit Done and move on to the next file, which in this case is the Velvet APK. Rinse and repeat, and finally move on to the GoogleHome APK file. At the end of installing that one, however, you'll want to hit Open instead of Done. Doing so will usher you into clean, slick world of the KitKat launcher.
As your first order of business, I suggest a tap and hold on the home screen, which will bring up options for changing the wallpaper, installing home screen widgets, and configuring your Google Now experience. If nothing else, choosing from the new wallpapers will help complete the KitKat transformation.