Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,676 Members 52,021 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][XPOSED][KK] GPSNotification - Bring back the GPS Icon

Tip us?
 
Yomach
Old
#71  
Junior Member
Thanks Meter 1
Posts: 25
Join Date: Jul 2012
That's what I've thought.
Just note, I'm using stock rom.

Thanks, I'll update you after the next update.

Sent from my LG-D802
 
Whookid
Old
#72  
Whookid's Avatar
Member
Thanks Meter 14
Posts: 68
Join Date: Jun 2011
Bug also present in unofficial latest Paranoid Android on my Huawei P6. Can be reproduced by simply launching the camera app. Turning off the Xposed module solves the problem.
The Following User Says Thank You to Whookid For This Useful Post: [ Click to Expand ]
 
eunrox
Old
#73  
Member - OP
Thanks Meter 64
Posts: 33
Join Date: May 2011
Location: Berlin

 
DONATE TO ME
Updated to 1.7

Code:
Select Code
Changelog:
  * fixed CM11 (Resource) bug
  * fixed invisible bug in quicksettings
  * added permamode
  * added GPSStatus in notification
  * added German Translation
Use the Button if you like Posts!
Checkout my github Profile.
The Following 5 Users Say Thank You to eunrox For This Useful Post: [ Click to Expand ]
 
135Shadowsoul
Old
#74  
Senior Member
Thanks Meter 26
Posts: 139
Join Date: Jun 2013
Quote:
Originally Posted by eunrox View Post
Updated to 1.7

Code:
Select Code
Changelog:
  * fixed CM11 (Resource) bug
  * fixed invisible bug in quicksettings
  * added permamode
  * added GPSStatus in notification
  * added German Translation
works perfect! Thx, and thx for german translation and GPSStaus (satelits), realy nice
 
sharkie405
Old
#75  
sharkie405's Avatar
Senior Member
Thanks Meter 440
Posts: 1,244
Join Date: Dec 2008
Location: Waynesville, NC
Quote:
Originally Posted by eunrox View Post
Updated to 1.7

Code:
Select Code
Changelog:
  * fixed CM11 (Resource) bug
  * fixed invisible bug in quicksettings
  * added permamode
  * added GPSStatus in notification
  * added German Translation
Permamode works except that the icon doesn't go away when GPS is turned off. I have to go back into the app and disable permamode in order to get the icon to go away.
Current Device:
Verizon Samsung Galaxy S4 (SCH-I545)
ROM: Stock VRUFNC5 - KK 4.4.2 - Rooted, Xposed w/50 modules, and Safestraped

Phone History:
 

HTC EVO 4G LTE (Jewel)
ROM: SharkieROM-LTE v3.17.1

HTC EVO 4G (Supersonic)
ROM: SharkieROM-EVO

HTC Touch Pro 2 (Rhodium)
ROM: SharkieROM v5.1

HTC Touch Pro
ROM: SharkieROM-Classic

HTC Mogul
ROM: Stock
 
eunrox
Old
#76  
Member - OP
Thanks Meter 64
Posts: 33
Join Date: May 2011
Location: Berlin

 
DONATE TO ME
Quote:
Originally Posted by 135Shadowsoul View Post
works perfect! Thx, and thx for german translation and GPSStaus (satelits), realy nice
Good to hear





Quote:
Originally Posted by sharkie405 View Post
Permamode works except that the icon doesn't go away when GPS is turned off. I have to go back into the app and disable permamode in order to get the icon to go away.
Ok will check that again.

For all: please translate for your language in the github source. Would be really great!
Use the Button if you like Posts!
Checkout my github Profile.
The Following 2 Users Say Thank You to eunrox For This Useful Post: [ Click to Expand ]
 
norml
Old
#77  
norml's Avatar
Senior Member
Thanks Meter 395
Posts: 716
Join Date: May 2013
Location: Gardena, CA
Quote:
Originally Posted by sharkie405 View Post
Permamode works except that the icon doesn't go away when GPS is turned off. I have to go back into the app and disable permamode in order to get the icon to go away.
+1, please fix
Device........• Samsung Galaxy SŪ 4 SGH-M919 16GB
Bootloader.• M919UVUAMDL
Baseband...• M919UVUFNB4 [GSM] • M919UVUAMDL [LTE]
KNOX.........• FREE


