Related
Features:
worldwide navigation using Google Maps Directions
map tiles caching on SD card
force-enable MT. If you're on Eclair or some custom Donut and don't have multitouch zooming, then maybe this will enable it.
force-enable Buzz feature
fix for map shift issue in China
option to hide zoom buttons
installable on non-rooted devices
could be installed beside original app
Credits:
canadiancow for starting a brainstorm; an idea to use maps directions as backend for navigation; great Nav Launcher app; helping and support
TAPP for enabling "Navigate" button; first version for non-rooters
acamar for his research on map shift issue in China
many, many people for testing it, complaining ;-), helping others, etc.
Google for making this great app and service and for not sending C&D to me so far ;-)
Download:
maps4.6.0.4686-brut.apk
md5sum: 456b3fe71f74bb8b76a443be4075473c
maps4.6.0.4686-brut-renamed.apk - probably not usable - random ANRs
md5sum: a378ce5d9ddd07c489d129e972a5c2bd
maps4.6.0.4686-brut-renamed-tagged.apk - probably not usable - random ANRs
md5sum: 1bf581213c77fe2e3aa9fa1b7001d01b
Variants:
This mod consists of many independent changes and some of them may be good or bad for some people. Unfortunately not all changes could be configured at runtime, so we need several apk files to let people choose what they want.
There are 3 packs of changes:
-brut - it's a BrutMod itself: international navi, map caching, etc. All of these changes are configurable at runtime.
-renamed - Android package name was changed from original com.google.android.apps.maps to brut.googlemaps . See "Package name changing" below if you don't know, what this means.
-tagged - all icons in the launcher, widgets, etc. were tagged with red "BRUT" sign, all icon names were suffixed with "[brut]". It's to distinguish modded and original GM if you have installed both.
Then we could create several variants of this mod with different combinations of changes, but fortunately only 3 of them actually make sense: -brut, -brut-renamed and -brut-renamed-tagged.
Note: I know this may be confusing for some people, who get used to brut.googlemaps as normal package name for this mod and com.google.android.apps.maps as "stockified" modification of it. You should take into account that starting point is original GM with original package name, so com.google.android.apps.maps is actually "normal" and brut.googlemaps is modded/renamed one.
Installation:
For -renamed variants: just download & install. For others: see section below.
Package name changing:
Generally it means that modded app is identified by Android OS as totally different app, not connected to Google Maps at all. There are several consequences:
Android forbids to install same app twice. If you want to install modded app, you have to uninstall original one first. -renamed variant is detected as different app, so you could install it normally and then you will have installed both original and modded app.
It's much worse if you want to replace system app - and Google Maps is a system app on many devices. You can't uninstall system apps just like that, cause they're write-protected. You need root and probably some hacking, so if you had Google Maps preinstalled on your device and don't have a root or don't want to hack, then use one of -renamed variants.
Some apps call GM by name and if you have -renamed variant, then they can't find modded GM, cause it's detected as different app. People have such problems with Car Dock, Street View and few others.
Maps cache - formats:
BrutMod natively supports two formats for stored tiles: Andnav format and BrutMod old, which is kept for backward compatibility and will be eventually removed. You could also set custom path to stored tiles if you want to use different format.
If you have cached tiles from other maps/navigation app and they're stored in "one tile, one file" format, then you should be able to use them with BrutMod. You have to choose custom database format and set path to tiles. Path can contain variables - currently supported are:
(Z) - zoom level
(Y) - Y id of a tile
(X) - X id of a tile
So for example custom path for AndNav format would be: (Z)/(X)/(Y).png.andnav . If you would set something like: (Z)-(X)-(Y).png , then all tiles would be stored in one directory. Be cautions when setting a path: it's very simple and not very smart algorithm - if you would do something wrong, for example don't close bracket, then BrutMod will read/write everything from/to special "ERR" file.
Maps cache - zip support:
Having thousands of files isn't good for a filesystem. Usually they use more of space than they should - sometimes A LOT more. BrutMod supports tiles zipped into one file and format is identical as for normal files.
For example: we use AndNav format and we have /sdcard/brut.googlemaps/tiles/map-en_US-andnav directory. Inside of it we have "13" and "14" subdirectories. We could zip these subdirs into a zip file, so they will be in the root (right after opening a zip file you will see "13" and "14" dirs) and place it to: /sdcard/brut.googlemaps/tiles/map-en_US-andnav.zip . Then you could remove original "13" and "14" dirs and tiles will be read from a zip file.
If you have "Save map to cache" option enabled, then you could compact all saved tiles from time to time. Just open zip file and add all loose tiles to it. Then remove tiles. Maybe someday I will add automatic compactor to BrutMod.
Maps cache - downloading maps:
There are several downloaders available, I recommend Mobile Atlas Creator. Open it, select some area and zoom levels, click "Add selection" button, choose "AndNav atlas format", click "Create atlas" and wait. Then open directory with atlases, open your new atlas ("Unnamed atlas_<date>"), open "Google Maps" dir (or something else, if you didn't download Google's map) and you should see directories "0" - "19" - depending on which zoom levels you have chosen. Copy these directories to e.g. /sdcard/brut.googlemaps/tiles/map-en_US-andnav/ dir or zip them all and copy to /sdcard/brut.googlemaps/tiles/map-en_US-andnav.zip . If you have zip file already, then you could add new files to archive or do a unzip, copy, zip combo.
And one more advice related to maps cache. If you have any problems with creating custom tile path, zipping or pushing predownloaded tiles, then enable "Debug mode" in BrutMod menu and look into logcat. There you will see where BrutMod looks for files and why it can't find them.
FAQ:
Q: Phone reboots when I try to reinstall maps.
A: Uninstall it and then install. It's Android issue, may occur even when updating original Maps from Market.
Q: When navigating directions are in English, but I set different locale.
A: They are forced to "en_US" to guess turn symbols from them. You could disable this feature in BrutMod menu, but you will lost turn symbols.
Q: Feature X doesn't work!
A: Did you enabled it in Menu -> More -> Brut Mod?
Q: Could you add feature X?
A: Just ask in this thread, but you should take into account that I'm not an author of this app, but a modder. I work mainly on features, that Google probably won't add for some reasons: licensing concerns (int navi), non-standard ROM support (MT), "whole world is online" assumption (maps caching), etc. GM is rapidly developing, so if you have e.g. some UI suggestions, you should ask Google about them. I could work on some of these, but they have low priority.
Q: Car Dock, Google Voice Search or other app always use original Google Maps - it doesn't ask me about your mod. What can I do?
A: See "Package name changing" above.
Q: Multitouch still doesn't work even if I enabled it in BrutMod menu.
A: As description says, it may work, but may not. There are plenty of custom roms, each has different bits and sometimes GM disables MT even if it could use it normally. My mod could force it to enable, but it won't add MT support.
Q: What is "Unlock hidden features" option?
A: There are features that are hidden for some reason: they aren't finished yet, are for debugging, etc. If feature does not give you something really useful, but is for curiosity and maybe some fun, it will be controllable through this option. For now there are:
navi: menu->Switch to Walking/Driving - seems working fine, don't know, why they are hidden.
navi: menu->Report a Problem - doesn't work for me, but it is location related, so maybe works for someone else. When I was migrating to 4.2.0, I saw many new resources related to this feature. Will be quite good feature, when it will be finally enabled.
navi menu->Settings - for now it's nearly empty, has one option related to above "report a problem" feature
navi: Enable/Disable mock location - quite funny and really, really useful for me. There would be no voice fix, if I would not find it
Q: How does navigation hack work? Could you hack Google Voice and other services to work outside of USA as well?
A: No, I can't. Generally it's not possible to bypass security of most server-side services, because their owners have full control over a situation. GMM navigation is an exception of this rule, cause of Google Directions. GD is some kind of navigation service, only limited. It uses exactly same data as navi and uses it in similar way. So why Google has created two navigation services: one full and one limited if both are for free? Because of licenses which G has signed with map providers - Google can't use map data for "real-time, turn-by-turn navigation", but they can for just "directions". This is why GD is available worldwide, but navi in supported places only.
I have modded GMM, so each time it wants to ask servers about navigation route from A to B, it actually asks about Google Directions between these points. GMM gets GD response which is missing a lot of data required by navigation, e.g. turn symbols, voice, etc. Then I try to somehow guess and add these missing things, so response will be as much as possible similar to real navi response.
Pretty smart, huh? Thanks @canadiancow for this wonderful idea
Q: You didn't answer my question/help request.
A: Usually I totally ignore people, who ignore me. I spend time to make all necessary info, instructions and answers easily findable - in first post. If you ask about something, that was answered there, I will probably ignore you. If you are lucky, someone else will answer you.
TODO:
navi: map caching
navi: routes caching
navi: "continue on turn left on" issue
navi: turn symbols without forcing locale
navi: automatically use normal navi when available
navi: guess ramp direction
MT on custom Donuts using backported Eclair bits.
MT on stock Donuts through Luke Hutchinson's lib
Limits (issues that we know of, but are impossible or very hard to fix, so they aren't on TODO):
navi: too long directions in top bar
Changelog:
brut17 (07.11.10)
updated GM to version 4.6.0.4686
from now GM is released in 3 variants: -brut, -brut-renamed and -brut-renamed-tagged
added an option to choose map cache format - AndNav is a default, but old one is also supported
added support for zipped map cache
app directory is always /sdcard/brut.googlemaps - it does not depend on package name
readded es_MX language
removed Vector map test
fixed some ContextNotSet warnings
brut16 (09.08.10)
fixed "Data exceeds UNCOMPRESS_DATA_MAX" issue
removed es_MX language - es is used instead (caused by above issue)
brut15 (07.08.10)
does not work for many ROMs - "Data exceeds UNCOMPRESS_DATA_MAX" issue
updated GM to version 4.4.0.4414
brut14 (24.06.10)
updated GM to version 4.3.0.4305
added vector maps test
added BrutMod menu to navigation app
tagged gohome icon, Latitude widget and shortcut
fixed ContextNotSet issue
brut13 (19.05.10)
navi: fixed voice feature!
added "Unlock hidden features" option (see Q/A section)
added "I'm in USA" option
brut12 (18.05.10)
added fix for map shift issue in China - many thanks to acamar
added option to force enable Buzz feature
TurnUtil: Added "* turns slightly *" support
brut11 (12.05.10)
Google Maps updated to 4.2.0.4210
unlocked DestinationActivity when int navi is enabled
fixed "disabled MT" bug
brut10 (08.05.10)
added simple map caching feature! For now it's some kind of demo (but usable), will be more featureful soon.
readded multitouch force-enable feature
reworked Brut Mod screen: added some credits, link to XDA, categorized preferences
navi: added turn symbol for merges
fixed force locale bug
fixed some exceptions right after navigation start
brut9 (05.05.10)
added option to force locale in navi requests to en_US, so turn symbols will work
added option to hide zoom buttons
international navigation is now enabled by default
brut8 (04.05.10)
navi: fixed turn symbols feature - I've screwed it up right before brut7 release
brut7 (04.05.10)
navi: added "street names" in top bar
navi: added turn symbols (for now you must set "en" locale to use it)
added possibility to use hacked or normal navigation - you can choose this from menu (and int navi is disabled by default - if you're updating and want to use it, then remember to enable it)
reverted MT mods for now
based on GM4.1.1
seems more bug free to me
rev6 (04.03)
mod version included in app versionName (4.0.0-brut6)
added "[brut]" postfix to Add -> Shortcuts -> Directions & Navigation
fixed navi shortcut bug
fixed directions to contact bug
rev5 (01.03)
Minor update, but great from technical point of view:
repackaged all resources
changed app name and icon to distinguish it from original maps
changed package name to brut.googlemaps
rev4 (10.02):
now MT depends on existence of MT framework, not on Android version, so it will be enabled for 2.0 and 1.6 with backported MT bits, but app will work on stock 1.6 too (without MT)
Very nice, works great on superD, thank you.
Thank you for amazing work
but i cannot find Buzz...
where is it?
Rogers in Canada using OpenElrair 1.0.1
zip version please...
How about the zip version. Thanks in advance.
Not sure if it matters, but I also encountered the exact same bugs that canadiancow encountered. Just to confirm his findings.
ytwytw said:
Thank you for amazing work
but i cannot find Buzz...
where is it?
Rogers in Canada using OpenElrair 1.0.1
Click to expand...
Click to collapse
Same [email protected]@ Where is my buzz layer?
Some reason I can't download this. Is there another link?
all I get is 12kb ??
Seems it wouldn't download via the Nexus One .. got home and tried it again on my Desktop with success .. go figure!
All good .. maps working again including Buzzzzzz!! Zzz!! Zzz!! lol!
Buzz is awesome on this! Using CM 4.2.14.1 HTC Dream.
Layers > Buzz
One weird thing though, I used:
adb push Maps.apk /system/apps/Maps.apk
And it pushed fine, but now the Market sees Maps as not being installed. Which is perfectly fine, since now it won't bug me to update it. Just saying. It's really a non-issue, since the Maps 4.0.0 works great! Thanks!
this looks like a good start, but the other ones were much better. No ADP and no glitches.
I rather just flash it and not have everything working.
Good start though.
Runing on latest CM.
Great work for the maps, it just works. Done everything with ADB as described.
Problem: The My Tracks and My Maps Editor apps are force closing on startup now. Any soltuion? I tried even uninstalling this 4.0 version and puting back the maps from the DRC83_base_defanged.zip, but did not help.
@Brut.all, would you mind please adding MD5 sums to your first post?
Brut.all said:
... Download: ...
Click to expand...
Click to collapse
Thanks
I really like this app and works well for me appart the known bugs.
do you see any way to fix them? especially the voice guidance? is this due to the proxy solution?
zoltan.fekete said:
Problem: The My Tracks and My Maps Editor apps are force closing on startup now. Any soltuion? I tried even uninstalling this 4.0 version and puting back the maps from the DRC83_base_defanged.zip, but did not help.
Click to expand...
Click to collapse
This might have something to do with the command below. As written, it will find and delete not only Maps, but also the My Maps Editor:
Code:
C:\>adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk
/data/dalvik-cache/[email protected]@[email protected]
[COLOR="Red"][B]/data/dalvik-cache/[email protected]@[email protected][/B][/COLOR]
/data/app/com.google.android.apps.maps.apk
[B][COLOR="red"]/data/app/com.google.android.apps.mymaps.apk[/COLOR][/B]
Brut.all said:
Code:
adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk \| xargs rm
Click to expand...
Click to collapse
For peaople who are runing CM or other Mods based on google development ROMs, I find a solution how to restore the broken functionality of the applications that use google maps framework (e.g. My Track, My Maps Editor, etc.)
This will restore the original Google Maps. You can update it latter from the Market (for me it finds no updates). After this, you can use the bruts.all stand alone (alternative) version to get the full navigation and other stuff (maps 4.0) without messing up the framework file that other apps use for maps display and manipulation.
First go here and download this: DCR83_base_defanged.zip
(I'can post URLs, find you base image, for Magic 32A it is named DRC83_base_defanged.zip, for othe take a look at the CM wiki)
Connect your phone to the PC, enable debugging and make sure the ADB is working.
Uninstall the current Google Maps (hacked or stock whatever) by using this:
Code:
adb remount
adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk \| xargs rm
adb uninstall com.google.android.apps.maps
(for me this xargs rm is not working. I use only the find command, then delete one file at time by using RM)
Now extract from the DRC83_base_defanged.zip, the system\app\com.google.maps.apk to c:\com.google.maps.apk
Use ADB to install:
Code:
adb install c:\com.google.maps.apk
Then extract from the DRC83_base_defanged.zip , the System/Framework/com.google.android.maps.jar, to c:\com.google.android.maps.jar
Then run these commands:
Code:
adb remount
adb push c:\com.google.android.maps.zip /system/framework/com.google.android.maps.jar
REBOOT THE PHONE
After this, install the maps4.0.0-brut4-alt.apk (alt) maps, and you will have best of the both worlds, e.g. Old Google Maps (3.1) working, all applications that use google map working, and the new Google Maps (Name: Maps) working, with navigation and stuff. Bravo for Brut and other people who made it happen!
@Neejay, @neok44: the most of google maps floating here around were built by me or were rebuilt from my version, so it isn't a "good start" ;-) and it naturally shares bugs with other versions.
About update.zip: hmm... I try to avoid creating 50 different versions. Now I have 2 versions, if I allow to choose modded or normal navi, then I will have 4. Apk or update.zip? - 8 different files. With or without zoom buttons? - 16.
"alt" version is a must, cause changes are in AndroidManifest.xml, so it isn't possible to change it after built. In last revision (rev4) I have saved my ass from version for Eclairs and Donutters, cause previous maps with MT was force-closing on stock Donut.
I will always try to find alternative to creating masses of subversions with different installation instructions and there actually is alternative to update.zip - very useful app Nav Launcher, which will do everything for you. I will add something about it to first post and try to cooperate with canadiancow, so Nav Launcher will install newest version right after I will release it.
zoltan.fekete said:
Problem: The My Tracks and My Maps Editor apps are force closing on startup now. Any soltuion? I tried even uninstalling this 4.0 version and puting back the maps from the DRC83_base_defanged.zip, but did not help.
Click to expand...
Click to collapse
It is known from 3.4.0 version of maps and as far as I know these problems occurs on original maps too :-/
scootley said:
@Brut.all, would you mind please adding MD5 sums to your first post?
Click to expand...
Click to collapse
Yes, thanks for reminder.
scootley said:
This might have something to do with the command below. As written, it will find and delete not only Maps, but also the My Maps Editor:
Click to expand...
Click to collapse
I have copied commands from someone's else thread, but you're right: it will remove MME too. I will try to fix it.
Amazing work!... Int Nav & Buzz layer working fine in Nexus One CM5 Beta3
Brut.all said:
It is known from 3.4.0 version of maps and as far as I know these problems occurs on original maps too :-/
Click to expand...
Click to collapse
Could be, but I can't live without these aps
Anyway, using the instructions I written above, it is possible to restore the framework and maps apk to the stock version (for me it is 3.1.2), and use everything normaly, and also to install your ALT version of the maps 4.0 with ruting, navigation and other stuff. I can't wish for more, live is beautiful
update.zip
zoth said:
How about the zip version. Thanks in advance.
Click to expand...
Click to collapse
Here: http://www.4shared.com/file/218983580/ce8e3b6b/_2__Mapy.html
zoltan.fekete said:
Problem: The My Tracks and My Maps Editor apps are force closing on startup now. Any soltuion? I tried even uninstalling this 4.0 version and puting back the maps from the DRC83_base_defanged.zip, but did not help.
Click to expand...
Click to collapse
zoltan.fekete said:
For peaople who are runing CM or other Mods based on google development ROMs, I find a solution how to restore the broken functionality of the applications that use google maps framework (e.g. My Track, My Maps Editor, etc.)
Click to expand...
Click to collapse
Brut.all said:
It is known from 3.4.0 version of maps and as far as I know these problems occurs on original maps too :-/
Click to expand...
Click to collapse
zoltan.fekete said:
Anyway, using the instructions I written above, it is possible to restore the framework and maps apk to the stock version (for me it is 3.1.2), and use everything normaly, and also to install your ALT version of the maps 4.0 with ruting, navigation and other stuff. I can't wish for more, live is beautiful
Click to expand...
Click to collapse
I never had this problem. I had "My Maps Editor" and "My Tracks" (both by Google) installed, followed Brut.all's instructions (the root apk, not the alt) with one exception (below), and those 2 apps continue to work fine. Of course, Brut.all's Maps works too.
The only thing I did differently was to avoid inadvertently removing the apks and dalvik cache's for either of the 2 apps, which are:
/data/app/com.google.android.apps.mymaps.apk
/data/app/com.google.android.maps.mytracks.apk
/data/dalvik-cache/[email protected]@[email protected]
/data/dalvik-cache/[email protected]@[email protected]
None of this process ever involves /system/framework/com.google.android.maps.jar
Google Maps Installer
Google Maps v4.0.0 #4046 ADB Installer
Install Code by me & Google Maps Mod by Brut.all
Info:
Update Code 11/02/2010: Fix "Remove Old Maps Data", you can use now on My Track & My Maps Editor. ( thanks to scootley )
Testet on:
CM 4.2.x
Super-D 1.7 - 1.9.x
where it still works?...give me feed back!
HowTo:
Connect Device on Windows PC
Download my Installer & Extract it
Start Install.bat
wait moment... Finish
Have phun
Brut4_Maps4.0.0_Installer.zip
MD5: F92BE4EC05CEB27E70147B7402EB00FF
ADB_TREIBER_x86_x64_v08.11.2009.zip
MD5: 065F32B32E32C6B853D269F39CB85CC6
Hello,
is it in any way possible to do that? When I install the .apk file, it always "Skype mobile is only for Verizon Wireless user". Does any developer know how to avoid this?
link for the .apk file: http://www.sendspace.com/file/rnwab1
peace
If I understand how the app works correctly, it doesn't use VOIP for the calls but instead just dials an internal Verizon number. Since the app isn't really doing Skype over the data network, it wouldn't work on other networks even if you did manage to install it.
We are going to have to hope that Skype get their act together and release a real VOIP client like the iPhone one at some point
really?
i checked engadget says that it uses data only~
no actually dailing using the air minutes
For me its saying "Skype mobile can only be used on Verzion Wireless Phones."
may be it makes some check in verzion IMEI Database, or just digg out the carrier info on the phone - where market enabler make changes to see paid apps in countries where isn't available
if market enabler can help , let someone check out the info from verzion and enter it on market enabler to see what will happen
The app called "fring" can make Skype calls over 3G.
Nimbuzz is also in market. nimbuzz can make voip calls through 3g and skype as well.
sound quality is really better when you use WiFi.
Does this version of Skype Mobile properly handle group chat?
This is like the sprint apps that would only work on the sprint network(AKA Sprint Hero), people got them to work on other phones by spoffing the phone and what ever other things they did
For those worried about losing their mobiles, getting mugged or pickpocketed, there are 2 apps i find useful
the first one is:
"Gps tracker" by instamapper, you need to install the app from market and register in its website, its free, no ads, no spam, just google it and go the section HOWto
this app is mainly used for those travelling, hiking, riding, etc. to follow and record your way and know exactly where you are in real time
the second one is:
"lost phone" by gadgetprojects, it pop-ups a white screen asking you for a password and reporting your lost or stolen mobile, you can customize the message you want, mine is "this mobile phone has been either lost or stolen, it has the latest security system installed on it and it cannot be unlocked by any means, please contact (number:000000), you will be rewarded if you found it" lol,
cheers...
vaguin70 said:
For those worried about losing their mobiles, getting mugged or pickpocketed, there are 2 apps i find useful
the first one is:
"Gps tracker" by instamapper, you need to install the app from market and register in its website, its free, no ads, no spam, just google it and go the section HOWto
this app is mainly used for those travelling, hiking, riding, etc. to follow and record your way and know exactly where you are in real time
the second one is:
"lost phone" by gadgetprojects, it pop-ups a white screen asking you for a password and reporting your lost or stolen mobile, you can customize the message you want, mine is "this mobile phone has been either lost or stolen, it has the latest security system installed on it and it cannot be unlocked by any means, please contact (number:000000), you will be rewarded if you found it" lol,
cheers...
Click to expand...
Click to collapse
I had a similar thing but it also had some voice thing where I would call it a certain set name and it would start ringing with a special tone.
Though there is a better application then the one you stated in your post.
It was avaliable on Android Market's feature list for around a month or two.
Personally i use "SIM Checker Pro", it regisiters your sim card number so if the phone is stolen and another sim put in it emails and txts pre-regisiters numbers and addresses with the phone location and new SIM number.
Also if you have wifi turned on most of the time my Virus scanner "Lookout" also have a very good function you can access thought the website which shows you your phones location (updated every 30secs) on Google maps.
[FEAUTURED ON XDA PORTAL: LINK ]
FEATURED by Whatsapp Support Page
Hi everyone,
Are you experiencing delayed push notifications from Hangouts, GMail, Whatsapp (partial fix), Facebook, Play Store web install, etc? If so, then this app its for you!
It's FREE! No banners. No ads. Please consider donating to the developer (link in the app).
ROOT is required. For non-root version check here: http://forum.xda-developers.com/showthread.php?t=2516849
This app ONLY change some NUMBERS inside GSF android database. Read below.
You will always receive instantly push notifications.
*** How do I use PNF?
Install the app, accept Superuser permissions, choose your interval, select “apply,” and enjoy. The Mobile heartbeat interval must be longer than the Wi-Fi interval, once you applied the settings, the heartbeats are permanently changed and survive to reboots.
* Why were my notifications delayed in the first place?
Apps using Google's push service (Hangouts, Gmail, Facebook Messenger, e.g.) connect your phone to Google’s servers via one TCP connection (on port 5228).
To keep this connection alive, Android uses a periodic heartbeat to prevent the connection from timing out. By default, this heartbeat occurs every 15 minutes on wifi and every 28 minutes on a mobile data connection.
This is problematic because most Wi-Fi routers and mobile carriers will automatically terminate this connection after a short time of inactivity.
Because your phone is not aware that this connection was externally closed, you will not receive push notifications until this connection is reestablished when the next heartbeat is sent.
* How does PNF solve this problem?
PNF simply updates this heartbeat interval (stored on the GSF database inside android data partition) to the value of your choice, in order to maintain the push service connection (GCM).
Once set to the recommended 5-minute heartbeat interval, you should receive all push notifications instantly.
PNF does NOT run in background.
PNF will have not affect battery life.
* Google Play Services Monitor
To check what I'm talking about open the dialer, and dial this code *#*#GCM#*#*, scroll down and search for the Heartbeat Interval. This Monitor its a default tool integrated on android. It's part of Google services framework.
* Notice:
This app is provided with no warranty. You are responsible for what you are doing on your phone.
* How to restore the default heartbeat interval value
Before to uninstall PNF tap "Restore default heartbeats" in the app.
Download here: PLAY STORE LINK (or get the attached APK in case not available on your country for some reason)
Please, if the are problems dont rate bad, send me an email ( [email protected] ) or post the problem in this thread and I'll answer you as soon as possible.
Feedback are welcome!
Changelog:
See post Number 2
FAQ:
See post Number 3
Report to google here: https://productforums.google.com/fo...onnecting-to-networks-and-devices/fslYqYrULto
Download it from play store to receive future app updates
Changelog:
Version 5.5, 2016/09/11:
- Fixed: wifi heartbeat was not updated anymore, caused by new google play services update
Version 5.0, 2015/09/01:
- Fixed bug "Can't find Google app process"
- Introduced push notifications, I will able to send all users push messages
- New icon (better one will probably come soon)
Version 4.6.3, 2015/01/02:
- Bug fixes for previous version (if something don't work, please uninstall and re-install)
Version 4.6, 2014/12/31:
- Root permission fixed for Android 5.0 Lollipop.
- Support for x86 and mips devices
- Material design will come soon...
Version 4.5.2, 2014/02/17:
- Added Spanish translation (Thanks Javier)
- Added back GTalk monitor (for "old" devices)
- Added Play services monitor (for new devices)
Version 4.5.1, 2014/02/12:
- Fixed not restoring default heartbeats in 4.5 version
Version 4.5, 2014/02/11:
- Removed workarounds to change heartbeats at wifi/mobile switch; no more needed.
- The app does not run in background anymore
- Mobile heartbeat must be bigger than the wifi one
- Heartbeats changes require toggle network/reboot on some devices
- Updated SU code
Version 4.1, 2013/09/12 :
- Fixed heartbeat not set in some rarely cases;
- Link updated to the new google forum (old one was closed)
- Added italian translation
Version 4.0, 2013/08/29 :
- PNF now is near perfection, set the heartbeat in a persistent way using GSF "overrides" table. Once you set the heartbeat, PNF doesn't need to run in background to update it and android will not revert it. PNF anyway will still run to change the heartbeat only in case you set a wifi heartbeat greatest than the mobile one, because of a GSF limitation.
- Added setting to restore android default heartbeat. MANDATORY if you want to uninstall PNF.
- After the update press "Set heartbeat intervals now"
Version 3.5, 2013/05/27 :
- NEW: PNF is now able to intercepts when android will revert the heartbeat interval
- Battery consumption of PNF is under 1% in a day
- The heartbeat is automatic updated only when android revert it or when you switch network type from wifi to mobile or vice versa
Version 3.1, 2013/04/18 :
- Added ACCESS_SUPERUSER manifest permission (best practice only)
- Make some descriptions more clear
- Renamed application shortcut to PNF
Version 3.0, 2013/02/25 :
- NEW: Possibility to set mobile hearbeat and wifi hearbeat
- Added link to report the problem to the google discussion forum
Version 2.3, 2013/02/22 :
- Solved: hearbeat interval not updating on some samsung touchwiz roms
Version 2.2, 2013/02/19 :
- Solved: hearbeat interval occasionally reset to default value
Version 2.1, 2013/02/14 :
- Added back 1 minute in the preferred heartbeat interval list and added some preset descriptions
- Reduced a little bit the amount of single SU commands executed
Thanks for the feedbacks!
Version 2.0, 2013/02/06 :
- Completely redesigned interface
- Removed ads banners, please consider a donation to support the development of this app
- Improved SU commands thanks to SuperSU guidelines
Version 1.3, 2013/01/31 :
- New: If needed the heartbeat is also updated everytime the phone connects to wifi or 3g
Version 1.2, 2013/01/24 :
- Improve: detection of errors while updating the hearbeat
- Fix: crash on some devices starting Gtalk Monitor
Version 1.1, 2013/01/24 :
- Fix: admob banner
Version 1.0, 2013/01/23 :
- First release
R: [ APP ][2.2+][ ROOT ][ FREE ] Push Notifications Fixer
FAQ
Q: What is the heartbeat interval
A: It's a keep-alive android mechanism to keep the push connection alive by sending a little network packet every x minutes. PNF only update that interval number. By keeping alive the push connection (for example every 5 minutes), push notifications will be instantly.
Q: Does this app drain battery in background? Does lowering the heartbeat interval too much cause more battery drain?
A: NO, the app itself does not run in background. If you lower the heartbeat to 5 minutes you will still don't notice any difference with battery usage..Anyway I don't recommend to go lower than 2 minutes.
Q: Where is stored the heartbeat interval?
A: Its stored in a database here: /data/data/com.google.android.gsf/databases/gservices.db
Q: What does mean "set the heartbeat to x minutes" ?
A: It means only that android will check the push connection every x minutes instead of the default 15/28 minutes. It does NOT mean that you receive push notification every x minutes. Notifications are instantly if the push connection is alive.
Q: Why Whatsapp messages are still delayed sometimes?
A: Whatsapp, and some others apps, don't completely rely on google push service (GCM). Those apps start their own connection and the messages come through this connection. The heartbeat is sent by android only on the push connection on the port 5228, and so it only keep-alive that particular connection. Blame those apps that doesn't have a keep-alive mechanism for their connection or that doesn't use full push messaging. Check http://whatsapp.com/faq/android/20887936 for more info.
A workaround for whatsapp is to swipe it away from the recent apps when your finished a chat session. In this way it's connection is dropped and you will be notified of new messages through google push notifications.
New version on the play store:
Version 2.1, 2013/02/14 :
- Added back 1 minute in the preferred heartbeat interval list and added some preset descriptions
- Reduced a little bit the amount of single SU commands executed
Re: [ APP ][2.2+][ ROOT ][ FREE ] Push Notifications Fixer
Just installed the application.. till now it seems to work perfectly on my samsung galaxy s3. Need to test more to be sure about it. Thanks btw. Nice idea
Ps : why did you make 2 threads for the same app?
Sent from my GT-I9300 using Tapatalk 2
R: [ APP ][2.2+][ ROOT ][ FREE ] Push Notifications Fixer
.xxx. said:
Just installed the application.. till now it seems to work perfectly on my samsung galaxy s3. Need to test more to be sure about it. Thanks btw. Nice idea
Ps : why did you make 2 threads for the same app?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I'm glad that it works.
Well I first created the thread on the galaxy nexus section, since it is my device and I want to make sure it was working well before to open a thread here
Inviato dal mio Galaxy Nexus con Tapatalk 2
New version released on the play store
Version 2.2, 2013/02/19 :
- Solved: hearbeat interval occasionally reset to default value
Here the issue I opened on google, https://code.google.com/p/android/issues/detail?id=49721 not sure if some engineer will ever answer
Is it possible to have 2 interval for wifi and 3g ? My wifi hold well with 15-minute interval, but my 3g only makes it with 4-minute interval (or less, of course).
Thank you for your great work .
R: [ APP ][2.2+][ ROOT ][ FREE ] Push Notifications Fixer v2.2
redguardsoldier said:
Is it possible to have 2 interval for wifi and 3g ? My wifi hold well with 15-minute interval, but my 3g only makes it with 4-minute interval (or less, of course).
Thank you for your great work .
Click to expand...
Click to collapse
Yes..I was planning that, when I will get more free time I will have a look..anyway there isn't much difference in terms of battery life abut 5 or 15 minutes if u scared by that hehe
Inviato dal mio Galaxy Nexus con Tapatalk 2
andQlimax said:
Yes..I was planning that, when I will get more free time I will have a look..anyway there isn't much difference in terms of battery life abut 5 or 15 minutes if u scared by that hehe
Inviato dal mio Galaxy Nexus con Tapatalk 2
Click to expand...
Click to collapse
does this application increase the battery usage?
spupuz said:
does this application increase the battery usage?
Click to expand...
Click to collapse
Well, this app use no battery at all . It only modify "heart beat interval" of the Talk app (google talk, or gtalk).
So it can make the Talk app use more battery. But sending a heart beat every 4 minutes costs less battery than trying to reconnect every 5 minutes :good:.
Also, keep a stable connection will help push notifications a lot.
redguardsoldier said:
Well, this app use no battery at all . It only modify "heart beat interval" of the Talk app (google talk, or gtalk).
So it can make the Talk app use more battery. But sending a heart beat every 4 minutes costs less battery than trying to reconnect every 15 minutes :good:.
Also, keep a stable connection will help push notifications a lot.
Click to expand...
Click to collapse
exactly :good:
Sorry for being a noob here, but only the second sentence talked about Whatsapp, Facebook etc push notifications, whereas the rest of the thread talks about Gtalk. I mean, this works on any app with push notifications right?
Thanks in advanced! Installed the app too. Waiting for reply ^^
frenzyboi said:
Sorry for being a noob here, but only the second sentence talked about Whatsapp, Facebook etc push notifications, whereas the rest of the thread talks about Gtalk. I mean, this works on an app with push notifications right?
Thanks in advanced! Installed the app too. Waiting for reply ^^
Click to expand...
Click to collapse
Nothing to feel sorry for, bro . Well, all android push notifications rely on Google push service, you can see this service in Settings\ Apps\ Running services, it's the Messaging service in the Google services. This status of this service is displayed in the hidden app Gtalk monitor, so you here everybody talks about Gtalk . FYI, c2dm is "could to device message", that's where the Messaging service got its name .
redguardsoldier said:
Nothing to feel sorry for, bro . Well, all android push notifications rely on Google push service, you can see this service in Settings\ Apps\ Running services, it's the Messaging service in the Google services. This status of this service is displayed in the hidden app Gtalk monitor, so you here everybody talks about Gtalk . FYI, c2dm is "could to device message", that's where the Messaging service got its name .
Click to expand...
Click to collapse
Ah thanks, bro! I thought Gtalk was that Google Talk app :silly:
Working well in the GTalk Service monitor. Having no error or anything! Keep it up :good:
i'm also trying this application
Updated the description in the first post and on the Play Store also (will appear in some hours )
I hope now everything is much more clear, even my English is not so good!
So please if some of you have any suggestion or a better description, PM me! :good:
Re: [ APP ][2.2+][ ROOT ][ FREE ][19-FEB-2013] Push Notifications Fixer v2.2
Hey,it's not available for my country on Play Store,anyone can help me,PLEASE?!
arvarobert said:
Hey,it's not available for my country on Play Store,anyone can help me,PLEASE?!
Click to expand...
Click to collapse
oh..didn't know this..maybe because my app have in-app purchase for donation..not sure..I will investigate
I'm going to upload the APK on the first post so you can download! EDIT: Here http://forum.xda-developers.com/attachment.php?attachmentid=1749796&d=1361483849
Thanks for let me know.
This seems to have fixed my delayed WhatsApp notifications. Thanks a lot
This is on a generic a23 q8h tablet, I was also getting popups in the form of fake facebook alerts about some stupid drone company.I deleted 2 apps/plugins/whatever they were and the popups went away but my homepage changes between smartdrone.com, vandroidnews.com and kszz.com.I want to put a boot up someones ass for installing this garbage on these tablets and selling them.
What browser do you use ?
Check the browser settings it may have option to set the desired homepage.
Stock browser, there was also baidu browser installed but i uninstalled with titanium backup.I changed the setting but it gets replaced with one of those three pages.
Tried clearing data of the browser?
I just got a Q88 A33 "generic" tablet and I too get the "default" page and the "home page" in the browser changed to "smartdrone.com". This was/is the behavior on delivery so it is probably part of their installed firmware.
If you have made any progress on how to fix this then please let me know, I will be reading up on Android and how to take a look at the files in the ROM and see if I can find a solution but I am not very familiar with Android so some pointers would be great. For example, would this be the result of some .apk that can simply be removed or is it some shell script or file somewhere in the actual ROM files?
It's because theres a factory installed trojan, yes its baked right into the factory firmware and if you remove it with say an anti-virus program the word DEMO in big red letters will be superimposed on the screen making the tablet useless.I've seen manufacturers offering an apk to 'fix' it but that just re-installs the trojan.Here is a fix that I got from another website and uploaded to my Box account.
Instructions from another forum:
A backup will be made before actual modification are made. To restore the backup, rename SystemUI-backup.apk to SystemUI-A20/A23.apk and restart the corresponding function.
HowTo use:
1. Scan for Device: searches and verifies a connected android device.
2. Scan for Trojan: checks if the trojan responsible for the demo lock is active.
3. If 2. is positive, check the Build.prop to see if you have a A20 or A23 model.
4. A20 FIX or A23 FIX, depending on the results from 3., you choose one of these.
5. The script will reboot the device to recovery mode, manually perform a factory reset.
Definition for Cloudservice / DEMO Trojan:
For clarification let me state that Android by "default" or "origin" is not susceptible to virus' and being built on Linux platform it is "open source" so that is where you get some LAME people and large corporations making these virus' encoded into the devices original configuration [ROM] and NOT NATIVE TO ANDROID.
Perfect example for how we the users can infect our own devices would be the small flashlight apps we all use daily and available for free on Google Play Store... these can factually be classified as "Intrusive Adware" that we install for quick access to our devices camera flash for use as a flashlight and yet we tolerate the pop-ups generated by the app.
Again not NATIVE to Android... this is something we the USERS have put on our devices. Harmless but annoying and same principle.
What is the Cloudservice / DEMO Trojan?
My definition based on learned knowledge as no "official" definition is or most likely will ever be available.
Firstly, in some devices it seems to be in a "sleep" mode until one day it simply "shows up" according to some reports. Our new Tool at TechKnow seeks and destroys the hidden files and configs totally eliminating all traces of the Trojan.
[SPECULATION: it could possibly be incorporated into some downloadable apps in the future. The same basic principle as adware is incorporated into the flashlight apps would suffice. However, it being included in downloadable apps is NOT confirmed and if/when it is the confirmed apps will immediately be reported to their distributor whether Google Play or Amazon App Store etc... by your friends at TechKnow]
It is a truly deceptive application that is hardcoded into the must have system dependent "framework-res.apk" on some of the newer Android devices ROM from the factory. The Trojan can track your app content such as Browser and can lock your device into a "demo" mode which will display large red DEMO text in caps across all your screens. The app is also linked to Baidu.
Baidu, Inc., incorporated on January 18, 2000, a Chinese web services company headquartered in the Baidu Campus in Haidian District in Beijing.
ok.... so you are being tracked and monitored by the Chinese?
but that's not all...
The secondary part to the Virus/Trojan is more of a pain in the :wub: imho than tracking and reporting my web history to an unknown Chinese web service company [for who knows what they seek to learn or truly have access to with this Trojan on your device]...
Click to expand...
Click to collapse
Allwinner Demo Fix: https://app.box.com/s/wpbl5nfrxtjdbgvgrwp2tbgvzlt31oqk
I can't remove Trojan virus from my tablet azpen. A739 ?
Sent from my A739 using XDA Free mobile app
Allwinner Demo Fix
This is how I removed the trojan without getting the red "Demo" letters on the screen http://forum.xda-developers.com/android/help/chinese-tablet-demo-mode-t2853062#post64002423