G
g60madman
Guest
I did the easy part and fixed the HeadsetObserver.java file that was originally created by TickerGuy. There was basic editing I did to resolve the headset so it now works on both soft boot and cold boots so no more unplugging and replugging after each reboot.
If anyone wants to decompile my services.jar from the new CM7.2 and then apply this fix to MIUI and any other CM7 ROM I will leave it up to you. You should only need to replace the HeadsetObserver.java files from my services to yours.
services.jar
Index of /download/headset
Here is the fixed code on github
https://github.com/MTDEV-CM7/frameworks/commit/68ce6c725af5c7e471e2f994297058a2b79114a6
If anyone wants to decompile my services.jar from the new CM7.2 and then apply this fix to MIUI and any other CM7 ROM I will leave it up to you. You should only need to replace the HeadsetObserver.java files from my services to yours.
services.jar
Index of /download/headset
Here is the fixed code on github
https://github.com/MTDEV-CM7/frameworks/commit/68ce6c725af5c7e471e2f994297058a2b79114a6