Rom...........• Omega v35 XXUGNG4 Android 4.4.2 KitKat
Kernel.......• KT-SGS4 TW KK4.4 TMO 07.12.2014
Recovery..• TWRP v2.7.1.0



 
 
Yomach
Old
#78  
Junior Member
Thanks Meter 1
Posts: 25
Join Date: Jul 2012
Great, thanks!
I can Also confirm that my bug is still present and that it is not related to the camera.
Whenever I get a GPS lock, with whatever program, the KK icon appears and never disappears until reboot.

Sent from my LG-D802
 
defim
Old
#79  
Senior Member
Thanks Meter 686
Posts: 1,366
Join Date: Feb 2012
@eunrox: 1.7 does not work for me, like 1.5 and 1.6. 1.5 is fine. Logs of 1.7:


Code:
Select Code
2014-07-20 04:49:00   
android.content.res.Resources$NotFoundException: com.android.systemui:drawable/ic_qs_location_on_gps
	at android.content.res.XResources.setReplacement(XResources.java:307)
	at eun.xposed.gpsnotification.GPSNotification.handleInitPackageResources(GPSNotification.java:352)
	at de.robv.android.xposed.IXposedHookInitPackageResources$Wrapper.handleInitPackageResources(IXposedHookInitPackageResources.java:20)
	at de.robv.android.xposed.callbacks.XC_InitPackageResources.call(XC_InitPackageResources.java:28)
	at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
	at de.robv.android.xposed.XposedBridge$6.afterHookedMethod(XposedBridge.java:344)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
	at android.app.ResourcesManager.getTopLevelResources(Native Method)
	at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1534)
	at android.app.LoadedApk.getResources(LoadedApk.java:480)
	at android.app.ContextImpl.<init>(ContextImpl.java:2022)
	at android.app.ContextImpl.createAppContext(ContextImpl.java:1979)
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2552)
	at android.app.ActivityThread.access$1800(ActivityThread.java:135)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5001)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
	at dalvik.system.NativeStart.main(Native Method)
2014-07-20 04:49:03   
de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
	at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
	at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
	at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
	at android.app.ContextImpl.getSystemService(Native Method)
	at android.content.ContextWrapper.getSystemService(ContextWrapper.java:540)
	at com.dualboot.e.m.onCreate(Unknown Source)
	at android.service.wallpaper.WallpaperService$Engine.attach(WallpaperService.java:777)
	at android.service.wallpaper.WallpaperService$IWallpaperEngineWrapper.executeMessage(WallpaperService.java:1031)
	at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:40)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5001)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
	at android.os.Parcel.readException(Parcel.java:1465)
	at android.os.Parcel.readException(Parcel.java:1419)
	at android.location.ILocationManager$Stub$Proxy.addGpsStatusListener(ILocationManager.java:675)
	at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1493)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
	... 19 more
2014-07-20 04:49:27   
de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
	at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
	at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
	at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
	at android.app.ContextImpl.getSystemService(Native Method)
	at android.content.ContextWrapper.getSystemService(ContextWrapper.java:540)
	at com.levelup.touiteur.dd.<init>(SourceFile:96)
	at com.levelup.touiteur.dd.<clinit>(SourceFile:34)
	at com.levelup.touiteur.Touiteur$2.run(SourceFile:322)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at android.os.Handler.<init>(Handler.java:200)
	at android.os.Handler.<init>(Handler.java:114)
	at android.location.LocationManager$GpsStatusListenerTransport$1.<init>(LocationManager.java:1453)
	at android.location.LocationManager$GpsStatusListenerTransport.<init>(LocationManager.java:1453)
	at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1492)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
	... 9 more
