Enable Car Dock on Android 4.2

As you all might know, Android 4.2 removed the ability for car apps to hook the home button.
Although there have been two solutions (CyanogenMod is one, the other is https://play.google.com/store/apps/d...omepatch&hl=en), they either didn't work on all ROMs (Stock and PA are two), and the one on the Play Store broke the original home button functionality (e.g going back to the main page).

This mod restores car dock functionality on all Android 4.2 devices.

Might work on 4.3, not tested.
Probably not even needed on 4.4 as Google seems to have restored this in AOSP! No Nexus so can't confirm.

Author(s): 
Package: 
com.mohammadag.enablecardock
Version name: 
1.2
Release type: 
Stable (low risk of bugs)
Number of downloads: 
36,893 in total · 1 in the last 24 hours
MD5 checksum: 
906e41d59f1c6c9f9fd8ee1fa4984316
Changes: 
  • Better code performance, monitor changes to car mode instead of checking each time the home button is pressed
  • Add option to auto-launch car home, this is faster than most automation apps like Tasker.
Version name: 
1.0
Release type: 
Stable (low risk of bugs)
Number of downloads: 
8,281 in total · 0 in the last 24 hours
MD5 checksum: 
f21c7890445881393c867b48ee0b6295
Changes: 

* Initial release