2014-07-20 04:49:51   
de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
	at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
	at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
	at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
	at android.app.ContextImpl.getSystemService(Native Method)
	at android.content.ContextWrapper.getSystemService(ContextWrapper.java:540)
	at com.mobidia.android.mdm.engine.a.d$d.<init>(SourceFile:529)
	at com.mobidia.android.mdm.engine.a.d.a(SourceFile:103)
	at com.mobidia.android.mdm.engine.a.a.a(SourceFile:1083)
	at com.mobidia.android.mdm.engine.a.g.a(SourceFile:444)
	at com.mobidia.android.mdm.engine.a.c.b(SourceFile:675)
	at com.mobidia.android.mdm.engine.a.c.a(SourceFile:403)
	at com.mobidia.android.mdm.engine.MdmService.Z(SourceFile:3083)
	at com.mobidia.android.mdm.engine.MdmService.k(SourceFile:94)
	at com.mobidia.android.mdm.engine.MdmService$a.a(SourceFile:2126)
	at com.mobidia.android.mdm.engine.MdmService$a.run(SourceFile:2067)
	at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at android.os.Handler.<init>(Handler.java:200)
	at android.os.Handler.<init>(Handler.java:114)
	at android.location.LocationManager$GpsStatusListenerTransport$1.<init>(LocationManager.java:1453)
	at android.location.LocationManager$GpsStatusListenerTransport.<init>(LocationManager.java:1453)
	at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1492)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
	... 17 more
2014-07-20 04:49:53   
de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
	at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
	at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
	at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
	at android.app.ContextImpl.getSystemService(Native Method)
	at android.content.ContextWrapper.getSystemService(ContextWrapper.java:540)
	at com.mobidia.android.mdm.engine.a.b.a(SourceFile:71)
	at com.mobidia.android.mdm.engine.b.a(SourceFile:149)
	at com.mobidia.android.mdm.engine.MdmService.Z(SourceFile:3100)
	at com.mobidia.android.mdm.engine.MdmService.k(SourceFile:94)
	at com.mobidia.android.mdm.engine.MdmService$a.a(SourceFile:2126)
	at com.mobidia.android.mdm.engine.MdmService$a.run(SourceFile:2067)
	at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at android.os.Handler.<init>(Handler.java:200)
	at android.os.Handler.<init>(Handler.java:114)
	at android.location.LocationManager$GpsStatusListenerTransport$1.<init>(LocationManager.java:1453)
	at android.location.LocationManager$GpsStatusListenerTransport.<init>(LocationManager.java:1453)
	at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1492)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
	... 13 more
2014-07-20 04:49:56   
de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
	at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
	at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
	at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
	at android.app.ContextImpl.getSystemService(Native Method)
	at android.content.ContextWrapper.getSystemService(ContextWrapper.java:540)
	at com.levelup.touiteur.dd.<init>(SourceFile:96)
	at com.levelup.touiteur.dd.<clinit>(SourceFile:34)
	at com.levelup.touiteur.Touiteur$2.run(SourceFile:322)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at android.os.Handler.<init>(Handler.java:200)
	at android.os.Handler.<init>(Handler.java:114)
	at android.location.LocationManager$GpsStatusListenerTransport$1.<init>(LocationManager.java:1453)
	at android.location.LocationManager$GpsStatusListenerTransport.<init>(LocationManager.java:1453)
	at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1492)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
	... 9 more
2014-07-20 04:50:13   
de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
	at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
	at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
	at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
	at android.app.ContextImpl.getSystemService(Native Method)
	at android.content.ContextWrapper.getSystemService(ContextWrapper.java:540)
	at com.levelup.touiteur.dd.<init>(SourceFile:96)
	at com.levelup.touiteur.dd.<clinit>(SourceFile:34)
	at com.levelup.touiteur.Touiteur$2.run(SourceFile:322)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
	at android.os.Handler.<init>(Handler.java:200)
	at android.os.Handler.<init>(Handler.java:114)
	at android.location.LocationManager$GpsStatusListenerTransport$1.<init>(LocationManager.java:1453)
	at android.location.LocationManager$GpsStatusListenerTransport.<init>(LocationManager.java:1453)
	at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1492)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
	... 9 more
Motorola Defy+ aka MB526 Android 4.4.4 Cyanogen Mod
Samsung S4a aka GT-i9295 Android 4.2.2 Google Edition
My Android apps / Xposed modules: show Threads

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes